solid-baseui 0.1.0-alpha.0 → 0.1.0-alpha.2
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/CHANGELOG.md +72 -0
- package/README.md +133 -15
- package/dist/lib/client/DialogHandle-DluOK_7u.js +521 -0
- package/dist/lib/client/DialogPopup-CfEb3F54.js +138 -0
- package/dist/lib/client/FieldControl-eDe-Jnp9.js +142 -0
- package/dist/lib/client/{FieldRootContext-izCEh80D.js → FieldRootContext-D3fuVjs3.js} +1 -1
- package/dist/lib/client/{FocusManager-grSdNHqW.js → FocusManager-q7z7PMV1.js} +94 -91
- package/dist/lib/client/{FormContext-BB05lWOI.js → FormContext-CwLBtm_d.js} +1 -0
- package/dist/lib/client/{InternalBackdrop-cSK13gaM.js → InternalBackdrop-B8_lfUvf.js} +1 -1
- package/dist/lib/client/{LabelableContext-DKsB0fIx.js → LabelableContext-CmQF-TX2.js} +3 -6
- package/dist/lib/client/MenuSubmenuTrigger-DMb5CwTF.js +1584 -0
- package/dist/lib/client/{PopupHandle-CcJG4NMy.js → PopupHandle-DyX5gY1e.js} +17 -11
- package/dist/lib/client/{PopupStore-DjB-wO88.js → PopupStore-BjRwcvbG.js} +138 -115
- package/dist/lib/client/PopupViewport-BanYHrD-.js +154 -0
- package/dist/lib/client/Separator-D5oJzlA3.js +27 -0
- package/dist/lib/client/TriggerFocusGuards-Fzspp3Y1.js +51 -0
- package/dist/lib/client/accordion/index.js +1 -1
- package/dist/lib/client/accordion-CA2DfX67.js +381 -0
- package/dist/lib/client/alert-dialog/index.js +1 -1
- package/dist/lib/client/{alert-dialog-BH_3ndio.js → alert-dialog-Bup88Dpx.js} +2 -2
- package/dist/lib/client/autocomplete/index.js +1 -1
- package/dist/lib/client/{autocomplete-Cob_FZEP.js → autocomplete-oyy_uRpU.js} +30 -25
- package/dist/lib/client/avatar/index.js +1 -1
- package/dist/lib/client/avatar-DNZ4fnBd.js +191 -0
- package/dist/lib/client/button/index.js +1 -1
- package/dist/lib/client/button-BJZYmCVv.js +88 -0
- package/dist/lib/client/checkbox/index.js +1 -1
- package/dist/lib/client/checkbox-group/index.js +1 -1
- package/dist/lib/client/checkbox-group-DGyrciZJ.js +135 -0
- package/dist/lib/client/checkbox-sQHYTbpB.js +425 -0
- package/dist/lib/client/collapsible/index.js +1 -1
- package/dist/lib/client/collapsible-BENbFFCc.js +230 -0
- package/dist/lib/client/combobox/index.js +2 -2
- package/dist/lib/client/combobox-BGH8QLXH.js +401 -0
- package/dist/lib/client/compositeNavigation-DCt1sQon.js +82 -0
- package/dist/lib/client/{constants-BYjBUIIi.js → constants-ByOMFJAe.js} +105 -101
- package/dist/lib/client/context-menu/index.js +1 -1
- package/dist/lib/client/context-menu-xQ1sBCET.js +220 -0
- package/dist/lib/client/{createAnchorPositioning-DcxDXUgB.js → createAnchorPositioning-DCXIApS1.js} +149 -146
- package/dist/lib/client/{createAnchoredPopupScrollLock-Cx0cbh1_.js → createAnchoredPopupScrollLock-BxKpJbCE.js} +2 -2
- package/dist/lib/client/{createClickInteraction-CTaIFBiV.js → createClickInteraction-BeBsTqtY.js} +1 -1
- package/dist/lib/client/{createCollapsiblePanel-DeDu0O2t.js → createCollapsiblePanel-BQ8r4RTi.js} +1 -1
- package/dist/lib/client/createFocusInteraction-DQPWkZe2.js +60 -0
- package/dist/lib/client/createLabelableId-DxJRwMUJ.js +14 -0
- package/dist/lib/client/{createPopupAutoResize-CGNiLhGq.js → createPopupAutoResize-CSNpMz5v.js} +4 -4
- package/dist/lib/client/{createTransitionStatus-B1L-whed.js → createTransitionStatus-BL_cPSEA.js} +12 -12
- package/dist/lib/client/dialog/index.js +1 -1
- package/dist/lib/client/{dialog-DkaQwIgP.js → dialog-C0EF0a5u.js} +2 -2
- package/dist/lib/client/{dom-BEAeQ9Eb.js → dom-lDdayFF_.js} +25 -15
- package/dist/lib/client/drawer/index.js +1 -1
- package/dist/lib/client/drawer-uKoNBwDU.js +1540 -0
- package/dist/lib/client/field/index.js +1 -1
- package/dist/lib/client/field-DIMrgpBW.js +483 -0
- package/dist/lib/client/fieldset/index.js +1 -1
- package/dist/lib/client/fieldset-Byqk3noT.js +70 -0
- package/dist/lib/client/form/index.js +1 -1
- package/dist/lib/client/form-Bqq8wSLY.js +109 -0
- package/dist/lib/client/index.js +44 -42
- package/dist/lib/client/input/index.js +1 -1
- package/dist/lib/client/{input-gb0ejxkm.js → input-YthuKwIE.js} +1 -1
- package/dist/lib/client/internals/composeEventHandlers.js +14 -8
- package/dist/lib/client/internals/field-root-context/index.js +2 -2
- package/dist/lib/client/internals/form-context/index.js +1 -1
- package/dist/lib/client/internals/labelable-provider/index.js +1 -1
- package/dist/lib/client/{mergeStyleValue-C4ITiiIV.js → isSolidAccessor-BH_FevwH.js} +8 -15
- package/dist/lib/client/menu/index.js +1 -1
- package/dist/lib/client/menu-4rNLN6aX.js +334 -0
- package/dist/lib/client/menubar/index.js +1 -1
- package/dist/lib/client/menubar-nFQGtNmY.js +163 -0
- package/dist/lib/client/mergeStyleValue-Dcd36yxZ.js +12 -0
- package/dist/lib/client/meter/index.js +1 -1
- package/dist/lib/client/meter-BvWdppcx.js +178 -0
- package/dist/lib/client/navigation-menu/index.js +1 -1
- package/dist/lib/client/navigation-menu-BbRyun3a.js +1070 -0
- package/dist/lib/client/number-field/index.js +1 -1
- package/dist/lib/client/number-field-hT_H0hVu.js +1043 -0
- package/dist/lib/client/otp-field/index.js +1 -1
- package/dist/lib/client/otp-field-lsy2iGID.js +584 -0
- package/dist/lib/client/popover/index.js +1 -1
- package/dist/lib/client/popover-Cmvmuf1L.js +940 -0
- package/dist/lib/client/popupStateMapping-nhukB8NK.js +371 -0
- package/dist/lib/client/preview-card/index.js +1 -1
- package/dist/lib/client/preview-card-Dtu8AnBN.js +632 -0
- package/dist/lib/client/progress/index.js +1 -1
- package/dist/lib/client/progress-AVKxvgpc.js +195 -0
- package/dist/lib/client/radio/index.js +1 -1
- package/dist/lib/client/radio-CeCU-Qqi.js +284 -0
- package/dist/lib/client/radio-group/index.js +1 -1
- package/dist/lib/client/radio-group-NbuJvjQe.js +195 -0
- package/dist/lib/client/runOnceAnimationsFinish-CFADb4CN.js +49 -0
- package/dist/lib/client/{safePolygon--bbKn0c8.js → safePolygon-DVAR5dQD.js} +74 -70
- package/dist/lib/client/scroll-area/index.js +1 -1
- package/dist/lib/client/scroll-area-DqbvoAd7.js +717 -0
- package/dist/lib/client/{scrollable-SRNYlhF7.js → scrollable-BVaDUXng.js} +12 -12
- package/dist/lib/client/select/index.js +1 -1
- package/dist/lib/client/select-Dad51Xbn.js +1934 -0
- package/dist/lib/client/separator/index.js +1 -1
- package/dist/lib/client/slider/index.js +1 -1
- package/dist/lib/client/slider-CLSKFq_M.js +927 -0
- package/dist/lib/client/switch/index.js +1 -1
- package/dist/lib/client/switch-Bzuu5EIg.js +306 -0
- package/dist/lib/client/tabs/index.js +1 -1
- package/dist/lib/client/tabs-DWiBDv8D.js +695 -0
- package/dist/lib/client/toast/index.js +1 -1
- package/dist/lib/client/toast-DmtPJW2k.js +1118 -0
- package/dist/lib/client/toggle/index.js +1 -1
- package/dist/lib/client/toggle-CAe-Z8Xn.js +142 -0
- package/dist/lib/client/toggle-group/index.js +1 -1
- package/dist/lib/client/toggle-group-BbQg5s-m.js +134 -0
- package/dist/lib/client/toolbar/index.js +1 -1
- package/dist/lib/client/toolbar-BXT_g-oX.js +504 -0
- package/dist/lib/client/tooltip/index.js +1 -1
- package/dist/lib/client/tooltip-h2r2_Xuo.js +850 -0
- package/dist/lib/client/use-render/index.js +2 -0
- package/dist/lib/client/useFilteredItems-BX0BEuSI.js +2301 -0
- package/dist/lib/client/useRender-CxZ8PI-g.js +12 -0
- package/dist/lib/server/{DialogHandle-ATZlm9RC.js → DialogHandle-BGIISmG7.js} +37 -46
- package/dist/lib/server/{DialogPopup-BebI-w5P.js → DialogPopup-C2ZDGf42.js} +12 -15
- package/dist/lib/server/{FieldControl-Y_kI7ARp.js → FieldControl-CDMMyvuj.js} +62 -26
- package/dist/lib/server/{FieldRootContext-IC-LWzVp.js → FieldRootContext-Bfpna6gA.js} +3 -3
- package/dist/lib/server/{FocusManager-BrbZVWME.js → FocusManager-D-xgblGs.js} +9 -5
- package/dist/lib/server/{FormContext-pvESt85v.js → FormContext-CYwo_ZnB.js} +1 -0
- package/dist/lib/server/{InternalBackdrop-C_iDPVR-.js → InternalBackdrop-D_2zAWnl.js} +1 -1
- package/dist/lib/server/{LabelableContext-DZP3rgAY.js → LabelableContext-BTeF0IWb.js} +4 -6
- package/dist/lib/server/{MenuSubmenuTrigger-DA4gsv6z.js → MenuSubmenuTrigger-BMQKlOvU.js} +177 -210
- package/dist/lib/server/{PopupHandle-DthPgNjy.js → PopupHandle-QNj4mED2.js} +14 -5
- package/dist/lib/server/{PopupStore-DEs3FAEe.js → PopupStore-evylvVnN.js} +42 -15
- package/dist/lib/server/{PopupViewport-3r_KTFwX.js → PopupViewport-BDttjORN.js} +38 -28
- package/dist/lib/server/{Separator-vhhYxWGr.js → Separator-DTvtnxzP.js} +4 -6
- package/dist/lib/server/TriggerFocusGuards-B9GNbLrL.js +61 -0
- package/dist/lib/server/accordion/index.js +39 -77
- package/dist/lib/server/alert-dialog/index.js +2 -2
- package/dist/lib/server/autocomplete/index.js +14 -5
- package/dist/lib/server/avatar/index.js +90 -51
- package/dist/lib/server/button/index.js +14 -15
- package/dist/lib/server/checkbox/index.js +37 -64
- package/dist/lib/server/checkbox-group/index.js +21 -11
- package/dist/lib/server/collapsible/index.js +42 -49
- package/dist/lib/server/combobox/index.js +79 -50
- package/dist/lib/server/{compositeNavigation-BRVT1C38.js → compositeNavigation-D5jKM4yk.js} +32 -1
- package/dist/lib/server/{constants-9H__9xbS.js → constants-ByqXubhO.js} +10 -5
- package/dist/lib/server/context-menu/index.js +14 -16
- package/dist/lib/server/{createAnchorPositioning-C-cVOPwz.js → createAnchorPositioning-DrQYe7RS.js} +12 -7
- package/dist/lib/server/{createAnchoredPopupScrollLock-DFuUrykR.js → createAnchoredPopupScrollLock-q6gnOSmv.js} +2 -2
- package/dist/lib/server/{createClickInteraction-BYsMgvup.js → createClickInteraction-D7oc1Vco.js} +1 -1
- package/dist/lib/server/{createCollapsiblePanel-DTyVJz0G.js → createCollapsiblePanel-B45kTe6v.js} +1 -1
- package/dist/lib/server/{createFocusInteraction-EIS0QOel.js → createFocusInteraction-DFKr4G7a.js} +22 -2
- package/dist/lib/server/createLabelableId-WMUKtY6s.js +18 -0
- package/dist/lib/server/{createPopupAutoResize-DO50jjNX.js → createPopupAutoResize-Cg0-lLf4.js} +2 -2
- package/dist/lib/server/{createTransitionStatus-BTlrerSS.js → createTransitionStatus-184v7j3-.js} +2 -2
- package/dist/lib/server/dialog/index.js +2 -2
- package/dist/lib/server/{dom-Crg_2R-j.js → dom-D8_aB1yy.js} +14 -1
- package/dist/lib/server/drawer/index.js +96 -100
- package/dist/lib/server/field/index.js +110 -98
- package/dist/lib/server/fieldset/index.js +13 -16
- package/dist/lib/server/form/index.js +18 -14
- package/dist/lib/server/index.js +5 -3
- package/dist/lib/server/input/index.js +1 -1
- package/dist/lib/server/internals/composeEventHandlers.js +15 -9
- package/dist/lib/server/internals/field-root-context/index.js +1 -1
- package/dist/lib/server/internals/form-context/index.js +1 -1
- package/dist/lib/server/internals/labelable-provider/index.js +1 -1
- package/dist/lib/server/{mergeStyleValue-Db8bRCM4.js → isSolidAccessor-CZpzAH5l.js} +7 -21
- package/dist/lib/server/menu/index.js +30 -29
- package/dist/lib/server/menubar/index.js +10 -35
- package/dist/lib/server/mergeStyleValue-DecVaoac.js +20 -0
- package/dist/lib/server/meter/index.js +20 -32
- package/dist/lib/server/navigation-menu/index.js +67 -138
- package/dist/lib/server/number-field/index.js +64 -62
- package/dist/lib/server/otp-field/index.js +19 -22
- package/dist/lib/server/popover/index.js +61 -77
- package/dist/lib/server/{popupStateMapping-nKoUwoke.js → popupStateMapping-VHqr6M4H.js} +19 -17
- package/dist/lib/server/preview-card/index.js +39 -50
- package/dist/lib/server/progress/index.js +21 -33
- package/dist/lib/server/radio/index.js +24 -45
- package/dist/lib/server/radio-group/index.js +12 -13
- package/dist/lib/server/{runOnceAnimationsFinish-DCHzXWZU.js → runOnceAnimationsFinish-CYq38H8J.js} +2 -1
- package/dist/lib/server/{safePolygon-CAm5RJGv.js → safePolygon-B8QtiIZ3.js} +6 -1
- package/dist/lib/server/scroll-area/index.js +40 -49
- package/dist/lib/server/{scrollable-CjsSxbGr.js → scrollable-C9Pgq8T5.js} +1 -1
- package/dist/lib/server/select/index.js +128 -213
- package/dist/lib/server/separator/index.js +1 -1
- package/dist/lib/server/slider/index.js +39 -52
- package/dist/lib/server/switch/index.js +22 -32
- package/dist/lib/server/tabs/index.js +197 -137
- package/dist/lib/server/toast/index.js +78 -95
- package/dist/lib/server/toggle/index.js +11 -13
- package/dist/lib/server/toggle-group/index.js +11 -9
- package/dist/lib/server/toolbar/index.js +76 -93
- package/dist/lib/server/tooltip/index.js +53 -57
- package/dist/lib/server/use-render/index.js +2 -0
- package/dist/lib/server/{useFilteredItems-DvuctLt3.js → useFilteredItems-BmhL0nf1.js} +335 -316
- package/dist/lib/server/useRender-CryVdCjs.js +16 -0
- package/dist/lib/types/accordion/header/AccordionHeader.d.ts +1 -1
- package/dist/lib/types/accordion/item/AccordionItem.d.ts +1 -1
- package/dist/lib/types/accordion/panel/AccordionPanel.d.ts +1 -1
- package/dist/lib/types/accordion/root/AccordionRoot.d.ts +2 -7
- package/dist/lib/types/accordion/trigger/AccordionTrigger.d.ts +7 -7
- package/dist/lib/types/alert-dialog/trigger/AlertDialogTrigger.d.ts +1 -2
- package/dist/lib/types/autocomplete/trigger/AutocompleteTrigger.d.ts +1 -0
- package/dist/lib/types/avatar/fallback/AvatarFallback.d.ts +2 -2
- package/dist/lib/types/avatar/image/AvatarImage.d.ts +9 -3
- package/dist/lib/types/avatar/image/createImageLoadingStatus.d.ts +3 -2
- package/dist/lib/types/avatar/root/AvatarRoot.d.ts +1 -1
- package/dist/lib/types/button/Button.d.ts +1 -1
- package/dist/lib/types/checkbox-group/CheckboxGroupContext.d.ts +4 -1
- package/dist/lib/types/collapsible/panel/CollapsiblePanel.d.ts +1 -1
- package/dist/lib/types/collapsible/root/CollapsibleRoot.d.ts +1 -1
- package/dist/lib/types/collapsible/trigger/CollapsibleTrigger.d.ts +1 -1
- package/dist/lib/types/combobox/chip/ComboboxChip.d.ts +2 -0
- package/dist/lib/types/combobox/index.d.ts +2 -0
- package/dist/lib/types/combobox/index.parts.d.ts +1 -0
- package/dist/lib/types/combobox/items/createItems.d.ts +42 -0
- package/dist/lib/types/combobox/root/AriaCombobox.d.ts +4 -0
- package/dist/lib/types/combobox/root/ComboboxRoot.d.ts +17 -8
- package/dist/lib/types/combobox/root/ComboboxRootContext.d.ts +2 -0
- package/dist/lib/types/combobox/store/ComboboxStore.d.ts +1 -0
- package/dist/lib/types/combobox/trigger/ComboboxTrigger.d.ts +1 -0
- package/dist/lib/types/combobox/utils/handleInputPress.d.ts +1 -1
- package/dist/lib/types/dialog/backdrop/DialogBackdrop.d.ts +1 -1
- package/dist/lib/types/dialog/description/DialogDescription.d.ts +1 -1
- package/dist/lib/types/dialog/title/DialogTitle.d.ts +1 -1
- package/dist/lib/types/dialog/viewport/DialogViewport.d.ts +1 -1
- package/dist/lib/types/drawer/backdrop/DrawerBackdrop.d.ts +1 -1
- package/dist/lib/types/drawer/content/DrawerContent.d.ts +1 -1
- package/dist/lib/types/drawer/indent/DrawerIndent.d.ts +1 -1
- package/dist/lib/types/drawer/indent-background/DrawerIndentBackground.d.ts +1 -1
- package/dist/lib/types/field/control/FieldControl.d.ts +5 -5
- package/dist/lib/types/field/root/FieldRoot.d.ts +1 -1
- package/dist/lib/types/field/root/createFieldValidation.d.ts +3 -2
- package/dist/lib/types/fieldset/legend/FieldsetLegend.d.ts +1 -1
- package/dist/lib/types/fieldset/root/FieldsetRoot.d.ts +1 -1
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/lib/types/internals/composeEventHandlers.d.ts +9 -2
- package/dist/lib/types/internals/createTransitionStatus.d.ts +1 -1
- package/dist/lib/types/internals/field-root-context/FieldRootContext.d.ts +1 -0
- package/dist/lib/types/internals/form-context/FormContext.d.ts +1 -0
- package/dist/lib/types/internals/labelable-provider/LabelableContext.d.ts +1 -0
- package/dist/lib/types/internals/labelable-provider/createLabelableId.d.ts +3 -0
- package/dist/lib/types/internals/overlay/PopupPortal.d.ts +4 -2
- package/dist/lib/types/internals/overlay/createPopupPresence.d.ts +1 -0
- package/dist/lib/types/internals/overlay/dom.d.ts +2 -0
- package/dist/lib/types/menu/root/MenuRootContext.d.ts +1 -0
- package/dist/lib/types/meter/indicator/MeterIndicator.d.ts +1 -1
- package/dist/lib/types/meter/label/MeterLabel.d.ts +1 -1
- package/dist/lib/types/meter/root/MeterRoot.d.ts +1 -1
- package/dist/lib/types/meter/track/MeterTrack.d.ts +1 -1
- package/dist/lib/types/meter/value/MeterValue.d.ts +1 -1
- package/dist/lib/types/navigation-menu/trigger/NavigationMenuTrigger.d.ts +1 -0
- package/dist/lib/types/number-field/input/NumberFieldInput.d.ts +5 -5
- package/dist/lib/types/number-field/root/NumberFieldRootContext.d.ts +1 -0
- package/dist/lib/types/popover/arrow/PopoverArrow.d.ts +1 -1
- package/dist/lib/types/popover/backdrop/PopoverBackdrop.d.ts +1 -1
- package/dist/lib/types/popover/description/PopoverDescription.d.ts +1 -1
- package/dist/lib/types/popover/positioner/PopoverPositioner.d.ts +1 -1
- package/dist/lib/types/popover/title/PopoverTitle.d.ts +1 -1
- package/dist/lib/types/preview-card/arrow/PreviewCardArrow.d.ts +1 -1
- package/dist/lib/types/preview-card/backdrop/PreviewCardBackdrop.d.ts +1 -1
- package/dist/lib/types/preview-card/positioner/PreviewCardPositioner.d.ts +1 -1
- package/dist/lib/types/progress/indicator/ProgressIndicator.d.ts +1 -1
- package/dist/lib/types/progress/label/ProgressLabel.d.ts +1 -1
- package/dist/lib/types/progress/root/ProgressRoot.d.ts +1 -1
- package/dist/lib/types/progress/track/ProgressTrack.d.ts +1 -1
- package/dist/lib/types/progress/value/ProgressValue.d.ts +1 -1
- package/dist/lib/types/radio/indicator/RadioIndicator.d.ts +2 -2
- package/dist/lib/types/scroll-area/content/ScrollAreaContent.d.ts +1 -1
- package/dist/lib/types/scroll-area/corner/ScrollAreaCorner.d.ts +1 -1
- package/dist/lib/types/scroll-area/root/ScrollAreaRoot.d.ts +1 -1
- package/dist/lib/types/scroll-area/scrollbar/ScrollAreaScrollbar.d.ts +2 -1
- package/dist/lib/types/scroll-area/thumb/ScrollAreaThumb.d.ts +1 -1
- package/dist/lib/types/scroll-area/viewport/ScrollAreaViewport.d.ts +1 -1
- package/dist/lib/types/separator/Separator.d.ts +1 -1
- package/dist/lib/types/slider/track/SliderTrack.d.ts +2 -2
- package/dist/lib/types/tabs/indicator/prehydrationScript.d.ts +1 -1
- package/dist/lib/types/tabs/list/TabsList.d.ts +1 -1
- package/dist/lib/types/tabs/panel/TabsPanel.d.ts +1 -1
- package/dist/lib/types/tabs/root/TabsRoot.d.ts +1 -1
- package/dist/lib/types/tabs/tab/TabsTab.d.ts +1 -1
- package/dist/lib/types/toast/createToastManager.d.ts +2 -2
- package/dist/lib/types/toast/store/ToastStore.d.ts +1 -1
- package/dist/lib/types/toast/useToastManager.d.ts +1 -1
- package/dist/lib/types/toggle/Toggle.d.ts +1 -1
- package/dist/lib/types/toggle-group/ToggleGroup.d.ts +1 -1
- package/dist/lib/types/toolbar/group/ToolbarGroup.d.ts +1 -1
- package/dist/lib/types/toolbar/link/ToolbarLink.d.ts +10 -3
- package/dist/lib/types/toolbar/root/ToolbarRoot.d.ts +10 -4
- package/dist/lib/types/toolbar/separator/ToolbarSeparator.d.ts +1 -1
- package/dist/lib/types/tooltip/arrow/TooltipArrow.d.ts +1 -1
- package/dist/lib/types/tooltip/positioner/TooltipPositioner.d.ts +1 -1
- package/dist/lib/types/types/index.d.ts +7 -3
- package/dist/lib/types/use-render/index.d.ts +2 -0
- package/dist/lib/types/use-render/useRender.d.ts +10 -0
- package/package.json +24 -11
- package/dist/lib/client/DialogHandle-DrN2YWCv.js +0 -518
- package/dist/lib/client/DialogPopup-ZlqmGfdk.js +0 -136
- package/dist/lib/client/FieldControl-Bc-z2og6.js +0 -116
- package/dist/lib/client/MenuSubmenuTrigger-QZkQ0F2v.js +0 -1570
- package/dist/lib/client/PopupViewport-DgrIqQea.js +0 -152
- package/dist/lib/client/Separator-9DboD_Si.js +0 -25
- package/dist/lib/client/TriggerFocusGuards-CQ-JuASy.js +0 -56
- package/dist/lib/client/accordion-sOXt9AlG.js +0 -399
- package/dist/lib/client/avatar-AF9vyD4q.js +0 -146
- package/dist/lib/client/button-DpUi-2g8.js +0 -82
- package/dist/lib/client/checkbox-BbAwOptH.js +0 -441
- package/dist/lib/client/checkbox-group-CSSp_805.js +0 -128
- package/dist/lib/client/collapsible-BIbje_ub.js +0 -232
- package/dist/lib/client/combobox-8O-vgTLL.js +0 -352
- package/dist/lib/client/compositeNavigation-sxniYTc7.js +0 -58
- package/dist/lib/client/context-menu-BTMkXtrs.js +0 -217
- package/dist/lib/client/createFocusInteraction-D4w1-235.js +0 -50
- package/dist/lib/client/drawer-Ce2cChLt.js +0 -1550
- package/dist/lib/client/field-C-o7jzKW.js +0 -469
- package/dist/lib/client/fieldset-BQTAWv2L.js +0 -65
- package/dist/lib/client/form-BINBiW5L.js +0 -106
- package/dist/lib/client/menu-DeMT08oD.js +0 -326
- package/dist/lib/client/menubar-C4aomSYv.js +0 -185
- package/dist/lib/client/meter-xSU37Q0m.js +0 -171
- package/dist/lib/client/navigation-menu-ZILQmdn6.js +0 -1083
- package/dist/lib/client/number-field-B8CsTb_8.js +0 -1035
- package/dist/lib/client/otp-field-DBkMcnog.js +0 -582
- package/dist/lib/client/popover-CQwyp-fs.js +0 -929
- package/dist/lib/client/popupStateMapping-C9eZl19i.js +0 -367
- package/dist/lib/client/preview-card-D_2Q8lpC.js +0 -625
- package/dist/lib/client/progress-D7r0xAC9.js +0 -188
- package/dist/lib/client/radio-CzGQ81z1.js +0 -299
- package/dist/lib/client/radio-group-DpHlBKA6.js +0 -193
- package/dist/lib/client/runOnceAnimationsFinish-15EM-Z4l.js +0 -48
- package/dist/lib/client/scroll-area-CffM4U0R.js +0 -701
- package/dist/lib/client/select-IFhiEg73.js +0 -1940
- package/dist/lib/client/slider-BCagYmGp.js +0 -921
- package/dist/lib/client/switch-RIJeDnvS.js +0 -308
- package/dist/lib/client/tabs-fOAKs7r3.js +0 -696
- package/dist/lib/client/toast-D2P8UqUs.js +0 -1108
- package/dist/lib/client/toggle-group-0Aue0owJ.js +0 -129
- package/dist/lib/client/toggle-momVEIBL.js +0 -138
- package/dist/lib/client/toolbar-Du22aKCv.js +0 -492
- package/dist/lib/client/tooltip-CyK61fl1.js +0 -844
- package/dist/lib/client/useFilteredItems-DTekHz39.js +0 -2223
- package/dist/lib/client/withoutComponentBinding-CcCW7fSc.js +0 -13
- package/dist/lib/server/TriggerFocusGuards-sbGwf45f.js +0 -63
- package/dist/lib/server/withoutComponentBinding-BHaWr5kU.js +0 -20
- package/dist/lib/types/internals/withoutComponentBinding.d.ts +0 -7
|
@@ -1,701 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { getStateAttributesProps as t } from "./internals/getStateAttributesProps.js";
|
|
3
|
-
import { n, t as r } from "./resolveStyle-XcgAuaKR.js";
|
|
4
|
-
import { composeEventHandlers as i } from "./internals/composeEventHandlers.js";
|
|
5
|
-
import { n as a } from "./DirectionContext-BwMabICS.js";
|
|
6
|
-
import { n as o } from "./CSPContext-faVzToiT.js";
|
|
7
|
-
import { mergeStyles as s } from "./internals/mergeStyles.js";
|
|
8
|
-
import { Dynamic as c, createComponent as l, effect as u, getNextElement as d, isServer as f, memo as p, mergeProps as m, setAttribute as h, template as g } from "@solidjs/web";
|
|
9
|
-
import { DEV as _, Show as v, createContext as y, createEffect as b, createMemo as x, createRoot as S, createSignal as C, createUniqueId as w, getOwner as T, omit as E, onCleanup as D, onSettled as O, untrack as k, useContext as A } from "solid-js";
|
|
10
|
-
//#region src/scroll-area/utils/dom.ts
|
|
11
|
-
function j(e) {
|
|
12
|
-
let t = e.composedPath()[0] ?? e.target;
|
|
13
|
-
if (!t || typeof t.nodeType != "number") return null;
|
|
14
|
-
let n = t;
|
|
15
|
-
return n.nodeType === Node.ELEMENT_NODE ? n : n.parentElement;
|
|
16
|
-
}
|
|
17
|
-
function M(e, t) {
|
|
18
|
-
if (!e || !t || typeof t.nodeType != "number") return !1;
|
|
19
|
-
let n = t;
|
|
20
|
-
for (; n;) {
|
|
21
|
-
if (e.contains(n)) return !0;
|
|
22
|
-
let t = n.getRootNode();
|
|
23
|
-
n = t.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in t ? t.host : null;
|
|
24
|
-
}
|
|
25
|
-
return !1;
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/scroll-area/utils/getOffset.ts
|
|
29
|
-
function N(e, t, n) {
|
|
30
|
-
if (!e) return 0;
|
|
31
|
-
let r = e.ownerDocument.defaultView?.getComputedStyle(e);
|
|
32
|
-
if (!r) return 0;
|
|
33
|
-
let i = `${t}${n === "x" ? "Inline" : "Block"}`, a = Number.parseFloat(r[`${i}Start`]) || 0;
|
|
34
|
-
return n === "x" && t === "margin" ? a * 2 : a + (Number.parseFloat(r[`${i}End`]) || 0);
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region src/scroll-area/root/ScrollAreaRootContext.ts
|
|
38
|
-
var P = Symbol("ScrollAreaRootContext"), F = y(P);
|
|
39
|
-
function I() {
|
|
40
|
-
let e = A(F);
|
|
41
|
-
if (e === P) throw Error("Base UI: ScrollAreaRootContext is missing. ScrollArea parts must be placed within <ScrollArea.Root>.");
|
|
42
|
-
return e;
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region src/scroll-area/root/stateAttributes.ts
|
|
46
|
-
var L = (e) => (t) => t ? { [e]: "" } : null, R = {
|
|
47
|
-
hasOverflowX: L("data-has-overflow-x"),
|
|
48
|
-
hasOverflowY: L("data-has-overflow-y"),
|
|
49
|
-
overflowXStart: L("data-overflow-x-start"),
|
|
50
|
-
overflowXEnd: L("data-overflow-x-end"),
|
|
51
|
-
overflowYStart: L("data-overflow-y-start"),
|
|
52
|
-
overflowYEnd: L("data-overflow-y-end"),
|
|
53
|
-
cornerHidden: () => null
|
|
54
|
-
}, z = /* @__PURE__ */ g("<style>.base-ui-disable-scrollbar{scrollbar-width:none}.base-ui-disable-scrollbar::-webkit-scrollbar{display:none}"), B = {
|
|
55
|
-
width: 0,
|
|
56
|
-
height: 0
|
|
57
|
-
}, V = {
|
|
58
|
-
xStart: !1,
|
|
59
|
-
xEnd: !1,
|
|
60
|
-
yStart: !1,
|
|
61
|
-
yEnd: !1
|
|
62
|
-
}, ee = {
|
|
63
|
-
x: !0,
|
|
64
|
-
y: !0,
|
|
65
|
-
corner: !0
|
|
66
|
-
};
|
|
67
|
-
function H(e) {
|
|
68
|
-
let a = o(), f = e, g = e, _ = `base-ui-${w()}`, [v, y] = C(), [b, S] = C(), [T, O] = C(), [k, A] = C(), [j, P] = C(), [I, L] = C(), [H, U] = C(!1), [W, G] = C(!1), [ae, K] = C(!1), [oe, se] = C(!1), [ce, le] = C(!1), [ue, de] = C(B), [fe, pe] = C(B), [me, he] = C(V), [ge, _e] = C(ee), q, J = null, ve = 0, ye = 0, be = 0, xe = 0, Y = "vertical", X = {
|
|
69
|
-
x: 0,
|
|
70
|
-
y: 0
|
|
71
|
-
}, Z = null, Q, $, Se = E(g, "as", "children", "class", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "overflowEdgeThreshold", "ref", "style"), Ce = x(() => te(f.overflowEdgeThreshold)), we = x(() => {
|
|
72
|
-
let e = ge(), t = me();
|
|
73
|
-
return {
|
|
74
|
-
scrolling: W() || ae(),
|
|
75
|
-
hasOverflowX: !e.x,
|
|
76
|
-
hasOverflowY: !e.y,
|
|
77
|
-
overflowXStart: t.xStart,
|
|
78
|
-
overflowXEnd: t.xEnd,
|
|
79
|
-
overflowYStart: t.yStart,
|
|
80
|
-
overflowYEnd: t.yEnd,
|
|
81
|
-
cornerHidden: e.corner
|
|
82
|
-
};
|
|
83
|
-
}), Te = x(() => n(e.class, we())), Ee = x(() => {
|
|
84
|
-
let t = ue(), n = r(e.style, we());
|
|
85
|
-
return typeof n == "string" ? `position:relative;--scroll-area-corner-height:${t.height}px;--scroll-area-corner-width:${t.width}px;${n}` : s({
|
|
86
|
-
position: "relative",
|
|
87
|
-
"--scroll-area-corner-height": `${t.height}px`,
|
|
88
|
-
"--scroll-area-corner-width": `${t.width}px`
|
|
89
|
-
}, n === !1 ? void 0 : n);
|
|
90
|
-
}), De = x(() => t(we(), R));
|
|
91
|
-
function Oe(e) {
|
|
92
|
-
de((t) => ne(t, e) ? t : e);
|
|
93
|
-
}
|
|
94
|
-
function ke(e) {
|
|
95
|
-
pe((t) => ne(t, e) ? t : e);
|
|
96
|
-
}
|
|
97
|
-
function Ae(e) {
|
|
98
|
-
_e((t) => re(t, e) ? t : e);
|
|
99
|
-
}
|
|
100
|
-
function je(e) {
|
|
101
|
-
he((t) => ie(t, e) ? t : e);
|
|
102
|
-
}
|
|
103
|
-
function Me(e) {
|
|
104
|
-
let t = e ? $ : Q;
|
|
105
|
-
t !== void 0 && clearTimeout(t), (e ? K : G)(!0);
|
|
106
|
-
let n = setTimeout(() => {
|
|
107
|
-
(e ? K : G)(!1);
|
|
108
|
-
}, 500);
|
|
109
|
-
e ? $ = n : Q = n;
|
|
110
|
-
}
|
|
111
|
-
function Ne(e) {
|
|
112
|
-
let t = e.x - X.x, n = e.y - X.y;
|
|
113
|
-
X = e, n !== 0 && Me(!0), t !== 0 && Me(!1);
|
|
114
|
-
}
|
|
115
|
-
function Pe() {
|
|
116
|
-
let e = v();
|
|
117
|
-
e && Z === null && (Z = e.style.scrollSnapType, e.style.scrollSnapType = "none");
|
|
118
|
-
}
|
|
119
|
-
function Fe(e, t) {
|
|
120
|
-
if (e.button !== 0 || J !== null && (Y === "vertical" ? k() : j())?.hasPointerCapture?.(J)) return;
|
|
121
|
-
J = e.pointerId, Y = t, ve = e.clientY, ye = e.clientX;
|
|
122
|
-
let n = v();
|
|
123
|
-
n && (be = n.scrollTop, xe = n.scrollLeft, Pe()), (t === "vertical" ? k() : j())?.setPointerCapture?.(e.pointerId);
|
|
124
|
-
}
|
|
125
|
-
function Ie() {
|
|
126
|
-
if (Z !== null) {
|
|
127
|
-
let e = v();
|
|
128
|
-
e && (e.style.scrollSnapType = Z), Z = null;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
function Le(e) {
|
|
132
|
-
if (e.pointerId !== J) return;
|
|
133
|
-
J = null, (Y === "vertical" ? K : G)(!1), Ie();
|
|
134
|
-
let t = Y === "vertical" ? k() : j();
|
|
135
|
-
t?.hasPointerCapture?.(e.pointerId) && t.releasePointerCapture(e.pointerId);
|
|
136
|
-
}
|
|
137
|
-
function Re(e) {
|
|
138
|
-
if (e.pointerId !== J) return;
|
|
139
|
-
if (!(e.buttons & 1)) {
|
|
140
|
-
Le(e);
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
let t = v(), n = Y === "vertical", r = n ? k() : j(), i = n ? b() : T();
|
|
144
|
-
if (!t || !r || !i) return;
|
|
145
|
-
let a = n ? "y" : "x", o = N(i, "padding", a), s = N(r, "margin", a), c = n ? r.offsetHeight : r.offsetWidth, l = (n ? i.offsetHeight : i.offsetWidth) - c - o - s, u = n ? e.clientY - ve : e.clientX - ye, d = l <= 0 ? 0 : u / l, f = n ? t.scrollHeight : t.scrollWidth, p = n ? t.clientHeight : t.clientWidth, m = (n ? be : xe) + d * (f - p);
|
|
146
|
-
n ? t.scrollTop = m : t.scrollLeft = m, e.preventDefault(), Me(n);
|
|
147
|
-
}
|
|
148
|
-
function ze(e) {
|
|
149
|
-
se(e.pointerType === "touch");
|
|
150
|
-
}
|
|
151
|
-
function Be(e) {
|
|
152
|
-
ze(e), e.pointerType !== "touch" && U(M(q, e.target));
|
|
153
|
-
}
|
|
154
|
-
let Ve = i(() => f.onPointerEnter, () => Be), He = i(() => f.onPointerMove, () => Be), Ue = i(() => f.onPointerDown, () => ze), We = i(() => f.onPointerLeave, () => () => U(!1)), Ge = {
|
|
155
|
-
cornerElement: I,
|
|
156
|
-
cornerSize: ue,
|
|
157
|
-
disableViewportSnap: Pe,
|
|
158
|
-
handlePointerDown: Fe,
|
|
159
|
-
handlePointerMove: Re,
|
|
160
|
-
handlePointerUp: Le,
|
|
161
|
-
handleScroll: Ne,
|
|
162
|
-
hasMeasuredScrollbar: ce,
|
|
163
|
-
hiddenState: ge,
|
|
164
|
-
hovering: H,
|
|
165
|
-
overflowEdges: me,
|
|
166
|
-
overflowEdgeThreshold: Ce,
|
|
167
|
-
rootId: _,
|
|
168
|
-
scrollbarXElement: T,
|
|
169
|
-
scrollbarYElement: b,
|
|
170
|
-
scrollingX: W,
|
|
171
|
-
scrollingY: ae,
|
|
172
|
-
setCornerElement: L,
|
|
173
|
-
setCornerSize: Oe,
|
|
174
|
-
setHasMeasuredScrollbar: le,
|
|
175
|
-
setHiddenState: Ae,
|
|
176
|
-
setHovering: U,
|
|
177
|
-
setOverflowEdges: je,
|
|
178
|
-
setScrollbarXElement: O,
|
|
179
|
-
setScrollbarYElement: S,
|
|
180
|
-
setThumbSize: ke,
|
|
181
|
-
setThumbXElement: P,
|
|
182
|
-
setThumbYElement: A,
|
|
183
|
-
setViewportElement: y,
|
|
184
|
-
state: we,
|
|
185
|
-
thumbSize: fe,
|
|
186
|
-
thumbXElement: j,
|
|
187
|
-
thumbYElement: k,
|
|
188
|
-
touchModality: oe,
|
|
189
|
-
viewportElement: v
|
|
190
|
-
};
|
|
191
|
-
return D(() => {
|
|
192
|
-
if (Q !== void 0 && clearTimeout(Q), $ !== void 0 && clearTimeout($), Ie(), J !== null) {
|
|
193
|
-
let e = Y === "vertical" ? k() : j();
|
|
194
|
-
e?.hasPointerCapture?.(J) && e.releasePointerCapture(J);
|
|
195
|
-
}
|
|
196
|
-
}), l(F, {
|
|
197
|
-
value: Ge,
|
|
198
|
-
get children() {
|
|
199
|
-
return [p(() => p(() => !a.disableStyleElements())() && (() => {
|
|
200
|
-
var e = d(z);
|
|
201
|
-
return u(() => a.nonce(), (t) => {
|
|
202
|
-
h(e, "nonce", t);
|
|
203
|
-
}), e;
|
|
204
|
-
})()), l(c, m({
|
|
205
|
-
get component() {
|
|
206
|
-
return e.as ?? "div";
|
|
207
|
-
},
|
|
208
|
-
ref: [((e) => {
|
|
209
|
-
q = e;
|
|
210
|
-
}), f.ref],
|
|
211
|
-
get class() {
|
|
212
|
-
return Te();
|
|
213
|
-
},
|
|
214
|
-
get style() {
|
|
215
|
-
return Ee();
|
|
216
|
-
},
|
|
217
|
-
role: "presentation",
|
|
218
|
-
onPointerEnter: Ve,
|
|
219
|
-
onPointerMove: He,
|
|
220
|
-
onPointerDown: Ue,
|
|
221
|
-
onPointerLeave: We
|
|
222
|
-
}, De, Se, { get children() {
|
|
223
|
-
return f.children;
|
|
224
|
-
} }))];
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
function te(e) {
|
|
229
|
-
let t = typeof e == "number" ? {
|
|
230
|
-
xStart: e,
|
|
231
|
-
xEnd: e,
|
|
232
|
-
yStart: e,
|
|
233
|
-
yEnd: e
|
|
234
|
-
} : e;
|
|
235
|
-
return {
|
|
236
|
-
xStart: Math.max(0, t?.xStart || 0),
|
|
237
|
-
xEnd: Math.max(0, t?.xEnd || 0),
|
|
238
|
-
yStart: Math.max(0, t?.yStart || 0),
|
|
239
|
-
yEnd: Math.max(0, t?.yEnd || 0)
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
function ne(e, t) {
|
|
243
|
-
return e.width === t.width && e.height === t.height;
|
|
244
|
-
}
|
|
245
|
-
function re(e, t) {
|
|
246
|
-
return e.x === t.x && e.y === t.y && e.corner === t.corner;
|
|
247
|
-
}
|
|
248
|
-
function ie(e, t) {
|
|
249
|
-
return e.xStart === t.xStart && e.xEnd === t.xEnd && e.yStart === t.yStart && e.yEnd === t.yEnd;
|
|
250
|
-
}
|
|
251
|
-
var U = !(typeof window > "u") && !!_, W = (() => void 0);
|
|
252
|
-
Object.is.bind(Object);
|
|
253
|
-
var G = U ? (e) => T() ? D(e) : e : D;
|
|
254
|
-
//#endregion
|
|
255
|
-
//#region node_modules/@solid-primitives/event-listener/dist/eventListener.js
|
|
256
|
-
function ae(e, t, n, r) {
|
|
257
|
-
return e?.addEventListener?.(t, n, r), G(e?.removeEventListener?.bind(e, t, n, r));
|
|
258
|
-
}
|
|
259
|
-
//#endregion
|
|
260
|
-
//#region node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
261
|
-
function K(e, t) {
|
|
262
|
-
if (f) return {
|
|
263
|
-
observe: W,
|
|
264
|
-
unobserve: W
|
|
265
|
-
};
|
|
266
|
-
let n = new ResizeObserver(e);
|
|
267
|
-
return D(n.disconnect.bind(n)), {
|
|
268
|
-
observe: (e) => n.observe(e, t),
|
|
269
|
-
unobserve: n.unobserve.bind(n)
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
//#endregion
|
|
273
|
-
//#region src/scroll-area/utils/scrollEdges.ts
|
|
274
|
-
var oe = 1;
|
|
275
|
-
function se(e, t) {
|
|
276
|
-
if (t <= 0) return 0;
|
|
277
|
-
let n = Math.max(0, Math.min(e, t)), r = n, i = t - n, a = r <= oe, o = i <= oe;
|
|
278
|
-
return a && o ? r <= i ? 0 : t : a ? 0 : o ? t : n;
|
|
279
|
-
}
|
|
280
|
-
//#endregion
|
|
281
|
-
//#region src/scroll-area/viewport/ScrollAreaViewportContext.ts
|
|
282
|
-
var ce = Symbol("ScrollAreaViewportContext"), le = y(ce);
|
|
283
|
-
function ue() {
|
|
284
|
-
let e = A(le);
|
|
285
|
-
if (e === ce) throw Error("Base UI: ScrollAreaViewportContext missing. ScrollAreaViewport parts must be placed within <ScrollArea.Viewport>.");
|
|
286
|
-
return e;
|
|
287
|
-
}
|
|
288
|
-
//#endregion
|
|
289
|
-
//#region src/scroll-area/viewport/ScrollAreaViewport.tsx
|
|
290
|
-
var de = [
|
|
291
|
-
"--scroll-area-overflow-x-start",
|
|
292
|
-
"--scroll-area-overflow-x-end",
|
|
293
|
-
"--scroll-area-overflow-y-start",
|
|
294
|
-
"--scroll-area-overflow-y-end"
|
|
295
|
-
], fe = !1;
|
|
296
|
-
function pe(e) {
|
|
297
|
-
let o = I(), u = a(), d = e, f = E(e, "as", "children", "class", "onKeyDown", "onPointerEnter", "onPointerMove", "onScroll", "onWheel", "ref", "style"), p = x(() => o.state()), h = x(() => ["base-ui-disable-scrollbar", n(e.class, p())]), g = x(() => {
|
|
298
|
-
let t = r(e.style, p());
|
|
299
|
-
return typeof t == "string" ? `overflow:scroll;${t}` : s({ overflow: "scroll" }, t === !1 ? void 0 : t);
|
|
300
|
-
}), _ = x(() => t(p(), R)), v = [
|
|
301
|
-
NaN,
|
|
302
|
-
NaN,
|
|
303
|
-
NaN,
|
|
304
|
-
NaN
|
|
305
|
-
], y = !0, S, C, w, T = !1, k;
|
|
306
|
-
function A() {
|
|
307
|
-
let e = o.viewportElement();
|
|
308
|
-
if (!e) return;
|
|
309
|
-
let t = o.scrollbarYElement(), n = o.scrollbarXElement(), r = o.thumbYElement(), i = o.thumbXElement(), a = o.cornerElement(), s = e.scrollHeight, c = e.scrollWidth, l = e.clientHeight, d = e.clientWidth, f = e.scrollTop, p = e.scrollLeft, m = Number.isNaN(v[0]);
|
|
310
|
-
if (v[0] = l, v[1] = s, v[2] = d, v[3] = c, m && o.setHasMeasuredScrollbar(!0), s === 0 || c === 0) return;
|
|
311
|
-
let h = me(e), g = d / c, _ = l / s, y = Math.max(0, c - d), b = Math.max(0, s - l), x = h.x ? 0 : se(u() === "rtl" ? -p : p, y), S = h.x ? 0 : y - x, C = h.y ? 0 : se(f, b), w = h.y ? 0 : b - C, T = h.x ? 0 : d, E = h.y ? 0 : l, D = 0, O = 0;
|
|
312
|
-
!h.x && !h.y && (D = t?.offsetWidth || 0, O = n?.offsetHeight || 0);
|
|
313
|
-
let k = o.cornerSize(), A = k.width === 0 && k.height === 0, j = N(n, "padding", "x"), M = N(t, "padding", "y"), P = N(i, "margin", "x"), F = N(r, "margin", "y"), I = T - j - P, L = E - M - F, R = n ? Math.min(n.offsetWidth - (A ? D : 0), I) : I, z = t ? Math.min(t.offsetHeight - (A ? O : 0), L) : L, B = Math.max(16, R * g), V = Math.max(16, z * _);
|
|
314
|
-
if (o.setThumbSize({
|
|
315
|
-
width: B,
|
|
316
|
-
height: V
|
|
317
|
-
}), t && r) {
|
|
318
|
-
let e = he(r, "--scroll-area-thumb-height", f, b, s, V, t.offsetHeight - V - M - F);
|
|
319
|
-
r.style.transform = `translate3d(0,${e}px,0)`;
|
|
320
|
-
}
|
|
321
|
-
if (n && i) {
|
|
322
|
-
let e = n.offsetWidth - B - j - P, t = he(i, "--scroll-area-thumb-width", u() === "rtl" ? -p : p, y, c, B, e);
|
|
323
|
-
i.style.transform = `translate3d(${u() === "rtl" ? -t : t}px,0,0)`;
|
|
324
|
-
}
|
|
325
|
-
let ee = [
|
|
326
|
-
x,
|
|
327
|
-
S,
|
|
328
|
-
C,
|
|
329
|
-
w
|
|
330
|
-
];
|
|
331
|
-
de.forEach((t, n) => {
|
|
332
|
-
e.style.setProperty(t, `${ee[n]}px`);
|
|
333
|
-
}), a && o.setCornerSize({
|
|
334
|
-
width: D,
|
|
335
|
-
height: O
|
|
336
|
-
}), o.setHiddenState(h);
|
|
337
|
-
let H = o.overflowEdgeThreshold();
|
|
338
|
-
o.setOverflowEdges({
|
|
339
|
-
xStart: !h.x && x > H.xStart,
|
|
340
|
-
xEnd: !h.x && S > H.xEnd,
|
|
341
|
-
yStart: !h.y && C > H.yStart,
|
|
342
|
-
yEnd: !h.y && w > H.yEnd
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
let j = typeof ResizeObserver > "u" ? void 0 : K((e) => {
|
|
346
|
-
!w || !e.some((e) => e.target === w) || !T && (T = !0, v[0] === w.clientHeight && v[1] === w.scrollHeight && v[2] === w.clientWidth && v[3] === w.scrollWidth) || A();
|
|
347
|
-
});
|
|
348
|
-
b(() => ({
|
|
349
|
-
hidden: o.hiddenState(),
|
|
350
|
-
direction: u(),
|
|
351
|
-
threshold: o.overflowEdgeThreshold(),
|
|
352
|
-
viewport: o.viewportElement(),
|
|
353
|
-
scrollbarX: o.scrollbarXElement(),
|
|
354
|
-
scrollbarY: o.scrollbarYElement(),
|
|
355
|
-
thumbX: o.thumbXElement(),
|
|
356
|
-
thumbY: o.thumbYElement()
|
|
357
|
-
}), () => {
|
|
358
|
-
queueMicrotask(A);
|
|
359
|
-
}), b(o.viewportElement, (e) => {
|
|
360
|
-
if (!(!e || !j)) return w = e, T = !1, j.observe(e), C = setTimeout(() => {
|
|
361
|
-
let t = e.getAnimations?.bind(e), n = t?.({ subtree: !0 }) ?? [];
|
|
362
|
-
n.length > 0 && Promise.allSettled(n.map((e) => e.finished)).then(A).catch(() => {});
|
|
363
|
-
}, 0), () => {
|
|
364
|
-
j.unobserve(e), w === e && (w = void 0), C !== void 0 && (clearTimeout(C), C = void 0);
|
|
365
|
-
};
|
|
366
|
-
});
|
|
367
|
-
function M() {
|
|
368
|
-
y = !1;
|
|
369
|
-
}
|
|
370
|
-
function P() {
|
|
371
|
-
let e = o.viewportElement();
|
|
372
|
-
e && (A(), (o.touchModality() || !y) && o.handleScroll({
|
|
373
|
-
x: e.scrollLeft,
|
|
374
|
-
y: e.scrollTop
|
|
375
|
-
}), S !== void 0 && clearTimeout(S), S = setTimeout(() => {
|
|
376
|
-
y = !0;
|
|
377
|
-
}, 100));
|
|
378
|
-
}
|
|
379
|
-
let F = i(() => d.onScroll, () => P), L = i(() => d.onWheel, () => M), z = i(() => d.onPointerMove, () => M), B = i(() => d.onPointerEnter, () => M), V = i(() => d.onKeyDown, () => M), ee = { computeThumbPosition: A };
|
|
380
|
-
return O(() => {
|
|
381
|
-
ge(), o.viewportElement()?.matches(":hover") && o.setHovering(!0);
|
|
382
|
-
}), D(() => {
|
|
383
|
-
S !== void 0 && clearTimeout(S), C !== void 0 && clearTimeout(C), o.viewportElement() === k && o.setViewportElement(void 0);
|
|
384
|
-
}), l(le, {
|
|
385
|
-
value: ee,
|
|
386
|
-
get children() {
|
|
387
|
-
return l(c, m({
|
|
388
|
-
get component() {
|
|
389
|
-
return e.as ?? "div";
|
|
390
|
-
},
|
|
391
|
-
ref: [((e) => {
|
|
392
|
-
k = e, o.setViewportElement(e);
|
|
393
|
-
}), d.ref],
|
|
394
|
-
get class() {
|
|
395
|
-
return h();
|
|
396
|
-
},
|
|
397
|
-
get style() {
|
|
398
|
-
return g();
|
|
399
|
-
},
|
|
400
|
-
role: "presentation",
|
|
401
|
-
get "data-id"() {
|
|
402
|
-
return `${o.rootId}-viewport`;
|
|
403
|
-
},
|
|
404
|
-
get tabindex() {
|
|
405
|
-
return o.hiddenState().x && o.hiddenState().y ? -1 : 0;
|
|
406
|
-
},
|
|
407
|
-
onScroll: F,
|
|
408
|
-
onWheel: L,
|
|
409
|
-
onPointerMove: z,
|
|
410
|
-
onPointerEnter: B,
|
|
411
|
-
onKeyDown: V
|
|
412
|
-
}, _, f, { get children() {
|
|
413
|
-
return d.children;
|
|
414
|
-
} }));
|
|
415
|
-
}
|
|
416
|
-
});
|
|
417
|
-
}
|
|
418
|
-
function me(e) {
|
|
419
|
-
let t = e.clientHeight >= e.scrollHeight, n = e.clientWidth >= e.scrollWidth;
|
|
420
|
-
return {
|
|
421
|
-
x: n,
|
|
422
|
-
y: t,
|
|
423
|
-
corner: n || t
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
function he(e, t, n, r, i, a, o) {
|
|
427
|
-
let s = Math.max(0, Math.min(n, r)), c = n - s, l = Math.max(16, a * i / (i + Math.abs(c)));
|
|
428
|
-
return e.style.setProperty(t, c ? `${l}px` : ""), (r ? s / r * o : 0) + (c > 0 ? a - l : 0);
|
|
429
|
-
}
|
|
430
|
-
function ge() {
|
|
431
|
-
if (!(fe || _e())) {
|
|
432
|
-
if (typeof CSS < "u" && "registerProperty" in CSS) for (let e of de) try {
|
|
433
|
-
CSS.registerProperty({
|
|
434
|
-
name: e,
|
|
435
|
-
syntax: "<length>",
|
|
436
|
-
inherits: !1,
|
|
437
|
-
initialValue: "0px"
|
|
438
|
-
});
|
|
439
|
-
} catch {}
|
|
440
|
-
fe = !0;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
function _e() {
|
|
444
|
-
return typeof CSS < "u" && !!CSS.supports?.("-webkit-backdrop-filter:none");
|
|
445
|
-
}
|
|
446
|
-
//#endregion
|
|
447
|
-
//#region src/scroll-area/scrollbar/ScrollAreaScrollbarContext.ts
|
|
448
|
-
var q = Symbol("ScrollAreaScrollbarContext"), J = y(q);
|
|
449
|
-
function ve() {
|
|
450
|
-
let e = A(J);
|
|
451
|
-
if (e === q) throw Error("Base UI: ScrollAreaScrollbarContext is missing. ScrollAreaScrollbar parts must be placed within <ScrollArea.Scrollbar>.");
|
|
452
|
-
return e;
|
|
453
|
-
}
|
|
454
|
-
//#endregion
|
|
455
|
-
//#region src/scroll-area/scrollbar/ScrollAreaScrollbar.tsx
|
|
456
|
-
function ye(e) {
|
|
457
|
-
let o = I(), u = a(), d = e, f = e, [p, h] = C(), g = E(f, "as", "children", "class", "keepMounted", "onPointerCancel", "onPointerDown", "onPointerUp", "orientation", "ref", "style"), _ = x(() => d.orientation ?? "vertical"), y = x(() => _() === "vertical"), w = x(() => y() ? o.hiddenState().y : o.hiddenState().x), T = x(() => (d.keepMounted ?? !1) || !w()), D = x(() => !o.hasMeasuredScrollbar() && !(d.keepMounted ?? !1)), O = x(() => ({
|
|
458
|
-
...o.state(),
|
|
459
|
-
hovering: o.hovering(),
|
|
460
|
-
scrolling: y() ? o.scrollingY() : o.scrollingX(),
|
|
461
|
-
orientation: _()
|
|
462
|
-
})), A = x(() => n(e.class, O())), P = x(() => {
|
|
463
|
-
let t = o.thumbSize(), n = r(e.style, O()), i = y() ? `top:0;bottom:var(--scroll-area-corner-height);inset-inline-end:0;--scroll-area-thumb-height:${t.height}px;` : `inset-inline-start:0;inset-inline-end:var(--scroll-area-corner-width);bottom:0;--scroll-area-thumb-width:${t.width}px;`;
|
|
464
|
-
return typeof n == "string" ? `position:absolute;touch-action:none;-webkit-user-select:none;user-select:none;visibility:${D() ? "hidden" : "visible"};${i}${n}` : s({
|
|
465
|
-
position: "absolute",
|
|
466
|
-
"touch-action": "none",
|
|
467
|
-
"-webkit-user-select": "none",
|
|
468
|
-
"user-select": "none",
|
|
469
|
-
visibility: D() ? "hidden" : void 0,
|
|
470
|
-
...y() ? {
|
|
471
|
-
top: 0,
|
|
472
|
-
bottom: "var(--scroll-area-corner-height)",
|
|
473
|
-
"inset-inline-end": 0,
|
|
474
|
-
"--scroll-area-thumb-height": `${t.height}px`
|
|
475
|
-
} : {
|
|
476
|
-
"inset-inline-start": 0,
|
|
477
|
-
"inset-inline-end": "var(--scroll-area-corner-width)",
|
|
478
|
-
bottom: 0,
|
|
479
|
-
"--scroll-area-thumb-width": `${t.width}px`
|
|
480
|
-
}
|
|
481
|
-
}, n === !1 ? void 0 : n);
|
|
482
|
-
}), F = x(() => t(O(), R));
|
|
483
|
-
b(() => ({
|
|
484
|
-
element: p(),
|
|
485
|
-
render: T(),
|
|
486
|
-
vertical: y()
|
|
487
|
-
}), (e) => {
|
|
488
|
-
if (!e.element || !e.render) return;
|
|
489
|
-
let t = e.vertical ? o.setScrollbarYElement : o.setScrollbarXElement, n = e.vertical ? o.scrollbarYElement : o.scrollbarXElement;
|
|
490
|
-
return t(e.element), () => {
|
|
491
|
-
k(n) === e.element && t(void 0);
|
|
492
|
-
};
|
|
493
|
-
}), b(() => ({
|
|
494
|
-
direction: u(),
|
|
495
|
-
render: T(),
|
|
496
|
-
scrollbar: p(),
|
|
497
|
-
vertical: y(),
|
|
498
|
-
viewport: o.viewportElement()
|
|
499
|
-
}), (e) => {
|
|
500
|
-
if (!e.render || !e.scrollbar || !e.viewport) return;
|
|
501
|
-
let t = e.viewport, n = e.scrollbar, r = () => ae(n, "wheel", (n) => {
|
|
502
|
-
if (n.ctrlKey) return;
|
|
503
|
-
let r = !e.vertical, i = r ? n.deltaX : n.deltaY;
|
|
504
|
-
if (i === 0) return;
|
|
505
|
-
let a = r ? t.scrollWidth - t.clientWidth : t.scrollHeight - t.clientHeight, s = r && e.direction === "rtl" ? -a : 0, c = r && e.direction === "rtl" ? 0 : a, l = r ? t.scrollLeft : t.scrollTop;
|
|
506
|
-
if (l <= s && i < 0 || l >= c && i > 0) return;
|
|
507
|
-
n.preventDefault();
|
|
508
|
-
let u = Math.min(c, Math.max(s, l + i));
|
|
509
|
-
r ? t.scrollLeft = u : t.scrollTop = u, o.handleScroll({
|
|
510
|
-
x: t.scrollLeft,
|
|
511
|
-
y: t.scrollTop
|
|
512
|
-
});
|
|
513
|
-
}, { passive: !1 });
|
|
514
|
-
return S((e) => {
|
|
515
|
-
let t = r();
|
|
516
|
-
return () => {
|
|
517
|
-
t(), e();
|
|
518
|
-
};
|
|
519
|
-
});
|
|
520
|
-
});
|
|
521
|
-
function L(e) {
|
|
522
|
-
if (e.button !== 0) return;
|
|
523
|
-
let t = y() ? o.thumbYElement() : o.thumbXElement();
|
|
524
|
-
if (t && M(t, j(e))) return;
|
|
525
|
-
let n = o.viewportElement(), r = p();
|
|
526
|
-
if (!n || !t || !r) return;
|
|
527
|
-
let i = y() ? "y" : "x", a = N(t, "margin", i), s = N(r, "padding", i), c = y() ? t.offsetHeight : t.offsetWidth, l = r.getBoundingClientRect(), d = y() ? e.clientY - l.top - c / 2 - s + a / 2 : e.clientX - l.left - c / 2 - s + a / 2, f = y() ? n.scrollHeight : n.scrollWidth, m = y() ? n.clientHeight : n.clientWidth, h = (y() ? r.offsetHeight : r.offsetWidth) - c - s - a;
|
|
528
|
-
if (h <= 0) return;
|
|
529
|
-
let g = d / h, v = f - m;
|
|
530
|
-
o.disableViewportSnap(), y() ? n.scrollTop = g * v : n.scrollLeft = u() === "rtl" ? -(1 - g) * v : g * v, o.handleScroll({
|
|
531
|
-
x: n.scrollLeft,
|
|
532
|
-
y: n.scrollTop
|
|
533
|
-
}), o.handlePointerDown(e, _());
|
|
534
|
-
}
|
|
535
|
-
let z = i(() => d.onPointerDown, () => L), B = i(() => d.onPointerUp, () => o.handlePointerUp), V = i(() => d.onPointerCancel, () => o.handlePointerUp);
|
|
536
|
-
return l(v, {
|
|
537
|
-
get when() {
|
|
538
|
-
return T();
|
|
539
|
-
},
|
|
540
|
-
get children() {
|
|
541
|
-
return l(J, {
|
|
542
|
-
value: _,
|
|
543
|
-
get children() {
|
|
544
|
-
return l(c, m({
|
|
545
|
-
get component() {
|
|
546
|
-
return e.as ?? "div";
|
|
547
|
-
},
|
|
548
|
-
ref: [((e) => h(e)), d.ref],
|
|
549
|
-
get class() {
|
|
550
|
-
return A();
|
|
551
|
-
},
|
|
552
|
-
get style() {
|
|
553
|
-
return P();
|
|
554
|
-
},
|
|
555
|
-
get "data-id"() {
|
|
556
|
-
return `${o.rootId}-scrollbar`;
|
|
557
|
-
},
|
|
558
|
-
onPointerDown: z,
|
|
559
|
-
onPointerUp: B,
|
|
560
|
-
onPointerCancel: V
|
|
561
|
-
}, F, g, { get children() {
|
|
562
|
-
return d.children;
|
|
563
|
-
} }));
|
|
564
|
-
}
|
|
565
|
-
});
|
|
566
|
-
}
|
|
567
|
-
});
|
|
568
|
-
}
|
|
569
|
-
//#endregion
|
|
570
|
-
//#region src/scroll-area/content/ScrollAreaContent.tsx
|
|
571
|
-
function be(e) {
|
|
572
|
-
let i = ue(), a = I(), o = e, u = E(e, "as", "children", "class", "ref", "style"), d = x(() => a.state()), f = x(() => n(e.class, d())), p = x(() => {
|
|
573
|
-
let t = r(e.style, d());
|
|
574
|
-
return typeof t == "string" ? `min-width:fit-content;${t}` : s({ "min-width": "fit-content" }, t === !1 ? void 0 : t);
|
|
575
|
-
}), h = x(() => t(d(), R)), g = k(a.hasMeasuredScrollbar), _, v = !1, [y, S] = C(), w = typeof ResizeObserver > "u" ? void 0 : K((e) => {
|
|
576
|
-
!_ || !e.some((e) => e.target === _) || !v && (v = !0, !g) || i.computeThumbPosition();
|
|
577
|
-
});
|
|
578
|
-
return b(y, (e) => {
|
|
579
|
-
if (!(!e || !w)) return _ = e, v = !1, w.observe(e), () => {
|
|
580
|
-
w.unobserve(e), _ === e && (_ = void 0);
|
|
581
|
-
};
|
|
582
|
-
}), l(c, m({
|
|
583
|
-
get component() {
|
|
584
|
-
return e.as ?? "div";
|
|
585
|
-
},
|
|
586
|
-
ref: [((e) => S(e)), o.ref],
|
|
587
|
-
get class() {
|
|
588
|
-
return f();
|
|
589
|
-
},
|
|
590
|
-
get style() {
|
|
591
|
-
return p();
|
|
592
|
-
},
|
|
593
|
-
role: "presentation"
|
|
594
|
-
}, h, u, { get children() {
|
|
595
|
-
return o.children;
|
|
596
|
-
} }));
|
|
597
|
-
}
|
|
598
|
-
//#endregion
|
|
599
|
-
//#region src/scroll-area/thumb/ScrollAreaThumb.tsx
|
|
600
|
-
function xe(e) {
|
|
601
|
-
let a = I(), o = ve(), u = e, d = e, [f, p] = C(), h = E(d, "as", "children", "class", "onPointerCancel", "onPointerDown", "onPointerMove", "onPointerUp", "ref", "style"), g = x(() => o() === "vertical"), _ = x(() => ({
|
|
602
|
-
scrolling: g() ? a.scrollingY() : a.scrollingX(),
|
|
603
|
-
orientation: o()
|
|
604
|
-
})), v = x(() => n(e.class, _())), y = x(() => {
|
|
605
|
-
let t = r(e.style, _()), n = g() ? "height:var(--scroll-area-thumb-height);" : "width:var(--scroll-area-thumb-width);";
|
|
606
|
-
return typeof t == "string" ? `visibility:${a.hasMeasuredScrollbar() ? "visible" : "hidden"};${n}${t}` : s({
|
|
607
|
-
visibility: a.hasMeasuredScrollbar() ? void 0 : "hidden",
|
|
608
|
-
...g() ? { height: "var(--scroll-area-thumb-height)" } : { width: "var(--scroll-area-thumb-width)" }
|
|
609
|
-
}, t === !1 ? void 0 : t);
|
|
610
|
-
}), S = x(() => t(_()));
|
|
611
|
-
b(() => ({
|
|
612
|
-
element: f(),
|
|
613
|
-
vertical: g()
|
|
614
|
-
}), (e) => {
|
|
615
|
-
if (!e.element) return;
|
|
616
|
-
let t = e.vertical ? a.setThumbYElement : a.setThumbXElement, n = e.vertical ? a.thumbYElement : a.thumbXElement;
|
|
617
|
-
return t(e.element), () => {
|
|
618
|
-
k(n) === e.element && t(void 0);
|
|
619
|
-
};
|
|
620
|
-
});
|
|
621
|
-
let w = i(() => u.onPointerDown, () => (e) => a.handlePointerDown(e, o())), T = i(() => u.onPointerMove, () => a.handlePointerMove), D = i(() => u.onPointerUp, () => a.handlePointerUp), O = i(() => u.onPointerCancel, () => a.handlePointerUp);
|
|
622
|
-
return l(c, m({
|
|
623
|
-
get component() {
|
|
624
|
-
return e.as ?? "div";
|
|
625
|
-
},
|
|
626
|
-
ref: [((e) => p(e)), u.ref],
|
|
627
|
-
get class() {
|
|
628
|
-
return v();
|
|
629
|
-
},
|
|
630
|
-
get style() {
|
|
631
|
-
return y();
|
|
632
|
-
},
|
|
633
|
-
onPointerDown: w,
|
|
634
|
-
onPointerMove: T,
|
|
635
|
-
onPointerUp: D,
|
|
636
|
-
onPointerCancel: O
|
|
637
|
-
}, S, h, { get children() {
|
|
638
|
-
return u.children;
|
|
639
|
-
} }));
|
|
640
|
-
}
|
|
641
|
-
//#endregion
|
|
642
|
-
//#region src/scroll-area/corner/ScrollAreaCorner.tsx
|
|
643
|
-
function Y(e) {
|
|
644
|
-
let t = I(), i = e, a = e, [o, u] = C(), d = E(a, "as", "children", "class", "ref", "style"), f = {}, p = x(() => !t.hiddenState().corner), h = x(() => n(e.class, f)), g = x(() => {
|
|
645
|
-
let n = t.cornerSize(), i = r(e.style, f);
|
|
646
|
-
return typeof i == "string" ? `position:absolute;bottom:0;inset-inline-end:0;width:${n.width}px;height:${n.height}px;${i}` : s({
|
|
647
|
-
position: "absolute",
|
|
648
|
-
bottom: 0,
|
|
649
|
-
"inset-inline-end": 0,
|
|
650
|
-
width: `${n.width}px`,
|
|
651
|
-
height: `${n.height}px`
|
|
652
|
-
}, i === !1 ? void 0 : i);
|
|
653
|
-
});
|
|
654
|
-
return b(() => ({
|
|
655
|
-
element: o(),
|
|
656
|
-
render: p()
|
|
657
|
-
}), (e) => {
|
|
658
|
-
if (!e.element || !e.render) {
|
|
659
|
-
e.render || t.setCornerSize({
|
|
660
|
-
width: 0,
|
|
661
|
-
height: 0
|
|
662
|
-
});
|
|
663
|
-
return;
|
|
664
|
-
}
|
|
665
|
-
return t.setCornerElement(e.element), () => {
|
|
666
|
-
k(t.cornerElement) === e.element && t.setCornerElement(void 0);
|
|
667
|
-
};
|
|
668
|
-
}), l(v, {
|
|
669
|
-
get when() {
|
|
670
|
-
return p();
|
|
671
|
-
},
|
|
672
|
-
get children() {
|
|
673
|
-
return l(c, m({
|
|
674
|
-
get component() {
|
|
675
|
-
return e.as ?? "div";
|
|
676
|
-
},
|
|
677
|
-
ref: [((e) => u(e)), i.ref],
|
|
678
|
-
get class() {
|
|
679
|
-
return h();
|
|
680
|
-
},
|
|
681
|
-
get style() {
|
|
682
|
-
return g();
|
|
683
|
-
}
|
|
684
|
-
}, d, { get children() {
|
|
685
|
-
return i.children;
|
|
686
|
-
} }));
|
|
687
|
-
}
|
|
688
|
-
});
|
|
689
|
-
}
|
|
690
|
-
//#endregion
|
|
691
|
-
//#region src/scroll-area/index.parts.ts
|
|
692
|
-
var X = /* @__PURE__ */ e({
|
|
693
|
-
Content: () => be,
|
|
694
|
-
Corner: () => Y,
|
|
695
|
-
Root: () => H,
|
|
696
|
-
Scrollbar: () => ye,
|
|
697
|
-
Thumb: () => xe,
|
|
698
|
-
Viewport: () => pe
|
|
699
|
-
});
|
|
700
|
-
//#endregion
|
|
701
|
-
export { X as t };
|