@indxsearch/pixl 1.0.0 → 1.0.3
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/README.md +1 -1
- package/components/main-icons/AlignCenterIcon.tsx +4 -4
- package/components/main-icons/AlignJustifyIcon.tsx +4 -4
- package/components/main-icons/AlignLeftIcon.tsx +4 -4
- package/components/main-icons/AlignRightIcon.tsx +4 -4
- package/components/main-icons/AnalyticsIcon.tsx +2 -2
- package/components/main-icons/AnchorIcon.tsx +2 -2
- package/components/main-icons/BarCodeIcon.tsx +19 -19
- package/components/main-icons/BatteryIcon.tsx +7 -7
- package/components/main-icons/BellIcon.tsx +14 -14
- package/components/main-icons/BookIcon.tsx +19 -19
- package/components/main-icons/BoostIcon.tsx +13 -13
- package/components/main-icons/CardIcon.tsx +31 -31
- package/components/main-icons/CheckIcon.tsx +2 -2
- package/components/main-icons/CircleIcon.tsx +13 -13
- package/components/main-icons/ClockIcon.tsx +2 -2
- package/components/main-icons/CloudIcon.tsx +2 -2
- package/components/main-icons/CodeIcon.tsx +11 -11
- package/components/main-icons/CoffeeIcon.tsx +9 -9
- package/components/main-icons/CoinsIcon.tsx +13 -13
- package/components/main-icons/CommentIcon.tsx +2 -2
- package/components/main-icons/ComponentIcon.tsx +10 -10
- package/components/main-icons/ComposeIcon.tsx +2 -2
- package/components/main-icons/CopyIcon.tsx +2 -2
- package/components/main-icons/CoreIcon.tsx +16 -16
- package/components/main-icons/CoverageIcon.tsx +21 -21
- package/components/main-icons/CoverageIndexIcon.tsx +10 -10
- package/components/main-icons/CpuIcon.tsx +2 -2
- package/components/main-icons/CropIcon.tsx +2 -2
- package/components/main-icons/CrystalBallIcon.tsx +21 -21
- package/components/main-icons/CsharpIcon.tsx +17 -17
- package/components/main-icons/DeleteIcon.tsx +9 -9
- package/components/main-icons/DiscoveryIcon.tsx +2 -2
- package/components/main-icons/DivingMaskIcon.tsx +18 -18
- package/components/main-icons/DocumentFieldsIcon.tsx +21 -21
- package/components/main-icons/DocumentOrFileIcon.tsx +2 -2
- package/components/main-icons/DownloadIcon.tsx +9 -9
- package/components/main-icons/DropEmptyIcon.tsx +18 -18
- package/components/main-icons/DropFullIcon.tsx +25 -25
- package/components/main-icons/DropHalfIcon.tsx +21 -21
- package/components/main-icons/DuplicateIcon.tsx +2 -2
- package/components/main-icons/DynamicJsonFieldIcon.tsx +15 -15
- package/components/main-icons/ECommerceIcon.tsx +2 -2
- package/components/main-icons/EmptyIcon.tsx +2 -2
- package/components/main-icons/EqualIcon.tsx +7 -7
- package/components/main-icons/EyeIcon.tsx +9 -9
- package/components/main-icons/FastBackwardIcon.tsx +19 -19
- package/components/main-icons/FastForwardIcon.tsx +19 -19
- package/components/main-icons/FieldIcon.tsx +8 -8
- package/components/main-icons/FieldsIcon.tsx +2 -2
- package/components/main-icons/FilterAltIcon.tsx +15 -15
- package/components/main-icons/FilterIcon.tsx +2 -2
- package/components/main-icons/FlagIcon.tsx +17 -17
- package/components/main-icons/FlowerIcon.tsx +2 -2
- package/components/main-icons/FolderIcon.tsx +2 -2
- package/components/main-icons/FourLeafCloverIcon.tsx +14 -14
- package/components/main-icons/FrostIcon.tsx +15 -15
- package/components/main-icons/GPSMyLocationIcon.tsx +13 -13
- package/components/main-icons/GPSPinIcon.tsx +11 -11
- package/components/main-icons/GitBranchIcon.tsx +9 -9
- package/components/main-icons/GitCommitIcon.tsx +2 -2
- package/components/main-icons/GitMergeIcon.tsx +9 -9
- package/components/main-icons/GitPullRequestIcon.tsx +9 -9
- package/components/main-icons/GlassIcon.tsx +13 -13
- package/components/main-icons/GlassesIcon.tsx +2 -2
- package/components/main-icons/GraphIcon.tsx +8 -8
- package/components/main-icons/GreaterIcon.tsx +6 -6
- package/components/main-icons/GreaterOrEqualIcon.tsx +12 -12
- package/components/main-icons/HeadphonesIcon.tsx +2 -2
- package/components/main-icons/HeartIcon.tsx +2 -2
- package/components/main-icons/HomeIcon.tsx +2 -2
- package/components/main-icons/HourGlassIcon.tsx +2 -2
- package/components/main-icons/IndxIcon.tsx +2 -2
- package/components/main-icons/InstanceIcon.tsx +9 -9
- package/components/main-icons/InternetBrowserIcon.tsx +9 -9
- package/components/main-icons/JsonIcon.tsx +23 -23
- package/components/main-icons/JsonQueryIcon.tsx +17 -17
- package/components/main-icons/JsonResultIcon.tsx +17 -17
- package/components/main-icons/KeyIcon.tsx +2 -2
- package/components/main-icons/LabExperimentIcon.tsx +18 -18
- package/components/main-icons/LayoutAlignBottomIcon.tsx +10 -10
- package/components/main-icons/LayoutAlignLeftIcon.tsx +10 -10
- package/components/main-icons/LayoutAlignRightIcon.tsx +10 -10
- package/components/main-icons/LayoutAlignTopIcon.tsx +10 -10
- package/components/main-icons/LightBulbIcon.tsx +2 -2
- package/components/main-icons/LinearIcon.tsx +16 -16
- package/components/main-icons/LinkIcon.tsx +2 -2
- package/components/main-icons/ListIcon.tsx +19 -19
- package/components/main-icons/LockIcon.tsx +2 -2
- package/components/main-icons/LoginIcon.tsx +9 -9
- package/components/main-icons/LogoutIcon.tsx +9 -9
- package/components/main-icons/LoopIcon.tsx +9 -9
- package/components/main-icons/MailIcon.tsx +33 -33
- package/components/main-icons/MaximizeIcon.tsx +2 -2
- package/components/main-icons/MenuIcon.tsx +3 -3
- package/components/main-icons/MicrophoneIcon.tsx +9 -9
- package/components/main-icons/MinimizeIcon.tsx +2 -2
- package/components/main-icons/MinusIcon.tsx +6 -6
- package/components/main-icons/MoneyIcon.tsx +24 -24
- package/components/main-icons/NestedObjectIcon.tsx +16 -16
- package/components/main-icons/NextIcon.tsx +15 -15
- package/components/main-icons/NodesIcon.tsx +18 -18
- package/components/main-icons/NugetIcon.tsx +19 -19
- package/components/main-icons/OptionsMenuIcon.tsx +4 -4
- package/components/main-icons/PanelAddIcon.tsx +19 -19
- package/components/main-icons/PanelDeleteIcon.tsx +9 -9
- package/components/main-icons/PatternRecognitionIcon.tsx +11 -11
- package/components/main-icons/PauseIcon.tsx +11 -11
- package/components/main-icons/PcIcon.tsx +15 -15
- package/components/main-icons/PercentIcon.tsx +14 -14
- package/components/main-icons/PersonaliseIcon.tsx +2 -2
- package/components/main-icons/PlayIcon.tsx +10 -10
- package/components/main-icons/PlusIcon.tsx +17 -17
- package/components/main-icons/PointLeftIcon.tsx +9 -9
- package/components/main-icons/PointRightIcon.tsx +9 -9
- package/components/main-icons/PointUpIcon.tsx +2 -2
- package/components/main-icons/PowerIcon.tsx +18 -18
- package/components/main-icons/PrevIcon.tsx +15 -15
- package/components/main-icons/PuzzlePieceIcon.tsx +8 -8
- package/components/main-icons/RSSFeedIcon.tsx +13 -13
- package/components/main-icons/RamIcon.tsx +20 -20
- package/components/main-icons/RecorderIcon.tsx +9 -9
- package/components/main-icons/RefreshIcon.tsx +16 -16
- package/components/main-icons/SaveIcon.tsx +21 -21
- package/components/main-icons/SearchIcon.tsx +2 -2
- package/components/main-icons/SearchQueryIcon.tsx +14 -14
- package/components/main-icons/ShieldIcon.tsx +13 -13
- package/components/main-icons/SlidersHorizontalIcon.tsx +9 -9
- package/components/main-icons/SlidersVerticalIcon.tsx +9 -9
- package/components/main-icons/SmallerIcon.tsx +6 -6
- package/components/main-icons/SmallerOrEqualIcon.tsx +12 -12
- package/components/main-icons/SortAscendingIcon.tsx +14 -14
- package/components/main-icons/SortDescendingIcon.tsx +14 -14
- package/components/main-icons/SparkIcon.tsx +18 -18
- package/components/main-icons/SpecialCharactersIcon.tsx +17 -17
- package/components/main-icons/SpectrumFlatIcon.tsx +2 -2
- package/components/main-icons/SpectrumIcon.tsx +2 -2
- package/components/main-icons/SpeedometerIcon.tsx +21 -21
- package/components/main-icons/StatusIcon.tsx +22 -22
- package/components/main-icons/SupportIcon.tsx +24 -24
- package/components/main-icons/TagIcon.tsx +16 -16
- package/components/main-icons/TerminalIcon.tsx +9 -9
- package/components/main-icons/ThumbsUpIcon.tsx +16 -16
- package/components/main-icons/ToolBoxIcon.tsx +31 -31
- package/components/main-icons/TypingIcon.tsx +2 -2
- package/components/main-icons/TypoOrBugIcon.tsx +2 -2
- package/components/main-icons/UpdateIcon.tsx +19 -19
- package/components/main-icons/UserAliasIcon.tsx +13 -13
- package/components/main-icons/UserBookmarkIcon.tsx +24 -24
- package/components/main-icons/UserCheckIcon.tsx +9 -9
- package/components/main-icons/UserGroupIcon.tsx +10 -10
- package/components/main-icons/UserIcon.tsx +9 -9
- package/components/main-icons/UserIdIcon.tsx +21 -21
- package/components/main-icons/UserMinusIcon.tsx +9 -9
- package/components/main-icons/UserPlusIcon.tsx +9 -9
- package/components/main-icons/UserPrivacyIcon.tsx +21 -21
- package/components/main-icons/UserTextIcon.tsx +23 -23
- package/components/main-icons/UserXIcon.tsx +9 -9
- package/components/main-icons/UsersIcon.tsx +2 -2
- package/components/main-icons/VirtualRealityVrHeadsetIcon.tsx +17 -17
- package/components/main-icons/VolumeHighIcon.tsx +25 -25
- package/components/main-icons/VolumeLowIcon.tsx +11 -11
- package/components/main-icons/VolumeMediumIcon.tsx +21 -21
- package/components/main-icons/VolumeMuteIcon.tsx +22 -22
- package/components/main-icons/WarningIcon.tsx +21 -21
- package/components/main-icons/WeightHighIcon.tsx +10 -10
- package/components/main-icons/WeightIcon.tsx +25 -25
- package/components/main-icons/WeightLowIcon.tsx +6 -6
- package/components/main-icons/WeightMediumIcon.tsx +8 -8
- package/components/main-icons/WiFiIcon.tsx +9 -9
- package/components/main-icons/XOrErrorIcon.tsx +2 -2
- package/components/main-icons/ZapIcon.tsx +12 -12
- package/components/main-icons/index.ts +171 -6
- package/dist/components/main-icons/AlignCenterIcon.js +1 -1
- package/dist/components/main-icons/AlignJustifyIcon.js +1 -1
- package/dist/components/main-icons/AlignLeftIcon.js +1 -1
- package/dist/components/main-icons/AlignRightIcon.js +1 -1
- package/dist/components/main-icons/AnalyticsIcon.js +1 -1
- package/dist/components/main-icons/AnchorIcon.js +1 -1
- package/dist/components/main-icons/BarCodeIcon.js +1 -1
- package/dist/components/main-icons/BatteryIcon.js +1 -1
- package/dist/components/main-icons/BellIcon.js +1 -1
- package/dist/components/main-icons/BookIcon.js +1 -1
- package/dist/components/main-icons/BoostIcon.js +1 -1
- package/dist/components/main-icons/CardIcon.js +1 -1
- package/dist/components/main-icons/CheckIcon.js +1 -1
- package/dist/components/main-icons/CircleIcon.js +1 -1
- package/dist/components/main-icons/ClockIcon.js +1 -1
- package/dist/components/main-icons/CloudIcon.js +1 -1
- package/dist/components/main-icons/CodeIcon.js +1 -1
- package/dist/components/main-icons/CoffeeIcon.js +1 -1
- package/dist/components/main-icons/CoinsIcon.js +1 -1
- package/dist/components/main-icons/CommentIcon.js +1 -1
- package/dist/components/main-icons/ComponentIcon.js +1 -1
- package/dist/components/main-icons/ComposeIcon.js +1 -1
- package/dist/components/main-icons/CopyIcon.js +1 -1
- package/dist/components/main-icons/CoreIcon.js +1 -1
- package/dist/components/main-icons/CoverageIcon.js +1 -1
- package/dist/components/main-icons/CoverageIndexIcon.js +1 -1
- package/dist/components/main-icons/CpuIcon.js +1 -1
- package/dist/components/main-icons/CropIcon.js +1 -1
- package/dist/components/main-icons/CrystalBallIcon.js +1 -1
- package/dist/components/main-icons/CsharpIcon.js +1 -1
- package/dist/components/main-icons/DeleteIcon.js +1 -1
- package/dist/components/main-icons/DiscoveryIcon.js +1 -1
- package/dist/components/main-icons/DivingMaskIcon.js +1 -1
- package/dist/components/main-icons/DocumentFieldsIcon.js +1 -1
- package/dist/components/main-icons/DocumentOrFileIcon.js +1 -1
- package/dist/components/main-icons/DownloadIcon.js +1 -1
- package/dist/components/main-icons/DropEmptyIcon.js +1 -1
- package/dist/components/main-icons/DropFullIcon.js +1 -1
- package/dist/components/main-icons/DropHalfIcon.js +1 -1
- package/dist/components/main-icons/DuplicateIcon.js +1 -1
- package/dist/components/main-icons/DynamicJsonFieldIcon.js +1 -1
- package/dist/components/main-icons/ECommerceIcon.js +1 -1
- package/dist/components/main-icons/EmptyIcon.js +1 -1
- package/dist/components/main-icons/EqualIcon.js +1 -1
- package/dist/components/main-icons/EyeIcon.js +1 -1
- package/dist/components/main-icons/FastBackwardIcon.js +1 -1
- package/dist/components/main-icons/FastForwardIcon.js +1 -1
- package/dist/components/main-icons/FieldIcon.js +1 -1
- package/dist/components/main-icons/FieldsIcon.js +1 -1
- package/dist/components/main-icons/FilterAltIcon.js +1 -1
- package/dist/components/main-icons/FilterIcon.js +1 -1
- package/dist/components/main-icons/FlagIcon.js +1 -1
- package/dist/components/main-icons/FlowerIcon.js +1 -1
- package/dist/components/main-icons/FolderIcon.js +1 -1
- package/dist/components/main-icons/FourLeafCloverIcon.js +1 -1
- package/dist/components/main-icons/FrostIcon.js +1 -1
- package/dist/components/main-icons/GPSMyLocationIcon.js +1 -1
- package/dist/components/main-icons/GPSPinIcon.js +1 -1
- package/dist/components/main-icons/GitBranchIcon.js +1 -1
- package/dist/components/main-icons/GitCommitIcon.js +1 -1
- package/dist/components/main-icons/GitMergeIcon.js +1 -1
- package/dist/components/main-icons/GitPullRequestIcon.js +1 -1
- package/dist/components/main-icons/GlassIcon.js +1 -1
- package/dist/components/main-icons/GlassesIcon.js +1 -1
- package/dist/components/main-icons/GraphIcon.js +1 -1
- package/dist/components/main-icons/GreaterIcon.js +1 -1
- package/dist/components/main-icons/GreaterOrEqualIcon.js +1 -1
- package/dist/components/main-icons/HeadphonesIcon.js +1 -1
- package/dist/components/main-icons/HeartIcon.js +1 -1
- package/dist/components/main-icons/HomeIcon.js +1 -1
- package/dist/components/main-icons/HourGlassIcon.js +1 -1
- package/dist/components/main-icons/IndxIcon.js +1 -1
- package/dist/components/main-icons/InstanceIcon.js +1 -1
- package/dist/components/main-icons/InternetBrowserIcon.js +1 -1
- package/dist/components/main-icons/JsonIcon.js +1 -1
- package/dist/components/main-icons/JsonQueryIcon.js +1 -1
- package/dist/components/main-icons/JsonResultIcon.js +1 -1
- package/dist/components/main-icons/KeyIcon.js +1 -1
- package/dist/components/main-icons/LabExperimentIcon.js +1 -1
- package/dist/components/main-icons/LayoutAlignBottomIcon.js +1 -1
- package/dist/components/main-icons/LayoutAlignLeftIcon.js +1 -1
- package/dist/components/main-icons/LayoutAlignRightIcon.js +1 -1
- package/dist/components/main-icons/LayoutAlignTopIcon.js +1 -1
- package/dist/components/main-icons/LightBulbIcon.js +1 -1
- package/dist/components/main-icons/LinearIcon.js +1 -1
- package/dist/components/main-icons/LinkIcon.js +1 -1
- package/dist/components/main-icons/ListIcon.js +1 -1
- package/dist/components/main-icons/LockIcon.js +1 -1
- package/dist/components/main-icons/LoginIcon.js +1 -1
- package/dist/components/main-icons/LogoutIcon.js +1 -1
- package/dist/components/main-icons/LoopIcon.js +1 -1
- package/dist/components/main-icons/MailIcon.js +1 -1
- package/dist/components/main-icons/MaximizeIcon.js +1 -1
- package/dist/components/main-icons/MenuIcon.js +1 -1
- package/dist/components/main-icons/MicrophoneIcon.js +1 -1
- package/dist/components/main-icons/MinimizeIcon.js +1 -1
- package/dist/components/main-icons/MinusIcon.js +1 -1
- package/dist/components/main-icons/MoneyIcon.js +1 -1
- package/dist/components/main-icons/NestedObjectIcon.js +1 -1
- package/dist/components/main-icons/NextIcon.js +1 -1
- package/dist/components/main-icons/NodesIcon.js +1 -1
- package/dist/components/main-icons/NugetIcon.js +1 -1
- package/dist/components/main-icons/OptionsMenuIcon.js +1 -1
- package/dist/components/main-icons/PanelAddIcon.js +1 -1
- package/dist/components/main-icons/PanelDeleteIcon.js +1 -1
- package/dist/components/main-icons/PatternRecognitionIcon.js +1 -1
- package/dist/components/main-icons/PauseIcon.js +1 -1
- package/dist/components/main-icons/PcIcon.js +1 -1
- package/dist/components/main-icons/PercentIcon.js +1 -1
- package/dist/components/main-icons/PersonaliseIcon.js +1 -1
- package/dist/components/main-icons/PlayIcon.js +1 -1
- package/dist/components/main-icons/PlusIcon.js +1 -1
- package/dist/components/main-icons/PointLeftIcon.js +1 -1
- package/dist/components/main-icons/PointRightIcon.js +1 -1
- package/dist/components/main-icons/PointUpIcon.js +1 -1
- package/dist/components/main-icons/PowerIcon.js +1 -1
- package/dist/components/main-icons/PrevIcon.js +1 -1
- package/dist/components/main-icons/PuzzlePieceIcon.js +1 -1
- package/dist/components/main-icons/RSSFeedIcon.js +1 -1
- package/dist/components/main-icons/RamIcon.js +1 -1
- package/dist/components/main-icons/RecorderIcon.js +1 -1
- package/dist/components/main-icons/RefreshIcon.js +1 -1
- package/dist/components/main-icons/SaveIcon.js +1 -1
- package/dist/components/main-icons/SearchIcon.js +1 -1
- package/dist/components/main-icons/SearchQueryIcon.js +1 -1
- package/dist/components/main-icons/ShieldIcon.js +1 -1
- package/dist/components/main-icons/SlidersHorizontalIcon.js +1 -1
- package/dist/components/main-icons/SlidersVerticalIcon.js +1 -1
- package/dist/components/main-icons/SmallerIcon.js +1 -1
- package/dist/components/main-icons/SmallerOrEqualIcon.js +1 -1
- package/dist/components/main-icons/SortAscendingIcon.js +1 -1
- package/dist/components/main-icons/SortDescendingIcon.js +1 -1
- package/dist/components/main-icons/SparkIcon.js +1 -1
- package/dist/components/main-icons/SpecialCharactersIcon.js +1 -1
- package/dist/components/main-icons/SpectrumFlatIcon.js +1 -1
- package/dist/components/main-icons/SpectrumIcon.js +1 -1
- package/dist/components/main-icons/SpeedometerIcon.js +1 -1
- package/dist/components/main-icons/StatusIcon.js +1 -1
- package/dist/components/main-icons/SupportIcon.js +1 -1
- package/dist/components/main-icons/TagIcon.js +1 -1
- package/dist/components/main-icons/TerminalIcon.js +1 -1
- package/dist/components/main-icons/ThumbsUpIcon.js +1 -1
- package/dist/components/main-icons/ToolBoxIcon.js +1 -1
- package/dist/components/main-icons/TypingIcon.js +1 -1
- package/dist/components/main-icons/TypoOrBugIcon.js +1 -1
- package/dist/components/main-icons/UpdateIcon.js +1 -1
- package/dist/components/main-icons/UserAliasIcon.js +1 -1
- package/dist/components/main-icons/UserBookmarkIcon.js +1 -1
- package/dist/components/main-icons/UserCheckIcon.js +1 -1
- package/dist/components/main-icons/UserGroupIcon.js +1 -1
- package/dist/components/main-icons/UserIcon.js +1 -1
- package/dist/components/main-icons/UserIdIcon.js +1 -1
- package/dist/components/main-icons/UserMinusIcon.js +1 -1
- package/dist/components/main-icons/UserPlusIcon.js +1 -1
- package/dist/components/main-icons/UserPrivacyIcon.js +1 -1
- package/dist/components/main-icons/UserTextIcon.js +1 -1
- package/dist/components/main-icons/UserXIcon.js +1 -1
- package/dist/components/main-icons/UsersIcon.js +1 -1
- package/dist/components/main-icons/VirtualRealityVrHeadsetIcon.js +1 -1
- package/dist/components/main-icons/VolumeHighIcon.js +1 -1
- package/dist/components/main-icons/VolumeLowIcon.js +1 -1
- package/dist/components/main-icons/VolumeMediumIcon.js +1 -1
- package/dist/components/main-icons/VolumeMuteIcon.js +1 -1
- package/dist/components/main-icons/WarningIcon.js +1 -1
- package/dist/components/main-icons/WeightHighIcon.js +1 -1
- package/dist/components/main-icons/WeightIcon.js +1 -1
- package/dist/components/main-icons/WeightLowIcon.js +1 -1
- package/dist/components/main-icons/WeightMediumIcon.js +1 -1
- package/dist/components/main-icons/WiFiIcon.js +1 -1
- package/dist/components/main-icons/XOrErrorIcon.js +1 -1
- package/dist/components/main-icons/ZapIcon.js +1 -1
- package/dist/components/main-icons/index.d.ts +171 -6
- package/dist/components/main-icons/index.js +171 -6
- package/dist/convert-icons.js +44 -21
- package/package.json +13 -1
|
@@ -1,6 +1,171 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
1
|
+
export { default as AlignCenterIcon } from './AlignCenterIcon';
|
|
2
|
+
export { default as AlignJustifyIcon } from './AlignJustifyIcon';
|
|
3
|
+
export { default as AlignLeftIcon } from './AlignLeftIcon';
|
|
4
|
+
export { default as AlignRightIcon } from './AlignRightIcon';
|
|
5
|
+
export { default as AnalyticsIcon } from './AnalyticsIcon';
|
|
6
|
+
export { default as AnchorIcon } from './AnchorIcon';
|
|
7
|
+
export { default as BarCodeIcon } from './BarCodeIcon';
|
|
8
|
+
export { default as BatteryIcon } from './BatteryIcon';
|
|
9
|
+
export { default as BellIcon } from './BellIcon';
|
|
10
|
+
export { default as BookIcon } from './BookIcon';
|
|
11
|
+
export { default as BoostIcon } from './BoostIcon';
|
|
12
|
+
export { default as CardIcon } from './CardIcon';
|
|
13
|
+
export { default as CheckIcon } from './CheckIcon';
|
|
14
|
+
export { default as CircleIcon } from './CircleIcon';
|
|
15
|
+
export { default as ClockIcon } from './ClockIcon';
|
|
16
|
+
export { default as CloudIcon } from './CloudIcon';
|
|
17
|
+
export { default as CodeIcon } from './CodeIcon';
|
|
18
|
+
export { default as CoffeeIcon } from './CoffeeIcon';
|
|
19
|
+
export { default as CoinsIcon } from './CoinsIcon';
|
|
20
|
+
export { default as CommentIcon } from './CommentIcon';
|
|
21
|
+
export { default as ComponentIcon } from './ComponentIcon';
|
|
22
|
+
export { default as ComposeIcon } from './ComposeIcon';
|
|
23
|
+
export { default as CopyIcon } from './CopyIcon';
|
|
24
|
+
export { default as CoreIcon } from './CoreIcon';
|
|
25
|
+
export { default as CoverageIcon } from './CoverageIcon';
|
|
26
|
+
export { default as CoverageIndexIcon } from './CoverageIndexIcon';
|
|
27
|
+
export { default as CpuIcon } from './CpuIcon';
|
|
28
|
+
export { default as CropIcon } from './CropIcon';
|
|
29
|
+
export { default as CrystalBallIcon } from './CrystalBallIcon';
|
|
30
|
+
export { default as CsharpIcon } from './CsharpIcon';
|
|
31
|
+
export { default as DeleteIcon } from './DeleteIcon';
|
|
32
|
+
export { default as DiscoveryIcon } from './DiscoveryIcon';
|
|
33
|
+
export { default as DivingMaskIcon } from './DivingMaskIcon';
|
|
34
|
+
export { default as DocumentFieldsIcon } from './DocumentFieldsIcon';
|
|
35
|
+
export { default as DocumentOrFileIcon } from './DocumentOrFileIcon';
|
|
36
|
+
export { default as DownloadIcon } from './DownloadIcon';
|
|
37
|
+
export { default as DropEmptyIcon } from './DropEmptyIcon';
|
|
38
|
+
export { default as DropFullIcon } from './DropFullIcon';
|
|
39
|
+
export { default as DropHalfIcon } from './DropHalfIcon';
|
|
40
|
+
export { default as DuplicateIcon } from './DuplicateIcon';
|
|
41
|
+
export { default as DynamicJsonFieldIcon } from './DynamicJsonFieldIcon';
|
|
42
|
+
export { default as ECommerceIcon } from './ECommerceIcon';
|
|
43
|
+
export { default as EmptyIcon } from './EmptyIcon';
|
|
44
|
+
export { default as EqualIcon } from './EqualIcon';
|
|
45
|
+
export { default as EyeIcon } from './EyeIcon';
|
|
46
|
+
export { default as FastBackwardIcon } from './FastBackwardIcon';
|
|
47
|
+
export { default as FastForwardIcon } from './FastForwardIcon';
|
|
48
|
+
export { default as FieldIcon } from './FieldIcon';
|
|
49
|
+
export { default as FieldsIcon } from './FieldsIcon';
|
|
50
|
+
export { default as FilterAltIcon } from './FilterAltIcon';
|
|
51
|
+
export { default as FilterIcon } from './FilterIcon';
|
|
52
|
+
export { default as FlagIcon } from './FlagIcon';
|
|
53
|
+
export { default as FlowerIcon } from './FlowerIcon';
|
|
54
|
+
export { default as FolderIcon } from './FolderIcon';
|
|
55
|
+
export { default as FourLeafCloverIcon } from './FourLeafCloverIcon';
|
|
56
|
+
export { default as FrostIcon } from './FrostIcon';
|
|
57
|
+
export { default as GPSMyLocationIcon } from './GPSMyLocationIcon';
|
|
58
|
+
export { default as GPSPinIcon } from './GPSPinIcon';
|
|
59
|
+
export { default as GitBranchIcon } from './GitBranchIcon';
|
|
60
|
+
export { default as GitCommitIcon } from './GitCommitIcon';
|
|
61
|
+
export { default as GitMergeIcon } from './GitMergeIcon';
|
|
62
|
+
export { default as GitPullRequestIcon } from './GitPullRequestIcon';
|
|
63
|
+
export { default as GlassIcon } from './GlassIcon';
|
|
64
|
+
export { default as GlassesIcon } from './GlassesIcon';
|
|
65
|
+
export { default as GraphIcon } from './GraphIcon';
|
|
66
|
+
export { default as GreaterIcon } from './GreaterIcon';
|
|
67
|
+
export { default as GreaterOrEqualIcon } from './GreaterOrEqualIcon';
|
|
68
|
+
export { default as HeadphonesIcon } from './HeadphonesIcon';
|
|
69
|
+
export { default as HeartIcon } from './HeartIcon';
|
|
70
|
+
export { default as HomeIcon } from './HomeIcon';
|
|
71
|
+
export { default as HourGlassIcon } from './HourGlassIcon';
|
|
72
|
+
export { default as IndxIcon } from './IndxIcon';
|
|
73
|
+
export { default as InstanceIcon } from './InstanceIcon';
|
|
74
|
+
export { default as InternetBrowserIcon } from './InternetBrowserIcon';
|
|
75
|
+
export { default as JsonIcon } from './JsonIcon';
|
|
76
|
+
export { default as JsonQueryIcon } from './JsonQueryIcon';
|
|
77
|
+
export { default as JsonResultIcon } from './JsonResultIcon';
|
|
78
|
+
export { default as KeyIcon } from './KeyIcon';
|
|
79
|
+
export { default as LabExperimentIcon } from './LabExperimentIcon';
|
|
80
|
+
export { default as LayoutAlignBottomIcon } from './LayoutAlignBottomIcon';
|
|
81
|
+
export { default as LayoutAlignLeftIcon } from './LayoutAlignLeftIcon';
|
|
82
|
+
export { default as LayoutAlignRightIcon } from './LayoutAlignRightIcon';
|
|
83
|
+
export { default as LayoutAlignTopIcon } from './LayoutAlignTopIcon';
|
|
84
|
+
export { default as LightBulbIcon } from './LightBulbIcon';
|
|
85
|
+
export { default as LinearIcon } from './LinearIcon';
|
|
86
|
+
export { default as LinkIcon } from './LinkIcon';
|
|
87
|
+
export { default as ListIcon } from './ListIcon';
|
|
88
|
+
export { default as LockIcon } from './LockIcon';
|
|
89
|
+
export { default as LoginIcon } from './LoginIcon';
|
|
90
|
+
export { default as LogoutIcon } from './LogoutIcon';
|
|
91
|
+
export { default as LoopIcon } from './LoopIcon';
|
|
92
|
+
export { default as MailIcon } from './MailIcon';
|
|
93
|
+
export { default as MaximizeIcon } from './MaximizeIcon';
|
|
94
|
+
export { default as MenuIcon } from './MenuIcon';
|
|
95
|
+
export { default as MicrophoneIcon } from './MicrophoneIcon';
|
|
96
|
+
export { default as MinimizeIcon } from './MinimizeIcon';
|
|
97
|
+
export { default as MinusIcon } from './MinusIcon';
|
|
98
|
+
export { default as MoneyIcon } from './MoneyIcon';
|
|
99
|
+
export { default as NestedObjectIcon } from './NestedObjectIcon';
|
|
100
|
+
export { default as NextIcon } from './NextIcon';
|
|
101
|
+
export { default as NodesIcon } from './NodesIcon';
|
|
102
|
+
export { default as NugetIcon } from './NugetIcon';
|
|
103
|
+
export { default as OptionsMenuIcon } from './OptionsMenuIcon';
|
|
104
|
+
export { default as PanelAddIcon } from './PanelAddIcon';
|
|
105
|
+
export { default as PanelDeleteIcon } from './PanelDeleteIcon';
|
|
106
|
+
export { default as PatternRecognitionIcon } from './PatternRecognitionIcon';
|
|
107
|
+
export { default as PauseIcon } from './PauseIcon';
|
|
108
|
+
export { default as PcIcon } from './PcIcon';
|
|
109
|
+
export { default as PercentIcon } from './PercentIcon';
|
|
110
|
+
export { default as PersonaliseIcon } from './PersonaliseIcon';
|
|
111
|
+
export { default as PlayIcon } from './PlayIcon';
|
|
112
|
+
export { default as PlusIcon } from './PlusIcon';
|
|
113
|
+
export { default as PointLeftIcon } from './PointLeftIcon';
|
|
114
|
+
export { default as PointRightIcon } from './PointRightIcon';
|
|
115
|
+
export { default as PointUpIcon } from './PointUpIcon';
|
|
116
|
+
export { default as PowerIcon } from './PowerIcon';
|
|
117
|
+
export { default as PrevIcon } from './PrevIcon';
|
|
118
|
+
export { default as PuzzlePieceIcon } from './PuzzlePieceIcon';
|
|
119
|
+
export { default as RSSFeedIcon } from './RSSFeedIcon';
|
|
120
|
+
export { default as RamIcon } from './RamIcon';
|
|
121
|
+
export { default as RecorderIcon } from './RecorderIcon';
|
|
122
|
+
export { default as RefreshIcon } from './RefreshIcon';
|
|
123
|
+
export { default as SaveIcon } from './SaveIcon';
|
|
124
|
+
export { default as SearchIcon } from './SearchIcon';
|
|
125
|
+
export { default as SearchQueryIcon } from './SearchQueryIcon';
|
|
126
|
+
export { default as ShieldIcon } from './ShieldIcon';
|
|
127
|
+
export { default as SlidersHorizontalIcon } from './SlidersHorizontalIcon';
|
|
128
|
+
export { default as SlidersVerticalIcon } from './SlidersVerticalIcon';
|
|
129
|
+
export { default as SmallerIcon } from './SmallerIcon';
|
|
130
|
+
export { default as SmallerOrEqualIcon } from './SmallerOrEqualIcon';
|
|
131
|
+
export { default as SortAscendingIcon } from './SortAscendingIcon';
|
|
132
|
+
export { default as SortDescendingIcon } from './SortDescendingIcon';
|
|
133
|
+
export { default as SparkIcon } from './SparkIcon';
|
|
134
|
+
export { default as SpecialCharactersIcon } from './SpecialCharactersIcon';
|
|
135
|
+
export { default as SpectrumFlatIcon } from './SpectrumFlatIcon';
|
|
136
|
+
export { default as SpectrumIcon } from './SpectrumIcon';
|
|
137
|
+
export { default as SpeedometerIcon } from './SpeedometerIcon';
|
|
138
|
+
export { default as StatusIcon } from './StatusIcon';
|
|
139
|
+
export { default as SupportIcon } from './SupportIcon';
|
|
140
|
+
export { default as TagIcon } from './TagIcon';
|
|
141
|
+
export { default as TerminalIcon } from './TerminalIcon';
|
|
142
|
+
export { default as ThumbsUpIcon } from './ThumbsUpIcon';
|
|
143
|
+
export { default as ToolBoxIcon } from './ToolBoxIcon';
|
|
144
|
+
export { default as TypingIcon } from './TypingIcon';
|
|
145
|
+
export { default as TypoOrBugIcon } from './TypoOrBugIcon';
|
|
146
|
+
export { default as UpdateIcon } from './UpdateIcon';
|
|
147
|
+
export { default as UserAliasIcon } from './UserAliasIcon';
|
|
148
|
+
export { default as UserBookmarkIcon } from './UserBookmarkIcon';
|
|
149
|
+
export { default as UserCheckIcon } from './UserCheckIcon';
|
|
150
|
+
export { default as UserGroupIcon } from './UserGroupIcon';
|
|
151
|
+
export { default as UserIcon } from './UserIcon';
|
|
152
|
+
export { default as UserIdIcon } from './UserIdIcon';
|
|
153
|
+
export { default as UserMinusIcon } from './UserMinusIcon';
|
|
154
|
+
export { default as UserPlusIcon } from './UserPlusIcon';
|
|
155
|
+
export { default as UserPrivacyIcon } from './UserPrivacyIcon';
|
|
156
|
+
export { default as UserTextIcon } from './UserTextIcon';
|
|
157
|
+
export { default as UserXIcon } from './UserXIcon';
|
|
158
|
+
export { default as UsersIcon } from './UsersIcon';
|
|
159
|
+
export { default as VirtualRealityVrHeadsetIcon } from './VirtualRealityVrHeadsetIcon';
|
|
160
|
+
export { default as VolumeHighIcon } from './VolumeHighIcon';
|
|
161
|
+
export { default as VolumeLowIcon } from './VolumeLowIcon';
|
|
162
|
+
export { default as VolumeMediumIcon } from './VolumeMediumIcon';
|
|
163
|
+
export { default as VolumeMuteIcon } from './VolumeMuteIcon';
|
|
164
|
+
export { default as WarningIcon } from './WarningIcon';
|
|
165
|
+
export { default as WeightHighIcon } from './WeightHighIcon';
|
|
166
|
+
export { default as WeightIcon } from './WeightIcon';
|
|
167
|
+
export { default as WeightLowIcon } from './WeightLowIcon';
|
|
168
|
+
export { default as WeightMediumIcon } from './WeightMediumIcon';
|
|
169
|
+
export { default as WiFiIcon } from './WiFiIcon';
|
|
170
|
+
export { default as XOrErrorIcon } from './XOrErrorIcon';
|
|
171
|
+
export { default as ZapIcon } from './ZapIcon';
|
package/dist/convert-icons.js
CHANGED
|
@@ -16,6 +16,49 @@ export interface IconProps extends SVGProps<SVGSVGElement> {
|
|
|
16
16
|
`;
|
|
17
17
|
fs.writeFileSync(path.join(outputDir, 'types.ts'), typeContent);
|
|
18
18
|
};
|
|
19
|
+
const cleanSvgContent = (svgContent) => {
|
|
20
|
+
// Remove XML declaration
|
|
21
|
+
let cleaned = svgContent.replace(/<\?xml.*?\?>/, '');
|
|
22
|
+
// Extract the content between the outer svg tags and preserve the viewBox
|
|
23
|
+
const match = cleaned.match(/<svg[^>]*>([\s\S]*)<\/svg>/);
|
|
24
|
+
if (!match)
|
|
25
|
+
return cleaned;
|
|
26
|
+
cleaned = match[1].trim();
|
|
27
|
+
// Remove any remaining doctype or comments
|
|
28
|
+
cleaned = cleaned.replace(/<!DOCTYPE[^>]*>/g, '');
|
|
29
|
+
cleaned = cleaned.replace(/<!--[\s\S]*?-->/g, '');
|
|
30
|
+
// Remove fill attributes from inner elements
|
|
31
|
+
cleaned = cleaned.replace(/fill="[^"]*"/g, '');
|
|
32
|
+
return cleaned.trim();
|
|
33
|
+
};
|
|
34
|
+
const extractSvgAttributes = (svgContent) => {
|
|
35
|
+
const widthMatch = svgContent.match(/width="([^"]*)"/);
|
|
36
|
+
const heightMatch = svgContent.match(/height="([^"]*)"/);
|
|
37
|
+
const viewBoxMatch = svgContent.match(/viewBox="([^"]*)"/);
|
|
38
|
+
return {
|
|
39
|
+
width: widthMatch ? widthMatch[1] : '24',
|
|
40
|
+
height: heightMatch ? heightMatch[1] : '24',
|
|
41
|
+
viewBox: viewBoxMatch ? viewBoxMatch[1] : '0 0 24 24'
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
const generateReactComponent = (svgContent, iconName) => {
|
|
45
|
+
// Clean up the SVG content and extract attributes
|
|
46
|
+
const cleanedSvg = cleanSvgContent(svgContent);
|
|
47
|
+
const { width, height, viewBox } = extractSvgAttributes(svgContent);
|
|
48
|
+
return `import React from 'react';
|
|
49
|
+
import { IconProps } from './types';
|
|
50
|
+
|
|
51
|
+
const ${iconName}: React.FC<IconProps> = ({ color = 'currentColor', ...props }) => {
|
|
52
|
+
return (
|
|
53
|
+
<svg width="${width}" height="${height}" viewBox="${viewBox}" fill={color} xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
54
|
+
${cleanedSvg}
|
|
55
|
+
</svg>
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export default ${iconName};
|
|
60
|
+
`;
|
|
61
|
+
};
|
|
19
62
|
const processIconSet = (config) => {
|
|
20
63
|
const { sourceDir, outputDir } = config;
|
|
21
64
|
// Create output directory if it doesn't exist
|
|
@@ -33,27 +76,7 @@ const processIconSet = (config) => {
|
|
|
33
76
|
.split('-')
|
|
34
77
|
.map(part => part.charAt(0).toUpperCase() + part.slice(1))
|
|
35
78
|
.join('') + 'Icon';
|
|
36
|
-
|
|
37
|
-
const cleanedSvg = svgContent
|
|
38
|
-
.replace(/<svg[^>]*>/, match => match.replace(/fill="[^"]*"/g, ''))
|
|
39
|
-
.replace(/fill="[^"]*"/g, '')
|
|
40
|
-
.replace(/<svg/g, '<svg {...props} fill={color}')
|
|
41
|
-
// Indent the inner content
|
|
42
|
-
.split('\n')
|
|
43
|
-
.map((line, i) => i === 0 ? line : ` ${line}`)
|
|
44
|
-
.join('\n')
|
|
45
|
-
.trim();
|
|
46
|
-
const componentContent = `import React from 'react';
|
|
47
|
-
import { IconProps } from './types';
|
|
48
|
-
|
|
49
|
-
const ${componentName}: React.FC<IconProps> = ({ color = 'currentColor', ...props }) => {
|
|
50
|
-
return (
|
|
51
|
-
${cleanedSvg}
|
|
52
|
-
);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export default ${componentName};
|
|
56
|
-
`;
|
|
79
|
+
const componentContent = generateReactComponent(svgContent, componentName);
|
|
57
80
|
// Write the new component file
|
|
58
81
|
const outputPath = path.join(outputDir, `${componentName}.tsx`);
|
|
59
82
|
fs.writeFileSync(outputPath, componentContent);
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indxsearch/pixl",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "A collection of React TypeScript icons",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
7
15
|
"files": [
|
|
8
16
|
"dist",
|
|
9
17
|
"components"
|
|
@@ -11,6 +19,7 @@
|
|
|
11
19
|
"scripts": {
|
|
12
20
|
"build": "tsc",
|
|
13
21
|
"convert": "ts-node convert-icons.ts",
|
|
22
|
+
"test": "cd test && npm test",
|
|
14
23
|
"prepare": "npm run build"
|
|
15
24
|
},
|
|
16
25
|
"keywords": [
|
|
@@ -27,6 +36,9 @@
|
|
|
27
36
|
"devDependencies": {
|
|
28
37
|
"@types/node": "^22.14.0",
|
|
29
38
|
"@types/react": "^18.2.0",
|
|
39
|
+
"test": "file:test",
|
|
40
|
+
"ts-node": "^10.9.0",
|
|
41
|
+
"tsx": "^4.19.3",
|
|
30
42
|
"typescript": "^5.8.3"
|
|
31
43
|
}
|
|
32
44
|
}
|