@rovula/ui 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/bundle.css +185 -495
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +7 -7
- package/dist/cjs/types/components/Button/Button.d.ts +1 -1
- package/dist/cjs/types/components/Button/Button.styles.d.ts +1 -1
- package/dist/cjs/types/components/Button/Buttons.stories.d.ts +13 -13
- package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +60 -60
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +64 -64
- package/dist/cjs/types/components/Icon/Icon.d.ts +11 -0
- package/dist/cjs/types/components/Icon/Icon.stories.d.ts +508 -0
- package/dist/cjs/types/components/Icon/Icon.styles.d.ts +4 -0
- package/dist/cjs/types/components/Input/Input.stories.d.ts +115 -115
- package/dist/cjs/types/components/Label/Label.stories.d.ts +51 -51
- package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +54 -54
- package/dist/cjs/types/components/Search/Search.stories.d.ts +64 -64
- package/dist/cjs/types/components/Slider/Slider.d.ts +5 -0
- package/dist/cjs/types/components/Slider/Slider.stories.d.ts +303 -0
- package/dist/cjs/types/components/Switch/Switch.d.ts +4 -0
- package/dist/cjs/types/components/Switch/Switch.stories.d.ts +305 -0
- package/dist/cjs/types/components/Table/Table.stories.d.ts +7 -7
- package/dist/cjs/types/components/Tabs/Tabs.d.ts +12 -3
- package/dist/cjs/types/components/Tabs/Tabs.stories.d.ts +18 -0
- package/dist/cjs/types/components/Text/Text.d.ts +6 -5
- package/dist/cjs/types/components/Text/Text.stories.d.ts +2 -10
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +62 -62
- package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +1 -1
- package/dist/cjs/types/icons/heroIconConfig.d.ts +1 -0
- package/dist/cjs/types/icons/iconConfig.d.ts +2 -0
- package/dist/cjs/types/icons/iconRegistry.d.ts +19 -0
- package/dist/cjs/types/icons/index.d.ts +1 -0
- package/dist/cjs/types/icons/material-icon/outline/ChevronDownIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/CollapseContentIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/ContentCopyIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/ContentPasteIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/DataTableIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/ExpandCircleDownIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/ExpandCircleRightIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/ExpandCircleUpIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/ExpandContentIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/InterestsIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/SaveIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/TableChartIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/outline/index.d.ts +12 -0
- package/dist/cjs/types/icons/material-icon/solid/ChevronDownIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/CollapseContentIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/ContentCopyIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/ContentPasteIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/DataTableIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/ExpandCircleDownIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/ExpandCircleRightIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/ExpandCircleUpIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/ExpandContentIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/InterestsIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/SaveIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/TableChartIcon.d.ts +3 -0
- package/dist/cjs/types/icons/material-icon/solid/index.d.ts +12 -0
- package/dist/cjs/types/icons/materialIconConfig.d.ts +1 -0
- package/dist/cjs/types/icons/type.d.ts +8 -0
- package/dist/cjs/types/icons/utils.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/components/ActionButton/ActionButton.js +8 -19
- package/dist/components/ActionButton/ActionButton.stories.js +12 -22
- package/dist/components/ActionButton/ActionButton.styles.js +33 -8
- package/dist/components/AlertDialog/Alert.stories.js +5 -16
- package/dist/components/AlertDialog/AlertDialog.js +27 -38
- package/dist/components/Avatar/Avatar.js +7 -8
- package/dist/components/Avatar/Avatar.stories.js +11 -22
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Avatar/AvatarBase.js +9 -20
- package/dist/components/Avatar/AvatarGroup.js +9 -10
- package/dist/components/Avatar/AvatarGroup.stories.js +9 -20
- package/dist/components/Button/Button.js +4 -15
- package/dist/components/Button/Button.styles.js +1 -1
- package/dist/components/Button/Buttons.stories.js +18 -29
- package/dist/components/Calendar/Calendar.js +3 -14
- package/dist/components/Calendar/Calendar.stories.js +6 -17
- package/dist/components/Checkbox/Checkbox.js +3 -14
- package/dist/components/Checkbox/Checkbox.stories.js +12 -23
- package/dist/components/Collapsible/Collapsible.js +14 -17
- package/dist/components/Collapsible/Collapsible.stories.js +9 -20
- package/dist/components/Collapsible/Collapsible.styles.js +4 -4
- package/dist/components/Collapsible/CollapsibleContext.js +9 -10
- package/dist/components/DataTable/DataTable.js +25 -26
- package/dist/components/DataTable/DataTable.stories.js +10 -21
- package/dist/components/DatePicker/DatePicker.js +4 -20
- package/dist/components/DatePicker/DatePicker.stories.js +6 -17
- package/dist/components/Dialog/Dialog.js +22 -33
- package/dist/components/Dialog/Dialog.stories.js +8 -19
- package/dist/components/Dropdown/Dropdown.js +26 -37
- package/dist/components/Dropdown/Dropdown.stories.js +36 -55
- package/dist/components/Dropdown/Dropdown.styles.js +3 -3
- package/dist/components/Form/Form.js +26 -87
- package/dist/components/Form/Text.js +2 -3
- package/dist/components/Form/TextInput.js +2 -3
- package/dist/components/Icon/Icon.js +37 -0
- package/dist/components/Icon/Icon.stories.js +356 -0
- package/dist/components/Icon/Icon.styles.js +25 -0
- package/dist/components/Input/Input.js +9 -20
- package/dist/components/Input/Input.stories.js +6 -17
- package/dist/components/Input/Input.styles.js +1 -1
- package/dist/components/Label/Label.js +3 -14
- package/dist/components/Label/Label.stories.js +5 -16
- package/dist/components/Label/Label.styles.js +1 -1
- package/dist/components/Loading/Loading.js +5 -17
- package/dist/components/Loading/Loading.stories.js +6 -17
- package/dist/components/Navbar/Navbar.js +3 -4
- package/dist/components/Navbar/Navbar.stories.js +8 -19
- package/dist/components/Popover/Popover.js +5 -16
- package/dist/components/Popover/Popover.stories.js +5 -16
- package/dist/components/ProgressBar/ProgressBar.js +8 -9
- package/dist/components/ProgressBar/ProgressBar.stories.js +14 -27
- package/dist/components/RadioGroup/RadioGroup.js +6 -17
- package/dist/components/RadioGroup/RadioGroup.stories.js +9 -20
- package/dist/components/Search/Search.js +2 -13
- package/dist/components/Search/Search.stories.js +10 -21
- package/dist/components/Slider/Slider.js +22 -0
- package/dist/components/Slider/Slider.stories.js +33 -0
- package/dist/components/Switch/Switch.js +22 -0
- package/dist/components/Switch/Switch.stories.js +32 -0
- package/dist/components/Table/Datagrid.js +2 -3
- package/dist/components/Table/Table.js +24 -35
- package/dist/components/Table/Table.stories.js +5 -16
- package/dist/components/Tabs/Tabs.js +57 -10
- package/dist/components/Tabs/Tabs.stories.js +13 -24
- package/dist/components/Text/Text.js +19 -6
- package/dist/components/Text/Text.stories.js +12 -23
- package/dist/components/TextInput/TextInput.js +30 -41
- package/dist/components/TextInput/TextInput.stories.js +17 -28
- package/dist/components/TextInput/TextInput.styles.js +7 -7
- package/dist/components/ThemeToggle.js +3 -3
- package/dist/esm/bundle.css +185 -495
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +7 -7
- package/dist/esm/types/components/Button/Button.d.ts +1 -1
- package/dist/esm/types/components/Button/Button.styles.d.ts +1 -1
- package/dist/esm/types/components/Button/Buttons.stories.d.ts +13 -13
- package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +60 -60
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +64 -64
- package/dist/esm/types/components/Icon/Icon.d.ts +11 -0
- package/dist/esm/types/components/Icon/Icon.stories.d.ts +508 -0
- package/dist/esm/types/components/Icon/Icon.styles.d.ts +4 -0
- package/dist/esm/types/components/Input/Input.stories.d.ts +115 -115
- package/dist/esm/types/components/Label/Label.stories.d.ts +51 -51
- package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +54 -54
- package/dist/esm/types/components/Search/Search.stories.d.ts +64 -64
- package/dist/esm/types/components/Slider/Slider.d.ts +5 -0
- package/dist/esm/types/components/Slider/Slider.stories.d.ts +303 -0
- package/dist/esm/types/components/Switch/Switch.d.ts +4 -0
- package/dist/esm/types/components/Switch/Switch.stories.d.ts +305 -0
- package/dist/esm/types/components/Table/Table.stories.d.ts +7 -7
- package/dist/esm/types/components/Tabs/Tabs.d.ts +12 -3
- package/dist/esm/types/components/Tabs/Tabs.stories.d.ts +18 -0
- package/dist/esm/types/components/Text/Text.d.ts +6 -5
- package/dist/esm/types/components/Text/Text.stories.d.ts +2 -10
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +62 -62
- package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +1 -1
- package/dist/esm/types/icons/heroIconConfig.d.ts +1 -0
- package/dist/esm/types/icons/iconConfig.d.ts +2 -0
- package/dist/esm/types/icons/iconRegistry.d.ts +19 -0
- package/dist/esm/types/icons/index.d.ts +1 -0
- package/dist/esm/types/icons/material-icon/outline/ChevronDownIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/CollapseContentIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/ContentCopyIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/ContentPasteIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/DataTableIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/ExpandCircleDownIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/ExpandCircleRightIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/ExpandCircleUpIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/ExpandContentIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/InterestsIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/SaveIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/TableChartIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/outline/index.d.ts +12 -0
- package/dist/esm/types/icons/material-icon/solid/ChevronDownIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/CollapseContentIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/ContentCopyIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/ContentPasteIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/DataTableIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/ExpandCircleDownIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/ExpandCircleRightIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/ExpandCircleUpIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/ExpandContentIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/InterestsIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/SaveIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/TableChartIcon.d.ts +3 -0
- package/dist/esm/types/icons/material-icon/solid/index.d.ts +12 -0
- package/dist/esm/types/icons/materialIconConfig.d.ts +1 -0
- package/dist/esm/types/icons/type.d.ts +8 -0
- package/dist/esm/types/icons/utils.d.ts +1 -0
- package/dist/esm/types/index.d.ts +4 -0
- package/dist/icons/heroIconConfig.js +13 -0
- package/dist/icons/iconConfig.js +2 -0
- package/dist/icons/iconRegistry.js +47 -0
- package/dist/icons/index.js +1 -0
- package/dist/icons/material-icon/outline/ChevronDownIcon.js +3 -0
- package/dist/icons/material-icon/outline/CollapseContentIcon.js +3 -0
- package/dist/icons/material-icon/outline/ContentCopyIcon.js +3 -0
- package/dist/icons/material-icon/outline/ContentPasteIcon.js +3 -0
- package/dist/icons/material-icon/outline/DataTableIcon.js +3 -0
- package/dist/icons/material-icon/outline/ExpandCircleDownIcon.js +3 -0
- package/dist/icons/material-icon/outline/ExpandCircleRightIcon.js +3 -0
- package/dist/icons/material-icon/outline/ExpandCircleUpIcon.js +3 -0
- package/dist/icons/material-icon/outline/ExpandContentIcon.js +3 -0
- package/dist/icons/material-icon/outline/InterestsIcon.js +3 -0
- package/dist/icons/material-icon/outline/SaveIcon.js +3 -0
- package/dist/icons/material-icon/outline/TableChartIcon.js +3 -0
- package/dist/icons/material-icon/outline/index.js +12 -0
- package/dist/icons/material-icon/solid/ChevronDownIcon.js +3 -0
- package/dist/icons/material-icon/solid/CollapseContentIcon.js +3 -0
- package/dist/icons/material-icon/solid/ContentCopyIcon.js +3 -0
- package/dist/icons/material-icon/solid/ContentPasteIcon.js +3 -0
- package/dist/icons/material-icon/solid/DataTableIcon.js +3 -0
- package/dist/icons/material-icon/solid/ExpandCircleDownIcon.js +3 -0
- package/dist/icons/material-icon/solid/ExpandCircleRightIcon.js +3 -0
- package/dist/icons/material-icon/solid/ExpandCircleUpIcon.js +3 -0
- package/dist/icons/material-icon/solid/ExpandContentIcon.js +3 -0
- package/dist/icons/material-icon/solid/InterestsIcon.js +3 -0
- package/dist/icons/material-icon/solid/SaveIcon.js +3 -0
- package/dist/icons/material-icon/solid/TableChartIcon.js +3 -0
- package/dist/icons/material-icon/solid/index.js +12 -0
- package/dist/icons/materialIconConfig.js +13 -0
- package/dist/icons/type.js +1 -0
- package/dist/icons/utils.js +6 -0
- package/dist/index.d.ts +35 -8
- package/dist/index.js +4 -0
- package/dist/src/theme/global.css +245 -619
- package/dist/stories/ColorGroupPreview.js +6 -9
- package/dist/stories/ColorPreview.js +1 -2
- package/dist/theme/main-preset.js +24 -0
- package/dist/theme/plugins/utilities/typography.js +9 -0
- package/dist/theme/presets/colors.js +8 -1
- package/dist/theme/tokens/color.css +1 -0
- package/dist/theme/tokens/typography.css +21 -0
- package/dist/utils/cn.js +1 -5
- package/dist/utils/datetime.js +12 -12
- package/package.json +3 -1
- package/src/components/ActionButton/ActionButton.stories.tsx +32 -13
- package/src/components/ActionButton/ActionButton.styles.ts +33 -8
- package/src/components/Button/Button.tsx +1 -4
- package/src/components/Collapsible/Collapsible.tsx +1 -1
- package/src/components/DataTable/DataTable.tsx +2 -2
- package/src/components/Icon/Icon.stories.tsx +450 -0
- package/src/components/Icon/Icon.styles.ts +26 -0
- package/src/components/Icon/Icon.tsx +67 -0
- package/src/components/Slider/Slider.stories.tsx +47 -0
- package/src/components/Slider/Slider.tsx +31 -0
- package/src/components/Switch/Switch.stories.tsx +46 -0
- package/src/components/Switch/Switch.tsx +32 -0
- package/src/components/Table/Table.tsx +2 -2
- package/src/components/Tabs/Tabs.tsx +100 -13
- package/src/components/Text/Text.tsx +35 -22
- package/src/icons/heroIconConfig.ts +23 -0
- package/src/icons/iconConfig.ts +2 -0
- package/src/icons/iconRegistry.ts +76 -0
- package/src/icons/index.ts +1 -0
- package/src/icons/material-icon/outline/ChevronDownIcon.tsx +22 -0
- package/src/icons/material-icon/outline/CollapseContentIcon.tsx +20 -0
- package/src/icons/material-icon/outline/ContentCopyIcon.tsx +20 -0
- package/src/icons/material-icon/outline/ContentPasteIcon.tsx +20 -0
- package/src/icons/material-icon/outline/DataTableIcon.tsx +20 -0
- package/src/icons/material-icon/outline/ExpandCircleDownIcon.tsx +20 -0
- package/src/icons/material-icon/outline/ExpandCircleRightIcon.tsx +20 -0
- package/src/icons/material-icon/outline/ExpandCircleUpIcon.tsx +20 -0
- package/src/icons/material-icon/outline/ExpandContentIcon.tsx +20 -0
- package/src/icons/material-icon/outline/InterestsIcon.tsx +20 -0
- package/src/icons/material-icon/outline/SaveIcon.tsx +20 -0
- package/src/icons/material-icon/outline/TableChartIcon.tsx +20 -0
- package/src/icons/material-icon/outline/index.ts +12 -0
- package/src/icons/material-icon/solid/ChevronDownIcon.tsx +22 -0
- package/src/icons/material-icon/solid/CollapseContentIcon.tsx +20 -0
- package/src/icons/material-icon/solid/ContentCopyIcon.tsx +20 -0
- package/src/icons/material-icon/solid/ContentPasteIcon.tsx +20 -0
- package/src/icons/material-icon/solid/DataTableIcon.tsx +20 -0
- package/src/icons/material-icon/solid/ExpandCircleDownIcon.tsx +20 -0
- package/src/icons/material-icon/solid/ExpandCircleRightIcon.tsx +20 -0
- package/src/icons/material-icon/solid/ExpandCircleUpIcon.tsx +20 -0
- package/src/icons/material-icon/solid/ExpandContentIcon.tsx +20 -0
- package/src/icons/material-icon/solid/InterestsIcon.tsx +20 -0
- package/src/icons/material-icon/solid/SaveIcon.tsx +20 -0
- package/src/icons/material-icon/solid/TableChartIcon.tsx +20 -0
- package/src/icons/material-icon/solid/index.ts +12 -0
- package/src/icons/materialIconConfig.tsx +23 -0
- package/src/icons/type.ts +11 -0
- package/src/icons/utils.ts +6 -0
- package/src/index.ts +5 -0
- package/src/theme/main-preset.js +24 -0
- package/src/theme/plugins/utilities/typography.js +9 -0
- package/src/theme/presets/colors.js +8 -1
- package/src/theme/tokens/color.css +1 -0
- package/src/theme/tokens/typography.css +21 -0
- package/dist/cjs/types/components/ActionButton/ActionButton.styles copy.d.ts +0 -6
- package/dist/cjs/types/components/Button/Button.styles copy.d.ts +0 -7
- package/dist/components/ActionButton/ActionButton.styles copy.js +0 -90
- package/dist/components/Button/Button.styles copy.js +0 -210
- package/dist/esm/types/components/ActionButton/ActionButton.styles copy.d.ts +0 -6
- package/dist/esm/types/components/Button/Button.styles copy.d.ts +0 -7
- package/src/_theme/global copy.css +0 -761
- package/src/_theme/global.css +0 -39
- package/src/_theme/main-preset.js +0 -239
- package/src/_theme/plugins/utilities/typography.js +0 -81
- package/src/_theme/presets/colors copy 2.js +0 -319
- package/src/_theme/presets/colors copy.js +0 -229
- package/src/_theme/presets/colors.js +0 -94
- package/src/_theme/theme.d.ts +0 -69
- package/src/_theme/variables/base/button.css +0 -334
- package/src/_theme/variables/base/components copy.css +0 -19
- package/src/_theme/variables/default/colors.css +0 -292
- package/src/_theme/variables/default/typography.css +0 -178
- package/src/_theme/variables/xspector/colors.css +0 -468
- package/src/_theme/variables/xspector/typography.css +0 -178
- package/src/components/ActionButton/ActionButton.styles copy.ts +0 -95
- package/src/components/Button/Button.styles copy.ts +0 -214
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import ColorPreview from "./ColorPreview";
|
|
3
3
|
export default function ColorGroupPreview() {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const style = getComputedStyle(document.body);
|
|
5
|
+
const colorGroups = {
|
|
6
6
|
"Main Colors": {
|
|
7
7
|
prefix: "--main-color",
|
|
8
8
|
variable: [
|
|
@@ -468,11 +468,8 @@ export default function ColorGroupPreview() {
|
|
|
468
468
|
variable: ["--common-white", "--common-black"],
|
|
469
469
|
},
|
|
470
470
|
};
|
|
471
|
-
return (_jsx("div", { className: "flex flex-col gap-20", children: Object.entries(colorGroups).map(
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
return (_jsx(ColorPreview, { colorName: (_a = colorVariable.split("-").reverse()) === null || _a === void 0 ? void 0 : _a[0], colorCode: style.getPropertyValue(colorVariable).trim(), isSmall: colorVariables.variable.length > 7 }, colorVariable));
|
|
476
|
-
}) })] }, groupName));
|
|
477
|
-
}) }));
|
|
471
|
+
return (_jsx("div", { className: "flex flex-col gap-20", children: Object.entries(colorGroups).map(([groupName, colorVariables]) => (_jsxs("div", { className: "flex flex-col", children: [_jsx("h3", { className: "text-black m-0", children: groupName }), _jsx("div", { className: "flex flex-row flex-wrap gap-3", children: colorVariables.variable.map((colorVariable) => {
|
|
472
|
+
var _a;
|
|
473
|
+
return (_jsx(ColorPreview, { colorName: (_a = colorVariable.split("-").reverse()) === null || _a === void 0 ? void 0 : _a[0], colorCode: style.getPropertyValue(colorVariable).trim(), isSmall: colorVariables.variable.length > 7 }, colorVariable));
|
|
474
|
+
}) })] }, groupName))) }));
|
|
478
475
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export default function ColorPreview(
|
|
3
|
-
var colorName = _a.colorName, colorCode = _a.colorCode, isSmall = _a.isSmall;
|
|
2
|
+
export default function ColorPreview({ colorName, colorCode, isSmall, }) {
|
|
4
3
|
if (isSmall) {
|
|
5
4
|
return (_jsxs("div", { className: " flex-1 h-[120px] flex flex-col rounded-xl shadow-lg overflow-hidden", children: [_jsx("div", { className: "flex flex-1", style: { backgroundColor: colorCode } }), _jsx("div", { className: "bg-white p-3 px-3 flex flex-col justify-center items-start", children: _jsx("h3", { className: "text-black leading-3 p-0", children: colorName }) })] }));
|
|
6
5
|
}
|
|
@@ -180,6 +180,30 @@ module.exports = {
|
|
|
180
180
|
fontFamily: "var(--small5-family, 'Poppins')",
|
|
181
181
|
},
|
|
182
182
|
],
|
|
183
|
+
small6: [
|
|
184
|
+
"var(--small5-size, 10px)",
|
|
185
|
+
{
|
|
186
|
+
lineHeight: "var(--small6-line-height, 12px)",
|
|
187
|
+
fontWeight: "var(--small6-weight, 600)",
|
|
188
|
+
fontFamily: "var(--small6-family, 'Poppins')",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
small7: [
|
|
192
|
+
"var(--small7-size, 8px)",
|
|
193
|
+
{
|
|
194
|
+
lineHeight: "var(--small7-line-height, 10px)",
|
|
195
|
+
fontWeight: "var(--small7-weight, 600)",
|
|
196
|
+
fontFamily: "var(--small7-family, 'Poppins')",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
small8: [
|
|
200
|
+
"var(--small8-size, 8px)",
|
|
201
|
+
{
|
|
202
|
+
lineHeight: "var(--small8-line-height, 10px)",
|
|
203
|
+
fontWeight: "var(--small8-weight, 700)",
|
|
204
|
+
fontFamily: "var(--small8-family, 'Poppins')",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
183
207
|
label1: [
|
|
184
208
|
"var(--label-label1-size, 12px)",
|
|
185
209
|
{
|
|
@@ -65,6 +65,15 @@ module.exports = plugin(function ({ addUtilities }) {
|
|
|
65
65
|
".typography-small5": {
|
|
66
66
|
"@apply text-small5": {},
|
|
67
67
|
},
|
|
68
|
+
".typography-small6": {
|
|
69
|
+
"@apply text-small6": {},
|
|
70
|
+
},
|
|
71
|
+
".typography-small7": {
|
|
72
|
+
"@apply text-small7": {},
|
|
73
|
+
},
|
|
74
|
+
".typography-small8": {
|
|
75
|
+
"@apply text-small8": {},
|
|
76
|
+
},
|
|
68
77
|
".typography-label1": {
|
|
69
78
|
"@apply text-label1": {},
|
|
70
79
|
},
|
|
@@ -36,7 +36,7 @@ module.exports = {
|
|
|
36
36
|
...generateColorConfig("primary", "primary-ramps-primary"),
|
|
37
37
|
...generateColorConfig("secondary", "secondary-ramps-secondary"),
|
|
38
38
|
...generateColorConfig("tertiary", "tertiary-ramps-tertiary"),
|
|
39
|
-
...generateColorConfig("grey", "grey"),
|
|
39
|
+
...generateColorConfig("grey", "grey-grey"),
|
|
40
40
|
|
|
41
41
|
...generateColorConfig("grey2", "grey2-grey2", secondaryRange),
|
|
42
42
|
...generateColorConfig("info", "info-info", secondaryRange),
|
|
@@ -80,6 +80,13 @@ module.exports = {
|
|
|
80
80
|
"base-popup-foreground": withColorMixin(
|
|
81
81
|
"--base-color-popup-foreground"
|
|
82
82
|
),
|
|
83
|
+
"base-stroke": withColorMixin("--base-color-workspace-stroke"),
|
|
84
|
+
"base-workspace-stroke": withColorMixin(
|
|
85
|
+
"--base-color-workspace-stroke"
|
|
86
|
+
),
|
|
87
|
+
"base-guideline-stroke": withColorMixin(
|
|
88
|
+
"--base-color-guideline-stroke"
|
|
89
|
+
),
|
|
83
90
|
|
|
84
91
|
"common-white": withColorMixin("--common-white"),
|
|
85
92
|
"common-black": withColorMixin("--common-black"),
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
--base-color-bg2: #f5f5f5;
|
|
24
24
|
--base-color-bg3: #d8d8d8;
|
|
25
25
|
--base-color-workspace-stroke: #e2e2e2;
|
|
26
|
+
--base-color-guideline-stroke: #c5c5c5;
|
|
26
27
|
--base-color-popup: #ffffff;
|
|
27
28
|
--base-color-popup-hightlight: #343638;
|
|
28
29
|
--base-color-popup-curtain: rgba(0 0 0 / 0.6);
|
|
@@ -147,6 +147,27 @@
|
|
|
147
147
|
--small5-style: normal;
|
|
148
148
|
--small5-line-height: 12px;
|
|
149
149
|
--small5-line-height-rem: 0.75rem;
|
|
150
|
+
--small6-family: "Montserrat";
|
|
151
|
+
--small6-size: 10px;
|
|
152
|
+
--small6-size-rem: 0.625rem;
|
|
153
|
+
--small6-weight: 600;
|
|
154
|
+
--small6-style: normal;
|
|
155
|
+
--small6-line-height: 12px;
|
|
156
|
+
--small6-line-height-rem: 0.75rem;
|
|
157
|
+
--small7-family: "Montserrat";
|
|
158
|
+
--small7-size: 8px;
|
|
159
|
+
--small7-size-rem: 0.5rem;
|
|
160
|
+
--small7-weight: 600;
|
|
161
|
+
--small7-style: normal;
|
|
162
|
+
--small7-line-height: 10px;
|
|
163
|
+
--small7-line-height-rem: 0.625rem;
|
|
164
|
+
--small8-family: "Montserrat";
|
|
165
|
+
--small8-size: 8px;
|
|
166
|
+
--small8-size-rem: 0.5rem;
|
|
167
|
+
--small8-weight: 700;
|
|
168
|
+
--small8-style: normal;
|
|
169
|
+
--small8-line-height: 10px;
|
|
170
|
+
--small8-line-height-rem: 0.625rem;
|
|
150
171
|
--label-label1-family: "Montserrat";
|
|
151
172
|
--label-label1-size: 12px;
|
|
152
173
|
--label-label1-size-rem: 0.75rem;
|
package/dist/utils/cn.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { clsx } from "clsx";
|
|
2
2
|
import { twMerge } from "tailwind-merge";
|
|
3
|
-
export function cn() {
|
|
4
|
-
var inputs = [];
|
|
5
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
6
|
-
inputs[_i] = arguments[_i];
|
|
7
|
-
}
|
|
3
|
+
export function cn(...inputs) {
|
|
8
4
|
return twMerge(clsx(inputs));
|
|
9
5
|
}
|
package/dist/utils/datetime.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
const resloveTimestamp = (timestamp) => {
|
|
2
2
|
if (String(timestamp).length > 10)
|
|
3
3
|
return timestamp / 1000;
|
|
4
4
|
return timestamp;
|
|
5
5
|
};
|
|
6
6
|
// Set the time to the start of the day (00:00:00)
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const getStartDateOfDay = (date) => {
|
|
8
|
+
const startDate = new Date(date);
|
|
9
9
|
startDate.setHours(0, 0, 0, 0);
|
|
10
10
|
return startDate;
|
|
11
11
|
};
|
|
12
12
|
// Set the time to the end of the day (23:59:59.999)
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
const getEndDateOfDay = (date) => {
|
|
14
|
+
const startDate = new Date(date);
|
|
15
15
|
startDate.setHours(23, 59, 59, 999);
|
|
16
16
|
return startDate;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
const getStartEndTimestampOfDay = () => {
|
|
19
|
+
const startTime = getStartDateOfDay(new Date());
|
|
20
|
+
const endTime = getEndDateOfDay(startTime);
|
|
21
21
|
return {
|
|
22
|
-
startTime
|
|
23
|
-
endTime
|
|
22
|
+
startTime,
|
|
23
|
+
endTime,
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
const getTimestampUTC = (date) => {
|
|
27
|
+
const dateUtc = Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds());
|
|
28
28
|
return resloveTimestamp(dateUtc);
|
|
29
29
|
};
|
|
30
30
|
export { resloveTimestamp, getStartDateOfDay, getEndDateOfDay, getStartEndTimestampOfDay, getTimestampUTC, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rovula/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"main": "dist/cjs/bundle.js",
|
|
5
5
|
"module": "dist/esm/bundle.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -75,7 +75,9 @@
|
|
|
75
75
|
"@radix-ui/react-label": "^2.0.2",
|
|
76
76
|
"@radix-ui/react-popover": "^1.1.1",
|
|
77
77
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
78
|
+
"@radix-ui/react-slider": "^1.2.0",
|
|
78
79
|
"@radix-ui/react-slot": "^1.1.0",
|
|
80
|
+
"@radix-ui/react-switch": "^1.1.0",
|
|
79
81
|
"@tanstack/react-table": "^8.17.3",
|
|
80
82
|
"@tanstack/react-virtual": "^3.5.0",
|
|
81
83
|
"@types/react": "^18.3.2",
|
|
@@ -3,6 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react";
|
|
|
3
3
|
|
|
4
4
|
import ActionButton from "./ActionButton";
|
|
5
5
|
import { ArrowsUpDownIcon } from "@heroicons/react/16/solid";
|
|
6
|
+
import Icon from "../Icon/Icon";
|
|
6
7
|
|
|
7
8
|
const meta = {
|
|
8
9
|
title: "Components/ActionButton",
|
|
@@ -25,7 +26,7 @@ export default meta;
|
|
|
25
26
|
export const Default = {
|
|
26
27
|
args: {
|
|
27
28
|
variant: "solid",
|
|
28
|
-
size: "
|
|
29
|
+
size: "md",
|
|
29
30
|
},
|
|
30
31
|
render: (args) => {
|
|
31
32
|
console.log("args ", args);
|
|
@@ -33,9 +34,9 @@ export const Default = {
|
|
|
33
34
|
...args,
|
|
34
35
|
};
|
|
35
36
|
return (
|
|
36
|
-
<div className="flex flex-row
|
|
37
|
+
<div className="flex flex-row gap-2 items-start">
|
|
37
38
|
<ActionButton {...props}>
|
|
38
|
-
<
|
|
39
|
+
<Icon type="heroicons" name="arrow-left" />
|
|
39
40
|
</ActionButton>
|
|
40
41
|
</div>
|
|
41
42
|
);
|
|
@@ -53,9 +54,9 @@ export const Preview = {
|
|
|
53
54
|
<div className="flex flex-col gap-2 w-full p-20">
|
|
54
55
|
<div className="flex flex-row justify-between items-center">
|
|
55
56
|
<h6 className="w-[20px] text-white">Default:</h6>
|
|
56
|
-
<div className="flex flex-row gap-2 ">
|
|
57
|
+
<div className="flex flex-row gap-2 items-start ">
|
|
57
58
|
<ActionButton variant="solid" size="lg">
|
|
58
|
-
<
|
|
59
|
+
<Icon type="heroicons" name="arrows-up-down" />
|
|
59
60
|
</ActionButton>
|
|
60
61
|
<ActionButton variant="solid" size="md">
|
|
61
62
|
<ArrowsUpDownIcon />
|
|
@@ -63,8 +64,11 @@ export const Preview = {
|
|
|
63
64
|
<ActionButton variant="solid" size="sm">
|
|
64
65
|
<ArrowsUpDownIcon />
|
|
65
66
|
</ActionButton>
|
|
67
|
+
<ActionButton variant="solid" size="xs">
|
|
68
|
+
<ArrowsUpDownIcon />
|
|
69
|
+
</ActionButton>
|
|
66
70
|
</div>
|
|
67
|
-
<div className="flex flex-row gap-2">
|
|
71
|
+
<div className="flex flex-row gap-2 items-start">
|
|
68
72
|
<ActionButton variant="outline" size="lg">
|
|
69
73
|
<ArrowsUpDownIcon />
|
|
70
74
|
</ActionButton>
|
|
@@ -74,8 +78,11 @@ export const Preview = {
|
|
|
74
78
|
<ActionButton variant="outline" size="sm">
|
|
75
79
|
<ArrowsUpDownIcon />
|
|
76
80
|
</ActionButton>
|
|
81
|
+
<ActionButton variant="outline" size="xs">
|
|
82
|
+
<ArrowsUpDownIcon />
|
|
83
|
+
</ActionButton>
|
|
77
84
|
</div>
|
|
78
|
-
<div className="flex flex-row gap-2">
|
|
85
|
+
<div className="flex flex-row gap-2 items-start">
|
|
79
86
|
<ActionButton variant="icon" size="lg">
|
|
80
87
|
<ArrowsUpDownIcon />
|
|
81
88
|
</ActionButton>
|
|
@@ -93,7 +100,7 @@ export const Preview = {
|
|
|
93
100
|
|
|
94
101
|
<div className="flex flex-row justify-between">
|
|
95
102
|
<h6 className="w-[20px] text-white">Active:</h6>
|
|
96
|
-
<div className="flex flex-row gap-2">
|
|
103
|
+
<div className="flex flex-row gap-2 items-start">
|
|
97
104
|
<ActionButton variant="solid" size="lg" active>
|
|
98
105
|
<ArrowsUpDownIcon />
|
|
99
106
|
</ActionButton>
|
|
@@ -103,8 +110,11 @@ export const Preview = {
|
|
|
103
110
|
<ActionButton variant="solid" size="sm" active>
|
|
104
111
|
<ArrowsUpDownIcon />
|
|
105
112
|
</ActionButton>
|
|
113
|
+
<ActionButton variant="solid" size="xs" active>
|
|
114
|
+
<ArrowsUpDownIcon />
|
|
115
|
+
</ActionButton>
|
|
106
116
|
</div>
|
|
107
|
-
<div className="flex flex-row gap-2">
|
|
117
|
+
<div className="flex flex-row gap-2 items-start">
|
|
108
118
|
<ActionButton variant="outline" size="lg" active>
|
|
109
119
|
<ArrowsUpDownIcon />
|
|
110
120
|
</ActionButton>
|
|
@@ -114,8 +124,11 @@ export const Preview = {
|
|
|
114
124
|
<ActionButton variant="outline" size="sm" active>
|
|
115
125
|
<ArrowsUpDownIcon />
|
|
116
126
|
</ActionButton>
|
|
127
|
+
<ActionButton variant="outline" size="xs" active>
|
|
128
|
+
<ArrowsUpDownIcon />
|
|
129
|
+
</ActionButton>
|
|
117
130
|
</div>
|
|
118
|
-
<div className="flex flex-row gap-2">
|
|
131
|
+
<div className="flex flex-row gap-2 items-start">
|
|
119
132
|
<ActionButton variant="icon" size="lg" active>
|
|
120
133
|
<ArrowsUpDownIcon />
|
|
121
134
|
</ActionButton>
|
|
@@ -133,7 +146,7 @@ export const Preview = {
|
|
|
133
146
|
|
|
134
147
|
<div className="flex flex-row justify-between">
|
|
135
148
|
<h6 className="w-[20px] text-white">Disabled:</h6>
|
|
136
|
-
<div className="flex flex-row gap-2">
|
|
149
|
+
<div className="flex flex-row gap-2 items-start">
|
|
137
150
|
<ActionButton variant="solid" size="lg" disabled>
|
|
138
151
|
<ArrowsUpDownIcon />
|
|
139
152
|
</ActionButton>
|
|
@@ -143,8 +156,11 @@ export const Preview = {
|
|
|
143
156
|
<ActionButton variant="solid" size="sm" disabled>
|
|
144
157
|
<ArrowsUpDownIcon />
|
|
145
158
|
</ActionButton>
|
|
159
|
+
<ActionButton variant="solid" size="xs" disabled>
|
|
160
|
+
<ArrowsUpDownIcon />
|
|
161
|
+
</ActionButton>
|
|
146
162
|
</div>
|
|
147
|
-
<div className="flex flex-row gap-2">
|
|
163
|
+
<div className="flex flex-row gap-2 items-start">
|
|
148
164
|
<ActionButton variant="outline" size="lg" disabled>
|
|
149
165
|
<ArrowsUpDownIcon />
|
|
150
166
|
</ActionButton>
|
|
@@ -154,8 +170,11 @@ export const Preview = {
|
|
|
154
170
|
<ActionButton variant="outline" size="sm" disabled>
|
|
155
171
|
<ArrowsUpDownIcon />
|
|
156
172
|
</ActionButton>
|
|
173
|
+
<ActionButton variant="outline" size="xs" disabled>
|
|
174
|
+
<ArrowsUpDownIcon />
|
|
175
|
+
</ActionButton>
|
|
157
176
|
</div>
|
|
158
|
-
<div className="flex flex-row gap-2">
|
|
177
|
+
<div className="flex flex-row gap-2 items-start">
|
|
159
178
|
<ActionButton variant="icon" size="lg" disabled>
|
|
160
179
|
<ArrowsUpDownIcon />
|
|
161
180
|
</ActionButton>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
|
|
3
3
|
export const actionButtonVariants = cva(
|
|
4
|
-
["
|
|
4
|
+
["box-border flex items-center justify-center"],
|
|
5
5
|
{
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
@@ -24,10 +24,10 @@ export const actionButtonVariants = cva(
|
|
|
24
24
|
],
|
|
25
25
|
},
|
|
26
26
|
size: {
|
|
27
|
-
xs: "
|
|
28
|
-
sm: "
|
|
29
|
-
md: "
|
|
30
|
-
lg: "
|
|
27
|
+
xs: "",
|
|
28
|
+
sm: "",
|
|
29
|
+
md: "",
|
|
30
|
+
lg: "",
|
|
31
31
|
},
|
|
32
32
|
disabled: {
|
|
33
33
|
false: "",
|
|
@@ -64,20 +64,45 @@ export const actionButtonVariants = cva(
|
|
|
64
64
|
"active:bg-action-button-icon-active-pressed active:border-action-button-icon-active-pressed active:text-action-button-icon-active-pressed active:fill-action-button-icon-active-pressed",
|
|
65
65
|
],
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
size: "lg",
|
|
69
|
+
variant: ["solid", "outline"],
|
|
70
|
+
className: "px-lg py-md [&_svg]:size-[32px] rounded-md",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
size: "md",
|
|
74
|
+
variant: ["solid", "outline"],
|
|
75
|
+
className: "px-md py-sm [&_svg]:size-[22px] rounded-md",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
size: "sm",
|
|
79
|
+
variant: ["solid", "outline"],
|
|
80
|
+
className: "px-sm py-xs [&_svg]:size-[22px] rounded-sm",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
size: "xs",
|
|
84
|
+
variant: ["solid", "outline"],
|
|
85
|
+
className: "px-xs py-xxs [&_svg]:size-[14px] rounded-xs",
|
|
86
|
+
},
|
|
67
87
|
{
|
|
68
88
|
size: "lg",
|
|
69
89
|
variant: "icon",
|
|
70
|
-
className: "
|
|
90
|
+
className: "px-lg py-lg [&_svg]:size-[32px] rounded-full",
|
|
71
91
|
},
|
|
72
92
|
{
|
|
73
93
|
size: "md",
|
|
74
94
|
variant: "icon",
|
|
75
|
-
className: "
|
|
95
|
+
className: "px-md py-md [&_svg]:size-[22px] rounded-full",
|
|
76
96
|
},
|
|
77
97
|
{
|
|
78
98
|
size: "sm",
|
|
79
99
|
variant: "icon",
|
|
80
|
-
className: "
|
|
100
|
+
className: "px-xs py-xs [&_svg]:size-[22px] rounded-full",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
size: "xs",
|
|
104
|
+
variant: "icon",
|
|
105
|
+
className: "px-xxs py-xxs [&_svg]:size-[14px] rounded-full",
|
|
81
106
|
},
|
|
82
107
|
{
|
|
83
108
|
variant: "solid",
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { ReactElement, forwardRef } from "react";
|
|
2
2
|
import { buttonVariants } from "./Button.styles";
|
|
3
3
|
import { cn } from "@/utils/cn";
|
|
4
|
-
import { title } from "process";
|
|
5
|
-
import { ref } from "yup";
|
|
6
4
|
import Loading from "../Loading/Loading";
|
|
7
|
-
import { EyeIcon } from "@heroicons/react/16/solid";
|
|
8
5
|
|
|
9
6
|
export type ButtonProps = {
|
|
10
7
|
title?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { forwardRef,
|
|
1
|
+
import React, { forwardRef, useEffect, useRef, useState } from "react";
|
|
2
2
|
import { ChevronDownIcon } from "@heroicons/react/16/solid";
|
|
3
3
|
import { CollapsibleProvider, useCollapsible } from "./CollapsibleContext";
|
|
4
4
|
import { cn } from "@/utils/cn";
|
|
@@ -127,7 +127,7 @@ export function DataTable<TData, TValue>({
|
|
|
127
127
|
desc: <ArrowDownIcon className="ml-3 h-4 w-4" />,
|
|
128
128
|
}[header.column.getIsSorted() as string] ??
|
|
129
129
|
(header.column.getCanSort() ? (
|
|
130
|
-
<ArrowsUpDownIcon className="ml-3 h-4 w-4 text-
|
|
130
|
+
<ArrowsUpDownIcon className="ml-3 h-4 w-4 text-text-grey-light" />
|
|
131
131
|
) : null)}
|
|
132
132
|
</div>
|
|
133
133
|
</TableHead>
|
|
@@ -155,7 +155,7 @@ export function DataTable<TData, TValue>({
|
|
|
155
155
|
<TableRow className="h-full self-stretch">
|
|
156
156
|
<TableCell
|
|
157
157
|
colSpan={columns.length}
|
|
158
|
-
className="typography-body1 text-
|
|
158
|
+
className="typography-body1 text-text-grey-medium text-center h-full"
|
|
159
159
|
>
|
|
160
160
|
<div className="flex flex-1 h-full flex-col items-center justify-center gap-3">
|
|
161
161
|
<ClipboardDocumentListIcon className="w-8 text-secondary-120" />
|