@astryx-vue/core 0.46.1 → 0.46.3

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 (136) hide show
  1. package/dist/AppShell/index.d.ts +1 -1
  2. package/dist/AvatarGroup/index.d.ts +1 -1
  3. package/dist/Banner/index.d.ts +1 -1
  4. package/dist/BottomSheet/index.d.ts +1 -1
  5. package/dist/Button/index.d.ts +1 -1
  6. package/dist/ButtonGroup/index.d.ts +1 -1
  7. package/dist/Calendar/index.d.ts +1 -1
  8. package/dist/Carousel/index.d.ts +1 -1
  9. package/dist/Chat/index.d.ts +1 -1
  10. package/dist/CheckboxInput/index.d.ts +1 -1
  11. package/dist/CheckboxList/index.d.ts +1 -1
  12. package/dist/ClickableCard/index.d.ts +1 -1
  13. package/dist/Code/index.d.ts +1 -1
  14. package/dist/Collapsible/index.d.ts +1 -1
  15. package/dist/CommandPalette/index.d.ts +1 -1
  16. package/dist/ComplexSelector/index.d.ts +1 -1
  17. package/dist/ContextMenu/index.d.ts +1 -1
  18. package/dist/DateInput/index.d.ts +1 -1
  19. package/dist/DateRangeInput/index.d.ts +1 -1
  20. package/dist/DateTimeInput/index.d.ts +1 -1
  21. package/dist/Dialog/index.d.ts +1 -1
  22. package/dist/Divider/index.d.ts +1 -1
  23. package/dist/Drawer/index.d.ts +1 -1
  24. package/dist/HoverCard/index.d.ts +1 -1
  25. package/dist/InfoTip/index.d.ts +1 -1
  26. package/dist/InternationalizationProvider/index.d.ts +1 -1
  27. package/dist/InternationalizationProvider/index.js +1 -1
  28. package/dist/{InternationalizationProvider-Bczcehmz.js → InternationalizationProvider-CyxgZ6jv.js} +1 -1
  29. package/dist/Link/index.d.ts +1 -1
  30. package/dist/List/index.d.ts +1 -1
  31. package/dist/Markdown/index.d.ts +1 -1
  32. package/dist/MetadataList/index.d.ts +1 -1
  33. package/dist/MoreMenu/index.d.ts +1 -1
  34. package/dist/MultiSelector/index.d.ts +1 -1
  35. package/dist/NumberInput/index.d.ts +1 -1
  36. package/dist/OverflowList/index.d.ts +1 -1
  37. package/dist/Overlay/index.d.ts +1 -1
  38. package/dist/Pagination/index.d.ts +1 -1
  39. package/dist/Popover/index.d.ts +1 -1
  40. package/dist/PowerSearch/index.d.ts +1 -1
  41. package/dist/PowerSearch/index.js +1 -1
  42. package/dist/{PowerSearch-B8ubaAE3.js → PowerSearch-B_RQO3ZF.js} +2 -2
  43. package/dist/ProgressBar/index.d.ts +1 -1
  44. package/dist/Radio/index.d.ts +1 -1
  45. package/dist/Radio/index.js +1 -1
  46. package/dist/{RadioGroup-kFw6aAKj.js → RadioGroup-BIO2ckvf.js} +7 -8
  47. package/dist/RadioList/index.d.ts +1 -1
  48. package/dist/RadioList/index.js +1 -1
  49. package/dist/{RadioListItem-CssFcD1Y.js → RadioListItem-D1N5d2ei.js} +1 -1
  50. package/dist/ScrollableArea/index.d.ts +1 -1
  51. package/dist/SegmentedControl/index.js +1 -1
  52. package/dist/{SegmentedControl-D7pHBEdQ.js → SegmentedControl-0jm3K1vo.js} +43 -20
  53. package/dist/SelectableCard/index.d.ts +1 -1
  54. package/dist/Selector/index.d.ts +1 -1
  55. package/dist/SideNav/index.d.ts +1 -1
  56. package/dist/Slider/index.js +1 -1
  57. package/dist/{Slider-3HSEWBNK.js → Slider-DYV-mD3h.js} +31 -15
  58. package/dist/Stack/index.d.ts +1 -1
  59. package/dist/Stepper/index.d.ts +1 -1
  60. package/dist/Switch/index.d.ts +1 -1
  61. package/dist/Switch/index.js +1 -1
  62. package/dist/{Switch-a7Wl8I_P.js → Switch-DesSuw56.js} +67 -25
  63. package/dist/TabList/index.d.ts +1 -1
  64. package/dist/Table/index.d.ts +1 -1
  65. package/dist/Table/index.js +1 -1
  66. package/dist/{Table-B-WmTplc.js → Table-DbJVAmQH.js} +2 -2
  67. package/dist/TextArea/index.d.ts +1 -1
  68. package/dist/TextInput/index.d.ts +1 -1
  69. package/dist/Theme/index.js +1 -1
  70. package/dist/{Theme-DXixI0z-.js → Theme-CcGxrb5E.js} +3 -1
  71. package/dist/TimeInput/index.d.ts +1 -1
  72. package/dist/Timestamp/index.d.ts +1 -1
  73. package/dist/ToggleButton/index.d.ts +1 -1
  74. package/dist/Tokenizer/index.d.ts +1 -1
  75. package/dist/Toolbar/index.d.ts +1 -1
  76. package/dist/Tooltip/index.d.ts +1 -1
  77. package/dist/TopNav/index.d.ts +1 -1
  78. package/dist/TreeList/index.d.ts +1 -1
  79. package/dist/{colorDefaults-B2CKnREh.js → colorDefaults-COH0QXXC.js} +1 -0
  80. package/dist/{index-BTmfBGRb.d.ts → index-83Gp-isU.d.ts} +2 -2
  81. package/dist/{index-C7Z2FAJo.d.ts → index-B_XTzQhm.d.ts} +2 -2
  82. package/dist/{index-BZ_lQz43.d.ts → index-BbHuan0g.d.ts} +1 -1
  83. package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
  84. package/dist/{index-DofC9Rll.d.ts → index-BtqvPjAf.d.ts} +1 -1
  85. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  86. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  87. package/dist/{index-BlY7M7_W.d.ts → index-C9iidKbL.d.ts} +1 -1
  88. package/dist/{index-Ds4dOCSy.d.ts → index-CCa_dvoF.d.ts} +3 -3
  89. package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
  90. package/dist/{index-CD1-Hqm0.d.ts → index-CmqD5Ya9.d.ts} +2 -2
  91. package/dist/{index-B8XkUCzI.d.ts → index-CqSUm878.d.ts} +1 -1
  92. package/dist/{index-pMXzt4R0.d.ts → index-CvtYT6T3.d.ts} +7 -7
  93. package/dist/{index-NbpMsjlB.d.ts → index-DB5qCY-e.d.ts} +1 -1
  94. package/dist/{index-T5bzxQ30.d.ts → index-DCyYldjP.d.ts} +1 -1
  95. package/dist/{index-B8NGDyIe.d.ts → index-DSAtZP4A.d.ts} +1 -1
  96. package/dist/{index-0rops6Vo.d.ts → index-DYU4kE-q.d.ts} +3 -3
  97. package/dist/{index-Br41ynrM.d.ts → index-Dh1ZiUCu.d.ts} +2 -2
  98. package/dist/{index-DZUoC8aR.d.ts → index-Dmr81uHZ.d.ts} +2 -2
  99. package/dist/{index-C5aEstRY.d.ts → index-Dn4_BPHR.d.ts} +2 -2
  100. package/dist/{index-fsiQpH20.d.ts → index-DpoPQpHU.d.ts} +77 -77
  101. package/dist/{index-DOqxWQJp.d.ts → index-DyikW_sN.d.ts} +1 -1
  102. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  103. package/dist/{index-D7oZatKe.d.ts → index-W1vk0b9d.d.ts} +6 -6
  104. package/dist/{index-Ak1b0V24.d.ts → index-a6o69uPN.d.ts} +1 -1
  105. package/dist/{index-FeZXsFO-.d.ts → index-a_FOKJMw.d.ts} +2 -2
  106. package/dist/{index-YKCx03zD.d.ts → index-jz9GfvS0.d.ts} +1 -1
  107. package/dist/index.d.ts +28 -28
  108. package/dist/index.js +13 -13
  109. package/dist/{loadCatalog-zzs2TbVx.js → loadCatalog--oXKoMve.js} +5 -1
  110. package/dist/{loadCatalog-Cm394Q3F.d.ts → loadCatalog-YkQJ7sxu.d.ts} +2 -0
  111. package/dist/locale/index.d.ts +2 -2
  112. package/dist/locale/index.js +3 -3
  113. package/dist/{locale-C6LeW6D2.js → locale-BH7q40Eo.js} +1 -1
  114. package/dist/palette/index.js +1 -1
  115. package/dist/{palette-DWaX6mbE.js → palette-DWpsKA5X.js} +3 -1
  116. package/dist/{slider-6ZlGhyPD.js → slider-B3dPDmye.js} +4 -2
  117. package/locales/en.json +4 -0
  118. package/package.json +1 -1
  119. package/styles/bordered-control.css +2 -2
  120. package/styles/checkbox-indicator.css +2 -2
  121. package/styles/complex-selector.css +1 -1
  122. package/styles/date-input.css +3 -3
  123. package/styles/dropdown-menu.css +1 -1
  124. package/styles/input-group.css +3 -3
  125. package/styles/multi-selector.css +2 -2
  126. package/styles/number-input.css +1 -1
  127. package/styles/power-search.css +2 -2
  128. package/styles/radio-indicator.css +2 -2
  129. package/styles/segmented-control.css +8 -3
  130. package/styles/selector.css +2 -2
  131. package/styles/slider.css +2 -0
  132. package/styles/switch.css +10 -0
  133. package/styles/text-area.css +2 -2
  134. package/styles/text-input.css +2 -2
  135. package/styles/tokenizer.css +2 -2
  136. package/styles/typeahead.css +2 -2
@@ -1,2 +1,2 @@
1
- import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-pMXzt4R0.js";
1
+ import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-CvtYT6T3.js";
2
2
  export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
@@ -1,2 +1,2 @@
1
- import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-fsiQpH20.js";
1
+ import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-DpoPQpHU.js";
2
2
  export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Slider-3HSEWBNK.js";
1
+ import { t as _sfc_main } from "../Slider-DYV-mD3h.js";
2
2
  export { _sfc_main as Slider };
@@ -22,7 +22,7 @@ import { a as useAriaRequired } from "./context-CrVCeUUK.js";
22
22
  import { t as _sfc_main$4 } from "./Field-BiLdRQCq.js";
23
23
  import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
24
24
  import { n as playHaptic } from "./haptics-DaX2u-jB.js";
25
- import { t as sliderMessages } from "./slider-6ZlGhyPD.js";
25
+ import { t as sliderMessages } from "./slider-B3dPDmye.js";
26
26
  import { n as createPressTracker, t as PRESS_PROFILES } from "./PressTracker-CiaaoD3I.js";
27
27
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx, withKeys } from "vue";
28
28
  import "../styles/button.css";
@@ -185,11 +185,25 @@ function add(first, second) {
185
185
  function multiply(first, second) {
186
186
  return Number((first * second).toFixed(Math.min(20, precision(first) + precision(second))));
187
187
  }
188
+ /**
189
+ * The character count of the longest text a value shows, for the text value's
190
+ * reserved width. Up to 200 steps every value is formatted; above that, the
191
+ * ends and the values one step in from them. `max` counts too: the end shows
192
+ * it even off the step grid.
193
+ */
194
+ function longestValueText(min, max, step, format) {
195
+ const count = step > 0 && max > min ? Math.floor((max - min) / step) : 0;
196
+ const shown = count <= 200 ? Array.from({ length: count + 1 }, (_, index) => min + index * step) : [
197
+ min,
198
+ min + step,
199
+ max - step
200
+ ];
201
+ return Math.max(format(max).length, ...shown.map((value) => format(clamp(snap(value, min, step), min, max)).length));
202
+ }
188
203
  //#endregion
189
204
  //#region src/Slider/SliderThumb.vue
190
205
  const _hoisted_1$1 = [
191
206
  "id",
192
- "tabindex",
193
207
  "data-thumb-index",
194
208
  "data-dragging",
195
209
  "data-keyboard-focus",
@@ -219,7 +233,6 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
219
233
  valueText: {},
220
234
  isInvalid: { type: Boolean },
221
235
  isDisabled: { type: Boolean },
222
- isFocusable: { type: Boolean },
223
236
  tooltipText: {},
224
237
  dragging: { type: Boolean },
225
238
  dragActive: { type: Boolean },
@@ -236,7 +249,6 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
236
249
  const emit = __emit;
237
250
  const thumb = useTemplateRef("thumb");
238
251
  const tooltip = useTemplateRef("tooltip");
239
- const tabIndex = computed(() => props.isFocusable ? 0 : -1);
240
252
  const focused = shallowRef(false);
241
253
  const hovered = shallowRef(false);
242
254
  const dismissed = shallowRef(false);
@@ -270,7 +282,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
270
282
  }
271
283
  return (_ctx, _cache) => {
272
284
  return openBlock(), createElementBlock(Fragment, null, [
273
- createCommentVNode(" eslint-disable-next-line vue-a11y/interactive-supports-focus -- The tested dynamic tabindex is always 0 or -1. "),
285
+ createCommentVNode(" A disabled thumb stays focusable with aria-disabled, so keyboard and assistive technology still reach it. "),
274
286
  createElementVNode("div", mergeProps(__props.extraAttrs, {
275
287
  id: __props.id,
276
288
  ref_key: "thumb",
@@ -278,7 +290,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
278
290
  class: "astryx-slider-thumb",
279
291
  role: "slider",
280
292
  style: style.value,
281
- tabindex: tabIndex.value,
293
+ tabindex: "0",
282
294
  "data-thumb-index": __props.index,
283
295
  "data-dragging": __props.dragging || void 0,
284
296
  "data-keyboard-focus": __props.keyboardFocus || void 0,
@@ -1237,11 +1249,6 @@ const _hoisted_3 = [
1237
1249
  const _hoisted_4 = { class: "astryx-slider-travel" };
1238
1250
  const _hoisted_5 = ["data-mark-value", "data-filled"];
1239
1251
  const _hoisted_6 = ["data-mark-value"];
1240
- const _hoisted_7 = {
1241
- key: 0,
1242
- class: "astryx-slider-value",
1243
- "aria-hidden": "true"
1244
- };
1245
1252
  const _sfc_main = /*@__PURE__*/ defineComponent({
1246
1253
  name: "AstryxSlider",
1247
1254
  inheritAttrs: false,
@@ -1368,7 +1375,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1368
1375
  const marks = computed(() => props.marks?.filter((mark) => Number.isFinite(mark.value) && mark.value >= min.value && mark.value <= max.value) ?? []);
1369
1376
  const hasMarkLabels = computed(() => marks.value.some((mark) => mark.label));
1370
1377
  const format = (value) => props.formatValue?.(value) ?? String(value);
1371
- const displayText = computed(() => values.value.map(format).join(" – "));
1378
+ const valueText = (shown) => shown.length === 2 ? messages.value.slider.rangeValue(shown[0], shown[1]) : shown[0] ?? "";
1379
+ const displayText = computed(() => valueText(values.value.map(format)));
1380
+ const valueReserve = computed(() => {
1381
+ if (props.valueDisplay !== "text") return void 0;
1382
+ const longest = "0".repeat(longestValueText(min.value, max.value, props.step, format));
1383
+ return { minInlineSize: `min(${valueText(isRange.value ? [longest, longest] : [longest]).length + 1}ch, 50%)` };
1384
+ });
1372
1385
  const fillStyle = computed(() => ({
1373
1386
  "--_slider-fill-start": isRange.value ? percent(values.value[0], min.value, max.value) / 100 : 0,
1374
1387
  "--_slider-fill-end": percent(values.value.at(-1), min.value, max.value) / 100
@@ -1541,7 +1554,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1541
1554
  "value-text": __props.formatValue ? format(value) : void 0,
1542
1555
  "is-invalid": __props.status?.type === "error",
1543
1556
  "is-disabled": __props.isDisabled,
1544
- "is-focusable": !__props.isDisabled || showsDisabledMessage.value,
1545
1557
  dragging: unref(dragging) === index,
1546
1558
  "drag-active": unref(dragging) !== null,
1547
1559
  "keyboard-focus": unref(control).keyboardFocus.value === index,
@@ -1564,7 +1576,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1564
1576
  "value-text",
1565
1577
  "is-invalid",
1566
1578
  "is-disabled",
1567
- "is-focusable",
1568
1579
  "dragging",
1569
1580
  "drag-active",
1570
1581
  "keyboard-focus",
@@ -1575,7 +1586,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1575
1586
  ]);
1576
1587
  }), 128))
1577
1588
  ])], 16, _hoisted_3),
1578
- __props.valueDisplay === "text" ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(displayText.value), 1)) : createCommentVNode("v-if", true)
1589
+ __props.valueDisplay === "text" ? (openBlock(), createElementBlock("span", {
1590
+ key: 0,
1591
+ class: "astryx-slider-value",
1592
+ style: normalizeStyle(valueReserve.value),
1593
+ "aria-hidden": "true"
1594
+ }, toDisplayString(displayText.value), 5)) : createCommentVNode("v-if", true)
1579
1595
  ]),
1580
1596
  isRange.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createVNode(_sfc_main$2, { id: `${inputId.value}-label-0` }, {
1581
1597
  default: withCtx(() => [createTextVNode(toDisplayString(minName.value), 1)]),
@@ -1,3 +1,3 @@
1
1
  import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
2
- import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BB9acgK8.js";
2
+ import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BgT6mH3U.js";
3
3
  export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
@@ -1,2 +1,2 @@
1
- import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-Ak1b0V24.js";
1
+ import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-a6o69uPN.js";
2
2
  export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
@@ -1,2 +1,2 @@
1
- import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-fsiQpH20.js";
1
+ import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-DpoPQpHU.js";
2
2
  export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Switch-a7Wl8I_P.js";
1
+ import { t as _sfc_main } from "../Switch-DesSuw56.js";
2
2
  export { _sfc_main as Switch };
@@ -394,29 +394,45 @@ function lockPressedRow(elements, target) {
394
394
  //#region src/Switch/switchFill.ts
395
395
  /**
396
396
  * @file switchFill.ts
397
- * @input Switch's native input and its track
398
- * @output readFillInState: the track's computed fill as the theme paints it
399
- * in a given state, read in place
400
- * @position Read by switchTouchVisuals.ts for the colour fade under a finger
397
+ * @input Switch's native input, its track and its thumb
398
+ * @output readFillInState and readThumbSizeInState: what the theme paints in
399
+ * a given state, read in place
400
+ * @position Read by switchTouchVisuals.ts for the colour fade under a finger,
401
+ * and by switchTouchController.ts for the thumb's size before any press
401
402
  *
402
- * The track's fill follows the input's `:checked` (switch.css). The colour
403
- * fade needs the fill of the state the track is not in: the input's checked
404
- * state is swapped, the colour read and the state swapped back in the same
405
- * task, so nothing paints in between and no event fires.
403
+ * The track's fill and the thumb's size follow the input's `:checked`
404
+ * (switch.css). The touch motion needs them in a state the switch is not in:
405
+ * the input's checked state is swapped, the style read and the state swapped
406
+ * back in the same task, so nothing paints in between and no event fires.
406
407
  */
408
+ function inState(input, isOn, read) {
409
+ const saved = input.checked;
410
+ input.checked = isOn;
411
+ try {
412
+ return read();
413
+ } finally {
414
+ input.checked = saved;
415
+ }
416
+ }
407
417
  /** The track's computed fill when the input's checked state is `isOn`. */
408
418
  function readFillInState(input, track, isOn) {
409
- const saved = input.checked;
410
419
  const held = track.style.getPropertyValue("background-color");
411
- input.checked = isOn;
412
420
  if (held !== "") track.style.removeProperty("background-color");
413
421
  try {
414
- return getComputedStyle(track).backgroundColor;
422
+ return inState(input, isOn, () => getComputedStyle(track).backgroundColor);
415
423
  } finally {
416
- input.checked = saved;
417
424
  if (held !== "") track.style.setProperty("background-color", held);
418
425
  }
419
426
  }
427
+ /**
428
+ * The thumb's diameter the stylesheet sets (`--_switch-thumb-size`) when the
429
+ * input's checked state is `isOn`, or null where it is not a px length.
430
+ */
431
+ function readThumbSizeInState(input, thumb, isOn) {
432
+ const value = inState(input, isOn, () => getComputedStyle(thumb).getPropertyValue("--_switch-thumb-size"));
433
+ const themed = /^\s*(\d+(?:\.\d+)?|\.\d+)px\s*$/.exec(value);
434
+ return themed ? Number(themed[1]) : null;
435
+ }
420
436
  //#endregion
421
437
  //#region src/Switch/switchTouchVisuals.ts
422
438
  /** The fade layer's colour, set on the track for its `::after`. */
@@ -456,8 +472,8 @@ var SwitchTouchVisuals = class {
456
472
  isOn;
457
473
  /** The side the visuals show or head to. */
458
474
  isVisuallyOn;
459
- /** +1 left-to-right, −1 right-to-left. */
460
- direction = 1;
475
+ /** +1 left-to-right, −1 right-to-left; null until its first use after a bind. */
476
+ writingDirection = null;
461
477
  thumb = null;
462
478
  /** The fade layer: its opacity is how far the visuals are from the value. */
463
479
  fade = null;
@@ -477,15 +493,15 @@ var SwitchTouchVisuals = class {
477
493
  this.geometry = geometry;
478
494
  }
479
495
  /** The parts a press measures, with no animator (the switch's own look). */
480
- bind(elements, direction) {
496
+ bind(elements) {
481
497
  this.elements = elements;
482
- this.direction = direction;
498
+ this.writingDirection = null;
483
499
  this.isGeometryMeasured = false;
484
500
  this.isVisuallyOn = this.isOn;
485
501
  }
486
502
  /** The animators of the touch presentation, from rest. */
487
- attach(elements, direction) {
488
- this.bind(elements, direction);
503
+ attach(elements) {
504
+ this.bind(elements);
489
505
  this.thumb = createMotionEngine(elements.thumb);
490
506
  this.fade = createMotionEngine(elements.track, {
491
507
  pseudoElement: "::after",
@@ -499,7 +515,14 @@ var SwitchTouchVisuals = class {
499
515
  base: { opacity: 0 }
500
516
  });
501
517
  this.shadow.set({ opacity: 0 }, { promote: false });
502
- this.paintFade();
518
+ }
519
+ /**
520
+ * +1 left-to-right, −1 right-to-left, read at its first use: a read at
521
+ * mount would recalculate style for every switch on the page.
522
+ */
523
+ get direction() {
524
+ this.writingDirection ??= isRtlElement(this.elements?.surface ?? null) ? -1 : 1;
525
+ return this.writingDirection;
503
526
  }
504
527
  /** Undo the animators and every inline style they wrote. */
505
528
  detach() {
@@ -755,6 +778,12 @@ var SwitchTouchController = class {
755
778
  isInteractive = true;
756
779
  /** The thumb's diameter in each state, for a change before any press. */
757
780
  thumbSizes = null;
781
+ /**
782
+ * The value the touch presentation attached in, whose thumb diameter the
783
+ * first value change before any press reads (attachedThumbSize); null once
784
+ * read, or outside the touch presentation.
785
+ */
786
+ attachedIsOn = null;
758
787
  /** The thumb's diameter the stylesheet sets for the state it attached in. */
759
788
  attachedThumb = null;
760
789
  detachers = [];
@@ -783,14 +812,13 @@ var SwitchTouchController = class {
783
812
  attach(elements, presentation) {
784
813
  this.detach();
785
814
  this.elements = elements;
786
- const direction = isRtlElement(elements.surface) ? -1 : 1;
787
815
  this.attachedThumb = null;
788
- this.visuals.bind(elements, direction);
816
+ this.attachedIsOn = null;
817
+ this.visuals.bind(elements);
789
818
  if (presentation === "touch") {
790
819
  registerSwitchTable();
791
- const themed = /^\s*(\d+(?:\.\d+)?|\.\d+)px\s*$/.exec(getComputedStyle(elements.thumb).getPropertyValue("--_switch-thumb-size"));
792
- this.attachedThumb = themed ? Number(themed[1]) : null;
793
- this.visuals.attach(elements, direction);
820
+ this.attachedIsOn = this.visuals.isOn;
821
+ this.visuals.attach(elements);
794
822
  }
795
823
  this.detachers = this.attachTracker(elements.surface);
796
824
  }
@@ -845,7 +873,7 @@ var SwitchTouchController = class {
845
873
  if (isOn === visuals.isOn) return;
846
874
  const previous = visuals.isOn;
847
875
  const time = now();
848
- const previousSize = this.thumbSizes == null ? null : this.attachedThumb ?? this.thumbSizes[previous ? "on" : "off"];
876
+ const previousSize = this.thumbSizes == null ? null : this.attachedThumbSize() ?? this.thumbSizes[previous ? "on" : "off"];
849
877
  const springs = visuals.rebaseToValue(isOn, previousSize, time);
850
878
  const thumb = visuals.thumb;
851
879
  if (thumb == null) {
@@ -859,6 +887,20 @@ var SwitchTouchController = class {
859
887
  visuals.showSide(isOn, time, thumb.getVelocity("x", time), touchRelease);
860
888
  }
861
889
  }
890
+ /**
891
+ * The thumb's diameter the stylesheet sets for the state the switch attached
892
+ * in, or null where it sets none: read once, at the first value change
893
+ * before any press, with the input put back in that state for the read.
894
+ */
895
+ attachedThumbSize() {
896
+ const elements = this.elements;
897
+ const isOn = this.attachedIsOn;
898
+ if (elements != null && isOn != null) {
899
+ this.attachedIsOn = null;
900
+ this.attachedThumb = readThumbSizeInState(elements.input, elements.thumb, isOn);
901
+ }
902
+ return this.attachedThumb;
903
+ }
862
904
  /** The app changed the value mid-gesture: the value wins, nothing commits. */
863
905
  endDragForValue() {
864
906
  if (this.drag == null || this.released) return false;
@@ -1,2 +1,2 @@
1
- import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-mK1ICsVg.js";
1
+ import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-Cm36VS1A.js";
2
2
  export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
@@ -1,3 +1,3 @@
1
- import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-fsiQpH20.js";
1
+ import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-DpoPQpHU.js";
2
2
  import { $ as useTableSelectionState, A as TableLoadingState, B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowMenuItem, G as TableTextOverflow, H as TableSortDirection, I as TableRowModel, J as TableSelectedKeysSetter, K as TableVerticalAlign, L as TableRowPatch, M as TablePlugin, N as TableProps, O as TableGroupPatch, P as TableRowListeners, Q as useTableSelection, R as TableRowProps, S as TableDividers, T as TableFilterState, U as TableSortEntry, W as TableSortState, X as UseTableSelectionConfig, Y as TableSelectionState, Z as UseTableSelectionStateConfig, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePanelPatch, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as TableVirtualizationContribution, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign, z as TableSelectionToolbarProps } from "../useResizable-if_cP4fs.js";
3
3
  export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TableLoadingState, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowModel, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type TableVirtualizationContribution, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableColumnsVirtualizationConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTableInfiniteScrollConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableRowsVirtualizationConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -1,2 +1,2 @@
1
- import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-B-WmTplc.js";
1
+ import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-DbJVAmQH.js";
2
2
  export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -21,8 +21,8 @@ import { t as _sfc_main$21 } from "./CheckboxInput-D7uMSWmO.js";
21
21
  import { t as _sfc_main$22 } from "./ComponentIcon-B67QcA-d.js";
22
22
  import { t as _sfc_main$23 } from "./Popover-ChbuU4Nc.js";
23
23
  import { t as _sfc_main$24 } from "./DateInput-BU_M6g1j.js";
24
- import { s as tableMessages } from "./loadCatalog-zzs2TbVx.js";
25
- import { r as useCollator } from "./locale-C6LeW6D2.js";
24
+ import { s as tableMessages } from "./loadCatalog--oXKoMve.js";
25
+ import { r as useCollator } from "./locale-BH7q40Eo.js";
26
26
  import { t as _sfc_main$25 } from "./MultiSelector-DO33TcAb.js";
27
27
  import { t as _sfc_main$26 } from "./NumberInput-CxB2Lt8R.js";
28
28
  import { t as _sfc_main$27 } from "./Pagination-kyLNBr4_.js";
@@ -1,2 +1,2 @@
1
- import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-fsiQpH20.js";
1
+ import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-DpoPQpHU.js";
2
2
  export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
@@ -1,2 +1,2 @@
1
- import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-fsiQpH20.js";
1
+ import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-DpoPQpHU.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 };
@@ -2,5 +2,5 @@ import { n as normalizeTokenName } from "../tokenName-0U-WEH09.js";
2
2
  import { n as WIDTH_BREAKPOINT_NAMES, t as DEFAULT_WIDTH_BREAKPOINTS } from "../adaptationTypes-Beao49TN.js";
3
3
  import { n as compactDefinition, t as DEFAULT_COMPACT_DEFINITION } from "../compactDefinition-D32f2O_H.js";
4
4
  import { i as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-BavxpAJt.js";
5
- import { a as neutralTheme, c as expandMotionScale, i as isDefinedTheme, l as expandRadiusScale, n as _sfc_main$1, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "../Theme-DXixI0z-.js";
5
+ import { a as neutralTheme, c as expandMotionScale, i as isDefinedTheme, l as expandRadiusScale, n as _sfc_main$1, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "../Theme-CcGxrb5E.js";
6
6
  export { DATA_TOKEN_DEFAULTS, DEFAULT_COMPACT_DEFINITION, DEFAULT_WIDTH_BREAKPOINTS, _sfc_main as MediaTheme, STATUS_COLOR_DEFAULTS, _sfc_main$1 as Theme, WIDTH_BREAKPOINT_NAMES, compactDefinition, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
@@ -12,7 +12,7 @@ import { a as syntaxThemeStyle, n as SYNTAX_TOKEN_KEYS, t as DIFF_SYNTAX_TOKEN_K
12
12
  import { t as syntaxThemeKey } from "./syntaxContext-DmIfNNtb.js";
13
13
  import { r as useRootScheme } from "./useResolvedColorMode-CyZjLvfj.js";
14
14
  import { a as relativeLuminance, n as contrastRatio, r as parseColor, t as compositeOver } from "./contrast-B0fsdq4U.js";
15
- import { t as colorDefaults } from "./colorDefaults-B2CKnREh.js";
15
+ import { t as colorDefaults } from "./colorDefaults-COH0QXXC.js";
16
16
  import { r as bridgeComponentTokens } from "./MediaTheme-BavxpAJt.js";
17
17
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, h, inject, markRaw, mergeProps, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useAttrs, useTemplateRef, watch } from "vue";
18
18
  import "../styles/theme.css";
@@ -482,6 +482,7 @@ function expandColorScale(config = {}) {
482
482
  const textSecondaryDark = high ? 80 : 70;
483
483
  const borderAlpha = high ? .2 : .1;
484
484
  const borderEmphasized = lightDark(ensureContrastTone(lightSeed.hue, neutralVariantChroma, high ? 50 : 70, -1, neutralLight[99] ?? "#FFFFFF", NON_TEXT_MIN_CONTRAST), ensureContrastTone(darkSeed.hue, neutralVariantChroma, high ? 50 : 30, 1, neutralDark[10] ?? "#000000", NON_TEXT_MIN_CONTRAST));
485
+ const borderControl = lightDark(ensureContrastTone(lightSeed.hue, neutralVariantChroma, high ? 50 : 70, -1, neutralLight[95] ?? "#FFFFFF", NON_TEXT_MIN_CONTRAST), ensureContrastTone(darkSeed.hue, neutralVariantChroma, high ? 50 : 30, 1, neutralDark[10] ?? "#000000", NON_TEXT_MIN_CONTRAST));
485
486
  return {
486
487
  ...accent != null ? {
487
488
  "--color-accent": lightDark(accentLight[40] ?? "#000000", accentDark[80] ?? "#FFFFFF"),
@@ -508,6 +509,7 @@ function expandColorScale(config = {}) {
508
509
  "--color-background-inverted": lightDark(neutralLight[10] ?? "#000000", neutralDark[99] ?? "#FFFFFF"),
509
510
  "--color-border": lightDark(hexWithAlpha(neutralLight[10] ?? "#000000", borderAlpha), hexWithAlpha(neutralDark[95] ?? "#FFFFFF", borderAlpha)),
510
511
  "--color-border-emphasized": borderEmphasized,
512
+ "--color-border-control": borderControl,
511
513
  "--color-skeleton": lightDark(neutralVariantLight[70] ?? "#000000", neutralVariantDark[30] ?? "#FFFFFF"),
512
514
  "--color-track": lightDark(neutralVariantLight[70] ?? "#000000", neutralVariantDark[30] ?? "#FFFFFF"),
513
515
  "--color-shadow": lightDark(hexWithAlpha(neutralLight[0] ?? "#000000", .1), hexWithAlpha(neutralDark[0] ?? "#000000", .3)),
@@ -1,2 +1,2 @@
1
- import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-fsiQpH20.js";
1
+ import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-DpoPQpHU.js";
2
2
  export { _default as TimeInput, type TimeInputEmits, type TimeInputEntryError, type TimeInputProps, type TimeInputSize };
@@ -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-fsiQpH20.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-DpoPQpHU.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,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-fsiQpH20.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-DpoPQpHU.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 { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-0rops6Vo.js";
1
+ import { a as TokenizerPresentation, c as TokenizerSlots, i as TokenizerOverflow, l as TokenizerStatus, n as TokenizerChange, o as TokenizerProps, r as TokenizerEmits, s as TokenizerSize, t as _default } from "../index-DYU4kE-q.js";
2
2
  export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerPresentation, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
@@ -1,3 +1,3 @@
1
- import { T as _default } from "../index-fsiQpH20.js";
1
+ import { T as _default } from "../index-DpoPQpHU.js";
2
2
  import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-if_cP4fs.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 UseTooltipOptions, o as TooltipFocusTrigger, r as UseTooltipReturn, s as TooltipPlacement, t as useTooltip } from "../index-DZUoC8aR.js";
1
+ import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipOptions, o as TooltipFocusTrigger, r as UseTooltipReturn, s as TooltipPlacement, t as useTooltip } from "../index-Dmr81uHZ.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-fsiQpH20.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-DpoPQpHU.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 };
@@ -1,2 +1,2 @@
1
- import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-BZ_lQz43.js";
1
+ import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-BbHuan0g.js";
2
2
  export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
@@ -61,6 +61,7 @@ const colorDefaults = {
61
61
  "--color-on-error-muted": "var(--color-text-red)",
62
62
  "--color-border": "light-dark(#05365919, #F2F4F619)",
63
63
  "--color-border-emphasized": "light-dark(#CCD3DB, #494D53)",
64
+ "--color-border-control": "light-dark(#878D95, #666A70)",
64
65
  "--color-skeleton": "light-dark(#CCD3DB, #5A5E66)",
65
66
  "--color-track": "light-dark(#CCD3DB, #5A5E66)",
66
67
  "--color-shadow": "light-dark(rgba(5, 54, 89, 0.1), rgba(0, 0, 0, 0.3))",
@@ -17,13 +17,13 @@ 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;
22
20
  label: string;
23
21
  anchor: HTMLElement | null;
24
22
  isOpen: boolean;
23
+ width: string | number;
25
24
  placement: LayerPlacement;
26
25
  alignment: LayerAlignment;
26
+ padding: PopoverPadding;
27
27
  presentation: AdaptivePresentation;
28
28
  role: PopoverRole;
29
29
  hasAutoFocus: boolean;
@@ -121,10 +121,10 @@ 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
+ step: number;
124
125
  isDisabled: boolean;
125
- variant: PaginationVariant;
126
126
  size: PaginationSize;
127
- step: number;
127
+ variant: PaginationVariant;
128
128
  disabled: boolean;
129
129
  page: number;
130
130
  pageSize: number;
@@ -63,8 +63,8 @@ interface TreeListSlots {
63
63
  //#region src/TreeList/TreeList.vue.d.ts
64
64
  type __VLS_Slots = TreeListSlots;
65
65
  declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
66
- variant: TreeListVariant;
67
66
  density: TreeListDensity;
67
+ variant: TreeListVariant;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
69
69
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
70
70
  declare const _default: typeof __VLS_export;
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
18
18
  };
19
19
  declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
20
20
  as: StackElement;
21
- direction: StackDirection;
22
21
  wrap: StackWrap;
22
+ direction: StackDirection;
23
23
  isScrollable: boolean;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
@@ -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;
92
93
  delay: number;
93
94
  hideDelay: number;
94
95
  focusTrigger: HoverCardFocusTrigger;
95
96
  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>;
@@ -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
- showOn: OverlayShowOn;
179
178
  scrim: OverlayScrimMode;
179
+ showOn: OverlayShowOn;
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
- showOn: OverlayShowOn;
196
195
  scrim: OverlayScrimMode;
196
+ showOn: OverlayShowOn;
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;
@@ -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
- variant: DividerVariant;
25
24
  orientation: DividerOrientation;
25
+ variant: DividerVariant;
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>;
@@ -96,10 +96,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
96
96
  focus: typeof focus;
97
97
  blur: typeof blur;
98
98
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
99
+ density: ListDensity;
99
100
  isDisabled: boolean;
100
101
  layout: ItemLayout;
101
102
  as: ItemElement;
102
- density: ListDensity;
103
103
  isSelected: boolean;
104
104
  align: ItemAlign;
105
105
  isHighlighted: boolean;