@cratis/eslint-plugin-components 4.36.0 → 4.38.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/README.md +1 -1
- package/lib/rootNamespaceMap.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ owned-label prop follows one consistent naming and JSDoc convention).
|
|
|
94
94
|
Components 4 removes every component-family namespace from the package root. The rule keeps a fixed map from each Components 3 namespace to its Components 4 subpath, plus the exact setup allowlist that remains at the root:
|
|
95
95
|
|
|
96
96
|
- `CratisComponentsProvider`, `useCratisComponentsConfig`, `cratisDefaults`, and `mergeCratisComponentsConfig`;
|
|
97
|
-
- `CratisComponentsConfig`, `CratisComponentsProviderProps`, and `CratisComponentsMessages`;
|
|
97
|
+
- `CratisComponentsConfig`, `CratisComponentsProviderProps`, `CratisComponentsRouter`, and `CratisComponentsMessages`;
|
|
98
98
|
- `CratisPaginatorMessages`, `CratisDatePickerMessages`, `CratisDropdownMessages`, `CratisDialogMessages`, `CratisStepperMessages`, `CratisNotificationsMessages`, `CratisDataTableMessages`, `CratisFilterMessages`, and `CratisColumnFilterMessages`;
|
|
99
99
|
- `CratisComponentsIcons`, `CratisIconResolver`, and `useCratisIcon`.
|
|
100
100
|
|
package/lib/rootNamespaceMap.js
CHANGED
|
@@ -67,6 +67,7 @@ export const approvedRootSymbols = new Set([
|
|
|
67
67
|
'mergeCratisComponentsConfig',
|
|
68
68
|
'CratisComponentsConfig',
|
|
69
69
|
'CratisComponentsProviderProps',
|
|
70
|
+
'CratisComponentsRouter',
|
|
70
71
|
'CratisComponentsMessages',
|
|
71
72
|
'CratisPaginatorMessages',
|
|
72
73
|
'CratisDatePickerMessages',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/eslint-plugin-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"description": "Cratis Components ESLint rules: import from subpaths not the root barrel, use the Cratis dialog wrappers instead of primereact/dialog, require onBeforeExecute callbacks to return their values, keep React hooks out of view models, protect the repository-owned React-free kernel, and identify CommandForm fields by a tamper-resistant marker rather than a raw displayName string. Compose on top of @cratis/eslint-config.",
|
|
5
5
|
"homepage": "https://www.cratis.io/components/",
|
|
6
6
|
"author": "Cratis",
|