@1337exp/taoui 1.12.0 → 1.13.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/README.md CHANGED
@@ -491,6 +491,7 @@ document.documentElement.setAttribute('data-tao-theme', 'light')
491
491
  - `--tao-radius-control`, `--tao-radius-panel` — radii (small controls vs large panels)
492
492
  - `--tao-shadow-panel`, `--tao-shadow-overlay` — shadows
493
493
  - `--tao-font-size-*` — type scale in `primitives.css`: `xs`–`xl` controls, `2xl`–`4xl` titles / prose
494
+ - `--tao-control-height-small` / `-medium` / `-large` — one height scale (26 / 36 / 44px) for every control with `size`: Button, Segmented, Select, Combobox. `--tao-field-height` (= medium) is the height of fields without `size`: Input, InputNumber, Date, DateRange, Quantity
494
495
 
495
496
  The full list lives in `src/styles/semantic.css` — the only file worth opening
496
497
  to see the whole theming API.
package/README.ru.md CHANGED
@@ -494,6 +494,7 @@ document.documentElement.setAttribute('data-tao-theme', 'light')
494
494
  - `--tao-radius-control`, `--tao-radius-panel` — скругления (мелкие контролы vs крупные панели)
495
495
  - `--tao-shadow-panel`, `--tao-shadow-overlay` — тени
496
496
  - `--tao-font-size-*` — шкала кегля в `primitives.css`: `xs`–`xl` контролы, `2xl`–`4xl` заголовки / проза
497
+ - `--tao-control-height-small` / `-medium` / `-large` — единая шкала высот (26 / 36 / 44px) для всех контролов с `size`: Button, Segmented, Select, Combobox. `--tao-field-height` (= medium) — высота полей без `size`: Input, InputNumber, Date, DateRange, Quantity
497
498
 
498
499
  Полный список — в `src/styles/semantic.css`, он же единственный файл,
499
500
  который стоит открыть, чтобы понять весь доступный API темизации.
package/dist/index.cjs CHANGED
@@ -67,7 +67,7 @@
67
67
  }
68
68
  return target;
69
69
  };
70
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-1e1847ba"]]);
70
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-8966c285"]]);
71
71
  const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
72
72
  ...{ name: "TaoBlock" },
73
73
  __name: "TaoBlock",
@@ -193,7 +193,7 @@
193
193
  };
194
194
  }
195
195
  });
196
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-8e122e7e"]]);
196
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-e0d2a454"]]);
197
197
  const _hoisted_1$N = {
198
198
  key: 0,
199
199
  class: "tao-input-group__addon tao-input-group__addon--before"
@@ -438,7 +438,7 @@
438
438
  };
439
439
  }
440
440
  });
441
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-a4d3eca0"]]);
441
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-4614f4ff"]]);
442
442
  const _hoisted_1$L = ["aria-label", "disabled"];
443
443
  const _hoisted_2$E = { "aria-hidden": "true" };
444
444
  const _hoisted_3$x = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
@@ -624,7 +624,7 @@
624
624
  };
625
625
  }
626
626
  });
627
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-821124cf"]]);
627
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-17b4aada"]]);
628
628
  const _hoisted_1$K = {
629
629
  key: 0,
630
630
  class: "tao-card__cover"
@@ -4220,7 +4220,7 @@
4220
4220
  };
4221
4221
  }
4222
4222
  });
4223
- const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-70703b6d"]]);
4223
+ const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e067dbde"]]);
4224
4224
  const _hoisted_1$n = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
4225
4225
  const _hoisted_2$l = {
4226
4226
  key: 0,
@@ -4726,7 +4726,7 @@
4726
4726
  };
4727
4727
  }
4728
4728
  });
4729
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-ce122d2d"]]);
4729
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-1254c942"]]);
4730
4730
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
4731
4731
  function formatTaoDateIso(parts) {
4732
4732
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -5275,7 +5275,7 @@
5275
5275
  };
5276
5276
  }
5277
5277
  });
5278
- const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-a996d893"]]);
5278
+ const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-64d8f6aa"]]);
5279
5279
  const _hoisted_1$l = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
5280
5280
  const _hoisted_2$j = { class: "tao-date-range__value" };
5281
5281
  const _hoisted_3$f = {
@@ -5741,7 +5741,7 @@
5741
5741
  };
5742
5742
  }
5743
5743
  });
5744
- const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-45e07f55"]]);
5744
+ const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-70505320"]]);
5745
5745
  const _hoisted_1$k = ["for"];
5746
5746
  const _hoisted_2$i = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
5747
5747
  const _hoisted_3$e = {
@@ -6186,7 +6186,7 @@
6186
6186
  };
6187
6187
  }
6188
6188
  });
6189
- const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-f55dc6a0"]]);
6189
+ const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a47bc5c9"]]);
6190
6190
  const _hoisted_1$f = ["role", "aria-live"];
6191
6191
  const _hoisted_2$d = { class: "tao-alert__body" };
6192
6192
  const _hoisted_3$b = {