welcome-ui 0.0.0-dev.1754498763060 → 0.0.0-dev.1756565601132
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/TailwindButton.js +193 -36
- package/dist/TailwindButtonFullCss.js +58 -0
- package/dist/TailwindButtonNoTailwind.js +55 -0
- package/dist/TailwindButtonProposal.js +57 -0
- package/dist/classNames-DrXE3gSg.js +22 -0
- package/dist/fonts/welcome-icon-font.css +309 -308
- package/dist/types/TailwindComponents/Button/index.d.ts +13 -7
- package/dist/types/TailwindComponents/Button/tokens.d.ts +56 -0
- package/dist/types/TailwindComponents/ButtonFullCss/index.d.ts +5 -0
- package/dist/types/TailwindComponents/ButtonFullCss/types.d.ts +12 -0
- package/dist/types/TailwindComponents/ButtonNoTailwind/index.d.ts +5 -0
- package/dist/types/TailwindComponents/ButtonNoTailwind/types.d.ts +12 -0
- package/dist/types/TailwindComponents/ButtonProposal/index.d.ts +5 -0
- package/dist/types/TailwindComponents/ButtonProposal/types.d.ts +12 -0
- package/dist/types/TailwindTheme/generate-theme.d.ts +1 -0
- package/dist/types/TailwindTheme/tokens.d.ts +394 -0
- package/dist/types/TailwindTheme/types.d.ts +29 -0
- package/dist/types/classNames.d.ts +15 -0
- package/dist/welcome-ui.css +1 -1
- package/package.json +2 -1
- package/dist/types/TailwindComponents/Button/theme.d.ts +0 -37
package/dist/TailwindButton.js
CHANGED
|
@@ -1,57 +1,214 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
3
|
+
import { B as m } from "./X5NMLKT6-BVi8qtcZ.js";
|
|
4
|
+
const k = "_wuiButtonBaseClass_1sgdw_1", f = "_wuiButtonDynamicClass_1sgdw_23", a = {
|
|
5
|
+
wuiButtonBaseClass: k,
|
|
6
|
+
wuiButtonDynamicClass: f
|
|
7
|
+
}, z = {
|
|
8
|
+
cursor: "pointer"
|
|
9
|
+
}, s = {
|
|
7
10
|
circle: {
|
|
8
|
-
|
|
11
|
+
aspectRatio: "1",
|
|
12
|
+
borderRadius: "100%",
|
|
13
|
+
paddingInline: "0",
|
|
14
|
+
paddingInlineHasIcon: "0"
|
|
9
15
|
},
|
|
10
|
-
|
|
16
|
+
"circle-lg": {
|
|
17
|
+
fontSize: "--font-size-button-icon-lg"
|
|
18
|
+
},
|
|
19
|
+
"circle-md": {
|
|
20
|
+
fontSize: "--font-size-button-icon-md"
|
|
21
|
+
},
|
|
22
|
+
"circle-sm": {
|
|
23
|
+
fontSize: "--font-size-button-icon-sm"
|
|
24
|
+
},
|
|
25
|
+
"circle-xs": {
|
|
26
|
+
fontSize: "--font-size-button-icon-xs"
|
|
27
|
+
},
|
|
28
|
+
default: {
|
|
11
29
|
borderRadius: "--radius-md"
|
|
30
|
+
},
|
|
31
|
+
square: {
|
|
32
|
+
aspectRatio: "1",
|
|
33
|
+
borderRadius: "--radius-md",
|
|
34
|
+
paddingInline: "0",
|
|
35
|
+
paddingInlineHasIcon: "0"
|
|
36
|
+
},
|
|
37
|
+
"square-lg": {
|
|
38
|
+
fontSize: "--font-size-button-icon-lg"
|
|
39
|
+
},
|
|
40
|
+
"square-md": {
|
|
41
|
+
fontSize: "--font-size-button-icon-md"
|
|
42
|
+
},
|
|
43
|
+
"square-sm": {
|
|
44
|
+
fontSize: "--font-size-button-icon-sm"
|
|
45
|
+
},
|
|
46
|
+
"square-xs": {
|
|
47
|
+
fontSize: "--font-size-button-icon-xs"
|
|
12
48
|
}
|
|
13
|
-
},
|
|
49
|
+
}, h = {
|
|
50
|
+
lg: {
|
|
51
|
+
fontSize: "--font-size-text-sm",
|
|
52
|
+
height: "--height-button-lg",
|
|
53
|
+
paddingInline: "--spacing-xl",
|
|
54
|
+
paddingInlineHasIcon: "--spacing-lg"
|
|
55
|
+
},
|
|
14
56
|
md: {
|
|
15
|
-
fontSize: "--text-sm",
|
|
16
|
-
|
|
17
|
-
|
|
57
|
+
fontSize: "--font-size-text-sm",
|
|
58
|
+
height: "--height-button-md",
|
|
59
|
+
paddingInline: "--spacing-xl",
|
|
60
|
+
paddingInlineHasIcon: "--spacing-md"
|
|
61
|
+
},
|
|
62
|
+
sm: {
|
|
63
|
+
fontSize: "--font-size-text-xs",
|
|
64
|
+
height: "--height-button-sm",
|
|
65
|
+
paddingInline: "--spacing-sm",
|
|
66
|
+
paddingInlineHasIcon: "--spacing-md"
|
|
67
|
+
},
|
|
68
|
+
xs: {
|
|
69
|
+
fontSize: "--font-size-text-xs",
|
|
70
|
+
height: "--height-button-xs",
|
|
71
|
+
paddingInline: "--spacing-sm",
|
|
72
|
+
paddingInlineHasIcon: "--spacing-sm"
|
|
18
73
|
}
|
|
19
|
-
},
|
|
74
|
+
}, H = {
|
|
20
75
|
disabled: {
|
|
21
|
-
|
|
22
|
-
|
|
76
|
+
backgroundColorDisabled: "--color-beige-40",
|
|
77
|
+
borderColorDisabled: "--color-beige-40",
|
|
78
|
+
colorDisabled: "--color-beige-70",
|
|
79
|
+
cursor: "not-allowed",
|
|
80
|
+
outlineColorFocus: "--color-beige-10"
|
|
23
81
|
},
|
|
24
82
|
ghost: {
|
|
25
|
-
|
|
83
|
+
backgroundColorActive: "color-mix(in oklab, var(--color-neutral-90) 40%, transparent)",
|
|
84
|
+
backgroundColorHover: "color-mix(in oklab, var(--color-neutral-90) 10%, transparent)",
|
|
85
|
+
borderColor: "transparent",
|
|
86
|
+
borderColorActive: "transparent",
|
|
87
|
+
borderColorHover: "transparent",
|
|
88
|
+
outlineColorFocus: "color-mix(in oklab, var(--color-neutral-90) 10%, transparent)"
|
|
89
|
+
},
|
|
90
|
+
"ghost-ai": {
|
|
91
|
+
backgroundColorActive: "--color-violet-30",
|
|
92
|
+
backgroundColorHover: "--color-violet-10",
|
|
93
|
+
borderColor: "transparent",
|
|
94
|
+
borderColorActive: "--color-violet-30",
|
|
95
|
+
borderColorHover: "--color-violet-10",
|
|
96
|
+
color: "--color-violet-70",
|
|
97
|
+
outlineColorFocus: "--color-violet-50"
|
|
98
|
+
},
|
|
99
|
+
"ghost-danger": {
|
|
100
|
+
backgroundColorActive: "--color-red-20",
|
|
101
|
+
backgroundColorHover: "--color-red-10",
|
|
102
|
+
borderColor: "transparent",
|
|
103
|
+
borderColorActive: "--color-red-20",
|
|
104
|
+
borderColorHover: "--color-red-10",
|
|
105
|
+
color: "--color-red-80",
|
|
106
|
+
outlineColorFocus: "--color-red-40"
|
|
26
107
|
},
|
|
27
108
|
primary: {
|
|
28
|
-
backgroundColor: "--color-
|
|
109
|
+
backgroundColor: "--color-brand-40",
|
|
110
|
+
backgroundColorActive: "--color-brand-10",
|
|
111
|
+
backgroundColorHover: "--color-brand-30",
|
|
112
|
+
borderColor: "--color-brand-40",
|
|
113
|
+
borderColorActive: "--color-brand-10",
|
|
114
|
+
borderColorHover: "--color-brand-30",
|
|
115
|
+
outlineColorFocus: "--color-brand-20"
|
|
116
|
+
},
|
|
117
|
+
"primary-ai": {
|
|
118
|
+
backgroundColor: "--color-violet-70",
|
|
119
|
+
backgroundColorActive: "--color-violet-40",
|
|
120
|
+
backgroundColorHover: "--color-violet-60",
|
|
121
|
+
borderColor: "--color-violet-70",
|
|
122
|
+
borderColorActive: "--color-violet-40",
|
|
123
|
+
borderColorHover: "--color-violet-60",
|
|
124
|
+
color: "--color-neutral-10",
|
|
125
|
+
outlineColorFocus: "--color-violet-50"
|
|
126
|
+
},
|
|
127
|
+
"primary-danger": {
|
|
128
|
+
backgroundColor: "--color-red-70",
|
|
129
|
+
backgroundColorActive: "--color-red-50",
|
|
130
|
+
backgroundColorHover: "--color-red-60",
|
|
131
|
+
borderColor: "--color-red-70",
|
|
132
|
+
borderColorActive: "--color-red-50",
|
|
133
|
+
borderColorHover: "--color-red-60",
|
|
134
|
+
color: "--color-neutral-10",
|
|
135
|
+
outlineColorFocus: "--color-red-40"
|
|
29
136
|
},
|
|
30
137
|
secondary: {
|
|
31
|
-
backgroundColor: "--color-neutral-90"
|
|
138
|
+
backgroundColor: "--color-neutral-90",
|
|
139
|
+
backgroundColorActive: "--color-neutral-50",
|
|
140
|
+
backgroundColorHover: "--color-neutral-70",
|
|
141
|
+
borderColor: "--color-neutral-90",
|
|
142
|
+
borderColorActive: "--color-neutral-50",
|
|
143
|
+
borderColorHover: "--color-neutral-70",
|
|
144
|
+
color: "--color-neutral-10",
|
|
145
|
+
outlineColorFocus: "--color-neutral-40"
|
|
32
146
|
},
|
|
33
147
|
tertiary: {
|
|
34
|
-
backgroundColor: "--color-neutral-10"
|
|
148
|
+
backgroundColor: "--color-neutral-10",
|
|
149
|
+
backgroundColorActive: "color-mix(in oklab, var(--color-neutral-90) 40%, transparent)",
|
|
150
|
+
backgroundColorHover: "color-mix(in oklab, var(--color-neutral-90) 10%, transparent)",
|
|
151
|
+
borderColor: "--color-neutral-90",
|
|
152
|
+
outlineColorFocus: "--color-neutral-40"
|
|
153
|
+
},
|
|
154
|
+
"tertiary-ai": {
|
|
155
|
+
backgroundColor: "--color-neutral-10",
|
|
156
|
+
backgroundColorActive: "--color-violet-30",
|
|
157
|
+
backgroundColorHover: "--color-violet-10",
|
|
158
|
+
borderColor: "--color-violet-70",
|
|
159
|
+
color: "--color-violet-70",
|
|
160
|
+
outlineColorFocus: "--color-violet-50"
|
|
161
|
+
},
|
|
162
|
+
"tertiary-danger": {
|
|
163
|
+
backgroundColor: "--color-neutral-10",
|
|
164
|
+
backgroundColorActive: "--color-red-20",
|
|
165
|
+
backgroundColorHover: "--color-red-10",
|
|
166
|
+
borderColor: "--color-red-80",
|
|
167
|
+
color: "--color-red-80",
|
|
168
|
+
outlineColorFocus: "--color-red-40"
|
|
35
169
|
}
|
|
36
|
-
},
|
|
37
|
-
(
|
|
38
|
-
const
|
|
39
|
-
return
|
|
170
|
+
}, r = (e) => e ? Object.entries(e).reduce(
|
|
171
|
+
(l, [t, o]) => {
|
|
172
|
+
const n = o.startsWith("--") ? `var(${o})` : o;
|
|
173
|
+
return l[`--${t}`] = n, l;
|
|
40
174
|
},
|
|
41
175
|
{}
|
|
42
|
-
),
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
)
|
|
54
|
-
|
|
176
|
+
) : {}, x = ({
|
|
177
|
+
accessibleWhenDisabled: e = !0,
|
|
178
|
+
children: l,
|
|
179
|
+
className: t = "",
|
|
180
|
+
disabled: o = !1,
|
|
181
|
+
ref: c,
|
|
182
|
+
shape: n = "default",
|
|
183
|
+
size: i = "md",
|
|
184
|
+
style: d,
|
|
185
|
+
variant: u = "primary",
|
|
186
|
+
...b
|
|
187
|
+
}) => {
|
|
188
|
+
const g = `${a.wuiButtonBaseClass} ${a.wuiButtonDynamicClass} ${t}`, C = o && "disabled" || u, v = {
|
|
189
|
+
...r(z),
|
|
190
|
+
...r(H[C]),
|
|
191
|
+
...r(h[i]),
|
|
192
|
+
...r(s[n]),
|
|
193
|
+
...r(s[`${n}-${i}`]),
|
|
194
|
+
// compouned shapes with sizes
|
|
195
|
+
...d
|
|
196
|
+
};
|
|
197
|
+
return /* @__PURE__ */ p(
|
|
198
|
+
m,
|
|
199
|
+
{
|
|
200
|
+
...b,
|
|
201
|
+
accessibleWhenDisabled: e,
|
|
202
|
+
className: g,
|
|
203
|
+
disabled: o,
|
|
204
|
+
ref: c,
|
|
205
|
+
style: v,
|
|
206
|
+
type: "button",
|
|
207
|
+
children: l
|
|
208
|
+
}
|
|
209
|
+
);
|
|
210
|
+
};
|
|
211
|
+
x.displayName = "TailwindButton";
|
|
55
212
|
export {
|
|
56
|
-
|
|
213
|
+
x as Button
|
|
57
214
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
3
|
+
import { B as v } from "./X5NMLKT6-BVi8qtcZ.js";
|
|
4
|
+
import { c as p } from "./classNames-DrXE3gSg.js";
|
|
5
|
+
const d = "_root_1fsw4_1", m = "_shape_1fsw4_59", w = {
|
|
6
|
+
root: d,
|
|
7
|
+
"pseudo-hover": "_pseudo-hover_1fsw4_54",
|
|
8
|
+
shape: m,
|
|
9
|
+
"shape-default": "_shape-default_1fsw4_62",
|
|
10
|
+
"shape-circle": "_shape-circle_1fsw4_65",
|
|
11
|
+
"shape-square": "_shape-square_1fsw4_68",
|
|
12
|
+
"size-lg": "_size-lg_1fsw4_71",
|
|
13
|
+
"size-md": "_size-md_1fsw4_71",
|
|
14
|
+
"size-sm": "_size-sm_1fsw4_71",
|
|
15
|
+
"size-xs": "_size-xs_1fsw4_71",
|
|
16
|
+
"variant-disabled": "_variant-disabled_1fsw4_114",
|
|
17
|
+
"variant-ghost": "_variant-ghost_1fsw4_121",
|
|
18
|
+
"variant-ghost-ai": "_variant-ghost-ai_1fsw4_129",
|
|
19
|
+
"variant-ghost-danger": "_variant-ghost-danger_1fsw4_138",
|
|
20
|
+
"variant-primary": "_variant-primary_1fsw4_147",
|
|
21
|
+
"variant-primary-ai": "_variant-primary-ai_1fsw4_156",
|
|
22
|
+
"variant-primary-danger": "_variant-primary-danger_1fsw4_166",
|
|
23
|
+
"variant-secondary": "_variant-secondary_1fsw4_176",
|
|
24
|
+
"variant-tertiary": "_variant-tertiary_1fsw4_186",
|
|
25
|
+
"variant-tertiary-ai": "_variant-tertiary-ai_1fsw4_193",
|
|
26
|
+
"variant-tertiary-danger": "_variant-tertiary-danger_1fsw4_201"
|
|
27
|
+
}, c = p(w), l = ({
|
|
28
|
+
accessibleWhenDisabled: _ = !0,
|
|
29
|
+
children: i,
|
|
30
|
+
className: e = "",
|
|
31
|
+
disabled: a = !1,
|
|
32
|
+
ref: n,
|
|
33
|
+
shape: r = "default",
|
|
34
|
+
size: s = "md",
|
|
35
|
+
variant: t = "primary",
|
|
36
|
+
...o
|
|
37
|
+
}) => /* @__PURE__ */ f(
|
|
38
|
+
v,
|
|
39
|
+
{
|
|
40
|
+
...o,
|
|
41
|
+
accessibleWhenDisabled: _,
|
|
42
|
+
className: c(
|
|
43
|
+
"root",
|
|
44
|
+
t && `variant-${a && "disabled" || t}`,
|
|
45
|
+
r && `shape-${r}`,
|
|
46
|
+
s && `size-${s}`,
|
|
47
|
+
e
|
|
48
|
+
),
|
|
49
|
+
disabled: a,
|
|
50
|
+
ref: n,
|
|
51
|
+
type: "button",
|
|
52
|
+
children: i
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
l.displayName = "ButtonFullCss";
|
|
56
|
+
export {
|
|
57
|
+
l as ButtonFullCss
|
|
58
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
3
|
+
import { B as p } from "./X5NMLKT6-BVi8qtcZ.js";
|
|
4
|
+
import { c as j } from "./classNames-DrXE3gSg.js";
|
|
5
|
+
const v = "_root_hjc2k_5", k = "_spin_hjc2k_1", m = "_ping_hjc2k_1", y = "_pulse_hjc2k_1", g = "_bounce_hjc2k_1", l = {
|
|
6
|
+
root: v,
|
|
7
|
+
"size-lg": "_size-lg_hjc2k_55",
|
|
8
|
+
"size-md": "_size-md_hjc2k_58",
|
|
9
|
+
"size-sm": "_size-sm_hjc2k_61",
|
|
10
|
+
"size-xs": "_size-xs_hjc2k_64",
|
|
11
|
+
"shape-circle": "_shape-circle_hjc2k_84",
|
|
12
|
+
"shape-square": "_shape-square_hjc2k_89",
|
|
13
|
+
"variant-primary": "_variant-primary_hjc2k_134",
|
|
14
|
+
"variant-ghost": "_variant-ghost_hjc2k_153",
|
|
15
|
+
"variant-ghost-ai": "_variant-ghost-ai_hjc2k_169",
|
|
16
|
+
"variant-ghost-danger": "_variant-ghost-danger_hjc2k_186",
|
|
17
|
+
"variant-primary-ai": "_variant-primary-ai_hjc2k_203",
|
|
18
|
+
"variant-primary-danger": "_variant-primary-danger_hjc2k_221",
|
|
19
|
+
"variant-secondary": "_variant-secondary_hjc2k_239",
|
|
20
|
+
"variant-tertiary": "_variant-tertiary_hjc2k_257",
|
|
21
|
+
"variant-tertiary-ai": "_variant-tertiary-ai_hjc2k_274",
|
|
22
|
+
"variant-tertiary-danger": "_variant-tertiary-danger_hjc2k_292",
|
|
23
|
+
spin: k,
|
|
24
|
+
ping: m,
|
|
25
|
+
pulse: y,
|
|
26
|
+
bounce: g
|
|
27
|
+
}, u = j(l), d = ({
|
|
28
|
+
accessibleWhenDisabled: a = !0,
|
|
29
|
+
children: r,
|
|
30
|
+
className: t = "",
|
|
31
|
+
disabled: i = !1,
|
|
32
|
+
ref: _,
|
|
33
|
+
shape: s = "default",
|
|
34
|
+
size: n = "md",
|
|
35
|
+
variant: e = "primary",
|
|
36
|
+
...c
|
|
37
|
+
}) => {
|
|
38
|
+
const o = t.split(" ");
|
|
39
|
+
return /* @__PURE__ */ h(
|
|
40
|
+
p,
|
|
41
|
+
{
|
|
42
|
+
...c,
|
|
43
|
+
accessibleWhenDisabled: a,
|
|
44
|
+
className: u("root", `variant-${e}`, `shape-${s}`, `size-${n}`, ...o),
|
|
45
|
+
disabled: i,
|
|
46
|
+
ref: _,
|
|
47
|
+
type: "button",
|
|
48
|
+
children: r
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
};
|
|
52
|
+
d.displayName = "ButtonNoTailwind";
|
|
53
|
+
export {
|
|
54
|
+
d as ButtonNoTailwind
|
|
55
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { B as d } from "./X5NMLKT6-BVi8qtcZ.js";
|
|
4
|
+
import { c as m } from "./classNames-DrXE3gSg.js";
|
|
5
|
+
const n = "_root_1urpz_1", z = {
|
|
6
|
+
root: n,
|
|
7
|
+
"pseudo-hover": "_pseudo-hover_1urpz_53",
|
|
8
|
+
"--disabled": "_--disabled_1urpz_58",
|
|
9
|
+
"--ghost": "_--ghost_1urpz_73",
|
|
10
|
+
"--ghost-ai": "_--ghost-ai_1urpz_84",
|
|
11
|
+
"--ghost-danger": "_--ghost-danger_1urpz_95",
|
|
12
|
+
"--primary": "_--primary_1urpz_106",
|
|
13
|
+
"--primary-ai": "_--primary-ai_1urpz_117",
|
|
14
|
+
"--primary-danger": "_--primary-danger_1urpz_128",
|
|
15
|
+
"--secondary": "_--secondary_1urpz_139",
|
|
16
|
+
"--tertiary": "_--tertiary_1urpz_150",
|
|
17
|
+
"--tertiary-ai": "_--tertiary-ai_1urpz_161",
|
|
18
|
+
"--tertiary-danger": "_--tertiary-danger_1urpz_172",
|
|
19
|
+
"--lg": "_--lg_1urpz_183",
|
|
20
|
+
"--square": "_--square_1urpz_189",
|
|
21
|
+
"--circle": "_--circle_1urpz_189",
|
|
22
|
+
"--md": "_--md_1urpz_193",
|
|
23
|
+
"--sm": "_--sm_1urpz_203",
|
|
24
|
+
"--xs": "_--xs_1urpz_213",
|
|
25
|
+
"--default": "_--default_1urpz_230"
|
|
26
|
+
}, c = m(z), y = ({
|
|
27
|
+
accessibleWhenDisabled: o = !0,
|
|
28
|
+
children: e,
|
|
29
|
+
className: p = "",
|
|
30
|
+
disabled: r = !1,
|
|
31
|
+
ref: s,
|
|
32
|
+
shape: _ = "default",
|
|
33
|
+
size: t = "md",
|
|
34
|
+
variant: a = "primary",
|
|
35
|
+
...u
|
|
36
|
+
}) => /* @__PURE__ */ i(
|
|
37
|
+
d,
|
|
38
|
+
{
|
|
39
|
+
...u,
|
|
40
|
+
accessibleWhenDisabled: o,
|
|
41
|
+
className: c(
|
|
42
|
+
"root",
|
|
43
|
+
a && `--${r && "disabled" || a}`,
|
|
44
|
+
_ && `--${_}`,
|
|
45
|
+
t && `--${t}`,
|
|
46
|
+
p
|
|
47
|
+
),
|
|
48
|
+
disabled: r,
|
|
49
|
+
ref: s,
|
|
50
|
+
type: "button",
|
|
51
|
+
children: e
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
y.displayName = "ButtonProposal";
|
|
55
|
+
export {
|
|
56
|
+
y as ButtonProposal
|
|
57
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
function f(r) {
|
|
3
|
+
return function(...s) {
|
|
4
|
+
const n = /* @__PURE__ */ new Set();
|
|
5
|
+
function o(...c) {
|
|
6
|
+
for (const e of c)
|
|
7
|
+
if (e) {
|
|
8
|
+
if (typeof e == "string")
|
|
9
|
+
n.add(r[e] || e);
|
|
10
|
+
else if (Array.isArray(e))
|
|
11
|
+
o(...e);
|
|
12
|
+
else if (typeof e == "object")
|
|
13
|
+
for (const t in e)
|
|
14
|
+
Object.prototype.hasOwnProperty.call(e, t) && e[t] && n.add(r[t] || t);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return o(...s), Array.from(n).join(" ");
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
f as c
|
|
22
|
+
};
|