@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
package/reset.css
CHANGED
|
@@ -180,25 +180,6 @@
|
|
|
180
180
|
height: auto;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
/*
|
|
184
|
-
* AspectRatio 的 fit 子元素尺寸。组件样式 `aspect-ratio.css` 里也有同样几条,
|
|
185
|
-
* 没引入 reset 时靠那里生效。这里再写一遍,是为了让它们排在上面
|
|
186
|
-
* `height: auto` 的后面:两者同在 reset 层、特异性都是 0,后出现的赢,
|
|
187
|
-
* 所以不管 reset.css 和组件样式谁先加载,fit 的子元素都能填满容器。
|
|
188
|
-
*/
|
|
189
|
-
:where([data-astryx-aspect-ratio-override='cover'], [data-astryx-aspect-ratio-override='contain']) > :where(*) {
|
|
190
|
-
width: 100%;
|
|
191
|
-
height: 100%;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
:where([data-astryx-aspect-ratio-override='cover']) > :where(img, video) {
|
|
195
|
-
object-fit: cover;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
:where([data-astryx-aspect-ratio-override='contain']) > :where(img, video) {
|
|
199
|
-
object-fit: contain;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
183
|
/* ===========================================================================
|
|
203
184
|
表单
|
|
204
185
|
=========================================================================== */
|
package/styles/app-shell.css
CHANGED
|
@@ -7,6 +7,20 @@
|
|
|
7
7
|
position: relative;
|
|
8
8
|
overflow: clip;
|
|
9
9
|
min-height: 0;
|
|
10
|
+
/* AppShell 是布局的根:外层 Card、Section、Layout 的内边距与宽度变量停在这里。 */
|
|
11
|
+
--container-padding-inline-start: 0px;
|
|
12
|
+
--container-padding-inline-end: 0px;
|
|
13
|
+
--container-padding-block-start: 0px;
|
|
14
|
+
--container-padding-block-end: 0px;
|
|
15
|
+
--layout-padding-outer-x: initial;
|
|
16
|
+
--layout-padding-outer-y: initial;
|
|
17
|
+
--layout-padding-own-outer-x: initial;
|
|
18
|
+
--layout-padding-own-outer-y: initial;
|
|
19
|
+
--layout-padding-inner-x: initial;
|
|
20
|
+
--layout-padding-inner-y: initial;
|
|
21
|
+
--layout-content-width: initial;
|
|
22
|
+
--layout-alignment-width: initial;
|
|
23
|
+
--_section-padding-propagated: initial;
|
|
10
24
|
}
|
|
11
25
|
|
|
12
26
|
.astryx-app-shell[data-variant='wash'],
|
|
@@ -89,6 +103,26 @@
|
|
|
89
103
|
background-color: var(--astryx-color-background-surface, #fff);
|
|
90
104
|
}
|
|
91
105
|
|
|
106
|
+
/*
|
|
107
|
+
* 页面设了 viewport-fit=cover 时,页头背景延伸到状态栏下面和屏幕两侧,
|
|
108
|
+
* 页头里的内容留在安全区内;没设时这些边距都是 0。安全区是物理方向,从右到左时内联两侧互换。
|
|
109
|
+
*/
|
|
110
|
+
.astryx-app-shell__header,
|
|
111
|
+
.astryx-app-shell__mobile-bar {
|
|
112
|
+
box-sizing: border-box;
|
|
113
|
+
padding-inline-start: env(safe-area-inset-left, 0px);
|
|
114
|
+
padding-inline-end: env(safe-area-inset-right, 0px);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:is([dir='rtl'] .astryx-app-shell__header, [dir='rtl'] .astryx-app-shell__mobile-bar) {
|
|
118
|
+
padding-inline-start: env(safe-area-inset-right, 0px);
|
|
119
|
+
padding-inline-end: env(safe-area-inset-left, 0px);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.astryx-app-shell__header {
|
|
123
|
+
padding-block-start: env(safe-area-inset-top, 0px);
|
|
124
|
+
}
|
|
125
|
+
|
|
92
126
|
.astryx-app-shell__banner {
|
|
93
127
|
flex-shrink: 0;
|
|
94
128
|
}
|
|
@@ -96,8 +130,18 @@
|
|
|
96
130
|
.astryx-app-shell__mobile-bar {
|
|
97
131
|
display: flex;
|
|
98
132
|
align-items: center;
|
|
133
|
+
height: calc(var(--astryx-spacing-12, 48px) + env(safe-area-inset-top, 0px));
|
|
134
|
+
padding-block-start: env(safe-area-inset-top, 0px);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* 横幅已经让出顶部安全区,下面的手机顶栏只留两侧;自动高度时它钉在顶部安全区下面。 */
|
|
138
|
+
.astryx-app-shell__header + .astryx-app-shell__mobile-bar {
|
|
99
139
|
height: var(--astryx-spacing-12, 48px);
|
|
100
|
-
padding-
|
|
140
|
+
padding-block-start: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.astryx-app-shell[data-height='auto'] .astryx-app-shell__header + .astryx-app-shell__mobile-bar {
|
|
144
|
+
top: env(safe-area-inset-top, 0px);
|
|
101
145
|
}
|
|
102
146
|
|
|
103
147
|
.astryx-app-shell__mobile-bar[data-variant='wash'],
|
|
@@ -116,6 +160,8 @@
|
|
|
116
160
|
width: 100%;
|
|
117
161
|
min-width: 0;
|
|
118
162
|
height: 100%;
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
padding-inline: var(--astryx-spacing-2, 8px);
|
|
119
165
|
}
|
|
120
166
|
|
|
121
167
|
.astryx-app-shell__mobile-nav > .astryx-mobile-nav-toggle {
|
|
@@ -147,6 +193,11 @@
|
|
|
147
193
|
outline: none;
|
|
148
194
|
}
|
|
149
195
|
|
|
196
|
+
/* 主区域在内容内边距之外再加底部安全区,铺满它的子元素也停在安全区之上。 */
|
|
197
|
+
.astryx-app-shell .astryx-app-shell__content {
|
|
198
|
+
padding-block-end: calc(var(--container-padding-block-end, 0px) + env(safe-area-inset-bottom, 0px));
|
|
199
|
+
}
|
|
200
|
+
|
|
150
201
|
/*
|
|
151
202
|
* 内容溢出时主区域是键盘停靠点:只有 Tab 到它才画标准焦点环,往里收一圈免得被外壳裁掉;
|
|
152
203
|
* 跳转链接和脚本的聚焦(data-programmatic-focus)不画。
|
|
@@ -173,4 +224,70 @@
|
|
|
173
224
|
background-color: transparent;
|
|
174
225
|
isolation: isolate;
|
|
175
226
|
}
|
|
227
|
+
|
|
228
|
+
/*
|
|
229
|
+
* 脚本读到窗口之前(服务端渲染的页面),手机上先按手机布局显示:
|
|
230
|
+
* 顶栏藏起起始和中间内容,内联侧栏不出,抬起样式的背景板去掉圆角;
|
|
231
|
+
* 读完窗口后由 TopNav 收进抽屉、侧栏换成抽屉。
|
|
232
|
+
* 主题改过宽度点时没有对应规则,保持服务端的布局直到读到窗口。
|
|
233
|
+
*/
|
|
234
|
+
@media (width < 640px) {
|
|
235
|
+
.astryx-app-shell[data-mobile-unread='sm'] .astryx-top-nav__items,
|
|
236
|
+
.astryx-app-shell[data-mobile-unread='sm'] .astryx-top-nav__center,
|
|
237
|
+
.astryx-app-shell[data-mobile-unread='sm'] .astryx-app-shell__sidenav {
|
|
238
|
+
display: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.astryx-app-shell[data-mobile-unread='sm'] .astryx-app-shell__backdrop {
|
|
242
|
+
border-start-start-radius: 0;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@media (width < 768px) {
|
|
247
|
+
.astryx-app-shell[data-mobile-unread='md'] .astryx-top-nav__items,
|
|
248
|
+
.astryx-app-shell[data-mobile-unread='md'] .astryx-top-nav__center,
|
|
249
|
+
.astryx-app-shell[data-mobile-unread='md'] .astryx-app-shell__sidenav {
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.astryx-app-shell[data-mobile-unread='md'] .astryx-app-shell__backdrop {
|
|
254
|
+
border-start-start-radius: 0;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@media (width < 1024px) {
|
|
259
|
+
.astryx-app-shell[data-mobile-unread='lg'] .astryx-top-nav__items,
|
|
260
|
+
.astryx-app-shell[data-mobile-unread='lg'] .astryx-top-nav__center,
|
|
261
|
+
.astryx-app-shell[data-mobile-unread='lg'] .astryx-app-shell__sidenav {
|
|
262
|
+
display: none;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.astryx-app-shell[data-mobile-unread='lg'] .astryx-app-shell__backdrop {
|
|
266
|
+
border-start-start-radius: 0;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@media (width < 1280px) {
|
|
271
|
+
.astryx-app-shell[data-mobile-unread='xl'] .astryx-top-nav__items,
|
|
272
|
+
.astryx-app-shell[data-mobile-unread='xl'] .astryx-top-nav__center,
|
|
273
|
+
.astryx-app-shell[data-mobile-unread='xl'] .astryx-app-shell__sidenav {
|
|
274
|
+
display: none;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.astryx-app-shell[data-mobile-unread='xl'] .astryx-app-shell__backdrop {
|
|
278
|
+
border-start-start-radius: 0;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
@media (width < 1536px) {
|
|
283
|
+
.astryx-app-shell[data-mobile-unread='2xl'] .astryx-top-nav__items,
|
|
284
|
+
.astryx-app-shell[data-mobile-unread='2xl'] .astryx-top-nav__center,
|
|
285
|
+
.astryx-app-shell[data-mobile-unread='2xl'] .astryx-app-shell__sidenav {
|
|
286
|
+
display: none;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.astryx-app-shell[data-mobile-unread='2xl'] .astryx-app-shell__backdrop {
|
|
290
|
+
border-start-start-radius: 0;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
176
293
|
}
|
package/styles/aspect-ratio.css
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
* fit 的子元素尺寸放在
|
|
5
|
-
*
|
|
4
|
+
* fit 的子元素尺寸放在 base 层,选择器特异性为零。
|
|
5
|
+
* 排在 reset 层的 `height: auto` 后面,Tailwind 等后面的层、不分层的 CSS 和子元素自己的内联样式仍然能盖过这里,
|
|
6
|
+
* 所以文档里写的各种 Tailwind 接法下 fit 都能填满容器。
|
|
6
7
|
*/
|
|
7
|
-
@layer astryx.
|
|
8
|
+
@layer astryx.base {
|
|
8
9
|
:where([data-astryx-aspect-ratio-override='cover'], [data-astryx-aspect-ratio-override='contain']) > :where(*) {
|
|
9
10
|
width: 100%;
|
|
10
11
|
height: 100%;
|
package/styles/breadcrumbs.css
CHANGED
package/styles/collapsible.css
CHANGED
package/styles/layout.css
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
--container-padding-inline-end: 0px;
|
|
30
30
|
--container-padding-block-start: 0px;
|
|
31
31
|
--container-padding-block-end: 0px;
|
|
32
|
-
--layout-content-width:
|
|
32
|
+
--layout-content-width: initial;
|
|
33
33
|
--layout-alignment-width: 100cqi;
|
|
34
34
|
--layout-padding-own-outer-x: initial;
|
|
35
35
|
--layout-padding-own-outer-y: initial;
|
|
@@ -178,11 +178,11 @@
|
|
|
178
178
|
.astryx-layout-content[data-edge-start]:not([data-explicit-padding]) {
|
|
179
179
|
padding-inline-start: var(--layout-pad-outer-x);
|
|
180
180
|
--container-padding-inline-start: var(--layout-pad-outer-x);
|
|
181
|
-
--container-padding-inline-end: var(--layout-pad-outer-x);
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
.astryx-layout-content[data-edge-end]:not([data-explicit-padding]) {
|
|
185
184
|
padding-inline-end: var(--layout-pad-outer-x);
|
|
185
|
+
--container-padding-inline-end: var(--layout-pad-outer-x);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.astryx-layout-content[data-edge-header]:not([data-explicit-padding]) {
|
|
@@ -195,13 +195,20 @@
|
|
|
195
195
|
--container-padding-block-end: var(--layout-pad-outer-y);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
/*
|
|
199
|
+
* 页头没有分隔线时,内容顶部的内边距收掉;页脚没有分隔线时收掉底部的。
|
|
200
|
+
* 用兄弟关系只看这一个 Layout 自己的那一行:嵌套的 Layout 不会吃到外层的收拢。
|
|
201
|
+
* 同时把发布给贴边子元素(Table、Divider)的容器内边距一起归零,它们才和内容的实际边距对得上。
|
|
202
|
+
*/
|
|
203
|
+
.astryx-layout__inner > .astryx-layout-header:not([data-divider]) ~ .astryx-layout__middle > .astryx-layout__content-slot > .astryx-layout-content:not([data-explicit-padding]),
|
|
204
|
+
.astryx-layout__inner > .astryx-dialog-header[data-layout-header]:not(.astryx-dialog-header--divider) ~ .astryx-layout__middle > .astryx-layout__content-slot > .astryx-layout-content:not([data-explicit-padding]) {
|
|
200
205
|
padding-block-start: 0;
|
|
206
|
+
--container-padding-block-start: 0px;
|
|
201
207
|
}
|
|
202
208
|
|
|
203
|
-
.astryx-
|
|
209
|
+
.astryx-layout__middle:has(~ .astryx-layout-footer:not([data-divider])) > .astryx-layout__content-slot > .astryx-layout-content:not([data-explicit-padding]) {
|
|
204
210
|
padding-block-end: 0;
|
|
211
|
+
--container-padding-block-end: 0px;
|
|
205
212
|
}
|
|
206
213
|
|
|
207
214
|
.astryx-layout-content[data-scrollable] {
|
|
@@ -243,26 +250,36 @@
|
|
|
243
250
|
--container-padding-block-end: var(--_layout-panel-block-end, var(--layout-pad-block));
|
|
244
251
|
}
|
|
245
252
|
|
|
253
|
+
/* 贴着 Layout 边界的那条边用 Layout 的外缘内边距,并把它发布出去,贴边子元素才和它对得上。 */
|
|
246
254
|
.astryx-layout-panel[data-area='start']:not([data-explicit-padding]) {
|
|
247
255
|
padding-inline-start: var(--layout-pad-outer-x);
|
|
256
|
+
--container-padding-inline-start: var(--layout-pad-outer-x);
|
|
248
257
|
}
|
|
249
258
|
|
|
250
259
|
.astryx-layout-panel[data-area='end']:not([data-explicit-padding]) {
|
|
251
260
|
padding-inline-end: var(--layout-pad-outer-x);
|
|
261
|
+
--container-padding-inline-end: var(--layout-pad-outer-x);
|
|
252
262
|
}
|
|
253
263
|
|
|
254
264
|
.astryx-layout-panel[data-edge-header]:not([data-explicit-padding]) {
|
|
255
265
|
padding-block-start: var(--layout-pad-outer-y);
|
|
266
|
+
--container-padding-block-start: var(--layout-pad-outer-y);
|
|
256
267
|
}
|
|
257
268
|
|
|
258
269
|
.astryx-layout-panel[data-edge-footer]:not([data-explicit-padding]) {
|
|
259
270
|
padding-block-end: var(--layout-pad-outer-y);
|
|
271
|
+
--container-padding-block-end: var(--layout-pad-outer-y);
|
|
260
272
|
}
|
|
261
273
|
|
|
262
274
|
.astryx-layout-panel[data-scrollable] {
|
|
263
275
|
overflow: auto;
|
|
264
276
|
}
|
|
265
277
|
|
|
278
|
+
.astryx-layout-panel[data-zero-width][data-zero-width] {
|
|
279
|
+
padding-inline: 0;
|
|
280
|
+
overflow: clip;
|
|
281
|
+
}
|
|
282
|
+
|
|
266
283
|
.astryx-layout-panel[data-area='start'][data-divider] {
|
|
267
284
|
border-inline-end: 1px solid var(--astryx-color-border, #ebebeb);
|
|
268
285
|
}
|
package/styles/nav-item.css
CHANGED
|
@@ -27,9 +27,10 @@
|
|
|
27
27
|
color var(--astryx-duration-fast-max) var(--astryx-ease-standard);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
.astryx-nav-item--
|
|
32
|
-
.astryx-nav-item--
|
|
30
|
+
/* 最小高度而不是固定高度:行随更大的文字尺寸长高,标签不会跑出行外。 */
|
|
31
|
+
.astryx-nav-item--sm { min-height: var(--astryx-size-element-sm, 28px); padding-inline: var(--astryx-spacing-1, 4px); }
|
|
32
|
+
.astryx-nav-item--md { min-height: var(--astryx-size-element-md, 32px); }
|
|
33
|
+
.astryx-nav-item--lg { min-height: var(--astryx-size-element-lg, 36px); }
|
|
33
34
|
|
|
34
35
|
.astryx-nav-item--block { width: 100%; }
|
|
35
36
|
|
|
@@ -42,6 +43,11 @@
|
|
|
42
43
|
.astryx-nav-item--sm.astryx-nav-item--icon-only { width: 28px; }
|
|
43
44
|
.astryx-nav-item--lg.astryx-nav-item--icon-only { width: 36px; }
|
|
44
45
|
|
|
46
|
+
/* 只有图标的行(收起的轨道)里没有会长高的文字,保持固定的方块。 */
|
|
47
|
+
.astryx-nav-item--icon-only { height: var(--astryx-size-element-md, 32px); }
|
|
48
|
+
.astryx-nav-item--sm.astryx-nav-item--icon-only { height: var(--astryx-size-element-sm, 28px); }
|
|
49
|
+
.astryx-nav-item--lg.astryx-nav-item--icon-only { height: var(--astryx-size-element-lg, 36px); }
|
|
50
|
+
|
|
45
51
|
.astryx-nav-item--plain {
|
|
46
52
|
width: auto;
|
|
47
53
|
height: auto;
|
package/styles/nav-menu.css
CHANGED
|
@@ -40,7 +40,9 @@
|
|
|
40
40
|
.astryx-nav-menu--md { min-width: 200px; }
|
|
41
41
|
.astryx-nav-menu--lg { min-width: 240px; }
|
|
42
42
|
|
|
43
|
+
/* 按住滑过各行时不选中行里的文字;菜单旁边调用方的内容仍可选中。 */
|
|
43
44
|
.astryx-nav-menu-item {
|
|
45
|
+
user-select: none;
|
|
44
46
|
display: flex;
|
|
45
47
|
align-items: center;
|
|
46
48
|
gap: var(--astryx-spacing-2, 8px);
|
|
@@ -52,6 +54,7 @@
|
|
|
52
54
|
background: transparent;
|
|
53
55
|
color: var(--astryx-color-text-primary);
|
|
54
56
|
font: inherit;
|
|
57
|
+
line-height: var(--astryx-text-label-leading, 1.4286);
|
|
55
58
|
text-align: start;
|
|
56
59
|
text-decoration: none;
|
|
57
60
|
cursor: pointer;
|
package/styles/pagination.css
CHANGED
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
.astryx-pagination--sm .astryx-pagination-button,
|
|
98
98
|
.astryx-pagination--sm .astryx-pagination-page {
|
|
99
99
|
min-width: var(--astryx-size-element-sm, 28px);
|
|
100
|
-
height: var(--astryx-size-element-sm, 28px);
|
|
100
|
+
min-height: var(--astryx-size-element-sm, 28px);
|
|
101
101
|
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
102
102
|
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
103
103
|
}
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
justify-content: center;
|
|
118
118
|
gap: var(--astryx-spacing-1);
|
|
119
119
|
min-width: var(--astryx-size-element-md);
|
|
120
|
-
height: var(--astryx-size-element-md);
|
|
120
|
+
min-height: var(--astryx-size-element-md);
|
|
121
121
|
padding: 0 var(--astryx-spacing-2);
|
|
122
122
|
border: 0;
|
|
123
123
|
border-radius: var(--astryx-radius-element);
|
package/styles/resize-handle.css
CHANGED
|
@@ -64,6 +64,14 @@
|
|
|
64
64
|
height: var(--resize-handle-hit-area, 16px);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
.astryx-resize-handle[data-position='overlay'][data-pane][data-direction='horizontal'] {
|
|
68
|
+
width: min(var(--resize-handle-hit-area, 16px), 50%);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.astryx-resize-handle[data-position='overlay'][data-pane][data-direction='vertical'] {
|
|
72
|
+
height: min(var(--resize-handle-hit-area, 16px), 50%);
|
|
73
|
+
}
|
|
74
|
+
|
|
67
75
|
.astryx-resize-handle[data-disabled] {
|
|
68
76
|
cursor: default;
|
|
69
77
|
pointer-events: none;
|
|
@@ -89,52 +97,28 @@
|
|
|
89
97
|
cursor: row-resize;
|
|
90
98
|
}
|
|
91
99
|
|
|
92
|
-
/*
|
|
93
|
-
|
|
94
|
-
* 这段位移在行内轴上,从右到左时要改号,否则抓取区会偏到握把旁边。
|
|
95
|
-
*/
|
|
96
|
-
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='center'] {
|
|
100
|
+
/* 抓取区居中在分隔条上,握把摆在哪一侧都不改变它;握把自己另外接管指针。 */
|
|
101
|
+
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit {
|
|
97
102
|
inset-inline-start: 50%;
|
|
103
|
+
width: min(var(--astryx-spacing-4, 16px), var(--_resize-pane-length, 100vw));
|
|
98
104
|
transform: translateX(-50%);
|
|
99
105
|
}
|
|
100
106
|
|
|
101
|
-
.astryx-resize-handle[data-direction='
|
|
102
|
-
|
|
103
|
-
transform: translateY(-50%);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='start'] {
|
|
107
|
-
inset-inline-start: 0;
|
|
108
|
-
transform: translateX(calc(-1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='end'] {
|
|
112
|
-
inset-inline-start: 0;
|
|
113
|
-
transform: translateX(calc(1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
107
|
+
:is([dir='rtl'] .astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit) {
|
|
108
|
+
transform: translateX(50%);
|
|
114
109
|
}
|
|
115
110
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
:is([dir='rtl'] .astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='end']) {
|
|
121
|
-
transform: translateX(calc(1 * (3px + var(--astryx-spacing-1, 4px)) + 6.5px));
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle__hit[data-bias='start'] {
|
|
125
|
-
inset-block-start: 0;
|
|
126
|
-
transform: translateY(calc(-1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle__hit[data-bias='end'] {
|
|
130
|
-
inset-block-start: 0;
|
|
131
|
-
transform: translateY(calc(1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
111
|
+
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle__hit {
|
|
112
|
+
inset-block-start: 50%;
|
|
113
|
+
height: min(var(--astryx-spacing-4, 16px), var(--_resize-pane-length, 100vh));
|
|
114
|
+
transform: translateY(-50%);
|
|
132
115
|
}
|
|
133
116
|
|
|
134
117
|
.astryx-resize-handle-pill {
|
|
135
118
|
position: absolute;
|
|
136
119
|
z-index: 2;
|
|
137
|
-
|
|
120
|
+
touch-action: none;
|
|
121
|
+
user-select: none;
|
|
138
122
|
border-radius: var(--astryx-radius-full, 9999px);
|
|
139
123
|
background-color: var(--astryx-divider-color-subtle, #00000014);
|
|
140
124
|
transition-property: opacity, background-color, transform;
|
|
@@ -144,21 +128,66 @@
|
|
|
144
128
|
}
|
|
145
129
|
|
|
146
130
|
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle-pill {
|
|
131
|
+
cursor: col-resize;
|
|
147
132
|
width: 3px;
|
|
148
133
|
height: var(--astryx-spacing-8, 32px);
|
|
149
134
|
top: 50%;
|
|
150
135
|
}
|
|
151
136
|
|
|
152
137
|
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle-pill {
|
|
138
|
+
cursor: row-resize;
|
|
153
139
|
width: var(--astryx-spacing-8, 32px);
|
|
154
140
|
height: 3px;
|
|
155
141
|
inset-inline-start: 50%;
|
|
156
142
|
}
|
|
157
143
|
|
|
144
|
+
/* 画出来的握把就是抓手,收起或禁用时不接管指针。 */
|
|
145
|
+
.astryx-resize-handle-pill[data-hidden],
|
|
146
|
+
.astryx-resize-handle[data-disabled] > .astryx-resize-handle-pill {
|
|
147
|
+
pointer-events: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
158
150
|
.astryx-resize-handle-pill[data-hidden] {
|
|
159
151
|
opacity: 0;
|
|
160
152
|
}
|
|
161
153
|
|
|
154
|
+
.astryx-resize-handle[data-active] > .astryx-resize-handle-pill[data-hidden] {
|
|
155
|
+
pointer-events: auto;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* 悬停才显示的握把可能落在抓取区之外。握把带一段看不见的延伸,只朝分隔条一侧伸出那一格空隙,
|
|
160
|
+
* 指针从抓取区移向握把的路上悬停不会丢。握把的偏移是物理方向,所以延伸也用物理方向。
|
|
161
|
+
*/
|
|
162
|
+
.astryx-resize-handle-pill[data-hidden]::before {
|
|
163
|
+
content: '';
|
|
164
|
+
position: absolute;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle-pill[data-hidden][data-side='start']::before {
|
|
168
|
+
inset-block: 0;
|
|
169
|
+
left: 0;
|
|
170
|
+
right: calc(-1 * var(--astryx-spacing-1, 4px) - 1px);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle-pill[data-hidden][data-side='end']::before {
|
|
174
|
+
inset-block: 0;
|
|
175
|
+
right: 0;
|
|
176
|
+
left: calc(-1 * var(--astryx-spacing-1, 4px) - 1px);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle-pill[data-hidden][data-side='start']::before {
|
|
180
|
+
inset-inline: 0;
|
|
181
|
+
top: 0;
|
|
182
|
+
bottom: calc(-1 * var(--astryx-spacing-1, 4px) - 1px);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle-pill[data-hidden][data-side='end']::before {
|
|
186
|
+
inset-inline: 0;
|
|
187
|
+
bottom: 0;
|
|
188
|
+
top: calc(-1 * var(--astryx-spacing-1, 4px) - 1px);
|
|
189
|
+
}
|
|
190
|
+
|
|
162
191
|
.astryx-resize-handle[data-active] > .astryx-resize-handle-pill {
|
|
163
192
|
opacity: 1;
|
|
164
193
|
}
|
|
@@ -10,6 +10,19 @@
|
|
|
10
10
|
scrollbar-width: auto;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/* 触屏保留平台自己的滚动指示条:iOS 只在滚动时显示它;写了颜色就会变成一条淡淡的常驻条,下拉露出的空隙里也看得见。 */
|
|
14
|
+
@media (pointer: coarse) {
|
|
15
|
+
.astryx-scrollable-area {
|
|
16
|
+
scrollbar-color: auto;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (forced-colors: active) {
|
|
21
|
+
.astryx-scrollable-area {
|
|
22
|
+
scrollbar-color: auto;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
13
26
|
.astryx-scrollable-area:focus-visible {
|
|
14
27
|
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentcolor);
|
|
15
28
|
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
package/styles/tab-list.css
CHANGED
|
@@ -226,8 +226,8 @@
|
|
|
226
226
|
font-weight: var(--astryx-font-weight-semibold, 600);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
/* 选中下划线是一个真元素(tab-indicator 主题挂点),主题可以单独改它,例如拉满整个标签宽度。 */
|
|
230
|
+
.astryx-tab__indicator {
|
|
231
231
|
position: absolute;
|
|
232
232
|
/* 同原版:默认压在 tab 底边外 1px;滚动条按同一个值往下留出空间,不会裁掉。 */
|
|
233
233
|
bottom: var(--_tab-indicator-bottom, -1px);
|
|
@@ -236,9 +236,10 @@
|
|
|
236
236
|
height: 2px;
|
|
237
237
|
border-radius: var(--astryx-radius-full, 9999px);
|
|
238
238
|
background-color: var(--astryx-color-accent, currentColor);
|
|
239
|
+
pointer-events: none;
|
|
239
240
|
}
|
|
240
241
|
|
|
241
|
-
.astryx-tab-list--has-divider .astryx-
|
|
242
|
+
.astryx-tab-list--has-divider .astryx-tab__indicator {
|
|
242
243
|
bottom: var(--_tab-indicator-bottom);
|
|
243
244
|
}
|
|
244
245
|
|
|
@@ -253,14 +254,17 @@
|
|
|
253
254
|
outline-offset: 2px;
|
|
254
255
|
}
|
|
255
256
|
|
|
257
|
+
/* 标签和半粗字重的隐形副本共用一格。换行的标签可能比副本少几行,两者都在格里居中,选中时标签不会跳。 */
|
|
256
258
|
.astryx-tab__label {
|
|
257
259
|
display: inline-grid;
|
|
258
260
|
align-items: center;
|
|
261
|
+
text-align: center;
|
|
259
262
|
}
|
|
260
263
|
|
|
261
264
|
.astryx-tab__label-text,
|
|
262
265
|
.astryx-tab__label-sizer {
|
|
263
266
|
grid-area: 1 / 1;
|
|
267
|
+
align-self: center;
|
|
264
268
|
display: inline-flex;
|
|
265
269
|
align-items: center;
|
|
266
270
|
gap: var(--astryx-spacing-1, 4px);
|
package/styles/tab-menu.css
CHANGED
package/styles/toolbar.css
CHANGED
|
@@ -13,9 +13,18 @@
|
|
|
13
13
|
min-height: var(--astryx-input-height-sm, 28px);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
/*
|
|
17
|
+
* 三条道:两侧的道平分中间让出的宽度,中间一条留在正中,各自放得进自己的一半。
|
|
18
|
+
* 挤不下时整行换行,尾部的道挪到下一行;中间一条放不进首部旁边时也跟着挪。
|
|
19
|
+
* 竖向工具栏里三条道仍然并排,只是交叉轴改为拉伸。
|
|
20
|
+
*/
|
|
16
21
|
.astryx-toolbar--centered {
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.astryx-toolbar--centered.astryx-toolbar--vertical {
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
align-items: stretch;
|
|
19
28
|
}
|
|
20
29
|
|
|
21
30
|
.astryx-toolbar--vertical {
|
|
@@ -66,9 +75,36 @@
|
|
|
66
75
|
margin-inline-end: calc(-1 * var(--_edge-comp-inset));
|
|
67
76
|
}
|
|
68
77
|
|
|
78
|
+
/*
|
|
79
|
+
* 中间一条的基准宽度是它的最小宽度,所以文字碰到两侧之前整行先换行;
|
|
80
|
+
* 单独占一行且比内容还窄时它会缩小,标签页因此能滚动。槽本身不裁剪,免得切掉外圈子元素的焦点环和阴影。
|
|
81
|
+
*/
|
|
69
82
|
.astryx-toolbar__slot--center {
|
|
70
83
|
justify-content: center;
|
|
84
|
+
flex: 1000 1 min-content;
|
|
71
85
|
min-width: 0;
|
|
86
|
+
max-width: max-content;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/*
|
|
90
|
+
* 两侧的道把控件排在一行里,所以行先换行;只有比工具栏还宽的道才折自己的控件。
|
|
91
|
+
* 边缘补偿用负外边距把道拉出去,flex 会把它算进这条道的份额,
|
|
92
|
+
* 这里用基准宽度把这部分还回去,中间一条才能留在正中。
|
|
93
|
+
*/
|
|
94
|
+
.astryx-toolbar--centered > .astryx-toolbar__slot--start,
|
|
95
|
+
.astryx-toolbar--centered > .astryx-toolbar__slot--end {
|
|
96
|
+
flex: 1 1 0px;
|
|
97
|
+
flex-wrap: wrap;
|
|
98
|
+
min-width: fit-content;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.astryx-toolbar--centered > .astryx-toolbar__slot:has(> [data-astryx-edge-comp]:first-child),
|
|
102
|
+
.astryx-toolbar--centered > .astryx-toolbar__slot:has(> [data-astryx-edge-comp]:last-child:not([data-astryx-has-layer])) {
|
|
103
|
+
flex-basis: var(--_edge-comp-inset);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.astryx-toolbar--centered > .astryx-toolbar__slot:has(> [data-astryx-edge-comp]:first-child):has(> [data-astryx-edge-comp]:last-child:not([data-astryx-has-layer])) {
|
|
107
|
+
flex-basis: calc(2 * var(--_edge-comp-inset));
|
|
72
108
|
}
|
|
73
109
|
.astryx-toolbar__slot--end { justify-content: flex-end; margin-inline-start: auto; }
|
|
74
110
|
|
|
@@ -102,5 +138,5 @@
|
|
|
102
138
|
flex-wrap: nowrap;
|
|
103
139
|
min-width: 0;
|
|
104
140
|
}
|
|
105
|
-
.astryx-toolbar--centered .astryx-toolbar__slot--end { margin-inline-start: 0; }
|
|
141
|
+
.astryx-toolbar--centered > .astryx-toolbar__slot--end { margin-inline-start: 0; }
|
|
106
142
|
}
|