@dailyautomations/ui 1.2.0 → 1.4.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/dist/components/common/button.js +6 -6
- package/dist/components/common/button.js.map +1 -1
- package/dist/components/dev/theme-tester.d.ts +2 -0
- package/dist/components/dev/theme-tester.d.ts.map +1 -0
- package/dist/components/dev/theme-tester.js +105 -0
- package/dist/components/dev/theme-tester.js.map +1 -0
- package/dist/components/layout/app-shell.d.ts +14 -0
- package/dist/components/layout/app-shell.d.ts.map +1 -0
- package/dist/components/layout/app-shell.js +25 -0
- package/dist/components/layout/app-shell.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +15 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +40 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +7 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +15 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +7 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +15 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/confirm-dialog.d.ts +16 -0
- package/dist/components/ui/confirm-dialog.d.ts.map +1 -0
- package/dist/components/ui/confirm-dialog.js +31 -0
- package/dist/components/ui/confirm-dialog.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +25 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +51 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/empty-state.d.ts +14 -0
- package/dist/components/ui/empty-state.d.ts.map +1 -0
- package/dist/components/ui/empty-state.js +20 -0
- package/dist/components/ui/empty-state.js.map +1 -0
- package/dist/components/ui/filter-bar.d.ts +29 -0
- package/dist/components/ui/filter-bar.d.ts.map +1 -0
- package/dist/components/ui/filter-bar.js +19 -0
- package/dist/components/ui/filter-bar.js.map +1 -0
- package/dist/components/ui/loading-spinner.d.ts +19 -0
- package/dist/components/ui/loading-spinner.d.ts.map +1 -0
- package/dist/components/ui/loading-spinner.js +28 -0
- package/dist/components/ui/loading-spinner.js.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +18 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.d.ts +8 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +9 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +12 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +14 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/separator.d.ts +7 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +9 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +21 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +50 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/slider.d.ts +7 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +9 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/stat-card.d.ts +23 -0
- package/dist/components/ui/stat-card.d.ts.map +1 -0
- package/dist/components/ui/stat-card.js +46 -0
- package/dist/components/ui/stat-card.js.map +1 -0
- package/dist/components/ui/switch.d.ts +7 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +9 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +28 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +18 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/config/themes.d.ts +18 -0
- package/dist/config/themes.d.ts.map +1 -0
- package/dist/config/themes.js +267 -0
- package/dist/config/themes.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -1
- package/examples/home-page.tsx +81 -81
- package/examples/main.tsx +24 -9
- package/examples/pages/ComponentsPage.tsx +726 -0
- package/examples/pages/LandingPage.tsx +860 -0
- package/examples/pages/index.ts +2 -0
- package/examples/styles.css +61 -0
- package/package.json +26 -1
package/examples/pages/index.ts
CHANGED
|
@@ -11,3 +11,5 @@ export { BlogPage } from "./BlogPage"
|
|
|
11
11
|
export { ContactPage } from "./ContactPage"
|
|
12
12
|
export { AboutPage } from "./AboutPage"
|
|
13
13
|
export { PricingPage } from "./PricingPage"
|
|
14
|
+
export { LandingPage } from "./LandingPage"
|
|
15
|
+
export { ComponentsPage } from "./ComponentsPage"
|
package/examples/styles.css
CHANGED
|
@@ -164,3 +164,64 @@ body {
|
|
|
164
164
|
color: rgb(var(--foreground));
|
|
165
165
|
font-feature-settings: 'rlig' 1, 'calt' 1;
|
|
166
166
|
}
|
|
167
|
+
|
|
168
|
+
/* Radix animation classes (tailwindcss-animate equivalent) */
|
|
169
|
+
@keyframes enter {
|
|
170
|
+
from {
|
|
171
|
+
opacity: var(--tw-enter-opacity, 0);
|
|
172
|
+
transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)
|
|
173
|
+
scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1))
|
|
174
|
+
rotate(var(--tw-enter-rotate, 0));
|
|
175
|
+
}
|
|
176
|
+
to {
|
|
177
|
+
opacity: 1;
|
|
178
|
+
transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@keyframes exit {
|
|
183
|
+
from {
|
|
184
|
+
opacity: 1;
|
|
185
|
+
transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0);
|
|
186
|
+
}
|
|
187
|
+
to {
|
|
188
|
+
opacity: var(--tw-exit-opacity, 0);
|
|
189
|
+
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)
|
|
190
|
+
scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1))
|
|
191
|
+
rotate(var(--tw-exit-rotate, 0));
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.animate-in {
|
|
196
|
+
animation: enter 150ms ease-out forwards;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.animate-out {
|
|
200
|
+
animation: exit 150ms ease-in forwards;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.fade-in-0 { --tw-enter-opacity: 0; }
|
|
204
|
+
.fade-out-0 { --tw-exit-opacity: 0; }
|
|
205
|
+
|
|
206
|
+
.zoom-in-95 { --tw-enter-scale: 0.95; }
|
|
207
|
+
.zoom-out-95 { --tw-exit-scale: 0.95; }
|
|
208
|
+
|
|
209
|
+
.slide-in-from-top-2 { --tw-enter-translate-y: -0.5rem; }
|
|
210
|
+
.slide-in-from-bottom-2 { --tw-enter-translate-y: 0.5rem; }
|
|
211
|
+
.slide-in-from-left-2 { --tw-enter-translate-x: -0.5rem; }
|
|
212
|
+
.slide-in-from-right-2 { --tw-enter-translate-x: 0.5rem; }
|
|
213
|
+
|
|
214
|
+
.slide-in-from-top-4 { --tw-enter-translate-y: -1rem; }
|
|
215
|
+
.slide-in-from-bottom-4 { --tw-enter-translate-y: 1rem; }
|
|
216
|
+
.slide-in-from-left-4 { --tw-enter-translate-x: -1rem; }
|
|
217
|
+
.slide-in-from-right-4 { --tw-enter-translate-x: 1rem; }
|
|
218
|
+
|
|
219
|
+
.slide-in-from-left-full { --tw-enter-translate-x: -100%; }
|
|
220
|
+
.slide-in-from-right-full { --tw-enter-translate-x: 100%; }
|
|
221
|
+
.slide-in-from-top-full { --tw-enter-translate-y: -100%; }
|
|
222
|
+
.slide-in-from-bottom-full { --tw-enter-translate-y: 100%; }
|
|
223
|
+
|
|
224
|
+
.slide-out-to-left-full { --tw-exit-translate-x: -100%; }
|
|
225
|
+
.slide-out-to-right-full { --tw-exit-translate-x: 100%; }
|
|
226
|
+
.slide-out-to-top-full { --tw-exit-translate-y: -100%; }
|
|
227
|
+
.slide-out-to-bottom-full { --tw-exit-translate-y: 100%; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dailyautomations/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Daily X UI component library - Purple/orange dark theme system for all Daily products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -79,25 +79,49 @@
|
|
|
79
79
|
"tailwind-merge": "^3.0.1"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
+
"@radix-ui/react-alert-dialog": "^1.1.0",
|
|
83
|
+
"@radix-ui/react-avatar": "^1.1.0",
|
|
82
84
|
"@radix-ui/react-checkbox": "^1.3.0",
|
|
85
|
+
"@radix-ui/react-collapsible": "^1.1.0",
|
|
83
86
|
"@radix-ui/react-dialog": "^1.1.0",
|
|
87
|
+
"@radix-ui/react-dropdown-menu": "^2.1.0",
|
|
84
88
|
"@radix-ui/react-label": "^2.1.0",
|
|
89
|
+
"@radix-ui/react-popover": "^1.1.0",
|
|
90
|
+
"@radix-ui/react-progress": "^1.1.0",
|
|
91
|
+
"@radix-ui/react-radio-group": "^1.2.0",
|
|
92
|
+
"@radix-ui/react-scroll-area": "^1.2.0",
|
|
85
93
|
"@radix-ui/react-select": "^2.2.0",
|
|
94
|
+
"@radix-ui/react-separator": "^1.1.0",
|
|
95
|
+
"@radix-ui/react-slider": "^1.2.0",
|
|
86
96
|
"@radix-ui/react-slot": "^1.1.0",
|
|
97
|
+
"@radix-ui/react-switch": "^1.1.0",
|
|
87
98
|
"@radix-ui/react-tabs": "^1.1.0",
|
|
88
99
|
"@radix-ui/react-toast": "^1.2.0",
|
|
100
|
+
"@radix-ui/react-tooltip": "^1.1.0",
|
|
89
101
|
"react": "^18.0.0 || ^19.0.0",
|
|
90
102
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
91
103
|
"tailwindcss": "^4.0.0"
|
|
92
104
|
},
|
|
93
105
|
"devDependencies": {
|
|
106
|
+
"@radix-ui/react-alert-dialog": "^1.1.6",
|
|
107
|
+
"@radix-ui/react-avatar": "^1.1.6",
|
|
94
108
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
109
|
+
"@radix-ui/react-collapsible": "^1.1.6",
|
|
95
110
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
111
|
+
"@radix-ui/react-dropdown-menu": "^2.1.9",
|
|
96
112
|
"@radix-ui/react-label": "^2.1.8",
|
|
113
|
+
"@radix-ui/react-popover": "^1.1.9",
|
|
114
|
+
"@radix-ui/react-progress": "^1.1.4",
|
|
115
|
+
"@radix-ui/react-radio-group": "^1.2.6",
|
|
116
|
+
"@radix-ui/react-scroll-area": "^1.2.5",
|
|
97
117
|
"@radix-ui/react-select": "^2.2.6",
|
|
118
|
+
"@radix-ui/react-separator": "^1.1.4",
|
|
119
|
+
"@radix-ui/react-slider": "^1.2.6",
|
|
98
120
|
"@radix-ui/react-slot": "^1.2.4",
|
|
121
|
+
"@radix-ui/react-switch": "^1.1.6",
|
|
99
122
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
100
123
|
"@radix-ui/react-toast": "^1.2.15",
|
|
124
|
+
"@radix-ui/react-tooltip": "^1.1.10",
|
|
101
125
|
"@tailwindcss/postcss": "^4.1.18",
|
|
102
126
|
"@types/node": "^20.11.0",
|
|
103
127
|
"@types/react": "^18.0.0 || ^19.0.0",
|
|
@@ -107,6 +131,7 @@
|
|
|
107
131
|
"@vitejs/plugin-react": "^4.3.4",
|
|
108
132
|
"autoprefixer": "^10.4.20",
|
|
109
133
|
"eslint": "^8.56.0",
|
|
134
|
+
"lucide-react": "^0.563.0",
|
|
110
135
|
"postcss": "^8.4.49",
|
|
111
136
|
"react": "^18.3.1",
|
|
112
137
|
"react-dom": "^18.3.1",
|