@astryx-vue/core 0.2.5 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +9 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-B6UeBCE7.js → AlertDialog-RAVA_cT1.js} +13 -7
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CeBmB0Q9.js → AppShell-0wTvOo3H.js} +3 -3
- package/dist/Avatar/index.d.ts +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BB4Z4LF1.js → Avatar-pPZ4dI_s.js} +161 -16
- package/dist/AvatarGroup/index.d.ts +2 -2
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/AvatarGroup-B--NQSB3.js +98 -0
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CJe9Im5a.js → Banner-GbGxrqQO.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-o7xw-TOi.js → BottomSheet-JYMB_Ofl.js} +12 -9
- package/dist/{BottomSheet-BV6vfgGu.js → BottomSheet-pt7m4CvC.js} +3 -1
- package/dist/Breadcrumbs/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D6G7f5WL.js → Breadcrumbs-DIm4figq.js} +22 -11
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DrqeomlE.js → Button-B6Hj_O_s.js} +3 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DmTeM7PO.js → Calendar-B7vIowKq.js} +2 -2
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-HAjZQg2s.js → Card-B-I24X9S.js} +2 -0
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CIKrcA2r.js → Carousel-CA8zpD9v.js} +48 -31
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BFox3u9D.js → Chat-Bmna9EOA.js} +98 -61
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-25Q8ItH-.js → CheckboxInput-BS9J6edf.js} +2 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BlPf7vPe.js → CheckboxList-CX1i_jVP.js} +8 -7
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BG-vg9ia.js → Citation-Djgwa0ko.js} +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-Bhds4RRe.js → ClickableCard-DUsC-j03.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-B2pnEOJY.js → CodeBlock-D0BFubut.js} +5 -1
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/{Collapsible-3YerR-FO.js → Collapsible-Cov3Pyq5.js} +67 -22
- package/dist/CommandPalette/index.d.ts +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DKgHzmJk.js → CommandPalette-YHsUNg3V.js} +60 -20
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Dv44FFhN.js → ComplexSelector-DWLdKPGI.js} +41 -9
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BeJO5HYx.js → ContextMenu-Bq9b3Ti5.js} +15 -8
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-DT518j5E.js +841 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Cp6AZfew.js → DateRangeInput-Bqi5tlIA.js} +188 -140
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B6MPPp76.js → DateTimeInput-A7m2O3bg.js} +43 -12
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-CvRplBo-.js → Dialog-BiOSKQso.js} +9 -5
- package/dist/{Dialog-rfUt3y8P.js → Dialog-FGHfDu5M.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-6E9jFdFe.js → DropdownMenu-CoOQVlRp.js} +9 -10
- package/dist/{DropdownMenu--lnUeJEG.js → DropdownMenu-DEb2dSSP.js} +44 -33
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-0RWymQUS.js → EmptyState-C_GH7IV5.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +2 -2
- package/dist/{Field-8zRxzDHE.js → Field-D5gUEGw4.js} +1 -1
- package/dist/FieldInfoTip-Ds-sW_jY.js +98 -0
- package/dist/FieldLabel-BNeXRuGH.js +95 -0
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/FileInput-BpdiO1V8.js +285 -0
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-B9C3LZlS.js → Heading-BnwWEWkp.js} +7 -2
- package/dist/HoverCard/index.d.ts +2 -2
- package/dist/HoverCard/index.js +2 -2
- package/dist/HoverCard-ycY50pRN.js +492 -0
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BNQuz9W_.js → IconButton-DDNgNl7B.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-BzR6JRZb.js → InputGroup-CA03Smrs.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +2 -0
- package/dist/InternationalizationProvider/index.js +2 -0
- package/dist/InternationalizationProvider-DJay_w3B.js +170 -0
- package/dist/{Item-DrYJL1TG.js → Item-KhFKX9St.js} +15 -6
- package/dist/LayerProvider/index.d.ts +2 -0
- package/dist/LayerProvider/index.js +3 -0
- package/dist/LayerProvider-D9NsQFzL.js +73 -0
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-Bed3kP0M.js → Layout-C6RHllr-.js} +2 -2
- package/dist/{LayoutPanel-C34uOq3e.js → LayoutPanel-DXOsaeQb.js} +4 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Br3o0SyQ.js → Lightbox-DTF9EdTG.js} +2 -2
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DCZ6922-.js → Link-BqHCtiyt.js} +26 -7
- package/dist/LinkProvider/index.d.ts +2 -0
- package/dist/LinkProvider/index.js +3 -0
- package/dist/LinkProvider-Qsps9_mL.js +17 -0
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-CcRHWuEm.js → ListItem-8RWT8XAG.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Bz0R3kNj.js → Markdown-CvtN7HnF.js} +4 -4
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CFaocx6j.js → MetadataList-B-OelQlt.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Dh3uLivq.js → MobileNavToggle-DxGz0xKA.js} +11 -5
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B95nRSe8.js → MoreMenu-Dlb7MLlW.js} +33 -20
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DuF5TECE.js → MultiSelector-BtAUfQ3t.js} +122 -54
- package/dist/{NavDisclosure-C6sPZ89n.js → NavDisclosure-C_fugrQ3.js} +1 -2
- package/dist/{NavHeadingSurface-Cb3x9iDx.js → NavHeadingSurface-B3yJspSN.js} +18 -11
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-FFOisITc.js → NavItem-BBIGSvDj.js} +7 -3
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ClIgMaxE.js → NavMenu-ThXguZAz.js} +7 -3
- package/dist/{NavMenuItem-E7S8gBh-.js → NavMenuItem-BvJNsDFC.js} +8 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-AZ9x3oja.js +473 -0
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DBUuchi9.js → Outline-755h-lMP.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-aDd_oem0.js → OverflowList-NmrSMbxb.js} +10 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CNe9F6Fl.js → Pagination-DqwNQFRp.js} +29 -14
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +2 -2
- package/dist/Popover-DJf8POzL.js +308 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-C6U8Sq1Y.js → PowerSearch-DvjiPqMZ.js} +44 -31
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DF6WZNCI.js → ProgressBar-CVLzdoBK.js} +9 -3
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CBqUPq_L.js → RadioGroup-Bfu6JSNV.js} +60 -24
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CPOJn9Th.js → RadioList-xY1cwLdZ.js} +4 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-DYy0e3v9.js → ResizeHandle-q4nD_586.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-DQDYjnxO.js → ScrollableArea-D4dCJv9I.js} +14 -3
- package/dist/Scrollbars/index.d.ts +2 -0
- package/dist/Scrollbars/index.js +3 -0
- package/dist/Scrollbars-D_93hJYK.js +75 -0
- package/dist/Section/index.d.ts +2 -1
- package/dist/Section/index.js +1 -1
- package/dist/{Section-C48Wqfc7.js → Section-v2QuWBBJ.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Bj5s_tIN.js → SelectableCard-Cku4dRzc.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-5N-hq2nF.js → Selector-DJ2BhUTV.js} +90 -31
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-CT9lfspi.js → SideNav-BF8mYDxl.js} +76 -44
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-D8h_RKcF.js → Slider-DWobsPgm.js} +2 -2
- package/dist/Stack/index.d.ts +2 -2
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-iv52y_Jv.js → Stack-CTsTFfar.js} +18 -3
- package/dist/{Stack-gGcYdOAh.js → Stack-kQlYbbL4.js} +22 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/StatusDot-BPUhMOff.js +45 -0
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-BqhVCgC-.js → Stepper-CE8dHysu.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-SesQzPGZ.js → Switch-DaVPRxvN.js} +2 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-BlzkrObv.js → TabList-DIkK9sgK.js} +100 -23
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +2 -2
- package/dist/{Table-CsdH8fCB.js → Table-fecqnm7P.js} +870 -241
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DIzZw6FA.js → Text-CV3LmscH.js} +7 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CPwSytdO.js → TextArea-Ab5Sw60T.js} +24 -14
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BasnjVvy.js → TextInput-zFT1_qgI.js} +21 -24
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BnQwX1cQ.js → Thumbnail-C3NnJUFG.js} +5 -5
- package/dist/TimeField-CoHDGmsP.js +435 -0
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-C9gptCOK.js → TimeInput-D2k3Ux3p.js} +14 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-kxzQx3tp.js → Timer-avMQk5DN.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-D7bd_nF3.js → Timestamp-xpQKCk0d.js} +7 -7
- package/dist/Toast/index.d.ts +3 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-C2ML-bmi.js → Toast-BuqIZV5z.js} +136 -38
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BB_I8EdM.js → ToggleButton-B-C-Q7XP.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-D2GsI_Ei.js → Token-DsntTYhQ.js} +33 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/Tokenizer-B5C_qY7t.js +585 -0
- package/dist/Toolbar/index.d.ts +2 -1
- package/dist/Tooltip/index.d.ts +2 -2
- package/dist/Tooltip/index.js +2 -2
- package/dist/Tooltip-C4Vaqd3G.js +320 -0
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-arWFLTBM.js → TopNav-Ciq0l1w7.js} +122 -84
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-C9xvMpJZ.js → TreeList-BUz-KZJd.js} +90 -40
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/Typeahead-JP9RT87x.js +656 -0
- package/dist/{TypeaheadMenu-BEObzonz.js → TypeaheadMenu-DBW6rHeO.js} +133 -44
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/index.js +12 -7
- package/dist/{composables-CWw6t-RJ.js → composables-CbKx9C1Y.js} +424 -4
- package/dist/context-C_peZbXf.js +16 -0
- package/dist/context-M-er0-Rk.js +99 -0
- package/dist/{context-CPh7kE-a.js → context-iABt_ueM.js} +30 -4
- package/dist/{index-CLmKfnqf.d.ts → index-0QGtSf3r.d.ts} +2 -0
- package/dist/{index-z3uLM1O6.d.ts → index-B1WJxt-n.d.ts} +1 -1
- package/dist/{index-BPwD6aBv.d.ts → index-B3Fomy15.d.ts} +2 -2
- package/dist/{index-CPwzSbQQ.d.ts → index-B42oE_F-.d.ts} +17 -1
- package/dist/{index-EFqQF2Bx.d.ts → index-B4OOtNP8.d.ts} +2 -2
- package/dist/index-B7yhzGUT.d.ts +171 -0
- package/dist/{index-DFbvnBlf.d.ts → index-B9e52paP.d.ts} +15 -2
- package/dist/{index-CEB7Ywvw.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-CsVS37na.d.ts → index-BNbAJV9C.d.ts} +1 -1
- package/dist/index-BTK7aStw.d.ts +88 -0
- package/dist/{index-BBtJt5_A.d.ts → index-BULhhnGf.d.ts} +1 -1
- package/dist/{index-D7-WTV6I.d.ts → index-BVKivP59.d.ts} +2 -2
- package/dist/{index-BpH4wvsg.d.ts → index-BgT6mH3U.d.ts} +2 -2
- package/dist/{index-Be1czg3M.d.ts → index-BhpAUzUr.d.ts} +47 -7
- package/dist/{index-BcJBLWJ0.d.ts → index-BkjSF265.d.ts} +67 -4
- package/dist/{index-DxR1FChm.d.ts → index-Bu8NA2SD.d.ts} +49 -6
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-C-QpeUlQ.d.ts → index-C2nbK2AA.d.ts} +52 -7
- package/dist/{index-iBLzInje.d.ts → index-C5e-7Obr.d.ts} +1 -1
- package/dist/index-CEv_AvOg.d.ts +17 -0
- package/dist/{index-Dgg0bHVM.d.ts → index-CICeEoZV.d.ts} +2 -1
- package/dist/{index-CB9Srua5.d.ts → index-CL1T2j4y.d.ts} +7 -4
- package/dist/{index-DjMwF8ET.d.ts → index-COgrQZIL.d.ts} +7 -1
- package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
- package/dist/{index-ChWlKHjc.d.ts → index-Cde5JvtX.d.ts} +15 -3
- package/dist/index-CitZGSn0.d.ts +39 -0
- package/dist/index-CkKPMIeX.d.ts +55 -0
- package/dist/{index-FEy8qFSD.d.ts → index-ClNU2Th8.d.ts} +30 -3
- package/dist/{index-kaKBOZSU.d.ts → index-Cq31D3fJ.d.ts} +99 -7
- package/dist/{index-xfkEuGLY.d.ts → index-CqE4Bf3Q.d.ts} +8 -2
- package/dist/{index-DtePJ_w_.d.ts → index-Crp3NFLW.d.ts} +2 -2
- package/dist/{index-BlOIC_AM.d.ts → index-CsNi1I8j.d.ts} +6 -0
- package/dist/index-Cyb9Du5Z.d.ts +76 -0
- package/dist/{index-4TRnFGxv.d.ts → index-D41_xqjs.d.ts} +50 -10
- package/dist/{index-eshFLli0.d.ts → index-D97pQbua.d.ts} +7 -0
- package/dist/{index-c67ca7eJ.d.ts → index-DEQ5cnUV.d.ts} +1 -1
- package/dist/{index-BmAxqw1G.d.ts → index-DG52Bg0W.d.ts} +15 -1
- package/dist/{index-Da7Jm8Ht.d.ts → index-DIXAzTKL.d.ts} +1 -1
- package/dist/{index-BmmdzwT9.d.ts → index-DNA2l1RN.d.ts} +35 -11
- package/dist/{index-B9rqmYxh.d.ts → index-DUaLJO7l.d.ts} +978 -313
- package/dist/index-DVmgNb78.d.ts +143 -0
- package/dist/{index-CDdRQQF3.d.ts → index-DWh2WC8W.d.ts} +18 -6
- package/dist/index-DXpSFlPG.d.ts +78 -0
- package/dist/{index-C_2Z65Rp.d.ts → index-DeQwYJbg.d.ts} +39 -2
- package/dist/{index-JL4auphT.d.ts → index-GI9xIV9l.d.ts} +2 -2
- package/dist/{index-Ctu32CLv.d.ts → index-IBAInumL.d.ts} +93 -56
- package/dist/{index-vizlhXVs.d.ts → index-T2FOcOuI.d.ts} +492 -16
- package/dist/{index-CA6RbRWx.d.ts → index-TXcNH86P.d.ts} +2 -2
- package/dist/{index-BIPc1v82.d.ts → index-TntQsADQ.d.ts} +1 -1
- package/dist/index-fAZaRruV.d.ts +125 -0
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-D5N9ikrS.d.ts → index-hCpxKePE.d.ts} +1 -1
- package/dist/{index-CpiWVbRZ.d.ts → index-i0tNFWfz.d.ts} +3 -1
- package/dist/{index-YmSe1ujk.d.ts → index-lgvUFSCO.d.ts} +1 -1
- package/dist/{index-bvr3WHvs.d.ts → index-xrzJC4wm.d.ts} +1 -1
- package/dist/{index-BK9T1TPZ.d.ts → index-yT1yiiww.d.ts} +28 -9
- package/dist/index.d.ts +80 -76
- package/dist/index.js +127 -113
- package/dist/link-C4_WogdF.js +18 -0
- package/dist/{index-C3GaPqvJ.d.ts → loadCatalog-BGHKG_9N.d.ts} +16 -37
- package/dist/{locale-sLw5Caia.js → loadCatalog-CXKqEB9s.js} +25 -65
- package/dist/locale/index.d.ts +3 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-DgkZEMTn.js +105 -0
- package/dist/{searchResultMessage-CCnq-_ce.js → searchResultMessage-hXXNOFJP.js} +2 -2
- package/dist/{size-xcIqExkS.js → size-Cpn_wzXi.js} +1 -1
- package/dist/{types-3eXh_5os.d.ts → types-0Q_SJv_F.d.ts} +3 -1
- package/dist/types-BRfVvZTH.d.ts +108 -0
- package/dist/{types-D7QNSqoN.d.ts → types-BTk0WZ0b.d.ts} +8 -0
- package/dist/{types-D_J66aPN.d.ts → types-BnNTzEnd.d.ts} +5 -1
- package/dist/{types-D9nP_X-c.d.ts → types-Ckih2YJi.d.ts} +9 -2
- package/dist/{types-Db3Owy8Q.d.ts → types-OGMYGejX.d.ts} +5 -0
- package/dist/{index-nKlTsNfV.d.ts → types-uFMH9NaM.d.ts} +14 -17
- package/dist/{useAnchoredListbox-BN9LQnon.js → useAnchoredListbox-DwztMNjP.js} +9 -4
- package/dist/useDevWarning-DznOpOHT.js +36 -0
- package/dist/useInputContainer-CpgDe2-4.js +51 -0
- package/dist/useInputStatusIcon-DBOwxV4x.js +41 -0
- package/dist/useInteractiveRole-Cn0Nd5GX.js +25 -0
- package/dist/{useMenuDrillIn-BgjJcY3K.js → useMenuDrillIn-DzKGkTho.js} +1 -1
- package/dist/{useMenuPress-DUmEy4TB.js → useMenuPress-D-FRNrBW.js} +162 -14
- package/dist/useMergedRefs-CfHHlCsn.js +109 -0
- package/dist/useNumberField-4-dIGVed.js +128 -0
- package/dist/{usePositionedLayer-C1NBOsVT.js → usePositionedLayer-Cru9_00b.js} +70 -7
- package/dist/useResizable-DDwPpPe6.d.ts +409 -0
- package/dist/useRestoreFocus-Djw9RUIf.js +153 -0
- package/dist/useScrollbars-C2NJ6Qwq.js +43 -0
- package/dist/{useTimeValue-DWk6oTAZ.js → useTimeValue-6ufHM15W.js} +1 -1
- package/dist/utils-D33VQDnk.js +58 -0
- package/locales/SOURCE.json +1 -1
- package/locales/en.json +445 -1
- package/package.json +19 -2
- package/styles/avatar-group.css +19 -1
- package/styles/avatar.css +34 -13
- package/styles/chat.css +17 -1
- package/styles/dialog-header.css +5 -1
- package/styles/field.css +11 -0
- package/styles/heading.css +9 -0
- package/styles/indicator-focus-ring.css +18 -0
- package/styles/number-input.css +33 -0
- package/styles/pressable.css +44 -0
- package/styles/progress-bar.css +18 -0
- package/styles/scrollbars.css +28 -0
- package/styles/side-nav.css +20 -6
- package/styles/stack.css +4 -2
- package/styles/status-dot.css +18 -0
- package/styles/tab-list.css +38 -2
- package/styles/table.css +66 -6
- package/styles/text.css +9 -0
- package/styles/time-input.css +41 -0
- package/styles/top-nav.css +46 -19
- package/styles/typeahead.css +31 -0
- package/styles.css +2 -0
- package/dist/AvatarGroup-QyzSrpYA.js +0 -60
- package/dist/DateInput-D4XFAEMp.js +0 -743
- package/dist/FieldLabel-DmmJyX7w.js +0 -184
- package/dist/FileInput-DuNwdbAo.js +0 -238
- package/dist/HoverCard-EhbWaGOW.js +0 -443
- package/dist/NumberInput-B4IL3s_8.js +0 -210
- package/dist/Popover-D7zqpFwU.js +0 -215
- package/dist/StatusDot-CaoIapp4.js +0 -27
- package/dist/TimeField-Biiuv0hB.js +0 -214
- package/dist/Tokenizer-rwzamZg4.js +0 -473
- package/dist/Tooltip-C2fh9anJ.js +0 -271
- package/dist/Typeahead-_V11btpv.js +0 -499
- package/dist/index-Blm197N_.d.ts +0 -82
- package/dist/index-Bt7ewoz2.d.ts +0 -119
- package/dist/index-C1HIqW_H.d.ts +0 -38
- package/dist/index-CngORuiq.d.ts +0 -387
- package/dist/index-D4I_obqR.d.ts +0 -58
- package/dist/link-CdcUSxAj.js +0 -12
- package/dist/size-BuTzpgnR.d.ts +0 -14
- package/dist/types-Cp4liug-.d.ts +0 -170
- package/dist/useDismiss-Cj8x_51F.js +0 -62
- package/dist/useNumberField-DL-Radsp.js +0 -49
- package/dist/useResizable-CUoNPmUw.d.ts +0 -72
- package/dist/useRestoreFocus-BvMdXVX9.js +0 -96
- package/dist/utils-C9r3UD_y.js +0 -16
|
@@ -1,17 +1,21 @@
|
|
|
1
|
+
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
+
import { n as useButtonTooltip } from "./Button-B6Hj_O_s.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./ButtonTooltip-nWWrth8j.js";
|
|
1
4
|
import { t as useAnnounce } from "./announce-Cnio10Wk.js";
|
|
2
5
|
import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
|
|
3
|
-
import {
|
|
6
|
+
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-Cru9_00b.js";
|
|
4
7
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
5
|
-
import { o as useAstryxMessages } from "./context-
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as _sfc_main$
|
|
8
|
-
import { t as _sfc_main$
|
|
9
|
-
import { t as _sfc_main$
|
|
8
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
9
|
+
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
10
|
+
import { t as _sfc_main$3 } from "./BottomSheet-pt7m4CvC.js";
|
|
11
|
+
import { t as _sfc_main$4 } from "./Icon-bteSId7T.js";
|
|
12
|
+
import { t as _sfc_main$5 } from "./Spinner-9cYUCnDy.js";
|
|
10
13
|
import { t as useIndicator } from "./useIndicator-i1NORM7W.js";
|
|
11
|
-
import { t as _sfc_main$
|
|
14
|
+
import { t as _sfc_main$6 } from "./Field-D5gUEGw4.js";
|
|
12
15
|
import { t as INPUT_GROUP_KEY } from "./context-D5-MwxnN.js";
|
|
13
|
-
import { n as fieldStatusPlacement, r as _sfc_main$
|
|
16
|
+
import { n as fieldStatusPlacement, r as _sfc_main$7, t as searchResultMessage } from "./searchResultMessage-hXXNOFJP.js";
|
|
14
17
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
18
|
+
import "../styles/button.css";
|
|
15
19
|
import "../styles/visually-hidden-utility.css";
|
|
16
20
|
import "../styles/selector.css";
|
|
17
21
|
//#region src/Selector/Selector.vue
|
|
@@ -22,13 +26,13 @@ const _hoisted_1 = [
|
|
|
22
26
|
"aria-expanded",
|
|
23
27
|
"aria-controls",
|
|
24
28
|
"aria-readonly",
|
|
29
|
+
"aria-disabled",
|
|
25
30
|
"aria-busy",
|
|
26
31
|
"aria-required",
|
|
27
32
|
"aria-label",
|
|
28
33
|
"aria-describedby",
|
|
29
34
|
"aria-autocomplete",
|
|
30
|
-
"aria-activedescendant"
|
|
31
|
-
"title"
|
|
35
|
+
"aria-activedescendant"
|
|
32
36
|
];
|
|
33
37
|
const _hoisted_2 = { class: "astryx-selector-value-label" };
|
|
34
38
|
const _hoisted_3 = ["aria-label"];
|
|
@@ -103,6 +107,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
103
107
|
type: Boolean,
|
|
104
108
|
default: false
|
|
105
109
|
},
|
|
110
|
+
disabledMessage: {},
|
|
106
111
|
disabledReason: {},
|
|
107
112
|
status: { default: "default" },
|
|
108
113
|
statusMessage: {},
|
|
@@ -119,6 +124,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
119
124
|
type: Boolean,
|
|
120
125
|
default: false
|
|
121
126
|
},
|
|
127
|
+
hasClear: { type: Boolean },
|
|
122
128
|
clearLabel: {},
|
|
123
129
|
emptyText: {},
|
|
124
130
|
emptySearchText: {},
|
|
@@ -151,7 +157,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
151
157
|
emits: [
|
|
152
158
|
"update:modelValue",
|
|
153
159
|
"change",
|
|
154
|
-
"search"
|
|
160
|
+
"search",
|
|
161
|
+
"click",
|
|
162
|
+
"focus",
|
|
163
|
+
"keydown"
|
|
155
164
|
],
|
|
156
165
|
setup(__props, { emit: __emit }) {
|
|
157
166
|
const props = __props;
|
|
@@ -164,6 +173,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
164
173
|
const resolvedPlaceholder = computed(() => props.placeholder ?? messages.value.selector.placeholder);
|
|
165
174
|
const resolvedSearchPlaceholder = computed(() => props.searchPlaceholder ?? messages.value.selector.search);
|
|
166
175
|
const resolvedClearLabel = computed(() => props.clearLabel ?? messages.value.selector.clear);
|
|
176
|
+
/** 值上的清除按钮带着字段名,读屏能听出清的是哪一项。 */
|
|
177
|
+
const valueClearLabel = computed(() => props.clearLabel ?? messages.value.selector.clearField(props.label));
|
|
167
178
|
const resolvedEmptyText = computed(() => props.emptyText ?? messages.value.selector.empty);
|
|
168
179
|
const resolvedEmptySearchText = computed(() => props.emptySearchText ?? messages.value.selector.emptySearch);
|
|
169
180
|
const inputGroup = inject(INPUT_GROUP_KEY, null);
|
|
@@ -175,10 +186,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
175
186
|
});
|
|
176
187
|
const announce = useAnnounce();
|
|
177
188
|
const readOnlyId = `${selectorId}-readonly`;
|
|
189
|
+
const disabledMessageId = `${selectorId}-disabled-message`;
|
|
190
|
+
const disabledTooltipId = `${selectorId}-disabled-tooltip`;
|
|
191
|
+
/** 旧名 disabledReason 和新名 disabledMessage 等价。 */
|
|
192
|
+
const resolvedDisabledMessage = computed(() => props.disabledMessage?.trim() || props.disabledReason?.trim());
|
|
193
|
+
const showsDisabledMessage = computed(() => control.isDisabled.value && !!resolvedDisabledMessage.value);
|
|
194
|
+
const disabledTooltip = useButtonTooltip(showsDisabledMessage);
|
|
195
|
+
const hasClear = computed(() => props.hasClear || props.clearable);
|
|
178
196
|
const fieldRef = useTemplateRef("fieldRef");
|
|
179
197
|
const listboxRef = useTemplateRef("listboxRef");
|
|
180
198
|
const searchInputRef = useTemplateRef("searchInputRef");
|
|
181
199
|
const sheetSlot = useTemplateRef("sheetSlot");
|
|
200
|
+
useScrollbars(listboxRef);
|
|
182
201
|
const isSheet = computed(() => props.presentation === "bottom-sheet");
|
|
183
202
|
const sheetLabel = computed(() => props.label || resolvedPlaceholder.value);
|
|
184
203
|
const isEnabled = control.canActivate;
|
|
@@ -315,7 +334,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
315
334
|
const isSearching = computed(() => props.searchable && combobox.searchQuery.value.trim() !== "");
|
|
316
335
|
const showEmpty = computed(() => isEmpty.value && !control.isLoading.value);
|
|
317
336
|
const describedBy = computed(() => {
|
|
318
|
-
return [
|
|
337
|
+
return [
|
|
338
|
+
inGroup.value ? inputGroup?.describedBy.value : void 0,
|
|
339
|
+
control.isReadOnly.value ? readOnlyId : void 0,
|
|
340
|
+
showsDisabledMessage.value ? disabledMessageId : void 0
|
|
341
|
+
].filter(Boolean).join(" ") || void 0;
|
|
319
342
|
});
|
|
320
343
|
const announcement = computed(() => searchResultMessage({
|
|
321
344
|
isOpen: combobox.isOpen.value,
|
|
@@ -329,11 +352,21 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
329
352
|
watch(announcement, (message) => {
|
|
330
353
|
if (message) announce(message);
|
|
331
354
|
});
|
|
332
|
-
function onTriggerClick() {
|
|
355
|
+
function onTriggerClick(event) {
|
|
356
|
+
emit("click", event);
|
|
333
357
|
if (control.canActivate.value) combobox.toggle();
|
|
334
358
|
}
|
|
359
|
+
function onTriggerFocus(event) {
|
|
360
|
+
emit("focus", event);
|
|
361
|
+
disabledTooltip.onFocus(event);
|
|
362
|
+
}
|
|
335
363
|
function onTriggerKeyDown(event) {
|
|
336
364
|
combobox.onKeyDown(event);
|
|
365
|
+
if (!event.defaultPrevented) emit("keydown", event);
|
|
366
|
+
}
|
|
367
|
+
/** 搜索框里的按键只走键盘模型,不当作触发器的事件透出。 */
|
|
368
|
+
function onSearchKeyDown(event) {
|
|
369
|
+
combobox.onKeyDown(event);
|
|
337
370
|
}
|
|
338
371
|
function onOptionClick(option) {
|
|
339
372
|
if (!option.disabled) combobox.select(option.value);
|
|
@@ -383,7 +416,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
383
416
|
});
|
|
384
417
|
});
|
|
385
418
|
return (_ctx, _cache) => {
|
|
386
|
-
return openBlock(), createBlock(_sfc_main$
|
|
419
|
+
return openBlock(), createBlock(_sfc_main$6, {
|
|
387
420
|
class: normalizeClass(["astryx-selector", [
|
|
388
421
|
`size-${props.size}`,
|
|
389
422
|
`status-${statusType.value}`,
|
|
@@ -410,7 +443,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
410
443
|
"is-readonly": unref(control).isReadOnly.value,
|
|
411
444
|
"is-loading": unref(control).isLoading.value,
|
|
412
445
|
"is-ghost": props.variant === "ghost"
|
|
413
|
-
}])
|
|
446
|
+
}]),
|
|
447
|
+
onPointerenter: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
|
|
448
|
+
onPointerleave: _cache[2] || (_cache[2] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
|
|
414
449
|
}, [
|
|
415
450
|
createElementVNode("button", {
|
|
416
451
|
id: selectorId,
|
|
@@ -419,20 +454,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
419
454
|
"is-open": unref(combobox).isOpen.value,
|
|
420
455
|
"is-disabled": unref(control).isDisabled.value
|
|
421
456
|
}]),
|
|
422
|
-
disabled: unref(control).isDisabled.value,
|
|
457
|
+
disabled: unref(control).isDisabled.value && !showsDisabledMessage.value,
|
|
423
458
|
role: unref(control).isReadOnly.value || !props.searchable ? "combobox" : void 0,
|
|
424
459
|
"aria-haspopup": unref(control).isReadOnly.value ? void 0 : "listbox",
|
|
425
460
|
"aria-expanded": unref(control).isReadOnly.value ? false : unref(combobox).isOpen.value,
|
|
426
461
|
"aria-controls": unref(control).isReadOnly.value ? void 0 : listboxId,
|
|
427
462
|
"aria-readonly": unref(control).isReadOnly.value || void 0,
|
|
463
|
+
"aria-disabled": showsDisabledMessage.value || void 0,
|
|
428
464
|
"aria-busy": unref(control).isLoading.value || void 0,
|
|
429
465
|
"aria-required": props.isRequired || void 0,
|
|
430
466
|
"aria-label": props.label,
|
|
431
467
|
"aria-describedby": describedBy.value,
|
|
432
468
|
"aria-autocomplete": props.searchable ? void 0 : "none",
|
|
433
469
|
"aria-activedescendant": !props.searchable && !unref(control).isReadOnly.value && unref(combobox).activeIndex.value >= 0 ? getOptionId(unref(combobox).activeIndex.value) : void 0,
|
|
434
|
-
title: props.disabledReason,
|
|
435
470
|
onClick: onTriggerClick,
|
|
471
|
+
onFocus: onTriggerFocus,
|
|
472
|
+
onBlur: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args)),
|
|
436
473
|
onKeydown: onTriggerKeyDown
|
|
437
474
|
}, [createElementVNode("span", { class: normalizeClass(["astryx-selector-value", {
|
|
438
475
|
"is-placeholder": !selectedOption.value,
|
|
@@ -443,23 +480,23 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
443
480
|
class: normalizeClass(["astryx-selector-value-icon", selectedOption.value.icon]),
|
|
444
481
|
"aria-hidden": "true"
|
|
445
482
|
}, null, 2)) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2, toDisplayString(displayText.value), 1)], 64))], 2)], 42, _hoisted_1),
|
|
446
|
-
unref(control).isLoading.value ? (openBlock(), createBlock(_sfc_main$
|
|
483
|
+
unref(control).isLoading.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
447
484
|
key: 0,
|
|
448
485
|
class: "astryx-selector-spinner",
|
|
449
486
|
size: "sm",
|
|
450
487
|
"aria-label": unref(messages).selector.loading
|
|
451
488
|
}, null, 8, ["aria-label"])) : createCommentVNode("v-if", true),
|
|
452
|
-
|
|
489
|
+
hasClear.value && selectedOption.value && unref(control).canActivate.value ? (openBlock(), createElementBlock("button", {
|
|
453
490
|
key: 1,
|
|
454
491
|
type: "button",
|
|
455
492
|
class: "astryx-selector-clear",
|
|
456
|
-
"aria-label":
|
|
493
|
+
"aria-label": valueClearLabel.value,
|
|
457
494
|
onClick: onClear
|
|
458
|
-
}, [createVNode(_sfc_main$
|
|
495
|
+
}, [createVNode(_sfc_main$4, {
|
|
459
496
|
icon: "close",
|
|
460
497
|
size: "sm"
|
|
461
498
|
})], 8, _hoisted_3)) : createCommentVNode("v-if", true),
|
|
462
|
-
statusGlyph.value ? (openBlock(), createBlock(_sfc_main$
|
|
499
|
+
statusGlyph.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
463
500
|
key: 2,
|
|
464
501
|
type: statusGlyph.value,
|
|
465
502
|
message: fieldStatus.value?.message,
|
|
@@ -468,7 +505,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
468
505
|
"type",
|
|
469
506
|
"message",
|
|
470
507
|
"tooltip"
|
|
471
|
-
])) : unref(control).canActivate.value ? (openBlock(), createBlock(_sfc_main$
|
|
508
|
+
])) : unref(control).canActivate.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
472
509
|
key: 3,
|
|
473
510
|
class: "astryx-selector-icon",
|
|
474
511
|
icon: "chevronDown",
|
|
@@ -479,11 +516,33 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
479
516
|
id: readOnlyId,
|
|
480
517
|
class: "astryx-visually-hidden"
|
|
481
518
|
}, toDisplayString(unref(messages).selector.readOnly), 1)) : createCommentVNode("v-if", true)
|
|
482
|
-
],
|
|
483
|
-
|
|
519
|
+
], 34),
|
|
520
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
484
521
|
key: 0,
|
|
522
|
+
id: disabledMessageId
|
|
523
|
+
}, {
|
|
524
|
+
default: withCtx(() => [createTextVNode(toDisplayString(resolvedDisabledMessage.value), 1)]),
|
|
525
|
+
_: 1
|
|
526
|
+
})) : createCommentVNode("v-if", true),
|
|
527
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
528
|
+
key: 1,
|
|
529
|
+
id: disabledTooltipId,
|
|
530
|
+
anchor: fieldRef.value,
|
|
531
|
+
open: unref(disabledTooltip).isOpen.value,
|
|
532
|
+
text: resolvedDisabledMessage.value ?? "",
|
|
533
|
+
onPointerEnter: unref(disabledTooltip).onTooltipPointerEnter,
|
|
534
|
+
onPointerLeave: unref(disabledTooltip).onTooltipPointerLeave
|
|
535
|
+
}, null, 8, [
|
|
536
|
+
"anchor",
|
|
537
|
+
"open",
|
|
538
|
+
"text",
|
|
539
|
+
"onPointerEnter",
|
|
540
|
+
"onPointerLeave"
|
|
541
|
+
])) : createCommentVNode("v-if", true),
|
|
542
|
+
isSheet.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
543
|
+
key: 2,
|
|
485
544
|
"is-open": sheetOpen.value,
|
|
486
|
-
"onUpdate:isOpen": _cache[
|
|
545
|
+
"onUpdate:isOpen": _cache[3] || (_cache[3] = ($event) => sheetOpen.value = $event),
|
|
487
546
|
height: "hug",
|
|
488
547
|
label: sheetLabel.value,
|
|
489
548
|
padding: 2
|
|
@@ -505,7 +564,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
505
564
|
style: normalizeStyle(listboxStyle.value),
|
|
506
565
|
tabindex: "-1"
|
|
507
566
|
}, [props.searchable ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
508
|
-
createVNode(_sfc_main$
|
|
567
|
+
createVNode(_sfc_main$4, {
|
|
509
568
|
class: "astryx-selector-search-icon",
|
|
510
569
|
icon: "search",
|
|
511
570
|
size: "sm"
|
|
@@ -526,7 +585,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
526
585
|
placeholder: resolvedSearchPlaceholder.value,
|
|
527
586
|
value: unref(combobox).searchQuery.value,
|
|
528
587
|
onInput: onSearchInput,
|
|
529
|
-
onKeydown:
|
|
588
|
+
onKeydown: onSearchKeyDown
|
|
530
589
|
}, null, 40, _hoisted_7),
|
|
531
590
|
unref(combobox).searchQuery.value ? (openBlock(), createElementBlock("button", {
|
|
532
591
|
key: 0,
|
|
@@ -534,7 +593,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
534
593
|
class: "astryx-selector-search-clear",
|
|
535
594
|
"aria-label": resolvedClearLabel.value,
|
|
536
595
|
onClick: clearSearch
|
|
537
|
-
}, [createVNode(_sfc_main$
|
|
596
|
+
}, [createVNode(_sfc_main$4, {
|
|
538
597
|
icon: "close",
|
|
539
598
|
size: "sm"
|
|
540
599
|
})], 8, _hoisted_8)) : createCommentVNode("v-if", true)
|
|
@@ -578,7 +637,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
578
637
|
], 42, _hoisted_11)) : createCommentVNode("v-if", true)], 64);
|
|
579
638
|
}), 128))])) : showEmpty.value ? (openBlock(), createElementBlock("div", _hoisted_18, [!isSearching.value && unref(slots).empty ? renderSlot(_ctx.$slots, "empty", {}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(isSearching.value ? resolvedEmptySearchText.value : resolvedEmptyText.value), 1)], 64))])) : createCommentVNode("v-if", true)], 14, _hoisted_5), [[vShow, unref(combobox).isOpen.value]])], 8, ["to"])),
|
|
580
639
|
props.name ? (openBlock(), createElementBlock("select", {
|
|
581
|
-
key:
|
|
640
|
+
key: 3,
|
|
582
641
|
id: `${selectorId}-hidden-select`,
|
|
583
642
|
name: props.name,
|
|
584
643
|
value: props.modelValue ?? "",
|
|
@@ -591,7 +650,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
591
650
|
"width": "1px",
|
|
592
651
|
"height": "1px"
|
|
593
652
|
}
|
|
594
|
-
}, [_cache[
|
|
653
|
+
}, [_cache[4] || (_cache[4] = createElementVNode("option", { value: "" }, null, -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(flatOptions.value, (option) => {
|
|
595
654
|
return openBlock(), createElementBlock("option", {
|
|
596
655
|
key: option.value,
|
|
597
656
|
value: option.value
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseContext, type SideNavCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
|
1
|
+
import { $n as _default$3, Qn as _default$4, _r as useSideNavCollapse, ar as SideNavCollapseButtonSlots, cr as SideNavEmits, dr as SideNavItemEmits, er as _default$2, fr as SideNavItemProps, gr as SideNavCollapseContext, hr as SideNavSectionProps, ir as SideNavCollapseButtonSize, lr as SideNavHandle, mr as SideNavResizable, nr as _default, or as SideNavCollapsible, pr as SideNavProps, rr as SideNavCollapseButtonProps, sr as SideNavControlledCollapsible, tr as _default$1, ur as SideNavHeadingProps } from "../index-DUaLJO7l.js";
|
|
2
|
+
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/SideNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as useSideNavCollapse } from "../context-BjNya0v8.js";
|
|
2
|
-
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-
|
|
2
|
+
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-BF8mYDxl.js";
|
|
3
3
|
export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
+
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
2
|
+
import { t as _sfc_main$5 } from "./Button-B6Hj_O_s.js";
|
|
1
3
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
2
4
|
import { n as useResizable, r as useHotkeys } from "./useResizable-B3ahKLoZ.js";
|
|
3
|
-
import { o as useAstryxMessages } from "./context-
|
|
4
|
-
import { t as _sfc_main$
|
|
5
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
6
|
+
import { t as _sfc_main$6 } from "./Tooltip-C4Vaqd3G.js";
|
|
7
|
+
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
5
8
|
import { i as useSideNavRenderMode, r as useSideNavCollapse, t as sideNavCollapseKey } from "./context-BjNya0v8.js";
|
|
6
|
-
import { t as _sfc_main$
|
|
7
|
-
import { n as resolveNavRoot } from "./link-
|
|
8
|
-
import { t as _sfc_main$
|
|
9
|
-
import { t as _sfc_main$
|
|
10
|
-
import { t as _sfc_main$
|
|
11
|
-
import { t as _sfc_main$
|
|
12
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, watchEffect, withCtx, withModifiers } from "vue";
|
|
9
|
+
import { t as _sfc_main$7 } from "./Icon-bteSId7T.js";
|
|
10
|
+
import { n as resolveNavRoot } from "./link-C4_WogdF.js";
|
|
11
|
+
import { t as _sfc_main$8 } from "./NavItem-BBIGSvDj.js";
|
|
12
|
+
import { t as _sfc_main$9 } from "./NavDisclosure-C_fugrQ3.js";
|
|
13
|
+
import { t as _sfc_main$10 } from "./ResizeHandle-q4nD_586.js";
|
|
14
|
+
import { t as _sfc_main$11 } from "./NavHeadingSurface-B3yJspSN.js";
|
|
15
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, inject, normalizeClass, normalizeProps, normalizeStyle, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, useTemplateRef, watch, watchEffect, withCtx, withModifiers } from "vue";
|
|
13
16
|
import "../styles/visually-hidden.css";
|
|
14
17
|
import "../styles/side-nav.css";
|
|
15
18
|
//#region src/SideNav/SideNavCollapseButton.vue
|
|
16
|
-
const _hoisted_1$4 =
|
|
17
|
-
"aria-label",
|
|
18
|
-
"aria-expanded",
|
|
19
|
-
"aria-controls"
|
|
20
|
-
];
|
|
21
|
-
const _hoisted_2$4 = {
|
|
19
|
+
const _hoisted_1$4 = {
|
|
22
20
|
class: "astryx-side-nav-collapse__mirror",
|
|
23
21
|
"aria-hidden": "true"
|
|
24
22
|
};
|
|
@@ -27,10 +25,12 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
27
25
|
__name: "SideNavCollapseButton",
|
|
28
26
|
props: {
|
|
29
27
|
label: {},
|
|
28
|
+
collapsible: { default: void 0 },
|
|
30
29
|
isCollapsed: {
|
|
31
30
|
type: Boolean,
|
|
32
31
|
default: void 0
|
|
33
|
-
}
|
|
32
|
+
},
|
|
33
|
+
size: { default: void 0 }
|
|
34
34
|
},
|
|
35
35
|
emits: ["update:isCollapsed"],
|
|
36
36
|
setup(__props, { emit: __emit }) {
|
|
@@ -38,31 +38,52 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
38
38
|
const emit = __emit;
|
|
39
39
|
const collapse = useSideNavCollapse();
|
|
40
40
|
const messages = useAstryxMessages();
|
|
41
|
+
const inSideNav = inject(sideNavCollapseKey, null) !== null;
|
|
42
|
+
/** The controlled config handed in from outside; it outranks `v-model:isCollapsed`. */
|
|
43
|
+
const controlled = computed(() => props.collapsible ?? null);
|
|
41
44
|
const usingModel = computed(() => props.isCollapsed !== void 0);
|
|
42
|
-
const visible = computed(() => usingModel.value || collapse.isCollapsible.value);
|
|
43
|
-
const collapsed = computed(() =>
|
|
45
|
+
const visible = computed(() => controlled.value != null || usingModel.value || collapse.isCollapsible.value);
|
|
46
|
+
const collapsed = computed(() => {
|
|
47
|
+
if (controlled.value != null) return Boolean(controlled.value.isCollapsed);
|
|
48
|
+
return usingModel.value ? Boolean(props.isCollapsed) : collapse.isCollapsed.value;
|
|
49
|
+
});
|
|
50
|
+
const size = computed(() => props.size ?? (inSideNav ? "sm" : "md"));
|
|
44
51
|
const label = computed(() => {
|
|
45
52
|
if (props.label) return props.label;
|
|
46
53
|
return collapsed.value ? messages.value.nav.expandSidebar : messages.value.nav.collapseSidebar;
|
|
47
54
|
});
|
|
55
|
+
/** A visible label turns the icon-only square into a text button. */
|
|
56
|
+
const hasVisibleLabel = computed(() => Boolean(props.label));
|
|
48
57
|
function onClick() {
|
|
49
|
-
if (
|
|
58
|
+
if (controlled.value != null) controlled.value.onCollapsedChange(!collapsed.value);
|
|
59
|
+
else if (usingModel.value) emit("update:isCollapsed", !collapsed.value);
|
|
50
60
|
else collapse.toggle();
|
|
51
61
|
}
|
|
52
62
|
return (_ctx, _cache) => {
|
|
53
|
-
return visible.value ? (openBlock(),
|
|
63
|
+
return visible.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
54
64
|
key: 0,
|
|
55
|
-
type: "button",
|
|
56
65
|
class: "astryx-side-nav-collapse",
|
|
57
|
-
|
|
66
|
+
label: label.value,
|
|
67
|
+
size: size.value,
|
|
68
|
+
"is-icon-only": !hasVisibleLabel.value,
|
|
69
|
+
variant: "ghost",
|
|
58
70
|
"aria-expanded": collapsed.value ? "false" : "true",
|
|
59
71
|
"aria-controls": unref(collapse).navId || void 0,
|
|
60
72
|
onClick
|
|
61
|
-
},
|
|
62
|
-
icon: "
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
73
|
+
}, {
|
|
74
|
+
icon: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("span", _hoisted_1$4, [createVNode(_sfc_main$7, {
|
|
75
|
+
icon: "chevronLeft",
|
|
76
|
+
size: "sm",
|
|
77
|
+
class: normalizeClass(["astryx-side-nav-collapse__chevron", { "astryx-side-nav-collapse__chevron--collapsed": collapsed.value }])
|
|
78
|
+
}, null, 8, ["class"])])])]),
|
|
79
|
+
_: 3
|
|
80
|
+
}, 8, [
|
|
81
|
+
"label",
|
|
82
|
+
"size",
|
|
83
|
+
"is-icon-only",
|
|
84
|
+
"aria-expanded",
|
|
85
|
+
"aria-controls"
|
|
86
|
+
])) : createCommentVNode("v-if", true);
|
|
66
87
|
};
|
|
67
88
|
}
|
|
68
89
|
});
|
|
@@ -182,7 +203,10 @@ const _hoisted_4$3 = {
|
|
|
182
203
|
key: 0,
|
|
183
204
|
class: "astryx-side-nav__top-content"
|
|
184
205
|
};
|
|
185
|
-
const _hoisted_5$2 = {
|
|
206
|
+
const _hoisted_5$2 = {
|
|
207
|
+
ref: "body",
|
|
208
|
+
class: "astryx-side-nav__body"
|
|
209
|
+
};
|
|
186
210
|
const _hoisted_6$2 = {
|
|
187
211
|
key: 1,
|
|
188
212
|
class: "astryx-side-nav__bottom"
|
|
@@ -204,7 +228,10 @@ const _hoisted_11 = {
|
|
|
204
228
|
key: 1,
|
|
205
229
|
class: "astryx-side-nav__top-content"
|
|
206
230
|
};
|
|
207
|
-
const _hoisted_12 = {
|
|
231
|
+
const _hoisted_12 = {
|
|
232
|
+
ref: "body",
|
|
233
|
+
class: "astryx-side-nav__body"
|
|
234
|
+
};
|
|
208
235
|
const _hoisted_13 = {
|
|
209
236
|
key: 1,
|
|
210
237
|
class: "astryx-side-nav__bottom"
|
|
@@ -244,6 +271,8 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
244
271
|
const messages = useAstryxMessages();
|
|
245
272
|
const navId = `astryx-side-nav-${useId()}`;
|
|
246
273
|
const localCollapsed = ref(false);
|
|
274
|
+
const bodyEl = useTemplateRef("body");
|
|
275
|
+
useScrollbars(bodyEl);
|
|
247
276
|
const config = computed(() => typeof props.collapsible === "object" ? props.collapsible : {});
|
|
248
277
|
function controlledCollapsed() {
|
|
249
278
|
if (props.isCollapsed !== void 0) return props.isCollapsed;
|
|
@@ -320,7 +349,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
320
349
|
return (_ctx, _cache) => {
|
|
321
350
|
return unref(renderMode) === "topbar" ? (openBlock(), createElementBlock("div", _hoisted_1$3, [renderSlot(_ctx.$slots, "header"), slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_2$3, [renderSlot(_ctx.$slots, "footerIcons")])) : createCommentVNode("v-if", true)])) : unref(renderMode) === "drawer" || unref(renderMode) === "drawer-content" ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
322
351
|
slots.top ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "top")])) : createCommentVNode("v-if", true),
|
|
323
|
-
createElementVNode("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "default")]),
|
|
352
|
+
createElementVNode("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "default")], 512),
|
|
324
353
|
hasBottom.value ? (openBlock(), createElementBlock("div", _hoisted_6$2, [renderSlot(_ctx.$slots, "footer"), slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_7$1, [renderSlot(_ctx.$slots, "footerIcons")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
325
354
|
])) : (openBlock(), createElementBlock("div", {
|
|
326
355
|
key: 2,
|
|
@@ -339,9 +368,9 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
339
368
|
key: 0,
|
|
340
369
|
label: config.value.buttonLabel
|
|
341
370
|
}, null, 8, ["label"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), slots.top ? (openBlock(), createElementBlock("div", _hoisted_11, [renderSlot(_ctx.$slots, "top")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true),
|
|
342
|
-
createElementVNode("div", _hoisted_12, [renderSlot(_ctx.$slots, "default")]),
|
|
371
|
+
createElementVNode("div", _hoisted_12, [renderSlot(_ctx.$slots, "default")], 512),
|
|
343
372
|
hasBottom.value ? (openBlock(), createElementBlock("div", _hoisted_13, [renderSlot(_ctx.$slots, "footer"), slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_14, [renderSlot(_ctx.$slots, "footerIcons")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
344
|
-
], 14, _hoisted_8$1), showResizeHandle.value ? (openBlock(), createBlock(_sfc_main$
|
|
373
|
+
], 14, _hoisted_8$1), showResizeHandle.value ? (openBlock(), createBlock(_sfc_main$10, {
|
|
345
374
|
key: 0,
|
|
346
375
|
"data-testid": "astryx-sidenav-resize-handle",
|
|
347
376
|
direction: "horizontal",
|
|
@@ -387,17 +416,20 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
387
416
|
const props = __props;
|
|
388
417
|
const slots = useSlots();
|
|
389
418
|
const collapse = useSideNavCollapse();
|
|
419
|
+
const linkComponent = useLinkComponent();
|
|
390
420
|
const collapsed = computed(() => collapse.isCollapsed.value);
|
|
391
421
|
const hasIcon = computed(() => slots.icon != null);
|
|
392
422
|
const hasMenu = computed(() => slots.menu != null);
|
|
393
|
-
|
|
423
|
+
/** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
|
|
424
|
+
const customLink = computed(() => props.as ?? linkComponent.value);
|
|
425
|
+
const linkRoot = computed(() => resolveNavRoot(props.headingHref, false, customLink.value));
|
|
394
426
|
return (_ctx, _cache) => {
|
|
395
|
-
return collapsed.value && hasIcon.value ? (openBlock(), createBlock(_sfc_main$
|
|
427
|
+
return collapsed.value && hasIcon.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
396
428
|
key: 0,
|
|
397
429
|
content: __props.heading,
|
|
398
430
|
placement: "end"
|
|
399
431
|
}, {
|
|
400
|
-
default: withCtx(() => [hasMenu.value ? (openBlock(), createBlock(_sfc_main$
|
|
432
|
+
default: withCtx(() => [hasMenu.value ? (openBlock(), createBlock(_sfc_main$9, {
|
|
401
433
|
key: 0,
|
|
402
434
|
hover: "",
|
|
403
435
|
placement: "end",
|
|
@@ -420,7 +452,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
420
452
|
key: 1,
|
|
421
453
|
class: "astryx-side-nav-heading astryx-side-nav-heading--collapsed",
|
|
422
454
|
href: __props.headingHref,
|
|
423
|
-
to:
|
|
455
|
+
to: customLink.value != null ? __props.headingHref : void 0,
|
|
424
456
|
"aria-label": __props.heading
|
|
425
457
|
}, {
|
|
426
458
|
default: withCtx(() => [createElementVNode("span", _hoisted_4$2, [renderSlot(_ctx.$slots, "icon")])]),
|
|
@@ -431,7 +463,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
431
463
|
"aria-label"
|
|
432
464
|
])) : (openBlock(), createElementBlock("div", _hoisted_5$1, [createElementVNode("span", _hoisted_6$1, [renderSlot(_ctx.$slots, "icon")])]))]),
|
|
433
465
|
_: 3
|
|
434
|
-
}, 8, ["content"])) : (openBlock(), createBlock(_sfc_main$
|
|
466
|
+
}, 8, ["content"])) : (openBlock(), createBlock(_sfc_main$11, {
|
|
435
467
|
key: 1,
|
|
436
468
|
kind: "side",
|
|
437
469
|
as: __props.as,
|
|
@@ -567,12 +599,12 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
567
599
|
}
|
|
568
600
|
const toggleLabel = computed(() => nestedCollapsed.value ? messages.value.nav.expandItem(props.label) : messages.value.nav.collapseItem(props.label));
|
|
569
601
|
return (_ctx, _cache) => {
|
|
570
|
-
return sidebarCollapsed.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [hasIcon.value && !hasChildren.value ? (openBlock(), createBlock(_sfc_main$
|
|
602
|
+
return sidebarCollapsed.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [hasIcon.value && !hasChildren.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
571
603
|
key: 0,
|
|
572
604
|
content: __props.label,
|
|
573
605
|
placement: "end"
|
|
574
606
|
}, {
|
|
575
|
-
default: withCtx(() => [createVNode(_sfc_main$
|
|
607
|
+
default: withCtx(() => [createVNode(_sfc_main$8, {
|
|
576
608
|
block: "",
|
|
577
609
|
"is-icon-only": "",
|
|
578
610
|
as: __props.as,
|
|
@@ -607,7 +639,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
607
639
|
"target"
|
|
608
640
|
])]),
|
|
609
641
|
_: 3
|
|
610
|
-
}, 8, ["content"])) : hasIcon.value ? (openBlock(), createBlock(_sfc_main$
|
|
642
|
+
}, 8, ["content"])) : hasIcon.value ? (openBlock(), createBlock(_sfc_main$9, {
|
|
611
643
|
key: 1,
|
|
612
644
|
hover: "",
|
|
613
645
|
placement: "end",
|
|
@@ -634,7 +666,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
634
666
|
}, 8, ["label"])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createElementBlock("div", _hoisted_5, [splitToggle.value ? (openBlock(), createElementBlock("div", {
|
|
635
667
|
key: 0,
|
|
636
668
|
class: normalizeClass(["astryx-nav-item astryx-nav-item--block", [`astryx-nav-item--${__props.size}`, { "astryx-nav-item--selected": __props.isSelected }]])
|
|
637
|
-
}, [createVNode(_sfc_main$
|
|
669
|
+
}, [createVNode(_sfc_main$8, {
|
|
638
670
|
plain: "",
|
|
639
671
|
class: "astryx-side-nav-item__split",
|
|
640
672
|
as: __props.as,
|
|
@@ -682,11 +714,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
682
714
|
"aria-controls": childrenId,
|
|
683
715
|
"aria-label": toggleLabel.value,
|
|
684
716
|
onClick: withModifiers(toggleNested, ["stop"])
|
|
685
|
-
}, [createVNode(_sfc_main$
|
|
717
|
+
}, [createVNode(_sfc_main$7, {
|
|
686
718
|
icon: "chevronDown",
|
|
687
719
|
size: "sm",
|
|
688
720
|
class: normalizeClass(["astryx-side-nav-item__chevron", { "astryx-side-nav-item__chevron--open": !nestedCollapsed.value }])
|
|
689
|
-
}, null, 8, ["class"])], 8, _hoisted_6)], 2)) : (openBlock(), createBlock(_sfc_main$
|
|
721
|
+
}, null, 8, ["class"])], 8, _hoisted_6)], 2)) : (openBlock(), createBlock(_sfc_main$8, {
|
|
690
722
|
key: 1,
|
|
691
723
|
block: "",
|
|
692
724
|
as: __props.as,
|
|
@@ -715,7 +747,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
715
747
|
} : void 0,
|
|
716
748
|
_ctx.$slots.end || canNest.value ? {
|
|
717
749
|
name: "end",
|
|
718
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "end"), canNest.value ? (openBlock(), createBlock(_sfc_main$
|
|
750
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "end"), canNest.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
719
751
|
key: 0,
|
|
720
752
|
icon: "chevronDown",
|
|
721
753
|
size: "sm",
|
package/dist/Slider/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SliderProps, c as SliderValueDisplay, i as SliderOrientation, n as SliderEmits, o as SliderSlots, r as SliderMark, s as SliderValue, t as _default } from "../index-
|
|
1
|
+
import { a as SliderProps, c as SliderValueDisplay, i as SliderOrientation, n as SliderEmits, o as SliderSlots, r as SliderMark, s as SliderValue, t as _default } from "../index-TntQsADQ.js";
|
|
2
2
|
export { _default as Slider, type SliderEmits, type SliderMark, type SliderOrientation, type SliderProps, type SliderSlots, type SliderValue, type SliderValueDisplay };
|
package/dist/Slider/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Slider-
|
|
1
|
+
import { t as _sfc_main } from "../Slider-DWobsPgm.js";
|
|
2
2
|
export { _sfc_main as Slider };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import { n as useButtonTooltip } from "./Button-
|
|
2
|
+
import { n as useButtonTooltip } from "./Button-B6Hj_O_s.js";
|
|
3
3
|
import { t as _sfc_main$3 } from "./ButtonTooltip-nWWrth8j.js";
|
|
4
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
4
|
+
import { t as _sfc_main$4 } from "./Field-D5gUEGw4.js";
|
|
5
5
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx, withKeys } from "vue";
|
|
6
6
|
import "../styles/button.css";
|
|
7
7
|
import "../styles/slider.css";
|
package/dist/Stack/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-
|
|
2
|
-
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-
|
|
1
|
+
import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
|
|
2
|
+
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BgT6mH3U.js";
|
|
3
3
|
export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
|
package/dist/Stack/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "../Stack-
|
|
2
|
-
import { n as _sfc_main$2, r as _sfc_main, t as _sfc_main$3 } from "../Stack-
|
|
1
|
+
import { t as _sfc_main$1 } from "../Stack-kQlYbbL4.js";
|
|
2
|
+
import { n as _sfc_main$2, r as _sfc_main, t as _sfc_main$3 } from "../Stack-CTsTFfar.js";
|
|
3
3
|
export { _sfc_main as HStack, _sfc_main$1 as Stack, _sfc_main$2 as StackItem, _sfc_main$3 as VStack };
|