@dmsi/wedgekit-react 0.0.140 → 0.0.141
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-4OS6APPF.js → chunk-4LXG6QNT.js} +2 -1
- package/dist/{chunk-KS4RDR6P.js → chunk-4NCDT5ZY.js} +21 -8
- package/dist/{chunk-R5TLUWDD.js → chunk-4T3DRGLF.js} +32 -30
- package/dist/{chunk-QZGUMB7T.js → chunk-4VTOTNKJ.js} +3 -0
- package/dist/{chunk-Y4HUYAI5.js → chunk-56Y5DDG3.js} +5 -2
- package/dist/{chunk-D2YP2BTN.js → chunk-5GOJRLQO.js} +10 -4
- package/dist/{chunk-J6LETUNM.js → chunk-AZ7LVLOK.js} +5 -2
- package/dist/{chunk-TTO4PL7Y.js → chunk-BATIOCXB.js} +7 -4
- package/dist/{chunk-CG2NIXZE.js → chunk-C4JGTH6G.js} +7 -3
- package/dist/{chunk-O4M2GISS.js → chunk-CYZL57LH.js} +5 -2
- package/dist/{chunk-6HIALT5L.js → chunk-E7D24OHM.js} +14 -5
- package/dist/{chunk-3ZUSYRI7.js → chunk-EPQLWHCL.js} +2 -2
- package/dist/{chunk-AY7ELVQY.js → chunk-EUXB3XKL.js} +5 -2
- package/dist/{chunk-6DONKNDT.js → chunk-EWGHVZL5.js} +2 -0
- package/dist/{chunk-VH3EJNVE.js → chunk-FFU6FB3K.js} +6 -3
- package/dist/{chunk-H6LXXGX6.js → chunk-FKMKHLQH.js} +6 -3
- package/dist/{chunk-4F6VQXKY.js → chunk-GG5JOFS6.js} +2 -1
- package/dist/{chunk-XCIBYDVK.js → chunk-GXSXCEAA.js} +25 -14
- package/dist/{chunk-VG4EPHJA.js → chunk-HVI3CL7Y.js} +6 -3
- package/dist/{chunk-AOELEEUS.js → chunk-I6GEUF6Y.js} +6 -3
- package/dist/{chunk-Z36QJ7ZF.js → chunk-J4E6Q5TM.js} +12 -9
- package/dist/{chunk-S5K22XTH.js → chunk-JWCT72WR.js} +5 -2
- package/dist/{chunk-QNQ5K7NW.js → chunk-LM5MKBPM.js} +8 -3
- package/dist/{chunk-EO3JJWFW.js → chunk-N6JVLYEE.js} +6 -3
- package/dist/{chunk-IGQVA7SC.js → chunk-NKUETCDA.js} +5 -2
- package/dist/{chunk-PCCJ7L3N.js → chunk-NMVSRA5Y.js} +12 -4
- package/dist/{chunk-X62XGQY7.js → chunk-NW2C4DL4.js} +18 -15
- package/dist/{chunk-OB3URVCR.js → chunk-PMBEIP24.js} +5 -1
- package/dist/{chunk-6UI5GABI.js → chunk-R7ELP5C5.js} +8 -5
- package/dist/{chunk-FWPJ73IK.js → chunk-SYEJVSE4.js} +3 -1
- package/dist/{chunk-WT5XXW6G.js → chunk-WFQEE2OO.js} +9 -4
- package/dist/{chunk-QTD7K43M.js → chunk-WSS2DFTP.js} +8 -6
- package/dist/{chunk-37TJJQL3.js → chunk-YR7JUKYO.js} +3 -0
- package/dist/{chunk-4JLU7TAC.js → chunk-ZFOANBWG.js} +3 -1
- package/dist/{chunk-P242H6OU.js → chunk-ZGFQN47L.js} +5 -2
- package/dist/components/AccessChangerTabItem.cjs +10 -4
- package/dist/components/AccessChangerTabItem.js +2 -2
- package/dist/components/Accordion.cjs +23 -11
- package/dist/components/Accordion.js +5 -5
- package/dist/components/Breadcrumbs.cjs +19 -8
- package/dist/components/Breadcrumbs.js +10 -5
- package/dist/components/Button.cjs +6 -3
- package/dist/components/Button.js +1 -1
- package/dist/components/CalendarRange.cjs +16 -5
- package/dist/components/CalendarRange.js +2 -2
- package/dist/components/Caption.cjs +18 -6
- package/dist/components/Caption.js +2 -2
- package/dist/components/Card.cjs +2 -1
- package/dist/components/Card.js +1 -1
- package/dist/components/Checkbox.cjs +18 -7
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/ContentTab.cjs +22 -16
- package/dist/components/ContentTab.js +2 -2
- package/dist/components/ContentTabs.cjs +27 -18
- package/dist/components/ContentTabs.js +7 -4
- package/dist/components/DataGridCell.cjs +73 -39
- package/dist/components/DataGridCell.js +8 -8
- package/dist/components/DateInput.cjs +55 -35
- package/dist/components/DateInput.js +8 -4
- package/dist/components/DateRangeInput.cjs +55 -35
- package/dist/components/DateRangeInput.js +8 -4
- package/dist/components/Display.cjs +5 -2
- package/dist/components/Display.js +1 -1
- package/dist/components/FilterGroup.cjs +85 -44
- package/dist/components/FilterGroup.js +20 -10
- package/dist/components/FullViewportBox.cjs +3 -1
- package/dist/components/FullViewportBox.js +3 -1
- package/dist/components/Grid.cjs +3 -1
- package/dist/components/Grid.js +3 -1
- package/dist/components/Heading.cjs +5 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/HorizontalDivider.cjs +2 -2
- package/dist/components/HorizontalDivider.js +1 -1
- package/dist/components/Icon.cjs +5 -2
- package/dist/components/Icon.js +1 -1
- package/dist/components/Input.cjs +40 -32
- package/dist/components/Input.js +3 -3
- package/dist/components/InputGroup.cjs +11 -4
- package/dist/components/InputGroup.js +7 -3
- package/dist/components/Label.cjs +5 -2
- package/dist/components/Label.js +1 -1
- package/dist/components/Link.cjs +6 -3
- package/dist/components/Link.js +1 -1
- package/dist/components/List.cjs +3 -2
- package/dist/components/List.js +3 -2
- package/dist/components/LoadingScrim.cjs +4 -2
- package/dist/components/LoadingScrim.js +3 -2
- package/dist/components/MainBar.cjs +2 -0
- package/dist/components/MainBar.js +2 -0
- package/dist/components/Menu.cjs +3 -0
- package/dist/components/Menu.js +1 -1
- package/dist/components/MenuOption.cjs +19 -7
- package/dist/components/MenuOption.js +4 -4
- package/dist/components/MobileDataGrid.cjs +42 -18
- package/dist/components/MobileDataGrid.js +18 -11
- package/dist/components/Modal.cjs +38 -12
- package/dist/components/Modal.js +8 -8
- package/dist/components/ModalButtons.cjs +16 -6
- package/dist/components/ModalButtons.js +3 -3
- package/dist/components/ModalContent.cjs +3 -1
- package/dist/components/ModalContent.js +1 -1
- package/dist/components/ModalHeader.cjs +21 -9
- package/dist/components/ModalHeader.js +4 -4
- package/dist/components/ModalScrim.cjs +3 -1
- package/dist/components/ModalScrim.js +1 -1
- package/dist/components/NavigationTab.cjs +14 -5
- package/dist/components/NavigationTab.js +3 -3
- package/dist/components/NavigationTabs.cjs +17 -6
- package/dist/components/NavigationTabs.js +6 -4
- package/dist/components/NestedMenu.cjs +23 -9
- package/dist/components/NestedMenu.js +8 -6
- package/dist/components/Notification.cjs +32 -13
- package/dist/components/Notification.js +9 -5
- package/dist/components/OptionPill.cjs +21 -7
- package/dist/components/OptionPill.js +4 -4
- package/dist/components/PDFViewer.cjs +73 -29
- package/dist/components/PDFViewer.js +26 -20
- package/dist/components/Paragraph.cjs +6 -3
- package/dist/components/Paragraph.js +1 -1
- package/dist/components/Password.cjs +50 -37
- package/dist/components/Password.js +13 -8
- package/dist/components/PaymentOnAccountModal.cjs +135 -69
- package/dist/components/PaymentOnAccountModal.js +21 -21
- package/dist/components/ProjectBar.cjs +3 -1
- package/dist/components/ProjectBar.js +3 -1
- package/dist/components/Radio.cjs +12 -6
- package/dist/components/Radio.js +2 -2
- package/dist/components/Search.cjs +44 -32
- package/dist/components/Search.js +4 -4
- package/dist/components/Select.cjs +43 -32
- package/dist/components/Select.js +4 -4
- package/dist/components/SelectPaymentMethod.cjs +67 -29
- package/dist/components/SelectPaymentMethod.js +12 -12
- package/dist/components/SideMenu.cjs +3 -1
- package/dist/components/SideMenu.js +3 -1
- package/dist/components/SideMenuGroup.cjs +19 -8
- package/dist/components/SideMenuGroup.js +6 -4
- package/dist/components/SideMenuItem.cjs +15 -6
- package/dist/components/SideMenuItem.js +5 -2
- package/dist/components/Spinner.cjs +2 -1
- package/dist/components/Spinner.js +1 -1
- package/dist/components/Stack.cjs +6 -3
- package/dist/components/Stack.js +1 -1
- package/dist/components/StatusPill.cjs +12 -6
- package/dist/components/StatusPill.js +8 -5
- package/dist/components/Stepper.cjs +54 -38
- package/dist/components/Stepper.js +12 -7
- package/dist/components/Subheader.cjs +5 -2
- package/dist/components/Subheader.js +1 -1
- package/dist/components/Swatch.cjs +22 -10
- package/dist/components/Swatch.js +4 -4
- package/dist/components/Textarea.cjs +4 -1
- package/dist/components/Textarea.js +4 -1
- package/dist/components/Theme.cjs +2 -0
- package/dist/components/Theme.js +1 -1
- package/dist/components/Time.cjs +52 -36
- package/dist/components/Time.js +10 -5
- package/dist/components/Toast.cjs +29 -12
- package/dist/components/Toast.js +11 -6
- package/dist/components/Tooltip.cjs +3 -0
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TopBar.cjs +11 -4
- package/dist/components/TopBar.js +11 -4
- package/dist/components/Upload.cjs +30 -15
- package/dist/components/Upload.js +16 -10
- package/dist/components/index.cjs +221 -84
- package/dist/components/index.js +80 -38
- package/dist/index.css +24 -4
- package/package.json +1 -1
- package/src/components/Accordion.tsx +5 -2
- package/src/components/Breadcrumbs.tsx +9 -2
- package/src/components/Button.tsx +4 -1
- package/src/components/CalendarRange.tsx +9 -0
- package/src/components/Caption.tsx +11 -1
- package/src/components/Card.tsx +3 -2
- package/src/components/Checkbox.tsx +5 -0
- package/src/components/ContentTab.tsx +14 -12
- package/src/components/ContentTabs.tsx +6 -2
- package/src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx +4 -1
- package/src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx +7 -0
- package/src/components/DataGrid/PinnedColumns.tsx +8 -1
- package/src/components/DataGrid/TableBody/LoadingCell.tsx +7 -3
- package/src/components/DataGrid/TableBody/TableBodyRow.tsx +7 -1
- package/src/components/DataGrid/TableBody/index.tsx +7 -1
- package/src/components/DataGrid/index.tsx +18 -2
- package/src/components/DataGrid/types.ts +1 -0
- package/src/components/DataGridCell.tsx +12 -0
- package/src/components/DateInput.tsx +4 -0
- package/src/components/DateRangeInput.tsx +4 -0
- package/src/components/Display.tsx +3 -0
- package/src/components/FilterGroup.tsx +10 -0
- package/src/components/FullViewportBox.tsx +3 -0
- package/src/components/Grid.tsx +3 -0
- package/src/components/Heading.tsx +3 -0
- package/src/components/HorizontalDivider.tsx +2 -2
- package/src/components/Icon.tsx +3 -0
- package/src/components/Input.tsx +32 -36
- package/src/components/InputGroup.tsx +6 -2
- package/src/components/Label.tsx +3 -0
- package/src/components/Link.tsx +3 -0
- package/src/components/List.tsx +3 -1
- package/src/components/LoadingScrim.tsx +2 -1
- package/src/components/MainBar.tsx +3 -0
- package/src/components/Menu.tsx +3 -0
- package/src/components/MenuOption.tsx +4 -0
- package/src/components/MobileDataGrid.tsx +12 -3
- package/src/components/Modal.tsx +7 -0
- package/src/components/ModalButtons.tsx +5 -0
- package/src/components/ModalContent.tsx +3 -0
- package/src/components/ModalHeader.tsx +5 -1
- package/src/components/ModalScrim.tsx +3 -0
- package/src/components/NavigationTab.tsx +3 -0
- package/src/components/NavigationTabs.tsx +7 -3
- package/src/components/NestedMenu.tsx +5 -2
- package/src/components/Notification.tsx +4 -0
- package/src/components/OptionPill.tsx +5 -0
- package/src/components/PDFViewer.tsx +16 -8
- package/src/components/Paragraph.tsx +3 -0
- package/src/components/Password.tsx +7 -2
- package/src/components/PaymentOnAccountModal.tsx +6 -2
- package/src/components/ProjectBar.tsx +3 -0
- package/src/components/Radio.tsx +4 -1
- package/src/components/Search.tsx +5 -0
- package/src/components/Select.tsx +4 -0
- package/src/components/SelectPaymentMethod.tsx +17 -3
- package/src/components/SideMenu.tsx +3 -0
- package/src/components/SideMenuGroup.tsx +4 -1
- package/src/components/SideMenuItem.tsx +4 -0
- package/src/components/Spinner.tsx +3 -1
- package/src/components/Stack.tsx +3 -0
- package/src/components/StatusPill.tsx +4 -1
- package/src/components/Stepper.tsx +6 -1
- package/src/components/Subheader.tsx +3 -0
- package/src/components/Textarea.tsx +4 -1
- package/src/components/Theme.tsx +3 -0
- package/src/components/Time.tsx +7 -1
- package/src/components/Toast.tsx +8 -3
- package/src/components/Tooltip.tsx +4 -0
- package/src/components/TopBar.tsx +7 -2
- package/src/components/Upload.tsx +10 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Input
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4T3DRGLF.js";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadValues
|
|
@@ -17,6 +17,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
17
17
|
var Search = (_a) => {
|
|
18
18
|
var _b = _a, {
|
|
19
19
|
id,
|
|
20
|
+
testid,
|
|
20
21
|
label,
|
|
21
22
|
error,
|
|
22
23
|
children,
|
|
@@ -27,6 +28,7 @@ var Search = (_a) => {
|
|
|
27
28
|
removeRoundness
|
|
28
29
|
} = _b, props = __objRest(_b, [
|
|
29
30
|
"id",
|
|
31
|
+
"testid",
|
|
30
32
|
"label",
|
|
31
33
|
"error",
|
|
32
34
|
"children",
|
|
@@ -56,6 +58,7 @@ var Search = (_a) => {
|
|
|
56
58
|
Input,
|
|
57
59
|
__spreadValues({
|
|
58
60
|
id,
|
|
61
|
+
testid,
|
|
59
62
|
variant: "search",
|
|
60
63
|
inputContainerRef,
|
|
61
64
|
ref: inputRef,
|
|
@@ -111,6 +114,7 @@ var Search = (_a) => {
|
|
|
111
114
|
),
|
|
112
115
|
renderMenu ? renderMenu({
|
|
113
116
|
id: id ? `${id}-menu` : void 0,
|
|
117
|
+
testid: testid ? `${testid}-menu` : void 0,
|
|
114
118
|
positionTo: inputContainerRef,
|
|
115
119
|
show,
|
|
116
120
|
setShow,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Heading2
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AZ7LVLOK.js";
|
|
4
4
|
import {
|
|
5
5
|
Button
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FKMKHLQH.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NKUETCDA.js";
|
|
10
10
|
import {
|
|
11
11
|
layoutGroupGap,
|
|
12
12
|
layoutPaddding
|
|
@@ -20,12 +20,14 @@ var ModalHeader = ({
|
|
|
20
20
|
hideCloseIcon,
|
|
21
21
|
headerIcon,
|
|
22
22
|
onClose,
|
|
23
|
-
id
|
|
23
|
+
id,
|
|
24
|
+
testid
|
|
24
25
|
}) => {
|
|
25
26
|
return /* @__PURE__ */ jsxs(
|
|
26
27
|
"div",
|
|
27
28
|
{
|
|
28
29
|
id,
|
|
30
|
+
"data-testid": testid,
|
|
29
31
|
className: clsx(
|
|
30
32
|
"flex justify-between items-center",
|
|
31
33
|
layoutPaddding,
|
|
@@ -34,12 +36,13 @@ var ModalHeader = ({
|
|
|
34
36
|
children: [
|
|
35
37
|
/* @__PURE__ */ jsxs("div", { className: clsx("flex items-center", layoutGroupGap), children: [
|
|
36
38
|
headerIcon,
|
|
37
|
-
title && /* @__PURE__ */ jsx(Heading2, { id: id ? `${id}-title` : void 0, as: "p", children: title })
|
|
39
|
+
title && /* @__PURE__ */ jsx(Heading2, { id: id ? `${id}-title` : void 0, testid: testid ? `${testid}-title` : void 0, as: "p", children: title })
|
|
38
40
|
] }),
|
|
39
41
|
!hideCloseIcon && /* @__PURE__ */ jsx(
|
|
40
42
|
Button,
|
|
41
43
|
{
|
|
42
44
|
id: id ? `${id}-close-button` : void 0,
|
|
45
|
+
testid: testid ? `${testid}-close-button` : void 0,
|
|
43
46
|
iconOnly: true,
|
|
44
47
|
variant: "tertiary",
|
|
45
48
|
onClick: onClose,
|
|
@@ -8,12 +8,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function ModalContent({
|
|
9
9
|
fixedHeightScrolling,
|
|
10
10
|
children,
|
|
11
|
-
id
|
|
11
|
+
id,
|
|
12
|
+
testid
|
|
12
13
|
}) {
|
|
13
14
|
return /* @__PURE__ */ jsx(
|
|
14
15
|
"div",
|
|
15
16
|
{
|
|
16
17
|
id,
|
|
18
|
+
"data-testid": testid,
|
|
17
19
|
className: clsx(
|
|
18
20
|
"flex-grow desktop:flex-grow-0",
|
|
19
21
|
layoutPaddding,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Paragraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HVI3CL7Y.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NKUETCDA.js";
|
|
7
7
|
import {
|
|
8
8
|
baseTransition,
|
|
9
9
|
componentGap
|
|
@@ -26,7 +26,8 @@ var Checkbox = (_a) => {
|
|
|
26
26
|
onChange,
|
|
27
27
|
indeterminate,
|
|
28
28
|
paragraphClassName,
|
|
29
|
-
id
|
|
29
|
+
id,
|
|
30
|
+
testid
|
|
30
31
|
} = _b, props = __objRest(_b, [
|
|
31
32
|
"label",
|
|
32
33
|
"error",
|
|
@@ -36,7 +37,8 @@ var Checkbox = (_a) => {
|
|
|
36
37
|
"onChange",
|
|
37
38
|
"indeterminate",
|
|
38
39
|
"paragraphClassName",
|
|
39
|
-
"id"
|
|
40
|
+
"id",
|
|
41
|
+
"testid"
|
|
40
42
|
]);
|
|
41
43
|
const selected = indeterminate || checked;
|
|
42
44
|
const normalClassName = clsx(
|
|
@@ -65,6 +67,7 @@ var Checkbox = (_a) => {
|
|
|
65
67
|
"label",
|
|
66
68
|
{
|
|
67
69
|
id,
|
|
70
|
+
"data-testid": testid,
|
|
68
71
|
htmlFor: id ? `${id}-input` : void 0,
|
|
69
72
|
className: clsx(
|
|
70
73
|
"flex items-center",
|
|
@@ -78,6 +81,7 @@ var Checkbox = (_a) => {
|
|
|
78
81
|
"input",
|
|
79
82
|
__spreadValues({
|
|
80
83
|
id: id ? `${id}-input` : void 0,
|
|
84
|
+
"data-testid": testid ? `${testid}-input` : void 0,
|
|
81
85
|
type: "checkbox",
|
|
82
86
|
className: "sr-only peer",
|
|
83
87
|
disabled,
|
|
@@ -109,6 +113,7 @@ var Checkbox = (_a) => {
|
|
|
109
113
|
Paragraph,
|
|
110
114
|
{
|
|
111
115
|
id: id ? `${id}-label` : void 0,
|
|
116
|
+
testid: testid ? `${testid}-label` : void 0,
|
|
112
117
|
as: "span",
|
|
113
118
|
padded: true,
|
|
114
119
|
className: clsx(
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Stack
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N6JVLYEE.js";
|
|
4
4
|
import {
|
|
5
5
|
Card
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4LXG6QNT.js";
|
|
7
7
|
import {
|
|
8
8
|
Paragraph
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HVI3CL7Y.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NKUETCDA.js";
|
|
13
13
|
import {
|
|
14
14
|
typography
|
|
15
15
|
} from "./chunk-RDLEIAQU.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import clsx from "clsx";
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
function Accordion(props) {
|
|
21
|
-
const { isOpen, onClick, className, disabled } = props;
|
|
21
|
+
const { isOpen, onClick, className, disabled, testid } = props;
|
|
22
22
|
const {
|
|
23
23
|
title,
|
|
24
24
|
before,
|
|
@@ -49,11 +49,12 @@ function Accordion(props) {
|
|
|
49
49
|
),
|
|
50
50
|
selected: isOpen,
|
|
51
51
|
onClick: handleClick,
|
|
52
|
+
testid,
|
|
52
53
|
children: [
|
|
53
54
|
/* @__PURE__ */ jsxs(Stack, { sizing: "component", horizontal: true, justify: "between", items: "center", children: [
|
|
54
55
|
/* @__PURE__ */ jsxs(Stack, { sizing: "layout-group", horizontal: true, items: "center", children: [
|
|
55
56
|
before,
|
|
56
|
-
typeof title === "string" ? /* @__PURE__ */ jsx(Paragraph, { className: "text-text-primary-normal", children: title }) : title
|
|
57
|
+
typeof title === "string" ? /* @__PURE__ */ jsx(Paragraph, { testid: testid ? `${testid}-title` : void 0, className: "text-text-primary-normal", children: title }) : title
|
|
57
58
|
] }),
|
|
58
59
|
after
|
|
59
60
|
] }),
|
|
@@ -64,6 +65,7 @@ function Accordion(props) {
|
|
|
64
65
|
style: {
|
|
65
66
|
gridTemplateRows: isOpen ? "1fr" : "0fr"
|
|
66
67
|
},
|
|
68
|
+
"data-testid": testid ? `${testid}-content-container` : void 0,
|
|
67
69
|
children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
68
70
|
"div",
|
|
69
71
|
{
|
|
@@ -25,6 +25,7 @@ import { jsxs } from "react/jsx-runtime";
|
|
|
25
25
|
var Menu = (_a) => {
|
|
26
26
|
var _b = _a, {
|
|
27
27
|
id,
|
|
28
|
+
testid,
|
|
28
29
|
children,
|
|
29
30
|
className,
|
|
30
31
|
ref,
|
|
@@ -42,6 +43,7 @@ var Menu = (_a) => {
|
|
|
42
43
|
menuName
|
|
43
44
|
} = _b, props = __objRest(_b, [
|
|
44
45
|
"id",
|
|
46
|
+
"testid",
|
|
45
47
|
"children",
|
|
46
48
|
"className",
|
|
47
49
|
"ref",
|
|
@@ -122,6 +124,7 @@ var Menu = (_a) => {
|
|
|
122
124
|
"div",
|
|
123
125
|
__spreadProps(__spreadValues({
|
|
124
126
|
id,
|
|
127
|
+
"data-testid": testid,
|
|
125
128
|
ref: setRefs,
|
|
126
129
|
className: clsx(
|
|
127
130
|
"shadow-4 rounded-base bg-background-grouped-primary-normal overflow-x-hidden overflow-y-auto flex flex-col outline-0",
|
|
@@ -7,12 +7,14 @@ var ModalScrim = ({
|
|
|
7
7
|
children,
|
|
8
8
|
onClick,
|
|
9
9
|
ref,
|
|
10
|
-
id
|
|
10
|
+
id,
|
|
11
|
+
testid
|
|
11
12
|
}) => {
|
|
12
13
|
return /* @__PURE__ */ jsx(
|
|
13
14
|
"div",
|
|
14
15
|
{
|
|
15
16
|
id,
|
|
17
|
+
"data-testid": testid,
|
|
16
18
|
className: clsx(
|
|
17
19
|
"overflow-y-auto h-screen transition-[visibility,opacity,background] ease-in-out duration-100 grid place-content-center desktop:p-4 group bg-neutral-600/50 fixed opacity-0",
|
|
18
20
|
!show && " pointer-events-none",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FKMKHLQH.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NKUETCDA.js";
|
|
7
7
|
import {
|
|
8
8
|
__objRest,
|
|
9
9
|
__spreadProps,
|
|
@@ -16,6 +16,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
16
16
|
var NavigationTab = (_a) => {
|
|
17
17
|
var _b = _a, {
|
|
18
18
|
id,
|
|
19
|
+
testid,
|
|
19
20
|
label,
|
|
20
21
|
onClick,
|
|
21
22
|
selected = false,
|
|
@@ -24,6 +25,7 @@ var NavigationTab = (_a) => {
|
|
|
24
25
|
href
|
|
25
26
|
} = _b, props = __objRest(_b, [
|
|
26
27
|
"id",
|
|
28
|
+
"testid",
|
|
27
29
|
"label",
|
|
28
30
|
"onClick",
|
|
29
31
|
"selected",
|
|
@@ -67,6 +69,7 @@ var NavigationTab = (_a) => {
|
|
|
67
69
|
Button,
|
|
68
70
|
__spreadProps(__spreadValues({
|
|
69
71
|
id,
|
|
72
|
+
testid,
|
|
70
73
|
variant: "tertiary-critical",
|
|
71
74
|
colorClassName: textClassName,
|
|
72
75
|
className: clsx(
|
|
@@ -203,7 +203,8 @@ var Subheader = (_a) => {
|
|
|
203
203
|
align,
|
|
204
204
|
color,
|
|
205
205
|
tall,
|
|
206
|
-
id
|
|
206
|
+
id,
|
|
207
|
+
testid
|
|
207
208
|
} = _b, props = __objRest(_b, [
|
|
208
209
|
"className",
|
|
209
210
|
"children",
|
|
@@ -211,13 +212,15 @@ var Subheader = (_a) => {
|
|
|
211
212
|
"align",
|
|
212
213
|
"color",
|
|
213
214
|
"tall",
|
|
214
|
-
"id"
|
|
215
|
+
"id",
|
|
216
|
+
"testid"
|
|
215
217
|
]);
|
|
216
218
|
const Element = as;
|
|
217
219
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
218
220
|
Element,
|
|
219
221
|
__spreadProps(__spreadValues({
|
|
220
222
|
id,
|
|
223
|
+
"data-testid": testid,
|
|
221
224
|
className: (0, import_clsx2.default)(
|
|
222
225
|
typography.subheader,
|
|
223
226
|
className,
|
|
@@ -243,17 +246,20 @@ function Icon(_a) {
|
|
|
243
246
|
var _b = _a, {
|
|
244
247
|
name,
|
|
245
248
|
size = 24,
|
|
246
|
-
variant = "outline"
|
|
249
|
+
variant = "outline",
|
|
250
|
+
testid
|
|
247
251
|
} = _b, props = __objRest(_b, [
|
|
248
252
|
"name",
|
|
249
253
|
"size",
|
|
250
|
-
"variant"
|
|
254
|
+
"variant",
|
|
255
|
+
"testid"
|
|
251
256
|
]);
|
|
252
257
|
const variantStyle = variant === "filled" ? '"FILL" 1' : '"FILL" 0';
|
|
253
258
|
const weightStyle = size === 16 ? '"wght" 400' : '"wght" 300';
|
|
254
259
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
255
260
|
"span",
|
|
256
261
|
__spreadProps(__spreadValues({}, props), {
|
|
262
|
+
"data-testid": testid,
|
|
257
263
|
className: (0, import_clsx3.default)(
|
|
258
264
|
"icon",
|
|
259
265
|
`icon-${size}`,
|
|
@@ -195,10 +195,11 @@ var gapUsingContainerPadding = (0, import_clsx.default)(
|
|
|
195
195
|
var import_clsx2 = __toESM(require("clsx"), 1);
|
|
196
196
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
197
197
|
function Card(props) {
|
|
198
|
-
const _a = props, { children, selected } = _a, rest = __objRest(_a, ["children", "selected"]);
|
|
198
|
+
const _a = props, { children, selected, testid } = _a, rest = __objRest(_a, ["children", "selected", "testid"]);
|
|
199
199
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
200
200
|
"div",
|
|
201
201
|
__spreadProps(__spreadValues({}, rest), {
|
|
202
|
+
"data-testid": testid,
|
|
202
203
|
className: (0, import_clsx2.default)(
|
|
203
204
|
"rounded-sm p-desktop-layout-padding",
|
|
204
205
|
selected ? "border-2 border-border-primary-focus" : "border border-border-primary-normal",
|
|
@@ -216,17 +217,20 @@ function Icon(_a) {
|
|
|
216
217
|
var _b = _a, {
|
|
217
218
|
name,
|
|
218
219
|
size = 24,
|
|
219
|
-
variant = "outline"
|
|
220
|
+
variant = "outline",
|
|
221
|
+
testid
|
|
220
222
|
} = _b, props = __objRest(_b, [
|
|
221
223
|
"name",
|
|
222
224
|
"size",
|
|
223
|
-
"variant"
|
|
225
|
+
"variant",
|
|
226
|
+
"testid"
|
|
224
227
|
]);
|
|
225
228
|
const variantStyle = variant === "filled" ? '"FILL" 1' : '"FILL" 0';
|
|
226
229
|
const weightStyle = size === 16 ? '"wght" 400' : '"wght" 300';
|
|
227
230
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
228
231
|
"span",
|
|
229
232
|
__spreadProps(__spreadValues({}, props), {
|
|
233
|
+
"data-testid": testid,
|
|
230
234
|
className: (0, import_clsx3.default)(
|
|
231
235
|
"icon",
|
|
232
236
|
`icon-${size}`,
|
|
@@ -303,7 +307,8 @@ var Stack = (_a) => {
|
|
|
303
307
|
id,
|
|
304
308
|
noGap,
|
|
305
309
|
marginTop,
|
|
306
|
-
marginBottom
|
|
310
|
+
marginBottom,
|
|
311
|
+
testid
|
|
307
312
|
} = _b, props = __objRest(_b, [
|
|
308
313
|
"children",
|
|
309
314
|
"items",
|
|
@@ -339,14 +344,16 @@ var Stack = (_a) => {
|
|
|
339
344
|
"id",
|
|
340
345
|
"noGap",
|
|
341
346
|
"marginTop",
|
|
342
|
-
"marginBottom"
|
|
347
|
+
"marginBottom",
|
|
348
|
+
"testid"
|
|
343
349
|
]);
|
|
344
350
|
const flexClassNames = getFlexClassNames({ items, justify, grow });
|
|
345
351
|
const gapClassNames = useGapClassNames(sizing);
|
|
346
352
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
347
353
|
"div",
|
|
348
354
|
__spreadProps(__spreadValues({
|
|
349
|
-
id
|
|
355
|
+
id,
|
|
356
|
+
"data-testid": testid
|
|
350
357
|
}, props), {
|
|
351
358
|
style: {
|
|
352
359
|
height: height === "full" ? "100%" : height !== void 0 ? `${height}px` : void 0,
|
|
@@ -421,7 +428,8 @@ var Paragraph = (_a) => {
|
|
|
421
428
|
addOverflow,
|
|
422
429
|
children,
|
|
423
430
|
as = "p",
|
|
424
|
-
id
|
|
431
|
+
id,
|
|
432
|
+
testid
|
|
425
433
|
} = _b, props = __objRest(_b, [
|
|
426
434
|
"className",
|
|
427
435
|
"color",
|
|
@@ -431,13 +439,15 @@ var Paragraph = (_a) => {
|
|
|
431
439
|
"addOverflow",
|
|
432
440
|
"children",
|
|
433
441
|
"as",
|
|
434
|
-
"id"
|
|
442
|
+
"id",
|
|
443
|
+
"testid"
|
|
435
444
|
]);
|
|
436
445
|
const Element = as;
|
|
437
446
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
438
447
|
Element,
|
|
439
448
|
__spreadProps(__spreadValues({
|
|
440
|
-
id
|
|
449
|
+
id,
|
|
450
|
+
"data-testid": testid
|
|
441
451
|
}, props), {
|
|
442
452
|
className: (0, import_clsx5.default)(
|
|
443
453
|
typography.paragraph,
|
|
@@ -461,7 +471,7 @@ Paragraph.displayName = "Paragraph";
|
|
|
461
471
|
// src/components/Accordion.tsx
|
|
462
472
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
463
473
|
function Accordion(props) {
|
|
464
|
-
const { isOpen, onClick, className, disabled } = props;
|
|
474
|
+
const { isOpen, onClick, className, disabled, testid } = props;
|
|
465
475
|
const {
|
|
466
476
|
title,
|
|
467
477
|
before,
|
|
@@ -492,11 +502,12 @@ function Accordion(props) {
|
|
|
492
502
|
),
|
|
493
503
|
selected: isOpen,
|
|
494
504
|
onClick: handleClick,
|
|
505
|
+
testid,
|
|
495
506
|
children: [
|
|
496
507
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Stack, { sizing: "component", horizontal: true, justify: "between", items: "center", children: [
|
|
497
508
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Stack, { sizing: "layout-group", horizontal: true, items: "center", children: [
|
|
498
509
|
before,
|
|
499
|
-
typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Paragraph, { className: "text-text-primary-normal", children: title }) : title
|
|
510
|
+
typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Paragraph, { testid: testid ? `${testid}-title` : void 0, className: "text-text-primary-normal", children: title }) : title
|
|
500
511
|
] }),
|
|
501
512
|
after
|
|
502
513
|
] }),
|
|
@@ -507,6 +518,7 @@ function Accordion(props) {
|
|
|
507
518
|
style: {
|
|
508
519
|
gridTemplateRows: isOpen ? "1fr" : "0fr"
|
|
509
520
|
},
|
|
521
|
+
"data-testid": testid ? `${testid}-content-container` : void 0,
|
|
510
522
|
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
511
523
|
"div",
|
|
512
524
|
{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Accordion
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-WSS2DFTP.js";
|
|
5
|
+
import "../chunk-N6JVLYEE.js";
|
|
6
|
+
import "../chunk-4LXG6QNT.js";
|
|
7
|
+
import "../chunk-HVI3CL7Y.js";
|
|
8
|
+
import "../chunk-NKUETCDA.js";
|
|
9
9
|
import "../chunk-RDLEIAQU.js";
|
|
10
10
|
import "../chunk-ORMEWXMH.js";
|
|
11
11
|
export {
|
|
@@ -208,7 +208,8 @@ var Link = (_a) => {
|
|
|
208
208
|
color,
|
|
209
209
|
paddedY,
|
|
210
210
|
align,
|
|
211
|
-
underline = false
|
|
211
|
+
underline = false,
|
|
212
|
+
testid
|
|
212
213
|
} = _b, props = __objRest(_b, [
|
|
213
214
|
"as",
|
|
214
215
|
"className",
|
|
@@ -218,7 +219,8 @@ var Link = (_a) => {
|
|
|
218
219
|
"color",
|
|
219
220
|
"paddedY",
|
|
220
221
|
"align",
|
|
221
|
-
"underline"
|
|
222
|
+
"underline",
|
|
223
|
+
"testid"
|
|
222
224
|
]);
|
|
223
225
|
const Component = as;
|
|
224
226
|
const primaryStateStyles = variant === "primary" && !disabled && (0, import_clsx2.default)(
|
|
@@ -266,7 +268,8 @@ var Link = (_a) => {
|
|
|
266
268
|
color: color ? `var(--color-${color})` : void 0
|
|
267
269
|
}),
|
|
268
270
|
"aria-disabled": disabled,
|
|
269
|
-
tabIndex: disabled ? -1 : void 0
|
|
271
|
+
tabIndex: disabled ? -1 : void 0,
|
|
272
|
+
"data-testid": testid
|
|
270
273
|
})
|
|
271
274
|
);
|
|
272
275
|
};
|
|
@@ -279,17 +282,20 @@ function Icon(_a) {
|
|
|
279
282
|
var _b = _a, {
|
|
280
283
|
name,
|
|
281
284
|
size = 24,
|
|
282
|
-
variant = "outline"
|
|
285
|
+
variant = "outline",
|
|
286
|
+
testid
|
|
283
287
|
} = _b, props = __objRest(_b, [
|
|
284
288
|
"name",
|
|
285
289
|
"size",
|
|
286
|
-
"variant"
|
|
290
|
+
"variant",
|
|
291
|
+
"testid"
|
|
287
292
|
]);
|
|
288
293
|
const variantStyle = variant === "filled" ? '"FILL" 1' : '"FILL" 0';
|
|
289
294
|
const weightStyle = size === 16 ? '"wght" 400' : '"wght" 300';
|
|
290
295
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
291
296
|
"span",
|
|
292
297
|
__spreadProps(__spreadValues({}, props), {
|
|
298
|
+
"data-testid": testid,
|
|
293
299
|
className: (0, import_clsx3.default)(
|
|
294
300
|
"icon",
|
|
295
301
|
`icon-${size}`,
|
|
@@ -310,7 +316,8 @@ var Breadcrumb = ({
|
|
|
310
316
|
href,
|
|
311
317
|
children,
|
|
312
318
|
onClick,
|
|
313
|
-
id
|
|
319
|
+
id,
|
|
320
|
+
testid
|
|
314
321
|
}) => {
|
|
315
322
|
const linkPadding = (0, import_clsx4.default)(
|
|
316
323
|
"!text-text-link-normal whitespace-nowrap",
|
|
@@ -318,10 +325,11 @@ var Breadcrumb = ({
|
|
|
318
325
|
"desktop:py-[calc(var(--spacing-desktop-component-padding)_+_3px)]",
|
|
319
326
|
"compact:py-[calc(var(--spacing-desktop-compact-component-padding)_+_3px)]"
|
|
320
327
|
);
|
|
321
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", { id, className: "flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", { id, "data-testid": testid, className: "flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
322
329
|
Link,
|
|
323
330
|
{
|
|
324
331
|
id: id ? `${id}-link` : void 0,
|
|
332
|
+
"data-testid": testid ? `${testid}-link` : void 0,
|
|
325
333
|
className: linkPadding,
|
|
326
334
|
href,
|
|
327
335
|
onClick,
|
|
@@ -330,7 +338,7 @@ var Breadcrumb = ({
|
|
|
330
338
|
) }, href);
|
|
331
339
|
};
|
|
332
340
|
var Chevron = () => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", { className: "flex items-center", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { name: "chevron_right", size: 16 }) });
|
|
333
|
-
var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
341
|
+
var Breadcrumbs = ({ asCardStyle, id, testid, crumbs }) => {
|
|
334
342
|
const scrollableElement = import_react.default.useRef(null);
|
|
335
343
|
const [isOverflow, setIsOverflow] = (0, import_react.useState)(false);
|
|
336
344
|
(0, import_react.useLayoutEffect)(() => {
|
|
@@ -351,6 +359,7 @@ var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
|
351
359
|
"nav",
|
|
352
360
|
{
|
|
353
361
|
id,
|
|
362
|
+
"data-testid": testid,
|
|
354
363
|
className: (0, import_clsx4.default)(
|
|
355
364
|
"relative select-none flex items-center max-w-full w-full",
|
|
356
365
|
{
|
|
@@ -373,6 +382,7 @@ var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
|
373
382
|
"ol",
|
|
374
383
|
{
|
|
375
384
|
id: id ? `${id}-list` : void 0,
|
|
385
|
+
"data-testid": testid ? `${testid}-list` : void 0,
|
|
376
386
|
className: "flex items-center overflow-x-scroll",
|
|
377
387
|
style: { scrollbarWidth: "none" },
|
|
378
388
|
onScroll: updateOverflow,
|
|
@@ -389,6 +399,7 @@ var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
|
389
399
|
href,
|
|
390
400
|
onClick,
|
|
391
401
|
id: id ? `${id}-crumb-${index}` : void 0,
|
|
402
|
+
testid: testid ? `${testid}-crumb-${index}` : void 0,
|
|
392
403
|
children
|
|
393
404
|
}
|
|
394
405
|
)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Link
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-I6GEUF6Y.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-NKUETCDA.js";
|
|
8
8
|
import "../chunk-RDLEIAQU.js";
|
|
9
9
|
import "../chunk-ORMEWXMH.js";
|
|
10
10
|
|
|
@@ -16,7 +16,8 @@ var Breadcrumb = ({
|
|
|
16
16
|
href,
|
|
17
17
|
children,
|
|
18
18
|
onClick,
|
|
19
|
-
id
|
|
19
|
+
id,
|
|
20
|
+
testid
|
|
20
21
|
}) => {
|
|
21
22
|
const linkPadding = clsx(
|
|
22
23
|
"!text-text-link-normal whitespace-nowrap",
|
|
@@ -24,10 +25,11 @@ var Breadcrumb = ({
|
|
|
24
25
|
"desktop:py-[calc(var(--spacing-desktop-component-padding)_+_3px)]",
|
|
25
26
|
"compact:py-[calc(var(--spacing-desktop-compact-component-padding)_+_3px)]"
|
|
26
27
|
);
|
|
27
|
-
return /* @__PURE__ */ jsx("li", { id, className: "flex items-center", children: /* @__PURE__ */ jsx(
|
|
28
|
+
return /* @__PURE__ */ jsx("li", { id, "data-testid": testid, className: "flex items-center", children: /* @__PURE__ */ jsx(
|
|
28
29
|
Link,
|
|
29
30
|
{
|
|
30
31
|
id: id ? `${id}-link` : void 0,
|
|
32
|
+
"data-testid": testid ? `${testid}-link` : void 0,
|
|
31
33
|
className: linkPadding,
|
|
32
34
|
href,
|
|
33
35
|
onClick,
|
|
@@ -36,7 +38,7 @@ var Breadcrumb = ({
|
|
|
36
38
|
) }, href);
|
|
37
39
|
};
|
|
38
40
|
var Chevron = () => /* @__PURE__ */ jsx("li", { className: "flex items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx(Icon, { name: "chevron_right", size: 16 }) });
|
|
39
|
-
var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
41
|
+
var Breadcrumbs = ({ asCardStyle, id, testid, crumbs }) => {
|
|
40
42
|
const scrollableElement = React.useRef(null);
|
|
41
43
|
const [isOverflow, setIsOverflow] = useState(false);
|
|
42
44
|
useLayoutEffect(() => {
|
|
@@ -57,6 +59,7 @@ var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
|
57
59
|
"nav",
|
|
58
60
|
{
|
|
59
61
|
id,
|
|
62
|
+
"data-testid": testid,
|
|
60
63
|
className: clsx(
|
|
61
64
|
"relative select-none flex items-center max-w-full w-full",
|
|
62
65
|
{
|
|
@@ -79,6 +82,7 @@ var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
|
79
82
|
"ol",
|
|
80
83
|
{
|
|
81
84
|
id: id ? `${id}-list` : void 0,
|
|
85
|
+
"data-testid": testid ? `${testid}-list` : void 0,
|
|
82
86
|
className: "flex items-center overflow-x-scroll",
|
|
83
87
|
style: { scrollbarWidth: "none" },
|
|
84
88
|
onScroll: updateOverflow,
|
|
@@ -95,6 +99,7 @@ var Breadcrumbs = ({ asCardStyle, id, crumbs }) => {
|
|
|
95
99
|
href,
|
|
96
100
|
onClick,
|
|
97
101
|
id: id ? `${id}-crumb-${index}` : void 0,
|
|
102
|
+
testid: testid ? `${testid}-crumb-${index}` : void 0,
|
|
98
103
|
children
|
|
99
104
|
}
|
|
100
105
|
)
|