@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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PaymentOnAccountModal
|
|
3
|
+
} from "../chunk-RHADESKO.js";
|
|
4
|
+
import "../chunk-SASEP5UE.js";
|
|
5
|
+
import "../chunk-TTO4PL7Y.js";
|
|
6
|
+
import "../chunk-QIHDPSOM.js";
|
|
7
|
+
import "../chunk-4RJKB7LC.js";
|
|
8
|
+
import "../chunk-6CS5ZBXO.js";
|
|
9
|
+
import "../chunk-FWPJ73IK.js";
|
|
10
|
+
import "../chunk-3JRVV6QY.js";
|
|
11
|
+
import "../chunk-4JLU7TAC.js";
|
|
12
|
+
import "../chunk-J6LETUNM.js";
|
|
13
|
+
import "../chunk-5OHGKW4U.js";
|
|
14
|
+
import "../chunk-WT5XXW6G.js";
|
|
15
|
+
import "../chunk-WNQ53SVY.js";
|
|
16
|
+
import "../chunk-4T7F5BZZ.js";
|
|
17
|
+
import "../chunk-R5TLUWDD.js";
|
|
18
|
+
import "../chunk-5UH6QUFB.js";
|
|
19
|
+
import "../chunk-S5K22XTH.js";
|
|
20
|
+
import "../chunk-O4M2GISS.js";
|
|
21
|
+
import "../chunk-QDFQ3B4N.js";
|
|
22
|
+
import "../chunk-EO3JJWFW.js";
|
|
23
|
+
import "../chunk-JOMM4KBH.js";
|
|
24
|
+
import "../chunk-VG4EPHJA.js";
|
|
25
|
+
import "../chunk-L364HTYC.js";
|
|
26
|
+
import "../chunk-IGQVA7SC.js";
|
|
27
|
+
import "../chunk-RDLEIAQU.js";
|
|
28
|
+
import "../chunk-ORMEWXMH.js";
|
|
29
|
+
export {
|
|
30
|
+
PaymentOnAccountModal
|
|
31
|
+
};
|
package/dist/components/Radio.js
CHANGED
|
@@ -1,135 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "../chunk-RDLEIAQU.js";
|
|
9
|
-
import {
|
|
10
|
-
__objRest,
|
|
11
|
-
__spreadValues
|
|
12
|
-
} from "../chunk-ORMEWXMH.js";
|
|
13
|
-
|
|
14
|
-
// src/components/Radio.tsx
|
|
15
|
-
import clsx from "clsx";
|
|
16
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
var Radio = (_a) => {
|
|
18
|
-
var _b = _a, {
|
|
19
|
-
className,
|
|
20
|
-
label,
|
|
21
|
-
error,
|
|
22
|
-
disabled,
|
|
23
|
-
checked,
|
|
24
|
-
readOnly,
|
|
25
|
-
id
|
|
26
|
-
} = _b, props = __objRest(_b, [
|
|
27
|
-
"className",
|
|
28
|
-
"label",
|
|
29
|
-
"error",
|
|
30
|
-
"disabled",
|
|
31
|
-
"checked",
|
|
32
|
-
"readOnly",
|
|
33
|
-
"id"
|
|
34
|
-
]);
|
|
35
|
-
const radioId = id;
|
|
36
|
-
const paragraphColor = disabled ? "text-primary-disabled" : error ? "text-primary-error" : "text-primary-normal";
|
|
37
|
-
const defaultClassName = clsx(
|
|
38
|
-
!error && !disabled && "border-border-primary-normal peer-hover:border-border-action-hover peer-hover:bg-background-action-secondary-hover peer-focus:border-border-action-hover peer-focus:bg-background-action-secondary-hover peer-active:border-border-action-active peer-active:bg-background-action-secondary-active peer-checked:border-0 peer-checked:bg-background-action-secondary-hover"
|
|
39
|
-
);
|
|
40
|
-
const errorClassName = clsx(
|
|
41
|
-
error && !disabled && "border-border-action-critical-normal peer-hover:border-border-action-critical-hover peer-hover:bg-background-action-critical-secondary-hover peer-focus:border-border-action-critical-hover peer-focus:bg-background-action-critical-secondary-hover peer-active:border-border-action-critical-active peer-active:bg-background-action-secondary-active peer-checked:bg-background-action-critical-secondary-hover peer-checked:border-0 "
|
|
42
|
-
);
|
|
43
|
-
const disabledClassName = clsx(
|
|
44
|
-
disabled && "peer-disabled:bg-background-action-secondary-disabled peer-disabled:border-border-primary-normal peer-checked:border-0"
|
|
45
|
-
);
|
|
46
|
-
const readonlyClassName = clsx(
|
|
47
|
-
readOnly && "peer-read-only:bg-background-action-secondary-disabled peer-read-only:border-border-primary-normal peer-checked:border-0"
|
|
48
|
-
);
|
|
49
|
-
return /* @__PURE__ */ jsxs(
|
|
50
|
-
"label",
|
|
51
|
-
{
|
|
52
|
-
htmlFor: radioId,
|
|
53
|
-
className: clsx(
|
|
54
|
-
"flex items-center",
|
|
55
|
-
componentGap,
|
|
56
|
-
disabled ? "cursor-default" : "cursor-pointer",
|
|
57
|
-
className
|
|
58
|
-
),
|
|
59
|
-
children: [
|
|
60
|
-
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
61
|
-
/* @__PURE__ */ jsx(
|
|
62
|
-
"input",
|
|
63
|
-
__spreadValues({
|
|
64
|
-
id: radioId,
|
|
65
|
-
type: "radio",
|
|
66
|
-
className: "sr-only peer",
|
|
67
|
-
disabled,
|
|
68
|
-
checked,
|
|
69
|
-
readOnly
|
|
70
|
-
}, props)
|
|
71
|
-
),
|
|
72
|
-
/* @__PURE__ */ jsx(
|
|
73
|
-
"div",
|
|
74
|
-
{
|
|
75
|
-
className: clsx(
|
|
76
|
-
"size-6 rounded-full border flex items-center justify-center",
|
|
77
|
-
baseTransition,
|
|
78
|
-
defaultClassName,
|
|
79
|
-
errorClassName,
|
|
80
|
-
disabledClassName,
|
|
81
|
-
readonlyClassName
|
|
82
|
-
),
|
|
83
|
-
children: checked && /* @__PURE__ */ jsx(
|
|
84
|
-
RadioIcon,
|
|
85
|
-
{
|
|
86
|
-
className: clsx(
|
|
87
|
-
"transition-colors",
|
|
88
|
-
!error && !disabled && "text-icon-on-action-secondary-normal hover:text-icon-on-action-secondary-hover active:text-icon-on-action-secondary-active peer-hover:text-icon-on-action-secondary-hover peer-focus:text-icon-on-action-secondary-hover peer-active:text-icon-on-action-secondary-active",
|
|
89
|
-
error && !disabled && "text-icon-action-critical-secondary-normal hover:text-icon-action-critical-secondary-hover active:text-icon-action-critical-secondary-active peer-hover:text-icon-action-critical-secondary-hover peer-focus:text-icon-action-critical-secondary-hover peer-active:text-icon-action-critical-secondary-active",
|
|
90
|
-
disabled && "text-icon-on-action-secondary-disabled",
|
|
91
|
-
readOnly && "text-icon-on-action-secondary-disabled"
|
|
92
|
-
)
|
|
93
|
-
}
|
|
94
|
-
)
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
] }),
|
|
98
|
-
label && /* @__PURE__ */ jsx(Paragraph, { id: `${radioId}-label`, padded: true, color: paragraphColor, children: label })
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
);
|
|
102
|
-
};
|
|
103
|
-
Radio.displayName = "Radio";
|
|
104
|
-
var RadioIcon = ({ className }) => {
|
|
105
|
-
return /* @__PURE__ */ jsxs(
|
|
106
|
-
"svg",
|
|
107
|
-
{
|
|
108
|
-
className,
|
|
109
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
110
|
-
width: "24",
|
|
111
|
-
height: "24",
|
|
112
|
-
viewBox: "0 0 24 24",
|
|
113
|
-
fill: "none",
|
|
114
|
-
children: [
|
|
115
|
-
/* @__PURE__ */ jsx(
|
|
116
|
-
"rect",
|
|
117
|
-
{
|
|
118
|
-
x: "1",
|
|
119
|
-
y: "1",
|
|
120
|
-
width: "22",
|
|
121
|
-
height: "22",
|
|
122
|
-
rx: "11",
|
|
123
|
-
stroke: "currentColor",
|
|
124
|
-
strokeWidth: "2"
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
/* @__PURE__ */ jsx("rect", { x: "4", y: "4", width: "16", height: "16", rx: "8", fill: "currentColor" })
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
);
|
|
131
|
-
};
|
|
132
|
-
RadioIcon.displayName = "RadioIcon";
|
|
3
|
+
Radio
|
|
4
|
+
} from "../chunk-TTO4PL7Y.js";
|
|
5
|
+
import "../chunk-VG4EPHJA.js";
|
|
6
|
+
import "../chunk-RDLEIAQU.js";
|
|
7
|
+
import "../chunk-ORMEWXMH.js";
|
|
133
8
|
export {
|
|
134
9
|
Radio
|
|
135
10
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Search
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OB3URVCR.js";
|
|
5
|
+
import "../chunk-R5TLUWDD.js";
|
|
6
|
+
import "../chunk-5UH6QUFB.js";
|
|
6
7
|
import "../chunk-S5K22XTH.js";
|
|
7
8
|
import "../chunk-IGQVA7SC.js";
|
|
8
9
|
import "../chunk-RDLEIAQU.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Select
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-Y4HUYAI5.js";
|
|
5
|
+
import "../chunk-R5TLUWDD.js";
|
|
6
|
+
import "../chunk-5UH6QUFB.js";
|
|
6
7
|
import "../chunk-S5K22XTH.js";
|
|
7
8
|
import "../chunk-IGQVA7SC.js";
|
|
8
9
|
import "../chunk-RDLEIAQU.js";
|