2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 14:13:06 +00:00
Commit Graph

572 Commits

Author SHA1 Message Date
Joaquín Sánchez Jiménez
107b28bdf1 feat: automatic xml preface cleanup 2022-06-17 22:10:54 +02:00
Vjacheslav Trushkin
1d65b060d7 Simplify parse function in utils, check for bad aliases 2022-06-09 14:03:47 +03:00
Vjacheslav Trushkin
8eb348b3a9 Build packages after installing them with monorepo script 2022-05-28 14:18:11 +03:00
Vjacheslav Trushkin
5ab275c091 Publish update for React component 2022-05-26 14:01:27 +03:00
Michael Mitchell
5495b52692
fix(react): change peer range 2022-05-26 18:55:46 +10:00
Michael Mitchell
253508a5e6
fix(react): add react as peer dependency 2022-05-26 16:46:43 +10: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
4f38f14ad5 Simplify code to calculate dimensions in Utils 2022-05-20 23:32:47 +03:00
Vjacheslav Trushkin
fdd716846a Update directory structure in packages and readme 2022-05-12 23:10:42 +03:00
Vjacheslav Trushkin
7e2c345d7b Restructure monorepo 2022-05-12 22:39:56 +03:00
Vjacheslav Trushkin
224bd6ad63 Web component: test changing mode via property 2022-05-03 10:06:02 +03:00
Vjacheslav Trushkin
dd85cacfcc Web component: publish update 2022-05-02 09:40:11 +03:00
Vjacheslav Trushkin
2365d9ff1c Web component: add status property 2022-05-02 09:28:48 +03:00
Vjacheslav Trushkin
62a643cac9 Web component: publish update 2022-05-01 22:19:48 +03:00
Vjacheslav Trushkin
cee3b6eafe Fix custom dimensions when rendering span in components 2022-05-01 22:12:46 +03:00
Vjacheslav Trushkin
1c17fa6e42 Web component: fix custom dimensions when rendering span 2022-05-01 21:58:47 +03:00
Vjacheslav Trushkin
1c980b75a8 Web component: test universal icon loader in demo 2022-05-01 21:58:29 +03:00
Vjacheslav Trushkin
de0f394f5d Web component: update readme, publish new version 2022-05-01 15:25:38 +03:00
Vjacheslav Trushkin
f1af63de48 Web component: more tests 2022-05-01 14:01:54 +03:00
Vjacheslav Trushkin
2ffecadfee Web component: fix import syntax 2022-05-01 13:34:51 +03:00
Vjacheslav Trushkin
07b3bf3819 Web component: test exports, reuse span when re-rendering 2022-05-01 10:59:23 +03:00
Vjacheslav Trushkin
e80495fcd6 Update documentation for web component and svg framework 2022-05-01 09:56:33 +03:00
Vjacheslav Trushkin
8c8aa34d53 Utils: fix comments in encodeSVGforURL 2022-05-01 09:04:54 +03:00
Vjacheslav Trushkin
e2d56ce62b Utils: remove new lines when encoding SVG for URL 2022-05-01 08:35:34 +03:00
Vjacheslav Trushkin
31358fcf85 Web component: fix usage example 2022-04-30 23:51:55 +03:00
Vjacheslav Trushkin
826dd80833 Merge remote-tracking branch 'origin/master' into dev/next 2022-04-30 23:15:36 +03:00
Vjacheslav Trushkin
8e12f8614c Remove alignment from customisations 2022-04-30 23:12:34 +03:00
Vjacheslav Trushkin
956d57bd13 Export IconifyRenderMode type in components 2022-04-30 22:04:40 +03:00
Vjacheslav Trushkin
6a9dc8aabc Make replaceIDs function optional in builder interface 2022-04-30 21:40:12 +03:00
Vjacheslav Trushkin
9077105e60 Use types as dependency in all components instead of bundling it 2022-04-30 21:36:25 +03:00
Vjacheslav Trushkin
830fa80d83 Web component: fix inline attribute, add usage demo 2022-04-30 19:41:16 +03:00
Vjacheslav Trushkin
f65d3de405 Web component: fix build scripts 2022-04-30 19:16:10 +03:00
Vjacheslav Trushkin
9043ec684f Web component: export reusable functions 2022-04-30 18:24:44 +03:00
Vjacheslav Trushkin
f4efa1853d Rename inline mode to svg in components 2022-04-30 18:23:38 +03:00
Vjacheslav Trushkin
4601d540ef Do not use optional catch binding in core 2022-04-29 23:30:20 +03:00
Vjacheslav Trushkin
b183dade9d Web component: first commit 2022-04-29 23:19:22 +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
b56ac3ea39 More licenses cleanup 2022-04-20 19:20:04 +03:00
Vjacheslav Trushkin
8a16081d96 Fix licenses mess, switch everything to MIT 2022-04-20 19:00:21 +03:00
Vjacheslav Trushkin
5967e3c469 vue: add rendering modes 2022-04-15 09:58:43 +03:00
Vjacheslav Trushkin
59af5790aa svelte: fix comments 2022-04-13 10:53:14 +03:00
Vjacheslav Trushkin
9d6a3dac12 react: add rendering modes 2022-04-13 09:55:07 +03:00
Vjacheslav Trushkin
4bfcb4ed76 svelte: add rendering modes 2022-04-12 11:09:22 +03:00
Vjacheslav Trushkin
efa79b10ae svg framework: rename IconRenderMode type 2022-04-12 10:18:14 +03:00
Vjacheslav Trushkin
40dd0aba48 svg framework: add bg and mask modes, test changing modes 2022-04-11 11:10:34 +03:00
Vjacheslav Trushkin
b08d1221e3 utils: test encoding icon for css that contains + 2022-04-10 20:19:18 +03:00
Vjacheslav Trushkin
e7e51f8299 Move reusable functions for using SVG in CSS to utils 2022-04-10 13:47:25 +03:00
Vjacheslav Trushkin
b057e935b4 svg framework: fix tests, make xlink optional, move reusable function to utils 2022-04-10 10:45:05 +03:00
Vjacheslav Trushkin
9e3bc44b7e svg framework: add data-mode attribute 2022-04-08 11:07:17 +03:00
Vjacheslav Trushkin
dfdb73d649 (svg framework) extract few reusable functions from different renderers 2022-04-07 23:27:48 +03:00
Vjacheslav Trushkin
ef8f8e54ab (svg framework) remove isSVG from data stored in element 2022-04-07 23:10:15 +03:00
Vjacheslav Trushkin
ff5781a023 (svg framework) use inline as default render mode, add test for bg render mode 2022-04-07 21:43:42 +03:00
Vjacheslav Trushkin
fa8b70513b Optimise duplicate properties in background mode in svg framework 2022-04-07 18:52:20 +03:00
Vjacheslav Trushkin
f5bc7b4ea2 Render icons as background in SVG framework 2022-04-07 17:23:58 +03:00
Vjacheslav Trushkin
7700ea1808 Rewrite SVG framework with new unit tests, better attribute watching, cleaner render 2022-04-07 15:52:57 +03:00
Vjacheslav Trushkin
70ed79a516 Use URLSearchParams for API queries 2022-03-31 19:02:49 +03:00
Vjacheslav Trushkin
88502680c1 Publish update for Vue components 2022-03-31 16:59:52 +03:00
Vjacheslav Trushkin
070ee4a827 Publish update for Svelte component 2022-03-31 16:55:21 +03:00
Vjacheslav Trushkin
cb74adf41c Publish update for React component 2022-03-31 16:51:53 +03:00
Vjacheslav Trushkin
e6667436b0 Publish update for Ember component 2022-03-31 16:45:05 +03:00
Vjacheslav Trushkin
e297d0e0f6 Publish update for SVG framework 2022-03-31 16:42:18 +03:00
Vjacheslav Trushkin
5cd43f4b17 Publish new versions of utils and core packages 2022-03-31 16:35:30 +03:00
Vjacheslav Trushkin
4c85bcd9f3 Sync local dependencies, script to automatically update version numbers 2022-03-31 15:59:42 +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
Vjacheslav Trushkin
27bbe40845 Publish update for utils 2022-03-24 22:25:01 +02:00
Joaquín Sánchez Jiménez
36af258071 feat: provide collection and icon names to transform customization 2022-03-24 21:16:13 +01:00
Vjacheslav Trushkin
877d84eebc Publish update for utils 2022-03-22 20:24:34 +02:00
Joaquín Sánchez Jiménez
083cb56f53 test: add scale test for modern 2022-03-22 19:08:38 +01:00
Joaquín Sánchez Jiménez
e88ecf8aeb fix(next): modern module ignores scale 2022-03-22 18:55:37 +01:00
Vjacheslav Trushkin
a8217e9639 Update dependencies for Ember component 2022-03-22 12:11:20 +02:00
Vjacheslav Trushkin
642976c6c7 Update dependencies for SVG framework 2022-03-22 12:10:04 +02:00
Vjacheslav Trushkin
50dcb9d513 Update dependencies for React component 2022-03-22 12:07:31 +02:00
Vjacheslav Trushkin
d664bef2e9 Update dependencies for Svelte component 2022-03-22 12:04:21 +02:00
Vjacheslav Trushkin
1fc3845ed9 Update dependencies in Vue components 2022-03-22 12:00:47 +02:00
Vjacheslav Trushkin
7d3975d65d Update dependencies for core, publish update 2022-03-22 11:54:56 +02:00
Vjacheslav Trushkin
2f5f425c03 Update dependencies for API redundancy package 2022-03-22 11:51:41 +02:00
Vjacheslav Trushkin
6fcca33a0f Update dependencies for utils, publish update 2022-03-22 11:49:15 +02:00
Vjacheslav Trushkin
6272fadbc3 Update dependencies for types package 2022-03-22 11:44:11 +02:00
Vjacheslav Trushkin
8617560485 Restructure types package: types and blank filenames must match to avoid errors in unbuild 2022-03-22 08:58:43 +02:00
Vjacheslav Trushkin
deacbd9187 Publish update for utils 2022-03-21 20:49:07 +02:00
Joaquín Sánchez Jiménez
6389a39e79 chore: apply trim on custom module 2022-03-21 19:44:59 +01:00
Joaquín Sánchez Jiménez
27e6e42d85 chore: remove breaking change on utils module 2022-03-21 19:34:58 +01:00
Joaquín Sánchez Jiménez
64a74a90b5 chore: revert typesVersions also on core package 2022-03-21 19:08:18 +01:00
Joaquín Sánchez Jiménez
5c3252d148 chore: revert typesVersions, preset icons cannot find type declarations 2022-03-21 19:01:11 +01:00
Joaquín Sánchez Jiménez
544a2d5fb3 test: update import type 2022-03-21 18:39:44 +01:00
Joaquín Sánchez Jiménez
123991c687 test: add trim custom svg + remove unused imports 2022-03-21 18:38:18 +01:00
Joaquín Sánchez Jiménez
e506d76843 feat(next): add trim for custom svg icons 2022-03-21 18:28:10 +01:00
Vjacheslav Trushkin
f0e78f4c8f Publish update for utils 2022-03-21 18:55:20 +02:00
Vjacheslav Trushkin
bd935e4955 Add function to trim SVG to utils 2022-03-21 18:54:25 +02:00
Vjacheslav Trushkin
093aed6c0e Add typesVersions to core 2022-03-21 10:51:47 +02:00
Joaquín Sánchez
fb51565d17
chore: update folder name 2022-03-20 14:58:37 +01:00
Joaquín Sánchez
814e944e27
fix(next): add dts for non node packages
I talk with @antfu (sorry to ping you here ;) ), we need to add the `typedVersions`, we talk about it a few days/weeks ago:
``json
  "typesVersions": {
    "*": {
      "*": [
        "./dist/*"
      ]
    }
  },
```
2022-03-20 14:43:26 +01:00
Vjacheslav Trushkin
34a3d91521 Publish update for SVG framework 2022-03-19 13:52:10 +02:00
Vjacheslav Trushkin
933befe874 Publish update for Vue 2 component 2022-03-19 13:39:02 +02:00
Vjacheslav Trushkin
a0169b225b Use vitest in Vue tests, publish update for Vue component 2022-03-19 13:19:52 +02:00
Vjacheslav Trushkin
ad18afe316 Do not use non-null assertion in test in utils 2022-03-18 15:55:47 +02:00
Vjacheslav Trushkin
a7899d812f Fix double spacing in attributes in mergeIconProps in utils 2022-03-18 15:52:53 +02:00
Vjacheslav Trushkin
29a88a2753 Merge remote-tracking branch 'origin/userquin/fix-loader-utils-add-space' into next 2022-03-18 15:36:28 +02:00
Joaquín Sánchez Jiménez
d5494752c9 fix(loader/utils): add space adding attrs to svg 2022-03-18 10:30:46 +01:00