@yuva-devlab/ui 1.0.1 → 1.2.0
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/README.md +29 -14
- package/dist/common.css +158 -0
- package/dist/components/accordion/accordion.css +49 -0
- package/dist/components/alert/alert.css +41 -0
- package/dist/components/alert-dialog/alert-dialog.css +78 -0
- package/dist/components/avatar/avatar.css +26 -0
- package/dist/components/badge/badge.css +76 -0
- package/dist/components/breadcrumb/breadcrumb.css +63 -0
- package/dist/components/button/button.css +106 -0
- package/dist/components/card/card.css +30 -0
- package/dist/components/carousel/carousel.css +67 -0
- package/dist/components/chart/chart.css +38 -0
- package/dist/components/checkbox/checkbox.css +27 -0
- package/dist/components/command/command.css +125 -0
- package/dist/components/context-menu/context-menu.css +19 -0
- package/dist/components/date-picker/date-picker.css +30 -0
- package/dist/components/dialog/dialog.css +78 -0
- package/dist/components/drawer/drawer.css +64 -0
- package/dist/components/dropdown-menu/dropdown-menu.css +82 -0
- package/dist/components/form/form.css +17 -0
- package/dist/components/hover-card/hover-card.css +23 -0
- package/dist/components/input/input.css +89 -0
- package/dist/components/input-otp/input-otp.css +70 -0
- package/dist/components/label/label.css +9 -0
- package/dist/components/loading-state/loading-state.css +26 -0
- package/dist/components/menubar/menubar.css +36 -0
- package/dist/components/navigation-menu/navigation-menu.css +137 -0
- package/dist/components/pagination/pagination.css +43 -0
- package/dist/components/panel/panel.css +24 -0
- package/dist/components/popover/popover.css +17 -0
- package/dist/components/progress/progress.css +15 -0
- package/dist/components/radio-group/radio-group.css +37 -0
- package/dist/components/resizable/resizable.css +67 -0
- package/dist/components/scroll-area/scroll-area.css +32 -0
- package/dist/components/searchable-select/searchable-select.css +128 -0
- package/dist/components/select/select.css +97 -0
- package/dist/components/separator/separator.css +14 -0
- package/dist/components/sheet/sheet.css +83 -0
- package/dist/components/sidebar/sidebar.css +18 -0
- package/dist/components/skeleton/skeleton.css +5 -0
- package/dist/components/slider/slider.css +37 -0
- package/dist/components/sonner/sonner.css +25 -0
- package/dist/components/status-badge/status-badge.css +53 -0
- package/dist/components/status-chip/status-chip.css +44 -0
- package/dist/components/switch/switch.css +45 -0
- package/dist/components/table/table.css +46 -0
- package/dist/components/tabs/tabs.css +46 -0
- package/dist/components/textarea/textarea.css +30 -0
- package/dist/components/toggle/toggle.css +91 -0
- package/dist/components/tooltip/tooltip.css +17 -0
- package/dist/components.css +2523 -0
- package/dist/index.cjs +1606 -1963
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1805 -209
- package/dist/index.d.ts +1805 -209
- package/dist/index.js +1470 -1834
- package/dist/index.js.map +1 -1
- package/dist/preset.css +8 -0
- package/dist/root.css +1 -0
- package/dist/styles/common.css +158 -0
- package/dist/styles/components.css +2523 -0
- package/dist/styles/preset.css +8 -0
- package/dist/styles/root.css +1 -0
- package/dist/styles/styles.css +18 -0
- package/dist/styles/themes/finai.css +1 -0
- package/dist/styles/themes/orchestrai.css +1 -0
- package/dist/styles.css +18 -0
- package/dist/themes/finai.css +1 -0
- package/dist/themes/orchestrai.css +1 -0
- package/package.json +19 -6
package/dist/preset.css
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file src/styles/preset.css
|
|
3
|
+
* @description Backward compatibility bridge for @yuva-devlab/ui.
|
|
4
|
+
* Directs downstream Tailwind 4 consumers to @yuva-devlab/tokens/preset.css
|
|
5
|
+
* and imports UI component styles.
|
|
6
|
+
*/
|
|
7
|
+
@import "@yuva-devlab/tokens/preset.css";
|
|
8
|
+
@import "./styles.css";
|
package/dist/root.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@yuva-devlab/tokens/root.css";
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file src/styles/common.css
|
|
3
|
+
* @description Shared keyframes, animations, feedback states, and surface utilities.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* ── Keyframe Animations ─────────────────────────────────────────────────── */
|
|
7
|
+
@keyframes dl-fade-in {
|
|
8
|
+
from {
|
|
9
|
+
opacity: 0;
|
|
10
|
+
}
|
|
11
|
+
to {
|
|
12
|
+
opacity: 1;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@keyframes dl-fade-out {
|
|
16
|
+
from {
|
|
17
|
+
opacity: 1;
|
|
18
|
+
}
|
|
19
|
+
to {
|
|
20
|
+
opacity: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
@keyframes dl-zoom-in {
|
|
24
|
+
from {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transform: translate(-50%, -50%) scale(0.95);
|
|
27
|
+
}
|
|
28
|
+
to {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
transform: translate(-50%, -50%) scale(1);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
@keyframes dl-zoom-out {
|
|
34
|
+
from {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
transform: translate(-50%, -50%) scale(1);
|
|
37
|
+
}
|
|
38
|
+
to {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
transform: translate(-50%, -50%) scale(0.95);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@keyframes dl-pulse {
|
|
44
|
+
0%,
|
|
45
|
+
100% {
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
50% {
|
|
49
|
+
opacity: 0.5;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
@keyframes dl-spin {
|
|
53
|
+
from {
|
|
54
|
+
transform: rotate(0deg);
|
|
55
|
+
}
|
|
56
|
+
to {
|
|
57
|
+
transform: rotate(360deg);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
@keyframes dl-slide-in-right {
|
|
61
|
+
from {
|
|
62
|
+
transform: translateX(100%);
|
|
63
|
+
}
|
|
64
|
+
to {
|
|
65
|
+
transform: translateX(0);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
@keyframes dl-slide-out-right {
|
|
69
|
+
from {
|
|
70
|
+
transform: translateX(0);
|
|
71
|
+
}
|
|
72
|
+
to {
|
|
73
|
+
transform: translateX(100%);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
@keyframes dl-slide-in-left {
|
|
77
|
+
from {
|
|
78
|
+
transform: translateX(-100%);
|
|
79
|
+
}
|
|
80
|
+
to {
|
|
81
|
+
transform: translateX(0);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
@keyframes dl-slide-out-left {
|
|
85
|
+
from {
|
|
86
|
+
transform: translateX(0);
|
|
87
|
+
}
|
|
88
|
+
to {
|
|
89
|
+
transform: translateX(-100%);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
@keyframes dl-accordion-down {
|
|
93
|
+
from {
|
|
94
|
+
height: 0;
|
|
95
|
+
}
|
|
96
|
+
to {
|
|
97
|
+
height: var(--radix-accordion-content-height);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
@keyframes dl-accordion-up {
|
|
101
|
+
from {
|
|
102
|
+
height: var(--radix-accordion-content-height);
|
|
103
|
+
}
|
|
104
|
+
to {
|
|
105
|
+
height: 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@keyframes dl-spin {
|
|
110
|
+
from {
|
|
111
|
+
transform: rotate(0deg);
|
|
112
|
+
}
|
|
113
|
+
to {
|
|
114
|
+
transform: rotate(360deg);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* ── Sonner Toast Semantic Feedback ──────────────────────────────────────── */
|
|
119
|
+
[data-sonner-toaster] [data-sonner-toast] {
|
|
120
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
121
|
+
}
|
|
122
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="success"] {
|
|
123
|
+
border-color: color-mix(in oklch, var(--success) 35%, transparent);
|
|
124
|
+
}
|
|
125
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="success"] [data-icon] {
|
|
126
|
+
color: var(--success);
|
|
127
|
+
}
|
|
128
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="error"],
|
|
129
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="destructive"] {
|
|
130
|
+
border-color: color-mix(in oklch, var(--destructive) 35%, transparent);
|
|
131
|
+
}
|
|
132
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="error"] [data-icon],
|
|
133
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="destructive"] [data-icon] {
|
|
134
|
+
color: var(--destructive);
|
|
135
|
+
}
|
|
136
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="warning"] {
|
|
137
|
+
border-color: color-mix(in oklch, var(--warning) 35%, transparent);
|
|
138
|
+
}
|
|
139
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="warning"] [data-icon] {
|
|
140
|
+
color: var(--warning);
|
|
141
|
+
}
|
|
142
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="info"] {
|
|
143
|
+
border-color: color-mix(in oklch, var(--info) 35%, transparent);
|
|
144
|
+
}
|
|
145
|
+
[data-sonner-toaster] [data-sonner-toast][data-type="info"] [data-icon] {
|
|
146
|
+
color: var(--info);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* ── Shared Glass & Surface Utilities ────────────────────────────────────── */
|
|
150
|
+
.dl-glass {
|
|
151
|
+
background-color: var(
|
|
152
|
+
--surface,
|
|
153
|
+
color-mix(in oklch, var(--card) 80%, transparent)
|
|
154
|
+
);
|
|
155
|
+
backdrop-filter: blur(16px) saturate(140%);
|
|
156
|
+
-webkit-backdrop-filter: blur(16px) saturate(140%);
|
|
157
|
+
border: 1px solid var(--border);
|
|
158
|
+
}
|