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

313 Commits

Author SHA1 Message Date
Vjacheslav Trushkin
3863a7e2fa Fix main entry in library builder 2021-11-06 22:53:42 +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
7ba8c01e66 Fix attribute comparison in toBoolean in Utils 2021-10-13 10:03:34 +03:00
Vjacheslav Trushkin
5296d40b20 Update dependencies for React component 2021-10-12 23:58:27 +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
Vjacheslav Trushkin
501594764e Utils update: convert samplesHeight from legacy info format 2021-10-05 16:19:18 +03:00
Vjacheslav Trushkin
f8d9f4bc00 Add icon set info conversion function to Utils package 2021-10-05 15:02:06 +03:00
Vjacheslav Trushkin
1a67950032 Utils update: cleaner code for replacing ids, add unneeded files to .npmignore 2021-10-02 21:11:27 +03:00
Vjacheslav Trushkin
4d2113bab1 Publish new versions of all components with better replaceIDs function 2021-10-01 23:53:15 +03:00
Vjacheslav Trushkin
ecc33f6209 Fix bug in replacing ids in shapes, publish new version of utils 2021-10-01 23:13:37 +03:00
Vjacheslav Trushkin
818f78eda4 Add Svelte demo with Vite, add SveteKit demo 2021-09-28 09:40:55 +03:00
Vjacheslav Trushkin
35b046567d Publish new version of Ember component 2021-09-27 23:03:48 +03:00
Vjacheslav Trushkin
1c295669fc Publish new versions of Vue components 2021-09-27 22:59:19 +03:00
Vjacheslav Trushkin
21c317612a Use OfflineIcon.svelte in Svelte demo 2021-09-27 22:19:49 +03:00
Vjacheslav Trushkin
087049a600 Publish new version of React component 2021-09-27 21:59:19 +03:00
Vjacheslav Trushkin
5d91f63a12 Publish new version of SVG framework 2021-09-27 21:58:59 +03:00
Vjacheslav Trushkin
2f921ff04b Use Svelte 3.39 because 3.40 breaks compiled components. Publish new version of component 2021-09-27 21:58:40 +03:00
Vjacheslav Trushkin
5a26c44009 Update browser tests 2021-09-27 18:53:31 +03:00
Vjacheslav Trushkin
f3dffba74f Update Ember component for new code 2021-09-27 18:47:41 +03:00
Vjacheslav Trushkin
933202d617 Minor changes to React and Svelte components 2021-09-27 17:28:42 +03:00
Vjacheslav Trushkin
4288be3301 Update Vue 2 component for new core structure 2021-09-27 17:28:22 +03:00
Vjacheslav Trushkin
e77de11118 Update Vue 3 component for new core structure 2021-09-27 16:58:47 +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
b415911f04 More small changes to React component 2021-09-27 16:29:01 +03:00
Vjacheslav Trushkin
55c24a473e Update types package: add IconifyOptional to IconifyJSONIconsData 2021-09-27 09:25:48 +03:00
Vjacheslav Trushkin
9216c1b576 Add IconifyJSONPackageExports type for @iconify-json/* packages 2021-09-25 13:44:26 +03:00
Vjacheslav Trushkin
cb8b5333be Update exports for SVG framework and React component, update build process for React component 2021-09-25 13:08:47 +03:00
Vjacheslav Trushkin
bd18d8874e Update React component code for new core and utils structure 2021-09-25 11:43:00 +03:00
Vjacheslav Trushkin
e82ecf83da Publish new versions of various libraries, update dependencies 2021-09-25 11:12:24 +03:00
Vjacheslav Trushkin
21deb7e3d2 Add /offline entry for SVG framework, link to types for various exports 2021-09-25 00:23:00 +03:00
Vjacheslav Trushkin
2c94327c6a Update SVG framework dependencies 2021-09-24 22:31:09 +03:00
Vjacheslav Trushkin
dfec3add9f Refactor SVG framework: use ES modules, generate ES module, use Jest for testing 2021-09-24 19:03:49 +03:00
Vjacheslav Trushkin
a77c89a545 Remove unnecessary comments from utils 2021-09-24 18:39:17 +03:00
Vjacheslav Trushkin
c28ad01412 Remove combined exports from core, they make it more difficult to use ES named exports 2021-09-24 18:38:52 +03:00
Vjacheslav Trushkin
691057527b Change build process for SVG framework, switch tests to Jest 2021-09-24 11:41:54 +03:00
Vjacheslav Trushkin
e6951fef7c Support ES modules in core package, switch tests to Jest and Jasmine 2021-09-24 00:27:16 +03:00
Vjacheslav Trushkin
cd4a1f70dd Fix exports in utils package 2021-09-23 23:38:53 +03:00
Vjacheslav Trushkin
4b27fca199 Minor fixes for api-redundancy package 2021-09-23 23:38:00 +03:00
Vjacheslav Trushkin
696658fb38 Fix generated exports by library-builder package 2021-09-23 23:35:38 +03:00
Vjacheslav Trushkin
f86317c7bf ES support for utils package 2021-09-20 23:53:49 +03:00
Vjacheslav Trushkin
e3bc9f7832 Properly support ES modules in API redundancy package, run tests for both CommonJS and ES modules 2021-09-20 23:30:23 +03:00
Vjacheslav Trushkin
e6f69c6901 Merge branch 'dev/reusable-api' into dev/next 2021-09-20 16:33:57 +03:00
Vjacheslav Trushkin
d1b7d76d97 Require resources property in API config 2021-09-20 13:25:36 +03:00
Vjacheslav Trushkin
027a317e4e Create script for building ES and CommonJS libraries, move Utils and Core to new build process, move Redundancy package to monorepo and refactor it 2021-09-20 12:59:16 +03:00
Vjacheslav Trushkin
1c8273b977 Build ES and CommonJS files for utils and core packages 2021-09-17 00:07:22 +03:00
Vjacheslav Trushkin
8249705761 Publish new beta versions of all components 2021-09-12 22:17:20 +03:00
Vjacheslav Trushkin
7143e4abbd Support hosts in mock API module, allow host specific API modules 2021-09-12 21:01:33 +03:00
Vjacheslav Trushkin
6c2eb2392c Add function to list all API providers 2021-09-12 19:35:26 +03:00
Vjacheslav Trushkin
00e71c20dd Publish beta versions of all packages 2021-09-05 19:59:05 +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
966c5953cd Ignore lib in iconify and react packages 2021-09-02 10:09:41 +03:00
Vjacheslav Trushkin
46988cf994 Ignore lib in iconify and react packages 2021-09-02 10:08:53 +03:00
Vjacheslav Trushkin
a5f8282df2 Redo internal API exports to make API functions reusable 2021-09-01 11:34:58 +03:00
Vjacheslav Trushkin
fbb836d3c0 Split API queries into icons and custom queries 2021-08-30 10:22:53 +03:00
Vjacheslav Trushkin
eebac83a65 Automatically require cross-fetch when running in Node 2021-08-29 21:51:54 +03:00
Vjacheslav Trushkin
02ccf58817 Fix renderHTML, renderSVG and renderIcon functions in SVG framework 2021-08-19 12:35:49 +03:00
Vjacheslav Trushkin
f5729b7d00 Update React component 2021-08-16 11:33:09 +03:00
nghiepit
8acdc59844 Resolve React Icon type problems 2021-08-16 14:56:25 +07:00
Nghiệp
258af29f7c Fix React icon ref element 2021-08-16 09:04:15 +07:00
Nghiệp
aaa0f5dfdf Fix roate allow rotation to be string 2021-08-16 08:50:00 +07:00
Vjacheslav Trushkin
f1b840918c Publish new components as stable 2021-08-09 09:22:08 +03:00
Vjacheslav Trushkin
b6578679e2 Add SVG generator link to API provider data 2021-08-07 18:27:40 +03:00
Vjacheslav Trushkin
d1284f4c95 Update README files 2021-07-21 12:06:03 +03:00
Vjacheslav Trushkin
833a39e2cc Publish stable Ember component, update Ember demo, create readme file for Ember and fix minor issues in other readme files 2021-07-20 21:03:16 +03:00
Vjacheslav Trushkin
915d747d02 Ember component (working but not fully tested yet) 2021-07-20 16:50:05 +03:00
Vjacheslav Trushkin
b4379f2615 Fix errors in readme files 2021-07-13 16:44:25 +03:00
Vjacheslav Trushkin
2fb2a8d9ca Fix replacing ids in icons to support animations 2021-07-01 12:00:13 +03:00
Vjacheslav Trushkin
42fd30d28d Update dependencies, rewrite readme files 2021-06-20 09:59:30 +03:00
Vjacheslav Trushkin
2c83b87f5c Rewrite documentation for React component 2021-06-16 22:51:33 +03:00
Vjacheslav Trushkin
f94f4e18be Publish SVG framework 2.0.2 2021-06-16 16:58:27 +03:00
Vjacheslav Trushkin
b203cf9cfb Observe documentElement instead of body in SVG framework 2021-06-16 15:36:51 +03:00
Vjacheslav Trushkin
712e620e9a Test mismatched API provider in API response 2021-06-15 18:48:31 +03:00
Vjacheslav Trushkin
4490d02be7 Fix getIconData in Iconify Utils 2021-05-27 19:52:31 +03:00
Vjacheslav Trushkin
992e02d896 Make default provider an optional parameter when converting icon name in utils 2021-05-26 11:12:56 +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
7898614a8c Add funding link to main packages 2021-05-24 21:03:04 +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
375bfcd6ca Publish Svelte component 2.0.0-alpha.7 2021-05-14 22:31:07 +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
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
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