@1337exp/taoui 5.30.2 → 5.31.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 +9 -0
- package/README.md +1 -1
- package/README.ru.md +1 -1
- package/dist/index.d.ts +45 -1
- package/dist/index.js +568 -185
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/skills/taoui/SKILL.md +2 -1
- package/skills/taoui/references/components.md +1300 -1297
- package/skills/taoui/references/patterns.md +1 -1
|
@@ -44,7 +44,7 @@ Density is added on top of the size (the height and the padding, not the font),
|
|
|
44
44
|
|
|
45
45
|
**When.** A bar of formatting or editing tools: text style toggles, undo and redo, a few actions.
|
|
46
46
|
|
|
47
|
-
**Rule.** Every button is `variant="ghost" tone="neutral"`, an icon with an `aria-label`. A toggle is `v-model:pressed`. Group related tools with `TaoToolbarGroup` and split the groups with `TaoToolbarSeparator`. Leave the size medium: a small toolbar is hard to hit (see "Choosing a size").
|
|
47
|
+
**Rule.** Every button is `variant="ghost" tone="neutral"`, an icon with an `aria-label`. A toggle is `v-model:pressed`. Group related tools with `TaoToolbarGroup` and split the groups with `TaoToolbarSeparator`. Leave the size medium: a small toolbar is hard to hit (see "Choosing a size"). If it has to stay one row (a phone), add `overflow` to the toolbar instead of making the buttons smaller: the groups that do not fit go under «⋮», and `pinned` keeps a group (undo and redo) in sight.
|
|
48
48
|
|
|
49
49
|
**Do:**
|
|
50
50
|
|