@astryx-vue/core 0.33.1 → 0.33.3
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-C9mhy7gH.js → AlertDialog-BwH9WU-t.js} +9 -9
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-B4S-gbL3.js → AppShell-BwzRYOky.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-B93MdEmI.js → Avatar-C6E6TYbe.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CCFMtKks.js → AvatarGroup-C0V--ipx.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DfsrHUDP.js → Banner-Ds5KIeES.js} +36 -16
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-E_OjhAa7.js → BottomSheet-BmmGemH5.js} +1 -1
- package/dist/{BottomSheet-DxqAIVZ3.js → BottomSheet-DKEUVLe5.js} +9 -9
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DMytkhxA.js → Breadcrumbs-DWAYp-JJ.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-BoZJv7eb.js → Button-X-Q_ghg8.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-D5E7QLWI.js → ButtonGroup-DsYdUmF1.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-TvReEgJA.js → Carousel-D8uVV1J_.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-C_tNbXbn.js → Chat-Dy-icS2C.js} +6 -6
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-D6KNni6p.js → CheckboxInput-CiUtutIS.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-wNOHsMMr.js → CheckboxListItem-B6sV7-Og.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CLXCxaxo.js → ClickableCard-DDk_RtHd.js} +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-U2zFJsc5.js → CodeBlock-r2-MlpBB.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Cf9evVsQ.js → Collapsible-0XI3tKgj.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-D5PGSXWz.js → CommandPalette-BYR0Lxxd.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Co1jUTYQ.js → ComplexSelector-CIXrqCoX.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DBvZgAbg.js → ContextMenu-CfVyaP5v.js} +7 -7
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-XLGBkH4g.js → DateInput-DRzZ8dY7.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BNpkwtVh.js → DateRangeInput-DL2aOQXJ.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CewV_JRI.js → DateTimeInput-KWkpamG4.js} +6 -6
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BbDjvBqX.js → Dialog-BM5VEE8z.js} +2 -2
- package/dist/{Dialog-CYcDiMtZ.js → Dialog-CJzq1gms.js} +1 -1
- package/dist/{DialogHeader-efWB4QQA.js → DialogHeader-Do4EOX2f.js} +2 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BswIXZSo.js → Drawer-DuQ620WO.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CCOjKL7v.js → DropdownMenu-CbENfJOq.js} +10 -10
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BkQ3jktt.js → EmptyState-BAP8BpDj.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-CYfzJEFg.js → Field-B1fsgAqp.js} +1 -1
- package/dist/{FieldInfoTip-DccDjDnf.js → FieldInfoTip-CntJCcnM.js} +1 -1
- package/dist/{FieldLabel-SiRzxGz8.js → FieldLabel-D56uJrRE.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BxeGABmG.js → FileInput-EjlruVVX.js} +4 -4
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-D_7K6-23.js → Heading-D94VFJtm.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-Bkh1HZ3b.js → HoverCard-rwpyd6nt.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DEhvVDmO.js → IconButton-CXg9qTRM.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BZDG21HF.js → InfoTip-jFet-iAx.js} +2 -2
- package/dist/{InputClearButton-DezS64Mz.js → InputClearButton-DBTrsrSH.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CENlnU_O.js → InputGroup-D7UBxktR.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-BAUKUK7N.js → InternationalizationProvider-BGtwZDY0.js} +1 -1
- package/dist/{Item-tVHjgQDe.js → Item-DbalBZXc.js} +2 -2
- package/dist/{LayerContentBoundary-D6GcF2T3.js → LayerContentBoundary-CTjEpdM4.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DJ6CQLw2.js → Layout-BEJwZon4.js} +1 -1
- package/dist/{LayoutPanel-Bqh82ULc.js → LayoutPanel-BgJdL0KV.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Dbwep-L-.js → Lightbox-DJXB22k0.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Csw2YXAQ.js → Link-eXwB0Hjg.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-B60jTcXy.js → ListItem-C5B8uYyn.js} +4 -4
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-CTRMjOpY.js → Markdown-COub2yng.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Ce8cVqzp.js → MobileNavToggle-DI5yDKfp.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CfUKxxnB.js → MoreMenu-C7gie2PE.js} +8 -8
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BG0oQjhR.js → MultiSelector-CnGUU8P3.js} +7 -7
- package/dist/{NavDisclosure-lQVs4eJB.js → NavDisclosure-CSnUZY3k.js} +1 -1
- package/dist/{NavHeadingSurface-CkDdgQV1.js → NavHeadingSurface-C3fTf5--.js} +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-B7xpLk_x.js → NavItem-Cciu9aok.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-Bf_rGSbX.js → NavMenu--iyy_m84.js} +2 -2
- package/dist/{NavMenuItem-BblWAGof.js → NavMenuItem-BmAm-Cv8.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CLQ1dgsb.js → NumberInput-CD9sHbON.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-coqRQ06s.js → Outline-vieAJS2J.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-V728L06i.js → OverflowList-YLVHypB3.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-B71t50Xl.js → Pagination-Bnkp4oAA.js} +2 -2
- package/dist/PanGestureRecognizer-CzIWpazn.js +681 -0
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BX8Qy08n.js → Popover-CYJ1z_7L.js} +10 -10
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-ZfZNn-68.js → PowerSearch-DEpXEmgs.js} +27 -27
- package/dist/PressTracker-L5-Ark_9.js +190 -0
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/ProgressBar-ChgsiVRR.js +325 -0
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-8KAVhDTz.js → RadioGroup-BdO-xZv0.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-FY0cSKWR.js → RadioListItem-DzGPuWTt.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-ezvpdXTS.js → ResizeHandle-Dcel1HkU.js} +2 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BdbqWErg.js → SegmentedControl-BURyE9XU.js} +2 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Dj2fRvfe.js → SelectableCard-BZTF6qw-.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DjZSKGCz.js → Selector-SkwSbf4j.js} +5 -5
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-DjPwCh4O.js → SideNav-BxJfJU95.js} +9 -9
- package/dist/Skeleton/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/Slider-ORmi7QJ7.js +1785 -0
- package/dist/Spinner/index.d.ts +1 -1
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-D1adu3uH.js +266 -0
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-C4_Zj3oZ.js → StatusDot-D7nVuPg7.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-C3ZFN-Gp.js → Stepper-C4-wtxn4.js} +149 -103
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/Switch-Cw1UKVjQ.js +1468 -0
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D70Pl_ob.js → TabList-DNDe2ipJ.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-8Vj50mYm.js → Table-CqppyRk8.js} +14 -14
- package/dist/Text/index.js +1 -1
- package/dist/{Text-6_wt88Br.js → Text-kwsIut3C.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-DMMHiOEb.js → TextArea-I3ghDb9r.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-JuggLbDZ.js → TextInput-Xz_ibpOl.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Sq-2e8zN.js → Thumbnail-bS62Tr_f.js} +4 -4
- package/dist/{TimeField-CuRkZZlx.js → TimeField-Bsb8n22d.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CREpxTpG.js → TimeInput-D40_6GrX.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-C18tBgls.js → Timer-B-9sSJWK.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BL8R7ZQ8.js → Timestamp-Bt9ZR975.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BtJHuIen.js → Toast-BQxfIeVU.js} +5 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DrnT3-jX.js → ToggleButton-IFhFMpQh.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DZmmnHEj.js → Token-CpmqfG4i.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-BRFlVyMv.js → Tokenizer-Dvr7ICpS.js} +16 -15
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-Dwr0XREF.js → Tooltip-DyGaJUbl.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-GwsSkeei.js → TopNav-Cw_dcKpf.js} +5 -5
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BGHHEcg1.js → TreeList-CBfKKbUQ.js} +4 -4
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-H3uWMS7i.js → Typeahead-D9-WjsCU.js} +6 -6
- package/dist/{VelocityTracker-DVbtTSXR.js → VelocityTracker-CPFBHDpy.js} +1 -1
- package/dist/{accessibleName-Bjt5L8jX.js → accessibleName-Cw9s1690.js} +2 -2
- package/dist/{animator-DLWdws2R.js → animator-ozeBZ_zC.js} +4 -3
- package/dist/{assertOptions-BdLvkG6M.js → assertOptions-V_jJxpn9.js} +1 -1
- package/dist/{clickGuard-C3VmOLhI.js → clickGuard-CxqcfBCJ.js} +2 -2
- package/dist/{coarsePointer-BfMx3H23.js → coarsePointer-DGnAPIcU.js} +1 -1
- package/dist/composables/index.js +10 -10
- package/dist/{composables-OL_sC9Qy.js → composables-BJoAw6XA.js} +12 -10
- package/dist/{context-BcJmSPj1.js → context-WDet15_N.js} +1 -1
- package/dist/{useAttachment-BohgLE3o.js → geometry-CoQRz-F1.js} +12 -710
- package/dist/{gestures-C8VhWve7.js → gestures-yKyyMqeQ.js} +226 -2
- package/dist/{holdEntranceInput-DgimbgGm.js → holdEntranceInput-BsusS3bM.js} +2 -2
- package/dist/{index-Dpz-JUMl.d.ts → index--kbwaSXW.d.ts} +2 -2
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-0RIgvtdm.d.ts → index-BI1QLuYB.d.ts} +1 -1
- package/dist/{index-yaS9_EpM.d.ts → index-BVi16JNo.d.ts} +2 -2
- package/dist/{index-DvrrgBYc.d.ts → index-BVx-HFp8.d.ts} +1 -1
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-QC9FDUDA.d.ts → index-BqQlY3fL.d.ts} +2 -2
- package/dist/{index-Cb-rvc1W.d.ts → index-BtqvPjAf.d.ts} +2 -2
- package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-BaFphczL.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-AgTJRqUY.d.ts → index-CQi9WGWE.d.ts} +2 -2
- package/dist/{index-D33x3IfY.d.ts → index-CTv55aOa.d.ts} +1 -1
- package/dist/{index-18IUS3l0.d.ts → index-CY0KtUSC.d.ts} +53 -53
- package/dist/{index-CUwmD3Ph.d.ts → index-D1JOMiI5.d.ts} +3 -3
- package/dist/{index-MvrDMqnQ.d.ts → index-DPhQZXYw.d.ts} +2 -2
- package/dist/{index-B2XndRvV.d.ts → index-DuxRUPMc.d.ts} +2 -2
- package/dist/{index-EAKu_r6h.d.ts → index-GyRgg1-v.d.ts} +3 -3
- package/dist/{index-DVX2jlTQ.d.ts → index-JE1HrzdJ.d.ts} +2 -2
- package/dist/{index-Dt_9IR_M.d.ts → index-JGPd3Ghy.d.ts} +1 -1
- package/dist/{index-Q1oG9yIT.d.ts → index-Pad9p8CU.d.ts} +3 -1
- package/dist/index.d.ts +24 -24
- package/dist/index.js +107 -107
- package/dist/{inputHold-DW2LYHb5.js → inputHold-BJtjc9iI.js} +4 -4
- package/dist/{inputHoldState-xntIqr5W.js → inputHoldState-BYi5FKZl.js} +2 -2
- package/dist/{inputStream-bPd9eB2b.js → inputStream-HXw2lZ-3.js} +1 -1
- package/dist/{landing-Dx9vPF0t.js → landing-Qk_FHR-s.js} +1 -1
- package/dist/{layerDepth-D-80Ay8B.js → layerDepth-SGFJ5L6X.js} +1 -1
- package/dist/{lazyBottomSheet-s0ckIf0f.js → lazyBottomSheet-Bg5E8lr3.js} +1 -1
- package/dist/{linearEasing-BxWjPql6.js → linearEasing-VHwy6xl_.js} +136 -87
- package/dist/{loadCatalog-VYidi1Xi.d.ts → loadCatalog-BODWYaNy.d.ts} +2 -0
- package/dist/{loadCatalog-zJKVLZ89.js → loadCatalog-DMOOMWtw.js} +3 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-C9LWi1y1.js → locale-C8X7gJlc.js} +1 -1
- package/dist/{presentation-Cy_yf56y.js → presentation-twEOzzJq.js} +1 -1
- package/dist/{presentationHold-B4tK68sd.js → presentationHold-CZsVmjlY.js} +1 -1
- package/dist/{pressFeedback-CPzGi_88.js → pressFeedback-9ogipvI4.js} +4 -4
- package/dist/{pressGesture-BV4fYPIG.js → pressGesture-B3Efxs_z.js} +1 -1
- package/dist/{rubberBand-DecgmtDj.js → projection-qPcLQcwK.js} +2 -50
- package/dist/{reportChange-BkOEttEP.js → reportChange-BUTgduu-.js} +5 -4
- package/dist/{resizableChannel-DS0idC-X.js → resizableChannel-_j_AW2B6.js} +5 -5
- package/dist/{resolveMotion-BLdMNTpf.js → resolveMotion-DftkGFw6.js} +2 -2
- package/dist/{resolveSnapPoint-DygD-wmL.js → resolveSnapPoint-A4dhS5jj.js} +1 -1
- package/dist/{roles-CPMsH5Ob.js → roles-DWH31Bn3.js} +126 -1
- package/dist/rubberBand-DDd5ElTe.js +65 -0
- package/dist/{sharedRealm-H1OrlP0V.js → sharedRealm-DBtNH73I.js} +9 -1
- package/dist/{springs-BR66JuIm.js → springs-DjAn_oV5.js} +2 -2
- package/dist/{stepper-BMSGF96H.js → stepper-D7L_3xxU.js} +4 -2
- package/dist/{stillPointerGate-CrsrgFyo.js → stillPointerGate-BvCX7ddI.js} +1 -1
- package/dist/{themeTiming-BA_wpgEn.js → themeTiming-ClYaZxGf.js} +1 -1
- package/dist/{tooltipFocusRules-BWcYZXu8.js → tooltipFocusRules-CxIlSnHw.js} +2 -2
- package/dist/{tooltipTriggerRules-DFPKbHJc.js → tooltipTriggerRules-CHNpQ6RL.js} +1 -1
- package/dist/{touchHold-DXtx7npm.js → touchHold-CjNjGH7O.js} +1 -1
- package/dist/{useActionGroupTracking-iv0p__dY.js → useActionGroupTracking-ByLJoM-8.js} +3 -3
- package/dist/{useAnimatedLayout-BC1mJaxA.js → useAnimatedLayout-IcX0UfS4.js} +1 -1
- package/dist/useAttachment-CGiD9rt6.js +24 -0
- package/dist/{useChatStreamScroll-CuMzkXgD.js → useChatStreamScroll-DcNKcNTj.js} +1 -1
- package/dist/{useDismiss-Di0mkAl_.js → useDismiss-6SGAlkB_.js} +1 -1
- package/dist/{useHeldPresentation-BF5vGVUn.js → useHeldPresentation-DJEthuMT.js} +1 -1
- package/dist/{useInputStatusIcon-Dese9hBA.js → useInputStatusIcon-D0q4S1Ye.js} +1 -1
- package/dist/{useMenuEntranceHold-HznOwIry.js → useMenuEntranceHold-B7f9ShX2.js} +1 -1
- package/dist/{useMenuPress-RFwJ3jGS.js → useMenuPress-cBIQyTsN.js} +4 -4
- package/dist/{usePressFeedback-BuyFZkQO.js → usePressFeedback-Dx-a3i82.js} +1 -1
- package/dist/{useResizable-K9hlQr8i.js → useResizable-JvgYydox.js} +6 -5
- package/dist/{useTooltip-48Smw61m.js → useTooltip-owvVSn_m.js} +4 -4
- package/dist/{useTouchHitArea-Dsz80HzY.js → useTouchHitArea-BGkvMAyp.js} +2 -2
- package/dist/{useTouchTriggerInternal-CUiq_FYD.js → useTouchTriggerInternal-5ExaYYSy.js} +1 -1
- package/dist/{useTruncationTooltip-D1Iwku73.js → useTruncationTooltip-DHI6q_EV.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-CiTAlquw.js → useTypeaheadMenuConfig-COiZ4isy.js} +2 -2
- package/package.json +1 -1
- package/styles/progress-bar.css +69 -5
- package/styles/skeleton.css +62 -5
- package/styles/slider.css +59 -12
- package/styles/spinner.css +30 -7
- package/styles/switch.css +101 -34
- package/dist/ProgressBar-jtD4zcDW.js +0 -166
- package/dist/Slider-TpbMaQ4Q.js +0 -735
- package/dist/Spinner-DEVPDsD0.js +0 -201
- package/dist/Switch-CW27rVAy.js +0 -355
package/dist/Spinner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as SpinnerSize, n as SpinnerProps, r as SpinnerShade, t as _default } from "../index-
|
|
1
|
+
import { i as SpinnerSize, n as SpinnerProps, r as SpinnerShade, t as _default } from "../index-BVi16JNo.js";
|
|
2
2
|
export { _default as Spinner, type SpinnerProps, type SpinnerShade, type SpinnerSize };
|
package/dist/Spinner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Spinner-
|
|
1
|
+
import { t as _sfc_main } from "../Spinner-D1adu3uH.js";
|
|
2
2
|
export { _sfc_main as Spinner };
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
2
|
+
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
3
|
+
import { t as useAnnounceRenderedText } from "./announceRenderedText-CslZ0cev.js";
|
|
4
|
+
import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
5
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeStyle, onBeforeUnmount, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef } from "vue";
|
|
6
|
+
import "../styles/spinner.css";
|
|
7
|
+
//#region src/Spinner/spinnerGeometry.ts
|
|
8
|
+
const RESOLVED_GEOMETRY = ["--_spinner-ring-diameter", "--_spinner-ring-stroke"];
|
|
9
|
+
let registered = false;
|
|
10
|
+
/**
|
|
11
|
+
* 把圆环的直径和描边登记成长度。
|
|
12
|
+
* 这样主题写成 `0` 时,它是 0px,而不是把 `calc()` 里的加法变成非法值。
|
|
13
|
+
* 公开变量不登记,避免整份文档都带着一个初始值。
|
|
14
|
+
*/
|
|
15
|
+
function registerSpinnerGeometry() {
|
|
16
|
+
if (registered || typeof CSS === "undefined" || typeof CSS.registerProperty !== "function") return;
|
|
17
|
+
registered = true;
|
|
18
|
+
for (const name of RESOLVED_GEOMETRY) try {
|
|
19
|
+
CSS.registerProperty({
|
|
20
|
+
name,
|
|
21
|
+
syntax: "<length>",
|
|
22
|
+
inherits: true,
|
|
23
|
+
initialValue: "0px"
|
|
24
|
+
});
|
|
25
|
+
} catch {}
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/Spinner/SpinnerOwnerContext.ts
|
|
29
|
+
/**
|
|
30
|
+
* 在拥有加载任务的核心组件里为 true:它自己播报这个任务,
|
|
31
|
+
* 所以组合进来的加载圈保持安静。只在 core 内部使用,不从 Spinner/index.ts 导出;
|
|
32
|
+
* 应用代码要让组合的加载圈安静,给它写 `aria-hidden`。
|
|
33
|
+
*/
|
|
34
|
+
const spinnerOwnerKey = Symbol("astryx-spinner-owner");
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/Spinner/spinnerPhase.ts
|
|
37
|
+
const pending = /* @__PURE__ */ new Set();
|
|
38
|
+
let scheduled = false;
|
|
39
|
+
function pinPendingRings() {
|
|
40
|
+
scheduled = false;
|
|
41
|
+
const animations = [];
|
|
42
|
+
for (const rotor of pending) if (typeof rotor.getAnimations === "function") animations.push(...rotor.getAnimations());
|
|
43
|
+
pending.clear();
|
|
44
|
+
for (const animation of animations) animation.startTime = 0;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* 把转子的动画起点钉在文档时间线的 0。
|
|
48
|
+
* 后出现的加载圈因此和先出现的停在同一相位,而不是各自从挂载的那一帧开始。
|
|
49
|
+
*/
|
|
50
|
+
function bindSpinnerPhase(rotor) {
|
|
51
|
+
if (typeof rotor.getAnimations !== "function") return () => {};
|
|
52
|
+
pending.add(rotor);
|
|
53
|
+
if (!scheduled) {
|
|
54
|
+
scheduled = true;
|
|
55
|
+
requestAnimationFrame(pinPendingRings);
|
|
56
|
+
}
|
|
57
|
+
return () => {
|
|
58
|
+
pending.delete(rotor);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/Spinner/SpinnerRing.vue
|
|
63
|
+
const _hoisted_1$1 = {
|
|
64
|
+
class: "astryx-spinner__ring",
|
|
65
|
+
width: "0",
|
|
66
|
+
height: "0",
|
|
67
|
+
"aria-hidden": "true",
|
|
68
|
+
focusable: "false"
|
|
69
|
+
};
|
|
70
|
+
const _hoisted_2$1 = ["r", "stroke-width"];
|
|
71
|
+
const _hoisted_3$1 = ["width", "height"];
|
|
72
|
+
const _hoisted_4 = [
|
|
73
|
+
"r",
|
|
74
|
+
"stroke-width",
|
|
75
|
+
"stroke-dasharray"
|
|
76
|
+
];
|
|
77
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
78
|
+
name: "AstryxSpinnerRing",
|
|
79
|
+
__name: "SpinnerRing",
|
|
80
|
+
props: {
|
|
81
|
+
frameSize: {},
|
|
82
|
+
diameter: {},
|
|
83
|
+
stroke: {},
|
|
84
|
+
arcLength: {},
|
|
85
|
+
gapLength: {}
|
|
86
|
+
},
|
|
87
|
+
setup(__props) {
|
|
88
|
+
const ThemeSpinner = useIndicator("spinner");
|
|
89
|
+
let releasePhase;
|
|
90
|
+
/** 转子是自带合成层的 HTML 盒子:弧在里面转,轨道留在外面不动。 */
|
|
91
|
+
function onRotor(element) {
|
|
92
|
+
releasePhase?.();
|
|
93
|
+
releasePhase = void 0;
|
|
94
|
+
if (element instanceof HTMLElement) releasePhase = bindSpinnerPhase(element);
|
|
95
|
+
}
|
|
96
|
+
onBeforeUnmount(() => releasePhase?.());
|
|
97
|
+
return (_ctx, _cache) => {
|
|
98
|
+
return unref(ThemeSpinner) ? (openBlock(), createBlock(resolveDynamicComponent(unref(ThemeSpinner)), {
|
|
99
|
+
key: 0,
|
|
100
|
+
state: "busy",
|
|
101
|
+
class: "astryx-spinner__themed"
|
|
102
|
+
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
103
|
+
createCommentVNode(" 轨道按属性是零尺寸:没有样式表时,转子里的弧自己撑满盒子,而不是两个圆并排。 "),
|
|
104
|
+
(openBlock(), createElementBlock("svg", _hoisted_1$1, [createElementVNode("circle", {
|
|
105
|
+
class: "astryx-spinner__track",
|
|
106
|
+
cx: "50%",
|
|
107
|
+
cy: "50%",
|
|
108
|
+
r: __props.diameter / 2,
|
|
109
|
+
"stroke-width": __props.stroke
|
|
110
|
+
}, null, 8, _hoisted_2$1)])),
|
|
111
|
+
createElementVNode("span", {
|
|
112
|
+
ref: onRotor,
|
|
113
|
+
class: "astryx-spinner__rotor",
|
|
114
|
+
"aria-hidden": "true"
|
|
115
|
+
}, [(openBlock(), createElementBlock("svg", {
|
|
116
|
+
class: "astryx-spinner__ring",
|
|
117
|
+
width: __props.frameSize,
|
|
118
|
+
height: __props.frameSize,
|
|
119
|
+
focusable: "false"
|
|
120
|
+
}, [createElementVNode("circle", {
|
|
121
|
+
class: "astryx-spinner__arc",
|
|
122
|
+
cx: "50%",
|
|
123
|
+
cy: "50%",
|
|
124
|
+
r: __props.diameter / 2,
|
|
125
|
+
"stroke-width": __props.stroke,
|
|
126
|
+
"stroke-dasharray": `${__props.arcLength} ${__props.gapLength}`
|
|
127
|
+
}, null, 8, _hoisted_4)], 8, _hoisted_3$1))], 512)
|
|
128
|
+
], 64));
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region src/Spinner/Spinner.vue
|
|
134
|
+
const _hoisted_1 = ["data-size", "data-shade"];
|
|
135
|
+
const _hoisted_2 = [
|
|
136
|
+
"role",
|
|
137
|
+
"aria-label",
|
|
138
|
+
"aria-labelledby"
|
|
139
|
+
];
|
|
140
|
+
const _hoisted_3 = [
|
|
141
|
+
"role",
|
|
142
|
+
"data-size",
|
|
143
|
+
"data-shade",
|
|
144
|
+
"aria-label"
|
|
145
|
+
];
|
|
146
|
+
const ARC_FRACTION = .375;
|
|
147
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
148
|
+
name: "AstryxSpinner",
|
|
149
|
+
inheritAttrs: false,
|
|
150
|
+
__name: "Spinner",
|
|
151
|
+
props: {
|
|
152
|
+
size: { default: "md" },
|
|
153
|
+
shade: { default: "default" },
|
|
154
|
+
label: {}
|
|
155
|
+
},
|
|
156
|
+
setup(__props) {
|
|
157
|
+
const props = __props;
|
|
158
|
+
const RING = {
|
|
159
|
+
sm: {
|
|
160
|
+
diameter: 10,
|
|
161
|
+
stroke: 2
|
|
162
|
+
},
|
|
163
|
+
md: {
|
|
164
|
+
diameter: 14,
|
|
165
|
+
stroke: 3
|
|
166
|
+
},
|
|
167
|
+
lg: {
|
|
168
|
+
diameter: 18,
|
|
169
|
+
stroke: 3
|
|
170
|
+
},
|
|
171
|
+
xl: {
|
|
172
|
+
diameter: 28,
|
|
173
|
+
stroke: 4
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
registerSpinnerGeometry();
|
|
177
|
+
const attrs = useAttrs();
|
|
178
|
+
const slots = useSlots();
|
|
179
|
+
const messages = useComponentMessages({ spinner: spinnerMessages });
|
|
180
|
+
const labelId = `astryx-spinner-label-${useId()}`;
|
|
181
|
+
const hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));
|
|
182
|
+
const ariaLabel = computed(() => attrs["aria-label"]);
|
|
183
|
+
const namedByVisibleLabel = computed(() => Boolean(props.label) && !ariaLabel.value);
|
|
184
|
+
const ringLabelledBy = computed(() => namedByVisibleLabel.value ? labelId : void 0);
|
|
185
|
+
const ringAriaLabel = computed(() => {
|
|
186
|
+
if (namedByVisibleLabel.value) return void 0;
|
|
187
|
+
return ariaLabel.value ?? props.label ?? messages.value.spinner.loading;
|
|
188
|
+
});
|
|
189
|
+
const ringRole = computed(() => attrs.role ?? "progressbar");
|
|
190
|
+
const rootAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "aria-label" && key !== "style" && key !== "role")));
|
|
191
|
+
const isComposedInOwner = inject(spinnerOwnerKey, false);
|
|
192
|
+
const ringEl = useTemplateRef("ring");
|
|
193
|
+
function announces() {
|
|
194
|
+
if (isComposedInOwner || ringRole.value !== "progressbar") return false;
|
|
195
|
+
if (attrs["aria-hidden"] === true || attrs["aria-hidden"] === "true") return false;
|
|
196
|
+
return ringEl.value?.closest("[aria-hidden=\"true\"]") == null;
|
|
197
|
+
}
|
|
198
|
+
const announcedName = computed(() => ariaLabel.value ?? props.label ?? messages.value.spinner.loading);
|
|
199
|
+
useAnnounceRenderedText(ringEl, announces, {
|
|
200
|
+
skipFirstRender: true,
|
|
201
|
+
fallbackText: announcedName
|
|
202
|
+
});
|
|
203
|
+
const geometry = computed(() => RING[props.size]);
|
|
204
|
+
const frameSize = computed(() => geometry.value.diameter + geometry.value.stroke * 2);
|
|
205
|
+
const arcLength = computed(() => Math.PI * geometry.value.diameter * ARC_FRACTION);
|
|
206
|
+
const gapLength = computed(() => Math.PI * geometry.value.diameter - arcLength.value);
|
|
207
|
+
const boxStyle = computed(() => ({
|
|
208
|
+
width: `var(--_spinner-box-size, ${frameSize.value}px)`,
|
|
209
|
+
height: `var(--_spinner-box-size, ${frameSize.value}px)`
|
|
210
|
+
}));
|
|
211
|
+
const callerStyle = computed(() => attrs.style);
|
|
212
|
+
const rootStyle = computed(() => [callerStyle.value, hasLabel.value ? void 0 : boxStyle.value]);
|
|
213
|
+
return (_ctx, _cache) => {
|
|
214
|
+
return hasLabel.value ? (openBlock(), createElementBlock("div", mergeProps({ key: 0 }, rootAttrs.value, {
|
|
215
|
+
class: "astryx-spinner astryx-spinner-group",
|
|
216
|
+
"data-size": __props.size,
|
|
217
|
+
"data-shade": __props.shade,
|
|
218
|
+
style: callerStyle.value
|
|
219
|
+
}), [createElementVNode("span", {
|
|
220
|
+
ref: "ring",
|
|
221
|
+
class: "astryx-spinner-box",
|
|
222
|
+
role: ringRole.value,
|
|
223
|
+
"aria-label": ringAriaLabel.value,
|
|
224
|
+
"aria-labelledby": ringLabelledBy.value,
|
|
225
|
+
style: normalizeStyle(boxStyle.value)
|
|
226
|
+
}, [createVNode(_sfc_main$1, {
|
|
227
|
+
"frame-size": frameSize.value,
|
|
228
|
+
diameter: geometry.value.diameter,
|
|
229
|
+
stroke: geometry.value.stroke,
|
|
230
|
+
"arc-length": arcLength.value,
|
|
231
|
+
"gap-length": gapLength.value
|
|
232
|
+
}, null, 8, [
|
|
233
|
+
"frame-size",
|
|
234
|
+
"diameter",
|
|
235
|
+
"stroke",
|
|
236
|
+
"arc-length",
|
|
237
|
+
"gap-length"
|
|
238
|
+
])], 12, _hoisted_2), createElementVNode("span", {
|
|
239
|
+
id: labelId,
|
|
240
|
+
class: "astryx-spinner-label"
|
|
241
|
+
}, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])], 16, _hoisted_1)) : (openBlock(), createElementBlock("span", mergeProps({ key: 1 }, rootAttrs.value, {
|
|
242
|
+
ref: "ring",
|
|
243
|
+
class: "astryx-spinner astryx-spinner-box",
|
|
244
|
+
role: ringRole.value,
|
|
245
|
+
"data-size": __props.size,
|
|
246
|
+
"data-shade": __props.shade,
|
|
247
|
+
"aria-label": ringAriaLabel.value,
|
|
248
|
+
style: rootStyle.value
|
|
249
|
+
}), [createVNode(_sfc_main$1, {
|
|
250
|
+
"frame-size": frameSize.value,
|
|
251
|
+
diameter: geometry.value.diameter,
|
|
252
|
+
stroke: geometry.value.stroke,
|
|
253
|
+
"arc-length": arcLength.value,
|
|
254
|
+
"gap-length": gapLength.value
|
|
255
|
+
}, null, 8, [
|
|
256
|
+
"frame-size",
|
|
257
|
+
"diameter",
|
|
258
|
+
"stroke",
|
|
259
|
+
"arc-length",
|
|
260
|
+
"gap-length"
|
|
261
|
+
])], 16, _hoisted_3));
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
//#endregion
|
|
266
|
+
export { spinnerOwnerKey as n, _sfc_main as t };
|
package/dist/Stack/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
|
|
2
|
-
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-
|
|
2
|
+
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BgT6mH3U.js";
|
|
3
3
|
export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
|
package/dist/StatusDot/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../StatusDot-
|
|
1
|
+
import { t as _sfc_main } from "../StatusDot-D7nVuPg7.js";
|
|
2
2
|
export { _sfc_main as StatusDot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Tooltip-DyGaJUbl.js";
|
|
2
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
|
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-Pad9p8CU.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-C4-wtxn4.js";
|
|
2
2
|
export { _sfc_main as Step, _sfc_main$1 as Stepper };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Dx-a3i82.js";
|
|
2
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
3
3
|
import { t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
|
-
import { t as stepperMessages } from "./stepper-
|
|
7
|
-
import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
|
|
6
|
+
import { t as stepperMessages } from "./stepper-D7L_3xxU.js";
|
|
7
|
+
import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/stepper.css";
|
|
9
9
|
import "../styles/stepper-track.css";
|
|
10
10
|
//#region src/Stepper/context.ts
|
|
@@ -71,7 +71,8 @@ const _hoisted_1$2 = [
|
|
|
71
71
|
"data-glyph",
|
|
72
72
|
"data-progress",
|
|
73
73
|
"data-status",
|
|
74
|
-
"data-disabled"
|
|
74
|
+
"data-disabled",
|
|
75
|
+
"data-selected"
|
|
75
76
|
];
|
|
76
77
|
const _hoisted_2$2 = {
|
|
77
78
|
key: 3,
|
|
@@ -89,6 +90,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
89
90
|
numberLabel: {},
|
|
90
91
|
status: {},
|
|
91
92
|
isDisabled: { type: Boolean },
|
|
93
|
+
selected: { type: Boolean },
|
|
92
94
|
progress: {}
|
|
93
95
|
},
|
|
94
96
|
setup(__props) {
|
|
@@ -100,6 +102,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
100
102
|
"data-progress": __props.progress,
|
|
101
103
|
"data-status": __props.status,
|
|
102
104
|
"data-disabled": __props.isDisabled || void 0,
|
|
105
|
+
"data-selected": __props.selected ? "selected" : void 0,
|
|
103
106
|
"aria-hidden": "true"
|
|
104
107
|
}, [_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : __props.glyph === "warning" || __props.glyph === "error" ? (openBlock(), createBlock(_sfc_main$3, {
|
|
105
108
|
key: 1,
|
|
@@ -143,6 +146,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
143
146
|
//#region src/Stepper/Step.vue
|
|
144
147
|
const _hoisted_1$1 = [
|
|
145
148
|
"aria-current",
|
|
149
|
+
"data-selected",
|
|
146
150
|
"data-density",
|
|
147
151
|
"data-indicator-position",
|
|
148
152
|
"data-orientation",
|
|
@@ -152,7 +156,7 @@ const _hoisted_1$1 = [
|
|
|
152
156
|
];
|
|
153
157
|
const _hoisted_2$1 = ["data-filled"];
|
|
154
158
|
const _hoisted_3$1 = {
|
|
155
|
-
key:
|
|
159
|
+
key: 2,
|
|
156
160
|
class: "astryx-step-rail"
|
|
157
161
|
};
|
|
158
162
|
const _hoisted_4$1 = ["data-filled"];
|
|
@@ -168,17 +172,23 @@ const _hoisted_10 = { class: "astryx-step-row" };
|
|
|
168
172
|
const _hoisted_11 = { class: "astryx-step-label-row" };
|
|
169
173
|
const _hoisted_12 = [
|
|
170
174
|
"data-disabled",
|
|
175
|
+
"data-selected",
|
|
171
176
|
"data-progress",
|
|
172
177
|
"data-status"
|
|
173
178
|
];
|
|
174
179
|
const _hoisted_13 = { class: "astryx-step-optional" };
|
|
175
|
-
const _hoisted_14 = [
|
|
180
|
+
const _hoisted_14 = [
|
|
181
|
+
"id",
|
|
182
|
+
"data-progress",
|
|
183
|
+
"data-status"
|
|
184
|
+
];
|
|
176
185
|
const _hoisted_15 = {
|
|
177
186
|
key: 0,
|
|
178
187
|
class: "astryx-step-content"
|
|
179
188
|
};
|
|
180
189
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
181
190
|
name: "AstryxStep",
|
|
191
|
+
inheritAttrs: false,
|
|
182
192
|
__name: "Step",
|
|
183
193
|
props: {
|
|
184
194
|
step: {},
|
|
@@ -207,6 +217,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
207
217
|
return true;
|
|
208
218
|
}) ?? false;
|
|
209
219
|
}
|
|
220
|
+
const attrs = useAttrs();
|
|
221
|
+
const descriptionId = useId();
|
|
210
222
|
const stepper = useStepperContext();
|
|
211
223
|
const messages = useComponentMessages({ stepper: stepperMessages });
|
|
212
224
|
const { pressableProps } = usePressFeedback({ hasOverlay: false });
|
|
@@ -256,6 +268,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
256
268
|
if (props.status === "success" || progress.value === "completed") return messages.value.stepper.status.completed;
|
|
257
269
|
return null;
|
|
258
270
|
});
|
|
271
|
+
const compactStatus = computed(() => props.isDisabled ? messages.value.stepper.status.unavailable : null);
|
|
259
272
|
function activate() {
|
|
260
273
|
if (!isClickable.value) return;
|
|
261
274
|
stepper.select.value?.(props.step);
|
|
@@ -270,88 +283,45 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
270
283
|
}), (record) => stepper.register(record), { immediate: true });
|
|
271
284
|
onUnmounted(() => stepper.unregister(props.step));
|
|
272
285
|
return (_ctx, _cache) => {
|
|
273
|
-
return openBlock(), createElementBlock("li", {
|
|
286
|
+
return openBlock(), createElementBlock("li", mergeProps(unref(attrs), {
|
|
274
287
|
class: "astryx-step",
|
|
275
288
|
"aria-current": progress.value === "in-progress" ? "step" : void 0,
|
|
289
|
+
"data-selected": progress.value === "in-progress" ? "selected" : void 0,
|
|
276
290
|
"data-density": density.value,
|
|
277
291
|
"data-indicator-position": indicatorPosition.value,
|
|
278
292
|
"data-orientation": orientation.value,
|
|
279
293
|
"data-glyph": glyph.value,
|
|
280
294
|
"data-progress": progress.value,
|
|
281
295
|
"data-status": __props.status
|
|
282
|
-
}, [
|
|
283
|
-
|
|
284
|
-
class: "astryx-step-bar",
|
|
285
|
-
"data-filled": leadFilled.value || void 0,
|
|
286
|
-
style: normalizeStyle(fillVars(barTiming.value))
|
|
287
|
-
}, null, 12, _hoisted_2$1)) : orientation.value === "vertical" ? (openBlock(), createElementBlock("span", _hoisted_3$1, [
|
|
288
|
-
createElementVNode("span", {
|
|
289
|
-
class: "astryx-step-connector astryx-step-connector-lead",
|
|
290
|
-
"data-filled": leadFilled.value || void 0,
|
|
291
|
-
style: normalizeStyle(fillVars(leadTiming.value))
|
|
292
|
-
}, null, 12, _hoisted_4$1),
|
|
293
|
-
isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
296
|
+
}), [
|
|
297
|
+
indicatorPosition.value === "separated" || collapsed.value ? (openBlock(), createElementBlock("span", {
|
|
294
298
|
key: 0,
|
|
295
|
-
|
|
296
|
-
"
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
"
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
"
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
"aria-disabled": hasControl.value && __props.isDisabled ? "true" : void 0,
|
|
320
|
-
type: hasControl.value ? "button" : void 0,
|
|
321
|
-
onClick: activate
|
|
322
|
-
}), {
|
|
323
|
-
default: withCtx(() => [
|
|
324
|
-
isTrack.value ? (openBlock(), createElementBlock("span", _hoisted_7$1, [
|
|
325
|
-
createElementVNode("span", {
|
|
326
|
-
class: "astryx-step-connector astryx-step-connector-lead",
|
|
327
|
-
"data-filled": leadFilled.value || void 0,
|
|
328
|
-
style: normalizeStyle(fillVars(leadTiming.value))
|
|
329
|
-
}, null, 12, _hoisted_8$1),
|
|
330
|
-
createVNode(_sfc_main$2, {
|
|
331
|
-
glyph: glyph.value,
|
|
332
|
-
"number-label": numberLabel.value,
|
|
333
|
-
status: __props.status,
|
|
334
|
-
"is-disabled": __props.isDisabled,
|
|
335
|
-
progress: progress.value
|
|
336
|
-
}, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
|
|
337
|
-
name: "icon",
|
|
338
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
339
|
-
key: "0"
|
|
340
|
-
} : void 0]), 1032, [
|
|
341
|
-
"glyph",
|
|
342
|
-
"number-label",
|
|
343
|
-
"status",
|
|
344
|
-
"is-disabled",
|
|
345
|
-
"progress"
|
|
346
|
-
]),
|
|
347
|
-
createElementVNode("span", {
|
|
348
|
-
class: "astryx-step-connector astryx-step-connector-trail",
|
|
349
|
-
"data-filled": trailFilled.value || void 0,
|
|
350
|
-
style: normalizeStyle(fillVars(trailTiming.value))
|
|
351
|
-
}, null, 12, _hoisted_9$1)
|
|
352
|
-
])) : createCommentVNode("v-if", true),
|
|
353
|
-
createElementVNode("span", _hoisted_10, [!isTrack.value && !isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
299
|
+
class: "astryx-step-bar",
|
|
300
|
+
"data-filled": leadFilled.value || void 0,
|
|
301
|
+
style: normalizeStyle(fillVars(barTiming.value))
|
|
302
|
+
}, null, 12, _hoisted_2$1)) : createCommentVNode("v-if", true),
|
|
303
|
+
collapsed.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
304
|
+
createVNode(_sfc_main$4, null, {
|
|
305
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.label), 1)]),
|
|
306
|
+
_: 1
|
|
307
|
+
}),
|
|
308
|
+
hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
|
|
309
|
+
default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
|
|
310
|
+
_: 1
|
|
311
|
+
})) : createCommentVNode("v-if", true),
|
|
312
|
+
compactStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 1 }, {
|
|
313
|
+
default: withCtx(() => [createTextVNode(toDisplayString(compactStatus.value), 1)]),
|
|
314
|
+
_: 1
|
|
315
|
+
})) : createCommentVNode("v-if", true)
|
|
316
|
+
], 64)) : orientation.value === "vertical" ? (openBlock(), createElementBlock("span", _hoisted_3$1, [
|
|
317
|
+
createElementVNode("span", {
|
|
318
|
+
class: "astryx-step-connector astryx-step-connector-lead",
|
|
319
|
+
"data-filled": leadFilled.value || void 0,
|
|
320
|
+
style: normalizeStyle(fillVars(leadTiming.value))
|
|
321
|
+
}, null, 12, _hoisted_4$1),
|
|
322
|
+
isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
354
323
|
key: 0,
|
|
324
|
+
selected: progress.value === "in-progress",
|
|
355
325
|
glyph: glyph.value,
|
|
356
326
|
"number-label": numberLabel.value,
|
|
357
327
|
status: __props.status,
|
|
@@ -362,38 +332,114 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
362
332
|
fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
363
333
|
key: "0"
|
|
364
334
|
} : void 0]), 1032, [
|
|
335
|
+
"selected",
|
|
365
336
|
"glyph",
|
|
366
337
|
"number-label",
|
|
367
338
|
"status",
|
|
368
339
|
"is-disabled",
|
|
369
340
|
"progress"
|
|
370
|
-
])) : createCommentVNode("v-if", true),
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
341
|
+
])) : createCommentVNode("v-if", true),
|
|
342
|
+
createElementVNode("span", {
|
|
343
|
+
class: "astryx-step-connector astryx-step-connector-trail",
|
|
344
|
+
"data-filled": trailFilled.value || void 0,
|
|
345
|
+
style: normalizeStyle(fillVars(trailTiming.value))
|
|
346
|
+
}, null, 12, _hoisted_5$1)
|
|
347
|
+
])) : createCommentVNode("v-if", true),
|
|
348
|
+
createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(hasControl.value ? "button" : "div"), mergeProps(hasControl.value ? unref(pressableProps) : void 0, {
|
|
349
|
+
class: "astryx-step-control",
|
|
350
|
+
"aria-label": hasControl.value ? accessibleName.value : void 0,
|
|
351
|
+
"aria-describedby": hasControl.value && __props.description ? unref(descriptionId) : void 0,
|
|
352
|
+
"aria-disabled": hasControl.value && __props.isDisabled ? "true" : void 0,
|
|
353
|
+
type: hasControl.value ? "button" : void 0,
|
|
354
|
+
onClick: activate
|
|
355
|
+
}), {
|
|
356
|
+
default: withCtx(() => [
|
|
357
|
+
isTrack.value ? (openBlock(), createElementBlock("span", _hoisted_7$1, [
|
|
358
|
+
createElementVNode("span", {
|
|
359
|
+
class: "astryx-step-connector astryx-step-connector-lead",
|
|
360
|
+
"data-filled": leadFilled.value || void 0,
|
|
361
|
+
style: normalizeStyle(fillVars(leadTiming.value))
|
|
362
|
+
}, null, 12, _hoisted_8$1),
|
|
363
|
+
createVNode(_sfc_main$2, {
|
|
364
|
+
selected: progress.value === "in-progress",
|
|
365
|
+
glyph: glyph.value,
|
|
366
|
+
"number-label": numberLabel.value,
|
|
367
|
+
status: __props.status,
|
|
368
|
+
"is-disabled": __props.isDisabled,
|
|
369
|
+
progress: progress.value
|
|
370
|
+
}, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
|
|
371
|
+
name: "icon",
|
|
372
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
373
|
+
key: "0"
|
|
374
|
+
} : void 0]), 1032, [
|
|
375
|
+
"selected",
|
|
376
|
+
"glyph",
|
|
377
|
+
"number-label",
|
|
378
|
+
"status",
|
|
379
|
+
"is-disabled",
|
|
380
|
+
"progress"
|
|
381
|
+
]),
|
|
382
|
+
createElementVNode("span", {
|
|
383
|
+
class: "astryx-step-connector astryx-step-connector-trail",
|
|
384
|
+
"data-filled": trailFilled.value || void 0,
|
|
385
|
+
style: normalizeStyle(fillVars(trailTiming.value))
|
|
386
|
+
}, null, 12, _hoisted_9$1)
|
|
387
|
+
])) : createCommentVNode("v-if", true),
|
|
388
|
+
createElementVNode("span", _hoisted_10, [
|
|
389
|
+
!isTrack.value && !isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
390
|
+
key: 0,
|
|
391
|
+
selected: progress.value === "in-progress",
|
|
392
|
+
glyph: glyph.value,
|
|
393
|
+
"number-label": numberLabel.value,
|
|
394
|
+
status: __props.status,
|
|
395
|
+
"is-disabled": __props.isDisabled,
|
|
396
|
+
progress: progress.value
|
|
397
|
+
}, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
|
|
398
|
+
name: "icon",
|
|
399
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
400
|
+
key: "0"
|
|
401
|
+
} : void 0]), 1032, [
|
|
402
|
+
"selected",
|
|
403
|
+
"glyph",
|
|
404
|
+
"number-label",
|
|
405
|
+
"status",
|
|
406
|
+
"is-disabled",
|
|
407
|
+
"progress"
|
|
408
|
+
])) : createCommentVNode("v-if", true),
|
|
409
|
+
createCommentVNode(" 指示点和标签之间留一个空格:行是 flex 容器,空白文本不画出来,但文本读法里 \"1 Account\" 不会粘成 \"1Account\"。 "),
|
|
410
|
+
_cache[1] || (_cache[1] = createTextVNode(" " + toDisplayString(" ") + " ", -1)),
|
|
411
|
+
createElementVNode("span", _hoisted_11, [
|
|
412
|
+
createElementVNode("span", {
|
|
413
|
+
class: "astryx-step-label",
|
|
414
|
+
"data-disabled": __props.isDisabled || void 0,
|
|
415
|
+
"data-selected": progress.value === "in-progress" ? "selected" : void 0,
|
|
416
|
+
"data-progress": progress.value,
|
|
417
|
+
"data-status": __props.status
|
|
418
|
+
}, toDisplayString(__props.label), 9, _hoisted_12),
|
|
419
|
+
hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
|
|
420
|
+
default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
|
|
421
|
+
_: 1
|
|
422
|
+
})) : createCommentVNode("v-if", true),
|
|
423
|
+
__props.isOptional ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[0] || (_cache[0] = createElementVNode("span", { class: "astryx-step-optional" }, "•", -1)), createElementVNode("span", _hoisted_13, toDisplayString(unref(messages).stepper.optional), 1)], 64)) : createCommentVNode("v-if", true),
|
|
424
|
+
renderSlot(_ctx.$slots, "end")
|
|
425
|
+
])
|
|
426
|
+
]),
|
|
427
|
+
__props.description ? (openBlock(), createElementBlock("span", {
|
|
428
|
+
key: 1,
|
|
429
|
+
id: unref(descriptionId),
|
|
430
|
+
class: "astryx-step-description",
|
|
374
431
|
"data-progress": progress.value,
|
|
375
432
|
"data-status": __props.status
|
|
376
|
-
}, toDisplayString(__props.
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
class: "astryx-step-description",
|
|
387
|
-
"data-progress": progress.value,
|
|
388
|
-
"data-status": __props.status
|
|
389
|
-
}, toDisplayString(__props.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)
|
|
390
|
-
]),
|
|
391
|
-
_: 3
|
|
392
|
-
}, 16, [
|
|
393
|
-
"aria-label",
|
|
394
|
-
"aria-disabled",
|
|
395
|
-
"type"
|
|
396
|
-
])), hasContent(_ctx.$slots.default?.()) ? (openBlock(), createElementBlock("div", _hoisted_15, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])], 8, _hoisted_1$1);
|
|
433
|
+
}, toDisplayString(__props.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)
|
|
434
|
+
]),
|
|
435
|
+
_: 3
|
|
436
|
+
}, 16, [
|
|
437
|
+
"aria-label",
|
|
438
|
+
"aria-describedby",
|
|
439
|
+
"aria-disabled",
|
|
440
|
+
"type"
|
|
441
|
+
])), hasContent(_ctx.$slots.default?.()) ? (openBlock(), createElementBlock("div", _hoisted_15, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])
|
|
442
|
+
], 16, _hoisted_1$1);
|
|
397
443
|
};
|
|
398
444
|
}
|
|
399
445
|
});
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-
|
|
1
|
+
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-CY0KtUSC.js";
|
|
2
2
|
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|