@una-ui/preset 0.30.0-beta.1 â 0.31.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/README.md +5 -5
- package/dist/shortcuts.cjs +12 -12
- package/dist/shortcuts.mjs +12 -12
- package/package.json +1 -1
- package/una.css +5 -5
package/README.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
## ðïļ Release Status
|
|
7
7
|
|
|
8
|
-
| Branch
|
|
9
|
-
|
|
|
10
|
-
| Main (Edge) | [![npm-edge][npm-edge-src]][npm-edge-href]
|
|
11
|
-
| Release
|
|
8
|
+
| Branch | Version | Status | Downloads |
|
|
9
|
+
| ----------- | --------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
10
|
+
| Main (Edge) | [![npm-edge][npm-edge-src]][npm-edge-href] | [![github-status][github-status-src-main]][github-status-href-main] | [![npm-edge-downloads][npm-edge-downloads-src]][npm-edge-downloads-href] |
|
|
11
|
+
| Release | [![npm-version][npm-version-src]][npm-version-href] | [![github-status][github-status-src-release]][github-status-href-release] | [![npm-downloads][npm-downloads-src]][npm-downloads-href] |
|
|
12
12
|
|
|
13
13
|
## ð Documentation
|
|
14
14
|
|
|
@@ -32,7 +32,7 @@ Visit https://www.unaui.com for full documentation.
|
|
|
32
32
|
|
|
33
33
|
## ðŠī Project Activity
|
|
34
34
|
|
|
35
|
-

|
|
36
36
|
|
|
37
37
|
## ðĻâðŧ Contributors
|
|
38
38
|
|
package/dist/shortcuts.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const presetMini = require('@unocss/preset-mini');
|
|
|
5
5
|
|
|
6
6
|
const staticAccordion = {
|
|
7
7
|
// config
|
|
8
|
-
"accordion-trailing-icon": "i-
|
|
8
|
+
"accordion-trailing-icon": "i-lucide-chevron-up",
|
|
9
9
|
"accordion-button-padding": "p-(x-3 y-4)",
|
|
10
10
|
"accordion-button-default-variant": "btn-text",
|
|
11
11
|
"accordion-divider": "divide-(y base)",
|
|
@@ -334,25 +334,25 @@ const dropdowMenu = [
|
|
|
334
334
|
|
|
335
335
|
const staticFormGroup = {
|
|
336
336
|
// base
|
|
337
|
-
"form-group": "space-y-2
|
|
338
|
-
"form-group-description": "text-
|
|
339
|
-
"form-group-hint": "text-sm
|
|
340
|
-
"form-group-message": "text-
|
|
337
|
+
"form-group": "space-y-2",
|
|
338
|
+
"form-group-description": "text-0.8rem text-muted",
|
|
339
|
+
"form-group-hint": "text-sm text-muted",
|
|
340
|
+
"form-group-message": "text-0.8em transition-all duration-1000 ease-in-out",
|
|
341
341
|
// wrappers
|
|
342
|
-
"form-group-top-wrapper": "flex flex-col",
|
|
342
|
+
"form-group-top-wrapper": "flex flex-col space-y-1.5",
|
|
343
343
|
"form-group-top-wrapper-inner": "flex justify-between items-end space-x-1.5",
|
|
344
344
|
"form-group-bottom-wrapper": "flex space-x-1.5 justify-between items-start",
|
|
345
345
|
"form-group-message-wrapper": "",
|
|
346
346
|
// label
|
|
347
347
|
"form-group-label-wrapper": "flex",
|
|
348
|
-
"form-group-label": "block
|
|
348
|
+
"form-group-label": "block label-base",
|
|
349
349
|
"form-group-label-required": "after:content-['*'] after:ms-0.5 after:text-error",
|
|
350
350
|
// counter
|
|
351
|
-
"form-group-counter-wrapper": "text-
|
|
351
|
+
"form-group-counter-wrapper": "text-0.8em",
|
|
352
352
|
"form-group-counter-error": "text-error",
|
|
353
|
-
"form-group-counter-current": "text
|
|
354
|
-
"form-group-counter-separator": "text
|
|
355
|
-
"form-group-counter-max": "text
|
|
353
|
+
"form-group-counter-current": "text-accent",
|
|
354
|
+
"form-group-counter-separator": "text-muted",
|
|
355
|
+
"form-group-counter-max": "text-muted"
|
|
356
356
|
};
|
|
357
357
|
const formGroup = [
|
|
358
358
|
staticFormGroup
|
|
@@ -678,7 +678,7 @@ const radio = [
|
|
|
678
678
|
|
|
679
679
|
const staticRadioGroup = {
|
|
680
680
|
// configurations
|
|
681
|
-
"radio-group": "gap-2 flex flex-
|
|
681
|
+
"radio-group": "gap-2 flex flex-wrap",
|
|
682
682
|
"radio-group-orientation-vertical": "flex-col",
|
|
683
683
|
"radio-group-orientation-horizontal": "flex-row",
|
|
684
684
|
// components
|
package/dist/shortcuts.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { parseColor as parseColor$1 } from '@unocss/preset-mini';
|
|
|
3
3
|
|
|
4
4
|
const staticAccordion = {
|
|
5
5
|
// config
|
|
6
|
-
"accordion-trailing-icon": "i-
|
|
6
|
+
"accordion-trailing-icon": "i-lucide-chevron-up",
|
|
7
7
|
"accordion-button-padding": "p-(x-3 y-4)",
|
|
8
8
|
"accordion-button-default-variant": "btn-text",
|
|
9
9
|
"accordion-divider": "divide-(y base)",
|
|
@@ -332,25 +332,25 @@ const dropdowMenu = [
|
|
|
332
332
|
|
|
333
333
|
const staticFormGroup = {
|
|
334
334
|
// base
|
|
335
|
-
"form-group": "space-y-2
|
|
336
|
-
"form-group-description": "text-
|
|
337
|
-
"form-group-hint": "text-sm
|
|
338
|
-
"form-group-message": "text-
|
|
335
|
+
"form-group": "space-y-2",
|
|
336
|
+
"form-group-description": "text-0.8rem text-muted",
|
|
337
|
+
"form-group-hint": "text-sm text-muted",
|
|
338
|
+
"form-group-message": "text-0.8em transition-all duration-1000 ease-in-out",
|
|
339
339
|
// wrappers
|
|
340
|
-
"form-group-top-wrapper": "flex flex-col",
|
|
340
|
+
"form-group-top-wrapper": "flex flex-col space-y-1.5",
|
|
341
341
|
"form-group-top-wrapper-inner": "flex justify-between items-end space-x-1.5",
|
|
342
342
|
"form-group-bottom-wrapper": "flex space-x-1.5 justify-between items-start",
|
|
343
343
|
"form-group-message-wrapper": "",
|
|
344
344
|
// label
|
|
345
345
|
"form-group-label-wrapper": "flex",
|
|
346
|
-
"form-group-label": "block
|
|
346
|
+
"form-group-label": "block label-base",
|
|
347
347
|
"form-group-label-required": "after:content-['*'] after:ms-0.5 after:text-error",
|
|
348
348
|
// counter
|
|
349
|
-
"form-group-counter-wrapper": "text-
|
|
349
|
+
"form-group-counter-wrapper": "text-0.8em",
|
|
350
350
|
"form-group-counter-error": "text-error",
|
|
351
|
-
"form-group-counter-current": "text
|
|
352
|
-
"form-group-counter-separator": "text
|
|
353
|
-
"form-group-counter-max": "text
|
|
351
|
+
"form-group-counter-current": "text-accent",
|
|
352
|
+
"form-group-counter-separator": "text-muted",
|
|
353
|
+
"form-group-counter-max": "text-muted"
|
|
354
354
|
};
|
|
355
355
|
const formGroup = [
|
|
356
356
|
staticFormGroup
|
|
@@ -676,7 +676,7 @@ const radio = [
|
|
|
676
676
|
|
|
677
677
|
const staticRadioGroup = {
|
|
678
678
|
// configurations
|
|
679
|
-
"radio-group": "gap-2 flex flex-
|
|
679
|
+
"radio-group": "gap-2 flex flex-wrap",
|
|
680
680
|
"radio-group-orientation-vertical": "flex-col",
|
|
681
681
|
"radio-group-orientation-horizontal": "flex-row",
|
|
682
682
|
// components
|
package/package.json
CHANGED
package/una.css
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
--c-popover: rgb(255, 255, 255);
|
|
76
76
|
--c-popover-foreground: rgb(var(--una-gray-950));
|
|
77
77
|
--c-border: rgb(var(--una-gray-200));
|
|
78
|
-
--c-border-foreground: rgba(var(--una-gray-700), .58);
|
|
78
|
+
--c-border-foreground: rgba(var(--una-gray-700), 0.58);
|
|
79
79
|
--c-ring: rgb(var(--una-gray-200));
|
|
80
80
|
--c-divider: rgb(var(--una-gray-200));
|
|
81
81
|
--c-bg-selection: rgba(var(--una-primary-600), 0.2);
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
--c-accent: rgb(var(--una-gray-800));
|
|
98
98
|
--c-accent-foreground: rgb(var(--una-gray-100));
|
|
99
99
|
--c-popover: rgb(var(--una-gray-950));
|
|
100
|
-
--c-popover-foreground: rgb(255,255,255);
|
|
101
|
-
--c-border: rgba(var(--una-gray-700), .58);
|
|
100
|
+
--c-popover-foreground: rgb(255, 255, 255);
|
|
101
|
+
--c-border: rgba(var(--una-gray-700), 0.58);
|
|
102
102
|
--c-border-foreground: rgb(var(--una-gray-200));
|
|
103
|
-
--c-ring: rgba(var(--una-gray-700), .58);
|
|
104
|
-
--c-divider: rgba(var(--una-gray-700), .58);
|
|
103
|
+
--c-ring: rgba(var(--una-gray-700), 0.58);
|
|
104
|
+
--c-divider: rgba(var(--una-gray-700), 0.58);
|
|
105
105
|
--c-bg-selection: rgba(var(--una-primary-500), 0.2);
|
|
106
106
|
}
|
|
107
107
|
|