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,142 @@
|
|
1
|
+
@use '../../assets/styles/fonts';
|
2
|
+
.ff-tree-container {
|
3
|
+
width: 100%;
|
4
|
+
font-size: 12px;
|
5
|
+
color: var(--brand-color);
|
6
|
+
transition: all 0.3s ease;
|
7
|
+
@extend .fontSm;
|
8
|
+
table {
|
9
|
+
border-collapse: collapse;
|
10
|
+
width: 100%;
|
11
|
+
text-align: left;
|
12
|
+
}
|
13
|
+
.ff-toggle-arrow-icon {
|
14
|
+
height: 12px;
|
15
|
+
width: 12px;
|
16
|
+
margin-left: 8px;
|
17
|
+
display: grid;
|
18
|
+
place-items: center;
|
19
|
+
transform: rotate(0deg);
|
20
|
+
|
21
|
+
svg {
|
22
|
+
path {
|
23
|
+
fill: var(--brand-color);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
&.ff-expanded {
|
28
|
+
transform: rotate(0deg);
|
29
|
+
}
|
30
|
+
|
31
|
+
&.ff-collapsed {
|
32
|
+
transform: rotate(-90deg);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
th,
|
37
|
+
td {
|
38
|
+
padding: 0 8px;
|
39
|
+
white-space: nowrap;
|
40
|
+
overflow: hidden;
|
41
|
+
text-overflow: ellipsis;
|
42
|
+
}
|
43
|
+
th {
|
44
|
+
vertical-align: middle;
|
45
|
+
height: 32px;
|
46
|
+
background-color: var(--slider-table-color);
|
47
|
+
color: var(--text-color);
|
48
|
+
font-weight: 600;
|
49
|
+
text-transform: uppercase;
|
50
|
+
}
|
51
|
+
|
52
|
+
tr {
|
53
|
+
.ff-action-section {
|
54
|
+
display: none;
|
55
|
+
}
|
56
|
+
&:hover {
|
57
|
+
background-color: var(--hover-color);
|
58
|
+
.ff-action-section {
|
59
|
+
display: block;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.ff-title-container {
|
65
|
+
display: flex;
|
66
|
+
align-items: center;
|
67
|
+
gap: 4px;
|
68
|
+
|
69
|
+
.ff-toggle-folder {
|
70
|
+
display: flex;
|
71
|
+
cursor: pointer;
|
72
|
+
}
|
73
|
+
&.ff-folder {
|
74
|
+
font-weight: 600;
|
75
|
+
}
|
76
|
+
|
77
|
+
&.ff-file {
|
78
|
+
font-weight: 400;
|
79
|
+
}
|
80
|
+
.ff-title {
|
81
|
+
display: flex;
|
82
|
+
gap: 4px;
|
83
|
+
white-space: nowrap;
|
84
|
+
overflow: hidden;
|
85
|
+
text-overflow: ellipsis;
|
86
|
+
font-weight: 400;
|
87
|
+
cursor: pointer;
|
88
|
+
|
89
|
+
.ff-hover-icon {
|
90
|
+
display: none;
|
91
|
+
position: absolute;
|
92
|
+
right: 10px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
.ff-node-li {
|
98
|
+
position: relative;
|
99
|
+
--indent-size: 16px;
|
100
|
+
--total-children-height: var(--node-height);
|
101
|
+
|
102
|
+
td:first-child {
|
103
|
+
padding-left: calc(var(--level) * var(--indent-size));
|
104
|
+
height: 32px;
|
105
|
+
}
|
106
|
+
|
107
|
+
// Vertical line connecting the node to the parent
|
108
|
+
&::before {
|
109
|
+
content: '';
|
110
|
+
position: absolute;
|
111
|
+
top: 0;
|
112
|
+
left: calc(var(--level) * var(--indent-size) - 4px);
|
113
|
+
width: 1px;
|
114
|
+
height: calc(var(--total-children-height));
|
115
|
+
background-color: var(--tree-connecting-lines-color);
|
116
|
+
z-index: 1;
|
117
|
+
}
|
118
|
+
|
119
|
+
// Horizontal line connecting child node to parent
|
120
|
+
&::after {
|
121
|
+
content: '';
|
122
|
+
position: absolute;
|
123
|
+
top: 50%;
|
124
|
+
left: calc(var(--level) * var(--indent-size) - 4px);
|
125
|
+
width: 12px;
|
126
|
+
height: 1px;
|
127
|
+
background-color: var(--tree-connecting-lines-color);
|
128
|
+
z-index: 1;
|
129
|
+
}
|
130
|
+
|
131
|
+
// For the last child node, limit the vertical line
|
132
|
+
&.ff-is-last::before {
|
133
|
+
height: calc(var(--node-height) / 2);
|
134
|
+
}
|
135
|
+
|
136
|
+
// Remove the lines for root level
|
137
|
+
&[style*='--level: 0']::before,
|
138
|
+
&[style*='--level: 0']::after {
|
139
|
+
content: none;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import TableTree from './TableTree';
|
3
|
+
import Button from '../Button';
|
4
|
+
import treeData from './data';
|
5
|
+
import Typography from '../Typography/Typography';
|
6
|
+
import Icon from '../Icon/Icon';
|
7
|
+
import Chip from '../Chip/Chip';
|
8
|
+
import './TableTreeStories.scss';
|
9
|
+
|
10
|
+
const meta: Meta<typeof TableTree> = {
|
11
|
+
title: 'Components/Table tree',
|
12
|
+
component: TableTree,
|
13
|
+
tags: ['autodocs'],
|
14
|
+
};
|
15
|
+
|
16
|
+
type Story = StoryObj<typeof TableTree>;
|
17
|
+
|
18
|
+
// NOTE :: For Action section use ff-action-section classname
|
19
|
+
|
20
|
+
// TODO :: below code is a temporary will Modify later
|
21
|
+
|
22
|
+
const createTilteAndAction = (row: any): JSX.Element => {
|
23
|
+
if (row?.folder) {
|
24
|
+
return (
|
25
|
+
<div className="ff-parent-node-section">
|
26
|
+
<div className="ff-folder-name-style">
|
27
|
+
<Typography fontWeight="semi-bold">{`${row?.title} - Action Folder lenthy name`}</Typography>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<Chip
|
31
|
+
fullText={`Sub Modules ${row?.scriptCount}`}
|
32
|
+
label={`SM ${row?.subModuleCount}`}
|
33
|
+
variant="primary"
|
34
|
+
/>
|
35
|
+
<Chip
|
36
|
+
fullText={`Scripts Count ${row?.scriptCount}`}
|
37
|
+
label={`SC ${row?.scriptCount}`}
|
38
|
+
variant="primary"
|
39
|
+
/>
|
40
|
+
<div className="ff-action-section">
|
41
|
+
<div className="ff-action-menu">
|
42
|
+
<Icon hoverEffect name="logo" />
|
43
|
+
<Icon hoverEffect name="sun_icon" />
|
44
|
+
<Icon hoverEffect name="more" />
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
);
|
49
|
+
} else {
|
50
|
+
return (
|
51
|
+
<div className="ff-parent-node-section">
|
52
|
+
<div className="ff-file-name-style">
|
53
|
+
<Typography>{`${row.title} - Action File with lenthy name`}</Typography>
|
54
|
+
</div>
|
55
|
+
<div className="ff-action-section">
|
56
|
+
<div className="ff-action-menu">
|
57
|
+
<Icon hoverEffect name="file" />
|
58
|
+
<Icon hoverEffect name="manage_apps" />
|
59
|
+
<Icon hoverEffect name="dropzone_icon" />
|
60
|
+
<Icon hoverEffect name="more" />
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
);
|
65
|
+
}
|
66
|
+
};
|
67
|
+
|
68
|
+
export const Default: Story = {
|
69
|
+
args: {
|
70
|
+
withCheckBox: false,
|
71
|
+
treeData,
|
72
|
+
columnsData: [
|
73
|
+
{
|
74
|
+
name: 'Script Name',
|
75
|
+
accessor: 'title',
|
76
|
+
width: '400px',
|
77
|
+
isClickable: true,
|
78
|
+
cell: (e) => {
|
79
|
+
return createTilteAndAction(e.row);
|
80
|
+
},
|
81
|
+
},
|
82
|
+
|
83
|
+
{
|
84
|
+
name: 'Module Path',
|
85
|
+
accessor: 'path',
|
86
|
+
width: '200px',
|
87
|
+
isClickable: true,
|
88
|
+
},
|
89
|
+
{ name: 'Created By', accessor: 'createdByUname', width: '200px' },
|
90
|
+
{
|
91
|
+
name: 'Script Count',
|
92
|
+
accessor: 'moduleLevelScriptCount',
|
93
|
+
width: '200px',
|
94
|
+
},
|
95
|
+
{
|
96
|
+
name: 'state',
|
97
|
+
accessor: 'state',
|
98
|
+
width: '100px',
|
99
|
+
cell: ({ value }) => {
|
100
|
+
return (
|
101
|
+
value && (
|
102
|
+
<Button
|
103
|
+
variant="secondary"
|
104
|
+
onClick={() => {
|
105
|
+
console.log('====', value); //Todo:need to remove
|
106
|
+
}}
|
107
|
+
>
|
108
|
+
{value}
|
109
|
+
</Button>
|
110
|
+
)
|
111
|
+
);
|
112
|
+
},
|
113
|
+
},
|
114
|
+
],
|
115
|
+
onClick: (e, data) => {
|
116
|
+
console.log('🚀 ~ e, data:', e, data); //Todo:need to remove
|
117
|
+
},
|
118
|
+
},
|
119
|
+
};
|
120
|
+
|
121
|
+
export default meta;
|
@@ -0,0 +1,216 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// @ts-nocheck
|
3
|
+
import './TableTree.scss';
|
4
|
+
import React, { ReactNode, useLayoutEffect, useRef, useState } from 'react';
|
5
|
+
import { prepareData } from '../../utils/TableCell/TableCell';
|
6
|
+
import Icon from '../Icon';
|
7
|
+
import { checkEmpty } from '../../utils/checkEmpty/checkEmpty';
|
8
|
+
|
9
|
+
interface ColumnDataProps {
|
10
|
+
name: string;
|
11
|
+
accessor: string;
|
12
|
+
width: string;
|
13
|
+
isClickable?: boolean;
|
14
|
+
minWidth?: string;
|
15
|
+
cell?: (e: any) => JSX.Element | string | ReactNode;
|
16
|
+
}
|
17
|
+
|
18
|
+
interface ObjectProps {
|
19
|
+
[key: string]: any;
|
20
|
+
}
|
21
|
+
|
22
|
+
interface TableTreeProps {
|
23
|
+
withCheckBox: boolean;
|
24
|
+
columnsData: Array<ColumnDataProps>;
|
25
|
+
treeData: Array<ObjectProps>;
|
26
|
+
onClick?: (
|
27
|
+
event: React.MouseEvent<HTMLDivElement, MouseEvent>,
|
28
|
+
data: any
|
29
|
+
) => void;
|
30
|
+
}
|
31
|
+
|
32
|
+
const TableTree = ({
|
33
|
+
columnsData,
|
34
|
+
treeData,
|
35
|
+
onClick = () => {},
|
36
|
+
}: TableTreeProps) => {
|
37
|
+
const [expandedNodes, setExpandedNodes] = useState<Set<ObjectProps>>(
|
38
|
+
new Set()
|
39
|
+
);
|
40
|
+
|
41
|
+
useLayoutEffect(() => {
|
42
|
+
const defaultExpanded: Set<ObjectProps> = new Set();
|
43
|
+
|
44
|
+
// Recursive function to add nodes and their children to the expanded set
|
45
|
+
const expandNodeRecursively = (node: ObjectProps) => {
|
46
|
+
if (node.expanded) {
|
47
|
+
// Add the node to the expanded set
|
48
|
+
defaultExpanded.add(node);
|
49
|
+
|
50
|
+
// If the node has children, recursively expand them as well
|
51
|
+
if (node.children) {
|
52
|
+
node.children.forEach((child: ObjectProps) =>
|
53
|
+
expandNodeRecursively(child)
|
54
|
+
);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
};
|
58
|
+
|
59
|
+
// Iterate over the treeData to check which nodes should be expanded
|
60
|
+
treeData.forEach((node) => {
|
61
|
+
expandNodeRecursively(node);
|
62
|
+
});
|
63
|
+
|
64
|
+
// Set the expanded nodes state
|
65
|
+
setExpandedNodes(defaultExpanded);
|
66
|
+
}, [treeData]);
|
67
|
+
// Function to calculate total children height
|
68
|
+
const calculateTotalChildrenHeight = (node: any): number => {
|
69
|
+
if (!node.children || node.children.length === 0) {
|
70
|
+
return 1;
|
71
|
+
}
|
72
|
+
// Start with 1 for the current node and node itself is included in the height calculation before considering its children.
|
73
|
+
let totalHeight = 1;
|
74
|
+
if (expandedNodes.has(node)) {
|
75
|
+
node.children.forEach((child: any) => {
|
76
|
+
totalHeight += calculateTotalChildrenHeight(child);
|
77
|
+
});
|
78
|
+
}
|
79
|
+
return totalHeight;
|
80
|
+
};
|
81
|
+
|
82
|
+
const TreeNode = ({ node, level, isLast }: any) => {
|
83
|
+
const nodeRef = useRef<HTMLTableRowElement | null>(null);
|
84
|
+
const [nodeHeight, setNodeHeight] = useState<number>(0);
|
85
|
+
const [totalChildrenHeight, setTotalChildrenHeight] = useState<number>(0);
|
86
|
+
|
87
|
+
const isExpanded = expandedNodes.has(node);
|
88
|
+
|
89
|
+
useLayoutEffect(() => {
|
90
|
+
if (nodeRef.current) {
|
91
|
+
const observer = new ResizeObserver(() => {
|
92
|
+
// Update nodeHeight when the size of the element changes
|
93
|
+
const currentHeight = nodeRef.current?.offsetHeight || 0;
|
94
|
+
setNodeHeight(currentHeight);
|
95
|
+
|
96
|
+
// Calculate total children height
|
97
|
+
const childrenHeight = calculateTotalChildrenHeight(node);
|
98
|
+
setTotalChildrenHeight(childrenHeight);
|
99
|
+
});
|
100
|
+
|
101
|
+
// Start observing the current node
|
102
|
+
observer.observe(nodeRef.current);
|
103
|
+
|
104
|
+
return () => {
|
105
|
+
observer.disconnect();
|
106
|
+
};
|
107
|
+
}
|
108
|
+
}, [isExpanded, node]);
|
109
|
+
|
110
|
+
const handleToggleExpand = () => {
|
111
|
+
setExpandedNodes((prev) => {
|
112
|
+
const newExpandedNodes = new Set(prev);
|
113
|
+
if (newExpandedNodes.has(node)) {
|
114
|
+
newExpandedNodes.delete(node); // Collapse the node
|
115
|
+
} else {
|
116
|
+
newExpandedNodes.add(node); // Expand the node
|
117
|
+
}
|
118
|
+
return newExpandedNodes;
|
119
|
+
});
|
120
|
+
};
|
121
|
+
const renderRowData = (columnsData: any) => {
|
122
|
+
return columnsData.map((column: any) => {
|
123
|
+
if (column.accessor === 'title') {
|
124
|
+
return (
|
125
|
+
<td className="ff-title-container">
|
126
|
+
<span className="ff-toggle-folder" onClick={handleToggleExpand}>
|
127
|
+
{node.folder && (
|
128
|
+
<span
|
129
|
+
className={`ff-toggle-arrow-icon ${
|
130
|
+
isExpanded ? 'ff-expanded' : 'ff-collapsed'
|
131
|
+
}`}
|
132
|
+
>
|
133
|
+
<Icon name="arrows_down_icon" height={12} width={12} />
|
134
|
+
</span>
|
135
|
+
)}
|
136
|
+
</span>
|
137
|
+
|
138
|
+
<div
|
139
|
+
className="ff-title"
|
140
|
+
style={{ fontWeight: node.folder ? 600 : 400 }}
|
141
|
+
onClick={(event) => onClick(event, node)}
|
142
|
+
>
|
143
|
+
{prepareData(node, column)}
|
144
|
+
</div>
|
145
|
+
</td>
|
146
|
+
);
|
147
|
+
} else if (column.accessor) {
|
148
|
+
return (
|
149
|
+
<td key={column.accessor} style={{ maxWidth: column.width }}>
|
150
|
+
{prepareData(node, column)}
|
151
|
+
</td>
|
152
|
+
);
|
153
|
+
}
|
154
|
+
});
|
155
|
+
};
|
156
|
+
return (
|
157
|
+
<>
|
158
|
+
<tr
|
159
|
+
ref={nodeRef}
|
160
|
+
className={`ff-node-li ${node.children ? 'ff-has-children' : ''} ${
|
161
|
+
isLast ? 'ff-is-last' : ''
|
162
|
+
}`}
|
163
|
+
style={
|
164
|
+
{
|
165
|
+
'--level': level,
|
166
|
+
'--node-height': `${nodeHeight}px`,
|
167
|
+
'--total-children-height': `${
|
168
|
+
totalChildrenHeight * nodeHeight
|
169
|
+
}px`,
|
170
|
+
} as React.CSSProperties
|
171
|
+
}
|
172
|
+
>
|
173
|
+
{renderRowData(columnsData)}
|
174
|
+
</tr>
|
175
|
+
|
176
|
+
{/* Render children only if the node is expanded */}
|
177
|
+
{isExpanded &&
|
178
|
+
!checkEmpty(node?.children) &&
|
179
|
+
renderTree(node.children, level + 1)}
|
180
|
+
</>
|
181
|
+
);
|
182
|
+
};
|
183
|
+
|
184
|
+
const renderTree = (nodes: any, level = 0) => {
|
185
|
+
return nodes.map((node: any, index: number) => {
|
186
|
+
const isLast = index === nodes.length - 1;
|
187
|
+
return <TreeNode key={index} node={node} level={level} isLast={isLast} />;
|
188
|
+
});
|
189
|
+
};
|
190
|
+
|
191
|
+
return (
|
192
|
+
<div className="ff-tree-container">
|
193
|
+
<table>
|
194
|
+
<thead>
|
195
|
+
<tr>
|
196
|
+
{columnsData.map((column: any, index) => (
|
197
|
+
<th
|
198
|
+
key={column.accessor}
|
199
|
+
style={
|
200
|
+
index === 0
|
201
|
+
? { minWidth: column.width }
|
202
|
+
: { width: column.width }
|
203
|
+
}
|
204
|
+
>
|
205
|
+
{column.name}
|
206
|
+
</th>
|
207
|
+
))}
|
208
|
+
</tr>
|
209
|
+
</thead>
|
210
|
+
<tbody>{renderTree(treeData)}</tbody>
|
211
|
+
</table>
|
212
|
+
</div>
|
213
|
+
);
|
214
|
+
};
|
215
|
+
|
216
|
+
export default TableTree;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.ff-parent-node-section {
|
2
|
+
display: flex;
|
3
|
+
gap: 4px;
|
4
|
+
width: 400px;
|
5
|
+
align-items: center;
|
6
|
+
|
7
|
+
.ff-folder-name-style {
|
8
|
+
width: 200px;
|
9
|
+
white-space: nowrap;
|
10
|
+
overflow: hidden;
|
11
|
+
text-overflow: ellipsis;
|
12
|
+
}
|
13
|
+
.ff-file-name-style {
|
14
|
+
@extend .ff-folder-name-style;
|
15
|
+
margin-left: 8px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.ff-action-menu {
|
19
|
+
display: flex;
|
20
|
+
gap: 6px;
|
21
|
+
}
|
22
|
+
}
|