2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-14 00:34:04 +00:00
Commit Graph

675 Commits

Author SHA1 Message Date
Vjacheslav Trushkin
0b7cde7d56 chore: publish update for Utils 2023-01-07 10:18:00 +02:00
Vjacheslav Trushkin
4b956111cd feat(utils): support color parameter for css functions 2023-01-07 10:17:14 +02:00
Vjacheslav Trushkin
a742cf1d94 fix(utils): in generated css merge identical selectors 2023-01-06 21:01:51 +02:00
Vjacheslav Trushkin
bba91bc538 chore: publish update for utils 2023-01-06 14:44:17 +02:00
Vjacheslav Trushkin
78f9ae1c12 fix(utils): do not assume that attributes are separated with spaces in loader 2023-01-06 14:43:22 +02:00
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
85c12955c0 feat(utils): handle keywords when generating regex 2022-12-22 11:53:00 +02:00
Vjacheslav Trushkin
a8ce57b7a9 chore(utils): remove unused functions 2022-12-22 11:15:03 +02:00
Vjacheslav Trushkin
6fb8700632 chore(utils): simple function to convert emoji sequence to keyword 2022-12-18 10:00:40 +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
c25750a0e0 chore(utils): rename function to get qualified emoji variations 2022-12-15 11:58:57 +02:00
Vjacheslav Trushkin
5a78469fdb chore(utils): restructure some emoji code 2022-12-15 11:49:30 +02:00
Vjacheslav Trushkin
70758ebfa6 fix(utils): get full data from test file, fix unit test for searching emojis 2022-12-14 23:37:22 +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
0410d73067 fix(utils): remove unused types for css functions 2022-12-14 21:15:18 +02:00
Vjacheslav Trushkin
9c7c280f13 fix: remove unused file 2022-12-10 17:23:19 +02:00
Vjacheslav Trushkin
73e7e5f0ee fix: make options for css functions optional 2022-12-10 17:23:19 +02:00
Vjacheslav Trushkin
b7a987208f fix: support various formats when parsing emoji string 2022-12-10 17:23:19 +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
024522fdf6 chore: add emoji functions to main exports, remove unused code, rename few emoji functions 2022-12-10 10:15:34 +02:00
Vjacheslav Trushkin
dd179767f6 fix: sort emoji sequences by length to avoid lazy matching 2022-12-09 23:09:11 +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
dbfae68da5 chore: publish new versions 2022-11-29 11:12:48 +02:00
Vjacheslav Trushkin
1b97a47ef6 fix: correctly handle api errors 2022-11-29 11:00:44 +02:00
Vjacheslav Trushkin
afefaf410e feat: icon to css functions in utils 2022-11-26 13:24:42 +02:00
Vjacheslav Trushkin
60541cffb7 fix: overload declaration for calculateSize in Utils 2022-11-25 18:54:13 +02:00
Vjacheslav Trushkin
456ed17236 fix: add types to exports in utils 2022-11-17 13:57:47 +02:00
Vjacheslav Trushkin
425905b7be fix: create empty objects from null in utils 2022-10-15 12:24:16 +03:00
Vjacheslav Trushkin
e8dc113d0f chore: release utils 2.0.1 2022-10-08 17:58:30 +03:00
Vjacheslav Trushkin
33b8510a1c fix(loadIcon): do not attempt to load invalid icons 2022-09-21 12:16:17 +03:00
Vjacheslav Trushkin
3b3fb518c3 Merge remote-tracking branch 'btbman/trim' into next 2022-09-17 16:39:12 +03:00
BTBMan
37733d8045 fix(tirm): multi lines attributes 2022-09-16 13:10:24 +08:00
Vjacheslav Trushkin
bb45f4ba8a chore: fix link in types package readme 2022-09-13 09:29:41 +03:00
Vjacheslav Trushkin
98042b283c chore: fix links in readme files 2022-09-13 09:22:09 +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
ac009bcb39 Replace jest done function with promises in core tests 2022-09-07 20:03:58 +03:00
Vjacheslav Trushkin
2dc12bd462 Replace jest done function with promises in utils tests 2022-09-07 20:00:33 +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
57b8be17ed Add optional tags to IconifyInfo type 2022-08-21 14:35:59 +03:00
Vjacheslav Trushkin
97e9677fa4 Switch api-redundancy package tests to vitest 2022-07-08 17:25:44 +03:00
Vjacheslav Trushkin
aebed6433d Optimisations in core 2022-07-03 16:54:38 +03:00
Vjacheslav Trushkin
780f93c7a0 Optimisations in Utils 2022-07-03 16:45:52 +03:00
Vjacheslav Trushkin
696a5514e2 Minor optimisations in core package to reduce bundle size 2022-07-02 18:19:41 +03:00
Vjacheslav Trushkin
40ba4e076a Publish new versions of all updated packages 2022-07-02 11:21:45 +03:00
Vjacheslav Trushkin
a5c9edb4da Store partial icon data in storage to reduce memory usage 2022-07-02 10:53:06 +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
54830793b0 Fix error in core 2022-07-01 12:47:47 +03:00
Vjacheslav Trushkin
581ece2444 Export more types and functions in main file in utils 2022-07-01 11:35:23 +03:00
Vjacheslav Trushkin
1c24f85160 Export misc functions for working with objects in utils 2022-07-01 09:17:47 +03:00
Vjacheslav Trushkin
35248df46f Publish new versions of everything, using @next tag for previously released packages 2022-06-30 09:26:01 +03:00
Vjacheslav Trushkin
e18b821005 Optimise API redundancy package 2022-06-30 09:13:25 +03:00
Vjacheslav Trushkin
34d0ced20f More code optimisations 2022-06-29 19:05:55 +03:00
Vjacheslav Trushkin
d0d491b066 Invalidate browser cache based on lastModified property from icon set 2022-06-29 16:11:16 +03:00
Vjacheslav Trushkin
d2956c379e Browser storage optimisations 2022-06-29 13:41:56 +03:00
Vjacheslav Trushkin
2adcb7368b Function to iterate browser storage 2022-06-29 12:30:13 +03:00
Vjacheslav Trushkin
c1c849a61c Reuse storage for API data, clean up build scripts 2022-06-29 09:45:30 +03:00
Vjacheslav Trushkin
9f71691fd2 Browser storage fixes 2022-06-28 23:53:58 +03:00
Vjacheslav Trushkin
882be420f9 Use browser storage with API 2022-06-28 23:40:20 +03:00
Vjacheslav Trushkin
0e0b6b66ef Complete restructure of browser storage 2022-06-28 22:37:23 +03:00
Vjacheslav Trushkin
7980cce929 More browser storage restructuring 2022-06-28 22:11:15 +03:00
Vjacheslav Trushkin
a4240f122a Restructure browser storage code 2022-06-28 21:16:08 +03:00
Vjacheslav Trushkin
7ca4026eb6 Use Set to mark icons as missing 2022-06-28 20:20:22 +03:00
Vjacheslav Trushkin
59bdbe89e0 Move browser cache config to separate file 2022-06-28 19:12:45 +03:00
Vjacheslav Trushkin
0bd0bae6c2 Remove old JSONP API module, clean up API config 2022-06-28 19:03:10 +03:00
Vjacheslav Trushkin
772aaf4686 Publish update for utils 2022-06-25 20:40:13 +03:00
Vjacheslav Trushkin
8b034b290e Add lastModified to getIcons result 2022-06-25 10:01:25 +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
ae88831c10 Add lastModified to IconifyJSON to break outdated icons cache 2022-06-23 09:30:28 +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
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
25298bb7bf Start moving to pnpm 2022-06-19 20:23:03 +03:00
Vjacheslav Trushkin
9ad23abd6a Update SVG framework 2022-06-19 18:22:42 +03:00
Vjacheslav Trushkin
6d1ec83912 Update core package 2022-06-19 17:28:03 +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
99ddeeae47 Split defaultIconData in utils in 2 objects 2022-06-18 21:58:26 +03:00