@jbpark/ui-kit 5.4.2 → 5.4.4
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/core/badge.d.mts +1 -1
- package/dist/core/button.d.mts +2 -2
- package/dist/style.css +28 -17
- package/package.json +1 -1
package/dist/core/badge.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ declare namespace badge_d_exports {
|
|
|
4
4
|
export { Badge, Props, badgeVariants };
|
|
5
5
|
}
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "
|
|
7
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
type Props = React$1.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
10
10
|
asChild?: boolean;
|
package/dist/core/button.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ declare namespace button_d_exports {
|
|
|
4
4
|
export { Button, Props, buttonVariants };
|
|
5
5
|
}
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "link" | "default" | "
|
|
8
|
-
size?: "
|
|
7
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
8
|
+
size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
type Props = React$1.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
11
11
|
asChild?: boolean;
|
package/dist/style.css
CHANGED
|
@@ -71,6 +71,17 @@
|
|
|
71
71
|
outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
+
:where([data-slot], [data-slot] *) {
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
border-style: solid;
|
|
77
|
+
border-width: 0;
|
|
78
|
+
}
|
|
79
|
+
:where(button[data-slot], [data-slot] button, [data-slot] input, [data-slot] select, [data-slot] textarea) {
|
|
80
|
+
appearance: none;
|
|
81
|
+
color: inherit;
|
|
82
|
+
font: inherit;
|
|
83
|
+
background-color: #0000;
|
|
84
|
+
}
|
|
74
85
|
}
|
|
75
86
|
@layer components {
|
|
76
87
|
[data-slot="button"][data-color] {
|
|
@@ -2483,73 +2494,73 @@
|
|
|
2483
2494
|
align-items: flex-start;
|
|
2484
2495
|
}
|
|
2485
2496
|
}
|
|
2486
|
-
.dark\:border-input:is(.dark *) {
|
|
2497
|
+
.dark\:border-input:is(.dark *, [data-theme="dark"] *) {
|
|
2487
2498
|
border-color: var(--input);
|
|
2488
2499
|
}
|
|
2489
|
-
.dark\:bg-destructive\/60:is(.dark *) {
|
|
2500
|
+
.dark\:bg-destructive\/60:is(.dark *, [data-theme="dark"] *) {
|
|
2490
2501
|
background-color: var(--destructive);
|
|
2491
2502
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2492
2503
|
background-color: color-mix(in oklab, var(--destructive) 60%, transparent);
|
|
2493
2504
|
}
|
|
2494
2505
|
}
|
|
2495
|
-
.dark\:bg-input\/30:is(.dark *) {
|
|
2506
|
+
.dark\:bg-input\/30:is(.dark *, [data-theme="dark"] *) {
|
|
2496
2507
|
background-color: var(--input);
|
|
2497
2508
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2498
2509
|
background-color: color-mix(in oklab, var(--input) 30%, transparent);
|
|
2499
2510
|
}
|
|
2500
2511
|
}
|
|
2501
|
-
.dark\:text-green-400:is(.dark *) {
|
|
2512
|
+
.dark\:text-green-400:is(.dark *, [data-theme="dark"] *) {
|
|
2502
2513
|
color: var(--color-green-400);
|
|
2503
2514
|
}
|
|
2504
|
-
.dark\:text-yellow-400:is(.dark *) {
|
|
2515
|
+
.dark\:text-yellow-400:is(.dark *, [data-theme="dark"] *) {
|
|
2505
2516
|
color: var(--color-yellow-400);
|
|
2506
2517
|
}
|
|
2507
2518
|
@media (hover: hover) {
|
|
2508
|
-
.dark\:hover\:bg-accent\/50:is(.dark *):hover {
|
|
2519
|
+
.dark\:hover\:bg-accent\/50:is(.dark *, [data-theme="dark"] *):hover {
|
|
2509
2520
|
background-color: var(--accent);
|
|
2510
2521
|
}
|
|
2511
2522
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2512
|
-
.dark\:hover\:bg-accent\/50:is(.dark *):hover {
|
|
2523
|
+
.dark\:hover\:bg-accent\/50:is(.dark *, [data-theme="dark"] *):hover {
|
|
2513
2524
|
background-color: color-mix(in oklab, var(--accent) 50%, transparent);
|
|
2514
2525
|
}
|
|
2515
2526
|
}
|
|
2516
|
-
.dark\:hover\:bg-input\/50:is(.dark *):hover {
|
|
2527
|
+
.dark\:hover\:bg-input\/50:is(.dark *, [data-theme="dark"] *):hover {
|
|
2517
2528
|
background-color: var(--input);
|
|
2518
2529
|
}
|
|
2519
2530
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2520
|
-
.dark\:hover\:bg-input\/50:is(.dark *):hover {
|
|
2531
|
+
.dark\:hover\:bg-input\/50:is(.dark *, [data-theme="dark"] *):hover {
|
|
2521
2532
|
background-color: color-mix(in oklab, var(--input) 50%, transparent);
|
|
2522
2533
|
}
|
|
2523
2534
|
}
|
|
2524
2535
|
}
|
|
2525
|
-
.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible {
|
|
2536
|
+
.dark\:focus-visible\:ring-destructive\/40:is(.dark *, [data-theme="dark"] *):focus-visible {
|
|
2526
2537
|
--tw-ring-color: var(--destructive);
|
|
2527
2538
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2528
2539
|
--tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
2529
2540
|
}
|
|
2530
2541
|
}
|
|
2531
|
-
.dark\:has-data-\[state\=checked\]\:bg-primary\/10:is(.dark *):has([data-state="checked"]) {
|
|
2542
|
+
.dark\:has-data-\[state\=checked\]\:bg-primary\/10:is(.dark *, [data-theme="dark"] *):has([data-state="checked"]) {
|
|
2532
2543
|
background-color: var(--primary);
|
|
2533
2544
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2534
2545
|
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
2535
2546
|
}
|
|
2536
2547
|
}
|
|
2537
|
-
.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid="true"] {
|
|
2548
|
+
.dark\:aria-invalid\:ring-destructive\/40:is(.dark *, [data-theme="dark"] *)[aria-invalid="true"] {
|
|
2538
2549
|
--tw-ring-color: var(--destructive);
|
|
2539
2550
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2540
2551
|
--tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
2541
2552
|
}
|
|
2542
2553
|
}
|
|
2543
|
-
.dark\:data-\[state\=checked\]\:bg-primary:is(.dark *)[data-state="checked"] {
|
|
2554
|
+
.dark\:data-\[state\=checked\]\:bg-primary:is(.dark *, [data-theme="dark"] *)[data-state="checked"] {
|
|
2544
2555
|
background-color: var(--primary);
|
|
2545
2556
|
}
|
|
2546
|
-
.dark\:data-\[state\=checked\]\:bg-primary-foreground:is(.dark *)[data-state="checked"] {
|
|
2557
|
+
.dark\:data-\[state\=checked\]\:bg-primary-foreground:is(.dark *, [data-theme="dark"] *)[data-state="checked"] {
|
|
2547
2558
|
background-color: var(--primary-foreground);
|
|
2548
2559
|
}
|
|
2549
|
-
.dark\:data-\[state\=unchecked\]\:bg-foreground:is(.dark *)[data-state="unchecked"] {
|
|
2560
|
+
.dark\:data-\[state\=unchecked\]\:bg-foreground:is(.dark *, [data-theme="dark"] *)[data-state="unchecked"] {
|
|
2550
2561
|
background-color: var(--foreground);
|
|
2551
2562
|
}
|
|
2552
|
-
.dark\:data-\[state\=unchecked\]\:bg-input\/80:is(.dark *)[data-state="unchecked"] {
|
|
2563
|
+
.dark\:data-\[state\=unchecked\]\:bg-input\/80:is(.dark *, [data-theme="dark"] *)[data-state="unchecked"] {
|
|
2553
2564
|
background-color: var(--input);
|
|
2554
2565
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2555
2566
|
background-color: color-mix(in oklab, var(--input) 80%, transparent);
|
|
@@ -2762,7 +2773,7 @@
|
|
|
2762
2773
|
--sidebar-border: oklch(92.2% 0 0);
|
|
2763
2774
|
--sidebar-ring: oklch(70.8% 0 0);
|
|
2764
2775
|
}
|
|
2765
|
-
.dark {
|
|
2776
|
+
.dark, [data-theme="dark"] {
|
|
2766
2777
|
--background: oklch(14.5% 0 0);
|
|
2767
2778
|
--foreground: oklch(98.5% 0 0);
|
|
2768
2779
|
--card: oklch(20.5% 0 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbpark/ui-kit",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.4",
|
|
4
4
|
"description": "Modern React UI component library built with TypeScript, Tailwind CSS, and Radix UI. Featuring atoms, molecules, organisms and layout templates for building beautiful interfaces.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|