@umituz/web-dashboard 5.0.0 → 6.0.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 +4 -3
- package/package.json +2 -12
- package/src/index.ts +0 -10
- package/src/styles/dashboard.css +93 -544
- package/src/domains/auth/components/AuthLayout.tsx +0 -99
- package/src/domains/auth/components/ForgotPasswordForm.tsx +0 -167
- package/src/domains/auth/components/LoginForm.tsx +0 -222
- package/src/domains/auth/components/RegisterForm.tsx +0 -281
- package/src/domains/auth/components/ResetPasswordForm.tsx +0 -173
- package/src/domains/auth/components/index.ts +0 -11
- package/src/domains/auth/components/shared/AuthErrorBanner.tsx +0 -25
- package/src/domains/auth/components/shared/EmailInput.tsx +0 -73
- package/src/domains/auth/components/shared/PasswordInput.tsx +0 -100
- package/src/domains/auth/components/shared/PasswordStrengthIndicator.tsx +0 -63
- package/src/domains/auth/components/shared/SocialLoginButtons.tsx +0 -44
- package/src/domains/auth/components/shared/SocialProviderIcons.tsx +0 -48
- package/src/domains/auth/components/shared/index.ts +0 -20
- package/src/domains/auth/hooks/index.ts +0 -8
- package/src/domains/auth/hooks/useAuth.ts +0 -230
- package/src/domains/auth/index.ts +0 -62
- package/src/domains/auth/types/auth.ts +0 -302
- package/src/domains/auth/types/index.ts +0 -25
- package/src/domains/auth/utils/auth.test.ts +0 -188
- package/src/domains/auth/utils/auth.ts +0 -221
- package/src/domains/auth/utils/i18nKeys.ts +0 -109
- package/src/domains/auth/utils/index.ts +0 -29
- package/src/domains/auth/utils/secureToken.ts +0 -33
- package/src/domains/auth/utils/validationKeys.ts +0 -23
- package/src/domains/session/DemoLogin.tsx +0 -42
- package/src/domains/session/OrgSwitcher.tsx +0 -102
- package/src/domains/session/SessionContext.tsx +0 -150
- package/src/domains/session/inMemoryAuthAdapter.ts +0 -53
- package/src/domains/session/index.ts +0 -18
- package/src/domains/session/types.ts +0 -47
- package/src/domains/session/utils/i18nKeys.ts +0 -12
package/README.md
CHANGED
|
@@ -50,8 +50,8 @@ resets: import the package stylesheet **after** your base layer.
|
|
|
50
50
|
reads its variables, so theming has exactly one path: set the DS variables.
|
|
51
51
|
Vanilla-CSS hosts define `--app-*` slots via the design system's `bridge.css`;
|
|
52
52
|
Tailwind hosts override `--color-*` from their own `@theme`. Dashboard-only
|
|
53
|
-
knobs (`--udb-font-size-*`, `--udb-
|
|
54
|
-
`--udb-border-strong`) can be overridden anywhere in the cascade.
|
|
53
|
+
knobs (`--udb-font-size-*`, `--udb-space-*`, `--udb-sidebar-*`,
|
|
54
|
+
`--udb-header-height`, `--udb-border-strong`, `--udb-radius-pill`) can be overridden anywhere in the cascade.
|
|
55
55
|
|
|
56
56
|
## Entry points
|
|
57
57
|
|
|
@@ -211,7 +211,8 @@ npm run test:watch
|
|
|
211
211
|
`--u-color-surface-muted` → `--color-muted`, `--u-color-danger` →
|
|
212
212
|
`--color-destructive`) and dashboard knobs to their `--udb-*` names
|
|
213
213
|
(`--u-font-size-*` → `--udb-font-size-*`, `--u-color-border-strong` →
|
|
214
|
-
`--udb-border-strong`, `--u-sidebar-*` → `--udb-sidebar-*`
|
|
214
|
+
`--udb-border-strong`, `--u-sidebar-*` → `--udb-sidebar-*`, `--u-space-*` →
|
|
215
|
+
`--udb-space-*`).
|
|
215
216
|
4. Dark mode: replace `data-udb-theme="dark"` with the design-system
|
|
216
217
|
convention (`[data-theme="dark"]` / `.dark` + dark DS variable values).
|
|
217
218
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/web-dashboard",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Installable app skeleton for the fleet — layouts,
|
|
3
|
+
"version": "6.0.0",
|
|
4
|
+
"description": "Installable app skeleton for the fleet — layouts, analytics (dependency-free SVG charts), calendar, i18n via @umituz/web-localization, permissions/module registry; udb-* stylesheet on design-system tokens (auth lives in @umituz/web-auth)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
7
7
|
"types": "./src/index.ts",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
".": "./src/index.ts",
|
|
13
13
|
"./styles.css": "./src/styles/dashboard.css",
|
|
14
14
|
"./permissions": "./src/domains/permissions/index.ts",
|
|
15
|
-
"./session": "./src/domains/session/index.ts",
|
|
16
15
|
"./modules": "./src/domains/modules/index.ts",
|
|
17
16
|
"./layouts": "./src/domains/layouts/index.ts",
|
|
18
17
|
"./layouts/components": "./src/domains/layouts/components/index.ts",
|
|
@@ -25,11 +24,6 @@
|
|
|
25
24
|
"./settings/hooks": "./src/domains/settings/hooks/index.ts",
|
|
26
25
|
"./settings/utils": "./src/domains/settings/utils/index.ts",
|
|
27
26
|
"./settings/types": "./src/domains/settings/types/index.ts",
|
|
28
|
-
"./auth": "./src/domains/auth/index.ts",
|
|
29
|
-
"./auth/components": "./src/domains/auth/components/index.ts",
|
|
30
|
-
"./auth/hooks": "./src/domains/auth/hooks/index.ts",
|
|
31
|
-
"./auth/utils": "./src/domains/auth/utils/index.ts",
|
|
32
|
-
"./auth/types": "./src/domains/auth/types/index.ts",
|
|
33
27
|
"./analytics": "./src/domains/analytics/index.ts",
|
|
34
28
|
"./analytics/components": "./src/domains/analytics/components/index.ts",
|
|
35
29
|
"./analytics/hooks": "./src/domains/analytics/hooks/index.ts",
|
|
@@ -83,10 +77,6 @@
|
|
|
83
77
|
"dashboard",
|
|
84
78
|
"layout",
|
|
85
79
|
"settings",
|
|
86
|
-
"auth",
|
|
87
|
-
"authentication",
|
|
88
|
-
"login",
|
|
89
|
-
"register",
|
|
90
80
|
"analytics",
|
|
91
81
|
"analytics-services",
|
|
92
82
|
"cohort-analysis",
|
package/src/index.ts
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
export * from './domains/layouts';
|
|
2
2
|
export * from './domains/settings';
|
|
3
3
|
export * from './domains/calendar';
|
|
4
|
-
export {
|
|
5
|
-
AuthLayout,
|
|
6
|
-
LoginForm,
|
|
7
|
-
RegisterForm,
|
|
8
|
-
useAuth,
|
|
9
|
-
type LoginCredentials,
|
|
10
|
-
type RegisterData,
|
|
11
|
-
type User,
|
|
12
|
-
} from './domains/auth';
|
|
13
|
-
|
|
14
4
|
export {
|
|
15
5
|
useAnalytics,
|
|
16
6
|
MetricCard,
|