@1337exp/taoui 5.39.1 → 5.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Comment, Text, Fragment, shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, ref, inject, provide, shallowRef, unref, createElementVNode, createStaticVNode, toDisplayString, createCommentVNode, useSlots, useAttrs, createBlock, useId, mergeProps, watch, createVNode, toValue, onBeforeUnmount, nextTick, onMounted, Teleport, Transition, withCtx, renderList, createTextVNode, withDirectives, withModifiers, withKeys, vModelText, createSlots, normalizeProps, guardReactiveProps, resolveDynamicComponent, onBeforeMount, resolveComponent, toRef, vShow, getCurrentInstance, reactive, TransitionGroup, onUpdated, createApp } from "vue";
1
+ import { Comment, Text, Fragment, shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, ref, inject, provide, shallowRef, unref, createElementVNode, createStaticVNode, toDisplayString, createCommentVNode, useSlots, useAttrs, createBlock, withCtx, createTextVNode, useId, mergeProps, watch, createVNode, toValue, onBeforeUnmount, nextTick, onMounted, Teleport, Transition, renderList, withDirectives, withModifiers, withKeys, vModelText, createSlots, normalizeProps, guardReactiveProps, resolveDynamicComponent, onBeforeMount, resolveComponent, toRef, vShow, getCurrentInstance, reactive, TransitionGroup, onUpdated, createApp } from "vue";
2
2
  function isDev() {
3
3
  try {
4
4
  return process.env.NODE_ENV !== "production";
@@ -110,9 +110,9 @@ function resolveTaoIcon(name) {
110
110
  return name.startsWith(TAO_ICON_PREFIX) ? builtin[name.slice(TAO_ICON_PREFIX.length)] : registered[name];
111
111
  }
112
112
  const taoIconNames = Object.keys(builtin).map((name) => TAO_ICON_PREFIX + name);
113
- const _hoisted_1$1c = { class: "tao-icon" };
113
+ const _hoisted_1$1d = { class: "tao-icon" };
114
114
  const _hoisted_2$13 = ["viewBox", "width", "height", "innerHTML"];
115
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
115
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
116
116
  ...{ name: "TaoIcon" },
117
117
  __name: "TaoIcon",
118
118
  props: {
@@ -132,7 +132,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
132
132
  }
133
133
  const box = computed(() => props.size ? `${props.size}px` : "1em");
134
134
  return (_ctx, _cache) => {
135
- return openBlock(), createElementBlock("span", _hoisted_1$1c, [
135
+ return openBlock(), createElementBlock("span", _hoisted_1$1d, [
136
136
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
137
137
  def.value ? (openBlock(), createElementBlock("svg", {
138
138
  key: 0,
@@ -165,7 +165,23 @@ const _export_sfc = (sfc, props) => {
165
165
  }
166
166
  return target;
167
167
  };
168
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-ef842331"]]);
168
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-ef842331"]]);
169
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
170
+ ...{ name: "TaoKbd" },
171
+ __name: "TaoKbd",
172
+ props: {
173
+ variant: { default: "cap" }
174
+ },
175
+ setup(__props) {
176
+ return (_ctx, _cache) => {
177
+ return openBlock(), createElementBlock("kbd", {
178
+ class: normalizeClass(["tao-kbd", { "tao-kbd--plain": __props.variant === "plain" }])
179
+ }, [
180
+ renderSlot(_ctx.$slots, "default")
181
+ ], 2);
182
+ };
183
+ }
184
+ });
169
185
  const localeEn = {
170
186
  code: "en-US",
171
187
  alert: { closeLabel: "Close", detailsLabel: "Details" },
@@ -604,13 +620,13 @@ function pluralForm(forms, n, code) {
604
620
  }
605
621
  return forms[category] ?? forms.other;
606
622
  }
607
- const _hoisted_1$1b = ["role", "aria-hidden"];
623
+ const _hoisted_1$1c = ["role", "aria-hidden"];
608
624
  const _hoisted_2$12 = {
609
625
  key: 0,
610
626
  class: "tao-loader__ellipsis",
611
627
  "aria-hidden": "true"
612
628
  };
613
- const _hoisted_3$U = {
629
+ const _hoisted_3$T = {
614
630
  key: 1,
615
631
  class: "tao-loader__ring",
616
632
  "aria-hidden": "true"
@@ -672,25 +688,20 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
672
688
  createElementVNode("div", null, null, -1),
673
689
  createElementVNode("div", null, null, -1),
674
690
  createElementVNode("div", null, null, -1)
675
- ])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$U)) : __props.variant === "diamonds" ? (openBlock(), createElementBlock("span", _hoisted_4$K, [..._cache[1] || (_cache[1] = [
691
+ ])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$T)) : __props.variant === "diamonds" ? (openBlock(), createElementBlock("span", _hoisted_4$K, [..._cache[1] || (_cache[1] = [
676
692
  createStaticVNode('<span class="tao-loader__axis" data-v-03f29efb><i class="tao-loader__swap-left" data-v-03f29efb></i><i class="tao-loader__swap-right" data-v-03f29efb></i><i class="tao-loader__swap-hollow" data-v-03f29efb></i></span><span class="tao-loader__axis tao-loader__axis--cross" data-v-03f29efb><i class="tao-loader__swap-left" data-v-03f29efb></i><i class="tao-loader__swap-right" data-v-03f29efb></i><i class="tao-loader__swap-hollow" data-v-03f29efb></i></span>', 2)
677
693
  ])])) : (openBlock(), createElementBlock("span", _hoisted_5$y)),
678
694
  !__props.decorative ? (openBlock(), createElementBlock("span", _hoisted_6$r, toDisplayString(unref(l10n).label), 1)) : createCommentVNode("", true)
679
- ], 14, _hoisted_1$1b);
695
+ ], 14, _hoisted_1$1c);
680
696
  };
681
697
  }
682
698
  });
683
699
  const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-03f29efb"]]);
684
- const _hoisted_1$1a = ["type", "aria-pressed", "aria-keyshortcuts", "title", "aria-busy", "disabled"];
700
+ const _hoisted_1$1b = ["type", "aria-pressed", "aria-keyshortcuts", "title", "aria-busy", "disabled"];
685
701
  const _hoisted_2$11 = {
686
702
  key: 2,
687
703
  class: "tao-button__content"
688
704
  };
689
- const _hoisted_3$T = {
690
- key: 4,
691
- class: "tao-button__shortcut",
692
- "aria-hidden": "true"
693
- };
694
705
  const _sfc_main$1n = /* @__PURE__ */ defineComponent({
695
706
  ...{ name: "TaoButton" },
696
707
  __name: "TaoButton",
@@ -782,12 +793,21 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
782
793
  class: "tao-button__icon",
783
794
  name: __props.iconEnd
784
795
  }, null, 8, ["name"])) : createCommentVNode("", true),
785
- __props.shortcut && !isIconOnly() ? (openBlock(), createElementBlock("kbd", _hoisted_3$T, toDisplayString(__props.shortcut), 1)) : createCommentVNode("", true)
786
- ], 14, _hoisted_1$1a);
796
+ __props.shortcut && !isIconOnly() ? (openBlock(), createBlock(_sfc_main$1p, {
797
+ key: 4,
798
+ class: "tao-button__shortcut",
799
+ "aria-hidden": "true"
800
+ }, {
801
+ default: withCtx(() => [
802
+ createTextVNode(toDisplayString(__props.shortcut), 1)
803
+ ]),
804
+ _: 1
805
+ })) : createCommentVNode("", true)
806
+ ], 14, _hoisted_1$1b);
787
807
  };
788
808
  }
789
809
  });
790
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-be24f74d"]]);
810
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-a491be1d"]]);
791
811
  function toCssLength(value) {
792
812
  if (value === void 0 || value === null || value === "") {
793
813
  return void 0;
@@ -861,7 +881,7 @@ function useField(props) {
861
881
  const describedBy = computed(() => field?.describedBy.value);
862
882
  return { field, controlId, invalid, describedBy, localId };
863
883
  }
864
- const _hoisted_1$19 = {
884
+ const _hoisted_1$1a = {
865
885
  key: 0,
866
886
  class: "tao-input__affix tao-input__affix--prefix"
867
887
  };
@@ -918,7 +938,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
918
938
  "tao-input-shell--suffix": has("suffix")
919
939
  }])
920
940
  }, [
921
- has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$19, [
941
+ has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$1a, [
922
942
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
923
943
  ])) : createCommentVNode("", true),
924
944
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
@@ -943,7 +963,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
943
963
  }
944
964
  });
945
965
  const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-66bc5496"]]);
946
- const _hoisted_1$18 = {
966
+ const _hoisted_1$19 = {
947
967
  key: 0,
948
968
  class: "tao-input-group__addon tao-input-group__addon--before"
949
969
  };
@@ -979,7 +999,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
979
999
  onFocusin: onFocusIn,
980
1000
  onFocusout: onFocusOut
981
1001
  }, [
982
- has("before") ? (openBlock(), createElementBlock("div", _hoisted_1$18, [
1002
+ has("before") ? (openBlock(), createElementBlock("div", _hoisted_1$19, [
983
1003
  renderSlot(_ctx.$slots, "before", {}, void 0, true)
984
1004
  ])) : createCommentVNode("", true),
985
1005
  createElementVNode("div", _hoisted_2$$, [
@@ -993,7 +1013,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
993
1013
  }
994
1014
  });
995
1015
  const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-d38f6b53"]]);
996
- const _hoisted_1$17 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1016
+ const _hoisted_1$18 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
997
1017
  const _hoisted_2$_ = {
998
1018
  key: 0,
999
1019
  class: "tao-input-number__steppers"
@@ -1161,7 +1181,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
1161
1181
  onFocus,
1162
1182
  onBlur,
1163
1183
  onKeydown: onKeydown2
1164
- }), null, 16, _hoisted_1$17),
1184
+ }), null, 16, _hoisted_1$18),
1165
1185
  __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$_, [
1166
1186
  createElementVNode("button", {
1167
1187
  type: "button",
@@ -1197,7 +1217,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
1197
1217
  }
1198
1218
  });
1199
1219
  const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-dc5bb759"]]);
1200
- const _hoisted_1$16 = ["aria-label", "disabled"];
1220
+ const _hoisted_1$17 = ["aria-label", "disabled"];
1201
1221
  const _hoisted_2$Z = { "aria-hidden": "true" };
1202
1222
  const _hoisted_3$P = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1203
1223
  const _hoisted_4$I = ["aria-label", "disabled"];
@@ -1347,7 +1367,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1347
1367
  createVNode(TaoIcon, { name: "tao-minus" })
1348
1368
  ], true)
1349
1369
  ])
1350
- ], 8, _hoisted_1$16),
1370
+ ], 8, _hoisted_1$17),
1351
1371
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
1352
1372
  id: unref(controlId),
1353
1373
  class: "tao-quantity__input",
@@ -1385,8 +1405,8 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1385
1405
  };
1386
1406
  }
1387
1407
  });
1388
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-6453479c"]]);
1389
- const _hoisted_1$15 = {
1408
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-c7bd72bc"]]);
1409
+ const _hoisted_1$16 = {
1390
1410
  key: 0,
1391
1411
  class: "tao-card__media"
1392
1412
  };
@@ -1410,7 +1430,7 @@ const _hoisted_6$p = {
1410
1430
  key: 0,
1411
1431
  class: "tao-card__title"
1412
1432
  };
1413
- const _hoisted_7$l = {
1433
+ const _hoisted_7$k = {
1414
1434
  key: 1,
1415
1435
  class: "tao-card__sub"
1416
1436
  };
@@ -1481,7 +1501,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1481
1501
  }]]),
1482
1502
  style: normalizeStyle(radiusStyle.value)
1483
1503
  }, [
1484
- _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$15, [
1504
+ _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$16, [
1485
1505
  renderSlot(_ctx.$slots, "media", {}, void 0, true),
1486
1506
  _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$Y, [
1487
1507
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
@@ -1501,7 +1521,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1501
1521
  has("title") ? (openBlock(), createElementBlock("h2", _hoisted_6$p, [
1502
1522
  renderSlot(_ctx.$slots, "title", {}, void 0, true)
1503
1523
  ])) : createCommentVNode("", true),
1504
- has("sub") ? (openBlock(), createElementBlock("div", _hoisted_7$l, [
1524
+ has("sub") ? (openBlock(), createElementBlock("div", _hoisted_7$k, [
1505
1525
  renderSlot(_ctx.$slots, "sub", {}, void 0, true)
1506
1526
  ])) : createCommentVNode("", true)
1507
1527
  ])) : createCommentVNode("", true),
@@ -1531,7 +1551,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1531
1551
  };
1532
1552
  }
1533
1553
  });
1534
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-4096cfb6"]]);
1554
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-b5dbaa1c"]]);
1535
1555
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1536
1556
  function getFocusable(root) {
1537
1557
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -1707,7 +1727,7 @@ function useWholePixelPanel(panel, open) {
1707
1727
  stop();
1708
1728
  });
1709
1729
  }
1710
- const _hoisted_1$14 = ["aria-labelledby"];
1730
+ const _hoisted_1$15 = ["aria-labelledby"];
1711
1731
  const _hoisted_2$X = {
1712
1732
  key: 0,
1713
1733
  class: "tao-modal__header"
@@ -1716,7 +1736,7 @@ const _hoisted_3$N = ["id"];
1716
1736
  const _hoisted_4$G = { key: 1 };
1717
1737
  const _hoisted_5$u = ["aria-label"];
1718
1738
  const _hoisted_6$o = { "aria-hidden": "true" };
1719
- const _hoisted_7$k = { class: "tao-modal__content" };
1739
+ const _hoisted_7$j = { class: "tao-modal__content" };
1720
1740
  const _hoisted_8$d = {
1721
1741
  key: 1,
1722
1742
  class: "tao-modal__footer"
@@ -1828,13 +1848,13 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1828
1848
  ])
1829
1849
  ], 8, _hoisted_5$u)) : createCommentVNode("", true)
1830
1850
  ])) : createCommentVNode("", true),
1831
- createElementVNode("div", _hoisted_7$k, [
1851
+ createElementVNode("div", _hoisted_7$j, [
1832
1852
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1833
1853
  ]),
1834
1854
  has("footer") ? (openBlock(), createElementBlock("div", _hoisted_8$d, [
1835
1855
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1836
1856
  ])) : createCommentVNode("", true)
1837
- ], 16, _hoisted_1$14)
1857
+ ], 16, _hoisted_1$15)
1838
1858
  ], 34)) : createCommentVNode("", true)
1839
1859
  ]),
1840
1860
  _: 3
@@ -1844,7 +1864,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1844
1864
  }
1845
1865
  });
1846
1866
  const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-d0ba0ca9"]]);
1847
- const _hoisted_1$13 = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1867
+ const _hoisted_1$14 = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1848
1868
  const _hoisted_2$W = ["id", "aria-labelledby"];
1849
1869
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1850
1870
  ...{ name: "TaoTabs" },
@@ -1941,7 +1961,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1941
1961
  }, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1942
1962
  createTextVNode(toDisplayString(tab.label), 1)
1943
1963
  ], 64))
1944
- ], 8, _hoisted_1$13);
1964
+ ], 8, _hoisted_1$14);
1945
1965
  }), 128))
1946
1966
  ], 36),
1947
1967
  createElementVNode("div", {
@@ -1956,7 +1976,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1956
1976
  };
1957
1977
  }
1958
1978
  });
1959
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-70811078"]]);
1979
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-0706706b"]]);
1960
1980
  function listenFocusLoss(onLoss) {
1961
1981
  function onVisibilityChange() {
1962
1982
  if (document.hidden) {
@@ -2071,6 +2091,15 @@ function normalizeHex(input, alpha = false) {
2071
2091
  const c = parseColor(input);
2072
2092
  return c ? toHex(c, alpha) : null;
2073
2093
  }
2094
+ function mixOver(top, under, alpha) {
2095
+ const a = parseColor(top);
2096
+ const b = parseColor(under);
2097
+ if (!a || !b) {
2098
+ throw new Error(`[TaoUI] palette: "${top}" or "${under}" is not a colour`);
2099
+ }
2100
+ const channel2 = (x, y) => Math.round(x * alpha + y * (1 - alpha));
2101
+ return toHex({ r: channel2(a.r, b.r), g: channel2(a.g, b.g), b: channel2(a.b, b.b), a: 1 });
2102
+ }
2074
2103
  const WHITE = "#ffffff";
2075
2104
  const BLACK = "#0d0d0d";
2076
2105
  const toLinear = (hex) => {
@@ -2204,7 +2233,9 @@ function buildPaletteRoles(def, mode) {
2204
2233
  const toward = onAccent === WHITE ? -1 : 1;
2205
2234
  accent = shiftUntil(accent, toward, (c) => contrastRatio(c, onAccent) >= 4.5);
2206
2235
  }
2207
- const accentText = dark ? shiftUntil(accent, 1, (c) => ink(c) >= 4.6) : shiftUntil(accent, -1, (c) => ink(c) >= 4.6);
2236
+ const tinted = [bg, raised].flatMap((surface2) => (dark ? [0.08, 0.14] : [0.1, 0.16]).map((t) => mixOver(accent, surface2, t)));
2237
+ const inkTinted = (c) => Math.min(ink(c), ...tinted.map((tint2) => contrastRatio(c, tint2)));
2238
+ const accentText = dark ? shiftUntil(accent, 1, (c) => inkTinted(c) >= 4.6) : shiftUntil(accent, -1, (c) => inkTinted(c) >= 4.6);
2208
2239
  const away = onAccent === WHITE ? -1 : 1;
2209
2240
  const accentHover = shiftUntil(accent, away, (c) => hexToOklch(c).L * away >= hexToOklch(accent).L * away + 0.04);
2210
2241
  const accentActive = shiftUntil(accent, away, (c) => hexToOklch(c).L * away >= hexToOklch(accent).L * away + 0.08);
@@ -2469,7 +2500,7 @@ function zoneGradient(zones, min, max, vertical = false, dimmed = false) {
2469
2500
  const stops = zones.map((z) => `${dimmed && z.reveal ? "transparent" : z.color} ${ratioOf(z.from, min, max) * 100}% ${ratioOf(z.to, min, max) * 100}%`);
2470
2501
  return `linear-gradient(${vertical ? "to top" : "to right"}, ${stops.join(", ")})`;
2471
2502
  }
2472
- const _hoisted_1$12 = ["aria-disabled"];
2503
+ const _hoisted_1$13 = ["aria-disabled"];
2473
2504
  const _hoisted_2$V = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "aria-keyshortcuts", "onKeydown"];
2474
2505
  const _hoisted_3$M = {
2475
2506
  key: 2,
@@ -2481,7 +2512,7 @@ const _hoisted_5$t = {
2481
2512
  class: "tao-slider__marks"
2482
2513
  };
2483
2514
  const _hoisted_6$n = ["disabled", "onClick"];
2484
- const _hoisted_7$j = {
2515
+ const _hoisted_7$i = {
2485
2516
  key: 0,
2486
2517
  class: "tao-slider__mark-label"
2487
2518
  };
@@ -2880,7 +2911,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
2880
2911
  onClick: ($event) => onMarkClick(mark)
2881
2912
  }, [
2882
2913
  _cache[9] || (_cache[9] = createElementVNode("span", { class: "tao-slider__tick" }, null, -1)),
2883
- mark.label ? (openBlock(), createElementBlock("span", _hoisted_7$j, [
2914
+ mark.label ? (openBlock(), createElementBlock("span", _hoisted_7$i, [
2884
2915
  renderSlot(_ctx.$slots, "mark", {
2885
2916
  mark,
2886
2917
  active: unref(isMarkActive)(mark.value, values.value)
@@ -2891,11 +2922,11 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
2891
2922
  ], 14, _hoisted_6$n);
2892
2923
  }), 128))
2893
2924
  ])) : createCommentVNode("", true)
2894
- ], 42, _hoisted_1$12);
2925
+ ], 42, _hoisted_1$13);
2895
2926
  };
2896
2927
  }
2897
2928
  });
2898
- const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-8ec84551"]]);
2929
+ const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-daf2df57"]]);
2899
2930
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
2900
2931
  ...{ name: "TaoSlider" },
2901
2932
  __name: "TaoSlider",
@@ -2964,7 +2995,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
2964
2995
  };
2965
2996
  }
2966
2997
  });
2967
- const _hoisted_1$11 = { class: "tao-scrubber__controls" };
2998
+ const _hoisted_1$12 = { class: "tao-scrubber__controls" };
2968
2999
  const _hoisted_2$U = { class: "tao-scrubber__track" };
2969
3000
  const _hoisted_3$L = {
2970
3001
  key: 0,
@@ -3010,7 +3041,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3010
3041
  return openBlock(), createElementBlock("div", {
3011
3042
  class: normalizeClass(["tao-scrubber", [unref(sizeClass)(__props.size), `tao-scrubber--${__props.variant}`, { "tao-scrubber--marks-start": __props.marksSide === "start", "tao-scrubber--disabled": __props.disabled }]])
3012
3043
  }, [
3013
- createElementVNode("div", _hoisted_1$11, [
3044
+ createElementVNode("div", _hoisted_1$12, [
3014
3045
  createVNode(TaoButton, {
3015
3046
  size: "small",
3016
3047
  variant: "secondary",
@@ -3205,15 +3236,24 @@ function useFloating(anchor, panel, open, options = {}) {
3205
3236
  });
3206
3237
  return { style, side, anchorOffset, placed, update };
3207
3238
  }
3239
+ const _hoisted_1$11 = { class: "tao-tooltip__text" };
3208
3240
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3209
3241
  ...{ name: "TaoTooltip" },
3210
3242
  __name: "TaoTooltip",
3211
3243
  props: {
3212
3244
  content: {},
3213
- placement: { default: "top" }
3245
+ placement: { default: "top" },
3246
+ shortcut: {},
3247
+ animated: { type: [Boolean, Number], default: void 0 },
3248
+ bold: { type: Boolean, default: true }
3214
3249
  },
3215
3250
  setup(__props) {
3216
3251
  const props = __props;
3252
+ const motion = computed(() => {
3253
+ if (props.animated === void 0) return void 0;
3254
+ const n = props.animated === true ? 1 : Number(props.animated);
3255
+ return Number.isFinite(n) && n > 0 ? n : 0;
3256
+ });
3217
3257
  const wrapperRef = ref(null);
3218
3258
  const tooltipRef = ref(null);
3219
3259
  const showTooltip = ref(false);
@@ -3221,7 +3261,11 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3221
3261
  placement: () => props.placement,
3222
3262
  gap: 8
3223
3263
  });
3224
- const panelStyle = computed(() => ({ ...style.value, visibility: placed.value ? "visible" : "hidden" }));
3264
+ const panelStyle = computed(() => ({
3265
+ ...style.value,
3266
+ visibility: placed.value ? "visible" : "hidden",
3267
+ ...motion.value === void 0 ? {} : { "--tao-tooltip-motion": String(motion.value) }
3268
+ }));
3225
3269
  const arrowStyle = computed(() => {
3226
3270
  const arrowPad = 10;
3227
3271
  const el = tooltipRef.value;
@@ -3264,11 +3308,20 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3264
3308
  key: 0,
3265
3309
  ref_key: "tooltipRef",
3266
3310
  ref: tooltipRef,
3267
- class: normalizeClass(["tao-tooltip", `tao-tooltip--${unref(side)}`]),
3311
+ class: normalizeClass(["tao-tooltip", [`tao-tooltip--${unref(side)}`, { "tao-tooltip--regular": !__props.bold }]]),
3268
3312
  role: "tooltip",
3269
3313
  style: normalizeStyle(panelStyle.value)
3270
3314
  }, [
3271
- createTextVNode(toDisplayString(__props.content) + " ", 1),
3315
+ createElementVNode("span", _hoisted_1$11, toDisplayString(__props.content), 1),
3316
+ __props.shortcut ? (openBlock(), createBlock(_sfc_main$1p, {
3317
+ key: 0,
3318
+ class: "tao-tooltip__shortcut"
3319
+ }, {
3320
+ default: withCtx(() => [
3321
+ createTextVNode(toDisplayString(__props.shortcut), 1)
3322
+ ]),
3323
+ _: 1
3324
+ })) : createCommentVNode("", true),
3272
3325
  createElementVNode("span", {
3273
3326
  class: "tao-tooltip__arrow",
3274
3327
  style: normalizeStyle(arrowStyle.value),
@@ -3283,7 +3336,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3283
3336
  };
3284
3337
  }
3285
3338
  });
3286
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-32ae3936"]]);
3339
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-dfb081a5"]]);
3287
3340
  const resolved = ["compact", "default", "comfortable"];
3288
3341
  function densityClass(density) {
3289
3342
  return density ? `tao-density-${density}` : void 0;
@@ -3653,7 +3706,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3653
3706
  };
3654
3707
  }
3655
3708
  });
3656
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-e181129d"]]);
3709
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-7e06b308"]]);
3657
3710
  function readTaoMode(el) {
3658
3711
  const mode = el.getAttribute("data-tao-mode");
3659
3712
  if (mode === "light" || mode === "dark") {
@@ -3865,7 +3918,7 @@ const _hoisted_3$J = ["aria-labelledby", "aria-describedby"];
3865
3918
  const _hoisted_4$D = ["id"];
3866
3919
  const _hoisted_5$s = ["id"];
3867
3920
  const _hoisted_6$m = { class: "tao-tour__footer" };
3868
- const _hoisted_7$i = {
3921
+ const _hoisted_7$h = {
3869
3922
  key: 0,
3870
3923
  class: "tao-tour__progress"
3871
3924
  };
@@ -4081,7 +4134,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4081
4134
  }, toDisplayString(__props.step.text), 9, _hoisted_5$s)) : createCommentVNode("", true)
4082
4135
  ]),
4083
4136
  createElementVNode("div", _hoisted_6$m, [
4084
- __props.count > 1 ? (openBlock(), createElementBlock("span", _hoisted_7$i, [
4137
+ __props.count > 1 ? (openBlock(), createElementBlock("span", _hoisted_7$h, [
4085
4138
  createElementVNode("span", _hoisted_8$c, [
4086
4139
  (openBlock(true), createElementBlock(Fragment, null, renderList(dots.value, (i) => {
4087
4140
  return openBlock(), createElementBlock("i", {
@@ -4850,7 +4903,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4850
4903
  };
4851
4904
  }
4852
4905
  });
4853
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-0af1f161"]]);
4906
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f5a38331"]]);
4854
4907
  const _hoisted_1$S = ["role", "aria-hidden"];
4855
4908
  const _hoisted_2$N = {
4856
4909
  key: 1,
@@ -5255,7 +5308,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
5255
5308
  };
5256
5309
  }
5257
5310
  });
5258
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-abce6609"]]);
5311
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-7c39a7eb"]]);
5259
5312
  const _hoisted_1$O = { class: "tao-progress" };
5260
5313
  const _hoisted_2$J = {
5261
5314
  key: 0,
@@ -5438,7 +5491,7 @@ const _hoisted_5$q = {
5438
5491
  class: "tao-file-drop__list"
5439
5492
  };
5440
5493
  const _hoisted_6$k = { class: "tao-file-drop__name" };
5441
- const _hoisted_7$h = { class: "tao-file-drop__meta" };
5494
+ const _hoisted_7$g = { class: "tao-file-drop__meta" };
5442
5495
  const _hoisted_8$b = ["aria-label", "onClick"];
5443
5496
  const _hoisted_9$8 = { "aria-hidden": "true" };
5444
5497
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
@@ -5602,7 +5655,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5602
5655
  class: "tao-file-drop__file"
5603
5656
  }, [
5604
5657
  createElementVNode("span", _hoisted_6$k, toDisplayString(file.name), 1),
5605
- createElementVNode("span", _hoisted_7$h, toDisplayString(sizeLabel(file.size)), 1),
5658
+ createElementVNode("span", _hoisted_7$g, toDisplayString(sizeLabel(file.size)), 1),
5606
5659
  createElementVNode("button", {
5607
5660
  type: "button",
5608
5661
  class: "tao-file-drop__remove",
@@ -5722,10 +5775,6 @@ const _hoisted_3$A = {
5722
5775
  const _hoisted_4$x = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
5723
5776
  const _hoisted_5$p = { class: "tao-menu__text" };
5724
5777
  const _hoisted_6$j = {
5725
- key: 1,
5726
- class: "tao-menu__shortcut"
5727
- };
5728
- const _hoisted_7$g = {
5729
5778
  key: 2,
5730
5779
  class: "tao-menu__arrow",
5731
5780
  "aria-hidden": "true"
@@ -5950,8 +5999,17 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5950
5999
  }, null, 8, ["name"])) : createCommentVNode("", true),
5951
6000
  createElementVNode("span", _hoisted_5$p, toDisplayString(item.label), 1)
5952
6001
  ]),
5953
- "shortcut" in item && item.shortcut ? (openBlock(), createElementBlock("span", _hoisted_6$j, toDisplayString(item.shortcut), 1)) : createCommentVNode("", true),
5954
- "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_7$g)) : createCommentVNode("", true)
6002
+ "shortcut" in item && item.shortcut ? (openBlock(), createBlock(_sfc_main$1p, {
6003
+ key: 1,
6004
+ variant: "plain",
6005
+ class: "tao-menu__shortcut"
6006
+ }, {
6007
+ default: withCtx(() => [
6008
+ createTextVNode(toDisplayString(item.shortcut), 1)
6009
+ ]),
6010
+ _: 2
6011
+ }, 1024)) : createCommentVNode("", true),
6012
+ "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_6$j)) : createCommentVNode("", true)
5955
6013
  ], 42, _hoisted_4$x),
5956
6014
  "items" in item && item.items && openSub.value === index ? (openBlock(), createBlock(_component_TaoMenu, {
5957
6015
  key: 0,
@@ -5986,6 +6044,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5986
6044
  menuLabel: {},
5987
6045
  closeOnScroll: { type: Boolean, default: false },
5988
6046
  size: { default: void 0 },
6047
+ dots: { default: "vertical" },
5989
6048
  tabbable: { type: Boolean, default: true }
5990
6049
  },
5991
6050
  emits: ["select"],
@@ -6026,7 +6085,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6026
6085
  }, [
6027
6086
  _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$z, [
6028
6087
  renderSlot(_ctx.$slots, "icon", {}, () => [
6029
- createVNode(TaoIcon, { name: "tao-more-vertical" })
6088
+ createVNode(TaoIcon, {
6089
+ name: __props.dots === "horizontal" ? "tao-more-horizontal" : "tao-more-vertical"
6090
+ }, null, 8, ["name"])
6030
6091
  ], true)
6031
6092
  ]))
6032
6093
  ], 42, _hoisted_2$G),
@@ -6052,7 +6113,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6052
6113
  };
6053
6114
  }
6054
6115
  });
6055
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-0e71d618"]]);
6116
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-a2acd4d2"]]);
6056
6117
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
6057
6118
  ...{ name: "TaoContextMenu" },
6058
6119
  __name: "TaoContextMenu",
@@ -6511,7 +6572,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6511
6572
  }
6512
6573
  const style = getComputedStyle(el);
6513
6574
  const gap = parseFloat(style.columnGap) || 0;
6514
- const available = el.clientWidth - (parseFloat(style.paddingLeft) || 0) - (parseFloat(style.paddingRight) || 0);
6575
+ const padding = (parseFloat(style.paddingLeft) || 0) + (parseFloat(style.paddingRight) || 0);
6576
+ const limit = parseFloat(style.maxWidth);
6577
+ const border = (parseFloat(style.borderLeftWidth) || 0) + (parseFloat(style.borderRightWidth) || 0);
6578
+ const fromLimit = Number.isFinite(limit) ? style.boxSizing === "border-box" ? limit - border - padding : limit : 0;
6579
+ const available = Math.max(el.clientWidth - padding, fromLimit);
6515
6580
  if (moreHost.value && !moreHost.value.hasAttribute("data-tao-away")) {
6516
6581
  moreWidth = outerWidth(moreHost.value);
6517
6582
  }
@@ -6756,7 +6821,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6756
6821
  };
6757
6822
  }
6758
6823
  });
6759
- const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-cdccb5ab"]]);
6824
+ const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-bff9478a"]]);
6760
6825
  const _hoisted_1$I = ["aria-label"];
6761
6826
  const _hoisted_2$D = ["data-tao-away", "hidden"];
6762
6827
  const _hoisted_3$x = ["aria-label"];
@@ -7561,7 +7626,7 @@ const _hoisted_11$4 = {
7561
7626
  class: "tao-nav__icon",
7562
7627
  "aria-hidden": "true"
7563
7628
  };
7564
- const _hoisted_12$3 = { class: "tao-nav__label" };
7629
+ const _hoisted_12$2 = { class: "tao-nav__label" };
7565
7630
  const _hoisted_13$1 = {
7566
7631
  key: 1,
7567
7632
  class: "tao-nav__footer"
@@ -7698,7 +7763,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7698
7763
  size: 20
7699
7764
  })
7700
7765
  ]),
7701
- createElementVNode("span", _hoisted_12$3, toDisplayString(unref(l10n).moreLabel), 1)
7766
+ createElementVNode("span", _hoisted_12$2, toDisplayString(unref(l10n).moreLabel), 1)
7702
7767
  ], 10, _hoisted_10$4)
7703
7768
  ])) : createCommentVNode("", true)
7704
7769
  ]),
@@ -8771,7 +8836,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8771
8836
  };
8772
8837
  }
8773
8838
  });
8774
- const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-bb653baa"]]);
8839
+ const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-572d04ea"]]);
8775
8840
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
8776
8841
  ...{ name: "TaoLink" },
8777
8842
  __name: "TaoLink",
@@ -9118,7 +9183,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9118
9183
  };
9119
9184
  }
9120
9185
  });
9121
- const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-02851c84"]]);
9186
+ const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-16337b70"]]);
9122
9187
  const segmentedKey = Symbol("taoSegmented");
9123
9188
  const _hoisted_1$u = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
9124
9189
  const _hoisted_2$r = {
@@ -9256,7 +9321,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9256
9321
  };
9257
9322
  }
9258
9323
  });
9259
- const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c4a6edd1"]]);
9324
+ const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-adbed53a"]]);
9260
9325
  const _hoisted_1$t = ["for"];
9261
9326
  const _hoisted_2$q = ["id", "name", "value", "checked", "disabled", "aria-label"];
9262
9327
  const _hoisted_3$m = { class: "tao-segmented-option__face" };
@@ -9366,7 +9431,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9366
9431
  };
9367
9432
  }
9368
9433
  });
9369
- const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-71f5d295"]]);
9434
+ const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-1e7d5db0"]]);
9370
9435
  const _hoisted_1$s = ["tabindex", "aria-label", "aria-valuetext", "aria-valuenow"];
9371
9436
  const _hoisted_2$p = { class: "tao-color-picker__strips" };
9372
9437
  const _hoisted_3$l = { class: "tao-color-picker__row tao-size-small" };
@@ -9707,7 +9772,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9707
9772
  };
9708
9773
  }
9709
9774
  });
9710
- const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-9e38bead"]]);
9775
+ const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-d42483b7"]]);
9711
9776
  const _hoisted_1$r = ["disabled", "aria-label", "aria-expanded"];
9712
9777
  const _hoisted_2$o = ["disabled"];
9713
9778
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
@@ -9803,7 +9868,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9803
9868
  };
9804
9869
  }
9805
9870
  });
9806
- const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7e3f5d62"]]);
9871
+ const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-c849f0f5"]]);
9807
9872
  const _hoisted_1$q = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
9808
9873
  const _hoisted_2$n = {
9809
9874
  key: 0,
@@ -10257,7 +10322,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
10257
10322
  };
10258
10323
  }
10259
10324
  });
10260
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0e178aeb"]]);
10325
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-c70adde0"]]);
10261
10326
  function presetLine(options) {
10262
10327
  const usable2 = options.filter((option) => !option.disabled);
10263
10328
  return [...usable2.filter((option) => !option.default), ...usable2.filter((option) => option.default)];
@@ -10557,7 +10622,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10557
10622
  };
10558
10623
  }
10559
10624
  });
10560
- const TaoPresetInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-7682df3a"]]);
10625
+ const TaoPresetInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-838c0175"]]);
10561
10626
  const fold = (text) => text.replace(/[^]/g, (ch) => {
10562
10627
  const lower = ch.toLowerCase();
10563
10628
  const same = lower.length === ch.length ? lower : ch;
@@ -10651,10 +10716,6 @@ const _hoisted_10$3 = {
10651
10716
  class: "tao-command-list__where"
10652
10717
  };
10653
10718
  const _hoisted_11$3 = {
10654
- key: 2,
10655
- class: "tao-command-list__shortcut"
10656
- };
10657
- const _hoisted_12$2 = {
10658
10719
  key: 0,
10659
10720
  class: "tao-command-list__empty",
10660
10721
  role: "presentation"
@@ -10838,12 +10899,21 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10838
10899
  row.match.item.description ? (openBlock(), createElementBlock("span", _hoisted_9$5, toDisplayString(row.match.item.description), 1)) : createCommentVNode("", true)
10839
10900
  ]),
10840
10901
  query.value.trim() && row.match.item.group ? (openBlock(), createElementBlock("span", _hoisted_10$3, toDisplayString(row.match.item.group), 1)) : createCommentVNode("", true),
10841
- row.match.item.shortcut ? (openBlock(), createElementBlock("kbd", _hoisted_11$3, toDisplayString(row.match.item.shortcut), 1)) : createCommentVNode("", true)
10902
+ row.match.item.shortcut ? (openBlock(), createBlock(_sfc_main$1p, {
10903
+ key: 2,
10904
+ variant: "plain",
10905
+ class: "tao-command-list__shortcut"
10906
+ }, {
10907
+ default: withCtx(() => [
10908
+ createTextVNode(toDisplayString(row.match.item.shortcut), 1)
10909
+ ]),
10910
+ _: 2
10911
+ }, 1024)) : createCommentVNode("", true)
10842
10912
  ], true)
10843
10913
  ], 42, _hoisted_5$e))
10844
10914
  ], 64);
10845
10915
  }), 128)),
10846
- !results.value.length ? (openBlock(), createElementBlock("li", _hoisted_12$2, [
10916
+ !results.value.length ? (openBlock(), createElementBlock("li", _hoisted_11$3, [
10847
10917
  renderSlot(_ctx.$slots, "empty", {}, () => [
10848
10918
  createTextVNode(toDisplayString(__props.emptyText ?? unref(l10n).emptyText), 1)
10849
10919
  ], true)
@@ -10853,7 +10923,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10853
10923
  };
10854
10924
  }
10855
10925
  });
10856
- const TaoCommandList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1010454e"]]);
10926
+ const TaoCommandList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-989c51df"]]);
10857
10927
  const _hoisted_1$n = ["aria-modal", "aria-label"];
10858
10928
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
10859
10929
  ...{ name: "TaoCommandPalette", inheritAttrs: false },
@@ -11177,7 +11247,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11177
11247
  };
11178
11248
  }
11179
11249
  });
11180
- const TaoDocTabs = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0a708fd8"]]);
11250
+ const TaoDocTabs = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-6586cadc"]]);
11181
11251
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
11182
11252
  function formatTaoDateIso(parts) {
11183
11253
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -13170,7 +13240,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
13170
13240
  };
13171
13241
  }
13172
13242
  });
13173
- const TaoListItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-a366ba66"]]);
13243
+ const TaoListItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-5a96e530"]]);
13174
13244
  const _hoisted_1$9 = {
13175
13245
  class: "tao-skeleton-group",
13176
13246
  "aria-hidden": true
@@ -13599,7 +13669,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
13599
13669
  };
13600
13670
  }
13601
13671
  });
13602
- const TaoAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-83b7bf11"]]);
13672
+ const TaoAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-41d64e0e"]]);
13603
13673
  const _hoisted_1$6 = ["aria-label"];
13604
13674
  const _hoisted_2$5 = { class: "tao-breadcrumb__list" };
13605
13675
  const _hoisted_3$4 = {
@@ -13795,7 +13865,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
13795
13865
  };
13796
13866
  }
13797
13867
  });
13798
- const TaoCounter = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-69fa7f4b"]]);
13868
+ const TaoCounter = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-3a9906c5"]]);
13799
13869
  const GLIDE_TIME = 325;
13800
13870
  const FLICK_SPEED = 0.3;
13801
13871
  function glideTarget(from, velocity, pitch, max) {
@@ -15416,6 +15486,7 @@ const components = [
15416
15486
  TaoTabs,
15417
15487
  TaoScrubber,
15418
15488
  TaoTooltip,
15489
+ _sfc_main$1p,
15419
15490
  TaoPopover,
15420
15491
  TaoSpoiler,
15421
15492
  TaoSpoilerGroup,
@@ -15551,6 +15622,7 @@ export {
15551
15622
  TaoInput,
15552
15623
  TaoInputGroup,
15553
15624
  TaoInputNumber,
15625
+ _sfc_main$1p as TaoKbd,
15554
15626
  _sfc_main$y as TaoLink,
15555
15627
  TaoList,
15556
15628
  TaoListItem,