@taiv/ui 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons.d.ts +7 -1
- package/dist/assets/icons.d.ts.map +1 -1
- package/dist/assets/icons.js +6 -1
- package/dist/assets/svgs/GoogleIcon.d.ts +5 -0
- package/dist/assets/svgs/GoogleIcon.d.ts.map +1 -0
- package/dist/assets/svgs/GoogleIcon.js +2 -0
- package/dist/components/Data/Cards/ChartCard/ChartCard.d.ts.map +1 -1
- package/dist/components/Data/Cards/ChartCard/ChartCard.js +3 -2
- package/dist/components/Data/Cards/PieChartCard/PieChartCard.d.ts.map +1 -1
- package/dist/components/Data/Cards/PieChartCard/PieChartCard.js +2 -1
- package/dist/components/Data/Cards/StatsCard/StatsCard.d.ts.map +1 -1
- package/dist/components/Data/Cards/StatsCard/StatsCard.js +2 -1
- package/dist/components/Data/Chart/Chart.d.ts.map +1 -1
- package/dist/components/Data/Chart/Chart.js +5 -4
- package/dist/components/Data/Chart/Chart.stories.d.ts.map +1 -1
- package/dist/components/Data/Chart/Chart.stories.js +6 -5
- package/dist/components/Data/CheckboxTable/CheckboxTable.d.ts.map +1 -1
- package/dist/components/Data/CheckboxTable/CheckboxTable.js +15 -14
- package/dist/components/Data/PieChart/PieChart.d.ts.map +1 -1
- package/dist/components/Data/PieChart/PieChart.js +4 -3
- package/dist/components/Data/PieChart/PieChart.stories.d.ts.map +1 -1
- package/dist/components/Data/PieChart/PieChart.stories.js +4 -3
- package/dist/components/Data/Progress/Progress.stories.d.ts.map +1 -1
- package/dist/components/Data/Progress/Progress.stories.js +7 -6
- package/dist/components/Data/RemovableItemList/RemovableItemList.d.ts.map +1 -1
- package/dist/components/Data/RemovableItemList/RemovableItemList.js +4 -3
- package/dist/components/Info/Badge/Badge.stories.d.ts.map +1 -1
- package/dist/components/Info/Badge/Badge.stories.js +5 -4
- package/dist/components/Info/Badge/sizes.d.ts.map +1 -1
- package/dist/components/Info/Badge/sizes.js +7 -6
- package/dist/components/Info/Badge/variants.d.ts.map +1 -1
- package/dist/components/Info/Badge/variants.js +3 -2
- package/dist/components/Info/InfoCard/InfoCard.d.ts.map +1 -1
- package/dist/components/Info/InfoCard/InfoCard.js +2 -1
- package/dist/components/Info/Modals/FormModal/FormModal.d.ts.map +1 -1
- package/dist/components/Info/Modals/FormModal/FormModal.js +12 -11
- package/dist/components/Info/Modals/FormModal/FormModal.stories.js +11 -11
- package/dist/components/Info/Modals/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Info/Modals/Modal/Modal.js +7 -6
- package/dist/components/Info/Modals/Modal/Modal.stories.js +1 -1
- package/dist/components/Info/Modals/Modals.stories.d.ts.map +1 -1
- package/dist/components/Info/Modals/Modals.stories.js +4 -3
- package/dist/components/Info/Notifications/NotificationProvider/NotificationProvider.d.ts.map +1 -1
- package/dist/components/Info/Notifications/NotificationProvider/NotificationProvider.js +7 -6
- package/dist/components/Info/Notifications/Notifications.stories.d.ts.map +1 -1
- package/dist/components/Info/Notifications/Notifications.stories.js +3 -2
- package/dist/components/Info/Tooltips/FormulaTooltip/FormulaTooltip.d.ts.map +1 -1
- package/dist/components/Info/Tooltips/FormulaTooltip/FormulaTooltip.js +2 -1
- package/dist/components/Info/Tooltips/InfoTooltip/InfoTooltip.d.ts +4 -4
- package/dist/components/Info/Tooltips/InfoTooltip/InfoTooltip.js +4 -4
- package/dist/components/Info/Tooltips/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Info/Tooltips/Tooltip/Tooltip.js +2 -1
- package/dist/components/Inputs/Buttons/Button/Button.js +2 -2
- package/dist/components/Inputs/Buttons/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/Button/Button.stories.js +5 -4
- package/dist/components/Inputs/Buttons/Button/sizes.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/Button/sizes.js +4 -3
- package/dist/components/Inputs/Buttons/IconButton/IconButton.js +2 -2
- package/dist/components/Inputs/Buttons/IconButton/IconButton.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/IconButton/IconButton.stories.js +7 -6
- package/dist/components/Inputs/Buttons/IconButton/sizes.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/IconButton/sizes.js +4 -3
- package/dist/components/Inputs/Buttons/SSOButton/SSOButton.d.ts +35 -0
- package/dist/components/Inputs/Buttons/SSOButton/SSOButton.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/SSOButton/SSOButton.js +37 -0
- package/dist/components/Inputs/Buttons/SSOButton/SSOButton.stories.d.ts +14 -0
- package/dist/components/Inputs/Buttons/SSOButton/SSOButton.stories.d.ts.map +1 -0
- package/dist/components/Inputs/Buttons/SSOButton/SSOButton.stories.js +121 -0
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.stories.js +4 -3
- package/dist/components/Inputs/Buttons/shared/variants.d.ts +29 -29
- package/dist/components/Inputs/Buttons/shared/variants.d.ts.map +1 -1
- package/dist/components/Inputs/Buttons/shared/variants.js +6 -5
- package/dist/components/Inputs/Controls/Checkbox/Checkbox.stories.js +3 -3
- package/dist/components/Inputs/Controls/Radio/Radio.js +1 -1
- package/dist/components/Inputs/Controls/Radio/Radio.stories.js +3 -3
- package/dist/components/Inputs/Controls/RadioList/RadioList.d.ts.map +1 -1
- package/dist/components/Inputs/Controls/RadioList/RadioList.js +3 -2
- package/dist/components/Inputs/Controls/RadioList/RadioList.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Controls/RadioList/RadioList.stories.js +3 -2
- package/dist/components/Inputs/Controls/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/Inputs/Controls/SegmentedControl/SegmentedControl.stories.js +6 -5
- package/dist/components/Inputs/Controls/Toggle/Toggle.d.ts +4 -4
- package/dist/components/Inputs/Controls/Toggle/Toggle.js +5 -5
- package/dist/components/Inputs/Controls/Toggle/Toggle.stories.js +4 -4
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.js +5 -4
- package/dist/components/Inputs/Dates/DatePicker/DatePicker.stories.js +4 -4
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.d.ts.map +1 -1
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.js +6 -5
- package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.stories.js +5 -5
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.js +3 -3
- package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.stories.js +5 -5
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.js +7 -6
- package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.stories.js +5 -5
- package/dist/components/Inputs/Dropdowns/Select/Select.d.ts.map +1 -1
- package/dist/components/Inputs/Dropdowns/Select/Select.js +6 -5
- package/dist/components/Inputs/Dropdowns/Select/Select.stories.js +4 -4
- package/dist/components/Inputs/Dropdowns/shared/sizes.js +18 -18
- package/dist/components/Inputs/Sliders/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Inputs/Sliders/Slider/Slider.js +15 -14
- package/dist/components/Inputs/Sliders/VolumeSlider/VolumeSlider.d.ts.map +1 -1
- package/dist/components/Inputs/Sliders/VolumeSlider/VolumeSlider.js +5 -4
- package/dist/components/Inputs/Sliders/shared/sizes.d.ts +9 -9
- package/dist/components/Inputs/Sliders/shared/sizes.js +9 -9
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.js +5 -4
- package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.stories.js +5 -5
- package/dist/components/Inputs/TextInputs/NumberInput/NumberInput.js +10 -10
- package/dist/components/Inputs/TextInputs/NumberInput/NumberInput.stories.js +5 -5
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.js +8 -8
- package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.stories.js +5 -5
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.d.ts.map +1 -1
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.js +4 -3
- package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.stories.js +5 -5
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.js +6 -5
- package/dist/components/Inputs/TextInputs/TextArea/TextArea.stories.js +5 -5
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.js +5 -5
- package/dist/components/Inputs/TextInputs/TextInput/TextInput.stories.js +5 -5
- package/dist/components/Inputs/TextInputs/shared/sizes.d.ts +6 -6
- package/dist/components/Inputs/TextInputs/shared/sizes.js +3 -3
- package/dist/components/Layout/Box/Box.stories.d.ts.map +1 -1
- package/dist/components/Layout/Box/Box.stories.js +3 -2
- package/dist/components/Layout/Card/Card.d.ts.map +1 -1
- package/dist/components/Layout/Card/Card.js +1 -1
- package/dist/components/Layout/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/Layout/Card/Card.stories.js +2 -1
- package/dist/components/Layout/Center/Center.stories.d.ts.map +1 -1
- package/dist/components/Layout/Center/Center.stories.js +2 -1
- package/dist/components/Layout/Frame/Frame.js +1 -1
- package/dist/components/Layout/Frame/Frame.stories.d.ts.map +1 -1
- package/dist/components/Layout/Frame/Frame.stories.js +3 -2
- package/dist/components/Layout/Grid/Grid.stories.d.ts.map +1 -1
- package/dist/components/Layout/Grid/Grid.stories.js +2 -1
- package/dist/components/Layout/Group/Group.stories.d.ts.map +1 -1
- package/dist/components/Layout/Group/Group.stories.js +5 -4
- package/dist/components/Layout/Loader/Loader.stories.d.ts.map +1 -1
- package/dist/components/Layout/Loader/Loader.stories.js +3 -2
- package/dist/components/Layout/SectionCard/SectionCard.js +1 -1
- package/dist/components/Layout/SectionCard/SectionCard.stories.js +2 -2
- package/dist/components/Layout/Stack/Stack.stories.d.ts.map +1 -1
- package/dist/components/Layout/Stack/Stack.stories.js +3 -2
- package/dist/components/Layout/Table/Table.stories.d.ts.map +1 -1
- package/dist/components/Layout/Table/Table.stories.js +4 -3
- package/dist/components/Layout/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Layout/Tabs/Tabs.js +5 -4
- package/dist/components/Layout/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/components/Layout/Tabs/Tabs.stories.js +6 -5
- package/dist/components/Misc/IconBadge/IconBadge.js +1 -1
- package/dist/components/Misc/Stepper/Step.d.ts +16 -0
- package/dist/components/Misc/Stepper/Step.d.ts.map +1 -0
- package/dist/components/Misc/Stepper/Step.js +7 -0
- package/dist/components/Misc/Stepper/Step.stories.d.ts +477 -0
- package/dist/components/Misc/Stepper/Step.stories.d.ts.map +1 -0
- package/dist/components/Misc/Stepper/Step.stories.js +83 -0
- package/dist/components/Misc/Stepper/Stepper.d.ts +10 -0
- package/dist/components/Misc/Stepper/Stepper.d.ts.map +1 -0
- package/dist/components/Misc/Stepper/Stepper.js +72 -0
- package/dist/components/Misc/Stepper/Stepper.stories.d.ts +13 -0
- package/dist/components/Misc/Stepper/Stepper.stories.d.ts.map +1 -0
- package/dist/components/Misc/Stepper/Stepper.stories.js +126 -0
- package/dist/components/Misc/Stepper/variants.d.ts +54 -0
- package/dist/components/Misc/Stepper/variants.d.ts.map +1 -0
- package/dist/components/Misc/Stepper/variants.js +48 -0
- package/dist/components/Typography/CollapsibleText/CollapsibleText.d.ts.map +1 -1
- package/dist/components/Typography/CollapsibleText/CollapsibleText.js +2 -1
- package/dist/components/Typography/CollapsibleText/CollapsibleText.stories.d.ts.map +1 -1
- package/dist/components/Typography/CollapsibleText/CollapsibleText.stories.js +4 -3
- package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.d.ts.map +1 -1
- package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.js +2 -1
- package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.stories.d.ts.map +1 -1
- package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.stories.js +4 -3
- package/dist/components/Typography/Formula/Formula.d.ts.map +1 -1
- package/dist/components/Typography/Formula/Formula.js +3 -2
- package/dist/components/Typography/Formula/Formula.stories.js +2 -2
- package/dist/components/Typography/Fraction/Fraction.d.ts.map +1 -1
- package/dist/components/Typography/Fraction/Fraction.js +2 -1
- package/dist/components/Typography/Fraction/Fraction.stories.d.ts.map +1 -1
- package/dist/components/Typography/Fraction/Fraction.stories.js +2 -1
- package/dist/components/Typography/Text/Text.stories.js +1 -1
- package/dist/components/Typography/Title/Title.stories.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/constants/breakpoints.d.ts +1 -1
- package/dist/constants/breakpoints.js +1 -1
- package/dist/constants/font.js +10 -10
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +1 -0
- package/dist/constants/spacing.d.ts +12 -0
- package/dist/constants/spacing.d.ts.map +1 -0
- package/dist/constants/spacing.js +11 -0
- package/dist/docs/AIGeneratedBanner.js +1 -1
- package/dist/docs/design/Colors.stories.d.ts.map +1 -1
- package/dist/docs/design/Colors.stories.js +6 -5
- package/dist/docs/design/Spacing.stories.d.ts +6 -0
- package/dist/docs/design/Spacing.stories.d.ts.map +1 -0
- package/dist/docs/design/Spacing.stories.js +24 -0
- package/dist/hooks/useConfirmationModal.d.ts.map +1 -1
- package/dist/hooks/useConfirmationModal.js +10 -9
- package/dist/hooks/useInfoModal.d.ts.map +1 -1
- package/dist/hooks/useInfoModal.js +10 -9
- package/dist/hooks/useMediaQuery.d.ts +2 -2
- package/dist/hooks/useMediaQuery.js +6 -6
- package/package.json +38 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/TextInputs/TextArea/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,aAAa,IAAI,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/TextInputs/TextArea/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+B,aAAa,IAAI,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,KAAK,aAAa,GAAG,oBAAoB,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,QAAQ,GAAI,8CAA6D,aAAa,4CAoC3F,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -2,15 +2,16 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Textarea as MantineTextarea } from '@mantine/core';
|
|
3
3
|
import { neutral, red } from '../../../../constants/colors';
|
|
4
4
|
import { fontBase } from '../../../../constants/font';
|
|
5
|
+
import { spacing } from '../../../../constants/spacing';
|
|
5
6
|
import { componentSizes } from '../shared/sizes';
|
|
6
7
|
const TextArea = ({ size = 'md', width, fullWidth = false, styles, ...props }) => {
|
|
7
8
|
const selectedSize = componentSizes[size];
|
|
8
|
-
const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}
|
|
9
|
+
const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}px`;
|
|
9
10
|
const style = {
|
|
10
11
|
input: {
|
|
11
|
-
minHeight: `${selectedSize.height}
|
|
12
|
+
minHeight: `${selectedSize.height}px`,
|
|
12
13
|
fontSize: selectedSize.fontSize,
|
|
13
|
-
padding:
|
|
14
|
+
padding: `${spacing.sm} 10px`,
|
|
14
15
|
...fontBase,
|
|
15
16
|
color: neutral[200],
|
|
16
17
|
transition: 'all 200ms ease-in-out',
|
|
@@ -26,12 +27,12 @@ const TextArea = ({ size = 'md', width, fullWidth = false, styles, ...props }) =
|
|
|
26
27
|
},
|
|
27
28
|
label: {
|
|
28
29
|
...fontBase,
|
|
29
|
-
fontSize: `calc(${selectedSize.fontSize} - 0.
|
|
30
|
+
fontSize: `calc(${selectedSize.fontSize} - 0.5px)`,
|
|
30
31
|
color: neutral[200],
|
|
31
32
|
},
|
|
32
33
|
error: {
|
|
33
34
|
...fontBase,
|
|
34
|
-
fontSize: `calc(${selectedSize.fontSize} - 0.
|
|
35
|
+
fontSize: `calc(${selectedSize.fontSize} - 0.5px)`,
|
|
35
36
|
color: red[200],
|
|
36
37
|
},
|
|
37
38
|
...styles,
|
|
@@ -139,7 +139,7 @@ export const Default = {
|
|
|
139
139
|
},
|
|
140
140
|
};
|
|
141
141
|
export const Variants = {
|
|
142
|
-
render: () => (_jsxs(Group, { gap: "
|
|
142
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextArea, { label: "Basic TextArea" }), _jsx(TextArea, { label: "With Placeholder", placeholder: "Enter your text here..." }), _jsx(TextArea, { label: "With Description", description: "This is a description" })] })),
|
|
143
143
|
parameters: {
|
|
144
144
|
docs: {
|
|
145
145
|
source: {
|
|
@@ -149,7 +149,7 @@ export const Variants = {
|
|
|
149
149
|
},
|
|
150
150
|
};
|
|
151
151
|
export const Sizes = {
|
|
152
|
-
render: () => (_jsxs(Group, { gap: "
|
|
152
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextArea, { size: "sm", label: "Small TextArea", placeholder: "Small textarea" }), _jsx(TextArea, { size: "md", label: "Medium TextArea (Default)", placeholder: "Medium textarea" }), _jsx(TextArea, { size: "lg", label: "Large TextArea", placeholder: "Large textarea" })] })),
|
|
153
153
|
parameters: {
|
|
154
154
|
docs: {
|
|
155
155
|
source: {
|
|
@@ -160,7 +160,7 @@ export const Sizes = {
|
|
|
160
160
|
},
|
|
161
161
|
};
|
|
162
162
|
export const States = {
|
|
163
|
-
render: () => (_jsxs(Group, { gap: "
|
|
163
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextArea, { label: "Normal TextArea" }), _jsx(TextArea, { label: "Disabled TextArea", disabled: true }), _jsx(TextArea, { label: "Required TextArea", required: true }), _jsx(TextArea, { label: "TextArea with Description", description: "Please provide detailed information" }), _jsx(TextArea, { label: "TextArea with Error", error: "This field is required" })] })),
|
|
164
164
|
parameters: {
|
|
165
165
|
docs: {
|
|
166
166
|
source: {
|
|
@@ -170,7 +170,7 @@ export const States = {
|
|
|
170
170
|
},
|
|
171
171
|
};
|
|
172
172
|
export const AdditionalFunctionality = {
|
|
173
|
-
render: () => (_jsxs(Group, { gap: "
|
|
173
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextArea, { label: "Auto-resize TextArea", autosize: true, placeholder: "This will grow as you type..." }), _jsx(TextArea, { label: "Fixed Rows", minRows: 3, maxRows: 6, placeholder: "Fixed height textarea" }), _jsx(TextArea, { label: "Custom Width TextArea", width: "400px", placeholder: "Custom width textarea" })] })),
|
|
174
174
|
parameters: {
|
|
175
175
|
docs: {
|
|
176
176
|
source: {
|
|
@@ -195,7 +195,7 @@ export const AdditionalFunctionality = {
|
|
|
195
195
|
},
|
|
196
196
|
};
|
|
197
197
|
export const CustomStyling = {
|
|
198
|
-
render: () => (_jsxs(Group, { gap: "
|
|
198
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextArea, { label: "Custom Styled TextArea", styles: {
|
|
199
199
|
input: {
|
|
200
200
|
borderColor: '#ff6b6b',
|
|
201
201
|
'&:focus': {
|
|
@@ -5,12 +5,12 @@ import { fontBase } from '../../../../constants/font';
|
|
|
5
5
|
import { componentSizes } from '../shared/sizes';
|
|
6
6
|
const TextInput = ({ size = 'md', width, fullWidth = false, styles, ...props }) => {
|
|
7
7
|
const selectedSize = componentSizes[size];
|
|
8
|
-
const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}
|
|
8
|
+
const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}px`;
|
|
9
9
|
const style = {
|
|
10
10
|
input: {
|
|
11
|
-
height: `${selectedSize.height}
|
|
11
|
+
height: `${selectedSize.height}px`,
|
|
12
12
|
fontSize: selectedSize.fontSize,
|
|
13
|
-
padding: '0
|
|
13
|
+
padding: '0 10px',
|
|
14
14
|
...fontBase,
|
|
15
15
|
color: neutral[200],
|
|
16
16
|
transition: 'all 200ms ease-in-out',
|
|
@@ -25,12 +25,12 @@ const TextInput = ({ size = 'md', width, fullWidth = false, styles, ...props })
|
|
|
25
25
|
},
|
|
26
26
|
label: {
|
|
27
27
|
...fontBase,
|
|
28
|
-
fontSize: `calc(${selectedSize.fontSize} - 0.
|
|
28
|
+
fontSize: `calc(${selectedSize.fontSize} - 0.5px)`,
|
|
29
29
|
color: neutral[200],
|
|
30
30
|
},
|
|
31
31
|
error: {
|
|
32
32
|
...fontBase,
|
|
33
|
-
fontSize: `calc(${selectedSize.fontSize} - 0.
|
|
33
|
+
fontSize: `calc(${selectedSize.fontSize} - 0.5px)`,
|
|
34
34
|
color: red[200]
|
|
35
35
|
},
|
|
36
36
|
...styles,
|
|
@@ -126,7 +126,7 @@ export const Default = {
|
|
|
126
126
|
},
|
|
127
127
|
};
|
|
128
128
|
export const Variants = {
|
|
129
|
-
render: () => (_jsxs(Group, { gap: "
|
|
129
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextInput, { label: "Basic Text Input" }), _jsx(TextInput, { label: "With Placeholder", placeholder: "Enter your text here" }), _jsx(TextInput, { label: "With Description", description: "This is a description" })] })),
|
|
130
130
|
parameters: {
|
|
131
131
|
docs: {
|
|
132
132
|
source: {
|
|
@@ -136,7 +136,7 @@ export const Variants = {
|
|
|
136
136
|
},
|
|
137
137
|
};
|
|
138
138
|
export const Sizes = {
|
|
139
|
-
render: () => (_jsxs(Group, { gap: "
|
|
139
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextInput, { size: "sm", label: "Small Input", placeholder: "Small text input" }), _jsx(TextInput, { size: "md", label: "Medium Input (Default)", placeholder: "Medium text input" }), _jsx(TextInput, { size: "lg", label: "Large Input", placeholder: "Large text input" })] })),
|
|
140
140
|
parameters: {
|
|
141
141
|
docs: {
|
|
142
142
|
source: {
|
|
@@ -147,7 +147,7 @@ export const Sizes = {
|
|
|
147
147
|
},
|
|
148
148
|
};
|
|
149
149
|
export const States = {
|
|
150
|
-
render: () => (_jsxs(Group, { gap: "
|
|
150
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextInput, { label: "Normal Text Input" }), _jsx(TextInput, { label: "Disabled Text Input", disabled: true }), _jsx(TextInput, { label: "Required Text Input", required: true }), _jsx(TextInput, { label: "Text Input with Description", description: "Please enter your information" }), _jsx(TextInput, { label: "Text Input with Error", error: "This field is required" })] })),
|
|
151
151
|
parameters: {
|
|
152
152
|
docs: {
|
|
153
153
|
source: {
|
|
@@ -157,7 +157,7 @@ export const States = {
|
|
|
157
157
|
},
|
|
158
158
|
};
|
|
159
159
|
export const AdditionalFunctionality = {
|
|
160
|
-
render: () => (_jsxs(Group, { gap: "
|
|
160
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextInput, { label: "Email Address", description: "We'll never share your email", placeholder: "your@email.com", type: "email" }), _jsx(TextInput, { label: "Password", type: "password", placeholder: "Enter password", error: "Password must be at least 8 characters" }), _jsx(TextInput, { label: "Custom Width", placeholder: "Custom width input", width: "300px" })] })),
|
|
161
161
|
parameters: {
|
|
162
162
|
docs: {
|
|
163
163
|
source: {
|
|
@@ -183,7 +183,7 @@ export const AdditionalFunctionality = {
|
|
|
183
183
|
},
|
|
184
184
|
};
|
|
185
185
|
export const CustomStyling = {
|
|
186
|
-
render: () => (_jsxs(Group, { gap: "
|
|
186
|
+
render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(TextInput, { label: "Custom Styled Text Input", styles: {
|
|
187
187
|
input: {
|
|
188
188
|
borderColor: '#ff6b6b',
|
|
189
189
|
'&:focus': {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
export declare const componentSizes: {
|
|
2
2
|
readonly sm: {
|
|
3
|
-
readonly width:
|
|
3
|
+
readonly width: 200;
|
|
4
4
|
readonly minRows: 3;
|
|
5
5
|
readonly maxRows: 6;
|
|
6
6
|
readonly fontSize: string;
|
|
7
7
|
readonly lineHeight: string;
|
|
8
|
-
readonly height:
|
|
8
|
+
readonly height: 32;
|
|
9
9
|
};
|
|
10
10
|
readonly md: {
|
|
11
|
-
readonly width:
|
|
11
|
+
readonly width: 328;
|
|
12
12
|
readonly minRows: 4;
|
|
13
13
|
readonly maxRows: 8;
|
|
14
14
|
readonly fontSize: string;
|
|
15
15
|
readonly lineHeight: string;
|
|
16
|
-
readonly height:
|
|
16
|
+
readonly height: 40;
|
|
17
17
|
};
|
|
18
18
|
readonly lg: {
|
|
19
|
-
readonly width:
|
|
19
|
+
readonly width: 420;
|
|
20
20
|
readonly minRows: 6;
|
|
21
21
|
readonly maxRows: 9;
|
|
22
22
|
readonly fontSize: string;
|
|
23
23
|
readonly lineHeight: string;
|
|
24
|
-
readonly height:
|
|
24
|
+
readonly height: 48;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=sizes.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inputFontSize } from '../../../../constants/font';
|
|
2
2
|
export const componentSizes = {
|
|
3
|
-
sm: { height:
|
|
4
|
-
md: { height:
|
|
5
|
-
lg: { height:
|
|
3
|
+
sm: { height: 32, ...inputFontSize['sm'], width: 200, minRows: 3, maxRows: 6 },
|
|
4
|
+
md: { height: 40, ...inputFontSize['md'], width: 328, minRows: 4, maxRows: 8 },
|
|
5
|
+
lg: { height: 48, ...inputFontSize['lg'], width: 420, minRows: 6, maxRows: 9 },
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Box/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Box/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAM5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CAuB1B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAgBxB,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Box } from './Box';
|
|
3
3
|
import { Text } from '../../Typography/Text/Text';
|
|
4
4
|
import { neutral } from '../../../constants/colors';
|
|
5
|
+
import { spacing } from '../../../constants/spacing';
|
|
5
6
|
const meta = {
|
|
6
7
|
title: 'Components/Layout/Box',
|
|
7
8
|
component: Box,
|
|
@@ -32,7 +33,7 @@ export const Default = {
|
|
|
32
33
|
children: 'Box is a styled div — use it as a wrapper or for custom styling',
|
|
33
34
|
sx: {
|
|
34
35
|
backgroundColor: neutral[50],
|
|
35
|
-
padding:
|
|
36
|
+
padding: spacing.xl,
|
|
36
37
|
borderRadius: '8px',
|
|
37
38
|
},
|
|
38
39
|
},
|
|
@@ -40,7 +41,7 @@ export const Default = {
|
|
|
40
41
|
export const BoxStyling = {
|
|
41
42
|
render: () => (_jsx(Box, { sx: {
|
|
42
43
|
backgroundColor: neutral[25],
|
|
43
|
-
padding:
|
|
44
|
+
padding: spacing.xl,
|
|
44
45
|
borderRadius: '8px',
|
|
45
46
|
border: `1px dashed ${neutral[100]}`,
|
|
46
47
|
}, children: _jsx(Text, { weight: "semibold", children: "This is a box that has been styled" }) })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnF,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,GAAI,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnF,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,GAAI,4CAAkE,SAAS,4CAiB/F,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Card as MantineCard } from '@mantine/core';
|
|
3
|
-
export const Card = ({ children, animate = false, p = "
|
|
3
|
+
export const Card = ({ children, animate = false, p = "24px", radius = "20px", ...props }) => {
|
|
4
4
|
const hoverAnimation = {
|
|
5
5
|
style: { transition: 'transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out' },
|
|
6
6
|
onMouseEnter: (e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAO9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA+C3B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAa1B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KA2B3B,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { Card } from './Card';
|
|
|
3
3
|
import { AutoGrid } from '../AutoGrid/AutoGrid';
|
|
4
4
|
import { Title } from '../../Typography/Title/Title';
|
|
5
5
|
import { primary } from '../../../constants/colors';
|
|
6
|
+
import { spacing } from '../../../constants/spacing';
|
|
6
7
|
const meta = {
|
|
7
8
|
title: 'Components/Layout/Card',
|
|
8
9
|
component: Card,
|
|
@@ -68,7 +69,7 @@ export const Animation = {
|
|
|
68
69
|
render: () => (_jsx("div", { style: { width: '400px' }, children: _jsxs(Card, { animate: true, children: [_jsx(Title, { variant: "cardHeader", children: "Hover over me" }), _jsx(Title, { variant: "cardSubheader", children: "This card lifts and enhances on hover." })] }) })),
|
|
69
70
|
};
|
|
70
71
|
export const WithAutoGrid = {
|
|
71
|
-
render: () => (_jsx("div", { style: { width: '700px' }, children: _jsx(AutoGrid, { cols: 3, spacing:
|
|
72
|
+
render: () => (_jsx("div", { style: { width: '700px' }, children: _jsx(AutoGrid, { cols: 3, spacing: spacing.md, children: [1, 2, 3, 4, 5, 6].map((item) => (_jsxs(Card, { animate: true, children: [_jsxs(Title, { variant: "cardHeader", children: ["Card ", item] }), _jsx(Title, { variant: "cardSubheader", children: "Card content" })] }, item))) }) })),
|
|
72
73
|
};
|
|
73
74
|
export const CustomStyling = {
|
|
74
75
|
decorators: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Center.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Center/Center.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Center.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Center/Center.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAsC7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AASF,eAAO,MAAM,gBAAgB,EAAE,KAkB9B,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Center } from './Center';
|
|
3
3
|
import { Text } from '../../Typography/Text/Text';
|
|
4
4
|
import { neutral } from '../../../constants/colors';
|
|
5
|
+
import { spacing } from '../../../constants/spacing';
|
|
5
6
|
import { Title } from '../../Typography/Title/Title';
|
|
6
7
|
import { Card, Stack } from '../../..';
|
|
7
8
|
const meta = {
|
|
@@ -65,5 +66,5 @@ export const CenteringLayouts = {
|
|
|
65
66
|
border: `1px dashed ${neutral[50]}`,
|
|
66
67
|
},
|
|
67
68
|
},
|
|
68
|
-
render: (args) => (_jsx(Center, { ...args, children: _jsxs(Stack, { spacing:
|
|
69
|
+
render: (args) => (_jsx(Center, { ...args, children: _jsxs(Stack, { spacing: spacing.md, sx: { width: '300px' }, children: [_jsx(SampleCard, { title: "Card 1", description: "Centered layout" }), _jsx(SampleCard, { title: "Card 2", description: "Centered layout" }), _jsx(SampleCard, { title: "Card 3", description: "Centered layout" })] }) })),
|
|
69
70
|
};
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Stack } from '../Stack/Stack';
|
|
3
3
|
import { Title } from '../../Typography/Title/Title';
|
|
4
4
|
const Frame = ({ title, subtitle, children, width, styles }) => {
|
|
5
|
-
return (_jsxs(Stack, { mt: "
|
|
5
|
+
return (_jsxs(Stack, { mt: "12.5px", width: width || '100%', gap: "0", ...styles, children: [_jsxs(Stack, { mb: "12.5px", gap: "0", children: [_jsx(Title, { variant: "sectionHeader", children: title }), subtitle && _jsx(Title, { variant: "sectionSubheader", children: subtitle })] }), children] }));
|
|
6
6
|
};
|
|
7
7
|
export { Frame };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Frame.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Frame/Frame.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Frame.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Frame/Frame.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAWhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA4C5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAqDtB,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { Text } from '../../Typography/Text/Text';
|
|
|
4
4
|
import { Stack } from '../Stack/Stack';
|
|
5
5
|
import { Button } from '../../Inputs/Buttons/Button/Button';
|
|
6
6
|
import { neutral } from '../../../constants/colors';
|
|
7
|
+
import { spacing } from '../../../constants/spacing';
|
|
7
8
|
import { Card } from '../Card/Card';
|
|
8
9
|
import { Title } from '../../Typography/Title/Title';
|
|
9
10
|
import { TextInput } from '../../Inputs/TextInputs/TextInput/TextInput';
|
|
@@ -65,7 +66,7 @@ export const Default = {
|
|
|
65
66
|
backgroundColor: neutral[25],
|
|
66
67
|
border: `1px dashed ${neutral[50]}`,
|
|
67
68
|
borderRadius: '8px',
|
|
68
|
-
padding: '
|
|
69
|
+
padding: '20px',
|
|
69
70
|
display: 'flex',
|
|
70
71
|
alignItems: 'center',
|
|
71
72
|
justifyContent: 'center',
|
|
@@ -73,5 +74,5 @@ export const Default = {
|
|
|
73
74
|
}, children: _jsx(Text, { children: "Frame Content" }) }) })),
|
|
74
75
|
};
|
|
75
76
|
export const UseCases = {
|
|
76
|
-
render: () => (_jsxs(Stack, { gap:
|
|
77
|
+
render: () => (_jsxs(Stack, { gap: spacing.xxl, sx: { width: '500px' }, children: [_jsx(Frame, { title: "User Details", subtitle: "Enter your user details", children: _jsxs(Stack, { gap: spacing.lg, children: [_jsx(TextInput, { label: "Name", placeholder: "Enter your name", type: "text", fullWidth: true }), _jsx(TextInput, { label: "Email", placeholder: "Enter your email", type: "email", fullWidth: true }), _jsxs(Group, { children: [_jsx(Button, { variant: "primary", children: "Save" }), _jsx(Button, { variant: "secondary", children: "Cancel" })] })] }) }), _jsx(Frame, { title: "Your Items", subtitle: "View your recent items", children: _jsx(Stack, { gap: spacing.sm, children: [1, 2, 3].map((item) => (_jsxs(Card, { children: [_jsxs(Title, { variant: "cardHeader", children: ["Item ", item] }), _jsxs(Title, { variant: "cardSubheader", children: ["Description for item ", item] })] }, item))) }) }), _jsx(Frame, { title: "Stats This Week", children: _jsxs("div", { style: { display: 'flex', gap: '10px', alignItems: 'stretch' }, children: [_jsxs("div", { style: { textAlign: 'center', padding: '10px', backgroundColor: neutral[25], borderRadius: '8px', flex: 1 }, children: [_jsx(Text, { size: "xl", weight: "bold", children: "42" }), _jsx(Text, { size: "sm", color: neutral[100], children: "Ads Played" })] }), _jsxs("div", { style: { textAlign: 'center', padding: '10px', backgroundColor: neutral[25], borderRadius: '8px', flex: 1 }, children: [_jsx(Text, { size: "xl", weight: "bold", children: "1.2K" }), _jsx(Text, { size: "sm", color: neutral[100], children: "Impressions" })] }), _jsxs("div", { style: { textAlign: 'center', padding: '10px', backgroundColor: neutral[25], borderRadius: '8px', flex: 1 }, children: [_jsx(Text, { size: "xl", weight: "bold", children: "89%" }), _jsx(Text, { size: "sm", color: neutral[100], children: "Revenue Growth" })] })] }) })] })),
|
|
77
78
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Grid/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Grid/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAQ9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA+C3B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AASnC,eAAO,MAAM,OAAO,EAAE,KA4BrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAuBzB,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { Grid } from './Grid';
|
|
|
3
3
|
import { Card } from '../Card/Card';
|
|
4
4
|
import { Title } from '../../Typography/Title/Title';
|
|
5
5
|
import { Stack } from '../Stack/Stack';
|
|
6
|
+
import { spacing } from '../../../constants/spacing';
|
|
6
7
|
const meta = {
|
|
7
8
|
title: 'Components/Layout/Grid',
|
|
8
9
|
component: Grid,
|
|
@@ -67,5 +68,5 @@ export const Default = {
|
|
|
67
68
|
render: (args) => (_jsxs(Grid, { ...args, children: [_jsx(Grid.Col, { span: 4, children: _jsx(SampleCard, { title: "Column 1", description: "span={4}" }) }), _jsx(Grid.Col, { span: 4, children: _jsx(SampleCard, { title: "Column 2", description: "span={4}" }) }), _jsx(Grid.Col, { span: 4, children: _jsx(SampleCard, { title: "Column 3", description: "span={4}" }) })] })),
|
|
68
69
|
};
|
|
69
70
|
export const ColumnSpans = {
|
|
70
|
-
render: () => (_jsxs(Stack, { spacing:
|
|
71
|
+
render: () => (_jsxs(Stack, { spacing: spacing.md, sx: { width: '700px' }, children: [_jsxs(Grid, { gutter: "md", children: [_jsx(Grid.Col, { span: 6, children: _jsx(SampleCard, { title: "Column 1", description: "span={6}" }) }), _jsx(Grid.Col, { span: 6, children: _jsx(SampleCard, { title: "Column 2", description: "span={6}" }) })] }), _jsxs(Grid, { gutter: "md", children: [_jsx(Grid.Col, { span: 8, children: _jsx(SampleCard, { title: "Main Content", description: "span={8}" }) }), _jsx(Grid.Col, { span: 4, children: _jsx(SampleCard, { title: "Sidebar", description: "span={4}" }) })] }), _jsxs(Grid, { gutter: "md", children: [_jsx(Grid.Col, { span: 4, children: _jsx(SampleCard, { title: "Column 1", description: "span={4}" }) }), _jsx(Grid.Col, { span: 4, children: _jsx(SampleCard, { title: "Column 2", description: "span={4}" }) }), _jsx(Grid.Col, { span: 4, children: _jsx(SampleCard, { title: "Column 3", description: "span={4}" }) })] }), _jsxs(Grid, { gutter: "md", children: [_jsx(Grid.Col, { span: 3, children: _jsx(SampleCard, { title: "Left", description: "span={3}" }) }), _jsx(Grid.Col, { span: 6, children: _jsx(SampleCard, { title: "Center", description: "span={6}" }) }), _jsx(Grid.Col, { span: 3, children: _jsx(SampleCard, { title: "Right", description: "span={3}" }) })] })] })),
|
|
71
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Group/Group.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Group.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Group/Group.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA8E5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC,eAAO,MAAM,OAAO,EAAE,KA0BrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAc3B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAuBvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { Text } from '../../Typography/Text/Text';
|
|
|
4
4
|
import { Card } from '../Card/Card';
|
|
5
5
|
import { Stack } from '../Stack/Stack';
|
|
6
6
|
import { neutral } from '../../../constants/colors';
|
|
7
|
+
import { spacing } from '../../../constants/spacing';
|
|
7
8
|
const meta = {
|
|
8
9
|
title: 'Components/Layout/Group',
|
|
9
10
|
component: Group,
|
|
@@ -98,16 +99,16 @@ export const Default = {
|
|
|
98
99
|
styles: undefined,
|
|
99
100
|
},
|
|
100
101
|
decorators: [
|
|
101
|
-
(Story) => (_jsx("div", { style: { width: '500px', backgroundColor: neutral[25], padding: '
|
|
102
|
+
(Story) => (_jsx("div", { style: { width: '500px', backgroundColor: neutral[25], padding: '20px' }, children: _jsx(Story, {}) })),
|
|
102
103
|
],
|
|
103
104
|
render: (args) => (_jsxs(Group, { ...args, children: [_jsx(SampleCard, { label: "Item 1" }), _jsx(SampleCard, { label: "Item 2" }), _jsx(SampleCard, { label: "Item 3" })] })),
|
|
104
105
|
};
|
|
105
106
|
export const PositionAlign = {
|
|
106
|
-
render: () => (_jsx(Stack, { spacing:
|
|
107
|
+
render: () => (_jsx(Stack, { spacing: spacing.md, sx: { width: '500px' }, children: ['left', 'center', 'right', 'apart'].map((pos) => (_jsxs("div", { children: [_jsx(Text, { variant: "label", mb: spacing.sm, children: _jsxs("code", { children: ["position=", '"' + pos + '"'] }) }), _jsxs(Group, { position: pos, spacing: spacing.sm, sx: { backgroundColor: neutral[25], padding: spacing.xs }, children: [_jsx(SampleCard, { label: "A" }), _jsx(SampleCard, { label: "B" })] })] }, pos))) })),
|
|
107
108
|
};
|
|
108
109
|
export const WrapItems = {
|
|
109
|
-
render: () => (_jsxs(Stack, { gap: "
|
|
110
|
+
render: () => (_jsxs(Stack, { gap: "40px", children: [_jsxs("div", { children: [_jsxs(Text, { variant: "label", mb: spacing.sm, children: [_jsxs("code", { children: ["noWrap=", '{false}'] }), " (default, will continue to grow vertically)"] }), _jsxs(Group, { sx: { backgroundColor: neutral[25], padding: spacing.xs, width: '250px' }, children: [_jsx(SampleCard, { label: "First" }), _jsx(SampleCard, { label: "Second" }), _jsx(SampleCard, { label: "Third" }), _jsx(SampleCard, { label: "Fourth" })] })] }), _jsxs("div", { children: [_jsxs(Text, { variant: "label", mb: spacing.sm, children: [_jsxs("code", { children: ["noWrap=", '{true}'] }), ", combined with ", _jsx("code", { children: "overflow='hidden'" }), " on the card and ", _jsx("code", { children: "truncate='end'" }), " on the text"] }), _jsxs(Group, { noWrap: true, spacing: spacing.sm, sx: { backgroundColor: neutral[25], padding: spacing.xs, width: '250px' }, children: [_jsx(SampleCard, { label: "First" }), _jsx(SampleCard, { label: "Second" }), _jsx(SampleCard, { label: "Third" }), _jsx(SampleCard, { label: "Fourth" })] })] })] })),
|
|
110
111
|
};
|
|
111
112
|
export const GrowItems = {
|
|
112
|
-
render: () => (_jsxs("div", { children: [_jsx(Text, { variant: "label", mb:
|
|
113
|
+
render: () => (_jsxs("div", { children: [_jsx(Text, { variant: "label", mb: spacing.sm, children: _jsxs("code", { children: ["grow=", '{true}'] }) }), _jsxs(Group, { grow: true, spacing: spacing.sm, sx: { backgroundColor: neutral[25], padding: spacing.xs, width: '400px' }, children: [_jsx(SampleCard, { label: "A" }), _jsx(SampleCard, { label: "B" })] })] })),
|
|
113
114
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Loader/Loader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Loader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Loader/Loader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAUlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAiB7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAyBF,eAAO,MAAM,mBAAmB,EAAE,KAKjC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAiB5B,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { Text } from '../../Typography/Text/Text';
|
|
|
6
6
|
import { Button } from '../../Inputs/Buttons/Button/Button';
|
|
7
7
|
import { Group } from '../Group/Group';
|
|
8
8
|
import { useNotifications } from '../../../hooks/useNotifications';
|
|
9
|
+
import { spacing } from '../../../constants/spacing';
|
|
9
10
|
const meta = {
|
|
10
11
|
title: 'Components/Misc/Loader',
|
|
11
12
|
component: Loader,
|
|
@@ -42,7 +43,7 @@ const LoadingNotificationDemo = () => {
|
|
|
42
43
|
setIsLoading(false);
|
|
43
44
|
}, 3000);
|
|
44
45
|
};
|
|
45
|
-
return (_jsx(Group, { gap:
|
|
46
|
+
return (_jsx(Group, { gap: spacing.xs, children: _jsx(Button, { onClick: handleSuccess, loading: isLoading, children: "Save" }) }));
|
|
46
47
|
};
|
|
47
48
|
export const LoadingNotification = {
|
|
48
49
|
render: () => _jsx(LoadingNotificationDemo, {}),
|
|
@@ -58,7 +59,7 @@ export const ButtonLoading = {
|
|
|
58
59
|
};
|
|
59
60
|
export const CenteredLoader = {
|
|
60
61
|
decorators: [
|
|
61
|
-
(Story) => (_jsx("div", { style: { width: '300px', padding:
|
|
62
|
+
(Story) => (_jsx("div", { style: { width: '300px', padding: spacing.xxl }, children: _jsx(Story, {}) })),
|
|
62
63
|
],
|
|
63
64
|
render: () => (_jsxs(Stack, { align: "center", children: [_jsx(Loader, {}), _jsx(Text, { variant: "subtle", children: " Loading data..." })] })),
|
|
64
65
|
parameters: {
|
|
@@ -4,5 +4,5 @@ import { Stack } from '../Stack/Stack';
|
|
|
4
4
|
import { Title } from '../../Typography/Title/Title';
|
|
5
5
|
import { Box } from '../Box/Box';
|
|
6
6
|
export const SectionCard = ({ title, subtitle, children, ...props }) => {
|
|
7
|
-
return (_jsx(Card, { p: "
|
|
7
|
+
return (_jsx(Card, { p: "24px", ...props, children: _jsxs(Stack, { gap: "20px", children: [_jsxs(Stack, { gap: "0", children: [_jsx(Title, { variant: "cardHeader", children: title }), subtitle && _jsx(Title, { variant: "cardSubheader", children: subtitle })] }), _jsx(Box, { children: children })] }) }));
|
|
8
8
|
};
|
|
@@ -65,7 +65,7 @@ const meta = {
|
|
|
65
65
|
description: 'Padding of the card',
|
|
66
66
|
table: {
|
|
67
67
|
type: { summary: 'string | number' },
|
|
68
|
-
defaultValue: { summary: "'
|
|
68
|
+
defaultValue: { summary: "'8px'" },
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
withBorder: {
|
|
@@ -88,7 +88,7 @@ export const Default = {
|
|
|
88
88
|
decorators: [
|
|
89
89
|
(Story) => (_jsx("div", { style: { width: '400px' }, children: _jsx(Story, {}) })),
|
|
90
90
|
],
|
|
91
|
-
render: (args) => (_jsx(SectionCard, { ...args, children: _jsxs(Group, { gap: "
|
|
91
|
+
render: (args) => (_jsx(SectionCard, { ...args, children: _jsxs(Group, { gap: "10px", children: [_jsx(IconBadge, { icon: _jsx(IconEye, { size: 30 }), color: "salmon" }), _jsx(Title, { weight: "semibold", size: "2xl", color: neutral[200], children: "55,000" })] }) })),
|
|
92
92
|
};
|
|
93
93
|
export const Animation = {
|
|
94
94
|
render: () => (_jsx("div", { style: { width: '400px' }, children: _jsx(SectionCard, { title: "Example Card", subtitle: "With an example subtitle", animate: true, children: _jsx(Text, { variant: "subtle", children: "This card lifts on hover" }) }) })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Stack/Stack.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Stack.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Stack/Stack.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA6D5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC,eAAO,MAAM,OAAO,EAAE,KAwBrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAgB7B,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { Text } from '../../Typography/Text/Text';
|
|
|
4
4
|
import { Card } from '../Card/Card';
|
|
5
5
|
import { Group } from '../Group/Group';
|
|
6
6
|
import { neutral } from '../../../constants/colors';
|
|
7
|
+
import { spacing } from '../../../constants/spacing';
|
|
7
8
|
const meta = {
|
|
8
9
|
title: 'Components/Layout/Stack',
|
|
9
10
|
component: Stack,
|
|
@@ -79,10 +80,10 @@ export const Default = {
|
|
|
79
80
|
styles: undefined,
|
|
80
81
|
},
|
|
81
82
|
decorators: [
|
|
82
|
-
(Story) => (_jsx("div", { style: { width: '500px', backgroundColor: neutral[25], padding: '
|
|
83
|
+
(Story) => (_jsx("div", { style: { width: '500px', backgroundColor: neutral[25], padding: '20px' }, children: _jsx(Story, {}) })),
|
|
83
84
|
],
|
|
84
85
|
render: (args) => (_jsxs(Stack, { ...args, children: [_jsx(SampleCard, { label: "Item 1" }), _jsx(SampleCard, { label: "Item 2" }), _jsx(SampleCard, { label: "Item 3" })] })),
|
|
85
86
|
};
|
|
86
87
|
export const PositionContent = {
|
|
87
|
-
render: () => (_jsx(Stack, { gap:
|
|
88
|
+
render: () => (_jsx(Stack, { gap: spacing.lg, justify: "flex-start", children: _jsx(Group, { children: ['flex-start', 'center', 'space-between'].map((val) => (_jsxs("div", { children: [_jsx(Text, { variant: "label", mb: spacing.sm, children: _jsxs("code", { children: ["justify=", '"' + val + '"'] }) }), _jsxs(Stack, { justify: val, spacing: spacing.sm, sx: { height: '200px', width: '200px', border: `1px dashed ${neutral[50]}`, padding: spacing.xs }, children: [_jsx(SampleCard, { label: "A" }), _jsx(SampleCard, { label: "B" })] })] }, val))) }) })),
|
|
88
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Table/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Table/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAWhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA6B5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAuQnC,eAAO,MAAM,UAAU,EAAE,KAmBxB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAqBvC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAoBnC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAsBlC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAerC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAajC,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { Text } from '../../Typography/Text/Text';
|
|
|
6
6
|
import { Center } from '../Center/Center';
|
|
7
7
|
import { IconInfoCircle } from '@tabler/icons-react';
|
|
8
8
|
import { neutral } from '../../../constants/colors';
|
|
9
|
+
import { spacing } from '../../../constants/spacing';
|
|
9
10
|
import { Group } from '../Group/Group';
|
|
10
11
|
const meta = {
|
|
11
12
|
title: 'Components/Layout/Table',
|
|
@@ -173,7 +174,7 @@ const ProductListItem = ({ data }) => {
|
|
|
173
174
|
return status;
|
|
174
175
|
}
|
|
175
176
|
};
|
|
176
|
-
return (_jsxs("tr", { children: [_jsx("td", { children: data.name }), _jsx("td", { children: data.category }), _jsxs("td", { children: ["$", data.price.toFixed(2)] }), _jsx("td", { children: data.stock }), _jsx("td", { children: _jsx(Badge, { color: getStatusColor(data.status), variant: "filled", size: "sm", children: getStatusLabel(data.status) }) }), _jsx("td", { children: _jsxs("div", { style: { display: 'flex', gap:
|
|
177
|
+
return (_jsxs("tr", { children: [_jsx("td", { children: data.name }), _jsx("td", { children: data.category }), _jsxs("td", { children: ["$", data.price.toFixed(2)] }), _jsx("td", { children: data.stock }), _jsx("td", { children: _jsx(Badge, { color: getStatusColor(data.status), variant: "filled", size: "sm", children: getStatusLabel(data.status) }) }), _jsx("td", { children: _jsxs("div", { style: { display: 'flex', gap: spacing.sm }, children: [_jsx(Button, { size: "sm", variant: "primary", children: "Edit" }), _jsx(Button, { size: "sm", variant: "secondary", children: "View" })] }) })] }));
|
|
177
178
|
};
|
|
178
179
|
const ProjectListItem = ({ data }) => {
|
|
179
180
|
const getPriorityColor = (priority) => {
|
|
@@ -188,7 +189,7 @@ const ProjectListItem = ({ data }) => {
|
|
|
188
189
|
return 'neutral';
|
|
189
190
|
}
|
|
190
191
|
};
|
|
191
|
-
return (_jsxs("tr", { children: [_jsx("td", { children: data.title }), _jsx("td", { children: data.team.join(', ') }), _jsx("td", { children: _jsxs("div", { style: { display: 'flex', alignItems: 'center', gap:
|
|
192
|
+
return (_jsxs("tr", { children: [_jsx("td", { children: data.title }), _jsx("td", { children: data.team.join(', ') }), _jsx("td", { children: _jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: spacing.sm }, children: [_jsx("div", { style: {
|
|
192
193
|
flex: 1,
|
|
193
194
|
height: '8px',
|
|
194
195
|
backgroundColor: '#e0e0e0',
|
|
@@ -289,7 +290,7 @@ export const TableWithPlaceholder = {
|
|
|
289
290
|
{ heading: 'Name', style: { width: '50%' } },
|
|
290
291
|
{ heading: 'Email', style: { width: '50%' } },
|
|
291
292
|
],
|
|
292
|
-
placeholder: (_jsx(Center, { py: '
|
|
293
|
+
placeholder: (_jsx(Center, { py: '50px', children: _jsxs(Group, { gap: spacing.xs, align: 'center', children: [_jsx(IconInfoCircle, { color: neutral[200], size: '20px' }), _jsx(Text, { children: "No data available at this time" })] }) })),
|
|
293
294
|
},
|
|
294
295
|
parameters: {
|
|
295
296
|
docs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAuB,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAKnF,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,UAAU,CAAC;IAChF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;CAC3C;AA+CD,eAAO,MAAM,IAAI,4EA7C0F,SAAS;;;;CAiDlH,CAAC"}
|