@una-ui/preset 0.23.0-beta.1 → 0.24.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 +10 -8
- package/dist/shortcuts.mjs +10 -8
- package/package.json +1 -1
package/dist/shortcuts.cjs
CHANGED
|
@@ -135,11 +135,11 @@ const staticBreadcrumb = {
|
|
|
135
135
|
"breadcrumb-elipsis-icon": "i-radix-icons-dots-horizontal",
|
|
136
136
|
// components
|
|
137
137
|
"breadcrumb-root": "",
|
|
138
|
-
"breadcrumb-list": "flex flex-wrap items-center break-words text-muted
|
|
139
|
-
"breadcrumb-link": "transition-colors font-normal
|
|
140
|
-
"breadcrumb-item": "inline-flex items-center",
|
|
138
|
+
"breadcrumb-list": "flex flex-wrap items-center break-words text-muted",
|
|
139
|
+
"breadcrumb-link": "transition-colors font-normal",
|
|
140
|
+
"breadcrumb-item": "inline-flex items-center gap-1.5",
|
|
141
141
|
// TODO
|
|
142
|
-
"breadcrumb-ellipsis": "flex
|
|
142
|
+
"breadcrumb-ellipsis": "flex items-center justify-center"
|
|
143
143
|
};
|
|
144
144
|
const dynamicBreadcrumb = [
|
|
145
145
|
// states
|
|
@@ -163,7 +163,7 @@ const staticBtn = {
|
|
|
163
163
|
"btn-loading-icon": "i-loading",
|
|
164
164
|
"btn-default-radius": "rounded-md",
|
|
165
165
|
// base
|
|
166
|
-
"btn": "btn-rectangle px-
|
|
166
|
+
"btn": "btn-rectangle px-1em py-0.5em bg-transparent transition-colors text-0.875em leading-5 gap-x-0.5em rounded-md whitespace-nowrap inline-flex justify-center items-center btn-disabled font-medium cursor-pointer",
|
|
167
167
|
"btn-disabled": "disabled:n-disabled",
|
|
168
168
|
"btn-label": "",
|
|
169
169
|
"btn-icon-label": "text-1.191em",
|
|
@@ -331,7 +331,7 @@ const staticGeneral = {
|
|
|
331
331
|
"text-inverted": "text-$c-background",
|
|
332
332
|
"text-muted": "text-$c-muted-foreground",
|
|
333
333
|
"text-accent": "text-$c-accent-foreground",
|
|
334
|
-
"text-accent-
|
|
334
|
+
"text-accent-foreground": "text-$c-accent",
|
|
335
335
|
"text-popover": "text-$c-popover-foreground",
|
|
336
336
|
"text-popover-foreground": "text-$c-popover",
|
|
337
337
|
"text-info": "text-info-500 dark:text-info-400",
|
|
@@ -366,7 +366,9 @@ const staticGeneral = {
|
|
|
366
366
|
"i-dot": "i-tabler-circle-filled",
|
|
367
367
|
"i-check": "i-lucide-check",
|
|
368
368
|
// transition
|
|
369
|
-
"transition-base": "transition-all duration-100 ease-out"
|
|
369
|
+
"transition-base": "transition-all duration-100 ease-out",
|
|
370
|
+
// overrides
|
|
371
|
+
"square-false": ""
|
|
370
372
|
};
|
|
371
373
|
const dynamicGeneral = [
|
|
372
374
|
// TODO: una-text-<color><-number><-number>
|
|
@@ -429,7 +431,7 @@ const staticInput = {
|
|
|
429
431
|
"input-leading-padding": "pl-2.9em",
|
|
430
432
|
"input-trailing-padding": "pr-2.9em",
|
|
431
433
|
// base
|
|
432
|
-
"input": "text-0.875em leading-6 px-0.8571428571428571em py-0.
|
|
434
|
+
"input": "text-0.875em leading-6 px-0.8571428571428571em py-0.5em w-full input-disabled ring-base ring-inset placeholder:text-$c-gray-400 block outline-none rounded-md border-0 shadow-sm bg-transparent",
|
|
433
435
|
"input-disabled": "disabled:(n-disabled)",
|
|
434
436
|
"input-status-ring": "ring-opacity-50 dark:ring-opacity-40",
|
|
435
437
|
"input-status-icon-base": "text-1.042em",
|
package/dist/shortcuts.mjs
CHANGED
|
@@ -133,11 +133,11 @@ const staticBreadcrumb = {
|
|
|
133
133
|
"breadcrumb-elipsis-icon": "i-radix-icons-dots-horizontal",
|
|
134
134
|
// components
|
|
135
135
|
"breadcrumb-root": "",
|
|
136
|
-
"breadcrumb-list": "flex flex-wrap items-center break-words text-muted
|
|
137
|
-
"breadcrumb-link": "transition-colors font-normal
|
|
138
|
-
"breadcrumb-item": "inline-flex items-center",
|
|
136
|
+
"breadcrumb-list": "flex flex-wrap items-center break-words text-muted",
|
|
137
|
+
"breadcrumb-link": "transition-colors font-normal",
|
|
138
|
+
"breadcrumb-item": "inline-flex items-center gap-1.5",
|
|
139
139
|
// TODO
|
|
140
|
-
"breadcrumb-ellipsis": "flex
|
|
140
|
+
"breadcrumb-ellipsis": "flex items-center justify-center"
|
|
141
141
|
};
|
|
142
142
|
const dynamicBreadcrumb = [
|
|
143
143
|
// states
|
|
@@ -161,7 +161,7 @@ const staticBtn = {
|
|
|
161
161
|
"btn-loading-icon": "i-loading",
|
|
162
162
|
"btn-default-radius": "rounded-md",
|
|
163
163
|
// base
|
|
164
|
-
"btn": "btn-rectangle px-
|
|
164
|
+
"btn": "btn-rectangle px-1em py-0.5em bg-transparent transition-colors text-0.875em leading-5 gap-x-0.5em rounded-md whitespace-nowrap inline-flex justify-center items-center btn-disabled font-medium cursor-pointer",
|
|
165
165
|
"btn-disabled": "disabled:n-disabled",
|
|
166
166
|
"btn-label": "",
|
|
167
167
|
"btn-icon-label": "text-1.191em",
|
|
@@ -329,7 +329,7 @@ const staticGeneral = {
|
|
|
329
329
|
"text-inverted": "text-$c-background",
|
|
330
330
|
"text-muted": "text-$c-muted-foreground",
|
|
331
331
|
"text-accent": "text-$c-accent-foreground",
|
|
332
|
-
"text-accent-
|
|
332
|
+
"text-accent-foreground": "text-$c-accent",
|
|
333
333
|
"text-popover": "text-$c-popover-foreground",
|
|
334
334
|
"text-popover-foreground": "text-$c-popover",
|
|
335
335
|
"text-info": "text-info-500 dark:text-info-400",
|
|
@@ -364,7 +364,9 @@ const staticGeneral = {
|
|
|
364
364
|
"i-dot": "i-tabler-circle-filled",
|
|
365
365
|
"i-check": "i-lucide-check",
|
|
366
366
|
// transition
|
|
367
|
-
"transition-base": "transition-all duration-100 ease-out"
|
|
367
|
+
"transition-base": "transition-all duration-100 ease-out",
|
|
368
|
+
// overrides
|
|
369
|
+
"square-false": ""
|
|
368
370
|
};
|
|
369
371
|
const dynamicGeneral = [
|
|
370
372
|
// TODO: una-text-<color><-number><-number>
|
|
@@ -427,7 +429,7 @@ const staticInput = {
|
|
|
427
429
|
"input-leading-padding": "pl-2.9em",
|
|
428
430
|
"input-trailing-padding": "pr-2.9em",
|
|
429
431
|
// base
|
|
430
|
-
"input": "text-0.875em leading-6 px-0.8571428571428571em py-0.
|
|
432
|
+
"input": "text-0.875em leading-6 px-0.8571428571428571em py-0.5em w-full input-disabled ring-base ring-inset placeholder:text-$c-gray-400 block outline-none rounded-md border-0 shadow-sm bg-transparent",
|
|
431
433
|
"input-disabled": "disabled:(n-disabled)",
|
|
432
434
|
"input-status-ring": "ring-opacity-50 dark:ring-opacity-40",
|
|
433
435
|
"input-status-icon-base": "text-1.042em",
|