@1337exp/taoui 5.44.0 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.48.0
4
+
5
+ A link with a class keeps its own colour on hover (it used to turn rose). Three looks change: the text of a field in the light theme is softer, the rose of a link on hover is a shade deeper, the accent text of a palette is a shade darker where it stands on a tint. To give your own link the rose on hover as before: `.my-link:hover { color: var(--tao-color-link-hover); }`.
6
+
7
+ - **`a:hover` no longer beats a class.** `base.css` had `a:hover { color: link-hover }`, weight 0,1,1, and any class on a link weighs 0,1,0, so a menu link, a card that is a link or a link of your own turned rose on hover whatever its class said. Now it is `a:where(:hover)`, which weighs as `a` and no more: a bare link still turns rose, a link with a class keeps its colour. `TaoNav` and `TaoLink` are not affected.
8
+ - **Light theme: `--tao-color-input-text` is `text`.** It was `gray-950`, which is `text-strong`, so the value of a field, a number input and a select read brighter than the buttons beside it, against the text ladder («field values: `text`»). The dark theme already had the same colour.
9
+ - **Light theme: the rose of a link on hover is `accent-text-hover`.** It was `pink-400`, 3.7 to 4.0:1 on a page and on a grey panel; now it is above 4.5:1, as in the palettes.
10
+ - **Palettes: `accent-text` reads on the tints of the accent too.** A chosen item, a tag and a hovered row stand on `accent-subtle` (8 to 16 % of the accent over the surface), which is a little darker ground than the page, and a generated `accent-text` that was 4.6:1 on the page came out 4.0 to 4.4:1 there. The generator now asks 4.6:1 on the page, on a raised surface and on both tints; the seven palettes are regenerated (`npm run palettes`), and `tests/palette.test.ts` holds it for every palette and mode.
11
+ - **The bench of the Guide.** A select is a field (its value is regular weight, like an input), so the weight 500 is asked of the labels of controls only; the plain link, which turns rose by design, is judged by how it reads, not by the step. With these, the bench is clean on every palette and both modes on the page and on a panel; one known edge is left: a chosen segment in the dark theme on a sunken surface (1.0:1 to its track).
12
+
13
+ ## 5.47.0
14
+
15
+ Nothing to migrate. One look changes in the light theme and in palettes: the text of a chosen item is a shade darker.
16
+
17
+ - **The text of a chosen item is `accent-text`, not `accent`.** `--tao-color-accent` is the colour of a fill (a button, a check, an underline: white sits on it); `--tao-color-accent-text` is the same hue made for being text, 4.5:1 on a page. In the light theme the plain accent as text on a panel is only 3.6 to 4.2:1, so a chosen segment, a chosen tab and an accent tag did not keep the promise of the contrast section. `TaoSegmentedOption` (chosen, and the count), `TaoTabs` (selected), `TaoDocTabs` (active), `TaoTag`, `TaoCombobox` / `TaoSelect` / `TaoPresetInput` (the selected option), `TaoListItem` (the selected title), `TaoCounter`, `TaoPinCode` (the value), `TaoCommandList` (the matched letters) and the initials of `TaoAvatar` now use it, as `TaoNav` and `TaoTree` already did. In the dark theme the two roles are one colour, so nothing changes there; icons, underlines, borders and fills stay `accent`. The bench of the Guide («Controls side by side») shows the rest: on a palette the generated `accent-text` is made for the page, so a chosen segment and a tag, which stand on a tint, reach 4.0 to 4.4:1 there.
18
+
19
+ ## 5.46.0
20
+
21
+ Nothing to migrate. One look changes in the light theme: a field, a track or a code block sunk into a panel is seen now (it was the colour of the panel).
22
+
23
+ - **Light theme: `--tao-color-surface-sunken` is a tint, as in the dark one.** `--tao-color-surface-raised` and `--tao-color-surface-sunken` were both `gray-50` there, and a popover, a modal and a card are raised, so a `TaoSegmented` track, a `TaoInput` and the like sunk into one had the colour of the panel they stood on and were held by a hairline border alone. Now `sunken` is `gray-900` at 4.3 % over what is under it: on the white page it is the same `#f5f5f5` as before, on a raised panel it is darker. The dark theme already did so.
24
+ - **`TaoSegmented`: the hook `--tao-segmented-thumb`.** The thumb was `surface-raised`, the colour of the track on a page in the light theme. The light theme sets the hook to a soft white (60 % over the track; pure white shouted beside a grey track and a white page), so the thumb is seen on the track on the page, on a panel and in a popover; with no hook the thumb is `surface-raised` as before (the dark theme).
25
+ - **The Guide has a bench, «Controls side by side» (`#harmony`).** It stands the controls of the kit in a row on a surface of your choice (page, panel, sunken) in a size of your choice, measures them with the browser and judges the row: one step of the text ladder per role, one weight for the labels, one height for a size, a fill that is seen, a text that reads on what it stands on (4.5:1), and a hover that keeps the text readable and goes up the ladder. A hover is read without a pointer (`showcase/harmony/hover.js` copies the rules with `:hover` for a moment). It follows the theme and the palette. It shows what is left to decide: the text of a field and a select is `input-text` (`text-strong` in the light theme), not the `text` the ladder promises; a select is weight 400 where the others are 500; a chosen segment, a chosen tab and an accent tag draw their text in `accent`, not in `accent-text`, the role made for text, and reach only 3.6 to 4.2:1 on a panel; the global `a:hover` (a rose link) is 3.7:1 on a grey panel. The rules are in `showcase/harmony/measure.js` with a test, the controls in `showcase/harmony/controls.js`.
26
+ - **The sidebar of the showcase: a hover that reads.** The kit's `a:hover` (weight 0,1,1) beats a class on a link (0,1,0), so a menu link turned rose on the grey of its hover, 3:1. The links go to `text-strong` on hover, the current one is `accent-text` (4.5:1) and its hover `accent-text-hover`; the same `accent-text` for the current tab of the books and the current group. The bench measures this row, so it can not come back.
27
+
28
+ ## 5.45.0
29
+
30
+ Nothing to migrate: the dots stand upright by default, as before.
31
+
32
+ - **`TaoDropdownMenu` `dots`: upright or lying three dots.** `dots="horizontal"` gives ⋯ (a row of a table or a list, the corner of a card), the default `vertical` gives ⋮ (a narrow column, a toolbar). It is only the default face of the button: your own `#icon` or `#button` slot wins and `dots` is ignored.
33
+
3
34
  ## 5.44.0
4
35
 
5
36
  The text of a tip is semi-bold now. To keep the regular weight: `:bold="false"` on the tooltip, or `:root { --tao-tooltip-weight: 400 }` for all of them.
package/README.md CHANGED
@@ -139,7 +139,7 @@
139
139
  - **TaoLink** — `<NuxtLink>` in Nuxt, `<RouterLink>` with vue-router, otherwise a plain `<a>` — no extra setup
140
140
  - **TaoStretchedLink** — a `TaoLink` that makes a whole card or row one link while the buttons inside it still work: `tao-stretched` on the container, `tao-stretched-raise` on a control that must stay clickable by itself. The keyboard sees one link and its focus ring goes round the container (`--tao-stretched-radius`). Never put `filter` / `transform` on the link: the layer would shrink under the pointer and the cursor would flicker The text under the stretched layer cannot be selected with the mouse (lift what must be selectable with `tao-stretched-raise`), and the link is named only by what is written in it: for a card, point `aria-describedby` of the link at the description.
141
141
  - **TaoBreadcrumb** — crumbs: the last item is the current page
142
- - **TaoDropdownMenu** / **TaoMenu** — a menu from a plain data tree `items`: submenus, checkboxes, radios, separators, group labels, shortcuts to show, disabled items. Arrows, Home / End, type-ahead, `→` / `←` for submenus, Esc closes the top level first. `TaoMenu` is the panel itself, for your own shells (a menu bar, a context menu); flips at the viewport edge; `size` makes the button a compact square, `:tabbable="false"` takes it out of the Tab order
142
+ - **TaoDropdownMenu** / **TaoMenu** — a menu from a plain data tree `items`: submenus, checkboxes, radios, separators, group labels, shortcuts to show, disabled items. Arrows, Home / End, type-ahead, `→` / `←` for submenus, Esc closes the top level first. `TaoMenu` is the panel itself, for your own shells (a menu bar, a context menu); flips at the viewport edge; `size` makes the button a compact square, `dots="horizontal"` lays the three dots down (⋯), `:tabbable="false"` takes it out of the Tab order
143
143
  - **TaoMenubar** / **TaoContextMenu** — the menu bar of an editor and the menu on the right click, on `TaoMenu`. The bar is one tab stop (`role="menubar"`): `←` / `→` walk it, `↓` / Enter open, with a menu open `←` / `→` and the pointer move to the neighbour menu; an entry without `items` is a plain action. The context menu opens at the pointer (or at the element for the Menu key / Shift+F10) and wraps its content without a box of its own
144
144
  - **TaoToolbar** / **TaoToolbarGroup** / **TaoToolbarSeparator** — a bar of tools (`role="toolbar"`): one tab stop, `←` / `→` (or `↑` / `↓` when `orientation="vertical"`) walk the items, Home / End; inside a `TaoSegmented` the arrows pick the option and go on from its edge. Groups are split by a thin line across the bar; `inset` puts a sunken pill behind a group. Toggles are `TaoButton` with `v-model:pressed`. `overflow` keeps the bar in one row: the groups that do not fit go, the last one first, under a «⋮» button that opens them in a panel (the same buttons, not copies); a `TaoToolbarGroup` with `pinned` stays
145
145
  - **TaoScrollTop** — floating “back to top”: `solid` / `ghost` / `text` looks, `side`, a mouse-hover `label`. Appears on reverse scroll after `boundary`
package/README.ru.md CHANGED
@@ -139,7 +139,7 @@
139
139
  - **TaoLink** — `<NuxtLink>` в Nuxt, `<RouterLink>` при vue-router, иначе обычный `<a>` — без дополнительной настройки
140
140
  - **TaoStretchedLink** — `TaoLink`, который делает целую карточку или строку одной ссылкой, а кнопки внутри продолжают работать: `tao-stretched` на контейнере, `tao-stretched-raise` на элементе, который должен нажиматься сам. Клавиатура видит одну ссылку, кольцо фокуса идёт по контейнеру (`--tao-stretched-radius`). Не давайте ссылке `filter` / `transform`: слой сожмётся под курсором, и курсор начнёт мигать Текст под растянутым слоем нельзя выделить мышью (то, что должно выделяться, поднимите через `tao-stretched-raise`), а имя ссылке даёт только то, что в ней написано: для карточки направьте `aria-describedby` ссылки на описание.
141
141
  - **TaoBreadcrumb** — крошки: последний пункт — текущая страница
142
- - **TaoDropdownMenu** / **TaoMenu** — меню из простого дерева данных `items`: подменю, чекбоксы, радио, разделители, подписи групп, сочетания для показа, недоступные пункты. Стрелки, Home / End, быстрый поиск по букве, `→` / `←` для подменю, Esc закрывает верхний уровень первым. `TaoMenu` — сама панель для своих оболочек (полоса меню, контекстное меню); у края экрана переворачивается; `size` делает кнопку компактным квадратом, `:tabbable="false"` убирает её из порядка Tab
142
+ - **TaoDropdownMenu** / **TaoMenu** — меню из простого дерева данных `items`: подменю, чекбоксы, радио, разделители, подписи групп, сочетания для показа, недоступные пункты. Стрелки, Home / End, быстрый поиск по букве, `→` / `←` для подменю, Esc закрывает верхний уровень первым. `TaoMenu` — сама панель для своих оболочек (полоса меню, контекстное меню); у края экрана переворачивается; `size` делает кнопку компактным квадратом, `dots="horizontal"` кладёт три точки горизонтально (⋯), `:tabbable="false"` убирает её из порядка Tab
143
143
  - **TaoMenubar** / **TaoContextMenu** — полоса меню редактора и меню по правой кнопке, на `TaoMenu`. Полоса — одна остановка Tab (`role="menubar"`): `←` / `→` ходят по ней, `↓` / Enter открывают, при открытом меню `←` / `→` и указатель переходят к соседнему; пункт без `items` — обычное действие. Контекстное меню открывается у указателя (или у элемента для клавиши Menu / Shift+F10) и оборачивает содержимое без своей коробки
144
144
  - **TaoToolbar** / **TaoToolbarGroup** / **TaoToolbarSeparator** — панель инструментов (`role="toolbar"`): одна остановка Tab, `←` / `→` (или `↑` / `↓` при `orientation="vertical"`) ходят по элементам, Home / End; внутри `TaoSegmented` стрелки выбирают вариант и идут дальше с его края. Группы делит тонкая черта поперёк панели; `inset` кладёт под группу утопленную подложку. Переключатели — `TaoButton` с `v-model:pressed`. `overflow` держит панель в одной строке: группы, которые не влезли, уходят (последняя первой) под кнопку «⋮», она открывает их в панели (те же кнопки, а не копии); `TaoToolbarGroup` с `pinned` остаётся
145
145
  - **TaoScrollTop** — плавающая кнопка «наверх»: виды `solid` / `ghost` / `text`, `side`, подпись `label` при наведении мыши. Появляется при обратном скролле после `boundary`
package/dist/index.d.ts CHANGED
@@ -1041,6 +1041,13 @@ closeOnScroll?: boolean;
1041
1041
  */
1042
1042
  size?: TaoSize;
1043
1043
  /**
1044
+ * The three dots of the button: `vertical` (⋮, a narrow column, a toolbar) or `horizontal` (⋯, a row of a table or a
1045
+ * list, the corner of a card). Ignored when the `#icon` or `#button` slot is given.
1046
+ * Три точки кнопки: `vertical` (⋮, узкая колонка, тулбар) или `horizontal` (⋯, строка таблицы или списка, угол
1047
+ * карточки). Игнорируется, если передан слот `#icon` или `#button`.
1048
+ */
1049
+ dots?: "vertical" | "horizontal";
1050
+ /**
1044
1051
  * The button is a Tab stop. Turn it off when the row has its own key for the menu (a menu key, Shift+F10): the
1045
1052
  * button leaves the Tab order and still opens by a click.
1046
1053
  * Кнопка — остановка Tab. Выключите, когда у строки своя клавиша для меню (клавиша меню, Shift+F10): кнопка
@@ -1052,6 +1059,7 @@ items: () => never[];
1052
1059
  placement: string;
1053
1060
  closeOnScroll: boolean;
1054
1061
  size: undefined;
1062
+ dots: string;
1055
1063
  tabbable: boolean;
1056
1064
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1057
1065
  select: (id: string) => void;
@@ -1071,6 +1079,13 @@ closeOnScroll?: boolean;
1071
1079
  */
1072
1080
  size?: TaoSize;
1073
1081
  /**
1082
+ * The three dots of the button: `vertical` (⋮, a narrow column, a toolbar) or `horizontal` (⋯, a row of a table or a
1083
+ * list, the corner of a card). Ignored when the `#icon` or `#button` slot is given.
1084
+ * Три точки кнопки: `vertical` (⋮, узкая колонка, тулбар) или `horizontal` (⋯, строка таблицы или списка, угол
1085
+ * карточки). Игнорируется, если передан слот `#icon` или `#button`.
1086
+ */
1087
+ dots?: "vertical" | "horizontal";
1088
+ /**
1074
1089
  * The button is a Tab stop. Turn it off when the row has its own key for the menu (a menu key, Shift+F10): the
1075
1090
  * button leaves the Tab order and still opens by a click.
1076
1091
  * Кнопка — остановка Tab. Выключите, когда у строки своя клавиша для меню (клавиша меню, Shift+F10): кнопка
@@ -1082,12 +1097,14 @@ items: () => never[];
1082
1097
  placement: string;
1083
1098
  closeOnScroll: boolean;
1084
1099
  size: undefined;
1100
+ dots: string;
1085
1101
  tabbable: boolean;
1086
1102
  }>>> & Readonly<{
1087
1103
  onSelect?: ((id: string) => any) | undefined;
1088
1104
  }>, {
1089
1105
  size: TaoSize;
1090
1106
  items: TaoMenuItem[];
1107
+ dots: "vertical" | "horizontal";
1091
1108
  placement: TaoPlacement;
1092
1109
  closeOnScroll: boolean;
1093
1110
  tabbable: boolean;
package/dist/index.js CHANGED
@@ -1976,7 +1976,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1976
1976
  };
1977
1977
  }
1978
1978
  });
1979
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-56341624"]]);
1979
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-0706706b"]]);
1980
1980
  function listenFocusLoss(onLoss) {
1981
1981
  function onVisibilityChange() {
1982
1982
  if (document.hidden) {
@@ -2091,6 +2091,15 @@ function normalizeHex(input, alpha = false) {
2091
2091
  const c = parseColor(input);
2092
2092
  return c ? toHex(c, alpha) : null;
2093
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
+ }
2094
2103
  const WHITE = "#ffffff";
2095
2104
  const BLACK = "#0d0d0d";
2096
2105
  const toLinear = (hex) => {
@@ -2224,7 +2233,9 @@ function buildPaletteRoles(def, mode) {
2224
2233
  const toward = onAccent === WHITE ? -1 : 1;
2225
2234
  accent = shiftUntil(accent, toward, (c) => contrastRatio(c, onAccent) >= 4.5);
2226
2235
  }
2227
- 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);
2228
2239
  const away = onAccent === WHITE ? -1 : 1;
2229
2240
  const accentHover = shiftUntil(accent, away, (c) => hexToOklch(c).L * away >= hexToOklch(accent).L * away + 0.04);
2230
2241
  const accentActive = shiftUntil(accent, away, (c) => hexToOklch(c).L * away >= hexToOklch(accent).L * away + 0.08);
@@ -4892,7 +4903,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4892
4903
  };
4893
4904
  }
4894
4905
  });
4895
- 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"]]);
4896
4907
  const _hoisted_1$S = ["role", "aria-hidden"];
4897
4908
  const _hoisted_2$N = {
4898
4909
  key: 1,
@@ -6033,6 +6044,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6033
6044
  menuLabel: {},
6034
6045
  closeOnScroll: { type: Boolean, default: false },
6035
6046
  size: { default: void 0 },
6047
+ dots: { default: "vertical" },
6036
6048
  tabbable: { type: Boolean, default: true }
6037
6049
  },
6038
6050
  emits: ["select"],
@@ -6073,7 +6085,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6073
6085
  }, [
6074
6086
  _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$z, [
6075
6087
  renderSlot(_ctx.$slots, "icon", {}, () => [
6076
- createVNode(TaoIcon, { name: "tao-more-vertical" })
6088
+ createVNode(TaoIcon, {
6089
+ name: __props.dots === "horizontal" ? "tao-more-horizontal" : "tao-more-vertical"
6090
+ }, null, 8, ["name"])
6077
6091
  ], true)
6078
6092
  ]))
6079
6093
  ], 42, _hoisted_2$G),
@@ -6099,7 +6113,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6099
6113
  };
6100
6114
  }
6101
6115
  });
6102
- 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"]]);
6103
6117
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
6104
6118
  ...{ name: "TaoContextMenu" },
6105
6119
  __name: "TaoContextMenu",
@@ -8822,7 +8836,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8822
8836
  };
8823
8837
  }
8824
8838
  });
8825
- 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"]]);
8826
8840
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
8827
8841
  ...{ name: "TaoLink" },
8828
8842
  __name: "TaoLink",
@@ -9169,7 +9183,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9169
9183
  };
9170
9184
  }
9171
9185
  });
9172
- const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-8edb0d09"]]);
9186
+ const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-16337b70"]]);
9173
9187
  const segmentedKey = Symbol("taoSegmented");
9174
9188
  const _hoisted_1$u = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
9175
9189
  const _hoisted_2$r = {
@@ -9307,7 +9321,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9307
9321
  };
9308
9322
  }
9309
9323
  });
9310
- 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"]]);
9311
9325
  const _hoisted_1$t = ["for"];
9312
9326
  const _hoisted_2$q = ["id", "name", "value", "checked", "disabled", "aria-label"];
9313
9327
  const _hoisted_3$m = { class: "tao-segmented-option__face" };
@@ -9417,7 +9431,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9417
9431
  };
9418
9432
  }
9419
9433
  });
9420
- 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"]]);
9421
9435
  const _hoisted_1$s = ["tabindex", "aria-label", "aria-valuetext", "aria-valuenow"];
9422
9436
  const _hoisted_2$p = { class: "tao-color-picker__strips" };
9423
9437
  const _hoisted_3$l = { class: "tao-color-picker__row tao-size-small" };
@@ -10308,7 +10322,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
10308
10322
  };
10309
10323
  }
10310
10324
  });
10311
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-14e11c2a"]]);
10325
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-c70adde0"]]);
10312
10326
  function presetLine(options) {
10313
10327
  const usable2 = options.filter((option) => !option.disabled);
10314
10328
  return [...usable2.filter((option) => !option.default), ...usable2.filter((option) => option.default)];
@@ -10608,7 +10622,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10608
10622
  };
10609
10623
  }
10610
10624
  });
10611
- 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"]]);
10612
10626
  const fold = (text) => text.replace(/[^]/g, (ch) => {
10613
10627
  const lower = ch.toLowerCase();
10614
10628
  const same = lower.length === ch.length ? lower : ch;
@@ -10909,7 +10923,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10909
10923
  };
10910
10924
  }
10911
10925
  });
10912
- const TaoCommandList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-7e038749"]]);
10926
+ const TaoCommandList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-989c51df"]]);
10913
10927
  const _hoisted_1$n = ["aria-modal", "aria-label"];
10914
10928
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
10915
10929
  ...{ name: "TaoCommandPalette", inheritAttrs: false },
@@ -11233,7 +11247,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11233
11247
  };
11234
11248
  }
11235
11249
  });
11236
- 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"]]);
11237
11251
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
11238
11252
  function formatTaoDateIso(parts) {
11239
11253
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -13226,7 +13240,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
13226
13240
  };
13227
13241
  }
13228
13242
  });
13229
- 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"]]);
13230
13244
  const _hoisted_1$9 = {
13231
13245
  class: "tao-skeleton-group",
13232
13246
  "aria-hidden": true
@@ -13655,7 +13669,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
13655
13669
  };
13656
13670
  }
13657
13671
  });
13658
- 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"]]);
13659
13673
  const _hoisted_1$6 = ["aria-label"];
13660
13674
  const _hoisted_2$5 = { class: "tao-breadcrumb__list" };
13661
13675
  const _hoisted_3$4 = {
@@ -13851,7 +13865,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
13851
13865
  };
13852
13866
  }
13853
13867
  });
13854
- 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"]]);
13855
13869
  const GLIDE_TIME = 325;
13856
13870
  const FLICK_SPEED = 0.3;
13857
13871
  function glideTarget(from, velocity, pitch, max) {