@quantinuum/quantinuum-ui 4.0.0 → 4.0.1-fix-update-radix.1
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/_virtual/index.js +4 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/@radix-ui/number/dist/index.mjs.js +4 -3
- package/dist/node_modules/@radix-ui/number/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js +9 -6
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js +279 -267
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.js +26 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.js +114 -92
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js +255 -138
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js +135 -130
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js +66 -88
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.mjs.js +81 -73
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +34 -21
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js +72 -93
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js +297 -254
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs.js +81 -73
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js +8 -6
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +190 -217
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js +243 -217
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js +26 -25
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js +191 -259
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js +224 -205
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js +11 -14
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.js +22 -14
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.js +765 -820
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.mjs.js +81 -73
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js +717 -730
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.mjs.js +268 -199
- package/dist/node_modules/@radix-ui/react-popover/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.mjs.js +81 -73
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js +267 -223
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js +14 -10
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js +122 -121
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +39 -83
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs.js +81 -73
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.js +77 -78
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js +264 -217
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js +204 -216
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.js +9 -9
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.js +1080 -1079
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.mjs.js +81 -73
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-separator/dist/index.mjs.js +26 -43
- package/dist/node_modules/@radix-ui/react-separator/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.js +1 -1
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.js +140 -112
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.js +173 -141
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.js +34 -25
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js +154 -145
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js +462 -491
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs.js +13 -78
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js +9 -15
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js +66 -43
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js +15 -18
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs.js +18 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js +5 -9
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js +12 -18
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js +37 -48
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js +32 -23
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +22 -16
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -1
- package/dist/node_modules/class-variance-authority/dist/index.mjs.js +7 -9
- package/dist/node_modules/class-variance-authority/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs.js +4 -0
- package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs.js.map +1 -0
- package/dist/node_modules/cmdk/dist/index.mjs.js +8 -4
- package/dist/node_modules/cmdk/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/{@radix-ui/react-scroll-area → cmdk}/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +1 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/input-otp/dist/index.mjs.js +1 -1
- package/dist/node_modules/input-otp/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +23 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +2 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +18 -6
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +25 -5
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -1
- package/dist/node_modules/sonner/dist/index.mjs.js +46 -26
- package/dist/node_modules/sonner/dist/index.mjs.js.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +27 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +107 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +78 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +13 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/src/index.js +1 -1
- package/dist/src/shadcn/ui/accordion.js +7 -7
- package/dist/src/shadcn/ui/avatar.js +7 -7
- package/dist/src/shadcn/ui/checkbox.js +3 -3
- package/dist/src/shadcn/ui/command.js +15 -15
- package/dist/src/shadcn/ui/dialog.js +14 -14
- package/dist/src/shadcn/ui/dropdown-menu.js +23 -23
- package/dist/src/shadcn/ui/hover-card.js +5 -5
- package/dist/src/shadcn/ui/label.js +3 -3
- package/dist/src/shadcn/ui/navigation-menu.js +15 -15
- package/dist/src/shadcn/ui/navigation-menu.js.map +1 -1
- package/dist/src/shadcn/ui/popover.js +32 -6
- package/dist/src/shadcn/ui/popover.js.map +1 -1
- package/dist/src/shadcn/ui/progress.js +3 -3
- package/dist/src/shadcn/ui/radio-group.js +5 -5
- package/dist/src/shadcn/ui/select.js +19 -19
- package/dist/src/shadcn/ui/separator.js +3 -3
- package/dist/src/shadcn/ui/sheet.js +14 -14
- package/dist/src/shadcn/ui/switch.js +3 -3
- package/dist/src/shadcn/ui/tabs.js +8 -8
- package/dist/src/shadcn/ui/toggle-group.js +5 -5
- package/dist/src/shadcn/ui/toggle.js +3 -3
- package/dist/src/shadcn/ui/tooltip.js +7 -7
- package/dist/tailwind-manifest.js +12595 -14091
- package/dist/types/src/shadcn/ui/command.d.ts +44 -8
- package/dist/types/src/shadcn/ui/popover.d.ts +8 -4
- package/dist/types/src/shadcn/ui/sheet.d.ts +1 -1
- package/package.json +10 -31
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/number/dist/index.mjs.js +0 -7
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/number/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/primitive/dist/index.mjs.js +0 -12
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +0 -40
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context/dist/index.mjs.js +0 -64
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-direction/dist/index.mjs.js +0 -12
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-presence/dist/index.mjs.js +0 -132
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -90
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js +0 -13
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js +0 -8
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +0 -37
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.js +0 -4
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/primitive/dist/index.module.js +0 -9
- package/dist/node_modules/cmdk/node_modules/@radix-ui/primitive/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-compose-refs/dist/index.module.js +0 -27
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-compose-refs/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-context/dist/index.module.js +0 -101
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-context/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dialog/dist/index.module.js +0 -214
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dialog/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js +0 -233
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-guards/dist/index.module.js +0 -30
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-guards/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-scope/dist/index.module.js +0 -252
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-scope/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-id/dist/index.module.js +0 -19
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-id/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-portal/dist/index.module.js +0 -15
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-portal/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-presence/dist/index.module.js +0 -131
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-presence/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.module.js +0 -85
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-slot/dist/index.module.js +0 -79
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-slot/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js +0 -19
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js +0 -48
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js +0 -21
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js +0 -12
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -10
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -146
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -39
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -22
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -97
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -9
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -10
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/node_modules/command-score/index.js +0 -138
- package/dist/node_modules/command-score/index.js.map +0 -1
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-sync-external-store-shim.production.js","sources":["../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;;;;;CAWA,IAAI,KAAK,GAAGA,cAAgB,CAAC;AAC7B,CAAA,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;GAChB,OAAO,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;EAC1E;AACD,CAAA,IAAI,QAAQ,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,GAAG,EAAE;AAC/D,GAAE,QAAQ,GAAG,KAAK,CAAC,QAAQ;AAC3B,GAAE,SAAS,GAAG,KAAK,CAAC,SAAS;AAC7B,GAAE,eAAe,GAAG,KAAK,CAAC,eAAe;AACzC,GAAE,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;AACtC,CAAA,SAAS,sBAAsB,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,GAAE,IAAI,KAAK,GAAG,WAAW,EAAE;AAC3B,KAAI,SAAS,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KA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AS,sBAAsB,CAAC,SAAS,EAAE,WAAW,EAAE;GACtD,OAAO,WAAW,EAAE,CAAC;EACtB;AACD,CAAA,IAAI,IAAI;GACN,WAAW,KAAK,OAAO,MAAM;AAC/B,GAAE,WAAW,KAAK,OAAO,MAAM,CAAC,QAAQ;AACxC,GAAE,WAAW,KAAK,OAAO,MAAM,CAAC,QAAQ,CAAC,aAAa;AACtD,OAAM,sBAAsB;AAC5B,OAAM,sBAAsB,CAAC;AAC7B,CAA4B,mCAAA,CAAA,oBAAA;GAC1B,KAAK,CAAC,KAAK,KAAK,CAAC,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,GAAG,IAAI,CAAA;;;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { s as shim } from '../../../_virtual/index.js';
|
|
2
|
+
import { __require as requireUseSyncExternalStoreShim_production } from '../cjs/use-sync-external-store-shim.production.js';
|
|
3
|
+
import { __require as requireUseSyncExternalStoreShim_development } from '../cjs/use-sync-external-store-shim.development.js';
|
|
4
|
+
|
|
5
|
+
(function (module) {
|
|
6
|
+
|
|
7
|
+
if (process.env.NODE_ENV === 'production') {
|
|
8
|
+
module.exports = requireUseSyncExternalStoreShim_production();
|
|
9
|
+
} else {
|
|
10
|
+
module.exports = requireUseSyncExternalStoreShim_development();
|
|
11
|
+
}
|
|
12
|
+
} (shim));
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;AACA;AACA,CAAA,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;GACzC,MAAA,CAAA,OAAA,GAAiBA,4CAA4D,CAAC;AAChF,EAAC,MAAM;GACL,MAAA,CAAA,OAAA,GAAiBC,6CAA6D,CAAC;AACjF,EAAA;"}
|
package/dist/src/index.js
CHANGED
|
@@ -21,7 +21,7 @@ export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './shad
|
|
|
21
21
|
export { Label } from './shadcn/ui/label.js';
|
|
22
22
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './shadcn/ui/navigation-menu.js';
|
|
23
23
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './shadcn/ui/pagination.js';
|
|
24
|
-
export { Popover, PopoverContent, PopoverTrigger } from './shadcn/ui/popover.js';
|
|
24
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from './shadcn/ui/popover.js';
|
|
25
25
|
export { Progress } from './shadcn/ui/progress.js';
|
|
26
26
|
export { RadioGroup, RadioGroupItem } from './shadcn/ui/radio-group.js';
|
|
27
27
|
export { ScrollArea, ScrollBar } from './shadcn/ui/scroll-area.js';
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { Item
|
|
5
|
+
import { Item, Header, Trigger as Trigger2, Content as Content2, Root as Root2 } from '../../../node_modules/@radix-ui/react-accordion/dist/index.mjs.js';
|
|
6
6
|
import { ChevronDownIcon } from '../../../node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
|
|
7
7
|
import { cn } from '../../utils/cn.js';
|
|
8
8
|
|
|
9
|
-
const Accordion =
|
|
9
|
+
const Accordion = Root2;
|
|
10
10
|
const AccordionItem = React.forwardRef((_a, ref) => {
|
|
11
11
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
12
|
-
return (jsx(
|
|
12
|
+
return (jsx(Item, Object.assign({ ref: ref, className: cn("border-b", className) }, props)));
|
|
13
13
|
});
|
|
14
14
|
AccordionItem.displayName = "AccordionItem";
|
|
15
15
|
const AccordionTrigger = React.forwardRef((_a, ref) => {
|
|
16
16
|
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
17
|
-
return (jsx(
|
|
17
|
+
return (jsx(Header, { className: "flex", children: jsxs(Trigger2, Object.assign({ ref: ref, className: cn("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", className) }, props, { children: [children, jsx(ChevronDownIcon, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })] })) }));
|
|
18
18
|
});
|
|
19
|
-
AccordionTrigger.displayName =
|
|
19
|
+
AccordionTrigger.displayName = Trigger2.displayName;
|
|
20
20
|
const AccordionContent = React.forwardRef((_a, ref) => {
|
|
21
21
|
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
22
|
-
return (jsx(
|
|
22
|
+
return (jsx(Content2, Object.assign({ ref: ref, className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }, props, { children: jsx("div", { className: cn("pb-4 pt-0", className), children: children }) })));
|
|
23
23
|
});
|
|
24
|
-
AccordionContent.displayName =
|
|
24
|
+
AccordionContent.displayName = Content2.displayName;
|
|
25
25
|
|
|
26
26
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
27
27
|
//# sourceMappingURL=accordion.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
import { Root
|
|
4
|
+
import { Root, Image, Fallback } from '../../../node_modules/@radix-ui/react-avatar/dist/index.mjs.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { cn } from '../../utils/cn.js';
|
|
7
7
|
|
|
8
8
|
const Avatar = React.forwardRef((_a, ref) => {
|
|
9
9
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
10
|
-
return (jsx(
|
|
10
|
+
return (jsx(Root, Object.assign({ ref: ref, className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className) }, props)));
|
|
11
11
|
});
|
|
12
|
-
Avatar.displayName =
|
|
12
|
+
Avatar.displayName = Root.displayName;
|
|
13
13
|
const AvatarImage = React.forwardRef((_a, ref) => {
|
|
14
14
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
15
|
-
return (jsx(
|
|
15
|
+
return (jsx(Image, Object.assign({ ref: ref, className: cn("aspect-square h-full w-full", className) }, props)));
|
|
16
16
|
});
|
|
17
|
-
AvatarImage.displayName =
|
|
17
|
+
AvatarImage.displayName = Image.displayName;
|
|
18
18
|
const AvatarFallback = React.forwardRef((_a, ref) => {
|
|
19
19
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
20
|
-
return (jsx(
|
|
20
|
+
return (jsx(Fallback, Object.assign({ ref: ref, className: cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className) }, props)));
|
|
21
21
|
});
|
|
22
|
-
AvatarFallback.displayName =
|
|
22
|
+
AvatarFallback.displayName = Fallback.displayName;
|
|
23
23
|
|
|
24
24
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
25
25
|
//# sourceMappingURL=avatar.js.map
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import { Checkbox as Checkbox$1, CheckboxIndicator } from '../../../node_modules/@radix-ui/react-checkbox/dist/index.mjs.js';
|
|
6
6
|
import { CheckIcon } from '../../../node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
|
|
7
7
|
import { cn } from '../../utils/cn.js';
|
|
8
8
|
|
|
9
9
|
const Checkbox = React.forwardRef((_a, ref) => {
|
|
10
10
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
11
|
-
return (jsx($
|
|
11
|
+
return (jsx(Checkbox$1, Object.assign({ ref: ref, className: cn("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground flex justify-center", className) }, props, { children: jsx(CheckboxIndicator, { className: cn("flex items-center justify-center text-current"), children: jsx(CheckIcon, { className: "h-4 w-4" }) }) })));
|
|
12
12
|
});
|
|
13
|
-
Checkbox.displayName = $
|
|
13
|
+
Checkbox.displayName = Checkbox$1.displayName;
|
|
14
14
|
|
|
15
15
|
export { Checkbox };
|
|
16
16
|
//# sourceMappingURL=checkbox.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
|
-
import { Command as
|
|
4
|
+
import { Command as _e } from '../../../node_modules/cmdk/dist/index.mjs.js';
|
|
5
5
|
import { Search } from 'lucide-react';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { Dialog, DialogContent } from './dialog.js';
|
|
@@ -9,40 +9,40 @@ import { cn } from '../../utils/cn.js';
|
|
|
9
9
|
|
|
10
10
|
const Command = React.forwardRef((_a, ref) => {
|
|
11
11
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
12
|
-
return (jsx(
|
|
12
|
+
return (jsx(_e, Object.assign({ ref: ref, className: cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", className) }, props)));
|
|
13
13
|
});
|
|
14
|
-
Command.displayName =
|
|
14
|
+
Command.displayName = _e.displayName;
|
|
15
15
|
const CommandDialog = (_a) => {
|
|
16
16
|
var { children } = _a, props = __rest(_a, ["children"]);
|
|
17
17
|
return (jsx(Dialog, Object.assign({}, props, { children: jsx(DialogContent, { className: "overflow-hidden p-0", children: jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: children }) }) })));
|
|
18
18
|
};
|
|
19
19
|
const CommandInput = React.forwardRef((_a, ref) => {
|
|
20
20
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
21
|
-
return (jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), jsx(
|
|
21
|
+
return (jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), jsx(_e.Input, Object.assign({ ref: ref, className: cn("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className) }, props))] }));
|
|
22
22
|
});
|
|
23
|
-
CommandInput.displayName =
|
|
23
|
+
CommandInput.displayName = _e.Input.displayName;
|
|
24
24
|
const CommandList = React.forwardRef((_a, ref) => {
|
|
25
25
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
26
|
-
return (jsx(
|
|
26
|
+
return (jsx(_e.List, Object.assign({ ref: ref, className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className) }, props)));
|
|
27
27
|
});
|
|
28
|
-
CommandList.displayName =
|
|
29
|
-
const CommandEmpty = React.forwardRef((props, ref) => (jsx(
|
|
30
|
-
CommandEmpty.displayName =
|
|
28
|
+
CommandList.displayName = _e.List.displayName;
|
|
29
|
+
const CommandEmpty = React.forwardRef((props, ref) => (jsx(_e.Empty, Object.assign({ ref: ref, className: "py-6 text-center text-sm" }, props))));
|
|
30
|
+
CommandEmpty.displayName = _e.Empty.displayName;
|
|
31
31
|
const CommandGroup = React.forwardRef((_a, ref) => {
|
|
32
32
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
33
|
-
return (jsx(
|
|
33
|
+
return (jsx(_e.Group, Object.assign({ ref: ref, className: cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", className) }, props)));
|
|
34
34
|
});
|
|
35
|
-
CommandGroup.displayName =
|
|
35
|
+
CommandGroup.displayName = _e.Group.displayName;
|
|
36
36
|
const CommandSeparator = React.forwardRef((_a, ref) => {
|
|
37
37
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
38
|
-
return (jsx(
|
|
38
|
+
return (jsx(_e.Separator, Object.assign({ ref: ref, className: cn("-mx-1 h-px bg-border", className) }, props)));
|
|
39
39
|
});
|
|
40
|
-
CommandSeparator.displayName =
|
|
40
|
+
CommandSeparator.displayName = _e.Separator.displayName;
|
|
41
41
|
const CommandItem = React.forwardRef((_a, ref) => {
|
|
42
42
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
43
|
-
return (jsx(
|
|
43
|
+
return (jsx(_e.Item, Object.assign({ ref: ref, className: cn("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", className) }, props)));
|
|
44
44
|
});
|
|
45
|
-
CommandItem.displayName =
|
|
45
|
+
CommandItem.displayName = _e.Item.displayName;
|
|
46
46
|
const CommandShortcut = (_a) => {
|
|
47
47
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
48
48
|
return (jsx("span", Object.assign({ className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className) }, props)));
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { Overlay
|
|
5
|
+
import { Overlay, Content, Close, Title, Description, Root, Trigger, Portal } from '../../../node_modules/@radix-ui/react-dialog/dist/index.mjs.js';
|
|
6
6
|
import { Cross2Icon } from '../../../node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
|
|
7
7
|
import { cn } from '../../utils/cn.js';
|
|
8
8
|
|
|
9
|
-
const Dialog =
|
|
10
|
-
const DialogTrigger =
|
|
11
|
-
const DialogPortal =
|
|
12
|
-
const DialogClose =
|
|
9
|
+
const Dialog = Root;
|
|
10
|
+
const DialogTrigger = Trigger;
|
|
11
|
+
const DialogPortal = Portal;
|
|
12
|
+
const DialogClose = Close;
|
|
13
13
|
const DialogOverlay = React.forwardRef((_a, ref) => {
|
|
14
14
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
15
|
-
return (jsx(Fragment, { children: jsx(
|
|
15
|
+
return (jsx(Fragment, { children: jsx(Overlay, Object.assign({ ref: ref, className: cn("fixed", "inset-0 z-50", "bg-black/40", "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className) }, props)) }));
|
|
16
16
|
});
|
|
17
|
-
DialogOverlay.displayName =
|
|
17
|
+
DialogOverlay.displayName = Overlay.displayName;
|
|
18
18
|
const DialogContent = React.forwardRef((_a, ref) => {
|
|
19
19
|
var { className, children, isDismissable = true, isBottomDialog = false } = _a, props = __rest(_a, ["className", "children", "isDismissable", "isBottomDialog"]);
|
|
20
20
|
const base = [
|
|
@@ -42,7 +42,7 @@ const DialogContent = React.forwardRef((_a, ref) => {
|
|
|
42
42
|
"w-full max-w-none",
|
|
43
43
|
"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom",
|
|
44
44
|
].join(" ");
|
|
45
|
-
return (jsxs(DialogPortal, { children: [jsx(DialogOverlay, {}), jsxs(
|
|
45
|
+
return (jsxs(DialogPortal, { children: [jsx(DialogOverlay, {}), jsxs(Content, Object.assign({ ref: ref, className: cn(base, isBottomDialog ? bottomStyles : centerStyles, className),
|
|
46
46
|
// By default dialog will close on outside click OR on escape key.
|
|
47
47
|
// We can use radix's primitive events to prevent this behavior when isDismissable is false
|
|
48
48
|
onInteractOutside: (e) => {
|
|
@@ -51,9 +51,9 @@ const DialogContent = React.forwardRef((_a, ref) => {
|
|
|
51
51
|
}, onEscapeKeyDown: (e) => {
|
|
52
52
|
if (!isDismissable)
|
|
53
53
|
e.preventDefault();
|
|
54
|
-
} }, props, { children: [children, isDismissable && (jsxs(
|
|
54
|
+
} }, props, { children: [children, isDismissable && (jsxs(Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [jsx(Cross2Icon, { className: "h-4 w-4" }), jsx("span", { className: "sr-only", children: "Close" })] }))] }))] }));
|
|
55
55
|
});
|
|
56
|
-
DialogContent.displayName =
|
|
56
|
+
DialogContent.displayName = Content.displayName;
|
|
57
57
|
const DialogHeader = (_a) => {
|
|
58
58
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
59
59
|
return (jsx("div", Object.assign({ className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className) }, props)));
|
|
@@ -66,14 +66,14 @@ const DialogFooter = (_a) => {
|
|
|
66
66
|
DialogFooter.displayName = "DialogFooter";
|
|
67
67
|
const DialogTitle = React.forwardRef((_a, ref) => {
|
|
68
68
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
69
|
-
return (jsx(
|
|
69
|
+
return (jsx(Title, Object.assign({ ref: ref, className: cn("text-lg font-semibold leading-none tracking-tight", className) }, props)));
|
|
70
70
|
});
|
|
71
|
-
DialogTitle.displayName =
|
|
71
|
+
DialogTitle.displayName = Title.displayName;
|
|
72
72
|
const DialogDescription = React.forwardRef((_a, ref) => {
|
|
73
73
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
74
|
-
return (jsx(
|
|
74
|
+
return (jsx(Description, Object.assign({ ref: ref, className: cn("text-sm text-muted-foreground", className) }, props)));
|
|
75
75
|
});
|
|
76
|
-
DialogDescription.displayName =
|
|
76
|
+
DialogDescription.displayName = Description.displayName;
|
|
77
77
|
|
|
78
78
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
79
79
|
//# sourceMappingURL=dialog.js.map
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
-
import { SubTrigger as
|
|
4
|
+
import { SubTrigger as SubTrigger2, SubContent as SubContent2, Content as Content2, Item as Item2, CheckboxItem as CheckboxItem2, ItemIndicator as ItemIndicator2, RadioItem as RadioItem2, Label as Label2, Separator as Separator2, Root as Root2, Trigger, Group as Group2, Portal as Portal2, Sub as Sub2, RadioGroup as RadioGroup2 } from '../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js';
|
|
5
5
|
import { ChevronRight, Check, Circle } from 'lucide-react';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { cn } from '../../utils/cn.js';
|
|
8
8
|
|
|
9
|
-
const DropdownMenu =
|
|
10
|
-
const DropdownMenuTrigger =
|
|
11
|
-
const DropdownMenuGroup =
|
|
12
|
-
const DropdownMenuPortal =
|
|
13
|
-
const DropdownMenuSub =
|
|
14
|
-
const DropdownMenuRadioGroup =
|
|
9
|
+
const DropdownMenu = Root2;
|
|
10
|
+
const DropdownMenuTrigger = Trigger;
|
|
11
|
+
const DropdownMenuGroup = Group2;
|
|
12
|
+
const DropdownMenuPortal = Portal2;
|
|
13
|
+
const DropdownMenuSub = Sub2;
|
|
14
|
+
const DropdownMenuRadioGroup = RadioGroup2;
|
|
15
15
|
const DropdownMenuSubTrigger = React.forwardRef((_a, ref) => {
|
|
16
16
|
var { className, inset, children } = _a, props = __rest(_a, ["className", "inset", "children"]);
|
|
17
|
-
return (jsxs(
|
|
17
|
+
return (jsxs(SubTrigger2, Object.assign({ ref: ref, className: cn("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", inset && "pl-8", className) }, props, { children: [children, jsx(ChevronRight, { className: "ml-auto" })] })));
|
|
18
18
|
});
|
|
19
19
|
DropdownMenuSubTrigger.displayName =
|
|
20
|
-
|
|
20
|
+
SubTrigger2.displayName;
|
|
21
21
|
const DropdownMenuSubContent = React.forwardRef((_a, ref) => {
|
|
22
22
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
23
|
-
return (jsx(
|
|
23
|
+
return (jsx(SubContent2, Object.assign({ ref: ref, className: cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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", className) }, props)));
|
|
24
24
|
});
|
|
25
25
|
DropdownMenuSubContent.displayName =
|
|
26
|
-
|
|
26
|
+
SubContent2.displayName;
|
|
27
27
|
const DropdownMenuContent = React.forwardRef((_a, ref) => {
|
|
28
28
|
var { className, sideOffset = 4 } = _a, props = __rest(_a, ["className", "sideOffset"]);
|
|
29
|
-
return (jsx(
|
|
29
|
+
return (jsx(Content2, Object.assign({ ref: ref, sideOffset: sideOffset, className: cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground 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", className) }, props)));
|
|
30
30
|
});
|
|
31
|
-
DropdownMenuContent.displayName =
|
|
31
|
+
DropdownMenuContent.displayName = Content2.displayName;
|
|
32
32
|
const DropdownMenuItem = React.forwardRef((_a, ref) => {
|
|
33
33
|
var { className, inset } = _a, props = __rest(_a, ["className", "inset"]);
|
|
34
|
-
return (jsx(
|
|
34
|
+
return (jsx(Item2, Object.assign({ ref: ref, className: cn("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0 hover:cursor-pointer", inset && "pl-8", className) }, props)));
|
|
35
35
|
});
|
|
36
|
-
DropdownMenuItem.displayName =
|
|
36
|
+
DropdownMenuItem.displayName = Item2.displayName;
|
|
37
37
|
const DropdownMenuCheckboxItem = React.forwardRef((_a, ref) => {
|
|
38
38
|
var { className, children, checked } = _a, props = __rest(_a, ["className", "children", "checked"]);
|
|
39
|
-
return (jsxs(
|
|
39
|
+
return (jsxs(CheckboxItem2, Object.assign({ ref: ref, className: cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className), checked: checked }, props, { children: [jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: jsx(ItemIndicator2, { children: jsx(Check, { className: "h-4 w-4" }) }) }), children] })));
|
|
40
40
|
});
|
|
41
41
|
DropdownMenuCheckboxItem.displayName =
|
|
42
|
-
|
|
42
|
+
CheckboxItem2.displayName;
|
|
43
43
|
const DropdownMenuRadioItem = React.forwardRef((_a, ref) => {
|
|
44
44
|
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
45
|
-
return (jsxs(
|
|
45
|
+
return (jsxs(RadioItem2, Object.assign({ ref: ref, className: cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className) }, props, { children: [jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: jsx(ItemIndicator2, { children: jsx(Circle, { className: "h-2 w-2 fill-current" }) }) }), children] })));
|
|
46
46
|
});
|
|
47
|
-
DropdownMenuRadioItem.displayName =
|
|
47
|
+
DropdownMenuRadioItem.displayName = RadioItem2.displayName;
|
|
48
48
|
const DropdownMenuLabel = React.forwardRef((_a, ref) => {
|
|
49
49
|
var { className, inset } = _a, props = __rest(_a, ["className", "inset"]);
|
|
50
|
-
return (jsx(
|
|
50
|
+
return (jsx(Label2, Object.assign({ ref: ref, className: cn("px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className) }, props)));
|
|
51
51
|
});
|
|
52
|
-
DropdownMenuLabel.displayName =
|
|
52
|
+
DropdownMenuLabel.displayName = Label2.displayName;
|
|
53
53
|
const DropdownMenuSeparator = React.forwardRef((_a, ref) => {
|
|
54
54
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
55
|
-
return (jsx(
|
|
55
|
+
return (jsx(Separator2, Object.assign({ ref: ref, className: cn("-mx-1 my-1 h-px bg-muted", className) }, props)));
|
|
56
56
|
});
|
|
57
|
-
DropdownMenuSeparator.displayName =
|
|
57
|
+
DropdownMenuSeparator.displayName = Separator2.displayName;
|
|
58
58
|
const DropdownMenuShortcut = (_a) => {
|
|
59
59
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
60
60
|
return (jsx("span", Object.assign({ className: cn("ml-auto text-xs tracking-widest opacity-60", className) }, props)));
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { Content as
|
|
5
|
+
import { Content as Content2, Root as Root2, Trigger } from '../../../node_modules/@radix-ui/react-hover-card/dist/index.mjs.js';
|
|
6
6
|
import { cn } from '../../utils/cn.js';
|
|
7
7
|
|
|
8
|
-
const HoverCard =
|
|
9
|
-
const HoverCardTrigger =
|
|
8
|
+
const HoverCard = Root2;
|
|
9
|
+
const HoverCardTrigger = Trigger;
|
|
10
10
|
const HoverCardContent = React.forwardRef((_a, ref) => {
|
|
11
11
|
var { className, align = "center", sideOffset = 4 } = _a, props = __rest(_a, ["className", "align", "sideOffset"]);
|
|
12
|
-
return (jsx(
|
|
12
|
+
return (jsx(Content2, Object.assign({ ref: ref, align: align, sideOffset: sideOffset, className: cn("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground 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", className) }, props)));
|
|
13
13
|
});
|
|
14
|
-
HoverCardContent.displayName =
|
|
14
|
+
HoverCardContent.displayName = Content2.displayName;
|
|
15
15
|
|
|
16
16
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
17
17
|
//# sourceMappingURL=hover-card.js.map
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { Root
|
|
5
|
+
import { Root } from '../../../node_modules/@radix-ui/react-label/dist/index.mjs.js';
|
|
6
6
|
import { cva } from '../../../node_modules/class-variance-authority/dist/index.mjs.js';
|
|
7
7
|
import { cn } from '../../utils/cn.js';
|
|
8
8
|
|
|
9
9
|
const labelVariants = cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
|
|
10
10
|
const Label = React.forwardRef((_a, ref) => {
|
|
11
11
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
12
|
-
return (jsx(
|
|
12
|
+
return (jsx(Root, Object.assign({ ref: ref, className: cn(labelVariants(), className) }, props)));
|
|
13
13
|
});
|
|
14
|
-
Label.displayName =
|
|
14
|
+
Label.displayName = Root.displayName;
|
|
15
15
|
|
|
16
16
|
export { Label };
|
|
17
17
|
//# sourceMappingURL=label.js.map
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { ChevronDownIcon } from '../../../node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
|
|
4
|
-
import { Root as
|
|
4
|
+
import { Root as Root2, List, Trigger, Content, Viewport, Indicator, Item, Link } from '../../../node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js';
|
|
5
5
|
import { cva } from '../../../node_modules/class-variance-authority/dist/index.mjs.js';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { cn } from '../../utils/cn.js';
|
|
8
8
|
|
|
9
9
|
const NavigationMenu = React.forwardRef((_a, ref) => {
|
|
10
10
|
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
11
|
-
return (jsxs(
|
|
11
|
+
return (jsxs(Root2, Object.assign({ ref: ref, className: cn("relative z-10 flex max-w-max flex-1 items-center justify-center", className) }, props, { children: [children, jsx(NavigationMenuViewport, {})] })));
|
|
12
12
|
});
|
|
13
|
-
NavigationMenu.displayName =
|
|
13
|
+
NavigationMenu.displayName = Root2.displayName;
|
|
14
14
|
const NavigationMenuList = React.forwardRef((_a, ref) => {
|
|
15
15
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
16
|
-
return (jsx(
|
|
16
|
+
return (jsx(List, Object.assign({ ref: ref, className: cn("group flex flex-1 list-none items-center justify-center space-x-1", className) }, props)));
|
|
17
17
|
});
|
|
18
|
-
NavigationMenuList.displayName =
|
|
19
|
-
const NavigationMenuItem =
|
|
18
|
+
NavigationMenuList.displayName = List.displayName;
|
|
19
|
+
const NavigationMenuItem = Item;
|
|
20
20
|
const navigationMenuTriggerStyle = cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50");
|
|
21
21
|
const NavigationMenuTrigger = React.forwardRef((_a, ref) => {
|
|
22
22
|
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
23
|
-
return (jsxs(
|
|
23
|
+
return (jsxs(Trigger, Object.assign({ ref: ref, className: cn(navigationMenuTriggerStyle(), "group", className), onPointerMove: (event) => event.preventDefault(), onPointerLeave: (event) => event.preventDefault() }, props, { children: [children, " ", jsx(ChevronDownIcon, { className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180", "aria-hidden": "true" })] })));
|
|
24
24
|
});
|
|
25
|
-
NavigationMenuTrigger.displayName =
|
|
25
|
+
NavigationMenuTrigger.displayName = Trigger.displayName;
|
|
26
26
|
const NavigationMenuContent = React.forwardRef((_a, ref) => {
|
|
27
27
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
28
|
-
return (jsx(
|
|
28
|
+
return (jsx(Content, Object.assign({ ref: ref, className: cn("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ", className), onPointerEnter: (event) => event.preventDefault(), onPointerLeave: (event) => event.preventDefault() }, props)));
|
|
29
29
|
});
|
|
30
|
-
NavigationMenuContent.displayName =
|
|
31
|
-
const NavigationMenuLink =
|
|
30
|
+
NavigationMenuContent.displayName = Content.displayName;
|
|
31
|
+
const NavigationMenuLink = Link;
|
|
32
32
|
const NavigationMenuViewport = React.forwardRef((_a, ref) => {
|
|
33
33
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
34
|
-
return (jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: jsx(
|
|
34
|
+
return (jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: jsx(Viewport, Object.assign({ className: cn("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]", className), ref: ref }, props)) }));
|
|
35
35
|
});
|
|
36
36
|
NavigationMenuViewport.displayName =
|
|
37
|
-
|
|
37
|
+
Viewport.displayName;
|
|
38
38
|
const NavigationMenuIndicator = React.forwardRef((_a, ref) => {
|
|
39
39
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
40
|
-
return (jsx(
|
|
40
|
+
return (jsx(Indicator, Object.assign({ ref: ref, className: cn("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in", className) }, props, { children: jsx("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" }) })));
|
|
41
41
|
});
|
|
42
42
|
NavigationMenuIndicator.displayName =
|
|
43
|
-
|
|
43
|
+
Indicator.displayName;
|
|
44
44
|
|
|
45
45
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
46
46
|
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.js","sources":["../../../../../src/shadcn/ui/navigation-menu.tsx"],"sourcesContent":[null],"names":["_jsxs","NavigationMenuPrimitive.Root","_jsx","NavigationMenuPrimitive.List","NavigationMenuPrimitive.Item","NavigationMenuPrimitive.Trigger","NavigationMenuPrimitive.Content","NavigationMenuPrimitive.Link","NavigationMenuPrimitive.Viewport","NavigationMenuPrimitive.Indicator"],"mappings":";;;;;;;;AAOM,MAAA,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAiC,EAAE,GAAG,KAAI;QAA1C,EAAE,SAAS,EAAE,QAAQ,EAAA,GAAA,EAAY,EAAP,KAAK,GAAA,MAAA,CAAA,EAAA,EAA/B,yBAAiC,CAAF,CAAA;AAAY,IAAA,QAC5CA,IAAA,CAACC,
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","sources":["../../../../../src/shadcn/ui/navigation-menu.tsx"],"sourcesContent":[null],"names":["_jsxs","NavigationMenuPrimitive.Root","_jsx","NavigationMenuPrimitive.List","NavigationMenuPrimitive.Item","NavigationMenuPrimitive.Trigger","NavigationMenuPrimitive.Content","Navig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} from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { Portal as $cb5cc270b50c6fcd$export$602eac185826482c, Content as $cb5cc270b50c6fcd$export$7c6e2c02157bb7d2, Root as $cb5cc270b50c6fcd$export$be92b6f5f03c0fe9, Trigger as $cb5cc270b50c6fcd$export$41fb9f06171c75f4 } from '../../../node_modules/@radix-ui/react-popover/dist/index.mjs.js';
|
|
6
5
|
import { cn } from '../../utils/cn.js';
|
|
6
|
+
import { Trigger, Portal, Content as Content2, Anchor as Anchor2, Root as Root2 } from '../../../node_modules/@radix-ui/react-popover/dist/index.mjs.js';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
function Popover(props) {
|
|
9
|
+
return jsx(Root2, Object.assign({ "data-slot": "popover" }, props));
|
|
10
|
+
}
|
|
11
|
+
const PopoverTrigger = React.forwardRef((_a, ref) => {
|
|
12
|
+
var props = __rest(_a, []);
|
|
13
|
+
return (jsx(Trigger, Object.assign({ ref: ref, "data-slot": "popover-trigger" }, props)));
|
|
14
|
+
});
|
|
15
|
+
PopoverTrigger.displayName = "PopoverTrigger";
|
|
10
16
|
const PopoverContent = React.forwardRef((_a, ref) => {
|
|
11
17
|
var { className, align = "center", sideOffset = 4 } = _a, props = __rest(_a, ["className", "align", "sideOffset"]);
|
|
12
|
-
return (jsx(
|
|
18
|
+
return (jsx(Portal, { children: jsx(Content2, Object.assign({ ref: ref, "data-slot": "popover-content", align: align, sideOffset: sideOffset, className: cn("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 flex flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100 z-50 w-72 origin-(--radix-popover-content-transform-origin) outline-hidden", className) }, props)) }));
|
|
19
|
+
});
|
|
20
|
+
PopoverContent.displayName = "PopoverContent";
|
|
21
|
+
const PopoverAnchor = React.forwardRef((_a, ref) => {
|
|
22
|
+
var props = __rest(_a, []);
|
|
23
|
+
return (jsx(Anchor2, Object.assign({ ref: ref, "data-slot": "popover-anchor" }, props)));
|
|
24
|
+
});
|
|
25
|
+
PopoverAnchor.displayName = "PopoverAnchor";
|
|
26
|
+
const PopoverHeader = React.forwardRef((_a, ref) => {
|
|
27
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
28
|
+
return (jsx("div", Object.assign({ ref: ref, "data-slot": "popover-header", className: cn("flex flex-col gap-0.5 text-sm", className) }, props)));
|
|
29
|
+
});
|
|
30
|
+
PopoverHeader.displayName = "PopoverHeader";
|
|
31
|
+
const PopoverTitle = React.forwardRef((_a, ref) => {
|
|
32
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
33
|
+
return (jsx("h2", Object.assign({ ref: ref, "data-slot": "popover-title", className: cn("font-medium", className) }, props)));
|
|
34
|
+
});
|
|
35
|
+
PopoverTitle.displayName = "PopoverTitle";
|
|
36
|
+
const PopoverDescription = React.forwardRef((_a, ref) => {
|
|
37
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
38
|
+
return (jsx("p", Object.assign({ ref: ref, "data-slot": "popover-description", className: cn("text-muted-foreground", className) }, props)));
|
|
13
39
|
});
|
|
14
|
-
|
|
40
|
+
PopoverDescription.displayName = "PopoverDescription";
|
|
15
41
|
|
|
16
|
-
export { Popover, PopoverContent, PopoverTrigger };
|
|
42
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
|
|
17
43
|
//# sourceMappingURL=popover.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.js","sources":["../../../../../src/shadcn/ui/popover.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAOA
|
|
1
|
+
{"version":3,"file":"popover.js","sources":["../../../../../src/shadcn/ui/popover.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAOA;;AAEA;AAEM;;AAGmB;AAExB;AACD;AAEM;AAGH;AAAmE;AAcrE;AACD;AAEM;;AAGmB;AAExB;AACD;AAEM;AAGH;;AAOF;AACD;AAEM;AAGH;;AAOF;AACD;AAEM;AAGH;;AAOF;AACD;;"}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { __rest } from '../../../node_modules/tslib/tslib.es6.mjs.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { Root
|
|
5
|
+
import { Root, Indicator } from '../../../node_modules/@radix-ui/react-progress/dist/index.mjs.js';
|
|
6
6
|
import { cn } from '../../utils/cn.js';
|
|
7
7
|
|
|
8
8
|
const Progress = React.forwardRef((_a, ref) => {
|
|
9
9
|
var { className, value } = _a, props = __rest(_a, ["className", "value"]);
|
|
10
|
-
return (jsx(
|
|
10
|
+
return (jsx(Root, Object.assign({ ref: ref, className: cn("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", className) }, props, { children: jsx(Indicator, { className: "h-full w-full flex-1 bg-primary transition-all", style: { transform: `translateX(-${100 - (value || 0)}%)` } }) })));
|
|
11
11
|
});
|
|
12
|
-
Progress.displayName =
|
|
12
|
+
Progress.displayName = Root.displayName;
|
|
13
13
|
|
|
14
14
|
export { Progress };
|
|
15
15
|
//# sourceMappingURL=progress.js.map
|