@rockshin/tao-ui 0.0.3 → 0.0.5
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/dist/components/breadcrumb/breadcrumb.css +2 -979
- package/dist/components/button/button.css +2 -979
- package/dist/components/checkbox/checkbox.css +3 -979
- package/dist/components/collapsible/collapsible.css +2 -979
- package/dist/components/context-menu/context-menu.css +1 -1144
- package/dist/components/date-picker/date-picker.css +22 -1188
- package/dist/components/drawer/drawer.css +27 -1007
- package/dist/components/dropdown/dropdown.css +0 -978
- package/dist/components/form-field/form.css +4 -980
- package/dist/components/input/input.css +1 -1176
- package/dist/components/menu/menu.css +3 -980
- package/dist/components/modal/modal.css +5 -982
- package/dist/components/pagination/pagination.css +4 -980
- package/dist/components/radio/radio.css +4 -980
- package/dist/components/scroll-area/scroll-area.css +11 -984
- package/dist/components/select/mobile-select.css +2 -979
- package/dist/components/select/select.css +8 -1181
- package/dist/components/spinner/spinner.css +3 -990
- package/dist/components/splitter/splitter.css +7 -981
- package/dist/components/switch/switch.css +8 -984
- package/dist/components/table/table.css +13 -995
- package/dist/components/tabs/tabs.css +4 -980
- package/dist/components/tag/tag.css +6 -980
- package/dist/components/textarea/textarea.css +9 -1182
- package/dist/index.d.ts +32 -30
- package/dist/index.js +2 -0
- package/dist/layouts/stack/layout.css +0 -978
- package/dist/theme/control.css +10 -1000
- package/dist/theme/theme.css +71 -902
- package/llms.txt +1 -1
- package/package.json +5 -6
package/llms.txt
CHANGED
|
@@ -9,7 +9,7 @@ npm install @rockshin/tao-ui
|
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Peer dependencies: `react >=19`, `react-dom >=19`, `dayjs >=1.11` (only needed for `DatePicker`/`RangePicker`).
|
|
12
|
-
Module format: ESM only. Types and CSS ship alongside the JS
|
|
12
|
+
Module format: ESM only. Types and CSS ship alongside the JS. **No manual CSS import required** — the package entry (`dist/index.js`) imports design tokens (`--tao-*`) and shared control states on load. This is preserved end-to-end via a `sideEffects` whitelist (`["**/*.css", "./dist/index.js", "./src/index.tsx"]`) so tree-shakers keep the CSS side effects while still eliminating unused component exports at the export granularity.
|
|
13
13
|
|
|
14
14
|
## Core concepts
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rockshin/tao-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A modern React 19 component library with semantic DOM customization and OKLCH-based theming.",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
"homepage": "https://github.com/rickyshin93/tao-ui#readme",
|
|
22
22
|
"bugs": "https://github.com/rickyshin93/tao-ui/issues",
|
|
23
23
|
"sideEffects": [
|
|
24
|
-
"**/*.css"
|
|
24
|
+
"**/*.css",
|
|
25
|
+
"./dist/index.js",
|
|
26
|
+
"./src/index.tsx"
|
|
25
27
|
],
|
|
26
28
|
"exports": {
|
|
27
29
|
".": {
|
|
@@ -52,7 +54,7 @@
|
|
|
52
54
|
"@rsbuild/core": "^2.0.11",
|
|
53
55
|
"@rsbuild/plugin-babel": "^1.2.1",
|
|
54
56
|
"@rsbuild/plugin-react": "^2.0.1",
|
|
55
|
-
"@rslib/core": "^0.
|
|
57
|
+
"@rslib/core": "^0.23.1",
|
|
56
58
|
"@rspress/core": "^2.0.13",
|
|
57
59
|
"@rspress/plugin-api-docgen": "^2.0.13",
|
|
58
60
|
"@rspress/plugin-preview": "^2.0.13",
|
|
@@ -61,7 +63,6 @@
|
|
|
61
63
|
"@storybook/addon-docs": "^10.3.6",
|
|
62
64
|
"@storybook/addon-onboarding": "^10.3.6",
|
|
63
65
|
"@storybook/react": "^10.3.6",
|
|
64
|
-
"@tailwindcss/postcss": "^4.3.0",
|
|
65
66
|
"@testing-library/jest-dom": "^6.9.1",
|
|
66
67
|
"@testing-library/react": "^16.3.2",
|
|
67
68
|
"@types/node": "^24.12.4",
|
|
@@ -69,14 +70,12 @@
|
|
|
69
70
|
"@types/react-dom": "^19",
|
|
70
71
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
71
72
|
"happy-dom": "^20.9.0",
|
|
72
|
-
"postcss": "^8.5.15",
|
|
73
73
|
"react": "^19.2.6",
|
|
74
74
|
"react-dom": "^19.2.6",
|
|
75
75
|
"rsbuild-plugin-workspace-dev": "^1.0.0",
|
|
76
76
|
"storybook": "^10.3.6",
|
|
77
77
|
"storybook-addon-rslib": "^3.3.4",
|
|
78
78
|
"storybook-react-rsbuild": "^3.3.4",
|
|
79
|
-
"tailwindcss": "^4.3.0",
|
|
80
79
|
"typescript": "^6.0.3"
|
|
81
80
|
},
|
|
82
81
|
"peerDependencies": {
|