2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-16 09:37:09 +00:00
Commit Graph

165 Commits

Author SHA1 Message Date
Vjacheslav Trushkin
2e3ad11248 fix(utils): replacing ids in svg after replacing same ids 2023-01-02 00:13:11 +02:00
Vjacheslav Trushkin
b6effea974 fix(utils): do not use test data to get full emoji sequence 2023-01-01 20:59:37 +02:00
Vjacheslav Trushkin
e443b2ae12 fix(utils): bugged emoji regex 2023-01-01 17:40:07 +02:00
Vjacheslav Trushkin
92a2624d98 fix(utils): fix replacement of multiple emojis in a row 2022-12-27 23:27:05 +02:00
Vjacheslav Trushkin
2fb77d5bf6 chore: update dependencies 2022-12-26 00:32:45 +02:00
Vjacheslav Trushkin
b5e9ecd2b4 feat(utils): function to prepare emoji data for icons list, support multiple regexp 2022-12-25 11:15:28 +02:00
Vjacheslav Trushkin
e5dbd00cba chore(utils): restructure emoji code to handle sequences with custom properties, fix errors 2022-12-24 20:44:29 +02:00
Vjacheslav Trushkin
37e382d989 feat(utils): function to find missing emojis, fixes for emoji functions 2022-12-16 10:48:17 +02:00
Vjacheslav Trushkin
c7b6dc73f5 feat(utils): function to generate tree of emoji components 2022-12-15 22:49:51 +02:00
Vjacheslav Trushkin
5a78469fdb chore(utils): restructure some emoji code 2022-12-15 11:49:30 +02:00
Vjacheslav Trushkin
9f5be0f10d fix: various fixes for emojis, functions to find and replace emojis in text 2022-12-14 21:15:18 +02:00
Vjacheslav Trushkin
3fe91ddea3 chore: publish update for utils 2022-12-10 10:20:29 +02:00
Vjacheslav Trushkin
cff8d1e9f7 chore: update dependencies in utils 2022-12-10 10:19:14 +02:00
Vjacheslav Trushkin
875e9707e6 feat: wrapper functions to simplify regex creation 2022-12-09 20:10:47 +02:00
Vjacheslav Trushkin
78ce0d0c4c feat: functions to optimise emoji regex 2022-12-09 19:26:05 +02:00
Vjacheslav Trushkin
ac61bc049a feat: function to add optional variations to emoji 2022-12-03 23:44:20 +02:00
Vjacheslav Trushkin
da4ddc5438 feat: function to parse emoji test file 2022-12-03 20:14:15 +02:00
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
Vjacheslav Trushkin
456ed17236 fix: add types to exports in utils 2022-11-17 13:57:47 +02:00
Vjacheslav Trushkin
e8dc113d0f chore: release utils 2.0.1 2022-10-08 17:58:30 +03:00
Vjacheslav Trushkin
fd2bff92e1 Publish stable versions of all packages 2022-09-08 09:40:06 +03:00
Vjacheslav Trushkin
ae9b177d3c Update dependencies in main packages 2022-09-07 20:06:23 +03:00
Vjacheslav Trushkin
de31dd36ba Remove jest from core package, use vitest only 2022-08-21 18:43:27 +03:00
Vjacheslav Trushkin
6a034033cb Remove jest from utils package, use vitest only 2022-08-21 18:40:56 +03:00
Vjacheslav Trushkin
40ba4e076a Publish new versions of all updated packages 2022-07-02 11:21:45 +03:00
Vjacheslav Trushkin
772aaf4686 Publish update for utils 2022-06-25 20:40:13 +03:00
Vjacheslav Trushkin
3f2e7a181d Publish next version of SVG framework, update utils 2022-06-23 21:23:41 +03:00
Vjacheslav Trushkin
af14c7a2e9 Publish beta versions of types and utils 2022-06-23 09:33:56 +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
ab14b084f2 Clean up scripts in several package.json files 2022-06-20 10:31:46 +03:00
Vjacheslav Trushkin
8f8f48c992 Fix unit tests 2022-06-19 22:40:13 +03:00
Vjacheslav Trushkin
db7e0c2ffd Update dependencies, make build work correctly with pnpm 2022-06-19 22:25:00 +03:00
Vjacheslav Trushkin
a478719a1e Use pnpm workspace dependencies 2022-06-19 20:58:50 +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
Vjacheslav Trushkin
8eb348b3a9 Build packages after installing them with monorepo script 2022-05-28 14:18:11 +03:00
Vjacheslav Trushkin
8e12f8614c Remove alignment from customisations 2022-04-30 23:12:34 +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
5cd43f4b17 Publish new versions of utils and core packages 2022-03-31 16:35:30 +03:00
Vjacheslav Trushkin
19e951cdb7 Replace unnecessary complex icon set validation function with basic function 2022-03-31 11:07:02 +03:00
Vjacheslav Trushkin
27bbe40845 Publish update for utils 2022-03-24 22:25:01 +02:00
Vjacheslav Trushkin
877d84eebc Publish update for utils 2022-03-22 20:24:34 +02:00
Vjacheslav Trushkin
6fcca33a0f Update dependencies for utils, publish update 2022-03-22 11:49:15 +02:00
Vjacheslav Trushkin
deacbd9187 Publish update for utils 2022-03-21 20:49:07 +02:00
Joaquín Sánchez Jiménez
5c3252d148 chore: revert typesVersions, preset icons cannot find type declarations 2022-03-21 19:01:11 +01:00
Vjacheslav Trushkin
f0e78f4c8f Publish update for utils 2022-03-21 18:55:20 +02:00
Vjacheslav Trushkin
bd935e4955 Add function to trim SVG to utils 2022-03-21 18:54:25 +02:00
Vjacheslav Trushkin
093aed6c0e Add typesVersions to core 2022-03-21 10:51:47 +02:00
Joaquín Sánchez
fb51565d17
chore: update folder name 2022-03-20 14:58:37 +01:00
Joaquín Sánchez
814e944e27
fix(next): add dts for non node packages
I talk with @antfu (sorry to ping you here ;) ), we need to add the `typedVersions`, we talk about it a few days/weeks ago:
``json
  "typesVersions": {
    "*": {
      "*": [
        "./dist/*"
      ]
    }
  },
```
2022-03-20 14:43:26 +01:00
Vjacheslav Trushkin
a7899d812f Fix double spacing in attributes in mergeIconProps in utils 2022-03-18 15:52:53 +02:00
Vjacheslav Trushkin
238104bbfe Publish update for utils 2022-03-17 18:23:48 +02:00
Vjacheslav Trushkin
41afe33976 Fix tsconfig in core, specify config when clearing jest cache 2022-03-16 16:10:14 +02:00
Vjacheslav Trushkin
5feccddcb3 WIP: moving core to unbuild and vitest 2022-03-16 12:12:25 +02:00
Vjacheslav Trushkin
d5a7e5724d Fix linting errors in utils 2022-03-16 10:58:02 +02:00
Vjacheslav Trushkin
16146d553e Remove Jasmine tests from utils 2022-03-16 10:01:55 +02:00
Vjacheslav Trushkin
fbd61e9183 Remove library-builder package, use unbuild instead 2022-03-15 19:19:51 +02:00
Vjacheslav Trushkin
77eb51366f Fix test scripts in utils, publish update 2022-03-14 18:11:15 +02:00
Joaquín Sánchez Jiménez
3d771d7572 lint: tabs sizes on package.json file 2022-03-14 16:26:07 +01:00
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
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
d237726a5c chore: updates deps and adds new deps to utils. 2022-03-04 10:32:30 -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
e74f332fb9 chore: move to unbuild 2022-03-02 21:11:50 +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
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
308c26c774 chore: add @iconify-json/flat-color-icons for testing 2022-02-26 16:28:20 +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
73a2caae2d Publish update for Utils 2022-02-05 21:23:24 +02:00
Vjacheslav Trushkin
94580099d5 Support function colors in color parser in utils 2022-02-05 12:59:44 +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
56894251c6 feat: refactor modern loader 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
0838ccc038 chore: add kolorist 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
ffd23fb8ec feat: add external svg loader 2022-01-10 17:59:56 +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
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