@dmsi/wedgekit-react 0.0.105 → 0.0.107
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-X62XGQY7.js → chunk-2XOQII4G.js} +1 -1
- package/dist/{chunk-6UI5GABI.js → chunk-3JRVV6QY.js} +1 -1
- package/dist/{chunk-QNQ5K7NW.js → chunk-3NWBR3V3.js} +1 -1
- package/dist/chunk-4F6VQXKY.js +112 -0
- package/dist/{chunk-CG2NIXZE.js → chunk-6CS5ZBXO.js} +1 -1
- package/dist/{chunk-P242H6OU.js → chunk-IMN6I5NV.js} +1 -1
- package/dist/{chunk-VPEVXTBJ.js → chunk-KYMBBPEW.js} +9 -4
- package/dist/{chunk-H6LXXGX6.js → chunk-L364HTYC.js} +7 -5
- package/dist/{chunk-WVLT6XM7.js → chunk-OX3HKFIH.js} +2 -2
- package/dist/{chunk-D2YP2BTN.js → chunk-QIHDPSOM.js} +2 -2
- package/dist/{chunk-E5VEDZYV.js → chunk-ZEGVZ5NW.js} +2 -2
- package/dist/components/Button.cjs +7 -5
- package/dist/components/Button.js +1 -1
- package/dist/components/ContentTab.cjs +7 -5
- package/dist/components/ContentTab.js +2 -2
- package/dist/components/ContentTabs.cjs +7 -5
- package/dist/components/ContentTabs.js +2 -2
- package/dist/components/DataGridCell.cjs +2 -2
- package/dist/components/DataGridCell.js +1 -1
- package/dist/components/FilterGroup.cjs +7 -5
- package/dist/components/FilterGroup.js +2 -2
- package/dist/components/LoadingScrim.cjs +168 -0
- package/dist/components/LoadingScrim.js +27 -0
- package/dist/components/MobileDataGrid.cjs +7 -5
- package/dist/components/MobileDataGrid.js +1 -1
- package/dist/components/Modal.cjs +7 -5
- package/dist/components/Modal.js +4 -4
- package/dist/components/ModalButtons.cjs +7 -5
- package/dist/components/ModalButtons.js +2 -2
- package/dist/components/ModalHeader.cjs +7 -5
- package/dist/components/ModalHeader.js +2 -2
- package/dist/components/NavigationTab.cjs +7 -5
- package/dist/components/NavigationTab.js +2 -2
- package/dist/components/NavigationTabs.cjs +7 -5
- package/dist/components/NavigationTabs.js +2 -2
- package/dist/components/Notification.cjs +7 -5
- package/dist/components/Notification.js +1 -1
- package/dist/components/OptionPill.cjs +7 -5
- package/dist/components/OptionPill.js +2 -2
- package/dist/components/PDFViewer.cjs +7 -5
- package/dist/components/PDFViewer.js +4 -4
- package/dist/components/PaymentOnAccountModal.cjs +15 -8
- package/dist/components/PaymentOnAccountModal.js +6 -6
- package/dist/components/SelectPaymentMethod.cjs +15 -8
- package/dist/components/SelectPaymentMethod.js +2 -2
- package/dist/components/Spinner.cjs +136 -0
- package/dist/components/Spinner.js +7 -0
- package/dist/components/Stepper.cjs +7 -5
- package/dist/components/Stepper.js +1 -1
- package/dist/components/Toast.cjs +7 -5
- package/dist/components/Toast.js +1 -1
- package/dist/components/Upload.cjs +7 -5
- package/dist/components/Upload.js +1 -1
- package/dist/components/index.cjs +19 -11
- package/dist/components/index.js +9 -8
- package/dist/index.css +40 -0
- package/package.json +1 -1
- package/src/components/Button.tsx +7 -5
- package/src/components/DataGrid/index.tsx +10 -4
- package/src/components/DataGridCell.tsx +2 -2
- package/src/components/LoadingScrim.tsx +32 -0
- package/src/components/SelectPaymentMethod.tsx +6 -2
- package/src/components/Spinner.tsx +102 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Spinner
|
|
3
|
+
} from "../chunk-4F6VQXKY.js";
|
|
4
|
+
import "../chunk-ORMEWXMH.js";
|
|
5
|
+
|
|
6
|
+
// src/components/LoadingScrim.tsx
|
|
7
|
+
import clsx from "clsx";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
function LoadingScrim({ className }) {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
className: clsx(
|
|
14
|
+
"fixed inset-0 z-50 flex items-center justify-center bg-neutral-600/30",
|
|
15
|
+
className
|
|
16
|
+
),
|
|
17
|
+
"aria-modal": "true",
|
|
18
|
+
role: "dialog",
|
|
19
|
+
tabIndex: -1,
|
|
20
|
+
children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(Spinner, { size: "large" }) })
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
LoadingScrim.displayName = "LoadingScrim";
|
|
25
|
+
export {
|
|
26
|
+
LoadingScrim
|
|
27
|
+
};
|
|
@@ -474,11 +474,14 @@ var Button = (_a) => {
|
|
|
474
474
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
475
475
|
);
|
|
476
476
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx4.default)(
|
|
477
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
477
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
478
478
|
"bg-transparent",
|
|
479
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
480
|
-
"
|
|
481
|
-
"
|
|
479
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
480
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
481
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
482
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
483
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
484
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
482
485
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
483
486
|
"flex-col",
|
|
484
487
|
paddingUsingComponentGap
|
|
@@ -516,7 +519,6 @@ var Button = (_a) => {
|
|
|
516
519
|
onClick: props.onClick,
|
|
517
520
|
disabled,
|
|
518
521
|
href,
|
|
519
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
520
522
|
children: [
|
|
521
523
|
leftIcon && leftIcon,
|
|
522
524
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -327,11 +327,14 @@ var Button = (_a) => {
|
|
|
327
327
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
328
328
|
);
|
|
329
329
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx3.default)(
|
|
330
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
330
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
331
331
|
"bg-transparent",
|
|
332
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
333
|
-
"
|
|
334
|
-
"
|
|
332
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
333
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
334
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
335
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
336
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
337
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
335
338
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
336
339
|
"flex-col",
|
|
337
340
|
paddingUsingComponentGap
|
|
@@ -369,7 +372,6 @@ var Button = (_a) => {
|
|
|
369
372
|
onClick: props.onClick,
|
|
370
373
|
disabled,
|
|
371
374
|
href,
|
|
372
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
373
375
|
children: [
|
|
374
376
|
leftIcon && leftIcon,
|
|
375
377
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
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-
|
|
6
|
+
import "../chunk-6CS5ZBXO.js";
|
|
7
7
|
import "../chunk-FWPJ73IK.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-3JRVV6QY.js";
|
|
9
9
|
import "../chunk-4JLU7TAC.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";
|
|
@@ -275,11 +275,14 @@ var Button = (_a) => {
|
|
|
275
275
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
276
276
|
);
|
|
277
277
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
|
|
278
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
278
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
279
279
|
"bg-transparent",
|
|
280
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
281
|
-
"
|
|
282
|
-
"
|
|
280
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
281
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
282
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
283
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
284
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
285
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
283
286
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
284
287
|
"flex-col",
|
|
285
288
|
paddingUsingComponentGap
|
|
@@ -317,7 +320,6 @@ var Button = (_a) => {
|
|
|
317
320
|
onClick: props.onClick,
|
|
318
321
|
disabled,
|
|
319
322
|
href,
|
|
320
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
321
323
|
children: [
|
|
322
324
|
leftIcon && leftIcon,
|
|
323
325
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -324,11 +324,14 @@ var Button = (_a) => {
|
|
|
324
324
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
325
325
|
);
|
|
326
326
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx3.default)(
|
|
327
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
327
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
328
328
|
"bg-transparent",
|
|
329
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
330
|
-
"
|
|
331
|
-
"
|
|
329
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
330
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
331
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
332
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
333
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
334
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
332
335
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
333
336
|
"flex-col",
|
|
334
337
|
paddingUsingComponentGap
|
|
@@ -366,7 +369,6 @@ var Button = (_a) => {
|
|
|
366
369
|
onClick: props.onClick,
|
|
367
370
|
disabled,
|
|
368
371
|
href,
|
|
369
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
370
372
|
children: [
|
|
371
373
|
leftIcon && leftIcon,
|
|
372
374
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, 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";
|
|
@@ -275,11 +275,14 @@ var Button = (_a) => {
|
|
|
275
275
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
276
276
|
);
|
|
277
277
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
|
|
278
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
278
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
279
279
|
"bg-transparent",
|
|
280
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
281
|
-
"
|
|
282
|
-
"
|
|
280
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
281
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
282
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
283
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
284
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
285
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
283
286
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
284
287
|
"flex-col",
|
|
285
288
|
paddingUsingComponentGap
|
|
@@ -317,7 +320,6 @@ var Button = (_a) => {
|
|
|
317
320
|
onClick: props.onClick,
|
|
318
321
|
disabled,
|
|
319
322
|
href,
|
|
320
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
321
323
|
children: [
|
|
322
324
|
leftIcon && leftIcon,
|
|
323
325
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -280,11 +280,14 @@ var Button = (_a) => {
|
|
|
280
280
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
281
281
|
);
|
|
282
282
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
|
|
283
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
283
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
284
284
|
"bg-transparent",
|
|
285
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
286
|
-
"
|
|
287
|
-
"
|
|
285
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
286
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
287
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
288
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
289
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
290
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
288
291
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
289
292
|
"flex-col",
|
|
290
293
|
paddingUsingComponentGap
|
|
@@ -322,7 +325,6 @@ var Button = (_a) => {
|
|
|
322
325
|
onClick: props.onClick,
|
|
323
326
|
disabled,
|
|
324
327
|
href,
|
|
325
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
326
328
|
children: [
|
|
327
329
|
leftIcon && leftIcon,
|
|
328
330
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -277,11 +277,14 @@ var Button = (_a) => {
|
|
|
277
277
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
278
278
|
);
|
|
279
279
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
|
|
280
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
280
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
281
281
|
"bg-transparent",
|
|
282
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
283
|
-
"
|
|
284
|
-
"
|
|
282
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
283
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
284
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
285
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
286
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
287
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
285
288
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
286
289
|
"flex-col",
|
|
287
290
|
paddingUsingComponentGap
|
|
@@ -319,7 +322,6 @@ var Button = (_a) => {
|
|
|
319
322
|
onClick: props.onClick,
|
|
320
323
|
disabled,
|
|
321
324
|
href,
|
|
322
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
323
325
|
children: [
|
|
324
326
|
leftIcon && leftIcon,
|
|
325
327
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -273,11 +273,14 @@ var Button = (_a) => {
|
|
|
273
273
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
274
274
|
);
|
|
275
275
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
|
|
276
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
276
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
277
277
|
"bg-transparent",
|
|
278
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
279
|
-
"
|
|
280
|
-
"
|
|
278
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
279
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
280
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
281
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
282
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
283
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
281
284
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
282
285
|
"flex-col",
|
|
283
286
|
paddingUsingComponentGap
|
|
@@ -315,7 +318,6 @@ var Button = (_a) => {
|
|
|
315
318
|
onClick: props.onClick,
|
|
316
319
|
disabled,
|
|
317
320
|
href,
|
|
318
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
319
321
|
children: [
|
|
320
322
|
leftIcon && leftIcon,
|
|
321
323
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, 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";
|
|
@@ -331,11 +331,14 @@ var Button = (_a) => {
|
|
|
331
331
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
332
332
|
);
|
|
333
333
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx3.default)(
|
|
334
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
334
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
335
335
|
"bg-transparent",
|
|
336
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
337
|
-
"
|
|
338
|
-
"
|
|
336
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
337
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
338
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
339
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
340
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
341
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
339
342
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
340
343
|
"flex-col",
|
|
341
344
|
paddingUsingComponentGap
|
|
@@ -373,7 +376,6 @@ var Button = (_a) => {
|
|
|
373
376
|
onClick: props.onClick,
|
|
374
377
|
disabled,
|
|
375
378
|
href,
|
|
376
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
377
379
|
children: [
|
|
378
380
|
leftIcon && leftIcon,
|
|
379
381
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
6
|
+
import "../chunk-6CS5ZBXO.js";
|
|
7
7
|
import "../chunk-FWPJ73IK.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-3JRVV6QY.js";
|
|
9
9
|
import "../chunk-4JLU7TAC.js";
|
|
10
10
|
import "../chunk-J6LETUNM.js";
|
|
11
11
|
import {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "../chunk-EO3JJWFW.js";
|
|
19
19
|
import {
|
|
20
20
|
Button
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-L364HTYC.js";
|
|
22
22
|
import {
|
|
23
23
|
Icon
|
|
24
24
|
} from "../chunk-IGQVA7SC.js";
|
|
@@ -329,11 +329,14 @@ var Button = (_a) => {
|
|
|
329
329
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
330
330
|
);
|
|
331
331
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx3.default)(
|
|
332
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
332
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
333
333
|
"bg-transparent",
|
|
334
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
335
|
-
"
|
|
336
|
-
"
|
|
334
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
335
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
336
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
337
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
338
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
339
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
337
340
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
338
341
|
"flex-col",
|
|
339
342
|
paddingUsingComponentGap
|
|
@@ -371,7 +374,6 @@ var Button = (_a) => {
|
|
|
371
374
|
onClick: props.onClick,
|
|
372
375
|
disabled,
|
|
373
376
|
href,
|
|
374
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
375
377
|
children: [
|
|
376
378
|
leftIcon && leftIcon,
|
|
377
379
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -1948,7 +1950,13 @@ function SelectPaymentMethod(props) {
|
|
|
1948
1950
|
{
|
|
1949
1951
|
isOpen: selectedMethod === "CCPayment",
|
|
1950
1952
|
title: "Pay by Credit/Debit Card",
|
|
1951
|
-
before: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1953
|
+
before: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1954
|
+
Radio,
|
|
1955
|
+
{
|
|
1956
|
+
checked: selectedMethod === "CCPayment",
|
|
1957
|
+
onClick: (e) => e.preventDefault()
|
|
1958
|
+
}
|
|
1959
|
+
),
|
|
1952
1960
|
onClick: () => handleToggle(selectedMethod === "CCPayment" ? null : "CCPayment"),
|
|
1953
1961
|
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Button, { className: "w-full", onClick: onPay, disabled: isPayLoading, children: isPayLoading ? "Processing..." : "Proceed to Payment" })
|
|
1954
1962
|
}
|
|
@@ -1992,8 +2000,7 @@ function ACHSelector(props) {
|
|
|
1992
2000
|
before: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1993
2001
|
Radio,
|
|
1994
2002
|
{
|
|
1995
|
-
checked: !!selectedBankGuid && selectedMethod === "ACHPayment"
|
|
1996
|
-
readOnly: true
|
|
2003
|
+
checked: !!selectedBankGuid && selectedMethod === "ACHPayment"
|
|
1997
2004
|
}
|
|
1998
2005
|
),
|
|
1999
2006
|
onClick: () => setIsOpen((prev) => !prev),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PaymentOnAccountModal,
|
|
3
3
|
calculateSurcharge
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OX3HKFIH.js";
|
|
5
|
+
import "../chunk-KYMBBPEW.js";
|
|
6
6
|
import "../chunk-TTO4PL7Y.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-QIHDPSOM.js";
|
|
8
8
|
import "../chunk-4RJKB7LC.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-6CS5ZBXO.js";
|
|
10
10
|
import "../chunk-FWPJ73IK.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3JRVV6QY.js";
|
|
12
12
|
import "../chunk-4JLU7TAC.js";
|
|
13
13
|
import "../chunk-J6LETUNM.js";
|
|
14
14
|
import "../chunk-3ZUSYRI7.js";
|
|
@@ -23,7 +23,7 @@ import "../chunk-QDFQ3B4N.js";
|
|
|
23
23
|
import "../chunk-EO3JJWFW.js";
|
|
24
24
|
import "../chunk-JOMM4KBH.js";
|
|
25
25
|
import "../chunk-VG4EPHJA.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-L364HTYC.js";
|
|
27
27
|
import "../chunk-IGQVA7SC.js";
|
|
28
28
|
import "../chunk-RDLEIAQU.js";
|
|
29
29
|
import "../chunk-ORMEWXMH.js";
|
|
@@ -610,11 +610,14 @@ var Button = (_a) => {
|
|
|
610
610
|
"disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
|
|
611
611
|
);
|
|
612
612
|
const navigationVarianStyles = variant === "navigation" && (0, import_clsx7.default)(
|
|
613
|
-
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
|
|
613
|
+
(colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
|
|
614
614
|
"bg-transparent",
|
|
615
|
-
"hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
|
|
616
|
-
"
|
|
617
|
-
"
|
|
615
|
+
"hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
|
|
616
|
+
// "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
617
|
+
"focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
|
|
618
|
+
// "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
|
|
619
|
+
"active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
|
|
620
|
+
// "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
|
|
618
621
|
"disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
|
|
619
622
|
"flex-col",
|
|
620
623
|
paddingUsingComponentGap
|
|
@@ -652,7 +655,6 @@ var Button = (_a) => {
|
|
|
652
655
|
onClick: props.onClick,
|
|
653
656
|
disabled,
|
|
654
657
|
href,
|
|
655
|
-
"data-theme": variant === "navigation" ? "brand" : void 0,
|
|
656
658
|
children: [
|
|
657
659
|
leftIcon && leftIcon,
|
|
658
660
|
!iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
|
|
@@ -1016,7 +1018,13 @@ function SelectPaymentMethod(props) {
|
|
|
1016
1018
|
{
|
|
1017
1019
|
isOpen: selectedMethod === "CCPayment",
|
|
1018
1020
|
title: "Pay by Credit/Debit Card",
|
|
1019
|
-
before: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1021
|
+
before: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1022
|
+
Radio,
|
|
1023
|
+
{
|
|
1024
|
+
checked: selectedMethod === "CCPayment",
|
|
1025
|
+
onClick: (e) => e.preventDefault()
|
|
1026
|
+
}
|
|
1027
|
+
),
|
|
1020
1028
|
onClick: () => handleToggle(selectedMethod === "CCPayment" ? null : "CCPayment"),
|
|
1021
1029
|
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { className: "w-full", onClick: onPay, disabled: isPayLoading, children: isPayLoading ? "Processing..." : "Proceed to Payment" })
|
|
1022
1030
|
}
|
|
@@ -1060,8 +1068,7 @@ function ACHSelector(props) {
|
|
|
1060
1068
|
before: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1061
1069
|
Radio,
|
|
1062
1070
|
{
|
|
1063
|
-
checked: !!selectedBankGuid && selectedMethod === "ACHPayment"
|
|
1064
|
-
readOnly: true
|
|
1071
|
+
checked: !!selectedBankGuid && selectedMethod === "ACHPayment"
|
|
1065
1072
|
}
|
|
1066
1073
|
),
|
|
1067
1074
|
onClick: () => setIsOpen((prev) => !prev),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SelectPaymentMethod
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-KYMBBPEW.js";
|
|
5
5
|
import "../chunk-TTO4PL7Y.js";
|
|
6
6
|
import "../chunk-3ZUSYRI7.js";
|
|
7
7
|
import "../chunk-WT5XXW6G.js";
|
|
@@ -11,7 +11,7 @@ import "../chunk-QDFQ3B4N.js";
|
|
|
11
11
|
import "../chunk-EO3JJWFW.js";
|
|
12
12
|
import "../chunk-JOMM4KBH.js";
|
|
13
13
|
import "../chunk-VG4EPHJA.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-L364HTYC.js";
|
|
15
15
|
import "../chunk-IGQVA7SC.js";
|
|
16
16
|
import "../chunk-RDLEIAQU.js";
|
|
17
17
|
import "../chunk-ORMEWXMH.js";
|