@fangzsx/component-library 0.0.37 → 0.0.39
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/colors-CyChpKWu.js +23 -0
- package/dist/components/AppBarPublic/index.js +1 -1
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/FlatBanner/index.js +1 -1
- package/dist/components/ImageUpload/index.d.ts +2 -4
- package/dist/components/ImageUpload/index.js +110 -99
- package/dist/components/MediaCardWithAction/index.js +1 -1
- package/dist/components/PromoCode/index.js +1 -1
- package/dist/{index-Dnsx2wLn.js → index-CdcRS0lC.js} +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +25 -23
- package/package.json +1 -1
- package/dist/colors-DvNGPCDl.js +0 -19
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const c = "#1D252D", n = "#404A58", r = "#566376", s = "#8996A9", o = "#C4CBD4", t = "#E6EAED", E = "#F4F7F9", F = "#053E72", e = "#0B6B9F", y = "#27A4E8", a = "#C8EDFE", g = "#E6F6FF", i = "#055C56", p = "#E6FEEE", m = "#8E3007", C = "#FFF9F0", D = "#800711", d = "#FFECEB", A = {
|
|
2
|
+
grey800: c,
|
|
3
|
+
grey700: n,
|
|
4
|
+
grey600: r,
|
|
5
|
+
grey400: s,
|
|
6
|
+
grey200: o,
|
|
7
|
+
grey100: t,
|
|
8
|
+
grey50: E,
|
|
9
|
+
primary800: F,
|
|
10
|
+
primary700: e,
|
|
11
|
+
primary500: y,
|
|
12
|
+
primary100: a,
|
|
13
|
+
primary50: g,
|
|
14
|
+
secondary800: i,
|
|
15
|
+
secondary50: p,
|
|
16
|
+
warning800: m,
|
|
17
|
+
warning50: C,
|
|
18
|
+
destructive800: D,
|
|
19
|
+
destructive50: d
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
A as c
|
|
23
|
+
};
|
|
@@ -3,7 +3,7 @@ import { c as E } from "../../createSvgIcon-C0YrvByi.js";
|
|
|
3
3
|
import { Stack as w, Popper as $, ClickAwayListener as D, Paper as U } from "@mui/material";
|
|
4
4
|
import * as C from "react";
|
|
5
5
|
import { useState as Z } from "react";
|
|
6
|
-
import { C as G, B as b } from "../../index-
|
|
6
|
+
import { C as G, B as b } from "../../index-CdcRS0lC.js";
|
|
7
7
|
import { g as V, a as A, c as l, P as r } from "../../generateUtilityClasses-BCID9NF1.js";
|
|
8
8
|
import { u as H, s as B, c as T, a as h, m as v } from "../../DefaultPropsProvider-DVX_ssOt.js";
|
|
9
9
|
import { c as I, a as F } from "../../useTimeout-UzNJH-cm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { ErrorOutline as d, CheckCircle as a, InfoOutlined as m, WarningAmber as h } from "@mui/icons-material";
|
|
3
3
|
import { Card as g, Box as c, Typography as e } from "@mui/material";
|
|
4
|
-
import { c as n } from "../../colors-
|
|
4
|
+
import { c as n } from "../../colors-CyChpKWu.js";
|
|
5
5
|
const y = {
|
|
6
6
|
warning: { icon: h, color: "#f59e0b" },
|
|
7
7
|
info: { icon: m, color: n.primary500 },
|
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as r, Fragment as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { ExpandMoreOutlined as C } from "@mui/icons-material";
|
|
3
3
|
import { Box as I, IconButton as v, Menu as M, MenuItem as k, ListItemIcon as w, ListItemText as j } from "@mui/material";
|
|
4
4
|
import { useState as B } from "react";
|
|
5
|
-
import { c as t } from "../../colors-
|
|
5
|
+
import { c as t } from "../../colors-CyChpKWu.js";
|
|
6
6
|
function L({
|
|
7
7
|
items: h,
|
|
8
8
|
activeItemId: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { ErrorOutline as C, CheckCircle as f, InfoOutlineRounded as g, WarningAmberRounded as x } from "@mui/icons-material";
|
|
3
3
|
import { Card as m, Box as e, Typography as t } from "@mui/material";
|
|
4
|
-
import { c as o } from "../../colors-
|
|
4
|
+
import { c as o } from "../../colors-CyChpKWu.js";
|
|
5
5
|
const b = {
|
|
6
6
|
warning: { titleColor: o.warning800, bgColor: o.warning50, icon: x, iconColor: "#f59e0b" },
|
|
7
7
|
info: { titleColor: o.primary800, bgColor: o.primary50, icon: g, iconColor: "#f59e0b" },
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
1
|
interface ImageUploadProps {
|
|
4
2
|
label?: string;
|
|
5
3
|
required?: boolean;
|
|
@@ -11,5 +9,5 @@ interface ImageUploadProps {
|
|
|
11
9
|
disabled?: boolean;
|
|
12
10
|
onChange?: (file: File | null, error: string) => void;
|
|
13
11
|
}
|
|
14
|
-
declare
|
|
15
|
-
export
|
|
12
|
+
export declare function ImageUpload({ label, required, maxSizeMB, acceptedFormats, error, forceError, helperText, disabled, onChange, }: ImageUploadProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,115 +1,127 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { C as
|
|
3
|
-
import { c as
|
|
4
|
-
import { FormControl as
|
|
5
|
-
import { useState as
|
|
6
|
-
|
|
1
|
+
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { C as M } from "../../Close-pjIlDyCW.js";
|
|
3
|
+
import { c as P } from "../../createSvgIcon-C0YrvByi.js";
|
|
4
|
+
import { FormControl as T, FormLabel as U, Box as l, Stack as V, Typography as a, IconButton as E, FormHelperText as q } from "@mui/material";
|
|
5
|
+
import { useState as y, useRef as G, useCallback as J } from "react";
|
|
6
|
+
import { c as e } from "../../colors-CyChpKWu.js";
|
|
7
|
+
const K = P(/* @__PURE__ */ o("path", {
|
|
7
8
|
d: "M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"
|
|
8
|
-
}), "ImageOutlined")
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
}), "ImageOutlined");
|
|
10
|
+
function Q(i) {
|
|
11
|
+
const c = i.lastIndexOf(".");
|
|
12
|
+
return c <= 0 ? { baseName: i, extension: "" } : {
|
|
13
|
+
baseName: i.slice(0, c),
|
|
14
|
+
extension: i.slice(c)
|
|
13
15
|
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
}
|
|
17
|
+
function or({
|
|
18
|
+
label: i = "Logo",
|
|
19
|
+
required: c = !0,
|
|
20
|
+
maxSizeMB: m = 2,
|
|
18
21
|
acceptedFormats: s = ["png", "jpg", "jpeg"],
|
|
19
|
-
error:
|
|
20
|
-
forceError:
|
|
22
|
+
error: v = "",
|
|
23
|
+
forceError: x = !1,
|
|
21
24
|
helperText: b,
|
|
22
|
-
disabled:
|
|
23
|
-
onChange:
|
|
24
|
-
})
|
|
25
|
-
const [
|
|
25
|
+
disabled: n = !1,
|
|
26
|
+
onChange: p
|
|
27
|
+
}) {
|
|
28
|
+
const [k, h] = y(!1), [u, D] = y(null), [R, w] = y(""), d = G(null), C = m * 1024 * 1024, S = s.map((r) => `.${r}`).join(","), j = s.map(
|
|
26
29
|
(r) => `image/${r === "jpg" ? "jpeg" : r}`
|
|
27
|
-
),
|
|
28
|
-
(r)
|
|
30
|
+
), I = J(
|
|
31
|
+
function(r) {
|
|
29
32
|
if (!r) return;
|
|
30
|
-
if (!
|
|
31
|
-
|
|
33
|
+
if (!j.some((g) => r.type === g)) {
|
|
34
|
+
p?.(null, `Only ${s.join(", ")} files are supported`);
|
|
32
35
|
return;
|
|
33
36
|
}
|
|
34
|
-
if (r.size >
|
|
35
|
-
|
|
37
|
+
if (r.size > C) {
|
|
38
|
+
p?.(null, `File size must be less than ${m}MB`);
|
|
36
39
|
return;
|
|
37
40
|
}
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
},
|
|
41
|
+
const O = new FileReader();
|
|
42
|
+
O.onload = function(g) {
|
|
43
|
+
D(g.target?.result), w(r.name), p?.(r, "");
|
|
44
|
+
}, O.readAsDataURL(r);
|
|
42
45
|
},
|
|
43
|
-
[
|
|
44
|
-
)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
46
|
+
[j, C, m, s, p]
|
|
47
|
+
);
|
|
48
|
+
function W(r) {
|
|
49
|
+
r.preventDefault(), !n && (h(!1), I(r.dataTransfer.files?.[0] ?? null));
|
|
50
|
+
}
|
|
51
|
+
function F(r) {
|
|
52
|
+
r.preventDefault(), n || h(!0);
|
|
53
|
+
}
|
|
54
|
+
function L() {
|
|
55
|
+
h(!1);
|
|
56
|
+
}
|
|
57
|
+
function z() {
|
|
58
|
+
n || d.current?.click();
|
|
59
|
+
}
|
|
60
|
+
function N(r) {
|
|
61
|
+
I(r.target.files?.[0] ?? null);
|
|
62
|
+
}
|
|
63
|
+
function B(r) {
|
|
64
|
+
r.stopPropagation(), D(null), w(""), p?.(null, ""), d.current && (d.current.value = "");
|
|
65
|
+
}
|
|
66
|
+
const f = !!v || x && !u, $ = v || (x && !u ? `${i} can't be empty` : ""), { baseName: A, extension: H } = Q(R);
|
|
67
|
+
return /* @__PURE__ */ t(T, { fullWidth: !0, error: f, disabled: n, children: [
|
|
68
|
+
i && /* @__PURE__ */ o(
|
|
69
|
+
U,
|
|
58
70
|
{
|
|
59
|
-
required:
|
|
71
|
+
required: c,
|
|
60
72
|
sx: {
|
|
61
73
|
mb: 0.75,
|
|
62
74
|
fontSize: 14,
|
|
63
|
-
fontWeight:
|
|
75
|
+
fontWeight: 700,
|
|
64
76
|
color: "text.primary",
|
|
65
77
|
"& .MuiFormLabel-asterisk": { color: "error.main" },
|
|
66
78
|
"&.Mui-focused": { color: "text.primary" },
|
|
67
79
|
"&.Mui-error": { color: "text.primary" }
|
|
68
80
|
},
|
|
69
|
-
children:
|
|
81
|
+
children: i
|
|
70
82
|
}
|
|
71
83
|
),
|
|
72
84
|
/* @__PURE__ */ t(
|
|
73
|
-
|
|
85
|
+
l,
|
|
74
86
|
{
|
|
75
|
-
onClick:
|
|
76
|
-
onDrop:
|
|
87
|
+
onClick: z,
|
|
88
|
+
onDrop: W,
|
|
77
89
|
onDragOver: F,
|
|
78
90
|
onDragLeave: L,
|
|
79
91
|
sx: {
|
|
80
92
|
border: 2,
|
|
81
93
|
borderStyle: "dashed",
|
|
82
|
-
borderColor:
|
|
94
|
+
borderColor: f ? "error.main" : k ? e.primary500 : e.grey200,
|
|
83
95
|
borderRadius: 2,
|
|
84
|
-
p:
|
|
96
|
+
p: u ? 1.5 : 4,
|
|
85
97
|
textAlign: "center",
|
|
86
|
-
cursor:
|
|
87
|
-
bgcolor:
|
|
98
|
+
cursor: n ? "default" : "pointer",
|
|
99
|
+
bgcolor: n ? "action.disabledBackground" : k ? e.primary500 : e.grey50,
|
|
88
100
|
transition: "all 0.2s ease",
|
|
89
|
-
opacity:
|
|
90
|
-
"&:hover":
|
|
91
|
-
borderColor:
|
|
92
|
-
bgcolor:
|
|
101
|
+
opacity: n ? 0.6 : 1,
|
|
102
|
+
"&:hover": n ? {} : {
|
|
103
|
+
borderColor: f ? "error.main" : e.primary500,
|
|
104
|
+
bgcolor: e.primary50
|
|
93
105
|
}
|
|
94
106
|
},
|
|
95
107
|
children: [
|
|
96
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ o(
|
|
97
109
|
"input",
|
|
98
110
|
{
|
|
99
|
-
ref:
|
|
111
|
+
ref: d,
|
|
100
112
|
type: "file",
|
|
101
|
-
accept:
|
|
102
|
-
onChange:
|
|
113
|
+
accept: S,
|
|
114
|
+
onChange: N,
|
|
103
115
|
hidden: !0,
|
|
104
|
-
disabled:
|
|
116
|
+
disabled: n
|
|
105
117
|
}
|
|
106
118
|
),
|
|
107
|
-
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
|
|
119
|
+
u ? /* @__PURE__ */ t(V, { direction: "row", alignItems: "center", spacing: 2, children: [
|
|
120
|
+
/* @__PURE__ */ o(
|
|
121
|
+
l,
|
|
110
122
|
{
|
|
111
123
|
component: "img",
|
|
112
|
-
src:
|
|
124
|
+
src: u,
|
|
113
125
|
alt: "Preview",
|
|
114
126
|
sx: {
|
|
115
127
|
width: 80,
|
|
@@ -117,13 +129,13 @@ const J = M(/* @__PURE__ */ e("path", {
|
|
|
117
129
|
objectFit: "contain",
|
|
118
130
|
borderRadius: 1.5,
|
|
119
131
|
border: 1,
|
|
120
|
-
borderColor:
|
|
132
|
+
borderColor: e.grey200
|
|
121
133
|
}
|
|
122
134
|
}
|
|
123
135
|
),
|
|
124
|
-
/* @__PURE__ */ t(
|
|
136
|
+
/* @__PURE__ */ t(l, { sx: { flex: 1, minWidth: 0, textAlign: "left" }, children: [
|
|
125
137
|
/* @__PURE__ */ t(
|
|
126
|
-
|
|
138
|
+
a,
|
|
127
139
|
{
|
|
128
140
|
variant: "body2",
|
|
129
141
|
fontWeight: 500,
|
|
@@ -132,8 +144,8 @@ const J = M(/* @__PURE__ */ e("path", {
|
|
|
132
144
|
minWidth: 0
|
|
133
145
|
},
|
|
134
146
|
children: [
|
|
135
|
-
/* @__PURE__ */
|
|
136
|
-
|
|
147
|
+
/* @__PURE__ */ o(
|
|
148
|
+
l,
|
|
137
149
|
{
|
|
138
150
|
component: "span",
|
|
139
151
|
sx: {
|
|
@@ -142,67 +154,66 @@ const J = M(/* @__PURE__ */ e("path", {
|
|
|
142
154
|
whiteSpace: "nowrap",
|
|
143
155
|
minWidth: 0
|
|
144
156
|
},
|
|
145
|
-
children:
|
|
157
|
+
children: A
|
|
146
158
|
}
|
|
147
159
|
),
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
|
|
160
|
+
/* @__PURE__ */ o(
|
|
161
|
+
l,
|
|
150
162
|
{
|
|
151
163
|
component: "span",
|
|
152
164
|
sx: {
|
|
153
165
|
flexShrink: 0
|
|
154
166
|
},
|
|
155
|
-
children:
|
|
167
|
+
children: H
|
|
156
168
|
}
|
|
157
169
|
)
|
|
158
170
|
]
|
|
159
171
|
}
|
|
160
172
|
),
|
|
161
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ o(a, { variant: "caption", color: e.grey400, children: "Click to replace" })
|
|
162
174
|
] }),
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
|
|
175
|
+
/* @__PURE__ */ o(
|
|
176
|
+
E,
|
|
165
177
|
{
|
|
166
|
-
onClick:
|
|
178
|
+
onClick: B,
|
|
167
179
|
size: "small",
|
|
168
180
|
color: "error",
|
|
169
181
|
sx: {
|
|
170
182
|
border: 1,
|
|
171
|
-
borderColor:
|
|
183
|
+
borderColor: e.grey200,
|
|
172
184
|
borderRadius: 1.5,
|
|
173
185
|
"&:hover": { bgcolor: "error.50", borderColor: "error.200" }
|
|
174
186
|
},
|
|
175
|
-
children: /* @__PURE__ */
|
|
187
|
+
children: /* @__PURE__ */ o(M, { fontSize: "small" })
|
|
176
188
|
}
|
|
177
189
|
)
|
|
178
|
-
] }) : /* @__PURE__ */ t(
|
|
179
|
-
/* @__PURE__ */
|
|
180
|
-
|
|
190
|
+
] }) : /* @__PURE__ */ t(l, { children: [
|
|
191
|
+
/* @__PURE__ */ o(
|
|
192
|
+
K,
|
|
181
193
|
{
|
|
182
|
-
sx: { fontSize: 40, color:
|
|
194
|
+
sx: { fontSize: 40, color: e.primary700 }
|
|
183
195
|
}
|
|
184
196
|
),
|
|
185
|
-
/* @__PURE__ */ t(
|
|
197
|
+
/* @__PURE__ */ t(a, { variant: "body2", color: e.grey700, fontWeight: 700, gutterBottom: !0, children: [
|
|
186
198
|
"Drop image here or",
|
|
187
199
|
" ",
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
|
|
200
|
+
/* @__PURE__ */ o(
|
|
201
|
+
a,
|
|
190
202
|
{
|
|
191
203
|
component: "span",
|
|
192
204
|
variant: "body2",
|
|
193
|
-
color:
|
|
205
|
+
color: e.primary500,
|
|
194
206
|
fontWeight: 600,
|
|
195
|
-
sx: { textDecoration: "underline" },
|
|
196
207
|
children: "click to browse"
|
|
197
208
|
}
|
|
198
209
|
)
|
|
199
210
|
] }),
|
|
200
|
-
/* @__PURE__ */ t(
|
|
211
|
+
/* @__PURE__ */ t(a, { variant: "caption", color: e.grey400, display: "block", children: [
|
|
201
212
|
"File size should be less than ",
|
|
202
|
-
|
|
213
|
+
m,
|
|
203
214
|
"MB"
|
|
204
215
|
] }),
|
|
205
|
-
/* @__PURE__ */ t(
|
|
216
|
+
/* @__PURE__ */ t(a, { variant: "caption", color: e.grey400, display: "block", children: [
|
|
206
217
|
"Supports ",
|
|
207
218
|
s.join(", ")
|
|
208
219
|
] })
|
|
@@ -210,9 +221,9 @@ const J = M(/* @__PURE__ */ e("path", {
|
|
|
210
221
|
]
|
|
211
222
|
}
|
|
212
223
|
),
|
|
213
|
-
(
|
|
224
|
+
(f || b) && /* @__PURE__ */ o(q, { sx: { mt: 0.75, mx: 0 }, children: $ || b })
|
|
214
225
|
] });
|
|
215
|
-
}
|
|
226
|
+
}
|
|
216
227
|
export {
|
|
217
|
-
|
|
228
|
+
or as ImageUpload
|
|
218
229
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as x } from "react/jsx-runtime";
|
|
2
|
-
import { B as A } from "../../index-
|
|
2
|
+
import { B as A } from "../../index-CdcRS0lC.js";
|
|
3
3
|
import * as u from "react";
|
|
4
4
|
import { g as m, a as f, P as e } from "../../generateUtilityClasses-BCID9NF1.js";
|
|
5
5
|
import { u as C, s as g, c as y, a as b } from "../../DefaultPropsProvider-DVX_ssOt.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as B, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { Close as D, LocalOffer as I } from "@mui/icons-material";
|
|
3
3
|
import { Box as c, Chip as S, IconButton as A, Typography as h, TextField as R, InputAdornment as T, CircularProgress as W, Button as k } from "@mui/material";
|
|
4
4
|
import { useState as w, useRef as O, useEffect as P, useCallback as n } from "react";
|
|
5
|
-
import { c as r } from "../../colors-
|
|
5
|
+
import { c as r } from "../../colors-CyChpKWu.js";
|
|
6
6
|
function K({
|
|
7
7
|
value: e,
|
|
8
8
|
onChange: d,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c, jsxs as U } from "react/jsx-runtime";
|
|
2
|
-
import { c as P } from "./colors-
|
|
2
|
+
import { c as P } from "./colors-CyChpKWu.js";
|
|
3
3
|
import * as k from "react";
|
|
4
4
|
import { g as G, a as _, c as i, P as t } from "./generateUtilityClasses-BCID9NF1.js";
|
|
5
5
|
import { u as A, s as f, c as R, a as H, m as O, b as so, r as lo } from "./DefaultPropsProvider-DVX_ssOt.js";
|
package/dist/main.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { CheckboxGroup } from './components/CheckboxGroup';
|
|
|
7
7
|
export { Dropdown } from './components/Dropdown';
|
|
8
8
|
export { DropdownOptions } from './components/DropdownOptions';
|
|
9
9
|
export { FlatBanner } from './components/FlatBanner';
|
|
10
|
+
export { ImageUpload } from './components/ImageUpload';
|
|
10
11
|
export { Label } from './components/Label';
|
|
11
12
|
export { LinearProgress } from './components/LinearProgress';
|
|
12
13
|
export { MediaCardWithAction } from './components/MediaCardWithAction';
|
package/dist/main.js
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
1
|
import { AppBarPublic as e } from "./components/AppBarPublic/index.js";
|
|
2
2
|
import { Banner as p } from "./components/Banner/index.js";
|
|
3
|
-
import { B as m } from "./index-
|
|
4
|
-
import { CheckBox as
|
|
5
|
-
import { ScrollableDialog as
|
|
3
|
+
import { B as m } from "./index-CdcRS0lC.js";
|
|
4
|
+
import { CheckBox as a } from "./components/Checkbox/index.js";
|
|
5
|
+
import { ScrollableDialog as d } from "./components/Dialog/index.js";
|
|
6
6
|
import { CheckboxGroup as l } from "./components/CheckboxGroup/index.js";
|
|
7
7
|
import { Dropdown as B } from "./components/Dropdown/index.js";
|
|
8
8
|
import { DropdownOptions as s } from "./components/DropdownOptions/index.js";
|
|
9
9
|
import { FlatBanner as D } from "./components/FlatBanner/index.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
10
|
+
import { ImageUpload as g } from "./components/ImageUpload/index.js";
|
|
11
|
+
import { Label as P } from "./components/Label/index.js";
|
|
12
|
+
import { LinearProgress as A } from "./components/LinearProgress/index.js";
|
|
13
|
+
import { MediaCardWithAction as F } from "./components/MediaCardWithAction/index.js";
|
|
14
|
+
import { PhoneAndCountryDropdown as I } from "./components/PhoneAndCountryDropdown/index.js";
|
|
15
|
+
import { PromoCode as S } from "./components/PromoCode/index.js";
|
|
16
|
+
import { RadioButtonGroup as y } from "./components/RadioButtonGroup/index.js";
|
|
17
|
+
import { Stepper as O } from "./components/Stepper/index.js";
|
|
18
|
+
import { Text as U } from "./components/Text/index.js";
|
|
19
|
+
import { TextFieldInput as j } from "./components/TextFieldInput/index.js";
|
|
19
20
|
export {
|
|
20
21
|
e as AppBarPublic,
|
|
21
22
|
p as Banner,
|
|
22
23
|
m as Button,
|
|
23
|
-
|
|
24
|
+
a as CheckBox,
|
|
24
25
|
l as CheckboxGroup,
|
|
25
|
-
|
|
26
|
+
d as Dialog,
|
|
26
27
|
B as Dropdown,
|
|
27
28
|
s as DropdownOptions,
|
|
28
29
|
D as FlatBanner,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
A as
|
|
32
|
-
F as
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
O as
|
|
37
|
-
|
|
30
|
+
g as ImageUpload,
|
|
31
|
+
P as Label,
|
|
32
|
+
A as LinearProgress,
|
|
33
|
+
F as MediaCardWithAction,
|
|
34
|
+
I as PhoneAndCountryDropdown,
|
|
35
|
+
S as PromoCode,
|
|
36
|
+
y as RadioButtonGroup,
|
|
37
|
+
O as Stepper,
|
|
38
|
+
U as Text,
|
|
39
|
+
j as TextFieldInput
|
|
38
40
|
};
|
package/package.json
CHANGED
package/dist/colors-DvNGPCDl.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const c = "#1D252D", n = "#566376", s = "#E6EAED", o = "#F4F7F9", r = "#053E72", t = "#27A4E8", E = "#C8EDFE", F = "#E6F6FF", e = "#055C56", y = "#E6FEEE", a = "#8E3007", i = "#FFF9F0", g = "#800711", p = "#FFECEB", d = {
|
|
2
|
-
grey800: c,
|
|
3
|
-
grey600: n,
|
|
4
|
-
grey100: s,
|
|
5
|
-
grey50: o,
|
|
6
|
-
primary800: r,
|
|
7
|
-
primary500: t,
|
|
8
|
-
primary100: E,
|
|
9
|
-
primary50: F,
|
|
10
|
-
secondary800: e,
|
|
11
|
-
secondary50: y,
|
|
12
|
-
warning800: a,
|
|
13
|
-
warning50: i,
|
|
14
|
-
destructive800: g,
|
|
15
|
-
destructive50: p
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
d as c
|
|
19
|
-
};
|