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

678 Commits

Author SHA1 Message Date
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
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
Vjacheslav Trushkin
a4422ec145 Restore Vue 2 component from archive and rename it 2021-05-06 18:22:48 +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
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
Vjacheslav Trushkin
a846dbcc8c Support storage for simple names without provider and prefix 2021-04-23 23:31:36 +03:00
Vjacheslav Trushkin
257d3d60f0 Rebuild React without API package 2021-04-23 18:06:49 +03:00
Vjacheslav Trushkin
6b49e93823 Do not attempt to require cross-fetch in core module 2021-04-23 15:59:26 +03:00
Vjacheslav Trushkin
5045d61a95 Move old React packages to archive 2021-04-23 15:51:09 +03:00
Vjacheslav Trushkin
49975f908d Render children nodes in React component when icon is missing 2021-04-23 15:09:42 +03:00
Vjacheslav Trushkin
b46ab0179f Clean up tests for React component 2021-04-23 12:35:03 +03:00
Vjacheslav Trushkin
e895bbc5df Update dependencies for React components and demo 2021-04-19 19:42:47 +03:00
Vjacheslav Trushkin
1ca3e70967 Update dependencies in core 2021-04-19 18:41:40 +03:00
Vjacheslav Trushkin
8510d68768 Add tests for title attribute for SVG framework 2021-04-19 18:41:06 +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
a461428d6a Add Next.js notice to React package readme 2021-02-12 09:17:03 +02:00
Vjacheslav Trushkin
f5597ca27a Update React components for React 17 2021-02-08 09:30:13 +02:00
Vjacheslav Trushkin
2dbc923a29 Use id property to generate reliable ids for shapes in React component 2021-02-06 11:22:51 +02:00
Vjacheslav Trushkin
9021dd57eb Use deterministic ids in react component 2021-02-04 09:45:43 +02:00
Vjacheslav Trushkin
f926986eb6 Clean up code for React with API for new React component compatibility 2021-01-27 11:45:03 +02:00
Vjacheslav Trushkin
6505545902 Pass reference to SVG in React component 2021-01-27 10:46:25 +02:00
Vjacheslav Trushkin
a2a597b6d2 Make SVG framework function (except for functions that require DOM) in Node.js instead of throwing errors 2021-01-12 14:04:19 +02:00
Vjacheslav Trushkin
4032ef32bc Update core, SVG framework and React components 2020-12-30 17:06:52 +02:00
Vjacheslav Trushkin
37a60f9ef9 Validate value types for alignment and flip in React component 2020-12-30 16:47:10 +02:00
Vjacheslav Trushkin
8903221391 Split type and value imports in core 2020-12-25 21:03:15 +02:00
Vjacheslav Trushkin
d9303423d1 Organize exported functions in reusable modules to make it easier to manage multiple implementations 2020-12-22 14:49:02 +02:00
Vjacheslav Trushkin
1e3ffd7984 Remove getIconName function, add optional validation to stringToIcon 2020-12-21 19:33:08 +02:00
Vjacheslav Trushkin
5f285fcf14 Split common storage functions into separate file with reusable interface 2020-12-21 17:15:45 +02:00
Vjacheslav Trushkin
79b4fa111a Clean up scripts in core 2020-12-21 11:55:16 +02:00
Vjacheslav Trushkin
30dfce2f6b Make React component work with Gatsby 2020-12-18 16:05:46 +02:00
Vjacheslav Trushkin
cf34330f6e Remove redundant dependencies 2020-12-16 12:04:56 +02:00
Vjacheslav Trushkin
0a10453ee9 Remove IE10 attributes from SVGs in components 2020-12-16 12:04:21 +02:00
Vjacheslav Trushkin
3e4e42a723 Clean up unit tests for browser 2020-12-16 11:48:50 +02:00
Vjacheslav Trushkin
6cb69b558d Remove IE10 and old Firefox hacks from SVG framework 2020-12-16 11:48:14 +02:00
Vjacheslav Trushkin
5532089ae9 Publish update for SVG framework 2020-12-15 15:27:55 +02:00
Vjacheslav Trushkin
91f85396fd Publish new packages, update dependencies 2020-12-15 14:46:34 +02:00
Vjacheslav Trushkin
d2dadd3b2e Update API redundancy, update some dependencies that were bugged with npm 7 2020-12-15 14:23:15 +02:00
Vjacheslav Trushkin
34dfc18cd1 Update dependencies 2020-12-13 12:19:19 +02:00
Vjacheslav Trushkin
1bcaaf2ce6 Update dependencies for all packages, use npm 7, archive axios module 2020-11-21 13:55:36 +02:00
Vjacheslav Trushkin
012942fed0 Consistent implementation of getIcon: fix return type in SVG framework, add function to React component 2020-11-21 13:00:15 +02:00
Vjacheslav Trushkin
a29b2bb493 Add new suffixes/prefixes format to types 2020-11-05 20:11:56 +02:00
Vjacheslav Trushkin
df883b6b84 Update package-lock.json for core package 2020-11-05 14:33:07 +02:00
Vjacheslav Trushkin
71fce683f6 Update dependencies for SVG framework, publish new version 2020-11-05 14:14:03 +02:00
Vjacheslav Trushkin
3fb54e8fbd Update dependencies for Svelte component, publish update 2020-11-05 14:11:04 +02:00
Vjacheslav Trushkin
deb0f6fca0 Update dependencies for React with API, publish update 2020-11-05 12:16:51 +02:00
Vjacheslav Trushkin
13466b4d44 Update dependencies for React component, publish update 2020-11-05 12:13:18 +02:00
Vjacheslav Trushkin
64baf2d3a0 Publish update for Vue 3 component 2020-11-05 12:05:32 +02:00
Vjacheslav Trushkin
de85b9f08a Publish update for core package 2020-11-05 11:44:58 +02:00
Vjacheslav Trushkin
cb4ae877e5 Update core dependencies, reverse temporary change in FullIconifyIcon type 2020-11-05 11:38:07 +02:00
Vjacheslav Trushkin
4ac1f0f199 Add TypeScript as dev dependency to types, move hidden field from icon object, so it affects only JSON structure 2020-11-05 11:35:41 +02:00
Vjacheslav Trushkin
5f9a03899c Add test script to types package 2020-11-05 11:19:22 +02:00
Vjacheslav Trushkin
618dba0c13 Add hidden field to IconifyOptional interface 2020-09-14 23:08:13 +03:00
Vjacheslav Trushkin
c6148060aa Publish updates for Vue 2, Vue 3 and React components with addCollection support. Update dependencies 2020-09-03 14:44:51 +03:00
Vjacheslav Trushkin
9e2e2d315e Refactor addCollection in core: move it to separate reusable function. Publish RC.1 2020-09-03 14:11:17 +03:00
Vjacheslav Trushkin
d5f199a42e Update icons count: reached 70k icons 2020-09-03 10:42:54 +03:00
Vjacheslav Trushkin
72dc86c2e3 Update dependencies 2020-09-03 10:36:15 +03:00
Vjacheslav Trushkin
9ee2bef8f8 Update dependencies in SVG framework and browser tests 2020-08-31 00:15:08 +03:00
Vjacheslav Trushkin
cedd6f0b51 Update dependencies for Vue 3 component 2020-08-26 20:01:02 +03:00
Vjacheslav Trushkin
24960081f6 Update dependencies for Svelte components and demo 2020-08-26 19:56:56 +03:00
Vjacheslav Trushkin
268e1ed95a Update dependencies for React components, publish new version of React with API 2020-08-26 19:43:59 +03:00
Vjacheslav Trushkin
eef499293b Publish SVG framework release candidate 1, update dependencies 2020-08-26 19:25:49 +03:00
Vjacheslav Trushkin
c9cfa55bb4 Update dependencies for core, remove debug code that was added by mistake, publish new version 2020-08-26 18:34:53 +03:00
Vjacheslav Trushkin
8731ac00c3 Update Vue readme files 2020-08-23 19:19:57 +03:00
Vjacheslav Trushkin
bc86c9e9af Vue 3 component, archive Vue 2 component, update dependencies in few packages 2020-08-23 19:01:32 +03:00
Vjacheslav Trushkin
94c62dd0dc Use ES icon components instead of CommonJS in Vue and Vue demo, update dependencies 2020-08-22 18:51:20 +03:00
Vjacheslav Trushkin
de3e0896bb Use ES icon components instead of CommonJS in React and React demo, update dependencies 2020-08-22 18:37:51 +03:00
Vjacheslav Trushkin
ac8eab9510 Use ES icon components instead of CommonJS in Svelte and Svelte / Sapper demo, update dependencies 2020-08-22 18:19:04 +03: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
664173e8a6 Update dependencies for Vue component, fix Vue unit tests 2020-08-19 13:24:54 +03:00
Vjacheslav Trushkin
b6b4a3b6f6 Update Vue unit tests: replace deprecated find() with findComponent() 2020-08-14 16:37:38 +03:00
Vjacheslav Trushkin
02b208f7c2 Update dependencies, publish updates for core, SVG framework and all components 2020-08-14 12:44:58 +03:00
Vjacheslav Trushkin
19312fe1dd Move listIcons to core, add unit tests 2020-08-14 12:01:47 +03:00
Vjacheslav Trushkin
84a73d0c22 Fix listIcons and add disableCache for React with API 2020-08-14 11:41:39 +03:00
Vjacheslav Trushkin
e00b7f1781 Update readme files for React and SVG framework 2020-08-13 23:23:01 +03:00
Vjacheslav Trushkin
0f3457b6ee Add disableStorage function to SVG framework 2020-08-12 21:21:20 +03:00
Vjacheslav Trushkin
2a1b3a2b8b Unit test to make sure scan is called immediately when observing custom node 2020-08-12 10:39:06 +03:00
Vjacheslav Trushkin
d31bd5fca4 Fix listIcons in SVG framework and update few comments 2020-08-11 23:28:50 +03:00
Vjacheslav Trushkin
85ae70961b Replace typeof with full type in SVG framework exports 2020-08-11 20:00:59 +03:00
Vjacheslav Trushkin
4bdbe0b98a Fix typo that prevented observer from working property in SVG framework beta 4, publish beta 5 2020-08-07 08:37:54 +03:00
Vjacheslav Trushkin
7645047431 Rebuild observer in SVG framework. Now it supports multiple root nodes 2020-08-04 18:30:24 +03:00
Vjacheslav Trushkin
0266760091 Update dependencies 2020-08-02 22:04:39 +03:00
Vjacheslav Trushkin
d1bd40bcb0 Change behavior of scanDOM in SVG framework when used with custom root node 2020-08-02 21:48:53 +03:00
Vjacheslav Trushkin
4207fd254a Test changing icon after rendering 2020-08-01 23:12:26 +03:00
Vjacheslav Trushkin
1bd1a48282 Do not pause observer when scanning custom root node 2020-08-01 11:17:03 +03:00
Vjacheslav Trushkin
b3dfcf0696 Add tests for scanDOM with custom root, without API 2020-08-01 11:12:55 +03:00
Vjacheslav Trushkin
9079c87e28 Do not scan DOM in SVG framework if DOM is not ready yet 2020-07-29 10:20:40 +03:00
Vjacheslav Trushkin
b927eecf88 Scan DOM on next tick in SVG framework instead of waiting for events 2020-07-23 19:19:37 +03:00
Vjacheslav Trushkin
0c08b40043 Add 'crop' to alignment keywords for backwards compatibility with Iconify 1 2020-07-07 10:00:29 +03:00
Vjacheslav Trushkin
cab8737d7b Publish Svelte component 1.0.0 2020-07-03 10:16:13 +03:00
Vjacheslav Trushkin
601378b107 Update dependencies in demo packages 2020-07-02 10:59:18 +03:00
Vjacheslav Trushkin
34cc23c827 Publish vue 1.0.2 with updated dependencies 2020-07-02 10:53:57 +03:00
Vjacheslav Trushkin
eff9eb672c Publish svelte 1.0.0-beta.4 with updated dependencies 2020-07-02 10:52:20 +03:00
Vjacheslav Trushkin
21fa13ae47 Publish react-with-api 1.0.0-beta.2 with updated dependencies 2020-07-02 10:50:57 +03:00
Vjacheslav Trushkin
40ff4ade51 Publish react 2.0.0-beta.2 with updated dependencies 2020-07-02 10:49:04 +03:00
Vjacheslav Trushkin
dd5e7060de Update dependencies for browser tests 2020-07-02 10:46:26 +03:00
Vjacheslav Trushkin
67f948d0a1 Publish iconify 2.0.0-beta.3 with updated dependencies 2020-07-02 10:42:44 +03:00
Vjacheslav Trushkin
41cffa2182 Publish core 1.0.0-beta.2 with updated dependencies 2020-07-02 10:39:37 +03:00
Vjacheslav Trushkin
68742d0793 Re-structure SVG framework 2020-07-01 23:29:43 +03:00
Vjacheslav Trushkin
782c8d3865 Move common types for SVG framework to reusable files 2020-07-01 19:01:07 +03:00
Vjacheslav Trushkin
b38eb3bc74 Add SVG framework bundle without API support 2020-07-01 16:13:34 +03:00
Vjacheslav Trushkin
a088b64b58 Fix tests for SVG framework 2020-06-12 00:46:47 +03:00
Vjacheslav Trushkin
a0aabb9b50 Use Fetch API when it is available, JSONP when not. Remove Axios from default builds 2020-06-11 23:39:32 +03:00
Vjacheslav Trushkin
1cdd82f981 Add React component with API support 2020-06-11 12:50:24 +03:00
Vjacheslav Trushkin
135bf723fb Move files to clean up directory structure in SVG framework 2020-06-11 00:13:50 +03:00
Vjacheslav Trushkin
49b9d09f6f Move API modules from iconify package to core package 2020-06-10 22:26:59 +03:00
Vjacheslav Trushkin
5ee1765529 Make API modules independent from core, expose functions to set custom API modules, update package depdendencies 2020-06-10 22:15:40 +03:00