@vkzstudio/muza-ui 1.0.11 → 1.0.13
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/components/Accordion/Accordion.d.ts +57 -4
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +1 -4
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts +13 -2
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +4 -4
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +12 -1
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +23 -8
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +3 -12
- package/dist/components/Button/Button.d.ts +30 -0
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.d.ts +39 -3
- package/dist/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/Calendar/utils/formatDate.d.ts +4 -0
- package/dist/components/Calendar/utils/formatDate.d.ts.map +1 -1
- package/dist/components/Calendar/utils/formatDateRange.d.ts +5 -0
- package/dist/components/Calendar/utils/formatDateRange.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +25 -3
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +3 -6
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +6 -6
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +40 -1
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.js +1 -1
- package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
- package/dist/components/DataTable/index.d.ts +1 -1
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +59 -4
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +7 -7
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/utils/getDateRange.d.ts +9 -0
- package/dist/components/DatePicker/utils/getDateRange.d.ts.map +1 -1
- package/dist/components/DatePicker/utils/getDateRange.js +28 -15
- package/dist/components/Dialog/Dialog.d.ts +39 -2
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.js +176 -60
- package/dist/components/Dialog/Dialog.stories.d.ts +2 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +73 -11
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +2 -8
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +10 -26
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/dist/components/EdgeButton/EdgeButton.d.ts +18 -0
- package/dist/components/EdgeButton/EdgeButton.d.ts.map +1 -1
- package/dist/components/EdgeButton/EdgeButton.js +4 -4
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts.map +1 -1
- package/dist/components/EdgeButton/index.d.ts +1 -1
- package/dist/components/EdgeButton/index.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +10 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.js +6 -6
- package/dist/components/EmptyState/EmptyState.stories.d.ts.map +1 -1
- package/dist/components/ExpandableTable/ExpandableTable.d.ts +54 -0
- package/dist/components/ExpandableTable/ExpandableTable.d.ts.map +1 -1
- package/dist/components/ExpandableTable/ExpandableTable.js +2 -2
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts +0 -3
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts.map +1 -1
- package/dist/components/ExpandableTable/Table.js +1 -1
- package/dist/components/ExpandableTable/index.d.ts +1 -1
- package/dist/components/ExpandableTable/index.d.ts.map +1 -1
- package/dist/components/FileUpload/FileItem.js +1 -1
- package/dist/components/FileUpload/FileUpload.d.ts +51 -0
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/components/FileUpload/FileUpload.stories.d.ts.map +1 -1
- package/dist/components/FileUpload/index.d.ts +1 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/Flex/Flex.d.ts +49 -1
- package/dist/components/Flex/Flex.d.ts.map +1 -1
- package/dist/components/Flex/Flex.stories.d.ts.map +1 -1
- package/dist/components/Flex/index.d.ts +1 -1
- package/dist/components/Flex/index.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.d.ts +166 -1
- package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.js +110 -97
- package/dist/components/InfoCard/InfoCard.d.ts +17 -0
- package/dist/components/InfoCard/InfoCard.d.ts.map +1 -0
- package/dist/components/InfoCard/index.d.ts +2 -0
- package/dist/components/InfoCard/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +26 -0
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +16 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.d.ts +15 -2
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.js +22 -20
- package/dist/components/Loader/Loader.d.ts +3 -0
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/Loader.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen.d.ts +18 -0
- package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreenItem.d.ts +5 -0
- package/dist/components/LoginScreen/LoginScreenItem.d.ts.map +1 -1
- package/dist/components/LoginScreen/index.d.ts +2 -2
- package/dist/components/LoginScreen/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +25 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +8 -8
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
- package/dist/components/MuzaUIProvider/MuzaUIProvider.d.ts +26 -1
- package/dist/components/MuzaUIProvider/MuzaUIProvider.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +5 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts.map +1 -1
- package/dist/components/PinIndicator/PinIndicator.d.ts +15 -0
- package/dist/components/PinIndicator/PinIndicator.d.ts.map +1 -1
- package/dist/components/PinIndicator/PinIndicator.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +36 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +28 -3
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/Radio.js +2 -5
- package/dist/components/Radio/Radio.stories.d.ts.map +1 -1
- package/dist/components/Reorderable/Reorderable.d.ts +79 -30
- package/dist/components/Reorderable/Reorderable.d.ts.map +1 -1
- package/dist/components/Reorderable/Reorderable.js +162 -143
- package/dist/components/Reorderable/Reorderable.stories.d.ts +1 -0
- package/dist/components/Reorderable/Reorderable.stories.d.ts.map +1 -1
- package/dist/components/Reorderable/index.d.ts +1 -1
- package/dist/components/Reorderable/index.d.ts.map +1 -1
- package/dist/components/ReorderableTable/ReorderableTable.d.ts +47 -13
- package/dist/components/ReorderableTable/ReorderableTable.d.ts.map +1 -1
- package/dist/components/ReorderableTable/ReorderableTable.js +44 -43
- package/dist/components/ReorderableTable/ReorderableTable.stories.d.ts +1 -0
- package/dist/components/ReorderableTable/ReorderableTable.stories.d.ts.map +1 -1
- package/dist/components/ReorderableTable/index.d.ts +1 -1
- package/dist/components/ReorderableTable/index.d.ts.map +1 -1
- package/dist/components/Searchbar/Searchbar.d.ts +11 -0
- package/dist/components/Searchbar/Searchbar.d.ts.map +1 -1
- package/dist/components/Searchbar/Searchbar.stories.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +35 -1
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedControl/index.d.ts +1 -1
- package/dist/components/SegmentedControl/index.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts +38 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/index.d.ts +1 -1
- package/dist/components/SegmentedIconControl/index.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +25 -0
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +9 -6
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.d.ts +9 -0
- package/dist/components/SliderIndicators/SliderIndicators.d.ts.map +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.stories.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.d.ts +38 -0
- package/dist/components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.js +5 -5
- package/dist/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/dist/components/Stepper/index.d.ts +1 -1
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.d.ts +39 -0
- package/dist/components/SwipeButton/SwipeButton.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.js +1 -1
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts +0 -43
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts.map +1 -1
- package/dist/components/SwipeButton/index.d.ts +1 -1
- package/dist/components/SwipeButton/index.d.ts.map +1 -1
- package/dist/components/Switch/Switch.d.ts +19 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +17 -1
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +4 -4
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -1
- package/dist/components/TextEditor/EditorToolbar.js +1 -1
- package/dist/components/TextEditor/LinkBubbleMenu.d.ts +4 -1
- package/dist/components/TextEditor/LinkBubbleMenu.d.ts.map +1 -1
- package/dist/components/TextEditor/LinkBubbleMenu.js +116 -92
- package/dist/components/TextEditor/TextEditor.d.ts +5 -2
- package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
- package/dist/components/TextEditor/TextEditor.js +129 -121
- package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts +9 -2
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.d.ts +23 -1
- package/dist/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.js +1 -4
- package/dist/components/TimePicker/TimePicker.stories.d.ts.map +1 -1
- package/dist/components/Toast/Toast.d.ts +21 -1
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Toast/Toast.js +7 -7
- package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/components/Toast/ToastContainer.d.ts +12 -1
- package/dist/components/Toast/ToastContainer.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +17 -1
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.js +6 -6
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Toggle/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +52 -4
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.d.ts +1 -1
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +38 -3
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +5 -7
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +18 -1
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/Typography/index.d.ts.map +1 -1
- package/dist/index.js +191 -184
- package/dist/muza-ui.css +1 -1
- package/dist/styles/token-sizes.css +4 -0
- package/llms-full.md +581 -0
- package/llms.txt +36 -0
- package/package.json +4 -3
- package/CLAUDE_CONSUMER.md +0 -238
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { cn as r } from "../../utils/cn.js";
|
|
3
|
+
import { Typography as c } from "../Typography/Typography.js";
|
|
4
4
|
const x = ({
|
|
5
5
|
icon: m,
|
|
6
6
|
className: o,
|
|
@@ -11,7 +11,7 @@ const x = ({
|
|
|
11
11
|
}) => /* @__PURE__ */ s(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: r(
|
|
15
15
|
"flex flex-col items-center gap-comp-empty-state-gap",
|
|
16
16
|
"[&>svg]:size-comp-empty-state-ico-size [&>svg]:text-gray-500",
|
|
17
17
|
o
|
|
@@ -20,7 +20,7 @@ const x = ({
|
|
|
20
20
|
m,
|
|
21
21
|
(e || t) && /* @__PURE__ */ s("div", { className: "flex flex-col gap-2xs text-center align-middle", children: [
|
|
22
22
|
e && /* @__PURE__ */ a(
|
|
23
|
-
|
|
23
|
+
c,
|
|
24
24
|
{
|
|
25
25
|
component: "p",
|
|
26
26
|
variant: "body",
|
|
@@ -31,7 +31,7 @@ const x = ({
|
|
|
31
31
|
}
|
|
32
32
|
),
|
|
33
33
|
t && /* @__PURE__ */ a(
|
|
34
|
-
|
|
34
|
+
c,
|
|
35
35
|
{
|
|
36
36
|
component: "p",
|
|
37
37
|
variant: "body",
|
|
@@ -45,7 +45,7 @@ const x = ({
|
|
|
45
45
|
/* @__PURE__ */ a(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
|
-
className:
|
|
48
|
+
className: r("flex gap-sm", {
|
|
49
49
|
"flex-col": l === "vertical"
|
|
50
50
|
}),
|
|
51
51
|
children: i
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.stories.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/EmptyState.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,
|
|
1
|
+
{"version":3,"file":"EmptyState.stories.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/EmptyState.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAsCjC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,oBAAoB,EAAE,KAyBlC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA0BhC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAoBvB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA"}
|
|
@@ -1,24 +1,78 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Column definition for the ExpandableTable.
|
|
4
|
+
* @typeParam T - The type of data objects in each row
|
|
5
|
+
*/
|
|
2
6
|
export interface IColumn<T> {
|
|
7
|
+
/** Key of the data object to display in this column. */
|
|
3
8
|
dataKey: keyof T;
|
|
9
|
+
/** Header content rendered in the table head. */
|
|
4
10
|
title: ReactNode;
|
|
11
|
+
/** Additional CSS class applied to both the header and body cells. */
|
|
5
12
|
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Custom render function for cell content.
|
|
15
|
+
* When omitted, the raw value is rendered inside a Typography component.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* render: (value, row) => <Tag variant="success">{value}</Tag>
|
|
19
|
+
*/
|
|
6
20
|
render?: (value: T[keyof T], rowData: T) => ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Minimum breakpoint at which this column is visible.
|
|
23
|
+
* Columns hidden below their breakpoint automatically appear in the expanded row view.
|
|
24
|
+
* @default 'xs'
|
|
25
|
+
*/
|
|
7
26
|
responsive?: 'xs' | 'sm' | 'md' | 'lg';
|
|
8
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Cell definition within an expandable row section.
|
|
30
|
+
* @typeParam T - The type of data objects in each row
|
|
31
|
+
*/
|
|
9
32
|
export interface IExpandableTableRowCell<T> {
|
|
33
|
+
/** Key of the data object to display in this cell. */
|
|
10
34
|
dataKey: keyof T;
|
|
35
|
+
/** Additional CSS class applied to the cell. */
|
|
11
36
|
className?: string;
|
|
37
|
+
/** Label rendered next to the cell value. */
|
|
12
38
|
title: ReactNode;
|
|
39
|
+
/** Custom render function for the cell value. When omitted, the raw value is rendered as text. */
|
|
13
40
|
render?: (value: T[keyof T], rowData: T) => ReactNode;
|
|
14
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Section definition for the expandable row content.
|
|
44
|
+
* Groups related cells under an optional heading.
|
|
45
|
+
* @typeParam T - The type of data objects in each row
|
|
46
|
+
*/
|
|
15
47
|
export interface IExpandableTableRowSection<T> {
|
|
48
|
+
/** Optional heading rendered above the section cells. */
|
|
16
49
|
title?: ReactNode;
|
|
50
|
+
/** Array of cell definitions displayed within this section. @see IExpandableTableRowCell */
|
|
17
51
|
cells: IExpandableTableRowCell<T>[];
|
|
18
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Props for the ExpandableTable component.
|
|
55
|
+
* @typeParam T - The type of data objects in each row
|
|
56
|
+
*/
|
|
19
57
|
export interface ExpandableTableProps<T> {
|
|
58
|
+
/** Array of data objects where each item represents one table row. */
|
|
20
59
|
data: T[];
|
|
60
|
+
/** Array of column definitions describing headers and cell rendering. @see IColumn */
|
|
21
61
|
columns: IColumn<T>[];
|
|
62
|
+
/**
|
|
63
|
+
* Sections shown when a row is expanded. Can be a static array applied to every row
|
|
64
|
+
* or a function that returns sections dynamically based on row data.
|
|
65
|
+
* When omitted, rows are not expandable (hidden responsive columns still appear automatically).
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* // Static sections
|
|
69
|
+
* expandableRowSections={[{ title: 'Details', cells: [{ dataKey: 'name', title: 'Name' }] }]}
|
|
70
|
+
*
|
|
71
|
+
* // Dynamic sections based on row data
|
|
72
|
+
* expandableRowSections={(row) => row.status === 'active' ? activeSections : inactiveSections}
|
|
73
|
+
*
|
|
74
|
+
* @see IExpandableTableRowSection
|
|
75
|
+
*/
|
|
22
76
|
expandableRowSections?: IExpandableTableRowSection<T>[] | ((row: T) => IExpandableTableRowSection<T>[]);
|
|
23
77
|
}
|
|
24
78
|
export declare const ExpandableTable: <T>({ data, columns, expandableRowSections, }: ExpandableTableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableTable.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableTable/ExpandableTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAA;AAgBnE,MAAM,WAAW,OAAO,CAAC,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC,CAAA;IAChB,KAAK,EAAE,SAAS,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,SAAS,CAAA;IACrD,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACvC;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,SAAS,CAAA;IAChB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,SAAS,CAAA;CACtD;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE,uBAAuB,CAAC,CAAC,CAAC,EAAE,CAAA;CACpC;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,IAAI,EAAE,CAAC,EAAE,CAAA;IACT,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAA;IACrB,qBAAqB,CAAC,EAClB,0BAA0B,CAAC,CAAC,CAAC,EAAE,GAC/B,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,0BAA0B,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;CAClD;AAgCD,eAAO,MAAM,eAAe,GAAI,CAAC,EAAG,2CAIjC,oBAAoB,CAAC,CAAC,CAAC,4CA6SzB,CAAA"}
|
|
1
|
+
{"version":3,"file":"ExpandableTable.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableTable/ExpandableTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAA;AAgBnE;;;GAGG;AACH,MAAM,WAAW,OAAO,CAAC,CAAC;IACxB,wDAAwD;IACxD,OAAO,EAAE,MAAM,CAAC,CAAA;IAChB,iDAAiD;IACjD,KAAK,EAAE,SAAS,CAAA;IAChB,sEAAs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 +3,10 @@ import { useState as j, useMemo as N, Fragment as M } from "react";
|
|
|
3
3
|
import { cva as z } from "class-variance-authority";
|
|
4
4
|
import { useIsMinSm as A, useIsMinMd as C, useIsMinLg as H } from "../../hooks/use-is-breakpoint.js";
|
|
5
5
|
import { Table as O, TableHeader as _, TableRow as k, TableHead as q, TableBody as G, TableCell as E } from "./Table.js";
|
|
6
|
-
import { Typography as h } from "../Typography/Typography.js";
|
|
7
|
-
import { Flex as B } from "../Flex/Flex.js";
|
|
8
6
|
import { cn as v } from "../../utils/cn.js";
|
|
7
|
+
import { Typography as h } from "../Typography/Typography.js";
|
|
9
8
|
import { AltArrowDownOutline as J } from "@solar-icons/react-perf";
|
|
9
|
+
import { Flex as B } from "../Flex/Flex.js";
|
|
10
10
|
const F = z("", {
|
|
11
11
|
variants: {
|
|
12
12
|
responsive: {
|
|
@@ -17,15 +17,12 @@ declare const meta: {
|
|
|
17
17
|
tags: string[];
|
|
18
18
|
argTypes: {
|
|
19
19
|
data: {
|
|
20
|
-
description: string;
|
|
21
20
|
control: "object";
|
|
22
21
|
};
|
|
23
22
|
columns: {
|
|
24
|
-
description: string;
|
|
25
23
|
control: "object";
|
|
26
24
|
};
|
|
27
25
|
expandableRowSections: {
|
|
28
|
-
description: string;
|
|
29
26
|
control: "object";
|
|
30
27
|
};
|
|
31
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableTable.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableTable/ExpandableTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAM3D,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"ExpandableTable.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableTable/ExpandableTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAM3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B8B,CAAA;AAExC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AA+MlC,eAAO,MAAM,MAAM,EAAE,KAsBpB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAkB/B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAwJjC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAuBvB,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,KAyH1C,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as o, jsxs as p, Fragment as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as t } from "react";
|
|
3
3
|
import { cva as c } from "class-variance-authority";
|
|
4
|
-
import { typographyVariants as i } from "../Typography/Typography.js";
|
|
5
4
|
import { cn as d } from "../../utils/cn.js";
|
|
5
|
+
import { typographyVariants as i } from "../Typography/Typography.js";
|
|
6
6
|
const u = t(({ className: a, ...r }, e) => /* @__PURE__ */ o(
|
|
7
7
|
"table",
|
|
8
8
|
{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ExpandableTable, type ExpandableTableProps, type IColumn, type IExpandableTableRowCell, type IExpandableTableRowSection, } from './ExpandableTable';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableTable/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,GAChC,MAAM,mBAAmB,CAAA"}
|
|
@@ -2,9 +2,9 @@ import { jsxs as u, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import * as m from "react";
|
|
3
3
|
import { cva as k } from "class-variance-authority";
|
|
4
4
|
import { useMuzaTranslations as w } from "../../translations/TranslationContext.js";
|
|
5
|
-
import { Typography as f } from "../Typography/Typography.js";
|
|
6
5
|
import { cn as i } from "../../utils/cn.js";
|
|
7
6
|
import { GalleryOutline as N, CloseCircleBold as z, DownloadMinimalisticBold as L, TrashBinTrashBold as U } from "@solar-icons/react-perf";
|
|
7
|
+
import { Typography as f } from "../Typography/Typography.js";
|
|
8
8
|
const B = (a, l, t) => {
|
|
9
9
|
let r = null, e = null;
|
|
10
10
|
try {
|
|
@@ -6,29 +6,80 @@ declare const fileUploadVariants: (props?: ({
|
|
|
6
6
|
isDragActive?: boolean | null | undefined;
|
|
7
7
|
disabled?: boolean | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Props for the FileUpload component.
|
|
11
|
+
* Extends standard div attributes except `onDrop`, `onError`, and `onChange`
|
|
12
|
+
* (replaced by component-specific callbacks).
|
|
13
|
+
*/
|
|
9
14
|
export interface FileUploadProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onDrop' | 'onError' | 'onChange'>, Omit<VariantProps<typeof fileUploadVariants>, 'isDragActive'> {
|
|
15
|
+
/** Fires when files are dropped or selected. Receives array of accepted files. */
|
|
10
16
|
onDrop?: (acceptedFiles: File[]) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Accepted file types as MIME type strings.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* accept="image/*"
|
|
22
|
+
* accept={['image/*', 'application/pdf']}
|
|
23
|
+
*/
|
|
11
24
|
accept?: string | string[];
|
|
25
|
+
/** Allows selecting multiple files simultaneously. @default true */
|
|
12
26
|
multiple?: boolean;
|
|
27
|
+
/** Maximum allowed file size in bytes. */
|
|
13
28
|
maxSize?: number;
|
|
29
|
+
/** Custom error message when a file exceeds `maxSize`. Defaults to a translated message with the size in MB. */
|
|
14
30
|
maxSizeErrorMessage?: string;
|
|
31
|
+
/** Controls the visual size of file items in the list. @default 'base' */
|
|
15
32
|
size?: 'sm' | 'base' | 'lg';
|
|
33
|
+
/** Prevents interaction and applies disabled styling. @default false */
|
|
16
34
|
disabled?: boolean;
|
|
35
|
+
/** Hides the dropzone and shows only uploaded files without delete buttons. @default false */
|
|
17
36
|
readOnly?: boolean;
|
|
37
|
+
/** Title text displayed inside the dropzone area. Defaults to a translated string. */
|
|
18
38
|
title?: string;
|
|
39
|
+
/** Label displayed above the upload area. Renders as a `<label>` when passed as a string. */
|
|
19
40
|
label?: React.ReactNode;
|
|
41
|
+
/** Subtitle text displayed below the title inside the dropzone. */
|
|
20
42
|
subtitle?: string;
|
|
43
|
+
/** Applies error border and text styling to the dropzone. */
|
|
21
44
|
error?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Additional options passed to react-dropzone.
|
|
47
|
+
* Props managed by the component (`onDrop`, `accept`, `multiple`, `maxSize`, `disabled`) are excluded.
|
|
48
|
+
* @see DropzoneOptions
|
|
49
|
+
*/
|
|
22
50
|
dropzoneOptions?: Omit<DropzoneOptions, 'onDrop' | 'accept' | 'multiple' | 'maxSize' | 'disabled'>;
|
|
51
|
+
/** Files displayed in the list on mount. @default [] */
|
|
23
52
|
preselectedFiles?: File[];
|
|
53
|
+
/**
|
|
54
|
+
* Upload status for each file, matched by index to `preselectedFiles`.
|
|
55
|
+
* Each entry contains `uploaded` (boolean) and optional `progress` (0-100).
|
|
56
|
+
* @default []
|
|
57
|
+
*/
|
|
24
58
|
fileStatus?: {
|
|
25
59
|
uploaded: boolean;
|
|
26
60
|
progress?: number;
|
|
27
61
|
}[];
|
|
62
|
+
/**
|
|
63
|
+
* Per-file error messages keyed by File reference.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* const errors = new Map<File, string>([[file, 'Upload failed']])
|
|
67
|
+
* <FileUpload itemErrors={errors} />
|
|
68
|
+
*/
|
|
28
69
|
itemErrors?: Map<File, string>;
|
|
70
|
+
/**
|
|
71
|
+
* Per-file hint messages keyed by File reference.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* const hints = new Map<File, string>([[file, 'Will be optimized']])
|
|
75
|
+
* <FileUpload itemHints={hints} />
|
|
76
|
+
*/
|
|
29
77
|
itemHints?: Map<File, string>;
|
|
78
|
+
/** Fires when an error occurs. Receives the error message and the optional file that caused it. */
|
|
30
79
|
onError?: (error: string, file?: File) => void;
|
|
80
|
+
/** Fires when a file is deleted. Receives the deleted file and its index. */
|
|
31
81
|
onDelete?: (file: File, index: number) => void;
|
|
82
|
+
/** Fires when the file list changes. Receives the updated array of all files. */
|
|
32
83
|
onChange?: (files: File[]) => void;
|
|
33
84
|
}
|
|
34
85
|
declare const FileUpload: React.ForwardRefExoticComponent<FileUploadProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileUpload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,KAAK,eAAe,EAAe,MAAM,gBAAgB,CAAA;AAQlE,QAAA,MAAM,kBAAkB;;;;8EAoCvB,CAAA;AAgBD,MAAM,WAAW,eACf,SAAQ,IAAI,CACR,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,QAAQ,GAAG,SAAS,GAAG,UAAU,CAClC,EACD,IAAI,CAAC,YAAY,CAAC,OAAO,kBAAkB,CAAC,EAAE,cAAc,CAAC;IAC/D,MAAM,CAAC,EAAE,CAAC,aAAa,EAAE,IAAI,EAAE,KAAK,IAAI,CAAA;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAA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UAAU,GAAG,SAAS,GAAG,UAAU,CAC1D,CAAA;IACD,wDAAwD;IACxD,gBAAgB,CAAC,EAAE,IAAI,EAAE,CAAA;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACvD;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;IAC9B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;IAC7B,mGAAmG;IACnG,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;IAC9C,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9C,iFAAiF;IACjF,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAA;CACnC;AAED,QAAA,MAAM,UAAU,wFA+Mf,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUpload.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileUpload.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,
|
|
1
|
+
{"version":3,"file":"FileUpload.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileUpload.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAsJjC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAerB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAmBnB,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,KAoBpC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAsB9B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAkB3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAiBxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAexB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAmBtB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA0ChC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAoBtB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KA0F9B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { FileUpload } from './FileUpload';
|
|
1
|
+
export { FileUpload, type FileUploadProps } from './FileUpload';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -26,10 +26,58 @@ declare const flexVariants: (props?: ({
|
|
|
26
26
|
flex?: 1 | "none" | "auto" | "initial" | null | undefined;
|
|
27
27
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
28
28
|
type HTMLElementTag = keyof React.JSX.IntrinsicElements & keyof HTMLElementTagNameMap;
|
|
29
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Props for the Flex layout component.
|
|
31
|
+
* Extends CSS Flexbox with design system spacing tokens and semantic HTML support.
|
|
32
|
+
*/
|
|
33
|
+
export interface FlexProps extends Omit<VariantProps<typeof flexVariants>, 'gap' | 'gapX' | 'gapY' | 'p' | 'px' | 'py' | 'pt' | 'pr' | 'pb' | 'pl' | 'm' | 'mx' | 'my' | 'mt' | 'mr' | 'mb' | 'ml' | 'direction' | 'wrap' | 'justify' | 'align' | 'flex'>, SpacingProps {
|
|
34
|
+
/** Content to display inside the flex container. */
|
|
30
35
|
children?: React.ReactNode;
|
|
36
|
+
/** HTML element to render for semantic markup. @default 'div' */
|
|
31
37
|
component?: HTMLElementTag;
|
|
38
|
+
/** Additional CSS classes for custom styling. */
|
|
32
39
|
className?: string;
|
|
40
|
+
/** Sets the main axis direction for flex items. @default 'row' */
|
|
41
|
+
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
42
|
+
/** Controls whether flex items wrap to multiple lines. @default 'nowrap' */
|
|
43
|
+
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
44
|
+
/** Aligns items along the main axis. @default 'start' */
|
|
45
|
+
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
|
|
46
|
+
/** Aligns items along the cross axis. @default 'stretch' */
|
|
47
|
+
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
48
|
+
/** Controls flex grow/shrink behavior. */
|
|
49
|
+
flex?: 1 | 'auto' | 'initial' | 'none';
|
|
50
|
+
/**
|
|
51
|
+
* Gap between flex items using design tokens.
|
|
52
|
+
* Accepts a token string for uniform spacing or `{ x, y }` for directional gaps.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* <Flex gap="md" />
|
|
56
|
+
* <Flex gap={{ x: 'lg', y: 'sm' }} />
|
|
57
|
+
*/
|
|
58
|
+
gap?: SpacingProps['gap'];
|
|
59
|
+
/**
|
|
60
|
+
* Padding using design tokens.
|
|
61
|
+
* Accepts a token string for uniform padding, `{ px, py }` for axis-based,
|
|
62
|
+
* or `{ pt, pr, pb, pl }` for individual sides.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* <Flex padding="lg" />
|
|
66
|
+
* <Flex padding={{ px: 'xl', py: 'sm' }} />
|
|
67
|
+
* <Flex padding={{ pt: 'xl', pr: 'lg', pb: 'sm', pl: 'md' }} />
|
|
68
|
+
*/
|
|
69
|
+
padding?: SpacingProps['padding'];
|
|
70
|
+
/**
|
|
71
|
+
* Margin using design tokens.
|
|
72
|
+
* Accepts a token string for uniform margin, `{ mx, my }` for axis-based,
|
|
73
|
+
* or `{ mt, mr, mb, ml }` for individual sides.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* <Flex margin="xl" />
|
|
77
|
+
* <Flex margin={{ mx: 'lg', my: 'sm' }} />
|
|
78
|
+
* <Flex margin={{ mt: 'xl', mr: 'lg', mb: 'sm', ml: 'md' }} />
|
|
79
|
+
*/
|
|
80
|
+
margin?: SpacingProps['margin'];
|
|
33
81
|
}
|
|
34
82
|
declare const Flex: ({ children, className, direction, wrap, justify, align, flex, gap, padding, margin, component, ...props }: FlexProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
83
|
export { Flex, flexVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/Flex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EACL,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B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAqB7B,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAqBnC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAwBhC,CAAA;AAGD,eAAO,MAAM,SAAS,EAAE,KAoBvB,CAAA;AAGD,eAAO,MAAM,UAAU,EAAE,KA2BxB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './Flex';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
|
|
@@ -1,43 +1,208 @@
|
|
|
1
1
|
import { Icon } from '@solar-icons/react-perf/lib/types';
|
|
2
|
+
/**
|
|
3
|
+
* Eye-closed icon for hiding content or toggling visibility off.
|
|
4
|
+
* @component
|
|
5
|
+
*/
|
|
2
6
|
export declare const EyeClosed: Icon;
|
|
7
|
+
/**
|
|
8
|
+
* Barcode icon for product codes and scannable items.
|
|
9
|
+
* @component
|
|
10
|
+
*/
|
|
3
11
|
export declare const Barcode: Icon;
|
|
12
|
+
/**
|
|
13
|
+
* Two coins icon in bold style for monetary or payment contexts.
|
|
14
|
+
* @component
|
|
15
|
+
*/
|
|
4
16
|
export declare const Coins2Bold: Icon;
|
|
17
|
+
/**
|
|
18
|
+
* Cutlery icon for dining, food, or restaurant contexts.
|
|
19
|
+
* @component
|
|
20
|
+
*/
|
|
5
21
|
export declare const Cutlery: Icon;
|
|
22
|
+
/**
|
|
23
|
+
* Muza brand icon representing the platform identity.
|
|
24
|
+
* @component
|
|
25
|
+
*/
|
|
6
26
|
export declare const MuzaIcon: Icon;
|
|
27
|
+
/**
|
|
28
|
+
* Bidirectional arrows icon for sorting or rearranging items.
|
|
29
|
+
* @component
|
|
30
|
+
*/
|
|
7
31
|
export declare const ArrowsSorting: Icon;
|
|
32
|
+
/**
|
|
33
|
+
* Map of Slovakia for geographic or regional indicators.
|
|
34
|
+
* @component
|
|
35
|
+
*/
|
|
8
36
|
export declare const SKMap: Icon;
|
|
37
|
+
/**
|
|
38
|
+
* Three vertical columns layout icon for arranging content side-by-side.
|
|
39
|
+
* @component
|
|
40
|
+
*/
|
|
9
41
|
export declare const LayoutVertical: Icon;
|
|
42
|
+
/**
|
|
43
|
+
* Two horizontal rows layout icon for stacking content vertically.
|
|
44
|
+
* @component
|
|
45
|
+
*/
|
|
10
46
|
export declare const LayoutHorizontal: Icon;
|
|
11
47
|
export declare const CZK: Icon;
|
|
48
|
+
/**
|
|
49
|
+
* Euro currency icon for EUR denomination.
|
|
50
|
+
* @component
|
|
51
|
+
*/
|
|
12
52
|
export declare const EUR: Icon;
|
|
53
|
+
/**
|
|
54
|
+
* Checkmark icon indicating completion or success.
|
|
55
|
+
* @component
|
|
56
|
+
*/
|
|
13
57
|
export declare const Checked: Icon;
|
|
58
|
+
/**
|
|
59
|
+
* Checkbox minus icon for indeterminate or partially selected states.
|
|
60
|
+
* @component
|
|
61
|
+
*/
|
|
14
62
|
export declare const CheckMinus: Icon;
|
|
63
|
+
/**
|
|
64
|
+
* Search magnifying glass icon for finding or scanning content.
|
|
65
|
+
* @component
|
|
66
|
+
*/
|
|
15
67
|
export declare const MagnifyingGlass: Icon;
|
|
68
|
+
/**
|
|
69
|
+
* Czech Republic flag icon for language or regional selection.
|
|
70
|
+
* @component
|
|
71
|
+
*/
|
|
16
72
|
export declare const FlagCz: Icon;
|
|
73
|
+
/**
|
|
74
|
+
* English flag icon for language or regional selection.
|
|
75
|
+
* @component
|
|
76
|
+
*/
|
|
17
77
|
export declare const FlagEn: Icon;
|
|
78
|
+
/**
|
|
79
|
+
* Slovak flag icon for language or regional selection.
|
|
80
|
+
* @component
|
|
81
|
+
*/
|
|
18
82
|
export declare const FlagSk: Icon;
|
|
83
|
+
/**
|
|
84
|
+
* Reorder icon with up and down arrows for list rearrangement.
|
|
85
|
+
* @component
|
|
86
|
+
*/
|
|
19
87
|
export declare const Reorder: Icon;
|
|
88
|
+
/**
|
|
89
|
+
* Heading 1 typography icon for text formatting.
|
|
90
|
+
* @component
|
|
91
|
+
*/
|
|
20
92
|
export declare const TextH1: Icon;
|
|
93
|
+
/**
|
|
94
|
+
* Heading 2 typography icon for text formatting.
|
|
95
|
+
* @component
|
|
96
|
+
*/
|
|
21
97
|
export declare const TextH2: Icon;
|
|
98
|
+
/**
|
|
99
|
+
* Heading 3 typography icon for text formatting.
|
|
100
|
+
* @component
|
|
101
|
+
*/
|
|
22
102
|
export declare const TextH3: Icon;
|
|
103
|
+
/**
|
|
104
|
+
* Bold text formatting icon for text editors.
|
|
105
|
+
* @component
|
|
106
|
+
*/
|
|
23
107
|
export declare const EditorBold: Icon;
|
|
108
|
+
/**
|
|
109
|
+
* Italic text formatting icon for text editors.
|
|
110
|
+
* @component
|
|
111
|
+
*/
|
|
24
112
|
export declare const EditorItalic: Icon;
|
|
113
|
+
/**
|
|
114
|
+
* Strikethrough text formatting icon for text editors.
|
|
115
|
+
* @component
|
|
116
|
+
*/
|
|
25
117
|
export declare const EditorStrikethrough: Icon;
|
|
118
|
+
/**
|
|
119
|
+
* Bullet list icon for unordered lists.
|
|
120
|
+
* @component
|
|
121
|
+
*/
|
|
26
122
|
export declare const BulletList: Icon;
|
|
123
|
+
/**
|
|
124
|
+
* Numbered list icon for ordered lists.
|
|
125
|
+
* @component
|
|
126
|
+
*/
|
|
27
127
|
export declare const NumberList: Icon;
|
|
128
|
+
/**
|
|
129
|
+
* Clear text formatting icon to remove all styles.
|
|
130
|
+
* @component
|
|
131
|
+
*/
|
|
28
132
|
export declare const RemoveTextFormat: Icon;
|
|
133
|
+
/**
|
|
134
|
+
* Color picker or color swatch icon for color selection.
|
|
135
|
+
* @component
|
|
136
|
+
*/
|
|
29
137
|
export declare const Colour: Icon;
|
|
138
|
+
/**
|
|
139
|
+
* Animated loading spinner icon indicating progress.
|
|
140
|
+
* @component
|
|
141
|
+
*/
|
|
30
142
|
export declare const Spinner: Icon;
|
|
143
|
+
/**
|
|
144
|
+
* Curly brace icon for code, programming, or grouping contexts.
|
|
145
|
+
* @component
|
|
146
|
+
*/
|
|
147
|
+
export declare const CurlyBrace: Icon;
|
|
148
|
+
/**
|
|
149
|
+
* Filled curly brace icon, an alternate style for code or grouping contexts.
|
|
150
|
+
* @component
|
|
151
|
+
*/
|
|
152
|
+
export declare const CurlyBrace2: Icon;
|
|
153
|
+
/**
|
|
154
|
+
* Double right arrow icon for navigation or pagination.
|
|
155
|
+
* @component
|
|
156
|
+
*/
|
|
31
157
|
export declare const DoubleArrowRight: Icon;
|
|
158
|
+
/**
|
|
159
|
+
* External link icon for opening links in new windows.
|
|
160
|
+
* @component
|
|
161
|
+
*/
|
|
32
162
|
export declare const ExternalLink: Icon;
|
|
163
|
+
/**
|
|
164
|
+
* X close icon for dismissing dialogs or closing elements.
|
|
165
|
+
* @component
|
|
166
|
+
*/
|
|
33
167
|
export declare const XClose: Icon;
|
|
168
|
+
/**
|
|
169
|
+
* QR code scan icon for barcode or QR code scanning.
|
|
170
|
+
* @component
|
|
171
|
+
*/
|
|
34
172
|
export declare const Scan: Icon;
|
|
173
|
+
/**
|
|
174
|
+
* Plus icon for adding or creating new items.
|
|
175
|
+
* @component
|
|
176
|
+
*/
|
|
35
177
|
export declare const Plus: Icon;
|
|
178
|
+
/**
|
|
179
|
+
* Fingerprint icon for biometric authentication or security.
|
|
180
|
+
* @component
|
|
181
|
+
*/
|
|
36
182
|
export declare const Fingerprint: Icon;
|
|
183
|
+
/**
|
|
184
|
+
* Coins icon depicting multiple coins for financial or payment contexts.
|
|
185
|
+
* @component
|
|
186
|
+
*/
|
|
37
187
|
export declare const Coins: Icon;
|
|
188
|
+
/**
|
|
189
|
+
* Two coins icon in outline style for monetary contexts.
|
|
190
|
+
* @component
|
|
191
|
+
*/
|
|
38
192
|
export declare const Coins2Outline: Icon;
|
|
193
|
+
/**
|
|
194
|
+
* Three coins icon for monetary or financial contexts.
|
|
195
|
+
* @component
|
|
196
|
+
*/
|
|
39
197
|
export declare const Coins3: Icon;
|
|
40
|
-
|
|
198
|
+
/**
|
|
199
|
+
* Empty circle outline icon for indicators or status display.
|
|
200
|
+
* @component
|
|
201
|
+
*/
|
|
41
202
|
export declare const EmptyCircle: Icon;
|
|
203
|
+
/**
|
|
204
|
+
* Vertical menu dots icon for action menus or more options.
|
|
205
|
+
* @component
|
|
206
|
+
*/
|
|
42
207
|
export declare const MenuDotsVertical: Icon;
|
|
43
208
|
//# sourceMappingURL=CustomIcons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomIcons.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/CustomIcons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAA;AAI7D,eAAO,MAAM,SAAS,EAAE,IAiBvB,CAAA;AAGD,eAAO,MAAM,OAAO,EAAE,IASrB,CAAA;AAGD,eAAO,MAAM,UAAU,EAAE,IAexB,CAAA;AAGD,eAAO,MAAM,OAAO,EAAE,IASrB,CAAA;AAGD,eAAO,MAAM,QAAQ,EAAE,IAStB,CAAA;AAGD,eAAO,MAAM,aAAa,EAAE,IAa3B,CAAA;AAGD,eAAO,MAAM,KAAK,EAAE,IAUnB,CAAA;AAGD,eAAO,MAAM,cAAc,EAAE,IAS5B,CAAA;AAGD,eAAO,MAAM,gBAAgB,EAAE,IAS9B,CAAA;AAGD,eAAO,MAAM,GAAG,EAAE,IAOhB,CAAA;AAGF,eAAO,MAAM,GAAG,EAAE,IAOhB,CAAA;AAGF,eAAO,MAAM,OAAO,EAAE,IAWrB,CAAA;AAGD,eAAO,MAAM,UAAU,EAAE,IAWxB,CAAA;AAGD,eAAO,MAA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