@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
|
@@ -3,47 +3,47 @@ import {
|
|
|
3
3
|
} from "./chunk-M7INAUAJ.js";
|
|
4
4
|
import {
|
|
5
5
|
RowDetailModalProvider
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D4TFZ2WM.js";
|
|
7
7
|
import {
|
|
8
8
|
ColumnList
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PRN2EQBX.js";
|
|
10
10
|
import {
|
|
11
11
|
useGridContext
|
|
12
12
|
} from "./chunk-5IFPG6TS.js";
|
|
13
13
|
import {
|
|
14
14
|
Tooltip
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MDB26F6T.js";
|
|
16
16
|
import {
|
|
17
17
|
Theme
|
|
18
18
|
} from "./chunk-EWGHVZL5.js";
|
|
19
19
|
import {
|
|
20
20
|
Select
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2TNHD4MQ.js";
|
|
22
22
|
import {
|
|
23
23
|
DataCellHeader,
|
|
24
24
|
DataGridCell,
|
|
25
25
|
DragAlongCell,
|
|
26
26
|
DraggableCellHeader
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-F6RZ7MUE.js";
|
|
28
28
|
import {
|
|
29
29
|
Menu
|
|
30
30
|
} from "./chunk-TCMOGTPB.js";
|
|
31
31
|
import {
|
|
32
32
|
MenuOption
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LKKFQLWD.js";
|
|
34
34
|
import {
|
|
35
35
|
Search
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HK4S6TRH.js";
|
|
37
37
|
import {
|
|
38
38
|
Input,
|
|
39
39
|
InputBase
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-KPBG7D3V.js";
|
|
41
41
|
import {
|
|
42
42
|
Label
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HXGJVYGQ.js";
|
|
44
44
|
import {
|
|
45
45
|
Checkbox
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-M7WHWZ2J.js";
|
|
47
47
|
import {
|
|
48
48
|
useInfiniteScroll,
|
|
49
49
|
useTableLayout
|
|
@@ -63,29 +63,29 @@ import {
|
|
|
63
63
|
} from "./chunk-5UH6QUFB.js";
|
|
64
64
|
import {
|
|
65
65
|
Subheader
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-BYC6QID5.js";
|
|
67
67
|
import {
|
|
68
68
|
Heading3
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-MXSJF6TW.js";
|
|
70
|
+
import {
|
|
71
|
+
Button
|
|
72
|
+
} from "./chunk-45AHDOAU.js";
|
|
70
73
|
import {
|
|
71
74
|
Paragraph
|
|
72
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
73
76
|
import {
|
|
74
77
|
Stack
|
|
75
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-TPXH53SA.js";
|
|
76
79
|
import {
|
|
77
80
|
Icon
|
|
78
81
|
} from "./chunk-NKUETCDA.js";
|
|
79
|
-
import {
|
|
80
|
-
Button
|
|
81
|
-
} from "./chunk-LPY6PMAY.js";
|
|
82
82
|
import {
|
|
83
83
|
componentGap,
|
|
84
84
|
componentPadding,
|
|
85
85
|
layoutGap,
|
|
86
86
|
layoutPaddding,
|
|
87
87
|
typography
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-7KWFEH56.js";
|
|
89
89
|
import {
|
|
90
90
|
__objRest,
|
|
91
91
|
__spreadProps,
|
|
@@ -2077,6 +2077,7 @@ function MobileDataGridHeader({
|
|
|
2077
2077
|
items: "center",
|
|
2078
2078
|
justify: "between",
|
|
2079
2079
|
backgroundColor: "background-primary-normal",
|
|
2080
|
+
style: { borderTopRightRadius: 4, borderTopLeftRadius: 4 },
|
|
2080
2081
|
children: [
|
|
2081
2082
|
enableRowSelection && /* @__PURE__ */ jsx11("div", { className: "p-mobile-component-padding border-r border-brand-200 max-w-fit h-full", children: /* @__PURE__ */ jsx11(
|
|
2082
2083
|
Checkbox,
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
Icon
|
|
6
9
|
} from "./chunk-NKUETCDA.js";
|
|
7
|
-
import {
|
|
8
|
-
Button
|
|
9
|
-
} from "./chunk-LPY6PMAY.js";
|
|
10
10
|
import {
|
|
11
11
|
layoutGroupGap,
|
|
12
12
|
layoutPaddding
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7KWFEH56.js";
|
|
14
14
|
|
|
15
15
|
// src/components/ModalHeader.tsx
|
|
16
16
|
import clsx from "clsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paddingYUsingLayoutGroupGap
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7KWFEH56.js";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
@@ -140,7 +140,7 @@ var Stack = (_a) => {
|
|
|
140
140
|
id,
|
|
141
141
|
"data-testid": testid
|
|
142
142
|
}, props), {
|
|
143
|
-
style: {
|
|
143
|
+
style: __spreadValues({
|
|
144
144
|
height: height === "full" ? "100%" : height !== void 0 ? `${height}px` : void 0,
|
|
145
145
|
maxHeight: maxHeight !== void 0 ? isNaN(+maxHeight) ? maxHeight : `${maxHeight}px` : (_a2 = props.style) == null ? void 0 : _a2.maxHeight,
|
|
146
146
|
maxWidth: maxWidth !== void 0 ? isNaN(+maxWidth) ? maxWidth : `${maxWidth}px` : (_b2 = props.style) == null ? void 0 : _b2.maxWidth,
|
|
@@ -165,7 +165,7 @@ var Stack = (_a) => {
|
|
|
165
165
|
flexWrap,
|
|
166
166
|
paddingInline: (_f = props.style) == null ? void 0 : _f.paddingInline,
|
|
167
167
|
gap: (_g = props.style) == null ? void 0 : _g.gap
|
|
168
|
-
},
|
|
168
|
+
}, props.style),
|
|
169
169
|
className: clsx(
|
|
170
170
|
"scrollbar-thin",
|
|
171
171
|
"max-w-screen",
|
|
@@ -1,19 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatDate
|
|
3
|
+
} from "./chunk-R3EQIDBX.js";
|
|
1
4
|
import {
|
|
2
5
|
Paragraph
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WMPWWFUJ.js";
|
|
4
7
|
|
|
5
8
|
// src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
|
|
6
9
|
import { jsxs } from "react/jsx-runtime";
|
|
7
10
|
function MobileDataGridColumn(props) {
|
|
8
|
-
var _a;
|
|
11
|
+
var _a, _b;
|
|
9
12
|
const { column, data } = props;
|
|
10
|
-
|
|
13
|
+
let value;
|
|
14
|
+
if (column.id) {
|
|
15
|
+
value = data[column.id];
|
|
16
|
+
if (((_a = column.meta) == null ? void 0 : _a.format) === "date" && typeof value === "string") {
|
|
17
|
+
value = formatDate(value);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-2 flex-1", children: [
|
|
11
21
|
/* @__PURE__ */ jsxs(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
12
|
-
(
|
|
22
|
+
(_b = column.header) == null ? void 0 : _b.toString(),
|
|
13
23
|
":"
|
|
14
24
|
] }),
|
|
15
25
|
" ",
|
|
16
|
-
|
|
26
|
+
value ? value : null
|
|
17
27
|
] });
|
|
18
28
|
}
|
|
19
29
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Heading3
|
|
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
|
|
|
17
17
|
// src/components/PDFViewer/PDFNavigation.tsx
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -185,6 +185,9 @@ var layoutPaddingBottom = (0, import_clsx.default)(
|
|
|
185
185
|
var layoutPaddingY = (0, import_clsx.default)(
|
|
186
186
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
187
187
|
);
|
|
188
|
+
var layoutPaddingX = (0, import_clsx.default)(
|
|
189
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
190
|
+
);
|
|
188
191
|
var containerPaddingX = (0, import_clsx.default)(
|
|
189
192
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
190
193
|
);
|
|
@@ -183,6 +183,9 @@ var layoutPaddingBottom = (0, import_clsx.default)(
|
|
|
183
183
|
var layoutPaddingY = (0, import_clsx.default)(
|
|
184
184
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
185
185
|
);
|
|
186
|
+
var layoutPaddingX = (0, import_clsx.default)(
|
|
187
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
188
|
+
);
|
|
186
189
|
var containerPaddingX = (0, import_clsx.default)(
|
|
187
190
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
188
191
|
);
|
|
@@ -426,7 +429,7 @@ var Stack = (_a) => {
|
|
|
426
429
|
id,
|
|
427
430
|
"data-testid": testid
|
|
428
431
|
}, props), {
|
|
429
|
-
style: {
|
|
432
|
+
style: __spreadValues({
|
|
430
433
|
height: height === "full" ? "100%" : height !== void 0 ? `${height}px` : void 0,
|
|
431
434
|
maxHeight: maxHeight !== void 0 ? isNaN(+maxHeight) ? maxHeight : `${maxHeight}px` : (_a2 = props.style) == null ? void 0 : _a2.maxHeight,
|
|
432
435
|
maxWidth: maxWidth !== void 0 ? isNaN(+maxWidth) ? maxWidth : `${maxWidth}px` : (_b2 = props.style) == null ? void 0 : _b2.maxWidth,
|
|
@@ -451,7 +454,7 @@ var Stack = (_a) => {
|
|
|
451
454
|
flexWrap,
|
|
452
455
|
paddingInline: (_f = props.style) == null ? void 0 : _f.paddingInline,
|
|
453
456
|
gap: (_g = props.style) == null ? void 0 : _g.gap
|
|
454
|
-
},
|
|
457
|
+
}, props.style),
|
|
455
458
|
className: (0, import_clsx4.default)(
|
|
456
459
|
"scrollbar-thin",
|
|
457
460
|
"max-w-screen",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Accordion
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MUOYLXBF.js";
|
|
5
5
|
import "../chunk-KBJZUVLM.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-WMPWWFUJ.js";
|
|
7
|
+
import "../chunk-TPXH53SA.js";
|
|
8
8
|
import "../chunk-NKUETCDA.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7KWFEH56.js";
|
|
10
10
|
import "../chunk-ORMEWXMH.js";
|
|
11
11
|
export {
|
|
12
12
|
Accordion
|
|
@@ -185,6 +185,9 @@ var layoutPaddingBottom = (0, import_clsx.default)(
|
|
|
185
185
|
var layoutPaddingY = (0, import_clsx.default)(
|
|
186
186
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
187
187
|
);
|
|
188
|
+
var layoutPaddingX = (0, import_clsx.default)(
|
|
189
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
190
|
+
);
|
|
188
191
|
var containerPaddingX = (0, import_clsx.default)(
|
|
189
192
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
190
193
|
);
|
|
@@ -616,7 +619,7 @@ var Stack = (_a) => {
|
|
|
616
619
|
id,
|
|
617
620
|
"data-testid": testid
|
|
618
621
|
}, props), {
|
|
619
|
-
style: {
|
|
622
|
+
style: __spreadValues({
|
|
620
623
|
height: height === "full" ? "100%" : height !== void 0 ? `${height}px` : void 0,
|
|
621
624
|
maxHeight: maxHeight !== void 0 ? isNaN(+maxHeight) ? maxHeight : `${maxHeight}px` : (_a2 = props.style) == null ? void 0 : _a2.maxHeight,
|
|
622
625
|
maxWidth: maxWidth !== void 0 ? isNaN(+maxWidth) ? maxWidth : `${maxWidth}px` : (_b2 = props.style) == null ? void 0 : _b2.maxWidth,
|
|
@@ -641,7 +644,7 @@ var Stack = (_a) => {
|
|
|
641
644
|
flexWrap,
|
|
642
645
|
paddingInline: (_f = props.style) == null ? void 0 : _f.paddingInline,
|
|
643
646
|
gap: (_g = props.style) == null ? void 0 : _g.gap
|
|
644
|
-
},
|
|
647
|
+
}, props.style),
|
|
645
648
|
className: (0, import_clsx6.default)(
|
|
646
649
|
"scrollbar-thin",
|
|
647
650
|
"max-w-screen",
|
package/dist/components/Alert.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Alert
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-BWBSDSA7.js";
|
|
4
|
+
import "../chunk-MXSJF6TW.js";
|
|
5
|
+
import "../chunk-45AHDOAU.js";
|
|
6
|
+
import "../chunk-WMPWWFUJ.js";
|
|
7
|
+
import "../chunk-TPXH53SA.js";
|
|
7
8
|
import "../chunk-NKUETCDA.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-IXR65MOU.js";
|
|
9
|
+
import "../chunk-7KWFEH56.js";
|
|
10
10
|
import "../chunk-ORMEWXMH.js";
|
|
11
11
|
export {
|
|
12
12
|
Alert
|
|
@@ -188,6 +188,9 @@ var layoutPaddingBottom = (0, import_clsx.default)(
|
|
|
188
188
|
var layoutPaddingY = (0, import_clsx.default)(
|
|
189
189
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
190
190
|
);
|
|
191
|
+
var layoutPaddingX = (0, import_clsx.default)(
|
|
192
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
193
|
+
);
|
|
191
194
|
var containerPaddingX = (0, import_clsx.default)(
|
|
192
195
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
193
196
|
);
|
|
@@ -346,7 +349,7 @@ var Breadcrumb = ({
|
|
|
346
349
|
{
|
|
347
350
|
id: id ? `${id}-link` : void 0,
|
|
348
351
|
"data-testid": testid ? `${testid}-link` : void 0,
|
|
349
|
-
className: linkPadding,
|
|
352
|
+
className: (0, import_clsx4.default)(linkPadding, "!text-caption-desktop"),
|
|
350
353
|
href,
|
|
351
354
|
typographyStyle: "breadcrumb",
|
|
352
355
|
onClick,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Link
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MO52RSXV.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon
|
|
7
7
|
} from "../chunk-NKUETCDA.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-7KWFEH56.js";
|
|
9
9
|
import "../chunk-ORMEWXMH.js";
|
|
10
10
|
|
|
11
11
|
// src/components/Breadcrumbs.tsx
|
|
@@ -30,7 +30,7 @@ var Breadcrumb = ({
|
|
|
30
30
|
{
|
|
31
31
|
id: id ? `${id}-link` : void 0,
|
|
32
32
|
"data-testid": testid ? `${testid}-link` : void 0,
|
|
33
|
-
className: linkPadding,
|
|
33
|
+
className: clsx(linkPadding, "!text-caption-desktop"),
|
|
34
34
|
href,
|
|
35
35
|
typographyStyle: "breadcrumb",
|
|
36
36
|
onClick,
|
|
@@ -182,6 +182,9 @@ var layoutPaddingBottom = (0, import_clsx.default)(
|
|
|
182
182
|
var layoutPaddingY = (0, import_clsx.default)(
|
|
183
183
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
184
184
|
);
|
|
185
|
+
var layoutPaddingX = (0, import_clsx.default)(
|
|
186
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
187
|
+
);
|
|
185
188
|
var containerPaddingX = (0, import_clsx.default)(
|
|
186
189
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
187
190
|
);
|
|
@@ -184,6 +184,9 @@ var layoutPaddingBottom = (0, import_clsx.default)(
|
|
|
184
184
|
var layoutPaddingY = (0, import_clsx.default)(
|
|
185
185
|
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
186
186
|
);
|
|
187
|
+
var layoutPaddingX = (0, import_clsx.default)(
|
|
188
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
189
|
+
);
|
|
187
190
|
var containerPaddingX = (0, import_clsx.default)(
|
|
188
191
|
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
189
192
|
);
|
|
@@ -850,6 +853,7 @@ var MenuOption = ({
|
|
|
850
853
|
const actualRef = ref || internalRef;
|
|
851
854
|
const menuId = (0, import_react6.useRef)(`menu-${uniqueId}`);
|
|
852
855
|
const isMobile = useMatchesMobile();
|
|
856
|
+
const [isSubMenuHovered, setIsSubMenuHovered] = (0, import_react6.useState)(false);
|
|
853
857
|
const handleMouseEnter = () => {
|
|
854
858
|
if (subMenu && onSubMenuHover && !disabled) {
|
|
855
859
|
onSubMenuHover(menuId.current, subMenuLevel);
|
|
@@ -859,6 +863,7 @@ var MenuOption = ({
|
|
|
859
863
|
if (subMenu && onSubMenuLeave && !disabled) {
|
|
860
864
|
onSubMenuLeave(subMenuLevel);
|
|
861
865
|
}
|
|
866
|
+
setIsSubMenuHovered(false);
|
|
862
867
|
};
|
|
863
868
|
const handleMouseMove = () => {
|
|
864
869
|
if (subMenu && onMouseMove && !disabled) {
|
|
@@ -869,9 +874,11 @@ var MenuOption = ({
|
|
|
869
874
|
if (onSubMenuEnter) {
|
|
870
875
|
onSubMenuEnter();
|
|
871
876
|
}
|
|
877
|
+
setIsSubMenuHovered(true);
|
|
872
878
|
};
|
|
873
879
|
const additionalAttributes = {
|
|
874
|
-
"data-selected": selected || null
|
|
880
|
+
"data-selected": selected || null,
|
|
881
|
+
"data-submenu-hovered": isSubMenuHovered || null
|
|
875
882
|
};
|
|
876
883
|
const svgStyles = (0, import_clsx6.default)(
|
|
877
884
|
"[&>svg]:shrink-0 [&>svg]:fill-icon-action-primary-normal"
|
|
@@ -880,16 +887,18 @@ var MenuOption = ({
|
|
|
880
887
|
const normalStyles = variant === "normal" && !disabled && (0, import_clsx6.default)(
|
|
881
888
|
"bg-transparent text-text-primary-normal",
|
|
882
889
|
"hover:bg-background-action-secondary-hover",
|
|
883
|
-
"focus:bg-background-action-secondary-hover",
|
|
890
|
+
"focus-visible:bg-background-action-secondary-hover",
|
|
884
891
|
"data-selected:bg-background-action-secondary-hover",
|
|
892
|
+
"data-submenu-hovered:bg-background-action-secondary-hover",
|
|
885
893
|
"active:bg-background-action-secondary-active"
|
|
886
894
|
);
|
|
887
895
|
const normalDisabledStyles = variant === "normal" && disabled && (0, import_clsx6.default)("text-text-primary-disabled");
|
|
888
896
|
const actionStyles = variant === "action" && !disabled && (0, import_clsx6.default)(
|
|
889
897
|
"text-action-400 bg-transparent",
|
|
890
898
|
"hover:bg-background-action-secondary-hover hover:text-text-action-hover",
|
|
891
|
-
"focus:bg-background-action-secondary-hover focus:text-text-action-hover",
|
|
899
|
+
"focus-visible:bg-background-action-secondary-hover focus-visible:text-text-action-hover",
|
|
892
900
|
"data-selected:bg-background-action-secondary-active data-selected:text-text-action-active",
|
|
901
|
+
"data-submenu-hovered:bg-background-action-secondary-active data-submenu-hovered:text-text-action-active",
|
|
893
902
|
"active:bg-background-action-secondary-active active:text-text-action-active"
|
|
894
903
|
);
|
|
895
904
|
const actionDisabledStyles = variant === "action" && disabled && (0, import_clsx6.default)("text-text-action-disabled");
|
|
@@ -941,7 +950,10 @@ var MenuOption = ({
|
|
|
941
950
|
"div",
|
|
942
951
|
{
|
|
943
952
|
onMouseEnter: handleSubMenuEnter,
|
|
944
|
-
onMouseLeave:
|
|
953
|
+
onMouseLeave: () => {
|
|
954
|
+
handleMouseLeave();
|
|
955
|
+
setIsSubMenuHovered(false);
|
|
956
|
+
},
|
|
945
957
|
"data-submenu-parent": menuId.current,
|
|
946
958
|
"data-menu-level": subMenuLevel + 1,
|
|
947
959
|
children: subMenu({
|
|
@@ -951,7 +963,8 @@ var MenuOption = ({
|
|
|
951
963
|
position: "right",
|
|
952
964
|
subMenuLevel,
|
|
953
965
|
mobileBackMenuOption,
|
|
954
|
-
mobileHide: isMobile && activeMenu !== menuId.current
|
|
966
|
+
mobileHide: isMobile && activeMenu !== menuId.current,
|
|
967
|
+
autoFocusOff: true
|
|
955
968
|
})
|
|
956
969
|
}
|
|
957
970
|
)
|
|
@@ -2102,6 +2102,9 @@
|
|
|
2102
2102
|
.font-sans {
|
|
2103
2103
|
font-family: var(--font-sans);
|
|
2104
2104
|
}
|
|
2105
|
+
.\!text-caption-desktop {
|
|
2106
|
+
font-size: var(--text-caption-desktop) !important;
|
|
2107
|
+
}
|
|
2105
2108
|
.text-\[0\.6rem\] {
|
|
2106
2109
|
font-size: 0.6rem;
|
|
2107
2110
|
}
|
|
@@ -3293,11 +3296,6 @@
|
|
|
3293
3296
|
color: var(--color-text-action-critical-hover);
|
|
3294
3297
|
}
|
|
3295
3298
|
}
|
|
3296
|
-
.focus\:text-text-action-hover {
|
|
3297
|
-
&:focus {
|
|
3298
|
-
color: var(--color-text-action-hover);
|
|
3299
|
-
}
|
|
3300
|
-
}
|
|
3301
3299
|
.focus\:text-text-action-primary-hover {
|
|
3302
3300
|
&:focus {
|
|
3303
3301
|
color: var(--color-text-action-primary-hover);
|
|
@@ -3341,6 +3339,16 @@
|
|
|
3341
3339
|
outline-style: none;
|
|
3342
3340
|
}
|
|
3343
3341
|
}
|
|
3342
|
+
.focus-visible\:bg-background-action-secondary-hover {
|
|
3343
|
+
&:focus-visible {
|
|
3344
|
+
background-color: var(--color-background-action-secondary-hover);
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
.focus-visible\:text-text-action-hover {
|
|
3348
|
+
&:focus-visible {
|
|
3349
|
+
color: var(--color-text-action-hover);
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3344
3352
|
.focus-visible\:ring-2 {
|
|
3345
3353
|
&:focus-visible {
|
|
3346
3354
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -3793,6 +3801,21 @@
|
|
|
3793
3801
|
}
|
|
3794
3802
|
}
|
|
3795
3803
|
}
|
|
3804
|
+
.data-submenu-hovered\:bg-background-action-secondary-active {
|
|
3805
|
+
&[data-submenu-hovered] {
|
|
3806
|
+
background-color: var(--color-background-action-secondary-active);
|
|
3807
|
+
}
|
|
3808
|
+
}
|
|
3809
|
+
.data-submenu-hovered\:bg-background-action-secondary-hover {
|
|
3810
|
+
&[data-submenu-hovered] {
|
|
3811
|
+
background-color: var(--color-background-action-secondary-hover);
|
|
3812
|
+
}
|
|
3813
|
+
}
|
|
3814
|
+
.data-submenu-hovered\:text-text-action-active {
|
|
3815
|
+
&[data-submenu-hovered] {
|
|
3816
|
+
color: var(--color-text-action-active);
|
|
3817
|
+
}
|
|
3818
|
+
}
|
|
3796
3819
|
.data-\[focus\]\:outline-1 {
|
|
3797
3820
|
&[data-focus] {
|
|
3798
3821
|
outline-style: var(--tw-outline-style);
|