@astryx-vue/core 0.42.6 → 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-CQxV1x0M.js → AlertDialog-r9VdV_oH.js} +1 -1
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- 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 +1 -1
- package/dist/{Breadcrumbs-B6UW2BdV.js → Breadcrumbs-D_GhNvfK.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +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/Chat/index.d.ts +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +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-DX9qEl8X.js → CommandPalette-BdfvSd8U.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DtewMXzB.js → ComplexSelector-QpUODnLj.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-Bs77yiLi.js → ContextMenu-BebiNEFX.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BQ_q7nbT.js → DateInput-B1C1bpAH.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-lun9lX7q.js → DateRangeInput-ByHRQ-Is.js} +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Dm8lyQlG.js → DateTimeInput-DkFcxpoJ.js} +3 -3
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-6rKG9kce.js → Dialog-CgnIHMCI.js} +32 -5
- package/dist/{Dialog-CEbICn0m.js → Dialog-zqsAwjle.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-C82o6bdA.js → Drawer-CWL0fCGw.js} +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-BiYgf2YY.js → DropdownMenu-Sb9A2F_S.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DpZLzzTZ.js → Lightbox-CQ0sOdK4.js} +33 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-s09q_Lot.js → MultiSelector-BI_uF-yk.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- 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-CvPQ6Xvk.js → Pagination-BPGgks2l.js} +1 -1
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-VGJEMOBl.js → Popover-OhEtacTy.js} +253 -33
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-B8VKqYSb.js → PowerSearch-DPGknVx8.js} +8 -8
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- 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-BV2L5xMI.js → Selector-D8BEYok_.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Dsf4UU08.js → Table-DQazvJ4Q.js} +5 -5
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-a83r3-AM.js → TimeField-Ct2akfr9.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BiYKuVMQ.js → TimeInput-CBVMN37Z.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-DQMcX2nf.js → Toast-C3khq9NA.js} +9 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-f1byujPP.js → Tokenizer-3nwPA8Az.js} +2 -2
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/{index-C93nwgTW.d.ts → index-51CkIKnI.d.ts} +1 -1
- package/dist/{index-DFlzXsvO.d.ts → index-ADSpm_Dq.d.ts} +7 -7
- package/dist/{index-DgNCHxvu.d.ts → index-B7-c8UTz.d.ts} +3 -3
- package/dist/{index-DPhQZXYw.d.ts → index-B7Yl723I.d.ts} +1 -1
- package/dist/{index-B7vE2Dx8.d.ts → index-BK9UUbsu.d.ts} +2 -2
- 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-CqvIpZ-t.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-CI-FbXLB.d.ts → index-C5aEstRY.d.ts} +4 -4
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-C9uW39Mj.d.ts} +3 -3
- package/dist/{index-CuBP0rmj.d.ts → index-CLOppj9J.d.ts} +7 -7
- package/dist/{index-BtqvPjAf.d.ts → index-D3UaSnbN.d.ts} +1 -1
- package/dist/{index-CbA8rR_b.d.ts → index-DDrL_-hJ.d.ts} +3 -3
- package/dist/{index-BfOs5BQj.d.ts → index-K9yFjQxo.d.ts} +1 -1
- 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-BI1QLuYB.d.ts → index-beOIC0Qk.d.ts} +2 -2
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-Upg2KRlh.d.ts → index-vuxO2gyJ.d.ts} +67 -67
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +28 -28
- package/dist/index.js +24 -24
- package/dist/{layerFocusReturn-uixUCSc8.js → layerFocusReturn-Bl6yja5A.js} +50 -2
- package/dist/{lazyBottomSheet-BfDsDl4w.js → lazyBottomSheet-CXBBo9Ao.js} +1 -1
- package/dist/{types-DTlpQo7j.d.ts → types-BsFCq23a.d.ts} +11 -2
- package/package.json +1 -1
- package/styles/dialog.css +5 -0
- package/styles/drawer.css +6 -0
- package/styles/popover.css +11 -3
- package/styles/toast.css +6 -0
- package/dist/{index-DrIxH3YE.d.ts → index-7tsRPFfY.d.ts} +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$11 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$11 } from "./BottomSheet-CY-dU3F5.js";
|
|
2
2
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
3
3
|
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
4
4
|
import { t as usePressFeedback } from "./usePressFeedback-DkWA1son.js";
|
|
@@ -65,7 +65,7 @@ import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o
|
|
|
65
65
|
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";
|
|
66
66
|
import { n as isActionTrigger } from "./useTouchTriggerInternal-B9YsuMRa.js";
|
|
67
67
|
import { t as useTypeahead } from "./useTypeahead-HlZ9cICe.js";
|
|
68
|
-
import { t as _sfc_main$69 } from "./Dialog-
|
|
68
|
+
import { t as _sfc_main$69 } from "./Dialog-CgnIHMCI.js";
|
|
69
69
|
import { t as useTooltip } from "./useTooltip-D5kJD9ed.js";
|
|
70
70
|
import { t as _sfc_main$188 } from "./Tooltip-W32cHQH0.js";
|
|
71
71
|
import { n as useTruncation } from "./useTruncation-D_T-ezdp.js";
|
|
@@ -73,7 +73,7 @@ import { t as _sfc_main$88 } from "./Heading-Cymy5utP.js";
|
|
|
73
73
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
74
74
|
import { t as _sfc_main$155 } from "./Stack-DPB-Ztf7.js";
|
|
75
75
|
import { t as _sfc_main$173 } from "./Text-9twwURuI.js";
|
|
76
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-
|
|
76
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-r9VdV_oH.js";
|
|
77
77
|
import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-0yi1xept.js";
|
|
78
78
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
79
79
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
@@ -90,12 +90,12 @@ import { t as _sfc_main$8 } from "./Banner-u7GJQV3O.js";
|
|
|
90
90
|
import { t as bannerMessages } from "./banner-Bv76b50U.js";
|
|
91
91
|
import { t as _sfc_main$10 } from "./Blockquote-DRoKdcxZ.js";
|
|
92
92
|
import "./Blockquote/index.js";
|
|
93
|
-
import { t as _sfc_main$12 } from "./BottomSheet-
|
|
93
|
+
import { t as _sfc_main$12 } from "./BottomSheet-C65IqXMQ.js";
|
|
94
94
|
import { t as _sfc_main$97 } from "./Item-DOATMVXE.js";
|
|
95
95
|
import { t as createSwipe } from "./createSwipe-DXObfkyb.js";
|
|
96
96
|
import { t as _sfc_main$43 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
97
97
|
import { a as _sfc_main$16, l as useDropdownMenuContext, m as useContextMenuSize, o as _sfc_main$15, p as useContextMenu, s as _sfc_main$14, u as useDropdownMenuRadioGroup } from "./accessibleName-Dpzu2nL1.js";
|
|
98
|
-
import { a as _sfc_main$75, i as _sfc_main$76, n as _sfc_main$78, r as _sfc_main$77, t as _sfc_main$74 } from "./DropdownMenu-
|
|
98
|
+
import { a as _sfc_main$75, i as _sfc_main$76, n as _sfc_main$78, r as _sfc_main$77, t as _sfc_main$74 } from "./DropdownMenu-Sb9A2F_S.js";
|
|
99
99
|
import { n as compactDefinition, t as DEFAULT_COMPACT_DEFINITION } from "./compactDefinition-D32f2O_H.js";
|
|
100
100
|
import { t as _sfc_main$71 } from "./Divider-mOZ6vIQw.js";
|
|
101
101
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
@@ -103,7 +103,7 @@ import { t as _sfc_main$154 } from "./Spinner-D6U81W87.js";
|
|
|
103
103
|
import { a as _sfc_main$136, i as isCoreIndicatorName, n as defaultIndicators, o as _sfc_main$42, r as getIndicator, t as useIndicator } from "./useIndicator-Co1ERlg-.js";
|
|
104
104
|
import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
|
|
105
105
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
106
|
-
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-
|
|
106
|
+
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-D_GhNvfK.js";
|
|
107
107
|
import { n as _sfc_main$19 } from "./ButtonGroup-Bt7UZF_U.js";
|
|
108
108
|
import { A as plainDateSetFirstOfMonth, C as plainDateIsAfter, D as plainDateMax, E as plainDateIsInRange, F as plainDateToday, I as plainDateWeekFieldName, M as plainDateToDate, N as plainDateToISO, O as plainDateMin, P as plainDateToInstant, S as plainDateGetWeekNumber, T as plainDateIsEqual, _ as plainDateDiffDays, a as DATE_FORMAT_SHORT_WITH_WEEKDAY, b as plainDateFromISO, c as DATE_FORMAT_WITH_WEEKDAY, d as getDaysInMonth, f as getTimeZoneParts, g as plainDateDayOfWeek, h as plainDateCreate, i as DATE_FORMAT_SHORT, j as plainDateSetStartOfWeek, k as plainDateSetEndOfWeekExclusive, l as SHARED_DATE_FORMAT_OPTIONS, m as plainDateAddMonths, n as DATE_FORMAT_MONTH_ONLY, o as DATE_FORMAT_SHORT_WITH_YEAR, p as plainDateAddDays, r as DATE_FORMAT_MONTH_YEAR, s as DATE_FORMAT_WEEKDAY_ONLY, t as DATE_FORMAT_LONG, u as formatSharedDate, v as plainDateFormat, w as plainDateIsBefore, x as plainDateFromInstant, y as plainDateFromDate } from "./plainDate-CaTDErKr.js";
|
|
109
109
|
import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
|
|
@@ -140,16 +140,16 @@ import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as D
|
|
|
140
140
|
import { _ as CodeLineTokens, a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$161, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "./Code-Cnk4QmuK.js";
|
|
141
141
|
import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-DqEriJMb.js";
|
|
142
142
|
import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
|
|
143
|
-
import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-
|
|
143
|
+
import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-BdfvSd8U.js";
|
|
144
144
|
import { t as inputMessages } from "./input-DUSvqqG_.js";
|
|
145
145
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
146
146
|
import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
|
|
147
|
-
import { n as usePopover, t as _sfc_main$131 } from "./Popover-
|
|
148
|
-
import { n as _sfc_main$60 } from "./ComplexSelector-
|
|
147
|
+
import { n as usePopover, t as _sfc_main$131 } from "./Popover-OhEtacTy.js";
|
|
148
|
+
import { n as _sfc_main$60 } from "./ComplexSelector-QpUODnLj.js";
|
|
149
149
|
import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
|
|
150
|
-
import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-
|
|
150
|
+
import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-BebiNEFX.js";
|
|
151
151
|
import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
152
|
-
import { t as _sfc_main$66 } from "./DateInput-
|
|
152
|
+
import { t as _sfc_main$66 } from "./DateInput-B1C1bpAH.js";
|
|
153
153
|
import { t as formatInstant } from "./formatInstant-CjCwl6JS.js";
|
|
154
154
|
import { a as pickerPresentationFromNativePicker, c as resolvePickerPresentation, i as effectivePickerPresentation, l as isLocaleDayFirst, o as presentationFromNativePicker, r as effectiveInputPresentation, s as resolveInputPresentation, t as DEFAULT_INPUT_PRESENTATION, u as parseDateInput } from "./inputPresentation-DES0JwkL.js";
|
|
155
155
|
import { n as alertDialogMessages, t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
@@ -179,14 +179,14 @@ import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
|
179
179
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
180
180
|
import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-5NXEHp0U.js";
|
|
181
181
|
import "./DateInput/index.js";
|
|
182
|
-
import { t as _sfc_main$67 } from "./DateRangeInput-
|
|
182
|
+
import { t as _sfc_main$67 } from "./DateRangeInput-ByHRQ-Is.js";
|
|
183
183
|
import "./DateRangeInput/index.js";
|
|
184
|
-
import { t as _sfc_main$68 } from "./DateTimeInput-
|
|
184
|
+
import { t as _sfc_main$68 } from "./DateTimeInput-DkFcxpoJ.js";
|
|
185
185
|
import "./DateTimeInput/index.js";
|
|
186
186
|
import { t as _sfc_main$70 } from "./DialogHeader-BpQQMQcb.js";
|
|
187
|
-
import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-
|
|
187
|
+
import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-zqsAwjle.js";
|
|
188
188
|
import "./Divider/index.js";
|
|
189
|
-
import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-
|
|
189
|
+
import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-CWL0fCGw.js";
|
|
190
190
|
import "./DropdownMenu/index.js";
|
|
191
191
|
import { t as _sfc_main$79 } from "./EmptyState-B57OV1V_.js";
|
|
192
192
|
import "./EmptyState/index.js";
|
|
@@ -208,7 +208,7 @@ import { n as useLocaleDirection, r as getLocaleDirection } from "./context-BNCj
|
|
|
208
208
|
import "./Kbd/index.js";
|
|
209
209
|
import { n as mergeInset, r as resolveInset, t as _sfc_main$99 } from "./LayerProvider-B6zpMBWC.js";
|
|
210
210
|
import { t as _sfc_main$102 } from "./Layout-DdsbcT6Z.js";
|
|
211
|
-
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-
|
|
211
|
+
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-CQ0sOdK4.js";
|
|
212
212
|
import { t as _sfc_main$106 } from "./Link-CRNgZw--.js";
|
|
213
213
|
import "./Link/index.js";
|
|
214
214
|
import { t as _sfc_main$107 } from "./LinkProvider-Qsps9_mL.js";
|
|
@@ -220,7 +220,7 @@ import { n as _sfc_main$112, t as _sfc_main$113 } from "./MetadataList-n3YXiP4a.
|
|
|
220
220
|
import "./MobileNav/index.js";
|
|
221
221
|
import { t as _sfc_main$116 } from "./MoreMenu-BJqN4qQ6.js";
|
|
222
222
|
import { t as _sfc_main$185 } from "./Token-B_jnJ700.js";
|
|
223
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-
|
|
223
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-BI_uF-yk.js";
|
|
224
224
|
import "./MultiSelector/index.js";
|
|
225
225
|
import { t as _sfc_main$121 } from "./NavItem-thEKXyJA.js";
|
|
226
226
|
import { t as _sfc_main$122 } from "./NavItem-BY24W2B0.js";
|
|
@@ -232,18 +232,18 @@ import "./NumberInput/index.js";
|
|
|
232
232
|
import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-CCnTR9Pe.js";
|
|
233
233
|
import { t as _sfc_main$127 } from "./OverflowList-uk0l80Zd.js";
|
|
234
234
|
import { n as useOverlay, r as _sfc_main$129, t as _sfc_main$128 } from "./Overlay-DKILTHxI.js";
|
|
235
|
-
import { t as _sfc_main$130 } from "./Pagination-
|
|
236
|
-
import { t as _sfc_main$146 } from "./Selector-
|
|
235
|
+
import { t as _sfc_main$130 } from "./Pagination-BPGgks2l.js";
|
|
236
|
+
import { t as _sfc_main$146 } from "./Selector-D8BEYok_.js";
|
|
237
237
|
import "./Pagination/index.js";
|
|
238
238
|
import { a as PALETTE_BLACK, c as PALETTE_RECIPE_V2, i as DEFAULT_21_STOPS, l as PALETTE_WHITE, n as generateTonalPalette, o as PALETTE_RECIPE, r as COMPACT_11_STOPS, s as PALETTE_RECIPES, t as themePalette } from "./palette-DlNBLR8U.js";
|
|
239
239
|
import "./Popover/index.js";
|
|
240
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-
|
|
240
|
+
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-DPGknVx8.js";
|
|
241
241
|
import { a as _sfc_main$198 } from "./useTypeaheadMenuConfig-TSkUldd9.js";
|
|
242
|
-
import { t as _sfc_main$186 } from "./Tokenizer-
|
|
242
|
+
import { t as _sfc_main$186 } from "./Tokenizer-3nwPA8Az.js";
|
|
243
243
|
import { t as _sfc_main$175 } from "./TextInput-BGsRns-X.js";
|
|
244
244
|
import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-DoI7wu5m.js";
|
|
245
245
|
import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioListItem-Bb0ggwoG.js";
|
|
246
|
-
import { t as _sfc_main$178 } from "./TimeInput-
|
|
246
|
+
import { t as _sfc_main$178 } from "./TimeInput-CBVMN37Z.js";
|
|
247
247
|
import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-KXBQ4jXf.js";
|
|
248
248
|
import { t as _sfc_main$133 } from "./ProgressBar-IRNmWLg-.js";
|
|
249
249
|
import "./Radio/index.js";
|
|
@@ -267,7 +267,7 @@ import { t as _sfc_main$157 } from "./StatusDot-CdtauWfk.js";
|
|
|
267
267
|
import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-BL01wjk9.js";
|
|
268
268
|
import "./Swipe/index.js";
|
|
269
269
|
import { t as _sfc_main$160 } from "./Switch-BJ9skC9r.js";
|
|
270
|
-
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-
|
|
270
|
+
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-DQazvJ4Q.js";
|
|
271
271
|
import { t as _sfc_main$187 } from "./Toolbar-BHkPxDxA.js";
|
|
272
272
|
import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-XKIbMcy5.js";
|
|
273
273
|
import "./Text/index.js";
|
|
@@ -279,7 +279,7 @@ import { t as _sfc_main$177 } from "./Thumbnail-iJILNRPc.js";
|
|
|
279
279
|
import "./TimeInput/index.js";
|
|
280
280
|
import { n as getPresentation, t as _sfc_main$179 } from "./Timer-DBujcX_B.js";
|
|
281
281
|
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-Dv6_wb89.js";
|
|
282
|
-
import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-
|
|
282
|
+
import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-C3khq9NA.js";
|
|
283
283
|
import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-fvo3Mxmb.js";
|
|
284
284
|
import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
|
|
285
285
|
import "./Tokenizer/index.js";
|
|
@@ -1,6 +1,53 @@
|
|
|
1
|
+
import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
|
|
1
2
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
2
3
|
import { t as FOCUSABLE_SELECTOR } from "./focus-x7mxEqjR.js";
|
|
3
4
|
import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
5
|
+
//#region src/layer/revealReturnTarget.ts
|
|
6
|
+
/**
|
|
7
|
+
* 焦点归还后把打开者露出来(上游 utils/focusReturn.ts 的 `revealReturnTarget`)。
|
|
8
|
+
*
|
|
9
|
+
* 归还焦点本身不滚动页面。打开者是 Tab 能到的控件、放得进可见区域、却被页面滚出了
|
|
10
|
+
* 视野(或只露出一部分)时,把它滚到最近的边上,键盘用户能看见焦点在哪。
|
|
11
|
+
*
|
|
12
|
+
* 不是 Tab 停靠点的目标不滚:WebKit 会把轻点按钮时最近的可聚焦祖先(比如
|
|
13
|
+
* `tabindex="-1"` 的主区域)记成打开者,滚到它会把页面卷回那个区域的顶边。
|
|
14
|
+
* 比可见区域还大的目标、被 `overflow: hidden` 裁掉的目标也不滚。
|
|
15
|
+
*/
|
|
16
|
+
/** Tab 能到它:本身可聚焦,也没有负的 tabindex 把它移出顺序。 */
|
|
17
|
+
function isTabStop(element) {
|
|
18
|
+
const attribute = element.getAttribute("tabindex");
|
|
19
|
+
if (attribute != null && Number.parseInt(attribute, 10) < 0) return false;
|
|
20
|
+
return element.matches(FOCUSABLE_SELECTOR);
|
|
21
|
+
}
|
|
22
|
+
function fitsVisibleArea(element) {
|
|
23
|
+
const doc = element.ownerDocument;
|
|
24
|
+
const view = doc.defaultView;
|
|
25
|
+
if (view == null) return false;
|
|
26
|
+
const box = element.getBoundingClientRect();
|
|
27
|
+
const viewport = view.visualViewport;
|
|
28
|
+
if (box.width > (viewport?.width ?? view.innerWidth) || box.height > (viewport?.height ?? view.innerHeight)) return false;
|
|
29
|
+
let shown = box;
|
|
30
|
+
for (let scroller = element.parentElement; scroller != null; scroller = scroller.parentElement) {
|
|
31
|
+
const style = view.getComputedStyle(scroller);
|
|
32
|
+
const scrollsX = SCROLLABLE_OVERFLOW.has(style.overflowX);
|
|
33
|
+
const scrollsY = SCROLLABLE_OVERFLOW.has(style.overflowY);
|
|
34
|
+
if (scrollsX && box.width > scroller.clientWidth || scrollsY && box.height > scroller.clientHeight) return false;
|
|
35
|
+
if (scroller === doc.documentElement || scroller === doc.body) continue;
|
|
36
|
+
const clip = scroller.getBoundingClientRect();
|
|
37
|
+
if (style.overflowX === "hidden" && (shown.left < clip.left || shown.right > clip.right) || style.overflowY === "hidden" && (shown.top < clip.top || shown.bottom > clip.bottom)) return false;
|
|
38
|
+
if (scrollsX || scrollsY) shown = clip;
|
|
39
|
+
}
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
/** 焦点在 `element` 上、它是 Tab 停靠点并且放得进可见区域时,把它滚到最近的边上。 */
|
|
43
|
+
function revealReturnTarget(element) {
|
|
44
|
+
if (element.ownerDocument.activeElement !== element || !isTabStop(element) || typeof element.scrollIntoView !== "function" || !fitsVisibleArea(element)) return;
|
|
45
|
+
element.scrollIntoView({
|
|
46
|
+
block: "nearest",
|
|
47
|
+
inline: "nearest"
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
4
51
|
//#region src/layer/layerFocusReturn.ts
|
|
5
52
|
function documentOf(element) {
|
|
6
53
|
if (element != null) return element.ownerDocument;
|
|
@@ -85,12 +132,13 @@ function findController(doc, layerId) {
|
|
|
85
132
|
return null;
|
|
86
133
|
}
|
|
87
134
|
/** 给本身不能聚焦的元素临时加一个 `tabindex="-1"`,焦点离开时摘掉。 */
|
|
88
|
-
function focusWithTemporaryStop(element) {
|
|
135
|
+
function focusWithTemporaryStop(element, reveal) {
|
|
89
136
|
if (!isFocusableNow(element)) {
|
|
90
137
|
element.setAttribute("tabindex", "-1");
|
|
91
138
|
element.addEventListener("blur", () => element.removeAttribute("tabindex"), { once: true });
|
|
92
139
|
}
|
|
93
140
|
focusForLastInput(element, { preventScroll: true });
|
|
141
|
+
if (reveal) revealReturnTarget(element);
|
|
94
142
|
}
|
|
95
143
|
/**
|
|
96
144
|
* 沿候选链把焦点送出这一层。只在焦点被困住时调用(见 `isLayerFocusStranded`)。
|
|
@@ -111,7 +159,7 @@ function restoreLayerFocus(record, options) {
|
|
|
111
159
|
];
|
|
112
160
|
for (const candidate of candidates) {
|
|
113
161
|
if (!qualifies(candidate, layer)) continue;
|
|
114
|
-
focusWithTemporaryStop(candidate);
|
|
162
|
+
focusWithTemporaryStop(candidate, options.reveal === true);
|
|
115
163
|
if (doc?.activeElement === candidate) return true;
|
|
116
164
|
}
|
|
117
165
|
devWarn(options.name ?? "Layer", "focus could not return anywhere after the layer closed: the opener, the trigger and every fallback are gone or cannot take focus.");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent } from "vue";
|
|
2
2
|
//#region src/BottomSheet/lazyBottomSheet.ts
|
|
3
3
|
function loadBottomSheet() {
|
|
4
|
-
return import("./BottomSheet-
|
|
4
|
+
return import("./BottomSheet-CY-dU3F5.js").then((n) => n.t);
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* 按需加载的 BottomSheet:只在底部弹层真正进入组件树时请求,只用锚定浮层的页面
|
|
@@ -8,6 +8,8 @@ type AdaptivePresentation = 'popover' | 'bottom-sheet' | 'adaptive';
|
|
|
8
8
|
type PopoverPlacement = LayerPlacement;
|
|
9
9
|
type PopoverAlignment = LayerAlignment;
|
|
10
10
|
type PopoverRole = 'dialog' | 'none';
|
|
11
|
+
/** 浮层打开期间 Tab 的去向:在浮层里循环,或按页面顺序穿过浮层。 */
|
|
12
|
+
type PopoverTabBehavior = 'contain' | 'pageOrder';
|
|
11
13
|
/**
|
|
12
14
|
* 内容放在哪:锚定在触发器上、底部弹层,或自适应(紧凑触屏上用底部弹层,
|
|
13
15
|
* 其余用浮层)。
|
|
@@ -32,8 +34,15 @@ interface PopoverProps {
|
|
|
32
34
|
label?: string;
|
|
33
35
|
/** `dialog` 为对话框,适用于包含交互内容的浮层;`none` 适用于内容自带角色的弹出列表或菜单。 */
|
|
34
36
|
role?: PopoverRole;
|
|
35
|
-
/** 为 true
|
|
37
|
+
/** 为 true 时浮层是模态对话框(带 `aria-modal`,页面其余部分不可用)。`tabBehavior` 为 `'pageOrder'` 时不生效。 */
|
|
36
38
|
isModal?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 浮层打开期间 Tab 去哪。`'contain'` 在浮层里循环;`'pageOrder'` 不圈焦点,
|
|
41
|
+
* Tab 按页面顺序走,浮层排在触发器后面,Escape 只在焦点在浮层、锚点或触发器上时关闭它。
|
|
42
|
+
* 适合新手引导、导览步骤。请在打开前设好。
|
|
43
|
+
* @default 'contain'
|
|
44
|
+
*/
|
|
45
|
+
tabBehavior?: PopoverTabBehavior;
|
|
37
46
|
/** 是否显示关闭按钮。关闭按钮默认隐藏,聚焦时显示。 */
|
|
38
47
|
hasCloseButton?: boolean;
|
|
39
48
|
/** 关闭按钮的文字,同时作为其无障碍名称。 */
|
|
@@ -64,4 +73,4 @@ interface PopoverProps {
|
|
|
64
73
|
presentation?: PopoverPresentation;
|
|
65
74
|
}
|
|
66
75
|
//#endregion
|
|
67
|
-
export { PopoverProps as a, PopoverPresentation as i, PopoverPadding as n, PopoverRole as o, PopoverPlacement as r,
|
|
76
|
+
export { PopoverProps as a, AdaptivePresentation as c, PopoverPresentation as i, PopoverPadding as n, PopoverRole as o, PopoverPlacement as r, PopoverTabBehavior as s, PopoverAlignment as t };
|
package/package.json
CHANGED
package/styles/dialog.css
CHANGED
|
@@ -138,6 +138,11 @@
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
/* 主题对所有人减少动效(Theme 写在根上的标记):任何指针下对话框都直接出现。 */
|
|
142
|
+
:where([data-astryx-reduced-motion]) .astryx-dialog[open] {
|
|
143
|
+
animation: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
141
146
|
@media (forced-colors: active) {
|
|
142
147
|
/* 强制配色会去掉阴影,遮罩颜色也由系统接管,对话框靠这圈边和页面分开。全屏对话框四周没有页面,不加。 */
|
|
143
148
|
.astryx-dialog:not(.astryx-dialog--fullscreen) {
|
package/styles/drawer.css
CHANGED
|
@@ -179,6 +179,12 @@
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
+
/* 主题对所有人减少动效时一样压到 0.01s。 */
|
|
183
|
+
:where([data-astryx-reduced-motion]) .astryx-drawer,
|
|
184
|
+
:where([data-astryx-reduced-motion]) .astryx-drawer--scrim::backdrop {
|
|
185
|
+
transition-duration: 0.01s;
|
|
186
|
+
}
|
|
187
|
+
|
|
182
188
|
@media (forced-colors: active) {
|
|
183
189
|
.astryx-drawer {
|
|
184
190
|
border-inline: 1px solid CanvasText;
|
package/styles/popover.css
CHANGED
|
@@ -93,10 +93,18 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
/* 浮层自己拿到键盘焦点时(内容里没有可聚焦的控件)画共用的焦点环。 */
|
|
97
|
+
.astryx-popover:focus-visible {
|
|
98
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent, #0074e2));
|
|
99
|
+
outline-offset: var(--astryx-focus-outline-offset, 0px);
|
|
100
|
+
}
|
|
101
|
+
|
|
96
102
|
@media (forced-colors: active) {
|
|
97
|
-
/*
|
|
98
|
-
|
|
99
|
-
|
|
103
|
+
/* 强制配色会去掉阴影,阴影是这块浮层唯一的边。边画成盒子里面的 1px 轮廓,不加尺寸,
|
|
104
|
+
贴着视口上限的浮层照样留出两边的空隙;键盘聚焦时焦点环换掉这条边。 */
|
|
105
|
+
.astryx-popover:not(:focus-visible) {
|
|
106
|
+
outline: 1px solid CanvasText;
|
|
107
|
+
outline-offset: -1px;
|
|
100
108
|
}
|
|
101
109
|
}
|
|
102
110
|
}
|
package/styles/toast.css
CHANGED
|
@@ -233,4 +233,10 @@
|
|
|
233
233
|
transition-duration: 0.01ms;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
+
|
|
237
|
+
/* 主题对所有人减少动效(Theme 写在根上的标记):和系统设置一样,滑动直接落位,过渡仍会结束。 */
|
|
238
|
+
:where([data-astryx-reduced-motion]) .astryx-toast-viewport__row,
|
|
239
|
+
:where([data-astryx-reduced-motion]) .astryx-toast {
|
|
240
|
+
transition-duration: 0.01ms;
|
|
241
|
+
}
|
|
236
242
|
}
|
|
@@ -43,9 +43,9 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
|
|
|
43
43
|
onRemove?: ((event: Event) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
size: TokenSize;
|
|
46
|
-
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
47
|
-
disabled: boolean;
|
|
48
46
|
labelHidden: boolean;
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
49
49
|
removable: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|