@astryx-vue/core 0.45.3 → 0.46.1
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-RCTKkU3N.js → AlertDialog-C7vR73rY.js} +2 -2
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-DWwY8mAg.js → AppShell-T02ZV-cq.js} +6 -6
- 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-Duytuz-E.js → BottomSheet-CH8G6HC4.js} +2 -2
- package/dist/{BottomSheet-CKBre1zt.js → BottomSheet-CRN7vHpj.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-Bk3b_Olo.js → Breadcrumbs-Bwd5Ncs1.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/Carousel/index.js +1 -1
- package/dist/{Carousel-DhYAjVyA.js → Carousel-C_WMu1g0.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CTc9Hs1X.js → Chat-B9gjtdUE.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-BZSjclkl.js → CheckboxListItem-BItPhY6_.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BolCSv5f.js → Collapsible-C-O5xVHH.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-B9yk95Hx.js → CommandPalette-DovO1AkX.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-B67oUZ4J.js → ComplexSelector-SVj3Rvw5.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CqnGrEb6.js → ContextMenu-LFyRypqg.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CIEEHDon.js → DateInput-BU_M6g1j.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BKCh_PmP.js → DateRangeInput-B7z6QEYg.js} +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Bk9lc1En.js → DateTimeInput-BhZHEX1C.js} +3 -3
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-DHH-rk4K.js → Dialog-BF8cQdBa.js} +1 -1
- package/dist/{Dialog-xRPou8Vu.js → Dialog-CZsoPMJP.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-DKr8RC2H.js → DropdownMenu-4-esDlBI.js} +3 -3
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/{Item-JktfViUH.js → Item-D4mWkTkn.js} +2 -2
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-CwBC_vhy.js → Layout-DfXTwWKS.js} +1 -1
- package/dist/{LayoutPanel-CNQxpDF3.js → LayoutPanel-DE9VF-sB.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-zLp_V3-j.js → Lightbox-Du79uG19.js} +2 -2
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +4 -4
- package/dist/{List-DJ24b8z9.js → List-INZ3S-pZ.js} +2 -2
- package/dist/{ListItem-C-ojoRaq.js → ListItem-Ds5nLB5D.js} +3 -3
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/MobileNav/index.js +2 -2
- package/dist/{MobileNav-DdCN2fof.js → MobileNav-B7dc-Afm.js} +2 -2
- package/dist/{MobileNavDrawer-BxsbCkRL.js → MobileNavDrawer-uW7GJVD-.js} +1 -1
- package/dist/{MobileNavToggle-B-JG5Jni.js → MobileNavToggle-B3iWj65f.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B5yaI1km.js → MoreMenu-Bc7kxMae.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DUNij2pB.js → MultiSelector-DO33TcAb.js} +2 -2
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CQmyAC9u.js → NumberInput-CxB2Lt8R.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-BnKdYUu0.js → Outline-C4j3zWvV.js} +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-JHn30y7O.js → Pagination-kyLNBr4_.js} +2 -2
- package/dist/{PickerWheel-D-Lx_I-8.js → PickerWheel-BN_Ad6FQ.js} +2 -2
- package/dist/Popover/index.d.ts +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DkfbbEPG.js → Popover-ChbuU4Nc.js} +2 -2
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-pX_9aGoe.js → PowerSearch-B8ubaAE3.js} +12 -12
- 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/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-BphbEkqv.js → ResizeHandle-xQLZpHuq.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-C5I9xTij.js → SegmentedControl-D7pHBEdQ.js} +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-DHfDMxIO.js → Selector-ChAPYgNU.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-gW6EWQkB.js → SideNav-DBNpvIvs.js} +4 -4
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BWGuROfN.js → Slider-3HSEWBNK.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CSxnI68c.js → Switch-a7Wl8I_P.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BjPt3UuI.js → Table-B-WmTplc.js} +9 -9
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bp9oOJRv.js → TextArea-D9o3gPp8.js} +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-r6SGYAJV.js → TextInput-9KSEUhQ8.js} +1 -1
- package/dist/Theme/index.d.ts +4 -4
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-fCN_zUNt.js → Theme-DXixI0z-.js} +151 -18
- package/dist/{TimeField-8oyTP3Xx.js → TimeField-CyXcvqrc.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-320mSsQ0.js → TimeInput-C6eMxL8g.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- 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-D8PCqwXO.js → Tokenizer-YPRYXnaq.js} +3 -3
- 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/TopNav/index.js +1 -1
- package/dist/{TopNav-O54-OTPK.js → TopNav-Cy4YOR7F.js} +2 -2
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Fy7KRNuK.js → TreeList-BeSycfOM.js} +3 -3
- package/dist/{accessibleName-DHGLl8Iq.js → accessibleName-BNoCpRe-.js} +1 -1
- package/dist/{adaptationTypes-D5HrfPSt.d.ts → adaptationTypes-CM8pvGGG.d.ts} +24 -6
- package/dist/{animator-L1kmTBSi.js → animator-ChW9baIw.js} +1 -1
- package/dist/{assertOptions-D0fy6a9-.js → assertOptions-B_PuRGYf.js} +1 -1
- package/dist/colorDefaults-B2CKnREh.js +117 -0
- package/dist/{compactDefinition-BPg0hR8Q.d.ts → compactDefinition-aL-2tuhZ.d.ts} +1 -1
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +5 -5
- package/dist/{composables-BN74Vfvk.js → composables-C-syBXby.js} +8 -7
- package/dist/{context-BBkmmLbb.js → context-DI28NEIM.js} +1 -1
- package/dist/{index-Cg6pihUE.d.ts → index-0rops6Vo.d.ts} +2 -2
- package/dist/{index-jpU-MIoV.d.ts → index-BAek0ZHf.d.ts} +4 -2
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-CkkybuPJ.d.ts → index-BTmfBGRb.d.ts} +4 -4
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-cgAit2pF.d.ts → index-BlY7M7_W.d.ts} +2 -2
- package/dist/{index-dgfLDqBm.d.ts → index-Br41ynrM.d.ts} +3 -3
- package/dist/{index-CpLGbFCR.d.ts → index-C5aEstRY.d.ts} +3 -3
- package/dist/{index-C5HUsKnf.d.ts → index-C7Z2FAJo.d.ts} +1 -1
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-C5NuAlfY.d.ts → index-D46MxxOl.d.ts} +1 -1
- package/dist/{index-CRVO1inY.d.ts → index-D7oZatKe.d.ts} +6 -6
- package/dist/{index-Dmr81uHZ.d.ts → index-DZUoC8aR.d.ts} +2 -2
- package/dist/{index-BtqvPjAf.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-FeZXsFO-.d.ts} +3 -3
- package/dist/{index-DB5qCY-e.d.ts → index-NbpMsjlB.d.ts} +1 -1
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-CTo75wH5.d.ts → index-WAaM7MUt.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-BtReVAyz.d.ts → index-fsiQpH20.d.ts} +64 -64
- package/dist/{index-PydsflFS.d.ts → index-pMXzt4R0.d.ts} +6 -6
- package/dist/{index-WBF_zxXX.d.ts → index-wLiRPL7x.d.ts} +2 -2
- package/dist/index.d.ts +27 -27
- package/dist/index.js +55 -55
- package/dist/internal/touch.js +2 -2
- package/dist/{itemSlots-CDpCiRWv.js → itemSlots-DQS1Q4hS.js} +1 -1
- package/dist/{landing-D7xDVHzh.js → landing-DovCl_EV.js} +1 -1
- package/dist/{lazyBottomSheet-BaF3XOW9.js → lazyBottomSheet-1hbBBtDy.js} +1 -1
- package/dist/palette/index.js +1 -1
- package/dist/{palette-DlNBLR8U.js → palette-DWaX6mbE.js} +1 -116
- package/dist/{reducedMotion-Dhe-YZCN.js → reducedMotion-CgciA13L.js} +1 -1
- package/dist/{reducedMotionMark-CYSyfURo.js → reducedMotionMark-D3dxwdiR.js} +5 -11
- package/dist/{reportChange-BBOtvOwM.js → reportChange-DIbgqzKF.js} +1 -1
- package/dist/{resizableChannel-2W9ef4QQ.js → resizableChannel-Bca902Ix.js} +2 -2
- package/dist/{rideKeyboard-DgecasHn.js → rideKeyboard-DB8qWWnZ.js} +1 -1
- package/dist/{snapPagingCatcher-BFfj7RfY.js → snapPagingCatcher-ivaaFuon.js} +1 -1
- package/dist/{types-BsFCq23a.d.ts → types-DXaFYryi.d.ts} +1 -1
- package/dist/{useAnimatedLayout-C8BF0iwr.js → useAnimatedLayout-BUXOuGrF.js} +1 -1
- package/dist/{useChatStreamScroll-BDD_ngLq.js → useChatStreamScroll-aJSQwmbd.js} +17 -3
- package/dist/{useMobileKeyboard-DxddrPiU.js → useMobileKeyboard-CVhwoxlP.js} +2 -2
- package/dist/{useResizable-C7McXqlY.js → useResizable-BAlmjLNN.js} +3 -3
- package/package.json +1 -1
- package/styles/motion.css +25 -0
- package/dist/{index-DKlE9Iqk.d.ts → index-CNZCQgHF.d.ts} +1 -1
|
@@ -100,16 +100,20 @@ declare function expandTypeScale(config: TypeScaleConfig): TypeScaleTokens;
|
|
|
100
100
|
//#region src/Theme/motionKnobs.d.ts
|
|
101
101
|
/**
|
|
102
102
|
* @file motionKnobs.ts
|
|
103
|
-
* @input A theme's motion knobs (`tempo`, `character`)
|
|
103
|
+
* @input A theme's motion knobs (`tempo`, `character`, `reducedMotion`)
|
|
104
104
|
* @output Their types and `resolveKnobs`, which fills in the defaults and
|
|
105
|
-
* clamps `tempo
|
|
106
|
-
* resolves to `'system'`
|
|
105
|
+
* clamps `tempo`
|
|
107
106
|
* @position Theme utility with no imports: themeMotion.ts builds the motion
|
|
108
107
|
* tokens on it, and the motion foundation reads a theme's knobs through it.
|
|
109
108
|
* Pure; safe on the server.
|
|
110
109
|
*/
|
|
111
110
|
/** How lively a theme's motion feels. */
|
|
112
111
|
type MotionCharacter = 'crisp' | 'standard' | 'expressive';
|
|
112
|
+
/**
|
|
113
|
+
* Whose Reduce Motion setting a theme follows: `'system'`, each person's own,
|
|
114
|
+
* or `'always'`, reduced for everyone.
|
|
115
|
+
*/
|
|
116
|
+
type ThemeReducedMotion = 'system' | 'always';
|
|
113
117
|
/** The motion knobs a theme sets. */
|
|
114
118
|
interface ThemeMotionKnobs {
|
|
115
119
|
/**
|
|
@@ -124,13 +128,26 @@ interface ThemeMotionKnobs {
|
|
|
124
128
|
*/
|
|
125
129
|
character?: MotionCharacter;
|
|
126
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* The knobs a theme sets on its own `motion`. `reducedMotion` is theme-wide:
|
|
133
|
+
* an adaptation rule cannot set it.
|
|
134
|
+
*/
|
|
135
|
+
interface ThemeRootMotionKnobs extends ThemeMotionKnobs {
|
|
136
|
+
/**
|
|
137
|
+
* `'system'` (default) follows each person's Reduce Motion setting;
|
|
138
|
+
* `'always'` reduces motion for everyone inside the theme, as if the
|
|
139
|
+
* setting were on. A nested theme can add `'always'` but never lifts an
|
|
140
|
+
* ancestor's.
|
|
141
|
+
*/
|
|
142
|
+
reducedMotion?: ThemeReducedMotion;
|
|
143
|
+
}
|
|
127
144
|
//#endregion
|
|
128
145
|
//#region src/Theme/themeMotion.d.ts
|
|
129
146
|
/**
|
|
130
147
|
* A theme's `motion`: the knobs, a `MotionScaleConfig`, or both. A
|
|
131
148
|
* `MotionScaleConfig`'s fields win over `tempo` for the durations they set.
|
|
132
149
|
*/
|
|
133
|
-
type ThemeMotionConfig =
|
|
150
|
+
type ThemeMotionConfig = ThemeRootMotionKnobs | (MotionScaleConfig & ThemeRootMotionKnobs);
|
|
134
151
|
//#endregion
|
|
135
152
|
//#region src/Indicator/types.d.ts
|
|
136
153
|
/**
|
|
@@ -342,7 +359,8 @@ interface DefineThemeInput<IconVariants extends readonly string[] | undefined =
|
|
|
342
359
|
* touch springs; `character` picks the entrance and move curves
|
|
343
360
|
* (`'crisp'`, `'standard'`, `'expressive'`). A duration scale (`fast`,
|
|
344
361
|
* `medium`, `slow`, `ratio`) sets durations itself and wins over `tempo`
|
|
345
|
-
* for them.
|
|
362
|
+
* for them. `reducedMotion: 'always'` reduces motion for everyone inside
|
|
363
|
+
* the theme; the default `'system'` follows each person's setting.
|
|
346
364
|
*/
|
|
347
365
|
motion?: ThemeMotionConfig;
|
|
348
366
|
/**
|
|
@@ -588,4 +606,4 @@ interface ResolvedThemeAdaptationRule {
|
|
|
588
606
|
components?: ComponentStyleMap;
|
|
589
607
|
}
|
|
590
608
|
//#endregion
|
|
591
|
-
export { IndicatorMap as A,
|
|
609
|
+
export { IndicatorMap as A, ThemeReducedMotion as B, ThemeTokens as C, IndicatorComponent as D, CoreIndicatorName as E, IndicatorSize as F, expandRadiusScale as G, TypeScaleConfig as H, IndicatorState as I, ColorScaleConfig as J, MotionScaleConfig as K, ThemeMotionConfig as L, IndicatorPosition as M, IndicatorProps as N, IndicatorFamily as O, IndicatorRegistry as P, MotionCharacter as R, ThemeTokenValue as S, TypographyRole as T, expandTypeScale as U, ThemeRootMotionKnobs as V, RadiusScaleConfig as W, expandColorScale as Y, ThemeDefinition as _, ThemeAdaptationValue as a, ThemeProps as b, WIDTH_BREAKPOINT_NAMES as c, ComponentStyleMap as d, DefineThemeInput as f, StyleOverrides as g, StyleBlock as h, ThemeAdaptationTypographyConfig as i, IndicatorName as j, IndicatorFamilyMap as k, WidthBreakpointName as l, MediaThemeProps as m, ThemeAdaptationCondition as n, ThemeAdaptationWidthCondition as o, MediaThemeMode as p, expandMotionScale as q, ThemeAdaptationRule as r, ThemeAdaptations as s, DEFAULT_WIDTH_BREAKPOINTS as t, WidthBreakpoints as u, ThemeIconVariant as v, TypographyConfig as w, ThemeSurfaceInput as x, ThemeMode as y, ThemeMotionKnobs as z };
|
|
@@ -2,7 +2,7 @@ import { f as toSpring } from "./roles-D6hLs7Rg.js";
|
|
|
2
2
|
import { a as registerReducedMotionCrossFade, c as solveSpring, i as reducedMotionCrossFade } from "./linearEasing-CDsqxyiS.js";
|
|
3
3
|
import { S as REDUCED_TRANSITION, T as SAMPLE_TOLERANCE, _ as IDENTITY, a as format, c as motionNow, d as sameShown, f as CHANNELS, g as END_RECHECK_MS, h as END_HOLD_MS, i as expandList, l as registerCustomProperty, m as DECAY_PROPERTIES, n as defaultPrefersReducedMotion, o as inlineText, p as CHANNEL_OF, r as expand, s as isIdentityText, t as defaultIsCoarsePointer, u as round, v as IDENTITY_TEXT, w as SAMPLE_GRID_MS, x as PROPERTIES, y as MAX_DURATION_MS } from "./cssValues-Cr6PhYTx.js";
|
|
4
4
|
import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
|
|
5
|
-
import { r as themeReducesMotion } from "./reducedMotionMark-
|
|
5
|
+
import { r as themeReducesMotion } from "./reducedMotionMark-D3dxwdiR.js";
|
|
6
6
|
import { a as registerPresentedOffset, c as writePresentedResolve, n as clearPresentedResolve } from "./presentation-DkdwDJUs.js";
|
|
7
7
|
import { n as isDevBuild } from "./devBuild-G249YcdZ.js";
|
|
8
8
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
@@ -3,7 +3,7 @@ import { r as isKeyboardModality } from "./interactionModality-4Km2ibsq.js";
|
|
|
3
3
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
4
4
|
import { n as focusElement } from "./focus-DxAD3umZ.js";
|
|
5
5
|
import { t as useHeldPresentation } from "./useHeldPresentation-0Z0Untra.js";
|
|
6
|
-
import { n as preloadBottomSheet } from "./lazyBottomSheet-
|
|
6
|
+
import { n as preloadBottomSheet } from "./lazyBottomSheet-1hbBBtDy.js";
|
|
7
7
|
import { computed, nextTick, onMounted, onScopeDispose, ref, watch } from "vue";
|
|
8
8
|
//#region src/Selector/selectorEscape.ts
|
|
9
9
|
/** 弹出层关掉后,焦点回到触发按钮,而不是掉到 body。 */
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { t as resolveTokenReferences } from "./tokenReferences-CdmofltU.js";
|
|
2
|
+
import { n as resolveLightDark } from "./colorMode-DVs86FF2.js";
|
|
3
|
+
//#region src/palette/colorDefaults.ts
|
|
4
|
+
/**
|
|
5
|
+
* 调色板按它来量的那套默认颜色:没有主题时 Astryx 的颜色令牌,写成 `light-dark()`
|
|
6
|
+
* 和 `var()` 引用,名字用不带前缀的写法。`themePalette()` 拿它当底,
|
|
7
|
+
* 选出来的灰阶、状态色文字都以它为准。
|
|
8
|
+
*/
|
|
9
|
+
const colorDefaults = {
|
|
10
|
+
"--color-accent": "light-dark(#0064E0, #0171E3)",
|
|
11
|
+
"--color-accent-muted": "light-dark(#0082FB33, #0082FB3F)",
|
|
12
|
+
"--color-on-accent": "light-dark(#FFFFFF, #FFFFFF)",
|
|
13
|
+
"--color-neutral": "light-dark(rgba(5, 54, 89, 0.1), rgba(223, 226, 229, 0.2))",
|
|
14
|
+
"--color-background-surface": "light-dark(#FFFFFF, #1F1F22)",
|
|
15
|
+
"--color-background-body": "light-dark(#F1F4F7, #111112)",
|
|
16
|
+
"--color-overlay": "light-dark(#01122866, #11111299)",
|
|
17
|
+
"--color-overlay-hover": "light-dark(#0536590C, #FFFFFF0C)",
|
|
18
|
+
"--color-overlay-pressed": "light-dark(#05365919, #FFFFFF19)",
|
|
19
|
+
"--color-background-muted": "light-dark(#0536590C, #1111127F)",
|
|
20
|
+
"--color-text-primary": "light-dark(#0A1317, #DFE2E5)",
|
|
21
|
+
"--color-text-secondary": "light-dark(#445564, #B0B5BB)",
|
|
22
|
+
"--color-text-disabled": "light-dark(#A4B0BC, #6F747C)",
|
|
23
|
+
"--color-text-accent": "light-dark(#0064E0, #3E9EFB)",
|
|
24
|
+
"--color-on-dark": "light-dark(#FFFFFF, #FFFFFF)",
|
|
25
|
+
"--color-on-light": "light-dark(#000000, #000000)",
|
|
26
|
+
"--color-icon-accent": "light-dark(#0064E0, #2694FE)",
|
|
27
|
+
"--color-icon-primary": "light-dark(#0A1317, #DFE2E5)",
|
|
28
|
+
"--color-icon-secondary": "light-dark(#4E606F, #AAAFB5)",
|
|
29
|
+
"--color-icon-disabled": "light-dark(#A4B0BC, #6F747C)",
|
|
30
|
+
"--color-background-card": "light-dark(#FFFFFF, #1F1F22)",
|
|
31
|
+
"--color-background-popover": "light-dark(#FFFFFF, #28292C)",
|
|
32
|
+
"--color-background-inverted": "light-dark(#0A1317, #FFFFFF)",
|
|
33
|
+
"--color-background-error-inverted": "light-dark(#AA071E, #E3193B)",
|
|
34
|
+
"--color-info": "light-dark(#0064E0, #0064E0)",
|
|
35
|
+
"--color-info-muted": "light-dark(#0082FB33, #0082FB3F)",
|
|
36
|
+
"--color-on-info": "light-dark(#FFFFFF, #FFFFFF)",
|
|
37
|
+
"--color-success": "light-dark(#0D8626, #0D8626)",
|
|
38
|
+
"--color-success-muted": "light-dark(#0B991F33, #0B991F3F)",
|
|
39
|
+
"--color-on-success": "light-dark(#FFFFFF, #FFFFFF)",
|
|
40
|
+
"--color-error": "light-dark(#E3193B, #F5394F)",
|
|
41
|
+
"--color-error-muted": "light-dark(#E3193B33, #F5394F3F)",
|
|
42
|
+
"--color-on-error": "light-dark(#FFFFFF, #0A1317)",
|
|
43
|
+
"--color-warning": "light-dark(#E9AF08, #F2C00B)",
|
|
44
|
+
"--color-warning-muted": "light-dark(#E2A40033, #E2A4003F)",
|
|
45
|
+
"--color-on-warning": "light-dark(#0A1317, #0A1317)",
|
|
46
|
+
"--color-text-info": "var(--color-text-blue)",
|
|
47
|
+
"--color-text-success": "var(--color-text-green)",
|
|
48
|
+
"--color-text-warning": "var(--color-text-yellow)",
|
|
49
|
+
"--color-text-error": "var(--color-text-red)",
|
|
50
|
+
"--color-icon-info": "var(--color-text-info)",
|
|
51
|
+
"--color-icon-success": "var(--color-text-success)",
|
|
52
|
+
"--color-icon-warning": "var(--color-text-warning)",
|
|
53
|
+
"--color-icon-error": "var(--color-text-error)",
|
|
54
|
+
"--color-border-info": "var(--color-text-info)",
|
|
55
|
+
"--color-border-success": "var(--color-text-success)",
|
|
56
|
+
"--color-border-warning": "var(--color-text-warning)",
|
|
57
|
+
"--color-border-error": "var(--color-text-error)",
|
|
58
|
+
"--color-on-info-muted": "var(--color-text-blue)",
|
|
59
|
+
"--color-on-success-muted": "var(--color-text-green)",
|
|
60
|
+
"--color-on-warning-muted": "var(--color-text-yellow)",
|
|
61
|
+
"--color-on-error-muted": "var(--color-text-red)",
|
|
62
|
+
"--color-border": "light-dark(#05365919, #F2F4F619)",
|
|
63
|
+
"--color-border-emphasized": "light-dark(#CCD3DB, #494D53)",
|
|
64
|
+
"--color-skeleton": "light-dark(#CCD3DB, #5A5E66)",
|
|
65
|
+
"--color-track": "light-dark(#CCD3DB, #5A5E66)",
|
|
66
|
+
"--color-shadow": "light-dark(rgba(5, 54, 89, 0.1), rgba(0, 0, 0, 0.3))",
|
|
67
|
+
"--color-tint-hover": "light-dark(black, white)",
|
|
68
|
+
"--color-background-blue": "light-dark(#0171E333, #0171E333)",
|
|
69
|
+
"--color-border-blue": "light-dark(#0064E0, #2694FE)",
|
|
70
|
+
"--color-icon-blue": "light-dark(#0064E0, #2694FE)",
|
|
71
|
+
"--color-text-blue": "light-dark(#042F97, #AFD7FF)",
|
|
72
|
+
"--color-background-cyan": "light-dark(#03A7D733, #03A7D733)",
|
|
73
|
+
"--color-border-cyan": "light-dark(#089DD0, #0171A4)",
|
|
74
|
+
"--color-icon-cyan": "light-dark(#00ACC1, #26C6DA)",
|
|
75
|
+
"--color-text-cyan": "light-dark(#014975, #A1EEF9)",
|
|
76
|
+
"--color-background-gray": "light-dark(#0A131733, #666A724C)",
|
|
77
|
+
"--color-border-gray": "light-dark(#647685, #748695)",
|
|
78
|
+
"--color-icon-gray": "light-dark(#4E606F, #AAAFB5)",
|
|
79
|
+
"--color-text-gray": "light-dark(#0A1317, #E7EAED)",
|
|
80
|
+
"--color-background-green": "light-dark(#24BB5E33, #24BB5E33)",
|
|
81
|
+
"--color-border-green": "light-dark(#0D8626, #0B991F)",
|
|
82
|
+
"--color-icon-green": "light-dark(#0D8626, #26A756)",
|
|
83
|
+
"--color-text-green": "light-dark(#09441F, #A5F690)",
|
|
84
|
+
"--color-background-orange": "light-dark(#F2790233, #F2790233)",
|
|
85
|
+
"--color-border-orange": "light-dark(#EB6E00, #B34A01)",
|
|
86
|
+
"--color-icon-orange": "light-dark(#E9690B, #FB8C00)",
|
|
87
|
+
"--color-text-orange": "light-dark(#6B2203, #FDB876)",
|
|
88
|
+
"--color-background-pink": "light-dark(#E638B333, #E638B333)",
|
|
89
|
+
"--color-border-pink": "light-dark(#F351C0, #C02294)",
|
|
90
|
+
"--color-icon-pink": "light-dark(#C2185B, #EC407A)",
|
|
91
|
+
"--color-text-pink": "light-dark(#650053, #FEADE3)",
|
|
92
|
+
"--color-background-purple": "light-dark(#7952FF33, #7952FF33)",
|
|
93
|
+
"--color-border-purple": "light-dark(#9081FF, #7340FE)",
|
|
94
|
+
"--color-icon-purple": "light-dark(#5B08D8, #7952FF)",
|
|
95
|
+
"--color-text-purple": "light-dark(#3E0697, #B3B0FE)",
|
|
96
|
+
"--color-background-red": "light-dark(#E3193B33, #E3193B33)",
|
|
97
|
+
"--color-border-red": "light-dark(#E3193B, #F5394F)",
|
|
98
|
+
"--color-icon-red": "light-dark(#D31130, #E3193B)",
|
|
99
|
+
"--color-text-red": "light-dark(#7B0210, #FFB2B8)",
|
|
100
|
+
"--color-background-teal": "light-dark(#0DB7AF33, #0DB7AF33)",
|
|
101
|
+
"--color-border-teal": "light-dark(#08A3A3, #08767D)",
|
|
102
|
+
"--color-icon-teal": "light-dark(#009688, #26A69A)",
|
|
103
|
+
"--color-text-teal": "light-dark(#083943, #40DCCD)",
|
|
104
|
+
"--color-background-yellow": "light-dark(#E2A40033, #E2A40033)",
|
|
105
|
+
"--color-border-yellow": "light-dark(#C58600, #B47700)",
|
|
106
|
+
"--color-icon-yellow": "light-dark(#FBC02D, #FFEE58)",
|
|
107
|
+
"--color-text-yellow": "light-dark(#753F07, #FBCE03)",
|
|
108
|
+
"--focus-outline-color": "var(--color-accent)"
|
|
109
|
+
};
|
|
110
|
+
/** 某个模式下每个默认颜色的具体值,`light-dark()` 和 `var()` 都已展开。 */
|
|
111
|
+
function resolveDefaultColors(mode) {
|
|
112
|
+
const picked = {};
|
|
113
|
+
for (const [token, value] of Object.entries(colorDefaults)) picked[token] = resolveLightDark(value, mode);
|
|
114
|
+
return resolveTokenReferences(picked);
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
export { resolveDefaultColors as n, colorDefaults as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useAnimatedLayout, r as AnimatedLayout, t as UseAnimatedLayoutOptions } from "../useAnimatedLayout-D94sdliy.js";
|
|
2
2
|
import { i as createReorderable, n as Reorderable, r as ReorderableOptions, t as ReorderMove } from "../createReorderable-Bw3Q9mUd.js";
|
|
3
|
-
import { $ as parseISODate, $n as formatDisplayTime, $r as AnimatorDecayVelocity, $t as IndicatorFocusRingHandlers, A as useRestoreFocus, An as EntryAnimationPreset, Ar as UseChatNewMessagesOptions, At as LinkifyPattern, B as UseOverflowOptions, Bn as useDisclosureHandle, Br as useAnimator, Bt as UseLayerReturn, C as ScrollStickyContainment, Cn as FileSelectionResult, Cr as useClickableContainer, Ct as LongPressOptions, D as useScrollableArea, Dn as FieldControlState, Dr as UseChatStreamScrollReturn, Dt as UseListFocusOptions, E as UseScrollableAreaResult, En as selectFiles, Er as UseChatStreamScrollOptions, Et as ListFocusOrientation, F as usePressFeedback, Fn as useDragToSnapPoints, Fr as useAppShellMobile, Ft as useLayerMountTarget, G as computeOverflow, Gn as resolveDatePresentation, Gr as PanGestureEvent, Gt as useKeyboardHint, H as useOverflow, Hn as useDevWarning, Hr as DragToSnapPointsOptions, Ht as KeyboardHintOrientation, I as PendingChange, In as UseDismissOptions, Ir as AnnounceFn, It as useLayerTeleportTarget, J as UseNumberFieldOptions, Jn as ISOTimeString, Jr as createPanGesture, Jt as UseInteractiveRoleReturn, K as NumberField, Kn as resolveDateSurface, Kr as PanGestureOptions, Kt as InteractiveRole, L as usePendingChange, Ln as useDismiss, Lr as UseAnnounceOptions, Lt as useResolvedLayerTeleport, M as useReorderable, Mn as UseEntryAnimationReturn, Mr as useChatNewMessages, Mt as LinkifyTextSegment, N as UsePressFeedbackOptions, Nn as useEntryAnimation, Nr as AppShellMobile, Nt as UseLinkifyOptions, O as RestoreFocus, On as FieldControlStateInput, Or as useChatStreamScroll, Ot as useListFocus, P as UsePressFeedbackReturn, Pn as UseDragToSnapPointsResult, Pr as appShellMobileKey, Pt as useLinkify, Q as buildMonthGrid, Qn as TimeSurface, Qr as AnimatorChannel, Qt as useInputContainer, R as usePanGesture, Rn as DisclosureHandle, Rr as useAnnounce, Rt as LayerMode, S as ScrollRole, Sn as FileSelectionOptions, Sr as hasTextSelection, St as LongPressHandlers, T as UseScrollableAreaOptions, Tn as formatFileSize, Tr as ChatScrollToBottomOptions, Tt as ListFocus, U as ComputeOverflowInput, Un as DatePresentation, Ur as createDragToSnapPoints, Ut as UseKeyboardHint, V as UseOverflowReturn, Vn as devWarn, Vr as DragToSnapPoints, Vt as useLayer, W as ComputeOverflowResult, Wn as DateSurface, Wr as PanGesture, Wt as UseKeyboardHintOptions, X as useNumberField, Xn as ParsedTime, Xr as Animator, Xt as InputContainerHandlers, Y as computeSteppedValue, Yn as NativePicker, Yr as createAnimator, Yt as useInteractiveRole, Z as addMonths, Zn as TimePresentation, Zr as AnimatorAnimateOptions, Zt as UseInputContainerOptions, _ as useScrollLock, _n as useGridFocus, _r as useCombobox, _t as MenuPressPointerType, a as UseTouchTriggerOptions, ai as ISODateRange, an as imageModeFromPixels, ar as shiftTime, at as MENU_PRESS_LIT_ATTRIBUTE, b as ScrollKeyboardAccess, bn as useFocusTrap, br as UseClickableContainerOptions, bt as useMediaQuery, c as isActionTrigger, ci as applyRangeClick, cn as Hotkey, cr as useControllableState, ct as useMenuPress, d as snapToGraphemeBoundary, di as isDayOutsideSpan, dn as useHandleRef, dr as UseContainerReveal, dt as resetMenuPress, ei as AnimatorHandle, en as UseIndicatorFocusRingOptions, er as formatISOTime, et as toISODate, f as useStreamingText, fi as isRangeWithinSpan, fn as GridRovingFocus, fr as UseContainerRevealOptions, ft as MENU_PRESS_HANDOFF_PX, g as useScrollOverflow, gi as spanDays, gn as UseGridFocusReturn, gr as UseComboboxOptions, gt as MenuPressGesture, h as UseScrollOverflowResult, hi as resolveWeekStart, hn as UseGridFocusOptions, hr as ComboboxOption, ht as MenuPressEvent, i as LayerTouchTrigger, ii as SnapPagingOptions, in as UseImageModeOptions, ir as resolveTimeSurface, it as useMergedRefs, j as useResolvedLabelHidden, jn as UseEntryAnimationOptions, jr as UseChatNewMessagesReturn, jt as LinkifySegment, k as UseRestoreFocusOptions, kn as useFieldControlState, kr as CHAT_MESSAGE_CLASS, kt as LinkifyLinkSegment, l as StreamingTextSpeed, li as compareISODate, ln as useHotkeys, lr as ContainerRevealOptions, lt as MENU_PRESS_MARKER, m as ScrollOverflowState, mi as orderRange, mn as useGridRovingFocus, mr as Combobox, mt as MenuPressEffect, n as UseTypeaheadReturn, ni as AnimatorValues, nn as useIndicatorFocusRing, nr as parseDisplayTime, nt as MergedRef, o as UseTouchTriggerReturn, oi as RangeClickResult, on as perceptualLightness, or as ControllableState, ot as MenuPress, p as useSnapPaging, pi as isSameRange, pn as UseGridRovingFocusOptions, pr as useContainerReveal, pt as MENU_PRESS_SETTLE_MS, q as NumberStepDirection, qn as HourFormat, qr as PanGestureState, qt as UseInteractiveRoleOptions, r as useTypeahead, ri as SnapPaging, rn as ImageSampleRegion, rr as parseISOTime, rt as MergedRefHandle, s as useTouchTrigger, si as WeekStartsOn, sn as useImageMode, sr as UseControllableStateOptions, st as MenuPressOptions, t as UseTypeaheadOptions, ti as AnimatorSnapshot, tn as UseIndicatorFocusRingReturn, tr as isTimeInRange, tt as todayISODate, u as UseStreamingTextOptions, ui as formatDateRange, un as HandleRef, ur as ContentRevealOptions, ut as isMenuPressActivation, v as ScrollAxis, vn as FocusTrap, vr as useCoarsePointer, vt as MenuPressStep, w as ScrollableAreaState, wn as FileSizeUnits, wr as INTERACTIVE_SELECTORS, wt as useLongPress, x as ScrollOverscroll, xn as FileRejection, xr as hasInteractiveAncestor, xt as watchMediaQuery, y as ScrollAxisState, yn as UseFocusTrapOptions, yr as ClickableContainerHandlers, yt as menuPressStep, z as OverflowInlineBounds, zn as DisclosureHandleRef, zr as AnnouncePoliteness, zt as UseLayerOptions } from "../index-
|
|
3
|
+
import { $ as parseISODate, $n as formatDisplayTime, $r as AnimatorDecayVelocity, $t as IndicatorFocusRingHandlers, A as useRestoreFocus, An as EntryAnimationPreset, Ar as UseChatNewMessagesOptions, At as LinkifyPattern, B as UseOverflowOptions, Bn as useDisclosureHandle, Br as useAnimator, Bt as UseLayerReturn, C as ScrollStickyContainment, Cn as FileSelectionResult, Cr as useClickableContainer, Ct as LongPressOptions, D as useScrollableArea, Dn as FieldControlState, Dr as UseChatStreamScrollReturn, Dt as UseListFocusOptions, E as UseScrollableAreaResult, En as selectFiles, Er as UseChatStreamScrollOptions, Et as ListFocusOrientation, F as usePressFeedback, Fn as useDragToSnapPoints, Fr as useAppShellMobile, Ft as useLayerMountTarget, G as computeOverflow, Gn as resolveDatePresentation, Gr as PanGestureEvent, Gt as useKeyboardHint, H as useOverflow, Hn as useDevWarning, Hr as DragToSnapPointsOptions, Ht as KeyboardHintOrientation, I as PendingChange, In as UseDismissOptions, Ir as AnnounceFn, It as useLayerTeleportTarget, J as UseNumberFieldOptions, Jn as ISOTimeString, Jr as createPanGesture, Jt as UseInteractiveRoleReturn, K as NumberField, Kn as resolveDateSurface, Kr as PanGestureOptions, Kt as InteractiveRole, L as usePendingChange, Ln as useDismiss, Lr as UseAnnounceOptions, Lt as useResolvedLayerTeleport, M as useReorderable, Mn as UseEntryAnimationReturn, Mr as useChatNewMessages, Mt as LinkifyTextSegment, N as UsePressFeedbackOptions, Nn as useEntryAnimation, Nr as AppShellMobile, Nt as UseLinkifyOptions, O as RestoreFocus, On as FieldControlStateInput, Or as useChatStreamScroll, Ot as useListFocus, P as UsePressFeedbackReturn, Pn as UseDragToSnapPointsResult, Pr as appShellMobileKey, Pt as useLinkify, Q as buildMonthGrid, Qn as TimeSurface, Qr as AnimatorChannel, Qt as useInputContainer, R as usePanGesture, Rn as DisclosureHandle, Rr as useAnnounce, Rt as LayerMode, S as ScrollRole, Sn as FileSelectionOptions, Sr as hasTextSelection, St as LongPressHandlers, T as UseScrollableAreaOptions, Tn as formatFileSize, Tr as ChatScrollToBottomOptions, Tt as ListFocus, U as ComputeOverflowInput, Un as DatePresentation, Ur as createDragToSnapPoints, Ut as UseKeyboardHint, V as UseOverflowReturn, Vn as devWarn, Vr as DragToSnapPoints, Vt as useLayer, W as ComputeOverflowResult, Wn as DateSurface, Wr as PanGesture, Wt as UseKeyboardHintOptions, X as useNumberField, Xn as ParsedTime, Xr as Animator, Xt as InputContainerHandlers, Y as computeSteppedValue, Yn as NativePicker, Yr as createAnimator, Yt as useInteractiveRole, Z as addMonths, Zn as TimePresentation, Zr as AnimatorAnimateOptions, Zt as UseInputContainerOptions, _ as useScrollLock, _n as useGridFocus, _r as useCombobox, _t as MenuPressPointerType, a as UseTouchTriggerOptions, ai as ISODateRange, an as imageModeFromPixels, ar as shiftTime, at as MENU_PRESS_LIT_ATTRIBUTE, b as ScrollKeyboardAccess, bn as useFocusTrap, br as UseClickableContainerOptions, bt as useMediaQuery, c as isActionTrigger, ci as applyRangeClick, cn as Hotkey, cr as useControllableState, ct as useMenuPress, d as snapToGraphemeBoundary, di as isDayOutsideSpan, dn as useHandleRef, dr as UseContainerReveal, dt as resetMenuPress, ei as AnimatorHandle, en as UseIndicatorFocusRingOptions, er as formatISOTime, et as toISODate, f as useStreamingText, fi as isRangeWithinSpan, fn as GridRovingFocus, fr as UseContainerRevealOptions, ft as MENU_PRESS_HANDOFF_PX, g as useScrollOverflow, gi as spanDays, gn as UseGridFocusReturn, gr as UseComboboxOptions, gt as MenuPressGesture, h as UseScrollOverflowResult, hi as resolveWeekStart, hn as UseGridFocusOptions, hr as ComboboxOption, ht as MenuPressEvent, i as LayerTouchTrigger, ii as SnapPagingOptions, in as UseImageModeOptions, ir as resolveTimeSurface, it as useMergedRefs, j as useResolvedLabelHidden, jn as UseEntryAnimationOptions, jr as UseChatNewMessagesReturn, jt as LinkifySegment, k as UseRestoreFocusOptions, kn as useFieldControlState, kr as CHAT_MESSAGE_CLASS, kt as LinkifyLinkSegment, l as StreamingTextSpeed, li as compareISODate, ln as useHotkeys, lr as ContainerRevealOptions, lt as MENU_PRESS_MARKER, m as ScrollOverflowState, mi as orderRange, mn as useGridRovingFocus, mr as Combobox, mt as MenuPressEffect, n as UseTypeaheadReturn, ni as AnimatorValues, nn as useIndicatorFocusRing, nr as parseDisplayTime, nt as MergedRef, o as UseTouchTriggerReturn, oi as RangeClickResult, on as perceptualLightness, or as ControllableState, ot as MenuPress, p as useSnapPaging, pi as isSameRange, pn as UseGridRovingFocusOptions, pr as useContainerReveal, pt as MENU_PRESS_SETTLE_MS, q as NumberStepDirection, qn as HourFormat, qr as PanGestureState, qt as UseInteractiveRoleOptions, r as useTypeahead, ri as SnapPaging, rn as ImageSampleRegion, rr as parseISOTime, rt as MergedRefHandle, s as useTouchTrigger, si as WeekStartsOn, sn as useImageMode, sr as UseControllableStateOptions, st as MenuPressOptions, t as UseTypeaheadOptions, ti as AnimatorSnapshot, tn as UseIndicatorFocusRingReturn, tr as isTimeInRange, tt as todayISODate, u as UseStreamingTextOptions, ui as formatDateRange, un as HandleRef, ur as ContentRevealOptions, ut as isMenuPressActivation, v as ScrollAxis, vn as FocusTrap, vr as useCoarsePointer, vt as MenuPressStep, w as ScrollableAreaState, wn as FileSizeUnits, wr as INTERACTIVE_SELECTORS, wt as useLongPress, x as ScrollOverscroll, xn as FileRejection, xr as hasInteractiveAncestor, xt as watchMediaQuery, y as ScrollAxisState, yn as UseFocusTrapOptions, yr as ClickableContainerHandlers, yt as menuPressStep, z as OverflowInlineBounds, zn as DisclosureHandleRef, zr as AnnouncePoliteness, zt as UseLayerOptions } from "../index-BAek0ZHf.js";
|
|
4
4
|
import { a as SearchSource, c as createStaticSource, i as SearchContext, l as useAsyncSource, n as AsyncSourceStatus, o as SearchableItem, r as CreateStaticSourceOptions, s as UseAsyncSourceOptions, t as AsyncSource } from "../useAsyncSource-Dx9P9Sc4.js";
|
|
5
5
|
import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-DeO8fCW_.js";
|
|
6
6
|
import { t as characterCount } from "../characters-rcDbGt71.js";
|
|
@@ -8,13 +8,13 @@ import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
|
|
|
8
8
|
import { n as watchMediaQuery, t as useMediaQuery } from "../useMediaQuery-DKnSDG3S.js";
|
|
9
9
|
import { t as characterCount } from "../characters-DmSa8HSB.js";
|
|
10
10
|
import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
|
|
11
|
-
import { S as createAnimator, _ as useControllableState, a as useReorderable, b as createReorderable, c as useKeyboardHint, d as perceptualLightness, f as useImageMode, g as useDragToSnapPoints, h as useEntryAnimation, i as useSnapPaging, l as useIndicatorFocusRing, m as useGridFocus, n as snapToGraphemeBoundary, o as usePanGesture, p as useGridRovingFocus, r as useStreamingText, s as useLinkify, t as useTouchTrigger, u as imageModeFromPixels, v as useContainerReveal, x as createDragToSnapPoints, y as useAnimator } from "../composables-
|
|
12
|
-
import { f as createPanGesture } from "../itemSlots-
|
|
11
|
+
import { S as createAnimator, _ as useControllableState, a as useReorderable, b as createReorderable, c as useKeyboardHint, d as perceptualLightness, f as useImageMode, g as useDragToSnapPoints, h as useEntryAnimation, i as useSnapPaging, l as useIndicatorFocusRing, m as useGridFocus, n as snapToGraphemeBoundary, o as usePanGesture, p as useGridRovingFocus, r as useStreamingText, s as useLinkify, t as useTouchTrigger, u as imageModeFromPixels, v as useContainerReveal, x as createDragToSnapPoints, y as useAnimator } from "../composables-C-syBXby.js";
|
|
12
|
+
import { f as createPanGesture } from "../itemSlots-DQS1Q4hS.js";
|
|
13
13
|
import { t as useAnnounce } from "../announce-GU01Oix2.js";
|
|
14
|
-
import { t as useAnimatedLayout } from "../useAnimatedLayout-
|
|
14
|
+
import { t as useAnimatedLayout } from "../useAnimatedLayout-BUXOuGrF.js";
|
|
15
15
|
import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
|
|
16
16
|
import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-BCckOsCi.js";
|
|
17
|
-
import {
|
|
17
|
+
import { a as useChatNewMessages, i as CHAT_MESSAGE_CLASS, t as useChatStreamScroll } from "../useChatStreamScroll-aJSQwmbd.js";
|
|
18
18
|
import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
|
|
19
19
|
import { t as useCombobox } from "../useCombobox-BbDP75hw.js";
|
|
20
20
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
|
|
@@ -24,7 +24,7 @@ import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
|
|
|
24
24
|
import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
|
|
25
25
|
import { t as useFocusTrap } from "../useFocusTrap-DhhwiBEF.js";
|
|
26
26
|
import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
|
|
27
|
-
import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-
|
|
27
|
+
import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-BAlmjLNN.js";
|
|
28
28
|
import { t as useInputContainer } from "../useInputContainer-yA8wbN3_.js";
|
|
29
29
|
import { t as useInputStatusIcon } from "../useInputStatusIcon-DXGI-PHr.js";
|
|
30
30
|
import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
|
|
@@ -7,19 +7,18 @@ import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
|
7
7
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
8
8
|
import { o as pushLayer } from "./layerDepth-DxI-GE81.js";
|
|
9
9
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
10
|
-
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
11
10
|
import { c as motionNow, s as isIdentityText } from "./cssValues-Cr6PhYTx.js";
|
|
12
|
-
import { n as createMotionEngine, r as SETTLE_THRESHOLD, t as animatorFor } from "./animator-
|
|
11
|
+
import { n as createMotionEngine, r as SETTLE_THRESHOLD, t as animatorFor } from "./animator-ChW9baIw.js";
|
|
13
12
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
14
13
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
15
14
|
import { n as solveDecay } from "./decay-ClFADeqT.js";
|
|
16
|
-
import { i as coast, n as paging, t as SettleCatcher } from "./snapPagingCatcher-
|
|
15
|
+
import { i as coast, n as paging, t as SettleCatcher } from "./snapPagingCatcher-ivaaFuon.js";
|
|
17
16
|
import { d as springs, u as registerSpringsTable } from "./springs-BqW2WrS-.js";
|
|
18
17
|
import { t as getGestureHost } from "./GestureHost-C0FstEs3.js";
|
|
19
18
|
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-WZ_rV6KY.js";
|
|
20
19
|
import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-c18P1UV3.js";
|
|
21
20
|
import { t as VelocityTracker } from "./VelocityTracker-Cw1aVRnL.js";
|
|
22
|
-
import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-
|
|
21
|
+
import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-DQS1Q4hS.js";
|
|
23
22
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
24
23
|
import { n as listMessages, t as keyboardHintMessages } from "./keyboard-hint-DZrL82bU.js";
|
|
25
24
|
import { t as renderedText } from "./renderedText-BwJdmps3.js";
|
|
@@ -28,9 +27,10 @@ import { t as _sfc_main$5 } from "./Kbd-CwtGTUmB.js";
|
|
|
28
27
|
import { n as paintedBackground, t as inertClone } from "./inertClone-BUK-k6-n.js";
|
|
29
28
|
import { t as nearestScroller } from "./scrollingAncestor-QzzYeTWo.js";
|
|
30
29
|
import { a as markLeaving, n as isLeaving, t as REORDER_ENGINE } from "./reorderTypes-CvmAkO-R.js";
|
|
31
|
-
import { r as reducesMotion } from "./reducedMotion-
|
|
30
|
+
import { r as reducesMotion } from "./reducedMotion-CgciA13L.js";
|
|
32
31
|
import { t as createDevWarnings } from "./devWarnings-DI1R0rGp.js";
|
|
33
32
|
import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-C_DTqk3V.js";
|
|
33
|
+
import { n as useReducesMotion } from "./useChatStreamScroll-aJSQwmbd.js";
|
|
34
34
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
35
35
|
import { n as observeResize } from "./sharedResizeObserver-BnRTJaNh.js";
|
|
36
36
|
import { r as makeSnapPaging, s as snapPages } from "./snapPagingValue-B5hfph1H.js";
|
|
@@ -3862,13 +3862,14 @@ function snapToGraphemeBoundary(text, offset) {
|
|
|
3862
3862
|
}
|
|
3863
3863
|
/**
|
|
3864
3864
|
* Smooth a burst of streamed text into a steady reveal.
|
|
3865
|
-
* While `isStreaming` is false, or
|
|
3865
|
+
* While `isStreaming` is false, or motion is reduced (the person's setting or a
|
|
3866
|
+
* Theme with `motion.reducedMotion: 'always'`), the full
|
|
3866
3867
|
* source is returned. The reveal steps by UTF-16 units and then snaps back to
|
|
3867
3868
|
* a grapheme boundary.
|
|
3868
3869
|
*/
|
|
3869
3870
|
function useStreamingText(targetText, isStreaming = false, options) {
|
|
3870
3871
|
const displayedLen = ref(0);
|
|
3871
|
-
const prefersReducedMotion =
|
|
3872
|
+
const prefersReducedMotion = useReducesMotion();
|
|
3872
3873
|
const target = computed(() => toValue(targetText));
|
|
3873
3874
|
const streaming = computed(() => toValue(isStreaming));
|
|
3874
3875
|
const speed = computed(() => toValue(options)?.speed ?? "natural");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as paintedBackground } from "./inertClone-BUK-k6-n.js";
|
|
2
|
-
import { _ as layoutMotion, c as areaOf, h as changeStartIn, j as glides, u as readArea, v as sampleKeyframes, w as safeAnimate, x as beginChange, y as sampleOver } from "./reportChange-
|
|
2
|
+
import { _ as layoutMotion, c as areaOf, h as changeStartIn, j as glides, u as readArea, v as sampleKeyframes, w as safeAnimate, x as beginChange, y as sampleOver } from "./reportChange-DIbgqzKF.js";
|
|
3
3
|
import { i as placeOver, n as isCopyable, o as visiblePartCopy, s as wrapText, t as inertCopy } from "./transientCopy--76J3N2f.js";
|
|
4
4
|
import { computed, inject, ref } from "vue";
|
|
5
5
|
//#region src/motion/layout/swap.ts
|
|
@@ -129,9 +129,9 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
129
129
|
declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
130
130
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
131
131
|
onSearch?: ((query: string) => any) | undefined;
|
|
132
|
-
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
133
132
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
134
133
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
134
|
+
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
135
135
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
136
136
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
137
137
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
@@ -146,7 +146,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
146
146
|
}>) => void;
|
|
147
147
|
attrs: any;
|
|
148
148
|
slots: TokenizerSlots<T>;
|
|
149
|
-
emit: ((evt: "search", query: string) => void) & ((evt: "
|
|
149
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
|
|
150
150
|
}>) => import("vue").VNode & {
|
|
151
151
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
152
152
|
};
|
|
@@ -358,7 +358,8 @@ declare function useChatNewMessages(options: UseChatNewMessagesOptions): UseChat
|
|
|
358
358
|
interface ChatScrollToBottomOptions {
|
|
359
359
|
/**
|
|
360
360
|
* `instant` jumps in one frame. `spring` eases toward the bottom, and also
|
|
361
|
-
* jumps when the
|
|
361
|
+
* jumps when motion is reduced (the person's setting or a Theme with
|
|
362
|
+
* `motion.reducedMotion: 'always'`).
|
|
362
363
|
* @default 'spring'
|
|
363
364
|
*/
|
|
364
365
|
behavior?: 'instant' | 'spring';
|
|
@@ -2219,7 +2220,8 @@ interface UseStreamingTextOptions {
|
|
|
2219
2220
|
declare function snapToGraphemeBoundary(text: string, offset: number): number;
|
|
2220
2221
|
/**
|
|
2221
2222
|
* Smooth a burst of streamed text into a steady reveal.
|
|
2222
|
-
* While `isStreaming` is false, or
|
|
2223
|
+
* While `isStreaming` is false, or motion is reduced (the person's setting or a
|
|
2224
|
+
* Theme with `motion.reducedMotion: 'always'`), the full
|
|
2223
2225
|
* source is returned. The reveal steps by UTF-16 units and then snaps back to
|
|
2224
2226
|
* a grapheme boundary.
|
|
2225
2227
|
*/
|
|
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
175
175
|
}>, {
|
|
176
176
|
position: OverlayPosition;
|
|
177
177
|
align: OverlayAlign;
|
|
178
|
-
scrim: OverlayScrimMode;
|
|
179
178
|
showOn: OverlayShowOn;
|
|
179
|
+
scrim: OverlayScrimMode;
|
|
180
180
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
181
181
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
182
182
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
|
|
|
192
192
|
isOpen: boolean;
|
|
193
193
|
position: OverlayPosition;
|
|
194
194
|
align: OverlayAlign;
|
|
195
|
-
scrim: OverlayScrimMode;
|
|
196
195
|
showOn: OverlayShowOn;
|
|
196
|
+
scrim: OverlayScrimMode;
|
|
197
197
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
198
198
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
199
199
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
-
import { a as PopoverProps, c as AdaptivePresentation, n as PopoverPadding, o as PopoverRole, r as PopoverPlacement, s as PopoverTabBehavior, t as PopoverAlignment } from "./types-
|
|
2
|
+
import { a as PopoverProps, c as AdaptivePresentation, n as PopoverPadding, o as PopoverRole, r as PopoverPlacement, s as PopoverTabBehavior, t as PopoverAlignment } from "./types-DXaFYryi.js";
|
|
3
3
|
import { CSSProperties, ComputedRef, MaybeRefOrGetter, Ref } from "vue";
|
|
4
4
|
//#region src/Popover/Popover.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_17: {}, __VLS_35: {};
|
|
@@ -17,16 +17,16 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
18
18
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
|
+
padding: PopoverPadding;
|
|
21
|
+
width: string | number;
|
|
20
22
|
label: string;
|
|
21
23
|
anchor: HTMLElement | null;
|
|
22
|
-
width: string | number;
|
|
23
|
-
padding: PopoverPadding;
|
|
24
24
|
isOpen: boolean;
|
|
25
25
|
placement: LayerPlacement;
|
|
26
26
|
alignment: LayerAlignment;
|
|
27
|
-
hasAutoFocus: boolean;
|
|
28
27
|
presentation: AdaptivePresentation;
|
|
29
28
|
role: PopoverRole;
|
|
29
|
+
hasAutoFocus: boolean;
|
|
30
30
|
hasCloseButton: boolean;
|
|
31
31
|
closeButtonLabel: string;
|
|
32
32
|
isEnabled: boolean;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
28
28
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
block: boolean;
|
|
31
|
-
size: NavItemSize;
|
|
32
31
|
isDisabled: boolean;
|
|
32
|
+
size: NavItemSize;
|
|
33
33
|
isIconOnly: boolean;
|
|
34
34
|
isSelected: boolean;
|
|
35
35
|
isFocusableWhenDisabled: boolean;
|
|
@@ -97,11 +97,11 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
97
97
|
blur: typeof blur;
|
|
98
98
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
99
99
|
isDisabled: boolean;
|
|
100
|
+
layout: ItemLayout;
|
|
100
101
|
as: ItemElement;
|
|
101
102
|
density: ListDensity;
|
|
102
|
-
layout: ItemLayout;
|
|
103
|
-
align: ItemAlign;
|
|
104
103
|
isSelected: boolean;
|
|
104
|
+
align: ItemAlign;
|
|
105
105
|
isHighlighted: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
107
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
@@ -2,7 +2,7 @@ import { t as ExtendedIconName } from "./types-D8t_HevJ.js";
|
|
|
2
2
|
import { s as ButtonSize } from "./types-DRpOiAlm.js";
|
|
3
3
|
import { o as FieldStatusInput, u as FieldStatusVariant } from "./types-Cvh2VwQZ.js";
|
|
4
4
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
5
|
-
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-
|
|
5
|
+
import { r as PopoverPlacement, t as PopoverAlignment } from "./types-DXaFYryi.js";
|
|
6
6
|
import { Component, HTMLAttributes, Ref, StyleValue, VNode } from "vue";
|
|
7
7
|
//#region src/ComplexSelector/types.d.ts
|
|
8
8
|
interface ComplexSelectorState {
|
|
@@ -161,8 +161,8 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
161
161
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
|
|
162
162
|
modelValue: Value;
|
|
163
163
|
}) & {
|
|
164
|
-
onChange?: ((value: Value) => any) | undefined;
|
|
165
164
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
165
|
+
onChange?: ((value: Value) => any) | undefined;
|
|
166
166
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
167
167
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
168
168
|
"onUpdate:modelValue"?: ((value: Value) => any) | undefined;
|
|
@@ -172,7 +172,7 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
172
172
|
expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
|
|
173
173
|
attrs: any;
|
|
174
174
|
slots: ComplexSelectorSlots<Value>;
|
|
175
|
-
emit: (((evt: "
|
|
175
|
+
emit: (((evt: "click", event: MouseEvent) => void) & ((evt: "change", value: Value) => void) & ((evt: "keydown", event: KeyboardEvent) => void) & ((evt: "openChange", isOpen: boolean) => void)) & ((event: "update:modelValue", value: Value) => void);
|
|
176
176
|
}>) => import("vue").VNode & {
|
|
177
177
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
178
178
|
};
|
|
@@ -8,14 +8,14 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
type: "button" | "
|
|
11
|
+
type: "button" | "submit" | "reset";
|
|
12
12
|
isDisabled: boolean;
|
|
13
|
+
variant: ButtonVariant;
|
|
13
14
|
elevation: ButtonElevation;
|
|
14
|
-
isLoading: boolean;
|
|
15
15
|
isIconOnly: boolean;
|
|
16
16
|
isInterruptible: boolean;
|
|
17
|
+
isLoading: boolean;
|
|
17
18
|
loadingLabel: string;
|
|
18
|
-
variant: ButtonVariant;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -121,9 +121,9 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
121
121
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
122
122
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
123
123
|
}>, {
|
|
124
|
-
size: PaginationSize;
|
|
125
124
|
isDisabled: boolean;
|
|
126
125
|
variant: PaginationVariant;
|
|
126
|
+
size: PaginationSize;
|
|
127
127
|
step: number;
|
|
128
128
|
disabled: boolean;
|
|
129
129
|
page: number;
|
|
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
label?: (props: typeof __VLS_1) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
24
|
-
orientation: DividerOrientation;
|
|
25
24
|
variant: DividerVariant;
|
|
25
|
+
orientation: DividerOrientation;
|
|
26
26
|
isFullBleed: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -114,8 +114,8 @@ type __VLS_Slots = CardSlots;
|
|
|
114
114
|
declare const __VLS_base: import("vue").DefineComponent<CardProps, {
|
|
115
115
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
116
116
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
117
|
-
elevation: CardElevation;
|
|
118
117
|
variant: keyof CardVariantMap;
|
|
118
|
+
elevation: CardElevation;
|
|
119
119
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
121
121
|
declare const _default: typeof __VLS_export;
|
|
@@ -185,33 +185,33 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
185
185
|
focus: () => void;
|
|
186
186
|
blur: () => void | undefined;
|
|
187
187
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
188
|
-
search: (query: string) => any;
|
|
189
|
-
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
190
188
|
click: (event: MouseEvent) => any;
|
|
189
|
+
search: (query: string) => any;
|
|
191
190
|
focus: (event: FocusEvent) => any;
|
|
191
|
+
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
192
192
|
keydown: (event: KeyboardEvent) => any;
|
|
193
193
|
openChange: (isOpen: boolean) => any;
|
|
194
194
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
195
195
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
196
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
197
|
-
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
198
196
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
197
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
199
198
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
199
|
+
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
200
200
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
201
201
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
202
202
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
203
203
|
}>, {
|
|
204
204
|
required: boolean;
|
|
205
|
-
isLoading: boolean;
|
|
206
205
|
variant: MultiSelectorVariant;
|
|
206
|
+
isLoading: boolean;
|
|
207
207
|
status: MultiSelectorStatus;
|
|
208
208
|
modelValue: readonly (string | number)[];
|
|
209
209
|
statusVariant: MultiSelectorStatusVariant;
|
|
210
|
-
isReadOnly: boolean;
|
|
211
210
|
disabled: boolean;
|
|
212
211
|
presentation: MultiSelectorPresentation;
|
|
213
212
|
searchable: boolean;
|
|
214
213
|
clearable: boolean;
|
|
214
|
+
isReadOnly: boolean;
|
|
215
215
|
labelHidden: boolean;
|
|
216
216
|
hasCreate: boolean;
|
|
217
217
|
optional: boolean;
|
|
@@ -65,17 +65,17 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
65
65
|
}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
66
66
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
|
-
anchor: HTMLElement | null;
|
|
69
68
|
content: string;
|
|
69
|
+
anchor: HTMLElement | null;
|
|
70
70
|
isOpen: boolean;
|
|
71
71
|
placement: TooltipPlacement;
|
|
72
72
|
alignment: TooltipAlignment;
|
|
73
73
|
isDefaultOpen: boolean;
|
|
74
|
-
isEnabled: boolean;
|
|
75
74
|
delay: number;
|
|
76
75
|
hideDelay: number;
|
|
77
76
|
focusTrigger: TooltipFocusTrigger;
|
|
78
77
|
touchTrigger: TooltipTouchTrigger;
|
|
78
|
+
isEnabled: boolean;
|
|
79
79
|
hasHoverIndication: boolean | "auto";
|
|
80
80
|
anchorsOnSelf: boolean;
|
|
81
81
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -89,11 +89,11 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
89
89
|
placement: HoverCardPlacement;
|
|
90
90
|
alignment: HoverCardAlignment;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
|
-
isEnabled: boolean;
|
|
93
92
|
delay: number;
|
|
94
93
|
hideDelay: number;
|
|
95
94
|
focusTrigger: HoverCardFocusTrigger;
|
|
96
95
|
touchTrigger: HoverCardTouchTrigger;
|
|
96
|
+
isEnabled: boolean;
|
|
97
97
|
hasHoverIndication: HoverCardHoverIndication;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
99
99
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|