@dmsi/wedgekit-react 0.0.87 → 0.0.89
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-S3CQ5VFT.js → chunk-2XOQII4G.js} +1 -1
- package/dist/{chunk-TVDFTRGL.js → chunk-3JRVV6QY.js} +1 -1
- package/dist/{chunk-4N2PED4P.js → chunk-3NWBR3V3.js} +1 -1
- package/dist/chunk-5OHGKW4U.js +9 -0
- package/dist/chunk-5UH6QUFB.js +38 -0
- package/dist/{chunk-QUPHLL7D.js → chunk-6CS5ZBXO.js} +1 -1
- package/dist/{chunk-OW3SZEU5.js → chunk-EO3JJWFW.js} +4 -1
- package/dist/{chunk-SAMX4YGM.js → chunk-IMN6I5NV.js} +1 -1
- package/dist/chunk-JOMM4KBH.js +26 -0
- package/dist/{chunk-MZJS2ZAU.js → chunk-L364HTYC.js} +2 -1
- package/dist/{chunk-CKSDMI2Q.js → chunk-LYVH4YFE.js} +2 -2
- package/dist/{chunk-LP6AZST2.js → chunk-OB3URVCR.js} +1 -1
- package/dist/chunk-QDFQ3B4N.js +87 -0
- package/dist/{chunk-MQWWNAO3.js → chunk-QIHDPSOM.js} +4 -4
- package/dist/{chunk-724LJWFR.js → chunk-R5TLUWDD.js} +5 -35
- package/dist/chunk-RHADESKO.js +57 -0
- package/dist/chunk-SASEP5UE.js +235 -0
- package/dist/chunk-TTO4PL7Y.js +135 -0
- package/dist/{chunk-2BVSUYXU.js → chunk-Y4HUYAI5.js} +1 -1
- package/dist/components/Accordion.cjs +529 -0
- package/dist/components/Accordion.js +13 -0
- package/dist/components/Button.cjs +2 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/Card.cjs +83 -0
- package/dist/components/Card.js +7 -0
- package/dist/components/ContentTab.cjs +2 -1
- package/dist/components/ContentTab.js +2 -2
- package/dist/components/ContentTabs.cjs +2 -1
- package/dist/components/ContentTabs.js +2 -2
- package/dist/components/DataGridCell.js +7 -6
- package/dist/components/DateInput.js +2 -1
- package/dist/components/DateRangeInput.js +2 -1
- package/dist/components/FilterGroup.cjs +2 -1
- package/dist/components/FilterGroup.js +6 -5
- package/dist/components/HorizontalDivider.js +3 -6
- package/dist/components/Input.js +2 -1
- package/dist/components/MenuOption.js +2 -2
- package/dist/components/MobileDataGrid.cjs +134 -133
- package/dist/components/MobileDataGrid.js +4 -4
- package/dist/components/Modal.cjs +2 -1
- package/dist/components/Modal.js +4 -4
- package/dist/components/ModalButtons.cjs +2 -1
- package/dist/components/ModalButtons.js +2 -2
- package/dist/components/ModalHeader.cjs +2 -1
- package/dist/components/ModalHeader.js +2 -2
- package/dist/components/NavigationTab.cjs +2 -1
- package/dist/components/NavigationTab.js +2 -2
- package/dist/components/NavigationTabs.cjs +2 -1
- package/dist/components/NavigationTabs.js +2 -2
- package/dist/components/NestedMenu.js +2 -2
- package/dist/components/Notification.cjs +3 -2
- package/dist/components/Notification.js +4 -4
- package/dist/components/OptionPill.cjs +2 -1
- package/dist/components/OptionPill.js +2 -2
- package/dist/components/PDFViewer.cjs +2 -1
- package/dist/components/PDFViewer.js +4 -4
- package/dist/components/Password.js +2 -1
- package/dist/components/PaymentOnAccountModal.cjs +2132 -0
- package/dist/components/PaymentOnAccountModal.js +31 -0
- package/dist/components/Radio.js +5 -130
- package/dist/components/Search.js +3 -2
- package/dist/components/Select.js +3 -2
- package/dist/components/SelectPaymentMethod.cjs +1170 -0
- package/dist/components/SelectPaymentMethod.js +20 -0
- package/dist/components/SideMenuGroup.cjs +1 -1
- package/dist/components/SideMenuGroup.js +3 -3
- package/dist/components/SideMenuItem.cjs +1 -1
- package/dist/components/SideMenuItem.js +1 -1
- package/dist/components/Stack.cjs +132 -4
- package/dist/components/Stack.js +2 -1
- package/dist/components/Stepper.cjs +2 -1
- package/dist/components/Stepper.js +3 -2
- package/dist/components/Swatch.cjs +1 -1
- package/dist/components/Swatch.js +5 -5
- package/dist/components/Time.cjs +1 -1
- package/dist/components/Time.js +5 -4
- package/dist/components/Toast.cjs +2 -1
- package/dist/components/Toast.js +1 -1
- package/dist/components/Upload.cjs +2 -1
- package/dist/components/Upload.js +1 -1
- package/dist/components/index.cjs +1053 -1
- package/dist/components/index.js +35 -11
- package/dist/index.css +42 -0
- package/package.json +1 -1
- package/src/components/Accordion.tsx +84 -0
- package/src/components/Button.tsx +2 -1
- package/src/components/Card.tsx +17 -0
- package/src/components/PaymentOnAccountModal.tsx +52 -0
- package/src/components/SelectPaymentMethod.tsx +263 -0
- package/src/components/Stack.tsx +2 -3
- package/src/components/index.ts +3 -0
- package/dist/{chunk-UPBBOZM3.js → chunk-VH3EJNVE.js} +3 -3
package/dist/components/Modal.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QIHDPSOM.js";
|
|
5
5
|
import "../chunk-4RJKB7LC.js";
|
|
6
|
+
import "../chunk-6CS5ZBXO.js";
|
|
6
7
|
import "../chunk-FWPJ73IK.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-3JRVV6QY.js";
|
|
8
9
|
import "../chunk-4JLU7TAC.js";
|
|
9
|
-
import "../chunk-QUPHLL7D.js";
|
|
10
10
|
import "../chunk-J6LETUNM.js";
|
|
11
11
|
import "../chunk-WNQ53SVY.js";
|
|
12
12
|
import "../chunk-4T7F5BZZ.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-L364HTYC.js";
|
|
14
14
|
import "../chunk-IGQVA7SC.js";
|
|
15
15
|
import "../chunk-RDLEIAQU.js";
|
|
16
16
|
import "../chunk-ORMEWXMH.js";
|
|
@@ -309,7 +309,7 @@ var Button = (_a) => {
|
|
|
309
309
|
componentPaddingXUsingComponentGap,
|
|
310
310
|
typography.buttonLabel
|
|
311
311
|
);
|
|
312
|
-
const Element = href ? "a" : as;
|
|
312
|
+
const Element = href && !as ? "a" : as;
|
|
313
313
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
314
314
|
Element,
|
|
315
315
|
__spreadProps(__spreadValues({
|
|
@@ -317,6 +317,7 @@ var Button = (_a) => {
|
|
|
317
317
|
type: Element === "button" ? "button" : void 0,
|
|
318
318
|
className: buttonClasses
|
|
319
319
|
}, props), {
|
|
320
|
+
onClick: props.onClick,
|
|
320
321
|
disabled,
|
|
321
322
|
href,
|
|
322
323
|
children: [
|
|
@@ -358,7 +358,7 @@ var Button = (_a) => {
|
|
|
358
358
|
componentPaddingXUsingComponentGap,
|
|
359
359
|
typography.buttonLabel
|
|
360
360
|
);
|
|
361
|
-
const Element = href ? "a" : as;
|
|
361
|
+
const Element = href && !as ? "a" : as;
|
|
362
362
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
363
363
|
Element,
|
|
364
364
|
__spreadProps(__spreadValues({
|
|
@@ -366,6 +366,7 @@ var Button = (_a) => {
|
|
|
366
366
|
type: Element === "button" ? "button" : void 0,
|
|
367
367
|
className: buttonClasses
|
|
368
368
|
}, props), {
|
|
369
|
+
onClick: props.onClick,
|
|
369
370
|
disabled,
|
|
370
371
|
href,
|
|
371
372
|
children: [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModalHeader
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3JRVV6QY.js";
|
|
4
4
|
import "../chunk-J6LETUNM.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-L364HTYC.js";
|
|
6
6
|
import "../chunk-IGQVA7SC.js";
|
|
7
7
|
import "../chunk-RDLEIAQU.js";
|
|
8
8
|
import "../chunk-ORMEWXMH.js";
|
|
@@ -309,7 +309,7 @@ var Button = (_a) => {
|
|
|
309
309
|
componentPaddingXUsingComponentGap,
|
|
310
310
|
typography.buttonLabel
|
|
311
311
|
);
|
|
312
|
-
const Element = href ? "a" : as;
|
|
312
|
+
const Element = href && !as ? "a" : as;
|
|
313
313
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
314
314
|
Element,
|
|
315
315
|
__spreadProps(__spreadValues({
|
|
@@ -317,6 +317,7 @@ var Button = (_a) => {
|
|
|
317
317
|
type: Element === "button" ? "button" : void 0,
|
|
318
318
|
className: buttonClasses
|
|
319
319
|
}, props), {
|
|
320
|
+
onClick: props.onClick,
|
|
320
321
|
disabled,
|
|
321
322
|
href,
|
|
322
323
|
children: [
|
|
@@ -314,7 +314,7 @@ var Button = (_a) => {
|
|
|
314
314
|
componentPaddingXUsingComponentGap,
|
|
315
315
|
typography.buttonLabel
|
|
316
316
|
);
|
|
317
|
-
const Element = href ? "a" : as;
|
|
317
|
+
const Element = href && !as ? "a" : as;
|
|
318
318
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
319
319
|
Element,
|
|
320
320
|
__spreadProps(__spreadValues({
|
|
@@ -322,6 +322,7 @@ var Button = (_a) => {
|
|
|
322
322
|
type: Element === "button" ? "button" : void 0,
|
|
323
323
|
className: buttonClasses
|
|
324
324
|
}, props), {
|
|
325
|
+
onClick: props.onClick,
|
|
325
326
|
disabled,
|
|
326
327
|
href,
|
|
327
328
|
children: [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
MenuOption
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VH3EJNVE.js";
|
|
5
5
|
import {
|
|
6
6
|
useKeydown
|
|
7
7
|
} from "../chunk-WNQ53SVY.js";
|
|
8
|
-
import "../chunk-VG4EPHJA.js";
|
|
9
8
|
import "../chunk-S5K22XTH.js";
|
|
9
|
+
import "../chunk-VG4EPHJA.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
12
|
} from "../chunk-IGQVA7SC.js";
|
|
@@ -311,7 +311,7 @@ var Button = (_a) => {
|
|
|
311
311
|
componentPaddingXUsingComponentGap,
|
|
312
312
|
typography.buttonLabel
|
|
313
313
|
);
|
|
314
|
-
const Element = href ? "a" : as;
|
|
314
|
+
const Element = href && !as ? "a" : as;
|
|
315
315
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
316
316
|
Element,
|
|
317
317
|
__spreadProps(__spreadValues({
|
|
@@ -319,6 +319,7 @@ var Button = (_a) => {
|
|
|
319
319
|
type: Element === "button" ? "button" : void 0,
|
|
320
320
|
className: buttonClasses
|
|
321
321
|
}, props), {
|
|
322
|
+
onClick: props.onClick,
|
|
322
323
|
disabled,
|
|
323
324
|
href,
|
|
324
325
|
children: [
|
|
@@ -608,7 +609,7 @@ var Stack = (_a) => {
|
|
|
608
609
|
paddingX && sizing === "component" && "px-mobile-component-padding desktop:px-desktop-component-padding compact:px-desktop-compact-component-padding",
|
|
609
610
|
paddingY && sizing === "container" && "py-mobile-container-padding desktop:py-desktop-container-padding compact:py-desktop-compact-container-padding",
|
|
610
611
|
paddingY && sizing === "layout" && "py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding",
|
|
611
|
-
paddingY && sizing === "layout-group" &&
|
|
612
|
+
paddingY && sizing === "layout-group" && paddingYUsingLayoutGroupGap,
|
|
612
613
|
paddingY && sizing === "component" && "py-mobile-component-padding desktop:py-desktop-component-padding compact:py-desktop-compact-component-padding",
|
|
613
614
|
margin && sizing === "container" && "m-mobile-container-padding desktop:m-desktop-container-padding compact:m-compact-container-padding",
|
|
614
615
|
marginX && sizing === "container" && "mx-mobile-container-padding desktop:mx-desktop-container-padding compact:mx-compact-container-padding",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Stack
|
|
4
|
-
} from "../chunk-OW3SZEU5.js";
|
|
5
2
|
import {
|
|
6
3
|
Heading3
|
|
7
4
|
} from "../chunk-J6LETUNM.js";
|
|
5
|
+
import {
|
|
6
|
+
Stack
|
|
7
|
+
} from "../chunk-EO3JJWFW.js";
|
|
8
8
|
import {
|
|
9
9
|
Paragraph
|
|
10
10
|
} from "../chunk-VG4EPHJA.js";
|
|
11
11
|
import {
|
|
12
12
|
Button
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-L364HTYC.js";
|
|
14
14
|
import {
|
|
15
15
|
Icon
|
|
16
16
|
} from "../chunk-IGQVA7SC.js";
|
|
@@ -307,7 +307,7 @@ var Button = (_a) => {
|
|
|
307
307
|
componentPaddingXUsingComponentGap,
|
|
308
308
|
typography.buttonLabel
|
|
309
309
|
);
|
|
310
|
-
const Element = href ? "a" : as;
|
|
310
|
+
const Element = href && !as ? "a" : as;
|
|
311
311
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
312
312
|
Element,
|
|
313
313
|
__spreadProps(__spreadValues({
|
|
@@ -315,6 +315,7 @@ var Button = (_a) => {
|
|
|
315
315
|
type: Element === "button" ? "button" : void 0,
|
|
316
316
|
className: buttonClasses
|
|
317
317
|
}, props), {
|
|
318
|
+
onClick: props.onClick,
|
|
318
319
|
disabled,
|
|
319
320
|
href,
|
|
320
321
|
children: [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OptionPill
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3NWBR3V3.js";
|
|
4
4
|
import "../chunk-S5K22XTH.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-L364HTYC.js";
|
|
6
6
|
import "../chunk-IGQVA7SC.js";
|
|
7
7
|
import "../chunk-RDLEIAQU.js";
|
|
8
8
|
import "../chunk-ORMEWXMH.js";
|
|
@@ -365,7 +365,7 @@ var Button = (_a) => {
|
|
|
365
365
|
componentPaddingXUsingComponentGap,
|
|
366
366
|
typography.buttonLabel
|
|
367
367
|
);
|
|
368
|
-
const Element = href ? "a" : as;
|
|
368
|
+
const Element = href && !as ? "a" : as;
|
|
369
369
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
370
370
|
Element,
|
|
371
371
|
__spreadProps(__spreadValues({
|
|
@@ -373,6 +373,7 @@ var Button = (_a) => {
|
|
|
373
373
|
type: Element === "button" ? "button" : void 0,
|
|
374
374
|
className: buttonClasses
|
|
375
375
|
}, props), {
|
|
376
|
+
onClick: props.onClick,
|
|
376
377
|
disabled,
|
|
377
378
|
href,
|
|
378
379
|
children: [
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QIHDPSOM.js";
|
|
5
5
|
import "../chunk-4RJKB7LC.js";
|
|
6
|
+
import "../chunk-6CS5ZBXO.js";
|
|
6
7
|
import "../chunk-FWPJ73IK.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-3JRVV6QY.js";
|
|
8
9
|
import "../chunk-4JLU7TAC.js";
|
|
9
|
-
import "../chunk-QUPHLL7D.js";
|
|
10
10
|
import "../chunk-J6LETUNM.js";
|
|
11
11
|
import "../chunk-WNQ53SVY.js";
|
|
12
12
|
import "../chunk-4T7F5BZZ.js";
|
|
13
13
|
import {
|
|
14
14
|
Button
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-L364HTYC.js";
|
|
16
16
|
import "../chunk-IGQVA7SC.js";
|
|
17
17
|
import "../chunk-RDLEIAQU.js";
|
|
18
18
|
import "../chunk-ORMEWXMH.js";
|