solid-baseui 0.1.0-alpha.0 → 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +95 -8
- package/dist/lib/client/DialogHandle-BGyIbcvg.js +521 -0
- package/dist/lib/client/DialogPopup-Df7MC358.js +138 -0
- package/dist/lib/client/FieldControl-C0PATyKV.js +142 -0
- package/dist/lib/client/{FocusManager-grSdNHqW.js → FocusManager-NP1uPXTi.js} +5 -5
- package/dist/lib/client/{FormContext-BB05lWOI.js → FormContext-CwLBtm_d.js} +1 -0
- package/dist/lib/client/{LabelableContext-DKsB0fIx.js → LabelableContext-CmQF-TX2.js} +3 -6
- package/dist/lib/client/MenuSubmenuTrigger-yfncqM-D.js +1584 -0
- package/dist/lib/client/{PopupHandle-CcJG4NMy.js → PopupHandle-CQI6Om1Z.js} +1 -1
- package/dist/lib/client/{PopupStore-DjB-wO88.js → PopupStore-Du0O57fL.js} +118 -98
- package/dist/lib/client/{PopupViewport-DgrIqQea.js → PopupViewport-IS4XU03s.js} +2 -2
- package/dist/lib/client/Separator-D5oJzlA3.js +27 -0
- package/dist/lib/client/TriggerFocusGuards-Cs8LVBj5.js +51 -0
- package/dist/lib/client/accordion/index.js +1 -1
- package/dist/lib/client/accordion-BFeZFpJZ.js +381 -0
- package/dist/lib/client/alert-dialog/index.js +1 -1
- package/dist/lib/client/{alert-dialog-BH_3ndio.js → alert-dialog-BxGUF8_Q.js} +2 -2
- package/dist/lib/client/autocomplete/index.js +1 -1
- package/dist/lib/client/{autocomplete-Cob_FZEP.js → autocomplete-C9QA98XD.js} +30 -25
- package/dist/lib/client/avatar/index.js +1 -1
- package/dist/lib/client/avatar-BQoEzzav.js +191 -0
- package/dist/lib/client/button/index.js +1 -1
- package/dist/lib/client/button-akYS6FyY.js +88 -0
- package/dist/lib/client/checkbox/index.js +1 -1
- package/dist/lib/client/checkbox-DOXtzBhA.js +425 -0
- package/dist/lib/client/checkbox-group/index.js +1 -1
- package/dist/lib/client/checkbox-group-CwMDoSTK.js +135 -0
- package/dist/lib/client/collapsible/index.js +1 -1
- package/dist/lib/client/collapsible-t8YReaIp.js +230 -0
- package/dist/lib/client/combobox/index.js +2 -2
- package/dist/lib/client/combobox-6DhOdzit.js +399 -0
- package/dist/lib/client/{constants-BYjBUIIi.js → constants-cOVxAoxB.js} +5 -1
- package/dist/lib/client/context-menu/index.js +1 -1
- package/dist/lib/client/context-menu-CplDpqmi.js +220 -0
- package/dist/lib/client/{createAnchorPositioning-DcxDXUgB.js → createAnchorPositioning-D96gu-Dz.js} +148 -145
- package/dist/lib/client/{createCollapsiblePanel-DeDu0O2t.js → createCollapsiblePanel-BQ8r4RTi.js} +1 -1
- package/dist/lib/client/createFocusInteraction--s9_qBf3.js +60 -0
- package/dist/lib/client/createLabelableId-DxJRwMUJ.js +14 -0
- package/dist/lib/client/{createPopupAutoResize-CGNiLhGq.js → createPopupAutoResize-Dn-stj-8.js} +1 -1
- 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-B9tR9X48.js} +2 -2
- package/dist/lib/client/drawer/index.js +1 -1
- package/dist/lib/client/drawer-dyr3_sKQ.js +1539 -0
- package/dist/lib/client/field/index.js +1 -1
- package/dist/lib/client/field-CjUAjp1m.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-6Ne_bWQX.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-_QHvSSqM.js} +1 -1
- 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/menu/index.js +1 -1
- package/dist/lib/client/menu-DLqUBmMK.js +334 -0
- package/dist/lib/client/menubar/index.js +1 -1
- package/dist/lib/client/menubar-DhPRUQZ6.js +163 -0
- package/dist/lib/client/{mergeStyleValue-C4ITiiIV.js → mergeStyleValue-DhTA9Nwe.js} +7 -3
- 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-mVHV41Ky.js +1070 -0
- package/dist/lib/client/number-field/index.js +1 -1
- package/dist/lib/client/number-field-DusLw_0X.js +1043 -0
- package/dist/lib/client/otp-field/index.js +1 -1
- package/dist/lib/client/otp-field-D-B9tZzF.js +584 -0
- package/dist/lib/client/popover/index.js +1 -1
- package/dist/lib/client/popover-Cv7xn0nW.js +938 -0
- package/dist/lib/client/popupStateMapping-C6jQ_LKo.js +371 -0
- package/dist/lib/client/preview-card/index.js +1 -1
- package/dist/lib/client/preview-card-FTN_aafM.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-DA_oZhQT.js +284 -0
- package/dist/lib/client/radio-group/index.js +1 -1
- package/dist/lib/client/radio-group-CWtQxWDl.js +195 -0
- package/dist/lib/client/runOnceAnimationsFinish-CFADb4CN.js +49 -0
- package/dist/lib/client/{safePolygon--bbKn0c8.js → safePolygon-DJG0VIVo.js} +4 -0
- package/dist/lib/client/scroll-area/index.js +1 -1
- package/dist/lib/client/scroll-area-NCr49LkD.js +717 -0
- package/dist/lib/client/select/index.js +1 -1
- package/dist/lib/client/select-DSPJt7Rk.js +1933 -0
- package/dist/lib/client/separator/index.js +1 -1
- package/dist/lib/client/slider/index.js +1 -1
- package/dist/lib/client/slider-CWq9hxFf.js +927 -0
- package/dist/lib/client/switch/index.js +1 -1
- package/dist/lib/client/switch-CPl7QHKI.js +306 -0
- package/dist/lib/client/tabs/index.js +1 -1
- package/dist/lib/client/tabs-Bn4rZDyZ.js +692 -0
- package/dist/lib/client/toast/index.js +1 -1
- package/dist/lib/client/toast-7LdqZWOs.js +1118 -0
- package/dist/lib/client/toggle/index.js +1 -1
- package/dist/lib/client/toggle-CsC37e3e.js +142 -0
- package/dist/lib/client/toggle-group/index.js +1 -1
- package/dist/lib/client/toggle-group-DSWb9HxN.js +134 -0
- package/dist/lib/client/toolbar/index.js +1 -1
- package/dist/lib/client/toolbar-DcCi3HNp.js +504 -0
- package/dist/lib/client/tooltip/index.js +1 -1
- package/dist/lib/client/tooltip-D-PkGco9.js +849 -0
- package/dist/lib/client/use-render/index.js +2 -0
- package/dist/lib/client/useFilteredItems-B7z2CGMV.js +2270 -0
- package/dist/lib/client/useRender-CxZ8PI-g.js +12 -0
- package/dist/lib/server/{DialogHandle-ATZlm9RC.js → DialogHandle-nJSSy_jM.js} +24 -33
- package/dist/lib/server/{DialogPopup-BebI-w5P.js → DialogPopup-Da1aIxVA.js} +10 -13
- package/dist/lib/server/{FieldControl-Y_kI7ARp.js → FieldControl-BDeNR3ug.js} +56 -20
- package/dist/lib/server/{FocusManager-BrbZVWME.js → FocusManager-1LfoCsya.js} +1 -3
- package/dist/lib/server/{FormContext-pvESt85v.js → FormContext-CYwo_ZnB.js} +1 -0
- package/dist/lib/server/{LabelableContext-DZP3rgAY.js → LabelableContext-BTeF0IWb.js} +4 -6
- package/dist/lib/server/{MenuSubmenuTrigger-DA4gsv6z.js → MenuSubmenuTrigger-rR8ZN7YR.js} +133 -166
- package/dist/lib/server/{PopupHandle-DthPgNjy.js → PopupHandle-Ct6wywmP.js} +1 -1
- package/dist/lib/server/{PopupStore-DEs3FAEe.js → PopupStore-kHjFPiQ5.js} +38 -14
- package/dist/lib/server/{PopupViewport-3r_KTFwX.js → PopupViewport-DftN5VUp.js} +2 -2
- package/dist/lib/server/{Separator-vhhYxWGr.js → Separator-DTvtnxzP.js} +4 -6
- package/dist/lib/server/TriggerFocusGuards-CvoGfft9.js +61 -0
- package/dist/lib/server/accordion/index.js +32 -70
- 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 +8 -9
- package/dist/lib/server/checkbox/index.js +30 -57
- package/dist/lib/server/checkbox-group/index.js +20 -10
- package/dist/lib/server/collapsible/index.js +36 -43
- package/dist/lib/server/combobox/index.js +64 -35
- package/dist/lib/server/{constants-9H__9xbS.js → constants-D7ciIzsV.js} +8 -3
- package/dist/lib/server/context-menu/index.js +7 -9
- package/dist/lib/server/{createAnchorPositioning-C-cVOPwz.js → createAnchorPositioning-B5Y0WEev.js} +11 -6
- package/dist/lib/server/{createCollapsiblePanel-DTyVJz0G.js → createCollapsiblePanel-B45kTe6v.js} +1 -1
- package/dist/lib/server/{createFocusInteraction-EIS0QOel.js → createFocusInteraction-DMyKsniI.js} +22 -2
- package/dist/lib/server/createLabelableId-WMUKtY6s.js +18 -0
- package/dist/lib/server/{createPopupAutoResize-DO50jjNX.js → createPopupAutoResize-ImBjwdj_.js} +1 -1
- 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/drawer/index.js +63 -71
- package/dist/lib/server/field/index.js +105 -93
- package/dist/lib/server/fieldset/index.js +13 -16
- package/dist/lib/server/form/index.js +16 -12
- package/dist/lib/server/index.js +5 -3
- package/dist/lib/server/input/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/menu/index.js +21 -20
- package/dist/lib/server/menubar/index.js +6 -31
- package/dist/lib/server/{mergeStyleValue-Db8bRCM4.js → mergeStyleValue-BwJ10_X2.js} +6 -1
- package/dist/lib/server/meter/index.js +20 -32
- package/dist/lib/server/navigation-menu/index.js +53 -124
- package/dist/lib/server/number-field/index.js +44 -42
- package/dist/lib/server/otp-field/index.js +11 -14
- package/dist/lib/server/popover/index.js +42 -59
- package/dist/lib/server/{popupStateMapping-nKoUwoke.js → popupStateMapping-B2KsiiLb.js} +18 -16
- package/dist/lib/server/preview-card/index.js +30 -41
- package/dist/lib/server/progress/index.js +21 -33
- package/dist/lib/server/radio/index.js +18 -39
- package/dist/lib/server/radio-group/index.js +7 -8
- package/dist/lib/server/{runOnceAnimationsFinish-DCHzXWZU.js → runOnceAnimationsFinish-CYq38H8J.js} +2 -1
- package/dist/lib/server/{safePolygon-CAm5RJGv.js → safePolygon-C1GNJbKR.js} +5 -0
- package/dist/lib/server/scroll-area/index.js +23 -32
- package/dist/lib/server/select/index.js +95 -181
- package/dist/lib/server/separator/index.js +1 -1
- package/dist/lib/server/slider/index.js +25 -38
- package/dist/lib/server/switch/index.js +13 -23
- package/dist/lib/server/tabs/index.js +185 -129
- package/dist/lib/server/toast/index.js +49 -66
- package/dist/lib/server/toggle/index.js +4 -6
- package/dist/lib/server/toggle-group/index.js +9 -7
- package/dist/lib/server/toolbar/index.js +62 -79
- package/dist/lib/server/tooltip/index.js +28 -37
- package/dist/lib/server/use-render/index.js +2 -0
- package/dist/lib/server/{useFilteredItems-DvuctLt3.js → useFilteredItems-DCxq20Is.js} +164 -189
- 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 +1 -1
- 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/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 +12 -8
- package/dist/lib/types/combobox/root/ComboboxRootContext.d.ts +2 -0
- package/dist/lib/types/combobox/trigger/ComboboxTrigger.d.ts +1 -0
- 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/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/createTransitionStatus.d.ts +1 -1
- 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/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/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/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 +1 -1
- package/dist/lib/types/toolbar/root/ToolbarRoot.d.ts +1 -1
- 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/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/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
package/dist/lib/client/{createAnchorPositioning-DcxDXUgB.js → createAnchorPositioning-D96gu-Dz.js}
RENAMED
|
@@ -396,7 +396,7 @@ function ue(e) {
|
|
|
396
396
|
return !P() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof I(e).ShadowRoot;
|
|
397
397
|
}
|
|
398
398
|
function B(e) {
|
|
399
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } =
|
|
399
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = G(e);
|
|
400
400
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
401
401
|
}
|
|
402
402
|
function de(e) {
|
|
@@ -414,28 +414,28 @@ function V(e) {
|
|
|
414
414
|
}
|
|
415
415
|
var fe = /transform|translate|scale|rotate|perspective|filter/, pe = /paint|layout|strict|content/, H = (e) => !!e && e !== "none", me;
|
|
416
416
|
function U(e) {
|
|
417
|
-
let t = R(e) ?
|
|
418
|
-
return H(t.transform) || H(t.translate) || H(t.scale) || H(t.rotate) || H(t.perspective) || !
|
|
417
|
+
let t = R(e) ? G(e) : e;
|
|
418
|
+
return H(t.transform) || H(t.translate) || H(t.scale) || H(t.rotate) || H(t.perspective) || !ge() && (H(t.backdropFilter) || H(t.filter)) || fe.test(t.willChange || "") || pe.test(t.contain || "");
|
|
419
419
|
}
|
|
420
420
|
function he(e) {
|
|
421
|
-
let t =
|
|
422
|
-
for (; z(t) && !
|
|
421
|
+
let t = q(e);
|
|
422
|
+
for (; z(t) && !W(t);) {
|
|
423
423
|
if (U(t)) return t;
|
|
424
424
|
if (V(t)) return null;
|
|
425
|
-
t =
|
|
425
|
+
t = q(t);
|
|
426
426
|
}
|
|
427
427
|
return null;
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function ge() {
|
|
430
430
|
return me ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), me;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function W(e) {
|
|
433
433
|
return /^(html|body|#document)$/.test(F(e));
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function G(e) {
|
|
436
436
|
return I(e).getComputedStyle(e);
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function K(e) {
|
|
439
439
|
return R(e) ? {
|
|
440
440
|
scrollLeft: e.scrollLeft,
|
|
441
441
|
scrollTop: e.scrollTop
|
|
@@ -444,70 +444,70 @@ function q(e) {
|
|
|
444
444
|
scrollTop: e.scrollY
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
function
|
|
447
|
+
function q(e) {
|
|
448
448
|
if (F(e) === "html") return e;
|
|
449
449
|
let t = e.assignedSlot || e.parentNode || ue(e) && e.host || L(e);
|
|
450
450
|
return ue(t) ? t.host : t;
|
|
451
451
|
}
|
|
452
|
-
function
|
|
453
|
-
let t =
|
|
454
|
-
return
|
|
452
|
+
function _e(e) {
|
|
453
|
+
let t = q(e);
|
|
454
|
+
return W(t) ? (e.ownerDocument || e).body : z(t) && B(t) ? t : _e(t);
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function J(e, t, n) {
|
|
457
457
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
458
|
-
let r =
|
|
458
|
+
let r = _e(e), i = r === e.ownerDocument?.body, a = I(r);
|
|
459
459
|
if (i) {
|
|
460
|
-
let e =
|
|
461
|
-
return t.concat(a, a.visualViewport || [], B(r) ? r : [], e && n ?
|
|
460
|
+
let e = ve(a);
|
|
461
|
+
return t.concat(a, a.visualViewport || [], B(r) ? r : [], e && n ? J(e) : []);
|
|
462
462
|
}
|
|
463
|
-
return t.concat(r,
|
|
463
|
+
return t.concat(r, J(r, [], n));
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function ve(e) {
|
|
466
466
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
467
467
|
}
|
|
468
468
|
//#endregion
|
|
469
469
|
//#region node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
470
|
-
function
|
|
471
|
-
let t =
|
|
470
|
+
function ye(e) {
|
|
471
|
+
let t = G(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, c = s(n) !== a || s(r) !== o;
|
|
472
472
|
return c && (n = a, r = o), {
|
|
473
473
|
width: n,
|
|
474
474
|
height: r,
|
|
475
475
|
$: c
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function be(e) {
|
|
479
479
|
return R(e) ? e : e.contextElement;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
482
|
-
let t =
|
|
481
|
+
function Y(e) {
|
|
482
|
+
let t = be(e);
|
|
483
483
|
if (!z(t)) return l(1);
|
|
484
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
484
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = ye(t), o = (a ? s(n.width) : n.width) / r, c = (a ? s(n.height) : n.height) / i;
|
|
485
485
|
return (!o || !Number.isFinite(o)) && (o = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
486
486
|
x: o,
|
|
487
487
|
y: c
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var xe = /*#__PURE__*/ l(0);
|
|
491
|
+
function Se(e) {
|
|
492
492
|
let t = I(e);
|
|
493
|
-
return !
|
|
493
|
+
return !ge() || !t.visualViewport ? xe : {
|
|
494
494
|
x: t.visualViewport.offsetLeft,
|
|
495
495
|
y: t.visualViewport.offsetTop
|
|
496
496
|
};
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Ce(e, t, n) {
|
|
499
499
|
return t === void 0 && (t = !1), !!n && t && n === I(e);
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function X(e, t, n, r) {
|
|
502
502
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
503
|
-
let i = e.getBoundingClientRect(), a =
|
|
504
|
-
t && (r ? R(r) && (o =
|
|
505
|
-
let s =
|
|
503
|
+
let i = e.getBoundingClientRect(), a = be(e), o = l(1);
|
|
504
|
+
t && (r ? R(r) && (o = Y(r)) : o = Y(e));
|
|
505
|
+
let s = Ce(a, n, r) ? Se(a) : l(0), c = (i.left + s.x) / o.x, u = (i.top + s.y) / o.y, d = i.width / o.x, f = i.height / o.y;
|
|
506
506
|
if (a && r) {
|
|
507
|
-
let e = I(a), t = R(r) ? I(r) : r, n = e, i =
|
|
507
|
+
let e = I(a), t = R(r) ? I(r) : r, n = e, i = ve(n);
|
|
508
508
|
for (; i && t !== n;) {
|
|
509
|
-
let e =
|
|
510
|
-
c *= e.x, u *= e.y, d *= e.x, f *= e.y, c += a, u += o, n = I(i), i =
|
|
509
|
+
let e = Y(i), t = i.getBoundingClientRect(), r = G(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
510
|
+
c *= e.x, u *= e.y, d *= e.x, f *= e.y, c += a, u += o, n = I(i), i = ve(n);
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
return j({
|
|
@@ -517,29 +517,29 @@ function Z(e, t, n, r) {
|
|
|
517
517
|
y: u
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
let n =
|
|
522
|
-
return t ? t.left + n :
|
|
520
|
+
function Z(e, t) {
|
|
521
|
+
let n = K(e).scrollLeft;
|
|
522
|
+
return t ? t.left + n : X(L(e)).left + n;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function we(e, t) {
|
|
525
525
|
let n = e.getBoundingClientRect();
|
|
526
526
|
return {
|
|
527
|
-
x: n.left + t.scrollLeft -
|
|
527
|
+
x: n.left + t.scrollLeft - Z(e, n),
|
|
528
528
|
y: n.top + t.scrollTop
|
|
529
529
|
};
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Te(e) {
|
|
532
532
|
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = L(r), s = t ? V(t.floating) : !1;
|
|
533
533
|
if (r === o || s && a) return n;
|
|
534
534
|
let c = {
|
|
535
535
|
scrollLeft: 0,
|
|
536
536
|
scrollTop: 0
|
|
537
537
|
}, u = l(1), d = l(0), f = z(r);
|
|
538
|
-
if ((f || !a) && ((F(r) !== "body" || B(o)) && (c =
|
|
539
|
-
let e =
|
|
540
|
-
u =
|
|
538
|
+
if ((f || !a) && ((F(r) !== "body" || B(o)) && (c = K(r)), f)) {
|
|
539
|
+
let e = X(r);
|
|
540
|
+
u = Y(r), d.x = e.x + r.clientLeft, d.y = e.y + r.clientTop;
|
|
541
541
|
}
|
|
542
|
-
let p = o && !f && !a ?
|
|
542
|
+
let p = o && !f && !a ? we(o, c) : l(0);
|
|
543
543
|
return {
|
|
544
544
|
width: n.width * u.x,
|
|
545
545
|
height: n.height * u.y,
|
|
@@ -547,29 +547,29 @@ function we(e) {
|
|
|
547
547
|
y: n.y * u.y - c.scrollTop * u.y + d.y + p.y
|
|
548
548
|
};
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function Ee(e) {
|
|
551
551
|
return e.getClientRects ? Array.from(e.getClientRects()) : [];
|
|
552
552
|
}
|
|
553
|
-
function
|
|
554
|
-
let t =
|
|
555
|
-
return
|
|
553
|
+
function De(e) {
|
|
554
|
+
let t = K(e), n = e.ownerDocument.body, r = o(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = o(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + Z(e), s = -t.scrollTop;
|
|
555
|
+
return G(n).direction === "rtl" && (a += o(e.clientWidth, n.clientWidth) - r), {
|
|
556
556
|
width: r,
|
|
557
557
|
height: i,
|
|
558
558
|
x: a,
|
|
559
559
|
y: s
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
|
-
var
|
|
563
|
-
function
|
|
562
|
+
var Oe = 25;
|
|
563
|
+
function ke(e, t, n) {
|
|
564
564
|
n === void 0 && (n = "viewport");
|
|
565
565
|
let r = n === "layoutViewport", i = I(e), a = L(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
|
|
566
566
|
if (o) {
|
|
567
|
-
let e = !
|
|
567
|
+
let e = !ge() || t === "fixed";
|
|
568
568
|
r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
|
|
569
569
|
}
|
|
570
|
-
if (
|
|
570
|
+
if (Z(a) <= 0) {
|
|
571
571
|
let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
|
|
572
|
-
o <=
|
|
572
|
+
o <= Oe && (s -= o);
|
|
573
573
|
}
|
|
574
574
|
return {
|
|
575
575
|
width: s,
|
|
@@ -578,8 +578,8 @@ function Oe(e, t, n) {
|
|
|
578
578
|
y: u
|
|
579
579
|
};
|
|
580
580
|
}
|
|
581
|
-
function
|
|
582
|
-
let n =
|
|
581
|
+
function Ae(e, t) {
|
|
582
|
+
let n = X(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Y(e);
|
|
583
583
|
return {
|
|
584
584
|
width: e.clientWidth * a.x,
|
|
585
585
|
height: e.clientHeight * a.y,
|
|
@@ -587,13 +587,13 @@ function ke(e, t) {
|
|
|
587
587
|
y: r * a.y
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function je(e, t, n) {
|
|
591
591
|
let r;
|
|
592
|
-
if (t === "viewport" || t === "layoutViewport") r =
|
|
593
|
-
else if (t === "document") r =
|
|
594
|
-
else if (R(t)) r =
|
|
592
|
+
if (t === "viewport" || t === "layoutViewport") r = ke(e, n, t);
|
|
593
|
+
else if (t === "document") r = De(L(e));
|
|
594
|
+
else if (R(t)) r = Ae(t, n);
|
|
595
595
|
else {
|
|
596
|
-
let n =
|
|
596
|
+
let n = Se(e);
|
|
597
597
|
r = {
|
|
598
598
|
x: t.x - n.x,
|
|
599
599
|
y: t.y - n.y,
|
|
@@ -603,20 +603,20 @@ function Ae(e, t, n) {
|
|
|
603
603
|
}
|
|
604
604
|
return j(r);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Me(e, t) {
|
|
607
607
|
let n = t.get(e);
|
|
608
608
|
if (n) return n;
|
|
609
|
-
let r =
|
|
610
|
-
for (; R(o) && !
|
|
611
|
-
let e =
|
|
612
|
-
!t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o =
|
|
609
|
+
let r = J(e, [], !1).filter((e) => R(e) && F(e) !== "body"), i = null, a = G(e).position === "fixed", o = a ? q(e) : e;
|
|
610
|
+
for (; R(o) && !W(o);) {
|
|
611
|
+
let e = G(o), t = U(o), n = i ? i.position : a ? "fixed" : "";
|
|
612
|
+
!t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = q(o);
|
|
613
613
|
}
|
|
614
614
|
return t.set(e, r), r;
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, s = [...n === "clippingAncestors" ? V(t) ? [] :
|
|
616
|
+
function Ne(e) {
|
|
617
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, s = [...n === "clippingAncestors" ? V(t) ? [] : Me(t, this._c) : [].concat(n), r], c = je(t, s[0], i), l = c.top, u = c.right, d = c.bottom, f = c.left;
|
|
618
618
|
for (let e = 1; e < s.length; e++) {
|
|
619
|
-
let n =
|
|
619
|
+
let n = je(t, s[e], i);
|
|
620
620
|
l = o(n.top, l), u = a(n.right, u), d = a(n.bottom, d), f = o(n.left, f);
|
|
621
621
|
}
|
|
622
622
|
return {
|
|
@@ -626,24 +626,24 @@ function Me(e) {
|
|
|
626
626
|
y: l
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
|
-
function
|
|
630
|
-
let { width: t, height: n } =
|
|
629
|
+
function Pe(e) {
|
|
630
|
+
let { width: t, height: n } = ye(e);
|
|
631
631
|
return {
|
|
632
632
|
width: t,
|
|
633
633
|
height: n
|
|
634
634
|
};
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
let r = z(t), i = L(t), a = n === "fixed", o =
|
|
636
|
+
function Fe(e, t, n) {
|
|
637
|
+
let r = z(t), i = L(t), a = n === "fixed", o = X(e, !0, a, t), s = {
|
|
638
638
|
scrollLeft: 0,
|
|
639
639
|
scrollTop: 0
|
|
640
640
|
}, c = l(0);
|
|
641
|
-
if ((r || !a) && ((F(t) !== "body" || B(i)) && (s =
|
|
642
|
-
let e =
|
|
641
|
+
if ((r || !a) && ((F(t) !== "body" || B(i)) && (s = K(t)), r)) {
|
|
642
|
+
let e = X(t, !0, a, t);
|
|
643
643
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
644
644
|
}
|
|
645
|
-
!r && i && (c.x =
|
|
646
|
-
let u = i && !r && !a ?
|
|
645
|
+
!r && i && (c.x = Z(i));
|
|
646
|
+
let u = i && !r && !a ? we(i, s) : l(0);
|
|
647
647
|
return {
|
|
648
648
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
649
649
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -651,34 +651,34 @@ function Pe(e, t, n) {
|
|
|
651
651
|
height: o.height
|
|
652
652
|
};
|
|
653
653
|
}
|
|
654
|
-
function
|
|
655
|
-
return
|
|
654
|
+
function Ie(e) {
|
|
655
|
+
return G(e).position === "static";
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
if (!z(e) ||
|
|
657
|
+
function Le(e, t) {
|
|
658
|
+
if (!z(e) || G(e).position === "fixed") return null;
|
|
659
659
|
if (t) return t(e);
|
|
660
660
|
let n = e.offsetParent;
|
|
661
661
|
return L(e) === n && (n = n.ownerDocument.body), n;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Re(e, t) {
|
|
664
664
|
let n = I(e);
|
|
665
665
|
if (V(e)) return n;
|
|
666
666
|
if (!z(e)) {
|
|
667
|
-
let t =
|
|
668
|
-
for (; t && !
|
|
669
|
-
if (R(t) && !
|
|
670
|
-
t =
|
|
667
|
+
let t = q(e);
|
|
668
|
+
for (; t && !W(t);) {
|
|
669
|
+
if (R(t) && !Ie(t)) return t;
|
|
670
|
+
t = q(t);
|
|
671
671
|
}
|
|
672
672
|
return n;
|
|
673
673
|
}
|
|
674
|
-
let r =
|
|
675
|
-
for (; r && de(r) &&
|
|
676
|
-
return r &&
|
|
674
|
+
let r = Le(e, t);
|
|
675
|
+
for (; r && de(r) && Ie(r);) r = Le(r, t);
|
|
676
|
+
return r && W(r) && Ie(r) && !U(r) ? n : r || he(e) || n;
|
|
677
677
|
}
|
|
678
|
-
var
|
|
679
|
-
let t = this.getOffsetParent ||
|
|
678
|
+
var ze = async function(e) {
|
|
679
|
+
let t = this.getOffsetParent || Re, n = this.getDimensions, r = await n(e.floating);
|
|
680
680
|
return {
|
|
681
|
-
reference:
|
|
681
|
+
reference: Fe(e.reference, await t(e.floating), e.strategy),
|
|
682
682
|
floating: {
|
|
683
683
|
x: 0,
|
|
684
684
|
y: 0,
|
|
@@ -687,25 +687,25 @@ var Re = async function(e) {
|
|
|
687
687
|
}
|
|
688
688
|
};
|
|
689
689
|
};
|
|
690
|
-
function
|
|
691
|
-
return
|
|
690
|
+
function Be(e) {
|
|
691
|
+
return G(e).direction === "rtl";
|
|
692
692
|
}
|
|
693
|
-
var
|
|
694
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
693
|
+
var Ve = {
|
|
694
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Te,
|
|
695
695
|
getDocumentElement: L,
|
|
696
|
-
getClippingRect:
|
|
697
|
-
getOffsetParent:
|
|
698
|
-
getElementRects:
|
|
699
|
-
getClientRects:
|
|
700
|
-
getDimensions:
|
|
701
|
-
getScale:
|
|
696
|
+
getClippingRect: Ne,
|
|
697
|
+
getOffsetParent: Re,
|
|
698
|
+
getElementRects: ze,
|
|
699
|
+
getClientRects: Ee,
|
|
700
|
+
getDimensions: Pe,
|
|
701
|
+
getScale: Y,
|
|
702
702
|
isElement: R,
|
|
703
|
-
isRTL:
|
|
703
|
+
isRTL: Be
|
|
704
704
|
};
|
|
705
|
-
function
|
|
705
|
+
function He(e, t) {
|
|
706
706
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
707
707
|
}
|
|
708
|
-
function
|
|
708
|
+
function Ue(e, t, n) {
|
|
709
709
|
let r = null, i, s = L(e);
|
|
710
710
|
function l() {
|
|
711
711
|
var e;
|
|
@@ -721,7 +721,7 @@ function He(e, t, n) {
|
|
|
721
721
|
}, S = !0;
|
|
722
722
|
function C(t) {
|
|
723
723
|
let n = t[0].intersectionRatio;
|
|
724
|
-
if (!
|
|
724
|
+
if (!He(f, e.getBoundingClientRect())) return u();
|
|
725
725
|
if (n !== d) {
|
|
726
726
|
if (!S) return u();
|
|
727
727
|
n ? u(!1, n) : i = setTimeout(() => {
|
|
@@ -745,13 +745,13 @@ function He(e, t, n) {
|
|
|
745
745
|
d.removeEventListener("resize", f), l();
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function We(e, t, n, r) {
|
|
749
749
|
r === void 0 && (r = {});
|
|
750
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
750
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = be(e), u = i || a ? [...l ? J(l) : [], ...t ? J(t) : []] : [];
|
|
751
751
|
u.forEach((e) => {
|
|
752
752
|
i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
|
|
753
753
|
});
|
|
754
|
-
let d = l && s ?
|
|
754
|
+
let d = l && s ? Ue(l, n, a) : null, f = -1, p = null;
|
|
755
755
|
o && (p = new ResizeObserver((e) => {
|
|
756
756
|
let [r] = e;
|
|
757
757
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -759,11 +759,11 @@ function Ue(e, t, n, r) {
|
|
|
759
759
|
(e = p) == null || e.observe(t);
|
|
760
760
|
})), n();
|
|
761
761
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
762
|
-
let m, h = c ?
|
|
762
|
+
let m, h = c ? X(e) : null;
|
|
763
763
|
c && g();
|
|
764
764
|
function g() {
|
|
765
|
-
let t =
|
|
766
|
-
h && !
|
|
765
|
+
let t = X(e);
|
|
766
|
+
h && !He(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
767
767
|
}
|
|
768
768
|
return n(), () => {
|
|
769
769
|
var e;
|
|
@@ -772,9 +772,9 @@ function Ue(e, t, n, r) {
|
|
|
772
772
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
|
-
var
|
|
775
|
+
var Ge = N, Ke = ae, qe = oe, Je = ne, Ye = ce, Xe = se, Ze = (e, t, n) => {
|
|
776
776
|
let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
|
|
777
|
-
...
|
|
777
|
+
...Ve,
|
|
778
778
|
...i.platform,
|
|
779
779
|
_c: r
|
|
780
780
|
};
|
|
@@ -782,7 +782,7 @@ var We = N, Ge = ae, Ke = oe, qe = ne, Je = ce, Ye = se, Xe = (e, t, n) => {
|
|
|
782
782
|
...i,
|
|
783
783
|
platform: a
|
|
784
784
|
});
|
|
785
|
-
},
|
|
785
|
+
}, Qe = {
|
|
786
786
|
x: 0,
|
|
787
787
|
y: 0,
|
|
788
788
|
placement: "bottom",
|
|
@@ -790,8 +790,8 @@ var We = N, Ge = ae, Ke = oe, qe = ne, Je = ce, Ye = se, Xe = (e, t, n) => {
|
|
|
790
790
|
middlewareData: {},
|
|
791
791
|
isPositioned: !1
|
|
792
792
|
};
|
|
793
|
-
function
|
|
794
|
-
let [a, o] = i(
|
|
793
|
+
function $e(t) {
|
|
794
|
+
let [a, o] = i(Qe, { ownedWrite: !0 }), s = async () => {}, c = 0;
|
|
795
795
|
return n(() => ({
|
|
796
796
|
reference: t.reference(),
|
|
797
797
|
floating: t.floating(),
|
|
@@ -804,7 +804,7 @@ function Qe(t) {
|
|
|
804
804
|
let t = ++c;
|
|
805
805
|
if (!e.reference || !e.floating) {
|
|
806
806
|
s = async () => {}, o({
|
|
807
|
-
...
|
|
807
|
+
...Qe,
|
|
808
808
|
placement: e.placement,
|
|
809
809
|
strategy: e.strategy
|
|
810
810
|
});
|
|
@@ -812,7 +812,7 @@ function Qe(t) {
|
|
|
812
812
|
}
|
|
813
813
|
let n = 0;
|
|
814
814
|
if (s = async () => {
|
|
815
|
-
let r = ++n, i = await
|
|
815
|
+
let r = ++n, i = await Ze(e.reference, e.floating, {
|
|
816
816
|
placement: e.placement,
|
|
817
817
|
strategy: e.strategy,
|
|
818
818
|
middleware: e.middleware
|
|
@@ -828,7 +828,7 @@ function Qe(t) {
|
|
|
828
828
|
s();
|
|
829
829
|
return;
|
|
830
830
|
}
|
|
831
|
-
return
|
|
831
|
+
return We(e.reference, e.floating, () => void s(), e.autoUpdateOptions);
|
|
832
832
|
}), {
|
|
833
833
|
state: a,
|
|
834
834
|
styles: r(() => {
|
|
@@ -859,10 +859,10 @@ function Qe(t) {
|
|
|
859
859
|
}
|
|
860
860
|
//#endregion
|
|
861
861
|
//#region src/internals/overlay/createAnchorPositioning.ts
|
|
862
|
-
function
|
|
862
|
+
function Q(e) {
|
|
863
863
|
return e.split("-")[0];
|
|
864
864
|
}
|
|
865
|
-
function $
|
|
865
|
+
function $(e) {
|
|
866
866
|
return e.split("-")[1];
|
|
867
867
|
}
|
|
868
868
|
function et(e) {
|
|
@@ -885,12 +885,12 @@ function tt(e) {
|
|
|
885
885
|
async fn(t) {
|
|
886
886
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0, offsetParent: d = "real" } = typeof e == "function" ? e(t) : e;
|
|
887
887
|
if (!l) return {};
|
|
888
|
-
let f = ["top", "bottom"].includes(
|
|
888
|
+
let f = ["top", "bottom"].includes(Q(i)) ? "x" : "y", p = f === "x" ? "width" : "height", m = f === "x" ? "left" : "top", h = f === "x" ? "right" : "bottom", g = f === "x" ? "clientWidth" : "clientHeight", _ = await o.getDimensions(l), v = {
|
|
889
889
|
x: n,
|
|
890
890
|
y: r
|
|
891
891
|
}, y = a.reference[p] + a.reference[f] - v[f] - a.floating[p], b = v[f] - a.reference[f], x = d === "real" ? await o.getOffsetParent?.(l) : s.floating, S = s.floating[g] || a.floating[p];
|
|
892
892
|
(!S || !await o.isElement?.(x)) && (S = s.floating[g] || a.floating[p]);
|
|
893
|
-
let C = y / 2 - b / 2, w = et(u), T = S / 2 - _[p] / 2 - 1, E = Math.min(w[m], T), D = Math.min(w[h], T), O = E, k = S - _[p] - D, A = S / 2 - _[p] / 2 + C, j = Math.max(O, Math.min(A, k)), M = !c.arrow && $
|
|
893
|
+
let C = y / 2 - b / 2, w = et(u), T = S / 2 - _[p] / 2 - 1, E = Math.min(w[m], T), D = Math.min(w[h], T), O = E, k = S - _[p] - D, A = S / 2 - _[p] / 2 + C, j = Math.max(O, Math.min(A, k)), M = !c.arrow && $(i) != null && A !== j && a.reference[p] / 2 - (A < O ? E : D) - _[p] / 2 < 0, N = M ? A < O ? A - O : A - k : 0;
|
|
894
894
|
return {
|
|
895
895
|
[f]: v[f] + N,
|
|
896
896
|
data: {
|
|
@@ -906,7 +906,7 @@ function tt(e) {
|
|
|
906
906
|
var nt = {
|
|
907
907
|
name: "hide",
|
|
908
908
|
async fn(e) {
|
|
909
|
-
let { width: t, height: n, x: r, y: i } = e.rects.reference, a = t === 0 && n === 0 && r === 0 && i === 0, o = await
|
|
909
|
+
let { width: t, height: n, x: r, y: i } = e.rects.reference, a = t === 0 && n === 0 && r === 0 && i === 0, o = await Ge(e, { elementContext: "reference" });
|
|
910
910
|
return { data: { referenceHidden: a || o.top - n >= 0 || o.right - t >= 0 || o.bottom - n >= 0 || o.left - t >= 0 } };
|
|
911
911
|
}
|
|
912
912
|
};
|
|
@@ -918,8 +918,8 @@ function it(e, t, n) {
|
|
|
918
918
|
}
|
|
919
919
|
function at(e, t, n) {
|
|
920
920
|
return {
|
|
921
|
-
side: it(t,
|
|
922
|
-
align: $
|
|
921
|
+
side: it(t, Q(e.placement), n),
|
|
922
|
+
align: $(e.placement) ?? "center",
|
|
923
923
|
anchor: {
|
|
924
924
|
width: e.rects.reference.width,
|
|
925
925
|
height: e.rects.reference.height
|
|
@@ -938,14 +938,14 @@ function ot(a) {
|
|
|
938
938
|
let n = a.collisionAvoidance?.() ?? {}, r = n.side ?? "flip", i = n.align ?? "flip", s = n.fallbackAxisSide ?? "end", c = a.sticky?.() ?? !1, u = a.shiftCrossAxis?.() ?? !1, f = et(a.collisionPadding?.() ?? 5), m = a.collisionBoundary?.(), y = {
|
|
939
939
|
boundary: m === "clipping-ancestors" || m === void 0 ? "clippingAncestors" : m,
|
|
940
940
|
padding: f
|
|
941
|
-
}, b = a.sideOffset?.() ?? 0, x = a.alignOffset?.() ?? 0, S = o(), C = a.floating(), w = a.arrowPadding?.() ?? 5, T =
|
|
941
|
+
}, b = a.sideOffset?.() ?? 0, x = a.alignOffset?.() ?? 0, S = o(), C = a.floating(), w = a.arrowPadding?.() ?? 5, T = Ke((e) => {
|
|
942
942
|
let t = at(e, _(), g()), n = typeof b == "function" ? b(t) : b, r = typeof x == "function" ? x(t) : x;
|
|
943
943
|
return {
|
|
944
944
|
mainAxis: n,
|
|
945
945
|
crossAxis: r,
|
|
946
946
|
alignmentAxis: r
|
|
947
947
|
};
|
|
948
|
-
}), E = i === "none" && r !== "shift", D = !E && (c || u || r === "shift"), O = _(), k = r === "none" ? null :
|
|
948
|
+
}), E = i === "none" && r !== "shift", D = !E && (c || u || r === "shift"), O = _(), k = r === "none" ? null : Je({
|
|
949
949
|
...y,
|
|
950
950
|
padding: {
|
|
951
951
|
top: f.top + 1 + +(O === "bottom"),
|
|
@@ -956,15 +956,15 @@ function ot(a) {
|
|
|
956
956
|
mainAxis: !u && r === "flip",
|
|
957
957
|
crossAxis: i === "flip" && "alignment",
|
|
958
958
|
fallbackAxisSideDirection: s
|
|
959
|
-
}), A = E ? null :
|
|
959
|
+
}), A = E ? null : qe({
|
|
960
960
|
...y,
|
|
961
961
|
rootBoundary: a.shiftRootBoundary?.(),
|
|
962
962
|
mainAxis: i !== "none",
|
|
963
963
|
crossAxis: D,
|
|
964
|
-
limiter: c || u ? void 0 :
|
|
964
|
+
limiter: c || u ? void 0 : Xe((e) => {
|
|
965
965
|
let t = S;
|
|
966
966
|
if (!t) return {};
|
|
967
|
-
let n = t.getBoundingClientRect(), r = ["top", "bottom"].includes(
|
|
967
|
+
let n = t.getBoundingClientRect(), r = ["top", "bottom"].includes(Q(e.placement)) ? "y" : "x", i = r === "y" ? n.width : n.height, a = r === "y" ? f.left + f.right : f.top + f.bottom;
|
|
968
968
|
return { offset: i / 2 + a / 2 };
|
|
969
969
|
})
|
|
970
970
|
}), j = r === "shift" || i === "shift" || v() === "center" ? [A, k] : [k, A];
|
|
@@ -972,7 +972,7 @@ function ot(a) {
|
|
|
972
972
|
a.inlineMiddleware?.(),
|
|
973
973
|
T,
|
|
974
974
|
...j,
|
|
975
|
-
|
|
975
|
+
Ye({
|
|
976
976
|
...y,
|
|
977
977
|
apply({ elements: t, availableWidth: n, availableHeight: r, rects: i }) {
|
|
978
978
|
if (!a.mounted()) return;
|
|
@@ -983,19 +983,21 @@ function ot(a) {
|
|
|
983
983
|
}),
|
|
984
984
|
tt(() => ({
|
|
985
985
|
element: S ?? t(C).createElement("div"),
|
|
986
|
-
padding: w,
|
|
986
|
+
padding: S ? w : 0,
|
|
987
987
|
offsetParent: "floating"
|
|
988
988
|
})),
|
|
989
989
|
{
|
|
990
990
|
name: "transformOrigin",
|
|
991
991
|
fn(e) {
|
|
992
|
-
let t =
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
992
|
+
let t = Q(e.placement), n = S, r = $(e.placement), i = t === "top" || t === "bottom", a = e.middlewareData.arrow?.x ?? 0, o = e.middlewareData.arrow?.y ?? 0, s = a + (n?.clientWidth ?? 0) / 2, c = o + (n?.clientHeight ?? 0) / 2, l = `${i ? s : c}px`;
|
|
993
|
+
!n && r && Math.abs(i ? e.middlewareData.shift?.x ?? 0 : e.middlewareData.shift?.y ?? 0) <= 1 && (l = r === "start" === (i && e.platform.isRTL?.(e.elements.floating) === !0) ? "100%" : "0%");
|
|
994
|
+
let u = typeof b == "function" ? b(at(e, _(), g())) : b, d = {
|
|
995
|
+
top: `${l} calc(100% + ${u}px)`,
|
|
996
|
+
bottom: `${l} ${-u}px`,
|
|
997
|
+
left: `calc(100% + ${u}px) ${l}`,
|
|
998
|
+
right: `${-u}px ${l}`
|
|
999
|
+
}[t], f = `${l} ${e.rects.reference.y + e.rects.reference.height / 2 - e.y}px`, p = Math.abs(e.middlewareData.shift?.y ?? 0) > u;
|
|
1000
|
+
return e.elements.floating.style.setProperty("--transform-origin", D && ["top", "bottom"].includes(t) && p ? f : d), {};
|
|
999
1001
|
}
|
|
1000
1002
|
},
|
|
1001
1003
|
nt,
|
|
@@ -1005,7 +1007,7 @@ function ot(a) {
|
|
|
1005
1007
|
n(() => a.floating(), (e) => {
|
|
1006
1008
|
e && (e.style.setProperty("--available-width", "100vw"), e.style.setProperty("--available-height", "100vh"));
|
|
1007
1009
|
});
|
|
1008
|
-
let x =
|
|
1010
|
+
let x = $e({
|
|
1009
1011
|
reference: () => a.mounted() ? a.reference() : null,
|
|
1010
1012
|
floating: a.floating,
|
|
1011
1013
|
open: a.mounted,
|
|
@@ -1014,6 +1016,7 @@ function ot(a) {
|
|
|
1014
1016
|
middleware: b,
|
|
1015
1017
|
transform: () => !a.adaptiveOriginMiddleware?.(),
|
|
1016
1018
|
autoUpdate: () => ({
|
|
1019
|
+
ancestorScroll: !(a.disableAnchorTracking?.() ?? !1),
|
|
1017
1020
|
elementResize: !(a.disableAnchorTracking?.() ?? !1) && typeof ResizeObserver < "u",
|
|
1018
1021
|
layoutShift: !(a.disableAnchorTracking?.() ?? !1) && typeof IntersectionObserver < "u"
|
|
1019
1022
|
})
|
|
@@ -1034,7 +1037,7 @@ function ot(a) {
|
|
|
1034
1037
|
...x.styles(),
|
|
1035
1038
|
opacity: e.isPositioned ? void 0 : 0
|
|
1036
1039
|
};
|
|
1037
|
-
}), C = r(() => it(_(),
|
|
1040
|
+
}), C = r(() => it(_(), Q(x.state().placement), g())), w = r(() => $(x.state().placement) ?? "center"), T = r(() => {
|
|
1038
1041
|
let e = x.state().middlewareData.arrow;
|
|
1039
1042
|
return {
|
|
1040
1043
|
position: "absolute",
|
package/dist/lib/client/{createCollapsiblePanel-DeDu0O2t.js → createCollapsiblePanel-BQ8r4RTi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./runOnceAnimationsFinish-
|
|
1
|
+
import { t as e } from "./runOnceAnimationsFinish-CFADb4CN.js";
|
|
2
2
|
import { createEffect as t, createMemo as n, createSignal as r, onCleanup as i, untrack as a } from "solid-js";
|
|
3
3
|
//#region src/collapsible/root/createCollapsibleTransitionStatus.ts
|
|
4
4
|
function o(e) {
|