@versini/ui-icon-picker 1.1.1 → 2.0.0

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.
Files changed (121) hide show
  1. package/dist/511.js +9 -0
  2. package/dist/common/constants.d.ts +1 -0
  3. package/dist/components/IconPicker/IconPicker.d.ts +2 -0
  4. package/dist/{index.js → components/IconPicker/IconPicker.js} +3 -34
  5. package/dist/{index.d.ts → components/IconPicker/IconPickerTypes.d.ts} +32 -39
  6. package/dist/components/IconPicker/IconRenderer.d.ts +4 -0
  7. package/dist/components/IconPicker/IconRenderer.js +36 -0
  8. package/dist/components/IconPicker/data/icon-IconAdd.js +9 -0
  9. package/dist/components/IconPicker/data/icon-IconAddLight.js +9 -0
  10. package/dist/components/IconPicker/data/icon-IconAnthropic.js +9 -0
  11. package/dist/components/IconPicker/data/icon-IconBack.js +9 -0
  12. package/dist/components/IconPicker/data/icon-IconBackLight.js +9 -0
  13. package/dist/components/IconPicker/data/icon-IconBookSparkles.js +9 -0
  14. package/dist/components/IconPicker/data/icon-IconBookSparklesLight.js +9 -0
  15. package/dist/components/IconPicker/data/icon-IconBookmark.js +9 -0
  16. package/dist/components/IconPicker/data/icon-IconBookmarkLight.js +9 -0
  17. package/dist/components/IconPicker/data/icon-IconBranch.js +9 -0
  18. package/dist/components/IconPicker/data/icon-IconBranchLight.js +9 -0
  19. package/dist/components/IconPicker/data/icon-IconBrightness.js +9 -0
  20. package/dist/components/IconPicker/data/icon-IconBrightnessLight.js +9 -0
  21. package/dist/components/IconPicker/data/icon-IconChart.js +9 -0
  22. package/dist/components/IconPicker/data/icon-IconChartLight.js +9 -0
  23. package/dist/components/IconPicker/data/icon-IconChecked.js +9 -0
  24. package/dist/components/IconPicker/data/icon-IconCheckedLight.js +9 -0
  25. package/dist/components/IconPicker/data/icon-IconClose.js +9 -0
  26. package/dist/components/IconPicker/data/icon-IconCloseLight.js +9 -0
  27. package/dist/components/IconPicker/data/icon-IconCopied.js +9 -0
  28. package/dist/components/IconPicker/data/icon-IconCopiedLight.js +9 -0
  29. package/dist/components/IconPicker/data/icon-IconCopy.js +9 -0
  30. package/dist/components/IconPicker/data/icon-IconCopyLight.js +9 -0
  31. package/dist/components/IconPicker/data/icon-IconDelete.js +9 -0
  32. package/dist/components/IconPicker/data/icon-IconDeleteLight.js +9 -0
  33. package/dist/components/IconPicker/data/icon-IconDog.js +9 -0
  34. package/dist/components/IconPicker/data/icon-IconDown.js +9 -0
  35. package/dist/components/IconPicker/data/icon-IconDownLight.js +9 -0
  36. package/dist/components/IconPicker/data/icon-IconDownload.js +9 -0
  37. package/dist/components/IconPicker/data/icon-IconDownloadLight.js +9 -0
  38. package/dist/components/IconPicker/data/icon-IconEdit.js +9 -0
  39. package/dist/components/IconPicker/data/icon-IconEditLight.js +9 -0
  40. package/dist/components/IconPicker/data/icon-IconEditUser.js +9 -0
  41. package/dist/components/IconPicker/data/icon-IconEditUserLight.js +9 -0
  42. package/dist/components/IconPicker/data/icon-IconFrenchFlag.js +9 -0
  43. package/dist/components/IconPicker/data/icon-IconGitHub.js +9 -0
  44. package/dist/components/IconPicker/data/icon-IconGoogleGemini.js +9 -0
  45. package/dist/components/IconPicker/data/icon-IconHide.js +9 -0
  46. package/dist/components/IconPicker/data/icon-IconHideLight.js +9 -0
  47. package/dist/components/IconPicker/data/icon-IconHistory.js +9 -0
  48. package/dist/components/IconPicker/data/icon-IconHistoryLight.js +9 -0
  49. package/dist/components/IconPicker/data/icon-IconInfo.js +9 -0
  50. package/dist/components/IconPicker/data/icon-IconInfoLight.js +9 -0
  51. package/dist/components/IconPicker/data/icon-IconKey.js +9 -0
  52. package/dist/components/IconPicker/data/icon-IconKeyLight.js +9 -0
  53. package/dist/components/IconPicker/data/icon-IconLightBulb.js +9 -0
  54. package/dist/components/IconPicker/data/icon-IconLightBulbLight.js +9 -0
  55. package/dist/components/IconPicker/data/icon-IconList.js +9 -0
  56. package/dist/components/IconPicker/data/icon-IconListLight.js +9 -0
  57. package/dist/components/IconPicker/data/icon-IconLocked.js +9 -0
  58. package/dist/components/IconPicker/data/icon-IconLockedLight.js +9 -0
  59. package/dist/components/IconPicker/data/icon-IconMagic.js +9 -0
  60. package/dist/components/IconPicker/data/icon-IconMagicLight.js +9 -0
  61. package/dist/components/IconPicker/data/icon-IconMessages.js +9 -0
  62. package/dist/components/IconPicker/data/icon-IconMessagesLight.js +9 -0
  63. package/dist/components/IconPicker/data/icon-IconNext.js +9 -0
  64. package/dist/components/IconPicker/data/icon-IconNextLight.js +9 -0
  65. package/dist/components/IconPicker/data/icon-IconOpenAI.js +9 -0
  66. package/dist/components/IconPicker/data/icon-IconPasskey.js +9 -0
  67. package/dist/components/IconPicker/data/icon-IconPenField.js +9 -0
  68. package/dist/components/IconPicker/data/icon-IconPenFieldLight.js +9 -0
  69. package/dist/components/IconPicker/data/icon-IconPencilMechanical.js +9 -0
  70. package/dist/components/IconPicker/data/icon-IconPencilMechanicalLight.js +9 -0
  71. package/dist/components/IconPicker/data/icon-IconPrevious.js +9 -0
  72. package/dist/components/IconPicker/data/icon-IconPreviousLight.js +9 -0
  73. package/dist/components/IconPicker/data/icon-IconProfile.js +9 -0
  74. package/dist/components/IconPicker/data/icon-IconProfileLight.js +9 -0
  75. package/dist/components/IconPicker/data/icon-IconProofread.js +9 -0
  76. package/dist/components/IconPicker/data/icon-IconProofreadLight.js +9 -0
  77. package/dist/components/IconPicker/data/icon-IconRefresh.js +9 -0
  78. package/dist/components/IconPicker/data/icon-IconRefreshLight.js +9 -0
  79. package/dist/components/IconPicker/data/icon-IconRestore.js +9 -0
  80. package/dist/components/IconPicker/data/icon-IconRestoreLight.js +9 -0
  81. package/dist/components/IconPicker/data/icon-IconRewrite.js +9 -0
  82. package/dist/components/IconPicker/data/icon-IconRewriteLight.js +9 -0
  83. package/dist/components/IconPicker/data/icon-IconRotateLeft.js +9 -0
  84. package/dist/components/IconPicker/data/icon-IconRotateLeftLight.js +9 -0
  85. package/dist/components/IconPicker/data/icon-IconSearch.js +9 -0
  86. package/dist/components/IconPicker/data/icon-IconSearchLight.js +9 -0
  87. package/dist/components/IconPicker/data/icon-IconSelected.js +9 -0
  88. package/dist/components/IconPicker/data/icon-IconSelectedLight.js +9 -0
  89. package/dist/components/IconPicker/data/icon-IconSend.js +9 -0
  90. package/dist/components/IconPicker/data/icon-IconSendLight.js +9 -0
  91. package/dist/components/IconPicker/data/icon-IconSettings.js +9 -0
  92. package/dist/components/IconPicker/data/icon-IconSettingsLight.js +9 -0
  93. package/dist/components/IconPicker/data/icon-IconShow.js +9 -0
  94. package/dist/components/IconPicker/data/icon-IconShowLight.js +9 -0
  95. package/dist/components/IconPicker/data/icon-IconSliders.js +9 -0
  96. package/dist/components/IconPicker/data/icon-IconSlidersLight.js +9 -0
  97. package/dist/components/IconPicker/data/icon-IconSort.js +9 -0
  98. package/dist/components/IconPicker/data/icon-IconSortDown.js +9 -0
  99. package/dist/components/IconPicker/data/icon-IconSortDownLight.js +9 -0
  100. package/dist/components/IconPicker/data/icon-IconSortLight.js +9 -0
  101. package/dist/components/IconPicker/data/icon-IconSortUp.js +9 -0
  102. package/dist/components/IconPicker/data/icon-IconSortUpLight.js +9 -0
  103. package/dist/components/IconPicker/data/icon-IconStarInCircle.js +9 -0
  104. package/dist/components/IconPicker/data/icon-IconStarInCircleLight.js +9 -0
  105. package/dist/components/IconPicker/data/icon-IconUnChecked.js +9 -0
  106. package/dist/components/IconPicker/data/icon-IconUnCheckedLight.js +9 -0
  107. package/dist/components/IconPicker/data/icon-IconUnSelected.js +9 -0
  108. package/dist/components/IconPicker/data/icon-IconUnSelectedLight.js +9 -0
  109. package/dist/components/IconPicker/data/icon-IconUnlocked.js +9 -0
  110. package/dist/components/IconPicker/data/icon-IconUnlockedLight.js +9 -0
  111. package/dist/components/IconPicker/data/icon-IconUp.js +9 -0
  112. package/dist/components/IconPicker/data/icon-IconUpLight.js +9 -0
  113. package/dist/components/IconPicker/data/icon-IconUpload.js +9 -0
  114. package/dist/components/IconPicker/data/icon-IconUploadLight.js +9 -0
  115. package/dist/components/IconPicker/data/icon-IconUser.js +9 -0
  116. package/dist/components/IconPicker/data/icon-IconUserLight.js +9 -0
  117. package/dist/components/IconPicker/data/icon-IconWebSearch.js +9 -0
  118. package/dist/components/IconPicker/data/icon-IconWebSearchLight.js +9 -0
  119. package/dist/components/IconPicker/useIconPicker.d.ts +8 -0
  120. package/dist/components/index.d.ts +3 -0
  121. package/package.json +15 -5
@@ -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 { IconUnlocked as default } from "@versini/ui-icons/icon-unlocked";
@@ -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 { IconUp as default } from "@versini/ui-icons/icon-up";
@@ -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 { IconUpLight as default } from "@versini/ui-icons/icon-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 { IconUpload as default } from "@versini/ui-icons/icon-upload";
@@ -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 { IconUser as default } from "@versini/ui-icons/icon-user";
@@ -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";
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { Icons } from "./IconPickerTypes";
3
+ export declare const useIconPicker: () => {
4
+ search: string;
5
+ setSearch: React.Dispatch<React.SetStateAction<string>>;
6
+ icons: Icons[];
7
+ loading: boolean;
8
+ };
@@ -0,0 +1,3 @@
1
+ export * from "../common/constants";
2
+ export * from "./IconPicker/IconPicker";
3
+ export * from "./IconPicker/IconRenderer";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-icon-picker",
3
- "version": "1.1.1",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -12,8 +12,16 @@
12
12
  "url": "git@github.com:aversini/ui-components.git"
13
13
  },
14
14
  "type": "module",
15
- "main": "dist/index.js",
16
- "types": "dist/index.d.ts",
15
+ "exports": {
16
+ "./icon-picker": {
17
+ "types": "./dist/components/IconPicker/IconPicker.d.ts",
18
+ "import": "./dist/components/IconPicker/IconPicker.js"
19
+ },
20
+ "./icon-renderer": {
21
+ "types": "./dist/components/IconPicker/IconRenderer.d.ts",
22
+ "import": "./dist/components/IconPicker/IconRenderer.js"
23
+ }
24
+ },
17
25
  "files": [
18
26
  "dist",
19
27
  "README.md"
@@ -22,7 +30,9 @@
22
30
  "build:check": "tsc",
23
31
  "build:js": "rslib build",
24
32
  "build:types": "echo 'Types now built with rslib'",
25
- "build": "npm-run-all --serial clean build:check build:js",
33
+ "build": "npm-run-all --serial clean build:check build:js build:data",
34
+ "build:data": "cp -r src/components/IconPicker/data dist/components/IconPicker/data",
35
+ "build:list": "node scripts/generate-icon-data.js",
26
36
  "clean": "rimraf dist tmp coverage",
27
37
  "dev:js": "rslib build --watch",
28
38
  "dev:types": "echo 'Types now watched with rslib'",
@@ -50,5 +60,5 @@
50
60
  "sideEffects": [
51
61
  "**/*.css"
52
62
  ],
53
- "gitHead": "2b4b581f8eb4e12cf4a2d6e0c40583f0f86d3b4c"
63
+ "gitHead": "7f6eab72a0bd22defe4bb042cc240d60cfcdf98c"
54
64
  }