@una-ui/preset-edge 0.51.6-29100067.03ee219 → 0.51.6-29101970.623926c
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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{preset-edge.DM-43rOJ.mjs → preset-edge.Cqse67pQ.mjs} +9 -9
- package/dist/shared/{preset-edge.DhBkhJfF.cjs → preset-edge.dESPkp79.cjs} +9 -9
- package/dist/shortcuts.cjs +1 -1
- package/dist/shortcuts.mjs +1 -1
- package/package.json +1 -1
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-edge.
|
|
8
|
+
const index = require('./shared/preset-edge.dESPkp79.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-edge.
|
|
6
|
+
import { s as shortcuts } from './shared/preset-edge.Cqse67pQ.mjs';
|
|
7
7
|
|
|
8
8
|
function presetUna(options = {
|
|
9
9
|
// TODO: add options
|
|
@@ -503,8 +503,8 @@ const staticInput = {
|
|
|
503
503
|
"input-error-icon": "i-error",
|
|
504
504
|
"input-success-icon": "i-success",
|
|
505
505
|
"input-warning-icon": "i-warning",
|
|
506
|
-
"input-leading-padding": "pl-2.
|
|
507
|
-
"input-trailing-padding": "pr-2.
|
|
506
|
+
"input-leading-padding": "pl-2.5714285714285716em",
|
|
507
|
+
"input-trailing-padding": "pr-2.5714285714285716em",
|
|
508
508
|
// base
|
|
509
509
|
"input": "text-base text-0.875em leading-1.4285714285714286em px-0.8571428571428571em w-full focus-visible:outline-none input-disabled placeholder:text-muted block rounded-md shadow-sm bg-transparent transition-colors file:border-0 file:bg-transparent file:text-0.875em file:font-medium",
|
|
510
510
|
"input-input": "h-2.5714285714285716em py-0.2857142857142857em",
|
|
@@ -513,14 +513,14 @@ const staticInput = {
|
|
|
513
513
|
// role='textarea'
|
|
514
514
|
"input-disabled": "disabled:(n-disabled)",
|
|
515
515
|
"input-status-ring": "ring-opacity-50 dark:ring-opacity-40",
|
|
516
|
-
"input-status-icon-base": "
|
|
517
|
-
"input-leading": "
|
|
518
|
-
"input-trailing": "
|
|
519
|
-
"input-loading": "animate-spin
|
|
516
|
+
"input-status-icon-base": "square-1em",
|
|
517
|
+
"input-leading": "square-1em",
|
|
518
|
+
"input-trailing": "square-1em",
|
|
519
|
+
"input-loading": "animate-spin square-1em",
|
|
520
520
|
// wrappers
|
|
521
521
|
"input-wrapper": "relative flex items-center",
|
|
522
|
-
"input-leading-wrapper": "pointer-events-none absolute inset-y-0
|
|
523
|
-
"input-trailing-wrapper": "pointer-events-none absolute inset-y-0
|
|
522
|
+
"input-leading-wrapper": "pointer-events-none absolute inset-y-0 start-0 flex items-center px-0.8571428571428571em text-muted",
|
|
523
|
+
"input-trailing-wrapper": "pointer-events-none absolute inset-y-0 end-0 flex items-center px-0.8571428571428571em text-muted",
|
|
524
524
|
// variants
|
|
525
525
|
"input-outline-gray": "border border-input focus-visible:ring-input focus-visible:ring-1",
|
|
526
526
|
"input-outline-black": "border border-input focus:ring-$c-foreground focus-visible:ring-1"
|
|
@@ -750,7 +750,7 @@ const staticSelect = {
|
|
|
750
750
|
// components
|
|
751
751
|
"select-trigger": "px-0.8571428571428571em w-full [&>span]:truncate",
|
|
752
752
|
"select-trigger-trailing-icon": "i-lucide-chevron-down",
|
|
753
|
-
"select-trigger-trailing": "size-1.
|
|
753
|
+
"select-trigger-trailing": "size-1.1428571428571428em data-[status=error]:text-error data-[status=success]:text-success data-[status=warning]:text-warning data-[status=info]:text-info data-[status=default]:(n-disabled size-1.1428571428571428em) rtl:mr-auto ltr:ml-auto",
|
|
754
754
|
"select-trigger-leading": "size-1.1428571428571428em",
|
|
755
755
|
"select-value": "text-1em data-[status=error]:text-error-active data-[status=success]:text-success-active data-[status=warning]:text-warning-active data-[status=info]:text-info-active data-[placeholder]:n-disabled",
|
|
756
756
|
"select-content": "relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border border-base bg-popover text-popover shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
@@ -505,8 +505,8 @@ const staticInput = {
|
|
|
505
505
|
"input-error-icon": "i-error",
|
|
506
506
|
"input-success-icon": "i-success",
|
|
507
507
|
"input-warning-icon": "i-warning",
|
|
508
|
-
"input-leading-padding": "pl-2.
|
|
509
|
-
"input-trailing-padding": "pr-2.
|
|
508
|
+
"input-leading-padding": "pl-2.5714285714285716em",
|
|
509
|
+
"input-trailing-padding": "pr-2.5714285714285716em",
|
|
510
510
|
// base
|
|
511
511
|
"input": "text-base text-0.875em leading-1.4285714285714286em px-0.8571428571428571em w-full focus-visible:outline-none input-disabled placeholder:text-muted block rounded-md shadow-sm bg-transparent transition-colors file:border-0 file:bg-transparent file:text-0.875em file:font-medium",
|
|
512
512
|
"input-input": "h-2.5714285714285716em py-0.2857142857142857em",
|
|
@@ -515,14 +515,14 @@ const staticInput = {
|
|
|
515
515
|
// role='textarea'
|
|
516
516
|
"input-disabled": "disabled:(n-disabled)",
|
|
517
517
|
"input-status-ring": "ring-opacity-50 dark:ring-opacity-40",
|
|
518
|
-
"input-status-icon-base": "
|
|
519
|
-
"input-leading": "
|
|
520
|
-
"input-trailing": "
|
|
521
|
-
"input-loading": "animate-spin
|
|
518
|
+
"input-status-icon-base": "square-1em",
|
|
519
|
+
"input-leading": "square-1em",
|
|
520
|
+
"input-trailing": "square-1em",
|
|
521
|
+
"input-loading": "animate-spin square-1em",
|
|
522
522
|
// wrappers
|
|
523
523
|
"input-wrapper": "relative flex items-center",
|
|
524
|
-
"input-leading-wrapper": "pointer-events-none absolute inset-y-0
|
|
525
|
-
"input-trailing-wrapper": "pointer-events-none absolute inset-y-0
|
|
524
|
+
"input-leading-wrapper": "pointer-events-none absolute inset-y-0 start-0 flex items-center px-0.8571428571428571em text-muted",
|
|
525
|
+
"input-trailing-wrapper": "pointer-events-none absolute inset-y-0 end-0 flex items-center px-0.8571428571428571em text-muted",
|
|
526
526
|
// variants
|
|
527
527
|
"input-outline-gray": "border border-input focus-visible:ring-input focus-visible:ring-1",
|
|
528
528
|
"input-outline-black": "border border-input focus:ring-$c-foreground focus-visible:ring-1"
|
|
@@ -752,7 +752,7 @@ const staticSelect = {
|
|
|
752
752
|
// components
|
|
753
753
|
"select-trigger": "px-0.8571428571428571em w-full [&>span]:truncate",
|
|
754
754
|
"select-trigger-trailing-icon": "i-lucide-chevron-down",
|
|
755
|
-
"select-trigger-trailing": "size-1.
|
|
755
|
+
"select-trigger-trailing": "size-1.1428571428571428em data-[status=error]:text-error data-[status=success]:text-success data-[status=warning]:text-warning data-[status=info]:text-info data-[status=default]:(n-disabled size-1.1428571428571428em) rtl:mr-auto ltr:ml-auto",
|
|
756
756
|
"select-trigger-leading": "size-1.1428571428571428em",
|
|
757
757
|
"select-value": "text-1em data-[status=error]:text-error-active data-[status=success]:text-success-active data-[status=warning]:text-warning-active data-[status=info]:text-info-active data-[placeholder]:n-disabled",
|
|
758
758
|
"select-content": "relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border border-base bg-popover text-popover shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
package/dist/shortcuts.cjs
CHANGED
package/dist/shortcuts.mjs
CHANGED