@una-ui/preset-edge 0.58.0-29162503.be17640 → 0.58.0-29162503.cc177e3
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
|
@@ -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.D9Tc737e.mjs';
|
|
7
7
|
|
|
8
8
|
function presetUna(options = {
|
|
9
9
|
// TODO: add options
|
package/dist/prefixes.mjs
CHANGED
|
@@ -520,8 +520,6 @@ const staticGeneral = {
|
|
|
520
520
|
"bg-accent-foreground": "bg-$c-accent-foreground",
|
|
521
521
|
"bg-popover": "bg-$c-popover",
|
|
522
522
|
"bg-popover-foreground": "bg-$c-popover-foreground",
|
|
523
|
-
"fill-base": "fill-$c-background",
|
|
524
|
-
"stroke-base": "stroke-$c-border",
|
|
525
523
|
// transition
|
|
526
524
|
"transition-base": "transition-all duration-100 ease-out",
|
|
527
525
|
// overrides
|
|
@@ -537,27 +535,6 @@ const general = [
|
|
|
537
535
|
staticIcons
|
|
538
536
|
];
|
|
539
537
|
|
|
540
|
-
const staticHoverCard = {
|
|
541
|
-
// configurations
|
|
542
|
-
"hover-card": "",
|
|
543
|
-
"hover-card-default-variant": "outline-gray",
|
|
544
|
-
// components
|
|
545
|
-
"hover-card-trigger": "",
|
|
546
|
-
"hover-card-content": "bg-base text-popover animate-in fade-in-0 zoom-in-95 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 z-50 w-64 rounded-md border p-4 shadow-md outline-hidden",
|
|
547
|
-
"hover-card-arrow": "!bg-transparent !border-none -mt-1px fill-base stroke-base",
|
|
548
|
-
// static variants
|
|
549
|
-
"hover-card-soft-gray": "bg-muted border border-base",
|
|
550
|
-
"hover-card-outline-gray": "bg-base border border-base"
|
|
551
|
-
};
|
|
552
|
-
const dynamicHoverCard = [
|
|
553
|
-
[/^hover-card-soft(-(\S+))?$/, ([, , c = "gray"]) => `bg-${c}-50 fill-${c}-50 stroke-${c}-200 border-${c}-200 dark:(bg-${c}-900 border-${c}-700/58 fill-${c}-900 stroke-${c}-700/58)`],
|
|
554
|
-
[/^hover-card-outline(-(\S+))?$/, ([, , c = "gray"]) => `border stroke-${c}-200 border-${c}-200 dark:(border-${c}-700/58 stroke-${c}-700/58)`]
|
|
555
|
-
];
|
|
556
|
-
const hoverCard = [
|
|
557
|
-
...dynamicHoverCard,
|
|
558
|
-
staticHoverCard
|
|
559
|
-
];
|
|
560
|
-
|
|
561
538
|
const staticIcon = {
|
|
562
539
|
// base
|
|
563
540
|
"icon-base": "flex-none"
|
|
@@ -1262,8 +1239,7 @@ const shortcuts = [
|
|
|
1262
1239
|
...resizable,
|
|
1263
1240
|
...alertDialog,
|
|
1264
1241
|
...combobox,
|
|
1265
|
-
...drawer
|
|
1266
|
-
...hoverCard
|
|
1242
|
+
...drawer
|
|
1267
1243
|
];
|
|
1268
1244
|
|
|
1269
1245
|
export { shortcuts as s };
|
package/dist/shortcuts.mjs
CHANGED