@astryx-vue/core 0.3.0 → 0.4.1
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-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-0wTvOo3H.js → AppShell-awAKicsc.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-pPZ4dI_s.js → Avatar-DXBjJ88C.js} +47 -34
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-kpAeKLNq.js} +57 -13
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-GbGxrqQO.js → Banner-BdvuyzAe.js} +71 -35
- package/dist/Blockquote/index.js +1 -1
- package/dist/Blockquote-DRoKdcxZ.js +27 -0
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
- package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Breadcrumbs-D4ZzHEB0.js +223 -0
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
- package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-B7vIowKq.js → Calendar-CjK-JUDM.js} +5 -5
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CA8zpD9v.js → Carousel-D262qigj.js} +8 -8
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bmna9EOA.js → Chat-DD_mlIP3.js} +165 -101
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-D8vTmAMZ.js} +20 -12
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-DCvHewHB.js} +155 -38
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Djgwa0ko.js → Citation-C69BgxW3.js} +8 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +3 -3
- package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
- package/dist/{CodeBlock-D0BFubut.js → CodeBlock-DsbwTBiT.js} +8 -8
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-CZ7CZglZ.js} +147 -67
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-CIz6DDmY.js} +114 -28
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-CxoiRh_h.js} +297 -179
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DT518j5E.js → DateInput-C67HCOU-.js} +563 -72
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Dsf5Tyf-.js} +91 -26
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/DateTimeInput-tfM1y5nZ.js +562 -0
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-BiOSKQso.js → Dialog-DT1GzCrB.js} +28 -11
- package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Divider/index.js +1 -1
- package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-C6wBC18g.js} +84 -56
- package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-G-pWSiBk.js} +479 -264
- package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
- package/dist/Field/index.d.ts +4 -3
- package/dist/Field/index.js +4 -3
- package/dist/{Field-D5gUEGw4.js → Field-JIxT3xCh.js} +5 -4
- package/dist/FieldIcon-BFSHZEs_.js +40 -0
- package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-BbgLt4ug.js} +4 -4
- package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-CHqp1y3z.js} +13 -8
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-MjY19ERl.js → FieldStatus-DaAB3TIt.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BpdiO1V8.js → FileInput-Bi1uty-F.js} +108 -31
- package/dist/FormLayout/index.d.ts +1 -1
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Indicator/index.js +2 -1
- package/dist/InputClearButton-CfSIqc-V.js +40 -0
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-CA03Smrs.js → InputGroup-D3F-QnET.js} +2 -2
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-CVV5QDgp.js} +5 -9
- package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
- package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
- package/dist/LayerProvider/index.js +1 -1
- package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
- package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DTF9EdTG.js → Lightbox-CjXhbDPc.js} +14 -12
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BqHCtiyt.js → Link-ClNkTN1Q.js} +29 -12
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
- package/dist/Markdown/index.d.ts +5 -2
- package/dist/Markdown/index.js +4 -2
- package/dist/Markdown/parser/index.d.ts +4 -0
- package/dist/Markdown/parser/index.js +2 -0
- package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
- package/dist/Markdown/plugin-protocol/index.js +107 -0
- package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
- package/dist/Markdown/plugin-renderer/index.js +42 -0
- package/dist/{Markdown-CvtN7HnF.js → Markdown-EIBrwQrb.js} +195 -524
- package/dist/MediaTheme-DlLqYhDy.js +433 -0
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-B-OelQlt.js → MetadataList-DLlSLX1n.js} +15 -7
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-DgJYyzT6.js} +52 -17
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-C8BEt6-O.js} +74 -61
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/MultiSelector-C7NCAtwW.js +1456 -0
- package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
- package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-DQXisuaX.js} +29 -26
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
- package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-3u3NZWnv.js +727 -0
- package/dist/Outline/index.d.ts +2 -2
- package/dist/Outline/index.js +2 -2
- package/dist/{Outline-755h-lMP.js → Outline-8szj9eXu.js} +91 -6
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BizpEwH8.js} +23 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DqwNQFRp.js → Pagination-Cihr1CjD.js} +2 -2
- package/dist/PickerWheel-CSwUYfes.js +69 -0
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BHx91ypY.js} +778 -590
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-DeSIRrgt.js} +94 -26
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-xY1cwLdZ.js → RadioList-Co2lmetC.js} +57 -8
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-DjLZ2pcq.js} +103 -50
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-swa3RNQI.js +1049 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BF8mYDxl.js → SideNav-BH6XKsW2.js} +56 -42
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DWobsPgm.js → Slider-DG2YXll8.js} +172 -46
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-BY8iQz--.js +200 -0
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
- package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CE8dHysu.js → Stepper-FtkTq5qR.js} +127 -113
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DaVPRxvN.js → Switch-0JKvJluV.js} +38 -22
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIkK9sgK.js → TabList-cpjvnbhx.js} +205 -63
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-fecqnm7P.js → Table-fWs_ZQBF.js} +735 -461
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Ab5Sw60T.js → TextArea-CwSfEjT1.js} +110 -50
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-zFT1_qgI.js → TextInput-CavITage.js} +71 -38
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -2
- package/dist/Theme-BbDT8B_C.js +2125 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-DpJnaNbg.js} +17 -14
- package/dist/{TimeField-CoHDGmsP.js → TimeField-DefNjDIT.js} +297 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-j5vzN8MG.js} +78 -9
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-xpQKCk0d.js → Timestamp-dtT4yADD.js} +9 -9
- package/dist/Toast/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toast-igtJYSw0.js +685 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DsntTYhQ.js → Token-DhsAtAH6.js} +32 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-BGdj78UK.js} +107 -23
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Ciq0l1w7.js → TopNav-Dw0m387B.js} +23 -22
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BUz-KZJd.js → TreeList-Bunn7u3T.js} +129 -46
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-JP9RT87x.js → Typeahead-DRyf2HEh.js} +123 -26
- package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BY5__sPC.js} +141 -51
- package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
- package/dist/characters-rcDbGt71.d.ts +29 -0
- package/dist/characters-wTnzjkkR.js +58 -0
- package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
- package/dist/composables/index.d.ts +5 -4
- package/dist/composables/index.js +23 -18
- package/dist/{composables-CbKx9C1Y.js → composables-CnsDaMuU.js} +167 -197
- package/dist/context-B6UElI5X.js +5 -0
- package/dist/context-CM-cjGg_.js +1425 -0
- package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
- package/dist/context-IvbU9c3T.js +8 -0
- package/dist/context-pjBxaMSh.js +28 -0
- package/dist/fieldParts--SyRZVQG.js +44 -0
- package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
- package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
- package/dist/hoverIntent-DMHGb85c.js +115 -0
- package/dist/{index-ClNU2Th8.d.ts → index-3t5RAfNP.d.ts} +6 -2
- package/dist/{index-B9e52paP.d.ts → index-5LVG3QyV.d.ts} +1 -1
- package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-Cn-sSds-.d.ts → index-B1t1oQWH.d.ts} +24 -1
- package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
- package/dist/{index-yT1yiiww.d.ts → index-BI6jikpA.d.ts} +23 -11
- package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
- package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
- package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
- package/dist/{index-Bu8NA2SD.d.ts → index-BaxM-pFP.d.ts} +12 -3
- package/dist/{index-BVKivP59.d.ts → index-Bgk1Rj2A.d.ts} +32 -3
- package/dist/index-BkUkm6Al.d.ts +11 -0
- package/dist/index-Bo-ofFyg.d.ts +166 -0
- package/dist/{index-B1WJxt-n.d.ts → index-C-tFz2Yx.d.ts} +17 -7
- package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
- package/dist/{index-CqE4Bf3Q.d.ts → index-C732aNMY.d.ts} +18 -4
- package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
- package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
- package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
- package/dist/index-CKUfpmFL.d.ts +375 -0
- package/dist/{index-CL1T2j4y.d.ts → index-CL8JvxHW.d.ts} +3 -3
- package/dist/{index-IBAInumL.d.ts → index-CMme-xmL.d.ts} +19 -6
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
- package/dist/{index-B42oE_F-.d.ts → index-CT5OEUxd.d.ts} +17 -4
- package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
- package/dist/{index-Cde5JvtX.d.ts → index-CUVmtB5-.d.ts} +13 -6
- package/dist/{index-DXpSFlPG.d.ts → index-CWaSYtk9.d.ts} +4 -4
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-Cyb9Du5Z.d.ts → index-CfR2Z0uG.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
- package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
- package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
- package/dist/{index-i0tNFWfz.d.ts → index-D8lv2BiD.d.ts} +3 -1
- package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
- package/dist/{index-0QGtSf3r.d.ts → index-DFLPv9io.d.ts} +4 -3
- package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
- package/dist/{index-D41_xqjs.d.ts → index-DTuhnqHb.d.ts} +16 -9
- package/dist/{index-B3Fomy15.d.ts → index-DbiZvj1P.d.ts} +4 -4
- package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
- package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
- package/dist/{index-BhpAUzUr.d.ts → index-Dy746dfn.d.ts} +1 -1
- package/dist/{index-GI9xIV9l.d.ts → index-JL4auphT.d.ts} +2 -2
- package/dist/{index-DVmgNb78.d.ts → index-TA1zVibb.d.ts} +4 -4
- package/dist/{index-DUaLJO7l.d.ts → index-UA93Im7H.d.ts} +155 -109
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
- package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
- package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
- package/dist/{index-B4OOtNP8.d.ts → index-pYh4gqgl.d.ts} +1 -1
- package/dist/index.d.ts +81 -75
- package/dist/index.js +150 -136
- package/dist/inlineSize-BNe8wggI.js +66 -0
- package/dist/inputPresentation-BOyHkCDr.js +62 -0
- package/dist/interactionModality-ACpTMhak.js +44 -0
- package/dist/isApplePlatform-B1ju6F5B.js +27 -0
- package/dist/isRenderable-BnKHIqfd.js +21 -0
- package/dist/layerDepth-CNDh-IHb.js +181 -0
- package/dist/link-DuuA2eCL.js +30 -0
- package/dist/loadCatalog-CsZFr9dg.js +424 -0
- package/dist/loadCatalog-opk5hs94.d.ts +803 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-D1Z3K290.js +343 -0
- package/dist/modalOutlet-CUOcrhIu.js +56 -0
- package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
- package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
- package/dist/protocol-DHxY0NI8.js +113 -0
- package/dist/protocol-DwUmpC5G.d.ts +240 -0
- package/dist/publicParser-B6XMcsB2.d.ts +141 -0
- package/dist/publicParser-DWUMCx7j.js +1437 -0
- package/dist/resizableChannel-3vivrEcT.js +20 -0
- package/dist/safeUrl-CsvfcZ9m.js +54 -0
- package/dist/scopedProvide-C-Df7c15.js +30 -0
- package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
- package/dist/scrollLock-C3aT4-0z.js +102 -0
- package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-DtyScdZs.js} +5 -14
- package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
- package/dist/slug-DAK6hdbr.js +17 -0
- package/dist/syntaxContext-DmIfNNtb.js +4 -0
- package/dist/triggerVariant-BsL8jMHs.js +16 -0
- package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
- package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
- package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
- package/dist/upstreamMap-ocuIRfI2.js +893 -0
- package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
- package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
- package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
- package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
- package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
- package/dist/{useIndicator-i1NORM7W.js → useIndicator-D9Y0dJsm.js} +5 -23
- package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
- package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-CWkCeMyX.js} +2 -2
- package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
- package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
- package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
- package/dist/useMenuHover-Djreu23i.js +170 -0
- package/dist/useMenuPress-8foxY8z4.js +764 -0
- package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
- package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
- package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
- package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
- package/dist/usePressFeedback-BJCpjEpv.js +319 -0
- package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
- package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
- package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
- package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
- package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
- package/dist/useScrollableArea-BE8b3qm7.js +222 -0
- package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
- package/dist/useTranslator-PEXMxDpv.js +35 -0
- package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +5 -0
- package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
- package/dist/utils-z3Q6BGIJ.js +819 -0
- package/locales/SOURCE.json +1 -1
- package/package.json +18 -2
- package/reset.css +364 -1
- package/styles/avatar-group.css +9 -1
- package/styles/badge.css +8 -5
- package/styles/banner.css +125 -26
- package/styles/blockquote.css +1 -0
- package/styles/bordered-control.css +1 -1
- package/styles/bottom-sheet.css +74 -6
- package/styles/breadcrumbs.css +16 -2
- package/styles/button-group.css +3 -1
- package/styles/button.css +53 -11
- package/styles/card.css +1 -1
- package/styles/chat.css +16 -6
- package/styles/checkbox-input.css +10 -0
- package/styles/clickable-card.css +10 -3
- package/styles/collapsible.css +12 -5
- package/styles/command-palette.css +29 -14
- package/styles/complex-selector.css +24 -5
- package/styles/context-menu.css +3 -3
- package/styles/date-input.css +111 -1
- package/styles/dialog-header.css +4 -1
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +12 -3
- package/styles/field.css +5 -0
- package/styles/form-layout.css +1 -0
- package/styles/heading.css +18 -8
- package/styles/icon.css +9 -9
- package/styles/kbd.css +1 -1
- package/styles/layer.css +72 -0
- package/styles/list.css +9 -2
- package/styles/metadata-list.css +1 -0
- package/styles/mobile-nav.css +4 -1
- package/styles/multi-selector.css +48 -1
- package/styles/nav-item.css +9 -2
- package/styles/nav-menu.css +12 -2
- package/styles/number-input.css +9 -1
- package/styles/overflow-list.css +1 -1
- package/styles/popover.css +2 -1
- package/styles/power-search.css +5 -3
- package/styles/pressable.css +63 -22
- package/styles/progress-bar.css +15 -3
- package/styles/radio.css +16 -0
- package/styles/resize-handle.css +42 -0
- package/styles/segmented-control.css +12 -4
- package/styles/selector.css +53 -1
- package/styles/side-nav.css +19 -0
- package/styles/slider.css +4 -3
- package/styles/spinner.css +48 -42
- package/styles/stepper.css +58 -4
- package/styles/switch.css +26 -0
- package/styles/tab-list.css +132 -3
- package/styles/table.css +88 -11
- package/styles/text-area.css +7 -1
- package/styles/text-input.css +1 -1
- package/styles/text.css +6 -6
- package/styles/thumbnail.css +11 -3
- package/styles/time-input.css +8 -0
- package/styles/toast.css +37 -3
- package/styles/token.css +2 -2
- package/styles/tokenizer.css +1 -1
- package/styles/toolbar.css +4 -1
- package/styles/tree-list.css +1 -1
- package/styles/typeahead.css +34 -1
- package/styles.css +1 -0
- package/dist/Blockquote-DFqBv_oJ.js +0 -18
- package/dist/Breadcrumbs-DIm4figq.js +0 -141
- package/dist/ButtonGroup-ySQWanDP.js +0 -125
- package/dist/DateTimeInput-A7m2O3bg.js +0 -268
- package/dist/FieldIcon--NTgW5IU.js +0 -44
- package/dist/MultiSelector-BtAUfQ3t.js +0 -990
- package/dist/NumberInput-AZ9x3oja.js +0 -473
- package/dist/Selector-DJ2BhUTV.js +0 -677
- package/dist/Spinner-9cYUCnDy.js +0 -84
- package/dist/Theme-CtaUWo4g.js +0 -1246
- package/dist/Toast-BuqIZV5z.js +0 -322
- package/dist/context-4PuqD1Ic.js +0 -4
- package/dist/context-D5-MwxnN.js +0 -4
- package/dist/context-iABt_ueM.js +0 -976
- package/dist/index-BH9PzQ1F.d.ts +0 -87
- package/dist/link-C4_WogdF.js +0 -18
- package/dist/loadCatalog-BGHKG_9N.d.ts +0 -457
- package/dist/loadCatalog-CXKqEB9s.js +0 -877
- package/dist/locale-DgkZEMTn.js +0 -105
- package/dist/platform-B_9W_aHW.js +0 -33
- package/dist/scrollLock-BzIvIimL.js +0 -42
- package/dist/useMenuPress-D-FRNrBW.js +0 -573
- package/dist/useScrollableArea-DDk_CluT.js +0 -172
- /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
2
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, withCtx } from "vue";
|
|
1
|
+
import { t as _sfc_main$1 } from "./Tooltip-sAM8i1eO.js";
|
|
2
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toRaw, useSlots, withCtx } from "vue";
|
|
3
3
|
import "../styles/status-dot.css";
|
|
4
4
|
//#region src/StatusDot/StatusDot.vue
|
|
5
5
|
const _hoisted_1 = ["data-variant", "aria-label"];
|
|
@@ -18,7 +18,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
18
18
|
type: Boolean,
|
|
19
19
|
default: false
|
|
20
20
|
},
|
|
21
|
-
tooltip: {}
|
|
21
|
+
tooltip: {},
|
|
22
|
+
icon: {}
|
|
22
23
|
},
|
|
23
24
|
setup(__props) {
|
|
24
25
|
const props = __props;
|
|
@@ -26,6 +27,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
26
27
|
const Passthrough = defineComponent({ setup(_props, { slots }) {
|
|
27
28
|
return () => slots.default?.();
|
|
28
29
|
} });
|
|
30
|
+
const slots = useSlots();
|
|
31
|
+
const icon = computed(() => props.icon ? toRaw(props.icon) : void 0);
|
|
32
|
+
const showsIcon = computed(() => Boolean(slots.icon) || icon.value != null);
|
|
29
33
|
const wrapper = computed(() => props.tooltip ? _sfc_main$1 : Passthrough);
|
|
30
34
|
const wrapperProps = computed(() => props.tooltip ? { content: props.tooltip } : {});
|
|
31
35
|
return (_ctx, _cache) => {
|
|
@@ -35,7 +39,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
35
39
|
"data-variant": __props.variant,
|
|
36
40
|
role: "img",
|
|
37
41
|
"aria-label": __props.label
|
|
38
|
-
}, [
|
|
42
|
+
}, [showsIcon.value ? (openBlock(), createElementBlock("span", _hoisted_2, [renderSlot(_ctx.$slots, "icon", {}, () => [icon.value ? (openBlock(), createBlock(resolveDynamicComponent(icon.value), { key: 0 })) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true)], 10, _hoisted_1)]),
|
|
39
43
|
_: 3
|
|
40
44
|
}, 16);
|
|
41
45
|
};
|
package/dist/Stepper/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-
|
|
1
|
+
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-Ca8VIE4l.js";
|
|
2
2
|
export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
|
package/dist/Stepper/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-FtkTq5qR.js";
|
|
2
2
|
export { _sfc_main as Step, _sfc_main$1 as Stepper };
|
|
@@ -1,9 +1,21 @@
|
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
2
|
+
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
1
3
|
import { t as _sfc_main$3 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
+
import { t as _sfc_main$4 } from "./Icon-KDnUyY7f.js";
|
|
5
|
+
import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
|
|
6
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
|
|
4
7
|
import "../styles/stepper.css";
|
|
5
8
|
//#region src/Stepper/context.ts
|
|
6
|
-
const stepperContextKey =
|
|
9
|
+
const stepperContextKey = defineLayerScopedKey("stepper", null);
|
|
10
|
+
/**
|
|
11
|
+
* 读最近的 `Stepper`。不在 `Stepper` 里(包括被浮层边界截断的情况)就报错,
|
|
12
|
+
* 报错方式和上游 `useStepperContext` 一致。
|
|
13
|
+
*/
|
|
14
|
+
function useStepperContext() {
|
|
15
|
+
const context = readLayerScoped(stepperContextKey);
|
|
16
|
+
if (context == null) throw new Error("useStepperContext must be used within Stepper. Wrap your Step in <Stepper>.");
|
|
17
|
+
return context;
|
|
18
|
+
}
|
|
7
19
|
function shouldCollapseStepper(width, count, minimumStepWidth, orientation) {
|
|
8
20
|
if (orientation !== "horizontal" || count < 1) return false;
|
|
9
21
|
return width < count * (minimumStepWidth ?? 112);
|
|
@@ -21,28 +33,22 @@ function resolveStepGlyph(options) {
|
|
|
21
33
|
//#region src/Stepper/StepMarker.vue
|
|
22
34
|
const _hoisted_1$2 = ["data-glyph"];
|
|
23
35
|
const _hoisted_2$2 = {
|
|
24
|
-
key: 0,
|
|
25
|
-
viewBox: "0 0 16 16"
|
|
26
|
-
};
|
|
27
|
-
const _hoisted_3$2 = {
|
|
28
|
-
key: 1,
|
|
29
|
-
viewBox: "0 0 16 16"
|
|
30
|
-
};
|
|
31
|
-
const _hoisted_4$2 = {
|
|
32
36
|
key: 2,
|
|
33
37
|
viewBox: "0 0 16 16"
|
|
34
38
|
};
|
|
35
|
-
const
|
|
39
|
+
const _hoisted_3$2 = {
|
|
36
40
|
key: 3,
|
|
37
41
|
viewBox: "0 0 16 16"
|
|
38
42
|
};
|
|
39
|
-
const
|
|
43
|
+
const _hoisted_4$2 = { key: 4 };
|
|
40
44
|
const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
41
45
|
name: "AstryxStepMarker",
|
|
42
46
|
__name: "StepMarker",
|
|
43
47
|
props: {
|
|
44
48
|
glyph: {},
|
|
45
|
-
numberLabel: {}
|
|
49
|
+
numberLabel: {},
|
|
50
|
+
status: {},
|
|
51
|
+
isDisabled: { type: Boolean }
|
|
46
52
|
},
|
|
47
53
|
setup(__props) {
|
|
48
54
|
return (_ctx, _cache) => {
|
|
@@ -51,27 +57,17 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
51
57
|
class: "astryx-step-indicator",
|
|
52
58
|
"data-glyph": __props.glyph,
|
|
53
59
|
"aria-hidden": "true"
|
|
54
|
-
}, [__props.glyph === "warning" ? (openBlock(),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
}, null,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
cy: "8",
|
|
66
|
-
r: "6",
|
|
67
|
-
fill: "none",
|
|
68
|
-
stroke: "currentColor",
|
|
69
|
-
"stroke-width": "1.5"
|
|
70
|
-
}, null, -1), createElementVNode("path", {
|
|
71
|
-
d: "M5.5 5.5l5 5M10.5 5.5l-5 5",
|
|
72
|
-
stroke: "currentColor",
|
|
73
|
-
"stroke-linecap": "round"
|
|
74
|
-
}, null, -1)])])) : __props.glyph === "check" ? (openBlock(), createElementBlock("svg", _hoisted_4$2, [..._cache[2] || (_cache[2] = [createElementVNode("circle", {
|
|
60
|
+
}, [__props.glyph === "warning" || __props.glyph === "error" ? (openBlock(), createBlock(_sfc_main$4, {
|
|
61
|
+
key: 0,
|
|
62
|
+
icon: __props.glyph,
|
|
63
|
+
size: "sm",
|
|
64
|
+
color: __props.isDisabled ? "disabled" : __props.glyph
|
|
65
|
+
}, null, 8, ["icon", "color"])) : __props.glyph === "check" && __props.status === "success" ? (openBlock(), createBlock(_sfc_main$4, {
|
|
66
|
+
key: 1,
|
|
67
|
+
icon: "success",
|
|
68
|
+
size: "sm",
|
|
69
|
+
color: __props.isDisabled ? "disabled" : "success"
|
|
70
|
+
}, null, 8, ["color"])) : __props.glyph === "check" ? (openBlock(), createElementBlock("svg", _hoisted_2$2, [..._cache[0] || (_cache[0] = [createElementVNode("circle", {
|
|
75
71
|
cx: "8",
|
|
76
72
|
cy: "8",
|
|
77
73
|
r: "8",
|
|
@@ -83,7 +79,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
83
79
|
"stroke-linecap": "round",
|
|
84
80
|
"stroke-linejoin": "round",
|
|
85
81
|
"stroke-width": "1.6"
|
|
86
|
-
}, null, -1)])])) : __props.glyph === "ring" ? (openBlock(), createElementBlock("svg",
|
|
82
|
+
}, null, -1)])])) : __props.glyph === "ring" ? (openBlock(), createElementBlock("svg", _hoisted_3$2, [..._cache[1] || (_cache[1] = [createElementVNode("circle", {
|
|
87
83
|
cx: "8",
|
|
88
84
|
cy: "8",
|
|
89
85
|
r: "5.25",
|
|
@@ -95,7 +91,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
95
91
|
cy: "8",
|
|
96
92
|
r: "2.25",
|
|
97
93
|
fill: "currentColor"
|
|
98
|
-
}, null, -1)])])) : (openBlock(), createElementBlock("span",
|
|
94
|
+
}, null, -1)])])) : (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(__props.numberLabel), 1))], 8, _hoisted_1$2)) : createCommentVNode("v-if", true);
|
|
99
95
|
};
|
|
100
96
|
}
|
|
101
97
|
});
|
|
@@ -106,6 +102,7 @@ const _hoisted_1$1 = [
|
|
|
106
102
|
"data-density",
|
|
107
103
|
"data-indicator-position",
|
|
108
104
|
"data-orientation",
|
|
105
|
+
"data-glyph",
|
|
109
106
|
"data-progress",
|
|
110
107
|
"data-status"
|
|
111
108
|
];
|
|
@@ -116,20 +113,22 @@ const _hoisted_3$1 = {
|
|
|
116
113
|
};
|
|
117
114
|
const _hoisted_4$1 = ["data-filled"];
|
|
118
115
|
const _hoisted_5$1 = ["data-filled"];
|
|
119
|
-
const _hoisted_6$1 =
|
|
120
|
-
const _hoisted_7$1 =
|
|
121
|
-
const _hoisted_8$1 = { class: "astryx-step-
|
|
122
|
-
const _hoisted_9$1 = { class: "astryx-step-label" };
|
|
123
|
-
const _hoisted_10 =
|
|
116
|
+
const _hoisted_6$1 = { class: "astryx-step-body" };
|
|
117
|
+
const _hoisted_7$1 = ["data-glyph"];
|
|
118
|
+
const _hoisted_8$1 = { class: "astryx-step-copy" };
|
|
119
|
+
const _hoisted_9$1 = { class: "astryx-step-label-row" };
|
|
120
|
+
const _hoisted_10 = [
|
|
121
|
+
"data-disabled",
|
|
122
|
+
"data-progress",
|
|
123
|
+
"data-status"
|
|
124
|
+
];
|
|
125
|
+
const _hoisted_11 = {
|
|
124
126
|
key: 1,
|
|
125
127
|
class: "astryx-step-optional"
|
|
126
128
|
};
|
|
127
|
-
const
|
|
129
|
+
const _hoisted_12 = ["data-progress", "data-status"];
|
|
130
|
+
const _hoisted_13 = {
|
|
128
131
|
key: 0,
|
|
129
|
-
class: "astryx-step-description"
|
|
130
|
-
};
|
|
131
|
-
const _hoisted_12 = {
|
|
132
|
-
key: 2,
|
|
133
132
|
class: "astryx-step-content"
|
|
134
133
|
};
|
|
135
134
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
@@ -153,32 +152,33 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
153
152
|
},
|
|
154
153
|
setup(__props) {
|
|
155
154
|
const props = __props;
|
|
156
|
-
const stepper =
|
|
155
|
+
const stepper = useStepperContext();
|
|
157
156
|
const messages = useAstryxMessages();
|
|
157
|
+
const { pressableProps } = usePressFeedback({ hasOverlay: false });
|
|
158
158
|
const progress = computed(() => {
|
|
159
|
-
const active = stepper
|
|
159
|
+
const active = stepper.activeStep.value;
|
|
160
160
|
if (props.step === active) return "in-progress";
|
|
161
161
|
if (props.step < active) return "completed";
|
|
162
162
|
return "not-started";
|
|
163
163
|
});
|
|
164
|
-
const density = computed(() => props.density ?? stepper
|
|
165
|
-
const orientation = computed(() => stepper
|
|
166
|
-
const indicatorPosition = computed(() => stepper
|
|
167
|
-
const isClickable = computed(() => stepper
|
|
164
|
+
const density = computed(() => props.density ?? stepper.density.value);
|
|
165
|
+
const orientation = computed(() => stepper.orientation.value);
|
|
166
|
+
const indicatorPosition = computed(() => stepper.indicatorPosition.value);
|
|
167
|
+
const isClickable = computed(() => stepper.isNonLinear.value === true && !props.isDisabled);
|
|
168
168
|
const numberLabel = computed(() => String(props.step + 1));
|
|
169
169
|
const glyph = computed(() => resolveStepGlyph({
|
|
170
170
|
progress: progress.value,
|
|
171
171
|
indicator: props.indicator,
|
|
172
172
|
status: props.status
|
|
173
173
|
}));
|
|
174
|
-
const collapsed = computed(() => stepper
|
|
175
|
-
const leadFilled = computed(() => props.step <=
|
|
176
|
-
const trailFilled = computed(() => props.step <
|
|
174
|
+
const collapsed = computed(() => stepper.collapsed.value === true);
|
|
175
|
+
const leadFilled = computed(() => props.step <= stepper.activeStep.value);
|
|
176
|
+
const trailFilled = computed(() => props.step < stepper.activeStep.value);
|
|
177
177
|
const accessibleName = computed(() => {
|
|
178
178
|
const stepNumber = props.step + 1;
|
|
179
179
|
const status = props.status === "error" ? messages.value.stepper.status.error : props.status === "warning" ? messages.value.stepper.status.warning : progress.value === "completed" ? messages.value.stepper.status.completed : null;
|
|
180
|
-
if (status == null) return messages.value.stepper.goToStep(stepNumber);
|
|
181
|
-
return messages.value.stepper.goToStepWithStatus(stepNumber, status);
|
|
180
|
+
if (status == null) return messages.value.stepper.goToStep(stepNumber, props.label);
|
|
181
|
+
return messages.value.stepper.goToStepWithStatus(stepNumber, props.label, status);
|
|
182
182
|
});
|
|
183
183
|
const hiddenStatus = computed(() => {
|
|
184
184
|
if (progress.value === "in-progress") return null;
|
|
@@ -189,20 +189,17 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
189
189
|
});
|
|
190
190
|
function activate() {
|
|
191
191
|
if (!isClickable.value) return;
|
|
192
|
-
stepper
|
|
193
|
-
}
|
|
194
|
-
if (stepper) {
|
|
195
|
-
const context = stepper;
|
|
196
|
-
watch(() => ({
|
|
197
|
-
step: props.step,
|
|
198
|
-
label: props.label,
|
|
199
|
-
description: props.description,
|
|
200
|
-
indicator: props.indicator,
|
|
201
|
-
status: props.status,
|
|
202
|
-
isDisabled: props.isDisabled
|
|
203
|
-
}), (record) => context.register(record), { immediate: true });
|
|
204
|
-
onUnmounted(() => context.unregister(props.step));
|
|
192
|
+
stepper.select.value?.(props.step);
|
|
205
193
|
}
|
|
194
|
+
watch(() => ({
|
|
195
|
+
step: props.step,
|
|
196
|
+
label: props.label,
|
|
197
|
+
description: props.description,
|
|
198
|
+
indicator: props.indicator,
|
|
199
|
+
status: props.status,
|
|
200
|
+
isDisabled: props.isDisabled
|
|
201
|
+
}), (record) => stepper.register(record), { immediate: true });
|
|
202
|
+
onUnmounted(() => stepper.unregister(props.step));
|
|
206
203
|
return (_ctx, _cache) => {
|
|
207
204
|
return openBlock(), createElementBlock("li", {
|
|
208
205
|
class: "astryx-step",
|
|
@@ -210,48 +207,62 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
210
207
|
"data-density": density.value,
|
|
211
208
|
"data-indicator-position": indicatorPosition.value,
|
|
212
209
|
"data-orientation": orientation.value,
|
|
210
|
+
"data-glyph": glyph.value,
|
|
213
211
|
"data-progress": progress.value,
|
|
214
212
|
"data-status": __props.status
|
|
215
|
-
}, [
|
|
216
|
-
|
|
213
|
+
}, [indicatorPosition.value === "separated" || collapsed.value ? (openBlock(), createElementBlock("span", {
|
|
214
|
+
key: 0,
|
|
215
|
+
class: "astryx-step-bar",
|
|
216
|
+
"data-filled": leadFilled.value || void 0
|
|
217
|
+
}, null, 8, _hoisted_2$1)) : (openBlock(), createElementBlock("span", _hoisted_3$1, [createElementVNode("span", {
|
|
218
|
+
class: "astryx-step-connector astryx-step-connector-lead",
|
|
219
|
+
"data-filled": leadFilled.value || void 0
|
|
220
|
+
}, null, 8, _hoisted_4$1), createElementVNode("span", {
|
|
221
|
+
class: "astryx-step-connector astryx-step-connector-trail",
|
|
222
|
+
"data-filled": trailFilled.value || void 0
|
|
223
|
+
}, null, 8, _hoisted_5$1)])), createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(isClickable.value ? "button" : "div"), mergeProps(isClickable.value ? unref(pressableProps) : void 0, {
|
|
224
|
+
class: "astryx-step-control",
|
|
225
|
+
"aria-label": isClickable.value ? accessibleName.value : void 0,
|
|
226
|
+
type: isClickable.value ? "button" : void 0,
|
|
227
|
+
onClick: activate
|
|
228
|
+
}), {
|
|
229
|
+
default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
217
230
|
key: 0,
|
|
218
|
-
class: "astryx-step-
|
|
219
|
-
"data-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
"
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
"data-
|
|
237
|
-
"
|
|
238
|
-
},
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_12, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)
|
|
254
|
-
], 8, _hoisted_1$1);
|
|
231
|
+
class: "astryx-step-indicator",
|
|
232
|
+
"data-glyph": glyph.value,
|
|
233
|
+
"aria-hidden": "true"
|
|
234
|
+
}, [renderSlot(_ctx.$slots, "icon")], 8, _hoisted_7$1)) : (openBlock(), createBlock(_sfc_main$2, {
|
|
235
|
+
key: 1,
|
|
236
|
+
glyph: glyph.value,
|
|
237
|
+
"number-label": numberLabel.value,
|
|
238
|
+
status: __props.status,
|
|
239
|
+
"is-disabled": __props.isDisabled
|
|
240
|
+
}, null, 8, [
|
|
241
|
+
"glyph",
|
|
242
|
+
"number-label",
|
|
243
|
+
"status",
|
|
244
|
+
"is-disabled"
|
|
245
|
+
])), createElementVNode("span", _hoisted_8$1, [createElementVNode("span", _hoisted_9$1, [
|
|
246
|
+
createElementVNode("span", {
|
|
247
|
+
class: "astryx-step-label",
|
|
248
|
+
"data-disabled": __props.isDisabled || void 0,
|
|
249
|
+
"data-progress": progress.value,
|
|
250
|
+
"data-status": __props.status
|
|
251
|
+
}, toDisplayString(__props.label), 9, _hoisted_10),
|
|
252
|
+
hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$3, { key: 0 }, {
|
|
253
|
+
default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
|
|
254
|
+
_: 1
|
|
255
|
+
})) : createCommentVNode("v-if", true),
|
|
256
|
+
__props.isOptional ? (openBlock(), createElementBlock("span", _hoisted_11, "• " + toDisplayString(unref(messages).stepper.optional), 1)) : createCommentVNode("v-if", true),
|
|
257
|
+
renderSlot(_ctx.$slots, "end")
|
|
258
|
+
]), __props.description ? (openBlock(), createElementBlock("span", {
|
|
259
|
+
key: 0,
|
|
260
|
+
class: "astryx-step-description",
|
|
261
|
+
"data-progress": progress.value,
|
|
262
|
+
"data-status": __props.status
|
|
263
|
+
}, toDisplayString(__props.description), 9, _hoisted_12)) : createCommentVNode("v-if", true)])]),
|
|
264
|
+
_: 3
|
|
265
|
+
}, 16, ["aria-label", "type"])), _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_13, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])], 8, _hoisted_1$1);
|
|
255
266
|
};
|
|
256
267
|
}
|
|
257
268
|
});
|
|
@@ -269,7 +280,10 @@ const _hoisted_3 = {
|
|
|
269
280
|
class: "astryx-stepper-summary"
|
|
270
281
|
};
|
|
271
282
|
const _hoisted_4 = ["aria-label", "disabled"];
|
|
272
|
-
const _hoisted_5 = {
|
|
283
|
+
const _hoisted_5 = {
|
|
284
|
+
class: "astryx-stepper-summary-body",
|
|
285
|
+
"aria-hidden": "true"
|
|
286
|
+
};
|
|
273
287
|
const _hoisted_6 = { class: "astryx-stepper-summary-row" };
|
|
274
288
|
const _hoisted_7 = { class: "astryx-step-label" };
|
|
275
289
|
const _hoisted_8 = {
|
|
@@ -366,7 +380,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
366
380
|
return openBlock(), createElementBlock("div", {
|
|
367
381
|
ref_key: "root",
|
|
368
382
|
ref: root,
|
|
369
|
-
class: "astryx-stepper-root",
|
|
383
|
+
class: normalizeClass(["astryx-stepper-root", { "astryx-stepper-frame": orientation.value === "horizontal" }]),
|
|
370
384
|
"data-collapsed": collapsed.value || void 0
|
|
371
385
|
}, [createElementVNode("ol", {
|
|
372
386
|
class: "astryx-stepper",
|
|
@@ -415,7 +429,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
415
429
|
"stroke-linejoin": "round",
|
|
416
430
|
"stroke-width": "1.5"
|
|
417
431
|
})], -1)])], 8, _hoisted_9)) : createCommentVNode("v-if", true)
|
|
418
|
-
])) : createCommentVNode("v-if", true)],
|
|
432
|
+
])) : createCommentVNode("v-if", true)], 10, _hoisted_1);
|
|
419
433
|
};
|
|
420
434
|
}
|
|
421
435
|
});
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gn as SwitchChangeEvent, Jn as SwitchSize, Kn as SwitchEmits, Un as _default, Wn as SwitchChangeAction, Xn as SwitchStatus, Yn as SwitchSlots, Zn as SwitchStatusType, qn as SwitchProps } from "../index-
|
|
1
|
+
import { Gn as SwitchChangeEvent, Jn as SwitchSize, Kn as SwitchEmits, Un as _default, Wn as SwitchChangeAction, Xn as SwitchStatus, Yn as SwitchSlots, Zn as SwitchStatusType, qn as SwitchProps } from "../index-UA93Im7H.js";
|
|
2
2
|
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Switch-
|
|
1
|
+
import { t as _sfc_main } from "../Switch-0JKvJluV.js";
|
|
2
2
|
export { _sfc_main as Switch };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
1
2
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import { n as useButtonTooltip } from "./Button-
|
|
3
|
-
import { t as _sfc_main$2 } from "./ButtonTooltip-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { n as useButtonTooltip } from "./Button-ONOoHdkg.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
|
+
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
6
|
+
import { s as useAstryxMessages } from "./context-CM-cjGg_.js";
|
|
7
|
+
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
8
|
+
import { t as _sfc_main$3 } from "./FieldLabel-CHqp1y3z.js";
|
|
9
|
+
import { t as _sfc_main$4 } from "./FieldStatus-DaAB3TIt.js";
|
|
6
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
7
11
|
import "../styles/switch.css";
|
|
8
12
|
//#region src/Switch/useSwitchAction.ts
|
|
@@ -108,7 +112,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
108
112
|
hasAutoFocus: { type: Boolean },
|
|
109
113
|
htmlName: {},
|
|
110
114
|
form: {},
|
|
111
|
-
loadingLabel: {
|
|
115
|
+
loadingLabel: {},
|
|
112
116
|
label: {},
|
|
113
117
|
isLabelHidden: { type: Boolean },
|
|
114
118
|
isDisabled: { type: Boolean },
|
|
@@ -117,7 +121,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
117
121
|
labelIcon: {},
|
|
118
122
|
labelTooltip: {},
|
|
119
123
|
optionalLabel: {},
|
|
120
|
-
requiredLabel: {}
|
|
124
|
+
requiredLabel: {},
|
|
125
|
+
targetClass: {}
|
|
121
126
|
}, {
|
|
122
127
|
"modelValue": {
|
|
123
128
|
type: Boolean,
|
|
@@ -130,14 +135,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
130
135
|
const props = __props;
|
|
131
136
|
const emit = __emit;
|
|
132
137
|
const ariaRequired = useAriaRequired(props);
|
|
138
|
+
const messages = useAstryxMessages();
|
|
139
|
+
const announce = useAnnounce();
|
|
140
|
+
const press = usePressFeedback({ hasOverlay: false });
|
|
133
141
|
const model = useModel(__props, "modelValue");
|
|
134
142
|
const attrs = useAttrs();
|
|
135
143
|
const input = useTemplateRef("input");
|
|
136
144
|
const generatedId = `astryx-switch-${useId()}`;
|
|
137
145
|
const inputId = computed(() => props.id ?? generatedId);
|
|
138
146
|
const descriptionId = computed(() => props.description ? `${inputId.value}-description` : void 0);
|
|
147
|
+
const statusId = computed(() => props.status?.message ? props.status.messageId ?? `${inputId.value}-status` : void 0);
|
|
139
148
|
const disabledId = `${generatedId}-disabled`;
|
|
140
|
-
const loadingId = `${generatedId}-loading`;
|
|
141
149
|
const showsDisabledMessage = computed(() => !!props.isDisabled && !!props.disabledMessage?.trim());
|
|
142
150
|
const tooltip = useButtonTooltip(showsDisabledMessage);
|
|
143
151
|
const action = useSwitchAction({
|
|
@@ -148,6 +156,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
148
156
|
});
|
|
149
157
|
const busy = computed(() => !!props.isLoading || action.isPending.value);
|
|
150
158
|
const blocked = computed(() => props.isDisabled || props.isReadOnly || busy.value);
|
|
159
|
+
const loadingText = computed(() => props.loadingLabel || messages.value.switch.loading);
|
|
160
|
+
watch(busy, (isBusy) => {
|
|
161
|
+
if (isBusy) announce(loadingText.value);
|
|
162
|
+
}, { immediate: true });
|
|
151
163
|
const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
|
|
152
164
|
const element = computed(() => input.value ?? null);
|
|
153
165
|
function focus(options) {
|
|
@@ -186,8 +198,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
186
198
|
return [
|
|
187
199
|
attrs["aria-describedby"],
|
|
188
200
|
descriptionId.value,
|
|
189
|
-
|
|
190
|
-
|
|
201
|
+
statusId.value,
|
|
202
|
+
showsDisabledMessage.value ? disabledId : void 0
|
|
191
203
|
].filter(Boolean).join(" ") || void 0;
|
|
192
204
|
}
|
|
193
205
|
function syncNative() {
|
|
@@ -226,11 +238,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
226
238
|
"data-status": __props.status?.type,
|
|
227
239
|
"data-blocked": blocked.value || void 0
|
|
228
240
|
}, [
|
|
229
|
-
createElementVNode("div", {
|
|
230
|
-
class: "astryx-switch-row",
|
|
241
|
+
createElementVNode("div", mergeProps({ class: "astryx-switch-row" }, blocked.value ? void 0 : unref(press).pressableProps, {
|
|
231
242
|
onPointerenter: _cache[2] || (_cache[2] = (...args) => unref(tooltip).onPointerEnter && unref(tooltip).onPointerEnter(...args)),
|
|
232
243
|
onPointerleave: _cache[3] || (_cache[3] = (...args) => unref(tooltip).onPointerLeave && unref(tooltip).onPointerLeave(...args))
|
|
233
|
-
}, [createElementVNode("span", _hoisted_2, [createElementVNode("input", mergeProps(inputAttrs(), {
|
|
244
|
+
}), [createElementVNode("span", _hoisted_2, [createElementVNode("input", mergeProps(inputAttrs(), {
|
|
234
245
|
id: inputId.value,
|
|
235
246
|
ref_key: "input",
|
|
236
247
|
ref: input,
|
|
@@ -265,6 +276,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
265
276
|
"is-disabled": __props.isDisabled,
|
|
266
277
|
"is-optional": __props.isOptional,
|
|
267
278
|
"is-required": __props.isRequired,
|
|
279
|
+
"target-class": "astryx-switch-label",
|
|
268
280
|
"label-icon": __props.labelIcon,
|
|
269
281
|
"label-tooltip": __props.labelTooltip,
|
|
270
282
|
"optional-label": __props.optionalLabel,
|
|
@@ -287,21 +299,25 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
287
299
|
"label-tooltip",
|
|
288
300
|
"optional-label",
|
|
289
301
|
"required-label"
|
|
290
|
-
])])],
|
|
291
|
-
|
|
302
|
+
])])], 16),
|
|
303
|
+
__props.status?.message ? (openBlock(), createBlock(_sfc_main$4, {
|
|
292
304
|
key: 0,
|
|
305
|
+
id: statusId.value,
|
|
306
|
+
type: __props.status.type,
|
|
307
|
+
message: __props.status.message,
|
|
308
|
+
variant: __props.statusVariant === "attached" ? "attached" : "detached"
|
|
309
|
+
}, null, 8, [
|
|
310
|
+
"id",
|
|
311
|
+
"type",
|
|
312
|
+
"message",
|
|
313
|
+
"variant"
|
|
314
|
+
])) : createCommentVNode("v-if", true),
|
|
315
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
316
|
+
key: 1,
|
|
293
317
|
id: disabledId
|
|
294
318
|
}, {
|
|
295
319
|
default: withCtx(() => [createTextVNode(toDisplayString(__props.disabledMessage), 1)]),
|
|
296
320
|
_: 1
|
|
297
|
-
})) : createCommentVNode("v-if", true),
|
|
298
|
-
busy.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
299
|
-
key: 1,
|
|
300
|
-
id: loadingId,
|
|
301
|
-
role: "status"
|
|
302
|
-
}, {
|
|
303
|
-
default: withCtx(() => [createTextVNode(toDisplayString(__props.loadingLabel), 1)]),
|
|
304
|
-
_: 1
|
|
305
321
|
})) : createCommentVNode("v-if", true)
|
|
306
322
|
], 14, _hoisted_1), showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
307
323
|
key: 0,
|
package/dist/TabList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { _default as Tab, _default$1 as TabList, type TabListLayout, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
|
|
1
|
+
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-DLAG3m9W.js";
|
|
2
|
+
export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
|
package/dist/TabList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-cpjvnbhx.js";
|
|
2
2
|
export { _sfc_main as Tab, _sfc_main$1 as TabList, _sfc_main$2 as TabMenu };
|