@astryx-vue/core 0.21.0 → 0.23.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/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-0UUojm_Q.js → AlertDialog-DXOTr1D7.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-6rvfUu8p.js → AppShell-Cmu6bMY6.js} +76 -21
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CXpGcula.js → Avatar-dMcn3j8Z.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-fmkd6nXw.js → Banner-CTY9qV89.js} +2 -2
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DrKtyVVo.js → BottomSheet-DyJJtZZU.js} +5 -5
- package/dist/{BottomSheet-DqAuZBgA.js → BottomSheet-ZOjuZya0.js} +3 -3
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-uaApwhFB.js → Breadcrumbs-mlCoLtma.js} +5 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-CQAjaQa0.js → Button-TiYG0btL.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +3 -2
- package/dist/Calendar-B6TZYEge.js +105 -0
- package/dist/{Calendar-ydp0vJdO.js → Calendar-CUMnYIhe.js} +182 -257
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-BbKFHWuD.js → Card-D_OJxmwD.js} +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-C3O9Uavl.js → Carousel-DsXup1mZ.js} +2 -2
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CmjK6fBy.js → Chat-DqYT_S9M.js} +7 -6
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-D6ow4VuS.js → CheckboxInput-BNwTTDHu.js} +3 -3
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CPaRsgRQ.js → CheckboxList-BLY16jPG.js} +3 -3
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CSgRYxGU.js → Citation-Ijf06x0V.js} +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DMX5z-QV.js → ClickableCard-CVQ7XS4L.js} +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-rmiC0XfO.js → Code-5rZyPwty.js} +1 -1
- package/dist/{CodeBlock-DMG9rLQN.js → CodeBlock-5KoJDvWd.js} +3 -3
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BVoNZijw.js → Collapsible-B1qW6OuL.js} +3 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CmOytlWq.js → CommandPalette-B2riNg_7.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-mfEoIHtI.js → ComplexSelector-CVCIsgAU.js} +4 -4
- package/dist/{ComponentIcon-BRXBBKeG.js → ComponentIcon-Dw4xQxg3.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DDvOR25x.js → ContextMenu-DYLdP-Ok.js} +7 -7
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-pDh6H44y.js → DateInput-D9Jv70H7.js} +1210 -108
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-CQDfoXX5.js → DateRangeInput-BsB2kg_q.js} +75 -55
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CZjere9H.js → DateTimeInput-BDyKPKGD.js} +26 -13
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-XIB0KZ-m.js → Dialog-DUlWQH8R.js} +1 -1
- package/dist/{Dialog-BRlZ7n83.js → Dialog-JCB5s-T-.js} +4 -4
- package/dist/{DialogHeader-DF6jFDq3.js → DialogHeader-C6hZZxdv.js} +3 -3
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BYUELPLs.js → Drawer-BDuiw1-g.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BBXFl5Mu.js → DropdownMenu-BVEOMFwc.js} +9 -9
- package/dist/{DropdownMenu-DY3yFENC.js → DropdownMenu-PjqSkkQs.js} +6 -6
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-cs-L9Ovg.js → EmptyState-CnFkYtcS.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-BQ3q-K5D.js → Field-D4UmRHlD.js} +2 -2
- package/dist/{FieldIcon-DMtfe1Ne.js → FieldIcon-BU1ZWAuo.js} +1 -1
- package/dist/{FieldInfoTip-MgGzYEq0.js → FieldInfoTip-BSqcEcUx.js} +2 -2
- package/dist/{FieldLabel-yH6KAVyU.js → FieldLabel-CZbayYFD.js} +2 -2
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-DSUCli4W.js → FieldStatus-DmCWPT6U.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-R8CqJrA5.js → FileInput-8oYiJsq_.js} +4 -4
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Grid/index.js +1 -1
- package/dist/{Grid-C0mp7fha.js → Grid-DTnDDT0Q.js} +2 -2
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-DkCkHEG-.js → Heading-COtyAhtB.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-D0KqUCXI.js → HoverCard-DGlOpk4x.js} +4 -4
- package/dist/Icon/index.js +3 -3
- package/dist/{Icon-BCHo7W0x.js → Icon-Dk0jccgU.js} +2 -1
- package/dist/{Icon-B2aULLnn.js → Icon-M1Rlknd0.js} +2 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DR9_545-.js → IconButton-CwjHTIBg.js} +1 -1
- package/dist/Indicator/index.js +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BfgtAgck.js → InfoTip-CNZateDb.js} +2 -2
- package/dist/{InputClearButton-DaFtlyKR.js → InputClearButton-CzCP41sx.js} +2 -2
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-1CLPKULR.js → InputGroup-CfUGHDNz.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-Ddo_-tLK.js → InternationalizationProvider-DaZS5Dch.js} +5 -2
- package/dist/{LayerContentBoundary-lxUfJk2v.js → LayerContentBoundary-LCQLyxBT.js} +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DP2vrvTv.js → Layout-DOIeCgs4.js} +2 -2
- package/dist/{LayoutPanel-DuroKU_A.js → LayoutPanel-C7Wsid2W.js} +34 -14
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DyaSfJix.js → Lightbox-Dzzd2Vqe.js} +4 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-JVAfvoxT.js → Link-B7OJQ0zl.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DtnPfhP0.js → Markdown-Cbj-nqhN.js} +4 -4
- package/dist/{MediaTheme-DfcdEWx-.js → MediaTheme-UM8oOqwX.js} +1 -1
- package/dist/MobileNav/index.js +2 -1
- package/dist/{MobileNavToggle-CPNsCIFR.js → MobileNavToggle-BlcdCg8M.js} +6 -8
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DQjrchg5.js → MoreMenu-DAhOiau3.js} +5 -5
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-sJ-LUrze.js → MultiSelector-ERv5u6r4.js} +11 -10
- package/dist/{NavDisclosure-CE79mxpa.js → NavDisclosure-CqAThYgR.js} +13 -4
- package/dist/{NavHeadingSurface-EsNdvhx7.js → NavHeadingSurface-DJ4pWvEi.js} +16 -15
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-_Mo1yWZC.js → NavMenu-BtA_Xbmr.js} +8 -6
- package/dist/{NavMenuItem-CDHKFOKi.js → NavMenuItem-BxfjAf1T.js} +7 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Bpc2c39W.js → NumberInput-Bl5TFhGD.js} +5 -5
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-Dx_Iw8xd.js → OverflowList-CumJl6X_.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-D7sbjDKw.js → Pagination-DuTUReOl.js} +271 -135
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Bhi0b1x0.js → Popover-DpR4rwiW.js} +6 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-B13bgXSs.js → PowerSearch-CewQJzEt.js} +34 -33
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-BtEaKOhz.js → ProgressBar-Dp-0xquN.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CFqN0t92.js → RadioGroup-DrCL5-AN.js} +3 -3
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DVNkGcpc.js → RadioList-CRi4E1zq.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-4-krI-cQ.js → ResizeHandle-BMSbAFdP.js} +43 -27
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-DUTtyApJ.js → SelectableCard-Dp-LsEcf.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-sGqS3qNy.js → Selector-D6yzPO5O.js} +9 -9
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-Dw9MydVe.js → SideNav-z_6FwEJy.js} +13 -58
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BkVTjzrx.js → Slider-DMHlRq7q.js} +2 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-D4S8b-FU.js → StatusDot-B3oOyRF7.js} +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CQd4YlPC.js → Stepper-CgOdL36_.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DU-MRs1W.js → Switch-OPRkoPLi.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-CmB55DUS.js → TabList-FkoypUk0.js} +62 -23
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BUh0OjeU.js → Table-CCjpL_Ku.js} +16 -16
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BBQUFWb_.js → Text-v1ep26uD.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BVppzw5n.js → TextArea-BilHnmSs.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CmxKsaUt.js → TextInput-D6tHM2sA.js} +4 -4
- package/dist/Theme/index.js +3 -2
- package/dist/{Theme-1RJVaRgz.js → Theme-BmTbbiAD.js} +6 -22
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-_KR0IRj-.js → Thumbnail-llGdnQM8.js} +3 -3
- package/dist/{TimeField-Dbr2MOqX.js → TimeField-C5rcoaVu.js} +7 -7
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-hzZ3tuAw.js → TimeInput-D0N8nwrI.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-UnFtEgGb.js → Timer-65PfuoQ7.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +2 -2
- package/dist/{Timestamp-DiPZTa4W.js → Timestamp-rYC8mE3r.js} +20 -12
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-kV5KuJdD.js → Toast-BtQ-4Y6Z.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DZ3n-izd.js → ToggleButton-DTrNL430.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-e8BisAF8.js → Tokenizer-DdddkJb1.js} +6 -5
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-B4Vltu-j.js → Toolbar-DSWH8ll4.js} +25 -2
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CPyoc4cM.js → Tooltip-CByjfHBZ.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-OOGD2uOp.js → TopNav-C1wpttKX.js} +168 -61
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DJQvL5tG.js → TreeList-DOAcS3PM.js} +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead--CFFYPMl.js → Typeahead-6y_r-VNU.js} +6 -6
- package/dist/adaptationTypes-Beao49TN.js +19 -0
- package/dist/{assertOptions-DLEhkmM-.js → assertOptions-og3t30Fh.js} +2 -1
- package/dist/calendar-C7py_wtb.js +351 -0
- package/dist/calendarFormat-_CEZIMZG.js +123 -0
- package/dist/closeOnActivate-D1KgKWwm.js +13 -0
- package/dist/{componentIcons-CFr2L6o3.js → componentIcons-BBJqmilP.js} +1 -1
- package/dist/composables/index.js +11 -11
- package/dist/{composables-DSx0MWv0.js → composables-COCeg92e.js} +2 -2
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/{context-CjX2RSDn.js → context-D-Hwh-Jf.js} +1 -1
- package/dist/context-D8MAZio1.js +7 -0
- package/dist/{date-input-rUD8YAow.js → date-input-CRdc2H3c.js} +6 -2
- package/dist/focusLeaving-Dqm8Yj4T.js +53 -0
- package/dist/{focusReturn-CiSQAp52.js → focusReturn-C1cFL3WM.js} +1 -1
- package/dist/{format-mffyPc-L.js → format-6G9QuGy1.js} +12 -4
- package/dist/{formatInstant-BDWUIxS7.js → formatInstant-CjCwl6JS.js} +8 -6
- package/dist/{index-PffxihMx.d.ts → index-B3U6GJKl.d.ts} +2 -2
- package/dist/{index-DSoQE84m.d.ts → index-B5MCvW75.d.ts} +229 -57
- package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
- package/dist/{index-C3FgFPrM.d.ts → index-BDJQW9cW.d.ts} +10 -10
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-BTljzczH.d.ts → index-C-kIxNCq.d.ts} +8 -11
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-Cm36VS1A.d.ts → index-C9uW39Mj.d.ts} +1 -1
- package/dist/{index-FeZXsFO-.d.ts → index-CBOv5j3c.d.ts} +3 -3
- package/dist/{index-DFLPv9io.d.ts → index-CP-fJFcJ.d.ts} +1 -1
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-BdZCLUgY.d.ts → index-CnVjgLP5.d.ts} +9 -1
- package/dist/{index-DB1EP38S.d.ts → index-CpLLSVCn.d.ts} +8 -6
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/{index-B1eCxBCY.d.ts → index-DCyYldjP.d.ts} +7 -1
- package/dist/{index-B8K2sDmO.d.ts → index-DXHmlFcC.d.ts} +2 -2
- package/dist/{index-fd--aE4B.d.ts → index-DbNGGCM0.d.ts} +4 -3
- package/dist/{index-BOzyKBg8.d.ts → index-Dc6mU3rv.d.ts} +3 -3
- package/dist/{index-BL4mH8aK.d.ts → index-NOxH5oYj.d.ts} +4 -3
- package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
- package/dist/{index-CNzSg1OM.d.ts → index-SRA6e30Q.d.ts} +5 -5
- package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
- package/dist/{index-Dge6tyPE.d.ts → index-ZKBj_1nu.d.ts} +1 -1
- package/dist/{index-BZNoML0r.d.ts → index-ZT45ZWd5.d.ts} +7 -7
- package/dist/{index-CQ-sq76o.d.ts → index-_FjbcSgD.d.ts} +8 -2
- package/dist/{index-fz8XqpNd.d.ts → index-beOIC0Qk.d.ts} +13 -0
- package/dist/{index-DFTrqCmp.d.ts → index-nk2xIHpr.d.ts} +1 -1
- package/dist/index.d.ts +31 -31
- package/dist/index.js +117 -116
- package/dist/inputPresentation-DES0JwkL.js +203 -0
- package/dist/interactionModality-CedLz5PC.js +130 -0
- package/dist/{interactionModality-JFDvbtbb.js → layerDepth-D3Rh8T5C.js} +1 -125
- package/dist/{layerFocusReturn-DJ5mlqYj.js → layerFocusReturn-KvH6DMFT.js} +1 -1
- package/dist/{loadCatalog-DsEKSY3U.js → loadCatalog-BeQt6Uq-.js} +9 -1
- package/dist/{loadCatalog-C4h9SmJs.d.ts → loadCatalog-C8mRnC0E.d.ts} +5 -1
- package/dist/locale/index.d.ts +4 -4
- package/dist/locale/index.js +4 -4
- package/dist/{locale-C-Y-13BP.js → locale-B4FpGKpc.js} +6 -2
- package/dist/{dateParser-BKoaawL9.js → plainDate-CaTDErKr.js} +1 -132
- package/dist/{power-search-CqcsJT1F.d.ts → power-search-CuMzfLwW.d.ts} +13 -1
- package/dist/resizableChannel-LElsNkSY.js +33 -0
- package/dist/{stillPointerGate-BTISispN.js → stillPointerGate-1Tgkns0J.js} +1 -1
- package/dist/{themeIcons-CqGF0fwW.js → themeIcons-1O7ymucc.js} +1 -7
- package/dist/{tooltipFocusRules-DPsyi9L5.js → tooltipFocusRules-vIH7PZh1.js} +3 -2
- package/dist/{tooltipTriggerRules-Dazz57_v.js → tooltipTriggerRules-DoBAbfGc.js} +1 -1
- package/dist/{triggerVariant-BDVvyLtv.js → triggerVariant-DG0VhG-X.js} +1 -1
- package/dist/useCalendarGrid-0WvxbeFC.js +179 -0
- package/dist/{useCombobox-DTDT9dRx.js → useCombobox-BqkTY3bw.js} +1 -1
- package/dist/{useDismiss-N66C48zd.js → useDismiss-CMIsdIOQ.js} +1 -1
- package/dist/{useFocusTrap-DzspshsM.js → useFocusTrap-DTz_d7IP.js} +3 -2
- package/dist/{useIndicator--9mGGlT2.js → useIndicator-PFDBNOvX.js} +2 -2
- package/dist/{useInputStatusIcon-D1WRYTOZ.js → useInputStatusIcon-CrgeMzrf.js} +2 -2
- package/dist/{useMenuDrillIn-RZwY55RM.js → useMenuDrillIn-f3m-59Qb.js} +1 -1
- package/dist/{useMenuPress-Cm7LVmHJ.js → useMenuPress-wqRDvUMW.js} +2 -2
- package/dist/{useResizable-C9FtmPir.js → useResizable-hv4NYIUi.js} +6 -3
- package/dist/{useRestoreFocus-CEbfcwWb.js → useRestoreFocus-BxooFhas.js} +2 -2
- package/dist/{useTooltip-BfOruqIL.js → useTooltip-BwqzEtoF.js} +5 -5
- package/dist/{useTouchTriggerInternal-TQnpDkL0.js → useTouchTriggerInternal-Bdm_M4aa.js} +2 -1
- package/dist/{useTruncationTooltip-CbzoB-1m.js → useTruncationTooltip-CRhoPzeu.js} +4 -4
- package/dist/{useTypeahead-BGmDZyPB.js → useTypeahead-BGpvWkzm.js} +1 -1
- package/dist/{useTypeaheadMenuConfig-BZaduAP4.js → useTypeaheadMenuConfig-GvdIymRg.js} +2 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/reset.css +0 -19
- package/styles/app-shell.css +118 -1
- package/styles/aspect-ratio.css +4 -3
- package/styles/breadcrumbs.css +1 -0
- package/styles/collapsible.css +1 -0
- package/styles/layout.css +22 -5
- package/styles/nav-item.css +9 -3
- package/styles/nav-menu.css +3 -0
- package/styles/pagination.css +2 -2
- package/styles/resize-handle.css +64 -35
- package/styles/scrollable-area.css +13 -0
- package/styles/tab-list.css +7 -3
- package/styles/tab-menu.css +1 -0
- package/styles/toolbar.css +39 -3
- package/styles/top-nav.css +141 -11
- package/dist/inputPresentation-BOyHkCDr.js +0 -62
- package/dist/resizableChannel-3vivrEcT.js +0 -20
- package/dist/{index-5FGt4HsB.d.ts → index-BqhgeAT4.d.ts} +1 -1
|
@@ -1,36 +1,62 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
+
import { t as _sfc_main$9 } from "./Icon-Dk0jccgU.js";
|
|
2
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
|
+
import { a as trackInteractionModality, n as getLastPointerType, t as getInteractionModality } from "./interactionModality-CedLz5PC.js";
|
|
3
5
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
4
6
|
import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
5
7
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
6
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
9
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
8
|
-
import { n as _sfc_main$
|
|
10
|
+
import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-BlcdCg8M.js";
|
|
11
|
+
import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
|
|
12
|
+
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
9
13
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
10
|
-
import { t as _sfc_main$
|
|
11
|
-
import { n as navMenuCloseKey, t as _sfc_main$
|
|
12
|
-
import { n as _sfc_main$
|
|
13
|
-
import { t as _sfc_main$
|
|
14
|
-
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,
|
|
14
|
+
import { t as _sfc_main$12 } from "./NavItem-CB3loauj.js";
|
|
15
|
+
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-CqAThYgR.js";
|
|
16
|
+
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-BxfjAf1T.js";
|
|
17
|
+
import { t as _sfc_main$16 } from "./NavHeadingSurface-DJ4pWvEi.js";
|
|
18
|
+
import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
|
|
15
19
|
import "../styles/top-nav.css";
|
|
20
|
+
//#region src/MobileNav/MobileNavScope.vue
|
|
21
|
+
const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
22
|
+
name: "AstryxMobileNavScope",
|
|
23
|
+
__name: "MobileNavScope",
|
|
24
|
+
props: { close: { type: Function } },
|
|
25
|
+
setup(__props) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
provide(mobileNavKey, true);
|
|
28
|
+
provide(mobileNavCloseKey, () => props.close());
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return renderSlot(_ctx.$slots, "default");
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
16
35
|
//#region src/TopNav/TopNav.vue
|
|
17
|
-
const _hoisted_1$5 = ["aria-label"];
|
|
36
|
+
const _hoisted_1$5 = ["data-mode", "aria-label"];
|
|
18
37
|
const _hoisted_2$5 = { class: "astryx-top-nav__start" };
|
|
19
38
|
const _hoisted_3$5 = {
|
|
20
39
|
key: 0,
|
|
21
40
|
class: "astryx-top-nav__heading"
|
|
22
41
|
};
|
|
23
42
|
const _hoisted_4$4 = {
|
|
43
|
+
key: 0,
|
|
44
|
+
class: "astryx-top-nav__heading-text"
|
|
45
|
+
};
|
|
46
|
+
const _hoisted_5$3 = {
|
|
24
47
|
key: 1,
|
|
25
48
|
class: "astryx-top-nav__items"
|
|
26
49
|
};
|
|
27
|
-
const
|
|
50
|
+
const _hoisted_6$2 = {
|
|
28
51
|
key: 0,
|
|
29
52
|
class: "astryx-top-nav__center"
|
|
30
53
|
};
|
|
31
|
-
const
|
|
32
|
-
|
|
54
|
+
const _hoisted_7$1 = {
|
|
55
|
+
key: 1,
|
|
56
|
+
class: "astryx-top-nav__end"
|
|
57
|
+
};
|
|
33
58
|
const _hoisted_8 = { class: "astryx-top-nav__drawer" };
|
|
59
|
+
const _hoisted_9 = { class: "astryx-top-nav__drawer" };
|
|
34
60
|
const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
35
61
|
name: "AstryxTopNav",
|
|
36
62
|
__name: "TopNav",
|
|
@@ -49,9 +75,29 @@ const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
|
49
75
|
const shellCompact = computed(() => shell.isMobile && shell.isMobileNavEnabled);
|
|
50
76
|
const isCompact = computed(() => shellCompact.value || Boolean(props.mobileQuery) && queryMatches.value);
|
|
51
77
|
const ownsDrawer = computed(() => isCompact.value && !shellCompact.value);
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
78
|
+
function hasHeading() {
|
|
79
|
+
return hasSlotContent(slots.heading);
|
|
80
|
+
}
|
|
81
|
+
function hasCenter() {
|
|
82
|
+
return hasSlotContent(slots.center);
|
|
83
|
+
}
|
|
84
|
+
function hasStart() {
|
|
85
|
+
return hasSlotContent(slots.start) || hasSlotContent(slots.default);
|
|
86
|
+
}
|
|
87
|
+
function hasEnd() {
|
|
88
|
+
return hasSlotContent(slots.end);
|
|
89
|
+
}
|
|
90
|
+
function hasDrawer() {
|
|
91
|
+
return hasStart() || hasCenter();
|
|
92
|
+
}
|
|
93
|
+
/** 手机条上纯文字的标题没有能裁剪它的盒子,包一层把它收在一行内。 */
|
|
94
|
+
function headingIsPlainText() {
|
|
95
|
+
const nodes = slots.heading?.() ?? [];
|
|
96
|
+
return nodes.length > 0 && nodes.every((node) => node.type === Text);
|
|
97
|
+
}
|
|
98
|
+
function showShellToggle() {
|
|
99
|
+
return shellCompact.value && shell.hasAutoToggle && (hasDrawer() || shell.hasSideNav);
|
|
100
|
+
}
|
|
55
101
|
function setShellOpen(next) {
|
|
56
102
|
if (next) shell.openMobileNav();
|
|
57
103
|
else shell.closeMobileNav();
|
|
@@ -60,39 +106,47 @@ const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
|
60
106
|
return (_ctx, _cache) => {
|
|
61
107
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
62
108
|
createElementVNode("nav", {
|
|
63
|
-
class: normalizeClass(["astryx-top-nav", {
|
|
109
|
+
class: normalizeClass(["astryx-top-nav", {
|
|
110
|
+
"astryx-top-nav--centered": hasCenter() && !isCompact.value,
|
|
111
|
+
"astryx-top-nav--compact": isCompact.value
|
|
112
|
+
}]),
|
|
113
|
+
"data-mode": isCompact.value ? "mobile-bar" : void 0,
|
|
64
114
|
"aria-label": label.value
|
|
65
115
|
}, [
|
|
66
|
-
createElementVNode("div", _hoisted_2$5, [
|
|
67
|
-
hasCenter
|
|
68
|
-
|
|
116
|
+
createElementVNode("div", _hoisted_2$5, [hasHeading() ? (openBlock(), createElementBlock("div", _hoisted_3$5, [isCompact.value && headingIsPlainText() ? (openBlock(), createElementBlock("span", _hoisted_4$4, [renderSlot(_ctx.$slots, "heading")])) : renderSlot(_ctx.$slots, "heading", {}, void 0, void 0, 1)])) : createCommentVNode("v-if", true), !isCompact.value && hasStart() ? (openBlock(), createElementBlock("div", _hoisted_5$3, [renderSlot(_ctx.$slots, "start"), renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)]),
|
|
117
|
+
hasCenter() && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_6$2, [renderSlot(_ctx.$slots, "center")])) : createCommentVNode("v-if", true),
|
|
118
|
+
hasEnd() || showShellToggle() || ownsDrawer.value && hasDrawer() || hasCenter() && !isCompact.value ? (openBlock(), createElementBlock("div", _hoisted_7$1, [renderSlot(_ctx.$slots, "end"), showShellToggle() ? (openBlock(), createBlock(_sfc_main$10, {
|
|
69
119
|
key: 0,
|
|
70
120
|
"is-open": unref(shell).isMobileNavOpen,
|
|
71
121
|
controls: unref(shell).mobileNavId,
|
|
72
122
|
"onUpdate:isOpen": setShellOpen
|
|
73
|
-
}, null, 8, ["is-open", "controls"])) : ownsDrawer.value && hasDrawer
|
|
123
|
+
}, null, 8, ["is-open", "controls"])) : ownsDrawer.value && hasDrawer() ? (openBlock(), createBlock(_sfc_main$10, {
|
|
74
124
|
key: 1,
|
|
75
125
|
"is-open": mobileOpen.value,
|
|
76
126
|
"onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => mobileOpen.value = $event),
|
|
77
127
|
controls: drawerId
|
|
78
|
-
}, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])
|
|
128
|
+
}, null, 8, ["is-open"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
79
129
|
], 10, _hoisted_1$5),
|
|
80
|
-
shellCompact.value && hasDrawer
|
|
130
|
+
shellCompact.value && hasDrawer() ? (openBlock(), createBlock(Teleport, {
|
|
81
131
|
key: 0,
|
|
132
|
+
defer: "",
|
|
82
133
|
to: `#${unref(shell).mobileNavId}-items`
|
|
83
|
-
}, [
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
134
|
+
}, [createVNode(_sfc_main$8, { close: unref(shell).closeMobileNav }, {
|
|
135
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_8, [
|
|
136
|
+
renderSlot(_ctx.$slots, "start"),
|
|
137
|
+
renderSlot(_ctx.$slots, "default"),
|
|
138
|
+
renderSlot(_ctx.$slots, "center")
|
|
139
|
+
])]),
|
|
140
|
+
_: 3
|
|
141
|
+
}, 8, ["close"])], 8, ["to"])) : createCommentVNode("v-if", true),
|
|
142
|
+
ownsDrawer.value && hasDrawer() ? (openBlock(), createBlock(_sfc_main$11, {
|
|
89
143
|
key: 1,
|
|
90
144
|
id: drawerId,
|
|
91
145
|
"is-open": mobileOpen.value,
|
|
92
146
|
"onUpdate:isOpen": _cache[1] || (_cache[1] = ($event) => mobileOpen.value = $event),
|
|
93
147
|
label: label.value
|
|
94
148
|
}, {
|
|
95
|
-
default: withCtx(() => [createElementVNode("div",
|
|
149
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_9, [
|
|
96
150
|
renderSlot(_ctx.$slots, "start"),
|
|
97
151
|
renderSlot(_ctx.$slots, "default"),
|
|
98
152
|
renderSlot(_ctx.$slots, "center")
|
|
@@ -124,7 +178,7 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
124
178
|
const slots = useSlots();
|
|
125
179
|
const headingHref = computed(() => props.headingHref ?? props.href);
|
|
126
180
|
return (_ctx, _cache) => {
|
|
127
|
-
return openBlock(), createBlock(_sfc_main$
|
|
181
|
+
return openBlock(), createBlock(_sfc_main$16, {
|
|
128
182
|
kind: "top",
|
|
129
183
|
as: __props.as,
|
|
130
184
|
heading: __props.heading,
|
|
@@ -135,12 +189,12 @@ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
|
135
189
|
superheading: __props.superheading,
|
|
136
190
|
"superheading-href": __props.superheadingHref
|
|
137
191
|
}, createSlots({ _: 2 }, [
|
|
138
|
-
unref(slots).logo || unref(slots).icon ? {
|
|
192
|
+
unref(hasSlotContent)(unref(slots).logo) || unref(hasSlotContent)(unref(slots).icon) ? {
|
|
139
193
|
name: "icon",
|
|
140
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "logo"), !unref(slots).logo ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : createCommentVNode("v-if", true)]),
|
|
194
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "logo"), !unref(hasSlotContent)(unref(slots).logo) ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : createCommentVNode("v-if", true)]),
|
|
141
195
|
key: "0"
|
|
142
196
|
} : void 0,
|
|
143
|
-
unref(slots).end ? {
|
|
197
|
+
unref(hasSlotContent)(unref(slots).end) ? {
|
|
144
198
|
name: "end",
|
|
145
199
|
fn: withCtx(() => [renderSlot(_ctx.$slots, "end")]),
|
|
146
200
|
key: "1"
|
|
@@ -194,25 +248,33 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
|
194
248
|
const props = __props;
|
|
195
249
|
const emit = __emit;
|
|
196
250
|
const inDrawer = inject(mobileNavKey, false);
|
|
251
|
+
const closeMobileDrawer = useCloseMobileDrawer();
|
|
252
|
+
function onClick(event) {
|
|
253
|
+
emit("click", event);
|
|
254
|
+
closeMobileDrawer();
|
|
255
|
+
}
|
|
197
256
|
return (_ctx, _cache) => {
|
|
198
|
-
return openBlock(), createBlock(_sfc_main$
|
|
257
|
+
return openBlock(), createBlock(_sfc_main$12, {
|
|
199
258
|
class: normalizeClass(["astryx-top-nav-item", { "astryx-top-nav-item--drawer": unref(inDrawer) }]),
|
|
200
259
|
as: __props.as,
|
|
201
260
|
block: unref(inDrawer),
|
|
261
|
+
"data-mode": unref(inDrawer) ? "drawer" : void 0,
|
|
202
262
|
href: __props.href,
|
|
203
263
|
"icon-class": __props.iconClass,
|
|
204
264
|
"is-disabled": __props.isDisabled,
|
|
265
|
+
"is-focusable-when-disabled": "",
|
|
205
266
|
"is-icon-only": props.isIconOnly && !unref(inDrawer),
|
|
206
267
|
"is-selected": __props.isSelected,
|
|
207
268
|
label: __props.label,
|
|
208
269
|
rel: __props.rel,
|
|
209
270
|
size: __props.size,
|
|
210
271
|
target: __props.target,
|
|
211
|
-
onClick
|
|
272
|
+
onClick
|
|
212
273
|
}, null, 8, [
|
|
213
274
|
"class",
|
|
214
275
|
"as",
|
|
215
276
|
"block",
|
|
277
|
+
"data-mode",
|
|
216
278
|
"href",
|
|
217
279
|
"icon-class",
|
|
218
280
|
"is-disabled",
|
|
@@ -227,6 +289,23 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
|
227
289
|
}
|
|
228
290
|
});
|
|
229
291
|
//#endregion
|
|
292
|
+
//#region src/TopNav/pickCloses.ts
|
|
293
|
+
/**
|
|
294
|
+
* 刚才这一下选中会不会关闭顶栏菜单:键盘选中、手指或触控笔按下的会关;
|
|
295
|
+
* 鼠标或触控板选中不关(菜单靠指针移开收起),拿不到设备类型的指针选中也不关。
|
|
296
|
+
*/
|
|
297
|
+
function pickCloses() {
|
|
298
|
+
trackInteractionModality();
|
|
299
|
+
if (getInteractionModality() === "keyboard") return true;
|
|
300
|
+
const type = getLastPointerType();
|
|
301
|
+
return type === "touch" || type === "pen";
|
|
302
|
+
}
|
|
303
|
+
/** TopNavMenu、TopNavMegaMenu 调用:让里面的项按 pickCloses 决定要不要关菜单,并提前装上输入跟踪。 */
|
|
304
|
+
function provideTopNavPick() {
|
|
305
|
+
trackInteractionModality();
|
|
306
|
+
provide(navMenuPickKey, pickCloses);
|
|
307
|
+
}
|
|
308
|
+
//#endregion
|
|
230
309
|
//#region src/TopNav/TopNavMegaMenuPanel.vue
|
|
231
310
|
const _hoisted_1$4 = ["aria-label"];
|
|
232
311
|
const _hoisted_2$4 = { class: "astryx-top-nav-mega__items" };
|
|
@@ -277,12 +356,14 @@ const _hoisted_1$3 = {
|
|
|
277
356
|
class: "astryx-top-nav-mega astryx-top-nav-mega--drawer"
|
|
278
357
|
};
|
|
279
358
|
const _hoisted_2$3 = ["aria-expanded"];
|
|
280
|
-
const _hoisted_3$3 =
|
|
281
|
-
const _hoisted_4$3 = {
|
|
359
|
+
const _hoisted_3$3 = ["aria-hidden", "inert"];
|
|
360
|
+
const _hoisted_4$3 = { class: "astryx-top-nav-drawer-section__inner" };
|
|
361
|
+
const _hoisted_5$2 = { class: "astryx-top-nav-mega__drawer-items" };
|
|
362
|
+
const _hoisted_6$1 = {
|
|
282
363
|
key: 0,
|
|
283
364
|
class: "astryx-top-nav-mega__featured"
|
|
284
365
|
};
|
|
285
|
-
const
|
|
366
|
+
const _hoisted_7 = [
|
|
286
367
|
"data-open",
|
|
287
368
|
"aria-expanded",
|
|
288
369
|
"aria-controls"
|
|
@@ -299,6 +380,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
299
380
|
setup(__props, { emit: __emit }) {
|
|
300
381
|
const emit = __emit;
|
|
301
382
|
const inDrawer = inject(mobileNavKey, false);
|
|
383
|
+
provideTopNavPick();
|
|
302
384
|
const expanded = ref(false);
|
|
303
385
|
const drawerItemsId = `astryx-top-nav-mega-items-${useId()}`;
|
|
304
386
|
return (_ctx, _cache) => {
|
|
@@ -308,14 +390,16 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
308
390
|
"aria-controls": drawerItemsId,
|
|
309
391
|
"aria-expanded": expanded.value ? "true" : "false",
|
|
310
392
|
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
311
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
393
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
312
394
|
icon: "chevronDown",
|
|
313
395
|
size: "sm",
|
|
314
396
|
class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
|
|
315
|
-
}, null, 8, ["class"])], 8, _hoisted_2$3),
|
|
397
|
+
}, null, 8, ["class"])], 8, _hoisted_2$3), createElementVNode("div", {
|
|
316
398
|
id: drawerItemsId,
|
|
317
|
-
class: "astryx-top-nav-mega__drawer"
|
|
318
|
-
|
|
399
|
+
class: normalizeClass(["astryx-top-nav-drawer-section astryx-top-nav-mega__drawer", { "astryx-top-nav-drawer-section--collapsed": !expanded.value }]),
|
|
400
|
+
"aria-hidden": expanded.value ? void 0 : "true",
|
|
401
|
+
inert: expanded.value ? void 0 : true
|
|
402
|
+
}, [createElementVNode("div", _hoisted_4$3, [createElementVNode("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.featured ? (openBlock(), createElementBlock("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "featured")])) : createCommentVNode("v-if", true)])], 10, _hoisted_3$3)])) : (openBlock(), createBlock(_sfc_main$13, {
|
|
319
403
|
key: 1,
|
|
320
404
|
hover: "",
|
|
321
405
|
"panel-class": "astryx-top-nav-mega__panel",
|
|
@@ -331,11 +415,11 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
331
415
|
"aria-expanded": isOpen ? "true" : "false",
|
|
332
416
|
"aria-controls": panelId,
|
|
333
417
|
"aria-haspopup": "menu"
|
|
334
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
418
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
335
419
|
icon: "chevronDown",
|
|
336
420
|
size: "sm",
|
|
337
421
|
class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
|
|
338
|
-
}, null, 8, ["class"])], 8,
|
|
422
|
+
}, null, 8, ["class"])], 8, _hoisted_7)]),
|
|
339
423
|
default: withCtx(({ focusRequest }) => [createVNode(_sfc_main$4, {
|
|
340
424
|
"focus-request": focusRequest,
|
|
341
425
|
label: __props.label
|
|
@@ -383,6 +467,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
383
467
|
setup(__props) {
|
|
384
468
|
const props = __props;
|
|
385
469
|
const closeMenu = inject(navMenuCloseKey, void 0);
|
|
470
|
+
const picksClose = inject(navMenuPickKey, void 0);
|
|
386
471
|
const linkComponent = useLinkComponent();
|
|
387
472
|
const ctaHref = computed(() => {
|
|
388
473
|
if (!props.linkLabel) return void 0;
|
|
@@ -395,7 +480,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
395
480
|
const ctaRoot = computed(() => ctaHref.value ? resolveNavRoot(ctaHref.value, false, customLink.value) : "span");
|
|
396
481
|
const imageIsDecorative = computed(() => props.image != null && !props.imageAlt);
|
|
397
482
|
function onNavigate() {
|
|
398
|
-
closeMenu?.();
|
|
483
|
+
if (picksClose == null || picksClose()) closeMenu?.();
|
|
399
484
|
}
|
|
400
485
|
return (_ctx, _cache) => {
|
|
401
486
|
return openBlock(), createBlock(resolveDynamicComponent(root.value), {
|
|
@@ -421,7 +506,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
421
506
|
to: customLink.value != null ? ctaHref.value : void 0,
|
|
422
507
|
onClick: withModifiers(onNavigate, ["stop"])
|
|
423
508
|
}, {
|
|
424
|
-
default: withCtx(() => [createTextVNode(toDisplayString(__props.linkLabel) + "
|
|
509
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.linkLabel) + toDisplayString(" "), 1), _cache[1] || (_cache[1] = createElementVNode("span", { class: "astryx-top-nav-mega-card__link-arrow" }, "→", -1))]),
|
|
425
510
|
_: 1
|
|
426
511
|
}, 8, ["href", "to"])) : createCommentVNode("v-if", true),
|
|
427
512
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -448,7 +533,7 @@ const _hoisted_2$1 = {
|
|
|
448
533
|
};
|
|
449
534
|
const _hoisted_3$1 = { class: "astryx-top-nav-mega-item__text" };
|
|
450
535
|
const _hoisted_4$1 = { class: "astryx-top-nav-mega-item__title" };
|
|
451
|
-
const _hoisted_5 = {
|
|
536
|
+
const _hoisted_5$1 = {
|
|
452
537
|
key: 0,
|
|
453
538
|
class: "astryx-top-nav-mega-item__description"
|
|
454
539
|
};
|
|
@@ -460,18 +545,25 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
460
545
|
description: {},
|
|
461
546
|
href: {},
|
|
462
547
|
as: {},
|
|
463
|
-
iconClass: {}
|
|
548
|
+
iconClass: {},
|
|
549
|
+
hasCloseOnSelect: {
|
|
550
|
+
type: Boolean,
|
|
551
|
+
default: true
|
|
552
|
+
}
|
|
464
553
|
},
|
|
465
554
|
setup(__props) {
|
|
466
555
|
const props = __props;
|
|
467
556
|
const closeMenu = inject(navMenuCloseKey, void 0);
|
|
557
|
+
const picksClose = inject(navMenuPickKey, void 0);
|
|
558
|
+
const closeMobileDrawer = useCloseMobileDrawer();
|
|
468
559
|
const linkComponent = useLinkComponent();
|
|
469
560
|
/** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
|
|
470
561
|
const customLink = computed(() => props.as ?? linkComponent.value);
|
|
471
562
|
const navigableHref = computed(() => isNavigableHref(props.href) ? props.href : void 0);
|
|
472
563
|
const root = computed(() => resolveNavRoot(navigableHref.value, false, customLink.value));
|
|
473
564
|
function onClick() {
|
|
474
|
-
closeMenu?.();
|
|
565
|
+
if (props.hasCloseOnSelect && (picksClose == null || picksClose())) closeMenu?.();
|
|
566
|
+
closeMobileDrawer();
|
|
475
567
|
}
|
|
476
568
|
return (_ctx, _cache) => {
|
|
477
569
|
return openBlock(), createBlock(resolveDynamicComponent(root.value), {
|
|
@@ -481,7 +573,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
481
573
|
type: navigableHref.value ? void 0 : "button",
|
|
482
574
|
onClick
|
|
483
575
|
}, {
|
|
484
|
-
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)])]),
|
|
576
|
+
default: withCtx(() => [__props.iconClass || unref(hasSlotContent)(_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$1, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
|
|
485
577
|
_: 3
|
|
486
578
|
}, 8, [
|
|
487
579
|
"href",
|
|
@@ -498,8 +590,10 @@ const _hoisted_1 = {
|
|
|
498
590
|
class: "astryx-top-nav-menu astryx-top-nav-menu--drawer"
|
|
499
591
|
};
|
|
500
592
|
const _hoisted_2 = ["aria-expanded"];
|
|
501
|
-
const _hoisted_3 =
|
|
502
|
-
const _hoisted_4 =
|
|
593
|
+
const _hoisted_3 = ["aria-hidden", "inert"];
|
|
594
|
+
const _hoisted_4 = { class: "astryx-top-nav-drawer-section__inner" };
|
|
595
|
+
const _hoisted_5 = { class: "astryx-top-nav-menu__drawer-items" };
|
|
596
|
+
const _hoisted_6 = [
|
|
503
597
|
"data-open",
|
|
504
598
|
"aria-expanded",
|
|
505
599
|
"aria-controls"
|
|
@@ -517,34 +611,45 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
517
611
|
setup(__props, { emit: __emit }) {
|
|
518
612
|
const emit = __emit;
|
|
519
613
|
const inDrawer = inject(mobileNavKey, false);
|
|
614
|
+
const closeMobileDrawer = useCloseMobileDrawer();
|
|
615
|
+
provideTopNavPick();
|
|
520
616
|
const expanded = ref(false);
|
|
617
|
+
const drawerItemsId = `astryx-top-nav-menu-items-${useId()}`;
|
|
521
618
|
return (_ctx, _cache) => {
|
|
522
619
|
return unref(inDrawer) ? (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("button", {
|
|
523
620
|
type: "button",
|
|
524
621
|
class: "astryx-top-nav-menu__drawer-trigger",
|
|
622
|
+
"aria-controls": drawerItemsId,
|
|
525
623
|
"aria-expanded": expanded.value ? "true" : "false",
|
|
526
624
|
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
527
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
625
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
528
626
|
icon: "chevronDown",
|
|
529
627
|
size: "sm",
|
|
530
628
|
class: normalizeClass({ "astryx-top-nav-menu__chevron--open": expanded.value })
|
|
531
|
-
}, null, 8, ["class"])], 8, _hoisted_2),
|
|
532
|
-
|
|
629
|
+
}, null, 8, ["class"])], 8, _hoisted_2), createElementVNode("div", {
|
|
630
|
+
id: drawerItemsId,
|
|
631
|
+
class: normalizeClass(["astryx-top-nav-drawer-section", { "astryx-top-nav-drawer-section--collapsed": !expanded.value }]),
|
|
632
|
+
"aria-hidden": expanded.value ? void 0 : "true",
|
|
633
|
+
inert: expanded.value ? void 0 : true
|
|
634
|
+
}, [createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
635
|
+
return openBlock(), createBlock(_sfc_main$14, {
|
|
533
636
|
key: item.id ?? item.label,
|
|
534
637
|
description: item.description,
|
|
535
638
|
href: item.href,
|
|
536
639
|
"icon-class": item.iconClass,
|
|
537
640
|
"is-disabled": item.isDisabled,
|
|
538
641
|
"is-menu-item": false,
|
|
539
|
-
label: item.label
|
|
642
|
+
label: item.label,
|
|
643
|
+
onClick: unref(closeMobileDrawer)
|
|
540
644
|
}, null, 8, [
|
|
541
645
|
"description",
|
|
542
646
|
"href",
|
|
543
647
|
"icon-class",
|
|
544
648
|
"is-disabled",
|
|
545
|
-
"label"
|
|
649
|
+
"label",
|
|
650
|
+
"onClick"
|
|
546
651
|
]);
|
|
547
|
-
}), 128)), renderSlot(_ctx.$slots, "default")]
|
|
652
|
+
}), 128)), renderSlot(_ctx.$slots, "default")])])], 10, _hoisted_3)])) : (openBlock(), createBlock(_sfc_main$13, {
|
|
548
653
|
key: 1,
|
|
549
654
|
hover: "",
|
|
550
655
|
"hide-delay": __props.hideDelay,
|
|
@@ -559,29 +664,31 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
559
664
|
"aria-expanded": isOpen ? "true" : "false",
|
|
560
665
|
"aria-controls": panelId,
|
|
561
666
|
"aria-haspopup": "menu"
|
|
562
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$
|
|
667
|
+
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), createVNode(_sfc_main$9, {
|
|
563
668
|
icon: "chevronDown",
|
|
564
669
|
size: "sm",
|
|
565
670
|
class: normalizeClass(["astryx-top-nav-menu__chevron", { "astryx-top-nav-menu__chevron--open": isOpen }])
|
|
566
|
-
}, null, 8, ["class"])], 8,
|
|
567
|
-
default: withCtx(({ close, focusRequest }) => [createVNode(_sfc_main$
|
|
671
|
+
}, null, 8, ["class"])], 8, _hoisted_6)]),
|
|
672
|
+
default: withCtx(({ close, focusRequest }) => [createVNode(_sfc_main$15, {
|
|
568
673
|
"focus-request": focusRequest,
|
|
569
674
|
label: __props.label,
|
|
570
675
|
onClose: close
|
|
571
676
|
}, {
|
|
572
677
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
573
|
-
return openBlock(), createBlock(_sfc_main$
|
|
678
|
+
return openBlock(), createBlock(_sfc_main$14, {
|
|
574
679
|
key: item.id ?? item.label,
|
|
575
680
|
description: item.description,
|
|
576
681
|
href: item.href,
|
|
577
682
|
"icon-class": item.iconClass,
|
|
578
683
|
"is-disabled": item.isDisabled,
|
|
684
|
+
"keep-open": item.hasCloseOnSelect === false,
|
|
579
685
|
label: item.label
|
|
580
686
|
}, null, 8, [
|
|
581
687
|
"description",
|
|
582
688
|
"href",
|
|
583
689
|
"icon-class",
|
|
584
690
|
"is-disabled",
|
|
691
|
+
"keep-open",
|
|
585
692
|
"label"
|
|
586
693
|
]);
|
|
587
694
|
}), 128)), renderSlot(_ctx.$slots, "default")]),
|
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-DOAcS3PM.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
3
|
-
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-
|
|
3
|
+
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
6
|
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-DOxmVxTM.js";
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead
|
|
1
|
+
import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-GvdIymRg.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-6y_r-VNU.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
3
|
-
import {
|
|
3
|
+
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
7
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-CrgeMzrf.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
12
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
12
|
+
import { t as _sfc_main$5 } from "./Field-D4UmRHlD.js";
|
|
13
13
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
14
14
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
16
|
import { t as _sfc_main$6 } from "./Token-CPNzkSj3.js";
|
|
17
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
18
|
-
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
17
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-1Tgkns0J.js";
|
|
18
|
+
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-GvdIymRg.js";
|
|
19
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
20
20
|
import "../styles/layer.css";
|
|
21
21
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/Theme/adaptationTypes.ts
|
|
2
|
+
/** Fixed names for viewport-width tier start points. */
|
|
3
|
+
const WIDTH_BREAKPOINT_NAMES = [
|
|
4
|
+
"sm",
|
|
5
|
+
"md",
|
|
6
|
+
"lg",
|
|
7
|
+
"xl",
|
|
8
|
+
"2xl"
|
|
9
|
+
];
|
|
10
|
+
/** Default width tier start points, in CSS px. */
|
|
11
|
+
const DEFAULT_WIDTH_BREAKPOINTS = Object.freeze({
|
|
12
|
+
"sm": 640,
|
|
13
|
+
"md": 768,
|
|
14
|
+
"lg": 1024,
|
|
15
|
+
"xl": 1280,
|
|
16
|
+
"2xl": 1536
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { WIDTH_BREAKPOINT_NAMES as n, DEFAULT_WIDTH_BREAKPOINTS as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
2
|
+
import { r as isKeyboardModality } from "./interactionModality-CedLz5PC.js";
|
|
2
3
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
3
4
|
import { n as focusElement } from "./focus-x7mxEqjR.js";
|
|
4
5
|
import { nextTick, onScopeDispose, ref, watch } from "vue";
|