@versini/ui-icon-picker 1.1.1 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/icon-IconAdd.js +9 -0
- package/dist/data/icon-IconAddLight.js +9 -0
- package/dist/data/icon-IconAnthropic.js +9 -0
- package/dist/data/icon-IconBack.js +9 -0
- package/dist/data/icon-IconBackLight.js +9 -0
- package/dist/data/icon-IconBookSparkles.js +9 -0
- package/dist/data/icon-IconBookSparklesLight.js +9 -0
- package/dist/data/icon-IconBookmark.js +9 -0
- package/dist/data/icon-IconBookmarkLight.js +9 -0
- package/dist/data/icon-IconBranch.js +9 -0
- package/dist/data/icon-IconBranchLight.js +9 -0
- package/dist/data/icon-IconBrightness.js +9 -0
- package/dist/data/icon-IconBrightnessLight.js +9 -0
- package/dist/data/icon-IconChart.js +9 -0
- package/dist/data/icon-IconChartLight.js +9 -0
- package/dist/data/icon-IconChecked.js +9 -0
- package/dist/data/icon-IconCheckedLight.js +9 -0
- package/dist/data/icon-IconClose.js +9 -0
- package/dist/data/icon-IconCloseLight.js +9 -0
- package/dist/data/icon-IconCopied.js +9 -0
- package/dist/data/icon-IconCopiedLight.js +9 -0
- package/dist/data/icon-IconCopy.js +9 -0
- package/dist/data/icon-IconCopyLight.js +9 -0
- package/dist/data/icon-IconDelete.js +9 -0
- package/dist/data/icon-IconDeleteLight.js +9 -0
- package/dist/data/icon-IconDog.js +9 -0
- package/dist/data/icon-IconDown.js +9 -0
- package/dist/data/icon-IconDownLight.js +9 -0
- package/dist/data/icon-IconDownload.js +9 -0
- package/dist/data/icon-IconDownloadLight.js +9 -0
- package/dist/data/icon-IconEdit.js +9 -0
- package/dist/data/icon-IconEditLight.js +9 -0
- package/dist/data/icon-IconEditUser.js +9 -0
- package/dist/data/icon-IconEditUserLight.js +9 -0
- package/dist/data/icon-IconFrenchFlag.js +9 -0
- package/dist/data/icon-IconGitHub.js +9 -0
- package/dist/data/icon-IconGoogleGemini.js +9 -0
- package/dist/data/icon-IconHide.js +9 -0
- package/dist/data/icon-IconHideLight.js +9 -0
- package/dist/data/icon-IconHistory.js +9 -0
- package/dist/data/icon-IconHistoryLight.js +9 -0
- package/dist/data/icon-IconInfo.js +9 -0
- package/dist/data/icon-IconInfoLight.js +9 -0
- package/dist/data/icon-IconKey.js +9 -0
- package/dist/data/icon-IconKeyLight.js +9 -0
- package/dist/data/icon-IconLightBulb.js +9 -0
- package/dist/data/icon-IconLightBulbLight.js +9 -0
- package/dist/data/icon-IconList.js +9 -0
- package/dist/data/icon-IconListLight.js +9 -0
- package/dist/data/icon-IconLocked.js +9 -0
- package/dist/data/icon-IconLockedLight.js +9 -0
- package/dist/data/icon-IconMagic.js +9 -0
- package/dist/data/icon-IconMagicLight.js +9 -0
- package/dist/data/icon-IconMessages.js +9 -0
- package/dist/data/icon-IconMessagesLight.js +9 -0
- package/dist/data/icon-IconNext.js +9 -0
- package/dist/data/icon-IconNextLight.js +9 -0
- package/dist/data/icon-IconOpenAI.js +9 -0
- package/dist/data/icon-IconPasskey.js +9 -0
- package/dist/data/icon-IconPenField.js +9 -0
- package/dist/data/icon-IconPenFieldLight.js +9 -0
- package/dist/data/icon-IconPencilMechanical.js +9 -0
- package/dist/data/icon-IconPencilMechanicalLight.js +9 -0
- package/dist/data/icon-IconPrevious.js +9 -0
- package/dist/data/icon-IconPreviousLight.js +9 -0
- package/dist/data/icon-IconProfile.js +9 -0
- package/dist/data/icon-IconProfileLight.js +9 -0
- package/dist/data/icon-IconProofread.js +9 -0
- package/dist/data/icon-IconProofreadLight.js +9 -0
- package/dist/data/icon-IconRefresh.js +9 -0
- package/dist/data/icon-IconRefreshLight.js +9 -0
- package/dist/data/icon-IconRestore.js +9 -0
- package/dist/data/icon-IconRestoreLight.js +9 -0
- package/dist/data/icon-IconRewrite.js +9 -0
- package/dist/data/icon-IconRewriteLight.js +9 -0
- package/dist/data/icon-IconRotateLeft.js +9 -0
- package/dist/data/icon-IconRotateLeftLight.js +9 -0
- package/dist/data/icon-IconSearch.js +9 -0
- package/dist/data/icon-IconSearchLight.js +9 -0
- package/dist/data/icon-IconSelected.js +9 -0
- package/dist/data/icon-IconSelectedLight.js +9 -0
- package/dist/data/icon-IconSend.js +9 -0
- package/dist/data/icon-IconSendLight.js +9 -0
- package/dist/data/icon-IconSettings.js +9 -0
- package/dist/data/icon-IconSettingsLight.js +9 -0
- package/dist/data/icon-IconShow.js +9 -0
- package/dist/data/icon-IconShowLight.js +9 -0
- package/dist/data/icon-IconSliders.js +9 -0
- package/dist/data/icon-IconSlidersLight.js +9 -0
- package/dist/data/icon-IconSort.js +9 -0
- package/dist/data/icon-IconSortDown.js +9 -0
- package/dist/data/icon-IconSortDownLight.js +9 -0
- package/dist/data/icon-IconSortLight.js +9 -0
- package/dist/data/icon-IconSortUp.js +9 -0
- package/dist/data/icon-IconSortUpLight.js +9 -0
- package/dist/data/icon-IconStarInCircle.js +9 -0
- package/dist/data/icon-IconStarInCircleLight.js +9 -0
- package/dist/data/icon-IconUnChecked.js +9 -0
- package/dist/data/icon-IconUnCheckedLight.js +9 -0
- package/dist/data/icon-IconUnSelected.js +9 -0
- package/dist/data/icon-IconUnSelectedLight.js +9 -0
- package/dist/data/icon-IconUnlocked.js +9 -0
- package/dist/data/icon-IconUnlockedLight.js +9 -0
- package/dist/data/icon-IconUp.js +9 -0
- package/dist/data/icon-IconUpLight.js +9 -0
- package/dist/data/icon-IconUpload.js +9 -0
- package/dist/data/icon-IconUploadLight.js +9 -0
- package/dist/data/icon-IconUser.js +9 -0
- package/dist/data/icon-IconUserLight.js +9 -0
- package/dist/data/icon-IconWebSearch.js +9 -0
- package/dist/data/icon-IconWebSearchLight.js +9 -0
- package/dist/index.js +11 -7
- package/package.json +5 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconPenFieldLight as default } from "@versini/ui-icons/icon-pen-field-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconPencilMechanical as default } from "@versini/ui-icons/icon-pencil-mechanical";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconPencilMechanicalLight as default } from "@versini/ui-icons/icon-pencil-mechanical-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconPreviousLight as default } from "@versini/ui-icons/icon-previous-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconProfileLight as default } from "@versini/ui-icons/icon-profile-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconProofread as default } from "@versini/ui-icons/icon-proofread";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconProofreadLight as default } from "@versini/ui-icons/icon-proofread-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconRefreshLight as default } from "@versini/ui-icons/icon-refresh-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconRestoreLight as default } from "@versini/ui-icons/icon-restore-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconRewriteLight as default } from "@versini/ui-icons/icon-rewrite-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconRotateLeft as default } from "@versini/ui-icons/icon-rotate-left";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconRotateLeftLight as default } from "@versini/ui-icons/icon-rotate-left-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSearchLight as default } from "@versini/ui-icons/icon-search-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSelectedLight as default } from "@versini/ui-icons/icon-selected-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSendLight as default } from "@versini/ui-icons/icon-send-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSettingsLight as default } from "@versini/ui-icons/icon-settings-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconShowLight as default } from "@versini/ui-icons/icon-show-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSlidersLight as default } from "@versini/ui-icons/icon-sliders-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSortDownLight as default } from "@versini/ui-icons/icon-sort-down-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSortLight as default } from "@versini/ui-icons/icon-sort-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconSortUpLight as default } from "@versini/ui-icons/icon-sort-up-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconStarInCircle as default } from "@versini/ui-icons/icon-star-in-circle";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconStarInCircleLight as default } from "@versini/ui-icons/icon-star-in-circle-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconUnChecked as default } from "@versini/ui-icons/icon-un-checked";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconUnCheckedLight as default } from "@versini/ui-icons/icon-un-checked-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconUnSelected as default } from "@versini/ui-icons/icon-un-selected";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconUnSelectedLight as default } from "@versini/ui-icons/icon-un-selected-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconUnlockedLight as default } from "@versini/ui-icons/icon-unlocked-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconUploadLight as default } from "@versini/ui-icons/icon-upload-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconUserLight as default } from "@versini/ui-icons/icon-user-light";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconWebSearch as default } from "@versini/ui-icons/icon-web-search";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* Please do not edit manually.
|
|
4
|
+
* Last update: 2026-03-17T15:18:44.544Z
|
|
5
|
+
*
|
|
6
|
+
* To update this file, run `npm run build:list`.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export { IconWebSearchLight as default } from "@versini/ui-icons/icon-web-search-light";
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-icon-picker v1.
|
|
2
|
+
@versini/ui-icon-picker v1.2.1
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -65,13 +65,17 @@ const IconRenderer = ({ icon, ...rest })=>{
|
|
|
65
65
|
const [IconComponent, setIconComponent] = useState(null);
|
|
66
66
|
useEffect(()=>{
|
|
67
67
|
setIconComponent(null);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
/* v8 ignore start -- dynamic template-literal imports are not instrumented by V8 */ (async ()=>{
|
|
69
|
+
try {
|
|
70
|
+
const mod = await import(`./data/icon-${icon}.js`);
|
|
71
|
+
if (mod && mod.default) {
|
|
72
|
+
setIconComponent(()=>mod.default);
|
|
73
|
+
}
|
|
74
|
+
} catch {
|
|
75
|
+
// Icon not found
|
|
72
76
|
}
|
|
73
|
-
});
|
|
74
|
-
}, [
|
|
77
|
+
})();
|
|
78
|
+
/* v8 ignore stop */ }, [
|
|
75
79
|
icon
|
|
76
80
|
]);
|
|
77
81
|
if (!IconComponent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-icon-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"build:check": "tsc",
|
|
23
23
|
"build:js": "rslib build",
|
|
24
24
|
"build:types": "echo 'Types now built with rslib'",
|
|
25
|
-
"build": "npm-run-all --serial clean build:check build:js",
|
|
25
|
+
"build": "npm-run-all --serial clean build:check build:js build:data",
|
|
26
|
+
"build:data": "cp -r src/components/IconPicker/data dist/data",
|
|
27
|
+
"build:list": "node scripts/generate-icon-data.js",
|
|
26
28
|
"clean": "rimraf dist tmp coverage",
|
|
27
29
|
"dev:js": "rslib build --watch",
|
|
28
30
|
"dev:types": "echo 'Types now watched with rslib'",
|
|
@@ -50,5 +52,5 @@
|
|
|
50
52
|
"sideEffects": [
|
|
51
53
|
"**/*.css"
|
|
52
54
|
],
|
|
53
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "a6a8e64c0474ab651d9e63c375c95efceec47995"
|
|
54
56
|
}
|