@cfast/ui 0.2.0 → 0.2.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/LICENSE +21 -0
- package/llms.txt +5 -0
- package/package.json +15 -15
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Daniel Schmidt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/llms.txt
CHANGED
|
@@ -157,3 +157,8 @@ useActionToast(composed.client, {
|
|
|
157
157
|
- Forgetting `<ConfirmProvider>` -- `useConfirm()` and `ActionButton` with `confirmation` need it.
|
|
158
158
|
- Passing raw data arrays to `DataTable` instead of a pagination result from `usePagination()`.
|
|
159
159
|
- Using `whenForbidden="show"` on `ActionButton` when you mean `"disable"` -- `"show"` renders even when forbidden with no visual indicator.
|
|
160
|
+
|
|
161
|
+
## See Also
|
|
162
|
+
|
|
163
|
+
- `@cfast/joy` -- Drop-in MUI Joy plugin that styles `@cfast/ui` headless components.
|
|
164
|
+
- `@cfast/actions` -- Provides the action descriptors consumed by `ActionButton`/`ActionForm`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cfast/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Permission-aware React components with UI library plugins",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cfast",
|
|
@@ -36,25 +36,18 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "tsup src/index.ts src/client.ts --format esm --dts",
|
|
41
|
-
"dev": "tsup src/index.ts src/client.ts --format esm --dts --watch",
|
|
42
|
-
"typecheck": "tsc --noEmit",
|
|
43
|
-
"lint": "eslint src/",
|
|
44
|
-
"test": "vitest run"
|
|
45
|
-
},
|
|
46
39
|
"peerDependencies": {
|
|
47
40
|
"react": ">=19",
|
|
48
41
|
"react-dom": ">=19",
|
|
49
42
|
"react-router": ">=7"
|
|
50
43
|
},
|
|
51
44
|
"dependencies": {
|
|
52
|
-
"@cfast/actions": "
|
|
53
|
-
"@cfast/
|
|
54
|
-
"@cfast/
|
|
55
|
-
"@cfast/pagination": "
|
|
56
|
-
"@cfast/permissions": "
|
|
57
|
-
"@cfast/storage": "
|
|
45
|
+
"@cfast/actions": "0.1.1",
|
|
46
|
+
"@cfast/db": "0.1.1",
|
|
47
|
+
"@cfast/auth": "0.2.2",
|
|
48
|
+
"@cfast/pagination": "0.1.0",
|
|
49
|
+
"@cfast/permissions": "0.1.0",
|
|
50
|
+
"@cfast/storage": "0.1.0"
|
|
58
51
|
},
|
|
59
52
|
"devDependencies": {
|
|
60
53
|
"@testing-library/react": "^16.3.0",
|
|
@@ -68,5 +61,12 @@
|
|
|
68
61
|
"tsup": "^8",
|
|
69
62
|
"typescript": "^5.7",
|
|
70
63
|
"vitest": "^4.1.0"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "tsup src/index.ts src/client.ts --format esm --dts",
|
|
67
|
+
"dev": "tsup src/index.ts src/client.ts --format esm --dts --watch",
|
|
68
|
+
"typecheck": "tsc --noEmit",
|
|
69
|
+
"lint": "eslint src/",
|
|
70
|
+
"test": "vitest run"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|