Vjacheslav Trushkin
|
e186953d54
|
feat: functions to work with emoji unicode
|
2022-12-03 19:51:59 +02:00 |
|
Vjacheslav Trushkin
|
afefaf410e
|
feat: icon to css functions in utils
|
2022-11-26 13:24:42 +02:00 |
|
BTBMan
|
37733d8045
|
fix(tirm): multi lines attributes
|
2022-09-16 13:10:24 +08:00 |
|
Vjacheslav Trushkin
|
2dc12bd462
|
Replace jest done function with promises in utils tests
|
2022-09-07 20:00:33 +03:00 |
|
Vjacheslav Trushkin
|
21d45bc28c
|
Return partial IconifyIcon in parseIconSet in Utils
|
2022-07-01 23:22:22 +03:00 |
|
Vjacheslav Trushkin
|
c0911ac283
|
Return only partial IconifyIcon in getIconData in Utils
|
2022-07-01 23:09:53 +03:00 |
|
Vjacheslav Trushkin
|
8eca9c6741
|
Change iconToSVG attributes from full to partial icon and customisations
|
2022-07-01 22:12:18 +03:00 |
|
Vjacheslav Trushkin
|
d475c2e3a8
|
Fix broken test in utils
|
2022-07-01 22:01:49 +03:00 |
|
Vjacheslav Trushkin
|
8b034b290e
|
Add lastModified to getIcons result
|
2022-06-25 10:01:25 +03:00 |
|
Vjacheslav Trushkin
|
b2d3accf81
|
Clean up handling icon customisations and transformations
|
2022-06-20 23:43:01 +03:00 |
|
Vjacheslav Trushkin
|
7b4409665a
|
Parse icons tree only once when parsing icon set
|
2022-06-20 20:39:06 +03:00 |
|
Vjacheslav Trushkin
|
89a2def126
|
Rewite icon set functions to allow deep aliases tree
|
2022-06-20 20:00:56 +03:00 |
|
Vjacheslav Trushkin
|
e6336fe3da
|
Use getIconsTree in validateIconSet
|
2022-06-20 17:30:40 +03:00 |
|
Vjacheslav Trushkin
|
76494a1ed2
|
Add function to utils for getting icons tree from icon set
|
2022-06-20 16:44:56 +03:00 |
|
Vjacheslav Trushkin
|
ad29f6df20
|
In IconifyJSON do not allow default transformations, remove inline from customisations, restructure utils
|
2022-06-19 17:12:26 +03:00 |
|
Vjacheslav Trushkin
|
ddede9ee3a
|
Merge remote-tracking branch 'origin/master' into next
|
2022-06-17 23:30:07 +03:00 |
|
Vjacheslav Trushkin
|
83f496e24d
|
Utils: publish update
|
2022-06-17 23:26:55 +03:00 |
|
Joaquín Sánchez Jiménez
|
ea7a1aa00d
|
chore: cleanup console
|
2022-06-17 22:13:34 +02:00 |
|
Joaquín Sánchez Jiménez
|
107b28bdf1
|
feat: automatic xml preface cleanup
|
2022-06-17 22:10:54 +02:00 |
|
Vjacheslav Trushkin
|
1d65b060d7
|
Simplify parse function in utils, check for bad aliases
|
2022-06-09 14:03:47 +03:00 |
|
Vjacheslav Trushkin
|
8e12f8614c
|
Remove alignment from customisations
|
2022-04-30 23:12:34 +03:00 |
|
Vjacheslav Trushkin
|
b08d1221e3
|
utils: test encoding icon for css that contains +
|
2022-04-10 20:19:18 +03:00 |
|
Vjacheslav Trushkin
|
e7e51f8299
|
Move reusable functions for using SVG in CSS to utils
|
2022-04-10 13:47:25 +03:00 |
|
Vjacheslav Trushkin
|
b057e935b4
|
svg framework: fix tests, make xlink optional, move reusable function to utils
|
2022-04-10 10:45:05 +03:00 |
|
Vjacheslav Trushkin
|
19e951cdb7
|
Replace unnecessary complex icon set validation function with basic function
|
2022-03-31 11:07:02 +03:00 |
|
Joaquín Sánchez Jiménez
|
36af258071
|
feat: provide collection and icon names to transform customization
|
2022-03-24 21:16:13 +01:00 |
|
Joaquín Sánchez Jiménez
|
083cb56f53
|
test: add scale test for modern
|
2022-03-22 19:08:38 +01:00 |
|
Joaquín Sánchez Jiménez
|
544a2d5fb3
|
test: update import type
|
2022-03-21 18:39:44 +01:00 |
|
Joaquín Sánchez Jiménez
|
123991c687
|
test: add trim custom svg + remove unused imports
|
2022-03-21 18:38:18 +01:00 |
|
Vjacheslav Trushkin
|
bd935e4955
|
Add function to trim SVG to utils
|
2022-03-21 18:54:25 +02:00 |
|
Vjacheslav Trushkin
|
ad18afe316
|
Do not use non-null assertion in test in utils
|
2022-03-18 15:55:47 +02:00 |
|
Vjacheslav Trushkin
|
a7899d812f
|
Fix double spacing in attributes in mergeIconProps in utils
|
2022-03-18 15:52:53 +02:00 |
|
Vjacheslav Trushkin
|
af2b2227ac
|
Merge branch 'dev/unbuild' into next
|
2022-03-17 18:04:14 +02:00 |
|
Joaquín Sánchez Jiménez
|
248b1f9d39
|
chore: cleanup + fix ts problem on tests
|
2022-03-17 13:14:35 +01:00 |
|
Joaquín Sánchez Jiménez
|
78c099669b
|
feat(utils): return used props applied to the svg
|
2022-03-17 12:48:49 +01:00 |
|
Vjacheslav Trushkin
|
96c7486f7c
|
Fix tsconfig in utils
|
2022-03-16 15:42:17 +02:00 |
|
Vjacheslav Trushkin
|
5feccddcb3
|
WIP: moving core to unbuild and vitest
|
2022-03-16 12:12:25 +02: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
|
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
|
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 |
|
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
|
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 |
|
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
|
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
|
85d9c1e8b7
|
chore: add missing ;
|
2022-02-26 17:20:57 +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
|
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
|
4487568ba4
|
Prettier recently updated files
|
2022-01-10 18:08:40 +02:00 |
|
Joaquín Sánchez Jiménez
|
9ebf18df94
|
chore: add icons customizations
|
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 |
|
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 |
|
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
|
4c9e723032
|
Add hidden property to IconifyInfo
|
2021-11-17 18:24:36 +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
|
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
|
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
|
f86317c7bf
|
ES support for utils package
|
2021-09-20 23:53:49 +03:00 |
|
Vjacheslav Trushkin
|
2fb2a8d9ca
|
Fix replacing ids in icons to support animations
|
2021-07-01 12:00:13 +03:00 |
|
Vjacheslav Trushkin
|
4490d02be7
|
Fix getIconData in Iconify Utils
|
2021-05-27 19:52:31 +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 |
|
Vjacheslav Trushkin
|
ebeb8de02c
|
Split common functions from Core to Utils package, remove buble from build process and use spread operator
|
2021-05-24 13:25:02 +03:00 |
|