@grupor5/raya 0.2.38 → 0.2.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/index.js
CHANGED
|
@@ -2494,14 +2494,15 @@ var Accordion = React28__namespace.forwardRef((_a, ref) => {
|
|
|
2494
2494
|
});
|
|
2495
2495
|
Accordion.displayName = "Accordion";
|
|
2496
2496
|
var alertVariants = classVarianceAuthority.cva(
|
|
2497
|
-
"relative w-full rounded-
|
|
2497
|
+
"relative w-full rounded-2xl px-6 py-2 flex items-center justify-between",
|
|
2498
2498
|
{
|
|
2499
2499
|
variants: {
|
|
2500
2500
|
variant: {
|
|
2501
2501
|
default: "bg-background",
|
|
2502
2502
|
danger: "bg-red-100",
|
|
2503
|
-
success: "bg-green-
|
|
2504
|
-
warning: "bg-yellow-
|
|
2503
|
+
success: "bg-green-10",
|
|
2504
|
+
warning: "bg-yellow-10",
|
|
2505
|
+
neutral: "bg-secondary-200"
|
|
2505
2506
|
}
|
|
2506
2507
|
},
|
|
2507
2508
|
defaultVariants: {
|
|
@@ -2556,13 +2557,12 @@ var AlertTitle = React28__namespace.forwardRef((_a, ref) => {
|
|
|
2556
2557
|
__spreadValues({
|
|
2557
2558
|
ref,
|
|
2558
2559
|
className: cn(
|
|
2559
|
-
"
|
|
2560
|
+
"text-subheading-sm",
|
|
2560
2561
|
{
|
|
2561
2562
|
"text-red-600": variant === "danger",
|
|
2562
|
-
"text-primary-
|
|
2563
|
+
"text-primary-900": ["success", "warning", "neutral", "default"].includes(
|
|
2563
2564
|
variant
|
|
2564
|
-
)
|
|
2565
|
-
"text-foreground": variant === "default" || !variant
|
|
2565
|
+
) || !variant
|
|
2566
2566
|
},
|
|
2567
2567
|
className
|
|
2568
2568
|
)
|
|
@@ -2578,13 +2578,7 @@ var AlertDescription = React28__namespace.forwardRef((_a, ref) => {
|
|
|
2578
2578
|
__spreadValues({
|
|
2579
2579
|
ref,
|
|
2580
2580
|
className: cn(
|
|
2581
|
-
"text-
|
|
2582
|
-
{
|
|
2583
|
-
"text-primary-1200": ["success", "warning", "danger"].includes(
|
|
2584
|
-
variant
|
|
2585
|
-
),
|
|
2586
|
-
"text-foreground": variant === "default" || !variant
|
|
2587
|
-
},
|
|
2581
|
+
"text-body-xs [&_p]:leading-relaxed text-primary-900",
|
|
2588
2582
|
className
|
|
2589
2583
|
)
|
|
2590
2584
|
}, props)
|
package/dist/index.mjs
CHANGED
|
@@ -2463,14 +2463,15 @@ var Accordion = React28.forwardRef((_a, ref) => {
|
|
|
2463
2463
|
});
|
|
2464
2464
|
Accordion.displayName = "Accordion";
|
|
2465
2465
|
var alertVariants = cva(
|
|
2466
|
-
"relative w-full rounded-
|
|
2466
|
+
"relative w-full rounded-2xl px-6 py-2 flex items-center justify-between",
|
|
2467
2467
|
{
|
|
2468
2468
|
variants: {
|
|
2469
2469
|
variant: {
|
|
2470
2470
|
default: "bg-background",
|
|
2471
2471
|
danger: "bg-red-100",
|
|
2472
|
-
success: "bg-green-
|
|
2473
|
-
warning: "bg-yellow-
|
|
2472
|
+
success: "bg-green-10",
|
|
2473
|
+
warning: "bg-yellow-10",
|
|
2474
|
+
neutral: "bg-secondary-200"
|
|
2474
2475
|
}
|
|
2475
2476
|
},
|
|
2476
2477
|
defaultVariants: {
|
|
@@ -2525,13 +2526,12 @@ var AlertTitle = React28.forwardRef((_a, ref) => {
|
|
|
2525
2526
|
__spreadValues({
|
|
2526
2527
|
ref,
|
|
2527
2528
|
className: cn(
|
|
2528
|
-
"
|
|
2529
|
+
"text-subheading-sm",
|
|
2529
2530
|
{
|
|
2530
2531
|
"text-red-600": variant === "danger",
|
|
2531
|
-
"text-primary-
|
|
2532
|
+
"text-primary-900": ["success", "warning", "neutral", "default"].includes(
|
|
2532
2533
|
variant
|
|
2533
|
-
)
|
|
2534
|
-
"text-foreground": variant === "default" || !variant
|
|
2534
|
+
) || !variant
|
|
2535
2535
|
},
|
|
2536
2536
|
className
|
|
2537
2537
|
)
|
|
@@ -2547,13 +2547,7 @@ var AlertDescription = React28.forwardRef((_a, ref) => {
|
|
|
2547
2547
|
__spreadValues({
|
|
2548
2548
|
ref,
|
|
2549
2549
|
className: cn(
|
|
2550
|
-
"text-
|
|
2551
|
-
{
|
|
2552
|
-
"text-primary-1200": ["success", "warning", "danger"].includes(
|
|
2553
|
-
variant
|
|
2554
|
-
),
|
|
2555
|
-
"text-foreground": variant === "default" || !variant
|
|
2556
|
-
},
|
|
2550
|
+
"text-body-xs [&_p]:leading-relaxed text-primary-900",
|
|
2557
2551
|
className
|
|
2558
2552
|
)
|
|
2559
2553
|
}, props)
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
6
|
-
variant?: "default" | "success" | "warning" | "danger" | null | undefined;
|
|
6
|
+
variant?: "default" | "success" | "warning" | "neutral" | "danger" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
8
8
|
isClosable?: boolean;
|
|
9
9
|
actions?: React.ReactNode;
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
6
|
-
variant?: "default" | "success" | "warning" | "danger" | null | undefined;
|
|
6
|
+
variant?: "default" | "success" | "warning" | "neutral" | "danger" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
8
8
|
isClosable?: boolean;
|
|
9
9
|
actions?: React.ReactNode;
|
|
@@ -322,14 +322,15 @@ var Button = React2.forwardRef((_a, ref) => {
|
|
|
322
322
|
});
|
|
323
323
|
Button.displayName = "Button";
|
|
324
324
|
var alertVariants = classVarianceAuthority.cva(
|
|
325
|
-
"relative w-full rounded-
|
|
325
|
+
"relative w-full rounded-2xl px-6 py-2 flex items-center justify-between",
|
|
326
326
|
{
|
|
327
327
|
variants: {
|
|
328
328
|
variant: {
|
|
329
329
|
default: "bg-background",
|
|
330
330
|
danger: "bg-red-100",
|
|
331
|
-
success: "bg-green-
|
|
332
|
-
warning: "bg-yellow-
|
|
331
|
+
success: "bg-green-10",
|
|
332
|
+
warning: "bg-yellow-10",
|
|
333
|
+
neutral: "bg-secondary-200"
|
|
333
334
|
}
|
|
334
335
|
},
|
|
335
336
|
defaultVariants: {
|
|
@@ -384,13 +385,12 @@ var AlertTitle = React2__namespace.forwardRef((_a, ref) => {
|
|
|
384
385
|
__spreadValues({
|
|
385
386
|
ref,
|
|
386
387
|
className: cn(
|
|
387
|
-
"
|
|
388
|
+
"text-subheading-sm",
|
|
388
389
|
{
|
|
389
390
|
"text-red-600": variant === "danger",
|
|
390
|
-
"text-primary-
|
|
391
|
+
"text-primary-900": ["success", "warning", "neutral", "default"].includes(
|
|
391
392
|
variant
|
|
392
|
-
)
|
|
393
|
-
"text-foreground": variant === "default" || !variant
|
|
393
|
+
) || !variant
|
|
394
394
|
},
|
|
395
395
|
className
|
|
396
396
|
)
|
|
@@ -406,13 +406,7 @@ var AlertDescription = React2__namespace.forwardRef((_a, ref) => {
|
|
|
406
406
|
__spreadValues({
|
|
407
407
|
ref,
|
|
408
408
|
className: cn(
|
|
409
|
-
"text-
|
|
410
|
-
{
|
|
411
|
-
"text-primary-1200": ["success", "warning", "danger"].includes(
|
|
412
|
-
variant
|
|
413
|
-
),
|
|
414
|
-
"text-foreground": variant === "default" || !variant
|
|
415
|
-
},
|
|
409
|
+
"text-body-xs [&_p]:leading-relaxed text-primary-900",
|
|
416
410
|
className
|
|
417
411
|
)
|
|
418
412
|
}, props)
|
|
@@ -301,14 +301,15 @@ var Button = forwardRef((_a, ref) => {
|
|
|
301
301
|
});
|
|
302
302
|
Button.displayName = "Button";
|
|
303
303
|
var alertVariants = cva(
|
|
304
|
-
"relative w-full rounded-
|
|
304
|
+
"relative w-full rounded-2xl px-6 py-2 flex items-center justify-between",
|
|
305
305
|
{
|
|
306
306
|
variants: {
|
|
307
307
|
variant: {
|
|
308
308
|
default: "bg-background",
|
|
309
309
|
danger: "bg-red-100",
|
|
310
|
-
success: "bg-green-
|
|
311
|
-
warning: "bg-yellow-
|
|
310
|
+
success: "bg-green-10",
|
|
311
|
+
warning: "bg-yellow-10",
|
|
312
|
+
neutral: "bg-secondary-200"
|
|
312
313
|
}
|
|
313
314
|
},
|
|
314
315
|
defaultVariants: {
|
|
@@ -363,13 +364,12 @@ var AlertTitle = React2.forwardRef((_a, ref) => {
|
|
|
363
364
|
__spreadValues({
|
|
364
365
|
ref,
|
|
365
366
|
className: cn(
|
|
366
|
-
"
|
|
367
|
+
"text-subheading-sm",
|
|
367
368
|
{
|
|
368
369
|
"text-red-600": variant === "danger",
|
|
369
|
-
"text-primary-
|
|
370
|
+
"text-primary-900": ["success", "warning", "neutral", "default"].includes(
|
|
370
371
|
variant
|
|
371
|
-
)
|
|
372
|
-
"text-foreground": variant === "default" || !variant
|
|
372
|
+
) || !variant
|
|
373
373
|
},
|
|
374
374
|
className
|
|
375
375
|
)
|
|
@@ -385,13 +385,7 @@ var AlertDescription = React2.forwardRef((_a, ref) => {
|
|
|
385
385
|
__spreadValues({
|
|
386
386
|
ref,
|
|
387
387
|
className: cn(
|
|
388
|
-
"text-
|
|
389
|
-
{
|
|
390
|
-
"text-primary-1200": ["success", "warning", "danger"].includes(
|
|
391
|
-
variant
|
|
392
|
-
),
|
|
393
|
-
"text-foreground": variant === "default" || !variant
|
|
394
|
-
},
|
|
388
|
+
"text-body-xs [&_p]:leading-relaxed text-primary-900",
|
|
395
389
|
className
|
|
396
390
|
)
|
|
397
391
|
}, props)
|