@astryx-vue/core 0.7.28 → 0.7.29

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.
Files changed (215) hide show
  1. package/dist/AlertDialog/index.d.ts +1 -1
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-DZpJzvOC.js → AlertDialog-BO2LucRK.js} +3 -3
  4. package/dist/AvatarGroup/index.d.ts +1 -1
  5. package/dist/Banner/index.d.ts +1 -1
  6. package/dist/Banner/index.js +1 -1
  7. package/dist/{Banner-Dx2JtVc-.js → Banner-C-8DEWdJ.js} +1 -1
  8. package/dist/BottomSheet/index.d.ts +1 -1
  9. package/dist/Breadcrumbs/index.d.ts +2 -2
  10. package/dist/Breadcrumbs/index.js +1 -1
  11. package/dist/{Breadcrumbs-Brgi3F8q.js → Breadcrumbs-sakAtNnr.js} +1 -1
  12. package/dist/Button/index.d.ts +2 -2
  13. package/dist/Button/index.js +1 -1
  14. package/dist/{Button-DsjdehLZ.js → Button-BeNp2zq_.js} +7 -4
  15. package/dist/ButtonGroup/index.d.ts +1 -1
  16. package/dist/ButtonGroup/index.js +1 -1
  17. package/dist/{ButtonGroup-CSW7a9vq.js → ButtonGroup-CosYAili.js} +15 -4
  18. package/dist/Calendar/index.d.ts +1 -1
  19. package/dist/Carousel/index.js +1 -1
  20. package/dist/{Carousel-CSsQ4GHW.js → Carousel-C8kE0YJh.js} +1 -1
  21. package/dist/Chat/index.js +1 -1
  22. package/dist/{Chat-j2m3Exwo.js → Chat-Bl_Wr2lK.js} +5 -5
  23. package/dist/CheckboxInput/index.d.ts +1 -1
  24. package/dist/CheckboxList/index.d.ts +1 -1
  25. package/dist/ClickableCard/index.d.ts +1 -1
  26. package/dist/Code/index.js +1 -1
  27. package/dist/{CodeBlock-PSnUWX57.js → CodeBlock-CSxQPryb.js} +1 -1
  28. package/dist/Collapsible/index.d.ts +1 -1
  29. package/dist/CommandPalette/index.d.ts +1 -1
  30. package/dist/ComplexSelector/index.d.ts +1 -1
  31. package/dist/ComplexSelector/index.js +1 -1
  32. package/dist/{ComplexSelector-BgnhEjIN.js → ComplexSelector-DFKi6sKq.js} +1 -1
  33. package/dist/ContextMenu/index.d.ts +2 -2
  34. package/dist/DateInput/index.d.ts +1 -1
  35. package/dist/DateInput/index.js +1 -1
  36. package/dist/{DateInput-BY9qdl_H.js → DateInput-CI1_FFPZ.js} +1 -1
  37. package/dist/DateRangeInput/index.d.ts +1 -1
  38. package/dist/DateRangeInput/index.js +1 -1
  39. package/dist/{DateRangeInput-C0vyG95Z.js → DateRangeInput-lTx_eqfT.js} +2 -2
  40. package/dist/DateTimeInput/index.d.ts +1 -1
  41. package/dist/DateTimeInput/index.js +1 -1
  42. package/dist/{DateTimeInput-BmIljXWd.js → DateTimeInput-BouEOOwo.js} +3 -3
  43. package/dist/Dialog/index.d.ts +1 -1
  44. package/dist/Dialog/index.js +1 -1
  45. package/dist/{DialogHeader-Dfegdd7v.js → DialogHeader-cr9rFLYM.js} +1 -1
  46. package/dist/Drawer/index.d.ts +1 -1
  47. package/dist/Drawer/index.js +1 -1
  48. package/dist/{Drawer-7LLlGQcE.js → Drawer-Ba-yG1rk.js} +1 -1
  49. package/dist/DropdownMenu/index.d.ts +2 -2
  50. package/dist/DropdownMenu/index.js +2 -2
  51. package/dist/{DropdownMenu-CJxA-kJ2.js → DropdownMenu-BJicFgwf.js} +1 -1
  52. package/dist/{DropdownMenu-B6SXhr61.js → DropdownMenu-BPZjqbcw.js} +1 -1
  53. package/dist/{DropdownMenuRadioItem.vue-D455cIQQ.d.ts → DropdownMenuRadioItem.vue-C9DdN6UE.d.ts} +1 -1
  54. package/dist/Field/index.d.ts +2 -2
  55. package/dist/Field/index.js +1 -1
  56. package/dist/{FieldInfoTip-BJAaKJjM.js → FieldInfoTip-BouJddgS.js} +1 -1
  57. package/dist/FieldStatus/index.d.ts +1 -1
  58. package/dist/FileInput/index.d.ts +1 -1
  59. package/dist/FileInput/index.js +1 -1
  60. package/dist/{FileInput-C6eX4nBl.js → FileInput-CFUgV2px.js} +1 -1
  61. package/dist/Heading/index.d.ts +1 -1
  62. package/dist/HoverCard/index.d.ts +1 -1
  63. package/dist/Icon/index.d.ts +3 -3
  64. package/dist/IconButton/index.d.ts +1 -1
  65. package/dist/IconButton/index.js +1 -1
  66. package/dist/{IconButton-Crtfruc0.js → IconButton-C91rhbvu.js} +1 -1
  67. package/dist/Indicator/index.d.ts +2 -2
  68. package/dist/InfoTip/index.d.ts +1 -1
  69. package/dist/{InputClearButton-DjIxNNH8.js → InputClearButton-BiF7qGMR.js} +4 -2
  70. package/dist/InputGroup/index.d.ts +1 -1
  71. package/dist/Lightbox/index.js +1 -1
  72. package/dist/{Lightbox-rY1XJs38.js → Lightbox-VlvxtZn4.js} +1 -1
  73. package/dist/Link/index.d.ts +1 -1
  74. package/dist/List/index.d.ts +1 -1
  75. package/dist/Markdown/index.js +1 -1
  76. package/dist/{Markdown-BQbchOad.js → Markdown-DsE-40yq.js} +1 -1
  77. package/dist/{MediaTheme-Bt7WBTkq.js → MediaTheme-BVKUsMfC.js} +37 -1
  78. package/dist/MoreMenu/index.d.ts +1 -1
  79. package/dist/MoreMenu/index.js +1 -1
  80. package/dist/{MoreMenu-C2ZrGrJ-.js → MoreMenu-1lxF-JY5.js} +1 -1
  81. package/dist/MultiSelector/index.d.ts +1 -1
  82. package/dist/MultiSelector/index.js +1 -1
  83. package/dist/{MultiSelector-DWKh7ePj.js → MultiSelector-Slqiulwd.js} +1 -1
  84. package/dist/NavItem/index.d.ts +1 -1
  85. package/dist/NumberInput/index.d.ts +1 -1
  86. package/dist/NumberInput/index.js +1 -1
  87. package/dist/{NumberInput-Bzc9v9oU.js → NumberInput-Bsz7bmRp.js} +2 -2
  88. package/dist/OverflowList/index.d.ts +1 -1
  89. package/dist/Overlay/index.d.ts +1 -1
  90. package/dist/Pagination/index.d.ts +1 -1
  91. package/dist/Popover/index.d.ts +1 -1
  92. package/dist/Popover/index.js +1 -1
  93. package/dist/{Popover-DaGcaKHo.js → Popover-cnfHz2tm.js} +1 -1
  94. package/dist/PowerSearch/index.d.ts +1 -1
  95. package/dist/PowerSearch/index.js +1 -1
  96. package/dist/{PowerSearch-CtC5P-zt.js → PowerSearch-2jO62NSM.js} +8 -8
  97. package/dist/ProgressBar/index.d.ts +1 -1
  98. package/dist/Radio/index.d.ts +1 -1
  99. package/dist/RadioList/index.d.ts +1 -1
  100. package/dist/Resizable/index.d.ts +1 -1
  101. package/dist/ScrollableArea/index.d.ts +1 -1
  102. package/dist/SelectableCard/index.d.ts +1 -1
  103. package/dist/Selector/index.d.ts +1 -1
  104. package/dist/SideNav/index.d.ts +1 -1
  105. package/dist/SideNav/index.js +1 -1
  106. package/dist/{SideNav-YO-fBuwR.js → SideNav-DeVtoFFq.js} +1 -1
  107. package/dist/Slider/index.d.ts +1 -1
  108. package/dist/Stack/index.d.ts +1 -1
  109. package/dist/Stepper/index.d.ts +1 -1
  110. package/dist/Switch/index.d.ts +1 -1
  111. package/dist/TabList/index.d.ts +1 -1
  112. package/dist/Table/index.d.ts +1 -1
  113. package/dist/Table/index.js +1 -1
  114. package/dist/{Table-DkibnUnt.js → Table-sKQpWVKc.js} +6 -6
  115. package/dist/Text/index.d.ts +1 -1
  116. package/dist/TextArea/index.d.ts +1 -1
  117. package/dist/TextArea/index.js +1 -1
  118. package/dist/{TextArea-CKg-oybo.js → TextArea-BzcHz2qI.js} +3 -3
  119. package/dist/TextInput/index.d.ts +1 -1
  120. package/dist/TextInput/index.js +1 -1
  121. package/dist/{TextInput-QnW6aidH.js → TextInput-BeJNEQL6.js} +3 -3
  122. package/dist/Theme/index.d.ts +3 -3
  123. package/dist/Theme/index.js +3 -3
  124. package/dist/{Theme-BQe--DY6.js → Theme-1r_aWHvr.js} +330 -4
  125. package/dist/Thumbnail/index.js +1 -1
  126. package/dist/{Thumbnail-Cqt2l_zO.js → Thumbnail-CTkLFo-A.js} +1 -1
  127. package/dist/{TimeField-2QBI5tU6.js → TimeField-BGtS_m-U.js} +1 -1
  128. package/dist/TimeInput/index.d.ts +1 -1
  129. package/dist/TimeInput/index.js +1 -1
  130. package/dist/{TimeInput-DYAsRNAO.js → TimeInput-BKfg3SZ7.js} +1 -1
  131. package/dist/Timer/index.d.ts +1 -1
  132. package/dist/Timestamp/index.d.ts +1 -1
  133. package/dist/Timestamp/index.js +1 -1
  134. package/dist/{Timestamp-CwNc1inn.js → Timestamp-B7H0KScU.js} +1 -1
  135. package/dist/Toast/index.js +1 -1
  136. package/dist/{Toast-cVNBdW-q.js → Toast-aI9QMW-L.js} +2 -2
  137. package/dist/ToggleButton/index.d.ts +1 -1
  138. package/dist/ToggleButton/index.js +1 -1
  139. package/dist/{ToggleButton-BMn4yJXe.js → ToggleButton-DI9I-LBH.js} +14 -7
  140. package/dist/Token/index.d.ts +1 -1
  141. package/dist/Tokenizer/index.d.ts +1 -1
  142. package/dist/Toolbar/index.d.ts +1 -1
  143. package/dist/Tooltip/index.d.ts +1 -1
  144. package/dist/TopNav/index.d.ts +1 -1
  145. package/dist/composables/index.d.ts +1 -1
  146. package/dist/composables/index.js +1 -1
  147. package/dist/context-BJ9RkXYX.js +676 -0
  148. package/dist/{index-BBTU-TKb.d.ts → index-9eluGe3a.d.ts} +1 -1
  149. package/dist/{index-BU78NOP-.d.ts → index-B0R5CLPF.d.ts} +1 -1
  150. package/dist/{index-BtuK-muv.d.ts → index-B16Jb5mf.d.ts} +9 -9
  151. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  152. package/dist/{index-CfPGC9aW.d.ts → index-BMCjAlq6.d.ts} +1 -1
  153. package/dist/{index-D57GW53K.d.ts → index-BMVI4cM5.d.ts} +1 -1
  154. package/dist/{index-D1JXm7Et.d.ts → index-BPf_jmME.d.ts} +1 -1
  155. package/dist/{index-BgT6mH3U.d.ts → index-BR3MOBYd.d.ts} +2 -2
  156. package/dist/{index-CbNLiaWw.d.ts → index-Bfm6mF-r.d.ts} +47 -2
  157. package/dist/{index-CAoenU4T.d.ts → index-BlhbRf58.d.ts} +1 -1
  158. package/dist/{index-wkeCkhTi.d.ts → index-BmYnVNI-.d.ts} +3 -3
  159. package/dist/{index-mkbGYz8f.d.ts → index-Bn-v89Vt.d.ts} +3 -3
  160. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  161. package/dist/{index-BZuEYd9y.d.ts → index-BvWBeoa8.d.ts} +2 -2
  162. package/dist/{index-BO9TY87G.d.ts → index-BxWCX2pJ.d.ts} +3 -3
  163. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  164. package/dist/{index-Q1oG9yIT.d.ts → index-CO9GW-ik.d.ts} +1 -1
  165. package/dist/{index-CvquEEGw.d.ts → index-CXOAA8us.d.ts} +2 -2
  166. package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  167. package/dist/{index-BPyRH3WL.d.ts → index-CfXW4km8.d.ts} +1 -1
  168. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  169. package/dist/{index-CpG5Wql5.d.ts → index-CvLWh-d-.d.ts} +4 -4
  170. package/dist/{index-CL6DNvOo.d.ts → index-CxdKu7d2.d.ts} +2 -2
  171. package/dist/{index-BzZC2Y7c.d.ts → index-Cz72NaF_.d.ts} +1 -1
  172. package/dist/{index-9tZJgo0R.d.ts → index-D4FgX9h3.d.ts} +2 -2
  173. package/dist/{index-Ukeoz7_9.d.ts → index-DCxdesMw.d.ts} +6 -6
  174. package/dist/{index-C16d2Fc4.d.ts → index-DDAcxZAP.d.ts} +1 -1
  175. package/dist/{index-DCU6dy7n.d.ts → index-DKgonPjs.d.ts} +1 -1
  176. package/dist/{index-C1zwvxPH.d.ts → index-DY8Wph-A.d.ts} +2 -2
  177. package/dist/{index-qayqGnJT.d.ts → index-DZKv1WNB.d.ts} +1 -1
  178. package/dist/{index-dWlCpnua.d.ts → index-Dlq0cFK-.d.ts} +3 -3
  179. package/dist/{index--tm6L1ot.d.ts → index-DpYJBFJj.d.ts} +1 -1
  180. package/dist/{index-DN1RqxjP.d.ts → index-DxR6cZBf.d.ts} +1 -1
  181. package/dist/{index-IFFGXlhq.d.ts → index-GmoeIuhl.d.ts} +1 -1
  182. package/dist/{index-CEHqYyz5.d.ts → index-MOtVbTwK.d.ts} +3 -3
  183. package/dist/{index-DhMCql2U.d.ts → index-NHtQmIIM.d.ts} +1 -1
  184. package/dist/{index-D44l1Esr.d.ts → index-dRBNR7Tq.d.ts} +62 -62
  185. package/dist/{index-Dy746dfn.d.ts → index-unAZVFGz.d.ts} +1 -1
  186. package/dist/index.d.ts +46 -46
  187. package/dist/index.js +39 -39
  188. package/dist/{semantic-CXHSMwPK.d.ts → semantic-Dj507RuV.d.ts} +1 -1
  189. package/dist/{types-Dcai2Icw.d.ts → types-D8t_HevJ.d.ts} +1 -0
  190. package/dist/{types-hB0M54I7.d.ts → types-DRpOiAlm.d.ts} +1 -1
  191. package/dist/{types-BwVJBE-G.d.ts → types-bAQk3F8G.d.ts} +1 -1
  192. package/dist/{types-Bq4Yl6CS.d.ts → types-uWxXh1Jm.d.ts} +7 -2
  193. package/dist/{useActionGroupTracking-BncJjk1A.js → useActionGroupTracking-B4niQ_tR.js} +3 -3
  194. package/dist/{useInputStatusIcon-DCnx00BM.js → useInputStatusIcon-Da2FiXwF.js} +1 -1
  195. package/package.json +1 -1
  196. package/styles/avatar.css +2 -2
  197. package/styles/badge.css +8 -0
  198. package/styles/button.css +3 -0
  199. package/styles/chat.css +10 -3
  200. package/styles/dropdown-menu.css +3 -3
  201. package/styles/field.css +9 -9
  202. package/styles/icon.css +4 -0
  203. package/styles/input-group.css +6 -6
  204. package/styles/list.css +7 -0
  205. package/styles/more-menu.css +4 -4
  206. package/styles/number-input.css +6 -6
  207. package/styles/power-search.css +3 -3
  208. package/styles/progress-bar.css +8 -0
  209. package/styles/status-dot.css +21 -1
  210. package/styles/stepper.css +11 -3
  211. package/styles/text-area.css +1 -1
  212. package/styles/touch-hit-area.css +37 -0
  213. package/styles.css +1 -0
  214. package/dist/context-CZP3jfy-.js +0 -125
  215. package/dist/{index-5FGt4HsB.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
@@ -1,2 +1,2 @@
1
- import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-D44l1Esr.js";
1
+ import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-dRBNR7Tq.js";
2
2
  export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TextInput-QnW6aidH.js";
1
+ import { t as _sfc_main } from "../TextInput-BeJNEQL6.js";
2
2
  export { _sfc_main as TextInput };
@@ -1,17 +1,17 @@
1
1
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
2
2
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
3
- import { n as _sfc_main$1 } from "./Button-DsjdehLZ.js";
3
+ import { n as _sfc_main$1 } from "./Button-BeNp2zq_.js";
4
4
  import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
5
5
  import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
6
6
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
7
7
  import { t as useInputContainer } from "./useInputContainer-BpLtCA-U.js";
8
- import { t as useInputStatusIcon } from "./useInputStatusIcon-DCnx00BM.js";
8
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-Da2FiXwF.js";
9
9
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
10
10
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
11
11
  import { t as _sfc_main$4 } from "./Field-Dc15m78p.js";
12
12
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
13
13
  import { t as textInputMessages } from "./text-input-BtwGEoGv.js";
14
- import { t as _sfc_main$5 } from "./InputClearButton-DjIxNNH8.js";
14
+ import { t as _sfc_main$5 } from "./InputClearButton-BiF7qGMR.js";
15
15
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
16
16
  import "../styles/text-input.css";
17
17
  //#region src/TextInput/useTextInputAction.ts
@@ -1,3 +1,3 @@
1
- import { A as expandMotionScale, C as WidthBreakpointName, D as RadiusScaleConfig, E as expandTypeScale, M as expandColorScale, O as expandRadiusScale, S as WIDTH_BREAKPOINT_NAMES, T as TypeScaleConfig, _ as ThemeAdaptationRule, a as StyleOverrides, b as ThemeAdaptationWidthCondition, c as ThemeMode, d as ThemeTokenValue, f as ThemeTokens, g as ThemeAdaptationCondition, h as DEFAULT_WIDTH_BREAKPOINTS, i as MediaThemeProps, j as ColorScaleConfig, k as MotionScaleConfig, l as ThemeProps, m as TypographyRole, n as DefineThemeInput, o as ThemeDefinition, p as TypographyConfig, r as MediaThemeMode, t as ComponentStyleMap, u as ThemeSurfaceInput, v as ThemeAdaptationTypographyConfig, w as WidthBreakpoints, x as ThemeAdaptations, y as ThemeAdaptationValue } from "../types-Bq4Yl6CS.js";
2
- import { a as _default$1, c as isDefinedTheme, d as DATA_TOKEN_DEFAULTS, f as DataTokenName, i as useMediaTheme, l as neutralTheme, n as useTheme, o as _default, r as UseMediaThemeReturn, s as defineTheme, t as UseThemeReturn, u as normalizeTokenName } from "../index-CbNLiaWw.js";
3
- export { type ColorScaleConfig, type ComponentStyleMap, DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, type DataTokenName, type DefineThemeInput, _default as MediaTheme, type MediaThemeMode, type MediaThemeProps, type MotionScaleConfig, type RadiusScaleConfig, type StyleOverrides, _default$1 as Theme, type ThemeAdaptationCondition, type ThemeAdaptationRule, type ThemeAdaptationTypographyConfig, type ThemeAdaptationValue, type ThemeAdaptationWidthCondition, type ThemeAdaptations, type ThemeDefinition, type ThemeMode, type ThemeProps, type ThemeSurfaceInput, type ThemeTokenValue, type ThemeTokens, type TypeScaleConfig, type TypographyConfig, type TypographyRole, type UseMediaThemeReturn, type UseThemeReturn, WIDTH_BREAKPOINT_NAMES, type WidthBreakpointName, type WidthBreakpoints, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
1
+ import { A as expandMotionScale, C as WidthBreakpointName, D as RadiusScaleConfig, E as expandTypeScale, M as expandColorScale, O as expandRadiusScale, S as WIDTH_BREAKPOINT_NAMES, T as TypeScaleConfig, _ as ThemeAdaptationRule, a as StyleOverrides, b as ThemeAdaptationWidthCondition, c as ThemeMode, d as ThemeTokenValue, f as ThemeTokens, g as ThemeAdaptationCondition, h as DEFAULT_WIDTH_BREAKPOINTS, i as MediaThemeProps, j as ColorScaleConfig, k as MotionScaleConfig, l as ThemeProps, m as TypographyRole, n as DefineThemeInput, o as ThemeDefinition, p as TypographyConfig, r as MediaThemeMode, t as ComponentStyleMap, u as ThemeSurfaceInput, v as ThemeAdaptationTypographyConfig, w as WidthBreakpoints, x as ThemeAdaptations, y as ThemeAdaptationValue } from "../types-uWxXh1Jm.js";
2
+ import { a as _default$1, c as defineTheme, d as normalizeTokenName, f as DATA_TOKEN_DEFAULTS, i as useMediaTheme, l as isDefinedTheme, n as useTheme, o as STATUS_COLOR_DEFAULTS, p as DataTokenName, r as UseMediaThemeReturn, s as _default, t as UseThemeReturn, u as neutralTheme } from "../index-Bfm6mF-r.js";
3
+ export { type ColorScaleConfig, type ComponentStyleMap, DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, type DataTokenName, type DefineThemeInput, _default as MediaTheme, type MediaThemeMode, type MediaThemeProps, type MotionScaleConfig, type RadiusScaleConfig, STATUS_COLOR_DEFAULTS, type StyleOverrides, _default$1 as Theme, type ThemeAdaptationCondition, type ThemeAdaptationRule, type ThemeAdaptationTypographyConfig, type ThemeAdaptationValue, type ThemeAdaptationWidthCondition, type ThemeAdaptations, type ThemeDefinition, type ThemeMode, type ThemeProps, type ThemeSurfaceInput, type ThemeTokenValue, type ThemeTokens, type TypeScaleConfig, type TypographyConfig, type TypographyRole, type UseMediaThemeReturn, type UseThemeReturn, WIDTH_BREAKPOINT_NAMES, type WidthBreakpointName, type WidthBreakpoints, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
@@ -1,3 +1,3 @@
1
- import { a as neutralTheme, c as expandMotionScale, d as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandColorScale, n as _sfc_main$1, o as expandTypeScale, r as defineTheme, s as expandRadiusScale, t as useMediaTheme, u as DEFAULT_WIDTH_BREAKPOINTS } from "../Theme-BQe--DY6.js";
2
- import { a as normalizeTokenName, l as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-Bt7WBTkq.js";
3
- export { DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, _sfc_main as MediaTheme, _sfc_main$1 as Theme, WIDTH_BREAKPOINT_NAMES, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
1
+ import { a as neutralTheme, c as expandRadiusScale, d as DEFAULT_WIDTH_BREAKPOINTS, f as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandMotionScale, n as _sfc_main$1, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "../Theme-1r_aWHvr.js";
2
+ import { a as normalizeTokenName, d as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-BVKUsMfC.js";
3
+ export { DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, _sfc_main as MediaTheme, STATUS_COLOR_DEFAULTS, _sfc_main$1 as Theme, WIDTH_BREAKPOINT_NAMES, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
@@ -3,7 +3,7 @@ import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
3
3
  import { r as staticComponentIcons, t as mergeComponentIcons } from "./componentIcons-CFr2L6o3.js";
4
4
  import { a as syntaxThemeStyle } from "./syntaxTheme-R7xnu5x5.js";
5
5
  import { t as syntaxThemeKey } from "./syntaxContext-DmIfNNtb.js";
6
- import { a as normalizeTokenName, c as parseColor, i as isPortableTokenName, o as prefixTokenReferences, r as bridgeComponentTokens, s as contrastRatio } from "./MediaTheme-Bt7WBTkq.js";
6
+ import { a as normalizeTokenName, c as contrastRatio, i as isPortableTokenName, l as parseColor, o as prefixTokenReferences, r as bridgeComponentTokens, s as compositeOver, u as relativeLuminance } from "./MediaTheme-BVKUsMfC.js";
7
7
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, h, inject, markRaw, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useAttrs, useTemplateRef, watch } from "vue";
8
8
  import "../styles/theme.css";
9
9
  //#region src/Theme/adaptationTypes.ts
@@ -1641,6 +1641,314 @@ function tokenRule(selector, tokens, location) {
1641
1641
  return body ? [`${selector} {\n${body}\n}`] : [];
1642
1642
  }
1643
1643
  //#endregion
1644
+ //#region src/Theme/statusColor.ts
1645
+ const WHITE$1 = {
1646
+ r: 255,
1647
+ g: 255,
1648
+ b: 255,
1649
+ a: 1
1650
+ };
1651
+ function toLinear(value) {
1652
+ const c = value / 255;
1653
+ return c <= .04045 ? c / 12.92 : ((c + .055) / 1.055) ** 2.4;
1654
+ }
1655
+ function fromLinear(value) {
1656
+ return (value <= .0031308 ? 12.92 * value : 1.055 * value ** (1 / 2.4) - .055) * 255;
1657
+ }
1658
+ function toOklch({ r, g, b }) {
1659
+ const lr = toLinear(r);
1660
+ const lg = toLinear(g);
1661
+ const lb = toLinear(b);
1662
+ const l = Math.cbrt(.4122214708 * lr + .5363325363 * lg + .0514459929 * lb);
1663
+ const m = Math.cbrt(.2119034982 * lr + .6806995451 * lg + .1073969566 * lb);
1664
+ const s = Math.cbrt(.0883024619 * lr + .2817188376 * lg + .6299787005 * lb);
1665
+ const L = .2104542553 * l + .793617785 * m - .0040720468 * s;
1666
+ const A = 1.9779984951 * l - 2.428592205 * m + .4505937099 * s;
1667
+ const B = .0259040371 * l + .7827717662 * m - .808675766 * s;
1668
+ return {
1669
+ l: L,
1670
+ c: Math.hypot(A, B),
1671
+ h: Math.atan2(B, A)
1672
+ };
1673
+ }
1674
+ function oklchToLinear({ l: L, c, h }) {
1675
+ const A = c * Math.cos(h);
1676
+ const B = c * Math.sin(h);
1677
+ const l = (L + .3963377774 * A + .2158037573 * B) ** 3;
1678
+ const m = (L - .1055613458 * A - .0638541728 * B) ** 3;
1679
+ const s = (L - .0894841775 * A - 1.291485548 * B) ** 3;
1680
+ return [
1681
+ 4.0767416621 * l - 3.3077115913 * m + .2309699292 * s,
1682
+ -1.2684380046 * l + 2.6097574011 * m - .3413193965 * s,
1683
+ -.0041960863 * l - .7034186147 * m + 1.707614701 * s
1684
+ ];
1685
+ }
1686
+ function linearToRgb(channels) {
1687
+ const [r = 0, g = 0, b = 0] = channels.map((v) => fromLinear(Math.min(1, Math.max(0, v))));
1688
+ return {
1689
+ r,
1690
+ g,
1691
+ b,
1692
+ a: 1
1693
+ };
1694
+ }
1695
+ /** OKLCH to sRGB, lowering chroma at the same lightness and hue until it fits. */
1696
+ function fromOklch(color) {
1697
+ let c = color.c;
1698
+ for (let i = 0; i < 40; i++) {
1699
+ const rgb = oklchToLinear({
1700
+ ...color,
1701
+ c
1702
+ });
1703
+ if (rgb.every((v) => v >= -1e-4 && v <= 1.0001)) return linearToRgb(rgb);
1704
+ c *= .9;
1705
+ }
1706
+ return linearToRgb(oklchToLinear({
1707
+ ...color,
1708
+ c: 0
1709
+ }));
1710
+ }
1711
+ /** Lowest chroma, and the lightness band, at which a color still reads as a hue. */
1712
+ const CHROMA_FLOOR = .03;
1713
+ const LIGHTNESS_RANGE = [.2, .95];
1714
+ /** Whether a color reads as a hue rather than grey, near-black, or near-white. */
1715
+ function isChromatic(color) {
1716
+ const { l, c } = toOklch(color);
1717
+ return c >= CHROMA_FLOOR && l >= LIGHTNESS_RANGE[0] && l <= LIGHTNESS_RANGE[1];
1718
+ }
1719
+ /** Paint a possibly translucent color over an opaque backdrop. */
1720
+ function opaqueOver(color, backdrop = WHITE$1) {
1721
+ return color.a < 1 ? compositeOver(color, backdrop) : color;
1722
+ }
1723
+ /**
1724
+ * Move `color` along OKLCH lightness, at its own hue, until it reaches
1725
+ * `ratio` against every backdrop. It moves away from the backdrops: darker on
1726
+ * light ones, lighter on dark ones. The color comes back unchanged when it
1727
+ * already passes, and `null` means no lightness at that hue gets there.
1728
+ */
1729
+ function solveLightness(color, backdrops, ratio) {
1730
+ const passes = (candidate) => backdrops.every((backdrop) => contrastRatio(candidate, backdrop) >= ratio);
1731
+ const opaque = {
1732
+ ...color,
1733
+ a: 1
1734
+ };
1735
+ if (passes(opaque)) return opaque;
1736
+ const meanLuminance = backdrops.reduce((sum, b) => sum + relativeLuminance(b), 0) / backdrops.length;
1737
+ const base = toOklch(opaque);
1738
+ const darker = meanLuminance > .18;
1739
+ const at = (l) => fromOklch({
1740
+ ...base,
1741
+ l
1742
+ });
1743
+ const target = at(darker ? 0 : 1);
1744
+ if (!passes(target)) return null;
1745
+ let lo = darker ? 0 : base.l;
1746
+ let hi = darker ? base.l : 1;
1747
+ for (let i = 0; i < 32; i++) {
1748
+ const mid = (lo + hi) / 2;
1749
+ if (darker === passes(at(mid))) lo = mid;
1750
+ else hi = mid;
1751
+ }
1752
+ const solved = at(darker ? lo : hi);
1753
+ return passes(solved) ? solved : target;
1754
+ }
1755
+ /** `#RRGGBB` for an opaque color. */
1756
+ function toHex(color) {
1757
+ return formatHex(Math.round(color.r), Math.round(color.g), Math.round(color.b));
1758
+ }
1759
+ //#endregion
1760
+ //#region src/Theme/statusColorDefaults.ts
1761
+ /**
1762
+ * Status color defaults, by upstream name.
1763
+ *
1764
+ * The CSS lives in `@astryx-vue/themes/neutral/base.css`, the default theme.
1765
+ * This is the same group for code that measures colors instead of painting
1766
+ * them: status-role derivation reads a fill or surface a custom theme leaves
1767
+ * unset from here. `statusColorDefaults.test.ts` keeps the two in sync.
1768
+ *
1769
+ * The table covers every color the derivation measures (surfaces, the light
1770
+ * and dark content colors, each status fill and pale fill) and the roles it
1771
+ * derives (content on the fill, status text, content on the pale fill).
1772
+ */
1773
+ const STATUS_COLOR_DEFAULTS = {
1774
+ "--color-background-surface": "light-dark(#ffffff, #262626)",
1775
+ "--color-background-card": "light-dark(#ffffff, #1b1b1b)",
1776
+ "--color-on-dark": "#ffffff",
1777
+ "--color-on-light": "#111111",
1778
+ "--color-info": "light-dark(#0074e2, #6d9cfe)",
1779
+ "--color-info-muted": "light-dark(#b9d7ff, #88bcff3D)",
1780
+ "--color-on-info": "light-dark(#ffffff, #111111)",
1781
+ "--color-text-info": "light-dark(#0067ce, #a1caff)",
1782
+ "--color-on-info-muted": "light-dark(#003978, #a1caff)",
1783
+ "--color-success": "light-dark(#198100, #64af4c)",
1784
+ "--color-success-muted": "light-dark(#bce0bb, #90ca903d)",
1785
+ "--color-on-success": "light-dark(#ffffff, #111111)",
1786
+ "--color-text-success": "light-dark(#2f7d33, #90ca90)",
1787
+ "--color-on-success-muted": "light-dark(#00490b, #90ca90)",
1788
+ "--color-warning": "#ffce2f",
1789
+ "--color-warning-muted": "light-dark(#fae19e, #e2b6233d)",
1790
+ "--color-on-warning": "#111111",
1791
+ "--color-text-warning": "light-dark(#836700, #eec448)",
1792
+ "--color-on-warning-muted": "light-dark(#4b3900, #eec448)",
1793
+ "--color-error": "light-dark(#c9303a, #ff705d)",
1794
+ "--color-error-muted": "light-dark(#ffc4be, #ff98903d)",
1795
+ "--color-on-error": "light-dark(#ffffff, #111111)",
1796
+ "--color-text-error": "light-dark(#c0262c, #ffaea7)",
1797
+ "--color-on-error-muted": "light-dark(#76000c, #ffaea7)"
1798
+ };
1799
+ //#endregion
1800
+ //#region src/Theme/statusRoleDerivation.ts
1801
+ const STATUS_NAMES = [
1802
+ "info",
1803
+ "success",
1804
+ "warning",
1805
+ "error"
1806
+ ];
1807
+ const TEXT_RATIO = 4.5;
1808
+ const SOLVE_RATIO = 4.58;
1809
+ const WHITE = {
1810
+ r: 255,
1811
+ g: 255,
1812
+ b: 255,
1813
+ a: 1
1814
+ };
1815
+ const BLACK = {
1816
+ r: 0,
1817
+ g: 0,
1818
+ b: 0,
1819
+ a: 1
1820
+ };
1821
+ const DEFAULTS = Object.fromEntries(Object.entries(STATUS_COLOR_DEFAULTS).map(([name, value]) => [normalizeTokenName(name), value]));
1822
+ const name = (bare) => normalizeTokenName(bare);
1823
+ const SURFACE = name("--color-background-surface");
1824
+ const CARD = name("--color-background-card");
1825
+ const ON_DARK = name("--color-on-dark");
1826
+ const ON_LIGHT = name("--color-on-light");
1827
+ const fillOf = (status) => name(`--color-${status}`);
1828
+ const mutedOf = (status) => name(`--color-${status}-muted`);
1829
+ const ROLE_TOKENS = {
1830
+ on: (s) => name(`--color-on-${s}`),
1831
+ text: (s) => name(`--color-text-${s}`),
1832
+ onMuted: (s) => name(`--color-on-${s}-muted`)
1833
+ };
1834
+ const ROLES = Object.keys(ROLE_TOKENS);
1835
+ /** Roles that follow the text role. */
1836
+ const TEXT_FOLLOWERS = [(s) => name(`--color-icon-${s}`), (s) => name(`--color-border-${s}`)];
1837
+ /** Split on commas outside parentheses. */
1838
+ function splitTopLevel(input) {
1839
+ const parts = [];
1840
+ let depth = 0;
1841
+ let current = "";
1842
+ for (const ch of input) {
1843
+ if (ch === "(") depth++;
1844
+ if (ch === ")") depth--;
1845
+ if (ch === "," && depth === 0) {
1846
+ parts.push(current.trim());
1847
+ current = "";
1848
+ continue;
1849
+ }
1850
+ current += ch;
1851
+ }
1852
+ parts.push(current.trim());
1853
+ return parts;
1854
+ }
1855
+ const VAR_REF = /^var\(\s*(--[\w-]+)\s*(?:,(.*))?\)$/s;
1856
+ /**
1857
+ * One token's concrete value in a mode, following `light-dark()` and `var()`
1858
+ * through the theme's tokens and then the defaults.
1859
+ */
1860
+ function resolveToken(tokens, token, mode, seen) {
1861
+ if (seen.has(token)) return void 0;
1862
+ const raw = tokens[token] ?? DEFAULTS[token];
1863
+ return raw === void 0 ? void 0 : resolveValue(tokens, raw, mode, /* @__PURE__ */ new Set([...seen, token]));
1864
+ }
1865
+ function resolveValue(tokens, raw, mode, seen) {
1866
+ const value = raw.trim();
1867
+ if (/^light-dark\(/i.test(value) && value.endsWith(")")) {
1868
+ const [light = "", dark = ""] = splitTopLevel(value.slice(value.indexOf("(") + 1, -1));
1869
+ return resolveValue(tokens, mode === "light" ? light : dark, mode, seen);
1870
+ }
1871
+ const ref = VAR_REF.exec(value);
1872
+ if (ref?.[1]) return resolveToken(tokens, ref[1], mode, seen) ?? (ref[2] ? resolveValue(tokens, ref[2], mode, seen) : void 0);
1873
+ return value;
1874
+ }
1875
+ function colorAt(tokens, token, mode) {
1876
+ const value = resolveToken(tokens, token, mode, /* @__PURE__ */ new Set());
1877
+ return value === void 0 ? null : parseColor(value);
1878
+ }
1879
+ /** The fill's hue, or the default fill's when the theme's fill is grey. */
1880
+ function statusHue(tokens, status, mode) {
1881
+ const color = colorAt(tokens, fillOf(status), mode);
1882
+ if (color !== null && isChromatic(color)) return {
1883
+ ...color,
1884
+ a: 1
1885
+ };
1886
+ const fallback = colorAt({}, fillOf(status), mode);
1887
+ return fallback === null ? null : {
1888
+ ...fallback,
1889
+ a: 1
1890
+ };
1891
+ }
1892
+ function deriveForMode(tokens, status, mode) {
1893
+ const source = colorAt(tokens, fillOf(status), mode);
1894
+ const hue = statusHue(tokens, status, mode);
1895
+ const surface = colorAt(tokens, SURFACE, mode);
1896
+ const cardColor = colorAt(tokens, CARD, mode);
1897
+ const muted = colorAt(tokens, mutedOf(status), mode);
1898
+ const onDark = colorAt(tokens, ON_DARK, mode);
1899
+ const onLight = colorAt(tokens, ON_LIGHT, mode);
1900
+ if (!source || !hue || !surface || !cardColor || !muted || !onDark || !onLight) return null;
1901
+ const opaqueSurface = opaqueOver(surface);
1902
+ const card = opaqueOver(cardColor, opaqueSurface);
1903
+ const fill = opaqueOver(source, opaqueSurface);
1904
+ const roles = {};
1905
+ const lightInk = opaqueOver(onDark, fill);
1906
+ const darkInk = opaqueOver(onLight, fill);
1907
+ const themeInk = contrastRatio(lightInk, fill) >= contrastRatio(darkInk, fill) ? lightInk : darkInk;
1908
+ roles.on = contrastRatio(themeInk, fill) >= TEXT_RATIO ? themeInk : contrastRatio(WHITE, fill) >= contrastRatio(BLACK, fill) ? WHITE : BLACK;
1909
+ const text = solveLightness(hue, [opaqueSurface, card], SOLVE_RATIO);
1910
+ if (text) roles.text = text;
1911
+ const onMuted = solveLightness(hue, [compositeOver(muted, opaqueSurface)], SOLVE_RATIO);
1912
+ if (onMuted) roles.onMuted = onMuted;
1913
+ return roles;
1914
+ }
1915
+ /**
1916
+ * `light-dark()` values for every status role a theme leaves unset while
1917
+ * setting a color that role is measured against, plus icon and border roles
1918
+ * that follow a text role the theme sets or gets here.
1919
+ *
1920
+ * `tokens` are the theme's own `--astryx-` prefixed values.
1921
+ */
1922
+ function deriveStatusRoleTokens(tokens) {
1923
+ const authored = (token) => tokens[token] !== void 0;
1924
+ const surfaceSet = authored(SURFACE) || authored(CARD);
1925
+ const inkSet = authored(ON_DARK) || authored(ON_LIGHT);
1926
+ const derived = {};
1927
+ for (const status of STATUS_NAMES) {
1928
+ const fillSet = authored(fillOf(status));
1929
+ const affects = {
1930
+ on: fillSet || inkSet,
1931
+ text: fillSet || surfaceSet,
1932
+ onMuted: fillSet || authored(mutedOf(status)) || surfaceSet
1933
+ };
1934
+ const light = deriveForMode(tokens, status, "light");
1935
+ const dark = deriveForMode(tokens, status, "dark");
1936
+ if (light && dark) for (const role of ROLES) {
1937
+ const token = ROLE_TOKENS[role](status);
1938
+ const pair = [light[role], dark[role]];
1939
+ if (!affects[role] || authored(token) || !pair[0] || !pair[1]) continue;
1940
+ derived[token] = `light-dark(${toHex(pair[0])}, ${toHex(pair[1])})`;
1941
+ }
1942
+ const textRole = ROLE_TOKENS.text(status);
1943
+ if (!authored(textRole) && derived[textRole] === void 0) continue;
1944
+ for (const follower of TEXT_FOLLOWERS) {
1945
+ const token = follower(status);
1946
+ if (!authored(token) && !tokens[textRole]?.includes(token)) derived[token] = `var(${textRole})`;
1947
+ }
1948
+ }
1949
+ return derived;
1950
+ }
1951
+ //#endregion
1644
1952
  //#region src/Theme/themeAxes.ts
1645
1953
  function mergeRole(base, own) {
1646
1954
  if (!base || !own) return own ?? base;
@@ -2401,6 +2709,12 @@ function sealIndicators(indicators) {
2401
2709
  for (const [name, component] of Object.entries(indicators)) if (component) sealed[name] = markRaw(component);
2402
2710
  return sealed;
2403
2711
  }
2712
+ /** The base's tokens without the ones it derived, so this theme derives its own. */
2713
+ function authoredBaseTokens(base) {
2714
+ const tokens = { ...base?.tokens };
2715
+ for (const name of base?.derivedTokens ?? []) delete tokens[name];
2716
+ return tokens;
2717
+ }
2404
2718
  function assertTargets(components) {
2405
2719
  for (const target of Object.keys(components ?? {})) assertTargetName(target);
2406
2720
  }
@@ -2415,6 +2729,11 @@ function assertTargets(components) {
2415
2729
  * `extends` starts from everything the base theme resolved to: tokens,
2416
2730
  * local tokens, component styles, surfaces, adaptations, icons, indicators.
2417
2731
  * This theme's own values win, and the result is self-contained.
2732
+ *
2733
+ * Status roles the theme does not set but whose colors it changes (a status
2734
+ * fill, a pale fill, a surface, or the light and dark content colors) are
2735
+ * computed against its own colors: content on each fill, status text, and
2736
+ * content on each pale fill. See `statusRoleDerivation.ts`.
2418
2737
  */
2419
2738
  function defineTheme(input) {
2420
2739
  if (!THEME_NAME.test(input.name)) throw new Error(`Theme name "${input.name}" must use letters, numbers, and hyphens.`);
@@ -2424,10 +2743,16 @@ function defineTheme(input) {
2424
2743
  assertTargets(input.onLight?.components);
2425
2744
  const base = input.extends;
2426
2745
  const own = resolveThemeValues(input, "");
2427
- const tokens = {
2428
- ...base?.tokens,
2746
+ const authoredTokens = {
2747
+ ...authoredBaseTokens(base),
2429
2748
  ...own.tokens
2430
2749
  };
2750
+ const derivedStatusRoles = deriveStatusRoleTokens(authoredTokens);
2751
+ const tokens = {
2752
+ ...authoredTokens,
2753
+ ...derivedStatusRoles
2754
+ };
2755
+ const derivedTokens = Object.keys(derivedStatusRoles);
2431
2756
  const components = mergeComponentMaps(base?.components, own.components);
2432
2757
  const local = resolveLocalTokens(input.name, input.localTokens, base, tokens);
2433
2758
  const ownAxes = {
@@ -2474,6 +2799,7 @@ function defineTheme(input) {
2474
2799
  __astryxTheme: true,
2475
2800
  name: input.name,
2476
2801
  tokens,
2802
+ ...derivedTokens.length > 0 ? { derivedTokens } : {},
2477
2803
  ...local ? {
2478
2804
  localTokens: local.localTokens,
2479
2805
  localTokenOwners: local.owners
@@ -2721,4 +3047,4 @@ function useMediaTheme() {
2721
3047
  return { mode: inject(mediaThemeKey, null) ?? computed(() => "off") };
2722
3048
  }
2723
3049
  //#endregion
2724
- export { neutralTheme as a, expandMotionScale as c, WIDTH_BREAKPOINT_NAMES as d, isDefinedTheme as i, expandColorScale as l, _sfc_main as n, expandTypeScale as o, defineTheme as r, expandRadiusScale as s, useMediaTheme as t, DEFAULT_WIDTH_BREAKPOINTS as u };
3050
+ export { neutralTheme as a, expandRadiusScale as c, DEFAULT_WIDTH_BREAKPOINTS as d, WIDTH_BREAKPOINT_NAMES as f, isDefinedTheme as i, expandMotionScale as l, _sfc_main as n, STATUS_COLOR_DEFAULTS as o, defineTheme as r, expandTypeScale as s, useMediaTheme as t, expandColorScale as u };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Thumbnail-Cqt2l_zO.js";
1
+ import { t as _sfc_main } from "../Thumbnail-CTkLFo-A.js";
2
2
  export { _sfc_main as Thumbnail };
@@ -1,7 +1,7 @@
1
1
  import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
2
2
  import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
3
3
  import { t as useAnnounce } from "./announce-B210eJVf.js";
4
- import { t as _sfc_main$2 } from "./IconButton-Crtfruc0.js";
4
+ import { t as _sfc_main$2 } from "./IconButton-C91rhbvu.js";
5
5
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
6
6
  import { t as _sfc_main$3 } from "./Tooltip-CGHpFMnc.js";
7
7
  import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
@@ -7,7 +7,7 @@ import { t as _sfc_main$5 } from "./ButtonTooltip-CNKOQHYR.js";
7
7
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
8
8
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
9
9
  import { t as _sfc_main$6 } from "./FieldIcon-DMtfe1Ne.js";
10
- import { t as _sfc_main$7 } from "./IconButton-Crtfruc0.js";
10
+ import { t as _sfc_main$7 } from "./IconButton-C91rhbvu.js";
11
11
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
12
12
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
13
13
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
@@ -1,2 +1,2 @@
1
- import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-D44l1Esr.js";
1
+ import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-dRBNR7Tq.js";
2
2
  export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TimeInput-DYAsRNAO.js";
1
+ import { t as _sfc_main } from "../TimeInput-BKfg3SZ7.js";
2
2
  export { _sfc_main as TimeInput };
@@ -3,7 +3,7 @@ import { i as useSize } from "./SizeContext-BbaF-SEx.js";
3
3
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
4
4
  import { t as _sfc_main$1 } from "./Field-Dc15m78p.js";
5
5
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
6
- import { t as _sfc_main$2 } from "./TimeField-2QBI5tU6.js";
6
+ import { t as _sfc_main$2 } from "./TimeField-BGtS_m-U.js";
7
7
  import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, unref, useAttrs, useId, useModel, withCtx } from "vue";
8
8
  //#region src/TimeInput/TimeInput.vue
9
9
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,2 +1,2 @@
1
- import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-BBTU-TKb.js";
1
+ import { a as TimerFormat, i as TimerType, n as TimerColor, o as TimerPresentation, r as TimerProps, s as getPresentation, t as _default } from "../index-9eluGe3a.js";
2
2
  export { _default as Timer, type TimerColor, type TimerFormat, type TimerPresentation, type TimerProps, type TimerType, getPresentation };
@@ -1,2 +1,2 @@
1
- import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-D44l1Esr.js";
1
+ import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-dRBNR7Tq.js";
2
2
  export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,3 +1,3 @@
1
1
  import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
2
- import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-CwNc1inn.js";
2
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-B7H0KScU.js";
3
3
  export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$2 } from "./IconButton-Crtfruc0.js";
1
+ import { t as _sfc_main$2 } from "./IconButton-C91rhbvu.js";
2
2
  import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
3
3
  import { t as _sfc_main$3 } from "./Text-WB-fpFne.js";
4
4
  import { t as _sfc_main$4 } from "./HoverCard-CLcbBLBN.js";
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-cVNBdW-q.js";
1
+ import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-aI9QMW-L.js";
2
2
  export { _sfc_main as Toast, _sfc_main$1 as ToastViewport, useToast };
@@ -2,11 +2,11 @@ import { d as hasInteractiveAncestor } from "./pressFeedback-Bwwpex9q.js";
2
2
  import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
3
3
  import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
4
4
  import { r as useLayerConfig } from "./context-M-er0-Rk.js";
5
- import { t as _sfc_main$3 } from "./IconButton-Crtfruc0.js";
5
+ import { t as _sfc_main$3 } from "./IconButton-C91rhbvu.js";
6
6
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
7
7
  import { i as whenModalSettled, r as useActiveModalOutlet } from "./modalOutlet-CUOcrhIu.js";
8
8
  import { t as toastMessages } from "./toast-BvAnX6Vc.js";
9
- import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-Bt7WBTkq.js";
9
+ import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-BVKUsMfC.js";
10
10
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, markRaw, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, watch, withCtx } from "vue";
11
11
  import "../styles/toast.css";
12
12
  //#region src/Toast/options.ts
@@ -1,2 +1,2 @@
1
- import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-D44l1Esr.js";
1
+ import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-dRBNR7Tq.js";
2
2
  export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-BMn4yJXe.js";
1
+ import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-DI9I-LBH.js";
2
2
  export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
@@ -1,9 +1,9 @@
1
- import { i as pressGroupItemProps } from "./context-CZP3jfy-.js";
2
- import { t as useActionGroupTracking } from "./useActionGroupTracking-BncJjk1A.js";
1
+ import { i as useTouchHitArea, n as buttonHitAreaContextKey, r as GROUP_HIT_AREA, s as pressGroupItemProps } from "./context-BJ9RkXYX.js";
2
+ import { t as useActionGroupTracking } from "./useActionGroupTracking-B4niQ_tR.js";
3
3
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
4
- import { t as _sfc_main$2 } from "./Button-DsjdehLZ.js";
4
+ import { t as _sfc_main$2 } from "./Button-BeNp2zq_.js";
5
5
  import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
6
- import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
6
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
7
7
  import "../styles/toggle-button.css";
8
8
  //#region src/ToggleButton/context.ts
9
9
  const toggleButtonGroupContextKey = defineLayerScopedKey("astryx-toggle-button-group", null);
@@ -207,11 +207,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
207
207
  /**
208
208
  * 触屏为主的设备上,手指和笔可以按住一个切换按钮滑到别的上面,只切换松手时手指下的那个;
209
209
  * 在组外松手什么都不切换。鼠标还是原生按钮的行为。
210
+ * 手指的目标通过组画的一圈热区朝 44px 长,长到离组外相邻控件一半间距为止;
211
+ * 按在热区上的触摸交给最近的成员。成员自己不画热区。
210
212
  */
211
213
  const root = useTemplateRef("root");
212
214
  const isCoarse = useCoarsePointer();
213
215
  const tracksPress = computed(() => isCoarse.value && !props.isDisabled);
214
- useActionGroupTracking(root, { isEnabled: tracksPress });
216
+ useActionGroupTracking(root, {
217
+ isEnabled: tracksPress,
218
+ growsTargets: true
219
+ });
220
+ useTouchHitArea(root, tracksPress, GROUP_HIT_AREA);
221
+ provide(buttonHitAreaContextKey, false);
215
222
  provide(toggleButtonGroupContextKey, {
216
223
  isDisabled,
217
224
  selectedValues,
@@ -223,13 +230,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
223
230
  return openBlock(), createElementBlock("div", {
224
231
  ref_key: "root",
225
232
  ref: root,
226
- class: "astryx-toggle-button-group",
233
+ class: normalizeClass(["astryx-toggle-button-group", { "astryx-touch-hit-area-below": tracksPress.value }]),
227
234
  "aria-label": __props.label,
228
235
  "data-orientation": __props.orientation,
229
236
  "data-press-tracking": tracksPress.value || void 0,
230
237
  "data-size": size.value,
231
238
  role: "group"
232
- }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_1);
239
+ }, [renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
233
240
  };
234
241
  }
235
242
  });
@@ -1,2 +1,2 @@
1
- import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-5FGt4HsB.js";
1
+ import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-J6YRJ7Ul.js";
2
2
  export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
@@ -1,2 +1,2 @@
1
- import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-mkbGYz8f.js";
1
+ import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-Bn-v89Vt.js";
2
2
  export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
@@ -1,3 +1,3 @@
1
- import { T as _default } from "../index-D44l1Esr.js";
1
+ import { T as _default } from "../index-dRBNR7Tq.js";
2
2
  import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-fEGAFziz.js";
3
3
  export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
@@ -1,2 +1,2 @@
1
- import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-BzZC2Y7c.js";
1
+ import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-Cz72NaF_.js";
2
2
  export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
@@ -1,2 +1,2 @@
1
- import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-D44l1Esr.js";
1
+ import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-dRBNR7Tq.js";
2
2
  export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };