@una-ui/preset 0.41.1-beta.1 → 0.42.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/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const colors = require('@unocss/preset-mini/colors');
|
|
|
5
5
|
const rules = require('@unocss/preset-mini/rules');
|
|
6
6
|
const utils = require('@unocss/preset-mini/utils');
|
|
7
7
|
const unocss = require('unocss');
|
|
8
|
-
const index = require('./shared/preset.
|
|
8
|
+
const index = require('./shared/preset.ajO7qeo0.cjs');
|
|
9
9
|
|
|
10
10
|
function presetUna(options = {
|
|
11
11
|
// TODO: add options
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { colors } from '@unocss/preset-mini/colors';
|
|
|
3
3
|
import { fonts } from '@unocss/preset-mini/rules';
|
|
4
4
|
import { handler, parseColor } from '@unocss/preset-mini/utils';
|
|
5
5
|
import { mergeDeep } from 'unocss';
|
|
6
|
-
import { s as shortcuts } from './shared/preset.
|
|
6
|
+
import { s as shortcuts } from './shared/preset.DrYcFChb.mjs';
|
|
7
7
|
|
|
8
8
|
function presetUna(options = {
|
|
9
9
|
// TODO: add options
|
|
@@ -163,15 +163,15 @@ const staticBtn = {
|
|
|
163
163
|
"btn-loading-icon": "i-loading",
|
|
164
164
|
"btn-default-radius": "rounded-md",
|
|
165
165
|
// base
|
|
166
|
-
"btn": "btn-rectangle
|
|
166
|
+
"btn": "btn-rectangle bg-transparent transition-colors leading-1.4285714285714286em gap-x-0.5714285714285714em rounded-md whitespace-nowrap inline-flex justify-center items-center btn-disabled font-medium",
|
|
167
167
|
"btn-disabled": "disabled:n-disabled",
|
|
168
168
|
"btn-label": "",
|
|
169
169
|
"btn-icon-label": "square-1.1428571428571428em",
|
|
170
170
|
"btn-leading": "size-1.1428571428571428em",
|
|
171
171
|
"btn-trailing": "size-1.1428571428571428em",
|
|
172
172
|
"btn-loading": "animate-spin size-1.1428571428571428em",
|
|
173
|
-
"btn-rectangle": "h-2.5714285714285716em",
|
|
174
|
-
"btn-square": "square-2.5714285714285716em",
|
|
173
|
+
"btn-rectangle": "h-2.5714285714285716em px-1.1428571428571428em py-0.5714285714285714em",
|
|
174
|
+
"btn-square": "square-2.5714285714285716em p-0",
|
|
175
175
|
// options
|
|
176
176
|
"btn-block": "w-full",
|
|
177
177
|
"btn-reverse": "flex-row-reverse",
|
|
@@ -304,7 +304,7 @@ const staticDropdownMenu = {
|
|
|
304
304
|
// dropdown-menu-content
|
|
305
305
|
"dropdown-menu-content": "z-50 min-w-32 overflow-hidden rounded-md border border-base bg-popover p-1 text-popover shadow-md",
|
|
306
306
|
// dropdown-menu-item
|
|
307
|
-
"dropdown-menu-item-base": "text-left transition-color focus-visible:outline-0",
|
|
307
|
+
"dropdown-menu-item-base": "text-left transition-color focus-visible:outline-0 select-none",
|
|
308
308
|
"dropdown-menu-item-leading": "text-1em",
|
|
309
309
|
"dropdown-menu-item-trailing": "ml-auto opacity-75 text-1em",
|
|
310
310
|
// dropdown-menu-label
|
|
@@ -317,7 +317,7 @@ const staticDropdownMenu = {
|
|
|
317
317
|
// dropdown-menu-group
|
|
318
318
|
"dropdown-menu-group": "",
|
|
319
319
|
// dropdown-menu-sub
|
|
320
|
-
"dropdown-menu-sub-trigger": "transition-color focus-visible:outline-0",
|
|
320
|
+
"dropdown-menu-sub-trigger": "transition-color focus-visible:outline-0 select-none",
|
|
321
321
|
"dropdown-menu-sub-trigger-leading": "text-1em",
|
|
322
322
|
"dropdown-menu-sub-trigger-trailing": "ml-auto opacity-75 text-1em",
|
|
323
323
|
"dropdown-menu-sub-trigger-trailing-icon": "i-lucide-chevron-right",
|
|
@@ -573,8 +573,8 @@ const staticPagination = {
|
|
|
573
573
|
// components
|
|
574
574
|
"pagination-root": "",
|
|
575
575
|
"pagination-list-item": "pagination",
|
|
576
|
-
"pagination-ellipsis-base": "btn flex items-center justify-center",
|
|
577
|
-
"pagination-ellipsis-icon-base": "
|
|
576
|
+
"pagination-ellipsis-base": "btn-(~ square) flex items-center justify-center",
|
|
577
|
+
"pagination-ellipsis-icon-base": "square-1.25em",
|
|
578
578
|
"pagination-ellipsis-icon": "i-lucide-ellipsis",
|
|
579
579
|
"pagination-first": "pagination",
|
|
580
580
|
"pagination-first-icon": "i-lucide-chevrons-left",
|
|
@@ -165,15 +165,15 @@ const staticBtn = {
|
|
|
165
165
|
"btn-loading-icon": "i-loading",
|
|
166
166
|
"btn-default-radius": "rounded-md",
|
|
167
167
|
// base
|
|
168
|
-
"btn": "btn-rectangle
|
|
168
|
+
"btn": "btn-rectangle bg-transparent transition-colors leading-1.4285714285714286em gap-x-0.5714285714285714em rounded-md whitespace-nowrap inline-flex justify-center items-center btn-disabled font-medium",
|
|
169
169
|
"btn-disabled": "disabled:n-disabled",
|
|
170
170
|
"btn-label": "",
|
|
171
171
|
"btn-icon-label": "square-1.1428571428571428em",
|
|
172
172
|
"btn-leading": "size-1.1428571428571428em",
|
|
173
173
|
"btn-trailing": "size-1.1428571428571428em",
|
|
174
174
|
"btn-loading": "animate-spin size-1.1428571428571428em",
|
|
175
|
-
"btn-rectangle": "h-2.5714285714285716em",
|
|
176
|
-
"btn-square": "square-2.5714285714285716em",
|
|
175
|
+
"btn-rectangle": "h-2.5714285714285716em px-1.1428571428571428em py-0.5714285714285714em",
|
|
176
|
+
"btn-square": "square-2.5714285714285716em p-0",
|
|
177
177
|
// options
|
|
178
178
|
"btn-block": "w-full",
|
|
179
179
|
"btn-reverse": "flex-row-reverse",
|
|
@@ -306,7 +306,7 @@ const staticDropdownMenu = {
|
|
|
306
306
|
// dropdown-menu-content
|
|
307
307
|
"dropdown-menu-content": "z-50 min-w-32 overflow-hidden rounded-md border border-base bg-popover p-1 text-popover shadow-md",
|
|
308
308
|
// dropdown-menu-item
|
|
309
|
-
"dropdown-menu-item-base": "text-left transition-color focus-visible:outline-0",
|
|
309
|
+
"dropdown-menu-item-base": "text-left transition-color focus-visible:outline-0 select-none",
|
|
310
310
|
"dropdown-menu-item-leading": "text-1em",
|
|
311
311
|
"dropdown-menu-item-trailing": "ml-auto opacity-75 text-1em",
|
|
312
312
|
// dropdown-menu-label
|
|
@@ -319,7 +319,7 @@ const staticDropdownMenu = {
|
|
|
319
319
|
// dropdown-menu-group
|
|
320
320
|
"dropdown-menu-group": "",
|
|
321
321
|
// dropdown-menu-sub
|
|
322
|
-
"dropdown-menu-sub-trigger": "transition-color focus-visible:outline-0",
|
|
322
|
+
"dropdown-menu-sub-trigger": "transition-color focus-visible:outline-0 select-none",
|
|
323
323
|
"dropdown-menu-sub-trigger-leading": "text-1em",
|
|
324
324
|
"dropdown-menu-sub-trigger-trailing": "ml-auto opacity-75 text-1em",
|
|
325
325
|
"dropdown-menu-sub-trigger-trailing-icon": "i-lucide-chevron-right",
|
|
@@ -575,8 +575,8 @@ const staticPagination = {
|
|
|
575
575
|
// components
|
|
576
576
|
"pagination-root": "",
|
|
577
577
|
"pagination-list-item": "pagination",
|
|
578
|
-
"pagination-ellipsis-base": "btn flex items-center justify-center",
|
|
579
|
-
"pagination-ellipsis-icon-base": "
|
|
578
|
+
"pagination-ellipsis-base": "btn-(~ square) flex items-center justify-center",
|
|
579
|
+
"pagination-ellipsis-icon-base": "square-1.25em",
|
|
580
580
|
"pagination-ellipsis-icon": "i-lucide-ellipsis",
|
|
581
581
|
"pagination-first": "pagination",
|
|
582
582
|
"pagination-first-icon": "i-lucide-chevrons-left",
|
package/dist/shortcuts.cjs
CHANGED
package/dist/shortcuts.mjs
CHANGED