@webstrail/ui-library 1.0.0 → 1.0.2
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 +524 -519
- package/dist/UIProvider-C3ae0nQV.cjs +2 -0
- package/dist/UIProvider-C3ae0nQV.cjs.map +1 -0
- package/dist/UIProvider-CHECrDaZ.js +466 -0
- package/dist/UIProvider-CHECrDaZ.js.map +1 -0
- package/dist/core/config/globalConfig.d.ts +54 -0
- package/dist/core/config/index.d.ts +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/theme/defaultTheme.d.ts +7 -0
- package/dist/core/theme/deriveTokens.d.ts +16 -0
- package/dist/core/theme/index.d.ts +2 -0
- package/dist/core/types/common.d.ts +32 -0
- package/dist/core/types/config.d.ts +70 -0
- package/dist/core/types/index.d.ts +3 -0
- package/dist/core/types/tokens.d.ts +65 -0
- package/dist/core/utils/styles.d.ts +19 -0
- package/dist/core.cjs +2 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.js +344 -0
- package/dist/core.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -4
- package/dist/index.js +817 -1248
- package/dist/index.js.map +1 -1
- package/dist/react/components/Button/Button.d.ts +2 -0
- package/dist/react/components/Button/Button.types.d.ts +52 -0
- package/dist/react/components/Button/index.d.ts +2 -0
- package/dist/react/index.d.ts +6 -0
- package/dist/react.cjs +2 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.js +9 -0
- package/dist/react.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/web-components/button/button.element.d.ts +59 -0
- package/dist/web-components/button/button.styles.d.ts +1 -0
- package/dist/web-components/button/button.types.d.ts +21 -0
- package/dist/web-components/button/index.d.ts +3 -0
- package/dist/web-components/index.d.ts +1 -0
- package/dist/web-components.cjs +269 -0
- package/dist/web-components.cjs.map +1 -0
- package/dist/web-components.js +503 -0
- package/dist/web-components.js.map +1 -0
- package/package.json +120 -104
package/package.json
CHANGED
|
@@ -1,104 +1,120 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@webstrail/ui-library",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Production-ready, framework-agnostic React component library with scoped semantic styling",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"style": "./dist/style.css",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/index.js",
|
|
14
|
-
"require": "./dist/index.cjs"
|
|
15
|
-
},
|
|
16
|
-
"./
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
],
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"react",
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@webstrail/ui-library",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Production-ready, framework-agnostic React component library with scoped semantic styling",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"style": "./dist/style.css",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./core": {
|
|
17
|
+
"types": "./dist/core/index.d.ts",
|
|
18
|
+
"import": "./dist/core.js",
|
|
19
|
+
"require": "./dist/core.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./web-components": {
|
|
22
|
+
"types": "./dist/web-components/index.d.ts",
|
|
23
|
+
"import": "./dist/web-components.js",
|
|
24
|
+
"require": "./dist/web-components.cjs"
|
|
25
|
+
},
|
|
26
|
+
"./react": {
|
|
27
|
+
"types": "./dist/react/index.d.ts",
|
|
28
|
+
"import": "./dist/react.js",
|
|
29
|
+
"require": "./dist/react.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./style.css": "./dist/style.css"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git+https://github.com/webstrail/webstrail-ui-library.git"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/webstrail/webstrail-ui-library#readme",
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/webstrail/webstrail-ui-library/issues"
|
|
48
|
+
},
|
|
49
|
+
"sideEffects": [
|
|
50
|
+
"**/*.css",
|
|
51
|
+
"dist/style.css"
|
|
52
|
+
],
|
|
53
|
+
"scripts": {
|
|
54
|
+
"dev": "vite",
|
|
55
|
+
"build": "tsc -b && vite build",
|
|
56
|
+
"test": "node --test tests/*.test.mjs",
|
|
57
|
+
"prepublishOnly": "npm run build",
|
|
58
|
+
"preview": "vite preview",
|
|
59
|
+
"lint": "eslint .",
|
|
60
|
+
"lint:fix": "eslint . --fix",
|
|
61
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,css,json,md}\"",
|
|
62
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,css,json,md}\"",
|
|
63
|
+
"type-check": "tsc --noEmit",
|
|
64
|
+
"prepare": "husky"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
68
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"react": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"react-dom": {
|
|
75
|
+
"optional": true
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@eslint/js": "^9.21.0",
|
|
80
|
+
"@types/node": "^22.13.5",
|
|
81
|
+
"@types/react": "^19.0.10",
|
|
82
|
+
"@types/react-dom": "^19.0.4",
|
|
83
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
84
|
+
"eslint": "^9.21.0",
|
|
85
|
+
"eslint-config-prettier": "^10.0.1",
|
|
86
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
87
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
88
|
+
"globals": "^16.0.0",
|
|
89
|
+
"husky": "^9.1.7",
|
|
90
|
+
"lint-staged": "^15.4.3",
|
|
91
|
+
"prettier": "^3.5.2",
|
|
92
|
+
"react": "^19.0.0",
|
|
93
|
+
"react-dom": "^19.0.0",
|
|
94
|
+
"typescript": "^5.7.3",
|
|
95
|
+
"typescript-eslint": "^8.24.1",
|
|
96
|
+
"vite": "^6.2.0",
|
|
97
|
+
"vite-plugin-dts": "^4.5.0"
|
|
98
|
+
},
|
|
99
|
+
"lint-staged": {
|
|
100
|
+
"*.{ts,tsx}": [
|
|
101
|
+
"eslint --fix",
|
|
102
|
+
"prettier --write"
|
|
103
|
+
],
|
|
104
|
+
"*.{css,json,md}": [
|
|
105
|
+
"prettier --write"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"keywords": [
|
|
109
|
+
"react",
|
|
110
|
+
"ui-library",
|
|
111
|
+
"components",
|
|
112
|
+
"design-system",
|
|
113
|
+
"css-modules",
|
|
114
|
+
"typescript",
|
|
115
|
+
"react19",
|
|
116
|
+
"tailwind-compatible"
|
|
117
|
+
],
|
|
118
|
+
"author": "Webstrail",
|
|
119
|
+
"license": "MIT"
|
|
120
|
+
}
|