@clasing/ui 0.0.43 → 0.0.45
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/index.d.ts +2 -0
- package/dist/index.es.js +221 -83
- package/dist/index.umd.js +9 -9
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/tailwind.config.js +54 -3
package/dist/index.es.js
CHANGED
|
@@ -130,7 +130,7 @@ function Bt() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var
|
|
133
|
+
var N = Object.assign, W = 0, U, ie, Z, D, ae, G, L;
|
|
134
134
|
function Ve() {
|
|
135
135
|
}
|
|
136
136
|
Ve.__reactDisabledLog = !0;
|
|
@@ -166,25 +166,25 @@ function Bt() {
|
|
|
166
166
|
writable: !0
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
169
|
+
log: N({}, e, {
|
|
170
170
|
value: U
|
|
171
171
|
}),
|
|
172
|
-
info:
|
|
172
|
+
info: N({}, e, {
|
|
173
173
|
value: ie
|
|
174
174
|
}),
|
|
175
|
-
warn:
|
|
175
|
+
warn: N({}, e, {
|
|
176
176
|
value: Z
|
|
177
177
|
}),
|
|
178
|
-
error:
|
|
178
|
+
error: N({}, e, {
|
|
179
179
|
value: D
|
|
180
180
|
}),
|
|
181
|
-
group:
|
|
181
|
+
group: N({}, e, {
|
|
182
182
|
value: ae
|
|
183
183
|
}),
|
|
184
|
-
groupCollapsed:
|
|
184
|
+
groupCollapsed: N({}, e, {
|
|
185
185
|
value: G
|
|
186
186
|
}),
|
|
187
|
-
groupEnd:
|
|
187
|
+
groupEnd: N({}, e, {
|
|
188
188
|
value: L
|
|
189
189
|
})
|
|
190
190
|
});
|
|
@@ -268,9 +268,9 @@ function Bt() {
|
|
|
268
268
|
if (_ !== 1 || T !== 1)
|
|
269
269
|
do
|
|
270
270
|
if (_--, T--, T < 0 || m[_] !== A[T]) {
|
|
271
|
-
var
|
|
271
|
+
var M = `
|
|
272
272
|
` + m[_].replace(" at new ", " at ");
|
|
273
|
-
return e.displayName &&
|
|
273
|
+
return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && xe.set(e, M), M;
|
|
274
274
|
}
|
|
275
275
|
while (_ >= 1 && T >= 0);
|
|
276
276
|
break;
|
|
@@ -565,7 +565,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
565
565
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function Nt(e) {
|
|
569
569
|
{
|
|
570
570
|
for (var i = Object.keys(e.props), s = 0; s < i.length; s++) {
|
|
571
571
|
var b = i[s];
|
|
@@ -593,17 +593,17 @@ Check the top-level render call using <` + s + ">.");
|
|
|
593
593
|
if (T == null)
|
|
594
594
|
return T;
|
|
595
595
|
if (v) {
|
|
596
|
-
var
|
|
597
|
-
if (
|
|
596
|
+
var M = i.children;
|
|
597
|
+
if (M !== void 0)
|
|
598
598
|
if (b)
|
|
599
|
-
if (Ce(
|
|
600
|
-
for (var ee = 0; ee <
|
|
601
|
-
Ke(
|
|
602
|
-
Object.freeze && Object.freeze(
|
|
599
|
+
if (Ce(M)) {
|
|
600
|
+
for (var ee = 0; ee < M.length; ee++)
|
|
601
|
+
Ke(M[ee], e);
|
|
602
|
+
Object.freeze && Object.freeze(M);
|
|
603
603
|
} else
|
|
604
604
|
k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
605
605
|
else
|
|
606
|
-
Ke(
|
|
606
|
+
Ke(M, e);
|
|
607
607
|
}
|
|
608
608
|
if (se.call(i, "key")) {
|
|
609
609
|
var q = I(e), z = Object.keys(i).filter(function(Dt) {
|
|
@@ -619,16 +619,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
619
619
|
<%s key={someKey} {...props} />`, Oe, q, Wt, q), Xe[q + Oe] = !0;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
return e === o ?
|
|
622
|
+
return e === o ? Nt(T) : It(T), T;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Mt(e, i, s) {
|
|
626
626
|
return He(e, i, s, !0);
|
|
627
627
|
}
|
|
628
628
|
function Vt(e, i, s) {
|
|
629
629
|
return He(e, i, s, !1);
|
|
630
630
|
}
|
|
631
|
-
var Ft = Vt, $t =
|
|
631
|
+
var Ft = Vt, $t = Mt;
|
|
632
632
|
ue.Fragment = o, ue.jsx = Ft, ue.jsxs = $t;
|
|
633
633
|
}()), ue;
|
|
634
634
|
}
|
|
@@ -958,7 +958,7 @@ function yr(t) {
|
|
|
958
958
|
return ur.test(t);
|
|
959
959
|
}
|
|
960
960
|
function wr() {
|
|
961
|
-
const t = E("colors"), r = E("spacing"), n = E("blur"), o = E("brightness"), c = E("borderColor"), a = E("borderRadius"), l = E("borderSpacing"), u = E("borderWidth"), f = E("contrast"), d = E("grayscale"), g = E("hueRotate"), h = E("invert"), S = E("gap"), P = E("gradientColorStops"), V = E("gradientColorStopPositions"), R = E("inset"), j = E("margin"), O = E("opacity"), k = E("padding"), fe = E("saturate"), re = E("scale"), ge = E("sepia"), pe = E("skew"), me = E("space"), ve = E("translate"), H = () => ["auto", "contain", "none"], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", p, r], y = () => [p, r], I = () => ["", $, B],
|
|
961
|
+
const t = E("colors"), r = E("spacing"), n = E("blur"), o = E("brightness"), c = E("borderColor"), a = E("borderRadius"), l = E("borderSpacing"), u = E("borderWidth"), f = E("contrast"), d = E("grayscale"), g = E("hueRotate"), h = E("invert"), S = E("gap"), P = E("gradientColorStops"), V = E("gradientColorStopPositions"), R = E("inset"), j = E("margin"), O = E("opacity"), k = E("padding"), fe = E("saturate"), re = E("scale"), ge = E("sepia"), pe = E("skew"), me = E("space"), ve = E("translate"), H = () => ["auto", "contain", "none"], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", p, r], y = () => [p, r], I = () => ["", $, B], N = () => ["auto", J, p], W = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], D = () => ["", "0", p], ae = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [J, ke], L = () => [J, p];
|
|
962
962
|
return {
|
|
963
963
|
cacheSize: 500,
|
|
964
964
|
separator: ":",
|
|
@@ -1276,14 +1276,14 @@ function wr() {
|
|
|
1276
1276
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1277
1277
|
*/
|
|
1278
1278
|
"col-start": [{
|
|
1279
|
-
"col-start":
|
|
1279
|
+
"col-start": N()
|
|
1280
1280
|
}],
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Grid Column End
|
|
1283
1283
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1284
1284
|
*/
|
|
1285
1285
|
"col-end": [{
|
|
1286
|
-
"col-end":
|
|
1286
|
+
"col-end": N()
|
|
1287
1287
|
}],
|
|
1288
1288
|
/**
|
|
1289
1289
|
* Grid Template Rows
|
|
@@ -1306,14 +1306,14 @@ function wr() {
|
|
|
1306
1306
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1307
1307
|
*/
|
|
1308
1308
|
"row-start": [{
|
|
1309
|
-
"row-start":
|
|
1309
|
+
"row-start": N()
|
|
1310
1310
|
}],
|
|
1311
1311
|
/**
|
|
1312
1312
|
* Grid Row End
|
|
1313
1313
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1314
1314
|
*/
|
|
1315
1315
|
"row-end": [{
|
|
1316
|
-
"row-end":
|
|
1316
|
+
"row-end": N()
|
|
1317
1317
|
}],
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Grid Auto Flow
|
|
@@ -3133,63 +3133,77 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3133
3133
|
iconName: "IconLoader2",
|
|
3134
3134
|
className: `${t} animate-spin`
|
|
3135
3135
|
}
|
|
3136
|
-
),
|
|
3136
|
+
), Ne = "flex items-center justify-center gap-2 rounded-sm !border-xs transition-colors", Cr = F(Ne, {
|
|
3137
3137
|
variants: {
|
|
3138
3138
|
intent: {
|
|
3139
3139
|
primary: [
|
|
3140
3140
|
"bg-button-primary-background-enabled",
|
|
3141
3141
|
"text-button-primary-content-enabled",
|
|
3142
|
+
"border-button-primary-border-enabled",
|
|
3142
3143
|
"lg:hover:bg-button-primary-background-hover",
|
|
3143
3144
|
"lg:hover:text-button-primary-content-hover",
|
|
3145
|
+
"lg:hover:border-button-primary-border-hover",
|
|
3144
3146
|
"lg:active:bg-button-primary-background-pressed",
|
|
3145
|
-
"lg:active:text-button-primary-content-pressed"
|
|
3147
|
+
"lg:active:text-button-primary-content-pressed",
|
|
3148
|
+
"lg:active:border-button-primary-border-pressed"
|
|
3146
3149
|
],
|
|
3147
3150
|
secondary: [
|
|
3148
3151
|
"bg-button-secondary-background-enabled",
|
|
3149
3152
|
"text-button-secondary-content-enabled",
|
|
3153
|
+
"border-button-secondary-border-enabled",
|
|
3150
3154
|
"lg:hover:bg-button-secondary-background-hover",
|
|
3151
3155
|
"lg:hover:text-button-secondary-content-hover",
|
|
3156
|
+
"lg:hover:border-button-secondary-border-hover",
|
|
3152
3157
|
"lg:active:bg-button-secondary-background-pressed",
|
|
3153
|
-
"lg:active:text-button-secondary-content-pressed"
|
|
3158
|
+
"lg:active:text-button-secondary-content-pressed",
|
|
3159
|
+
"lg:active:border-button-secondary-border-pressed"
|
|
3154
3160
|
],
|
|
3155
3161
|
tertiary: [
|
|
3156
3162
|
"bg-button-tertiary-background-enabled",
|
|
3157
3163
|
"text-button-tertiary-content-enabled",
|
|
3164
|
+
"border-button-tertiary-border-enabled",
|
|
3158
3165
|
"lg:hover:bg-button-tertiary-background-hover",
|
|
3159
3166
|
"lg:hover:text-button-tertiary-content-hover",
|
|
3167
|
+
"lg:hover:border-button-tertiary-border-hover",
|
|
3160
3168
|
"lg:active:bg-button-tertiary-background-pressed",
|
|
3161
|
-
"lg:active:text-button-tertiary-content-pressed"
|
|
3169
|
+
"lg:active:text-button-tertiary-content-pressed",
|
|
3170
|
+
"lg:active:border-button-tertiary-border-pressed"
|
|
3162
3171
|
],
|
|
3163
3172
|
ghost: [
|
|
3164
3173
|
"bg-button-ghost-background-enabled",
|
|
3165
3174
|
"text-button-ghost-content-enabled",
|
|
3175
|
+
"border-button-ghost-border-enabled",
|
|
3166
3176
|
"lg:hover:bg-button-ghost-background-hover",
|
|
3167
3177
|
"lg:hover:text-button-ghost-content-hover",
|
|
3178
|
+
"lg:hover:border-button-ghost-border-hover",
|
|
3168
3179
|
"lg:active:bg-button-ghost-background-pressed",
|
|
3169
|
-
"lg:active:text-button-ghost-content-pressed"
|
|
3180
|
+
"lg:active:text-button-ghost-content-pressed",
|
|
3181
|
+
"lg:active:border-button-ghost-border-pressed"
|
|
3170
3182
|
],
|
|
3171
3183
|
outline: [
|
|
3172
|
-
"outline !outline-xs",
|
|
3173
|
-
"outline-button-outline-outline-enabled",
|
|
3174
3184
|
"bg-button-outline-background-enabled",
|
|
3175
3185
|
"text-button-outline-content-enabled",
|
|
3186
|
+
"border-button-outline-border-enabled",
|
|
3176
3187
|
"lg:hover:bg-button-outline-background-hover",
|
|
3177
3188
|
"lg:hover:text-button-outline-content-hover",
|
|
3178
|
-
"lg:hover:
|
|
3189
|
+
"lg:hover:border-button-outline-border-hover",
|
|
3179
3190
|
"lg:active:bg-button-outline-background-pressed",
|
|
3180
3191
|
"lg:active:text-button-outline-content-pressed",
|
|
3181
|
-
"lg:active:
|
|
3192
|
+
"lg:active:border-button-outline-border-pressed"
|
|
3182
3193
|
],
|
|
3183
3194
|
destructive: [
|
|
3184
3195
|
"bg-button-destructive-background-enabled",
|
|
3185
3196
|
"text-button-destructive-content-enabled",
|
|
3197
|
+
"border-button-destructive-border-enabled",
|
|
3186
3198
|
"lg:hover:bg-button-destructive-background-hover",
|
|
3187
3199
|
"lg:hover:text-button-destructive-content-hover",
|
|
3200
|
+
"lg:hover:border-button-destructive-border-hover",
|
|
3188
3201
|
"lg:active:bg-button-destructive-background-pressed",
|
|
3189
|
-
"lg:active:text-button-destructive-content-pressed"
|
|
3202
|
+
"lg:active:text-button-destructive-content-pressed",
|
|
3203
|
+
"lg:active:border-button-destructive-border-pressed"
|
|
3190
3204
|
],
|
|
3191
3205
|
link: [
|
|
3192
|
-
"border-button-link-border-enabled
|
|
3206
|
+
"border-button-link-border-enabled",
|
|
3193
3207
|
"text-button-link-content-enabled",
|
|
3194
3208
|
"lg:hover:border-button-link-border-hover",
|
|
3195
3209
|
"lg:hover:text-button-link-content-hover",
|
|
@@ -3201,64 +3215,96 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3201
3215
|
small: "h-10 text-xs",
|
|
3202
3216
|
medium: "h-11 text-sm",
|
|
3203
3217
|
large: "h-12 text-base"
|
|
3218
|
+
},
|
|
3219
|
+
weight: {
|
|
3220
|
+
light: "font-light",
|
|
3221
|
+
regular: "font-regular",
|
|
3222
|
+
semibold: "font-semibold",
|
|
3223
|
+
bold: "font-bold"
|
|
3204
3224
|
}
|
|
3205
3225
|
},
|
|
3206
3226
|
compoundVariants: [
|
|
3207
3227
|
{
|
|
3208
3228
|
intent: "link",
|
|
3209
|
-
className: "w-fit rounded-none px-1"
|
|
3229
|
+
className: "w-fit rounded-none !border-[0px] !border-b-xs px-1"
|
|
3210
3230
|
},
|
|
3211
3231
|
{
|
|
3212
|
-
intent: [
|
|
3232
|
+
intent: [
|
|
3233
|
+
"primary",
|
|
3234
|
+
"secondary",
|
|
3235
|
+
"tertiary",
|
|
3236
|
+
"ghost",
|
|
3237
|
+
"outline",
|
|
3238
|
+
"destructive"
|
|
3239
|
+
],
|
|
3213
3240
|
size: "small",
|
|
3214
3241
|
className: "min-w-36 p-button-sm"
|
|
3215
3242
|
},
|
|
3216
3243
|
{
|
|
3217
|
-
intent: [
|
|
3244
|
+
intent: [
|
|
3245
|
+
"primary",
|
|
3246
|
+
"secondary",
|
|
3247
|
+
"tertiary",
|
|
3248
|
+
"ghost",
|
|
3249
|
+
"outline",
|
|
3250
|
+
"destructive"
|
|
3251
|
+
],
|
|
3218
3252
|
size: "medium",
|
|
3219
3253
|
className: "min-w-44 p-button-md"
|
|
3220
3254
|
},
|
|
3221
3255
|
{
|
|
3222
|
-
intent: [
|
|
3256
|
+
intent: [
|
|
3257
|
+
"primary",
|
|
3258
|
+
"secondary",
|
|
3259
|
+
"tertiary",
|
|
3260
|
+
"ghost",
|
|
3261
|
+
"outline",
|
|
3262
|
+
"destructive"
|
|
3263
|
+
],
|
|
3223
3264
|
size: "large",
|
|
3224
3265
|
className: "min-w-52 p-button-lg"
|
|
3225
3266
|
}
|
|
3226
3267
|
],
|
|
3227
3268
|
defaultVariants: {
|
|
3228
3269
|
intent: "primary",
|
|
3229
|
-
size: "medium"
|
|
3270
|
+
size: "medium",
|
|
3271
|
+
weight: "regular"
|
|
3230
3272
|
}
|
|
3231
|
-
}), _r = F(`${
|
|
3273
|
+
}), _r = F(`${Ne} cursor-default`, {
|
|
3232
3274
|
variants: {
|
|
3233
3275
|
intent: {
|
|
3234
3276
|
primary: [
|
|
3277
|
+
"border-button-primary-border-pressed",
|
|
3235
3278
|
"bg-button-primary-background-pressed",
|
|
3236
3279
|
"text-button-primary-content-pressed"
|
|
3237
3280
|
],
|
|
3238
3281
|
secondary: [
|
|
3282
|
+
"border-button-secondary-border-enabled",
|
|
3239
3283
|
"bg-button-secondary-background-enabled",
|
|
3240
3284
|
"text-button-secondary-content-enabled"
|
|
3241
3285
|
],
|
|
3242
3286
|
tertiary: [
|
|
3287
|
+
"border-button-tertiary-border-enabled",
|
|
3243
3288
|
"bg-button-tertiary-background-enabled",
|
|
3244
3289
|
"text-button-tertiary-content-enabled"
|
|
3245
3290
|
],
|
|
3246
3291
|
ghost: [
|
|
3292
|
+
"border-button-ghost-border-pressed",
|
|
3247
3293
|
"bg-button-ghost-background-pressed",
|
|
3248
3294
|
"text-button-ghost-content-pressed"
|
|
3249
3295
|
],
|
|
3250
3296
|
outline: [
|
|
3251
|
-
"outline-
|
|
3252
|
-
"outline-button-outline-outline-pressed",
|
|
3297
|
+
"border-button-outline-border-pressed",
|
|
3253
3298
|
"bg-button-outline-background-pressed",
|
|
3254
3299
|
"text-button-outline-content-pressed"
|
|
3255
3300
|
],
|
|
3256
3301
|
destructive: [
|
|
3302
|
+
"border-button-destructive-border-pressed",
|
|
3257
3303
|
"bg-button-destructive-background-pressed",
|
|
3258
3304
|
"text-button-destructive-content-pressed"
|
|
3259
3305
|
],
|
|
3260
3306
|
link: [
|
|
3261
|
-
"border-button-link-border-pressed
|
|
3307
|
+
"border-b border-button-link-border-pressed",
|
|
3262
3308
|
"text-button-link-content-pressed"
|
|
3263
3309
|
]
|
|
3264
3310
|
},
|
|
@@ -3266,82 +3312,157 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3266
3312
|
small: "h-10text-xs",
|
|
3267
3313
|
medium: "h-11 text-sm",
|
|
3268
3314
|
large: "h-12 text-base"
|
|
3315
|
+
},
|
|
3316
|
+
weight: {
|
|
3317
|
+
light: "font-light",
|
|
3318
|
+
regular: "font-regular",
|
|
3319
|
+
semibold: "font-semibold",
|
|
3320
|
+
bold: "font-bold"
|
|
3269
3321
|
}
|
|
3270
3322
|
},
|
|
3271
3323
|
compoundVariants: [
|
|
3272
3324
|
{
|
|
3273
3325
|
intent: "link",
|
|
3274
|
-
className: "w-24 rounded-none"
|
|
3326
|
+
className: "w-24 rounded-none !border-[0px] !border-b-xs px-1"
|
|
3275
3327
|
},
|
|
3276
3328
|
{
|
|
3277
|
-
intent: [
|
|
3329
|
+
intent: [
|
|
3330
|
+
"primary",
|
|
3331
|
+
"secondary",
|
|
3332
|
+
"tertiary",
|
|
3333
|
+
"ghost",
|
|
3334
|
+
"outline",
|
|
3335
|
+
"destructive"
|
|
3336
|
+
],
|
|
3278
3337
|
size: "small",
|
|
3279
3338
|
className: "min-w-36 p-button-sm"
|
|
3280
3339
|
},
|
|
3281
3340
|
{
|
|
3282
|
-
intent: [
|
|
3341
|
+
intent: [
|
|
3342
|
+
"primary",
|
|
3343
|
+
"secondary",
|
|
3344
|
+
"tertiary",
|
|
3345
|
+
"ghost",
|
|
3346
|
+
"outline",
|
|
3347
|
+
"destructive"
|
|
3348
|
+
],
|
|
3283
3349
|
size: "medium",
|
|
3284
3350
|
className: "min-w-44 p-button-md"
|
|
3285
3351
|
},
|
|
3286
3352
|
{
|
|
3287
|
-
intent: [
|
|
3353
|
+
intent: [
|
|
3354
|
+
"primary",
|
|
3355
|
+
"secondary",
|
|
3356
|
+
"tertiary",
|
|
3357
|
+
"ghost",
|
|
3358
|
+
"outline",
|
|
3359
|
+
"destructive"
|
|
3360
|
+
],
|
|
3288
3361
|
size: "large",
|
|
3289
3362
|
className: "min-w-52 p-button-lg"
|
|
3290
3363
|
}
|
|
3291
3364
|
],
|
|
3292
3365
|
defaultVariants: {
|
|
3293
3366
|
intent: "primary",
|
|
3294
|
-
size: "medium"
|
|
3367
|
+
size: "medium",
|
|
3368
|
+
weight: "regular"
|
|
3295
3369
|
}
|
|
3296
|
-
}), jr = F(
|
|
3370
|
+
}), jr = F(Ne, {
|
|
3297
3371
|
variants: {
|
|
3298
3372
|
intent: {
|
|
3299
3373
|
primary: [
|
|
3374
|
+
"border-button-primary-border-disabled",
|
|
3300
3375
|
"bg-button-primary-background-disabled",
|
|
3301
3376
|
"text-button-primary-content-disabled"
|
|
3302
3377
|
],
|
|
3303
3378
|
secondary: [
|
|
3379
|
+
"border-button-secondary-border-disabled",
|
|
3304
3380
|
"bg-button-secondary-background-disabled",
|
|
3305
3381
|
"text-button-secondary-content-disabled"
|
|
3306
3382
|
],
|
|
3307
3383
|
tertiary: [
|
|
3384
|
+
"border-button-tertiary-border-disabled",
|
|
3308
3385
|
"bg-button-tertiary-background-disabled",
|
|
3309
3386
|
"text-button-tertiary-content-disabled"
|
|
3310
3387
|
],
|
|
3311
3388
|
ghost: [
|
|
3389
|
+
"border-button-ghost-border-disabled",
|
|
3312
3390
|
"bg-button-ghost-background-disabled",
|
|
3313
3391
|
"text-button-ghost-content-disabled"
|
|
3314
3392
|
],
|
|
3315
3393
|
outline: [
|
|
3316
|
-
"outline
|
|
3317
|
-
"outline-button-outline-outline-disabled",
|
|
3394
|
+
"border-button-outline-border-disabled",
|
|
3318
3395
|
"bg-button-outline-background-disabled",
|
|
3319
3396
|
"text-button-outline-content-disabled"
|
|
3320
3397
|
],
|
|
3321
3398
|
destructive: [
|
|
3399
|
+
"border-button-destructive-border-disabled",
|
|
3322
3400
|
"bg-button-destructive-background-disabled",
|
|
3323
3401
|
"text-button-destructive-content-disabled"
|
|
3324
3402
|
],
|
|
3325
3403
|
link: [
|
|
3326
|
-
"border-button-link-border-disabled
|
|
3404
|
+
"border-b border-button-link-border-disabled",
|
|
3327
3405
|
"text-button-link-content-disabled"
|
|
3328
3406
|
]
|
|
3329
3407
|
},
|
|
3330
3408
|
size: {
|
|
3331
|
-
small: "h-10
|
|
3332
|
-
medium: "h-11
|
|
3333
|
-
large: "h-12
|
|
3409
|
+
small: "h-10 text-xs",
|
|
3410
|
+
medium: "h-11 text-sm",
|
|
3411
|
+
large: "h-12 text-base"
|
|
3412
|
+
},
|
|
3413
|
+
weight: {
|
|
3414
|
+
light: "font-light",
|
|
3415
|
+
regular: "font-regular",
|
|
3416
|
+
semibold: "font-semibold",
|
|
3417
|
+
bold: "font-bold"
|
|
3334
3418
|
}
|
|
3335
3419
|
},
|
|
3336
3420
|
compoundVariants: [
|
|
3337
3421
|
{
|
|
3338
3422
|
intent: "link",
|
|
3339
|
-
className: "w-
|
|
3423
|
+
className: "w-24 rounded-none !border-[0px] !border-b-xs px-1"
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
intent: [
|
|
3427
|
+
"primary",
|
|
3428
|
+
"secondary",
|
|
3429
|
+
"tertiary",
|
|
3430
|
+
"ghost",
|
|
3431
|
+
"outline",
|
|
3432
|
+
"destructive"
|
|
3433
|
+
],
|
|
3434
|
+
size: "small",
|
|
3435
|
+
className: "min-w-36 p-button-sm"
|
|
3436
|
+
},
|
|
3437
|
+
{
|
|
3438
|
+
intent: [
|
|
3439
|
+
"primary",
|
|
3440
|
+
"secondary",
|
|
3441
|
+
"tertiary",
|
|
3442
|
+
"ghost",
|
|
3443
|
+
"outline",
|
|
3444
|
+
"destructive"
|
|
3445
|
+
],
|
|
3446
|
+
size: "medium",
|
|
3447
|
+
className: "min-w-44 p-button-md"
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
intent: [
|
|
3451
|
+
"primary",
|
|
3452
|
+
"secondary",
|
|
3453
|
+
"tertiary",
|
|
3454
|
+
"ghost",
|
|
3455
|
+
"outline",
|
|
3456
|
+
"destructive"
|
|
3457
|
+
],
|
|
3458
|
+
size: "large",
|
|
3459
|
+
className: "min-w-52 p-button-lg"
|
|
3340
3460
|
}
|
|
3341
3461
|
],
|
|
3342
3462
|
defaultVariants: {
|
|
3343
3463
|
intent: "primary",
|
|
3344
|
-
size: "medium"
|
|
3464
|
+
size: "medium",
|
|
3465
|
+
weight: "regular"
|
|
3345
3466
|
}
|
|
3346
3467
|
}), $r = ({
|
|
3347
3468
|
className: t,
|
|
@@ -3389,36 +3510,41 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3389
3510
|
] })
|
|
3390
3511
|
}
|
|
3391
3512
|
);
|
|
3392
|
-
},
|
|
3513
|
+
}, Me = "flex items-center justify-center transition-colors relative border !border-xs", Tr = F(Me, {
|
|
3393
3514
|
variants: {
|
|
3394
3515
|
intent: {
|
|
3395
3516
|
fill: [
|
|
3396
3517
|
"bg-button-icon-fill-bg-enabled",
|
|
3397
3518
|
"text-button-icon-fill-content-enabled",
|
|
3519
|
+
"border-button-icon-fill-border-enabled",
|
|
3398
3520
|
"lg:hover:bg-button-icon-fill-bg-hover",
|
|
3399
3521
|
"lg:hover:text-button-icon-fill-content-hover",
|
|
3400
|
-
"lg:
|
|
3401
|
-
"lg:active:
|
|
3522
|
+
"lg:hover:border-button-icon-fill-border-hover",
|
|
3523
|
+
"lg:active:bg-button-icon-fill-border-disabled",
|
|
3524
|
+
"lg:active:text-button-icon-fill-content-disabled",
|
|
3525
|
+
"lg:active:border-button-icon-fill-border-disabled"
|
|
3402
3526
|
],
|
|
3403
3527
|
outline: [
|
|
3404
|
-
"outline !outline-xs",
|
|
3405
|
-
"outline-button-icon-outline-outline-enabled",
|
|
3406
3528
|
"bg-button-icon-outline-bg-enabled",
|
|
3407
3529
|
"text-button-icon-outline-content-enabled",
|
|
3530
|
+
"border-button-icon-outline-border-enabled",
|
|
3408
3531
|
"lg:hover:bg-button-icon-outline-bg-hover",
|
|
3409
3532
|
"lg:hover:text-button-icon-outline-content-hover",
|
|
3410
|
-
"lg:hover:
|
|
3533
|
+
"lg:hover:border-button-icon-outline-border-hover",
|
|
3411
3534
|
"lg:active:bg-button-icon-outline-bg-pressed",
|
|
3412
3535
|
"lg:active:text-button-icon-outline-content-pressed",
|
|
3413
|
-
"lg:active:
|
|
3536
|
+
"lg:active:border-button-icon-outline-border-pressed"
|
|
3414
3537
|
],
|
|
3415
3538
|
ghost: [
|
|
3416
3539
|
"bg-button-icon-ghost-bg-enabled",
|
|
3417
3540
|
"text-button-icon-ghost-content-enabled",
|
|
3541
|
+
"border-button-icon-ghost-border-enabled",
|
|
3418
3542
|
"lg:hover:bg-button-icon-ghost-bg-hover",
|
|
3419
3543
|
"lg:hover:text-button-icon-ghost-content-hover",
|
|
3544
|
+
"lg:hover:border-button-icon-ghost-border-hover",
|
|
3420
3545
|
"lg:active:bg-button-icon-ghost-bg-pressed",
|
|
3421
|
-
"lg:active:text-button-icon-ghost-content-pressed"
|
|
3546
|
+
"lg:active:text-button-icon-ghost-content-pressed",
|
|
3547
|
+
"lg:active:border-button-icon-ghost-border-pressed"
|
|
3422
3548
|
]
|
|
3423
3549
|
},
|
|
3424
3550
|
size: {
|
|
@@ -3436,22 +3562,23 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3436
3562
|
size: "medium",
|
|
3437
3563
|
rounded: "sm"
|
|
3438
3564
|
}
|
|
3439
|
-
}), Pr = F(
|
|
3565
|
+
}), Pr = F(Me, {
|
|
3440
3566
|
variants: {
|
|
3441
3567
|
intent: {
|
|
3442
3568
|
fill: [
|
|
3569
|
+
"border-button-icon-fill-border-pressed",
|
|
3443
3570
|
"bg-button-icon-fill-bg-pressed",
|
|
3444
3571
|
"text-button-icon-fill-content-pressed"
|
|
3445
3572
|
],
|
|
3446
3573
|
outline: [
|
|
3447
|
-
"outline
|
|
3448
|
-
"
|
|
3449
|
-
"
|
|
3450
|
-
"text-button-icon-outline-content-pressed"
|
|
3574
|
+
"border-button-icon-outline-border-enabled",
|
|
3575
|
+
"bg-button-icon-outline-bg-enabled",
|
|
3576
|
+
"text-button-icon-outline-content-enabled"
|
|
3451
3577
|
],
|
|
3452
3578
|
ghost: [
|
|
3453
|
-
"
|
|
3454
|
-
"
|
|
3579
|
+
"border-button-icon-ghost-border-enabled",
|
|
3580
|
+
"bg-button-icon-ghost-bg-enabled",
|
|
3581
|
+
"text-button-icon-ghost-content-enabled"
|
|
3455
3582
|
]
|
|
3456
3583
|
},
|
|
3457
3584
|
size: {
|
|
@@ -3469,20 +3596,21 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3469
3596
|
size: "medium",
|
|
3470
3597
|
rounded: "sm"
|
|
3471
3598
|
}
|
|
3472
|
-
}), Or = F(
|
|
3599
|
+
}), Or = F(Me, {
|
|
3473
3600
|
variants: {
|
|
3474
3601
|
intent: {
|
|
3475
3602
|
fill: [
|
|
3603
|
+
"border-button-icon-fill-border-disabled",
|
|
3476
3604
|
"bg-button-icon-fill-bg-disabled",
|
|
3477
3605
|
"text-button-icon-fill-content-disabled"
|
|
3478
3606
|
],
|
|
3479
3607
|
outline: [
|
|
3480
|
-
"outline
|
|
3481
|
-
"outline-button-icon-outline-outline-disabled",
|
|
3608
|
+
"border-button-icon-outline-border-disabled",
|
|
3482
3609
|
"bg-button-icon-outline-bg-disabled",
|
|
3483
3610
|
"text-button-icon-outline-content-disabled"
|
|
3484
3611
|
],
|
|
3485
3612
|
ghost: [
|
|
3613
|
+
"border-button-icon-ghost-border-disabled",
|
|
3486
3614
|
"bg-button-icon-ghost-bg-disabled",
|
|
3487
3615
|
"text-button-icon-ghost-content-disabled"
|
|
3488
3616
|
]
|
|
@@ -3546,15 +3674,25 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3546
3674
|
]
|
|
3547
3675
|
}
|
|
3548
3676
|
);
|
|
3549
|
-
}, Ar = "flex flex-col gap-3 p-4 rounded-lg
|
|
3677
|
+
}, Ar = "flex flex-col gap-3 p-4 rounded-lg", zr = F(Ar, {
|
|
3550
3678
|
variants: {
|
|
3551
3679
|
intent: {
|
|
3552
3680
|
default: "text-content-primary bg-bg-white",
|
|
3553
|
-
outline: "bg-bg-white text-content-text-default
|
|
3681
|
+
outline: "!border-xs border-solid border-border-utility-discovery bg-bg-white text-content-text-default"
|
|
3682
|
+
},
|
|
3683
|
+
shadow: {
|
|
3684
|
+
none: "",
|
|
3685
|
+
xs: "shadow-xs",
|
|
3686
|
+
sm: "shadow-sm",
|
|
3687
|
+
md: "shadow-md",
|
|
3688
|
+
lg: "shadow-lg",
|
|
3689
|
+
xl: "shadow-xl",
|
|
3690
|
+
"2xl": "shadow-2xl"
|
|
3554
3691
|
}
|
|
3555
3692
|
},
|
|
3556
3693
|
defaultVariants: {
|
|
3557
|
-
intent: "default"
|
|
3694
|
+
intent: "default",
|
|
3695
|
+
shadow: "none"
|
|
3558
3696
|
}
|
|
3559
3697
|
}), Dr = ({ className: t, intent: r, children: n, ...o }) => /* @__PURE__ */ C.jsx("div", { className: K(zr({ intent: r, className: t })), ...o, children: n }), Ir = "transition-all ease-out duration-500 relative overflow-hidden w-full", it = F(Ir, {
|
|
3560
3698
|
variants: {
|
|
@@ -3625,7 +3763,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3625
3763
|
)
|
|
3626
3764
|
}
|
|
3627
3765
|
);
|
|
3628
|
-
},
|
|
3766
|
+
}, Nr = "transition-colors", Mr = F(Nr, {
|
|
3629
3767
|
variants: {
|
|
3630
3768
|
intent: {
|
|
3631
3769
|
"display-sm": "text-7xl leading-6xl tracking-tight",
|
|
@@ -3671,7 +3809,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3671
3809
|
return /* @__PURE__ */ C.jsx(
|
|
3672
3810
|
a,
|
|
3673
3811
|
{
|
|
3674
|
-
className: K(
|
|
3812
|
+
className: K(Mr({ intent: r, weight: o, className: n })),
|
|
3675
3813
|
...c
|
|
3676
3814
|
}
|
|
3677
3815
|
);
|