laif-ds 0.1.9 → 0.1.11
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/index2.js +5 -2
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +2 -5
- package/dist/_virtual/index5.js +2 -5
- package/dist/_virtual/index6.js +5 -2
- package/dist/components/ui/accordion.js +20 -20
- package/dist/components/ui/alert-dialog.js +41 -41
- package/dist/components/ui/alert.js +10 -10
- package/dist/components/ui/aspect-ratio.js +4 -4
- package/dist/components/ui/async-select.js +112 -112
- package/dist/components/ui/audio-visualizer.js +26 -26
- package/dist/components/ui/avatar.js +17 -17
- package/dist/components/ui/badge.js +9 -10
- package/dist/components/ui/breadcrumb.js +24 -25
- package/dist/components/ui/button.js +17 -17
- package/dist/components/ui/calendar.js +8 -8
- package/dist/components/ui/card.js +15 -15
- package/dist/components/ui/carousel.js +66 -66
- package/dist/components/ui/chart.js +80 -80
- package/dist/components/ui/chat-message.js +104 -104
- package/dist/components/ui/chat.js +109 -109
- package/dist/components/ui/checkbox.js +5 -5
- package/dist/components/ui/collapsible.js +10 -10
- package/dist/components/ui/command.js +52 -52
- package/dist/components/ui/context-menu.js +61 -61
- package/dist/components/ui/copy-button.js +19 -19
- package/dist/components/ui/data-table.js +73 -73
- package/dist/components/ui/date-picker.js +18 -18
- package/dist/components/ui/dialog.js +49 -49
- package/dist/components/ui/drawer.js +43 -43
- package/dist/components/ui/file-preview.js +49 -49
- package/dist/components/ui/form.js +33 -33
- package/dist/components/ui/gantt/assets/icons/MinusSquareOutlined.js +5 -5
- package/dist/components/ui/gantt/assets/icons/PlusSquareOutlined.js +6 -6
- package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +28 -28
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +80 -80
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +13 -13
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +10 -10
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +25 -25
- package/dist/components/ui/gantt/components/Chart/Chart.js +30 -30
- package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +45 -45
- package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +37 -37
- package/dist/components/ui/gantt/components/Controls/Controls.js +53 -53
- package/dist/components/ui/gantt/components/Gantt/Gantt.js +29 -29
- package/dist/components/ui/hover-card.js +4 -4
- package/dist/components/ui/icon.js +9 -9
- package/dist/components/ui/input-otp.js +14 -14
- package/dist/components/ui/input-selector.js +38 -38
- package/dist/components/ui/input.js +32 -32
- package/dist/components/ui/interrupt-prompt.js +9 -10
- package/dist/components/ui/label.js +4 -4
- package/dist/components/ui/markdown-renderer.js +60 -63
- package/dist/components/ui/menubar.js +89 -89
- package/dist/components/ui/message-input.js +149 -150
- package/dist/components/ui/message-list.js +15 -15
- package/dist/components/ui/multiple-selector.js +159 -159
- package/dist/components/ui/navigation-menu.js +44 -44
- package/dist/components/ui/pagination.js +39 -39
- package/dist/components/ui/popover.js +13 -13
- package/dist/components/ui/progress.js +14 -14
- package/dist/components/ui/prompt-suggestions.js +10 -10
- package/dist/components/ui/radio-group.js +15 -15
- package/dist/components/ui/resizable.js +13 -13
- package/dist/components/ui/scroll-area.js +25 -25
- package/dist/components/ui/select.js +80 -80
- package/dist/components/ui/separator.js +4 -4
- package/dist/components/ui/sheet.js +48 -48
- package/dist/components/ui/sidebar.js +178 -182
- package/dist/components/ui/skeleton.js +4 -4
- package/dist/components/ui/switch.js +5 -5
- package/dist/components/ui/table.js +14 -14
- package/dist/components/ui/tabs.js +10 -10
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/toaster.js +2 -2
- package/dist/components/ui/toggle-group.js +6 -6
- package/dist/components/ui/toggle.js +2 -2
- package/dist/components/ui/tooltip.js +19 -19
- package/dist/components/ui/typing-indicator.js +7 -7
- package/dist/components/ui/typo.js +10 -10
- package/dist/dist/components/ui/checkbox.js +6 -6
- package/dist/dist/components/ui/scroll-area.js +30 -30
- package/dist/dist/components/ui/table.js +15 -15
- package/dist/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +60 -60
- package/dist/dist/node_modules/@radix-ui/react-context/dist/index.js +19 -19
- package/dist/dist/node_modules/@radix-ui/react-direction/dist/index.js +3 -2
- package/dist/dist/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
- package/dist/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +116 -116
- package/dist/dist/node_modules/@radix-ui/react-slot/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +77 -77
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +65 -65
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +21 -21
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +58 -58
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +49 -49
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +16 -16
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +36 -36
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +113 -113
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +18 -18
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +50 -50
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +4 -4
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +223 -223
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +95 -95
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +260 -260
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +92 -92
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +35 -35
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +7 -7
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +22 -22
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +105 -105
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +157 -157
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +345 -345
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +19 -19
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +46 -46
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +77 -77
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/react-day-picker/dist/index.esm.js +483 -483
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-markdown/lib/index.js +39 -39
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/package.json +3 -2
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
- package/dist/dist/node_modules/react/jsx-runtime.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -206
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -148
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -93
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -48
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -33
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -257
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -69
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -86
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -35
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -54
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -37
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -35
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -615
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -227
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -55
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -125
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/array.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/value/index.js +0 -208
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -50
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -75
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -13
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
- package/dist/node_modules/react/jsx-runtime.js +0 -11
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import { composeEventHandlers as P } from "../../primitive/dist/index.js";
|
|
4
|
-
import { useComposedRefs as
|
|
5
|
-
import { createContextScope as
|
|
6
|
-
import { DismissableLayer as
|
|
7
|
-
import { useFocusGuards as
|
|
8
|
-
import { FocusScope as
|
|
9
|
-
import { useId as
|
|
10
|
-
import { createPopperScope as
|
|
4
|
+
import { useComposedRefs as O } from "../../react-compose-refs/dist/index.js";
|
|
5
|
+
import { createContextScope as L } from "../../react-context/dist/index.js";
|
|
6
|
+
import { DismissableLayer as G } from "../../react-dismissable-layer/dist/index.js";
|
|
7
|
+
import { useFocusGuards as H } from "../../react-focus-guards/dist/index.js";
|
|
8
|
+
import { FocusScope as K } from "../../react-focus-scope/dist/index.js";
|
|
9
|
+
import { useId as $ } from "../../react-id/dist/index.js";
|
|
10
|
+
import { createPopperScope as _, Root as j, Anchor as x, Content as U, Arrow as V } from "../../react-popper/dist/index.js";
|
|
11
11
|
import { Portal as W } from "../../react-portal/dist/index.js";
|
|
12
|
-
import { Presence as
|
|
13
|
-
import { Primitive as
|
|
12
|
+
import { Presence as w } from "../../react-presence/dist/index.js";
|
|
13
|
+
import { Primitive as E } from "../../react-primitive/dist/index.js";
|
|
14
14
|
import { createSlot as Z } from "../../react-slot/dist/index.js";
|
|
15
15
|
import { useControllableState as q } from "../../react-use-controllable-state/dist/index.js";
|
|
16
16
|
import { hideOthers as z } from "../../../aria-hidden/dist/es2015/index.js";
|
|
17
17
|
import B from "../../../react-remove-scroll/dist/es2015/Combination.js";
|
|
18
|
-
import {
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
]), m =
|
|
18
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
19
|
+
var R = "Popover", [b, Oe] = L(R, [
|
|
20
|
+
_
|
|
21
|
+
]), m = _(), [J, f] = b(R), F = (e) => {
|
|
22
22
|
const {
|
|
23
23
|
__scopePopover: n,
|
|
24
24
|
children: t,
|
|
25
|
-
open:
|
|
25
|
+
open: a,
|
|
26
26
|
defaultOpen: o,
|
|
27
27
|
onOpenChange: r,
|
|
28
|
-
modal:
|
|
28
|
+
modal: s = !1
|
|
29
29
|
} = e, c = m(n), u = i.useRef(null), [l, g] = i.useState(!1), [h = !1, d] = q({
|
|
30
|
-
prop:
|
|
30
|
+
prop: a,
|
|
31
31
|
defaultProp: o,
|
|
32
32
|
onChange: r
|
|
33
33
|
});
|
|
34
|
-
return /* @__PURE__ */ p
|
|
34
|
+
return /* @__PURE__ */ p(j, { ...c, children: /* @__PURE__ */ p(
|
|
35
35
|
J,
|
|
36
36
|
{
|
|
37
37
|
scope: n,
|
|
38
|
-
contentId:
|
|
38
|
+
contentId: $(),
|
|
39
39
|
triggerRef: u,
|
|
40
40
|
open: h,
|
|
41
41
|
onOpenChange: d,
|
|
@@ -43,80 +43,80 @@ var x = "Popover", [j, Ae] = T(x, [
|
|
|
43
43
|
hasCustomAnchor: l,
|
|
44
44
|
onCustomAnchorAdd: i.useCallback(() => g(!0), []),
|
|
45
45
|
onCustomAnchorRemove: i.useCallback(() => g(!1), []),
|
|
46
|
-
modal:
|
|
46
|
+
modal: s,
|
|
47
47
|
children: t
|
|
48
48
|
}
|
|
49
49
|
) });
|
|
50
50
|
};
|
|
51
|
-
|
|
52
|
-
var
|
|
51
|
+
F.displayName = R;
|
|
52
|
+
var N = "PopoverAnchor", Q = i.forwardRef(
|
|
53
53
|
(e, n) => {
|
|
54
|
-
const { __scopePopover: t, ...
|
|
55
|
-
return i.useEffect(() => (
|
|
54
|
+
const { __scopePopover: t, ...a } = e, o = f(N, t), r = m(t), { onCustomAnchorAdd: s, onCustomAnchorRemove: c } = o;
|
|
55
|
+
return i.useEffect(() => (s(), () => c()), [s, c]), /* @__PURE__ */ p(x, { ...r, ...a, ref: n });
|
|
56
56
|
}
|
|
57
57
|
);
|
|
58
|
-
Q.displayName =
|
|
59
|
-
var
|
|
58
|
+
Q.displayName = N;
|
|
59
|
+
var S = "PopoverTrigger", y = i.forwardRef(
|
|
60
60
|
(e, n) => {
|
|
61
|
-
const { __scopePopover: t, ...
|
|
62
|
-
|
|
61
|
+
const { __scopePopover: t, ...a } = e, o = f(S, t), r = m(t), s = O(n, o.triggerRef), c = /* @__PURE__ */ p(
|
|
62
|
+
E.button,
|
|
63
63
|
{
|
|
64
64
|
type: "button",
|
|
65
65
|
"aria-haspopup": "dialog",
|
|
66
66
|
"aria-expanded": o.open,
|
|
67
67
|
"aria-controls": o.contentId,
|
|
68
|
-
"data-state":
|
|
69
|
-
...
|
|
70
|
-
ref:
|
|
68
|
+
"data-state": T(o.open),
|
|
69
|
+
...a,
|
|
70
|
+
ref: s,
|
|
71
71
|
onClick: P(e.onClick, o.onOpenToggle)
|
|
72
72
|
}
|
|
73
73
|
);
|
|
74
|
-
return o.hasCustomAnchor ? c : /* @__PURE__ */ p
|
|
74
|
+
return o.hasCustomAnchor ? c : /* @__PURE__ */ p(x, { asChild: !0, ...r, children: c });
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
|
-
|
|
78
|
-
var
|
|
77
|
+
y.displayName = S;
|
|
78
|
+
var A = "PopoverPortal", [X, Y] = b(A, {
|
|
79
79
|
forceMount: void 0
|
|
80
|
-
}),
|
|
81
|
-
const { __scopePopover: n, forceMount: t, children:
|
|
82
|
-
return /* @__PURE__ */ p
|
|
80
|
+
}), D = (e) => {
|
|
81
|
+
const { __scopePopover: n, forceMount: t, children: a, container: o } = e, r = f(A, n);
|
|
82
|
+
return /* @__PURE__ */ p(X, { scope: n, forceMount: t, children: /* @__PURE__ */ p(w, { present: t || r.open, children: /* @__PURE__ */ p(W, { asChild: !0, container: o, children: a }) }) });
|
|
83
83
|
};
|
|
84
|
-
|
|
85
|
-
var v = "PopoverContent",
|
|
84
|
+
D.displayName = A;
|
|
85
|
+
var v = "PopoverContent", M = i.forwardRef(
|
|
86
86
|
(e, n) => {
|
|
87
|
-
const t = Y(v, e.__scopePopover), { forceMount:
|
|
88
|
-
return /* @__PURE__ */ p
|
|
87
|
+
const t = Y(v, e.__scopePopover), { forceMount: a = t.forceMount, ...o } = e, r = f(v, e.__scopePopover);
|
|
88
|
+
return /* @__PURE__ */ p(w, { present: a || r.open, children: r.modal ? /* @__PURE__ */ p(oe, { ...o, ref: n }) : /* @__PURE__ */ p(re, { ...o, ref: n }) });
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
|
-
|
|
91
|
+
M.displayName = v;
|
|
92
92
|
var ee = Z("PopoverContent.RemoveScroll"), oe = i.forwardRef(
|
|
93
93
|
(e, n) => {
|
|
94
|
-
const t = f(v, e.__scopePopover),
|
|
94
|
+
const t = f(v, e.__scopePopover), a = i.useRef(null), o = O(n, a), r = i.useRef(!1);
|
|
95
95
|
return i.useEffect(() => {
|
|
96
|
-
const
|
|
97
|
-
if (
|
|
98
|
-
}, []), /* @__PURE__ */ p
|
|
99
|
-
|
|
96
|
+
const s = a.current;
|
|
97
|
+
if (s) return z(s);
|
|
98
|
+
}, []), /* @__PURE__ */ p(B, { as: ee, allowPinchZoom: !0, children: /* @__PURE__ */ p(
|
|
99
|
+
k,
|
|
100
100
|
{
|
|
101
101
|
...e,
|
|
102
102
|
ref: o,
|
|
103
103
|
trapFocus: t.open,
|
|
104
104
|
disableOutsidePointerEvents: !0,
|
|
105
|
-
onCloseAutoFocus: P(e.onCloseAutoFocus, (
|
|
105
|
+
onCloseAutoFocus: P(e.onCloseAutoFocus, (s) => {
|
|
106
106
|
var c;
|
|
107
|
-
|
|
107
|
+
s.preventDefault(), r.current || (c = t.triggerRef.current) == null || c.focus();
|
|
108
108
|
}),
|
|
109
109
|
onPointerDownOutside: P(
|
|
110
110
|
e.onPointerDownOutside,
|
|
111
|
-
(
|
|
112
|
-
const c =
|
|
111
|
+
(s) => {
|
|
112
|
+
const c = s.detail.originalEvent, u = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || u;
|
|
113
113
|
r.current = l;
|
|
114
114
|
},
|
|
115
115
|
{ checkForDefaultPrevented: !1 }
|
|
116
116
|
),
|
|
117
117
|
onFocusOutside: P(
|
|
118
118
|
e.onFocusOutside,
|
|
119
|
-
(
|
|
119
|
+
(s) => s.preventDefault(),
|
|
120
120
|
{ checkForDefaultPrevented: !1 }
|
|
121
121
|
)
|
|
122
122
|
}
|
|
@@ -124,63 +124,63 @@ var ee = Z("PopoverContent.RemoveScroll"), oe = i.forwardRef(
|
|
|
124
124
|
}
|
|
125
125
|
), re = i.forwardRef(
|
|
126
126
|
(e, n) => {
|
|
127
|
-
const t = f(v, e.__scopePopover),
|
|
128
|
-
return /* @__PURE__ */ p
|
|
129
|
-
|
|
127
|
+
const t = f(v, e.__scopePopover), a = i.useRef(!1), o = i.useRef(!1);
|
|
128
|
+
return /* @__PURE__ */ p(
|
|
129
|
+
k,
|
|
130
130
|
{
|
|
131
131
|
...e,
|
|
132
132
|
ref: n,
|
|
133
133
|
trapFocus: !1,
|
|
134
134
|
disableOutsidePointerEvents: !1,
|
|
135
135
|
onCloseAutoFocus: (r) => {
|
|
136
|
-
var
|
|
137
|
-
(
|
|
136
|
+
var s, c;
|
|
137
|
+
(s = e.onCloseAutoFocus) == null || s.call(e, r), r.defaultPrevented || (a.current || (c = t.triggerRef.current) == null || c.focus(), r.preventDefault()), a.current = !1, o.current = !1;
|
|
138
138
|
},
|
|
139
139
|
onInteractOutside: (r) => {
|
|
140
140
|
var u, l;
|
|
141
|
-
(u = e.onInteractOutside) == null || u.call(e, r), r.defaultPrevented || (
|
|
142
|
-
const
|
|
143
|
-
((l = t.triggerRef.current) == null ? void 0 : l.contains(
|
|
141
|
+
(u = e.onInteractOutside) == null || u.call(e, r), r.defaultPrevented || (a.current = !0, r.detail.originalEvent.type === "pointerdown" && (o.current = !0));
|
|
142
|
+
const s = r.target;
|
|
143
|
+
((l = t.triggerRef.current) == null ? void 0 : l.contains(s)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && o.current && r.preventDefault();
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
);
|
|
147
147
|
}
|
|
148
|
-
),
|
|
148
|
+
), k = i.forwardRef(
|
|
149
149
|
(e, n) => {
|
|
150
150
|
const {
|
|
151
151
|
__scopePopover: t,
|
|
152
|
-
trapFocus:
|
|
152
|
+
trapFocus: a,
|
|
153
153
|
onOpenAutoFocus: o,
|
|
154
154
|
onCloseAutoFocus: r,
|
|
155
|
-
disableOutsidePointerEvents:
|
|
155
|
+
disableOutsidePointerEvents: s,
|
|
156
156
|
onEscapeKeyDown: c,
|
|
157
157
|
onPointerDownOutside: u,
|
|
158
158
|
onFocusOutside: l,
|
|
159
159
|
onInteractOutside: g,
|
|
160
160
|
...h
|
|
161
161
|
} = e, d = f(v, t), C = m(t);
|
|
162
|
-
return
|
|
163
|
-
|
|
162
|
+
return H(), /* @__PURE__ */ p(
|
|
163
|
+
K,
|
|
164
164
|
{
|
|
165
165
|
asChild: !0,
|
|
166
166
|
loop: !0,
|
|
167
|
-
trapped:
|
|
167
|
+
trapped: a,
|
|
168
168
|
onMountAutoFocus: o,
|
|
169
169
|
onUnmountAutoFocus: r,
|
|
170
|
-
children: /* @__PURE__ */ p
|
|
171
|
-
|
|
170
|
+
children: /* @__PURE__ */ p(
|
|
171
|
+
G,
|
|
172
172
|
{
|
|
173
173
|
asChild: !0,
|
|
174
|
-
disableOutsidePointerEvents:
|
|
174
|
+
disableOutsidePointerEvents: s,
|
|
175
175
|
onInteractOutside: g,
|
|
176
176
|
onEscapeKeyDown: c,
|
|
177
177
|
onPointerDownOutside: u,
|
|
178
178
|
onFocusOutside: l,
|
|
179
179
|
onDismiss: () => d.onOpenChange(!1),
|
|
180
|
-
children: /* @__PURE__ */ p
|
|
180
|
+
children: /* @__PURE__ */ p(
|
|
181
181
|
U,
|
|
182
182
|
{
|
|
183
|
-
"data-state":
|
|
183
|
+
"data-state": T(d.open),
|
|
184
184
|
role: "dialog",
|
|
185
185
|
id: d.contentId,
|
|
186
186
|
...C,
|
|
@@ -201,43 +201,43 @@ var ee = Z("PopoverContent.RemoveScroll"), oe = i.forwardRef(
|
|
|
201
201
|
}
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
),
|
|
204
|
+
), I = "PopoverClose", te = i.forwardRef(
|
|
205
205
|
(e, n) => {
|
|
206
|
-
const { __scopePopover: t, ...
|
|
207
|
-
return /* @__PURE__ */ p
|
|
208
|
-
|
|
206
|
+
const { __scopePopover: t, ...a } = e, o = f(I, t);
|
|
207
|
+
return /* @__PURE__ */ p(
|
|
208
|
+
E.button,
|
|
209
209
|
{
|
|
210
210
|
type: "button",
|
|
211
|
-
...
|
|
211
|
+
...a,
|
|
212
212
|
ref: n,
|
|
213
213
|
onClick: P(e.onClick, () => o.onOpenChange(!1))
|
|
214
214
|
}
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
217
|
);
|
|
218
|
-
te.displayName =
|
|
219
|
-
var ne = "PopoverArrow",
|
|
218
|
+
te.displayName = I;
|
|
219
|
+
var ne = "PopoverArrow", ae = i.forwardRef(
|
|
220
220
|
(e, n) => {
|
|
221
|
-
const { __scopePopover: t, ...
|
|
222
|
-
return /* @__PURE__ */ p
|
|
221
|
+
const { __scopePopover: t, ...a } = e, o = m(t);
|
|
222
|
+
return /* @__PURE__ */ p(V, { ...o, ...a, ref: n });
|
|
223
223
|
}
|
|
224
224
|
);
|
|
225
|
-
|
|
226
|
-
function
|
|
225
|
+
ae.displayName = ne;
|
|
226
|
+
function T(e) {
|
|
227
227
|
return e ? "open" : "closed";
|
|
228
228
|
}
|
|
229
|
-
var
|
|
229
|
+
var _e = F, xe = y, we = D, Ee = M;
|
|
230
230
|
export {
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
Ee as Content,
|
|
232
|
+
F as Popover,
|
|
233
233
|
Q as PopoverAnchor,
|
|
234
|
-
|
|
234
|
+
ae as PopoverArrow,
|
|
235
235
|
te as PopoverClose,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
236
|
+
M as PopoverContent,
|
|
237
|
+
D as PopoverPortal,
|
|
238
|
+
y as PopoverTrigger,
|
|
239
|
+
we as Portal,
|
|
240
|
+
_e as Root,
|
|
241
|
+
xe as Trigger,
|
|
242
|
+
Oe as createPopoverScope
|
|
243
243
|
};
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
import * as s from "react";
|
|
3
3
|
import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "../../../@floating-ui/react-dom/dist/floating-ui.react-dom.js";
|
|
4
4
|
import { Root as Oe } from "../../react-arrow/dist/index.js";
|
|
5
|
-
import { useComposedRefs as
|
|
5
|
+
import { useComposedRefs as j } from "../../react-compose-refs/dist/index.js";
|
|
6
6
|
import { createContextScope as Re } from "../../react-context/dist/index.js";
|
|
7
7
|
import { Primitive as z } from "../../react-primitive/dist/index.js";
|
|
8
8
|
import { useCallbackRef as Ee } from "../../react-use-callback-ref/dist/index.js";
|
|
9
|
-
import { useLayoutEffect as
|
|
9
|
+
import { useLayoutEffect as T } from "../../react-use-layout-effect/dist/index.js";
|
|
10
10
|
import { useSize as Ne } from "../../react-use-size/dist/index.js";
|
|
11
|
-
import {
|
|
11
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
12
12
|
import { autoUpdate as _e } from "../../../@floating-ui/dom/dist/floating-ui.dom.js";
|
|
13
13
|
var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
|
|
14
14
|
const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
|
|
15
|
-
return /* @__PURE__ */ f
|
|
15
|
+
return /* @__PURE__ */ f($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
|
|
16
16
|
};
|
|
17
17
|
U.displayName = N;
|
|
18
18
|
var q = "PopperAnchor", G = s.forwardRef(
|
|
19
19
|
(e, i) => {
|
|
20
|
-
const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w =
|
|
20
|
+
const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = j(i, o);
|
|
21
21
|
return s.useEffect(() => {
|
|
22
22
|
r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
|
|
23
|
-
}), t ? null : /* @__PURE__ */ f
|
|
23
|
+
}), t ? null : /* @__PURE__ */ f(z.div, { ...a, ref: w });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
G.displayName = q;
|
|
27
|
-
var _ = "PopperContent", [
|
|
27
|
+
var _ = "PopperContent", [He, We] = L(_), J = s.forwardRef(
|
|
28
28
|
(e, i) => {
|
|
29
|
-
var
|
|
29
|
+
var Y, M, X, D, F, k;
|
|
30
30
|
const {
|
|
31
31
|
__scopePopper: n,
|
|
32
32
|
side: t = "bottom",
|
|
@@ -42,12 +42,12 @@ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
|
|
|
42
42
|
updatePositionStrategy: A = "optimized",
|
|
43
43
|
onPlaced: l,
|
|
44
44
|
...d
|
|
45
|
-
} = e, v = Z(_, n), [h, C] = s.useState(null), ee =
|
|
45
|
+
} = e, v = Z(_, n), [h, C] = s.useState(null), ee = j(i, (P) => C(P)), [E, te] = s.useState(null), g = Ne(E), re = (g == null ? void 0 : g.width) ?? 0, $ = (g == null ? void 0 : g.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, H = Array.isArray(c) ? c : [c], ae = H.length > 0, b = {
|
|
46
46
|
padding: ne,
|
|
47
|
-
boundary:
|
|
47
|
+
boundary: H.filter(Ye),
|
|
48
48
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
49
49
|
altBoundary: ae
|
|
50
|
-
}, { refs: ie, floatingStyles:
|
|
50
|
+
}, { refs: ie, floatingStyles: W, placement: se, isPositioned: S, middlewareData: u } = xe({
|
|
51
51
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
52
52
|
strategy: "fixed",
|
|
53
53
|
placement: oe,
|
|
@@ -68,59 +68,59 @@ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
|
|
|
68
68
|
p && Ae({ ...b }),
|
|
69
69
|
ve({
|
|
70
70
|
...b,
|
|
71
|
-
apply: ({ elements: P, rects:
|
|
72
|
-
const { width: ue, height: we } =
|
|
71
|
+
apply: ({ elements: P, rects: B, availableWidth: he, availableHeight: ge }) => {
|
|
72
|
+
const { width: ue, height: we } = B.reference, R = P.floating.style;
|
|
73
73
|
R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ge}px`), R.setProperty("--radix-popper-anchor-width", `${ue}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
|
|
74
74
|
}
|
|
75
75
|
}),
|
|
76
76
|
E && Ce({ element: E, padding: w }),
|
|
77
|
-
|
|
77
|
+
Me({ arrowWidth: re, arrowHeight: $ }),
|
|
78
78
|
y && be({ strategy: "referenceHidden", ...b })
|
|
79
79
|
]
|
|
80
|
-
}), [
|
|
81
|
-
|
|
80
|
+
}), [I, pe] = V(se), O = Ee(l);
|
|
81
|
+
T(() => {
|
|
82
82
|
S && (O == null || O());
|
|
83
83
|
}, [S, O]);
|
|
84
|
-
const ce = (
|
|
85
|
-
return
|
|
84
|
+
const ce = (Y = u.arrow) == null ? void 0 : Y.x, de = (M = u.arrow) == null ? void 0 : M.y, le = ((X = u.arrow) == null ? void 0 : X.centerOffset) !== 0, [fe, me] = s.useState();
|
|
85
|
+
return T(() => {
|
|
86
86
|
h && me(window.getComputedStyle(h).zIndex);
|
|
87
|
-
}, [h]), /* @__PURE__ */ f
|
|
87
|
+
}, [h]), /* @__PURE__ */ f(
|
|
88
88
|
"div",
|
|
89
89
|
{
|
|
90
90
|
ref: ie.setFloating,
|
|
91
91
|
"data-radix-popper-content-wrapper": "",
|
|
92
92
|
style: {
|
|
93
|
-
...
|
|
94
|
-
transform: S ?
|
|
93
|
+
...W,
|
|
94
|
+
transform: S ? W.transform : "translate(0, -200%)",
|
|
95
95
|
// keep off the page when measuring
|
|
96
96
|
minWidth: "max-content",
|
|
97
97
|
zIndex: fe,
|
|
98
98
|
"--radix-popper-transform-origin": [
|
|
99
|
-
(
|
|
100
|
-
(
|
|
99
|
+
(D = u.transformOrigin) == null ? void 0 : D.x,
|
|
100
|
+
(F = u.transformOrigin) == null ? void 0 : F.y
|
|
101
101
|
].join(" "),
|
|
102
102
|
// hide the content if using the hide middleware and should be hidden
|
|
103
103
|
// set visibility to hidden and disable pointer events so the UI behaves
|
|
104
104
|
// as if the PopperContent isn't there at all
|
|
105
|
-
...((
|
|
105
|
+
...((k = u.hide) == null ? void 0 : k.referenceHidden) && {
|
|
106
106
|
visibility: "hidden",
|
|
107
107
|
pointerEvents: "none"
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
dir: e.dir,
|
|
111
|
-
children: /* @__PURE__ */ f
|
|
112
|
-
|
|
111
|
+
children: /* @__PURE__ */ f(
|
|
112
|
+
He,
|
|
113
113
|
{
|
|
114
114
|
scope: n,
|
|
115
|
-
placedSide:
|
|
115
|
+
placedSide: I,
|
|
116
116
|
onArrowChange: te,
|
|
117
117
|
arrowX: ce,
|
|
118
118
|
arrowY: de,
|
|
119
119
|
shouldHideArrow: le,
|
|
120
|
-
children: /* @__PURE__ */ f
|
|
120
|
+
children: /* @__PURE__ */ f(
|
|
121
121
|
z.div,
|
|
122
122
|
{
|
|
123
|
-
"data-side":
|
|
123
|
+
"data-side": I,
|
|
124
124
|
"data-align": pe,
|
|
125
125
|
...d,
|
|
126
126
|
ref: ee,
|
|
@@ -139,18 +139,18 @@ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
|
|
|
139
139
|
}
|
|
140
140
|
);
|
|
141
141
|
J.displayName = _;
|
|
142
|
-
var K = "PopperArrow",
|
|
142
|
+
var K = "PopperArrow", Ie = {
|
|
143
143
|
top: "bottom",
|
|
144
144
|
right: "left",
|
|
145
145
|
bottom: "top",
|
|
146
146
|
left: "right"
|
|
147
147
|
}, Q = s.forwardRef(function(i, n) {
|
|
148
|
-
const { __scopePopper: t, ...a } = i, r =
|
|
148
|
+
const { __scopePopper: t, ...a } = i, r = We(K, t), o = Ie[r.placedSide];
|
|
149
149
|
return (
|
|
150
150
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
151
151
|
// doesn't report size as we'd expect on SVG elements.
|
|
152
152
|
// it reports their bounding box which is effectively the largest path inside the SVG.
|
|
153
|
-
/* @__PURE__ */ f
|
|
153
|
+
/* @__PURE__ */ f(
|
|
154
154
|
"span",
|
|
155
155
|
{
|
|
156
156
|
ref: r.onArrowChange,
|
|
@@ -173,7 +173,7 @@ var K = "PopperArrow", We = {
|
|
|
173
173
|
}[r.placedSide],
|
|
174
174
|
visibility: r.shouldHideArrow ? "hidden" : void 0
|
|
175
175
|
},
|
|
176
|
-
children: /* @__PURE__ */ f
|
|
176
|
+
children: /* @__PURE__ */ f(
|
|
177
177
|
Oe,
|
|
178
178
|
{
|
|
179
179
|
...a,
|
|
@@ -190,10 +190,10 @@ var K = "PopperArrow", We = {
|
|
|
190
190
|
);
|
|
191
191
|
});
|
|
192
192
|
Q.displayName = K;
|
|
193
|
-
function
|
|
193
|
+
function Ye(e) {
|
|
194
194
|
return e !== null;
|
|
195
195
|
}
|
|
196
|
-
var
|
|
196
|
+
var Me = (e) => ({
|
|
197
197
|
name: "transformOrigin",
|
|
198
198
|
options: e,
|
|
199
199
|
fn(i) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import
|
|
4
|
-
import { Primitive as
|
|
5
|
-
import { useLayoutEffect as
|
|
6
|
-
import {
|
|
3
|
+
import m from "react-dom";
|
|
4
|
+
import { Primitive as c } from "../../react-primitive/dist/index.js";
|
|
5
|
+
import { useLayoutEffect as u } from "../../react-use-layout-effect/dist/index.js";
|
|
6
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
7
7
|
var p = "Portal", d = r.forwardRef((e, a) => {
|
|
8
8
|
var o;
|
|
9
|
-
const { container:
|
|
10
|
-
|
|
11
|
-
const t =
|
|
12
|
-
return t ?
|
|
9
|
+
const { container: i, ...n } = e, [s, f] = r.useState(!1);
|
|
10
|
+
u(() => f(!0), []);
|
|
11
|
+
const t = i || s && ((o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body);
|
|
12
|
+
return t ? m.createPortal(/* @__PURE__ */ l(c.div, { ...n, ref: a }), t) : null;
|
|
13
13
|
});
|
|
14
14
|
d.displayName = p;
|
|
15
15
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import * as p from "react-dom";
|
|
4
4
|
import { createSlot as c } from "../../react-slot/dist/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
6
6
|
var l = [
|
|
7
7
|
"a",
|
|
8
8
|
"button",
|
|
@@ -21,14 +21,14 @@ var l = [
|
|
|
21
21
|
"svg",
|
|
22
22
|
"ul"
|
|
23
23
|
], h = l.reduce((t, i) => {
|
|
24
|
-
const o = c(`Primitive.${i}`), r =
|
|
25
|
-
const { asChild:
|
|
26
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u
|
|
24
|
+
const o = c(`Primitive.${i}`), r = f.forwardRef((e, m) => {
|
|
25
|
+
const { asChild: s, ...a } = e, n = s ? o : i;
|
|
26
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(n, { ...a, ref: m });
|
|
27
27
|
});
|
|
28
28
|
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
29
29
|
}, {});
|
|
30
30
|
function w(t, i) {
|
|
31
|
-
t &&
|
|
31
|
+
t && p.flushSync(() => t.dispatchEvent(i));
|
|
32
32
|
}
|
|
33
33
|
export {
|
|
34
34
|
h as Primitive,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
2
|
+
import * as c from "react";
|
|
3
3
|
import { createContextScope as $ } from "../../react-context/dist/index.js";
|
|
4
|
-
import { Primitive as
|
|
5
|
-
import {
|
|
6
|
-
var
|
|
4
|
+
import { Primitive as m } from "../../react-primitive/dist/index.js";
|
|
5
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
6
|
+
var u = "Progress", d = 100, [h, C] = $(u), [R, _] = h(u), f = c.forwardRef(
|
|
7
7
|
(r, e) => {
|
|
8
8
|
const {
|
|
9
9
|
__scopeProgress: i,
|
|
10
10
|
value: o = null,
|
|
11
11
|
max: a,
|
|
12
|
-
getValueLabel: N =
|
|
12
|
+
getValueLabel: N = E,
|
|
13
13
|
...b
|
|
14
14
|
} = r;
|
|
15
15
|
(a || a === 0) && !v(a) && console.error(M(`${a}`, "Progress"));
|
|
16
16
|
const t = v(a) ? a : d;
|
|
17
17
|
o !== null && !p(o, t) && console.error(V(`${o}`, "Progress"));
|
|
18
18
|
const s = p(o, t) ? o : null, I = n(s) ? N(s, t) : void 0;
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
|
|
19
|
+
return /* @__PURE__ */ l(R, { scope: i, value: s, max: t, children: /* @__PURE__ */ l(
|
|
20
|
+
m.div,
|
|
21
21
|
{
|
|
22
22
|
"aria-valuemax": t,
|
|
23
23
|
"aria-valuemin": 0,
|
|
24
24
|
"aria-valuenow": n(s) ? s : void 0,
|
|
25
25
|
"aria-valuetext": I,
|
|
26
26
|
role: "progressbar",
|
|
27
|
-
"data-state":
|
|
27
|
+
"data-state": x(s, t),
|
|
28
28
|
"data-value": s ?? void 0,
|
|
29
29
|
"data-max": t,
|
|
30
30
|
...b,
|
|
@@ -33,14 +33,14 @@ var l = "Progress", d = 100, [R, y] = $(l), [h, E] = R(l), f = m.forwardRef(
|
|
|
33
33
|
) });
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
|
-
f.displayName =
|
|
37
|
-
var g = "ProgressIndicator",
|
|
36
|
+
f.displayName = u;
|
|
37
|
+
var g = "ProgressIndicator", P = c.forwardRef(
|
|
38
38
|
(r, e) => {
|
|
39
|
-
const { __scopeProgress: i, ...o } = r, a =
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
|
|
39
|
+
const { __scopeProgress: i, ...o } = r, a = _(g, i);
|
|
40
|
+
return /* @__PURE__ */ l(
|
|
41
|
+
m.div,
|
|
42
42
|
{
|
|
43
|
-
"data-state":
|
|
43
|
+
"data-state": x(a.value, a.max),
|
|
44
44
|
"data-value": a.value ?? void 0,
|
|
45
45
|
"data-max": a.max,
|
|
46
46
|
...o,
|
|
@@ -49,11 +49,11 @@ var g = "ProgressIndicator", x = m.forwardRef(
|
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
|
-
|
|
53
|
-
function
|
|
52
|
+
P.displayName = g;
|
|
53
|
+
function E(r, e) {
|
|
54
54
|
return `${Math.round(r / e * 100)}%`;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function x(r, e) {
|
|
57
57
|
return r == null ? "indeterminate" : r === e ? "complete" : "loading";
|
|
58
58
|
}
|
|
59
59
|
function n(r) {
|
|
@@ -76,11 +76,11 @@ function V(r, e) {
|
|
|
76
76
|
|
|
77
77
|
Defaulting to \`null\`.`;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
79
|
+
var D = f, L = P;
|
|
80
80
|
export {
|
|
81
|
-
|
|
81
|
+
L as Indicator,
|
|
82
82
|
f as Progress,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
P as ProgressIndicator,
|
|
84
|
+
D as Root,
|
|
85
|
+
C as createProgressScope
|
|
86
86
|
};
|