@una-ui/preset-edge 1.0.0-alpha.0-29174790.64bb574 → 1.0.0-alpha.0-29175660.d51c006
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.C3-vTPWa.mjs';
|
|
5
5
|
import '@unocss/preset-mini';
|
|
6
6
|
|
|
7
7
|
function presetUna(options = {
|
package/dist/prefixes.mjs
CHANGED
|
@@ -292,7 +292,7 @@ const card = [
|
|
|
292
292
|
|
|
293
293
|
const staticCheckbox = {
|
|
294
294
|
// base
|
|
295
|
-
"checkbox": "square-1em shrink-0 rounded-4px shadow-xs transition-shadow outline-none disabled:n-disabled border border-input dark:border-input",
|
|
295
|
+
"checkbox": "dark:bg-input/30 square-1em shrink-0 rounded-4px shadow-xs transition-shadow outline-none disabled:n-disabled border border-input dark:border-input",
|
|
296
296
|
"checkbox-label": "block",
|
|
297
297
|
"checkbox-reverse": "flex-row-reverse",
|
|
298
298
|
// wrappers
|
|
@@ -367,7 +367,7 @@ const staticDialog = {
|
|
|
367
367
|
// base
|
|
368
368
|
"dialog": "",
|
|
369
369
|
// sub-components
|
|
370
|
-
"dialog-overlay": "fixed inset-0 z-50 bg-black/80",
|
|
370
|
+
"dialog-overlay": "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
|
|
371
371
|
"dialog-content": "bg-background fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
372
372
|
"dialog-scroll-overlay": "fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80",
|
|
373
373
|
"dialog-scroll-content": "relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",
|
|
@@ -791,6 +791,8 @@ const staticProgress = {
|
|
|
791
791
|
// static
|
|
792
792
|
"progress-foreground": "n-foreground",
|
|
793
793
|
"progress-background": "n-background",
|
|
794
|
+
"progress-white": "progress-background",
|
|
795
|
+
"progress-black": "progress-foreground",
|
|
794
796
|
"progress-primary": "n-primary",
|
|
795
797
|
"progress-secondary": "n-secondary",
|
|
796
798
|
"progress-accent": "n-accent",
|
package/dist/shortcuts.mjs
CHANGED
package/package.json
CHANGED