2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-19 16:59:02 +00:00
Commit Graph

678 Commits

Author SHA1 Message Date
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
Vjacheslav Trushkin
57f5a436e0 Publish update for Svelte component 2022-03-18 10:06:28 +02:00
Vjacheslav Trushkin
33b22821d5 Publish update for React component 2022-03-17 22:08:26 +02:00
Vjacheslav Trushkin
19bd1672a1 Publish update for Ember component 2022-03-17 21:13:04 +02:00
Vjacheslav Trushkin
abe4fe45be Prepare to publish update for core 2022-03-17 18:41:31 +02:00
Vjacheslav Trushkin
238104bbfe Publish update for utils 2022-03-17 18:23:48 +02:00
Vjacheslav Trushkin
56d74aab8a Publish update for types 2022-03-17 18:20:43 +02:00
Vjacheslav Trushkin
af2b2227ac Merge branch 'dev/unbuild' into next 2022-03-17 18:04:14 +02:00
Vjacheslav Trushkin
6f569401d7 Remove CommonJS tests with Vitest in core 2022-03-17 18:04:04 +02:00
Vjacheslav Trushkin
a1bdc3488a chore: fix eslint error in utils.ts 2022-03-17 17:10:03 +02:00
Joaquín Sánchez Jiménez
23a089b6bf chore: configure usedProps with additionalProperties and override width and height from props 2022-03-17 14:59:51 +01:00
Joaquín Sánchez Jiménez
a1c7087cf2 jsdocs: explanation for width and height on usedProps 2022-03-17 13:38:24 +01:00
Joaquín Sánchez Jiménez
248b1f9d39 chore: cleanup + fix ts problem on tests 2022-03-17 13:14:35 +01:00
Joaquín Sánchez Jiménez
78c099669b feat(utils): return used props applied to the svg 2022-03-17 12:48:49 +01:00
Joaquín Sánchez Jiménez
20596bef1d chore: remove Object.create + fix vitest cjs tests 2022-03-17 10:26:11 +01:00
Joaquín Sánchez Jiménez
e4f2ddd531 chore: add used props 2022-03-17 10:07:29 +01:00
Vjacheslav Trushkin
1736308a64 Move browser storage mock to source in core 2022-03-16 23:50:53 +02:00
Vjacheslav Trushkin
3f89dd6cec Fix linting errors in tests in core 2022-03-16 23:30:16 +02:00
Vjacheslav Trushkin
32819127dd Do not reuse Promise instance in loadIcon in core 2022-03-16 19:32:27 +02:00
Vjacheslav Trushkin
41afe33976 Fix tsconfig in core, specify config when clearing jest cache 2022-03-16 16:10:14 +02:00
Vjacheslav Trushkin
96c7486f7c Fix tsconfig in utils 2022-03-16 15:42:17 +02:00
Vjacheslav Trushkin
71e3aa8597 Fix include in vitest config in core 2022-03-16 12:14:35 +02:00
Vjacheslav Trushkin
5feccddcb3 WIP: moving core to unbuild and vitest 2022-03-16 12:12:25 +02:00
Vjacheslav Trushkin
1618e49698 Publish api-redundancy update 2022-03-16 12:11:01 +02:00
Vjacheslav Trushkin
ef8ff7a76a Update ignore files in utils 2022-03-16 11:04:16 +02:00
Vjacheslav Trushkin
d5a7e5724d Fix linting errors in utils 2022-03-16 10:58:02 +02:00
Vjacheslav Trushkin
b985c4e69e Remove Jasmine tests from core 2022-03-16 10:08:49 +02:00
Vjacheslav Trushkin
16146d553e Remove Jasmine tests from utils 2022-03-16 10:01:55 +02:00
Vjacheslav Trushkin
6c3284e1c3 Retrieve list of files to build from package.json exports in utils 2022-03-16 09:50:12 +02:00
Vjacheslav Trushkin
91f5f8a7e4 Remove unnecessary non-null assertion in utils 2022-03-16 09:49:45 +02:00
Vjacheslav Trushkin
7ba7852d12 Remove duplicate warnOnce in utils 2022-03-15 21:07:35 +02:00
Vjacheslav Trushkin
fbd61e9183 Remove library-builder package, use unbuild instead 2022-03-15 19:19:51 +02:00
Vjacheslav Trushkin
4ff7bab3ee Publish new version of Ember component 2022-03-15 16:52:31 +02:00
Vjacheslav Trushkin
efd0038aff Use unbuild to build core package 2022-03-14 18:12:01 +02:00
Vjacheslav Trushkin
aaf3f7d209 Remove ancient browsers support from SVG framework 2022-03-14 18:12:01 +02:00
Vjacheslav Trushkin
77eb51366f Fix test scripts in utils, publish update 2022-03-14 18:11:15 +02:00
Vjacheslav Trushkin
37d36b4e09 Merge branch 'userquin/feat-split-modern-loader-next' into next 2022-03-14 17:54:08 +02:00
Joaquín Sánchez Jiménez
3d771d7572 lint: tabs sizes on package.json file 2022-03-14 16:26:07 +01:00
Joaquín Sánchez Jiménez
ce322feb1d lint: tabs sizes on tsconfig file 2022-03-14 16:24:09 +01:00
Joaquín Sánchez Jiménez
0d4df1edb9 lint: tabs sizes on tsconfig file 2022-03-14 16:21:27 +01:00
Joaquín Sánchez Jiménez
e20e4d9b36 cleanup: remove old build stuff 2022-03-14 16:17:29 +01:00
Joaquín Sánchez Jiménez
84e9b9f277 lint: change to prettier on local 2022-03-14 15:39:40 +01:00
Joaquín Sánchez Jiménez
08d35b55f7 chore: megre next + some eslint change + loader package lint 2022-03-14 15:13:13 +01:00
Vjacheslav Trushkin
a3f57cfcf9 Merge branch 'master' into next 2022-03-14 15:52:52 +02:00
Vjacheslav Trushkin
41db5b5c06 Fix dependencies in Ember component, ignore import from @ember/template 2022-03-14 15:50:58 +02:00
Bj Tecu
8d7043692e Add ember-source package 2022-03-14 09:28:00 -04:00
Joaquín Sánchez Jiménez
1b3680647c Merge branch 'next' into userquin/feat-split-modern-loader-next
# Conflicts:
#	packages/utils/package-lock.json
#	packages/utils/src/loader/loader.ts
#	packages/utils/src/loader/types.ts
#	packages/utils/tests/iconify-icon-test.ts
2022-03-14 14:23:57 +01:00
Bj Tecu
3cc866214d Make styles safe 2022-03-11 11:39:57 -05:00
Ramy Melo
30ab5eba2a refactor(types): refactored away ts errors 2022-03-04 17:04:30 -05:00
Ramy Melo
fa01bbe962 refactor(eslint): refactored away mix type errors
@typescript-eslint/restrict-plus-operands
2022-03-04 16:18:02 -05:00
Ramy Melo
e5e4ddf49e chore: eslint --fix after enabling ts typed rules. 2022-03-04 16:04:14 -05:00
Ramy Melo
ff261a0216 chore: enabled extra ts eslint rule
@typescript-eslint/recommended-requiring-type-checking
2022-03-04 15:28:31 -05:00
SnakePoison
bd2d16b8da
Merge branch 'iconify:master' into fix-prettier-rules-conflict 2022-03-04 15:20:16 -05:00
Ramy Melo
8f739807d5 chore: auto fixed prettier rules in src and tests
npx eslint --fix src/**/*.ts
npx eslint --fix tests/**/*.ts
2022-03-04 11:37:21 -05:00
Ramy Melo
30826c33e0 chore: enabled eslint rule - prettier/prettier 2022-03-04 11:32:32 -05:00
Ramy Melo
7fc23697c8 chore: include test project in configuration. 2022-03-04 10:47:12 -05:00
Ramy Melo
d237726a5c chore: updates deps and adds new deps to utils. 2022-03-04 10:32:30 -05:00
Ramy Melo
3babd46af8 feat: further integrates eslint, ts , and prettier 2022-03-04 10:28:51 -05:00
Joaquín Sánchez Jiménez
dea75709e1 chore: run cjs and esm test in the same order 2022-03-04 15:20:23 +01:00
Joaquín Sánchez Jiménez
ad0e490b91 test: add vitest cjs 2022-03-04 14:52:08 +01:00
Joaquín Sánchez Jiménez
9071d0aeaa test: add vitest 2022-03-04 12:00:20 +01:00
Joaquín Sánchez Jiménez
dec6e45770 chore: add type module again, jest tests working again 2022-03-04 11:27:41 +01:00
Joaquín Sánchez Jiménez
ae3706cbf8 tests: add dual jest test, esm and cjs working 2022-03-04 00:36:30 +01:00
Joaquín Sánchez Jiménez
7ba8d5a2be chore: move node stuff + package.json changes 2022-03-03 22:30:16 +01:00
Joaquín Sánchez Jiménez
0a8a0c9a23 chore: use lib folder + fix customisation modules 2022-03-02 21:33:10 +01:00
Joaquín Sánchez Jiménez
e74f332fb9 chore: move to unbuild 2022-03-02 21:11:50 +01:00
Joaquín Sánchez Jiménez
79e4530fab Revert "chore: move some modules and update types test: include some tests for writeOnce"
This reverts commit 6134d1f6
2022-03-02 18:55:03 +01:00
Vjacheslav Trushkin
ff37e410c7 Add dist/offline exports to React component 2022-02-28 12:07:21 +02:00
Vjacheslav Trushkin
b6b31aa00c Use tick() in Svelte component tests 2022-02-28 11:48:59 +02:00
Vjacheslav Trushkin
6d04b4a7e6 Publish update for Vue components 2022-02-28 10:15:32 +02:00
Joaquín Sánchez Jiménez
b59a49ece4 chore: add modern logic to loadIcon and update types
test: add dynamic import for loadIcon test
cleanup: remove unused dependencies
2022-02-27 19:55:06 +01:00
Joaquín Sánchez Jiménez
7dd250ef55 chore: remove node stuff 2022-02-27 17:58:24 +01:00
Joaquín Sánchez Jiménez
6134d1f62b chore: move some modules and update types
test: include some tests for `writeOnce`
2022-02-27 15:03:40 +01:00
Joaquín Sánchez Jiménez
062a852a79 feat(next): split modern loader for node and browser support 2022-02-26 20:44:39 +01:00
Vjacheslav Trushkin
65dfecf963 Merge remote-tracking branch 'origin/userquin/feat-split-modern-loader' into next 2022-02-26 20:32:57 +02:00
Joaquín Sánchez Jiménez
27890415de Merge branch 'master' into userquin/feat-split-modern-loader 2022-02-26 19:00:22 +01:00
Joaquín Sánchez Jiménez
bf2ed675d5 test: add customize hook for @iconify-json icon 2022-02-26 18:44:03 +01:00
Joaquín Sánchez Jiménez
bcd2529f51 chore: add encode-svg-for-css to package.json
test: add `loadIcon` tests for `@iconify-json` icons
2022-02-26 18:33:01 +01:00
Joaquín Sánchez Jiménez
b7072a1749 chore: move svg style and class logic to mergeIconProps 2022-02-26 18:31:45 +01:00
Joaquín Sánchez Jiménez
3fb00b30c8 chore: move isLoader to loader.ts and change the logic 2022-02-26 17:49:13 +01:00
Joaquín Sánchez Jiménez
6efa9af556 chore: export also isNode from loader.ts 2022-02-26 17:48:30 +01:00
Joaquín Sánchez Jiménez
affaf1bea0 chore: handle scale 2022-02-26 17:47:57 +01:00
Joaquín Sánchez Jiménez
e507252841 chore: svg on css requires svg and xlink namespaces 2022-02-26 17:32:17 +01:00
Joaquín Sánchez Jiménez
85d9c1e8b7 chore: add missing ; 2022-02-26 17:20:57 +01:00
Joaquín Sánchez Jiménez
1e854f74ee chore: add option to add svg and xlink xml namespaces 2022-02-26 17:20:16 +01:00
Joaquín Sánchez Jiménez
7b5ccb13b6 chore: add hint to keep space on <svg > 2022-02-26 17:02:00 +01:00
Joaquín Sánchez Jiménez
bbe56e3199 chore: add await loading collection from fs 2022-02-26 16:58:48 +01:00
Joaquín Sánchez Jiménez
bb285192a2 chore: undo handle scale, should be done from outside 2022-02-26 16:44:24 +01:00
Joaquín Sánchez Jiménez
308c26c774 chore: add @iconify-json/flat-color-icons for testing 2022-02-26 16:28:20 +01:00
Joaquín Sánchez Jiménez
f5665ede70 chore: handle scale option when merging svg icon props 2022-02-26 16:27:20 +01:00
Joaquín Sánchez Jiménez
a1592498bb chore: handle defaultStyle and defaultClass 2022-02-26 15:57:00 +01:00
Joaquín Sánchez Jiménez
8b7641839e chore: move encodeCssSvg to its own module 2022-02-26 15:39:56 +01:00
Joaquín Sánchez Jiménez
ef22738574 feat: split modern loader for node and browser support 2022-02-26 15:12:13 +01:00
Vjacheslav Trushkin
dc8357209e Fix bugs in Vue components, causing them to render incorrectly with SSR 2022-02-26 12:13:50 +02:00
Vjacheslav Trushkin
c633283369 Merge remote-tracking branch 'origin/master' into next 2022-02-21 18:07:39 +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
7beb46fabd Update package-lock.json for utils 2022-02-21 11:55:50 +02:00
Nicholas Berlette
ea8d4b8777
Typo fix in packages/svelte/build.js
Just a quick typo fix found on `packages/svelte/build.js` @ `171`: 
https://github.com/iconify/iconify/blob/master/packages/svelte/build.js#L171

And with the two letters in their proper places... voila:

```js
if (svelteParts.length < 2) {
```

That is all for now, thanks 😁
2022-02-20 20:40:10 -08:00
Vjacheslav Trushkin
73a2caae2d Publish update for Utils 2022-02-05 21:23:24 +02:00
Vjacheslav Trushkin
0e4a3790b2 Do not add redundant displayHeight to converted icon set info in Utils 2022-02-05 21:22:42 +02:00
Vjacheslav Trushkin
94580099d5 Support function colors in color parser in utils 2022-02-05 12:59:44 +02:00
Vjacheslav Trushkin
fd6758414b Merge branch 'dev/workspaces' 2022-02-02 11:06:29 +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
93ccc6c439 Fix tsconfig in Ember 2022-01-29 13:22:52 +02:00
Vjacheslav Trushkin
dbffbfb140 Move demo packages to different directory 2022-01-29 09:37:39 +02:00
Vjacheslav Trushkin
c464934771 Remove Lerna, use custom script instead 2022-01-27 21:16:43 +02:00
Vjacheslav Trushkin
ded43ed8fc Merge branch 'dev/redundancy' 2022-01-27 09:36:10 +02:00
Vjacheslav Trushkin
f18342a98c Update Lerna, remove old update script 2022-01-27 09:35:49 +02:00
Vjacheslav Trushkin
194ec91f87 Test loading icon set with valid prefix, but invalid icon names 2022-01-26 00:06:11 +02:00
Vjacheslav Trushkin
44a36fdf30 Fix validating empty icon sets 2022-01-26 00:05:18 +02:00
Vjacheslav Trushkin
2e838b5ff4 Update core package for new redundancy structure 2022-01-25 22:18:52 +02:00
Vjacheslav Trushkin
db883f9593 Simplify redundacy package, allow aborting query with error 2022-01-25 20:51:09 +02:00
Vjacheslav Trushkin
abf29e3cd4 Remove unused functionality in redundancy 2022-01-25 19:55:54 +02:00
Vjacheslav Trushkin
42d8abf1db Update dependencies in redundancy 2022-01-25 19:55:40 +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
035d2fe305 Update SVG framework 2022-01-12 11:27:28 +02:00
Vjacheslav Trushkin
4d1f1da47f Update Vue components 2022-01-11 12:37:20 +02:00
Vjacheslav Trushkin
3aaea9fc32 Update Svelte component 2022-01-11 00:26:35 +02:00
Vjacheslav Trushkin
de1edf3db9 Update React component 2022-01-10 23:39:39 +02:00
Vjacheslav Trushkin
0e1f1d427e Update Ember component 2022-01-10 23:10:48 +02:00
Vjacheslav Trushkin
00d7d6e0c5 Publish new versions of library builder and core packages 2022-01-10 22:50:16 +02:00
Vjacheslav Trushkin
0a321541e0 Publish utils 1.0.21 2022-01-10 19:44:05 +02:00
Vjacheslav Trushkin
4487568ba4 Prettier recently updated files 2022-01-10 18:08:40 +02:00
Joaquín Sánchez Jiménez
3553153baf fix: jsdocs for IconCustomizations + some typo 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
9ebf18df94 chore: add icons customizations 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
d1d674543f chore: update imports 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
56894251c6 feat: refactor modern loader 2022-01-10 17:59:56 +02:00
Vjacheslav Trushkin
fe98ca73bf Add annotations, clean up getCustomIcon and test loading bad icon 2022-01-10 17:59:56 +02:00
Vjacheslav Trushkin
9c0ba71355 Move fixtures in utils to fixtures directory 2022-01-10 17:59:56 +02:00
Vjacheslav Trushkin
3f90e54129 Check if file exists asynchronously in FileSystemIconLoader 2022-01-10 17:59:56 +02:00
Vjacheslav Trushkin
5d6885369f Format updated files with Prettier 2022-01-10 17:59:56 +02:00
Vjacheslav Trushkin
2a0dbf8fa9 Move reusable string functions to separate file 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
0a62d009a8 lint 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
0838ccc038 chore: add kolorist 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
63f6e0ceaa test: remove extra comma on tests for gteCustomIcon and FileSystemIconLoader 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
f9bcf65af7 test: add tests for gteCustomIcon and FileSystemIconLoader 2022-01-10 17:59:56 +02:00
Joaquín Sánchez Jiménez
5cb43cc2d2 chore: add transform callback on getCustomIcon 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
e74d0252b1 chore: update library-builder to work on windows os 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
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
de6941c069 Use TypeScript in Vue component demo 2022-01-03 18:58:27 +02:00
Vjacheslav Trushkin
297d6f6648 Fix types in React component, rebuild React demo with Vite and TS 2021-12-30 10:50:47 +02:00
Vjacheslav Trushkin
0d948e159e Update Vue 2 readme 2021-12-22 16:44:09 +02:00
Vjacheslav Trushkin
d498b0e1e9 Test @click event in Vue 3 component demo 2021-12-22 14:42:20 +02:00
Vjacheslav Trushkin
3b6b12288d Fix main exports in Iconify Utils 2021-11-25 10:50:09 +02:00
Vjacheslav Trushkin
63b571e7e7 Fix exports in Vue components 2021-11-18 09:51:44 +02:00
Wu Rui
485977e4d1
Fix @iconify/vue2 exports 2021-11-18 15:29:08 +08:00
Wu Rui
d84b823634
fix @iconify/vue exports 2021-11-18 15:28:34 +08:00
Vjacheslav Trushkin
4c9e723032 Add hidden property to IconifyInfo 2021-11-17 18:24:36 +02:00
Vjacheslav Trushkin
ef497e029f Add license files to packages that do not have them 2021-11-15 17:28:55 +02:00
Vjacheslav Trushkin
d661f6c8b4 Add main file to Utils 2021-11-13 21:25:38 +02:00
Vjacheslav Trushkin
935f097f51 Publish stable versions of all packages, update dependencies 2021-11-11 10:22:19 +02:00
Vjacheslav Trushkin
d1ebb2596f Use proper events in Svelte component 2021-11-10 13:18:35 +02:00
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