@astryx-vue/core 0.42.5 → 0.43.0
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-JxwAj9d0.js → AlertDialog-r9VdV_oH.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BQz-P6TD.js → Avatar-Dl2oiG7t.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DiL8_fei.js → Banner-u7GJQV3O.js} +33 -16
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DRimCV1O.js → BottomSheet-C65IqXMQ.js} +2 -2
- package/dist/{BottomSheet-q49-srZ5.js → BottomSheet-CY-dU3F5.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DJU3Bz_u.js → Breadcrumbs-D_GhNvfK.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-D993OBya.js → Button-D8vn_DnZ.js} +22 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CknFA9IA.js → ButtonGroup-Bt7UZF_U.js} +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-Ch3n05iF.js → Carousel-BE-PqpOJ.js} +48 -14
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-ZZNA436T.js → Chat-D_CxKvTw.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-ChbqO3Hp.js → CheckboxInput-CiSb9VDk.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-3y4ehVhz.js → CheckboxListItem-BwGzAz8V.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-N2hjeC8T.js → Code-Cnk4QmuK.js} +1 -1
- package/dist/{CodeBlock-osW2DJ_E.js → CodeBlock-PuLo1vOn.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CIpvefL3.js → CommandPalette-BdfvSd8U.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BB4He_wN.js → ComplexSelector-QpUODnLj.js} +3 -3
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-F315dVbZ.js → ContextMenu-BebiNEFX.js} +3 -3
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-Cm8zmBUt.js → DateInput-B1C1bpAH.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-FiY0JZxV.js → DateRangeInput-ByHRQ-Is.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DBBrIFnm.js → DateTimeInput-DkFcxpoJ.js} +6 -6
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-6rKG9kce.js → Dialog-CgnIHMCI.js} +32 -5
- package/dist/{Dialog-CEbICn0m.js → Dialog-zqsAwjle.js} +1 -1
- package/dist/{DialogHeader-DEUH-s-L.js → DialogHeader-BpQQMQcb.js} +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-DiRhP2q-.js → Drawer-CWL0fCGw.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CQ-ZROFm.js → DropdownMenu-Sb9A2F_S.js} +5 -5
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DOMOEsvj.js → EmptyState-B57OV1V_.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DJGFZuwh.js → Field-jM0Ithrd.js} +1 -1
- package/dist/{FieldInfoTip-DFlEh8tG.js → FieldInfoTip-BrxcbuTn.js} +1 -1
- package/dist/{FieldLabel-BZiHqHsQ.js → FieldLabel-BmjvZVOQ.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-D99uvmKg.js → FileInput-Bb6LdXY1.js} +4 -4
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-CsSZgiqn.js → Heading-Cymy5utP.js} +3 -3
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DhEjewin.js → IconButton-BdXfxjCD.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-B_7kJX7x.js → InfoTip-BCOxwsJ4.js} +1 -1
- package/dist/{InputClearButton-BGtTipa-.js → InputClearButton-Dp87bq1c.js} +3 -2
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-DC2V0AYP.js → InputGroup-CsEB0Ufk.js} +1 -1
- package/dist/{Item-DznHXYbG.js → Item-DOATMVXE.js} +4 -4
- package/dist/Kbd/index.js +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CBS2EhuG.js → Lightbox-CQ0sOdK4.js} +40 -11
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-5KuMIFYl.js → Link-CRNgZw--.js} +14 -4
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +4 -4
- package/dist/{List-BVpWTW6J.js → List-CsumsvTg.js} +2 -2
- package/dist/{ListItem-BzOD8HbS.js → ListItem-DHpWkhT9.js} +2 -2
- package/dist/{LongPressGestureRecognizer-C1JQQdg-.js → LongPressGestureRecognizer-V_iVvLNU.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-B0VlS0CH.js → Markdown-DwCAq1ds.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DYa6tOl8.js → MoreMenu-BJqN4qQ6.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CnsBju0o.js → MultiSelector-BI_uF-yk.js} +5 -5
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DADBh_WZ.js → NumberInput-DIgfEtYW.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DeV3vsXr.js → Pagination-BPGgks2l.js} +2 -2
- package/dist/{PanGestureRecognizer-_yCWSqMD.js → PanGestureRecognizer-Crc0PhW0.js} +1 -1
- package/dist/{PickerWheel-DJqK1f2w.js → PickerWheel-WEFgBW8I.js} +4 -4
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BVzTrVp-.js → Popover-OhEtacTy.js} +254 -34
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CdXq9Nma.js → PowerSearch-DPGknVx8.js} +24 -24
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Otv4DLQP.js → ProgressBar-IRNmWLg-.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BYZ9mspa.js → RadioGroup-DoI7wu5m.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-BjiT8DAp.js → RadioListItem-Bb0ggwoG.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- 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-DgZ2y1ff.js → SegmentedControl-DjruBeFm.js} +2 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DERRZ5Hh.js → Selector-D8BEYok_.js} +3 -3
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-_MGkSxQG.js → SideNav-BYWNIIXT.js} +3 -3
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BrZeUJJF.js → Slider-pnFJ6MfZ.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-lLOYfbOY.js → Spinner-D6U81W87.js} +1 -1
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Ce31aeru.js → StatusDot-CdtauWfk.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-MeieW4dP.js → Switch-BJ9skC9r.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-wVIUIfKH.js → Table-DQazvJ4Q.js} +170 -31
- package/dist/{TapGestureRecognizer-CH88amVE.js → TapGestureRecognizer-Cv0y3c02.js} +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BLPg6wdX.js → Text-9twwURuI.js} +3 -3
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BPNEV23k.js → TextArea-C66zML5G.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-D3XelSwo.js → TextInput-BGsRns-X.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BoTOXxGq.js → Thumbnail-iJILNRPc.js} +3 -3
- package/dist/{TimeField-BdVLsMYr.js → TimeField-Ct2akfr9.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D-i2TFnX.js → TimeInput-CBVMN37Z.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-i3ujG9pH.js → Timer-DBujcX_B.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BqNCcvsK.js → Timestamp-Dv6_wb89.js} +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BGzbZs-G.js → Toast-C3khq9NA.js} +12 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-CqVXRm6U.js → ToggleButton-fvo3Mxmb.js} +2 -2
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-B9pKIuXP.js → Token-B_jnJ700.js} +47 -7
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-TB5Cd8Pz.js → Tokenizer-3nwPA8Az.js} +12 -12
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CFQrHG0a.js → Tooltip-W32cHQH0.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-PNNYCcZn.js → Typeahead-KXBQ4jXf.js} +5 -5
- package/dist/{accessibleName-BVk1Rzrl.js → accessibleName-Dpzu2nL1.js} +1 -1
- package/dist/{announceRenderedText-CslZ0cev.js → announceRenderedText-pHs_kfQB.js} +3 -2
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +4 -4
- package/dist/{composables-DeNxbB0w.js → composables-cdO2fBF6.js} +7 -18
- package/dist/{context-Cgkyk-b7.js → context-Ds4l8NtJ.js} +6 -1
- package/dist/devWarnings-DI1R0rGp.js +14 -0
- package/dist/{index-C93nwgTW.d.ts → index-51CkIKnI.d.ts} +1 -1
- package/dist/{index-PydsflFS.d.ts → index-ADSpm_Dq.d.ts} +8 -8
- package/dist/{index-J83fLEyo.d.ts → index-B7-c8UTz.d.ts} +3 -3
- package/dist/{index-B44fLswd.d.ts → index-B7Yl723I.d.ts} +1 -1
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
- package/dist/{index-B7vE2Dx8.d.ts → index-BK9UUbsu.d.ts} +2 -2
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-BaFphczL.d.ts} +1 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-CJT9kM7e.d.ts → index-BstD8W_P.d.ts} +19 -4
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-CpLGbFCR.d.ts → index-C5aEstRY.d.ts} +3 -3
- package/dist/{index-C3JmGujU.d.ts → index-C9uW39Mj.d.ts} +2 -2
- package/dist/{index-Bwh8O-v8.d.ts → index-CC9ETLL4.d.ts} +2 -2
- package/dist/{index-hE8MBOld.d.ts → index-CLOppj9J.d.ts} +8 -8
- package/dist/{index-Dk50Zh3F.d.ts → index-D3UaSnbN.d.ts} +1 -1
- package/dist/{index-DAz4l6Jw.d.ts → index-DD3c1ZhS.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-DDrL_-hJ.d.ts} +2 -2
- package/dist/{index-CEdoNcHF.d.ts → index-K9yFjQxo.d.ts} +3 -3
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-Ak1b0V24.d.ts → index-a6o69uPN.d.ts} +1 -1
- package/dist/{index-0RIgvtdm.d.ts → index-beOIC0Qk.d.ts} +1 -1
- package/dist/{index-CLbslOVk.d.ts → index-cxXrnuj3.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-CAC3Bhus.d.ts → index-vuxO2gyJ.d.ts} +83 -83
- package/dist/index.d.ts +32 -32
- package/dist/index.js +79 -79
- package/dist/internal/touch.js +6 -6
- package/dist/{itemSlots-CIQbrKkZ.js → itemSlots-D9aPTELK.js} +2 -2
- package/dist/{layerFocusReturn-uixUCSc8.js → layerFocusReturn-Bl6yja5A.js} +50 -2
- package/dist/{lazyBottomSheet-BfDsDl4w.js → lazyBottomSheet-CXBBo9Ao.js} +1 -1
- package/dist/rootFocusHandoff-CORyJeRP.js +25 -0
- package/dist/{snapPagingCatcher-DUb8YU3G.js → snapPagingCatcher-CQ34r-x-.js} +1 -1
- package/dist/{types-DTlpQo7j.d.ts → types-BsFCq23a.d.ts} +11 -2
- package/dist/{useFingerScroll-DO4LVzDf.js → useFingerScroll-CC19P9JS.js} +1 -1
- package/dist/{useGestureRecognizer-CozA1twZ.js → useGestureRecognizer-D5kNuQzG.js} +1 -1
- package/dist/{useInputStatusIcon-BvJML52B.js → useInputStatusIcon-BW70yd3c.js} +1 -1
- package/dist/{useResizable-CKDaU_se.d.ts → useResizable-CJFVvx_2.d.ts} +4 -0
- package/dist/{useTooltip-CdD6ivAv.js → useTooltip-D5kJD9ed.js} +1 -1
- package/dist/{useTruncationTooltip-C37kvtXu.js → useTruncationTooltip-Cx4R7Fyp.js} +12 -5
- package/dist/{useTypeaheadMenuConfig-DHX88vqs.js → useTypeaheadMenuConfig-TSkUldd9.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/styles/button.css +7 -2
- package/styles/carousel.css +15 -0
- package/styles/citation.css +7 -2
- package/styles/dialog.css +5 -0
- package/styles/drawer.css +6 -0
- package/styles/popover.css +11 -3
- package/styles/table.css +31 -8
- package/styles/toast.css +6 -0
- package/styles/token.css +30 -0
- package/dist/{GestureHost-CRgadcBb.js → GestureHost-DXlDxyns.js} +1 -1
- package/dist/{Kbd-CbD993ig.js → Kbd-CwtGTUmB.js} +1 -1
- package/dist/{index-DKlE9Iqk.d.ts → index-7tsRPFfY.d.ts} +1 -1
- package/dist/{useResizable-mkUwYfmy.js → useResizable-Diq3vRVH.js} +1 -1
package/dist/TextArea/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextArea-
|
|
1
|
+
import { t as _sfc_main } from "../TextArea-C66zML5G.js";
|
|
2
2
|
export { _sfc_main as TextArea };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BUSj1-Th.js";
|
|
2
2
|
import { n as useInputGroupContext } from "./context-Bg7eSJ47.js";
|
|
3
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
|
-
import { n as _sfc_main$2 } from "./Button-
|
|
4
|
+
import { n as _sfc_main$2 } from "./Button-D8vn_DnZ.js";
|
|
5
5
|
import { t as _sfc_main$3 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
@@ -10,17 +10,17 @@ import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
|
10
10
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
11
11
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
12
12
|
import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
|
|
13
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
13
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-BrxcbuTn.js";
|
|
14
14
|
import { t as useMobileKeyboard } from "./useMobileKeyboard-DcvMptTe.js";
|
|
15
15
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
16
16
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
17
17
|
import { a as useAriaRequired } from "./context-CrVCeUUK.js";
|
|
18
18
|
import { t as fieldMessages } from "./field-BaUBjqf5.js";
|
|
19
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
19
|
+
import { t as _sfc_main$6 } from "./Field-jM0Ithrd.js";
|
|
20
20
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
21
21
|
import { t as textAreaMessages } from "./text-area-CsnUYtMk.js";
|
|
22
22
|
import { t as textInputMessages } from "./text-input-Bs3LFP5a.js";
|
|
23
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
23
|
+
import { t as _sfc_main$7 } from "./InputClearButton-Dp87bq1c.js";
|
|
24
24
|
import { t as textEntryTraitAttributes } from "./textEntryTraits-cb0LZSNl.js";
|
|
25
25
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
26
26
|
import "../styles/text-area.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-
|
|
1
|
+
import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
|
package/dist/TextInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextInput-
|
|
1
|
+
import { t as _sfc_main } from "../TextInput-BGsRns-X.js";
|
|
2
2
|
export { _sfc_main as TextInput };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BUSj1-Th.js";
|
|
2
2
|
import { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
3
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
|
-
import { n as _sfc_main$2 } from "./Button-
|
|
4
|
+
import { n as _sfc_main$2 } from "./Button-D8vn_DnZ.js";
|
|
5
5
|
import { t as _sfc_main$3 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
8
8
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
9
9
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
|
|
11
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
11
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BW70yd3c.js";
|
|
12
12
|
import { t as useMobileKeyboard } from "./useMobileKeyboard-DcvMptTe.js";
|
|
13
13
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
14
14
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
15
15
|
import { a as useAriaRequired } from "./context-CrVCeUUK.js";
|
|
16
16
|
import { t as fieldMessages } from "./field-BaUBjqf5.js";
|
|
17
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
17
|
+
import { t as _sfc_main$5 } from "./Field-jM0Ithrd.js";
|
|
18
18
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
19
19
|
import { t as textInputMessages } from "./text-input-Bs3LFP5a.js";
|
|
20
|
-
import { t as _sfc_main$6 } from "./InputClearButton-
|
|
20
|
+
import { t as _sfc_main$6 } from "./InputClearButton-Dp87bq1c.js";
|
|
21
21
|
import { t as textEntryTraitAttributes } from "./textEntryTraits-cb0LZSNl.js";
|
|
22
22
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
23
23
|
import "../styles/text-input.css";
|
package/dist/Thumbnail/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Thumbnail-
|
|
1
|
+
import { t as _sfc_main } from "../Thumbnail-iJILNRPc.js";
|
|
2
2
|
export { _sfc_main as Thumbnail };
|
|
@@ -2,10 +2,10 @@ import { t as usePressFeedback } from "./usePressFeedback-DkWA1son.js";
|
|
|
2
2
|
import { t as _sfc_main$1 } from "./Icon-BUSj1-Th.js";
|
|
3
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
4
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
6
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
5
|
+
import { t as _sfc_main$2 } from "./IconButton-BdXfxjCD.js";
|
|
6
|
+
import { t as _sfc_main$3 } from "./Tooltip-W32cHQH0.js";
|
|
7
7
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
8
|
-
import { t as _sfc_main$4 } from "./Spinner-
|
|
8
|
+
import { t as _sfc_main$4 } from "./Spinner-D6U81W87.js";
|
|
9
9
|
import { t as thumbnailMessages } from "./thumbnail-BI82Ijpj.js";
|
|
10
10
|
import { t as _sfc_main$5 } from "./Skeleton-CrgWxJgr.js";
|
|
11
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, unref, watch, withCtx } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-CY-dU3F5.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-BUSj1-Th.js";
|
|
3
3
|
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-ChlwPVfw.js";
|
|
4
4
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
@@ -8,15 +8,15 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
|
8
8
|
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
9
9
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { t as _sfc_main$6 } from "./FieldIcon-C6A69-um.js";
|
|
11
|
-
import { t as _sfc_main$7 } from "./IconButton-
|
|
11
|
+
import { t as _sfc_main$7 } from "./IconButton-BdXfxjCD.js";
|
|
12
12
|
import { a as resolveHourFormat, r as isLocaleTimeComplete } from "./timeFormat-Cnd5vu5t.js";
|
|
13
13
|
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-8YfPQffv.js";
|
|
14
14
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
15
15
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
16
|
-
import { t as _sfc_main$8 } from "./Spinner-
|
|
16
|
+
import { t as _sfc_main$8 } from "./Spinner-D6U81W87.js";
|
|
17
17
|
import { a as useAriaRequired, o as useEntryErrorBehavior } from "./context-CrVCeUUK.js";
|
|
18
18
|
import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
19
|
-
import { t as _sfc_main$9 } from "./PickerWheel-
|
|
19
|
+
import { t as _sfc_main$9 } from "./PickerWheel-WEFgBW8I.js";
|
|
20
20
|
import { n as dateTimeInputMessages, t as timeInputMessages } from "./time-input-CKOsh84E.js";
|
|
21
21
|
import { t as useEntryErrorReport } from "./useEntryErrorReport-Wee3N8IA.js";
|
|
22
22
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputEntryError, type TimeInputProps, type TimeInputSize };
|
package/dist/TimeInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../TimeInput-CBVMN37Z.js";
|
|
2
2
|
export { _sfc_main as TimeInput };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
3
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
4
|
-
import { t as _sfc_main$1 } from "./Field-
|
|
4
|
+
import { t as _sfc_main$1 } from "./Field-jM0Ithrd.js";
|
|
5
5
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./TimeField-
|
|
6
|
+
import { t as _sfc_main$2 } from "./TimeField-Ct2akfr9.js";
|
|
7
7
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, shallowRef, unref, useAttrs, useId, useModel, withCtx } from "vue";
|
|
8
8
|
//#region src/TimeInput/TimeInput.vue
|
|
9
9
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
package/dist/Timer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-
|
|
1
|
+
import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-BA8exXNP.js";
|
|
2
2
|
export { _default as Timer, type TimerColor, type TimerFormat, type TimerPresentation, type TimerProps, type TimerType, getPresentation };
|
package/dist/Timer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getPresentation, t as _sfc_main } from "../Timer-
|
|
1
|
+
import { n as getPresentation, t as _sfc_main } from "../Timer-DBujcX_B.js";
|
|
2
2
|
export { _sfc_main as Timer, getPresentation };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
2
2
|
import { t as formatElapsedDuration } from "./timeFormat-Cnd5vu5t.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./Text-
|
|
3
|
+
import { t as _sfc_main$1 } from "./Text-9twwURuI.js";
|
|
4
4
|
import { computed, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
|
|
5
5
|
import "../styles/timer.css";
|
|
6
6
|
//#region src/Timer/format.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-
|
|
1
|
+
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
package/dist/Timestamp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as formatInstant } from "../formatInstant-CjCwl6JS.js";
|
|
2
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-
|
|
2
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-Dv6_wb89.js";
|
|
3
3
|
export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -2,8 +2,8 @@ import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
|
2
2
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
3
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
4
4
|
import { t as writeClipboardText } from "./clipboardWrite-Ds6fxmZc.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
6
|
-
import { t as _sfc_main$3 } from "./Text-
|
|
5
|
+
import { t as _sfc_main$2 } from "./IconButton-BdXfxjCD.js";
|
|
6
|
+
import { t as _sfc_main$3 } from "./Text-9twwURuI.js";
|
|
7
7
|
import { r as useCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
8
8
|
import { t as _sfc_main$4 } from "./HoverCard-BmehvS0D.js";
|
|
9
9
|
import { t as _sfc_main$5 } from "./ComponentIcon-B67QcA-d.js";
|
package/dist/Toast/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-C3khq9NA.js";
|
|
2
2
|
export { _sfc_main as Toast, _sfc_main$1 as ToastViewport, useToast };
|
|
@@ -2,12 +2,12 @@ import { n as hasInteractiveAncestor } from "./useClickableContainer-Dtjg-nkm.js
|
|
|
2
2
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
|
|
4
4
|
import { r as useLayerConfig } from "./context-M-er0-Rk.js";
|
|
5
|
-
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-
|
|
5
|
+
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-Crc0PhW0.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
8
|
-
import { t as _sfc_main$3 } from "./IconButton-
|
|
8
|
+
import { t as _sfc_main$3 } from "./IconButton-BdXfxjCD.js";
|
|
9
9
|
import { a as useActiveModalOutlet, o as useTopLayerEntries, s as whenModalSettled } from "./modalOutlet-C2nqIYUt.js";
|
|
10
|
-
import { t as useGestureRecognizer } from "./useGestureRecognizer-
|
|
10
|
+
import { t as useGestureRecognizer } from "./useGestureRecognizer-D5kNuQzG.js";
|
|
11
11
|
import { t as toastMessages } from "./toast-BvAnX6Vc.js";
|
|
12
12
|
import { i as pickMediaMode, r as parseColor } from "./contrast-B0fsdq4U.js";
|
|
13
13
|
import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-BavxpAJt.js";
|
|
@@ -762,6 +762,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
762
762
|
if (!shown.has(toast.id)) toastStore.finalize(toast.id);
|
|
763
763
|
}
|
|
764
764
|
}, { flush: "pre" });
|
|
765
|
+
watch(() => visibleToasts.value.filter((t) => t.isExiting).map((t) => t.id).join(","), (ids) => {
|
|
766
|
+
const viewport = viewportRef.value;
|
|
767
|
+
if (ids === "" || viewport == null) return;
|
|
768
|
+
for (const id of ids.split(",")) {
|
|
769
|
+
const row = viewport.querySelector(`[data-toast-id="${CSS.escape(id)}"]`);
|
|
770
|
+
if (row == null || typeof row.getAnimations !== "function") continue;
|
|
771
|
+
if (!row.getAnimations().some((animation) => "transitionProperty" in animation && animation.transitionProperty === "grid-template-rows")) toastStore.finalize(id);
|
|
772
|
+
}
|
|
773
|
+
}, { flush: "post" });
|
|
765
774
|
watch(() => toastStore.toasts.map((t) => t.id).join(","), () => {
|
|
766
775
|
const live = new Set(toastStore.toasts.map((t) => t.id));
|
|
767
776
|
for (const id of [...settled]) if (!live.has(id)) settled.delete(id);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-fvo3Mxmb.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-CxqNaIyt.js";
|
|
2
2
|
import { t as useActionGroupTracking } from "./useActionGroupTracking-CGikRIWR.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
5
|
-
import { n as buttonHitAreaContextKey } from "./context-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Button-D8vn_DnZ.js";
|
|
5
|
+
import { n as buttonHitAreaContextKey } from "./context-Ds4l8NtJ.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
|
|
8
8
|
import "../styles/toggle-button.css";
|
package/dist/Token/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-7tsRPFfY.js";
|
|
2
2
|
export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
|
package/dist/Token/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
1
2
|
import { t as usePressFeedback } from "./usePressFeedback-DkWA1son.js";
|
|
2
3
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
3
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
@@ -7,13 +8,41 @@ import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
|
7
8
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
8
9
|
import { n as disabledInteractionProps } from "./disabledInteraction-Bqoyhoss.js";
|
|
9
10
|
import { t as tokenMessages } from "./token-DcbdjdZ2.js";
|
|
10
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
|
|
11
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useTemplateRef, watch, withCtx } from "vue";
|
|
11
12
|
import "../styles/cut-text.css";
|
|
12
13
|
import "../styles/visually-hidden-utility.css";
|
|
13
14
|
import "../styles/token.css";
|
|
14
15
|
//#region src/Token/namingContext.ts
|
|
15
16
|
const tokenNamingKey = Symbol("astryx-token-naming");
|
|
16
17
|
//#endregion
|
|
18
|
+
//#region src/Token/useTokenFocusHandoff.ts
|
|
19
|
+
/** Token 里能拿焦点的部件:动作链接或按钮,以及删除按钮。 */
|
|
20
|
+
const FOCUS_PARTS = [".astryx-token-remove", ".astryx-token-action"];
|
|
21
|
+
/**
|
|
22
|
+
* 链接 Token 禁用或恢复时,路由链接组件和普通 `<a>` 互换,里面的部件跟着重建。
|
|
23
|
+
* 换之前焦点在 Token 里,换完后把焦点交给新的同一个部件(根、动作元素或删除按钮),
|
|
24
|
+
* 不让它掉回页面;焦点本来在别处则不去抢。
|
|
25
|
+
*/
|
|
26
|
+
function useTokenFocusHandoff(root, swapped) {
|
|
27
|
+
function element() {
|
|
28
|
+
const value = root();
|
|
29
|
+
if (value instanceof HTMLElement) return value;
|
|
30
|
+
const el = value?.$el;
|
|
31
|
+
return el instanceof HTMLElement ? el : null;
|
|
32
|
+
}
|
|
33
|
+
watch(swapped, () => {
|
|
34
|
+
const before = element();
|
|
35
|
+
const active = before?.ownerDocument.activeElement;
|
|
36
|
+
if (before == null || !(active instanceof HTMLElement) || !before.contains(active)) return;
|
|
37
|
+
const part = FOCUS_PARTS.find((selector) => active.matches(selector));
|
|
38
|
+
nextTick(() => {
|
|
39
|
+
const after = element();
|
|
40
|
+
const target = part == null ? after : after?.querySelector(part);
|
|
41
|
+
if (target != null && target !== active && !target.contains(target.ownerDocument.activeElement)) target.focus({ preventScroll: true });
|
|
42
|
+
});
|
|
43
|
+
}, { flush: "pre" });
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
17
46
|
//#region src/Token/Token.vue
|
|
18
47
|
const _hoisted_1 = {
|
|
19
48
|
key: 0,
|
|
@@ -24,7 +53,11 @@ const _hoisted_2 = ["dir"];
|
|
|
24
53
|
const _hoisted_3 = ["aria-disabled"];
|
|
25
54
|
const _hoisted_4 = ["dir"];
|
|
26
55
|
const _hoisted_5 = ["dir"];
|
|
27
|
-
const _hoisted_6 =
|
|
56
|
+
const _hoisted_6 = {
|
|
57
|
+
key: 4,
|
|
58
|
+
class: "astryx-token-end"
|
|
59
|
+
};
|
|
60
|
+
const _hoisted_7 = ["aria-label", "aria-disabled"];
|
|
28
61
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
29
62
|
name: "AstryxToken",
|
|
30
63
|
inheritAttrs: false,
|
|
@@ -60,6 +93,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
60
93
|
const linkComponent = useLinkComponent();
|
|
61
94
|
/** 删除按钮、尾部插槽里的控件被手指按下时,Token 自己的动作不执行,所以 Token 不亮。 */
|
|
62
95
|
const press = usePressFeedback({ isContainer: true });
|
|
96
|
+
/** 删除按钮在自己的圆形底上画悬停和按压,按下去看得出落在哪里。 */
|
|
97
|
+
const removePress = usePressFeedback({ hasOverlay: false });
|
|
63
98
|
/** 有链接时用的根组件,没有 provider 时还是 `<a>`。危险协议退回普通锚点。 */
|
|
64
99
|
const safeHref = computed(() => {
|
|
65
100
|
const href = props.href;
|
|
@@ -70,6 +105,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
70
105
|
return toRaw(linkComponent.value);
|
|
71
106
|
});
|
|
72
107
|
const naming = inject(tokenNamingKey, null);
|
|
108
|
+
const rootRef = useTemplateRef("root");
|
|
109
|
+
useTokenFocusHandoff(() => rootRef.value, () => props.disabled);
|
|
73
110
|
const removeLabel = computed(() => messages.value.token.remove(naming?.value.removeName ?? props.label));
|
|
74
111
|
const clickable = computed(() => attrs.onClick != null);
|
|
75
112
|
const linked = computed(() => safeHref.value != null);
|
|
@@ -162,7 +199,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
162
199
|
emit("remove", event);
|
|
163
200
|
}
|
|
164
201
|
return (_ctx, _cache) => {
|
|
165
|
-
return openBlock(), createBlock(resolveDynamicComponent(rootIsLink.value ? props.disabled ? "a" : linkRoot.value : "span"), mergeProps(rootAttrs.value, {
|
|
202
|
+
return openBlock(), createBlock(resolveDynamicComponent(rootIsLink.value ? props.disabled ? "a" : linkRoot.value : "span"), mergeProps({ ref: "root" }, rootAttrs.value, {
|
|
166
203
|
class: ["astryx-token", [`size-${props.size}`, {
|
|
167
204
|
"is-interactive": interactive.value,
|
|
168
205
|
"is-disabled": props.disabled
|
|
@@ -222,14 +259,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
222
259
|
class: normalizeClass(["astryx-token-label", labelClass.value]),
|
|
223
260
|
dir: labelDir.value
|
|
224
261
|
}, toDisplayString(props.label), 11, _hoisted_5)),
|
|
225
|
-
renderSlot(_ctx.$slots, "end", {}, () => [renderSlot(_ctx.$slots, "endContent")]),
|
|
262
|
+
unref(hasSlotContent)(_ctx.$slots.end) || unref(hasSlotContent)(_ctx.$slots.endContent) ? (openBlock(), createElementBlock("span", _hoisted_6, [renderSlot(_ctx.$slots, "end", {}, () => [renderSlot(_ctx.$slots, "endContent")])])) : createCommentVNode("v-if", true),
|
|
226
263
|
props.removable ? (openBlock(), createElementBlock("button", mergeProps({
|
|
227
|
-
key:
|
|
264
|
+
key: 5,
|
|
228
265
|
type: "button",
|
|
229
266
|
class: "astryx-token-remove",
|
|
230
267
|
"aria-label": removeLabel.value,
|
|
231
268
|
"aria-disabled": props.disabled || void 0
|
|
232
|
-
},
|
|
269
|
+
}, {
|
|
270
|
+
...unref(removePress).pressableProps,
|
|
271
|
+
...disabledInteraction.value
|
|
272
|
+
}, { onClick: onRemoveClick }), [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
233
273
|
width: "12",
|
|
234
274
|
height: "12",
|
|
235
275
|
viewBox: "0 0 16 16",
|
|
@@ -240,7 +280,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
240
280
|
stroke: "currentColor",
|
|
241
281
|
"stroke-width": "1.5",
|
|
242
282
|
"stroke-linecap": "round"
|
|
243
|
-
})], -1)])], 16,
|
|
283
|
+
})], -1)])], 16, _hoisted_7)) : createCommentVNode("v-if", true)
|
|
244
284
|
]),
|
|
245
285
|
_: 3
|
|
246
286
|
}, 16, [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-B7-c8UTz.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerPresentation, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-3nwPA8Az.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$5 } from "./Icon-BUSj1-Th.js";
|
|
2
2
|
import { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
3
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
|
-
import { t as _sfc_main$6 } from "./Button-
|
|
4
|
+
import { t as _sfc_main$6 } from "./Button-D8vn_DnZ.js";
|
|
5
5
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
6
6
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
7
7
|
import { t as _sfc_main$7 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
@@ -10,28 +10,28 @@ import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
|
10
10
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
11
11
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
12
12
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
13
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
13
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BW70yd3c.js";
|
|
14
14
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
15
15
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
16
16
|
import { t as useScrollableArea } from "./useScrollableArea-i2X5vvTv.js";
|
|
17
|
-
import { t as _sfc_main$8 } from "./Dialog-
|
|
18
|
-
import { t as _sfc_main$9 } from "./Heading-
|
|
17
|
+
import { t as _sfc_main$8 } from "./Dialog-CgnIHMCI.js";
|
|
18
|
+
import { t as _sfc_main$9 } from "./Heading-Cymy5utP.js";
|
|
19
19
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
20
20
|
import { t as _sfc_main$10 } from "./Stack-DPB-Ztf7.js";
|
|
21
|
-
import { t as _sfc_main$11 } from "./Text-
|
|
21
|
+
import { t as _sfc_main$11 } from "./Text-9twwURuI.js";
|
|
22
22
|
import { t as _sfc_main$12 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
23
23
|
import { t as useHeldPresentation } from "./useHeldPresentation-0Z0Untra.js";
|
|
24
|
-
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-
|
|
24
|
+
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-CXBBo9Ao.js";
|
|
25
25
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
26
|
-
import { n as spinnerOwnerKey, t as _sfc_main$13 } from "./Spinner-
|
|
27
|
-
import { t as _sfc_main$14 } from "./Field-
|
|
26
|
+
import { n as spinnerOwnerKey, t as _sfc_main$13 } from "./Spinner-D6U81W87.js";
|
|
27
|
+
import { t as _sfc_main$14 } from "./Field-jM0Ithrd.js";
|
|
28
28
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
29
29
|
import { n as alertDialogMessages, t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
30
|
-
import { t as _sfc_main$15 } from "./EmptyState-
|
|
31
|
-
import { t as _sfc_main$16 } from "./Token-
|
|
30
|
+
import { t as _sfc_main$15 } from "./EmptyState-B57OV1V_.js";
|
|
31
|
+
import { t as _sfc_main$16 } from "./Token-B_jnJ700.js";
|
|
32
32
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-D15jGSjP.js";
|
|
33
|
-
import { i as _sfc_main$17, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
34
|
-
import { t as _sfc_main$18 } from "./TextInput-
|
|
33
|
+
import { i as _sfc_main$17, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-TSkUldd9.js";
|
|
34
|
+
import { t as _sfc_main$18 } from "./TextInput-BGsRns-X.js";
|
|
35
35
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
36
36
|
import "../styles/layer.css";
|
|
37
37
|
import "../styles/alert-dialog.css";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
2
|
-
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-
|
|
1
|
+
import { T as _default } from "../index-vuxO2gyJ.js";
|
|
2
|
+
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CJFVvx_2.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-B7Yl723I.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as useTooltip } from "../useTooltip-
|
|
2
|
-
import { t as _sfc_main } from "../Tooltip-
|
|
1
|
+
import { t as useTooltip } from "../useTooltip-D5kJD9ed.js";
|
|
2
|
+
import { t as _sfc_main } from "../Tooltip-W32cHQH0.js";
|
|
3
3
|
export { _sfc_main as Tooltip, useTooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-
|
|
1
|
+
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-D5kJD9ed.js";
|
|
2
2
|
import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/tooltip.css";
|
|
4
4
|
//#region src/Tooltip/Tooltip.vue
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-vuxO2gyJ.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-C4S65SAW.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-TSkUldd9.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-KXBQ4jXf.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -5,17 +5,17 @@ import { t as _sfc_main$3 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
8
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
8
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BW70yd3c.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
|
-
import { t as _sfc_main$4 } from "./Spinner-
|
|
13
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
12
|
+
import { t as _sfc_main$4 } from "./Spinner-D6U81W87.js";
|
|
13
|
+
import { t as _sfc_main$5 } from "./Field-jM0Ithrd.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
|
-
import { t as _sfc_main$6 } from "./Token-
|
|
16
|
+
import { t as _sfc_main$6 } from "./Token-B_jnJ700.js";
|
|
17
17
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-D15jGSjP.js";
|
|
18
|
-
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
18
|
+
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-TSkUldd9.js";
|
|
19
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
20
20
|
import "../styles/layer.css";
|
|
21
21
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -3,7 +3,7 @@ import { t as _sfc_main$4 } from "./Icon-BUSj1-Th.js";
|
|
|
3
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
4
|
import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
5
5
|
import { r as keepDisabledRowUnfocused } from "./menuActivation-BQqnzKAX.js";
|
|
6
|
-
import { t as _sfc_main$5 } from "./Item-
|
|
6
|
+
import { t as _sfc_main$5 } from "./Item-DOATMVXE.js";
|
|
7
7
|
import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
8
8
|
import { r as useCompactDefinition } from "./compactDefinition-D32f2O_H.js";
|
|
9
9
|
import { r as readCompactTouch } from "./presentationHold-Bjjux3fp.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useAnnouncer } from "./announce-GU01Oix2.js";
|
|
2
2
|
import { t as renderedText } from "./renderedText-BwJdmps3.js";
|
|
3
|
-
import { onMounted, onUpdated, toValue } from "vue";
|
|
3
|
+
import { onMounted, onUpdated, toValue, watch } from "vue";
|
|
4
4
|
//#region src/composables/internal/announceRenderedText.ts
|
|
5
5
|
/** 里面的东西自己会被读出来的容器:它们送出的内容不用再播一遍。 */
|
|
6
6
|
const LIVE_CONTAINER = "[aria-live=\"polite\"], [aria-live=\"assertive\"], [role=\"status\"], [role=\"alert\"], [role=\"log\"]";
|
|
@@ -18,7 +18,7 @@ function isDocumentLoaded(element) {
|
|
|
18
18
|
* 需要在组件的 setup 里调用:用组件自己的挂载和更新钩子来看内容。
|
|
19
19
|
*/
|
|
20
20
|
function useAnnounceRenderedText(target, enabled, options = {}) {
|
|
21
|
-
const announce = useAnnouncer();
|
|
21
|
+
const announce = useAnnouncer({ hasReplace: options.hasReplace === true });
|
|
22
22
|
let lastText = null;
|
|
23
23
|
function check() {
|
|
24
24
|
const element = target.value;
|
|
@@ -45,6 +45,7 @@ function useAnnounceRenderedText(target, enabled, options = {}) {
|
|
|
45
45
|
}
|
|
46
46
|
onMounted(check);
|
|
47
47
|
onUpdated(check);
|
|
48
|
+
if (options.trigger != null) watch(options.trigger, check, { flush: "post" });
|
|
48
49
|
}
|
|
49
50
|
//#endregion
|
|
50
51
|
export { useAnnounceRenderedText as t };
|