pixel-react 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.prettierrc.js +13 -0
- package/.storybook/main.ts +26 -0
- package/.storybook/preview.ts +26 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/README.md +25 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.scss +0 -0
- package/lib/StyleGuide/ColorPalette/ColorPalette.d.ts +3 -0
- package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +6 -0
- package/lib/StyleGuide/ColorPalette/colorPaletteList.d.ts +3 -0
- package/lib/StyleGuide/ColorPalette/index.d.ts +1 -0
- package/lib/StyleGuide/ColorPalette/types.d.ts +15 -0
- package/lib/StyleGuide/Typography/Typography.d.ts +3 -0
- package/lib/StyleGuide/Typography/Typography.stories.d.ts +6 -0
- package/lib/StyleGuide/Typography/TypographyList.d.ts +5 -0
- package/lib/StyleGuide/Typography/types.d.ts +8 -0
- package/lib/assets/utils/functionUtils.d.ts +1 -0
- package/lib/components/Accordion/Accordion.d.ts +8 -0
- package/lib/components/Accordion/Accordion.stories.d.ts +6 -0
- package/lib/components/Accordion/index.d.ts +1 -0
- package/lib/components/Accordion/types.d.ts +27 -0
- package/lib/components/AddResourceButton/AddButton.d.ts +4 -0
- package/lib/components/AddResourceButton/AddButton.stories.d.ts +8 -0
- package/lib/components/AddResourceButton/ArrowsButton/ArrowsButton.d.ts +6 -0
- package/lib/components/AddResourceButton/index.d.ts +1 -0
- package/lib/components/AddResourceButton/type.d.ts +65 -0
- package/lib/components/Button/Button.d.ts +5 -0
- package/lib/components/Button/Button.stories.d.ts +12 -0
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/Button/types.d.ts +61 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +5 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +6 -0
- package/lib/components/Charts/DonutChart/index.d.ts +1 -0
- package/lib/components/Charts/DonutChart/type.d.ts +13 -0
- package/lib/components/Charts/RadialChart/RadialChart.d.ts +5 -0
- package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +6 -0
- package/lib/components/Charts/RadialChart/index.d.ts +1 -0
- package/lib/components/Charts/RadialChart/types.d.ts +25 -0
- package/lib/components/Checkbox/Checkbox.d.ts +6 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts +8 -0
- package/lib/components/Checkbox/index.d.ts +1 -0
- package/lib/components/Checkbox/types.d.ts +30 -0
- package/lib/components/Chip/Chip.d.ts +4 -0
- package/lib/components/Chip/Chip.stories.d.ts +14 -0
- package/lib/components/Chip/index.d.ts +1 -0
- package/lib/components/Chip/types.d.ts +18 -0
- package/lib/components/Drawer/Drawer.d.ts +4 -0
- package/lib/components/Drawer/Drawer.stories.d.ts +7 -0
- package/lib/components/Drawer/Types.d.ts +85 -0
- package/lib/components/Drawer/index.d.ts +1 -0
- package/lib/components/ExpandableMenu/ExpandableMenu.d.ts +5 -0
- package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +7 -0
- package/lib/components/ExpandableMenu/index.d.ts +1 -0
- package/lib/components/ExpandableMenu/types.d.ts +34 -0
- package/lib/components/FileDropzone/Dropzone.d.ts +5 -0
- package/lib/components/FileDropzone/FileDropzone.d.ts +4 -0
- package/lib/components/FileDropzone/FileDropzone.stories.d.ts +8 -0
- package/lib/components/FileDropzone/FilePreview.d.ts +4 -0
- package/lib/components/FileDropzone/index.d.ts +1 -0
- package/lib/components/FileDropzone/types.d.ts +103 -0
- package/lib/components/Form/Form.d.ts +16 -0
- package/lib/components/Form/Form.stories.d.ts +6 -0
- package/lib/components/Form/index.d.ts +1 -0
- package/lib/components/Form/types.d.ts +1 -0
- package/lib/components/GridLayout/GridLayout.d.ts +6 -0
- package/lib/components/GridLayout/GridLayout.stories.d.ts +8 -0
- package/lib/components/GridLayout/index.d.ts +2 -0
- package/lib/components/GridLayout/types.d.ts +57 -0
- package/lib/components/HighlightText/HighlightText.d.ts +4 -0
- package/lib/components/HighlightText/HighlightText.stories.d.ts +6 -0
- package/lib/components/HighlightText/index.d.ts +1 -0
- package/lib/components/HighlightText/types.d.ts +4 -0
- package/lib/components/Icon/Icon.d.ts +4 -0
- package/lib/components/Icon/Icon.stories.d.ts +7 -0
- package/lib/components/Icon/iconList.d.ts +2 -0
- package/lib/components/Icon/index.d.ts +1 -0
- package/lib/components/Icon/types.d.ts +10 -0
- package/lib/components/Input/Input.d.ts +4 -0
- package/lib/components/Input/Input.stories.d.ts +9 -0
- package/lib/components/Input/index.d.ts +1 -0
- package/lib/components/Input/types.d.ts +74 -0
- package/lib/components/InputWithDropdown/InputWithDropdown.d.ts +4 -0
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +8 -0
- package/lib/components/InputWithDropdown/index.d.ts +1 -0
- package/lib/components/InputWithDropdown/types.d.ts +88 -0
- package/lib/components/LazyLoad/LazyLoad.d.ts +2 -0
- package/lib/components/LazyLoad/LazyLoad.stories.d.ts +6 -0
- package/lib/components/LazyLoad/LazyLoading.d.ts +2 -0
- package/lib/components/LazyLoad/index.d.ts +1 -0
- package/lib/components/MenuOption/MenuOption.d.ts +4 -0
- package/lib/components/MenuOption/MenuOption.stories.d.ts +15 -0
- package/lib/components/MenuOption/index.d.ts +1 -0
- package/lib/components/MenuOption/types.d.ts +134 -0
- package/lib/components/MiniModal/MiniModal.d.ts +4 -0
- package/lib/components/MiniModal/MiniModal.stories.d.ts +9 -0
- package/lib/components/MiniModal/index.d.ts +1 -0
- package/lib/components/MiniModal/types.d.ts +89 -0
- package/lib/components/MultiSelect/Dropdown.d.ts +4 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +4 -0
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +9 -0
- package/lib/components/MultiSelect/MultiSelectTypes.d.ts +18 -0
- package/lib/components/MultiSelect/dropdownTypes.d.ts +15 -0
- package/lib/components/MultiSelect/index.d.ts +1 -0
- package/lib/components/RadioButton/RadioButton.d.ts +4 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +10 -0
- package/lib/components/RadioButton/index.d.ts +1 -0
- package/lib/components/RadioButton/radioButtonTypes.d.ts +35 -0
- package/lib/components/RadioGroup/RadioGroup.d.ts +4 -0
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +8 -0
- package/lib/components/RadioGroup/index.d.ts +1 -0
- package/lib/components/RadioGroup/radioGroupTypes.d.ts +47 -0
- package/lib/components/Search/Search.d.ts +4 -0
- package/lib/components/Search/Search.stories.d.ts +6 -0
- package/lib/components/Search/index.d.ts +1 -0
- package/lib/components/Search/types.d.ts +15 -0
- package/lib/components/Select/Select.d.ts +4 -0
- package/lib/components/Select/Select.stories.d.ts +13 -0
- package/lib/components/Select/components/Dropdown/Dropdown.d.ts +4 -0
- package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +15 -0
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Select/types.d.ts +68 -0
- package/lib/components/Table/Table.d.ts +4 -0
- package/lib/components/Table/Table.stories.d.ts +11 -0
- package/lib/components/Table/Types.d.ts +98 -0
- package/lib/components/Table/index.d.ts +1 -0
- package/lib/components/TableTree/TableTree.d.ts +21 -0
- package/lib/components/TableTree/TableTree.stories.d.ts +7 -0
- package/lib/components/TableTree/data.d.ts +313 -0
- package/lib/components/TableTree/index.d.ts +1 -0
- package/lib/components/Tabs/Tabs.d.ts +5 -0
- package/lib/components/Tabs/Tabs.stories.d.ts +8 -0
- package/lib/components/Tabs/index.d.ts +1 -0
- package/lib/components/Tabs/types.d.ts +40 -0
- package/lib/components/TextArea/Textarea.d.ts +4 -0
- package/lib/components/TextArea/Textarea.stories.d.ts +9 -0
- package/lib/components/TextArea/Types.d.ts +78 -0
- package/lib/components/TextArea/index.d.ts +1 -0
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +7 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/components/ThemeProvider/types.d.ts +11 -0
- package/lib/components/Toast/Toast.d.ts +5 -0
- package/lib/components/Toast/Toast.stories.d.ts +6 -0
- package/lib/components/Toast/index.d.ts +1 -0
- package/lib/components/Toast/types.d.ts +20 -0
- package/lib/components/Toggle/Toggle.d.ts +5 -0
- package/lib/components/Toggle/Toggle.stories.d.ts +12 -0
- package/lib/components/Toggle/index.d.ts +1 -0
- package/lib/components/Toggle/types.d.ts +50 -0
- package/lib/components/Tooltip/Tooltip.d.ts +5 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts +15 -0
- package/lib/components/Tooltip/index.d.ts +1 -0
- package/lib/components/Tooltip/types.d.ts +37 -0
- package/lib/components/Typography/Typography.d.ts +5 -0
- package/lib/components/Typography/Typography.stories.d.ts +10 -0
- package/lib/components/Typography/index.d.ts +1 -0
- package/lib/components/Typography/types.d.ts +47 -0
- package/lib/hooks/keyboardevents/useEscKeyEvent.d.ts +2 -0
- package/lib/hooks/useClickOutside.d.ts +2 -0
- package/lib/hooks/useFileDropzone.d.ts +3 -0
- package/lib/hooks/usePortalPosition.d.ts +9 -0
- package/lib/hooks/useTheme.d.ts +3 -0
- package/lib/index.css +404 -0
- package/lib/index.d.ts +1286 -0
- package/lib/index.esm.css +404 -0
- package/lib/index.esm.js +9317 -0
- package/lib/index.esm.js.map +1 -0
- package/lib/index.js +9376 -0
- package/lib/index.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/utils/TableCell/TableCell.d.ts +1 -0
- package/lib/utils/checkEmpty/checkEmpty.d.ts +3 -0
- package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +6 -0
- package/lib/utils/ffID/ffID.stories.d.ts +6 -0
- package/lib/utils/ffID/ffid.d.ts +2 -0
- package/lib/utils/getExtension/getExtension.d.ts +4 -0
- package/lib/utils/getExtension/getExtension.stories.d.ts +6 -0
- package/lib/utils/truncateText/truncateText.d.ts +1 -0
- package/lib/utils/truncateText/truncateText.stories.d.ts +6 -0
- package/package.json +62 -0
- package/rollup.config.mjs +57 -0
- package/src/StyleGuide/ColorPalette/ColorPalette.scss +58 -0
- package/src/StyleGuide/ColorPalette/ColorPalette.stories.tsx +16 -0
- package/src/StyleGuide/ColorPalette/ColorPalette.tsx +61 -0
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +97 -0
- package/src/StyleGuide/ColorPalette/index.ts +1 -0
- package/src/StyleGuide/ColorPalette/types.ts +17 -0
- package/src/StyleGuide/Typography/Typography.scss +100 -0
- package/src/StyleGuide/Typography/Typography.stories.tsx +16 -0
- package/src/StyleGuide/Typography/Typography.tsx +60 -0
- package/src/StyleGuide/Typography/TypographyList.ts +3 -0
- package/src/StyleGuide/Typography/types.ts +9 -0
- package/src/assets/Themes/BaseTheme.scss +130 -0
- package/src/assets/Themes/DarkTheme.scss +131 -0
- package/src/assets/Themes/Theme.scss +200 -0
- package/src/assets/icons/Arrow.svg +5 -0
- package/src/assets/icons/accordion_header_icon.svg +10 -0
- package/src/assets/icons/arrow_down.svg +3 -0
- package/src/assets/icons/arrow_right.svg +5 -0
- package/src/assets/icons/arrow_up.svg +3 -0
- package/src/assets/icons/arrows_down_icon.svg +3 -0
- package/src/assets/icons/arrows_right_icon.svg +10 -0
- package/src/assets/icons/arrows_top_icon.svg +3 -0
- package/src/assets/icons/check_mark.svg +3 -0
- package/src/assets/icons/close_pill.svg +3 -0
- package/src/assets/icons/delete.svg +17 -0
- package/src/assets/icons/dropzone_icon.svg +18 -0
- package/src/assets/icons/error.svg +17 -0
- package/src/assets/icons/file.svg +12 -0
- package/src/assets/icons/info.svg +17 -0
- package/src/assets/icons/logo.svg +18 -0
- package/src/assets/icons/manage_apps.svg +3 -0
- package/src/assets/icons/moon_stars.svg +10 -0
- package/src/assets/icons/more.svg +11 -0
- package/src/assets/icons/plus_icon.svg +11 -0
- package/src/assets/icons/remove.svg +12 -0
- package/src/assets/icons/replace.svg +12 -0
- package/src/assets/icons/search.svg +3 -0
- package/src/assets/icons/success.svg +13 -0
- package/src/assets/icons/sun_icon.svg +10 -0
- package/src/assets/icons/tick_icon.svg +5 -0
- package/src/assets/icons/toast_close.svg +3 -0
- package/src/assets/icons/warning.svg +17 -0
- package/src/assets/icons/wrong_mark.svg +3 -0
- package/src/assets/styles/_colors.scss +145 -0
- package/src/assets/styles/_fonts.scss +68 -0
- package/src/assets/styles/_mixins.scss +20 -0
- package/src/assets/utils/functionUtils.ts +5 -0
- package/src/components/Accordion/Accordion.scss +45 -0
- package/src/components/Accordion/Accordion.stories.tsx +31 -0
- package/src/components/Accordion/Accordion.tsx +62 -0
- package/src/components/Accordion/index.ts +1 -0
- package/src/components/Accordion/types.ts +28 -0
- package/src/components/AddResourceButton/AddButton.scss +36 -0
- package/src/components/AddResourceButton/AddButton.stories.tsx +126 -0
- package/src/components/AddResourceButton/AddButton.tsx +121 -0
- package/src/components/AddResourceButton/ArrowsButton/ArrowsButton.scss +160 -0
- package/src/components/AddResourceButton/ArrowsButton/ArrowsButton.tsx +38 -0
- package/src/components/AddResourceButton/index.ts +1 -0
- package/src/components/AddResourceButton/type.ts +60 -0
- package/src/components/Button/Button.scss +148 -0
- package/src/components/Button/Button.stories.tsx +74 -0
- package/src/components/Button/Button.tsx +66 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/Button/types.ts +65 -0
- package/src/components/Charts/DonutChart/DonutChart.scss +76 -0
- package/src/components/Charts/DonutChart/DonutChart.stories.tsx +30 -0
- package/src/components/Charts/DonutChart/DonutChart.tsx +241 -0
- package/src/components/Charts/DonutChart/index.ts +1 -0
- package/src/components/Charts/DonutChart/type.ts +23 -0
- package/src/components/Charts/RadialChart/RadialChart.scss +12 -0
- package/src/components/Charts/RadialChart/RadialChart.stories.tsx +36 -0
- package/src/components/Charts/RadialChart/RadialChart.tsx +174 -0
- package/src/components/Charts/RadialChart/index.ts +1 -0
- package/src/components/Charts/RadialChart/types.ts +32 -0
- package/src/components/Checkbox/Checkbox.scss +89 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +47 -0
- package/src/components/Checkbox/Checkbox.tsx +61 -0
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/Checkbox/types.ts +30 -0
- package/src/components/Chip/Chip.scss +70 -0
- package/src/components/Chip/Chip.stories.tsx +88 -0
- package/src/components/Chip/Chip.tsx +35 -0
- package/src/components/Chip/index.ts +1 -0
- package/src/components/Chip/types.ts +19 -0
- package/src/components/Drawer/Drawer.scss +121 -0
- package/src/components/Drawer/Drawer.stories.tsx +88 -0
- package/src/components/Drawer/Drawer.tsx +179 -0
- package/src/components/Drawer/Types.ts +88 -0
- package/src/components/Drawer/index.ts +1 -0
- package/src/components/ExpandableMenu/ExpandableMenu.scss +110 -0
- package/src/components/ExpandableMenu/ExpandableMenu.stories.tsx +67 -0
- package/src/components/ExpandableMenu/ExpandableMenu.tsx +101 -0
- package/src/components/ExpandableMenu/index.ts +1 -0
- package/src/components/ExpandableMenu/types.ts +34 -0
- package/src/components/FileDropzone/Dropzone.tsx +55 -0
- package/src/components/FileDropzone/FileDropzone.scss +134 -0
- package/src/components/FileDropzone/FileDropzone.stories.tsx +83 -0
- package/src/components/FileDropzone/FileDropzone.tsx +98 -0
- package/src/components/FileDropzone/FilePreview.tsx +75 -0
- package/src/components/FileDropzone/index.ts +1 -0
- package/src/components/FileDropzone/types.ts +113 -0
- package/src/components/Form/Form.scss +98 -0
- package/src/components/Form/Form.stories.tsx +177 -0
- package/src/components/Form/Form.tsx +57 -0
- package/src/components/Form/index.ts +1 -0
- package/src/components/Form/types.ts +1 -0
- package/src/components/Form/validation.json +29 -0
- package/src/components/GridLayout/GridLayout.scss +71 -0
- package/src/components/GridLayout/GridLayout.stories.tsx +128 -0
- package/src/components/GridLayout/GridLayout.tsx +30 -0
- package/src/components/GridLayout/GridLayoutStory.scss +25 -0
- package/src/components/GridLayout/index.ts +1 -0
- package/src/components/GridLayout/types.ts +64 -0
- package/src/components/HighlightText/HighlightText.scss +3 -0
- package/src/components/HighlightText/HighlightText.stories.tsx +22 -0
- package/src/components/HighlightText/HighlightText.tsx +33 -0
- package/src/components/HighlightText/index.ts +1 -0
- package/src/components/HighlightText/types.ts +4 -0
- package/src/components/Icon/Icon.stories.tsx +37 -0
- package/src/components/Icon/Icon.tsx +43 -0
- package/src/components/Icon/Icons.scss +34 -0
- package/src/components/Icon/iconList.ts +62 -0
- package/src/components/Icon/index.ts +1 -0
- package/src/components/Icon/types.ts +10 -0
- package/src/components/Input/Input.scss +150 -0
- package/src/components/Input/Input.stories.tsx +96 -0
- package/src/components/Input/Input.tsx +93 -0
- package/src/components/Input/index.ts +1 -0
- package/src/components/Input/types.ts +77 -0
- package/src/components/InputWithDropdown/InputWithDropdown.scss +185 -0
- package/src/components/InputWithDropdown/InputWithDropdown.stories.tsx +114 -0
- package/src/components/InputWithDropdown/InputWithDropdown.tsx +85 -0
- package/src/components/InputWithDropdown/index.ts +1 -0
- package/src/components/InputWithDropdown/types.ts +110 -0
- package/src/components/LazyLoad/LazyLoad.d.ts +3 -0
- package/src/components/LazyLoad/LazyLoad.stories.tsx +33 -0
- package/src/components/LazyLoad/LazyLoad.ts +2 -0
- package/src/components/LazyLoad/LazyLoading.tsx +19 -0
- package/src/components/LazyLoad/index.ts +1 -0
- package/src/components/MenuOption/MenuOption.scss +69 -0
- package/src/components/MenuOption/MenuOption.stories.tsx +259 -0
- package/src/components/MenuOption/MenuOption.tsx +126 -0
- package/src/components/MenuOption/index.ts +1 -0
- package/src/components/MenuOption/types.ts +161 -0
- package/src/components/MiniModal/MiniModal.scss +139 -0
- package/src/components/MiniModal/MiniModal.stories.tsx +475 -0
- package/src/components/MiniModal/MiniModal.tsx +218 -0
- package/src/components/MiniModal/index.ts +1 -0
- package/src/components/MiniModal/types.ts +88 -0
- package/src/components/MultiSelect/Dropdown.scss +66 -0
- package/src/components/MultiSelect/Dropdown.tsx +77 -0
- package/src/components/MultiSelect/MultiSelect.scss +190 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +85 -0
- package/src/components/MultiSelect/MultiSelect.tsx +260 -0
- package/src/components/MultiSelect/MultiSelectTypes.ts +19 -0
- package/src/components/MultiSelect/dropdownTypes.ts +15 -0
- package/src/components/MultiSelect/index.ts +1 -0
- package/src/components/RadioButton/RadioButton.scss +99 -0
- package/src/components/RadioButton/RadioButton.stories.tsx +43 -0
- package/src/components/RadioButton/RadioButton.tsx +32 -0
- package/src/components/RadioButton/index.ts +1 -0
- package/src/components/RadioButton/radioButtonTypes.tsx +40 -0
- package/src/components/RadioGroup/RadioGroup.scss +5 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +81 -0
- package/src/components/RadioGroup/RadioGroup.tsx +30 -0
- package/src/components/RadioGroup/index.ts +1 -0
- package/src/components/RadioGroup/radioGroupTypes.tsx +54 -0
- package/src/components/Search/Search.scss +87 -0
- package/src/components/Search/Search.stories.tsx +26 -0
- package/src/components/Search/Search.tsx +103 -0
- package/src/components/Search/index.ts +1 -0
- package/src/components/Search/types.ts +15 -0
- package/src/components/Select/Select.scss +247 -0
- package/src/components/Select/Select.stories.tsx +156 -0
- package/src/components/Select/Select.tsx +368 -0
- package/src/components/Select/components/Dropdown/Dropdown.scss +70 -0
- package/src/components/Select/components/Dropdown/Dropdown.tsx +89 -0
- package/src/components/Select/components/Dropdown/dropdownTypes.ts +19 -0
- package/src/components/Select/index.ts +1 -0
- package/src/components/Select/types.ts +122 -0
- package/src/components/Table/Table.scss +101 -0
- package/src/components/Table/Table.stories.tsx +345 -0
- package/src/components/Table/Table.tsx +128 -0
- package/src/components/Table/Types.ts +100 -0
- package/src/components/Table/index.ts +1 -0
- package/src/components/TableTree/TableTree.scss +142 -0
- package/src/components/TableTree/TableTree.stories.tsx +121 -0
- package/src/components/TableTree/TableTree.tsx +216 -0
- package/src/components/TableTree/TableTreeStories.scss +22 -0
- package/src/components/TableTree/data.ts +573 -0
- package/src/components/TableTree/index.ts +1 -0
- package/src/components/Tabs/Tabs.scss +76 -0
- package/src/components/Tabs/Tabs.stories.tsx +104 -0
- package/src/components/Tabs/Tabs.tsx +64 -0
- package/src/components/Tabs/index.ts +1 -0
- package/src/components/Tabs/types.ts +38 -0
- package/src/components/TextArea/Textarea.scss +145 -0
- package/src/components/TextArea/Textarea.stories.tsx +92 -0
- package/src/components/TextArea/Textarea.tsx +84 -0
- package/src/components/TextArea/Types.ts +82 -0
- package/src/components/TextArea/index.tsx +1 -0
- package/src/components/ThemeProvider/ThemeProvider.tsx +24 -0
- package/src/components/ThemeProvider/index.ts +1 -0
- package/src/components/ThemeProvider/types.ts +14 -0
- package/src/components/Toast/Toast.scss +121 -0
- package/src/components/Toast/Toast.stories.tsx +180 -0
- package/src/components/Toast/Toast.tsx +116 -0
- package/src/components/Toast/index.ts +1 -0
- package/src/components/Toast/types.ts +27 -0
- package/src/components/Toggle/Toggle.scss +132 -0
- package/src/components/Toggle/Toggle.stories.tsx +132 -0
- package/src/components/Toggle/Toggle.tsx +96 -0
- package/src/components/Toggle/index.ts +1 -0
- package/src/components/Toggle/types.ts +43 -0
- package/src/components/Tooltip/Tooltip.scss +27 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +97 -0
- package/src/components/Tooltip/Tooltip.tsx +194 -0
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/Tooltip/types.ts +60 -0
- package/src/components/Typography/Typography.scss +49 -0
- package/src/components/Typography/Typography.stories.tsx +57 -0
- package/src/components/Typography/Typography.tsx +39 -0
- package/src/components/Typography/index.ts +1 -0
- package/src/components/Typography/types.ts +56 -0
- package/src/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
- package/src/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/src/fonts/Montserrat/Montserrat-SemiBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Black.ttf +0 -0
- package/src/fonts/Poppins/Poppins-BlackItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Bold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-BoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraBoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraLight.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraLightItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Italic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Light.ttf +0 -0
- package/src/fonts/Poppins/Poppins-LightItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Medium.ttf +0 -0
- package/src/fonts/Poppins/Poppins-MediumItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Regular.ttf +0 -0
- package/src/fonts/Poppins/Poppins-SemiBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-SemiBoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Thin.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ThinItalic.ttf +0 -0
- package/src/hooks/keyboardevents/useEscKeyEvent.tsx +31 -0
- package/src/hooks/useClickOutside.tsx +30 -0
- package/src/hooks/useFileDropzone.tsx +273 -0
- package/src/hooks/usePortalPosition.tsx +53 -0
- package/src/hooks/useTheme.tsx +13 -0
- package/src/index.ts +91 -0
- package/src/utils/TableCell/TableCell.ts +16 -0
- package/src/utils/checkEmpty/checkEmpty.stories.tsx +34 -0
- package/src/utils/checkEmpty/checkEmpty.ts +10 -0
- package/src/utils/ffID/ffID.stories.tsx +35 -0
- package/src/utils/ffID/ffid.ts +9 -0
- package/src/utils/getExtension/getExtension.stories.tsx +23 -0
- package/src/utils/getExtension/getExtension.ts +28 -0
- package/src/utils/truncateText/truncateText.stories.tsx +37 -0
- package/src/utils/truncateText/truncateText.ts +4 -0
- package/tsconfig.json +55 -0
- package/ui-library.zip +0 -0
- package/vite.config.js +30 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
/* Container */
|
4
|
+
.ff-container {
|
5
|
+
margin-right: auto;
|
6
|
+
margin-left: auto;
|
7
|
+
width: 90%;
|
8
|
+
display: grid;
|
9
|
+
}
|
10
|
+
|
11
|
+
.ff-container-fluid {
|
12
|
+
width: 100%;
|
13
|
+
margin-right: auto;
|
14
|
+
margin-left: auto;
|
15
|
+
display: grid;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Row */
|
19
|
+
.ff-row {
|
20
|
+
display: grid;
|
21
|
+
grid-template-columns: repeat(12, 1fr);
|
22
|
+
}
|
23
|
+
|
24
|
+
/* Column sizes based on a 12-column layout */
|
25
|
+
.ff-col {
|
26
|
+
grid-column: span 12;
|
27
|
+
}
|
28
|
+
|
29
|
+
.ff-col-1 {
|
30
|
+
grid-column: span 1;
|
31
|
+
}
|
32
|
+
.ff-col-2 {
|
33
|
+
grid-column: span 2;
|
34
|
+
}
|
35
|
+
.ff-col-3 {
|
36
|
+
grid-column: span 3;
|
37
|
+
}
|
38
|
+
.ff-col-4 {
|
39
|
+
grid-column: span 4;
|
40
|
+
}
|
41
|
+
.ff-col-5 {
|
42
|
+
grid-column: span 5;
|
43
|
+
}
|
44
|
+
.ff-col-6 {
|
45
|
+
grid-column: span 6;
|
46
|
+
}
|
47
|
+
.ff-col-7 {
|
48
|
+
grid-column: span 7;
|
49
|
+
}
|
50
|
+
.ff-col-8 {
|
51
|
+
grid-column: span 8;
|
52
|
+
}
|
53
|
+
.ff-col-9 {
|
54
|
+
grid-column: span 9;
|
55
|
+
}
|
56
|
+
.ff-col-10 {
|
57
|
+
grid-column: span 10;
|
58
|
+
}
|
59
|
+
.ff-col-11 {
|
60
|
+
grid-column: span 11;
|
61
|
+
}
|
62
|
+
.ff-col-12 {
|
63
|
+
grid-column: span 12;
|
64
|
+
}
|
65
|
+
|
66
|
+
@media (max-width: 768px) {
|
67
|
+
/* Stacking columns on small screens */
|
68
|
+
.ff-col {
|
69
|
+
grid-column: span 12;
|
70
|
+
}
|
71
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import { Container, Row, Col } from './GridLayout';
|
3
|
+
import './GridLayoutStory.scss'
|
4
|
+
|
5
|
+
const meta: Meta<typeof Container> = {
|
6
|
+
title: 'Components/GridLayout',
|
7
|
+
component: Container,
|
8
|
+
parameters: {
|
9
|
+
layout: 'centered',
|
10
|
+
},
|
11
|
+
tags: ['autodocs'],
|
12
|
+
};
|
13
|
+
|
14
|
+
type ContainerStory = StoryObj<typeof Container>;
|
15
|
+
|
16
|
+
const defaultContainerArgs = {
|
17
|
+
fluid: false,
|
18
|
+
gap: '20px',
|
19
|
+
};
|
20
|
+
|
21
|
+
export const Grid: ContainerStory = {
|
22
|
+
args: {
|
23
|
+
...defaultContainerArgs,
|
24
|
+
},
|
25
|
+
render: (args) => (
|
26
|
+
<>
|
27
|
+
<Container {...args}>
|
28
|
+
<Row>
|
29
|
+
<Col size={4}>
|
30
|
+
<div className='one'>
|
31
|
+
Column 1
|
32
|
+
</div>
|
33
|
+
</Col>
|
34
|
+
<Col size={4}>
|
35
|
+
<div className='two'>
|
36
|
+
Column 2
|
37
|
+
</div>
|
38
|
+
</Col>
|
39
|
+
<Col size={4}>
|
40
|
+
<div className='three'>
|
41
|
+
Column 3
|
42
|
+
</div>
|
43
|
+
</Col>
|
44
|
+
</Row>
|
45
|
+
<Row>
|
46
|
+
<Col size={6}>
|
47
|
+
<div className='four'>
|
48
|
+
Column 4
|
49
|
+
</div>
|
50
|
+
</Col>
|
51
|
+
<Col size={6}>
|
52
|
+
<div className='five'>
|
53
|
+
Column 5
|
54
|
+
</div>
|
55
|
+
</Col>
|
56
|
+
</Row>
|
57
|
+
</Container>
|
58
|
+
</>
|
59
|
+
),
|
60
|
+
};
|
61
|
+
export const Grid2: ContainerStory = {
|
62
|
+
args: {
|
63
|
+
...defaultContainerArgs,
|
64
|
+
},
|
65
|
+
render: (args) => (
|
66
|
+
<>
|
67
|
+
<Container {...args}>
|
68
|
+
<Row gap="20px">
|
69
|
+
<Col size={3}>
|
70
|
+
<div
|
71
|
+
className='one'
|
72
|
+
>
|
73
|
+
Column 1 (size 3)
|
74
|
+
</div>
|
75
|
+
</Col>
|
76
|
+
<Col size={6}>
|
77
|
+
<div
|
78
|
+
className='two'
|
79
|
+
>
|
80
|
+
Column 2 (size 6)
|
81
|
+
</div>
|
82
|
+
</Col>
|
83
|
+
<Col size={3}>
|
84
|
+
<div
|
85
|
+
className='three'
|
86
|
+
>
|
87
|
+
Column 3 (size 3)
|
88
|
+
</div>
|
89
|
+
</Col>
|
90
|
+
</Row>
|
91
|
+
<Row gap="10px">
|
92
|
+
<Col size={4}>
|
93
|
+
<div
|
94
|
+
className='four'
|
95
|
+
>
|
96
|
+
Column 4 (size 4)
|
97
|
+
</div>
|
98
|
+
</Col>
|
99
|
+
<Col size={4}>
|
100
|
+
<div
|
101
|
+
className='five'
|
102
|
+
>
|
103
|
+
Column 5 (size 4)
|
104
|
+
</div>
|
105
|
+
</Col>
|
106
|
+
<Col size={4}>
|
107
|
+
<div
|
108
|
+
className='one'
|
109
|
+
>
|
110
|
+
Column 6 (size 4)
|
111
|
+
</div>
|
112
|
+
</Col>
|
113
|
+
</Row>
|
114
|
+
<Row gap="15px">
|
115
|
+
<Col size={12}>
|
116
|
+
<div
|
117
|
+
className='two'
|
118
|
+
>
|
119
|
+
Full-width column (size 12)
|
120
|
+
</div>
|
121
|
+
</Col>
|
122
|
+
</Row>
|
123
|
+
</Container>
|
124
|
+
</>
|
125
|
+
),
|
126
|
+
};
|
127
|
+
|
128
|
+
export default meta;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
import React from 'react';
|
3
|
+
import './GridLayout.scss';
|
4
|
+
import { ContainerProps, RowProps, ColProps } from './types';
|
5
|
+
|
6
|
+
export const Container: React.FC<ContainerProps> = ({
|
7
|
+
children,
|
8
|
+
fluid = false,
|
9
|
+
gap = '0px',
|
10
|
+
}) => {
|
11
|
+
const className = fluid ? 'ff-container-fluid' : 'ff-container';
|
12
|
+
return (
|
13
|
+
<div className={className} style={{ gap }}>
|
14
|
+
{children}
|
15
|
+
</div>
|
16
|
+
);
|
17
|
+
};
|
18
|
+
|
19
|
+
export const Row: React.FC<RowProps> = ({ children, gap = '0px' }) => {
|
20
|
+
return (
|
21
|
+
<div className="ff-row" style={{ gap }}>
|
22
|
+
{children}
|
23
|
+
</div>
|
24
|
+
);
|
25
|
+
};
|
26
|
+
|
27
|
+
export const Col: React.FC<ColProps> = ({ children, size = 12 }) => {
|
28
|
+
const className = `ff-col-${size}`;
|
29
|
+
return <div className={className}>{children}</div>;
|
30
|
+
};
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
@mixin p-20(){
|
3
|
+
padding: 20px;
|
4
|
+
}
|
5
|
+
|
6
|
+
.one{
|
7
|
+
background-color: var(--brand-color);
|
8
|
+
@include p-20;
|
9
|
+
}
|
10
|
+
.two{
|
11
|
+
background-color: var(--status-warning-text-color);
|
12
|
+
@include p-20;
|
13
|
+
}
|
14
|
+
.three{
|
15
|
+
background-color: var(--status-rejected-text-color);
|
16
|
+
@include p-20;
|
17
|
+
}
|
18
|
+
.four{
|
19
|
+
background-color: var(--status-rejected-bg-color);
|
20
|
+
@include p-20;
|
21
|
+
}
|
22
|
+
.five{
|
23
|
+
background-color: var(--status-skipped-bg-color);
|
24
|
+
@include p-20;
|
25
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export default './GridLayout.tsx'
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
|
3
|
+
export interface ContainerProps {
|
4
|
+
/**
|
5
|
+
* The content to be displayed inside the container.
|
6
|
+
* Typically consists of rows and columns.
|
7
|
+
*
|
8
|
+
* @type {ReactNode}
|
9
|
+
*/
|
10
|
+
children: ReactNode;
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Determines if the container should be fluid (expand to 100% width) or fixed width.
|
14
|
+
*
|
15
|
+
* @default false
|
16
|
+
* @type {boolean}
|
17
|
+
*/
|
18
|
+
fluid?: boolean;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* Defines the gap (spacing) between the rows and columns inside the container.
|
22
|
+
* Accepts any valid CSS size value (e.g., '10px', '1rem', etc.).
|
23
|
+
*
|
24
|
+
* @default '0px'
|
25
|
+
* @type {string}
|
26
|
+
*/
|
27
|
+
gap?: string;
|
28
|
+
}
|
29
|
+
|
30
|
+
export interface RowProps {
|
31
|
+
/**
|
32
|
+
* The content to be displayed inside the row, usually consisting of columns (`<Col />`).
|
33
|
+
*
|
34
|
+
* @type {ReactNode}
|
35
|
+
*/
|
36
|
+
children: ReactNode;
|
37
|
+
|
38
|
+
/**
|
39
|
+
* The gap (spacing) between columns within the row.
|
40
|
+
* Accepts any valid CSS size value.
|
41
|
+
*
|
42
|
+
* @default '0px'
|
43
|
+
* @type {string}
|
44
|
+
*/
|
45
|
+
gap?: string;
|
46
|
+
}
|
47
|
+
|
48
|
+
export interface ColProps {
|
49
|
+
/**
|
50
|
+
* The content to be displayed inside the column.
|
51
|
+
*
|
52
|
+
* @type {ReactNode}
|
53
|
+
*/
|
54
|
+
children: ReactNode;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Defines the width of the column as a fraction of 12 (for a 12-column grid system).
|
58
|
+
* For example, `size={6}` would make the column take up half the width of the row.
|
59
|
+
*
|
60
|
+
* @default 12
|
61
|
+
* @type {number}
|
62
|
+
*/
|
63
|
+
size?: number;
|
64
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import HighlightText from './HighlightText';
|
3
|
+
|
4
|
+
const meta: Meta<typeof HighlightText> = {
|
5
|
+
title: 'Components/HighlightText',
|
6
|
+
component: HighlightText,
|
7
|
+
parameters: {
|
8
|
+
layout: 'centered',
|
9
|
+
},
|
10
|
+
tags: ['autodocs'],
|
11
|
+
};
|
12
|
+
|
13
|
+
type Story = StoryObj<typeof HighlightText>;
|
14
|
+
|
15
|
+
export const Primary: Story = {
|
16
|
+
args: {
|
17
|
+
text: 'Hello team do use Highlight component in Name column to highlight searched text',
|
18
|
+
highlight: 'hello',
|
19
|
+
},
|
20
|
+
};
|
21
|
+
|
22
|
+
export default meta;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { HighlightTextProps } from './types';
|
2
|
+
import './HighlightText.scss';
|
3
|
+
|
4
|
+
// Function to escape special characters in the search term
|
5
|
+
const escapeRegExp = (text: String): string => {
|
6
|
+
return text?.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
|
7
|
+
};
|
8
|
+
|
9
|
+
const HighlightText: React.FC<HighlightTextProps> = ({
|
10
|
+
text = '',
|
11
|
+
highlight = '',
|
12
|
+
}) => {
|
13
|
+
if (!highlight) return <span>{text}</span>;
|
14
|
+
|
15
|
+
const escapedHighlight = escapeRegExp(highlight); // Escape special characters
|
16
|
+
const parts = text?.split(new RegExp(`(${escapedHighlight})`, 'gi')); // Use escaped string in the regex
|
17
|
+
|
18
|
+
return (
|
19
|
+
<>
|
20
|
+
{parts.map((part, index) =>
|
21
|
+
part?.toLowerCase() === highlight?.toLowerCase() ? (
|
22
|
+
<span key={index} className="ff-highlight-bg">
|
23
|
+
{part}
|
24
|
+
</span>
|
25
|
+
) : (
|
26
|
+
part
|
27
|
+
)
|
28
|
+
)}
|
29
|
+
</>
|
30
|
+
);
|
31
|
+
};
|
32
|
+
|
33
|
+
export default HighlightText;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './HighlightText';
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Icon from './Icon';
|
3
|
+
import Components from './iconList';
|
4
|
+
|
5
|
+
const meta: Meta<typeof Icon> = {
|
6
|
+
title: 'Components/Icon',
|
7
|
+
component: Icon,
|
8
|
+
tags: ['autodocs'],
|
9
|
+
};
|
10
|
+
|
11
|
+
type Story = StoryObj<typeof Icon>;
|
12
|
+
|
13
|
+
export const Icons: Story = {
|
14
|
+
args: {
|
15
|
+
name: 'delete_black',
|
16
|
+
color: '',
|
17
|
+
},
|
18
|
+
};
|
19
|
+
|
20
|
+
export const AllIcons: Story = {
|
21
|
+
render: () => {
|
22
|
+
return (
|
23
|
+
<div className="group-icons">
|
24
|
+
{Object.keys(Components).map((iconName) => {
|
25
|
+
return (
|
26
|
+
<div key={iconName}>
|
27
|
+
<Icon name={iconName} height={40} width={40} />
|
28
|
+
<center title={iconName}>{iconName}</center>
|
29
|
+
</div>
|
30
|
+
);
|
31
|
+
})}
|
32
|
+
</div>
|
33
|
+
);
|
34
|
+
},
|
35
|
+
};
|
36
|
+
|
37
|
+
export default meta;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import classNames from 'classnames';
|
2
|
+
import Components from './iconList';
|
3
|
+
import './Icons.scss';
|
4
|
+
import { IconProps } from './types';
|
5
|
+
|
6
|
+
const Icon = ({
|
7
|
+
name,
|
8
|
+
height,
|
9
|
+
width,
|
10
|
+
onClick = () => {},
|
11
|
+
color = '#808080',
|
12
|
+
hoverEffect = false,
|
13
|
+
className = '',
|
14
|
+
disabled = false,
|
15
|
+
...props
|
16
|
+
}: IconProps) => {
|
17
|
+
const IconComponent = Components[name];
|
18
|
+
|
19
|
+
const iconHeight = height ? height : 16;
|
20
|
+
const iconWidth = width ? width : 16;
|
21
|
+
|
22
|
+
if (!IconComponent) {
|
23
|
+
return null;
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
return (
|
28
|
+
<span
|
29
|
+
onClick={disabled ? () => {} : onClick}
|
30
|
+
style={{ height: `${iconHeight}px`, width: `${iconWidth}px` }}
|
31
|
+
className={classNames('ff-icon-container', {
|
32
|
+
'ff-icon-click': !!hoverEffect,
|
33
|
+
'ff-icon-disabled': disabled,
|
34
|
+
[className]: !!className,
|
35
|
+
})}
|
36
|
+
{...props}
|
37
|
+
>
|
38
|
+
<IconComponent height="100%" width="100%" style={{ color: color }} />
|
39
|
+
</span>
|
40
|
+
);
|
41
|
+
};
|
42
|
+
|
43
|
+
export default Icon;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
@import '../../assets/styles/colors';
|
2
|
+
|
3
|
+
.ff-icon-container {
|
4
|
+
display: flex;
|
5
|
+
justify-content: center;
|
6
|
+
align-items: center;
|
7
|
+
}
|
8
|
+
|
9
|
+
.ff-icon-click {
|
10
|
+
cursor: pointer;
|
11
|
+
padding: 5px;
|
12
|
+
box-sizing: content-box;
|
13
|
+
&:hover {
|
14
|
+
border-radius: 50%;
|
15
|
+
background-color: $drawer-footer-bg;
|
16
|
+
box-shadow: 0px 0px 16px $toggle-strip-shadow;
|
17
|
+
& > svg {
|
18
|
+
color: $brand-color;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.ff-icon-disabled {
|
24
|
+
cursor: no-drop;
|
25
|
+
& > svg {
|
26
|
+
color: $toggle-strip-color;
|
27
|
+
}
|
28
|
+
&:hover {
|
29
|
+
box-shadow: none;
|
30
|
+
& > svg {
|
31
|
+
color: $toggle-strip-color;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
let Components: any = {};
|
2
|
+
|
3
|
+
import ManageApps from '../../assets/Icons/manage_apps.svg?react';
|
4
|
+
import Logo from '../../assets/icons/logo.svg?react';
|
5
|
+
import ArrowUp from '../../assets/icons/arrow_up.svg?react';
|
6
|
+
import ArrowRight from '../../assets/icons/arrow_right.svg?react';
|
7
|
+
import AccordionHeaderIcon from '../../assets/icons/accordion_header_icon.svg?react';
|
8
|
+
import DeleteIcon from '../../assets/icons/delete.svg?react';
|
9
|
+
import WarningIcon from '../../assets/icons/warning.svg?react';
|
10
|
+
import ToastInfoIcon from '../../assets/icons/info.svg?react';
|
11
|
+
import ToastErrorIcon from '../../assets/icons/error.svg?react';
|
12
|
+
import ToastCloseIcon from '../../assets/icons/toast_close.svg?react';
|
13
|
+
import ToastSuccessIcon from '../../assets/icons/success.svg?react';
|
14
|
+
import MoreIcon from '../../assets/icons/more.svg?react';
|
15
|
+
import DropZoneIcon from '../../assets/icons/dropzone_icon.svg?react';
|
16
|
+
import File from '../../assets/icons/file.svg?react';
|
17
|
+
import Replace from '../../assets/icons/replace.svg?react';
|
18
|
+
import Remove from '../../assets/icons/remove.svg?react';
|
19
|
+
import PlusIcon from '../../assets/icons/plus_icon.svg?react';
|
20
|
+
import ArrowsTopIcon from '../../assets/icons/arrows_top_icon.svg?react';
|
21
|
+
import ArrowsRightIcon from '../../assets/icons/arrows_right_icon.svg?react';
|
22
|
+
import ArrowsDownIcon from '../../assets/icons/arrows_down_icon.svg?react'; // import ArrowUp from '../../assets/Icons/arrow_up.svg?react';
|
23
|
+
import ArrowDown from '../../assets/Icons/arrow_down.svg?react';
|
24
|
+
import ClosePill from '../../assets/Icons/close_pill.svg?react';
|
25
|
+
import MoonStarsIcon from '../../assets/icons/moon_stars.svg?react';
|
26
|
+
import SunIcon from '../../assets/icons/sun_icon.svg?react';
|
27
|
+
import CheckMarkIcon from '../../assets/icons/check_mark.svg?react';
|
28
|
+
import WrongMarkIcon from '../../assets/icons/wrong_mark.svg?react';
|
29
|
+
import Tick from '../../assets/Icons/tick_icon.svg?react';
|
30
|
+
import Search from '../../assets/icons/search.svg?react';
|
31
|
+
|
32
|
+
//icons
|
33
|
+
Components['delete'] = DeleteIcon;
|
34
|
+
Components['success'] = ToastSuccessIcon;
|
35
|
+
Components['warning'] = WarningIcon;
|
36
|
+
Components['info'] = ToastInfoIcon;
|
37
|
+
Components['error'] = ToastErrorIcon;
|
38
|
+
Components['close'] = ToastCloseIcon;
|
39
|
+
Components['more'] = MoreIcon;
|
40
|
+
Components['logo'] = Logo;
|
41
|
+
Components['manage_apps'] = ManageApps;
|
42
|
+
Components['arrow_up'] = ArrowUp;
|
43
|
+
Components['accordion_header_icon'] = AccordionHeaderIcon;
|
44
|
+
Components['dropzone_icon'] = DropZoneIcon;
|
45
|
+
Components['file'] = File;
|
46
|
+
Components['replace'] = Replace;
|
47
|
+
Components['remove'] = Remove;
|
48
|
+
Components['plus_icon'] = PlusIcon;
|
49
|
+
Components['arrows_top_icon'] = ArrowsTopIcon;
|
50
|
+
Components['arrows_right_icon'] = ArrowsRightIcon;
|
51
|
+
Components['arrows_down_icon'] = ArrowsDownIcon;
|
52
|
+
Components['arrow_down'] = ArrowDown;
|
53
|
+
Components['close_pill'] = ClosePill;
|
54
|
+
Components['moon_stars_icon'] = MoonStarsIcon;
|
55
|
+
Components['sun_icon'] = SunIcon;
|
56
|
+
Components['check_mark'] = CheckMarkIcon;
|
57
|
+
Components['wrong_mark'] = WrongMarkIcon;
|
58
|
+
Components['tick'] = Tick;
|
59
|
+
Components['arrow_right'] = ArrowRight;
|
60
|
+
Components['search'] = Search;
|
61
|
+
|
62
|
+
export default Components;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './Icon';
|