2
0
mirror of https://github.com/iconify/iconify.git synced 2024-10-23 17:12:03 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
Vjacheslav Trushkin
f4efa1853d Rename inline mode to svg in components 2022-04-30 18:23:38 +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
59af5790aa svelte: fix comments 2022-04-13 10:53:14 +03:00
Vjacheslav Trushkin
4bfcb4ed76 svelte: add rendering modes 2022-04-12 11:09:22 +03:00
Vjacheslav Trushkin
70ed79a516 Use URLSearchParams for API queries 2022-03-31 19:02:49 +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
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
164708c9f8 Add loadIcon function to all packages, update dependencies, publish new minor versions 2022-01-24 19:44:10 +02:00
Vjacheslav Trushkin
bf8d17f97a Add loadIcon function 2022-01-13 22:19:49 +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
4be4ab87bc Add function to share storage between different instances of components and various components 2022-01-09 10:21:53 +02:00
Vjacheslav Trushkin
d1ebb2596f Use proper events in Svelte component 2021-11-10 13:18:35 +02: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
933202d617 Minor changes to React and Svelte components 2021-09-27 17:28:42 +03:00
Vjacheslav Trushkin
1f203e2914 Update Svelte component to new structure, redo tests with TypeScript and demos with API 2021-09-27 16:29:45 +03:00
Vjacheslav Trushkin
96ced6e5de Rewite API handling and export reusable _api.sendQuery function that can be used without adding API provider first 2021-09-05 19:09:25 +03:00
Vjacheslav Trushkin
a5f8282df2 Redo internal API exports to make API functions reusable 2021-09-01 11:34:58 +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
Vjacheslav Trushkin
60e48a82e0 Render Svelte component immediately if icon data is available, fix typos in Svelte component's package.json 2021-05-14 22:29:43 +03:00
Vjacheslav Trushkin
93c93a3330 Rebuild Svelte component: component is now a default export, svelte component is used as main export to make it work correctly with SSR 2021-05-14 21:39:12 +03:00
Vjacheslav Trushkin
7214c077b4 Clean up code for IconifyPreload and IconifyProviders 2021-05-13 22:33:33 +03:00
Vjacheslav Trushkin
3f6265fdac Add class names to icons loaded from API in components, matching SVG framework functionality 2021-05-13 15:46:50 +03:00
Vjacheslav Trushkin
144604ce2b Add onLoad callback to components, export buildIcon, add onLoad event to components, fix customisations, publish new versions 2021-05-11 23:27:13 +03:00
Vjacheslav Trushkin
a508b4c051 Do not render slot in Svelte component, it causes conflicts with Svelte transitions 2021-05-10 18:32:28 +03:00
Vjacheslav Trushkin
05a6e3d765 Add onLoad callback and export buildIcon in Svelte component 2021-05-10 18:29:30 +03:00
Vjacheslav Trushkin
5192ed0ab7 Update dependencies in various components and demos, move setFetch to _api in all components 2021-05-07 21:19:48 +03:00
Vjacheslav Trushkin
0045b0e403 Minor fixes 2021-05-06 16:49:46 +03:00
Vjacheslav Trushkin
e9dc3803e4 Svelte component with API support 2021-05-01 23:38:56 +03:00
Vjacheslav Trushkin
ce4385fb4f Export types in Svelte component 2021-04-30 21:10:15 +03:00
Vjacheslav Trushkin
96314c0680 Svelte rebuild: change build process to generate both full and offline versions of component 2021-04-30 20:10:03 +03:00
Vjacheslav Trushkin
115bf1a9bf Add unit testing for Svelte component 2021-04-30 12:51:31 +03:00
Vjacheslav Trushkin
c643016178 Generate TypeScript definition files for Svelte component 2021-04-30 10:39:11 +03:00
Vjacheslav Trushkin
ef35c558a7 Change build process for Svelte components 2021-04-30 10:01:30 +03:00
Vjacheslav Trushkin
8b0c580eb2 Support addIcon, addCollection and referencing icon by name in Svelte component 2021-04-30 00:06:26 +03:00
Vjacheslav Trushkin
292ba1b7cb Use TypeScript in Svelte component 2021-04-29 21:06:25 +03:00
Vjacheslav Trushkin
eb2420177d Use named export for Svelte component instead of default export 2021-04-29 19:02:28 +03:00
Vjacheslav Trushkin
cfebb972a6 Generate consistent ids on server and client in Vue and Svelte components 2021-02-15 10:31:05 +02:00
Vjacheslav Trushkin
0a10453ee9 Remove IE10 attributes from SVGs in components 2020-12-16 12:04:21 +02:00
Vjacheslav Trushkin
5c87d82108 Fix import of uncompiled Svelte component by splitting dependencies into a separate file and bundle that file 2020-08-22 15:31:44 +03:00
Vjacheslav Trushkin
8639d52586 Publish Svelte component, fix few typos in Vue and React documentation and demo 2020-04-28 22:40:05 +03:00