@astryx-vue/core 0.43.2 → 0.43.4
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-Bh3uhS_R.js → AlertDialog-CcQuJKn6.js} +8 -8
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-1gvAIOLH.js → AppShell-BZrs85ca.js} +7 -7
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-B9n7-kfv.js → Avatar-DthdM-zn.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BOkvPhXj.js → AvatarGroup-Dui84EMQ.js} +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-DZaIs3aV.js → Badge-BsbFK1JQ.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-4FQsRu7N.js → Banner-DBj4G2ln.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-BlkSIOtf.js → BottomSheet-B_c2Qm7B.js} +2 -2
- package/dist/{BottomSheet-j5app7P8.js → BottomSheet-CN2GXFrM.js} +17 -5
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-BfSV4Ewm.js → Breadcrumbs-Drv_deCP.js} +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-euzAB2JG.js → Button-cAa9AeKm.js} +4 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-DfNW3nfJ.js → ButtonGroup-CVEW53-t.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +2 -2
- package/dist/{Calendar-Brz2iDeZ.js → Calendar-BGn9PQI8.js} +3 -3
- package/dist/{Calendar-C1E1ZiaS.js → Calendar-DpqfOjgX.js} +3 -3
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DbMleN6W.js → Carousel-Bz2GuVdq.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CWCbGUYl.js → Chat-D0eyxcQ5.js} +69 -75
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-B82_RIxf.js → CheckboxInput-Bxkwj-UA.js} +7 -7
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-y0USbTgg.js → CheckboxListItem-dQ1xloAV.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CSSIVdtX.js → ClickableCard-Q9v7cY07.js} +2 -2
- package/dist/Code/index.js +2 -2
- package/dist/{Code-C43i8FCX.js → Code-Buhb8IAF.js} +1 -1
- package/dist/{CodeBlock-ClzdGw3T.js → CodeBlock-BGaLnVrQ.js} +2 -2
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-B0Iu6_Iu.js → Collapsible-BolCSv5f.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DF2xzlgf.js → CommandPalette-BayGVrpJ.js} +3 -3
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DsGwWEoM.js → ComplexSelector-BdX1TRrW.js} +4 -4
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CJCpkIHr.js → ContextMenu-CzeZmLy8.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BW4Fwe7h.js → DateInput-Ck4gAiFL.js} +11 -11
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DQBgDw_I.js → DateRangeInput-ChrXW-_5.js} +7 -7
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DwErM5ri.js → DateTimeInput-D5X_NyMg.js} +28 -10
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-JfrLWdwL.js → Dialog-DHH-rk4K.js} +1 -1
- package/dist/{Dialog-Cjw_hc9x.js → Dialog-xRPou8Vu.js} +2 -2
- package/dist/{DialogHeader-74IISHta.js → DialogHeader-XUjy9Mxx.js} +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-CsZ2dJf6.js → Drawer-BkF0RsKw.js} +3 -3
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-BAgNL3vt.js → DropdownMenu-a54pw41L.js} +12 -9
- package/dist/{DropdownMenuRadioItem.vue-BrcSzOfA.d.ts → DropdownMenuRadioItem.vue-Cix6C_RC.d.ts} +6 -2
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-Cb2poVS1.js → EmptyState-OncHh-9P.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-CZGZMsZE.js → Field-DIjIgiMo.js} +4 -4
- package/dist/{FieldInfoTip-C2jNfn3M.js → FieldInfoTip-D93Kcdo-.js} +2 -2
- package/dist/{FieldLabel-CS5Xq97O.js → FieldLabel-B-jJ2ETs.js} +13 -5
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-QjwGygl3.js → FieldStatus-8yFIjJUp.js} +35 -6
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DwQ4Pwrr.js → FileInput-n0pEzUQR.js} +6 -23
- package/dist/{GestureHost-25aSFM1Y.js → GestureHost-C0FstEs3.js} +7 -7
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BxUBgmHB.js → Heading-BfoFn1o5.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-ClmH02vt.js → IconButton-CxVxw2hc.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BaWAyvEi.js → InfoTip-BgcWXI1k.js} +2 -2
- package/dist/{InputClearButton-fffY0HzH.js → InputClearButton-Bn29CBnZ.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-D9sOFuMU.js → InputGroup-B3kkylCQ.js} +2 -2
- package/dist/InternationalizationProvider/index.js +3 -2
- package/dist/{InternationalizationProvider-CfP0uroW.js → InternationalizationProvider-C-f110Xi.js} +2 -1
- package/dist/{Item-Dmebq1UF.js → Item-JktfViUH.js} +8 -8
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-G_yTX__g.js → Layout-OQ1qfgFZ.js} +1 -1
- package/dist/{LayoutPanel-DcGI1bxe.js → LayoutPanel-C7meqbdC.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-uK7doOtN.js → Lightbox-CVrDI3Df.js} +10 -10
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Dqmdo7zY.js → Link-DlzfqBMW.js} +2 -2
- package/dist/List/index.d.ts +2 -2
- package/dist/List/index.js +4 -4
- package/dist/{List-Cw_Bz7VJ.js → List-C6Zj2WCv.js} +2 -2
- package/dist/{ListItem-5IrzNrPG.js → ListItem-CXsgM4xN.js} +4 -4
- package/dist/{LongPressGestureRecognizer-DyfS9mpX.js → LongPressGestureRecognizer-C_DTqk3V.js} +3 -3
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DgU8Z6fh.js → Markdown-CH1HEQ5H.js} +4 -4
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-CZjRE6ki.js → MobileNavToggle-BjBPWy34.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CctyrlIC.js → MoreMenu-BV0ilgia.js} +5 -5
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-B8gj7DC1.js → MultiSelector-BWOqNKUw.js} +79 -46
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BSw2rt6c.js → NavItem-GFrkWRSJ.js} +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-CY_Lek2e.js → NavMenu-C78sH1q0.js} +1 -1
- package/dist/{NavMenuItem-CGDBoeek.js → NavMenuItem-CCWYKpRJ.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Dyrsd8iV.js → NumberInput-DDSIBcXu.js} +4 -4
- package/dist/Outline/index.d.ts +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DyWV1DE6.js → Outline-BnKdYUu0.js} +5 -4
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-BjtnyyFH.js → OverflowList-CLEZqhaM.js} +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DxCA-HxJ.js → Pagination-D5NEGm3v.js} +2 -2
- package/dist/{PanGestureRecognizer-BVA9pqme.js → PanGestureRecognizer-WZ_rV6KY.js} +1 -1
- package/dist/{PickerWheel-x5H1G_XB.js → PickerWheel-D-Lx_I-8.js} +7 -7
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Bfdc7cPl.js → Popover-CD9zRZCN.js} +5 -5
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BwF9Dlxz.js → PowerSearch-CgyDqwVA.js} +27 -27
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-LhOowRTl.js → ProgressBar-BoZQV2l5.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CFLTQl3K.js → RadioGroup-BpOtsMJw.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-6vtMowgq.js → RadioListItem-D_vekWsm.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-Ch18ZZOk.js → ResizeHandle-BphbEkqv.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-CBFqNcS0.js → ScrollableArea-C8JJCFuM.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-CvHxmxSq.js → SegmentedControl-C4cyOw3z.js} +16 -15
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-9SSfwFyD.js → SelectableCard-DNQqIEyw.js} +2 -2
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DLHdkU47.js → Selector-DIQgqqjp.js} +20 -20
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-UDy54LWk.js → SideNav-DJTPCwwg.js} +11 -10
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-g5_g_-Eu.js → Slider-D_IQQkrP.js} +8 -8
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-A3u6UMC2.js → Spinner-CQXQ0RqS.js} +1 -1
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-BPbHIDK3.js → StatusDot-fYRbb3nd.js} +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-fAXQMCoa.js → Stepper-DaayqEc0.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-B4qQk8nJ.js → Switch-kRxVa5oQ.js} +13 -13
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DPl5hrlq.js → TabList-B2dfG_rt.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DcHbjYMH.js → Table-C2oRVE_7.js} +125 -28
- package/dist/{TapGestureRecognizer-DGoxircL.js → TapGestureRecognizer-LcbkQFq0.js} +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CqdqnOyw.js → Text-DcTbvkLq.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bio9Gh34.js → TextArea-CsfwwuIa.js} +7 -7
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CQnO23U5.js → TextInput-CstQuPUe.js} +6 -6
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BDQg5fM_.js → Thumbnail-C7Hi97ND.js} +4 -4
- package/dist/{TimeField-DFQIaneq.js → TimeField-Bno6mkOA.js} +22 -8
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BMgTNmFR.js → TimeInput-CJFEeyET.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-CYusx9bw.js → Timer-vj0M-kQs.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +2 -2
- package/dist/{Timestamp-mD_zYE11.js → Timestamp-ANLjz4lW.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-D6vNybEc.js → Toast-CUKO9z_S.js} +4 -4
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Dwt5c31B.js → ToggleButton-C7D_xmkT.js} +4 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-CZCvtfGU.js → Token-Dmz6vEMX.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-vIHlJqfc.js → Tokenizer-eOB86IoD.js} +13 -13
- 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-BGw1Dxs7.js → Tooltip-BYXFoOwa.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-B7WVftOG.js → TopNav-D79FiL4s.js} +3 -3
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DlRkhOsr.js → TreeList-Fy7KRNuK.js} +5 -5
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-DVSuuJF0.js → Typeahead-DgBTcIoM.js} +5 -5
- package/dist/{accessibleName-JNiIpYLV.js → accessibleName-CuQ2Zyti.js} +19 -7
- package/dist/{animator-D6Buqmbt.js → animator-L1kmTBSi.js} +1 -1
- package/dist/{assertOptions-D4YfVTam.js → assertOptions-Cl5NciZF.js} +7 -1
- package/dist/{boxHold-BZBGNilH.js → boxHold-JsQX9R5i.js} +4 -4
- package/dist/{browserClickWait-TdyeNZwb.js → browserClickWait-CPyRQqvC.js} +1 -1
- package/dist/{calendarFormat-_CEZIMZG.js → calendarFormat-DTC8AICa.js} +1 -1
- package/dist/{characters-wTnzjkkR.js → characters-DmSa8HSB.js} +2 -0
- package/dist/{clickGuard-CdmRG-4c.js → clickGuard-DOe-7mpi.js} +59 -10
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +13 -13
- package/dist/{composables-CpnaT0rZ.js → composables-DqIVxGbe.js} +82 -71
- package/dist/{context-CLCiYDtY.js → context-BBkmmLbb.js} +1 -1
- package/dist/context-DPVQjlFy.js +18 -0
- package/dist/{context-BNCjTOCB.js → direction-CNotzbN9.js} +1 -17
- package/dist/{format-6G9QuGy1.js → format-lexzIzDb.js} +1 -1
- package/dist/{formatInstant-CjCwl6JS.js → formatInstant-DKbYRamj.js} +1 -1
- package/dist/{holdEntranceInput-C9J7g1Pu.js → holdEntranceInput-Cs656CnM.js} +1 -1
- package/dist/{index-Nln6FiRr.d.ts → index--2H4S2Mo.d.ts} +1 -1
- package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
- package/dist/{index-0RIgvtdm.d.ts → index-BI1QLuYB.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-BZ_lQz43.d.ts} +1 -1
- package/dist/{index-DZUoC8aR.d.ts → index-C8hyLvk2.d.ts} +1 -1
- package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-CD1-Hqm0.d.ts} +1 -1
- package/dist/{index-Cf4bPzU0.d.ts → index-Csn58myZ.d.ts} +2 -2
- package/dist/{index-n_U1D11_.d.ts → index-D1IOCfUe.d.ts} +3 -3
- package/dist/{index-DNurYNHr.d.ts → index-D1aUS4mJ.d.ts} +35 -35
- package/dist/{index-Cb-rvc1W.d.ts → index-D3UaSnbN.d.ts} +1 -1
- package/dist/{index-VWHtgjGh.d.ts → index-Dip3mbII.d.ts} +1 -1
- package/dist/{index-D8G_PdWT.d.ts → index-DpiL3YlX.d.ts} +3 -3
- package/dist/{index-CCa_dvoF.d.ts → index-Ds4dOCSy.d.ts} +3 -3
- package/dist/{index-CRjJmEtZ.d.ts → index-DyKu6YTp.d.ts} +2 -2
- package/dist/{index-DgNCHxvu.d.ts → index-J83fLEyo.d.ts} +2 -2
- package/dist/{index-CFKpOpnO.d.ts → index-zMNvYijA.d.ts} +1 -1
- package/dist/index.d.ts +22 -22
- package/dist/index.js +115 -114
- package/dist/internal/touch.js +9 -9
- package/dist/{itemSlots-0J_JDkUW.js → itemSlots-CDpCiRWv.js} +3 -3
- package/dist/{landing-DjJvKu3c.js → landing-D7xDVHzh.js} +1 -1
- package/dist/{layerFocusReturn-Ddz5_Z2Z.js → layerFocusReturn-BAx26jXH.js} +1 -1
- package/dist/{lazyBottomSheet-CEZ77VHB.js → lazyBottomSheet-Cgu6B2R1.js} +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/{pressSlot-BxYt3vyU.js → pressSlot-WuaTVSU4.js} +15 -3
- package/dist/{reducedMotion-BcstlXZU.js → reducedMotion-Dhe-YZCN.js} +10 -2
- package/dist/{reportChange-wIeU3q3y.js → reportChange-BBOtvOwM.js} +134 -14
- package/dist/{resizableChannel-C9UA4vam.js → resizableChannel-2W9ef4QQ.js} +2 -2
- package/dist/{revealReturnTarget-DNX6xtLb.js → revealReturnTarget-BvKNVyf1.js} +1 -1
- package/dist/{rideKeyboard-DiF6K9Lm.js → rideKeyboard-DgecasHn.js} +4 -4
- package/dist/{scrollView-BGBtu5JP.js → scrollView-D2GwmeFx.js} +11 -1
- package/dist/{scrollingAncestor-DMWTn_Ih.js → scrollingAncestor-QzzYeTWo.js} +1 -1
- package/dist/{selectionRanges-DB5jesLz.js → selectionRanges-DBILfsSa.js} +1 -1
- package/dist/{snapPagingCatcher-BL_D9uL5.js → snapPagingCatcher-BFfj7RfY.js} +2 -2
- package/dist/{textDirection-DOiVLtX0.js → textDirection-C_CScrt5.js} +18 -1
- package/dist/{triggerVariant-CRQoD-4F.js → triggerVariant-dfzj2Ipj.js} +3 -1
- package/dist/{types-wKC-Ws-M.d.ts → types-xOsWAC6i.d.ts} +1 -1
- package/dist/{useActionGroupTracking-2fXeyqxa.js → useActionGroupTracking-BxTKiVux.js} +3 -3
- package/dist/{useAnimatedLayout-CXjd5pjG.js → useAnimatedLayout-C8BF0iwr.js} +3 -3
- package/dist/{useAnimatedLayout-C0koWm4a.d.ts → useAnimatedLayout-D94sdliy.d.ts} +2 -2
- package/dist/{useCalendarGrid-BpBA8UZa.js → useCalendarGrid-BjOvk9HI.js} +1 -1
- package/dist/{useFingerScroll-BhnBhQoa.js → useFingerScroll-CAC6Pd3m.js} +2 -2
- package/dist/{useGestureRecognizer-Bj0nynLS.js → useGestureRecognizer-C7CXCbBp.js} +1 -1
- package/dist/{useInputContainer-C8ARd4qy.js → useInputContainer-yA8wbN3_.js} +1 -1
- package/dist/{useInputStatusIcon-Dpj4AtXd.js → useInputStatusIcon-C1zyUxXl.js} +1 -1
- package/dist/useListFormatter-CFDqZ9jK.js +35 -0
- package/dist/{useMenuEntranceHold-DYZ_k6kP.js → useMenuEntranceHold-Dkl03O-0.js} +1 -1
- package/dist/{useMenuPress-C1fiHACF.js → useMenuPress-DKGeEWJw.js} +62 -15
- package/dist/{useMobileKeyboard-jeeHdtVD.js → useMobileKeyboard-xkLI3Sc0.js} +4 -4
- package/dist/{usePressFeedback-DyCf9Ok5.js → usePressFeedback-X_9-5DMi.js} +3 -3
- package/dist/{useResizable-B_QakV6o.js → useResizable-ZYDRiLfL.js} +7 -4
- package/dist/{useRestoreFocus-D04TyAC3.js → useRestoreFocus-MY1QZRPU.js} +1 -1
- package/dist/{useScrollOverflow-DuMoGXmm.js → useScrollOverflow-DzLw86tg.js} +21 -5
- package/dist/{useScrollableArea-B3gnyFbR.js → useScrollableArea-KpUvJnCb.js} +1 -1
- package/dist/{useTouchHitArea-DCAX0X6S.js → useTouchHitArea-gP3O_wIA.js} +42 -14
- package/dist/{useTruncationTooltip-0gr37s_G.js → useTruncationTooltip-B0_h3sf9.js} +2 -2
- package/dist/{useTypeaheadMenuConfig-sk8aSp57.js → useTypeaheadMenuConfig-Cm5adRdf.js} +2 -2
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/styles/cut-text.css +5 -0
- package/styles/date-time-input.css +9 -0
- package/dist/{PressTracker-B_ffL9rM.js → PressTracker-CiaaoD3I.js} +1 -1
- package/dist/{announceRenderedText-Dzsx6ROw.js → announceRenderedText-BaV4uiLs.js} +1 -1
- package/dist/{index-B1t1oQWH.d.ts → index-CgF-HfTm.d.ts} +0 -0
- package/dist/{index-51CkIKnI.d.ts → index-DSsuY9v9.d.ts} +0 -0
- package/dist/{inputHold-CUraoRG3.js → inputHold-C1LkNE02.js} +1 -1
- package/dist/{presentation-Cl58tYA6.js → presentation-DkdwDJUs.js} +1 -1
- package/dist/{selectionLock-BM8XEZQD.js → selectionLock-c18P1UV3.js} +1 -1
- package/dist/{useTooltip-CYRQuYj_.js → useTooltip-DSB9njlb.js} +1 -1
|
@@ -2,7 +2,7 @@ import { a as sharedState, n as sharedKey, o as sharedWeakMap, r as sharedMap, s
|
|
|
2
2
|
import { f as toSpring } from "./roles-D6hLs7Rg.js";
|
|
3
3
|
import { c as solveSpring, i as reducedMotionCrossFade, n as sampleCount, s as settlingDuration, t as linearEasing } from "./linearEasing-CDsqxyiS.js";
|
|
4
4
|
import { r as themeReducesMotion } from "./reducedMotionMark-CYSyfURo.js";
|
|
5
|
-
import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-
|
|
5
|
+
import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve, t as batchPresented } from "./presentation-DkdwDJUs.js";
|
|
6
6
|
import { i as readThemeTokenText, n as readThemeTiming } from "./themeTiming-DOf0j6SM.js";
|
|
7
7
|
//#region src/motion/layout/glides.ts
|
|
8
8
|
/**
|
|
@@ -500,6 +500,13 @@ function settleTransition(element, progress) {
|
|
|
500
500
|
* @position Internal to motion/layout; split from upstream motion/animatedLayout.ts
|
|
501
501
|
*/
|
|
502
502
|
/**
|
|
503
|
+
* Each document's change start: an iframe or a Picture-in-Picture window
|
|
504
|
+
* keeps its own clock, with its own origin and frames.
|
|
505
|
+
*/
|
|
506
|
+
const changeStarts = sharedWeakMap("motion/animated-layout/change-starts", 1);
|
|
507
|
+
/** Each waiting animation's held start time and the fill it had before. */
|
|
508
|
+
const holds = sharedWeakMap("motion/animated-layout/holds", 1);
|
|
509
|
+
/**
|
|
503
510
|
* Play `keyframes` on `element`. Every option here (linear easing over sampled
|
|
504
511
|
* keyframes, replace composition) is one any Web Animations engine takes, so
|
|
505
512
|
* a failure means no Web Animations at all: the change then lands at once.
|
|
@@ -522,21 +529,117 @@ function safeAnimate(element, keyframes, options, change, scale = {
|
|
|
522
529
|
if (now != null) {
|
|
523
530
|
const start = change != null && change.frame === Number(now) ? change : startFor(doc, Number(now));
|
|
524
531
|
start.last = clockOf(doc);
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
}
|
|
532
|
+
if (start.waiting != null) {
|
|
533
|
+
holdForFirstFrame(animation, Number(now));
|
|
534
|
+
start.waiting.add(animation);
|
|
535
|
+
} else startAt(animation, start.at, Number(now));
|
|
530
536
|
}
|
|
537
|
+
trackRunning(doc, animation);
|
|
531
538
|
const onResolve = options.pseudoElement == null ? presentGlide(element, animation, keyframes, options, scale) : void 0;
|
|
532
539
|
settleAnimation(element, animation, keyframes, options, onResolve);
|
|
533
540
|
return animation;
|
|
534
541
|
}
|
|
535
542
|
/**
|
|
536
|
-
* Each document's
|
|
537
|
-
*
|
|
543
|
+
* Each document's animations from this module that can still run, so a
|
|
544
|
+
* change can tell whether it is made from rest.
|
|
538
545
|
*/
|
|
539
|
-
const
|
|
546
|
+
const runningIn = sharedWeakMap("motion/animated-layout/running", 1);
|
|
547
|
+
/** Record `animation` as one of `doc`'s motions until it ends. */
|
|
548
|
+
function trackRunning(doc, animation) {
|
|
549
|
+
let running = runningIn.get(doc);
|
|
550
|
+
if (running == null) {
|
|
551
|
+
running = /* @__PURE__ */ new Set();
|
|
552
|
+
runningIn.set(doc, running);
|
|
553
|
+
}
|
|
554
|
+
const motions = running;
|
|
555
|
+
motions.add(animation);
|
|
556
|
+
const end = () => {
|
|
557
|
+
motions.delete(animation);
|
|
558
|
+
};
|
|
559
|
+
animation.addEventListener?.("finish", end);
|
|
560
|
+
animation.addEventListener?.("cancel", end);
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Whether one of this module's motions runs in `doc`. A change made now then
|
|
564
|
+
* continues motion on the screen. A motion that holds its first keyframe has
|
|
565
|
+
* not moved yet, so it does not count.
|
|
566
|
+
*/
|
|
567
|
+
function isMotionRunning(doc) {
|
|
568
|
+
const running = runningIn.get(doc);
|
|
569
|
+
if (running == null) return false;
|
|
570
|
+
for (const animation of running) {
|
|
571
|
+
if (holds.has(animation)) continue;
|
|
572
|
+
if (animation.playState === "running") return true;
|
|
573
|
+
if (animation.playState === "finished" || animation.playState === "idle") running.delete(animation);
|
|
574
|
+
}
|
|
575
|
+
return false;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* Start `animation` at `at` on the document timeline, which reads `frame`.
|
|
579
|
+
* Started after the frame time the timeline still reads: until the timeline
|
|
580
|
+
* gets there it shows its first keyframe, not the element at rest.
|
|
581
|
+
*/
|
|
582
|
+
function startAt(animation, at, frame) {
|
|
583
|
+
animation.startTime = at;
|
|
584
|
+
if (at !== frame) {
|
|
585
|
+
const fill = animation.effect?.getTiming?.().fill;
|
|
586
|
+
animation.effect?.updateTiming?.({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* How far ahead of the timeline a waiting animation's start time is held, ms.
|
|
591
|
+
* A start that far ahead shows the first keyframe for days.
|
|
592
|
+
*/
|
|
593
|
+
const HOLD_AHEAD_MS = 1e9;
|
|
594
|
+
/**
|
|
595
|
+
* Hold `animation` at its first keyframe until the first frame drawn after
|
|
596
|
+
* its change's task. A start time far ahead of `now`, the timeline's time,
|
|
597
|
+
* holds it. A set start time also cancels the animation's pending play task.
|
|
598
|
+
* An engine can run that task before the frame, on a clock from before a long
|
|
599
|
+
* task, and the motion then skips ahead.
|
|
600
|
+
*/
|
|
601
|
+
function holdForFirstFrame(animation, now) {
|
|
602
|
+
const fill = animation.effect?.getTiming?.().fill;
|
|
603
|
+
const startTime = now + HOLD_AHEAD_MS;
|
|
604
|
+
holds.set(animation, {
|
|
605
|
+
startTime,
|
|
606
|
+
fill
|
|
607
|
+
});
|
|
608
|
+
animation.startTime = startTime;
|
|
609
|
+
animation.effect?.updateTiming?.({ fill: fill === "forwards" || fill === "both" ? "both" : "backwards" });
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Whether `animation` still holds the start time `held`. Code that paused,
|
|
613
|
+
* sought, finished or cancelled it since then changed that start time. An
|
|
614
|
+
* engine can round a start time it keeps, so a difference under 1 ms counts
|
|
615
|
+
* as the same.
|
|
616
|
+
*/
|
|
617
|
+
function isStillHeld(animation, held) {
|
|
618
|
+
const { startTime } = animation;
|
|
619
|
+
return animation.playState !== "idle" && startTime != null && Math.abs(Number(startTime) - held) < 1;
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Start the animations a change made from rest holds, all at one moment: the
|
|
623
|
+
* first frame's time. After a long task, a frame can carry the time of a
|
|
624
|
+
* frame scheduled before it. Then the moment is when the frame runs.
|
|
625
|
+
*/
|
|
626
|
+
function startWaiting(doc, start) {
|
|
627
|
+
const { waiting } = start;
|
|
628
|
+
start.waiting = null;
|
|
629
|
+
if (waiting == null) return;
|
|
630
|
+
if (changeStarts.get(doc) === start) changeStarts.delete(doc);
|
|
631
|
+
const timeline = doc.timeline?.currentTime;
|
|
632
|
+
const frame = timeline == null ? start.at : Number(timeline);
|
|
633
|
+
const now = clockOf(doc);
|
|
634
|
+
start.at = now - frame <= 34 ? frame : now;
|
|
635
|
+
for (const animation of waiting) {
|
|
636
|
+
const hold = holds.get(animation);
|
|
637
|
+
holds.delete(animation);
|
|
638
|
+
if (hold == null || !isStillHeld(animation, hold.startTime)) continue;
|
|
639
|
+
animation.startTime = start.at;
|
|
640
|
+
if (start.at === frame && hold.fill != null) animation.effect?.updateTiming?.({ fill: hold.fill });
|
|
641
|
+
}
|
|
642
|
+
}
|
|
540
643
|
/** The clock of the document whose timeline a start is read on. */
|
|
541
644
|
function clockOf(doc) {
|
|
542
645
|
return (doc.defaultView?.performance ?? performance).now();
|
|
@@ -548,21 +651,27 @@ function clockOf(doc) {
|
|
|
548
651
|
* rest of a commit or a slow swap. The start holds while the timeline reads
|
|
549
652
|
* the same frame: through the task that made it and the microtasks after it.
|
|
550
653
|
* A change that begins after a block takes a start of its own (beginChange).
|
|
654
|
+
* A change made from rest waits for its first frame (startWaiting), and a
|
|
655
|
+
* change made before that frame joins it.
|
|
551
656
|
*/
|
|
552
657
|
function startFor(doc, frame) {
|
|
553
658
|
const now = clockOf(doc);
|
|
554
659
|
const held = changeStarts.get(doc);
|
|
555
|
-
if (held != null && held.frame === frame) {
|
|
660
|
+
if (held != null && (held.frame === frame || held.waiting != null)) {
|
|
556
661
|
held.last = now;
|
|
557
662
|
return held;
|
|
558
663
|
}
|
|
664
|
+
const view = doc.defaultView;
|
|
665
|
+
const isFromRest = typeof view?.requestAnimationFrame === "function" && !isMotionRunning(doc);
|
|
559
666
|
const start = {
|
|
560
667
|
frame,
|
|
561
668
|
at: now - frame <= 34 ? frame : now,
|
|
562
|
-
last: now
|
|
669
|
+
last: now,
|
|
670
|
+
waiting: isFromRest ? /* @__PURE__ */ new Set() : null
|
|
563
671
|
};
|
|
564
672
|
changeStarts.set(doc, start);
|
|
565
|
-
(
|
|
673
|
+
if (isFromRest) view?.requestAnimationFrame(() => startWaiting(doc, start));
|
|
674
|
+
(view?.setTimeout ?? setTimeout)(() => {
|
|
566
675
|
if (changeStarts.get(doc) === start) changeStarts.delete(doc);
|
|
567
676
|
}, 0);
|
|
568
677
|
return start;
|
|
@@ -575,7 +684,7 @@ function startFor(doc, frame) {
|
|
|
575
684
|
*/
|
|
576
685
|
function beginChange(doc) {
|
|
577
686
|
const held = changeStarts.get(doc);
|
|
578
|
-
if (held != null && clockOf(doc) - held.last > 34) changeStarts.delete(doc);
|
|
687
|
+
if (held != null && held.waiting == null && clockOf(doc) - held.last > 34) changeStarts.delete(doc);
|
|
579
688
|
}
|
|
580
689
|
/**
|
|
581
690
|
* When the animations of the layout change being made start. Code that
|
|
@@ -588,6 +697,17 @@ function layoutStartFor(document) {
|
|
|
588
697
|
const now = document.timeline?.currentTime;
|
|
589
698
|
return now == null ? 0 : startFor(document, Number(now)).at;
|
|
590
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* Reads, when called, the start `layoutStartFor` gives now. Code that keeps
|
|
702
|
+
* the start of a change, to measure a later change against, keeps this
|
|
703
|
+
* reader. A change made from rest takes its start later (startWaiting).
|
|
704
|
+
*/
|
|
705
|
+
function layoutStartReaderFor(document) {
|
|
706
|
+
const now = document.timeline?.currentTime;
|
|
707
|
+
if (now == null) return () => 0;
|
|
708
|
+
const start = startFor(document, Number(now));
|
|
709
|
+
return () => start.at;
|
|
710
|
+
}
|
|
591
711
|
/** The touch cross-fade's cap (`design:reduced-motion` DR2). */
|
|
592
712
|
const CROSS_FADE_CAP_MS = 200;
|
|
593
713
|
function matches(element, query) {
|
|
@@ -1821,4 +1941,4 @@ function reportLayoutChange(handle, target) {
|
|
|
1821
1941
|
};
|
|
1822
1942
|
}
|
|
1823
1943
|
//#endregion
|
|
1824
|
-
export {
|
|
1944
|
+
export { glideOf as A, layoutStartReaderFor as C, intersects as D, transitionSettles as E, shownBoxAt as M, scaleOf as O, layoutStartFor as S, settleTransition as T, layoutMotion as _, placeOf as a, springGlide as b, areaOf as c, extentOf as d, isRtl as f, glideNextChange as g, changeStartIn as h, nextInFlow as i, glides as j, visibleRect as k, createAnimatedLayout as l, pxClip as m, rideNeighbour as n, releaseLayoutExit as o, previousInFlow as p, holdLayoutExit as r, playLayoutChange as s, reportLayoutChange as t, readArea as u, sampleKeyframes as v, safeAnimate as w, beginChange as x, sampleOver as y };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
|
|
2
2
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
3
3
|
import { d as springs } from "./springs-BqW2WrS-.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as landLayoutGlide } from "./landing-
|
|
4
|
+
import { A as glideOf, D as intersects, O as scaleOf, _ as layoutMotion, a as placeOf, b as springGlide, c as areaOf, d as extentOf, f as isRtl, g as glideNextChange, h as changeStartIn, i as nextInFlow, k as visibleRect, l as createAnimatedLayout, m as pxClip, n as rideNeighbour, p as previousInFlow, t as reportLayoutChange, w as safeAnimate, x as beginChange, y as sampleOver } from "./reportChange-BBOtvOwM.js";
|
|
5
|
+
import { n as landLayoutGlide } from "./landing-D7xDVHzh.js";
|
|
6
6
|
//#region src/motion/layout/edgeReport.ts
|
|
7
7
|
const resizeReveals = sharedWeakMap("motion/animated-layout/resize-reveals", 1);
|
|
8
8
|
/** The inline properties a size hold sets, by axis. */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as armClickGuard } from "./clickGuard-CdmRG-4c.js";
|
|
1
|
+
import { t as armClickGuard } from "./clickGuard-DOe-7mpi.js";
|
|
3
2
|
import { o as sharedWeakMap, s as sharedWeakSet } from "./sharedRealm-BYHklCVM.js";
|
|
4
3
|
import { i as getTouches, s as subscribeInput } from "./inputStream-CFvjNDgT.js";
|
|
4
|
+
import { c as isHTMLElement, l as isNode, s as isElement } from "./flatTree-BB4yPMNL.js";
|
|
5
5
|
import { i as PRESS_SLOP_PX } from "./pressGesture-VrM5-7aV.js";
|
|
6
6
|
import { t as cubicBezier } from "./bezier-Dko5MnTp.js";
|
|
7
7
|
import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
|
|
8
|
-
import { t as caretAt } from "./selectionRanges-
|
|
8
|
+
import { t as caretAt } from "./selectionRanges-DBILfsSa.js";
|
|
9
9
|
import { n as matchesMediaQuery, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
10
|
-
import { n as reducedMotionFade } from "./reducedMotion-
|
|
10
|
+
import { n as reducedMotionFade } from "./reducedMotion-Dhe-YZCN.js";
|
|
11
11
|
//#region src/utils/layoutViewport.ts
|
|
12
12
|
/**
|
|
13
13
|
* @file layoutViewport.ts
|
|
@@ -36,6 +36,16 @@ function parseTouchAction(value) {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
+
* Whether `touch-action` on `element` and on every box above it leaves a pan
|
|
40
|
+
* on `axis` to the browser. With `boundary`, the walk stops before it.
|
|
41
|
+
*/
|
|
42
|
+
function touchActionAllowsPan(element, axis, boundary) {
|
|
43
|
+
const view = element.ownerDocument.defaultView;
|
|
44
|
+
if (view == null) return false;
|
|
45
|
+
for (let node = element; node != null && node !== boundary; node = parentAcrossShadow(node)) if (isElement(node) && !parseTouchAction(view.getComputedStyle(node).touchAction || "auto")[axis]) return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
39
49
|
* The viewport's overflow on an axis. It scrolls unless the root or the body
|
|
40
50
|
* clips it, as a scroll lock does with `overflow: hidden`.
|
|
41
51
|
*/
|
|
@@ -85,4 +95,4 @@ function isInsideScrollView(element, { readsTouchAction = true } = {}) {
|
|
|
85
95
|
return panY && SCROLLABLE_OVERFLOW.has(rootOverflow(doc, "y")) && overflows(root, "y") || panX && SCROLLABLE_OVERFLOW.has(rootOverflow(doc, "x")) && overflows(root, "x");
|
|
86
96
|
}
|
|
87
97
|
//#endregion
|
|
88
|
-
export { rootOverflow as i, isInsideScrollView as n, parseTouchAction as r, SCROLLABLE_OVERFLOW as t };
|
|
98
|
+
export { touchActionAllowsPan as a, rootOverflow as i, isInsideScrollView as n, parseTouchAction as r, SCROLLABLE_OVERFLOW as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as shadowRootsOutward, i as shadowHostOf, r as parentAcrossShadow } from "./flatTree-BB4yPMNL.js";
|
|
2
|
-
import { t as isTextEntry } from "./selectionLock-
|
|
2
|
+
import { t as isTextEntry } from "./selectionLock-c18P1UV3.js";
|
|
3
3
|
//#region src/utils/selectionRanges.ts
|
|
4
4
|
/**
|
|
5
5
|
* @file selectionRanges.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as registerMotionTable, f as toSpring } from "./roles-D6hLs7Rg.js";
|
|
2
2
|
import { c as solveSpring } from "./linearEasing-CDsqxyiS.js";
|
|
3
3
|
import { d as registerScrollTable, f as scroll } from "./gestures-BpGkqgpV.js";
|
|
4
|
-
import { r as SETTLE_THRESHOLD } from "./animator-
|
|
4
|
+
import { r as SETTLE_THRESHOLD } from "./animator-L1kmTBSi.js";
|
|
5
5
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
6
6
|
import { n as solveDecay } from "./decay-ClFADeqT.js";
|
|
7
|
-
import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-
|
|
7
|
+
import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-C_DTqk3V.js";
|
|
8
8
|
//#region src/motion/coast.ts
|
|
9
9
|
/** A curve that holds `end` from `duration` on. */
|
|
10
10
|
function settling(duration, end, at, velocity) {
|
|
@@ -54,6 +54,23 @@ function cutTextDirection(content) {
|
|
|
54
54
|
/** 和 cutTextDirection 配套的类名:带 `dir` 的截短元素仍按父元素的方向对齐。 */
|
|
55
55
|
const CUT_TEXT_PAGE_ALIGN_CLASS = "astryx-cut-text-page-align";
|
|
56
56
|
/**
|
|
57
|
+
* 自己用省略号截短文字的元素该带的属性:cutTextDirection 给出方向时带上 `dir` 和
|
|
58
|
+
* `CUT_TEXT_PAGE_ALIGN_CLASS`,否则什么都不带,沿用页面方向。直接 `v-bind` 到截短的元素上。
|
|
59
|
+
*/
|
|
60
|
+
function cutTextAttrs(content) {
|
|
61
|
+
const dir = cutTextDirection(content);
|
|
62
|
+
return dir == null ? {} : {
|
|
63
|
+
dir,
|
|
64
|
+
class: CUT_TEXT_PAGE_ALIGN_CLASS
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* 让一段文字和旁边的文字隔开排的类(`unicode-bidi: isolate`,styles/cut-text.css):
|
|
69
|
+
* 一项里的中性字符(逗号、数字)不会并进相邻一项的方向。给混有两种方向的列表里的每一项用,
|
|
70
|
+
* 再配上那一项自己的 `dir`。文字内容和可访问名称都不变,这一点双向控制字符做不到。
|
|
71
|
+
*/
|
|
72
|
+
const TEXT_ISOLATE_CLASS = "astryx-text-isolate";
|
|
73
|
+
/**
|
|
57
74
|
* 插槽内容全是纯文字(模板里直接写的字)时拼出的文字,否则答 `undefined`。
|
|
58
75
|
* 注释节点不算内容。给要按标签文字判断方向的组件用。
|
|
59
76
|
*/
|
|
@@ -68,4 +85,4 @@ function plainSlotText(nodes) {
|
|
|
68
85
|
return text;
|
|
69
86
|
}
|
|
70
87
|
//#endregion
|
|
71
|
-
export {
|
|
88
|
+
export { isolateTextDirection as a, cutTextDirection as i, TEXT_ISOLATE_CLASS as n, plainSlotText as o, cutTextAttrs as r, textDirection as s, CUT_TEXT_PAGE_ALIGN_CLASS as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BUSj1-Th.js";
|
|
2
|
+
import { a as isolateTextDirection } from "./textDirection-C_CScrt5.js";
|
|
2
3
|
import { t as _sfc_main$2 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
3
4
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
4
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
@@ -22,6 +23,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
22
23
|
const tooltipId = `astryx-status-tooltip-${useId()}`;
|
|
23
24
|
const showsTooltip = computed(() => props.tooltip === true && Boolean(props.message));
|
|
24
25
|
const tooltip = useButtonTooltip(showsTooltip);
|
|
26
|
+
const tooltipText = computed(() => isolateTextDirection(props.message ?? ""));
|
|
25
27
|
const label = computed(() => {
|
|
26
28
|
if (props.type === "warning") return messages.value.input.statusWarning;
|
|
27
29
|
if (props.type === "success") return messages.value.input.statusSuccess;
|
|
@@ -54,7 +56,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
54
56
|
id: tooltipId,
|
|
55
57
|
anchor: anchor.value,
|
|
56
58
|
open: unref(tooltip).isOpen.value,
|
|
57
|
-
text:
|
|
59
|
+
text: tooltipText.value,
|
|
58
60
|
onPointerEnter: unref(tooltip).onTooltipPointerEnter,
|
|
59
61
|
onPointerLeave: unref(tooltip).onPointerLeave
|
|
60
62
|
}, null, 8, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as AnimatedLayout } from "./useAnimatedLayout-
|
|
1
|
+
import { r as AnimatedLayout } from "./useAnimatedLayout-D94sdliy.js";
|
|
2
2
|
import { n as Reorderable } from "./createReorderable-Bw3Q9mUd.js";
|
|
3
3
|
import { i as Swipe, n as ItemSwipeActionVariant, r as ItemSwipeBehavior } from "./swipeHost-B2OlVVZt.js";
|
|
4
4
|
import { Component, MaybeRefOrGetter, VNodeChild } from "vue";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { f as isTrackedByGroup, v as GROUP_PRESS_POINTERS, y as PRESS_GROUP_ITEM_ATTRIBUTE } from "./pressSlot-WuaTVSU4.js";
|
|
2
|
+
import { i as resolveGroupTouch, r as createActionGroupTracker } from "./useTouchHitArea-gP3O_wIA.js";
|
|
1
3
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
|
-
import { n as isInsideScrollView } from "./scrollView-
|
|
3
|
-
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-DCAX0X6S.js";
|
|
4
|
+
import { n as isInsideScrollView } from "./scrollView-D2GwmeFx.js";
|
|
4
5
|
import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-VrM5-7aV.js";
|
|
5
|
-
import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-BxYt3vyU.js";
|
|
6
6
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
7
7
|
//#region src/composables/internal/useActionGroupTracking.ts
|
|
8
8
|
const DISABLED = ":disabled, [aria-disabled=\"true\"]";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as createAnimatedLayout } from "./reportChange-
|
|
1
|
+
import { l as createAnimatedLayout } from "./reportChange-BBOtvOwM.js";
|
|
2
2
|
import { toValue } from "vue";
|
|
3
3
|
//#region src/composables/useAnimatedLayout.ts
|
|
4
4
|
function elementOf(value) {
|
|
@@ -9,8 +9,8 @@ function elementOf(value) {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* 返回一个句柄,交给尺寸会变的组件(例如 TreeList、Collapsible)。组件尺寸变化时,
|
|
12
|
-
* 它和 `containerRef`
|
|
13
|
-
*
|
|
12
|
+
* 它和 `containerRef` 里它前后的内容按同一条动效一起滑到新位置;组件在绝对定位、固定定位、
|
|
13
|
+
* 吸住的粘性元素或顶层图层里时,只有排在它后面的内容会动。固定定位和吸住的粘性元素不动,滑动从不滚动容器,并遵从「减少动态效果」。
|
|
14
14
|
*
|
|
15
15
|
* 容器在变化发生时才读,所以句柄只创建一次,之后 ref 指向别的元素也能读到。
|
|
16
16
|
* 句柄没有公开成员。服务端渲染时不碰 DOM。
|
|
@@ -27,8 +27,8 @@ interface UseAnimatedLayoutOptions {
|
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* 返回一个句柄,交给尺寸会变的组件(例如 TreeList、Collapsible)。组件尺寸变化时,
|
|
30
|
-
* 它和 `containerRef`
|
|
31
|
-
*
|
|
30
|
+
* 它和 `containerRef` 里它前后的内容按同一条动效一起滑到新位置;组件在绝对定位、固定定位、
|
|
31
|
+
* 吸住的粘性元素或顶层图层里时,只有排在它后面的内容会动。固定定位和吸住的粘性元素不动,滑动从不滚动容器,并遵从「减少动态效果」。
|
|
32
32
|
*
|
|
33
33
|
* 容器在变化发生时才读,所以句柄只创建一次,之后 ref 指向别的元素也能读到。
|
|
34
34
|
* 句柄没有公开成员。服务端渲染时不碰 DOM。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
|
|
2
2
|
import { a as calendarAddMonths, c as calendarDayOfMonth, f as calendarMonthOf, v as isGregorianAligned } from "./calendar-C7py_wtb.js";
|
|
3
|
-
import { n as formatCalendarDate } from "./calendarFormat-
|
|
3
|
+
import { n as formatCalendarDate } from "./calendarFormat-DTC8AICa.js";
|
|
4
4
|
import { CalendarDate } from "@internationalized/date";
|
|
5
5
|
//#region src/Calendar/calendarMonths.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
|
|
2
1
|
import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
|
|
3
|
-
import {
|
|
2
|
+
import { l as isNode, o as isDocument } from "./flatTree-BB4yPMNL.js";
|
|
3
|
+
import { t as getGestureHost } from "./GestureHost-C0FstEs3.js";
|
|
4
4
|
import { r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
5
5
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
6
6
|
//#region src/gestures/fingerScroll.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
|
|
2
|
-
import { l as internals, t as getGestureHost } from "./GestureHost-
|
|
2
|
+
import { l as internals, t as getGestureHost } from "./GestureHost-C0FstEs3.js";
|
|
3
3
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
4
4
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
5
5
|
//#region src/gestures/gestureSync.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main } from "./FieldIcon-C6A69-um.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldInfoTip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldInfoTip-D93Kcdo-.js";
|
|
3
3
|
import { computed, toValue } from "vue";
|
|
4
4
|
//#region src/composables/useInputStatusIcon.ts
|
|
5
5
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
//#region src/locale/useListFormatter.ts
|
|
4
|
+
/**
|
|
5
|
+
* 按当前语言把几段文字连成一个并列列表(英文是 `a, b, c`)。
|
|
6
|
+
* 用 narrow 的并列格式:它在每种内置语言里都会用分隔符隔开各段,整句话也不会连在一起
|
|
7
|
+
* (单位列表在 zh-CN 里没有分隔符,在 ja-JP 里只有空格)。
|
|
8
|
+
* 没有 provider 时按英文连。
|
|
9
|
+
*/
|
|
10
|
+
function useListFormatter() {
|
|
11
|
+
const locale = useAstryxLocale();
|
|
12
|
+
return computed(() => {
|
|
13
|
+
const format = new Intl.ListFormat(locale.value, {
|
|
14
|
+
type: "conjunction",
|
|
15
|
+
style: "narrow"
|
|
16
|
+
});
|
|
17
|
+
return (items) => format.format(items);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 和 `useListFormatter` 同样的列表,拆成按顺序排的各项和分隔文字,调用方可以单独标注每一项
|
|
22
|
+
* (比如给它隔离方向),同时保留这门语言的分隔符和顺序。
|
|
23
|
+
*/
|
|
24
|
+
function useListPartsFormatter() {
|
|
25
|
+
const locale = useAstryxLocale();
|
|
26
|
+
return computed(() => {
|
|
27
|
+
const format = new Intl.ListFormat(locale.value, {
|
|
28
|
+
type: "conjunction",
|
|
29
|
+
style: "narrow"
|
|
30
|
+
});
|
|
31
|
+
return (items) => format.formatToParts(items);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { useListPartsFormatter as n, useListFormatter as t };
|