@una-ui/preset-edge 1.0.0-alpha.0-29174779.f2c990f → 1.0.0-alpha.0-29174783.ab64a26
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.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fonts } from '@unocss/preset-mini/rules';
|
|
2
2
|
import { handler, parseColor } from '@unocss/preset-mini/utils';
|
|
3
3
|
import { colors } from '@unocss/preset-wind4/colors';
|
|
4
|
-
import { s as shortcuts } from './shared/preset-edge.
|
|
4
|
+
import { s as shortcuts } from './shared/preset-edge.BI-TcACY.mjs';
|
|
5
5
|
import '@unocss/preset-mini';
|
|
6
6
|
|
|
7
7
|
function presetUna(options = {
|
|
@@ -605,7 +605,7 @@ const staticInput = {
|
|
|
605
605
|
"input-leading-padding": "pl-2.5714285714285716em",
|
|
606
606
|
"input-trailing-padding": "pr-2.5714285714285716em",
|
|
607
607
|
// base
|
|
608
|
-
"input": "text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground text-0.875em leading-1.4285714285714286em px-0.8571428571428571em bg-transparent w-full focus-visible:outline-none input-disabled placeholder:text-muted-foreground block rounded-md
|
|
608
|
+
"input": "text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground text-0.875em leading-1.4285714285714286em px-0.8571428571428571em bg-transparent w-full focus-visible:outline-none input-disabled placeholder:text-muted-foreground block rounded-md transition-colors file:border-0 file:bg-transparent file:text-0.875em file:font-medium",
|
|
609
609
|
"input-input": "h-2.5714285714285716em py-0.2857142857142857em",
|
|
610
610
|
// role='input'
|
|
611
611
|
"input-textarea": "min-h-4.285714285714286em py-0.5714285714em",
|
|
@@ -621,9 +621,9 @@ const staticInput = {
|
|
|
621
621
|
"input-leading-wrapper": "pointer-events-none absolute inset-y-0 start-0 flex items-center px-0.8571428571428571em text-muted-foreground",
|
|
622
622
|
"input-trailing-wrapper": "pointer-events-none absolute inset-y-0 end-0 flex items-center px-0.8571428571428571em text-muted-foreground",
|
|
623
623
|
// variants
|
|
624
|
-
"input-outline-gray": "border bg-transparent dark:bg-input/30 border-input focus-visible:ring-input/50 focus-visible:ring-3px",
|
|
625
|
-
"input-outline-black": "border bg-transparent dark:bg-input/30 border-foreground focus-visible:ring-foreground/50 focus-visible:ring-3px",
|
|
626
|
-
"input-solid-primary": "bg-transparent dark:bg-input/30 border border-ring input-focus",
|
|
624
|
+
"input-outline-gray": "shadow-xs border bg-transparent dark:bg-input/30 border-input focus-visible:ring-input/50 focus-visible:ring-3px",
|
|
625
|
+
"input-outline-black": "shadow-xs border bg-transparent dark:bg-input/30 border-foreground focus-visible:ring-foreground/50 focus-visible:ring-3px",
|
|
626
|
+
"input-solid-primary": "shadow-xs bg-transparent dark:bg-input/30 border border-ring input-focus",
|
|
627
627
|
"input-solid": "input-solid-primary",
|
|
628
628
|
"input-focus-primary": "focus-visible:ring-3px focus-visible:border-ring focus-visible:ring-ring/50",
|
|
629
629
|
"input-focus": "input-focus-primary"
|
|
@@ -633,8 +633,8 @@ const dynamicInput = [
|
|
|
633
633
|
[/^input-focus(-(\S+))?$/, ([, , c = "primary"]) => `focus-visible:ring-3px focus-visible:border-${c}-400 dark:focus-visible:border-${c}-800 focus-visible:ring-${c}-400/50 dark:focus-visible:ring-${c}-800/50`],
|
|
634
634
|
[/^input-status(-(\S+))?$/, ([, , c = "info"]) => `text-${c}-700 dark:text-${c}-200 placeholder:text-${c}-500 dark:placeholder:text-${c}-400`],
|
|
635
635
|
// variants
|
|
636
|
-
[/^input-outline(-(\S+))?$/, ([, , c = "primary"]) => `border bg-transparent dark:bg-input/30 border-input input-focus-${c}`],
|
|
637
|
-
[/^input-solid(-(\S+))?$/, ([, , c = "primary"]) => `bg-transparent dark:bg-input/30 input-focus-${c} border border-${c}-500 dark:border-${c}-400`]
|
|
636
|
+
[/^input-outline(-(\S+))?$/, ([, , c = "primary"]) => `shadow-xs border bg-transparent dark:bg-input/30 border-input input-focus-${c}`],
|
|
637
|
+
[/^input-solid(-(\S+))?$/, ([, , c = "primary"]) => `shadow-xs bg-transparent dark:bg-input/30 input-focus-${c} border border-${c}-500 dark:border-${c}-400`]
|
|
638
638
|
];
|
|
639
639
|
const input = [
|
|
640
640
|
...dynamicInput,
|
package/dist/shortcuts.mjs
CHANGED
package/package.json
CHANGED