2
0
mirror of https://github.com/iconify/iconify.git synced 2024-10-24 01:22:04 +00:00
Commit Graph

98 Commits

Author SHA1 Message Date
Vjacheslav Trushkin
172d09d40f chore: limits for browser storage 2023-08-01 21:42:56 +03:00
Vjacheslav Trushkin
617f394b30 chore: rename badly named iconExists to iconLoaded 2023-07-04 19:45:04 +03:00
Vjacheslav Trushkin
1b97a47ef6 fix: correctly handle api errors 2022-11-29 11:00:44 +02:00
Vjacheslav Trushkin
33b8510a1c fix(loadIcon): do not attempt to load invalid icons 2022-09-21 12:16:17 +03:00
Vjacheslav Trushkin
aebed6433d Optimisations in core 2022-07-03 16:54:38 +03:00
Vjacheslav Trushkin
696a5514e2 Minor optimisations in core package to reduce bundle size 2022-07-02 18:19:41 +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
8eca9c6741 Change iconToSVG attributes from full to partial icon and customisations 2022-07-01 22:12:18 +03:00
Vjacheslav Trushkin
54830793b0 Fix error in core 2022-07-01 12:47: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
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
b2d3accf81 Clean up handling icon customisations and transformations 2022-06-20 23:43:01 +03:00
Vjacheslav Trushkin
6d1ec83912 Update core package 2022-06-19 17:28:03 +03:00
Vjacheslav Trushkin
a64b9a78ff Remove shareStorage function - no longer needed because web component reuses same class even if bundled multiple times 2022-05-21 22:55:01 +03:00
Vjacheslav Trushkin
6a9dc8aabc Make replaceIDs function optional in builder interface 2022-04-30 21:40:12 +03:00
Vjacheslav Trushkin
4601d540ef Do not use optional catch binding in core 2022-04-29 23:30:20 +03:00
Vjacheslav Trushkin
2c2a9647fa Remove getIconFromStorage, change getIconData to return null if icon is marked as missing 2022-04-29 22:59:34 +03:00
Vjacheslav Trushkin
70ed79a516 Use URLSearchParams for API queries 2022-03-31 19:02:49 +03:00
Vjacheslav Trushkin
fb537ef559 Do not use optional chaining in utils and core, some people still use old build tools that cannot parse it 2022-03-31 14:41:37 +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
20596bef1d chore: remove Object.create + fix vitest cjs tests 2022-03-17 10:26:11 +01:00
Vjacheslav Trushkin
1736308a64 Move browser storage mock to source in core 2022-03-16 23:50:53 +02:00
Vjacheslav Trushkin
32819127dd Do not reuse Promise instance in loadIcon in core 2022-03-16 19:32:27 +02:00
Vjacheslav Trushkin
5feccddcb3 WIP: moving core to unbuild and vitest 2022-03-16 12:12:25 +02:00
Vjacheslav Trushkin
a6d90fd7a9 Make second parameter for buildIcon optional 2022-02-21 18:05:24 +02:00
Vjacheslav Trushkin
1ee0caf216 Do not attempt to load cross-fetch if Fetch API is not available, deprecate JSONP loader 2022-02-21 17:13:27 +02:00
Vjacheslav Trushkin
a76aafa447 Do not store empty icon sets in browser storage, remove not_found property 2022-02-02 09:56:56 +02:00
Vjacheslav Trushkin
2e838b5ff4 Update core package for new redundancy structure 2022-01-25 22:18:52 +02:00
Vjacheslav Trushkin
bf8d17f97a Add loadIcon function 2022-01-13 22:19:49 +02:00
Joaquín Sánchez Jiménez
56894251c6 feat: refactor modern loader 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
6af802b9f7 chore: refactor searchForIcon customize callback 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
5cab683047 chore: add customize callback on searchForIcon 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
def0990a64 chore: build packages done 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
4be4ab87bc Add function to share storage between different instances of components and various components 2022-01-09 10:21:53 +02:00
Vjacheslav Trushkin
c1b22647eb Few more changes to parseIconSet function to make it cleaner 2021-10-12 18:19:46 +03:00