@jfrader/ui 0.5.1 → 0.7.0
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/README.md +28 -7
- package/dist/{accordion-DLul6vIl.js → accordion-D6myONB9.js} +36 -35
- package/dist/accordion.js +1 -1
- package/dist/activity-rings-Uszvwqdl.js +528 -0
- package/dist/activity-rings.js +2 -0
- package/dist/{alert-DS_einpy.js → alert-Bhj-qSMs.js} +15 -14
- package/dist/alert.js +1 -1
- package/dist/{announcement-bar-Dlbq5-9D.js → announcement-bar-B5J33QUh.js} +132 -131
- package/dist/announcement-bar.js +1 -1
- package/dist/{avatar-group-M1opAQEG.js → avatar-group-BlMLNw4J.js} +10 -9
- package/dist/avatar-group.js +1 -1
- package/dist/avatar-sPxDqFiZ.js +133 -0
- package/dist/avatar.js +1 -1
- package/dist/{badge-CjM5Agqk.js → badge-CfhTcA-Z.js} +10 -9
- package/dist/badge.js +1 -1
- package/dist/billing-toggle-CgC7yxxo.js +349 -0
- package/dist/billing-toggle.js +2 -0
- package/dist/{bottom-sheet-DjZOPq4k.js → bottom-sheet-BFQKO0Wo.js} +282 -264
- package/dist/bottom-sheet.js +1 -1
- package/dist/{breadcrumbs-BDK_LiwH.js → breadcrumbs-CG3akw-b.js} +19 -18
- package/dist/breadcrumbs.js +1 -1
- package/dist/{button-NLY0h6EJ.js → button-C6OV0C7J.js} +14 -13
- package/dist/button-group-B9wP2ddS.js +611 -0
- package/dist/button-group.js +2 -0
- package/dist/button.js +1 -1
- package/dist/calendar-Bg6D2sul.js +377 -0
- package/dist/calendar.js +1 -1
- package/dist/calendar.utils-azmB4Ej7.js +79 -0
- package/dist/card-C008OQCp.js +164 -0
- package/dist/card.js +1 -1
- package/dist/{carousel-B7OrvD6J.js → carousel-lTH4Foke.js} +13 -12
- package/dist/carousel.js +1 -1
- package/dist/chat-thread-DkB-WMWJ.js +864 -0
- package/dist/chat-thread.js +2 -0
- package/dist/{checkbox-DKSzExj2.js → checkbox-CClE61GV.js} +9 -8
- package/dist/checkbox.js +1 -1
- package/dist/{chip-group-DjQ0_6Y9.js → chip-group-BZUX9KPF.js} +17 -16
- package/dist/chip-group.js +1 -1
- package/dist/{choice-control-5kJkLXgv.js → choice-control-BsWOZPc9.js} +1 -1
- package/dist/{code-block-B5we2lZa.js → code-block-CYP89_6h.js} +35 -34
- package/dist/code-block.js +1 -1
- package/dist/{combobox-DFFqOBCi.js → combobox-D2Oc-co7.js} +21 -20
- package/dist/combobox.js +1 -1
- package/dist/command-palette-BrT1n9bb.js +394 -0
- package/dist/command-palette.js +1 -1
- package/dist/comment-thread-DXfqgRNI.js +772 -0
- package/dist/comment-thread.js +1 -1
- package/dist/{container-BOaSptJa.js → container-BxtwJSSD.js} +3 -2
- package/dist/container.js +1 -1
- package/dist/{context-menu-__1c2Dk9.js → context-menu-I4i0LRpm.js} +52 -51
- package/dist/context-menu.js +1 -1
- package/dist/{copy-button-DCSLcYS-.js → copy-button-C0p_qrgf.js} +4 -4
- package/dist/copy-button.js +1 -1
- package/dist/{countdown-Dp_TD1VP.js → countdown-EcpV6rXy.js} +18 -17
- package/dist/countdown.js +1 -1
- package/dist/css-BYJhdGh-.js +2 -0
- package/dist/{date-picker-BiPN7yeK.js → date-picker-D-bn-iHs.js} +14 -13
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-rXcZsI1Y.js +589 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/dialog-CR1xdkrC.js +222 -0
- package/dist/dialog.js +1 -1
- package/dist/{divider-Cp7aNbhM.js → divider-zOJzkcHh.js} +7 -6
- package/dist/divider.js +1 -1
- package/dist/drawer-CceaEhCr.js +590 -0
- package/dist/drawer.js +1 -1
- package/dist/emblem-DnXmpZCh.js +166 -0
- package/dist/emblem.js +2 -0
- package/dist/{empty-state-CDgrjPPf.js → empty-state-DO0ApylK.js} +2 -1
- package/dist/empty-state.js +1 -1
- package/dist/{expandable-card-rUATve0o.js → expandable-card-W97vjix9.js} +52 -51
- package/dist/expandable-card.js +1 -1
- package/dist/{expanding-search-BxOwtdwt.js → expanding-search-Bb2_YfNx.js} +16 -15
- package/dist/expanding-search.js +1 -1
- package/dist/{field-anatomy-COVdNpf5.js → field-anatomy-BDIP42MI.js} +2 -1
- package/dist/{file-dropzone-BuXm3Tea.js → file-dropzone-Bi5ikRIz.js} +14 -13
- package/dist/file-dropzone.js +1 -1
- package/dist/{filter-toolbar-Cy5Hqur-.js → filter-toolbar-QRnC4S_H.js} +33 -32
- package/dist/filter-toolbar.js +1 -1
- package/dist/{flex-Dh-_J5-U.js → flex-CS7eMRcK.js} +2 -2
- package/dist/flex.js +1 -1
- package/dist/game-card-Oeu74giK.js +194 -0
- package/dist/game-card.js +2 -0
- package/dist/{hold-to-confirm-DjB2EVjM.js → hold-to-confirm-CVBA0wNT.js} +18 -17
- package/dist/hold-to-confirm.js +1 -1
- package/dist/{hover-card-CoMJKg1g.js → hover-card-Dgu2CwMD.js} +20 -19
- package/dist/hover-card.js +1 -1
- package/dist/{icon-wrapper-stN8sD7R.js → icon-wrapper-C-zMD0uL.js} +1 -1
- package/dist/{image-compare-BxY8Ykzt.js → image-compare-Ln2UUqTU.js} +20 -19
- package/dist/image-compare.js +1 -1
- package/dist/in-view-title-BUZCMqge.js +225 -0
- package/dist/in-view-title.js +2 -0
- package/dist/index.js +102 -83
- package/dist/initials-DEdwNe9_.js +18 -0
- package/dist/{inline-edit-C0eeml65.js → inline-edit-D-pR2RPC.js} +22 -21
- package/dist/inline-edit.js +1 -1
- package/dist/{input-control-DmMuAuPS.js → input-control-B6HVBgwl.js} +1 -1
- package/dist/{json-viewer-DgWqyU75.js → json-viewer-Dro3WrjS.js} +31 -30
- package/dist/json-viewer.js +1 -1
- package/dist/{kbd-C3ACoMoE.js → kbd-BI_9qzYr.js} +2 -1
- package/dist/kbd.js +1 -1
- package/dist/keycap-keyboard-Cdx-OAS1.js +311 -0
- package/dist/keycap-keyboard.js +2 -0
- package/dist/{layout-style-Cbd1Vilw.js → layout-style-BE0gSqrH.js} +1 -1
- package/dist/lightbox-gallery-D0YaSTut.js +777 -0
- package/dist/lightbox-gallery.js +2 -0
- package/dist/link-unfurl-CReyIjyy.js +695 -0
- package/dist/link-unfurl.js +2 -0
- package/dist/{listbox-style-WX-RASp1.js → listbox-style-DNOxAulu.js} +1 -1
- package/dist/{loading-ring-B8-30Dl1.js → loading-ring-D0lGrK8z.js} +1 -1
- package/dist/locale-switcher-DTkySKsM.js +375 -0
- package/dist/locale-switcher.js +2 -0
- package/dist/{mention-input-sq61si9L.js → mention-input-BjjAbJCf.js} +6 -6
- package/dist/mention-input.js +1 -1
- package/dist/{menu-DDKgmK2F.js → menu-CVzpsyXn.js} +113 -96
- package/dist/menu.js +1 -1
- package/dist/{metric-card--lVTz5Wn.js → metric-card-BnFssTXj.js} +12 -11
- package/dist/metric-card.js +1 -1
- package/dist/{multi-select-DG1BCFX7.js → multi-select-B3puEVo0.js} +67 -66
- package/dist/multi-select.js +1 -1
- package/dist/{navigation-CC26JDr-.js → navigation-C_JD43gA.js} +41 -40
- package/dist/navigation.js +1 -1
- package/dist/next.js +65 -0
- package/dist/now-playing-DjVm1Phm.js +439 -0
- package/dist/now-playing.js +2 -0
- package/dist/overlay-motion-Cr77ihn2.js +90 -0
- package/dist/{overlay-portal-C4JZFq2M.js → overlay-portal-C9igMHnC.js} +1 -1
- package/dist/{pagination-BfkeWbmP.js → pagination-Dkh4bJQh.js} +10 -9
- package/dist/pagination.js +1 -1
- package/dist/{password-field-03pWRkuY.js → password-field-Da58GP1g.js} +4 -4
- package/dist/password-field.js +1 -1
- package/dist/photo-grid-Dtl17D74.js +830 -0
- package/dist/photo-grid.js +2 -0
- package/dist/{pill-BaS-uIbn.js → pill-Dd7pog19.js} +10 -9
- package/dist/pill.js +1 -1
- package/dist/{popover-CErIw2q3.js → popover-CUMOcMtj.js} +5 -4
- package/dist/popover.js +1 -1
- package/dist/presence-spring-4zwtUDQN.js +12 -0
- package/dist/{progress-DAQkfhPd.js → progress-Bcuz3Ob4.js} +11 -10
- package/dist/progress.js +1 -1
- package/dist/{radio-cards-Cu9cBssN.js → radio-cards-FkAhESb5.js} +35 -34
- package/dist/radio-cards.js +1 -1
- package/dist/{radio-group-TIK0-iPX.js → radio-group-DItMf2YM.js} +18 -17
- package/dist/radio-group.js +1 -1
- package/dist/{resizable-panels-DUpQEpwG.js → resizable-panels-61h9hA3B.js} +13 -12
- package/dist/resizable-panels.js +1 -1
- package/dist/{scroll-area-CcZyiSOQ.js → scroll-area-B8KkCPOM.js} +16 -15
- package/dist/scroll-area.js +1 -1
- package/dist/{search-field-DMvho0KQ.js → search-field-CbsajaZb.js} +93 -92
- package/dist/search-field.js +1 -1
- package/dist/{segmented-control-8ZUGnsZm.js → segmented-control-DCh-4ca-.js} +26 -25
- package/dist/segmented-control.js +1 -1
- package/dist/{select-D5rhJ8gi.js → select-SrcQqZjo.js} +27 -26
- package/dist/select.js +1 -1
- package/dist/sheet-stack-DYX1SGSB.js +820 -0
- package/dist/sheet-stack.js +2 -0
- package/dist/shortcut-recorder-VgTQdjjn.js +688 -0
- package/dist/shortcut-recorder.js +2 -0
- package/dist/{signature-pad-_bTeguN9.js → signature-pad-khL2yhQI.js} +15 -14
- package/dist/signature-pad.js +1 -1
- package/dist/{skeleton-XQQDkCHd.js → skeleton-LJsQsveI.js} +9 -8
- package/dist/skeleton.js +1 -1
- package/dist/slider-DjAnGmlC.js +535 -0
- package/dist/slider.js +1 -1
- package/dist/{sortable-data-table-CYKT_Ng7.js → sortable-data-table-Bpitup_d.js} +29 -28
- package/dist/sortable-data-table.js +1 -1
- package/dist/{spinner-DtxvDPdM.js → spinner-CvzajSg9.js} +11 -10
- package/dist/spinner.js +1 -1
- package/dist/{split-button-BCw4zZom.js → split-button-Bu41f2AY.js} +20 -19
- package/dist/split-button.js +1 -1
- package/dist/{stack-DC3IbtWk.js → stack-Bac4sJeI.js} +2 -2
- package/dist/stack.js +1 -1
- package/dist/{stepper-CruHbXxX.js → stepper-C8Ncavbr.js} +22 -21
- package/dist/stepper.js +1 -1
- package/dist/stretch-refresh-OrnTEj7P.js +349 -0
- package/dist/stretch-refresh.js +2 -0
- package/dist/{surface-DZ4d-2aL.js → surface-C69kwSuk.js} +13 -3
- package/dist/{swipe-actions-CBuJREU1.js → swipe-actions-1H5UOZKE.js} +26 -25
- package/dist/swipe-actions.js +1 -1
- package/dist/{switch-C1WrKrf-.js → switch-79-hkQqg.js} +15 -14
- package/dist/switch.js +1 -1
- package/dist/sx-BJXJ2xJK.js +23 -0
- package/dist/{tabs-XluwRjgg.js → tabs-Bb5-noYE.js} +43 -42
- package/dist/tabs.js +1 -1
- package/dist/{tag-input-DSRCyrX2.js → tag-input-BQaueKEb.js} +5 -5
- package/dist/tag-input.js +1 -1
- package/dist/{text-field-hU72iSVS.js → text-field-D0VP7b4P.js} +3 -3
- package/dist/text-field.js +1 -1
- package/dist/{textarea-3k4Y0QQ3.js → textarea-D1YwEPmn.js} +3 -3
- package/dist/textarea.js +1 -1
- package/dist/theme-provider-BvcY-iJu.js +20 -0
- package/dist/theme-root-BrYVcTzt.js +163 -0
- package/dist/theme-root.js +1 -1
- package/dist/theme-scope-DGWy4H0C.js +62 -0
- package/dist/{theme-switch-C505TtU8.js → theme-switch-CP42mVDb.js} +12 -11
- package/dist/theme-switch.js +1 -1
- package/dist/thread-parts-Cpktor6D.js +683 -0
- package/dist/{time-picker-CPlhW0tr.js → time-picker-Tnd-JBLC.js} +16 -15
- package/dist/time-picker.js +1 -1
- package/dist/{timeline-B0uAAVfT.js → timeline-BcF46lG9.js} +22 -21
- package/dist/timeline.js +1 -1
- package/dist/{toast-B7wo3sX1.js → toast-CSAbl5yK.js} +12 -11
- package/dist/{toast-stack-B40VpS4M.js → toast-stack-BCR4Cu7V.js} +10 -9
- package/dist/toast-stack.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-B2fpFZwV.js → toggle-group-C7ye1v4s.js} +23 -22
- package/dist/toggle-group.js +1 -1
- package/dist/{tooltip-BvgVTCTN.js → tooltip-IajLwdUb.js} +48 -39
- package/dist/tooltip.js +1 -1
- package/dist/{tree-view-j8qLqkb_.js → tree-view-CoW4oJIZ.js} +15 -14
- package/dist/tree-view.js +1 -1
- package/dist/{trigger-style-B1KVC8O1.js → trigger-style-CtOrdPk4.js} +1 -1
- package/dist/types/components/activity-rings/activity-rings.d.ts +113 -0
- package/dist/types/components/activity-rings/index.d.ts +2 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +3 -3
- package/dist/types/components/billing-toggle/billing-toggle.d.ts +57 -0
- package/dist/types/components/billing-toggle/index.d.ts +2 -0
- package/dist/types/components/button/button.d.ts +7 -7
- package/dist/types/components/button-group/button-group.d.ts +72 -0
- package/dist/types/components/button-group/index.d.ts +2 -0
- package/dist/types/components/card/card.d.ts +7 -1
- package/dist/types/components/chat-thread/chat-thread.d.ts +130 -0
- package/dist/types/components/chat-thread/index.d.ts +2 -0
- package/dist/types/components/chip-group/chip-group.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +2 -2
- package/dist/types/components/command-palette/command-palette.d.ts +1 -1
- package/dist/types/components/comment-thread/comment-thread.d.ts +7 -7
- package/dist/types/components/copy-button/copy-button.d.ts +6 -6
- package/dist/types/components/countdown/countdown.d.ts +2 -2
- package/dist/types/components/dialog/dialog.d.ts +18 -20
- package/dist/types/components/drawer/drawer.d.ts +7 -1
- package/dist/types/components/emblem/emblem.d.ts +59 -0
- package/dist/types/components/emblem/index.d.ts +2 -0
- package/dist/types/components/empty-state/empty-state.d.ts +2 -2
- package/dist/types/components/file-dropzone/file-dropzone.d.ts +3 -4
- package/dist/types/components/filter-toolbar/filter-toolbar.d.ts +2 -2
- package/dist/types/components/game-card/card-frame.d.ts +16 -0
- package/dist/types/components/game-card/decks.d.ts +27 -0
- package/dist/types/components/game-card/game-card.d.ts +37 -0
- package/dist/types/components/game-card/index.d.ts +4 -0
- package/dist/types/components/hold-to-confirm/hold-to-confirm.d.ts +1 -1
- package/dist/types/components/hover-card/hover-card.d.ts +5 -5
- package/dist/types/components/in-view-title/in-view-title.d.ts +23 -0
- package/dist/types/components/in-view-title/index.d.ts +1 -0
- package/dist/types/components/inline-edit/inline-edit.d.ts +6 -6
- package/dist/types/components/json-viewer/json-viewer.d.ts +7 -9
- package/dist/types/components/keycap-keyboard/index.d.ts +2 -0
- package/dist/types/components/keycap-keyboard/keycap-keyboard.d.ts +32 -0
- package/dist/types/components/lightbox-gallery/index.d.ts +2 -0
- package/dist/types/components/lightbox-gallery/lightbox-gallery.d.ts +74 -0
- package/dist/types/components/link-unfurl/index.d.ts +2 -0
- package/dist/types/components/link-unfurl/link-unfurl.d.ts +104 -0
- package/dist/types/components/locale-switcher/index.d.ts +2 -0
- package/dist/types/components/locale-switcher/locale-switcher.d.ts +64 -0
- package/dist/types/components/mention-input/mention-input.d.ts +7 -7
- package/dist/types/components/menu/menu.d.ts +29 -5
- package/dist/types/components/metric-card/metric-card.d.ts +2 -2
- package/dist/types/components/navigation/navigation.d.ts +1 -1
- package/dist/types/components/next/emotion-registry.d.ts +14 -0
- package/dist/types/components/next/index.d.ts +2 -0
- package/dist/types/components/next/registry.d.ts +21 -0
- package/dist/types/components/now-playing/index.d.ts +1 -0
- package/dist/types/components/now-playing/now-playing.d.ts +88 -0
- package/dist/types/components/password-field/password-field.d.ts +1 -1
- package/dist/types/components/photo-grid/index.d.ts +2 -0
- package/dist/types/components/photo-grid/photo-grid.d.ts +82 -0
- package/dist/types/components/progress/progress.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/sheet-stack/index.d.ts +2 -0
- package/dist/types/components/sheet-stack/sheet-stack.d.ts +81 -0
- package/dist/types/components/shortcut-recorder/index.d.ts +2 -0
- package/dist/types/components/shortcut-recorder/shortcut-recorder.d.ts +117 -0
- package/dist/types/components/signature-pad/signature-pad.d.ts +2 -2
- package/dist/types/components/split-button/split-button.d.ts +3 -4
- package/dist/types/components/stretch-refresh/index.d.ts +1 -0
- package/dist/types/components/stretch-refresh/stretch-refresh.d.ts +49 -0
- package/dist/types/components/swipe-actions/swipe-actions.d.ts +1 -2
- package/dist/types/components/tag-input/tag-input.d.ts +2 -3
- package/dist/types/components/theme-root/index.d.ts +1 -0
- package/dist/types/components/theme-root/theme-root.d.ts +10 -3
- package/dist/types/components/theme-switch/theme-switch.d.ts +3 -3
- package/dist/types/components/{comment-thread → thread}/thread-parts.d.ts +7 -2
- package/dist/types/components/time-picker/time-picker.d.ts +2 -2
- package/dist/types/components/timeline/timeline.d.ts +4 -4
- package/dist/types/components/toast/toast.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +8 -1
- package/dist/types/components/tree-view/tree-view.d.ts +4 -3
- package/dist/types/components/typewriter-terminal/index.d.ts +2 -0
- package/dist/types/components/typewriter-terminal/typewriter-terminal.d.ts +87 -0
- package/dist/types/components/usage-meter/usage-meter.d.ts +6 -16
- package/dist/types/components/usage-meter/usage-model.d.ts +30 -0
- package/dist/types/components/user-menu/index.d.ts +2 -0
- package/dist/types/components/user-menu/user-menu.d.ts +118 -0
- package/dist/types/index.d.ts +18 -1
- package/dist/types/overlay/exit-motion.d.ts +24 -0
- package/dist/types/overlay/presence-spring.d.ts +12 -0
- package/dist/types/overlay/use-native-dialog.d.ts +10 -1
- package/dist/types/styling/create-theme.d.ts +24 -0
- package/dist/types/styling/css.d.ts +1 -1
- package/dist/types/styling/motion-timings.d.ts +5 -0
- package/dist/types/styling/overlay-motion.d.ts +95 -0
- package/dist/types/styling/surface.d.ts +7 -0
- package/dist/types/styling/sx.d.ts +1 -1
- package/dist/types/styling/theme-scope.d.ts +29 -3
- package/dist/types/styling/theme.d.ts +15 -0
- package/dist/types/utils/initials.d.ts +2 -0
- package/dist/typewriter-terminal-BUEsMzo3.js +588 -0
- package/dist/typewriter-terminal.js +2 -0
- package/dist/{usage-meter-qyQ3rYVv.js → usage-meter-CYvlB6l3.js} +165 -175
- package/dist/usage-meter.js +1 -1
- package/dist/usage-model-C0fS47w4.js +32 -0
- package/dist/use-native-dialog-FB0p7lkg.js +93 -0
- package/dist/use-scroll-lock-40gXwwAy.js +23 -0
- package/dist/user-menu-MctRu_Lh.js +757 -0
- package/dist/user-menu.js +2 -0
- package/dist/{visually-hidden-BJdvqqvn.js → visually-hidden-DgVO3NaB.js} +1 -1
- package/package.json +87 -5
- package/dist/avatar-CaGJHy1N.js +0 -145
- package/dist/calendar-BzJdv_SZ.js +0 -449
- package/dist/card-Ca4KQKYQ.js +0 -154
- package/dist/command-palette-BmQu2w4H.js +0 -391
- package/dist/comment-thread-ASaXDcGo.js +0 -1410
- package/dist/date-range-picker-DQpUeKqV.js +0 -570
- package/dist/dialog-BX1zYMs-.js +0 -219
- package/dist/drawer-DsASTiP-.js +0 -553
- package/dist/elastic-slider-BG6K019r.js +0 -395
- package/dist/elastic-slider.js +0 -2
- package/dist/slider-DVG6-Awh.js +0 -308
- package/dist/sx-Dx9JUKp5.js +0 -23
- package/dist/theme-root-Bs1U3uPA.js +0 -46
- package/dist/theme-scope-t7nAKc2c.js +0 -27
- package/dist/types/components/elastic-slider/elastic-slider.d.ts +0 -53
- package/dist/types/components/elastic-slider/index.d.ts +0 -1
- package/dist/use-native-dialog-DWpIUVO1.js +0 -84
- package/dist/use-slider-interaction-ChL-208h.js +0 -234
- /package/dist/types/components/{comment-thread → thread}/thread-core.d.ts +0 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import { n } from "./focus-ring-BK5W5_NY.js";
|
|
4
|
-
import { n
|
|
2
|
+
import { i as e } from "./css-BYJhdGh-.js";
|
|
3
|
+
import { n as t } from "./focus-ring-BK5W5_NY.js";
|
|
4
|
+
import { n, r } from "./media-8yrN85VT.js";
|
|
5
|
+
import { t as i } from "./sx-BJXJ2xJK.js";
|
|
5
6
|
import { t as a } from "./use-controlled-state-DpeVQZNR.js";
|
|
6
|
-
import { t as o } from "./visually-hidden-
|
|
7
|
+
import { t as o } from "./visually-hidden-DgVO3NaB.js";
|
|
7
8
|
import { t as s } from "./renderable-DzcIj1Lo.js";
|
|
8
|
-
import { n as c, t as l } from "./surface-
|
|
9
|
-
import { t as u } from "./trigger-style-
|
|
9
|
+
import { n as c, t as l } from "./surface-C69kwSuk.js";
|
|
10
|
+
import { t as u } from "./trigger-style-CtOrdPk4.js";
|
|
10
11
|
import { a as d, i as f } from "./overlay-layer-qEbpEtb8.js";
|
|
11
|
-
import { i as p, r as m, t as h } from "./use-native-dialog-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
12
|
+
import { i as p, r as m, t as h } from "./use-native-dialog-FB0p7lkg.js";
|
|
13
|
+
import { t as g } from "./presence-spring-4zwtUDQN.js";
|
|
14
|
+
import { createContext as _, useCallback as v, useContext as y, useEffect as b, useId as x, useMemo as S, useRef as C, useState as w } from "react";
|
|
15
|
+
import { vars as T } from "@jfrader/tokens/vars";
|
|
16
|
+
import { jsx as E, jsxs as D } from "@emotion/react/jsx-runtime";
|
|
17
|
+
import { MotionConfig as O, animate as k, useMotionValue as A, useReducedMotion as j } from "motion/react";
|
|
18
|
+
import { useFloating as M, useFloatingTree as N, useInteractions as P, useMergeRefs as F } from "@floating-ui/react";
|
|
19
|
+
import { getDeepestNode as I } from "@floating-ui/react/utils";
|
|
18
20
|
//#region src/components/bottom-sheet/bottom-sheet.tsx
|
|
19
|
-
var
|
|
21
|
+
var ee = [.45, .92], L = "36rem", R = {
|
|
20
22
|
type: "spring",
|
|
21
23
|
stiffness: 400,
|
|
22
24
|
damping: 40,
|
|
23
25
|
mass: 1
|
|
24
|
-
}, z = .2,
|
|
26
|
+
}, z = .2, B = 320, V = 80, H = 120, U = 8, te = [
|
|
25
27
|
"button:not([data-ui=\"bottom-sheet-handle\"])",
|
|
26
28
|
"a[href]",
|
|
27
29
|
"input",
|
|
@@ -31,7 +33,7 @@ var I = [.45, .92], L = "36rem", R = {
|
|
|
31
33
|
"[contenteditable]:not([contenteditable=\"false\"])",
|
|
32
34
|
"[data-ui=\"bottom-sheet-title\"]",
|
|
33
35
|
"[data-ui=\"bottom-sheet-description\"]"
|
|
34
|
-
].join(", "),
|
|
36
|
+
].join(", "), ne = "button, a[href], input, select, textarea, [contenteditable]:not([contenteditable=\"false\"])", re = e({
|
|
35
37
|
...l,
|
|
36
38
|
position: "fixed",
|
|
37
39
|
inset: 0,
|
|
@@ -40,15 +42,15 @@ var I = [.45, .92], L = "36rem", R = {
|
|
|
40
42
|
blockSize: "100dvh",
|
|
41
43
|
maxInlineSize: "none",
|
|
42
44
|
maxBlockSize: "none",
|
|
43
|
-
overflow: "
|
|
45
|
+
overflow: "clip",
|
|
44
46
|
"&::backdrop": { backgroundColor: "transparent" }
|
|
45
|
-
}),
|
|
47
|
+
}), ie = e({
|
|
46
48
|
position: "absolute",
|
|
47
49
|
inset: 0,
|
|
48
|
-
backgroundColor:
|
|
50
|
+
backgroundColor: T.color.scrim,
|
|
49
51
|
pointerEvents: "none",
|
|
50
52
|
opacity: "var(--sheet-scrim, 1)"
|
|
51
|
-
}),
|
|
53
|
+
}), ae = e({
|
|
52
54
|
...c,
|
|
53
55
|
position: "absolute",
|
|
54
56
|
insetBlockStart: 0,
|
|
@@ -60,22 +62,22 @@ var I = [.45, .92], L = "36rem", R = {
|
|
|
60
62
|
display: "flex",
|
|
61
63
|
flexDirection: "column",
|
|
62
64
|
minBlockSize: 0,
|
|
63
|
-
borderStartStartRadius:
|
|
64
|
-
borderStartEndRadius:
|
|
65
|
-
boxShadow:
|
|
65
|
+
borderStartStartRadius: T.radius.lg,
|
|
66
|
+
borderStartEndRadius: T.radius.lg,
|
|
67
|
+
boxShadow: T.shadow.floating,
|
|
66
68
|
paddingBlockEnd: "env(safe-area-inset-bottom, 0px)",
|
|
67
|
-
"&:focus-visible":
|
|
68
|
-
[
|
|
69
|
+
"&:focus-visible": t,
|
|
70
|
+
[n]: {
|
|
69
71
|
boxShadow: "none",
|
|
70
72
|
borderColor: "CanvasText"
|
|
71
73
|
}
|
|
72
|
-
}),
|
|
74
|
+
}), oe = e({
|
|
73
75
|
flexShrink: 0,
|
|
74
76
|
display: "grid",
|
|
75
77
|
gridTemplateColumns: "minmax(0, 1fr) auto",
|
|
76
|
-
gap:
|
|
77
|
-
paddingInline:
|
|
78
|
-
paddingBlock:
|
|
78
|
+
gap: T.space[2],
|
|
79
|
+
paddingInline: T.space[6],
|
|
80
|
+
paddingBlock: T.space[2],
|
|
79
81
|
"&[data-dragging]": { userSelect: "none" },
|
|
80
82
|
"& > [data-ui=\"bottom-sheet-handle\"]": {
|
|
81
83
|
gridColumn: "1 / -1",
|
|
@@ -86,158 +88,158 @@ var I = [.45, .92], L = "36rem", R = {
|
|
|
86
88
|
gridColumn: 2,
|
|
87
89
|
gridRow: 2
|
|
88
90
|
}
|
|
89
|
-
}),
|
|
91
|
+
}), se = e({
|
|
90
92
|
flex: "1 1 auto",
|
|
91
93
|
minBlockSize: 0,
|
|
92
94
|
overflow: "auto",
|
|
93
95
|
overscrollBehavior: "contain",
|
|
94
|
-
paddingInline:
|
|
95
|
-
paddingBlock:
|
|
96
|
-
fontSize:
|
|
97
|
-
"&:focus-visible":
|
|
98
|
-
}),
|
|
96
|
+
paddingInline: T.space[6],
|
|
97
|
+
paddingBlock: T.space[4],
|
|
98
|
+
fontSize: T.textSize.sm,
|
|
99
|
+
"&:focus-visible": t
|
|
100
|
+
}), ce = e({
|
|
99
101
|
flexShrink: 0,
|
|
100
102
|
display: "flex",
|
|
101
103
|
flexWrap: "wrap",
|
|
102
|
-
gap:
|
|
103
|
-
paddingInline:
|
|
104
|
-
paddingBlock:
|
|
105
|
-
borderBlockStart: `1px solid ${
|
|
106
|
-
}), ce = e({
|
|
107
|
-
margin: 0,
|
|
108
|
-
fontSize: w.textSize.lg,
|
|
109
|
-
lineHeight: w.lineHeight.tight,
|
|
110
|
-
fontWeight: w.fontWeight.semibold
|
|
104
|
+
gap: T.space[2],
|
|
105
|
+
paddingInline: T.space[6],
|
|
106
|
+
paddingBlock: T.space[4],
|
|
107
|
+
borderBlockStart: `1px solid ${T.color.border}`
|
|
111
108
|
}), le = e({
|
|
112
109
|
margin: 0,
|
|
113
|
-
|
|
114
|
-
|
|
110
|
+
fontSize: T.textSize.lg,
|
|
111
|
+
lineHeight: T.lineHeight.tight,
|
|
112
|
+
fontWeight: T.fontWeight.semibold
|
|
113
|
+
}), ue = e({
|
|
114
|
+
margin: 0,
|
|
115
|
+
color: T.color.textMuted,
|
|
116
|
+
fontSize: T.textSize.sm
|
|
115
117
|
}), W = e({
|
|
116
118
|
appearance: "none",
|
|
117
|
-
minInlineSize:
|
|
118
|
-
minBlockSize:
|
|
119
|
+
minInlineSize: T.space[8],
|
|
120
|
+
minBlockSize: T.space[8],
|
|
119
121
|
display: "inline-flex",
|
|
120
122
|
alignItems: "center",
|
|
121
123
|
justifyContent: "center",
|
|
122
|
-
paddingInline:
|
|
123
|
-
paddingBlock:
|
|
124
|
+
paddingInline: T.space[3],
|
|
125
|
+
paddingBlock: T.space[1],
|
|
124
126
|
border: "1px solid transparent",
|
|
125
|
-
borderRadius:
|
|
126
|
-
color:
|
|
127
|
+
borderRadius: T.radius.md,
|
|
128
|
+
color: T.color.textMuted,
|
|
127
129
|
backgroundColor: "transparent",
|
|
128
130
|
font: "inherit",
|
|
129
131
|
cursor: "pointer",
|
|
130
|
-
"&:focus-visible":
|
|
132
|
+
"&:focus-visible": t,
|
|
131
133
|
"&:disabled": { cursor: "not-allowed" },
|
|
132
|
-
[
|
|
133
|
-
[
|
|
134
|
-
}),
|
|
134
|
+
[n]: { borderColor: "ButtonText" },
|
|
135
|
+
[r]: { transition: "none" }
|
|
136
|
+
}), de = e({
|
|
135
137
|
"&::after": {
|
|
136
138
|
content: "\"\"",
|
|
137
|
-
inlineSize:
|
|
138
|
-
blockSize:
|
|
139
|
-
borderRadius:
|
|
140
|
-
backgroundColor:
|
|
139
|
+
inlineSize: T.space[10],
|
|
140
|
+
blockSize: T.space[1],
|
|
141
|
+
borderRadius: T.radius.full,
|
|
142
|
+
backgroundColor: T.color.borderControl
|
|
141
143
|
},
|
|
142
|
-
[
|
|
144
|
+
[n]: { "&::after": {
|
|
143
145
|
backgroundColor: "ButtonText",
|
|
144
146
|
outline: "1px solid ButtonText"
|
|
145
147
|
} }
|
|
146
|
-
}), G = o, K =
|
|
148
|
+
}), G = o, K = _(null), q = _(null);
|
|
147
149
|
function J(e) {
|
|
148
|
-
let t =
|
|
150
|
+
let t = y(K);
|
|
149
151
|
if (!t) throw Error(`BottomSheet.${e} must be rendered inside <BottomSheet>.`);
|
|
150
152
|
return t;
|
|
151
153
|
}
|
|
152
|
-
function
|
|
154
|
+
function fe(e) {
|
|
153
155
|
if (!e.length || e.some((t, n) => !Number.isFinite(t) || t <= 0 || t > 1 || n > 0 && t <= e[n - 1])) throw Error("BottomSheet.detents must be nonempty, finite, strictly ascending unique fractions in (0, 1].");
|
|
154
156
|
}
|
|
155
|
-
function
|
|
156
|
-
|
|
157
|
-
let m =
|
|
157
|
+
function pe({ nodeId: e, open: t, defaultOpen: n = !1, onOpenChange: r, detents: i = ee, value: o, defaultValue: s = 0, onValueChange: c, locale: l, getValueText: u, children: f }) {
|
|
158
|
+
fe(i);
|
|
159
|
+
let m = C([...i]);
|
|
158
160
|
if (i.length !== m.current.length || i.some((e, t) => e !== m.current[t])) throw Error("BottomSheet.detents numeric contents require remount to change.");
|
|
159
161
|
let [h = 0, g] = a(o, s, c);
|
|
160
162
|
if (!Number.isInteger(h) || h < 0 || h >= i.length || !Number.isInteger(s) || s < 0 || s >= i.length) throw Error("BottomSheet value/defaultValue must be valid detent indices.");
|
|
161
|
-
let [
|
|
162
|
-
|
|
163
|
-
}, [
|
|
164
|
-
|
|
165
|
-
let e = () =>
|
|
166
|
-
if (e(), !
|
|
167
|
-
let t =
|
|
163
|
+
let [_ = !1, y] = a(t, n, r), T = p(_, y), [D, O] = w(null), [k, A] = w(!1), j = v((e) => {
|
|
164
|
+
T.setDialogElement(e), O(e);
|
|
165
|
+
}, [T.setDialogElement]);
|
|
166
|
+
b(() => {
|
|
167
|
+
let e = () => A(D?.open ?? !1);
|
|
168
|
+
if (e(), !D) return;
|
|
169
|
+
let t = D.ownerDocument.defaultView?.MutationObserver;
|
|
168
170
|
if (!t) return;
|
|
169
171
|
let n = new t(e);
|
|
170
|
-
return n.observe(
|
|
172
|
+
return n.observe(D, {
|
|
171
173
|
attributes: !0,
|
|
172
174
|
attributeFilter: ["open"]
|
|
173
175
|
}), () => n.disconnect();
|
|
174
|
-
}, [
|
|
175
|
-
let
|
|
176
|
+
}, [D]);
|
|
177
|
+
let N = M({
|
|
176
178
|
nodeId: e,
|
|
177
|
-
open:
|
|
178
|
-
onOpenChange: (e) => e ?
|
|
179
|
-
}), F = d(
|
|
179
|
+
open: _ && k,
|
|
180
|
+
onOpenChange: (e) => e ? T.setOpen(!0) : T.requestClose()
|
|
181
|
+
}), F = d(N.context, "container"), I = P(F), L = x(), [R, z] = w(!1), [B, V] = w(!1), H = S(() => {
|
|
180
182
|
let e = m.current[h];
|
|
181
183
|
return u?.(e, h) ?? new Intl.NumberFormat(l, { style: "percent" }).format(e);
|
|
182
184
|
}, [
|
|
183
185
|
u,
|
|
184
186
|
l,
|
|
185
187
|
h
|
|
186
|
-
]), U =
|
|
187
|
-
...
|
|
188
|
-
setDialogElement:
|
|
189
|
-
open:
|
|
188
|
+
]), U = S(() => ({
|
|
189
|
+
...T,
|
|
190
|
+
setDialogElement: j,
|
|
191
|
+
open: _,
|
|
190
192
|
detents: m.current,
|
|
191
193
|
value: h,
|
|
192
194
|
requestValue: g,
|
|
193
195
|
valueText: H,
|
|
194
|
-
panelId: `${
|
|
195
|
-
valueTextId: `${
|
|
196
|
-
titleId: `${
|
|
197
|
-
descriptionId: `${
|
|
198
|
-
hasTitle:
|
|
196
|
+
panelId: `${L}-panel`,
|
|
197
|
+
valueTextId: `${L}-value`,
|
|
198
|
+
titleId: `${L}-title`,
|
|
199
|
+
descriptionId: `${L}-description`,
|
|
200
|
+
hasTitle: R,
|
|
199
201
|
hasDescription: B,
|
|
200
|
-
setHasTitle:
|
|
202
|
+
setHasTitle: z,
|
|
201
203
|
setHasDescription: V,
|
|
202
|
-
floating:
|
|
203
|
-
interactions:
|
|
204
|
+
floating: N,
|
|
205
|
+
interactions: I
|
|
204
206
|
}), [
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
T.setOpen,
|
|
208
|
+
T.requestClose,
|
|
209
|
+
T.repairToken,
|
|
210
|
+
j,
|
|
211
|
+
_,
|
|
210
212
|
h,
|
|
211
213
|
g,
|
|
212
214
|
H,
|
|
215
|
+
L,
|
|
213
216
|
R,
|
|
214
|
-
z,
|
|
215
217
|
B,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
N,
|
|
219
|
+
I
|
|
218
220
|
]);
|
|
219
|
-
return /* @__PURE__ */
|
|
221
|
+
return /* @__PURE__ */ E(K.Provider, {
|
|
220
222
|
value: U,
|
|
221
223
|
children: f
|
|
222
224
|
});
|
|
223
225
|
}
|
|
224
226
|
function Y(e) {
|
|
225
|
-
return /* @__PURE__ */
|
|
227
|
+
return /* @__PURE__ */ E(O, {
|
|
226
228
|
reducedMotion: "user",
|
|
227
|
-
children: /* @__PURE__ */
|
|
229
|
+
children: /* @__PURE__ */ E(f, { children: (t) => /* @__PURE__ */ E(pe, {
|
|
228
230
|
...e,
|
|
229
231
|
nodeId: t
|
|
230
232
|
}) })
|
|
231
233
|
});
|
|
232
234
|
}
|
|
233
235
|
Y.displayName = "BottomSheet";
|
|
234
|
-
function X({ ref: e, onClick:
|
|
235
|
-
let o = J("Trigger"), s =
|
|
236
|
-
return /* @__PURE__ */
|
|
237
|
-
className:
|
|
236
|
+
function X({ ref: e, onClick: t, className: n, sx: r, ...a }) {
|
|
237
|
+
let o = J("Trigger"), s = F([e, o.floating.refs.setReference]);
|
|
238
|
+
return /* @__PURE__ */ E(i, {
|
|
239
|
+
className: n,
|
|
238
240
|
styles: u,
|
|
239
|
-
sx:
|
|
240
|
-
children: (e) => /* @__PURE__ */
|
|
241
|
+
sx: r,
|
|
242
|
+
children: (e) => /* @__PURE__ */ E("button", {
|
|
241
243
|
type: "button",
|
|
242
244
|
...a,
|
|
243
245
|
ref: s,
|
|
@@ -246,14 +248,14 @@ function X({ ref: e, onClick: n, className: r, sx: i, ...a }) {
|
|
|
246
248
|
"aria-expanded": o.open,
|
|
247
249
|
className: e,
|
|
248
250
|
onClick: (e) => {
|
|
249
|
-
|
|
251
|
+
t?.(e), e.defaultPrevented || o.setOpen(!0);
|
|
250
252
|
}
|
|
251
253
|
})
|
|
252
254
|
});
|
|
253
255
|
}
|
|
254
256
|
X.displayName = "BottomSheet.Trigger";
|
|
255
|
-
function
|
|
256
|
-
let n =
|
|
257
|
+
function me(e, t) {
|
|
258
|
+
let n = C(null), r = C(null), i = A(0), a = C(0), o = C(0), s = C(null), c = C(null), l = C(!1), u = j(), d = C({
|
|
257
259
|
context: e,
|
|
258
260
|
reduced: u
|
|
259
261
|
});
|
|
@@ -261,26 +263,26 @@ function pe(e, t) {
|
|
|
261
263
|
context: e,
|
|
262
264
|
reduced: u
|
|
263
265
|
};
|
|
264
|
-
let f = () => a.current * (1 - d.current.context.detents[d.current.context.value]), p =
|
|
265
|
-
s.current?.stop(), d.current.reduced ? i.set(
|
|
266
|
-
}, [i]),
|
|
266
|
+
let f = C(!1), p = () => a.current * (1 - d.current.context.detents[d.current.context.value]), m = () => t.current?.open ? p() : a.current, h = v((e = R) => {
|
|
267
|
+
f.current || (s.current?.stop(), d.current.reduced || !t.current?.open ? i.set(m()) : s.current = k(i, p(), e));
|
|
268
|
+
}, [i, t]), _ = v(() => {
|
|
267
269
|
let e = c.current;
|
|
268
|
-
return e ? (c.current = null, e.capture?.removeAttribute("data-dragging"), e.capture?.hasPointerCapture(e.id) && e.capture.releasePointerCapture(e.id), l.current = !0,
|
|
269
|
-
}, [
|
|
270
|
-
|
|
270
|
+
return e ? (c.current = null, e.capture?.removeAttribute("data-dragging"), e.capture?.hasPointerCapture(e.id) && e.capture.releasePointerCapture(e.id), l.current = !0, h(), !0) : !1;
|
|
271
|
+
}, [h]);
|
|
272
|
+
b(() => {
|
|
271
273
|
let e = t.current, r = n.current, l = e?.ownerDocument.defaultView;
|
|
272
274
|
if (!e || !r || !l) return;
|
|
273
275
|
let u = (t) => {
|
|
274
276
|
r.style.transform = `translateY(${t}px)`, r.style.setProperty("--sheet-height", `${Math.max(0, a.current - t) + o.current}px`), e.style.setProperty("--sheet-scrim", String(Math.min(1, Math.max(0, (a.current - t) / Math.max(1, a.current)))));
|
|
275
277
|
}, d = () => {
|
|
276
278
|
let t = l.visualViewport;
|
|
277
|
-
|
|
279
|
+
_();
|
|
278
280
|
let n = t?.height ?? l.innerHeight;
|
|
279
|
-
o.current = Number.parseFloat(l.getComputedStyle(r).paddingBottom) || 0, a.current = Math.max(1, n - o.current), e.style.blockSize = `${n}px`, e.style.insetBlockStart = `${t?.offsetTop ?? 0}px`, s.current?.stop(), c.current = null, i.set(
|
|
281
|
+
o.current = Number.parseFloat(l.getComputedStyle(r).paddingBottom) || 0, a.current = Math.max(1, n - o.current), e.style.blockSize = `${n}px`, e.style.insetBlockStart = `${t?.offsetTop ?? 0}px`, f.current || (s.current?.stop(), c.current = null, i.set(m())), u(i.get());
|
|
280
282
|
};
|
|
281
283
|
d();
|
|
282
284
|
let p = i.on("change", u), h = (e) => {
|
|
283
|
-
c.current && c.current.id !== e.pointerId &&
|
|
285
|
+
c.current && c.current.id !== e.pointerId && _();
|
|
284
286
|
};
|
|
285
287
|
return l.addEventListener("pointerdown", h, !0), l.addEventListener("resize", d), l.visualViewport?.addEventListener("resize", d), l.visualViewport?.addEventListener("scroll", d), () => {
|
|
286
288
|
p(), s.current?.stop();
|
|
@@ -290,18 +292,30 @@ function pe(e, t) {
|
|
|
290
292
|
}, [
|
|
291
293
|
t,
|
|
292
294
|
i,
|
|
293
|
-
|
|
294
|
-
]),
|
|
295
|
-
|
|
295
|
+
_
|
|
296
|
+
]), b(() => {
|
|
297
|
+
_(), h();
|
|
296
298
|
}, [
|
|
297
299
|
e.value,
|
|
298
|
-
|
|
299
|
-
p,
|
|
300
|
+
h,
|
|
300
301
|
u,
|
|
301
|
-
|
|
302
|
+
_
|
|
302
303
|
]);
|
|
303
|
-
let
|
|
304
|
-
|
|
304
|
+
let y = S(() => ({
|
|
305
|
+
enter: () => {
|
|
306
|
+
f.current = !1, h(g);
|
|
307
|
+
},
|
|
308
|
+
exit: () => {
|
|
309
|
+
if (_(), !d.current.reduced) return f.current = !0, s.current?.stop(), s.current = k(i, a.current, g), s.current.finished;
|
|
310
|
+
}
|
|
311
|
+
}), [
|
|
312
|
+
h,
|
|
313
|
+
_,
|
|
314
|
+
i
|
|
315
|
+
]), x = v(() => {
|
|
316
|
+
f.current = !1, s.current?.stop(), s.current = null, i.set(a.current);
|
|
317
|
+
}, [i]), w = (e, t, n, r = null) => {
|
|
318
|
+
f.current || (s.current?.stop(), l.current = !1, r?.setAttribute("data-dragging", ""), c.current = {
|
|
305
319
|
id: e,
|
|
306
320
|
start: t,
|
|
307
321
|
origin: i.get(),
|
|
@@ -311,35 +325,35 @@ function pe(e, t) {
|
|
|
311
325
|
}],
|
|
312
326
|
moved: !1,
|
|
313
327
|
capture: r
|
|
314
|
-
};
|
|
315
|
-
},
|
|
328
|
+
});
|
|
329
|
+
}, T = (e, t) => {
|
|
316
330
|
let n = c.current;
|
|
317
331
|
if (!n) return;
|
|
318
332
|
let r = e - n.start;
|
|
319
|
-
n.moved ||= Math.abs(r) >
|
|
333
|
+
n.moved ||= Math.abs(r) > U;
|
|
320
334
|
let o = n.origin + r, s = a.current * (1 - d.current.context.detents.at(-1)), l = s - o;
|
|
321
|
-
i.set(o < s ? d.current.reduced ? s : s -
|
|
335
|
+
i.set(o < s ? d.current.reduced ? s : s - H * l / (H + l) : o), n.samples = [...n.samples, {
|
|
322
336
|
position: e,
|
|
323
337
|
time: t
|
|
324
|
-
}].filter((e) => t - e.time <=
|
|
325
|
-
},
|
|
338
|
+
}].filter((e) => t - e.time <= V);
|
|
339
|
+
}, E = (e, t) => {
|
|
326
340
|
let n = c.current;
|
|
327
341
|
if (!n) return;
|
|
328
342
|
c.current = null, n.capture?.removeAttribute("data-dragging"), l.current = n.moved;
|
|
329
343
|
let r = [...n.samples, {
|
|
330
344
|
position: e,
|
|
331
345
|
time: t
|
|
332
|
-
}].filter((e) => t - e.time <=
|
|
333
|
-
n.moved && (u > _ || s >=
|
|
346
|
+
}].filter((e) => t - e.time <= V)[0], o = r ? (t - r.time) / 1e3 : 0, s = r && o > 0 ? (e - r.position) / o : 0, u = i.get() + s * z, { detents: f, requestClose: p, requestValue: m } = d.current.context, g = a.current * f[0], _ = a.current - g / 2;
|
|
347
|
+
n.moved && (u > _ || s >= B && i.get() > a.current * (1 - f[0])) ? p() : n.moved && m(f.reduce((e, t, n) => Math.abs(a.current * (1 - t) - u) < Math.abs(a.current * (1 - f[e]) - u) ? n : e, 0)), h();
|
|
334
348
|
};
|
|
335
|
-
return
|
|
349
|
+
return b(() => {
|
|
336
350
|
let e = r.current, t = e?.ownerDocument.defaultView;
|
|
337
351
|
if (!e || !t) return;
|
|
338
352
|
let n = null, i = !1, a = () => {
|
|
339
353
|
e.removeEventListener("touchmove", o), i = !1;
|
|
340
354
|
}, o = (t) => {
|
|
341
355
|
if (!n || t.touches.length !== 1) {
|
|
342
|
-
|
|
356
|
+
_(), a();
|
|
343
357
|
return;
|
|
344
358
|
}
|
|
345
359
|
let r = t.touches[0], i = r.clientX - n.x, o = r.clientY - n.y;
|
|
@@ -347,20 +361,20 @@ function pe(e, t) {
|
|
|
347
361
|
a(), n = null;
|
|
348
362
|
return;
|
|
349
363
|
}
|
|
350
|
-
if (Math.abs(o) <
|
|
364
|
+
if (Math.abs(o) < U) return;
|
|
351
365
|
if (c.current) {
|
|
352
|
-
t.cancelable && t.preventDefault(),
|
|
366
|
+
t.cancelable && t.preventDefault(), T(r.clientY, t.timeStamp);
|
|
353
367
|
return;
|
|
354
368
|
}
|
|
355
369
|
let s = d.current.context;
|
|
356
|
-
s.value < s.detents.length - 1 ? (s.requestValue(s.detents.length - 1), a()) : o > 0 && e.scrollTop <= 0 && (
|
|
370
|
+
s.value < s.detents.length - 1 ? (s.requestValue(s.detents.length - 1), a()) : o > 0 && e.scrollTop <= 0 && (w(n.id, n.y, t.timeStamp), t.cancelable && t.preventDefault(), T(r.clientY, t.timeStamp));
|
|
357
371
|
}, s = (r) => {
|
|
358
372
|
if (a(), r.touches.length !== 1) {
|
|
359
|
-
|
|
373
|
+
_();
|
|
360
374
|
return;
|
|
361
375
|
}
|
|
362
376
|
let s = r.target;
|
|
363
|
-
if (s.closest(
|
|
377
|
+
if (s.closest(ne) || t.getSelection()?.toString()) return;
|
|
364
378
|
for (let n = s; n && n !== e; n = n.parentElement) {
|
|
365
379
|
let e = t.getComputedStyle(n);
|
|
366
380
|
if (n.scrollWidth > n.clientWidth && /auto|scroll/.test(e.overflowX) || n.scrollHeight > n.clientHeight && /auto|scroll/.test(e.overflowY)) return;
|
|
@@ -374,98 +388,102 @@ function pe(e, t) {
|
|
|
374
388
|
}, e.addEventListener("touchmove", o, { passive: !1 }), i = !0;
|
|
375
389
|
}, l = (e) => {
|
|
376
390
|
let t = e.changedTouches[0];
|
|
377
|
-
c.current && t &&
|
|
391
|
+
c.current && t && E(t.clientY, e.timeStamp), a(), n = null;
|
|
378
392
|
}, u = () => {
|
|
379
|
-
|
|
393
|
+
_(), a(), n = null;
|
|
380
394
|
};
|
|
381
395
|
return e.addEventListener("touchstart", s, { passive: !0 }), e.addEventListener("touchend", l), e.addEventListener("touchcancel", u), () => {
|
|
382
396
|
i && a(), e.removeEventListener("touchstart", s), e.removeEventListener("touchend", l), e.removeEventListener("touchcancel", u);
|
|
383
397
|
};
|
|
384
|
-
}, [
|
|
398
|
+
}, [_]), {
|
|
385
399
|
panelRef: n,
|
|
386
400
|
bodyRef: r,
|
|
387
401
|
gesture: {
|
|
388
402
|
onPointerDown: (e) => {
|
|
389
|
-
c.current || !e.isPrimary ?
|
|
403
|
+
c.current || !e.isPrimary ? _() : e.button !== 0 || e.defaultPrevented || e.target.closest(te) || (w(e.pointerId, e.clientY, e.timeStamp, e.currentTarget), e.currentTarget.setPointerCapture?.(e.pointerId));
|
|
390
404
|
},
|
|
391
405
|
onPointerMove: (e) => {
|
|
392
|
-
c.current?.id === e.pointerId &&
|
|
406
|
+
c.current?.id === e.pointerId && T(e.clientY, e.timeStamp);
|
|
393
407
|
},
|
|
394
408
|
onPointerUp: (e) => {
|
|
395
|
-
c.current?.id === e.pointerId && (
|
|
409
|
+
c.current?.id === e.pointerId && (E(e.clientY, e.timeStamp), e.currentTarget.hasPointerCapture?.(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
|
|
396
410
|
},
|
|
397
411
|
onPointerCancel: (e) => {
|
|
398
|
-
c.current?.id === e.pointerId &&
|
|
412
|
+
c.current?.id === e.pointerId && _();
|
|
399
413
|
},
|
|
400
414
|
onLostPointerCapture: (e) => {
|
|
401
|
-
c.current?.id === e.pointerId &&
|
|
415
|
+
c.current?.id === e.pointerId && _();
|
|
402
416
|
}
|
|
403
417
|
},
|
|
404
|
-
cancelDrag:
|
|
405
|
-
suppressClick: l
|
|
418
|
+
cancelDrag: _,
|
|
419
|
+
suppressClick: l,
|
|
420
|
+
transition: y,
|
|
421
|
+
reset: x
|
|
406
422
|
};
|
|
407
423
|
}
|
|
408
|
-
function Z({ ref: e, sx:
|
|
409
|
-
let { children: a, withDescription: o = !0, onCancel: s, onClose: c, onClick: l, onKeyDownCapture: u, onPointerDownCapture: d, "aria-labelledby": f, "aria-describedby": p, ...g } = h(
|
|
424
|
+
function Z({ ref: e, sx: t, className: n, ...r }) {
|
|
425
|
+
let { children: a, withDescription: o = !0, onCancel: s, onClose: c, onClick: l, onKeyDownCapture: u, onPointerDownCapture: d, "aria-labelledby": f, "aria-describedby": p, ...g } = h(r), _ = J("Content"), v = C(null), y = me(_, v), x = N(), S = C(!1), T = m(_, {
|
|
410
426
|
onCancel: s,
|
|
411
427
|
onClick: (e) => {
|
|
412
|
-
l?.(e),
|
|
428
|
+
l?.(e), S.current && (S.current = !1, e.preventDefault());
|
|
413
429
|
},
|
|
414
|
-
onClose:
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
430
|
+
onClose: (e) => {
|
|
431
|
+
y.reset(), c?.(e);
|
|
432
|
+
}
|
|
433
|
+
}, e, v, y.transition), O = F([T.ref, _.floating.refs.setFloating]), k = C(_.value), [A, j] = w("");
|
|
434
|
+
b(() => {
|
|
435
|
+
k.current !== _.value && (k.current = _.value, j(_.valueText));
|
|
418
436
|
}, [_.value, _.valueText]);
|
|
419
|
-
let
|
|
437
|
+
let M = {
|
|
420
438
|
...g,
|
|
421
|
-
...
|
|
439
|
+
...T,
|
|
422
440
|
onCancel: (e) => {
|
|
423
|
-
e.target === v.current ?
|
|
441
|
+
e.target === v.current ? T.onCancel(e) : s?.(e);
|
|
424
442
|
},
|
|
425
443
|
onClose: (e) => {
|
|
426
|
-
e.target === v.current ?
|
|
444
|
+
e.target === v.current ? T.onClose(e) : c?.(e);
|
|
427
445
|
},
|
|
428
446
|
onPointerDownCapture: (e) => {
|
|
429
447
|
d?.(e);
|
|
430
|
-
let t = x &&
|
|
431
|
-
|
|
448
|
+
let t = x && I(x.nodesRef.current, _.floating.context.nodeId);
|
|
449
|
+
S.current = !!(t && t.id !== _.floating.context.nodeId);
|
|
432
450
|
},
|
|
433
451
|
onKeyDownCapture: (e) => {
|
|
434
452
|
if (u?.(e), e.key !== "Escape" || e.defaultPrevented || e.nativeEvent.isComposing) return;
|
|
435
453
|
e.preventDefault();
|
|
436
|
-
let t = x &&
|
|
437
|
-
(!t || t.id === _.floating.context.nodeId) &&
|
|
454
|
+
let t = x && I(x.nodesRef.current, _.floating.context.nodeId);
|
|
455
|
+
(!t || t.id === _.floating.context.nodeId) && y.cancelDrag() && e.stopPropagation();
|
|
438
456
|
}
|
|
439
|
-
},
|
|
440
|
-
return /* @__PURE__ */
|
|
441
|
-
className:
|
|
442
|
-
styles:
|
|
443
|
-
sx:
|
|
444
|
-
children: (e) => /* @__PURE__ */
|
|
445
|
-
...
|
|
446
|
-
ref:
|
|
457
|
+
}, P = _.interactions.getFloatingProps(M);
|
|
458
|
+
return /* @__PURE__ */ E(i, {
|
|
459
|
+
className: n,
|
|
460
|
+
styles: re,
|
|
461
|
+
sx: t,
|
|
462
|
+
children: (e) => /* @__PURE__ */ D("dialog", {
|
|
463
|
+
...P,
|
|
464
|
+
ref: O,
|
|
447
465
|
className: e,
|
|
448
466
|
"data-ui": "bottom-sheet",
|
|
449
467
|
"aria-modal": "true",
|
|
450
468
|
"aria-labelledby": [f, _.hasTitle && _.titleId].filter(Boolean).join(" ") || void 0,
|
|
451
469
|
"aria-describedby": [p, o && _.hasDescription && _.descriptionId].filter(Boolean).join(" ") || void 0,
|
|
452
470
|
children: [
|
|
453
|
-
/* @__PURE__ */
|
|
454
|
-
css:
|
|
471
|
+
/* @__PURE__ */ E("div", {
|
|
472
|
+
css: ie,
|
|
455
473
|
"aria-hidden": "true"
|
|
456
474
|
}),
|
|
457
|
-
/* @__PURE__ */
|
|
458
|
-
value:
|
|
475
|
+
/* @__PURE__ */ E(q.Provider, {
|
|
476
|
+
value: y,
|
|
459
477
|
children: a
|
|
460
478
|
}),
|
|
461
|
-
/* @__PURE__ */
|
|
479
|
+
/* @__PURE__ */ E("span", {
|
|
462
480
|
css: G,
|
|
463
481
|
role: "status",
|
|
464
482
|
"aria-live": "polite",
|
|
465
483
|
"aria-atomic": "true",
|
|
466
|
-
children:
|
|
484
|
+
children: A
|
|
467
485
|
}),
|
|
468
|
-
/* @__PURE__ */
|
|
486
|
+
/* @__PURE__ */ E("span", {
|
|
469
487
|
css: G,
|
|
470
488
|
id: _.valueTextId,
|
|
471
489
|
children: _.valueText
|
|
@@ -475,19 +493,19 @@ function Z({ ref: e, sx: n, className: r, ...i }) {
|
|
|
475
493
|
});
|
|
476
494
|
}
|
|
477
495
|
Z.displayName = "BottomSheet.Content";
|
|
478
|
-
function Q({ ref: e, sx:
|
|
479
|
-
let o = J("Panel"), s =
|
|
480
|
-
|
|
481
|
-
}, [
|
|
496
|
+
function Q({ ref: e, sx: t, className: n, autoFocus: r = !0, ...a }) {
|
|
497
|
+
let o = J("Panel"), s = y(q), c = v((e) => {
|
|
498
|
+
r && e && !e.querySelector("[autofocus]") && e.setAttribute("autofocus", "");
|
|
499
|
+
}, [r]), l = F([
|
|
482
500
|
e,
|
|
483
501
|
s?.panelRef,
|
|
484
502
|
c
|
|
485
503
|
]);
|
|
486
|
-
return /* @__PURE__ */
|
|
487
|
-
className:
|
|
488
|
-
styles:
|
|
489
|
-
sx:
|
|
490
|
-
children: (e) => /* @__PURE__ */
|
|
504
|
+
return /* @__PURE__ */ E(i, {
|
|
505
|
+
className: n,
|
|
506
|
+
styles: ae,
|
|
507
|
+
sx: t,
|
|
508
|
+
children: (e) => /* @__PURE__ */ E("div", {
|
|
491
509
|
tabIndex: -1,
|
|
492
510
|
...a,
|
|
493
511
|
ref: l,
|
|
@@ -498,17 +516,17 @@ function Q({ ref: e, sx: n, className: r, autoFocus: i = !0, ...a }) {
|
|
|
498
516
|
});
|
|
499
517
|
}
|
|
500
518
|
Q.displayName = "BottomSheet.Panel";
|
|
501
|
-
function $({ ref: e, sx:
|
|
519
|
+
function $({ ref: e, sx: t, className: n, ...r }) {
|
|
502
520
|
J("Header");
|
|
503
|
-
let a =
|
|
504
|
-
|
|
521
|
+
let a = y(q), o = Object.fromEntries(Object.entries(a?.gesture ?? {}).map(([e, t]) => [e, (n) => {
|
|
522
|
+
r[e]?.(n), n.defaultPrevented || t?.(n);
|
|
505
523
|
}]));
|
|
506
|
-
return /* @__PURE__ */
|
|
507
|
-
className:
|
|
508
|
-
styles:
|
|
509
|
-
sx:
|
|
510
|
-
children: (t) => /* @__PURE__ */
|
|
511
|
-
...
|
|
524
|
+
return /* @__PURE__ */ E(i, {
|
|
525
|
+
className: n,
|
|
526
|
+
styles: oe,
|
|
527
|
+
sx: t,
|
|
528
|
+
children: (t) => /* @__PURE__ */ E("div", {
|
|
529
|
+
...r,
|
|
512
530
|
...o,
|
|
513
531
|
ref: e,
|
|
514
532
|
"data-ui": "bottom-sheet-header",
|
|
@@ -517,22 +535,22 @@ function $({ ref: e, sx: n, className: r, ...i }) {
|
|
|
517
535
|
});
|
|
518
536
|
}
|
|
519
537
|
$.displayName = "BottomSheet.Header";
|
|
520
|
-
function
|
|
521
|
-
let s = J("Body"), c =
|
|
522
|
-
return
|
|
538
|
+
function he({ ref: e, sx: t, className: n, onKeyDown: r, onFocusCapture: a, ...o }) {
|
|
539
|
+
let s = J("Body"), c = y(q), l = F([e, c?.bodyRef]), u = C(null);
|
|
540
|
+
return b(() => () => {
|
|
523
541
|
let e = u.current;
|
|
524
542
|
e && e.window.cancelAnimationFrame(e.id);
|
|
525
|
-
}, []), /* @__PURE__ */
|
|
526
|
-
className:
|
|
527
|
-
styles:
|
|
528
|
-
sx:
|
|
529
|
-
children: (e) => /* @__PURE__ */
|
|
543
|
+
}, []), /* @__PURE__ */ E(i, {
|
|
544
|
+
className: n,
|
|
545
|
+
styles: se,
|
|
546
|
+
sx: t,
|
|
547
|
+
children: (e) => /* @__PURE__ */ E("div", {
|
|
530
548
|
...o,
|
|
531
549
|
ref: l,
|
|
532
550
|
"data-ui": "bottom-sheet-body",
|
|
533
551
|
className: e,
|
|
534
552
|
onKeyDown: (e) => {
|
|
535
|
-
|
|
553
|
+
r?.(e), !e.defaultPrevented && e.target === e.currentTarget && (e.key === "PageDown" || e.key === " " && !e.shiftKey) && s.value < s.detents.length - 1 && (e.preventDefault(), s.requestValue(s.detents.length - 1));
|
|
536
554
|
},
|
|
537
555
|
onFocusCapture: (e) => {
|
|
538
556
|
if (a?.(e), e.defaultPrevented || e.target === e.currentTarget) return;
|
|
@@ -552,66 +570,66 @@ function me({ ref: e, sx: n, className: r, onKeyDown: i, onFocusCapture: a, ...o
|
|
|
552
570
|
})
|
|
553
571
|
});
|
|
554
572
|
}
|
|
555
|
-
|
|
556
|
-
function
|
|
557
|
-
return J("Footer"), /* @__PURE__ */
|
|
558
|
-
className:
|
|
559
|
-
styles:
|
|
560
|
-
sx:
|
|
561
|
-
children: (t) => /* @__PURE__ */
|
|
562
|
-
...
|
|
573
|
+
he.displayName = "BottomSheet.Body";
|
|
574
|
+
function ge({ ref: e, sx: t, className: n, ...r }) {
|
|
575
|
+
return J("Footer"), /* @__PURE__ */ E(i, {
|
|
576
|
+
className: n,
|
|
577
|
+
styles: ce,
|
|
578
|
+
sx: t,
|
|
579
|
+
children: (t) => /* @__PURE__ */ E("div", {
|
|
580
|
+
...r,
|
|
563
581
|
ref: e,
|
|
564
582
|
"data-ui": "bottom-sheet-footer",
|
|
565
583
|
className: t
|
|
566
584
|
})
|
|
567
585
|
});
|
|
568
586
|
}
|
|
569
|
-
|
|
570
|
-
function
|
|
571
|
-
let { titleId: o, setHasTitle: c } = J("Title"), l = s(
|
|
572
|
-
return
|
|
587
|
+
ge.displayName = "BottomSheet.Footer";
|
|
588
|
+
function _e({ ref: e, sx: t, className: n, children: r, ...a }) {
|
|
589
|
+
let { titleId: o, setHasTitle: c } = J("Title"), l = s(r) && r !== "";
|
|
590
|
+
return b(() => {
|
|
573
591
|
if (l) return c(!0), () => c(!1);
|
|
574
|
-
}, [l, c]), l ? /* @__PURE__ */
|
|
575
|
-
className:
|
|
576
|
-
styles:
|
|
577
|
-
sx:
|
|
578
|
-
children: (t) => /* @__PURE__ */
|
|
592
|
+
}, [l, c]), l ? /* @__PURE__ */ E(i, {
|
|
593
|
+
className: n,
|
|
594
|
+
styles: le,
|
|
595
|
+
sx: t,
|
|
596
|
+
children: (t) => /* @__PURE__ */ E("h2", {
|
|
579
597
|
...a,
|
|
580
598
|
ref: e,
|
|
581
599
|
id: o,
|
|
582
600
|
"data-ui": "bottom-sheet-title",
|
|
583
601
|
className: t,
|
|
584
|
-
children:
|
|
602
|
+
children: r
|
|
585
603
|
})
|
|
586
604
|
}) : null;
|
|
587
605
|
}
|
|
588
|
-
|
|
589
|
-
function
|
|
590
|
-
let { descriptionId: o, setHasDescription: c } = J("Description"), l = s(
|
|
591
|
-
return
|
|
606
|
+
_e.displayName = "BottomSheet.Title";
|
|
607
|
+
function ve({ ref: e, sx: t, className: n, children: r, ...a }) {
|
|
608
|
+
let { descriptionId: o, setHasDescription: c } = J("Description"), l = s(r) && r !== "";
|
|
609
|
+
return b(() => {
|
|
592
610
|
if (l) return c(!0), () => c(!1);
|
|
593
|
-
}, [l, c]), l ? /* @__PURE__ */
|
|
594
|
-
className:
|
|
595
|
-
styles:
|
|
596
|
-
sx:
|
|
597
|
-
children: (t) => /* @__PURE__ */
|
|
611
|
+
}, [l, c]), l ? /* @__PURE__ */ E(i, {
|
|
612
|
+
className: n,
|
|
613
|
+
styles: ue,
|
|
614
|
+
sx: t,
|
|
615
|
+
children: (t) => /* @__PURE__ */ E("p", {
|
|
598
616
|
...a,
|
|
599
617
|
ref: e,
|
|
600
618
|
id: o,
|
|
601
619
|
"data-ui": "bottom-sheet-description",
|
|
602
620
|
className: t,
|
|
603
|
-
children:
|
|
621
|
+
children: r
|
|
604
622
|
})
|
|
605
623
|
}) : null;
|
|
606
624
|
}
|
|
607
|
-
|
|
608
|
-
function
|
|
609
|
-
let c = J("Handle"), l =
|
|
610
|
-
return /* @__PURE__ */
|
|
611
|
-
className:
|
|
612
|
-
styles: [W,
|
|
613
|
-
sx:
|
|
614
|
-
children: (t) => /* @__PURE__ */
|
|
625
|
+
ve.displayName = "BottomSheet.Description";
|
|
626
|
+
function ye({ ref: e, sx: t, className: n, onClick: r, onKeyDown: a, "aria-describedby": o, ...s }) {
|
|
627
|
+
let c = J("Handle"), l = y(q), u = c.detents.length - 1;
|
|
628
|
+
return /* @__PURE__ */ E(i, {
|
|
629
|
+
className: n,
|
|
630
|
+
styles: [W, de],
|
|
631
|
+
sx: t,
|
|
632
|
+
children: (t) => /* @__PURE__ */ E("button", {
|
|
615
633
|
type: "button",
|
|
616
634
|
...s,
|
|
617
635
|
ref: e,
|
|
@@ -622,7 +640,7 @@ function ve({ ref: e, sx: n, className: r, onClick: i, onKeyDown: a, "aria-descr
|
|
|
622
640
|
"aria-expanded": c.value === u,
|
|
623
641
|
"aria-describedby": [o, c.valueTextId].filter(Boolean).join(" "),
|
|
624
642
|
onClick: (e) => {
|
|
625
|
-
|
|
643
|
+
r?.(e), l?.suppressClick.current ? l.suppressClick.current = !1 : e.defaultPrevented || c.requestValue(c.value === u ? 0 : u);
|
|
626
644
|
},
|
|
627
645
|
onKeyDown: (e) => {
|
|
628
646
|
if (a?.(e), e.defaultPrevented) return;
|
|
@@ -638,37 +656,37 @@ function ve({ ref: e, sx: n, className: r, onClick: i, onKeyDown: a, "aria-descr
|
|
|
638
656
|
})
|
|
639
657
|
});
|
|
640
658
|
}
|
|
641
|
-
|
|
642
|
-
function
|
|
659
|
+
ye.displayName = "BottomSheet.Handle";
|
|
660
|
+
function be({ ref: e, sx: t, className: n, onClick: r, ...a }) {
|
|
643
661
|
let o = J("Close");
|
|
644
|
-
return /* @__PURE__ */
|
|
645
|
-
className:
|
|
662
|
+
return /* @__PURE__ */ E(i, {
|
|
663
|
+
className: n,
|
|
646
664
|
styles: W,
|
|
647
|
-
sx:
|
|
648
|
-
children: (t) => /* @__PURE__ */
|
|
665
|
+
sx: t,
|
|
666
|
+
children: (t) => /* @__PURE__ */ E("button", {
|
|
649
667
|
type: "button",
|
|
650
668
|
...a,
|
|
651
669
|
ref: e,
|
|
652
670
|
"data-ui": "bottom-sheet-close",
|
|
653
671
|
className: t,
|
|
654
672
|
onClick: (e) => {
|
|
655
|
-
|
|
673
|
+
r?.(e), e.defaultPrevented || o.requestClose();
|
|
656
674
|
}
|
|
657
675
|
})
|
|
658
676
|
});
|
|
659
677
|
}
|
|
660
|
-
|
|
661
|
-
var
|
|
678
|
+
be.displayName = "BottomSheet.Close";
|
|
679
|
+
var xe = Object.assign(Y, {
|
|
662
680
|
Trigger: X,
|
|
663
681
|
Content: Z,
|
|
664
682
|
Panel: Q,
|
|
665
683
|
Header: $,
|
|
666
|
-
Body:
|
|
667
|
-
Footer:
|
|
668
|
-
Title:
|
|
669
|
-
Description:
|
|
670
|
-
Handle:
|
|
671
|
-
Close:
|
|
684
|
+
Body: he,
|
|
685
|
+
Footer: ge,
|
|
686
|
+
Title: _e,
|
|
687
|
+
Description: ve,
|
|
688
|
+
Handle: ye,
|
|
689
|
+
Close: be
|
|
672
690
|
});
|
|
673
691
|
//#endregion
|
|
674
|
-
export {
|
|
692
|
+
export { xe as t };
|