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

192 Commits

Author SHA1 Message Date
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
46ae993b95 Fix incorrect transformations for negative rotation, for merging icon and customisation rotations, better code for merging customisations 2021-05-11 21:03:10 +03:00
Vjacheslav Trushkin
8da393c816 Ignore undefined when merging objects 2021-05-10 23:34:25 +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
fb5744a1cb Publish alpha versions of all components 2021-05-07 22:17:16 +03:00
Vjacheslav Trushkin
4fef8e3167 Test passing class in Vue components 2021-05-07 21:39:32 +03:00
Vjacheslav Trushkin
813725dcf6 Update readme 2021-05-07 21:21:32 +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
2282a05bea Move setFetch to API internals in core, publish core and SVG framework as stable versions 2021-05-07 21:01:14 +03:00
Vjacheslav Trushkin
957892eb76 Vue 2 component demo 2021-05-07 11:40:16 +03:00
Vjacheslav Trushkin
2ff52f1122 Vue 2 component with API support 2021-05-07 11:28:39 +03:00
Vjacheslav Trushkin
56df8fa1e8 Change Vue 2 component from functional to class in preparation for API support 2021-05-07 00:28:14 +03:00
Vjacheslav Trushkin
a4422ec145 Restore Vue 2 component from archive and rename it 2021-05-06 18:22:48 +03:00
Vjacheslav Trushkin
b201cd657f Update README 2021-05-06 16:51:18 +03:00
Vjacheslav Trushkin
0045b0e403 Minor fixes 2021-05-06 16:49:46 +03:00
Vjacheslav Trushkin
8bd6d0768c Update Vue demo 2021-05-06 16:49:10 +03:00
Vjacheslav Trushkin
66b1a26161 Add Vue 3 component with API support 2021-05-06 11:21:39 +03:00
Vjacheslav Trushkin
5f2e7da715 Rewrite Vue component, without API yet 2021-05-05 19:24:26 +03:00
Vjacheslav Trushkin
a3d0a7428b Update dependencies for Vue component and demo 2021-05-02 22:02:40 +03:00
Vjacheslav Trushkin
1fa44e16f3 Test changing icon while icon is being loaded in React and Svelte components 2021-05-02 20:47:48 +03:00
Vjacheslav Trushkin
28e7c590b0 Export PartialIconifyAPIConfig type in SVG framework 2021-05-01 23:40:22 +03:00
Vjacheslav Trushkin
73cec2ac80 Few small changes to React component 2021-05-01 23:39:56 +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
708995f8d3 Improve few React component unit tests 2021-04-30 12:51:56 +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
7ced2079bf Update Sapper demo for new Svelte component structure 2021-04-30 10:18:11 +03:00
Vjacheslav Trushkin
ef35c558a7 Change build process for Svelte components 2021-04-30 10:01:30 +03:00
Vjacheslav Trushkin
e5e3e9a52e Add demo of rendering placeholder to Svelte demo 2021-04-30 00:07:51 +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
95ea0e59a6 Fix typo in React tests 2021-04-28 18:01:30 +03:00
Vjacheslav Trushkin
07f2dc5608 Adjust SVG framework for changes in API code 2021-04-28 00:06:58 +03:00
Vjacheslav Trushkin
b12de93aaa Update Next.js demo 2021-04-27 20:56:24 +03:00
Vjacheslav Trushkin
52674f0967 Add Next.js demo 2021-04-27 20:52:09 +03:00
Vjacheslav Trushkin
cc3182563b Remove mreact-with-api from readme 2021-04-27 20:05:43 +03:00
Vjacheslav Trushkin
b46498b8fd Refectoring React: working API component 2021-04-27 19:21:35 +03:00
Vjacheslav Trushkin
e1fa93db6b Refactoring React: full component, without automatic data loading yet 2021-04-26 21:43:20 +03:00
Vjacheslav Trushkin
31ceb48b6e Create mock API module in core to allow testing API in components 2021-04-25 11:21:59 +03:00
Vjacheslav Trushkin
44692efcb5 Handle 404 errors in API in core by marking icons as missing 2021-04-24 22:41:54 +03:00
Vjacheslav Trushkin
d1baf4c4c8 Do not use variable 'global' in JSONP module 2021-04-24 16:00:45 +03:00
Vjacheslav Trushkin
3f73f4f145 Refactoring React: full component but without API support 2021-04-24 14:49:37 +03:00
Vjacheslav Trushkin
ac37225e5e Do not throw error if fetch API is not available, until actual request is sent 2021-04-24 14:21:17 +03:00
Vjacheslav Trushkin
93856ba889 Refactoring React: redo demo for offline component 2021-04-24 12:05:35 +03:00
Vjacheslav Trushkin
9fb87b1e61 Refactoring React: working offline component with tests and demo 2021-04-23 23:50:17 +03:00