@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,20 +1,21 @@
|
|
|
1
|
+
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
1
2
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
3
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
3
|
-
import { o as useAstryxMessages } from "./context-
|
|
4
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
4
5
|
import { t as useListFocus } from "./useListFocus-D0iOJl39.js";
|
|
5
|
-
import { n as _sfc_main$
|
|
6
|
-
import { t as _sfc_main$
|
|
7
|
-
import { n as resolveNavRoot } from "./link-
|
|
8
|
-
import { t as _sfc_main$
|
|
9
|
-
import { n as navMenuCloseKey, t as _sfc_main$
|
|
10
|
-
import { n as _sfc_main$
|
|
11
|
-
import { t as _sfc_main$
|
|
12
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, normalizeClass, normalizeProps, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, withCtx, withDirectives, withModifiers } from "vue";
|
|
6
|
+
import { n as _sfc_main$9, r as mobileNavKey, t as _sfc_main$8 } from "./MobileNavToggle-DxGz0xKA.js";
|
|
7
|
+
import { t as _sfc_main$10 } from "./Icon-bteSId7T.js";
|
|
8
|
+
import { n as resolveNavRoot } from "./link-C4_WogdF.js";
|
|
9
|
+
import { t as _sfc_main$11 } from "./NavItem-BBIGSvDj.js";
|
|
10
|
+
import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-C_fugrQ3.js";
|
|
11
|
+
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-BvJNsDFC.js";
|
|
12
|
+
import { t as _sfc_main$15 } from "./NavHeadingSurface-B3yJspSN.js";
|
|
13
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
13
14
|
import "../styles/top-nav.css";
|
|
14
15
|
//#region src/TopNav/TopNav.vue
|
|
15
|
-
const _hoisted_1$
|
|
16
|
-
const _hoisted_2$
|
|
17
|
-
const _hoisted_3$
|
|
16
|
+
const _hoisted_1$5 = ["aria-label"];
|
|
17
|
+
const _hoisted_2$5 = { class: "astryx-top-nav__start" };
|
|
18
|
+
const _hoisted_3$5 = {
|
|
18
19
|
key: 0,
|
|
19
20
|
class: "astryx-top-nav__heading"
|
|
20
21
|
};
|
|
@@ -22,14 +23,14 @@ const _hoisted_4$4 = {
|
|
|
22
23
|
key: 1,
|
|
23
24
|
class: "astryx-top-nav__items"
|
|
24
25
|
};
|
|
25
|
-
const _hoisted_5$
|
|
26
|
+
const _hoisted_5$2 = {
|
|
26
27
|
key: 0,
|
|
27
28
|
class: "astryx-top-nav__center"
|
|
28
29
|
};
|
|
29
|
-
const _hoisted_6
|
|
30
|
-
const _hoisted_7
|
|
31
|
-
const _hoisted_8
|
|
32
|
-
const _sfc_main$
|
|
30
|
+
const _hoisted_6 = { class: "astryx-top-nav__end" };
|
|
31
|
+
const _hoisted_7 = { class: "astryx-top-nav__drawer" };
|
|
32
|
+
const _hoisted_8 = { class: "astryx-top-nav__drawer" };
|
|
33
|
+
const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
33
34
|
name: "AstryxTopNav",
|
|
34
35
|
__name: "TopNav",
|
|
35
36
|
props: {
|
|
@@ -61,36 +62,36 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
61
62
|
class: normalizeClass(["astryx-top-nav", { "astryx-top-nav--centered": hasCenter.value && !isCompact.value }]),
|
|
62
63
|
"aria-label": label.value
|
|
63
64
|
}, [
|
|
64
|
-
createElementVNode("div", _hoisted_2$
|
|
65
|
-
hasCenter.value && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
66
|
-
createElementVNode("div", _hoisted_6
|
|
65
|
+
createElementVNode("div", _hoisted_2$5, [unref(slots).heading ? (openBlock(), createElementBlock("div", _hoisted_3$5, [renderSlot(_ctx.$slots, "heading")])) : createCommentVNode("v-if", true), !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [renderSlot(_ctx.$slots, "start"), renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)]),
|
|
66
|
+
hasCenter.value && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "center")])) : createCommentVNode("v-if", true),
|
|
67
|
+
createElementVNode("div", _hoisted_6, [renderSlot(_ctx.$slots, "end"), showShellToggle.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
67
68
|
key: 0,
|
|
68
69
|
"is-open": unref(shell).isMobileNavOpen,
|
|
69
70
|
controls: unref(shell).mobileNavId,
|
|
70
71
|
"onUpdate:isOpen": setShellOpen
|
|
71
|
-
}, null, 8, ["is-open", "controls"])) : ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$
|
|
72
|
+
}, null, 8, ["is-open", "controls"])) : ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
72
73
|
key: 1,
|
|
73
74
|
"is-open": mobileOpen.value,
|
|
74
75
|
"onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => mobileOpen.value = $event),
|
|
75
76
|
controls: drawerId
|
|
76
77
|
}, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])
|
|
77
|
-
], 10, _hoisted_1$
|
|
78
|
+
], 10, _hoisted_1$5),
|
|
78
79
|
shellCompact.value && hasDrawer.value ? (openBlock(), createBlock(Teleport, {
|
|
79
80
|
key: 0,
|
|
80
81
|
to: `#${unref(shell).mobileNavId}-items`
|
|
81
|
-
}, [createElementVNode("div", _hoisted_7
|
|
82
|
+
}, [createElementVNode("div", _hoisted_7, [
|
|
82
83
|
renderSlot(_ctx.$slots, "start"),
|
|
83
84
|
renderSlot(_ctx.$slots, "default"),
|
|
84
85
|
renderSlot(_ctx.$slots, "center")
|
|
85
86
|
])], 8, ["to"])) : createCommentVNode("v-if", true),
|
|
86
|
-
ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$
|
|
87
|
+
ownsDrawer.value && hasDrawer.value ? (openBlock(), createBlock(_sfc_main$9, {
|
|
87
88
|
key: 1,
|
|
88
89
|
id: drawerId,
|
|
89
90
|
"is-open": mobileOpen.value,
|
|
90
91
|
"onUpdate:isOpen": _cache[1] || (_cache[1] = ($event) => mobileOpen.value = $event),
|
|
91
92
|
label: label.value
|
|
92
93
|
}, {
|
|
93
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_8
|
|
94
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_8, [
|
|
94
95
|
renderSlot(_ctx.$slots, "start"),
|
|
95
96
|
renderSlot(_ctx.$slots, "default"),
|
|
96
97
|
renderSlot(_ctx.$slots, "center")
|
|
@@ -103,7 +104,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
103
104
|
});
|
|
104
105
|
//#endregion
|
|
105
106
|
//#region src/TopNav/TopNavHeading.vue
|
|
106
|
-
const _sfc_main$
|
|
107
|
+
const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
107
108
|
name: "AstryxTopNavHeading",
|
|
108
109
|
__name: "TopNavHeading",
|
|
109
110
|
props: {
|
|
@@ -122,7 +123,7 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
|
122
123
|
const slots = useSlots();
|
|
123
124
|
const headingHref = computed(() => props.headingHref ?? props.href);
|
|
124
125
|
return (_ctx, _cache) => {
|
|
125
|
-
return openBlock(), createBlock(_sfc_main$
|
|
126
|
+
return openBlock(), createBlock(_sfc_main$15, {
|
|
126
127
|
kind: "top",
|
|
127
128
|
as: __props.as,
|
|
128
129
|
heading: __props.heading,
|
|
@@ -163,7 +164,7 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
|
163
164
|
});
|
|
164
165
|
//#endregion
|
|
165
166
|
//#region src/TopNav/TopNavItem.vue
|
|
166
|
-
const _sfc_main$
|
|
167
|
+
const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
167
168
|
name: "AstryxTopNavItem",
|
|
168
169
|
__name: "TopNavItem",
|
|
169
170
|
props: {
|
|
@@ -193,7 +194,7 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
193
194
|
const emit = __emit;
|
|
194
195
|
const inDrawer = inject(mobileNavKey, false);
|
|
195
196
|
return (_ctx, _cache) => {
|
|
196
|
-
return openBlock(), createBlock(_sfc_main$
|
|
197
|
+
return openBlock(), createBlock(_sfc_main$11, {
|
|
197
198
|
class: normalizeClass(["astryx-top-nav-item", { "astryx-top-nav-item--drawer": unref(inDrawer) }]),
|
|
198
199
|
as: __props.as,
|
|
199
200
|
block: unref(inDrawer),
|
|
@@ -225,29 +226,66 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
225
226
|
}
|
|
226
227
|
});
|
|
227
228
|
//#endregion
|
|
229
|
+
//#region src/TopNav/TopNavMegaMenuPanel.vue
|
|
230
|
+
const _hoisted_1$4 = ["aria-label"];
|
|
231
|
+
const _hoisted_2$4 = { class: "astryx-top-nav-mega__items" };
|
|
232
|
+
const _hoisted_3$4 = {
|
|
233
|
+
key: 0,
|
|
234
|
+
class: "astryx-top-nav-mega__featured"
|
|
235
|
+
};
|
|
236
|
+
const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
237
|
+
name: "AstryxTopNavMegaMenuPanel",
|
|
238
|
+
__name: "TopNavMegaMenuPanel",
|
|
239
|
+
props: {
|
|
240
|
+
label: {},
|
|
241
|
+
focusRequest: { default: null }
|
|
242
|
+
},
|
|
243
|
+
setup(__props) {
|
|
244
|
+
const props = __props;
|
|
245
|
+
const { listRef, handleKeyDown, focusFirst, focusLast } = useListFocus({
|
|
246
|
+
hasHomeEnd: true,
|
|
247
|
+
itemSelector: ".astryx-top-nav-mega-item",
|
|
248
|
+
wrap: true
|
|
249
|
+
});
|
|
250
|
+
listRef.value;
|
|
251
|
+
function applyFocus(request) {
|
|
252
|
+
if (request == null) return;
|
|
253
|
+
nextTick(() => {
|
|
254
|
+
if (request === "last") focusLast();
|
|
255
|
+
else focusFirst();
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
onMounted(() => applyFocus(props.focusRequest));
|
|
259
|
+
watch(() => props.focusRequest, applyFocus);
|
|
260
|
+
return (_ctx, _cache) => {
|
|
261
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" eslint-disable-next-line vue-a11y/no-static-element-interactions -- 方向键从内部链接冒泡上来;这一层只负责在面板里移动焦点。 "), createElementVNode("div", {
|
|
262
|
+
ref_key: "listRef",
|
|
263
|
+
ref: listRef,
|
|
264
|
+
class: "astryx-top-nav-mega__layout",
|
|
265
|
+
role: "group",
|
|
266
|
+
"aria-label": __props.label,
|
|
267
|
+
onKeydown: _cache[0] || (_cache[0] = (...args) => unref(handleKeyDown) && unref(handleKeyDown)(...args))
|
|
268
|
+
}, [createElementVNode("div", _hoisted_2$4, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_3$4, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)], 40, _hoisted_1$4)], 2112);
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
//#endregion
|
|
228
273
|
//#region src/TopNav/TopNavMegaMenu.vue
|
|
229
274
|
const _hoisted_1$3 = {
|
|
230
275
|
key: 0,
|
|
231
276
|
class: "astryx-top-nav-mega astryx-top-nav-mega--drawer"
|
|
232
277
|
};
|
|
233
278
|
const _hoisted_2$3 = ["aria-expanded"];
|
|
234
|
-
const _hoisted_3$3 = { class: "astryx-top-nav-mega__drawer" };
|
|
235
|
-
const _hoisted_4$3 = {
|
|
236
|
-
const _hoisted_5 = {
|
|
279
|
+
const _hoisted_3$3 = { class: "astryx-top-nav-mega__drawer-items" };
|
|
280
|
+
const _hoisted_4$3 = {
|
|
237
281
|
key: 0,
|
|
238
282
|
class: "astryx-top-nav-mega__featured"
|
|
239
283
|
};
|
|
240
|
-
const
|
|
284
|
+
const _hoisted_5$1 = [
|
|
241
285
|
"data-open",
|
|
242
286
|
"aria-expanded",
|
|
243
287
|
"aria-controls"
|
|
244
288
|
];
|
|
245
|
-
const _hoisted_7 = { class: "astryx-top-nav-mega__layout" };
|
|
246
|
-
const _hoisted_8 = ["aria-label"];
|
|
247
|
-
const _hoisted_9 = {
|
|
248
|
-
key: 0,
|
|
249
|
-
class: "astryx-top-nav-mega__featured"
|
|
250
|
-
};
|
|
251
289
|
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
252
290
|
name: "AstryxTopNavMegaMenu",
|
|
253
291
|
__name: "TopNavMegaMenu",
|
|
@@ -261,31 +299,29 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
261
299
|
const emit = __emit;
|
|
262
300
|
const inDrawer = inject(mobileNavKey, false);
|
|
263
301
|
const expanded = ref(false);
|
|
264
|
-
const
|
|
265
|
-
hasHomeEnd: true,
|
|
266
|
-
itemSelector: ".astryx-top-nav-mega-item",
|
|
267
|
-
orientation: "both",
|
|
268
|
-
wrap: true
|
|
269
|
-
});
|
|
270
|
-
listRef.value;
|
|
302
|
+
const drawerItemsId = `astryx-top-nav-mega-items-${useId()}`;
|
|
271
303
|
return (_ctx, _cache) => {
|
|
272
304
|
return unref(inDrawer) ? (openBlock(), createElementBlock("div", _hoisted_1$3, [createElementVNode("button", {
|
|
273
305
|
type: "button",
|
|
274
306
|
class: "astryx-top-nav-menu__drawer-trigger",
|
|
307
|
+
"aria-controls": drawerItemsId,
|
|
275
308
|
"aria-expanded": expanded.value ? "true" : "false",
|
|
276
309
|
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
277
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
310
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$10, {
|
|
278
311
|
icon: "chevronDown",
|
|
279
312
|
size: "sm",
|
|
280
313
|
class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
|
|
281
|
-
}, null, 8, ["class"])], 8, _hoisted_2$3), withDirectives(createElementVNode("div",
|
|
314
|
+
}, null, 8, ["class"])], 8, _hoisted_2$3), withDirectives(createElementVNode("div", {
|
|
315
|
+
id: drawerItemsId,
|
|
316
|
+
class: "astryx-top-nav-mega__drawer"
|
|
317
|
+
}, [createElementVNode("div", _hoisted_3$3, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$12, {
|
|
282
318
|
key: 1,
|
|
283
319
|
hover: "",
|
|
284
320
|
"panel-class": "astryx-top-nav-mega__panel",
|
|
285
321
|
"hide-delay": __props.hideDelay,
|
|
286
322
|
label: __props.label,
|
|
287
323
|
"show-delay": __props.showDelay,
|
|
288
|
-
onOpenChange: _cache[
|
|
324
|
+
onOpenChange: _cache[1] || (_cache[1] = ($event) => emit("openChange", $event))
|
|
289
325
|
}, {
|
|
290
326
|
trigger: withCtx(({ isOpen, panelId }) => [createElementVNode("button", {
|
|
291
327
|
type: "button",
|
|
@@ -294,23 +330,19 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
294
330
|
"aria-expanded": isOpen ? "true" : "false",
|
|
295
331
|
"aria-controls": panelId,
|
|
296
332
|
"aria-haspopup": "menu"
|
|
297
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
333
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$10, {
|
|
298
334
|
icon: "chevronDown",
|
|
299
335
|
size: "sm",
|
|
300
336
|
class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
|
|
301
|
-
}, null, 8, ["class"])], 8,
|
|
302
|
-
default: withCtx(() => [
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
onKeydown: _cache[1] || (_cache[1] = (...args) => unref(handleKeyDown) && unref(handleKeyDown)(...args))
|
|
311
|
-
}, [renderSlot(_ctx.$slots, "default")], 40, _hoisted_8),
|
|
312
|
-
_ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_9, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)
|
|
313
|
-
])]),
|
|
337
|
+
}, null, 8, ["class"])], 8, _hoisted_5$1)]),
|
|
338
|
+
default: withCtx(({ focusRequest }) => [createVNode(_sfc_main$4, {
|
|
339
|
+
"focus-request": focusRequest,
|
|
340
|
+
label: __props.label
|
|
341
|
+
}, {
|
|
342
|
+
featured: withCtx(() => [renderSlot(_ctx.$slots, "featured")]),
|
|
343
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
344
|
+
_: 3
|
|
345
|
+
}, 8, ["focus-request", "label"])]),
|
|
314
346
|
_: 3
|
|
315
347
|
}, 8, [
|
|
316
348
|
"hide-delay",
|
|
@@ -350,13 +382,16 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
350
382
|
setup(__props) {
|
|
351
383
|
const props = __props;
|
|
352
384
|
const closeMenu = inject(navMenuCloseKey, void 0);
|
|
385
|
+
const linkComponent = useLinkComponent();
|
|
353
386
|
const ctaHref = computed(() => {
|
|
354
387
|
if (!props.linkLabel) return void 0;
|
|
355
388
|
return props.linkHref || props.href;
|
|
356
389
|
});
|
|
357
390
|
const wholeHref = computed(() => ctaHref.value ? void 0 : props.href);
|
|
358
|
-
|
|
359
|
-
const
|
|
391
|
+
/** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
|
|
392
|
+
const customLink = computed(() => props.as ?? linkComponent.value);
|
|
393
|
+
const root = computed(() => wholeHref.value ? resolveNavRoot(wholeHref.value, false, customLink.value) : "div");
|
|
394
|
+
const ctaRoot = computed(() => ctaHref.value ? resolveNavRoot(ctaHref.value, false, customLink.value) : "span");
|
|
360
395
|
const imageIsDecorative = computed(() => props.image != null && !props.imageAlt);
|
|
361
396
|
function onNavigate() {
|
|
362
397
|
closeMenu?.();
|
|
@@ -365,7 +400,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
365
400
|
return openBlock(), createBlock(resolveDynamicComponent(root.value), {
|
|
366
401
|
class: normalizeClass(["astryx-top-nav-mega-card", { "astryx-top-nav-mega-card--static": !wholeHref.value }]),
|
|
367
402
|
href: wholeHref.value || void 0,
|
|
368
|
-
to: wholeHref.value &&
|
|
403
|
+
to: wholeHref.value && customLink.value != null ? wholeHref.value : void 0,
|
|
369
404
|
onClick: _cache[0] || (_cache[0] = ($event) => wholeHref.value ? onNavigate() : void 0)
|
|
370
405
|
}, {
|
|
371
406
|
default: withCtx(() => [__props.image ? (openBlock(), createElementBlock("img", {
|
|
@@ -382,7 +417,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
382
417
|
key: 1,
|
|
383
418
|
class: "astryx-top-nav-mega-card__link",
|
|
384
419
|
href: ctaHref.value,
|
|
385
|
-
to:
|
|
420
|
+
to: customLink.value != null ? ctaHref.value : void 0,
|
|
386
421
|
onClick: withModifiers(onNavigate, ["stop"])
|
|
387
422
|
}, {
|
|
388
423
|
default: withCtx(() => [createTextVNode(toDisplayString(__props.linkLabel) + " → ", 1)]),
|
|
@@ -406,9 +441,13 @@ const _hoisted_1$1 = {
|
|
|
406
441
|
class: "astryx-top-nav-mega-item__icon",
|
|
407
442
|
"aria-hidden": "true"
|
|
408
443
|
};
|
|
409
|
-
const _hoisted_2$1 = {
|
|
410
|
-
|
|
411
|
-
|
|
444
|
+
const _hoisted_2$1 = {
|
|
445
|
+
key: 0,
|
|
446
|
+
class: "astryx-top-nav-mega-item__glyph-box"
|
|
447
|
+
};
|
|
448
|
+
const _hoisted_3$1 = { class: "astryx-top-nav-mega-item__text" };
|
|
449
|
+
const _hoisted_4$1 = { class: "astryx-top-nav-mega-item__title" };
|
|
450
|
+
const _hoisted_5 = {
|
|
412
451
|
key: 0,
|
|
413
452
|
class: "astryx-top-nav-mega-item__description"
|
|
414
453
|
};
|
|
@@ -425,7 +464,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
425
464
|
setup(__props) {
|
|
426
465
|
const props = __props;
|
|
427
466
|
const closeMenu = inject(navMenuCloseKey, void 0);
|
|
428
|
-
const
|
|
467
|
+
const linkComponent = useLinkComponent();
|
|
468
|
+
/** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
|
|
469
|
+
const customLink = computed(() => props.as ?? linkComponent.value);
|
|
470
|
+
const root = computed(() => resolveNavRoot(props.href, false, customLink.value));
|
|
429
471
|
function onClick() {
|
|
430
472
|
closeMenu?.();
|
|
431
473
|
}
|
|
@@ -433,15 +475,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
433
475
|
return openBlock(), createBlock(resolveDynamicComponent(root.value), {
|
|
434
476
|
class: "astryx-top-nav-mega-item",
|
|
435
477
|
href: __props.href || void 0,
|
|
436
|
-
to: __props.href &&
|
|
478
|
+
to: __props.href && customLink.value != null ? __props.href : void 0,
|
|
437
479
|
type: __props.href ? void 0 : "button",
|
|
438
|
-
tabindex: "-1",
|
|
439
480
|
onClick
|
|
440
481
|
}, {
|
|
441
|
-
default: withCtx(() => [__props.iconClass || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", {
|
|
442
|
-
key: 0,
|
|
443
|
-
class: normalizeClass(["astryx-top-nav-mega-item__glyph", __props.iconClass])
|
|
444
|
-
}, null, 2)) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2$1, [createElementVNode("span", _hoisted_3$1, toDisplayString(__props.title), 1), __props.description ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
|
|
482
|
+
default: withCtx(() => [__props.iconClass || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", _hoisted_2$1, [createElementVNode("span", { class: normalizeClass(["astryx-top-nav-mega-item__glyph", __props.iconClass]) }, null, 2)])) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_3$1, [createElementVNode("span", _hoisted_4$1, toDisplayString(__props.title), 1), __props.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
|
|
445
483
|
_: 3
|
|
446
484
|
}, 8, [
|
|
447
485
|
"href",
|
|
@@ -484,12 +522,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
484
522
|
class: "astryx-top-nav-menu__drawer-trigger",
|
|
485
523
|
"aria-expanded": expanded.value ? "true" : "false",
|
|
486
524
|
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
487
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
525
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$10, {
|
|
488
526
|
icon: "chevronDown",
|
|
489
527
|
size: "sm",
|
|
490
528
|
class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
|
|
491
529
|
}, null, 8, ["class"])], 8, _hoisted_2), withDirectives(createElementVNode("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
492
|
-
return openBlock(), createBlock(_sfc_main$
|
|
530
|
+
return openBlock(), createBlock(_sfc_main$13, {
|
|
493
531
|
key: item.id ?? item.label,
|
|
494
532
|
description: item.description,
|
|
495
533
|
href: item.href,
|
|
@@ -504,7 +542,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
504
542
|
"is-disabled",
|
|
505
543
|
"label"
|
|
506
544
|
]);
|
|
507
|
-
}), 128)), renderSlot(_ctx.$slots, "default")], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$
|
|
545
|
+
}), 128)), renderSlot(_ctx.$slots, "default")], 512), [[vShow, expanded.value]])])) : (openBlock(), createBlock(_sfc_main$12, {
|
|
508
546
|
key: 1,
|
|
509
547
|
hover: "",
|
|
510
548
|
"hide-delay": __props.hideDelay,
|
|
@@ -519,18 +557,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
519
557
|
"aria-expanded": isOpen ? "true" : "false",
|
|
520
558
|
"aria-controls": panelId,
|
|
521
559
|
"aria-haspopup": "menu"
|
|
522
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
560
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$10, {
|
|
523
561
|
icon: "chevronDown",
|
|
524
562
|
size: "sm",
|
|
525
563
|
class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
|
|
526
564
|
}, null, 8, ["class"])], 8, _hoisted_4)]),
|
|
527
|
-
default: withCtx(({ close, focusRequest }) => [createVNode(_sfc_main$
|
|
565
|
+
default: withCtx(({ close, focusRequest }) => [createVNode(_sfc_main$14, {
|
|
528
566
|
"focus-request": focusRequest,
|
|
529
567
|
label: __props.label,
|
|
530
568
|
onClose: close
|
|
531
569
|
}, {
|
|
532
570
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
533
|
-
return openBlock(), createBlock(_sfc_main$
|
|
571
|
+
return openBlock(), createBlock(_sfc_main$13, {
|
|
534
572
|
key: item.id ?? item.label,
|
|
535
573
|
description: item.description,
|
|
536
574
|
href: item.href,
|
|
@@ -561,4 +599,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
561
599
|
}
|
|
562
600
|
});
|
|
563
601
|
//#endregion
|
|
564
|
-
export { _sfc_main$
|
|
602
|
+
export { _sfc_main$5 as a, _sfc_main$3 as i, _sfc_main$1 as n, _sfc_main$6 as o, _sfc_main$2 as r, _sfc_main$7 as s, _sfc_main as t };
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-DeQwYJbg.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-BUz-KZJd.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|