@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,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-
|
|
1
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-DXOTr1D7.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as pressGroupItemProps } from "./useTouchHitArea-BMDBe36j.js";
|
|
2
2
|
import { t as useActionGroupTracking } from "./useActionGroupTracking-PVBCtLUE.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$1 } from "./Button-TiYG0btL.js";
|
|
4
4
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
5
5
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./Dialog-
|
|
7
|
-
import { t as _sfc_main$3 } from "./Heading-
|
|
6
|
+
import { t as _sfc_main$2 } from "./Dialog-JCB5s-T-.js";
|
|
7
|
+
import { t as _sfc_main$3 } from "./Heading-COtyAhtB.js";
|
|
8
8
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
9
9
|
import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
|
|
10
|
-
import { t as _sfc_main$5 } from "./Text-
|
|
10
|
+
import { t as _sfc_main$5 } from "./Text-v1ep26uD.js";
|
|
11
11
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
|
|
12
12
|
import "../styles/alert-dialog.css";
|
|
13
13
|
//#region src/AlertDialog/context.ts
|
package/dist/AppShell/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-
|
|
1
|
+
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-DCyYldjP.js";
|
|
2
2
|
export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
|
package/dist/AppShell/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../AppShell-
|
|
1
|
+
import { t as _sfc_main } from "../AppShell-Cmu6bMY6.js";
|
|
2
2
|
export { _sfc_main as AppShell };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as themeContextKey } from "./context-Cws_tXTr.js";
|
|
1
2
|
import { n as createAnimatedLayout } from "./handle-CSHfxBie.js";
|
|
2
3
|
import { g as layoutStartFor } from "./batch-oTkSbtVz.js";
|
|
3
4
|
import { c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, r as sideNavRenderModeKey, u as playLayoutSwap } from "./context-DQPBIsl5.js";
|
|
@@ -5,12 +6,14 @@ import { i as reportLayoutChange, n as landLayoutGlide, r as layoutMotionFor } f
|
|
|
5
6
|
import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
6
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
8
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
|
|
9
|
+
import { a as layoutSlotsKey, i as layoutDividerKey, n as layoutAreaKey, r as layoutContainerKey, t as emptyLayoutSlots } from "./context-D-Hwh-Jf.js";
|
|
8
10
|
import { n as observeMainOverflow } from "./useScrollRegionProps-DwkPUb-O.js";
|
|
9
|
-
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-
|
|
11
|
+
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-C7Wsid2W.js";
|
|
10
12
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
11
13
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
12
|
-
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-
|
|
13
|
-
import {
|
|
14
|
+
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-BlcdCg8M.js";
|
|
15
|
+
import { t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
|
|
16
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, shallowReactive, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
14
17
|
import "../styles/app-shell.css";
|
|
15
18
|
//#region src/SideNav/SideNavRenderMode.vue
|
|
16
19
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
@@ -26,6 +29,35 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
26
29
|
}
|
|
27
30
|
});
|
|
28
31
|
//#endregion
|
|
32
|
+
//#region src/AppShell/useAppShellMainId.ts
|
|
33
|
+
/** 页面上第一个外层 AppShell 的主区域 id,跳转链接和选择器都认这个。 */
|
|
34
|
+
const MAIN_CONTENT_ID = "astryx-app-shell-main";
|
|
35
|
+
/** 在某个 AppShell 的内容里时为 true:嵌套的壳永远不拿固定 id。 */
|
|
36
|
+
const appShellNestingKey = Symbol("astryx-app-shell-nesting");
|
|
37
|
+
/** 已挂载的外层壳按挂载顺序登记在这里,只在浏览器里变化。 */
|
|
38
|
+
const claims = shallowReactive([]);
|
|
39
|
+
function provideAppShellNesting() {
|
|
40
|
+
provide(appShellNestingKey, true);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 一个 AppShell 主区域用的 id。第一个挂载的外层壳保持固定 id;
|
|
44
|
+
* 嵌套的壳,或在别的壳占着固定 id 时挂载的壳,用自己生成的 id,页面上不会有重复 id。
|
|
45
|
+
* 服务端和首次渲染里,外层壳都用固定 id,挂载后其余的壳再换成自己的。
|
|
46
|
+
*/
|
|
47
|
+
function useAppShellMainId() {
|
|
48
|
+
const generated = `${MAIN_CONTENT_ID}-${useId()}`;
|
|
49
|
+
const isNested = inject(appShellNestingKey, false);
|
|
50
|
+
const claim = {};
|
|
51
|
+
onMounted(() => {
|
|
52
|
+
if (!isNested) claims.push(claim);
|
|
53
|
+
});
|
|
54
|
+
onBeforeUnmount(() => {
|
|
55
|
+
const index = claims.indexOf(claim);
|
|
56
|
+
if (index >= 0) claims.splice(index, 1);
|
|
57
|
+
});
|
|
58
|
+
return { mainId: computed(() => !isNested && (claims.length === 0 || claims[0] === claim) ? MAIN_CONTENT_ID : generated) };
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
29
61
|
//#region src/AppShell/useAppShellRail.ts
|
|
30
62
|
/** 主内容区旁边的那一列:它的祖先里,父元素同时装着轨道的那一个。滑动移动它,轨道的边骑在它上面。 */
|
|
31
63
|
function columnOf(main, rail) {
|
|
@@ -120,7 +152,11 @@ function useAppShellRail(elements) {
|
|
|
120
152
|
}
|
|
121
153
|
//#endregion
|
|
122
154
|
//#region src/AppShell/AppShell.vue
|
|
123
|
-
const _hoisted_1 = [
|
|
155
|
+
const _hoisted_1 = [
|
|
156
|
+
"data-variant",
|
|
157
|
+
"data-height",
|
|
158
|
+
"data-mobile-unread"
|
|
159
|
+
];
|
|
124
160
|
const _hoisted_2 = ["href"];
|
|
125
161
|
const _hoisted_3 = ["data-variant"];
|
|
126
162
|
const _hoisted_4 = {
|
|
@@ -131,7 +167,6 @@ const _hoisted_5 = ["data-variant"];
|
|
|
131
167
|
const _hoisted_6 = ["aria-label"];
|
|
132
168
|
const _hoisted_7 = ["data-elevated"];
|
|
133
169
|
const _hoisted_8 = ["id"];
|
|
134
|
-
const mainId = "astryx-app-shell-main";
|
|
135
170
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
136
171
|
name: "AstryxAppShell",
|
|
137
172
|
inheritAttrs: false,
|
|
@@ -162,21 +197,34 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
162
197
|
nav: navMessages
|
|
163
198
|
});
|
|
164
199
|
const root = useTemplateRef("root");
|
|
200
|
+
const { mainId } = useAppShellMainId();
|
|
201
|
+
provideAppShellNesting();
|
|
202
|
+
provide(layoutAreaKey, computed(() => null));
|
|
203
|
+
provide(layoutSlotsKey, emptyLayoutSlots);
|
|
204
|
+
provide(layoutDividerKey, computed(() => void 0));
|
|
205
|
+
provide(layoutContainerKey, null);
|
|
165
206
|
const mobileNavId = `astryx-app-shell-${useId()}`;
|
|
166
207
|
const uncontrolledOpen = useModel(__props, "mobileNavOpen");
|
|
167
208
|
__expose({ element: root });
|
|
168
|
-
const
|
|
169
|
-
"sm": 640,
|
|
170
|
-
"md": 768,
|
|
171
|
-
"lg": 1024,
|
|
172
|
-
"xl": 1280,
|
|
173
|
-
"2xl": 1536
|
|
174
|
-
};
|
|
175
|
-
const isBelow = ref(false);
|
|
209
|
+
const theme = inject(themeContextKey, null);
|
|
176
210
|
const breakpoint = computed(() => (typeof props.mobileNav === "object" ? props.mobileNav.breakpoint : void 0) ?? "md");
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
211
|
+
/** 断点的像素宽度:主题改过宽度点就跟主题走,否则用标准值。`none` 没有断点。 */
|
|
212
|
+
const breakpointWidth = computed(() => {
|
|
213
|
+
if (breakpoint.value === "none") return null;
|
|
214
|
+
return theme?.value.theme.adaptations?.widthBreakpoints[breakpoint.value] ?? DEFAULT_WIDTH_BREAKPOINTS[breakpoint.value];
|
|
215
|
+
});
|
|
216
|
+
const query = computed(() => `(width < ${breakpointWidth.value ?? 0}px)`);
|
|
217
|
+
/** 正在接管服务端 HTML 时,先按服务端给的提示渲染,挂载后再换成读到的窗口宽度,不让内容重新渲染。 */
|
|
218
|
+
const isHydrating = getCurrentInstance()?.vnode.el != null;
|
|
219
|
+
const serverIsMobile = computed(() => breakpointWidth.value != null && typeof props.mobileNav === "object" && props.mobileNav.defaultIsMobile === true);
|
|
220
|
+
const measuredBelow = ref(false);
|
|
221
|
+
const hasReadWindow = ref(!isHydrating && typeof window !== "undefined");
|
|
222
|
+
/** 脚本读到窗口之前为 false:服务端渲染出来的整条顶栏和侧栏可能正显示在手机上。 */
|
|
223
|
+
const windowRead = ref(false);
|
|
224
|
+
const isBelow = computed(() => hasReadWindow.value ? measuredBelow.value : serverIsMobile.value);
|
|
225
|
+
onMounted(() => {
|
|
226
|
+
windowRead.value = true;
|
|
227
|
+
hasReadWindow.value = true;
|
|
180
228
|
});
|
|
181
229
|
const open = computed({
|
|
182
230
|
get: () => typeof props.mobileNav === "object" && props.mobileNav.isOpen != null ? props.mobileNav.isOpen : uncontrolledOpen.value,
|
|
@@ -189,6 +237,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
189
237
|
const hasSideNav = computed(() => slots.sideNav != null);
|
|
190
238
|
const hasCustomDrawer = computed(() => slots.mobileNav != null);
|
|
191
239
|
const mobileEnabled = computed(() => props.mobileNav !== false && (hasTopNav.value || hasSideNav.value) && !hasCustomDrawer.value);
|
|
240
|
+
/** 读到窗口之前,标准断点下的顶栏用 CSS 先把起始和中间内容在手机上藏起来,和读完窗口后的手机条一致。 */
|
|
241
|
+
const unreadBreakpoint = computed(() => {
|
|
242
|
+
if (windowRead.value || !mobileEnabled.value || breakpoint.value === "none" || breakpointWidth.value !== DEFAULT_WIDTH_BREAKPOINTS[breakpoint.value]) return void 0;
|
|
243
|
+
return breakpoint.value;
|
|
244
|
+
});
|
|
192
245
|
const hasAutoToggle = computed(() => (typeof props.mobileNav !== "object" || props.mobileNav.hasToggle !== false) && !hasCustomDrawer.value);
|
|
193
246
|
const showSideInline = computed(() => hasSideNav.value && !(isBelow.value && mobileEnabled.value));
|
|
194
247
|
const elevate = computed(() => props.variant === "elevated" && hasTopNav.value && showSideInline.value);
|
|
@@ -197,7 +250,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
197
250
|
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return;
|
|
198
251
|
const media = window.matchMedia(value);
|
|
199
252
|
const update = () => {
|
|
200
|
-
|
|
253
|
+
measuredBelow.value = media.matches;
|
|
201
254
|
};
|
|
202
255
|
update();
|
|
203
256
|
media.addEventListener("change", update);
|
|
@@ -270,7 +323,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
270
323
|
backdrop: computed(() => backdrop.value)
|
|
271
324
|
}));
|
|
272
325
|
function focusMain() {
|
|
273
|
-
const main = root.value?.ownerDocument.getElementById(mainId);
|
|
326
|
+
const main = root.value?.ownerDocument.getElementById(mainId.value);
|
|
274
327
|
if (main == null) return;
|
|
275
328
|
isMainProgrammaticFocus.value = true;
|
|
276
329
|
main.focus();
|
|
@@ -286,11 +339,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
286
339
|
class: rootClass.value,
|
|
287
340
|
style: rootStyle.value,
|
|
288
341
|
"data-variant": __props.variant,
|
|
289
|
-
"data-height": __props.height
|
|
342
|
+
"data-height": __props.height,
|
|
343
|
+
"data-mobile-unread": unreadBreakpoint.value
|
|
290
344
|
}), [
|
|
291
345
|
createElementVNode("a", {
|
|
292
346
|
class: "astryx-app-shell__skip",
|
|
293
|
-
href: `#${mainId}`,
|
|
347
|
+
href: `#${unref(mainId)}`,
|
|
294
348
|
onClick: focusMain
|
|
295
349
|
}, toDisplayString(unref(messages).layout.skipToContent), 9, _hoisted_2),
|
|
296
350
|
createVNode(_sfc_main$2, {
|
|
@@ -306,7 +360,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
306
360
|
ref: backdrop,
|
|
307
361
|
class: "astryx-app-shell__backdrop"
|
|
308
362
|
}, null, 512)) : createCommentVNode("v-if", true), createVNode(_sfc_main$3, {
|
|
309
|
-
id: mainId,
|
|
363
|
+
id: unref(mainId),
|
|
310
364
|
ref_key: "content",
|
|
311
365
|
ref: content,
|
|
312
366
|
class: "astryx-app-shell__content",
|
|
@@ -323,6 +377,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
323
377
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
324
378
|
_: 3
|
|
325
379
|
}, 8, [
|
|
380
|
+
"id",
|
|
326
381
|
"tabindex",
|
|
327
382
|
"data-scroll-region",
|
|
328
383
|
"data-programmatic-focus",
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-dMcn3j8Z.js";
|
|
2
2
|
export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
|
|
@@ -4,7 +4,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
|
-
import { t as _sfc_main$2 } from "./Tooltip-
|
|
7
|
+
import { t as _sfc_main$2 } from "./Tooltip-CByjfHBZ.js";
|
|
8
8
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
9
9
|
import { a as resolveStatusDotMetrics, i as resolveSize, n as cssString, o as resolveStatusDotVariant, r as getInitials, s as AvatarGroupContext, t as composeAccessibleName } from "./utils-BTkg5Ie9.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ao as BannerContainer, Mo as BannerProps, No as BannerSlots, Po as BannerStatus, jo as BannerEmits, ko as _default } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
package/dist/Banner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Banner-
|
|
1
|
+
import { t as _sfc_main } from "../Banner-CTY9qV89.js";
|
|
2
2
|
export { _sfc_main as Banner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldIcon-
|
|
3
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldIcon-BU1ZWAuo.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./IconButton-CwjHTIBg.js";
|
|
4
4
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
5
5
|
import { t as bannerMessages } from "./banner-Bv76b50U.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-
|
|
1
|
+
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-CP-fJFcJ.js";
|
|
2
2
|
export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main } from "../BottomSheet-
|
|
2
|
-
import { t as _sfc_main$1 } from "../BottomSheet-
|
|
1
|
+
import { n as _sfc_main } from "../BottomSheet-DyJJtZZU.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "../BottomSheet-ZOjuZya0.js";
|
|
3
3
|
export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
4
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
5
|
-
import { t as useRestoreFocus } from "./useRestoreFocus-
|
|
2
|
+
import { i as isTopLayer, n as useLayerDepth, o as pushLayer, s as isImeKeyEvent, t as provideLayerDepth } from "./layerDepth-D3Rh8T5C.js";
|
|
3
|
+
import { t as focusForLastInput } from "./focusReturn-C1cFL3WM.js";
|
|
4
|
+
import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
|
|
5
|
+
import { t as useRestoreFocus } from "./useRestoreFocus-BxooFhas.js";
|
|
6
6
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
|
|
7
7
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
8
8
|
import { t as createModalOutletHandle } from "./modalOutlet-Drr9a16b.js";
|
|
9
|
-
import {
|
|
9
|
+
import { o as provideLayoutContainer } from "./context-D-Hwh-Jf.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, toValue, unref, useAttrs, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
12
12
|
import "../styles/bottom-sheet.css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-
|
|
2
|
-
import {
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
1
|
+
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-DyJJtZZU.js";
|
|
2
|
+
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
3
|
+
import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
|
|
4
4
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
5
5
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useModel, useTemplateRef, watch } from "vue";
|
|
6
6
|
import "../styles/bottom-sheet.css";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
1
|
+
import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-f3m-59Qb.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-mlCoLtma.js";
|
|
3
3
|
export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./DropdownMenu-
|
|
6
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-BVEOMFwc.js";
|
|
7
|
+
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
7
8
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
8
9
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
9
10
|
import "../styles/breadcrumbs.css";
|
|
@@ -55,6 +56,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
55
56
|
const emit = __emit;
|
|
56
57
|
const slots = useSlots();
|
|
57
58
|
const context = readLayerScoped(breadcrumbContextKey);
|
|
59
|
+
const closeMobileDrawer = useCloseMobileDrawer();
|
|
58
60
|
const linkComponent = useLinkComponent();
|
|
59
61
|
const itemId = useId();
|
|
60
62
|
const variant = computed(() => context?.variant.value ?? "default");
|
|
@@ -83,6 +85,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
83
85
|
return;
|
|
84
86
|
}
|
|
85
87
|
emit("click", event);
|
|
88
|
+
closeMobileDrawer();
|
|
86
89
|
}
|
|
87
90
|
return (_ctx, _cache) => {
|
|
88
91
|
return openBlock(), createElementBlock("li", {
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DRpOiAlm.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-DXHmlFcC.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
package/dist/Button/index.js
CHANGED
|
@@ -2,15 +2,15 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
|
2
2
|
import { a as pressGroupItemProps, n as useTouchHitArea } from "./useTouchHitArea-BMDBe36j.js";
|
|
3
3
|
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
4
4
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
5
|
-
import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-
|
|
5
|
+
import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
|
|
6
6
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
7
7
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
8
8
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
9
9
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
10
10
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-DoBAbfGc.js";
|
|
12
|
+
import { t as _sfc_main$4 } from "./LayerContentBoundary-LCQLyxBT.js";
|
|
13
|
+
import { r as isKeyboardModality } from "./interactionModality-CedLz5PC.js";
|
|
14
14
|
import { t as _sfc_main$5 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
15
15
|
import { t as _sfc_main$6 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
16
16
|
import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-Cgkyk-b7.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Do as ButtonGroupSlots, Eo as ButtonGroupProps, Oo as ButtonGroupOrientation, To as _default } from "../index-B5MCvW75.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { co as
|
|
2
|
-
export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
|
|
1
|
+
import { Co as CalendarRangeValue, So as CalendarProps, _o as useCalendarConstraints, bo as CalendarHandle, co as UseCalendarNavigationOptions, do as CalendarDay, fo as UseCalendarDaysOptions, go as UseCalendarConstraintsReturn, ho as UseCalendarConstraintsOptions, lo as UseCalendarNavigationReturn, mo as useCalendarDays, po as UseCalendarDaysReturn, uo as useCalendarNavigation, vo as _default, wo as CalendarSlots, xo as CalendarHandleRef, yo as CalendarEmits } from "../index-B5MCvW75.js";
|
|
2
|
+
export { _default as Calendar, type CalendarDay, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots, type UseCalendarConstraintsOptions, type UseCalendarConstraintsReturn, type UseCalendarDaysOptions, type UseCalendarDaysReturn, type UseCalendarNavigationOptions, type UseCalendarNavigationReturn, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Calendar-
|
|
2
|
-
|
|
1
|
+
import { a as useCalendarConstraints, t as _sfc_main } from "../Calendar-CUMnYIhe.js";
|
|
2
|
+
import { n as useCalendarDays, t as useCalendarNavigation } from "../Calendar-B6TZYEge.js";
|
|
3
|
+
export { _sfc_main as Calendar, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
|
|
2
|
+
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
3
|
+
import { F as plainDateToday, N as plainDateToISO, b as plainDateFromISO, p as plainDateAddDays } from "./plainDate-CaTDErKr.js";
|
|
4
|
+
import { a as calendarAddMonths, f as calendarMonthOf, g as calendarYearMonthOf, l as calendarMonthFromYearMonth, n as resolveCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
5
|
+
import { i as standaloneShortWeekdayNames } from "./format-6G9QuGy1.js";
|
|
6
|
+
import { i as formatCalendarMonthLabel } from "./calendarFormat-_CEZIMZG.js";
|
|
7
|
+
import { t as buildMonthWeeks } from "./useCalendarGrid-0WvxbeFC.js";
|
|
8
|
+
import { computed, readonly, shallowRef, toValue } from "vue";
|
|
9
|
+
//#region src/Calendar/useCalendarDays.ts
|
|
10
|
+
/**
|
|
11
|
+
* 一个月的日子格子:这个月的每一天,加上补齐首尾两周的前后月日子,按周分好,再给一行按语言写的星期名。
|
|
12
|
+
* 和 `Calendar` 用的是同一套排法。只返回数据,渲染、选择、键盘和无障碍语义由调用方负责。
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const { weeks, dayNames } = useCalendarDays({ year: 2026, month: 12 })
|
|
17
|
+
* // 波斯历 1405 年阿班月,日期仍是公历
|
|
18
|
+
* useCalendarDays({ year: 1405, month: 8, calendar: 'persian' })
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function useCalendarDays(options) {
|
|
22
|
+
const locale = useAstryxLocale();
|
|
23
|
+
const weekStart = computed(() => resolveWeekStart(toValue(options).weekStartsOn));
|
|
24
|
+
const weeks = computed(() => {
|
|
25
|
+
const { year, month, hasVariableRowCount = false } = toValue(options);
|
|
26
|
+
const calendar = resolveCalendarSystem(toValue(options).calendar ?? "gregory", "useCalendarDays");
|
|
27
|
+
const calendarMonth = calendarMonthFromYearMonth(calendar, {
|
|
28
|
+
year,
|
|
29
|
+
month
|
|
30
|
+
});
|
|
31
|
+
return buildMonthWeeks(calendar, calendarMonth, weekStart.value, hasVariableRowCount).map((week) => week.days.map((day) => ({
|
|
32
|
+
date: {
|
|
33
|
+
year: day.date.year,
|
|
34
|
+
month: day.date.month,
|
|
35
|
+
day: day.date.day
|
|
36
|
+
},
|
|
37
|
+
iso: day.iso,
|
|
38
|
+
isOutside: day.outside,
|
|
39
|
+
dayNumber: day.day
|
|
40
|
+
})));
|
|
41
|
+
});
|
|
42
|
+
const days = computed(() => weeks.value.flat());
|
|
43
|
+
return {
|
|
44
|
+
days,
|
|
45
|
+
weeks,
|
|
46
|
+
dayNames: computed(() => {
|
|
47
|
+
const names = standaloneShortWeekdayNames(locale.value);
|
|
48
|
+
return Array.from({ length: 7 }, (_, index) => names[(index + weekStart.value) % 7]);
|
|
49
|
+
}),
|
|
50
|
+
totalCells: computed(() => days.value.length)
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/Calendar/useCalendarNavigation.ts
|
|
55
|
+
/**
|
|
56
|
+
* 日历的月份导航:当前显示哪个月、上一月和下一月、月份标题,以及键盘跨月时下一个要聚焦的日子。
|
|
57
|
+
* 自己拼日历头、翻页按钮或双月选择器时用。
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const nav = useCalendarNavigation({ initialValue: '2026-01-15', calendar: 'persian' })
|
|
62
|
+
* const { weeks } = useCalendarDays(() => ({ ...nav.visibleCalendarMonths.value[0]!, calendar: 'persian' }))
|
|
63
|
+
* nav.navigateMonth(1)
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
function useCalendarNavigation(options) {
|
|
67
|
+
const locale = useAstryxLocale();
|
|
68
|
+
const initial = toValue(options);
|
|
69
|
+
const internal = shallowRef(plainDateFromISO(initial.focusDate ?? initial.initialValue ?? plainDateToISO(plainDateToday())));
|
|
70
|
+
const pendingFocus = shallowRef(null);
|
|
71
|
+
const calendar = computed(() => resolveCalendarSystem(toValue(options).calendar ?? "gregory", "useCalendarNavigation"));
|
|
72
|
+
const isControlled = () => {
|
|
73
|
+
const { focusDate, onFocusDateChange } = toValue(options);
|
|
74
|
+
return focusDate !== void 0 && onFocusDateChange !== void 0;
|
|
75
|
+
};
|
|
76
|
+
const focusIso = computed(() => isControlled() ? toValue(options).focusDate : plainDateToISO(internal.value));
|
|
77
|
+
const shownMonths = computed(() => {
|
|
78
|
+
const first = calendarMonthOf(calendar.value, plainDateFromISO(focusIso.value));
|
|
79
|
+
return Array.from({ length: toValue(options).numberOfMonths ?? 1 }, (_, index) => calendarAddMonths(calendar.value, first, index));
|
|
80
|
+
});
|
|
81
|
+
const visibleMonths = computed(() => shownMonths.value.map((month) => month.start));
|
|
82
|
+
const baseMonth = computed(() => visibleMonths.value[0]);
|
|
83
|
+
const visibleCalendarMonths = computed(() => shownMonths.value.map((month) => calendarYearMonthOf(calendar.value, month)));
|
|
84
|
+
const monthYearLabel = computed(() => shownMonths.value.map((month) => formatCalendarMonthLabel(calendar.value, month, locale.value)).join(" – "));
|
|
85
|
+
function navigateMonth(delta, focusedDate, offset = 7) {
|
|
86
|
+
const next = calendarAddMonths(calendar.value, shownMonths.value[0], delta).start;
|
|
87
|
+
if (focusedDate) pendingFocus.value = plainDateToISO(plainDateAddDays(plainDateFromISO(focusedDate), delta * offset));
|
|
88
|
+
toValue(options).onFocusDateChange?.(plainDateToISO(next));
|
|
89
|
+
if (!isControlled()) internal.value = next;
|
|
90
|
+
}
|
|
91
|
+
function clearPendingFocus() {
|
|
92
|
+
pendingFocus.value = null;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
baseMonth,
|
|
96
|
+
visibleMonths,
|
|
97
|
+
visibleCalendarMonths,
|
|
98
|
+
monthYearLabel,
|
|
99
|
+
navigateMonth,
|
|
100
|
+
pendingFocus: readonly(pendingFocus),
|
|
101
|
+
clearPendingFocus
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
export { useCalendarDays as n, useCalendarNavigation as t };
|