@astryx-vue/core 0.2.5 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +9 -0
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-B6UeBCE7.js → AlertDialog-RAVA_cT1.js} +13 -7
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CeBmB0Q9.js → AppShell-0wTvOo3H.js} +3 -3
- package/dist/Avatar/index.d.ts +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BB4Z4LF1.js → Avatar-pPZ4dI_s.js} +161 -16
- package/dist/AvatarGroup/index.d.ts +2 -2
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/AvatarGroup-B--NQSB3.js +98 -0
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CJe9Im5a.js → Banner-GbGxrqQO.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-o7xw-TOi.js → BottomSheet-JYMB_Ofl.js} +12 -9
- package/dist/{BottomSheet-BV6vfgGu.js → BottomSheet-pt7m4CvC.js} +3 -1
- package/dist/Breadcrumbs/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D6G7f5WL.js → Breadcrumbs-DIm4figq.js} +22 -11
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DrqeomlE.js → Button-B6Hj_O_s.js} +3 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DmTeM7PO.js → Calendar-B7vIowKq.js} +2 -2
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-HAjZQg2s.js → Card-B-I24X9S.js} +2 -0
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CIKrcA2r.js → Carousel-CA8zpD9v.js} +48 -31
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BFox3u9D.js → Chat-Bmna9EOA.js} +98 -61
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-25Q8ItH-.js → CheckboxInput-BS9J6edf.js} +2 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BlPf7vPe.js → CheckboxList-CX1i_jVP.js} +8 -7
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BG-vg9ia.js → Citation-Djgwa0ko.js} +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-Bhds4RRe.js → ClickableCard-DUsC-j03.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-B2pnEOJY.js → CodeBlock-D0BFubut.js} +5 -1
- package/dist/Collapsible/index.d.ts +2 -2
- package/dist/Collapsible/index.js +2 -2
- package/dist/{Collapsible-3YerR-FO.js → Collapsible-Cov3Pyq5.js} +67 -22
- package/dist/CommandPalette/index.d.ts +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DKgHzmJk.js → CommandPalette-YHsUNg3V.js} +60 -20
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Dv44FFhN.js → ComplexSelector-DWLdKPGI.js} +41 -9
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BeJO5HYx.js → ContextMenu-Bq9b3Ti5.js} +15 -8
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-DT518j5E.js +841 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Cp6AZfew.js → DateRangeInput-Bqi5tlIA.js} +188 -140
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B6MPPp76.js → DateTimeInput-A7m2O3bg.js} +43 -12
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-CvRplBo-.js → Dialog-BiOSKQso.js} +9 -5
- package/dist/{Dialog-rfUt3y8P.js → Dialog-FGHfDu5M.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-6E9jFdFe.js → DropdownMenu-CoOQVlRp.js} +9 -10
- package/dist/{DropdownMenu--lnUeJEG.js → DropdownMenu-DEb2dSSP.js} +44 -33
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-0RWymQUS.js → EmptyState-C_GH7IV5.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +2 -2
- package/dist/{Field-8zRxzDHE.js → Field-D5gUEGw4.js} +1 -1
- package/dist/FieldInfoTip-Ds-sW_jY.js +98 -0
- package/dist/FieldLabel-BNeXRuGH.js +95 -0
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/FileInput-BpdiO1V8.js +285 -0
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-B9C3LZlS.js → Heading-BnwWEWkp.js} +7 -2
- package/dist/HoverCard/index.d.ts +2 -2
- package/dist/HoverCard/index.js +2 -2
- package/dist/HoverCard-ycY50pRN.js +492 -0
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BNQuz9W_.js → IconButton-DDNgNl7B.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-BzR6JRZb.js → InputGroup-CA03Smrs.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +2 -0
- package/dist/InternationalizationProvider/index.js +2 -0
- package/dist/InternationalizationProvider-DJay_w3B.js +170 -0
- package/dist/{Item-DrYJL1TG.js → Item-KhFKX9St.js} +15 -6
- package/dist/LayerProvider/index.d.ts +2 -0
- package/dist/LayerProvider/index.js +3 -0
- package/dist/LayerProvider-D9NsQFzL.js +73 -0
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-Bed3kP0M.js → Layout-C6RHllr-.js} +2 -2
- package/dist/{LayoutPanel-C34uOq3e.js → LayoutPanel-DXOsaeQb.js} +4 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Br3o0SyQ.js → Lightbox-DTF9EdTG.js} +2 -2
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DCZ6922-.js → Link-BqHCtiyt.js} +26 -7
- package/dist/LinkProvider/index.d.ts +2 -0
- package/dist/LinkProvider/index.js +3 -0
- package/dist/LinkProvider-Qsps9_mL.js +17 -0
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-CcRHWuEm.js → ListItem-8RWT8XAG.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Bz0R3kNj.js → Markdown-CvtN7HnF.js} +4 -4
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CFaocx6j.js → MetadataList-B-OelQlt.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Dh3uLivq.js → MobileNavToggle-DxGz0xKA.js} +11 -5
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B95nRSe8.js → MoreMenu-Dlb7MLlW.js} +33 -20
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DuF5TECE.js → MultiSelector-BtAUfQ3t.js} +122 -54
- package/dist/{NavDisclosure-C6sPZ89n.js → NavDisclosure-C_fugrQ3.js} +1 -2
- package/dist/{NavHeadingSurface-Cb3x9iDx.js → NavHeadingSurface-B3yJspSN.js} +18 -11
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-FFOisITc.js → NavItem-BBIGSvDj.js} +7 -3
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ClIgMaxE.js → NavMenu-ThXguZAz.js} +7 -3
- package/dist/{NavMenuItem-E7S8gBh-.js → NavMenuItem-BvJNsDFC.js} +8 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-AZ9x3oja.js +473 -0
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DBUuchi9.js → Outline-755h-lMP.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-aDd_oem0.js → OverflowList-NmrSMbxb.js} +10 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CNe9F6Fl.js → Pagination-DqwNQFRp.js} +29 -14
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +2 -2
- package/dist/Popover-DJf8POzL.js +308 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-C6U8Sq1Y.js → PowerSearch-DvjiPqMZ.js} +44 -31
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DF6WZNCI.js → ProgressBar-CVLzdoBK.js} +9 -3
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CBqUPq_L.js → RadioGroup-Bfu6JSNV.js} +60 -24
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CPOJn9Th.js → RadioList-xY1cwLdZ.js} +4 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-DYy0e3v9.js → ResizeHandle-q4nD_586.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-DQDYjnxO.js → ScrollableArea-D4dCJv9I.js} +14 -3
- package/dist/Scrollbars/index.d.ts +2 -0
- package/dist/Scrollbars/index.js +3 -0
- package/dist/Scrollbars-D_93hJYK.js +75 -0
- package/dist/Section/index.d.ts +2 -1
- package/dist/Section/index.js +1 -1
- package/dist/{Section-C48Wqfc7.js → Section-v2QuWBBJ.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Bj5s_tIN.js → SelectableCard-Cku4dRzc.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-5N-hq2nF.js → Selector-DJ2BhUTV.js} +90 -31
- package/dist/SideNav/index.d.ts +2 -2
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-CT9lfspi.js → SideNav-BF8mYDxl.js} +76 -44
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-D8h_RKcF.js → Slider-DWobsPgm.js} +2 -2
- package/dist/Stack/index.d.ts +2 -2
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-iv52y_Jv.js → Stack-CTsTFfar.js} +18 -3
- package/dist/{Stack-gGcYdOAh.js → Stack-kQlYbbL4.js} +22 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/StatusDot-BPUhMOff.js +45 -0
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-BqhVCgC-.js → Stepper-CE8dHysu.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-SesQzPGZ.js → Switch-DaVPRxvN.js} +2 -2
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-BlzkrObv.js → TabList-DIkK9sgK.js} +100 -23
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +2 -2
- package/dist/{Table-CsdH8fCB.js → Table-fecqnm7P.js} +870 -241
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DIzZw6FA.js → Text-CV3LmscH.js} +7 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CPwSytdO.js → TextArea-Ab5Sw60T.js} +24 -14
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BasnjVvy.js → TextInput-zFT1_qgI.js} +21 -24
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BnQwX1cQ.js → Thumbnail-C3NnJUFG.js} +5 -5
- package/dist/TimeField-CoHDGmsP.js +435 -0
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-C9gptCOK.js → TimeInput-D2k3Ux3p.js} +14 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-kxzQx3tp.js → Timer-avMQk5DN.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-D7bd_nF3.js → Timestamp-xpQKCk0d.js} +7 -7
- package/dist/Toast/index.d.ts +3 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-C2ML-bmi.js → Toast-BuqIZV5z.js} +136 -38
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BB_I8EdM.js → ToggleButton-B-C-Q7XP.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-D2GsI_Ei.js → Token-DsntTYhQ.js} +33 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/Tokenizer-B5C_qY7t.js +585 -0
- package/dist/Toolbar/index.d.ts +2 -1
- package/dist/Tooltip/index.d.ts +2 -2
- package/dist/Tooltip/index.js +2 -2
- package/dist/Tooltip-C4Vaqd3G.js +320 -0
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-arWFLTBM.js → TopNav-Ciq0l1w7.js} +122 -84
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-C9xvMpJZ.js → TreeList-BUz-KZJd.js} +90 -40
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/Typeahead-JP9RT87x.js +656 -0
- package/dist/{TypeaheadMenu-BEObzonz.js → TypeaheadMenu-DBW6rHeO.js} +133 -44
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/index.js +12 -7
- package/dist/{composables-CWw6t-RJ.js → composables-CbKx9C1Y.js} +424 -4
- package/dist/context-C_peZbXf.js +16 -0
- package/dist/context-M-er0-Rk.js +99 -0
- package/dist/{context-CPh7kE-a.js → context-iABt_ueM.js} +30 -4
- package/dist/{index-CLmKfnqf.d.ts → index-0QGtSf3r.d.ts} +2 -0
- package/dist/{index-z3uLM1O6.d.ts → index-B1WJxt-n.d.ts} +1 -1
- package/dist/{index-BPwD6aBv.d.ts → index-B3Fomy15.d.ts} +2 -2
- package/dist/{index-CPwzSbQQ.d.ts → index-B42oE_F-.d.ts} +17 -1
- package/dist/{index-EFqQF2Bx.d.ts → index-B4OOtNP8.d.ts} +2 -2
- package/dist/index-B7yhzGUT.d.ts +171 -0
- package/dist/{index-DFbvnBlf.d.ts → index-B9e52paP.d.ts} +15 -2
- package/dist/{index-CEB7Ywvw.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-CsVS37na.d.ts → index-BNbAJV9C.d.ts} +1 -1
- package/dist/index-BTK7aStw.d.ts +88 -0
- package/dist/{index-BBtJt5_A.d.ts → index-BULhhnGf.d.ts} +1 -1
- package/dist/{index-D7-WTV6I.d.ts → index-BVKivP59.d.ts} +2 -2
- package/dist/{index-BpH4wvsg.d.ts → index-BgT6mH3U.d.ts} +2 -2
- package/dist/{index-Be1czg3M.d.ts → index-BhpAUzUr.d.ts} +47 -7
- package/dist/{index-BcJBLWJ0.d.ts → index-BkjSF265.d.ts} +67 -4
- package/dist/{index-DxR1FChm.d.ts → index-Bu8NA2SD.d.ts} +49 -6
- package/dist/{index-HV6W3xCx.d.ts → index-Byar3h1e.d.ts} +1 -1
- package/dist/{index-C-QpeUlQ.d.ts → index-C2nbK2AA.d.ts} +52 -7
- package/dist/{index-iBLzInje.d.ts → index-C5e-7Obr.d.ts} +1 -1
- package/dist/index-CEv_AvOg.d.ts +17 -0
- package/dist/{index-Dgg0bHVM.d.ts → index-CICeEoZV.d.ts} +2 -1
- package/dist/{index-CB9Srua5.d.ts → index-CL1T2j4y.d.ts} +7 -4
- package/dist/{index-DjMwF8ET.d.ts → index-COgrQZIL.d.ts} +7 -1
- package/dist/{index-Ca8VIE4l.d.ts → index-CVn0GBdB.d.ts} +1 -1
- package/dist/{index-ChWlKHjc.d.ts → index-Cde5JvtX.d.ts} +15 -3
- package/dist/index-CitZGSn0.d.ts +39 -0
- package/dist/index-CkKPMIeX.d.ts +55 -0
- package/dist/{index-FEy8qFSD.d.ts → index-ClNU2Th8.d.ts} +30 -3
- package/dist/{index-kaKBOZSU.d.ts → index-Cq31D3fJ.d.ts} +99 -7
- package/dist/{index-xfkEuGLY.d.ts → index-CqE4Bf3Q.d.ts} +8 -2
- package/dist/{index-DtePJ_w_.d.ts → index-Crp3NFLW.d.ts} +2 -2
- package/dist/{index-BlOIC_AM.d.ts → index-CsNi1I8j.d.ts} +6 -0
- package/dist/index-Cyb9Du5Z.d.ts +76 -0
- package/dist/{index-4TRnFGxv.d.ts → index-D41_xqjs.d.ts} +50 -10
- package/dist/{index-eshFLli0.d.ts → index-D97pQbua.d.ts} +7 -0
- package/dist/{index-c67ca7eJ.d.ts → index-DEQ5cnUV.d.ts} +1 -1
- package/dist/{index-BmAxqw1G.d.ts → index-DG52Bg0W.d.ts} +15 -1
- package/dist/{index-Da7Jm8Ht.d.ts → index-DIXAzTKL.d.ts} +1 -1
- package/dist/{index-BmmdzwT9.d.ts → index-DNA2l1RN.d.ts} +35 -11
- package/dist/{index-B9rqmYxh.d.ts → index-DUaLJO7l.d.ts} +978 -313
- package/dist/index-DVmgNb78.d.ts +143 -0
- package/dist/{index-CDdRQQF3.d.ts → index-DWh2WC8W.d.ts} +18 -6
- package/dist/index-DXpSFlPG.d.ts +78 -0
- package/dist/{index-C_2Z65Rp.d.ts → index-DeQwYJbg.d.ts} +39 -2
- package/dist/{index-JL4auphT.d.ts → index-GI9xIV9l.d.ts} +2 -2
- package/dist/{index-Ctu32CLv.d.ts → index-IBAInumL.d.ts} +93 -56
- package/dist/{index-vizlhXVs.d.ts → index-T2FOcOuI.d.ts} +492 -16
- package/dist/{index-CA6RbRWx.d.ts → index-TXcNH86P.d.ts} +2 -2
- package/dist/{index-BIPc1v82.d.ts → index-TntQsADQ.d.ts} +1 -1
- package/dist/index-fAZaRruV.d.ts +125 -0
- package/dist/{index-COxy6LEW.d.ts → index-gW0HW02U.d.ts} +1 -1
- package/dist/{index-D5N9ikrS.d.ts → index-hCpxKePE.d.ts} +1 -1
- package/dist/{index-CpiWVbRZ.d.ts → index-i0tNFWfz.d.ts} +3 -1
- package/dist/{index-YmSe1ujk.d.ts → index-lgvUFSCO.d.ts} +1 -1
- package/dist/{index-bvr3WHvs.d.ts → index-xrzJC4wm.d.ts} +1 -1
- package/dist/{index-BK9T1TPZ.d.ts → index-yT1yiiww.d.ts} +28 -9
- package/dist/index.d.ts +80 -76
- package/dist/index.js +127 -113
- package/dist/link-C4_WogdF.js +18 -0
- package/dist/{index-C3GaPqvJ.d.ts → loadCatalog-BGHKG_9N.d.ts} +16 -37
- package/dist/{locale-sLw5Caia.js → loadCatalog-CXKqEB9s.js} +25 -65
- package/dist/locale/index.d.ts +3 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-DgkZEMTn.js +105 -0
- package/dist/{searchResultMessage-CCnq-_ce.js → searchResultMessage-hXXNOFJP.js} +2 -2
- package/dist/{size-xcIqExkS.js → size-Cpn_wzXi.js} +1 -1
- package/dist/{types-3eXh_5os.d.ts → types-0Q_SJv_F.d.ts} +3 -1
- package/dist/types-BRfVvZTH.d.ts +108 -0
- package/dist/{types-D7QNSqoN.d.ts → types-BTk0WZ0b.d.ts} +8 -0
- package/dist/{types-D_J66aPN.d.ts → types-BnNTzEnd.d.ts} +5 -1
- package/dist/{types-D9nP_X-c.d.ts → types-Ckih2YJi.d.ts} +9 -2
- package/dist/{types-Db3Owy8Q.d.ts → types-OGMYGejX.d.ts} +5 -0
- package/dist/{index-nKlTsNfV.d.ts → types-uFMH9NaM.d.ts} +14 -17
- package/dist/{useAnchoredListbox-BN9LQnon.js → useAnchoredListbox-DwztMNjP.js} +9 -4
- package/dist/useDevWarning-DznOpOHT.js +36 -0
- package/dist/useInputContainer-CpgDe2-4.js +51 -0
- package/dist/useInputStatusIcon-DBOwxV4x.js +41 -0
- package/dist/useInteractiveRole-Cn0Nd5GX.js +25 -0
- package/dist/{useMenuDrillIn-BgjJcY3K.js → useMenuDrillIn-DzKGkTho.js} +1 -1
- package/dist/{useMenuPress-DUmEy4TB.js → useMenuPress-D-FRNrBW.js} +162 -14
- package/dist/useMergedRefs-CfHHlCsn.js +109 -0
- package/dist/useNumberField-4-dIGVed.js +128 -0
- package/dist/{usePositionedLayer-C1NBOsVT.js → usePositionedLayer-Cru9_00b.js} +70 -7
- package/dist/useResizable-DDwPpPe6.d.ts +409 -0
- package/dist/useRestoreFocus-Djw9RUIf.js +153 -0
- package/dist/useScrollbars-C2NJ6Qwq.js +43 -0
- package/dist/{useTimeValue-DWk6oTAZ.js → useTimeValue-6ufHM15W.js} +1 -1
- package/dist/utils-D33VQDnk.js +58 -0
- package/locales/SOURCE.json +1 -1
- package/locales/en.json +445 -1
- package/package.json +19 -2
- package/styles/avatar-group.css +19 -1
- package/styles/avatar.css +34 -13
- package/styles/chat.css +17 -1
- package/styles/dialog-header.css +5 -1
- package/styles/field.css +11 -0
- package/styles/heading.css +9 -0
- package/styles/indicator-focus-ring.css +18 -0
- package/styles/number-input.css +33 -0
- package/styles/pressable.css +44 -0
- package/styles/progress-bar.css +18 -0
- package/styles/scrollbars.css +28 -0
- package/styles/side-nav.css +20 -6
- package/styles/stack.css +4 -2
- package/styles/status-dot.css +18 -0
- package/styles/tab-list.css +38 -2
- package/styles/table.css +66 -6
- package/styles/text.css +9 -0
- package/styles/time-input.css +41 -0
- package/styles/top-nav.css +46 -19
- package/styles/typeahead.css +31 -0
- package/styles.css +2 -0
- package/dist/AvatarGroup-QyzSrpYA.js +0 -60
- package/dist/DateInput-D4XFAEMp.js +0 -743
- package/dist/FieldLabel-DmmJyX7w.js +0 -184
- package/dist/FileInput-DuNwdbAo.js +0 -238
- package/dist/HoverCard-EhbWaGOW.js +0 -443
- package/dist/NumberInput-B4IL3s_8.js +0 -210
- package/dist/Popover-D7zqpFwU.js +0 -215
- package/dist/StatusDot-CaoIapp4.js +0 -27
- package/dist/TimeField-Biiuv0hB.js +0 -214
- package/dist/Tokenizer-rwzamZg4.js +0 -473
- package/dist/Tooltip-C2fh9anJ.js +0 -271
- package/dist/Typeahead-_V11btpv.js +0 -499
- package/dist/index-Blm197N_.d.ts +0 -82
- package/dist/index-Bt7ewoz2.d.ts +0 -119
- package/dist/index-C1HIqW_H.d.ts +0 -38
- package/dist/index-CngORuiq.d.ts +0 -387
- package/dist/index-D4I_obqR.d.ts +0 -58
- package/dist/link-CdcUSxAj.js +0 -12
- package/dist/size-BuTzpgnR.d.ts +0 -14
- package/dist/types-Cp4liug-.d.ts +0 -170
- package/dist/useDismiss-Cj8x_51F.js +0 -62
- package/dist/useNumberField-DL-Radsp.js +0 -49
- package/dist/useResizable-CUoNPmUw.d.ts +0 -72
- package/dist/useRestoreFocus-BvMdXVX9.js +0 -96
- package/dist/utils-C9r3UD_y.js +0 -16
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-
|
|
1
|
+
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-COgrQZIL.js";
|
|
2
2
|
export { _default as ProgressBar, type ProgressBarMark, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ProgressBar-
|
|
1
|
+
import { t as _sfc_main } from "../ProgressBar-CVLzdoBK.js";
|
|
2
2
|
export { _sfc_main as ProgressBar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Tooltip-C4Vaqd3G.js";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref, useAttrs, useId, withCtx } from "vue";
|
|
3
3
|
import "../styles/visually-hidden.css";
|
|
4
4
|
import "../styles/progress-bar.css";
|
|
@@ -6,7 +6,8 @@ import "../styles/progress-bar.css";
|
|
|
6
6
|
const _hoisted_1 = [
|
|
7
7
|
"data-size",
|
|
8
8
|
"data-variant",
|
|
9
|
-
"data-indeterminate"
|
|
9
|
+
"data-indeterminate",
|
|
10
|
+
"data-disabled"
|
|
10
11
|
];
|
|
11
12
|
const _hoisted_2 = {
|
|
12
13
|
key: 0,
|
|
@@ -51,6 +52,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
51
52
|
},
|
|
52
53
|
description: {},
|
|
53
54
|
isIndeterminate: { type: Boolean },
|
|
55
|
+
isDisabled: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
},
|
|
54
59
|
showValue: { type: Boolean },
|
|
55
60
|
hasValueLabel: { type: Boolean },
|
|
56
61
|
valueText: {},
|
|
@@ -104,7 +109,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
104
109
|
style: normalizeStyle([widthStyle.value, unref(attrs).style]),
|
|
105
110
|
"data-size": __props.size,
|
|
106
111
|
"data-variant": __props.variant,
|
|
107
|
-
"data-indeterminate": __props.isIndeterminate || void 0
|
|
112
|
+
"data-indeterminate": __props.isIndeterminate || void 0,
|
|
113
|
+
"data-disabled": __props.isDisabled || void 0
|
|
108
114
|
}, [
|
|
109
115
|
__props.label && (!__props.isLabelHidden || showsValue.value) ? (openBlock(), createElementBlock("div", _hoisted_2, [__props.label ? (openBlock(), createElementBlock("span", {
|
|
110
116
|
key: 0,
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as RadioChangeEvent, Br as RadioStatus, Fr as RadioOption, Hr as RadioValue, Ir as RadioOrientation, Lr as RadioProps, Mr as RadioGroupProps, Nr as RadioGroupSlots, Or as _default$1, Rr as RadioSize, Vr as RadioStatusType, jr as RadioGroupEmits, kr as _default, zr as RadioSlots } from "../index-DUaLJO7l.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
package/dist/Radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-Bfu6JSNV.js";
|
|
2
2
|
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
+
import { t as _sfc_main$3 } from "./Tooltip-C4Vaqd3G.js";
|
|
1
3
|
import { t as useIndicator } from "./useIndicator-i1NORM7W.js";
|
|
2
|
-
import { t as _sfc_main$
|
|
3
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, inject, mergeModels, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
4
|
+
import { t as _sfc_main$4 } from "./Field-D5gUEGw4.js";
|
|
5
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
4
6
|
import "../styles/radio.css";
|
|
5
7
|
//#region src/Radio/types.ts
|
|
6
8
|
const radioContextKey = Symbol("astryx-radio-context");
|
|
@@ -19,6 +21,8 @@ const _hoisted_2 = [
|
|
|
19
21
|
"checked",
|
|
20
22
|
"disabled",
|
|
21
23
|
"readonly",
|
|
24
|
+
"form",
|
|
25
|
+
"aria-disabled",
|
|
22
26
|
"aria-describedby"
|
|
23
27
|
];
|
|
24
28
|
const _hoisted_3 = { class: "astryx-radio-content" };
|
|
@@ -52,6 +56,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
52
56
|
const isSelected = computed(() => selectedValue.value === props.value);
|
|
53
57
|
const isDisabled = computed(() => props.isDisabled || context?.isGroupDisabled.value);
|
|
54
58
|
const isReadOnly = computed(() => props.isReadOnly || context?.isGroupReadOnly.value);
|
|
59
|
+
const groupMessage = computed(() => context?.disabledMessage.value);
|
|
60
|
+
const explainedByMessage = computed(() => isDisabled.value && groupMessage.value != null);
|
|
61
|
+
const messageDescriptionId = computed(() => explainedByMessage.value ? context?.disabledMessageId.value : void 0);
|
|
55
62
|
const RadioMark = useIndicator("radio");
|
|
56
63
|
const indicatorSize = computed(() => context?.size?.value);
|
|
57
64
|
function change(event) {
|
|
@@ -59,6 +66,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
59
66
|
if (context) context.select(props.value, event);
|
|
60
67
|
else emit("change", props.value, event);
|
|
61
68
|
}
|
|
69
|
+
/** 只因 `disabledMessage` 而“禁用”时,仍然能聚焦,用取消点击来拦住切换。 */
|
|
70
|
+
function click(event) {
|
|
71
|
+
if (explainedByMessage.value) event.preventDefault();
|
|
72
|
+
}
|
|
73
|
+
function describedBy() {
|
|
74
|
+
return [props.description ? `${inputId.value}-description` : void 0, messageDescriptionId.value].filter(Boolean).join(" ") || void 0;
|
|
75
|
+
}
|
|
62
76
|
return (_ctx, _cache) => {
|
|
63
77
|
return openBlock(), createElementBlock("label", {
|
|
64
78
|
for: inputId.value,
|
|
@@ -74,9 +88,12 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
74
88
|
name: name.value,
|
|
75
89
|
value: __props.value,
|
|
76
90
|
checked: isSelected.value,
|
|
77
|
-
disabled: isDisabled.value,
|
|
91
|
+
disabled: isDisabled.value && !explainedByMessage.value,
|
|
78
92
|
readonly: isReadOnly.value,
|
|
79
|
-
|
|
93
|
+
form: explainedByMessage.value ? "" : void 0,
|
|
94
|
+
"aria-disabled": explainedByMessage.value || void 0,
|
|
95
|
+
"aria-describedby": describedBy(),
|
|
96
|
+
onClick: click,
|
|
80
97
|
onChange: change
|
|
81
98
|
}, null, 40, _hoisted_2),
|
|
82
99
|
(openBlock(), createBlock(resolveDynamicComponent(unref(RadioMark)), {
|
|
@@ -113,6 +130,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
113
130
|
width: {},
|
|
114
131
|
isDisabled: { type: Boolean },
|
|
115
132
|
isReadOnly: { type: Boolean },
|
|
133
|
+
disabledMessage: {},
|
|
116
134
|
size: {},
|
|
117
135
|
orientation: {},
|
|
118
136
|
label: {},
|
|
@@ -139,6 +157,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
139
157
|
const generatedId = `astryx-radio-group-${useId()}`;
|
|
140
158
|
const inputId = computed(() => props.id ?? generatedId);
|
|
141
159
|
const style = computed(() => ({ "--astryx-field-width": typeof props.width === "number" ? `${props.width}px` : props.width }));
|
|
160
|
+
const disabledMessage = computed(() => props.disabledMessage?.trim() || void 0);
|
|
161
|
+
const disabledMessageId = computed(() => disabledMessage.value ? `${inputId.value}-disabled` : void 0);
|
|
142
162
|
__expose({ element: group });
|
|
143
163
|
function select(value, event) {
|
|
144
164
|
if (props.isDisabled || props.isReadOnly) return;
|
|
@@ -160,10 +180,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
160
180
|
isGroupDisabled: computed(() => props.isDisabled ?? false),
|
|
161
181
|
isGroupReadOnly: computed(() => props.isReadOnly ?? false),
|
|
162
182
|
isRequired: computed(() => (props.isRequired && !props.isOptional) ?? false),
|
|
183
|
+
disabledMessage,
|
|
184
|
+
disabledMessageId,
|
|
163
185
|
size: computed(() => props.size)
|
|
164
186
|
});
|
|
165
187
|
return (_ctx, _cache) => {
|
|
166
|
-
return openBlock(), createBlock(_sfc_main$
|
|
188
|
+
return openBlock(), createBlock(_sfc_main$4, {
|
|
167
189
|
ref_key: "group",
|
|
168
190
|
ref: group,
|
|
169
191
|
class: "astryx-radio-group",
|
|
@@ -185,25 +207,39 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
185
207
|
status: __props.status,
|
|
186
208
|
"status-variant": __props.statusVariant
|
|
187
209
|
}, createSlots({
|
|
188
|
-
default: withCtx((field) => [
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
},
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
210
|
+
default: withCtx((field) => [createVNode(_sfc_main$3, {
|
|
211
|
+
content: disabledMessage.value,
|
|
212
|
+
"is-enabled": disabledMessage.value != null,
|
|
213
|
+
"focus-trigger": "always",
|
|
214
|
+
placement: "above"
|
|
215
|
+
}, {
|
|
216
|
+
default: withCtx(() => [createElementVNode("div", {
|
|
217
|
+
class: "astryx-radio-group-list",
|
|
218
|
+
role: "radiogroup",
|
|
219
|
+
"aria-labelledby": field.labelId,
|
|
220
|
+
"aria-describedby": [field.describedBy, __props.isDisabled ? disabledMessageId.value : void 0].filter(Boolean).join(" ") || void 0
|
|
221
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
|
|
222
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
223
|
+
key: option.value,
|
|
224
|
+
value: option.value,
|
|
225
|
+
label: option.label,
|
|
226
|
+
description: option.description,
|
|
227
|
+
"is-disabled": option.isDisabled
|
|
228
|
+
}, null, 8, [
|
|
229
|
+
"value",
|
|
230
|
+
"label",
|
|
231
|
+
"description",
|
|
232
|
+
"is-disabled"
|
|
233
|
+
]);
|
|
234
|
+
}), 128)), renderSlot(_ctx.$slots, "default")], 8, _hoisted_1)]),
|
|
235
|
+
_: 2
|
|
236
|
+
}, 1032, ["content", "is-enabled"]), __props.isDisabled && disabledMessageId.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
237
|
+
key: 0,
|
|
238
|
+
id: disabledMessageId.value
|
|
239
|
+
}, {
|
|
240
|
+
default: withCtx(() => [createTextVNode(toDisplayString(disabledMessage.value), 1)]),
|
|
241
|
+
_: 1
|
|
242
|
+
}, 8, ["id"])) : createCommentVNode("v-if", true)]),
|
|
207
243
|
_: 2
|
|
208
244
|
}, [_ctx.$slots.labelIcon ? {
|
|
209
245
|
name: "labelIcon",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dr as _default, Er as RadioListItemProps, Pr as RadioListProps, Tr as _default$1 } from "../index-DUaLJO7l.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
package/dist/RadioList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-xY1cwLdZ.js";
|
|
2
2
|
export { _sfc_main as RadioList, _sfc_main$1 as RadioListItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-
|
|
1
|
+
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-Bfu6JSNV.js";
|
|
2
2
|
import { createBlock, createSlots, defineComponent, mergeModels, openBlock, renderSlot, useModel, withCtx } from "vue";
|
|
3
3
|
//#region src/Radio/RadioList.vue
|
|
4
4
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
@@ -13,6 +13,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
13
13
|
width: {},
|
|
14
14
|
isDisabled: { type: Boolean },
|
|
15
15
|
isReadOnly: { type: Boolean },
|
|
16
|
+
disabledMessage: {},
|
|
16
17
|
size: { default: "md" },
|
|
17
18
|
orientation: { default: "vertical" },
|
|
18
19
|
label: {},
|
|
@@ -43,6 +44,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
43
44
|
"is-disabled": __props.isDisabled,
|
|
44
45
|
"is-optional": __props.isOptional,
|
|
45
46
|
"is-required": __props.isRequired,
|
|
47
|
+
"disabled-message": __props.disabledMessage,
|
|
46
48
|
"label-icon": __props.labelIcon,
|
|
47
49
|
"label-tooltip": __props.labelTooltip,
|
|
48
50
|
"optional-label": __props.optionalLabel,
|
|
@@ -70,6 +72,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
70
72
|
"is-disabled",
|
|
71
73
|
"is-optional",
|
|
72
74
|
"is-required",
|
|
75
|
+
"disabled-message",
|
|
73
76
|
"label-icon",
|
|
74
77
|
"label-tooltip",
|
|
75
78
|
"optional-label",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-
|
|
1
|
+
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-Crp3NFLW.js";
|
|
2
2
|
export { type ResizeDirection, _default as ResizeHandle, type ResizeHandleProps, type ResizeHandleSlots, type ResizePillPlacement, type ResizePosition };
|
package/dist/Resizable/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ResizeHandle-
|
|
1
|
+
import { t as _sfc_main } from "../ResizeHandle-q4nD_586.js";
|
|
2
2
|
export { _sfc_main as ResizeHandle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as useAstryxMessages } from "./context-
|
|
1
|
+
import { o as useAstryxMessages } from "./context-iABt_ueM.js";
|
|
2
2
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, useAttrs, useTemplateRef } from "vue";
|
|
3
3
|
import "../styles/resize-handle.css";
|
|
4
4
|
//#region src/Resizable/ResizeHandle.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cr as ScrollableAreaProps, Sr as _default, wr as ScrollableAreaSlots } from "../index-DUaLJO7l.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ScrollableArea-
|
|
1
|
+
import { t as _sfc_main } from "../ScrollableArea-D4dCJv9I.js";
|
|
2
2
|
export { _sfc_main as ScrollableArea };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as useScrollableArea } from "./useScrollableArea-DDk_CluT.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
3
|
+
import { i as spacingVariable, n as resolvePadding, t as formatSize } from "./size-Cpn_wzXi.js";
|
|
4
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, openBlock, renderSlot, shallowRef, unref, useAttrs } from "vue";
|
|
4
5
|
import "../styles/scrollable-area.css";
|
|
5
6
|
//#region src/ScrollableArea/ScrollableArea.vue
|
|
6
7
|
const _hoisted_1 = ["data-axis", "data-full-bleed"];
|
|
@@ -22,6 +23,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
22
23
|
type: Boolean,
|
|
23
24
|
default: false
|
|
24
25
|
},
|
|
26
|
+
scrollbars: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: true
|
|
29
|
+
},
|
|
25
30
|
padding: { default: 0 },
|
|
26
31
|
paddingInline: {},
|
|
27
32
|
paddingInlineStart: {},
|
|
@@ -34,6 +39,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
34
39
|
const props = __props;
|
|
35
40
|
const attrs = useAttrs();
|
|
36
41
|
const scroll = useScrollableArea(props);
|
|
42
|
+
const viewportEl = shallowRef(null);
|
|
43
|
+
function bindViewport(el) {
|
|
44
|
+
scroll.viewport(el);
|
|
45
|
+
viewportEl.value = el instanceof HTMLElement ? el : null;
|
|
46
|
+
}
|
|
47
|
+
useScrollbars(viewportEl, { enabled: () => props.scrollbars });
|
|
37
48
|
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")));
|
|
38
49
|
const rootClass = computed(() => ["astryx-scrollable-area", attrs.class]);
|
|
39
50
|
const rootStyle = computed(() => [
|
|
@@ -57,7 +68,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
57
68
|
};
|
|
58
69
|
});
|
|
59
70
|
return (_ctx, _cache) => {
|
|
60
|
-
return openBlock(), createElementBlock("div", mergeProps({ ref:
|
|
71
|
+
return openBlock(), createElementBlock("div", mergeProps({ ref: bindViewport }, {
|
|
61
72
|
...forwardedAttrs.value,
|
|
62
73
|
...unref(scroll).viewportAttrs.value
|
|
63
74
|
}, {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as ScrollbarsContext, c as ScrollbarsProviderProps, d as UseScrollbarsResult, i as ScrollbarsAutoHide, l as ScrollbarsProviderSlots, n as _default, o as ScrollbarsHandle, r as scrollbarsKey, s as ScrollbarsOptions, t as useScrollbars, u as UseScrollbarsOptions } from "../index-fAZaRruV.js";
|
|
2
|
+
export { type ScrollbarsAutoHide, type ScrollbarsContext, type ScrollbarsHandle, type ScrollbarsOptions, _default as ScrollbarsProvider, type ScrollbarsProviderProps, type ScrollbarsProviderSlots, type UseScrollbarsOptions, type UseScrollbarsResult, scrollbarsKey, useScrollbars };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { n as scrollbarsKey } from "./useScrollbars-C2NJ6Qwq.js";
|
|
2
|
+
import { computed, defineComponent, provide, renderSlot } from "vue";
|
|
3
|
+
import { OverlayScrollbars } from "overlayscrollbars";
|
|
4
|
+
import "../styles/scrollbars.css";
|
|
5
|
+
//#region src/Scrollbars/options.ts
|
|
6
|
+
function isPlainObject(value) {
|
|
7
|
+
if (value === null || typeof value !== "object") return false;
|
|
8
|
+
const proto = Object.getPrototypeOf(value);
|
|
9
|
+
return proto === Object.prototype || proto === null;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 把 `override` 深合并到 `base` 上,返回新对象,两个入参都不会被改动。
|
|
13
|
+
* 只有纯对象会递归合并,数组和其他值直接用 `override` 的。
|
|
14
|
+
* `override` 里值为 `undefined` 的字段会被忽略。
|
|
15
|
+
*/
|
|
16
|
+
function mergeOptions(base, override) {
|
|
17
|
+
const result = { ...base };
|
|
18
|
+
if (!override) return result;
|
|
19
|
+
for (const [key, value] of Object.entries(override)) {
|
|
20
|
+
if (value === void 0) continue;
|
|
21
|
+
const current = result[key];
|
|
22
|
+
result[key] = isPlainObject(current) && isPlainObject(value) ? mergeOptions(current, value) : value;
|
|
23
|
+
}
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/Scrollbars/ScrollbarsProvider.vue
|
|
28
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
29
|
+
name: "AstryxScrollbarsProvider",
|
|
30
|
+
inheritAttrs: false,
|
|
31
|
+
__name: "ScrollbarsProvider",
|
|
32
|
+
props: {
|
|
33
|
+
enabled: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true
|
|
36
|
+
},
|
|
37
|
+
autoHide: { default: "scroll" },
|
|
38
|
+
autoHideDelay: { default: 800 },
|
|
39
|
+
options: { default: void 0 }
|
|
40
|
+
},
|
|
41
|
+
setup(__props) {
|
|
42
|
+
const props = __props;
|
|
43
|
+
/** 什么都不做的句柄:元素已被别处接管时使用,避免一方销毁连带另一方。 */
|
|
44
|
+
const noopHandle = {
|
|
45
|
+
update: () => {},
|
|
46
|
+
destroy: () => {}
|
|
47
|
+
};
|
|
48
|
+
const options = computed(() => mergeOptions({ scrollbars: {
|
|
49
|
+
theme: "os-theme-astryx",
|
|
50
|
+
autoHide: props.autoHide,
|
|
51
|
+
autoHideDelay: props.autoHideDelay
|
|
52
|
+
} }, props.options));
|
|
53
|
+
function mount(element, initial) {
|
|
54
|
+
if (OverlayScrollbars(element)) return noopHandle;
|
|
55
|
+
const instance = OverlayScrollbars({
|
|
56
|
+
target: element,
|
|
57
|
+
elements: { viewport: element }
|
|
58
|
+
}, initial);
|
|
59
|
+
return {
|
|
60
|
+
update: (next) => instance.options(next, true),
|
|
61
|
+
destroy: () => instance.destroy()
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
provide(scrollbarsKey, {
|
|
65
|
+
enabled: computed(() => props.enabled),
|
|
66
|
+
options,
|
|
67
|
+
mount
|
|
68
|
+
});
|
|
69
|
+
return (_ctx, _cache) => {
|
|
70
|
+
return renderSlot(_ctx.$slots, "default");
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
export { _sfc_main as t };
|
package/dist/Section/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as SectionVariant, n as SectionProps, r as SectionSlots, t as SectionDivider } from "../types-uFMH9NaM.js";
|
|
2
|
+
import { t as _default } from "../index-CEv_AvOg.js";
|
|
2
3
|
export { _default as Section, type SectionDivider, type SectionProps, type SectionSlots, type SectionVariant };
|
package/dist/Section/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Section-
|
|
1
|
+
import { t as _sfc_main } from "../Section-v2QuWBBJ.js";
|
|
2
2
|
export { _sfc_main as Section };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as spacingEdgeVars, t as formatSize } from "./size-
|
|
1
|
+
import { r as spacingEdgeVars, t as formatSize } from "./size-Cpn_wzXi.js";
|
|
2
2
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, openBlock, renderSlot, useAttrs, useTemplateRef } from "vue";
|
|
3
3
|
import "../styles/section.css";
|
|
4
4
|
//#region src/Section/Section.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-
|
|
1
|
+
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-gW0HW02U.js";
|
|
2
2
|
export { _default as SegmentedControl, type SegmentedControlContextValue, type SegmentedControlEmits, _default$1 as SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlItemSlots, type SegmentedControlLayout, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { br as SelectableCardProps, vr as _default, xr as SelectableCardSlots, yr as SelectableCardEmits } from "../index-DUaLJO7l.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardProps, type SelectableCardSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as SelectableCard_default } from "../SelectableCard-
|
|
1
|
+
import { n as _sfc_main, t as SelectableCard_default } from "../SelectableCard-Cku4dRzc.js";
|
|
2
2
|
export { _sfc_main as SelectableCard, SelectableCard_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
2
|
import { n as useClickableContainer } from "./useClickableContainer-DyNpnSEa.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Card-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Card-B-I24X9S.js";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, openBlock, renderSlot, useModel, useTemplateRef, withCtx } from "vue";
|
|
5
5
|
import "../styles/clickable-card.css";
|
|
6
6
|
//#region src/SelectableCard/SelectableCard.vue
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-yT1yiiww.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|
package/dist/Selector/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Selector-
|
|
1
|
+
import { t as _sfc_main } from "../Selector-DJ2BhUTV.js";
|
|
2
2
|
export { _sfc_main as Selector };
|