@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
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
1
|
+
import { t as _sfc_main$2 } from "./Button-X-Q_ghg8.js";
|
|
2
2
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
3
|
-
import { r as layerEntranceSide, t as useDismiss } from "./useDismiss-
|
|
4
|
-
import { n as useLayer } from "./tooltipTriggerRules-
|
|
5
|
-
import { t as _sfc_main$3 } from "./LayerContentBoundary-
|
|
6
|
-
import { n as createMotionEngine } from "./animator-
|
|
7
|
-
import { t as isCoarsePointer } from "./coarsePointer-
|
|
8
|
-
import { n as readThemeTimingOrInstant } from "./themeTiming-
|
|
3
|
+
import { r as layerEntranceSide, t as useDismiss } from "./useDismiss-6SGAlkB_.js";
|
|
4
|
+
import { n as useLayer } from "./tooltipTriggerRules-CHNpQ6RL.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./LayerContentBoundary-CTjEpdM4.js";
|
|
6
|
+
import { n as createMotionEngine } from "./animator-ozeBZ_zC.js";
|
|
7
|
+
import { t as isCoarsePointer } from "./coarsePointer-DGnAPIcU.js";
|
|
8
|
+
import { n as readThemeTimingOrInstant } from "./themeTiming-ClYaZxGf.js";
|
|
9
9
|
import { a as restoreScrollOffsets, n as isCopyable, r as keepInherited, t as inertCopy } from "./transientCopy-VAsg2a46.js";
|
|
10
10
|
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
11
11
|
import { a as inDocumentOrder } from "./focusRegion-CmDg7_4b.js";
|
|
12
12
|
import { t as useFocusTrap } from "./useFocusTrap-DcjriBe1.js";
|
|
13
13
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
14
14
|
import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
|
|
15
|
-
import { t as holdInput } from "./inputHold-
|
|
15
|
+
import { t as holdInput } from "./inputHold-BJtjc9iI.js";
|
|
16
16
|
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-CEvrMbxH.js";
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
18
|
import { n as mapRange, t as mapProgress } from "./progress-FQfSgLZC.js";
|
|
19
19
|
import { t as bottomSheetEscapeKey } from "./escape-DzSxSmez.js";
|
|
20
20
|
import { n as clampInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
|
|
21
|
-
import { i as useAdaptivePresentation, t as createPresentationHold } from "./presentationHold-
|
|
22
|
-
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-
|
|
21
|
+
import { i as useAdaptivePresentation, t as createPresentationHold } from "./presentationHold-CZsVmjlY.js";
|
|
22
|
+
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-Bg5E8lr3.js";
|
|
23
23
|
import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
|
|
24
24
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, nextTick, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, shallowRef, toValue, unref, useId, vShow, watch, withCtx, withDirectives } from "vue";
|
|
25
25
|
import "../styles/popover.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as PowerSearchOperator, Ci as PowerSearchEntity, Di as PowerSearchFilter, Ei as PowerSearchFieldType, Fi as PowerSearchSlots, Ii as PowerSearchStatus, Mi as PowerSearchPresentation, Ni as PowerSearchProps, Oi as PowerSearchHandle, Pi as PowerSearchSize, Si as PowerSearchEmits, Ti as PowerSearchFieldDefinition, _i as OperatorValue, ai as _default, bi as PowerSearchComponents, ci as formatDateAbsolute, di as completePowerSearchFilter, ei as searchPowerSearchFields, fi as PowerSearchLookup, gi as FilterValue, hi as DateTimeRangePart, ii as usePowerSearchConfig, ji as PowerSearchOverflow, ki as PowerSearchItem, li as formatDateAbsoluteCompact, mi as DateTimeRange, ni as applyPowerSearchFilters, oi as resolveEditorPlacement, pi as createPowerSearchLookup, ri as createPowerSearchConfig, si as resolveOperatorLabel, ti as InferPowerSearchData, ui as formatFilterValue, vi as PartialFilter, wi as PowerSearchField, xi as PowerSearchConfig, yi as PowerSearchChangeType } from "../index-
|
|
1
|
+
import { Ai as PowerSearchOperator, Ci as PowerSearchEntity, Di as PowerSearchFilter, Ei as PowerSearchFieldType, Fi as PowerSearchSlots, Ii as PowerSearchStatus, Mi as PowerSearchPresentation, Ni as PowerSearchProps, Oi as PowerSearchHandle, Pi as PowerSearchSize, Si as PowerSearchEmits, Ti as PowerSearchFieldDefinition, _i as OperatorValue, ai as _default, bi as PowerSearchComponents, ci as formatDateAbsolute, di as completePowerSearchFilter, ei as searchPowerSearchFields, fi as PowerSearchLookup, gi as FilterValue, hi as DateTimeRangePart, ii as usePowerSearchConfig, ji as PowerSearchOverflow, ki as PowerSearchItem, li as formatDateAbsoluteCompact, mi as DateTimeRange, ni as applyPowerSearchFilters, oi as resolveEditorPlacement, pi as createPowerSearchLookup, ri as createPowerSearchConfig, si as resolveOperatorLabel, ti as InferPowerSearchData, ui as formatFilterValue, vi as PartialFilter, wi as PowerSearchField, xi as PowerSearchConfig, yi as PowerSearchChangeType } from "../index-CY0KtUSC.js";
|
|
2
2
|
export { type DateTimeRange, type DateTimeRangePart, type FilterValue, type InferPowerSearchData, type OperatorValue, type PartialFilter, _default as PowerSearch, type PowerSearchChangeType, type PowerSearchComponents, type PowerSearchConfig, type PowerSearchEmits, type PowerSearchEntity, type PowerSearchField, type PowerSearchFieldDefinition, type PowerSearchFieldType, type PowerSearchFilter, type PowerSearchHandle, type PowerSearchItem, type PowerSearchLookup, type PowerSearchOperator, type PowerSearchOverflow, type PowerSearchPresentation, type PowerSearchProps, type PowerSearchSize, type PowerSearchSlots, type PowerSearchStatus, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-
|
|
1
|
+
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-DEpXEmgs.js";
|
|
2
2
|
export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { t as _sfc_main$13 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { t as _sfc_main$14 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$14 } from "./Button-X-Q_ghg8.js";
|
|
4
4
|
import { i as useLayerGutter } from "./context-M-er0-Rk.js";
|
|
5
|
-
import { t as useDismiss } from "./useDismiss-
|
|
5
|
+
import { t as useDismiss } from "./useDismiss-6SGAlkB_.js";
|
|
6
6
|
import { r as truncateCharacters, t as characterCount } from "./characters-wTnzjkkR.js";
|
|
7
7
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
8
8
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
9
9
|
import { t as createStaticSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
10
|
-
import { t as _sfc_main$15 } from "./IconButton-
|
|
11
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
10
|
+
import { t as _sfc_main$15 } from "./IconButton-CXg9qTRM.js";
|
|
11
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-D0q4S1Ye.js";
|
|
12
12
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
13
13
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
14
14
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
15
|
-
import { t as _sfc_main$16 } from "./Tooltip-
|
|
16
|
-
import { t as _sfc_main$17 } from "./Heading-
|
|
15
|
+
import { t as _sfc_main$16 } from "./Tooltip-DyGaJUbl.js";
|
|
16
|
+
import { t as _sfc_main$17 } from "./Heading-D94VFJtm.js";
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
|
-
import { t as _sfc_main$18 } from "./Text-
|
|
19
|
-
import { t as LazyBottomSheet } from "./lazyBottomSheet-
|
|
18
|
+
import { t as _sfc_main$18 } from "./Text-kwsIut3C.js";
|
|
19
|
+
import { t as LazyBottomSheet } from "./lazyBottomSheet-Bg5E8lr3.js";
|
|
20
20
|
import { r as useCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
21
21
|
import { r as formatCalendarInstant } from "./calendarFormat-_CEZIMZG.js";
|
|
22
22
|
import { t as _sfc_main$19 } from "./Calendar-CUMnYIhe.js";
|
|
23
|
-
import { t as _sfc_main$20 } from "./Field-
|
|
23
|
+
import { t as _sfc_main$20 } from "./Field-B1fsgAqp.js";
|
|
24
24
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
25
|
-
import { n as _sfc_main$21, t as _sfc_main$22 } from "./ListItem-
|
|
26
|
-
import { n as _sfc_main$23, t as _sfc_main$24 } from "./CheckboxListItem-
|
|
27
|
-
import { t as _sfc_main$25 } from "./DateInput-
|
|
25
|
+
import { n as _sfc_main$21, t as _sfc_main$22 } from "./ListItem-C5B8uYyn.js";
|
|
26
|
+
import { n as _sfc_main$23, t as _sfc_main$24 } from "./CheckboxListItem-B6sV7-Og.js";
|
|
27
|
+
import { t as _sfc_main$25 } from "./DateInput-DRzZ8dY7.js";
|
|
28
28
|
import { t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
29
|
-
import { l as powerSearchMessages, u as powerSearchSheetMessages } from "./loadCatalog-
|
|
30
|
-
import { t as _sfc_main$26 } from "./DateRangeInput-
|
|
31
|
-
import { t as _sfc_main$27 } from "./DateTimeInput-
|
|
32
|
-
import { t as _sfc_main$28 } from "./EmptyState-
|
|
33
|
-
import { n as tokenNamingKey, t as _sfc_main$29 } from "./Token-
|
|
34
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
35
|
-
import { t as _sfc_main$30 } from "./MultiSelector-
|
|
36
|
-
import { n as resolveNumberInputCommit, t as _sfc_main$31 } from "./NumberInput-
|
|
37
|
-
import { t as _sfc_main$32 } from "./Selector-
|
|
38
|
-
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-
|
|
39
|
-
import { a as _sfc_main$34, i as dismissSearchOnTouchDrag, n as useSheetPresentation, r as useTokenRemoveTap, t as _sfc_main$33 } from "./Tokenizer-
|
|
40
|
-
import { t as _sfc_main$35 } from "./TextInput-
|
|
41
|
-
import { n as _sfc_main$36, t as _sfc_main$37 } from "./RadioListItem-
|
|
42
|
-
import { t as _sfc_main$38 } from "./TimeInput-
|
|
43
|
-
import { t as _sfc_main$39 } from "./Typeahead-
|
|
29
|
+
import { l as powerSearchMessages, u as powerSearchSheetMessages } from "./loadCatalog-DMOOMWtw.js";
|
|
30
|
+
import { t as _sfc_main$26 } from "./DateRangeInput-DL2aOQXJ.js";
|
|
31
|
+
import { t as _sfc_main$27 } from "./DateTimeInput-KWkpamG4.js";
|
|
32
|
+
import { t as _sfc_main$28 } from "./EmptyState-BAP8BpDj.js";
|
|
33
|
+
import { n as tokenNamingKey, t as _sfc_main$29 } from "./Token-CpmqfG4i.js";
|
|
34
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BvCX7ddI.js";
|
|
35
|
+
import { t as _sfc_main$30 } from "./MultiSelector-CnGUU8P3.js";
|
|
36
|
+
import { n as resolveNumberInputCommit, t as _sfc_main$31 } from "./NumberInput-CD9sHbON.js";
|
|
37
|
+
import { t as _sfc_main$32 } from "./Selector-SkwSbf4j.js";
|
|
38
|
+
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-COiZ4isy.js";
|
|
39
|
+
import { a as _sfc_main$34, i as dismissSearchOnTouchDrag, n as useSheetPresentation, r as useTokenRemoveTap, t as _sfc_main$33 } from "./Tokenizer-Dvr7ICpS.js";
|
|
40
|
+
import { t as _sfc_main$35 } from "./TextInput-Xz_ibpOl.js";
|
|
41
|
+
import { n as _sfc_main$36, t as _sfc_main$37 } from "./RadioListItem-DzGPuWTt.js";
|
|
42
|
+
import { t as _sfc_main$38 } from "./TimeInput-D40_6GrX.js";
|
|
43
|
+
import { t as _sfc_main$39 } from "./Typeahead-D9-WjsCU.js";
|
|
44
44
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
45
45
|
import "../styles/layer.css";
|
|
46
46
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { m as msSinceInput } from "./pressFeedback-9ogipvI4.js";
|
|
2
|
+
import { r as press } from "./linearEasing-VHwy6xl_.js";
|
|
3
|
+
import { a as UIKIT_PAN, n as UIKIT_CONTROL, o as UIKIT_PRESS } from "./gestures-yKyyMqeQ.js";
|
|
4
|
+
import { r as travel } from "./geometry-CoQRz-F1.js";
|
|
5
|
+
//#region src/gestures/PressTracker.ts
|
|
6
|
+
const PRESS = UIKIT_PRESS;
|
|
7
|
+
const PRESS_PROFILES = {
|
|
8
|
+
/** UIControl: same-frame highlight outside scrollers, 70 pt tracking. */
|
|
9
|
+
control: {
|
|
10
|
+
highlightDelay: "inScrollers",
|
|
11
|
+
quickTapFlash: PRESS.quickTapFlash.value,
|
|
12
|
+
releaseMs: press.highlightOutMs
|
|
13
|
+
},
|
|
14
|
+
/**
|
|
15
|
+
* A table or collection cell: inside a scroll view it highlights after the
|
|
16
|
+
* content-touch delay, outside one at once (AST-094 FR11: the delay applies
|
|
17
|
+
* only inside scroll views); cancelled by the scroll.
|
|
18
|
+
*/
|
|
19
|
+
cell: {
|
|
20
|
+
highlightDelay: "inScrollers",
|
|
21
|
+
cancelTravel: UIKIT_PAN.hysteresis.value,
|
|
22
|
+
quickTapFlash: 0,
|
|
23
|
+
releaseMs: press.highlightOutMs
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* UIButton's rule, the tracker's default ancestor veto: an ancestor's
|
|
28
|
+
* single-finger single tap. A tap is told apart by its `kind`
|
|
29
|
+
* (`architecture:react-component-runtime` INV13).
|
|
30
|
+
*/
|
|
31
|
+
function vetoesSingleTap(recognizer) {
|
|
32
|
+
if (recognizer.kind !== "tap") return false;
|
|
33
|
+
const tap = recognizer;
|
|
34
|
+
return tap.numberOfTapsRequired === 1 && tap.numberOfTouchesRequired === 1;
|
|
35
|
+
}
|
|
36
|
+
/** Track a control's touches (see {@link PressTracker}). */
|
|
37
|
+
function createPressTracker(options) {
|
|
38
|
+
let isKept = false;
|
|
39
|
+
let touchId = null;
|
|
40
|
+
let bounds = null;
|
|
41
|
+
let highlightTimer = null;
|
|
42
|
+
let flashTimer = null;
|
|
43
|
+
/** A pending highlight whose finger travelled: it will never paint. */
|
|
44
|
+
let isPendingDead = false;
|
|
45
|
+
const state = {
|
|
46
|
+
isHighlighted: false,
|
|
47
|
+
isTracking: false,
|
|
48
|
+
isTouchInside: false
|
|
49
|
+
};
|
|
50
|
+
const expansion = { value: options.trackingExpansion ?? UIKIT_CONTROL.trackingExpansion.value };
|
|
51
|
+
const contains = (touch) => {
|
|
52
|
+
if (bounds == null) return true;
|
|
53
|
+
const margin = expansion.value;
|
|
54
|
+
return touch.x >= bounds.left - margin && touch.x <= bounds.right + margin && touch.y >= bounds.top - margin && touch.y <= bounds.bottom + margin;
|
|
55
|
+
};
|
|
56
|
+
const emit = (event, touch) => {
|
|
57
|
+
options.onControlEvent?.(event, touch);
|
|
58
|
+
};
|
|
59
|
+
const setHighlighted = (value) => {
|
|
60
|
+
if (value && touchId != null) isKept = true;
|
|
61
|
+
if (state.isHighlighted === value) return;
|
|
62
|
+
state.isHighlighted = value;
|
|
63
|
+
options.onHighlightChange?.(value);
|
|
64
|
+
};
|
|
65
|
+
const clearHighlightTimer = () => {
|
|
66
|
+
if (highlightTimer != null) {
|
|
67
|
+
clearTimeout(highlightTimer);
|
|
68
|
+
highlightTimer = null;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const clearFlash = () => {
|
|
72
|
+
if (flashTimer != null) {
|
|
73
|
+
clearTimeout(flashTimer);
|
|
74
|
+
flashTimer = null;
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
const finish = () => {
|
|
78
|
+
isKept = false;
|
|
79
|
+
touchId = null;
|
|
80
|
+
state.isTracking = false;
|
|
81
|
+
state.isTouchInside = false;
|
|
82
|
+
bounds = null;
|
|
83
|
+
};
|
|
84
|
+
const touchCancelled = (touch) => {
|
|
85
|
+
if (touch.id !== touchId) return;
|
|
86
|
+
isKept = false;
|
|
87
|
+
clearHighlightTimer();
|
|
88
|
+
emit("touchCancel", touch);
|
|
89
|
+
setHighlighted(false);
|
|
90
|
+
finish();
|
|
91
|
+
};
|
|
92
|
+
const tracker = {
|
|
93
|
+
get isHighlighted() {
|
|
94
|
+
return state.isHighlighted;
|
|
95
|
+
},
|
|
96
|
+
get isTracking() {
|
|
97
|
+
return state.isTracking;
|
|
98
|
+
},
|
|
99
|
+
get isTouchInside() {
|
|
100
|
+
return state.isTouchInside;
|
|
101
|
+
},
|
|
102
|
+
get trackingExpansion() {
|
|
103
|
+
return expansion.value;
|
|
104
|
+
},
|
|
105
|
+
set trackingExpansion(value) {
|
|
106
|
+
expansion.value = value;
|
|
107
|
+
},
|
|
108
|
+
isEnabled() {
|
|
109
|
+
return options.isEnabled?.() !== false;
|
|
110
|
+
},
|
|
111
|
+
holdsContextMenu(id) {
|
|
112
|
+
return options.holdsContextMenu?.(id) === true;
|
|
113
|
+
},
|
|
114
|
+
touchBegan(touch) {
|
|
115
|
+
if (touchId != null || options.isEnabled?.() === false || touch.pointerType === "touch" && options.isBraking?.(touch) === true) return;
|
|
116
|
+
clearFlash();
|
|
117
|
+
touchId = touch.id;
|
|
118
|
+
bounds = options.getBounds();
|
|
119
|
+
state.isTracking = true;
|
|
120
|
+
state.isTouchInside = true;
|
|
121
|
+
isPendingDead = false;
|
|
122
|
+
emit("touchDown", touch);
|
|
123
|
+
const delay = options.highlightDelay ?? "inScrollers";
|
|
124
|
+
if (touch.pointerType === "touch" && (delay === "always" || delay === "inScrollers" && touch.scroll?.isInsideScroller === true)) {
|
|
125
|
+
const wait = Math.max(0, PRESS.contentTouchDelay.value - msSinceInput(touch.time, touch.target));
|
|
126
|
+
highlightTimer = setTimeout(() => {
|
|
127
|
+
highlightTimer = null;
|
|
128
|
+
if (state.isTouchInside) setHighlighted(true);
|
|
129
|
+
}, wait);
|
|
130
|
+
} else setHighlighted(true);
|
|
131
|
+
},
|
|
132
|
+
touchMoved(touch) {
|
|
133
|
+
if (touch.id !== touchId) return;
|
|
134
|
+
const cancelTravel = options.cancelTravel;
|
|
135
|
+
if (cancelTravel != null && travel(touch) > cancelTravel) {
|
|
136
|
+
touchCancelled(touch);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
if (highlightTimer != null && travel(touch) > PRESS.slop.value) {
|
|
140
|
+
clearTimeout(highlightTimer);
|
|
141
|
+
highlightTimer = null;
|
|
142
|
+
isPendingDead = true;
|
|
143
|
+
}
|
|
144
|
+
const inside = contains(touch);
|
|
145
|
+
if (inside !== state.isTouchInside) {
|
|
146
|
+
state.isTouchInside = inside;
|
|
147
|
+
emit(inside ? "touchDragEnter" : "touchDragExit", touch);
|
|
148
|
+
if (highlightTimer == null && !isPendingDead) setHighlighted(inside);
|
|
149
|
+
}
|
|
150
|
+
emit(inside ? "touchDragInside" : "touchDragOutside", touch);
|
|
151
|
+
},
|
|
152
|
+
touchEnded(touch) {
|
|
153
|
+
if (touch.id !== touchId) return;
|
|
154
|
+
isKept = false;
|
|
155
|
+
const inside = contains(touch);
|
|
156
|
+
const wasPending = highlightTimer != null;
|
|
157
|
+
clearHighlightTimer();
|
|
158
|
+
emit(inside ? "touchUpInside" : "touchUpOutside", touch);
|
|
159
|
+
const flash = options.quickTapFlash ?? PRESS.quickTapFlash.value;
|
|
160
|
+
if (wasPending && inside) {
|
|
161
|
+
setHighlighted(true);
|
|
162
|
+
if (flash > 0) flashTimer = setTimeout(() => {
|
|
163
|
+
flashTimer = null;
|
|
164
|
+
setHighlighted(false);
|
|
165
|
+
}, flash);
|
|
166
|
+
else setHighlighted(false);
|
|
167
|
+
} else setHighlighted(false);
|
|
168
|
+
finish();
|
|
169
|
+
},
|
|
170
|
+
touchCancelled,
|
|
171
|
+
allowsAncestorRecognizer(recognizer) {
|
|
172
|
+
const candidate = recognizer;
|
|
173
|
+
if (candidate.view != null && candidate.view === options.view) return true;
|
|
174
|
+
return !(options.vetoesAncestorRecognizer ?? vetoesSingleTap)(candidate);
|
|
175
|
+
},
|
|
176
|
+
dispose() {
|
|
177
|
+
clearHighlightTimer();
|
|
178
|
+
clearFlash();
|
|
179
|
+
setHighlighted(false);
|
|
180
|
+
finish();
|
|
181
|
+
},
|
|
182
|
+
get selectionLock() {
|
|
183
|
+
return options.selectionLock;
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
if (options.keepsTouch === true) return Object.assign(tracker, { keepsTouch: (id) => isKept && touchId === id });
|
|
187
|
+
return tracker;
|
|
188
|
+
}
|
|
189
|
+
//#endregion
|
|
190
|
+
export { createPressTracker as n, PRESS_PROFILES as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-
|
|
1
|
+
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-COgrQZIL.js";
|
|
2
2
|
export { _default as ProgressBar, type ProgressBarMark, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ProgressBar-
|
|
1
|
+
import { t as _sfc_main } from "../ProgressBar-ChgsiVRR.js";
|
|
2
2
|
export { _sfc_main as ProgressBar };
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { s as formatMotionRoleValue } from "./roles-DWH31Bn3.js";
|
|
2
|
+
import { o as timing } from "./linearEasing-VHwy6xl_.js";
|
|
3
|
+
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
4
|
+
import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
|
|
5
|
+
import { t as _sfc_main$1 } from "./Tooltip-DyGaJUbl.js";
|
|
6
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
7
|
+
import "../styles/visually-hidden.css";
|
|
8
|
+
import "../styles/progress-bar.css";
|
|
9
|
+
//#region src/motion/uikit/progressBar.ts
|
|
10
|
+
/**
|
|
11
|
+
* UIProgressView's values, for ProgressBar. Three values are motion roles in
|
|
12
|
+
* the generated motion role table: the whole-track duration,
|
|
13
|
+
* `progress.fillTrackMs`, its curve, `progress.curves.fill`, and the
|
|
14
|
+
* reduced-motion pulse, `progress.reducedMotionPulseMs`. Every other value is
|
|
15
|
+
* an internal constant.
|
|
16
|
+
*/
|
|
17
|
+
const progressBar = {
|
|
18
|
+
/**
|
|
19
|
+
* setProgress(_:animated: true) runs this long for a change of the whole
|
|
20
|
+
* track (0 → 1). A smaller change runs in proportion, measured on the model
|
|
21
|
+
* values: 0.2 → 0.8 takes 0.6 s. A retargeted fill starts from wherever it
|
|
22
|
+
* is drawn.
|
|
23
|
+
* @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
|
|
24
|
+
* iPhone 17 Pro, UIView animation on the fill's frame (duration,
|
|
25
|
+
* beginFromCurrentState) for jumps of 0.6, 0.4 and 0.6, Oct 23 2026
|
|
26
|
+
*/
|
|
27
|
+
fillTrackMs: 1e3,
|
|
28
|
+
curves: {
|
|
29
|
+
/**
|
|
30
|
+
* That animation's curve: linear, and Reduce Motion leaves it unchanged.
|
|
31
|
+
* @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
|
|
32
|
+
* iPhone 17 Pro, the fill's position animation (timing function
|
|
33
|
+
* linear), with Reduce Motion off and on, Oct 23 2026
|
|
34
|
+
*/
|
|
35
|
+
fill: [
|
|
36
|
+
0,
|
|
37
|
+
0,
|
|
38
|
+
1,
|
|
39
|
+
1
|
|
40
|
+
] },
|
|
41
|
+
/**
|
|
42
|
+
* Under reduced motion the indeterminate fill stops travelling and pulses
|
|
43
|
+
* its opacity in place. Each way takes this long, on the `timing.curves.move`
|
|
44
|
+
* curve. A busy loop, so tempo does not scale it.
|
|
45
|
+
* @source GUESS — An owner value, not a UIKit number. iOS Safari pulses its
|
|
46
|
+
* indeterminate bar for 1 s between 0.30 and 0.60 opacity. ProgressBar
|
|
47
|
+
* pulses slower, at a floor that keeps the bar visible.
|
|
48
|
+
* @measure M-PB1
|
|
49
|
+
*/
|
|
50
|
+
reducedMotionPulseMs: 2e3,
|
|
51
|
+
/**
|
|
52
|
+
* That pulse's lowest opacity. It is the lowest at which every tone that
|
|
53
|
+
* reaches 3:1 against the track at full opacity still does. That holds in
|
|
54
|
+
* the light and dark default themes.
|
|
55
|
+
* @source GUESS — An owner value, not a UIKit number.
|
|
56
|
+
* @measure M-PB1
|
|
57
|
+
*/
|
|
58
|
+
reducedMotionPulseFloor: .84,
|
|
59
|
+
progressView: {
|
|
60
|
+
/**
|
|
61
|
+
* The track's height in the `.default` style; the fill is as tall.
|
|
62
|
+
* @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
|
|
63
|
+
* iPhone 17 Pro, intrinsic size of UIProgressView(progressViewStyle:
|
|
64
|
+
* .default), Oct 23 2026
|
|
65
|
+
*/
|
|
66
|
+
heightPt: 4,
|
|
67
|
+
/**
|
|
68
|
+
* Above zero progress, the fill is never narrower than this many track
|
|
69
|
+
* heights: 8 pt on the 4 pt track. At 0.005 of a 300 pt track it is 8 pt
|
|
70
|
+
* wide; at 0.05 it is 15 pt.
|
|
71
|
+
* @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
|
|
72
|
+
* iPhone 17 Pro, the fill image view's frame at progress 0, 0.005,
|
|
73
|
+
* 0.01, 0.05, 0.5 and 1, Oct 23 2026
|
|
74
|
+
*/
|
|
75
|
+
minimumFillHeights: 2,
|
|
76
|
+
/**
|
|
77
|
+
* At progress 0 the fill is transparent (alpha 0, still at its minimum
|
|
78
|
+
* width).
|
|
79
|
+
* @source measured: UIKit lab (injected host app), iOS 26.2 simulator,
|
|
80
|
+
* iPhone 17 Pro, the fill image view's alpha at progress 0, Oct 23 2026
|
|
81
|
+
*/
|
|
82
|
+
emptyFillAlpha: 0
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
/** 手指下填充在大于 0 时不短于这个长度:UIProgressView 的两倍轨道高度。 */
|
|
86
|
+
const TOUCH_MIN_FILL_PX = progressBar.progressView.minimumFillHeights * 8;
|
|
87
|
+
/**
|
|
88
|
+
* 手指下的数值变化按 UIProgressView 的 setProgress(_:animated:) 走:线性,
|
|
89
|
+
* 时长是整条轨道的时长乘以这次移动的份额,从填充当前画出的位置起步。
|
|
90
|
+
* 变化份额停在下一次变化之前,所以同值重渲染不会改它。
|
|
91
|
+
* `flip` 在 0、1、2 之间轮转:它把填充错开百分之一像素,让「回到刚离开的值」
|
|
92
|
+
* 不会被 CSS 当成正在进行的过渡的起点而缩短。
|
|
93
|
+
*/
|
|
94
|
+
function useProgressBarTouch(percentage, hasMarks, coarse, track) {
|
|
95
|
+
const change = ref(0);
|
|
96
|
+
const flip = ref(0);
|
|
97
|
+
watch(percentage, (next, previous) => {
|
|
98
|
+
change.value = Math.abs(next - previous) / 100;
|
|
99
|
+
flip.value = (flip.value + 1) % 3;
|
|
100
|
+
}, { flush: "sync" });
|
|
101
|
+
const trackWidth = ref(0);
|
|
102
|
+
let observer;
|
|
103
|
+
function stop() {
|
|
104
|
+
observer?.disconnect();
|
|
105
|
+
observer = void 0;
|
|
106
|
+
}
|
|
107
|
+
watch(() => [coarse.value && hasMarks.value, track.value], ([watches, element]) => {
|
|
108
|
+
stop();
|
|
109
|
+
if (!watches || element == null || typeof ResizeObserver === "undefined") return;
|
|
110
|
+
trackWidth.value = element.getBoundingClientRect().width;
|
|
111
|
+
observer = new ResizeObserver((entries) => {
|
|
112
|
+
trackWidth.value = entries[0]?.contentRect.width ?? element.getBoundingClientRect().width;
|
|
113
|
+
});
|
|
114
|
+
observer.observe(element);
|
|
115
|
+
}, {
|
|
116
|
+
flush: "post",
|
|
117
|
+
immediate: true
|
|
118
|
+
});
|
|
119
|
+
onBeforeUnmount(stop);
|
|
120
|
+
const drawnPercentage = computed(() => {
|
|
121
|
+
if (!coarse.value || !hasMarks.value || percentage.value <= 0 || trackWidth.value <= 0) return percentage.value;
|
|
122
|
+
return Math.max(percentage.value, TOUCH_MIN_FILL_PX / trackWidth.value * 100);
|
|
123
|
+
});
|
|
124
|
+
return {
|
|
125
|
+
fillVars: computed(() => {
|
|
126
|
+
const fillTrackMs = resolveMotion(null, progressBar, "fillTrackMs");
|
|
127
|
+
const curve = resolveMotion(null, progressBar.curves.fill);
|
|
128
|
+
return {
|
|
129
|
+
"--_progress-bar-move": `${Math.round(change.value * fillTrackMs * 1e3) / 1e3}ms`,
|
|
130
|
+
"--_progress-bar-curve": formatMotionRoleValue("curve", curve),
|
|
131
|
+
"--_progress-bar-flip": String(flip.value),
|
|
132
|
+
"--_progress-bar-min": `${TOUCH_MIN_FILL_PX}px`
|
|
133
|
+
};
|
|
134
|
+
}),
|
|
135
|
+
drawnPercentage
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* 减少动态效果下,不确定进度条的填充不再滑动,铺满轨道只让不透明度呼吸:
|
|
140
|
+
* 每一程取 `progress.reducedMotionPulseMs`,走 `timing.curves.move` 曲线,降到下限再回来。
|
|
141
|
+
* 这是个忙等循环,主题节奏不缩放它。
|
|
142
|
+
*/
|
|
143
|
+
function reducedMotionPulseVars() {
|
|
144
|
+
const pulseMs = resolveMotion(null, progressBar, "reducedMotionPulseMs");
|
|
145
|
+
const curve = resolveMotion(null, timing.curves.move);
|
|
146
|
+
return {
|
|
147
|
+
"--_progress-bar-pulse": `${pulseMs}ms`,
|
|
148
|
+
"--_progress-bar-pulse-curve": formatMotionRoleValue("curve", curve),
|
|
149
|
+
"--_progress-bar-pulse-floor": String(progressBar.reducedMotionPulseFloor)
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/ProgressBar/ProgressBar.vue
|
|
154
|
+
const _hoisted_1 = [
|
|
155
|
+
"data-size",
|
|
156
|
+
"data-variant",
|
|
157
|
+
"data-indeterminate",
|
|
158
|
+
"data-disabled"
|
|
159
|
+
];
|
|
160
|
+
const _hoisted_2 = {
|
|
161
|
+
key: 0,
|
|
162
|
+
class: "astryx-progress-bar-header"
|
|
163
|
+
};
|
|
164
|
+
const _hoisted_3 = ["id"];
|
|
165
|
+
const _hoisted_4 = {
|
|
166
|
+
key: 1,
|
|
167
|
+
class: "astryx-progress-bar-value",
|
|
168
|
+
"aria-hidden": "true"
|
|
169
|
+
};
|
|
170
|
+
const _hoisted_5 = ["id"];
|
|
171
|
+
const _hoisted_6 = { class: "astryx-progress-bar-rail" };
|
|
172
|
+
const _hoisted_7 = [
|
|
173
|
+
"aria-labelledby",
|
|
174
|
+
"aria-describedby",
|
|
175
|
+
"aria-valuemin",
|
|
176
|
+
"aria-valuemax",
|
|
177
|
+
"aria-valuenow",
|
|
178
|
+
"aria-valuetext"
|
|
179
|
+
];
|
|
180
|
+
const _hoisted_8 = ["data-empty"];
|
|
181
|
+
const _hoisted_9 = [
|
|
182
|
+
"aria-label",
|
|
183
|
+
"data-placement",
|
|
184
|
+
"data-variant"
|
|
185
|
+
];
|
|
186
|
+
const _hoisted_10 = ["id"];
|
|
187
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
188
|
+
name: "AstryxProgressBar",
|
|
189
|
+
inheritAttrs: false,
|
|
190
|
+
__name: "ProgressBar",
|
|
191
|
+
props: {
|
|
192
|
+
value: { default: 0 },
|
|
193
|
+
min: { default: 0 },
|
|
194
|
+
max: { default: 100 },
|
|
195
|
+
size: { default: "md" },
|
|
196
|
+
variant: { default: "accent" },
|
|
197
|
+
label: {},
|
|
198
|
+
isLabelHidden: {
|
|
199
|
+
type: Boolean,
|
|
200
|
+
default: false
|
|
201
|
+
},
|
|
202
|
+
description: {},
|
|
203
|
+
isIndeterminate: { type: Boolean },
|
|
204
|
+
isDisabled: {
|
|
205
|
+
type: Boolean,
|
|
206
|
+
default: false
|
|
207
|
+
},
|
|
208
|
+
showValue: { type: Boolean },
|
|
209
|
+
hasValueLabel: { type: Boolean },
|
|
210
|
+
valueText: {},
|
|
211
|
+
formatValueLabel: {},
|
|
212
|
+
marks: {},
|
|
213
|
+
width: {}
|
|
214
|
+
},
|
|
215
|
+
setup(__props) {
|
|
216
|
+
const props = __props;
|
|
217
|
+
const attrs = useAttrs();
|
|
218
|
+
const generatedId = `astryx-progress-bar-${useId()}`;
|
|
219
|
+
const rootId = computed(() => attrs.id ?? generatedId);
|
|
220
|
+
const labelId = computed(() => `${rootId.value}-label`);
|
|
221
|
+
const descriptionId = computed(() => props.description ? `${rootId.value}-description` : void 0);
|
|
222
|
+
function finite(value, fallback) {
|
|
223
|
+
return Number.isFinite(value) ? value : fallback;
|
|
224
|
+
}
|
|
225
|
+
const min = computed(() => finite(Number(props.min), 0));
|
|
226
|
+
const max = computed(() => finite(Number(props.max), 0));
|
|
227
|
+
const value = computed(() => finite(Number(props.value), 0));
|
|
228
|
+
const clamped = computed(() => Math.max(min.value, Math.min(max.value, value.value)));
|
|
229
|
+
const percentage = computed(() => {
|
|
230
|
+
if (max.value === min.value) return 0;
|
|
231
|
+
return (clamped.value - min.value) / (max.value - min.value) * 100;
|
|
232
|
+
});
|
|
233
|
+
const coarse = useCoarsePointer();
|
|
234
|
+
const trackRef = useTemplateRef("track");
|
|
235
|
+
const touch = useProgressBarTouch(percentage, computed(() => !props.isIndeterminate && (props.marks?.length ?? 0) > 0), coarse, trackRef);
|
|
236
|
+
const fillShare = computed(() => ({
|
|
237
|
+
"--_progress-bar-fill": `${percentage.value}%`,
|
|
238
|
+
...touch.fillVars.value
|
|
239
|
+
}));
|
|
240
|
+
const pulseVars = reducedMotionPulseVars();
|
|
241
|
+
const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
|
|
242
|
+
const showsValue = computed(() => Boolean(props.showValue || props.hasValueLabel));
|
|
243
|
+
const displayValue = computed(() => {
|
|
244
|
+
if (props.valueText != null) return props.valueText;
|
|
245
|
+
if (props.formatValueLabel) return props.formatValueLabel(clamped.value, max.value);
|
|
246
|
+
return `${Math.round(percentage.value)}%`;
|
|
247
|
+
});
|
|
248
|
+
const labelledBy = computed(() => [labelId.value, attrs["aria-labelledby"]].filter(Boolean).join(" ") || void 0);
|
|
249
|
+
const describedBy = computed(() => [descriptionId.value, attrs["aria-describedby"]].filter(Boolean).join(" ") || void 0);
|
|
250
|
+
const resolvedMarks = computed(() => {
|
|
251
|
+
if (props.isIndeterminate || !props.marks) return [];
|
|
252
|
+
const span = max.value - min.value;
|
|
253
|
+
return props.marks.flatMap((mark, index) => {
|
|
254
|
+
if (!Number.isFinite(mark.value) || !mark.label) return [];
|
|
255
|
+
const clampedMark = Math.min(max.value, Math.max(min.value, mark.value));
|
|
256
|
+
const pct = span === 0 ? 0 : (clampedMark - min.value) / span * 100;
|
|
257
|
+
return [{
|
|
258
|
+
key: `${mark.value}:${mark.label}:${index}`,
|
|
259
|
+
label: mark.label,
|
|
260
|
+
pct,
|
|
261
|
+
onFill: percentage.value > 0 && pct <= touch.drawnPercentage.value
|
|
262
|
+
}];
|
|
263
|
+
});
|
|
264
|
+
});
|
|
265
|
+
return (_ctx, _cache) => {
|
|
266
|
+
return openBlock(), createElementBlock("div", {
|
|
267
|
+
class: normalizeClass(["astryx-progress-bar", unref(attrs).class]),
|
|
268
|
+
style: normalizeStyle([widthStyle.value, unref(attrs).style]),
|
|
269
|
+
"data-size": __props.size,
|
|
270
|
+
"data-variant": __props.variant,
|
|
271
|
+
"data-indeterminate": __props.isIndeterminate || void 0,
|
|
272
|
+
"data-disabled": __props.isDisabled || void 0
|
|
273
|
+
}, [
|
|
274
|
+
__props.label && (!__props.isLabelHidden || showsValue.value) ? (openBlock(), createElementBlock("div", _hoisted_2, [__props.label ? (openBlock(), createElementBlock("span", {
|
|
275
|
+
key: 0,
|
|
276
|
+
id: labelId.value,
|
|
277
|
+
class: normalizeClass(["astryx-progress-bar-label", { "astryx-visually-hidden": __props.isLabelHidden }])
|
|
278
|
+
}, toDisplayString(__props.label), 11, _hoisted_3)) : createCommentVNode("v-if", true), showsValue.value && !__props.isIndeterminate ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(displayValue.value), 1)) : createCommentVNode("v-if", true)])) : __props.label ? (openBlock(), createElementBlock("span", {
|
|
279
|
+
key: 1,
|
|
280
|
+
id: labelId.value,
|
|
281
|
+
class: "astryx-visually-hidden"
|
|
282
|
+
}, toDisplayString(__props.label), 9, _hoisted_5)) : createCommentVNode("v-if", true),
|
|
283
|
+
createElementVNode("div", _hoisted_6, [createElementVNode("div", {
|
|
284
|
+
ref: "track",
|
|
285
|
+
class: "astryx-progress-bar-track",
|
|
286
|
+
role: "progressbar",
|
|
287
|
+
"aria-labelledby": labelledBy.value,
|
|
288
|
+
"aria-describedby": describedBy.value,
|
|
289
|
+
"aria-valuemin": __props.isIndeterminate ? void 0 : min.value,
|
|
290
|
+
"aria-valuemax": __props.isIndeterminate ? void 0 : max.value,
|
|
291
|
+
"aria-valuenow": __props.isIndeterminate ? void 0 : clamped.value,
|
|
292
|
+
"aria-valuetext": __props.isIndeterminate ? void 0 : displayValue.value
|
|
293
|
+
}, [createElementVNode("div", {
|
|
294
|
+
class: "astryx-progress-bar-fill",
|
|
295
|
+
"data-empty": !__props.isIndeterminate && percentage.value === 0 ? "" : void 0,
|
|
296
|
+
style: normalizeStyle(__props.isIndeterminate ? unref(pulseVars) : fillShare.value)
|
|
297
|
+
}, null, 12, _hoisted_8)], 8, _hoisted_7), (openBlock(true), createElementBlock(Fragment, null, renderList(resolvedMarks.value, (mark) => {
|
|
298
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
299
|
+
key: mark.key,
|
|
300
|
+
class: "astryx-progress-bar-mark-anchor",
|
|
301
|
+
content: mark.label,
|
|
302
|
+
style: normalizeStyle({ insetInlineStart: `${mark.pct}%` })
|
|
303
|
+
}, {
|
|
304
|
+
default: withCtx(() => [createElementVNode("span", {
|
|
305
|
+
class: "astryx-progress-bar-mark",
|
|
306
|
+
role: "img",
|
|
307
|
+
tabindex: "0",
|
|
308
|
+
"aria-label": mark.label,
|
|
309
|
+
"data-placement": mark.onFill ? "fill" : "track",
|
|
310
|
+
"data-variant": __props.variant
|
|
311
|
+
}, null, 8, _hoisted_9)]),
|
|
312
|
+
_: 2
|
|
313
|
+
}, 1032, ["content", "style"]);
|
|
314
|
+
}), 128))]),
|
|
315
|
+
__props.description ? (openBlock(), createElementBlock("span", {
|
|
316
|
+
key: 2,
|
|
317
|
+
id: descriptionId.value,
|
|
318
|
+
class: "astryx-progress-bar-description"
|
|
319
|
+
}, toDisplayString(__props.description), 9, _hoisted_10)) : createCommentVNode("v-if", true)
|
|
320
|
+
], 14, _hoisted_1);
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
//#endregion
|
|
325
|
+
export { _sfc_main as t };
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as RadioValue, Br as _default, Hr as RadioGroupEmits, Jr as RadioProps, Kr as RadioOption, Qr as RadioStatusType, Ur as RadioGroupProps, Vr as RadioChangeEvent, Wr as RadioGroupSlots, Xr as RadioSlots, Yr as RadioSize, Zr as RadioStatus, qr as RadioOrientation, zr as _default$1 } from "../index-
|
|
1
|
+
import { $r as RadioValue, Br as _default, Hr as RadioGroupEmits, Jr as RadioProps, Kr as RadioOption, Qr as RadioStatusType, Ur as RadioGroupProps, Vr as RadioChangeEvent, Wr as RadioGroupSlots, Xr as RadioSlots, Yr as RadioSize, Zr as RadioStatus, qr as RadioOrientation, zr as _default$1 } from "../index-CY0KtUSC.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
package/dist/Radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-BdO-xZv0.js";
|
|
2
2
|
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup };
|