@astryx-vue/core 0.33.1 → 0.33.2
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-BwW3jdTg.js} +8 -8
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-B4S-gbL3.js → AppShell-BURF50V8.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-B93MdEmI.js → Avatar-CcmhCa5q.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CCFMtKks.js → AvatarGroup-DJKoExQk.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DfsrHUDP.js → Banner-DSSXXFU9.js} +36 -16
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DxqAIVZ3.js → BottomSheet-Jq7g0EWd.js} +8 -8
- package/dist/{BottomSheet-E_OjhAa7.js → BottomSheet-KUGb-GPw.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DMytkhxA.js → Breadcrumbs-BEx7_LpB.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-BoZJv7eb.js → Button-BlWhnkeM.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-D5E7QLWI.js → ButtonGroup-D3pGXH3t.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-XHo3AGQj.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-B0c_CxBk.js} +5 -5
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-D6KNni6p.js → CheckboxInput-DCeCsNvg.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-wNOHsMMr.js → CheckboxListItem-CGC_EBYs.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CLXCxaxo.js → ClickableCard-aU0QED8P.js} +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-U2zFJsc5.js → CodeBlock-ClZvd61o.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Cf9evVsQ.js → Collapsible-BAup__Sy.js} +3 -3
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-D5PGSXWz.js → CommandPalette-CvalZZHH.js} +3 -3
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Co1jUTYQ.js → ComplexSelector-DIwWcWwi.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DBvZgAbg.js → ContextMenu-BnX93m0D.js} +6 -6
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-XLGBkH4g.js → DateInput-BFjeik3X.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BNpkwtVh.js → DateRangeInput-Cnrp5SDW.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-Zsf86rSO.js} +6 -6
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BbDjvBqX.js → Dialog-Bl5CCsoX.js} +1 -1
- package/dist/{Dialog-CYcDiMtZ.js → Dialog-DIWIrzgk.js} +1 -1
- package/dist/{DialogHeader-efWB4QQA.js → DialogHeader-DbWkeIrf.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BswIXZSo.js → Drawer-MdC2BxbG.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CCOjKL7v.js → DropdownMenu-4o8qS78m.js} +8 -8
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BkQ3jktt.js → EmptyState-CeZXvaPU.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-CYfzJEFg.js → Field-CrTrfcXB.js} +1 -1
- package/dist/{FieldInfoTip-DccDjDnf.js → FieldInfoTip-C3Ztw-wI.js} +1 -1
- package/dist/{FieldLabel-SiRzxGz8.js → FieldLabel-CFE2WC_i.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BxeGABmG.js → FileInput-BhO1SCw-.js} +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-D_7K6-23.js → Heading-AZCa8gid.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-Bkh1HZ3b.js → HoverCard-C4VR_GZ0.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DEhvVDmO.js → IconButton-CqWEkha9.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BZDG21HF.js → InfoTip-Dps1Aaem.js} +2 -2
- package/dist/{InputClearButton-DezS64Mz.js → InputClearButton-Xjvkkq7B.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CENlnU_O.js → InputGroup-gYIGs7VH.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-FxMSEuU3.js} +1 -1
- package/dist/{LayerContentBoundary-D6GcF2T3.js → LayerContentBoundary-C7VZOgMs.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DJ6CQLw2.js → Layout-D6UhyoVb.js} +1 -1
- package/dist/{LayoutPanel-Bqh82ULc.js → LayoutPanel-DfS5TvSP.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Dbwep-L-.js → Lightbox-76vHqGA0.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Csw2YXAQ.js → Link-QPBGLcTk.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-B60jTcXy.js → ListItem-Ss6Kw90l.js} +3 -3
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-CTRMjOpY.js → Markdown-Cz6wbx9z.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Ce8cVqzp.js → MobileNavToggle-CCJBX2fq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CfUKxxnB.js → MoreMenu-OOQAeJT9.js} +6 -6
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BG0oQjhR.js → MultiSelector-9HGDsMQE.js} +6 -6
- package/dist/{NavDisclosure-lQVs4eJB.js → NavDisclosure-BTeZLyLq.js} +1 -1
- package/dist/{NavHeadingSurface-CkDdgQV1.js → NavHeadingSurface-DPmolgVb.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-B7xpLk_x.js → NavItem-BL3g0YUf.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-Bf_rGSbX.js → NavMenu-DcTh1DCM.js} +2 -2
- package/dist/{NavMenuItem-BblWAGof.js → NavMenuItem-Dmsno5s3.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CLQ1dgsb.js → NumberInput-DWYCcrUw.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-coqRQ06s.js → Outline-DGtPcD0U.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-V728L06i.js → OverflowList-EIr4jQjY.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-B71t50Xl.js → Pagination-Ch7-xIFe.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BX8Qy08n.js → Popover-LSIKv1zS.js} +7 -7
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-ZfZNn-68.js → PowerSearch-Cjkv0qON.js} +27 -27
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/ProgressBar-nPERcjvJ.js +325 -0
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-8KAVhDTz.js → RadioGroup-BWFVn7Gd.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-FY0cSKWR.js → RadioListItem-D1rnSZeL.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-ezvpdXTS.js → ResizeHandle-DyjQfxxG.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-CkR8ur3h.js} +2 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Dj2fRvfe.js → SelectableCard-uDblNb5T.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DjZSKGCz.js → Selector-BiLcyM3Y.js} +4 -4
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-DjPwCh4O.js → SideNav-d0A9mlEW.js} +9 -9
- package/dist/Skeleton/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-TpbMaQ4Q.js → Slider-BdIrYmul.js} +2 -2
- 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-D3z-WEGn.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-CePOs80C.js} +149 -103
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CW27rVAy.js → Switch-6tQbDX9A.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D70Pl_ob.js → TabList-CthDI2i1.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-8Vj50mYm.js → Table-egoY0slV.js} +14 -14
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-6_wt88Br.js → Text-CGb1rxyK.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-DMMHiOEb.js → TextArea-B3WlT4sr.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-JuggLbDZ.js → TextInput-C4CqgE0E.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Sq-2e8zN.js → Thumbnail-6YWZ9a2A.js} +4 -4
- package/dist/{TimeField-CuRkZZlx.js → TimeField-CvBKO_Ew.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CREpxTpG.js → TimeInput-Cl9HIZrP.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-C18tBgls.js → Timer-BNa_W8zr.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BL8R7ZQ8.js → Timestamp-D_NTXtxz.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BtJHuIen.js → Toast-E6NqFf3W.js} +2 -2
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DrnT3-jX.js → ToggleButton-ih92QX-K.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DZmmnHEj.js → Token-DE1udaRF.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-BRFlVyMv.js → Tokenizer-DbD2ZBuh.js} +15 -14
- 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-sXtW5dTD.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-GwsSkeei.js → TopNav-D688LaUK.js} +5 -5
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BGHHEcg1.js → TreeList-BFKPBFKu.js} +4 -4
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-H3uWMS7i.js → Typeahead-BwjzOjT4.js} +6 -6
- package/dist/{VelocityTracker-DVbtTSXR.js → VelocityTracker-bns4TzMt.js} +1 -1
- package/dist/{accessibleName-Bjt5L8jX.js → accessibleName-nYUMoSTW.js} +1 -1
- package/dist/{animator-DLWdws2R.js → animator-DnLs_cbV.js} +3 -2
- package/dist/composables/index.js +9 -9
- package/dist/{composables-OL_sC9Qy.js → composables-B9tgZEzP.js} +10 -10
- package/dist/{context-BcJmSPj1.js → context-Dktfy1fh.js} +1 -1
- package/dist/{gestures-C8VhWve7.js → gestures-CppaWqif.js} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-3LdpzxQZ.d.ts} +2 -2
- package/dist/{index-V6uruC4Z.d.ts → index-85y5NZP-.d.ts} +1 -1
- package/dist/{index-Q1oG9yIT.d.ts → index-Ak1b0V24.d.ts} +4 -2
- package/dist/{index-EAKu_r6h.d.ts → index-BOiwoyXq.d.ts} +5 -5
- 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-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.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-0RIgvtdm.d.ts → index-CArP_6wv.d.ts} +1 -1
- package/dist/{index-B2XndRvV.d.ts → index-CM00rrgg.d.ts} +3 -3
- package/dist/{index-D33x3IfY.d.ts → index-CTv55aOa.d.ts} +1 -1
- package/dist/{index-DVX2jlTQ.d.ts → index-CUuUoX3h.d.ts} +1 -1
- package/dist/{index-BaFphczL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-18IUS3l0.d.ts → index-D65x5ny5.d.ts} +58 -58
- package/dist/{index-BB9acgK8.d.ts → index-D7ShT2c-.d.ts} +2 -2
- package/dist/{index-QC9FDUDA.d.ts → index-DN5Ga_Zm.d.ts} +3 -3
- package/dist/{index-CUwmD3Ph.d.ts → index-DWVhyvVu.d.ts} +6 -6
- package/dist/{index-Dt_9IR_M.d.ts → index-JGPd3Ghy.d.ts} +1 -1
- package/dist/{index-Dpz-JUMl.d.ts → index-MOtVbTwK.d.ts} +3 -3
- package/dist/{index-Cb-rvc1W.d.ts → index-Otl047R1.d.ts} +1 -1
- package/dist/{index-MvrDMqnQ.d.ts → index-eCp-ElSp.d.ts} +1 -1
- package/dist/{index-BenG-F5d.d.ts → index-maTGrWjF.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +29 -29
- package/dist/index.js +106 -106
- package/dist/{landing-Dx9vPF0t.js → landing-9mjHGn26.js} +1 -1
- package/dist/{layerDepth-D-80Ay8B.js → layerDepth-c3jUndA2.js} +1 -1
- package/dist/{lazyBottomSheet-s0ckIf0f.js → lazyBottomSheet-Ca7Mdou2.js} +1 -1
- package/dist/{linearEasing-BxWjPql6.js → linearEasing-CBwOorE7.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/{pressFeedback-CPzGi_88.js → pressFeedback-BlOSZew9.js} +2 -2
- package/dist/{pressGesture-BV4fYPIG.js → pressGesture-yntcDLXo.js} +1 -1
- package/dist/{reportChange-BkOEttEP.js → reportChange-DPFCmyOB.js} +3 -2
- package/dist/{resizableChannel-DS0idC-X.js → resizableChannel-DOmBYh4V.js} +4 -4
- package/dist/{resolveMotion-BLdMNTpf.js → resolveMotion-CF9fXX0t.js} +2 -2
- package/dist/{resolveSnapPoint-DygD-wmL.js → resolveSnapPoint-mZzJRIC2.js} +1 -1
- package/dist/{roles-CPMsH5Ob.js → roles-DWH31Bn3.js} +126 -1
- package/dist/{rubberBand-DecgmtDj.js → rubberBand-DDapO54w.js} +1 -1
- package/dist/{springs-BR66JuIm.js → springs-B2jqskKJ.js} +1 -1
- package/dist/{stepper-BMSGF96H.js → stepper-D7L_3xxU.js} +4 -2
- package/dist/{stillPointerGate-CrsrgFyo.js → stillPointerGate-Htiy6uKa.js} +1 -1
- package/dist/{themeTiming-BA_wpgEn.js → themeTiming-ClYaZxGf.js} +1 -1
- package/dist/{tooltipFocusRules-BWcYZXu8.js → tooltipFocusRules-BHJUQprJ.js} +2 -2
- package/dist/{tooltipTriggerRules-DFPKbHJc.js → tooltipTriggerRules-Dremu4W9.js} +1 -1
- package/dist/{useActionGroupTracking-iv0p__dY.js → useActionGroupTracking-DDhfTUOK.js} +3 -3
- package/dist/{useAnimatedLayout-BC1mJaxA.js → useAnimatedLayout-B6Xj_kTo.js} +1 -1
- package/dist/{useAttachment-BohgLE3o.js → useAttachment-CALrXA-t.js} +3 -3
- package/dist/{useDismiss-Di0mkAl_.js → useDismiss-BvDK4xBe.js} +1 -1
- package/dist/{useInputStatusIcon-Dese9hBA.js → useInputStatusIcon-MyCpVp3g.js} +1 -1
- package/dist/{useMenuPress-RFwJ3jGS.js → useMenuPress-BJVQF7ml.js} +2 -2
- package/dist/{usePressFeedback-BuyFZkQO.js → usePressFeedback-cxyksfAD.js} +1 -1
- package/dist/{useResizable-K9hlQr8i.js → useResizable-C-9ff2ZK.js} +5 -5
- package/dist/{useTooltip-48Smw61m.js → useTooltip-w57yzB7h.js} +4 -4
- package/dist/{useTouchHitArea-Dsz80HzY.js → useTouchHitArea-CgUvnuTz.js} +1 -1
- package/dist/{useTouchTriggerInternal-CUiq_FYD.js → useTouchTriggerInternal-DSA228_-.js} +1 -1
- package/dist/{useTruncationTooltip-D1Iwku73.js → useTruncationTooltip--w8vh7M-.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-CiTAlquw.js → useTypeaheadMenuConfig-C-EOaLF-.js} +2 -2
- package/package.json +1 -1
- package/styles/progress-bar.css +69 -5
- package/styles/skeleton.css +62 -5
- package/styles/spinner.css +30 -7
- package/dist/ProgressBar-jtD4zcDW.js +0 -166
- package/dist/Spinner-DEVPDsD0.js +0 -201
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { a as sharedWeakMap, c as deepActiveElement, d as shadowRootsOutward, h as isNode, l as parentAcrossShadow, m as isHTMLElement, n as sharedKey, p as isElement, s as containsAlongFlatTree, t as realmValue, u as shadowHostOf } from "./sharedRealm-H1OrlP0V.js";
|
|
2
|
-
import { d as parseTouchAction, f as rootOverflow, l as SCROLLABLE_OVERFLOW, p as clockOf, u as isInsideScrollView } from "./pressFeedback-
|
|
2
|
+
import { d as parseTouchAction, f as rootOverflow, l as SCROLLABLE_OVERFLOW, p as clockOf, u as isInsideScrollView } from "./pressFeedback-BlOSZew9.js";
|
|
3
3
|
import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
|
|
4
4
|
import { i as subscribeInput } from "./inputStream-bPd9eB2b.js";
|
|
5
|
-
import { i as UIKIT_TAP, n as UIKIT_PAN, r as UIKIT_PRESS, t as UIKIT_LONG_PRESS } from "./gestures-
|
|
5
|
+
import { i as UIKIT_TAP, n as UIKIT_PAN, r as UIKIT_PRESS, t as UIKIT_LONG_PRESS } from "./gestures-CppaWqif.js";
|
|
6
6
|
import { i as presentedOffsetOf, o as resolvePresented, r as presentedElements, s as watchPresentedElements } from "./presentation-Cy_yf56y.js";
|
|
7
7
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
8
8
|
import { a as isIosWebKit, r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BfMx3H23.js";
|
|
9
9
|
import { t as isRtlElement } from "./isRtlElement-NHuH48AA.js";
|
|
10
10
|
import { t as holdsTouch } from "./touchHold-DXtx7npm.js";
|
|
11
|
-
import { t as VelocityTracker } from "./VelocityTracker-
|
|
11
|
+
import { t as VelocityTracker } from "./VelocityTracker-bns4TzMt.js";
|
|
12
12
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
13
13
|
//#region src/gestures/arenaTypes.ts
|
|
14
14
|
/** The browser's clock: `performance.now()`, the base of `event.timeStamp`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
|
|
2
2
|
import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
|
|
3
|
-
import { n as useLayerDepth, o as pushLayer } from "./layerDepth-
|
|
3
|
+
import { n as useLayerDepth, o as pushLayer } from "./layerDepth-c3jUndA2.js";
|
|
4
4
|
import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
5
|
//#region src/layer/anchorClear.ts
|
|
6
6
|
function overlapsAnchor(anchor, top, left, layer) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldInfoTip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldInfoTip-C3Ztw-wI.js";
|
|
3
3
|
import { computed, toValue } from "vue";
|
|
4
4
|
//#region src/composables/useInputStatusIcon.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as msSinceInput } from "./pressFeedback-
|
|
1
|
+
import { m as msSinceInput } from "./pressFeedback-BlOSZew9.js";
|
|
2
2
|
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
|
|
3
|
-
import { s as currentGesture } from "./layerDepth-
|
|
3
|
+
import { s as currentGesture } from "./layerDepth-c3jUndA2.js";
|
|
4
4
|
import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
|
|
5
5
|
import { r as isInputShield } from "./inputHoldState-xntIqr5W.js";
|
|
6
6
|
import { getCurrentScope, onScopeDispose, toValue } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-
|
|
1
|
+
import { a as PRESS_ACTION_ATTRIBUTE, i as PRESSABLE_ATTRIBUTE, n as installPressFeedback, o as PRESS_CONTAINER_ATTRIBUTE } from "./pressFeedback-BlOSZew9.js";
|
|
2
2
|
import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
|
|
3
3
|
import "../styles/pressable.css";
|
|
4
4
|
//#region src/composables/usePressFeedback.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
2
|
-
import { t as animatorFor } from "./animator-
|
|
3
|
-
import { t as resolveMotion } from "./resolveMotion-
|
|
4
|
-
import { n as springs } from "./springs-
|
|
2
|
+
import { t as animatorFor } from "./animator-DnLs_cbV.js";
|
|
3
|
+
import { t as resolveMotion } from "./resolveMotion-CF9fXX0t.js";
|
|
4
|
+
import { n as springs } from "./springs-B2jqskKJ.js";
|
|
5
5
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
6
|
-
import { i as project, n as rubberBandInverse, r as rubberBandSlope, t as rubberBand } from "./rubberBand-
|
|
7
|
-
import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-
|
|
6
|
+
import { i as project, n as rubberBandInverse, r as rubberBandSlope, t as rubberBand } from "./rubberBand-DDapO54w.js";
|
|
7
|
+
import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-DOmBYh4V.js";
|
|
8
8
|
import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
|
|
9
9
|
//#region src/composables/useHotkeys.ts
|
|
10
10
|
const KEY_ALIASES = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
3
|
-
import { n as useLayer } from "./tooltipTriggerRules-
|
|
4
|
-
import { t as _sfc_main$1 } from "./LayerContentBoundary-
|
|
3
|
+
import { n as useLayer } from "./tooltipTriggerRules-Dremu4W9.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./LayerContentBoundary-C7VZOgMs.js";
|
|
5
5
|
import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-
|
|
8
|
-
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-
|
|
7
|
+
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-DSA228_-.js";
|
|
8
|
+
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-BHJUQprJ.js";
|
|
9
9
|
import { t as renderedText } from "./renderedText-BwJdmps3.js";
|
|
10
10
|
import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
11
11
|
import "../styles/tooltip.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-
|
|
1
|
+
import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-BlOSZew9.js";
|
|
2
2
|
import { t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
|
|
3
3
|
import { toValue, watch } from "vue";
|
|
4
4
|
import "../styles/touch-hit-area.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { s as currentGesture } from "./layerDepth-
|
|
2
|
+
import { s as currentGesture } from "./layerDepth-c3jUndA2.js";
|
|
3
3
|
import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
|
|
4
4
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
5
|
//#region src/composables/internal/tapRecognizer.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as matchesFocusVisible } from "./tooltipTriggerRules-
|
|
1
|
+
import { t as matchesFocusVisible } from "./tooltipTriggerRules-Dremu4W9.js";
|
|
2
2
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
3
|
-
import { n as tooltipPresentInterestKey } from "./useTooltip-
|
|
4
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
3
|
+
import { n as tooltipPresentInterestKey } from "./useTooltip-w57yzB7h.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./Tooltip-sXtW5dTD.js";
|
|
5
5
|
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
|
|
7
7
|
//#region src/Text/TruncationTooltip.vue
|
|
@@ -4,8 +4,8 @@ import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
|
4
4
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
5
5
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
6
6
|
import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
|
|
7
|
-
import { t as _sfc_main$3 } from "./Spinner-
|
|
8
|
-
import { t as createStillPointerGate } from "./stillPointerGate-
|
|
7
|
+
import { t as _sfc_main$3 } from "./Spinner-D1adu3uH.js";
|
|
8
|
+
import { t as createStillPointerGate } from "./stillPointerGate-Htiy6uKa.js";
|
|
9
9
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
10
10
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
11
11
|
import "../styles/layer.css";
|
package/package.json
CHANGED
package/styles/progress-bar.css
CHANGED
|
@@ -107,11 +107,22 @@
|
|
|
107
107
|
position: absolute;
|
|
108
108
|
top: 0;
|
|
109
109
|
left: 0;
|
|
110
|
-
|
|
110
|
+
|
|
111
|
+
/* 确定进度的填充铺满整条轨道,用 transform 滑到当前份额:值变化走合成器,
|
|
112
|
+
页面忙的时候也继续动;动 width 会每帧在主线程布局重绘,跟着卡住。
|
|
113
|
+
--_progress-bar-fill 是已填份额(行内写入),前沿正好落在那里,
|
|
114
|
+
右到左时按条自己的方向(:dir(rtl))镜像。 */
|
|
115
|
+
width: 100%;
|
|
111
116
|
height: 100%;
|
|
112
117
|
border-radius: inherit;
|
|
113
118
|
background: var(--astryx-progress-bar-fill-background, var(--astryx-color-text-primary, #fff));
|
|
114
|
-
|
|
119
|
+
transform: translateX(calc(var(--_progress-bar-fill, 0%) - 100%));
|
|
120
|
+
transition: transform 200ms cubic-bezier(0.24, 1, 0.4, 1);
|
|
121
|
+
will-change: transform;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.astryx-progress-bar-fill:dir(rtl) {
|
|
125
|
+
transform: translateX(calc(100% - var(--_progress-bar-fill, 0%)));
|
|
115
126
|
}
|
|
116
127
|
|
|
117
128
|
.astryx-progress-bar[data-variant='success'] .astryx-progress-bar-fill {
|
|
@@ -159,6 +170,7 @@
|
|
|
159
170
|
|
|
160
171
|
.astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill {
|
|
161
172
|
width: 40%;
|
|
173
|
+
will-change: auto;
|
|
162
174
|
animation: astryx-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
163
175
|
}
|
|
164
176
|
|
|
@@ -184,21 +196,73 @@
|
|
|
184
196
|
}
|
|
185
197
|
}
|
|
186
198
|
|
|
199
|
+
/* 手指下,数值变化按 UIProgressView 的 setProgress(_:animated:) 走:
|
|
200
|
+
线性,时长是整条轨道的时长乘以这次移动的份额(--_progress-bar-move),
|
|
201
|
+
再乘主题节奏,曲线是 --_progress-bar-curve,从填充当前画出的位置起步。
|
|
202
|
+
大于 0 时填充不短于 --_progress-bar-min(两倍轨道高度),等于 0 时什么都不画。
|
|
203
|
+
--_progress-bar-flip 在 0、1、2 间轮转,把填充错开百分之一像素,
|
|
204
|
+
让「回到刚离开的值」不会被 CSS 当成过渡的起点而缩短。 */
|
|
205
|
+
@media (pointer: coarse) {
|
|
206
|
+
.astryx-progress-bar-fill {
|
|
207
|
+
transform: translateX(calc(max(var(--_progress-bar-fill, 0%), var(--_progress-bar-min, 0px)) - 100% + var(--_progress-bar-flip, 0) * 0.01px));
|
|
208
|
+
transition-duration: calc(var(--_progress-bar-move, 0ms) * var(--_astryx-motion-tempo, 1));
|
|
209
|
+
transition-timing-function: var(--_progress-bar-curve, linear);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.astryx-progress-bar-fill:dir(rtl) {
|
|
213
|
+
transform: translateX(calc(min(calc(100% - var(--_progress-bar-fill, 0%)), calc(100% - var(--_progress-bar-min, 0px))) - var(--_progress-bar-flip, 0) * 0.01px));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.astryx-progress-bar-fill[data-empty] {
|
|
217
|
+
opacity: 0;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* 减少动态效果:数值立刻落定;不确定进度条不再滑动,铺满轨道只让不透明度呼吸。 */
|
|
187
222
|
@media (prefers-reduced-motion: reduce) {
|
|
188
223
|
.astryx-progress-bar-fill {
|
|
189
224
|
transition: none;
|
|
190
225
|
}
|
|
191
226
|
|
|
192
|
-
.astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill
|
|
193
|
-
|
|
227
|
+
.astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill,
|
|
228
|
+
:is([dir='rtl'] .astryx-progress-bar[data-indeterminate='true']) .astryx-progress-bar-fill {
|
|
229
|
+
width: 100%;
|
|
230
|
+
transform: none;
|
|
231
|
+
animation-name: astryx-progress-bar-pulse;
|
|
232
|
+
animation-duration: var(--_progress-bar-pulse, 2s);
|
|
233
|
+
animation-timing-function: var(--_progress-bar-pulse-curve, ease-in-out);
|
|
234
|
+
animation-direction: alternate;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@keyframes astryx-progress-bar-pulse {
|
|
239
|
+
from {
|
|
240
|
+
opacity: 1;
|
|
241
|
+
}
|
|
242
|
+
to {
|
|
243
|
+
opacity: var(--_progress-bar-pulse-floor, 0.84);
|
|
194
244
|
}
|
|
195
245
|
}
|
|
196
246
|
|
|
197
247
|
/* 强制配色会把填充色换成 Canvas,补一圈边让进度还看得见。 */
|
|
198
248
|
@media (forced-colors: active) {
|
|
199
|
-
|
|
249
|
+
/* 强制配色下填充按值定宽、不滑动:轨道的裁剪会切掉滑入的填充的轮廓起点。 */
|
|
250
|
+
.astryx-progress-bar-fill,
|
|
251
|
+
.astryx-progress-bar-fill:dir(rtl) {
|
|
252
|
+
width: var(--_progress-bar-fill, 0%);
|
|
253
|
+
transform: none;
|
|
254
|
+
transition-property: width;
|
|
255
|
+
will-change: auto;
|
|
200
256
|
outline: 1px solid CanvasText;
|
|
201
257
|
outline-offset: -1px;
|
|
202
258
|
}
|
|
203
259
|
}
|
|
260
|
+
|
|
261
|
+
/* 强制配色加手指:填充按值定宽,布局属性不走触屏动效,新尺寸立刻落定。 */
|
|
262
|
+
@media (forced-colors: active) and (pointer: coarse) {
|
|
263
|
+
.astryx-progress-bar-fill {
|
|
264
|
+
width: calc(max(var(--_progress-bar-fill, 0%), var(--_progress-bar-min, 0px)) + var(--_progress-bar-flip, 0) * 0.01px);
|
|
265
|
+
transition-duration: 0s;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
204
268
|
}
|
package/styles/skeleton.css
CHANGED
|
@@ -1,13 +1,70 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
3
|
@layer astryx.components {
|
|
4
|
+
/* 脉动从 0.25 分十级升到 0.925 再倒放回来(alternate)。十级写成「停住加 0.01% 的斜坡」,
|
|
5
|
+
配线性时间函数,而不是 steps():WebKit 从不把 steps() 动画放到合成器上,
|
|
6
|
+
Safari 会在主线程重绘、脚本一跑就卡住。这样每个引擎都能离开主线程动画,
|
|
7
|
+
同一时刻取到同样的值。 */
|
|
4
8
|
@keyframes astryx-skeleton-fade {
|
|
5
|
-
|
|
9
|
+
0% {
|
|
6
10
|
opacity: 0.25;
|
|
7
11
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
9.99% {
|
|
13
|
+
opacity: 0.25;
|
|
14
|
+
}
|
|
15
|
+
10% {
|
|
16
|
+
opacity: 0.325;
|
|
17
|
+
}
|
|
18
|
+
19.99% {
|
|
19
|
+
opacity: 0.325;
|
|
20
|
+
}
|
|
21
|
+
20% {
|
|
22
|
+
opacity: 0.4;
|
|
23
|
+
}
|
|
24
|
+
29.99% {
|
|
25
|
+
opacity: 0.4;
|
|
26
|
+
}
|
|
27
|
+
30% {
|
|
28
|
+
opacity: 0.475;
|
|
29
|
+
}
|
|
30
|
+
39.99% {
|
|
31
|
+
opacity: 0.475;
|
|
32
|
+
}
|
|
33
|
+
40% {
|
|
34
|
+
opacity: 0.55;
|
|
35
|
+
}
|
|
36
|
+
49.99% {
|
|
37
|
+
opacity: 0.55;
|
|
38
|
+
}
|
|
39
|
+
50% {
|
|
40
|
+
opacity: 0.625;
|
|
41
|
+
}
|
|
42
|
+
59.99% {
|
|
43
|
+
opacity: 0.625;
|
|
44
|
+
}
|
|
45
|
+
60% {
|
|
46
|
+
opacity: 0.7;
|
|
47
|
+
}
|
|
48
|
+
69.99% {
|
|
49
|
+
opacity: 0.7;
|
|
50
|
+
}
|
|
51
|
+
70% {
|
|
52
|
+
opacity: 0.775;
|
|
53
|
+
}
|
|
54
|
+
79.99% {
|
|
55
|
+
opacity: 0.775;
|
|
56
|
+
}
|
|
57
|
+
80% {
|
|
58
|
+
opacity: 0.85;
|
|
59
|
+
}
|
|
60
|
+
89.99% {
|
|
61
|
+
opacity: 0.85;
|
|
62
|
+
}
|
|
63
|
+
90% {
|
|
64
|
+
opacity: 0.925;
|
|
65
|
+
}
|
|
66
|
+
100% {
|
|
67
|
+
opacity: 0.925;
|
|
11
68
|
}
|
|
12
69
|
}
|
|
13
70
|
|
|
@@ -17,7 +74,7 @@
|
|
|
17
74
|
opacity: 0.25;
|
|
18
75
|
animation-name: astryx-skeleton-fade;
|
|
19
76
|
animation-duration: var(--astryx-duration-medium-max, 550ms);
|
|
20
|
-
animation-timing-function:
|
|
77
|
+
animation-timing-function: linear;
|
|
21
78
|
animation-iteration-count: infinite;
|
|
22
79
|
animation-direction: alternate;
|
|
23
80
|
}
|
package/styles/spinner.css
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/* 一次迭代转 100 圈:浏览器在迭代边界会唤醒主线程,这样每 100 圈才唤醒一次。
|
|
4
|
+
每圈 360 度,看上去还是同一个圈。 */
|
|
5
|
+
@keyframes astryx-spinner-rotate {
|
|
4
6
|
from {
|
|
5
|
-
|
|
7
|
+
transform: rotate(0deg);
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
to {
|
|
9
|
-
|
|
11
|
+
transform: rotate(36000deg);
|
|
10
12
|
}
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -92,11 +94,20 @@
|
|
|
92
94
|
|
|
93
95
|
.astryx-spinner__ring {
|
|
94
96
|
display: block;
|
|
97
|
+
grid-area: 1 / 1;
|
|
95
98
|
width: var(--_spinner-box-size, 100%);
|
|
96
99
|
height: var(--_spinner-box-size, 100%);
|
|
97
100
|
overflow: visible;
|
|
98
101
|
}
|
|
99
102
|
|
|
103
|
+
/* 主题的 spinner 指示图形占满加载圈的盒子,和圆环在同一个网格格子里。 */
|
|
104
|
+
.astryx-spinner__themed {
|
|
105
|
+
display: block;
|
|
106
|
+
grid-area: 1 / 1;
|
|
107
|
+
width: 100%;
|
|
108
|
+
height: 100%;
|
|
109
|
+
}
|
|
110
|
+
|
|
100
111
|
.astryx-spinner__track,
|
|
101
112
|
.astryx-spinner__arc {
|
|
102
113
|
fill: none;
|
|
@@ -118,15 +129,27 @@
|
|
|
118
129
|
stroke-dasharray:
|
|
119
130
|
calc(var(--_spinner-ring-diameter) * 3.141592653589793 * var(--astryx-spinner-arc-fraction))
|
|
120
131
|
calc(var(--_spinner-ring-diameter) * 3.141592653589793 * (1 - var(--astryx-spinner-arc-fraction)));
|
|
121
|
-
|
|
122
|
-
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* 转子是和圆环框同大的 HTML 盒子,绕圆环中心转。只动 transform,走合成器,
|
|
135
|
+
脚本跑着的时候也照转;动 stroke-dashoffset 会每帧在主线程重绘,跟着卡住。
|
|
136
|
+
提前声明合成层,Safari 重设起点后才不会退回主线程。 */
|
|
137
|
+
.astryx-spinner__rotor {
|
|
138
|
+
display: block;
|
|
139
|
+
grid-area: 1 / 1;
|
|
140
|
+
width: var(--_spinner-box-size, 100%);
|
|
141
|
+
height: var(--_spinner-box-size, 100%);
|
|
142
|
+
will-change: transform;
|
|
143
|
+
animation-name: astryx-spinner-rotate;
|
|
144
|
+
animation-duration: calc(var(--_astryx-pre-tempo-duration-slow-min, var(--astryx-duration-slow-min, 525ms)) * 100);
|
|
123
145
|
animation-timing-function: linear;
|
|
124
146
|
animation-iteration-count: infinite;
|
|
125
147
|
}
|
|
126
148
|
|
|
149
|
+
/* 减少动态效果只放慢、不停下:不动的圈看起来像坏了。 */
|
|
127
150
|
@media (prefers-reduced-motion: reduce) {
|
|
128
|
-
.astryx-
|
|
129
|
-
animation-duration: 3s;
|
|
151
|
+
.astryx-spinner__rotor {
|
|
152
|
+
animation-duration: calc(3s * 100);
|
|
130
153
|
}
|
|
131
154
|
}
|
|
132
155
|
}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-Dwr0XREF.js";
|
|
2
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref, useAttrs, useId, withCtx } from "vue";
|
|
3
|
-
import "../styles/visually-hidden.css";
|
|
4
|
-
import "../styles/progress-bar.css";
|
|
5
|
-
//#region src/ProgressBar/ProgressBar.vue
|
|
6
|
-
const _hoisted_1 = [
|
|
7
|
-
"data-size",
|
|
8
|
-
"data-variant",
|
|
9
|
-
"data-indeterminate",
|
|
10
|
-
"data-disabled"
|
|
11
|
-
];
|
|
12
|
-
const _hoisted_2 = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "astryx-progress-bar-header"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_3 = ["id"];
|
|
17
|
-
const _hoisted_4 = {
|
|
18
|
-
key: 1,
|
|
19
|
-
class: "astryx-progress-bar-value",
|
|
20
|
-
"aria-hidden": "true"
|
|
21
|
-
};
|
|
22
|
-
const _hoisted_5 = ["id"];
|
|
23
|
-
const _hoisted_6 = { class: "astryx-progress-bar-rail" };
|
|
24
|
-
const _hoisted_7 = [
|
|
25
|
-
"aria-labelledby",
|
|
26
|
-
"aria-describedby",
|
|
27
|
-
"aria-valuemin",
|
|
28
|
-
"aria-valuemax",
|
|
29
|
-
"aria-valuenow",
|
|
30
|
-
"aria-valuetext"
|
|
31
|
-
];
|
|
32
|
-
const _hoisted_8 = [
|
|
33
|
-
"aria-label",
|
|
34
|
-
"data-placement",
|
|
35
|
-
"data-variant"
|
|
36
|
-
];
|
|
37
|
-
const _hoisted_9 = ["id"];
|
|
38
|
-
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
39
|
-
name: "AstryxProgressBar",
|
|
40
|
-
inheritAttrs: false,
|
|
41
|
-
__name: "ProgressBar",
|
|
42
|
-
props: {
|
|
43
|
-
value: { default: 0 },
|
|
44
|
-
min: { default: 0 },
|
|
45
|
-
max: { default: 100 },
|
|
46
|
-
size: { default: "md" },
|
|
47
|
-
variant: { default: "accent" },
|
|
48
|
-
label: {},
|
|
49
|
-
isLabelHidden: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: false
|
|
52
|
-
},
|
|
53
|
-
description: {},
|
|
54
|
-
isIndeterminate: { type: Boolean },
|
|
55
|
-
isDisabled: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: false
|
|
58
|
-
},
|
|
59
|
-
showValue: { type: Boolean },
|
|
60
|
-
hasValueLabel: { type: Boolean },
|
|
61
|
-
valueText: {},
|
|
62
|
-
formatValueLabel: {},
|
|
63
|
-
marks: {},
|
|
64
|
-
width: {}
|
|
65
|
-
},
|
|
66
|
-
setup(__props) {
|
|
67
|
-
const props = __props;
|
|
68
|
-
const attrs = useAttrs();
|
|
69
|
-
const generatedId = `astryx-progress-bar-${useId()}`;
|
|
70
|
-
const rootId = computed(() => attrs.id ?? generatedId);
|
|
71
|
-
const labelId = computed(() => `${rootId.value}-label`);
|
|
72
|
-
const descriptionId = computed(() => props.description ? `${rootId.value}-description` : void 0);
|
|
73
|
-
function finite(value, fallback) {
|
|
74
|
-
return Number.isFinite(value) ? value : fallback;
|
|
75
|
-
}
|
|
76
|
-
const min = computed(() => finite(Number(props.min), 0));
|
|
77
|
-
const max = computed(() => finite(Number(props.max), 0));
|
|
78
|
-
const value = computed(() => finite(Number(props.value), 0));
|
|
79
|
-
const clamped = computed(() => Math.max(min.value, Math.min(max.value, value.value)));
|
|
80
|
-
const percentage = computed(() => {
|
|
81
|
-
if (max.value === min.value) return 0;
|
|
82
|
-
return (clamped.value - min.value) / (max.value - min.value) * 100;
|
|
83
|
-
});
|
|
84
|
-
const fillWidth = computed(() => ({ width: `${percentage.value}%` }));
|
|
85
|
-
const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
|
|
86
|
-
const showsValue = computed(() => Boolean(props.showValue || props.hasValueLabel));
|
|
87
|
-
const displayValue = computed(() => {
|
|
88
|
-
if (props.valueText != null) return props.valueText;
|
|
89
|
-
if (props.formatValueLabel) return props.formatValueLabel(clamped.value, max.value);
|
|
90
|
-
return `${Math.round(percentage.value)}%`;
|
|
91
|
-
});
|
|
92
|
-
const labelledBy = computed(() => [labelId.value, attrs["aria-labelledby"]].filter(Boolean).join(" ") || void 0);
|
|
93
|
-
const describedBy = computed(() => [descriptionId.value, attrs["aria-describedby"]].filter(Boolean).join(" ") || void 0);
|
|
94
|
-
const resolvedMarks = computed(() => {
|
|
95
|
-
if (props.isIndeterminate || !props.marks) return [];
|
|
96
|
-
const span = max.value - min.value;
|
|
97
|
-
return props.marks.flatMap((mark, index) => {
|
|
98
|
-
if (!Number.isFinite(mark.value) || !mark.label) return [];
|
|
99
|
-
const clampedMark = Math.min(max.value, Math.max(min.value, mark.value));
|
|
100
|
-
const pct = span === 0 ? 0 : (clampedMark - min.value) / span * 100;
|
|
101
|
-
return [{
|
|
102
|
-
key: `${mark.value}:${mark.label}:${index}`,
|
|
103
|
-
label: mark.label,
|
|
104
|
-
pct,
|
|
105
|
-
onFill: percentage.value > 0 && pct <= percentage.value
|
|
106
|
-
}];
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
return (_ctx, _cache) => {
|
|
110
|
-
return openBlock(), createElementBlock("div", {
|
|
111
|
-
class: normalizeClass(["astryx-progress-bar", unref(attrs).class]),
|
|
112
|
-
style: normalizeStyle([widthStyle.value, unref(attrs).style]),
|
|
113
|
-
"data-size": __props.size,
|
|
114
|
-
"data-variant": __props.variant,
|
|
115
|
-
"data-indeterminate": __props.isIndeterminate || void 0,
|
|
116
|
-
"data-disabled": __props.isDisabled || void 0
|
|
117
|
-
}, [
|
|
118
|
-
__props.label && (!__props.isLabelHidden || showsValue.value) ? (openBlock(), createElementBlock("div", _hoisted_2, [__props.label ? (openBlock(), createElementBlock("span", {
|
|
119
|
-
key: 0,
|
|
120
|
-
id: labelId.value,
|
|
121
|
-
class: normalizeClass(["astryx-progress-bar-label", { "astryx-visually-hidden": __props.isLabelHidden }])
|
|
122
|
-
}, 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", {
|
|
123
|
-
key: 1,
|
|
124
|
-
id: labelId.value,
|
|
125
|
-
class: "astryx-visually-hidden"
|
|
126
|
-
}, toDisplayString(__props.label), 9, _hoisted_5)) : createCommentVNode("v-if", true),
|
|
127
|
-
createElementVNode("div", _hoisted_6, [createElementVNode("div", {
|
|
128
|
-
class: "astryx-progress-bar-track",
|
|
129
|
-
role: "progressbar",
|
|
130
|
-
"aria-labelledby": labelledBy.value,
|
|
131
|
-
"aria-describedby": describedBy.value,
|
|
132
|
-
"aria-valuemin": __props.isIndeterminate ? void 0 : min.value,
|
|
133
|
-
"aria-valuemax": __props.isIndeterminate ? void 0 : max.value,
|
|
134
|
-
"aria-valuenow": __props.isIndeterminate ? void 0 : clamped.value,
|
|
135
|
-
"aria-valuetext": __props.isIndeterminate ? void 0 : displayValue.value
|
|
136
|
-
}, [createElementVNode("div", {
|
|
137
|
-
class: "astryx-progress-bar-fill",
|
|
138
|
-
style: normalizeStyle(__props.isIndeterminate ? void 0 : fillWidth.value)
|
|
139
|
-
}, null, 4)], 8, _hoisted_7), (openBlock(true), createElementBlock(Fragment, null, renderList(resolvedMarks.value, (mark) => {
|
|
140
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
141
|
-
key: mark.key,
|
|
142
|
-
class: "astryx-progress-bar-mark-anchor",
|
|
143
|
-
content: mark.label,
|
|
144
|
-
style: normalizeStyle({ insetInlineStart: `${mark.pct}%` })
|
|
145
|
-
}, {
|
|
146
|
-
default: withCtx(() => [createElementVNode("span", {
|
|
147
|
-
class: "astryx-progress-bar-mark",
|
|
148
|
-
tabindex: "0",
|
|
149
|
-
"aria-label": mark.label,
|
|
150
|
-
"data-placement": mark.onFill ? "fill" : "track",
|
|
151
|
-
"data-variant": __props.variant
|
|
152
|
-
}, null, 8, _hoisted_8)]),
|
|
153
|
-
_: 2
|
|
154
|
-
}, 1032, ["content", "style"]);
|
|
155
|
-
}), 128))]),
|
|
156
|
-
__props.description ? (openBlock(), createElementBlock("span", {
|
|
157
|
-
key: 2,
|
|
158
|
-
id: descriptionId.value,
|
|
159
|
-
class: "astryx-progress-bar-description"
|
|
160
|
-
}, toDisplayString(__props.description), 9, _hoisted_9)) : createCommentVNode("v-if", true)
|
|
161
|
-
], 14, _hoisted_1);
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
//#endregion
|
|
166
|
-
export { _sfc_main as t };
|