@1337exp/taoui 5.27.1 → 5.29.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/CHANGELOG.md +707 -697
- package/README.md +1 -0
- package/README.ru.md +1 -0
- package/dist/index.d.ts +252 -178
- package/dist/index.js +256 -142
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +105 -105
- package/skills/taoui/SKILL.md +1 -1
- package/skills/taoui/references/components.md +1297 -1282
- package/src/styles/contexts/stretch.css +62 -0
- package/src/styles/index.css +1 -0
package/package.json
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@1337exp/taoui",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"description": "Design-token driven Vue 3 / Nuxt component library: palettes with tested contrast, accessible menus and toolbars, navigation that adapts without JS, small charts, built-in locales.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"vue",
|
|
7
|
-
"vue3",
|
|
8
|
-
"nuxt",
|
|
9
|
-
"ui",
|
|
10
|
-
"ui-library",
|
|
11
|
-
"components",
|
|
12
|
-
"component-library",
|
|
13
|
-
"design-system",
|
|
14
|
-
"design-tokens",
|
|
15
|
-
"theming",
|
|
16
|
-
"dark-mode",
|
|
17
|
-
"typescript",
|
|
18
|
-
"accessible",
|
|
19
|
-
"a11y",
|
|
20
|
-
"palette",
|
|
21
|
-
"toolbar",
|
|
22
|
-
"navigation",
|
|
23
|
-
"sparkline",
|
|
24
|
-
"color-picker",
|
|
25
|
-
"slider",
|
|
26
|
-
"toast"
|
|
27
|
-
],
|
|
28
|
-
"homepage": "https://666.io",
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/1337exp/taoui/issues"
|
|
31
|
-
},
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/1337exp/taoui.git"
|
|
35
|
-
},
|
|
36
|
-
"author": "1337exp",
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"type": "module",
|
|
39
|
-
"types": "./dist/index.d.ts",
|
|
40
|
-
"exports": {
|
|
41
|
-
".": {
|
|
42
|
-
"types": "./dist/index.d.ts",
|
|
43
|
-
"default": "./dist/index.js"
|
|
44
|
-
},
|
|
45
|
-
"./styles.css": "./dist/styles.css",
|
|
46
|
-
"./palettes.css": "./src/styles/palettes/index.css",
|
|
47
|
-
"./styles/*": "./src/styles/*",
|
|
48
|
-
"./package.json": "./package.json"
|
|
49
|
-
},
|
|
50
|
-
"sideEffects": [
|
|
51
|
-
"**/*.css"
|
|
52
|
-
],
|
|
53
|
-
"files": [
|
|
54
|
-
"dist",
|
|
55
|
-
"src/styles",
|
|
56
|
-
"CHANGELOG.md",
|
|
57
|
-
"MIGRATION-5.md",
|
|
58
|
-
"skills"
|
|
59
|
-
],
|
|
60
|
-
"browserslist": [
|
|
61
|
-
"chrome >= 111",
|
|
62
|
-
"edge >= 111",
|
|
63
|
-
"safari >= 16.4",
|
|
64
|
-
"firefox >= 128"
|
|
65
|
-
],
|
|
66
|
-
"engines": {
|
|
67
|
-
"node": ">=18"
|
|
68
|
-
},
|
|
69
|
-
"publishConfig": {
|
|
70
|
-
"access": "public"
|
|
71
|
-
},
|
|
72
|
-
"scripts": {
|
|
73
|
-
"build": "vite build",
|
|
74
|
-
"dev": "vite build --watch",
|
|
75
|
-
"type-check": "vue-tsc --noEmit",
|
|
76
|
-
"test": "vitest run",
|
|
77
|
-
"test:watch": "vitest",
|
|
78
|
-
"showcase": "npm --prefix showcase run dev",
|
|
79
|
-
"showcase:build": "npm --prefix showcase run build",
|
|
80
|
-
"media": "node scripts/media.mjs",
|
|
81
|
-
"smoke": "node scripts/consumer-smoke.mjs",
|
|
82
|
-
"prepublishOnly": "npm run type-check && npm run test && npm run build && npm run lint:package",
|
|
83
|
-
"lint:package": "publint && attw --pack . --profile esm-only --exclude-entrypoints styles.css palettes.css",
|
|
84
|
-
"palettes": "node scripts/generate-palettes.mjs",
|
|
85
|
-
"skill": "node scripts/generate-skill.mjs"
|
|
86
|
-
},
|
|
87
|
-
"peerDependencies": {
|
|
88
|
-
"vue": "^3.4.0"
|
|
89
|
-
},
|
|
90
|
-
"devDependencies": {
|
|
91
|
-
"@arethetypeswrong/cli": "^0.18.5",
|
|
92
|
-
"@types/node": "^20.19.43",
|
|
93
|
-
"@vitejs/plugin-vue": "^5.0.0",
|
|
94
|
-
"@vue/test-utils": "^2.5.1",
|
|
95
|
-
"happy-dom": "^15.11.7",
|
|
96
|
-
"playwright-core": "^1.64.1",
|
|
97
|
-
"publint": "^0.3.25",
|
|
98
|
-
"typescript": "^5.3.0",
|
|
99
|
-
"vite": "^5.0.0",
|
|
100
|
-
"vite-plugin-dts": "^3.7.0",
|
|
101
|
-
"vitest": "^2.1.9",
|
|
102
|
-
"vue": "^3.4.0",
|
|
103
|
-
"vue-tsc": "^2.0.0"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@1337exp/taoui",
|
|
3
|
+
"version": "5.29.1",
|
|
4
|
+
"description": "Design-token driven Vue 3 / Nuxt component library: palettes with tested contrast, accessible menus and toolbars, navigation that adapts without JS, small charts, built-in locales.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"vue",
|
|
7
|
+
"vue3",
|
|
8
|
+
"nuxt",
|
|
9
|
+
"ui",
|
|
10
|
+
"ui-library",
|
|
11
|
+
"components",
|
|
12
|
+
"component-library",
|
|
13
|
+
"design-system",
|
|
14
|
+
"design-tokens",
|
|
15
|
+
"theming",
|
|
16
|
+
"dark-mode",
|
|
17
|
+
"typescript",
|
|
18
|
+
"accessible",
|
|
19
|
+
"a11y",
|
|
20
|
+
"palette",
|
|
21
|
+
"toolbar",
|
|
22
|
+
"navigation",
|
|
23
|
+
"sparkline",
|
|
24
|
+
"color-picker",
|
|
25
|
+
"slider",
|
|
26
|
+
"toast"
|
|
27
|
+
],
|
|
28
|
+
"homepage": "https://666.io",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/1337exp/taoui/issues"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/1337exp/taoui.git"
|
|
35
|
+
},
|
|
36
|
+
"author": "1337exp",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"type": "module",
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"exports": {
|
|
41
|
+
".": {
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"default": "./dist/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./styles.css": "./dist/styles.css",
|
|
46
|
+
"./palettes.css": "./src/styles/palettes/index.css",
|
|
47
|
+
"./styles/*": "./src/styles/*",
|
|
48
|
+
"./package.json": "./package.json"
|
|
49
|
+
},
|
|
50
|
+
"sideEffects": [
|
|
51
|
+
"**/*.css"
|
|
52
|
+
],
|
|
53
|
+
"files": [
|
|
54
|
+
"dist",
|
|
55
|
+
"src/styles",
|
|
56
|
+
"CHANGELOG.md",
|
|
57
|
+
"MIGRATION-5.md",
|
|
58
|
+
"skills"
|
|
59
|
+
],
|
|
60
|
+
"browserslist": [
|
|
61
|
+
"chrome >= 111",
|
|
62
|
+
"edge >= 111",
|
|
63
|
+
"safari >= 16.4",
|
|
64
|
+
"firefox >= 128"
|
|
65
|
+
],
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=18"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "vite build",
|
|
74
|
+
"dev": "vite build --watch",
|
|
75
|
+
"type-check": "vue-tsc --noEmit",
|
|
76
|
+
"test": "vitest run",
|
|
77
|
+
"test:watch": "vitest",
|
|
78
|
+
"showcase": "npm --prefix showcase run dev",
|
|
79
|
+
"showcase:build": "npm --prefix showcase run build",
|
|
80
|
+
"media": "node scripts/media.mjs",
|
|
81
|
+
"smoke": "node scripts/consumer-smoke.mjs",
|
|
82
|
+
"prepublishOnly": "npm run type-check && npm run test && npm run build && npm run lint:package",
|
|
83
|
+
"lint:package": "publint && attw --pack . --profile esm-only --exclude-entrypoints styles.css palettes.css",
|
|
84
|
+
"palettes": "node scripts/generate-palettes.mjs",
|
|
85
|
+
"skill": "node scripts/generate-skill.mjs"
|
|
86
|
+
},
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"vue": "^3.4.0"
|
|
89
|
+
},
|
|
90
|
+
"devDependencies": {
|
|
91
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
92
|
+
"@types/node": "^20.19.43",
|
|
93
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
94
|
+
"@vue/test-utils": "^2.5.1",
|
|
95
|
+
"happy-dom": "^15.11.7",
|
|
96
|
+
"playwright-core": "^1.64.1",
|
|
97
|
+
"publint": "^0.3.25",
|
|
98
|
+
"typescript": "^5.3.0",
|
|
99
|
+
"vite": "^5.0.0",
|
|
100
|
+
"vite-plugin-dts": "^3.7.0",
|
|
101
|
+
"vitest": "^2.1.9",
|
|
102
|
+
"vue": "^3.4.0",
|
|
103
|
+
"vue-tsc": "^2.0.0"
|
|
104
|
+
}
|
|
105
|
+
}
|
package/skills/taoui/SKILL.md
CHANGED
|
@@ -115,7 +115,7 @@ choose a text colour, WCAG 2 to promise a number.
|
|
|
115
115
|
`TaoTable` (columns, sort, row click), `TaoPagination` (`pageInput` for hundreds of pages), `TaoList` / `TaoListItem` (`roving`: one Tab stop, arrows between the rows),
|
|
116
116
|
`TaoTree` (expand, select, tri-state `checkable`, lazy `load`), `TaoStages`, `TaoTimeline` (`active` makes it a progress),
|
|
117
117
|
`TaoTag`, `TaoAvatar`, `TaoImage`, `TaoCarousel`, `TaoCard` (`#media`, `#title`, `#sub`, `#footer`, `#corner`, `closable`,
|
|
118
|
-
`stripe` + `stripeTone`), `TaoBlock`, `TaoTabs`, `TaoBreadcrumb`, `TaoLink`, `TaoSpoiler` / `TaoSpoilerGroup`, `TaoCounter`,
|
|
118
|
+
`stripe` + `stripeTone`), `TaoBlock`, `TaoTabs`, `TaoBreadcrumb`, `TaoLink`, `TaoStretchedLink` (a whole card or row as one link, the buttons inside still work: `tao-stretched` on the container, `tao-stretched-raise` on a control that must click by itself; never `filter` / `transform` on the link), `TaoSpoiler` / `TaoSpoilerGroup`, `TaoCounter`,
|
|
119
119
|
`TaoCopy`, `TaoTour` (a guided tour: `:step` / `:index` / `:count`, events `next` / `prev` / `skip`; it only draws, the state is yours or TaoUX `useTour`; a step is `{ id, target?, title?, text?, placement? }`), `TaoThemeToggle` (the light / dark switch as an icon button: flips `data-tao-mode` of `<html>`, or `v-model` with `:apply="false"`; `#icon="{ mode, next }"` for your own glyph), `TaoMarquee` (one line that runs round only when it does not fit), `TaoScrubber` (play / pause + time),
|
|
120
120
|
`TaoScrollTop`, `TaoAnimatedBorder`, `TaoIcon`.
|
|
121
121
|
|