@una-ui/preset-edge 0.63.0-29216999.9b31e2c → 0.63.0-29223052.58df226

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.DyKk7HOF.mjs';
6
+ import { s as shortcuts } from './shared/preset-edge.BrjhAn2Y.mjs';
7
7
 
8
8
  function presetUna(options = {
9
9
  // TODO: add options
@@ -295,7 +295,7 @@ const checkbox = [
295
295
  ];
296
296
 
297
297
  const staticCollapsible = {
298
- "collapsible-content": "overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down"
298
+ "collapsible-content": "overflow-hidden transition-all"
299
299
  };
300
300
  const dynamicCollapsible = [
301
301
  // dynamic preset
@@ -325,7 +325,7 @@ const staticCombobox = {
325
325
  "combobox-empty": "py-1.7142857142857142em text-center text-1em leading-1.4285714285714286em",
326
326
  "combobox-group": "overflow-hidden p-0.2857142857142857em text-foreground",
327
327
  "combobox-label": "px-0.6666666666666666em py-0.5em text-0.8571428571428571em leading-1.1428571428571428em text-muted font-medium px-2",
328
- "combobox-list": "z-50 w-[--reka-popper-anchor-width] rounded-md border bg-popover text-popover overflow-hidden shadow-md outline-none 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",
328
+ "combobox-list": "z-50 w-[--reka-popper-anchor-width] rounded-md border bg-popover text-popover overflow-hidden shadow-md outline-none 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",
329
329
  "combobox-separator": "bg-border -mx-1 h-px",
330
330
  "combobox-viewport": "max-h-300px scroll-py-1 overflow-x-hidden overflow-y-auto"
331
331
  };
@@ -362,7 +362,7 @@ const dialog = [
362
362
  const staticDrawer = {
363
363
  // base
364
364
  "drawer": "",
365
- "drawer-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",
365
+ "drawer-overlay": "fixed inset-0 z-50 bg-black/80",
366
366
  "drawer-content": "bg-background fixed z-50 flex h-auto flex-col",
367
367
  "drawer-content-top": "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg",
368
368
  "drawer-content-bottom": "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg",
@@ -391,7 +391,7 @@ const staticDropdownMenu = {
391
391
  "dropdown-menu-trigger-leading": "",
392
392
  "dropdown-menu-trigger-trailing": "ml-auto",
393
393
  // dropdown-menu-content
394
- "dropdown-menu-content": "z-50 min-w-32 overflow-hidden rounded-md border border-base bg-popover p-1 text-popover shadow-md",
394
+ "dropdown-menu-content": "z-50 min-w-32 overflow-hidden rounded-md border border-base bg-popover p-1 text-popover shadow-md 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",
395
395
  // dropdown-menu-item
396
396
  "dropdown-menu-item-base": "text-left transition-color focus-visible:outline-0 select-none",
397
397
  "dropdown-menu-item-leading": "",
@@ -410,7 +410,7 @@ const staticDropdownMenu = {
410
410
  "dropdown-menu-sub-trigger-leading": "",
411
411
  "dropdown-menu-sub-trigger-trailing": "ml-auto opacity-75",
412
412
  "dropdown-menu-sub-trigger-trailing-icon": "i-lucide-chevron-right",
413
- "dropdown-menu-sub-content": "z-50 min-w-32 overflow-hidden rounded-md border border-base bg-popover p-1 text-popover shadow-lg"
413
+ "dropdown-menu-sub-content": "z-50 min-w-32 overflow-hidden rounded-md border border-base bg-popover p-1 text-popover shadow-lg 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"
414
414
  };
415
415
  const dynamicDropdownMenu = [
416
416
  [/^dropdown-menu-([^-]+)-([^-]+)$/, ([, v = "solid", c = "white"]) => `btn-${v}-${c}`],
@@ -543,7 +543,7 @@ const staticHoverCard = {
543
543
  "hover-card-default-variant": "outline-gray",
544
544
  // components
545
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",
546
+ "hover-card-content": "bg-base text-popover zoom-in-95 z-50 w-64 rounded-md border p-4 shadow-md outline-hidden 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",
547
547
  "hover-card-arrow": "!bg-transparent !border-none -mt-1px fill-base stroke-base",
548
548
  // static variants
549
549
  "hover-card-soft-gray": "bg-muted border border-base",
@@ -683,7 +683,7 @@ const staticNavigationMenu = {
683
683
  "navigation-menu": "relative z-10 flex max-w-max flex-1 items-center justify-center",
684
684
  "navigation-menu-disabled": "n-disabled",
685
685
  // components
686
- "navigation-menu-indicator": "absolute data-[state=hidden]:opacity-0 duration-200 top-full data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut w-[--reka-navigation-menu-indicator-size] translate-x-[--reka-navigation-menu-indicator-position] mt--3px z-100 flex h-10px items-end justify-center overflow-hidden transition-all",
686
+ "navigation-menu-indicator": "absolute data-[state=hidden]:opacity-0 duration-200 top-full w-[--reka-navigation-menu-indicator-size] translate-x-[--reka-navigation-menu-indicator-position] mt--3px z-100 flex h-10px items-end justify-center overflow-hidden transition-all",
687
687
  "navigation-menu-indicator-arrow": "relative top-70% h-12px w-12px rotate-45deg border bg-base",
688
688
  "navigation-menu-content": "left-0 top-0 w-full md:absolute md:w-auto",
689
689
  "navigation-menu-viewport": "origin-top-center relative mt-1.5 h-[--reka-navigation-menu-viewport-height] w-full overflow-hidden rounded-md border bg-popover text-popover shadow md:w-[--reka-navigation-menu-viewport-width]",
@@ -787,7 +787,7 @@ const pinInput = [
787
787
  ];
788
788
 
789
789
  const staticPopover = {
790
- "popover-content": "z-50 w-72 rounded-md border border-base bg-popover p-4 text-popover shadow-md outline-none 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"
790
+ "popover-content": "z-50 w-72 rounded-md border border-base bg-popover p-4 text-popover shadow-md outline-none 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"
791
791
  };
792
792
  const dynamicPopover = [
793
793
  // dynamic preset
@@ -911,7 +911,7 @@ const staticSelect = {
911
911
  "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) rtl:mr-auto ltr:ml-auto",
912
912
  "select-trigger-leading": "size-1.1428571428571428em",
913
913
  "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",
914
- "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",
914
+ "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-[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",
915
915
  "select-content-popper": "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
916
916
  "select-group": "w-full",
917
917
  "select-separator": "-mx-1 my-1 h-px bg-muted",
@@ -982,9 +982,9 @@ const staticSheet = {
982
982
  // base
983
983
  "sheet": "",
984
984
  // sub components
985
- "sheet-content": "fixed z-50 gap-4 bg-base p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
985
+ "sheet-content": "fixed z-50 gap-4 bg-base p-6 shadow-lg transition animate-in fade-in-0 ease-in-out ",
986
986
  "sheet-portal": "",
987
- "sheet-overlay": "fixed inset-0 z-50 data-[state=closed]:animate-out data-[state=open]:animate-in bg-black/80 data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
987
+ "sheet-overlay": "fixed inset-0 z-50 bg-black/80",
988
988
  "sheet-close": "absolute right-4 top-4",
989
989
  "sheet-description": "text-sm text-muted",
990
990
  "sheet-footer": "flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",
@@ -1241,7 +1241,7 @@ const toggle = [
1241
1241
  ];
1242
1242
 
1243
1243
  const staticTooltip = {
1244
- "tooltip-content": "z-50 overflow-hidden rounded-md px-0.75em py-0.375em text-xs shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
1244
+ "tooltip-content": "z-50 overflow-hidden rounded-md px-0.75em py-0.375em text-xs shadow-md 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",
1245
1245
  "tooltip-white": "border border-base bg-popover text-popover",
1246
1246
  "tooltip-black": "border border-foreground bg-popover-foreground text-popover-foreground"
1247
1247
  };
@@ -1,3 +1,3 @@
1
- export { s as shortcuts } from './shared/preset-edge.DyKk7HOF.mjs';
1
+ export { s as shortcuts } from './shared/preset-edge.BrjhAn2Y.mjs';
2
2
  import '@unocss/preset-mini/utils';
3
3
  import '@unocss/preset-mini';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@una-ui/preset-edge",
3
- "version": "0.63.0-29216999.9b31e2c",
3
+ "version": "0.63.0-29223052.58df226",
4
4
  "description": "The default preset for @una-ui",
5
5
  "author": "Phojie Rengel <phojrengel@gmail.com>",
6
6
  "license": "MIT",