@clasing/ui 0.0.43 → 0.0.44
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 +210 -83
- package/dist/index.umd.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/tailwind.config.js +54 -3
package/dist/index.d.ts
CHANGED
|
@@ -26,12 +26,14 @@ declare const buttonIconStyles: (props?: ({
|
|
|
26
26
|
declare const buttonStyles: (props?: ({
|
|
27
27
|
intent?: "outline" | "link" | "primary" | "secondary" | "tertiary" | "ghost" | "destructive" | null | undefined;
|
|
28
28
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
29
|
+
weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
|
|
29
30
|
} & ClassProp) | undefined) => string;
|
|
30
31
|
|
|
31
32
|
export declare const Card: ({ className, intent, children, ...props }: ICardProps) => JSX_2.Element;
|
|
32
33
|
|
|
33
34
|
declare const cardStyles: (props?: ({
|
|
34
35
|
intent?: "outline" | "default" | null | undefined;
|
|
36
|
+
shadow?: "none" | "sm" | "xs" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
35
37
|
} & ClassProp) | undefined) => string;
|
|
36
38
|
|
|
37
39
|
declare interface IBadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeStyles> {
|
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 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,34 +3215,62 @@ 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: "border-b-xs w-fit rounded-none 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
|
-
className: "min-w-36 p-button-sm"
|
|
3241
|
+
className: "border-xs 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
|
-
className: "min-w-44 p-button-md"
|
|
3253
|
+
className: "border-xs 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
|
-
className: "min-w-52 p-button-lg"
|
|
3265
|
+
className: "border-xs 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: [
|
|
@@ -3258,7 +3300,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3258
3300
|
"text-button-destructive-content-pressed"
|
|
3259
3301
|
],
|
|
3260
3302
|
link: [
|
|
3261
|
-
"border-button-link-border-pressed
|
|
3303
|
+
"border-b border-button-link-border-pressed",
|
|
3262
3304
|
"text-button-link-content-pressed"
|
|
3263
3305
|
]
|
|
3264
3306
|
},
|
|
@@ -3266,34 +3308,62 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3266
3308
|
small: "h-10text-xs",
|
|
3267
3309
|
medium: "h-11 text-sm",
|
|
3268
3310
|
large: "h-12 text-base"
|
|
3311
|
+
},
|
|
3312
|
+
weight: {
|
|
3313
|
+
light: "font-light",
|
|
3314
|
+
regular: "font-regular",
|
|
3315
|
+
semibold: "font-semibold",
|
|
3316
|
+
bold: "font-bold"
|
|
3269
3317
|
}
|
|
3270
3318
|
},
|
|
3271
3319
|
compoundVariants: [
|
|
3272
3320
|
{
|
|
3273
3321
|
intent: "link",
|
|
3274
|
-
className: "w-24 rounded-none"
|
|
3322
|
+
className: "w-24 rounded-none px-1"
|
|
3275
3323
|
},
|
|
3276
3324
|
{
|
|
3277
|
-
intent: [
|
|
3325
|
+
intent: [
|
|
3326
|
+
"primary",
|
|
3327
|
+
"secondary",
|
|
3328
|
+
"tertiary",
|
|
3329
|
+
"ghost",
|
|
3330
|
+
"outline",
|
|
3331
|
+
"destructive"
|
|
3332
|
+
],
|
|
3278
3333
|
size: "small",
|
|
3279
3334
|
className: "min-w-36 p-button-sm"
|
|
3280
3335
|
},
|
|
3281
3336
|
{
|
|
3282
|
-
intent: [
|
|
3337
|
+
intent: [
|
|
3338
|
+
"primary",
|
|
3339
|
+
"secondary",
|
|
3340
|
+
"tertiary",
|
|
3341
|
+
"ghost",
|
|
3342
|
+
"outline",
|
|
3343
|
+
"destructive"
|
|
3344
|
+
],
|
|
3283
3345
|
size: "medium",
|
|
3284
3346
|
className: "min-w-44 p-button-md"
|
|
3285
3347
|
},
|
|
3286
3348
|
{
|
|
3287
|
-
intent: [
|
|
3349
|
+
intent: [
|
|
3350
|
+
"primary",
|
|
3351
|
+
"secondary",
|
|
3352
|
+
"tertiary",
|
|
3353
|
+
"ghost",
|
|
3354
|
+
"outline",
|
|
3355
|
+
"destructive"
|
|
3356
|
+
],
|
|
3288
3357
|
size: "large",
|
|
3289
3358
|
className: "min-w-52 p-button-lg"
|
|
3290
3359
|
}
|
|
3291
3360
|
],
|
|
3292
3361
|
defaultVariants: {
|
|
3293
3362
|
intent: "primary",
|
|
3294
|
-
size: "medium"
|
|
3363
|
+
size: "medium",
|
|
3364
|
+
weight: "regular"
|
|
3295
3365
|
}
|
|
3296
|
-
}), jr = F(
|
|
3366
|
+
}), jr = F(Ne, {
|
|
3297
3367
|
variants: {
|
|
3298
3368
|
intent: {
|
|
3299
3369
|
primary: [
|
|
@@ -3323,25 +3393,68 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3323
3393
|
"text-button-destructive-content-disabled"
|
|
3324
3394
|
],
|
|
3325
3395
|
link: [
|
|
3326
|
-
"border-button-link-border-disabled
|
|
3396
|
+
"border-b border-button-link-border-disabled",
|
|
3327
3397
|
"text-button-link-content-disabled"
|
|
3328
3398
|
]
|
|
3329
3399
|
},
|
|
3330
3400
|
size: {
|
|
3331
|
-
small: "h-10
|
|
3332
|
-
medium: "h-11
|
|
3333
|
-
large: "h-12
|
|
3401
|
+
small: "h-10 text-xs",
|
|
3402
|
+
medium: "h-11 text-sm",
|
|
3403
|
+
large: "h-12 text-base"
|
|
3404
|
+
},
|
|
3405
|
+
weight: {
|
|
3406
|
+
light: "font-light",
|
|
3407
|
+
regular: "font-regular",
|
|
3408
|
+
semibold: "font-semibold",
|
|
3409
|
+
bold: "font-bold"
|
|
3334
3410
|
}
|
|
3335
3411
|
},
|
|
3336
3412
|
compoundVariants: [
|
|
3337
3413
|
{
|
|
3338
3414
|
intent: "link",
|
|
3339
|
-
className: "w-
|
|
3415
|
+
className: "w-24 rounded-none px-1"
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
intent: [
|
|
3419
|
+
"primary",
|
|
3420
|
+
"secondary",
|
|
3421
|
+
"tertiary",
|
|
3422
|
+
"ghost",
|
|
3423
|
+
"outline",
|
|
3424
|
+
"destructive"
|
|
3425
|
+
],
|
|
3426
|
+
size: "small",
|
|
3427
|
+
className: "min-w-36 p-button-sm"
|
|
3428
|
+
},
|
|
3429
|
+
{
|
|
3430
|
+
intent: [
|
|
3431
|
+
"primary",
|
|
3432
|
+
"secondary",
|
|
3433
|
+
"tertiary",
|
|
3434
|
+
"ghost",
|
|
3435
|
+
"outline",
|
|
3436
|
+
"destructive"
|
|
3437
|
+
],
|
|
3438
|
+
size: "medium",
|
|
3439
|
+
className: "min-w-44 p-button-md"
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
intent: [
|
|
3443
|
+
"primary",
|
|
3444
|
+
"secondary",
|
|
3445
|
+
"tertiary",
|
|
3446
|
+
"ghost",
|
|
3447
|
+
"outline",
|
|
3448
|
+
"destructive"
|
|
3449
|
+
],
|
|
3450
|
+
size: "large",
|
|
3451
|
+
className: "min-w-52 p-button-lg"
|
|
3340
3452
|
}
|
|
3341
3453
|
],
|
|
3342
3454
|
defaultVariants: {
|
|
3343
3455
|
intent: "primary",
|
|
3344
|
-
size: "medium"
|
|
3456
|
+
size: "medium",
|
|
3457
|
+
weight: "regular"
|
|
3345
3458
|
}
|
|
3346
3459
|
}), $r = ({
|
|
3347
3460
|
className: t,
|
|
@@ -3389,36 +3502,41 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3389
3502
|
] })
|
|
3390
3503
|
}
|
|
3391
3504
|
);
|
|
3392
|
-
},
|
|
3505
|
+
}, Me = "flex items-center justify-center transition-colors relative border !border-xs", Tr = F(Me, {
|
|
3393
3506
|
variants: {
|
|
3394
3507
|
intent: {
|
|
3395
3508
|
fill: [
|
|
3396
3509
|
"bg-button-icon-fill-bg-enabled",
|
|
3397
3510
|
"text-button-icon-fill-content-enabled",
|
|
3511
|
+
"border-button-icon-fill-border-enabled",
|
|
3398
3512
|
"lg:hover:bg-button-icon-fill-bg-hover",
|
|
3399
3513
|
"lg:hover:text-button-icon-fill-content-hover",
|
|
3400
|
-
"lg:
|
|
3401
|
-
"lg:active:
|
|
3514
|
+
"lg:hover:border-button-icon-fill-border-hover",
|
|
3515
|
+
"lg:active:bg-button-icon-fill-border-disabled",
|
|
3516
|
+
"lg:active:text-button-icon-fill-content-disabled",
|
|
3517
|
+
"lg:active:border-button-icon-fill-border-disabled"
|
|
3402
3518
|
],
|
|
3403
3519
|
outline: [
|
|
3404
|
-
"outline !outline-xs",
|
|
3405
|
-
"outline-button-icon-outline-outline-enabled",
|
|
3406
3520
|
"bg-button-icon-outline-bg-enabled",
|
|
3407
3521
|
"text-button-icon-outline-content-enabled",
|
|
3522
|
+
"border-button-icon-outline-border-enabled",
|
|
3408
3523
|
"lg:hover:bg-button-icon-outline-bg-hover",
|
|
3409
3524
|
"lg:hover:text-button-icon-outline-content-hover",
|
|
3410
|
-
"lg:hover:
|
|
3525
|
+
"lg:hover:border-button-icon-outline-border-hover",
|
|
3411
3526
|
"lg:active:bg-button-icon-outline-bg-pressed",
|
|
3412
3527
|
"lg:active:text-button-icon-outline-content-pressed",
|
|
3413
|
-
"lg:active:
|
|
3528
|
+
"lg:active:border-button-icon-outline-border-pressed"
|
|
3414
3529
|
],
|
|
3415
3530
|
ghost: [
|
|
3416
3531
|
"bg-button-icon-ghost-bg-enabled",
|
|
3417
3532
|
"text-button-icon-ghost-content-enabled",
|
|
3533
|
+
"border-button-icon-ghost-border-enabled",
|
|
3418
3534
|
"lg:hover:bg-button-icon-ghost-bg-hover",
|
|
3419
3535
|
"lg:hover:text-button-icon-ghost-content-hover",
|
|
3536
|
+
"lg:hover:border-button-icon-ghost-border-hover",
|
|
3420
3537
|
"lg:active:bg-button-icon-ghost-bg-pressed",
|
|
3421
|
-
"lg:active:text-button-icon-ghost-content-pressed"
|
|
3538
|
+
"lg:active:text-button-icon-ghost-content-pressed",
|
|
3539
|
+
"lg:active:border-button-icon-ghost-border-pressed"
|
|
3422
3540
|
]
|
|
3423
3541
|
},
|
|
3424
3542
|
size: {
|
|
@@ -3436,7 +3554,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3436
3554
|
size: "medium",
|
|
3437
3555
|
rounded: "sm"
|
|
3438
3556
|
}
|
|
3439
|
-
}), Pr = F(
|
|
3557
|
+
}), Pr = F(Me, {
|
|
3440
3558
|
variants: {
|
|
3441
3559
|
intent: {
|
|
3442
3560
|
fill: [
|
|
@@ -3444,14 +3562,13 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3444
3562
|
"text-button-icon-fill-content-pressed"
|
|
3445
3563
|
],
|
|
3446
3564
|
outline: [
|
|
3447
|
-
"outline
|
|
3448
|
-
"
|
|
3449
|
-
"
|
|
3450
|
-
"text-button-icon-outline-content-pressed"
|
|
3565
|
+
"border-button-icon-outline-border-enabled",
|
|
3566
|
+
"bg-button-icon-outline-bg-enabled",
|
|
3567
|
+
"text-button-icon-outline-content-enabled"
|
|
3451
3568
|
],
|
|
3452
3569
|
ghost: [
|
|
3453
|
-
"bg-button-icon-ghost-bg-
|
|
3454
|
-
"text-button-icon-ghost-content-
|
|
3570
|
+
"bg-button-icon-ghost-bg-enabled",
|
|
3571
|
+
"text-button-icon-ghost-content-enabled"
|
|
3455
3572
|
]
|
|
3456
3573
|
},
|
|
3457
3574
|
size: {
|
|
@@ -3469,16 +3586,16 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3469
3586
|
size: "medium",
|
|
3470
3587
|
rounded: "sm"
|
|
3471
3588
|
}
|
|
3472
|
-
}), Or = F(
|
|
3589
|
+
}), Or = F(Me, {
|
|
3473
3590
|
variants: {
|
|
3474
3591
|
intent: {
|
|
3475
3592
|
fill: [
|
|
3476
3593
|
"bg-button-icon-fill-bg-disabled",
|
|
3477
|
-
"text-button-icon-fill-content-disabled"
|
|
3594
|
+
"text-button-icon-fill-content-disabled",
|
|
3595
|
+
"border-button-icon-fill-border-disabled"
|
|
3478
3596
|
],
|
|
3479
3597
|
outline: [
|
|
3480
|
-
"outline
|
|
3481
|
-
"outline-button-icon-outline-outline-disabled",
|
|
3598
|
+
"border-button-icon-outline-border-disabled",
|
|
3482
3599
|
"bg-button-icon-outline-bg-disabled",
|
|
3483
3600
|
"text-button-icon-outline-content-disabled"
|
|
3484
3601
|
],
|
|
@@ -3546,15 +3663,25 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3546
3663
|
]
|
|
3547
3664
|
}
|
|
3548
3665
|
);
|
|
3549
|
-
}, Ar = "flex flex-col gap-3 p-4 rounded-lg
|
|
3666
|
+
}, Ar = "flex flex-col gap-3 p-4 rounded-lg", zr = F(Ar, {
|
|
3550
3667
|
variants: {
|
|
3551
3668
|
intent: {
|
|
3552
3669
|
default: "text-content-primary bg-bg-white",
|
|
3553
|
-
outline: "bg-bg-white text-content-text-default
|
|
3670
|
+
outline: "!border-xs border-solid border-border-utility-discovery bg-bg-white text-content-text-default"
|
|
3671
|
+
},
|
|
3672
|
+
shadow: {
|
|
3673
|
+
none: "",
|
|
3674
|
+
xs: "shadow-xs",
|
|
3675
|
+
sm: "shadow-sm",
|
|
3676
|
+
md: "shadow-md",
|
|
3677
|
+
lg: "shadow-lg",
|
|
3678
|
+
xl: "shadow-xl",
|
|
3679
|
+
"2xl": "shadow-2xl"
|
|
3554
3680
|
}
|
|
3555
3681
|
},
|
|
3556
3682
|
defaultVariants: {
|
|
3557
|
-
intent: "default"
|
|
3683
|
+
intent: "default",
|
|
3684
|
+
shadow: "none"
|
|
3558
3685
|
}
|
|
3559
3686
|
}), 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
3687
|
variants: {
|
|
@@ -3625,7 +3752,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3625
3752
|
)
|
|
3626
3753
|
}
|
|
3627
3754
|
);
|
|
3628
|
-
},
|
|
3755
|
+
}, Nr = "transition-colors", Mr = F(Nr, {
|
|
3629
3756
|
variants: {
|
|
3630
3757
|
intent: {
|
|
3631
3758
|
"display-sm": "text-7xl leading-6xl tracking-tight",
|
|
@@ -3671,7 +3798,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3671
3798
|
return /* @__PURE__ */ C.jsx(
|
|
3672
3799
|
a,
|
|
3673
3800
|
{
|
|
3674
|
-
className: K(
|
|
3801
|
+
className: K(Mr({ intent: r, weight: o, className: n })),
|
|
3675
3802
|
...c
|
|
3676
3803
|
}
|
|
3677
3804
|
);
|