@1337exp/taoui 1.6.0 → 1.6.1
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 +2 -2
- package/README.ru.md +2 -2
- package/dist/index.cjs +393 -208
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +85 -101
- package/dist/index.mjs +393 -208
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +244 -230
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ change a handful of CSS variables and the whole kit follows.
|
|
|
18
18
|
- **TaoModal** — modal with animation and slots
|
|
19
19
|
- **TaoDrawer** — side panel (filters, settings). Esc, backdrop click, focus trap — same as the modal
|
|
20
20
|
- **TaoSpoiler** — disclosure. `v-model` and `aria-expanded`. Neighbours do not close each other
|
|
21
|
-
- **TaoSpoilerGroup** — accordion: `v-model` is the open panel key (`null` = all closed); spoilers take `name`
|
|
21
|
+
- **TaoSpoilerGroup** — accordion: `v-model` is the open panel key (`null` = all closed); spoilers take `name`. Without `v-model` the group keeps that key itself
|
|
22
22
|
- **TaoTabs** — tabbed sections
|
|
23
23
|
- **TaoTooltip** — hover hint. `top` / `bottom` / `left` / `right`, flips at the viewport edge
|
|
24
24
|
- **TaoPopover** — click panel with any slot content, Esc and outside click. Not a tooltip, not an action menu
|
|
@@ -266,7 +266,7 @@ confirm.defaults({ ok: 'Yes', cancel: 'No' })
|
|
|
266
266
|
|
|
267
267
|
`TaoCombobox` is the same menu with a field. Typing filters options. `allow-create` writes the typed string into `v-model` when there is no exact match. The list does not mutate itself: listen to `create` and append an option from the parent.
|
|
268
268
|
|
|
269
|
-
`TaoFormField` also wraps `TaoTextarea` and `
|
|
269
|
+
`TaoFormField` also wraps `TaoTextarea`, `TaoCheckbox`, `TaoSwitch`, `TaoRadioGroup`, and `TaoSegmented` — id, hint, and error are forwarded for you.
|
|
270
270
|
|
|
271
271
|
`TaoTag` can be a chip: `#prefix` on the left (usually `TaoAvatar`), `closable` draws a cross and emits `close`. The close click does not bubble. `flat` drops the border and keeps the fill.
|
|
272
272
|
|
package/README.ru.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
- **TaoModal** — модальное окно с анимацией и слотами
|
|
19
19
|
- **TaoDrawer** — боковая панель (фильтры, настройки). Esc, клик по фону, ловушка фокуса — как у модалки
|
|
20
20
|
- **TaoSpoiler** — раскрывающийся блок. `v-model` и `aria-expanded`. Несколько подряд сами друг друга не закрывают
|
|
21
|
-
- **TaoSpoilerGroup** — аккордеон: `v-model` — ключ открытой панели (`null` — все закрыты), у спойлера `name`
|
|
21
|
+
- **TaoSpoilerGroup** — аккордеон: `v-model` — ключ открытой панели (`null` — все закрыты), у спойлера `name`. Без `v-model` группа помнит ключ сама
|
|
22
22
|
- **TaoTabs** — вкладки для переключения между секциями контента
|
|
23
23
|
- **TaoTooltip** — всплывающая подсказка при наведении. `top` / `bottom` / `left` / `right`, у края экрана переворачивается
|
|
24
24
|
- **TaoPopover** — панель по клику: слот с любым контентом, Esc и клик снаружи. Не тултип и не меню действий
|
|
@@ -267,7 +267,7 @@ confirm.defaults({ ok: 'Yes', cancel: 'No' })
|
|
|
267
267
|
|
|
268
268
|
`TaoCombobox` — то же меню, но с полем. Печатаете — варианты режутся. `allow-create` пишет введённое в `v-model`, если точного совпадения нет. Список сам не меняется: слушайте `create` и добавьте option снаружи.
|
|
269
269
|
|
|
270
|
-
`TaoFormField` также оборачивает `TaoTextarea` и `
|
|
270
|
+
`TaoFormField` также оборачивает `TaoTextarea`, `TaoCheckbox`, `TaoSwitch`, `TaoRadioGroup` и `TaoSegmented` — id, hint и error прокидываются сами.
|
|
271
271
|
|
|
272
272
|
`TaoTag` может быть чипом: `#prefix` слева (обычно `TaoAvatar`), `closable` рисует крестик и эмитит `close`. Клик по крестику наружу не всплывает. `flat` снимает рамку, заливка остаётся.
|
|
273
273
|
|