@dmsi/wedgekit-react 0.0.500 → 0.0.502
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/{chunk-ZQJMNPCF.js → chunk-25RZP3VR.js} +4 -4
- package/dist/{chunk-PIBHG6DH.js → chunk-2TNHD4MQ.js} +1 -1
- package/dist/{chunk-3DEYCNUE.js → chunk-3UUCDNX3.js} +4 -4
- package/dist/{chunk-LPY6PMAY.js → chunk-45AHDOAU.js} +1 -1
- package/dist/{chunk-JUFBGNWW.js → chunk-5DQVYX6H.js} +3 -3
- package/dist/{chunk-XIXQUEYC.js → chunk-5YNEY3WO.js} +19 -8
- package/dist/{chunk-IXR65MOU.js → chunk-7KWFEH56.js} +4 -0
- package/dist/{chunk-4LBQSSGH.js → chunk-B2O4TEOI.js} +4 -4
- package/dist/{chunk-4UH72JT2.js → chunk-BWBSDSA7.js} +6 -6
- package/dist/{chunk-UCJUC5AZ.js → chunk-BYC6QID5.js} +1 -1
- package/dist/{chunk-YD3HWIUJ.js → chunk-D4TFZ2WM.js} +7 -7
- package/dist/{chunk-HIKWIY5Q.js → chunk-F6RZ7MUE.js} +3 -3
- package/dist/{chunk-XHQOTLG6.js → chunk-FJRYHJUV.js} +1 -1
- package/dist/{chunk-2F3R3WXW.js → chunk-GYEXSNFP.js} +5 -5
- package/dist/{chunk-5MLYAQQO.js → chunk-HK4S6TRH.js} +1 -1
- package/dist/{chunk-AL5QIRY3.js → chunk-HXGJVYGQ.js} +1 -1
- package/dist/{chunk-KHIJYWZ7.js → chunk-KIAF4N7M.js} +1 -1
- package/dist/{chunk-G4AWTFBQ.js → chunk-KPBG7D3V.js} +3 -3
- package/dist/{chunk-GRGDX7JC.js → chunk-LB7UT6F3.js} +2 -2
- package/dist/{chunk-TOKS63IK.js → chunk-LJLHGLTS.js} +5 -5
- package/dist/{chunk-5R4C5F63.js → chunk-LKKFQLWD.js} +20 -10
- package/dist/{chunk-WEAVZEE4.js → chunk-M7WHWZ2J.js} +2 -2
- package/dist/{chunk-7GHD74J3.js → chunk-MDB26F6T.js} +1 -1
- package/dist/{chunk-Z6HIIJK3.js → chunk-MO52RSXV.js} +1 -1
- package/dist/{chunk-IY7SXEVY.js → chunk-MUOYLXBF.js} +3 -3
- package/dist/{chunk-PCQXSYTH.js → chunk-MV6W7OMC.js} +3 -3
- package/dist/{chunk-H2KC5XUY.js → chunk-MXSJF6TW.js} +1 -1
- package/dist/{chunk-7BVUTFZ5.js → chunk-OWHPPZZA.js} +2 -2
- package/dist/{chunk-G7EOLHST.js → chunk-PJL5XESN.js} +1 -1
- package/dist/{chunk-QMSPTD6L.js → chunk-PRN2EQBX.js} +1 -1
- package/dist/{chunk-BTKWHCUE.js → chunk-PS6UJZVH.js} +1 -1
- package/dist/{chunk-TWDH7ZDS.js → chunk-QV3NANQC.js} +19 -18
- package/dist/{chunk-6TYWM26K.js → chunk-SUSUNSVZ.js} +2 -2
- package/dist/{chunk-X4UK7HE2.js → chunk-TAPYQBQU.js} +5 -5
- package/dist/{chunk-OZBB6RFM.js → chunk-TMHOK37S.js} +1 -1
- package/dist/{chunk-DORD2EBO.js → chunk-TPXH53SA.js} +3 -3
- package/dist/{chunk-KW6V7O3H.js → chunk-UI7P5J5S.js} +15 -5
- package/dist/{chunk-YEZBNQZI.js → chunk-VOSQMHNF.js} +1 -1
- package/dist/{chunk-B53XDCLO.js → chunk-VS53C5ZD.js} +6 -6
- package/dist/{chunk-ZSETMD4A.js → chunk-WMPWWFUJ.js} +1 -1
- package/dist/{chunk-FG7GNGE3.js → chunk-WVVEOCEH.js} +1 -1
- package/dist/components/AccessChangerTabItem.cjs +3 -0
- package/dist/components/AccessChangerTabItem.js +2 -2
- package/dist/components/Accordion.cjs +5 -2
- package/dist/components/Accordion.js +4 -4
- package/dist/components/Alert.cjs +5 -2
- package/dist/components/Alert.js +6 -6
- package/dist/components/Breadcrumbs.cjs +4 -1
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.cjs +3 -0
- package/dist/components/Button.js +2 -2
- package/dist/components/CalendarRange.cjs +18 -5
- package/dist/components/CalendarRange.css +28 -5
- package/dist/components/CalendarRange.js +38 -38
- package/dist/components/Caption.cjs +3 -0
- package/dist/components/Caption.js +2 -2
- package/dist/components/Checkbox.cjs +3 -0
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CompactImagesPreview.cjs +5 -2
- package/dist/components/CompactImagesPreview.js +3 -3
- package/dist/components/ContentTab.cjs +3 -0
- package/dist/components/ContentTab.js +3 -3
- package/dist/components/ContentTabs.cjs +3 -0
- package/dist/components/ContentTabs.js +3 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +18 -5
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +28 -5
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +38 -38
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +18 -5
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +28 -5
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +38 -38
- package/dist/components/DataGrid/PinnedColumns.cjs +18 -5
- package/dist/components/DataGrid/PinnedColumns.css +28 -5
- package/dist/components/DataGrid/PinnedColumns.js +38 -38
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +18 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.css +28 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.js +38 -38
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +18 -5
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +28 -5
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +38 -38
- package/dist/components/DataGrid/TableBody/index.cjs +18 -5
- package/dist/components/DataGrid/TableBody/index.css +28 -5
- package/dist/components/DataGrid/TableBody/index.js +38 -38
- package/dist/components/DataGrid/index.cjs +18 -5
- package/dist/components/DataGrid/index.css +28 -5
- package/dist/components/DataGrid/index.js +38 -38
- package/dist/components/DataGrid/utils.cjs +18 -5
- package/dist/components/DataGrid/utils.css +28 -5
- package/dist/components/DataGrid/utils.js +38 -38
- package/dist/components/DataGridCell.cjs +18 -5
- package/dist/components/DataGridCell.js +8 -8
- package/dist/components/DateInput.cjs +18 -5
- package/dist/components/DateInput.css +28 -5
- package/dist/components/DateInput.js +38 -38
- package/dist/components/DateRangeInput.cjs +18 -5
- package/dist/components/DateRangeInput.css +28 -5
- package/dist/components/DateRangeInput.js +38 -38
- package/dist/components/Display.cjs +3 -0
- package/dist/components/Display.js +2 -2
- package/dist/components/FilterGroup.cjs +3 -0
- package/dist/components/FilterGroup.js +11 -11
- package/dist/components/Heading.cjs +3 -0
- package/dist/components/Heading.js +2 -2
- package/dist/components/HorizontalDivider.cjs +40 -3
- package/dist/components/HorizontalDivider.js +18 -4
- package/dist/components/Input.cjs +3 -0
- package/dist/components/Input.js +4 -4
- package/dist/components/InputGroup.cjs +3 -0
- package/dist/components/InputGroup.js +2 -2
- package/dist/components/Label.cjs +3 -0
- package/dist/components/Label.js +2 -2
- package/dist/components/Link.cjs +3 -0
- package/dist/components/Link.js +2 -2
- package/dist/components/ListGroup.cjs +5 -2
- package/dist/components/ListGroup.js +4 -4
- package/dist/components/MainBar.cjs +3 -0
- package/dist/components/MainBar.js +1 -1
- package/dist/components/MenuOption.cjs +18 -5
- package/dist/components/MenuOption.js +5 -5
- package/dist/components/MobileDataGrid/ColumnList.cjs +73 -9
- package/dist/components/MobileDataGrid/ColumnList.js +11 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +18 -5
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +28 -5
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +38 -38
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +62 -4
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +6 -3
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +73 -9
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +10 -7
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +21 -7
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +28 -5
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +38 -38
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +65 -7
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +8 -5
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +65 -7
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +12 -12
- package/dist/components/MobileDataGrid/index.cjs +42 -15
- package/dist/components/MobileDataGrid/index.css +28 -5
- package/dist/components/MobileDataGrid/index.js +38 -38
- package/dist/components/Modal.cjs +3 -0
- package/dist/components/Modal.js +7 -7
- package/dist/components/ModalButtons.cjs +3 -0
- package/dist/components/ModalButtons.js +3 -3
- package/dist/components/ModalContent.cjs +3 -0
- package/dist/components/ModalContent.js +2 -2
- package/dist/components/ModalHeader.cjs +3 -0
- package/dist/components/ModalHeader.js +4 -4
- package/dist/components/NavigationTab.cjs +3 -0
- package/dist/components/NavigationTab.js +3 -3
- package/dist/components/NavigationTabs.cjs +3 -0
- package/dist/components/NavigationTabs.js +3 -3
- package/dist/components/NestedMenu.cjs +18 -5
- package/dist/components/NestedMenu.js +8 -8
- package/dist/components/Notification.cjs +5 -2
- package/dist/components/Notification.js +7 -7
- package/dist/components/OptionPill.cjs +3 -0
- package/dist/components/OptionPill.js +4 -4
- package/dist/components/PDFViewer/DownloadIcon.cjs +3 -0
- package/dist/components/PDFViewer/DownloadIcon.js +3 -3
- package/dist/components/PDFViewer/PDFElement.cjs +5 -2
- package/dist/components/PDFViewer/PDFElement.js +3 -3
- package/dist/components/PDFViewer/PDFNavigation.cjs +5 -2
- package/dist/components/PDFViewer/PDFNavigation.js +6 -6
- package/dist/components/PDFViewer/index.cjs +5 -2
- package/dist/components/PDFViewer/index.js +13 -13
- package/dist/components/Pagination.cjs +3 -0
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Paragraph.cjs +3 -0
- package/dist/components/Paragraph.js +2 -2
- package/dist/components/Password.cjs +3 -0
- package/dist/components/Password.js +4 -4
- package/dist/components/ProductImagePreview/index.cjs +5 -2
- package/dist/components/ProductImagePreview/index.js +4 -4
- package/dist/components/ProjectBar.cjs +3 -0
- package/dist/components/ProjectBar.js +1 -1
- package/dist/components/Radio.cjs +3 -0
- package/dist/components/Radio.js +2 -2
- package/dist/components/Search.cjs +3 -0
- package/dist/components/Search.js +5 -5
- package/dist/components/Select.cjs +3 -0
- package/dist/components/Select.js +5 -5
- package/dist/components/SideMenuGroup.cjs +5 -2
- package/dist/components/SideMenuGroup.js +3 -3
- package/dist/components/SideMenuItem.cjs +5 -2
- package/dist/components/SideMenuItem.js +3 -3
- package/dist/components/SimpleTable.cjs +5 -2
- package/dist/components/SimpleTable.js +4 -4
- package/dist/components/Stack.cjs +5 -2
- package/dist/components/Stack.js +2 -2
- package/dist/components/StatusPill.cjs +3 -0
- package/dist/components/StatusPill.js +2 -2
- package/dist/components/Stepper.cjs +3 -0
- package/dist/components/Stepper.js +7 -7
- package/dist/components/Subheader.cjs +3 -0
- package/dist/components/Subheader.js +2 -2
- package/dist/components/Swatch.cjs +5 -2
- package/dist/components/Swatch.js +5 -5
- package/dist/components/Textarea.cjs +3 -0
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Time.cjs +5 -2
- package/dist/components/Time.js +5 -5
- package/dist/components/Toast.cjs +3 -0
- package/dist/components/Toast.js +6 -6
- package/dist/components/Tooltip.cjs +3 -0
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/TopBar.cjs +3 -0
- package/dist/components/TopBar.js +1 -1
- package/dist/components/Upload.cjs +5 -2
- package/dist/components/Upload.js +6 -6
- package/dist/components/index.cjs +42 -15
- package/dist/components/index.css +28 -5
- package/dist/components/index.js +45 -45
- package/dist/index.css +28 -5
- package/package.json +1 -1
- package/src/classNames.ts +4 -0
- package/src/components/Breadcrumbs.tsx +1 -1
- package/src/components/HorizontalDivider.tsx +16 -3
- package/src/components/MenuOption.tsx +16 -4
- package/src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx +12 -5
- package/src/components/MobileDataGrid/MobileDataGridCard/index.tsx +11 -2
- package/src/components/MobileDataGrid/MobileDataGridHeader.tsx +1 -0
- package/src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx +1 -1
- package/src/components/Stack.tsx +1 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button
|
|
3
|
+
} from "./chunk-45AHDOAU.js";
|
|
1
4
|
import {
|
|
2
5
|
Icon
|
|
3
6
|
} from "./chunk-NKUETCDA.js";
|
|
4
|
-
import {
|
|
5
|
-
Button
|
|
6
|
-
} from "./chunk-LPY6PMAY.js";
|
|
7
7
|
import {
|
|
8
8
|
layoutGroupGap,
|
|
9
9
|
layoutPaddding
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7KWFEH56.js";
|
|
11
11
|
|
|
12
12
|
// src/components/ModalButtons.tsx
|
|
13
13
|
import clsx from "clsx";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-5IFPG6TS.js";
|
|
4
4
|
import {
|
|
5
5
|
MobileDataGridColumn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UI7P5J5S.js";
|
|
7
7
|
import {
|
|
8
8
|
Paragraph
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
10
10
|
import {
|
|
11
11
|
Stack
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TPXH53SA.js";
|
|
13
13
|
|
|
14
14
|
// src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -26,7 +26,7 @@ function ModalContent() {
|
|
|
26
26
|
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ jsxs(
|
|
27
27
|
"div",
|
|
28
28
|
{
|
|
29
|
-
className: "grid grid-cols-2 gap-2
|
|
29
|
+
className: "grid grid-cols-2 gap-2 items-center flex-1",
|
|
30
30
|
children: [
|
|
31
31
|
/* @__PURE__ */ jsxs(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
32
32
|
(_b = column.header) == null ? void 0 : _b.toString(),
|
|
@@ -3,22 +3,27 @@ import {
|
|
|
3
3
|
} from "./chunk-5IFPG6TS.js";
|
|
4
4
|
import {
|
|
5
5
|
MobileDataGridColumn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UI7P5J5S.js";
|
|
7
7
|
import {
|
|
8
8
|
Checkbox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M7WHWZ2J.js";
|
|
10
10
|
import {
|
|
11
11
|
Subheader
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BYC6QID5.js";
|
|
13
13
|
import {
|
|
14
14
|
Paragraph
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
16
16
|
import {
|
|
17
17
|
Stack
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TPXH53SA.js";
|
|
19
19
|
import {
|
|
20
20
|
Icon
|
|
21
21
|
} from "./chunk-NKUETCDA.js";
|
|
22
|
+
import {
|
|
23
|
+
layoutGroupGap,
|
|
24
|
+
layoutPaddingX,
|
|
25
|
+
paddingYUsingLayoutGroupGap
|
|
26
|
+
} from "./chunk-7KWFEH56.js";
|
|
22
27
|
|
|
23
28
|
// src/components/MobileDataGrid/MobileDataGridCard/index.tsx
|
|
24
29
|
import clsx from "clsx";
|
|
@@ -40,8 +45,12 @@ function MobileDataGridCard({
|
|
|
40
45
|
id: id ? `${id}-card-${getId(data)}` : void 0,
|
|
41
46
|
"data-testid": testid ? `${testid}-card-${getId(data)}` : void 0,
|
|
42
47
|
className: clsx(
|
|
48
|
+
"flex flex-col",
|
|
43
49
|
"hover:bg-action-100 cursor-pointer list-none",
|
|
44
|
-
selected ? "bg-action-100" : "bg-background-grouped-primary-normal"
|
|
50
|
+
selected ? "bg-action-100" : "bg-background-grouped-primary-normal",
|
|
51
|
+
layoutGroupGap,
|
|
52
|
+
layoutPaddingX,
|
|
53
|
+
paddingYUsingLayoutGroupGap
|
|
45
54
|
),
|
|
46
55
|
onClick: () => openRowDetail(data),
|
|
47
56
|
children: [
|
|
@@ -53,6 +62,7 @@ function MobileDataGridCard({
|
|
|
53
62
|
sizing: "component",
|
|
54
63
|
padding: true,
|
|
55
64
|
width: "fit",
|
|
65
|
+
style: { paddingLeft: 0, paddingRight: 8 },
|
|
56
66
|
onClick: (e) => e.stopPropagation(),
|
|
57
67
|
children: /* @__PURE__ */ jsx(
|
|
58
68
|
Checkbox,
|
|
@@ -71,6 +81,7 @@ function MobileDataGridCard({
|
|
|
71
81
|
sizing: "component",
|
|
72
82
|
padding: true,
|
|
73
83
|
onClick: (e) => e.stopPropagation(),
|
|
84
|
+
style: { paddingInline: 0 },
|
|
74
85
|
children: renderLink ? renderLink(data) : /* @__PURE__ */ jsx(Subheader, { children: String((_a = data[context.primaryKey]) != null ? _a : "") })
|
|
75
86
|
}
|
|
76
87
|
),
|
|
@@ -96,7 +107,7 @@ function MobileDataGridCard({
|
|
|
96
107
|
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ jsxs(
|
|
97
108
|
"div",
|
|
98
109
|
{
|
|
99
|
-
className: "grid grid-cols-2 gap-2
|
|
110
|
+
className: "grid grid-cols-2 gap-2 items-center flex-1",
|
|
100
111
|
children: [
|
|
101
112
|
/* @__PURE__ */ jsxs(
|
|
102
113
|
Paragraph,
|
|
@@ -132,7 +143,7 @@ function MobileDataGridCard({
|
|
|
132
143
|
}
|
|
133
144
|
) })
|
|
134
145
|
] }),
|
|
135
|
-
renderChevron && /* @__PURE__ */ jsx(Stack, { items: "center", justify: "center", horizontal: true, horizontalMobile: true, children: /* @__PURE__ */ jsx(Icon, { name: "keyboard_arrow_down" }) })
|
|
146
|
+
renderChevron && /* @__PURE__ */ jsx(Stack, { items: "center", justify: "center", horizontal: true, horizontalMobile: true, children: /* @__PURE__ */ jsx("span", { className: "text-icon-primary-normal", children: /* @__PURE__ */ jsx(Icon, { name: "keyboard_arrow_down" }) }) })
|
|
136
147
|
]
|
|
137
148
|
}
|
|
138
149
|
);
|
|
@@ -116,6 +116,9 @@ var layoutPaddingBottom = clsx(
|
|
|
116
116
|
var layoutPaddingY = clsx(
|
|
117
117
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
118
118
|
);
|
|
119
|
+
var layoutPaddingX = clsx(
|
|
120
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
121
|
+
);
|
|
119
122
|
var containerPaddingX = clsx(
|
|
120
123
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
121
124
|
);
|
|
@@ -153,6 +156,7 @@ export {
|
|
|
153
156
|
componentPaddingMinusBorderDesktop,
|
|
154
157
|
layoutPaddding,
|
|
155
158
|
layoutPaddingBottom,
|
|
159
|
+
layoutPaddingX,
|
|
156
160
|
containerPaddingX,
|
|
157
161
|
containerPaddingY,
|
|
158
162
|
layoutGroupGapPaddingY,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PDFElement
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VOSQMHNF.js";
|
|
4
4
|
import {
|
|
5
5
|
PdfNavigation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VS53C5ZD.js";
|
|
7
7
|
import {
|
|
8
8
|
DownloadIcon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5DQVYX6H.js";
|
|
10
10
|
import {
|
|
11
11
|
Modal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LJLHGLTS.js";
|
|
13
13
|
|
|
14
14
|
// src/components/PDFViewer/index.tsx
|
|
15
15
|
import { useCallback, useEffect, useState } from "react";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Heading2
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MXSJF6TW.js";
|
|
4
|
+
import {
|
|
5
|
+
Button
|
|
6
|
+
} from "./chunk-45AHDOAU.js";
|
|
4
7
|
import {
|
|
5
8
|
Paragraph
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
7
10
|
import {
|
|
8
11
|
Stack
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TPXH53SA.js";
|
|
10
13
|
import {
|
|
11
14
|
Icon
|
|
12
15
|
} from "./chunk-NKUETCDA.js";
|
|
13
|
-
import {
|
|
14
|
-
Button
|
|
15
|
-
} from "./chunk-LPY6PMAY.js";
|
|
16
16
|
import {
|
|
17
17
|
__objRest,
|
|
18
18
|
__spreadProps,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModalContent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3UUCDNX3.js";
|
|
4
4
|
import {
|
|
5
5
|
useGridContext
|
|
6
6
|
} from "./chunk-5IFPG6TS.js";
|
|
7
7
|
import {
|
|
8
8
|
Modal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LJLHGLTS.js";
|
|
10
10
|
import {
|
|
11
11
|
Heading2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MXSJF6TW.js";
|
|
13
|
+
import {
|
|
14
|
+
Button
|
|
15
|
+
} from "./chunk-45AHDOAU.js";
|
|
13
16
|
import {
|
|
14
17
|
Stack
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TPXH53SA.js";
|
|
16
19
|
import {
|
|
17
20
|
Icon
|
|
18
21
|
} from "./chunk-NKUETCDA.js";
|
|
19
|
-
import {
|
|
20
|
-
Button
|
|
21
|
-
} from "./chunk-LPY6PMAY.js";
|
|
22
22
|
|
|
23
23
|
// src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
|
|
24
24
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-DVU5XV7L.js";
|
|
7
7
|
import {
|
|
8
8
|
MenuOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LKKFQLWD.js";
|
|
10
10
|
import {
|
|
11
11
|
Search
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HK4S6TRH.js";
|
|
13
13
|
import {
|
|
14
14
|
CSS
|
|
15
15
|
} from "./chunk-WVUIIBRR.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
componentPadding,
|
|
21
21
|
paddingUsingComponentGap
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7KWFEH56.js";
|
|
23
23
|
import {
|
|
24
24
|
__objRest,
|
|
25
25
|
__spreadProps,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-URYQ24NF.js";
|
|
22
22
|
import {
|
|
23
23
|
Stack
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TPXH53SA.js";
|
|
25
25
|
|
|
26
26
|
// src/components/ProductImagePreview/useProductImagePreview.ts
|
|
27
27
|
import { useCallback, useEffect, useRef, useState, useMemo } from "react";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Label
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HXGJVYGQ.js";
|
|
4
|
+
import {
|
|
5
|
+
Button
|
|
6
|
+
} from "./chunk-45AHDOAU.js";
|
|
4
7
|
import {
|
|
5
8
|
Icon
|
|
6
9
|
} from "./chunk-NKUETCDA.js";
|
|
7
|
-
import {
|
|
8
|
-
Button
|
|
9
|
-
} from "./chunk-LPY6PMAY.js";
|
|
10
10
|
import {
|
|
11
11
|
baseTransition,
|
|
12
12
|
componentGap,
|
|
13
13
|
componentPadding,
|
|
14
14
|
componentPaddingMinusBorder,
|
|
15
15
|
componentPaddingYUsingComponentGap
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7KWFEH56.js";
|
|
17
17
|
import {
|
|
18
18
|
__objRest,
|
|
19
19
|
__spreadProps,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Label
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HXGJVYGQ.js";
|
|
4
4
|
import {
|
|
5
5
|
formatCurrencyDisplay,
|
|
6
6
|
formatDecimalValue,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-5UH6QUFB.js";
|
|
9
9
|
import {
|
|
10
10
|
Paragraph
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
12
12
|
import {
|
|
13
13
|
Icon
|
|
14
14
|
} from "./chunk-NKUETCDA.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
componentPaddingMinusBorderDesktop,
|
|
20
20
|
componentPaddingXUsingComponentGap,
|
|
21
21
|
typography
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7KWFEH56.js";
|
|
23
23
|
import {
|
|
24
24
|
__objRest,
|
|
25
25
|
__spreadProps,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Subheader
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BYC6QID5.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
6
|
} from "./chunk-NKUETCDA.js";
|
|
7
7
|
import {
|
|
8
8
|
paddingUsingComponentGap
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7KWFEH56.js";
|
|
10
10
|
|
|
11
11
|
// src/components/Pagination.tsx
|
|
12
12
|
import { useCallback, useMemo } from "react";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useMounted
|
|
3
3
|
} from "./chunk-4RJKB7LC.js";
|
|
4
|
+
import {
|
|
5
|
+
ModalButtons
|
|
6
|
+
} from "./chunk-25RZP3VR.js";
|
|
4
7
|
import {
|
|
5
8
|
ModalContent
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WVVEOCEH.js";
|
|
7
10
|
import {
|
|
8
11
|
ModalHeader
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TAPYQBQU.js";
|
|
10
13
|
import {
|
|
11
14
|
ModalScrim
|
|
12
15
|
} from "./chunk-AG43RS4Q.js";
|
|
13
|
-
import {
|
|
14
|
-
ModalButtons
|
|
15
|
-
} from "./chunk-ZQJMNPCF.js";
|
|
16
16
|
import {
|
|
17
17
|
useMatchesMobile
|
|
18
18
|
} from "./chunk-URYQ24NF.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Label
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HXGJVYGQ.js";
|
|
4
4
|
import {
|
|
5
5
|
Caption
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PS6UJZVH.js";
|
|
7
7
|
import {
|
|
8
8
|
useMatchesMobile
|
|
9
9
|
} from "./chunk-URYQ24NF.js";
|
|
10
10
|
import {
|
|
11
11
|
Paragraph
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
13
13
|
import {
|
|
14
14
|
Icon
|
|
15
15
|
} from "./chunk-NKUETCDA.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
componentGap,
|
|
19
19
|
componentPadding,
|
|
20
20
|
layoutGroupGap
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7KWFEH56.js";
|
|
22
22
|
import {
|
|
23
23
|
__spreadProps,
|
|
24
24
|
__spreadValues
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
|
|
27
27
|
// src/components/MenuOption.tsx
|
|
28
28
|
import clsx from "clsx";
|
|
29
|
-
import { useId, useRef } from "react";
|
|
29
|
+
import { useId, useRef, useState } from "react";
|
|
30
30
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
31
31
|
var MenuOption = ({
|
|
32
32
|
id,
|
|
@@ -60,6 +60,7 @@ var MenuOption = ({
|
|
|
60
60
|
const actualRef = ref || internalRef;
|
|
61
61
|
const menuId = useRef(`menu-${uniqueId}`);
|
|
62
62
|
const isMobile = useMatchesMobile();
|
|
63
|
+
const [isSubMenuHovered, setIsSubMenuHovered] = useState(false);
|
|
63
64
|
const handleMouseEnter = () => {
|
|
64
65
|
if (subMenu && onSubMenuHover && !disabled) {
|
|
65
66
|
onSubMenuHover(menuId.current, subMenuLevel);
|
|
@@ -69,6 +70,7 @@ var MenuOption = ({
|
|
|
69
70
|
if (subMenu && onSubMenuLeave && !disabled) {
|
|
70
71
|
onSubMenuLeave(subMenuLevel);
|
|
71
72
|
}
|
|
73
|
+
setIsSubMenuHovered(false);
|
|
72
74
|
};
|
|
73
75
|
const handleMouseMove = () => {
|
|
74
76
|
if (subMenu && onMouseMove && !disabled) {
|
|
@@ -79,9 +81,11 @@ var MenuOption = ({
|
|
|
79
81
|
if (onSubMenuEnter) {
|
|
80
82
|
onSubMenuEnter();
|
|
81
83
|
}
|
|
84
|
+
setIsSubMenuHovered(true);
|
|
82
85
|
};
|
|
83
86
|
const additionalAttributes = {
|
|
84
|
-
"data-selected": selected || null
|
|
87
|
+
"data-selected": selected || null,
|
|
88
|
+
"data-submenu-hovered": isSubMenuHovered || null
|
|
85
89
|
};
|
|
86
90
|
const svgStyles = clsx(
|
|
87
91
|
"[&>svg]:shrink-0 [&>svg]:fill-icon-action-primary-normal"
|
|
@@ -90,16 +94,18 @@ var MenuOption = ({
|
|
|
90
94
|
const normalStyles = variant === "normal" && !disabled && clsx(
|
|
91
95
|
"bg-transparent text-text-primary-normal",
|
|
92
96
|
"hover:bg-background-action-secondary-hover",
|
|
93
|
-
"focus:bg-background-action-secondary-hover",
|
|
97
|
+
"focus-visible:bg-background-action-secondary-hover",
|
|
94
98
|
"data-selected:bg-background-action-secondary-hover",
|
|
99
|
+
"data-submenu-hovered:bg-background-action-secondary-hover",
|
|
95
100
|
"active:bg-background-action-secondary-active"
|
|
96
101
|
);
|
|
97
102
|
const normalDisabledStyles = variant === "normal" && disabled && clsx("text-text-primary-disabled");
|
|
98
103
|
const actionStyles = variant === "action" && !disabled && clsx(
|
|
99
104
|
"text-action-400 bg-transparent",
|
|
100
105
|
"hover:bg-background-action-secondary-hover hover:text-text-action-hover",
|
|
101
|
-
"focus:bg-background-action-secondary-hover focus:text-text-action-hover",
|
|
106
|
+
"focus-visible:bg-background-action-secondary-hover focus-visible:text-text-action-hover",
|
|
102
107
|
"data-selected:bg-background-action-secondary-active data-selected:text-text-action-active",
|
|
108
|
+
"data-submenu-hovered:bg-background-action-secondary-active data-submenu-hovered:text-text-action-active",
|
|
103
109
|
"active:bg-background-action-secondary-active active:text-text-action-active"
|
|
104
110
|
);
|
|
105
111
|
const actionDisabledStyles = variant === "action" && disabled && clsx("text-text-action-disabled");
|
|
@@ -151,7 +157,10 @@ var MenuOption = ({
|
|
|
151
157
|
"div",
|
|
152
158
|
{
|
|
153
159
|
onMouseEnter: handleSubMenuEnter,
|
|
154
|
-
onMouseLeave:
|
|
160
|
+
onMouseLeave: () => {
|
|
161
|
+
handleMouseLeave();
|
|
162
|
+
setIsSubMenuHovered(false);
|
|
163
|
+
},
|
|
155
164
|
"data-submenu-parent": menuId.current,
|
|
156
165
|
"data-menu-level": subMenuLevel + 1,
|
|
157
166
|
children: subMenu({
|
|
@@ -161,7 +170,8 @@ var MenuOption = ({
|
|
|
161
170
|
position: "right",
|
|
162
171
|
subMenuLevel,
|
|
163
172
|
mobileBackMenuOption,
|
|
164
|
-
mobileHide: isMobile && activeMenu !== menuId.current
|
|
173
|
+
mobileHide: isMobile && activeMenu !== menuId.current,
|
|
174
|
+
autoFocusOff: true
|
|
165
175
|
})
|
|
166
176
|
}
|
|
167
177
|
)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Paragraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
6
|
} from "./chunk-NKUETCDA.js";
|
|
7
7
|
import {
|
|
8
8
|
baseTransition,
|
|
9
9
|
componentGap
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7KWFEH56.js";
|
|
11
11
|
import {
|
|
12
12
|
__objRest,
|
|
13
13
|
__spreadValues
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-KBJZUVLM.js";
|
|
4
4
|
import {
|
|
5
5
|
Paragraph
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
7
7
|
import {
|
|
8
8
|
Stack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TPXH53SA.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
12
|
} from "./chunk-NKUETCDA.js";
|
|
13
13
|
import {
|
|
14
14
|
typography
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7KWFEH56.js";
|
|
16
16
|
|
|
17
17
|
// src/components/Accordion.tsx
|
|
18
18
|
import clsx from "clsx";
|