@una-ui/preset 0.32.0-beta.1 → 0.33.0-beta.1
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/shortcuts.cjs +6 -6
- package/dist/shortcuts.mjs +6 -6
- package/package.json +1 -1
package/dist/shortcuts.cjs
CHANGED
|
@@ -133,14 +133,15 @@ const staticBreadcrumb = {
|
|
|
133
133
|
"breadcrumb-active": "breadcrumb-active-text-primary",
|
|
134
134
|
"breadcrumb-inactive": "breadcrumb-inactive-text-muted",
|
|
135
135
|
"breadcrumb-separator-icon": "i-radix-icons-chevron-right",
|
|
136
|
-
"breadcrumb-
|
|
136
|
+
"breadcrumb-ellipsis-icon": "i-radix-icons-dots-horizontal",
|
|
137
137
|
// components
|
|
138
138
|
"breadcrumb-root": "",
|
|
139
139
|
"breadcrumb-list": "flex flex-wrap items-center break-words text-muted",
|
|
140
|
-
"breadcrumb-link": "transition-colors font-normal",
|
|
140
|
+
"breadcrumb-link": "transition-colors font-normal px-1.5 sm:px-2.5",
|
|
141
141
|
"breadcrumb-item": "inline-flex items-center gap-1.5",
|
|
142
|
+
"breadcrumb-separator": "flex",
|
|
142
143
|
// TODO
|
|
143
|
-
"breadcrumb-ellipsis": "flex items-center justify-center"
|
|
144
|
+
"breadcrumb-ellipsis": "flex items-center justify-center px-1.5 sm:px-2.5 cursor-pointer"
|
|
144
145
|
};
|
|
145
146
|
const dynamicBreadcrumb = [
|
|
146
147
|
// states
|
|
@@ -745,8 +746,7 @@ const staticSelect = {
|
|
|
745
746
|
"select-trigger-warning-icon": "i-warning",
|
|
746
747
|
// components
|
|
747
748
|
"select-root": "",
|
|
748
|
-
"select-trigger": "w-full",
|
|
749
|
-
// [&>span]:line-clamp-1
|
|
749
|
+
"select-trigger": "w-full [&>span]:truncate",
|
|
750
750
|
"select-trigger-trailing-icon": "i-lucide-chevrons-up-down !text-1.042em",
|
|
751
751
|
"select-trigger-trailing": "ml-auto",
|
|
752
752
|
"select-trigger-leading": "",
|
|
@@ -955,7 +955,7 @@ const tabs = [
|
|
|
955
955
|
|
|
956
956
|
const staticToast = {
|
|
957
957
|
// config
|
|
958
|
-
"toast": "pointer-events-auto relative flex w-full
|
|
958
|
+
"toast": "pointer-events-auto relative flex w-full space-x-2 justify-end overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all ",
|
|
959
959
|
"toast-viewport": "fixed top-0 z-100 flex max-h-screen gap-y-4 w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-420px",
|
|
960
960
|
"toast-wrapper": "w-0 flex flex-1 flex-col gap-2",
|
|
961
961
|
"toast-title": "text-sm font-semibold [&+div]:text-xs",
|
package/dist/shortcuts.mjs
CHANGED
|
@@ -131,14 +131,15 @@ const staticBreadcrumb = {
|
|
|
131
131
|
"breadcrumb-active": "breadcrumb-active-text-primary",
|
|
132
132
|
"breadcrumb-inactive": "breadcrumb-inactive-text-muted",
|
|
133
133
|
"breadcrumb-separator-icon": "i-radix-icons-chevron-right",
|
|
134
|
-
"breadcrumb-
|
|
134
|
+
"breadcrumb-ellipsis-icon": "i-radix-icons-dots-horizontal",
|
|
135
135
|
// components
|
|
136
136
|
"breadcrumb-root": "",
|
|
137
137
|
"breadcrumb-list": "flex flex-wrap items-center break-words text-muted",
|
|
138
|
-
"breadcrumb-link": "transition-colors font-normal",
|
|
138
|
+
"breadcrumb-link": "transition-colors font-normal px-1.5 sm:px-2.5",
|
|
139
139
|
"breadcrumb-item": "inline-flex items-center gap-1.5",
|
|
140
|
+
"breadcrumb-separator": "flex",
|
|
140
141
|
// TODO
|
|
141
|
-
"breadcrumb-ellipsis": "flex items-center justify-center"
|
|
142
|
+
"breadcrumb-ellipsis": "flex items-center justify-center px-1.5 sm:px-2.5 cursor-pointer"
|
|
142
143
|
};
|
|
143
144
|
const dynamicBreadcrumb = [
|
|
144
145
|
// states
|
|
@@ -743,8 +744,7 @@ const staticSelect = {
|
|
|
743
744
|
"select-trigger-warning-icon": "i-warning",
|
|
744
745
|
// components
|
|
745
746
|
"select-root": "",
|
|
746
|
-
"select-trigger": "w-full",
|
|
747
|
-
// [&>span]:line-clamp-1
|
|
747
|
+
"select-trigger": "w-full [&>span]:truncate",
|
|
748
748
|
"select-trigger-trailing-icon": "i-lucide-chevrons-up-down !text-1.042em",
|
|
749
749
|
"select-trigger-trailing": "ml-auto",
|
|
750
750
|
"select-trigger-leading": "",
|
|
@@ -953,7 +953,7 @@ const tabs = [
|
|
|
953
953
|
|
|
954
954
|
const staticToast = {
|
|
955
955
|
// config
|
|
956
|
-
"toast": "pointer-events-auto relative flex w-full
|
|
956
|
+
"toast": "pointer-events-auto relative flex w-full space-x-2 justify-end overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all ",
|
|
957
957
|
"toast-viewport": "fixed top-0 z-100 flex max-h-screen gap-y-4 w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-420px",
|
|
958
958
|
"toast-wrapper": "w-0 flex flex-1 flex-col gap-2",
|
|
959
959
|
"toast-title": "text-sm font-semibold [&+div]:text-xs",
|