Joaquín Sánchez Jiménez
|
e20e4d9b36
|
cleanup: remove old build stuff
|
2022-03-14 16:17:29 +01:00 |
|
Joaquín Sánchez Jiménez
|
84e9b9f277
|
lint: change to prettier on local
|
2022-03-14 15:39:40 +01:00 |
|
Joaquín Sánchez Jiménez
|
08d35b55f7
|
chore: megre next + some eslint change + loader package lint
|
2022-03-14 15:13:13 +01:00 |
|
Joaquín Sánchez Jiménez
|
1b3680647c
|
Merge branch 'next' into userquin/feat-split-modern-loader-next
# Conflicts:
# packages/utils/package-lock.json
# packages/utils/src/loader/loader.ts
# packages/utils/src/loader/types.ts
# packages/utils/tests/iconify-icon-test.ts
|
2022-03-14 14:23:57 +01:00 |
|
Ramy Melo
|
30ab5eba2a
|
refactor(types): refactored away ts errors
|
2022-03-04 17:04:30 -05:00 |
|
Ramy Melo
|
fa01bbe962
|
refactor(eslint): refactored away mix type errors
@typescript-eslint/restrict-plus-operands
|
2022-03-04 16:18:02 -05:00 |
|
Ramy Melo
|
e5e4ddf49e
|
chore: eslint --fix after enabling ts typed rules.
|
2022-03-04 16:04:14 -05:00 |
|
Ramy Melo
|
ff261a0216
|
chore: enabled extra ts eslint rule
@typescript-eslint/recommended-requiring-type-checking
|
2022-03-04 15:28:31 -05:00 |
|
Ramy Melo
|
8f739807d5
|
chore: auto fixed prettier rules in src and tests
npx eslint --fix src/**/*.ts
npx eslint --fix tests/**/*.ts
|
2022-03-04 11:37:21 -05:00 |
|
Ramy Melo
|
30826c33e0
|
chore: enabled eslint rule - prettier/prettier
|
2022-03-04 11:32:32 -05:00 |
|
Ramy Melo
|
7fc23697c8
|
chore: include test project in configuration.
|
2022-03-04 10:47:12 -05:00 |
|
Ramy Melo
|
d237726a5c
|
chore: updates deps and adds new deps to utils.
|
2022-03-04 10:32:30 -05:00 |
|
Ramy Melo
|
3babd46af8
|
feat: further integrates eslint, ts , and prettier
|
2022-03-04 10:28:51 -05:00 |
|
Joaquín Sánchez Jiménez
|
dea75709e1
|
chore: run cjs and esm test in the same order
|
2022-03-04 15:20:23 +01:00 |
|
Joaquín Sánchez Jiménez
|
ad0e490b91
|
test: add vitest cjs
|
2022-03-04 14:52:08 +01:00 |
|
Joaquín Sánchez Jiménez
|
9071d0aeaa
|
test: add vitest
|
2022-03-04 12:00:20 +01:00 |
|
Joaquín Sánchez Jiménez
|
dec6e45770
|
chore: add type module again, jest tests working again
|
2022-03-04 11:27:41 +01:00 |
|
Joaquín Sánchez Jiménez
|
ae3706cbf8
|
tests: add dual jest test, esm and cjs working
|
2022-03-04 00:36:30 +01:00 |
|
Joaquín Sánchez Jiménez
|
7ba8d5a2be
|
chore: move node stuff + package.json changes
|
2022-03-03 22:30:16 +01:00 |
|
Joaquín Sánchez Jiménez
|
0a8a0c9a23
|
chore: use lib folder + fix customisation modules
|
2022-03-02 21:33:10 +01:00 |
|
Joaquín Sánchez Jiménez
|
e74f332fb9
|
chore: move to unbuild
|
2022-03-02 21:11:50 +01:00 |
|
Joaquín Sánchez Jiménez
|
79e4530fab
|
Revert "chore: move some modules and update types test: include some tests for writeOnce "
This reverts commit 6134d1f6
|
2022-03-02 18:55:03 +01:00 |
|
Joaquín Sánchez Jiménez
|
b59a49ece4
|
chore: add modern logic to loadIcon and update types
test: add dynamic import for loadIcon test
cleanup: remove unused dependencies
|
2022-02-27 19:55:06 +01:00 |
|
Joaquín Sánchez Jiménez
|
7dd250ef55
|
chore: remove node stuff
|
2022-02-27 17:58:24 +01:00 |
|
Joaquín Sánchez Jiménez
|
6134d1f62b
|
chore: move some modules and update types
test: include some tests for `writeOnce`
|
2022-02-27 15:03:40 +01:00 |
|
Joaquín Sánchez Jiménez
|
062a852a79
|
feat(next): split modern loader for node and browser support
|
2022-02-26 20:44:39 +01:00 |
|
Vjacheslav Trushkin
|
65dfecf963
|
Merge remote-tracking branch 'origin/userquin/feat-split-modern-loader' into next
|
2022-02-26 20:32:57 +02:00 |
|
Joaquín Sánchez Jiménez
|
27890415de
|
Merge branch 'master' into userquin/feat-split-modern-loader
|
2022-02-26 19:00:22 +01:00 |
|
Joaquín Sánchez Jiménez
|
bf2ed675d5
|
test: add customize hook for @iconify-json icon
|
2022-02-26 18:44:03 +01:00 |
|
Joaquín Sánchez Jiménez
|
bcd2529f51
|
chore: add encode-svg-for-css to package.json
test: add `loadIcon` tests for `@iconify-json` icons
|
2022-02-26 18:33:01 +01:00 |
|
Joaquín Sánchez Jiménez
|
b7072a1749
|
chore: move svg style and class logic to mergeIconProps
|
2022-02-26 18:31:45 +01:00 |
|
Joaquín Sánchez Jiménez
|
3fb00b30c8
|
chore: move isLoader to loader.ts and change the logic
|
2022-02-26 17:49:13 +01:00 |
|
Joaquín Sánchez Jiménez
|
6efa9af556
|
chore: export also isNode from loader.ts
|
2022-02-26 17:48:30 +01:00 |
|
Joaquín Sánchez Jiménez
|
affaf1bea0
|
chore: handle scale
|
2022-02-26 17:47:57 +01:00 |
|
Joaquín Sánchez Jiménez
|
e507252841
|
chore: svg on css requires svg and xlink namespaces
|
2022-02-26 17:32:17 +01:00 |
|
Joaquín Sánchez Jiménez
|
85d9c1e8b7
|
chore: add missing ;
|
2022-02-26 17:20:57 +01:00 |
|
Joaquín Sánchez Jiménez
|
1e854f74ee
|
chore: add option to add svg and xlink xml namespaces
|
2022-02-26 17:20:16 +01:00 |
|
Joaquín Sánchez Jiménez
|
7b5ccb13b6
|
chore: add hint to keep space on <svg >
|
2022-02-26 17:02:00 +01:00 |
|
Joaquín Sánchez Jiménez
|
bbe56e3199
|
chore: add await loading collection from fs
|
2022-02-26 16:58:48 +01:00 |
|
Joaquín Sánchez Jiménez
|
bb285192a2
|
chore: undo handle scale , should be done from outside
|
2022-02-26 16:44:24 +01:00 |
|
Joaquín Sánchez Jiménez
|
308c26c774
|
chore: add @iconify-json/flat-color-icons for testing
|
2022-02-26 16:28:20 +01:00 |
|
Joaquín Sánchez Jiménez
|
f5665ede70
|
chore: handle scale option when merging svg icon props
|
2022-02-26 16:27:20 +01:00 |
|
Joaquín Sánchez Jiménez
|
a1592498bb
|
chore: handle defaultStyle and defaultClass
|
2022-02-26 15:57:00 +01:00 |
|
Joaquín Sánchez Jiménez
|
8b7641839e
|
chore: move encodeCssSvg to its own module
|
2022-02-26 15:39:56 +01:00 |
|
Joaquín Sánchez Jiménez
|
ef22738574
|
feat: split modern loader for node and browser support
|
2022-02-26 15:12:13 +01:00 |
|
Vjacheslav Trushkin
|
7beb46fabd
|
Update package-lock.json for utils
|
2022-02-21 11:55:50 +02:00 |
|
Vjacheslav Trushkin
|
73a2caae2d
|
Publish update for Utils
|
2022-02-05 21:23:24 +02:00 |
|
Vjacheslav Trushkin
|
0e4a3790b2
|
Do not add redundant displayHeight to converted icon set info in Utils
|
2022-02-05 21:22:42 +02:00 |
|
Vjacheslav Trushkin
|
94580099d5
|
Support function colors in color parser in utils
|
2022-02-05 12:59:44 +02:00 |
|
Vjacheslav Trushkin
|
c464934771
|
Remove Lerna, use custom script instead
|
2022-01-27 21:16:43 +02:00 |
|
Vjacheslav Trushkin
|
44a36fdf30
|
Fix validating empty icon sets
|
2022-01-26 00:05:18 +02:00 |
|
Vjacheslav Trushkin
|
00d7d6e0c5
|
Publish new versions of library builder and core packages
|
2022-01-10 22:50:16 +02:00 |
|
Vjacheslav Trushkin
|
0a321541e0
|
Publish utils 1.0.21
|
2022-01-10 19:44:05 +02:00 |
|
Vjacheslav Trushkin
|
4487568ba4
|
Prettier recently updated files
|
2022-01-10 18:08:40 +02:00 |
|
Joaquín Sánchez Jiménez
|
3553153baf
|
fix: jsdocs for IconCustomizations + some typo
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
9ebf18df94
|
chore: add icons customizations
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
d1d674543f
|
chore: update imports
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
56894251c6
|
feat: refactor modern loader
|
2022-01-10 17:59:56 +02:00 |
|
Vjacheslav Trushkin
|
fe98ca73bf
|
Add annotations, clean up getCustomIcon and test loading bad icon
|
2022-01-10 17:59:56 +02:00 |
|
Vjacheslav Trushkin
|
9c0ba71355
|
Move fixtures in utils to fixtures directory
|
2022-01-10 17:59:56 +02:00 |
|
Vjacheslav Trushkin
|
3f90e54129
|
Check if file exists asynchronously in FileSystemIconLoader
|
2022-01-10 17:59:56 +02:00 |
|
Vjacheslav Trushkin
|
5d6885369f
|
Format updated files with Prettier
|
2022-01-10 17:59:56 +02:00 |
|
Vjacheslav Trushkin
|
2a0dbf8fa9
|
Move reusable string functions to separate file
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
0a62d009a8
|
lint
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
0838ccc038
|
chore: add kolorist
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
63f6e0ceaa
|
test: remove extra comma on tests for gteCustomIcon and FileSystemIconLoader
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
f9bcf65af7
|
test: add tests for gteCustomIcon and FileSystemIconLoader
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
5cb43cc2d2
|
chore: add transform callback on getCustomIcon
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
e74d0252b1
|
chore: update library-builder to work on windows os
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
609537b7bf
|
chore: add export to utils index
|
2022-01-10 17:59:56 +02:00 |
|
Joaquín Sánchez Jiménez
|
ffd23fb8ec
|
feat: add external svg loader
|
2022-01-10 17:59:56 +02:00 |
|
Vjacheslav Trushkin
|
7e7e81e3b2
|
Do not use dash in automatically generated IDs, it breaks SVG animations
|
2022-01-09 11:01:59 +02:00 |
|
Vjacheslav Trushkin
|
3b6b12288d
|
Fix main exports in Iconify Utils
|
2021-11-25 10:50:09 +02:00 |
|
Vjacheslav Trushkin
|
4c9e723032
|
Add hidden property to IconifyInfo
|
2021-11-17 18:24:36 +02:00 |
|
Vjacheslav Trushkin
|
d661f6c8b4
|
Add main file to Utils
|
2021-11-13 21:25:38 +02:00 |
|
Vjacheslav Trushkin
|
ee240278fa
|
Fix bug in icon set minification in utils
|
2021-10-13 23:38:00 +03:00 |
|
Vjacheslav Trushkin
|
2160e2a2f5
|
Update Utils: fix few bugs, add default option to rotateFromString
|
2021-10-13 18:29:17 +03:00 |
|
Vjacheslav Trushkin
|
7ba8c01e66
|
Fix attribute comparison in toBoolean in Utils
|
2021-10-13 10:03:34 +03:00 |
|
Vjacheslav Trushkin
|
c1b22647eb
|
Few more changes to parseIconSet function to make it cleaner
|
2021-10-12 18:19:46 +03:00 |
|
Vjacheslav Trushkin
|
0691bb6836
|
Redo function for parsing icon sets, fix bug in parsing icon sets
|
2021-10-12 17:17:51 +03:00 |
|
Vjacheslav Trushkin
|
8766772b02
|
Add basic colors parser/validator to utils instead of creating another package
|
2021-10-09 20:20:07 +03:00 |
|
Vjacheslav Trushkin
|
c4dde40fc8
|
Make few icon set info fields optional, clean up code for converting icon set info
|
2021-10-05 22:37:57 +03:00 |
|
Vjacheslav Trushkin
|
fe1d673603
|
Fix bad npmignore in utils
|
2021-10-05 17:09:41 +03:00 |
|
Vjacheslav Trushkin
|
501594764e
|
Utils update: convert samplesHeight from legacy info format
|
2021-10-05 16:19:18 +03:00 |
|
Vjacheslav Trushkin
|
f8d9f4bc00
|
Add icon set info conversion function to Utils package
|
2021-10-05 15:02:06 +03:00 |
|
Vjacheslav Trushkin
|
1a67950032
|
Utils update: cleaner code for replacing ids, add unneeded files to .npmignore
|
2021-10-02 21:11:27 +03:00 |
|
Vjacheslav Trushkin
|
ecc33f6209
|
Fix bug in replacing ids in shapes, publish new version of utils
|
2021-10-01 23:13:37 +03:00 |
|
Vjacheslav Trushkin
|
e82ecf83da
|
Publish new versions of various libraries, update dependencies
|
2021-09-25 11:12:24 +03:00 |
|
Vjacheslav Trushkin
|
a77c89a545
|
Remove unnecessary comments from utils
|
2021-09-24 18:39:17 +03:00 |
|
Vjacheslav Trushkin
|
cd4a1f70dd
|
Fix exports in utils package
|
2021-09-23 23:38:53 +03:00 |
|
Vjacheslav Trushkin
|
f86317c7bf
|
ES support for utils package
|
2021-09-20 23:53:49 +03:00 |
|
Vjacheslav Trushkin
|
e6f69c6901
|
Merge branch 'dev/reusable-api' into dev/next
|
2021-09-20 16:33:57 +03:00 |
|
Vjacheslav Trushkin
|
027a317e4e
|
Create script for building ES and CommonJS libraries, move Utils and Core to new build process, move Redundancy package to monorepo and refactor it
|
2021-09-20 12:59:16 +03:00 |
|
Vjacheslav Trushkin
|
1c8273b977
|
Build ES and CommonJS files for utils and core packages
|
2021-09-17 00:07:22 +03:00 |
|
Vjacheslav Trushkin
|
2fb2a8d9ca
|
Fix replacing ids in icons to support animations
|
2021-07-01 12:00:13 +03:00 |
|
Vjacheslav Trushkin
|
42fd30d28d
|
Update dependencies, rewrite readme files
|
2021-06-20 09:59:30 +03:00 |
|
Vjacheslav Trushkin
|
4490d02be7
|
Fix getIconData in Iconify Utils
|
2021-05-27 19:52:31 +03:00 |
|
Vjacheslav Trushkin
|
992e02d896
|
Make default provider an optional parameter when converting icon name in utils
|
2021-05-26 11:12:56 +03:00 |
|
Vjacheslav Trushkin
|
dee8562c7f
|
Move few more functions from Core to Utils, update packages
|
2021-05-26 10:01:23 +03:00 |
|
Vjacheslav Trushkin
|
85a3717618
|
Move few more functions from Core to Utils
|
2021-05-24 17:02:00 +03:00 |
|