@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,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
2
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
2
3
|
import { t as _sfc_main$2 } from "./Badge-CjDQPF5g.js";
|
|
3
4
|
import { s as isIconGlyph, t as _sfc_main$3 } from "./Icon-bteSId7T.js";
|
|
4
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, useId, vShow, withCtx, withDirectives } from "vue";
|
|
5
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, vShow, withCtx, withDirectives } from "vue";
|
|
5
6
|
import "../styles/tree-list.css";
|
|
6
7
|
//#region src/TreeList/TreeListItem.vue
|
|
7
8
|
const _hoisted_1$1 = [
|
|
@@ -38,36 +39,35 @@ const _hoisted_7 = {
|
|
|
38
39
|
key: 1,
|
|
39
40
|
class: "astryx-tree-list__icon"
|
|
40
41
|
};
|
|
41
|
-
const _hoisted_8 =
|
|
42
|
-
const _hoisted_9 = {
|
|
43
|
-
const _hoisted_10 = {
|
|
42
|
+
const _hoisted_8 = { class: "astryx-tree-list__label" };
|
|
43
|
+
const _hoisted_9 = {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "astryx-tree-list__description"
|
|
46
46
|
};
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
47
|
+
const _hoisted_10 = ["disabled"];
|
|
48
|
+
const _hoisted_11 = { class: "astryx-tree-list__label" };
|
|
49
|
+
const _hoisted_12 = {
|
|
50
50
|
key: 0,
|
|
51
51
|
class: "astryx-tree-list__description"
|
|
52
52
|
};
|
|
53
|
-
const
|
|
53
|
+
const _hoisted_13 = {
|
|
54
54
|
key: 4,
|
|
55
55
|
class: "astryx-tree-list__main"
|
|
56
56
|
};
|
|
57
|
-
const
|
|
58
|
-
const
|
|
57
|
+
const _hoisted_14 = { class: "astryx-tree-list__label" };
|
|
58
|
+
const _hoisted_15 = {
|
|
59
59
|
key: 0,
|
|
60
60
|
class: "astryx-tree-list__description"
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const _hoisted_16 = {
|
|
63
63
|
key: 5,
|
|
64
64
|
class: "astryx-tree-list__end"
|
|
65
65
|
};
|
|
66
|
-
const
|
|
66
|
+
const _hoisted_17 = {
|
|
67
67
|
key: 2,
|
|
68
68
|
class: "astryx-tree-list__icon"
|
|
69
69
|
};
|
|
70
|
-
const
|
|
70
|
+
const _hoisted_18 = {
|
|
71
71
|
key: 1,
|
|
72
72
|
class: "astryx-tree-list__group",
|
|
73
73
|
role: "group"
|
|
@@ -94,6 +94,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
94
94
|
const props = __props;
|
|
95
95
|
const emit = __emit;
|
|
96
96
|
const messages = useAstryxMessages();
|
|
97
|
+
const linkComponent = useLinkComponent();
|
|
98
|
+
/** 有链接时用的根组件,没有 provider 时还是 `<a>`。 */
|
|
99
|
+
const linkRoot = computed(() => linkComponent.value == null ? "a" : toRaw(linkComponent.value));
|
|
97
100
|
const hasChildren = computed(() => (props.item.children?.length ?? 0) > 0);
|
|
98
101
|
const isExpanded = computed(() => hasChildren.value && props.expanded[props.item.id] === true);
|
|
99
102
|
const reservesChevron = computed(() => !hasChildren.value && props.hasExpandableItems);
|
|
@@ -179,33 +182,41 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
179
182
|
class: normalizeClass(__props.item.icon),
|
|
180
183
|
"aria-hidden": "true"
|
|
181
184
|
}, null, 2)]))])) : createCommentVNode("v-if", true),
|
|
182
|
-
__props.item.href ? (openBlock(),
|
|
185
|
+
__props.item.href ? (openBlock(), createBlock(resolveDynamicComponent(linkRoot.value), {
|
|
183
186
|
key: 2,
|
|
184
187
|
class: "astryx-tree-list__action",
|
|
185
188
|
href: __props.item.href,
|
|
189
|
+
to: linkRoot.value === "a" ? void 0 : __props.item.href,
|
|
186
190
|
target: __props.item.target,
|
|
187
191
|
tabindex: "-1"
|
|
188
|
-
},
|
|
192
|
+
}, {
|
|
193
|
+
default: withCtx(() => [createElementVNode("span", _hoisted_8, toDisplayString(__props.item.label), 1), __props.item.description ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(__props.item.description), 1)) : createCommentVNode("v-if", true)]),
|
|
194
|
+
_: 1
|
|
195
|
+
}, 8, [
|
|
196
|
+
"href",
|
|
197
|
+
"to",
|
|
198
|
+
"target"
|
|
199
|
+
])) : __props.item.onClick ? (openBlock(), createElementBlock("button", {
|
|
189
200
|
key: 3,
|
|
190
201
|
type: "button",
|
|
191
202
|
class: "astryx-tree-list__action",
|
|
192
203
|
disabled: __props.item.isDisabled,
|
|
193
204
|
tabindex: "-1",
|
|
194
205
|
onClick: _cache[0] || (_cache[0] = ($event) => __props.item.onClick($event))
|
|
195
|
-
}, [createElementVNode("span",
|
|
196
|
-
__props.item.badge || __props.item.endIcon ? (openBlock(), createElementBlock("span",
|
|
206
|
+
}, [createElementVNode("span", _hoisted_11, toDisplayString(__props.item.label), 1), __props.item.description ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(__props.item.description), 1)) : createCommentVNode("v-if", true)], 8, _hoisted_10)) : (openBlock(), createElementBlock("span", _hoisted_13, [createElementVNode("span", _hoisted_14, toDisplayString(__props.item.label), 1), __props.item.description ? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(__props.item.description), 1)) : createCommentVNode("v-if", true)])),
|
|
207
|
+
__props.item.badge || __props.item.endIcon ? (openBlock(), createElementBlock("span", _hoisted_16, [__props.item.badge ? (openBlock(), createBlock(_sfc_main$2, { key: 0 }, {
|
|
197
208
|
default: withCtx(() => [createTextVNode(toDisplayString(__props.item.badge), 1)]),
|
|
198
209
|
_: 1
|
|
199
210
|
})) : __props.item.endIcon && unref(isIconGlyph)(__props.item.endIcon) ? (openBlock(), createBlock(_sfc_main$3, {
|
|
200
211
|
key: 1,
|
|
201
212
|
icon: __props.item.endIcon,
|
|
202
213
|
size: "sm"
|
|
203
|
-
}, null, 8, ["icon"])) : __props.item.endIcon ? (openBlock(), createElementBlock("span",
|
|
214
|
+
}, null, 8, ["icon"])) : __props.item.endIcon ? (openBlock(), createElementBlock("span", _hoisted_17, [createElementVNode("i", {
|
|
204
215
|
class: normalizeClass(__props.item.endIcon),
|
|
205
216
|
"aria-hidden": "true"
|
|
206
217
|
}, null, 2)])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
207
218
|
], 12, _hoisted_4)]),
|
|
208
|
-
hasChildren.value && isExpanded.value ? (openBlock(), createElementBlock("ul",
|
|
219
|
+
hasChildren.value && isExpanded.value ? (openBlock(), createElementBlock("ul", _hoisted_18, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.children, (child, index) => {
|
|
209
220
|
return openBlock(), createBlock(_component_TreeListItem, {
|
|
210
221
|
key: child.id,
|
|
211
222
|
item: child,
|
|
@@ -240,6 +251,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
240
251
|
});
|
|
241
252
|
//#endregion
|
|
242
253
|
//#region src/TreeList/useTreeFocus.ts
|
|
254
|
+
const DEFAULT_ITEM_SELECTOR = "[role=\"treeitem\"]";
|
|
255
|
+
const TYPEAHEAD_RESET_MS = 500;
|
|
243
256
|
const NAVIGATION_KEYS = /* @__PURE__ */ new Set([
|
|
244
257
|
"ArrowDown",
|
|
245
258
|
"ArrowUp",
|
|
@@ -253,26 +266,48 @@ const NAVIGATION_KEYS = /* @__PURE__ */ new Set([
|
|
|
253
266
|
function isRtl(element) {
|
|
254
267
|
return element != null && getComputedStyle(element).direction === "rtl";
|
|
255
268
|
}
|
|
269
|
+
/**
|
|
270
|
+
* 树形控件的方向键焦点:上下 Home End 在可见节点间线性走(跳过停用项),
|
|
271
|
+
* 左右走树的语义(展开收起、进第一个子节点、回父节点),Enter 和空格激活,
|
|
272
|
+
* 敲字符走 typeahead。方向键横过来时看容器的书写方向,RTL 里左右对调。
|
|
273
|
+
*/
|
|
256
274
|
function useTreeFocus(options) {
|
|
257
275
|
const treeRef = ref(null);
|
|
258
276
|
const typeahead = {
|
|
259
277
|
buffer: "",
|
|
260
278
|
timer: void 0
|
|
261
279
|
};
|
|
280
|
+
const hasRovingTabIndex = options.hasRovingTabIndex === true;
|
|
262
281
|
function items() {
|
|
263
282
|
const root = treeRef.value;
|
|
264
283
|
if (root == null) return [];
|
|
265
|
-
return [...root.querySelectorAll(
|
|
284
|
+
return [...root.querySelectorAll(options.itemSelector ?? DEFAULT_ITEM_SELECTOR)];
|
|
266
285
|
}
|
|
267
286
|
function disabled(item) {
|
|
287
|
+
if (options.isItemDisabled != null) return options.isItemDisabled(item);
|
|
268
288
|
return item.dataset.treeDisabled === "true" || item.getAttribute("aria-disabled") === "true";
|
|
269
289
|
}
|
|
270
290
|
function levelOf(item) {
|
|
291
|
+
if (options.getLevel != null) return options.getLevel(item);
|
|
271
292
|
return Number(item.getAttribute("aria-level") ?? "1");
|
|
272
293
|
}
|
|
294
|
+
/** 树节点的 id:优先 `data-tree-id`,退回元素自己的 `id`。 */
|
|
295
|
+
function idOf(item) {
|
|
296
|
+
const id = item.dataset.treeId ?? item.id;
|
|
297
|
+
return id == null || id === "" ? void 0 : id;
|
|
298
|
+
}
|
|
299
|
+
function syncTabStops() {
|
|
300
|
+
const list = items();
|
|
301
|
+
const active = document.activeElement;
|
|
302
|
+
const selector = options.itemSelector ?? DEFAULT_ITEM_SELECTOR;
|
|
303
|
+
const current = active instanceof Element ? active.closest(selector) : null;
|
|
304
|
+
const owned = current != null && list.includes(current) ? current : list.find((item) => item.tabIndex === 0) ?? list.find((item) => !disabled(item));
|
|
305
|
+
for (const item of list) item.tabIndex = item === owned ? 0 : -1;
|
|
306
|
+
}
|
|
273
307
|
function focusItem(item) {
|
|
274
|
-
for (const candidate of items()) candidate.tabIndex = candidate === item ? 0 : -1;
|
|
308
|
+
if (hasRovingTabIndex) for (const candidate of items()) candidate.tabIndex = candidate === item ? 0 : -1;
|
|
275
309
|
item.focus();
|
|
310
|
+
options.onActiveChange?.(idOf(item));
|
|
276
311
|
}
|
|
277
312
|
function focusEnabledFrom(list, start, step) {
|
|
278
313
|
for (let index = start; index >= 0 && index < list.length; index += step) {
|
|
@@ -283,27 +318,21 @@ function useTreeFocus(options) {
|
|
|
283
318
|
}
|
|
284
319
|
}
|
|
285
320
|
}
|
|
286
|
-
|
|
287
|
-
const list = items();
|
|
288
|
-
const active = document.activeElement;
|
|
289
|
-
const current = active instanceof Element ? active.closest("[role=\"treeitem\"]") : null;
|
|
290
|
-
const owned = current != null && list.includes(current) ? current : list.find((item) => item.tabIndex === 0) ?? list.find((item) => !disabled(item));
|
|
291
|
-
for (const item of list) item.tabIndex = item === owned ? 0 : -1;
|
|
292
|
-
}
|
|
293
|
-
onMounted(syncTabStops);
|
|
321
|
+
if (hasRovingTabIndex) onMounted(syncTabStops);
|
|
294
322
|
function handleKeyDown(event) {
|
|
295
323
|
const list = items();
|
|
296
324
|
if (list.length === 0) return;
|
|
297
325
|
const active = document.activeElement;
|
|
298
|
-
const
|
|
326
|
+
const selector = options.itemSelector ?? DEFAULT_ITEM_SELECTOR;
|
|
327
|
+
const activeItem = active instanceof Element ? active.closest(selector) : null;
|
|
299
328
|
const currentIndex = list.findIndex((item) => item === activeItem);
|
|
300
329
|
const current = currentIndex >= 0 ? list[currentIndex] : void 0;
|
|
301
|
-
if (event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey && !NAVIGATION_KEYS.has(event.key)) {
|
|
330
|
+
if ((options.typeahead ?? true) && event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey && !NAVIGATION_KEYS.has(event.key)) {
|
|
302
331
|
typeahead.buffer += event.key.toLowerCase();
|
|
303
332
|
clearTimeout(typeahead.timer);
|
|
304
333
|
typeahead.timer = setTimeout(() => {
|
|
305
334
|
typeahead.buffer = "";
|
|
306
|
-
},
|
|
335
|
+
}, TYPEAHEAD_RESET_MS);
|
|
307
336
|
const query = typeahead.buffer;
|
|
308
337
|
const match = [...list.slice(currentIndex + 1), ...list.slice(0, currentIndex + 1)].find((item) => !disabled(item) && (item.textContent ?? "").trim().toLowerCase().startsWith(query));
|
|
309
338
|
if (match != null) {
|
|
@@ -328,8 +357,10 @@ function useTreeFocus(options) {
|
|
|
328
357
|
if (current == null) break;
|
|
329
358
|
event.preventDefault();
|
|
330
359
|
const expanded = current.getAttribute("aria-expanded");
|
|
331
|
-
if (expanded === "false")
|
|
332
|
-
|
|
360
|
+
if (expanded === "false") {
|
|
361
|
+
const id = idOf(current);
|
|
362
|
+
if (id != null) options.onToggleExpand?.(id);
|
|
363
|
+
} else if (expanded === "true") {
|
|
333
364
|
const next = list[currentIndex + 1];
|
|
334
365
|
if (next != null && levelOf(next) > levelOf(current)) focusItem(next);
|
|
335
366
|
}
|
|
@@ -338,8 +369,10 @@ function useTreeFocus(options) {
|
|
|
338
369
|
case "ArrowLeft":
|
|
339
370
|
if (current == null) break;
|
|
340
371
|
event.preventDefault();
|
|
341
|
-
if (current.getAttribute("aria-expanded") === "true")
|
|
342
|
-
|
|
372
|
+
if (current.getAttribute("aria-expanded") === "true") {
|
|
373
|
+
const id = idOf(current);
|
|
374
|
+
if (id != null) options.onToggleExpand?.(id);
|
|
375
|
+
} else {
|
|
343
376
|
const currentLevel = levelOf(current);
|
|
344
377
|
for (let index = currentIndex - 1; index >= 0; index -= 1) {
|
|
345
378
|
const candidate = list[index];
|
|
@@ -362,16 +395,32 @@ function useTreeFocus(options) {
|
|
|
362
395
|
case " ":
|
|
363
396
|
if (current == null || disabled(current)) break;
|
|
364
397
|
event.preventDefault();
|
|
365
|
-
if (!(options.onActivate?.(current) === true) && current.getAttribute("aria-expanded") != null)
|
|
398
|
+
if (!(options.onActivate?.(current, idOf(current)) === true) && current.getAttribute("aria-expanded") != null) {
|
|
399
|
+
const id = idOf(current);
|
|
400
|
+
if (id != null) options.onToggleExpand?.(id);
|
|
401
|
+
}
|
|
366
402
|
}
|
|
367
403
|
}
|
|
404
|
+
/** roving tabindex 打开时,点击或程序聚焦之后把停靠点对齐到当前项。 */
|
|
368
405
|
function handleFocus() {
|
|
406
|
+
if (!hasRovingTabIndex) return;
|
|
369
407
|
syncTabStops();
|
|
370
408
|
}
|
|
409
|
+
/** 聚焦第一个可用节点。 */
|
|
410
|
+
function focusFirst() {
|
|
411
|
+
focusEnabledFrom(items(), 0, 1);
|
|
412
|
+
}
|
|
413
|
+
/** 聚焦最后一个可用节点。 */
|
|
414
|
+
function focusLast() {
|
|
415
|
+
const list = items();
|
|
416
|
+
focusEnabledFrom(list, list.length - 1, -1);
|
|
417
|
+
}
|
|
371
418
|
return {
|
|
372
419
|
treeRef,
|
|
373
|
-
|
|
374
|
-
|
|
420
|
+
focusFirst,
|
|
421
|
+
focusLast,
|
|
422
|
+
handleFocus,
|
|
423
|
+
handleKeyDown
|
|
375
424
|
};
|
|
376
425
|
}
|
|
377
426
|
//#endregion
|
|
@@ -440,6 +489,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
440
489
|
}
|
|
441
490
|
const tabbableId = computed(() => initialTabbable(props.items));
|
|
442
491
|
const { treeRef, handleKeyDown, handleFocus } = useTreeFocus({
|
|
492
|
+
hasRovingTabIndex: true,
|
|
443
493
|
onToggleExpand: toggle,
|
|
444
494
|
onActivate: (current) => {
|
|
445
495
|
const candidates = current.querySelectorAll("a[href], button:not([data-tree-toggle])");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-
|
|
1
|
+
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-Bu8NA2SD.js";
|
|
2
2
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "../TypeaheadMenu-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { n as _sfc_main$2 } from "../TypeaheadMenu-DBW6rHeO.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-JP9RT87x.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|