@donotdev/ui 0.0.30 → 0.1.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/LICENSE.md +3 -3
- package/dist/components/auth/AuthHeader.d.ts +2 -2
- package/dist/components/auth/AuthHeader.js +2 -2
- package/dist/components/auth/AuthMenu.d.ts +2 -2
- package/dist/components/auth/AuthMenu.js +1 -1
- package/dist/components/common/FeatureCard.js +1 -1
- package/dist/components/common/FeatureDisabled.d.ts +1 -1
- package/dist/components/common/FeatureDisabled.js +2 -2
- package/dist/components/common/ProgressBar.d.ts +1 -1
- package/dist/components/common/ProgressBar.js +2 -2
- package/dist/components/common/RedirectOverlay.d.ts +1 -1
- package/dist/components/common/RedirectOverlay.js +2 -2
- package/dist/components/common/Skeleton.d.ts +7 -7
- package/dist/components/common/Skeleton.js +8 -8
- package/dist/components/common/icon.d.ts +1 -1
- package/dist/components/common/icon.js +2 -2
- package/dist/components/common/index.d.ts +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/cookie-consent/ConsentBanner.d.ts +1 -1
- package/dist/components/cookie-consent/ConsentBanner.js +2 -2
- package/dist/components/cookie-consent/index.d.ts +1 -1
- package/dist/components/cookie-consent/index.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/layout/GameContainer.d.ts +1 -1
- package/dist/components/layout/GameContainer.js +2 -2
- package/dist/components/layout/GameFlow.d.ts +2 -2
- package/dist/components/layout/GameFlow.js +2 -2
- package/dist/components/layout/PageContainer.d.ts +1 -1
- package/dist/components/layout/PageContainer.js +2 -2
- package/dist/components/layout/components/Breadcrumbs.d.ts +1 -1
- package/dist/components/layout/components/Breadcrumbs.js +2 -2
- package/dist/components/layout/components/DropdownNavigation.d.ts +1 -1
- package/dist/components/layout/components/DropdownNavigation.js +2 -2
- package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts +1 -1
- package/dist/components/layout/components/FloatingLanguageSwitcher.js +2 -2
- package/dist/components/layout/components/Notifications.d.ts +4 -4
- package/dist/components/layout/components/Notifications.js +3 -3
- package/dist/components/layout/components/header/AppBranding.d.ts +2 -2
- package/dist/components/layout/components/header/AppBranding.js +2 -2
- package/dist/components/layout/components/header/AppIcon.d.ts +1 -1
- package/dist/components/layout/components/header/AppIcon.js +2 -2
- package/dist/components/layout/components/header/AppTitle.d.ts +1 -1
- package/dist/components/layout/components/header/AppTitle.js +2 -2
- package/dist/components/layout/components/header/CacheSettings.d.ts +1 -1
- package/dist/components/layout/components/header/CacheSettings.js +3 -3
- package/dist/components/layout/components/header/GameTitle.d.ts +1 -1
- package/dist/components/layout/components/header/GameTitle.js +2 -2
- package/dist/components/layout/components/header/HeaderMenu.d.ts +1 -1
- package/dist/components/layout/components/header/HeaderMenu.js +2 -2
- package/dist/components/layout/components/header/HeaderNavigation.d.ts +1 -1
- package/dist/components/layout/components/header/HeaderNavigation.js +2 -2
- package/dist/components/layout/components/header/SettingsMenu.d.ts +1 -1
- package/dist/components/layout/components/header/SettingsMenu.js +2 -2
- package/dist/components/layout/components/header/ThemeToggle.d.ts +1 -1
- package/dist/components/layout/components/header/ThemeToggle.js +2 -2
- package/dist/components/layout/components/index.d.ts +1 -1
- package/dist/components/layout/components/index.js +1 -1
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/license/LicenseWatermark.d.ts +1 -1
- package/dist/components/license/LicenseWatermark.js +2 -2
- package/dist/components/license/watermarkData.js +1 -1
- package/dist/crud/components/CrudCardLink.d.ts +1 -1
- package/dist/crud/components/EntityCardList.d.ts.map +1 -1
- package/dist/crud/components/EntityCardList.js +15 -12
- package/dist/crud/components/EntityDisplayRenderer.js +1 -1
- package/dist/crud/components/EntityFormRenderer.d.ts +1 -1
- package/dist/crud/components/EntityFormRenderer.js +2 -2
- package/dist/crud/components/EntityList.js +1 -1
- package/dist/crud/components/EntityRecommendations.d.ts +1 -1
- package/dist/crud/components/EntityRecommendations.js +2 -2
- package/dist/crud/components/EntityWorkflow.js +1 -1
- package/dist/crud/components/Form.d.ts +10 -10
- package/dist/crud/components/Form.js +12 -12
- package/dist/crud/components/index.d.ts +1 -1
- package/dist/crud/components/index.js +1 -1
- package/dist/crud/crudImports.d.ts +1 -1
- package/dist/crud/crudImports.d.ts.map +1 -1
- package/dist/crud/crudImports.js +1 -1
- package/dist/crud/index.d.ts +1 -1
- package/dist/crud/index.js +1 -1
- package/dist/data/techLogos.d.ts +1 -1
- package/dist/data/techLogos.js +1 -1
- package/dist/dndev-next.css +176 -6
- package/dist/dndev.css +227 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/internal/common/DnDevErrorBoundary.d.ts +2 -2
- package/dist/internal/common/DnDevErrorBoundary.js +2 -2
- package/dist/internal/common/ErrorFallback.d.ts +1 -1
- package/dist/internal/common/ErrorFallback.js +2 -2
- package/dist/internal/common/GlobalErrorFallback.d.ts +1 -1
- package/dist/internal/common/GlobalErrorFallback.js +2 -2
- package/dist/internal/common/RouteErrorFallback.d.ts +1 -1
- package/dist/internal/common/RouteErrorFallback.js +2 -2
- package/dist/internal/devtools/DebugTools.js +1 -1
- package/dist/internal/devtools/components/AuthDebugButton.js +1 -1
- package/dist/internal/devtools/components/ConfigTab.js +1 -1
- package/dist/internal/devtools/components/CookieTab.js +1 -1
- package/dist/internal/devtools/components/DebugDialog.js +1 -1
- package/dist/internal/devtools/components/DesignTab.js +1 -1
- package/dist/internal/devtools/components/LayoutReset.js +2 -2
- package/dist/internal/devtools/components/MaskedValue.js +1 -1
- package/dist/internal/devtools/components/StoresTab.js +1 -1
- package/dist/internal/devtools/components/index.d.ts +1 -1
- package/dist/internal/devtools/components/index.js +1 -1
- package/dist/internal/devtools/index.d.ts +1 -1
- package/dist/internal/devtools/index.js +1 -1
- package/dist/internal/devtools/types.d.ts +9 -9
- package/dist/internal/devtools/utils/envVarDiscovery.js +1 -1
- package/dist/internal/devtools/utils/index.d.ts +1 -1
- package/dist/internal/devtools/utils/index.js +1 -1
- package/dist/internal/devtools/utils/maskSensitive.js +1 -1
- package/dist/internal/devtools/utils/virtualModuleInspector.js +1 -1
- package/dist/internal/initializers/BaseStoresInitializer.d.ts +3 -3
- package/dist/internal/initializers/BaseStoresInitializer.js +2 -2
- package/dist/internal/initializers/NextJsStoresInitializer.d.ts +1 -1
- package/dist/internal/initializers/NextJsStoresInitializer.js +2 -2
- package/dist/internal/initializers/ViteStoresInitializer.d.ts +1 -1
- package/dist/internal/initializers/ViteStoresInitializer.js +2 -2
- package/dist/internal/initializers/index.d.ts +1 -1
- package/dist/internal/initializers/index.js +1 -1
- package/dist/internal/layout/DnDevLayout.d.ts +2 -2
- package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
- package/dist/internal/layout/DnDevLayout.js +7 -3
- package/dist/internal/layout/components/AutoMetaTags.d.ts +4 -2
- package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/AutoMetaTags.js +143 -39
- package/dist/internal/layout/components/FaviconHead.d.ts +1 -1
- package/dist/internal/layout/components/FaviconHead.js +2 -2
- package/dist/internal/layout/components/FontPreloadLinks.d.ts +1 -1
- package/dist/internal/layout/components/FontPreloadLinks.js +1 -1
- package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts +1 -1
- package/dist/internal/layout/components/NextJsAutoMetaTags.js +2 -2
- package/dist/internal/layout/components/PWAUpdateNotification.d.ts +1 -1
- package/dist/internal/layout/components/PWAUpdateNotification.js +2 -2
- package/dist/internal/layout/components/PerformanceHints.js +1 -1
- package/dist/internal/layout/components/footer/FooterBranding.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterBranding.js +2 -2
- package/dist/internal/layout/components/footer/FooterCopyright.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterCopyright.js +2 -2
- package/dist/internal/layout/components/footer/FooterLegalLinks.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterLegalLinks.js +2 -2
- package/dist/internal/layout/components/index.d.ts +1 -1
- package/dist/internal/layout/components/index.js +1 -1
- package/dist/internal/layout/config/defaults.js +1 -1
- package/dist/internal/layout/config/index.d.ts +1 -1
- package/dist/internal/layout/config/index.js +1 -1
- package/dist/internal/layout/config/presets/admin.d.ts +1 -1
- package/dist/internal/layout/config/presets/blog.d.ts +1 -1
- package/dist/internal/layout/config/presets/docs.js +1 -1
- package/dist/internal/layout/config/presets/game.js +1 -1
- package/dist/internal/layout/config/presets/index.d.ts +1 -1
- package/dist/internal/layout/config/presets/landing.js +1 -1
- package/dist/internal/layout/config/presets/moolti.js +1 -1
- package/dist/internal/layout/config/presets/plain.d.ts +2 -2
- package/dist/internal/layout/config/presets/plain.d.ts.map +1 -1
- package/dist/internal/layout/config/presets/plain.js +12 -1
- package/dist/internal/layout/renderers/index.d.ts +1 -1
- package/dist/internal/layout/renderers/index.js +1 -1
- package/dist/internal/layout/zones/DnDevFooter.js +1 -1
- package/dist/internal/layout/zones/DnDevHeader.js +1 -1
- package/dist/internal/layout/zones/DnDevMergedBar.js +1 -1
- package/dist/internal/layout/zones/DnDevSidebar.js +1 -1
- package/dist/internal/layout/zones/index.d.ts +1 -1
- package/dist/internal/layout/zones/index.js +1 -1
- package/dist/internal/providers/NavigationProvider.d.ts +1 -1
- package/dist/internal/providers/NavigationProvider.js +2 -2
- package/dist/internal/providers/SentryInitializer.d.ts +1 -1
- package/dist/internal/providers/SentryInitializer.js +2 -2
- package/dist/internal/providers/UIProviders.d.ts +1 -1
- package/dist/internal/providers/UIProviders.js +3 -3
- package/dist/internal/providers/index.d.ts +1 -1
- package/dist/internal/providers/index.js +1 -1
- package/dist/next.d.ts +1 -1
- package/dist/next.js +1 -1
- package/dist/providers/NextJsAppProviders.d.ts +1 -1
- package/dist/providers/NextJsAppProviders.js +2 -2
- package/dist/providers/ViteAppProviders.d.ts +1 -1
- package/dist/providers/ViteAppProviders.js +2 -2
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/routing/404.d.ts +2 -2
- package/dist/routing/404.js +3 -3
- package/dist/routing/AuthGuard.d.ts +8 -8
- package/dist/routing/AuthGuard.js +8 -8
- package/dist/routing/AuthGuardFallback.d.ts +1 -1
- package/dist/routing/AuthGuardFallback.js +2 -2
- package/dist/routing/DnDevNavigationMenu.d.ts +1 -1
- package/dist/routing/DnDevNavigationMenu.js +2 -2
- package/dist/routing/GoTo.js +1 -1
- package/dist/routing/GoToDialog.js +1 -1
- package/dist/routing/GoToInput.js +1 -1
- package/dist/routing/GoToWrapper.d.ts +1 -1
- package/dist/routing/GoToWrapper.js +2 -2
- package/dist/routing/Link.d.ts +2 -2
- package/dist/routing/Link.js +2 -2
- package/dist/routing/NavigationItem.d.ts +1 -1
- package/dist/routing/NavigationItem.js +2 -2
- package/dist/routing/hooks/hooks.next.d.ts +1 -1
- package/dist/routing/hooks/hooks.vite.d.ts +1 -1
- package/dist/routing/hooks/index.d.ts +1 -1
- package/dist/routing/hooks/index.js +1 -1
- package/dist/routing/hooks/types.d.ts +1 -1
- package/dist/routing/hooks/useLocation.next.js +1 -1
- package/dist/routing/hooks/useLocation.vite.js +1 -1
- package/dist/routing/hooks/useNavigate.next.js +1 -1
- package/dist/routing/hooks/useNavigate.vite.js +1 -1
- package/dist/routing/hooks/useQueryParams.next.js +1 -1
- package/dist/routing/hooks/useQueryParams.vite.js +1 -1
- package/dist/routing/hooks/useRedirectGuard.next.js +1 -1
- package/dist/routing/hooks/useRedirectGuard.vite.js +1 -1
- package/dist/routing/hooks/useRouteParam.next.js +1 -1
- package/dist/routing/hooks/useRouteParam.vite.js +1 -1
- package/dist/routing/index.d.ts +1 -1
- package/dist/routing/index.js +1 -1
- package/dist/routing/useGoTo.js +1 -1
- package/dist/routing/useNavigation.d.ts +2 -2
- package/dist/routing/useNavigation.js +3 -3
- package/dist/routing/useRouteDiscovery.d.ts +7 -7
- package/dist/routing/useRouteDiscovery.js +6 -6
- package/dist/styles/index.css +227 -6
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.js +1 -1
- package/dist/styles/layoutConstants.d.ts +6 -6
- package/dist/styles/layoutConstants.js +5 -5
- package/dist/utils/assetResolver.d.ts +5 -5
- package/dist/utils/assetResolver.js +4 -4
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/sanitizeSvg.js +1 -1
- package/dist/utils/tList.js +1 -1
- package/dist/utils/useAuthSafe.js +1 -1
- package/dist/utils/useAuthVisibility.js +1 -1
- package/dist/utils/useBillingVisibility.js +1 -1
- package/dist/utils/useCrudSafe.js +1 -1
- package/dist/utils/useFormStoreSafe.js +1 -1
- package/dist/utils/useOAuthSafe.d.ts +1 -1
- package/dist/utils/useStripeBillingSafe.js +1 -1
- package/dist/vite-routing/AppRoutes.js +1 -1
- package/dist/vite-routing/RootLayout.d.ts +1 -1
- package/dist/vite-routing/RootLayout.js +5 -5
- package/dist/vite-routing/index.d.ts +1 -1
- package/dist/vite-routing/index.js +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +1 -1
- package/package.json +7 -7
package/dist/routing/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @description Platform-agnostic routing components and hooks (work in both Vite + Next.js)
|
|
4
4
|
* Vite-specific routing (AppRoutes, RootLayout) moved to ../vite-routing
|
|
5
5
|
*
|
|
6
|
-
* @version 0.0
|
|
6
|
+
* @version 0.1.0
|
|
7
7
|
* @since 0.0.1
|
|
8
8
|
* @author AMBROISE PARK Consulting
|
|
9
9
|
*/
|
package/dist/routing/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @description Platform-agnostic routing components and hooks (work in both Vite + Next.js)
|
|
5
5
|
* Vite-specific routing (AppRoutes, RootLayout) moved to ../vite-routing
|
|
6
6
|
*
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
* @since 0.0.1
|
|
9
9
|
* @author AMBROISE PARK Consulting
|
|
10
10
|
*/
|
package/dist/routing/useGoTo.js
CHANGED
|
@@ -16,7 +16,7 @@ export interface NavigationItem extends NavigationRoute {
|
|
|
16
16
|
* Use this for UI menus, sidebars, and navigation components that should
|
|
17
17
|
* only show routes the user can access.
|
|
18
18
|
*
|
|
19
|
-
* @version 0.0
|
|
19
|
+
* @version 0.1.0
|
|
20
20
|
* @since 0.0.1
|
|
21
21
|
* @author AMBROISE PARK Consulting
|
|
22
22
|
* @returns Array of navigation items filtered by auth state
|
|
@@ -37,7 +37,7 @@ export declare function useNavigationItems(): NavigationItem[];
|
|
|
37
37
|
* Use this to compose a standalone Button-style nav link without reaching for
|
|
38
38
|
* a full NavigationMenu.
|
|
39
39
|
*
|
|
40
|
-
* @version 0.0
|
|
40
|
+
* @version 0.1.0
|
|
41
41
|
* @since 0.0.1
|
|
42
42
|
* @author AMBROISE PARK Consulting
|
|
43
43
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @fileoverview Navigation Hooks - Clean and Simple
|
|
4
4
|
* @description Only 2 hooks: dumb navigation + smart auth-filtered navigation
|
|
5
5
|
*
|
|
6
|
-
* @version 0.0
|
|
6
|
+
* @version 0.1.0
|
|
7
7
|
* @since 0.0.1
|
|
8
8
|
* @author AMBROISE PARK Consulting
|
|
9
9
|
*/
|
|
@@ -19,7 +19,7 @@ import { useAuthSafe } from '../utils/useAuthSafe';
|
|
|
19
19
|
* Use this for UI menus, sidebars, and navigation components that should
|
|
20
20
|
* only show routes the user can access.
|
|
21
21
|
*
|
|
22
|
-
* @version 0.0
|
|
22
|
+
* @version 0.1.0
|
|
23
23
|
* @since 0.0.1
|
|
24
24
|
* @author AMBROISE PARK Consulting
|
|
25
25
|
* @returns Array of navigation items filtered by auth state
|
|
@@ -77,7 +77,7 @@ export function useNavigationItems() {
|
|
|
77
77
|
* Use this to compose a standalone Button-style nav link without reaching for
|
|
78
78
|
* a full NavigationMenu.
|
|
79
79
|
*
|
|
80
|
-
* @version 0.0
|
|
80
|
+
* @version 0.1.0
|
|
81
81
|
* @since 0.0.1
|
|
82
82
|
* @author AMBROISE PARK Consulting
|
|
83
83
|
*
|
|
@@ -4,7 +4,7 @@ import type { ReactNode } from 'react';
|
|
|
4
4
|
/**
|
|
5
5
|
* Route information interface for discovered routes
|
|
6
6
|
*
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
* @since 0.0.1
|
|
9
9
|
* @author AMBROISE PARK Consulting
|
|
10
10
|
*/
|
|
@@ -29,7 +29,7 @@ export interface RouteInfo {
|
|
|
29
29
|
/**
|
|
30
30
|
* Group of related routes organized by entity/domain
|
|
31
31
|
*
|
|
32
|
-
* @version 0.0
|
|
32
|
+
* @version 0.1.0
|
|
33
33
|
* @since 0.0.1
|
|
34
34
|
* @author AMBROISE PARK Consulting
|
|
35
35
|
*/
|
|
@@ -68,7 +68,7 @@ export type NavigationRoute = CoreNavigationRoute;
|
|
|
68
68
|
* }
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
71
|
-
* @version 0.0
|
|
71
|
+
* @version 0.1.0
|
|
72
72
|
* @since 0.0.1
|
|
73
73
|
* @author AMBROISE PARK Consulting
|
|
74
74
|
*/
|
|
@@ -96,7 +96,7 @@ export declare function useRouteDiscovery(): RouteGroup[];
|
|
|
96
96
|
* }
|
|
97
97
|
* ```
|
|
98
98
|
*
|
|
99
|
-
* @version 0.0
|
|
99
|
+
* @version 0.1.0
|
|
100
100
|
* @since 0.0.1
|
|
101
101
|
* @author AMBROISE PARK Consulting
|
|
102
102
|
*/
|
|
@@ -124,7 +124,7 @@ export declare function useAccessibleRoutes(): RouteGroup[];
|
|
|
124
124
|
* }
|
|
125
125
|
* ```
|
|
126
126
|
*
|
|
127
|
-
* @version 0.0
|
|
127
|
+
* @version 0.1.0
|
|
128
128
|
* @since 0.0.1
|
|
129
129
|
* @author AMBROISE PARK Consulting
|
|
130
130
|
*/
|
|
@@ -145,7 +145,7 @@ export declare function useAccessibleNavigationRoutes(): NavigationRoute[];
|
|
|
145
145
|
* }
|
|
146
146
|
* ```
|
|
147
147
|
*
|
|
148
|
-
* @version 0.0
|
|
148
|
+
* @version 0.1.0
|
|
149
149
|
* @since 0.0.1
|
|
150
150
|
* @author AMBROISE PARK Consulting
|
|
151
151
|
*/
|
|
@@ -174,7 +174,7 @@ export declare function useAllRoutes(): RouteInfo[];
|
|
|
174
174
|
* }
|
|
175
175
|
* ```
|
|
176
176
|
*
|
|
177
|
-
* @version 0.0
|
|
177
|
+
* @version 0.1.0
|
|
178
178
|
* @since 0.0.1
|
|
179
179
|
* @author AMBROISE PARK Consulting
|
|
180
180
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* - Route grouping and organization
|
|
14
14
|
* - Performance optimization through store-level caching
|
|
15
15
|
*
|
|
16
|
-
* @version 0.0
|
|
16
|
+
* @version 0.1.0
|
|
17
17
|
* @since 0.0.1
|
|
18
18
|
* @author AMBROISE PARK Consulting
|
|
19
19
|
*
|
|
@@ -47,7 +47,7 @@ import { useAuthSafe } from '../utils/useAuthSafe';
|
|
|
47
47
|
* }
|
|
48
48
|
* ```
|
|
49
49
|
*
|
|
50
|
-
* @version 0.0
|
|
50
|
+
* @version 0.1.0
|
|
51
51
|
* @since 0.0.1
|
|
52
52
|
* @author AMBROISE PARK Consulting
|
|
53
53
|
*/
|
|
@@ -96,7 +96,7 @@ export function useRouteDiscovery() {
|
|
|
96
96
|
* }
|
|
97
97
|
* ```
|
|
98
98
|
*
|
|
99
|
-
* @version 0.0
|
|
99
|
+
* @version 0.1.0
|
|
100
100
|
* @since 0.0.1
|
|
101
101
|
* @author AMBROISE PARK Consulting
|
|
102
102
|
*/
|
|
@@ -145,7 +145,7 @@ export function useAccessibleRoutes() {
|
|
|
145
145
|
* }
|
|
146
146
|
* ```
|
|
147
147
|
*
|
|
148
|
-
* @version 0.0
|
|
148
|
+
* @version 0.1.0
|
|
149
149
|
* @since 0.0.1
|
|
150
150
|
* @author AMBROISE PARK Consulting
|
|
151
151
|
*/
|
|
@@ -180,7 +180,7 @@ export function useAccessibleNavigationRoutes() {
|
|
|
180
180
|
* }
|
|
181
181
|
* ```
|
|
182
182
|
*
|
|
183
|
-
* @version 0.0
|
|
183
|
+
* @version 0.1.0
|
|
184
184
|
* @since 0.0.1
|
|
185
185
|
* @author AMBROISE PARK Consulting
|
|
186
186
|
*/
|
|
@@ -214,7 +214,7 @@ export function useAllRoutes() {
|
|
|
214
214
|
* }
|
|
215
215
|
* ```
|
|
216
216
|
*
|
|
217
|
-
* @version 0.0
|
|
217
|
+
* @version 0.1.0
|
|
218
218
|
* @since 0.0.1
|
|
219
219
|
* @author AMBROISE PARK Consulting
|
|
220
220
|
*/
|
package/dist/styles/index.css
CHANGED
|
@@ -301,6 +301,11 @@
|
|
|
301
301
|
--content-width: var(
|
|
302
302
|
--max-content-width
|
|
303
303
|
); /* Default: use max (layout overrides) */
|
|
304
|
+
|
|
305
|
+
/* Named content width presets — SSOT for PageContainer variants + Section contentWidth */
|
|
306
|
+
--content-width-standard: min(87.5rem, 100%);
|
|
307
|
+
--content-width-docs: min(56.25rem, 100%);
|
|
308
|
+
--content-width-narrow: min(var(--narrow-content-max), 100%);
|
|
304
309
|
}
|
|
305
310
|
|
|
306
311
|
/* ===========================
|
|
@@ -2702,6 +2707,54 @@ em {
|
|
|
2702
2707
|
}
|
|
2703
2708
|
}
|
|
2704
2709
|
|
|
2710
|
+
/* packages/components/src/advanced/Carousel/Carousel.css */
|
|
2711
|
+
|
|
2712
|
+
/* Responsive slide width via CSS custom properties — same pattern as Grid */
|
|
2713
|
+
|
|
2714
|
+
.dndev-carousel-slide {
|
|
2715
|
+
flex-shrink: 0;
|
|
2716
|
+
box-sizing: border-box;
|
|
2717
|
+
width: calc(100% / var(--carousel-slides-mobile, 1));
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
/* Tablet: 768px+ */
|
|
2721
|
+
|
|
2722
|
+
@media (min-width: 768px) {
|
|
2723
|
+
.dndev-carousel-slide {
|
|
2724
|
+
width: calc(100% / var(--carousel-slides-tablet, 1));
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
/* Laptop: 1024px+ */
|
|
2729
|
+
|
|
2730
|
+
@media (min-width: 1024px) {
|
|
2731
|
+
.dndev-carousel-slide {
|
|
2732
|
+
width: calc(100% / var(--carousel-slides-laptop, 1));
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
/* Desktop: 1440px+ */
|
|
2737
|
+
|
|
2738
|
+
@media (min-width: 1440px) {
|
|
2739
|
+
.dndev-carousel-slide {
|
|
2740
|
+
width: calc(100% / var(--carousel-slides-desktop, 1));
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
/* Gap between slides — padding inside the slide box, translateX math untouched */
|
|
2745
|
+
|
|
2746
|
+
.dndev-carousel-slide[data-gap='tight'] {
|
|
2747
|
+
padding-inline-end: var(--gap-sm);
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
.dndev-carousel-slide[data-gap='medium'] {
|
|
2751
|
+
padding-inline-end: var(--gap-md);
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
.dndev-carousel-slide[data-gap='large'] {
|
|
2755
|
+
padding-inline-end: var(--gap-lg);
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2705
2758
|
/* packages/components/src/atomic/Blockquote/Blockquote.css */
|
|
2706
2759
|
|
|
2707
2760
|
/*
|
|
@@ -6150,6 +6203,163 @@ input[type='number'] {
|
|
|
6150
6203
|
min-width: 0;
|
|
6151
6204
|
}
|
|
6152
6205
|
|
|
6206
|
+
/* packages/components/src/atomic/Rating/Rating.css */
|
|
6207
|
+
|
|
6208
|
+
/**
|
|
6209
|
+
* Rating Component Styles
|
|
6210
|
+
* Star-based rating with filled, half, and empty states
|
|
6211
|
+
*/
|
|
6212
|
+
|
|
6213
|
+
.dndev-rating {
|
|
6214
|
+
display: inline-flex;
|
|
6215
|
+
align-items: center;
|
|
6216
|
+
gap: var(--gap-sm);
|
|
6217
|
+
-webkit-user-select: none;
|
|
6218
|
+
-moz-user-select: none;
|
|
6219
|
+
user-select: none;
|
|
6220
|
+
}
|
|
6221
|
+
|
|
6222
|
+
.dndev-rating[data-disabled] {
|
|
6223
|
+
opacity: var(--opacity-muted);
|
|
6224
|
+
pointer-events: none;
|
|
6225
|
+
}
|
|
6226
|
+
|
|
6227
|
+
.dndev-rating:not([data-readonly]):not([data-disabled]) {
|
|
6228
|
+
cursor: pointer;
|
|
6229
|
+
}
|
|
6230
|
+
|
|
6231
|
+
.dndev-rating:focus-visible {
|
|
6232
|
+
outline: 2px solid var(--ring);
|
|
6233
|
+
outline-offset: 2px;
|
|
6234
|
+
border-radius: 4px;
|
|
6235
|
+
}
|
|
6236
|
+
|
|
6237
|
+
/* Stars container */
|
|
6238
|
+
|
|
6239
|
+
.dndev-rating-stars {
|
|
6240
|
+
display: inline-flex;
|
|
6241
|
+
gap: 2px;
|
|
6242
|
+
}
|
|
6243
|
+
|
|
6244
|
+
/* Individual star button */
|
|
6245
|
+
|
|
6246
|
+
.dndev-rating-star {
|
|
6247
|
+
display: inline-flex;
|
|
6248
|
+
align-items: center;
|
|
6249
|
+
justify-content: center;
|
|
6250
|
+
padding: 0;
|
|
6251
|
+
border: none;
|
|
6252
|
+
background: transparent;
|
|
6253
|
+
cursor: inherit;
|
|
6254
|
+
color: var(--muted-foreground);
|
|
6255
|
+
transition:
|
|
6256
|
+
color var(--dur-fast) var(--ease-in-out),
|
|
6257
|
+
transform var(--dur-fast) var(--ease-in-out);
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
.dndev-rating-star:disabled {
|
|
6261
|
+
cursor: default;
|
|
6262
|
+
}
|
|
6263
|
+
|
|
6264
|
+
.dndev-rating-star svg {
|
|
6265
|
+
width: var(--icon-md);
|
|
6266
|
+
height: var(--icon-md);
|
|
6267
|
+
stroke-width: 1.5;
|
|
6268
|
+
}
|
|
6269
|
+
|
|
6270
|
+
/* Star states */
|
|
6271
|
+
|
|
6272
|
+
.dndev-rating-star[data-state='empty'] {
|
|
6273
|
+
color: var(--muted-foreground);
|
|
6274
|
+
}
|
|
6275
|
+
|
|
6276
|
+
.dndev-rating-star[data-state='filled'] {
|
|
6277
|
+
color: var(--warning);
|
|
6278
|
+
}
|
|
6279
|
+
|
|
6280
|
+
.dndev-rating-star[data-state='filled'] svg {
|
|
6281
|
+
fill: currentColor;
|
|
6282
|
+
}
|
|
6283
|
+
|
|
6284
|
+
/* Half-star rendering */
|
|
6285
|
+
|
|
6286
|
+
.dndev-rating-star-half {
|
|
6287
|
+
position: relative;
|
|
6288
|
+
display: inline-flex;
|
|
6289
|
+
}
|
|
6290
|
+
|
|
6291
|
+
.dndev-rating-star-back {
|
|
6292
|
+
color: var(--muted-foreground);
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
.dndev-rating-star-front {
|
|
6296
|
+
position: absolute;
|
|
6297
|
+
inset: 0;
|
|
6298
|
+
color: var(--warning);
|
|
6299
|
+
fill: currentColor;
|
|
6300
|
+
clip-path: inset(0 50% 0 0);
|
|
6301
|
+
}
|
|
6302
|
+
|
|
6303
|
+
/* RTL support */
|
|
6304
|
+
|
|
6305
|
+
:dir(rtl) .dndev-rating-star-front {
|
|
6306
|
+
clip-path: inset(0 0 0 50%);
|
|
6307
|
+
}
|
|
6308
|
+
|
|
6309
|
+
/* Interactive hover effects */
|
|
6310
|
+
|
|
6311
|
+
.dndev-rating:not([data-readonly]):not([data-disabled])
|
|
6312
|
+
.dndev-rating-star:hover {
|
|
6313
|
+
transform: scale(1.15);
|
|
6314
|
+
}
|
|
6315
|
+
|
|
6316
|
+
/* Variant colors - override warning default */
|
|
6317
|
+
|
|
6318
|
+
.dndev-rating[data-variant='primary'] .dndev-rating-star[data-state='filled'],
|
|
6319
|
+
.dndev-rating[data-variant='primary'] .dndev-rating-star-front {
|
|
6320
|
+
color: var(--primary);
|
|
6321
|
+
}
|
|
6322
|
+
|
|
6323
|
+
.dndev-rating[data-variant='secondary'] .dndev-rating-star[data-state='filled'],
|
|
6324
|
+
.dndev-rating[data-variant='secondary'] .dndev-rating-star-front {
|
|
6325
|
+
color: var(--secondary);
|
|
6326
|
+
}
|
|
6327
|
+
|
|
6328
|
+
.dndev-rating[data-variant='accent'] .dndev-rating-star[data-state='filled'],
|
|
6329
|
+
.dndev-rating[data-variant='accent'] .dndev-rating-star-front {
|
|
6330
|
+
color: var(--accent);
|
|
6331
|
+
}
|
|
6332
|
+
|
|
6333
|
+
.dndev-rating[data-variant='success'] .dndev-rating-star[data-state='filled'],
|
|
6334
|
+
.dndev-rating[data-variant='success'] .dndev-rating-star-front {
|
|
6335
|
+
color: var(--success);
|
|
6336
|
+
}
|
|
6337
|
+
|
|
6338
|
+
.dndev-rating[data-variant='warning'] .dndev-rating-star[data-state='filled'],
|
|
6339
|
+
.dndev-rating[data-variant='warning'] .dndev-rating-star-front {
|
|
6340
|
+
color: var(--warning);
|
|
6341
|
+
}
|
|
6342
|
+
|
|
6343
|
+
.dndev-rating[data-variant='destructive']
|
|
6344
|
+
.dndev-rating-star[data-state='filled'],
|
|
6345
|
+
.dndev-rating[data-variant='destructive'] .dndev-rating-star-front {
|
|
6346
|
+
color: var(--destructive);
|
|
6347
|
+
}
|
|
6348
|
+
|
|
6349
|
+
.dndev-rating[data-variant='muted'] .dndev-rating-star[data-state='filled'],
|
|
6350
|
+
.dndev-rating[data-variant='muted'] .dndev-rating-star-front {
|
|
6351
|
+
color: var(--muted-foreground);
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
/* Numeric value display */
|
|
6355
|
+
|
|
6356
|
+
.dndev-rating-value {
|
|
6357
|
+
font-size: var(--font-size-sm);
|
|
6358
|
+
font-weight: var(--font-weight-medium);
|
|
6359
|
+
color: var(--muted-foreground);
|
|
6360
|
+
min-width: 2ch;
|
|
6361
|
+
}
|
|
6362
|
+
|
|
6153
6363
|
/* packages/components/src/atomic/Select/Select.css */
|
|
6154
6364
|
|
|
6155
6365
|
.dndev-select-trigger {
|
|
@@ -6314,6 +6524,20 @@ input[type='number'] {
|
|
|
6314
6524
|
}
|
|
6315
6525
|
}
|
|
6316
6526
|
|
|
6527
|
+
/* Content width constraints — background stays full, only inner content narrows */
|
|
6528
|
+
|
|
6529
|
+
.dndev-section-content[data-content-width='standard'] {
|
|
6530
|
+
max-width: var(--content-width-standard);
|
|
6531
|
+
}
|
|
6532
|
+
|
|
6533
|
+
.dndev-section-content[data-content-width='docs'] {
|
|
6534
|
+
max-width: var(--content-width-docs);
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
.dndev-section-content[data-content-width='narrow'] {
|
|
6538
|
+
max-width: var(--content-width-narrow);
|
|
6539
|
+
}
|
|
6540
|
+
|
|
6317
6541
|
/* Propagate text-align to all section content via CSS inheritance */
|
|
6318
6542
|
|
|
6319
6543
|
.dndev-section-full-width[data-text-align='start'] > .dndev-section-content {
|
|
@@ -12337,25 +12561,22 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
12337
12561
|
/* Standard width - responsive */
|
|
12338
12562
|
|
|
12339
12563
|
.dndev-container[data-variant='standard'] {
|
|
12340
|
-
--max-content-width:
|
|
12564
|
+
--max-content-width: var(--content-width-standard);
|
|
12341
12565
|
max-width: var(--content-width);
|
|
12342
|
-
/* 1480px max, but never exceeds container width */
|
|
12343
12566
|
}
|
|
12344
12567
|
|
|
12345
12568
|
/* Docs width - responsive */
|
|
12346
12569
|
|
|
12347
12570
|
.dndev-container[data-variant='docs'] {
|
|
12348
|
-
--max-content-width:
|
|
12571
|
+
--max-content-width: var(--content-width-docs);
|
|
12349
12572
|
max-width: var(--content-width);
|
|
12350
|
-
/* 900px max, but never exceeds container width */
|
|
12351
12573
|
}
|
|
12352
12574
|
|
|
12353
12575
|
/* Narrow width - mobile-first single column (PWA, app-like on every device) */
|
|
12354
12576
|
|
|
12355
12577
|
.dndev-container[data-variant='narrow'] {
|
|
12356
|
-
--max-content-width:
|
|
12578
|
+
--max-content-width: var(--content-width-narrow);
|
|
12357
12579
|
max-width: var(--content-width);
|
|
12358
|
-
/* 600px max, but never exceeds container width */
|
|
12359
12580
|
}
|
|
12360
12581
|
|
|
12361
12582
|
/* Fixed frame - fills parent exactly, prevents parent scroll */
|
package/dist/styles/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @fileoverview UI Styles Barrel Exports
|
|
3
3
|
* @description Barrel exports for UI style constants. Provides centralized access to layout constants and style-related utilities.
|
|
4
4
|
*
|
|
5
|
-
* @version 0.0
|
|
5
|
+
* @version 0.1.0
|
|
6
6
|
* @since 0.0.1
|
|
7
7
|
* @author AMBROISE PARK Consulting
|
|
8
8
|
*/
|
package/dist/styles/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @fileoverview UI Styles Barrel Exports
|
|
4
4
|
* @description Barrel exports for UI style constants. Provides centralized access to layout constants and style-related utilities.
|
|
5
5
|
*
|
|
6
|
-
* @version 0.0
|
|
6
|
+
* @version 0.1.0
|
|
7
7
|
* @since 0.0.1
|
|
8
8
|
* @author AMBROISE PARK Consulting
|
|
9
9
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* Class names are organizational only. CSS targets by element+role for semantic scoping.
|
|
13
13
|
*
|
|
14
|
-
* @version 0.0
|
|
14
|
+
* @version 0.1.0
|
|
15
15
|
* @since 0.0.1
|
|
16
16
|
* @author AMBROISE PARK Consulting
|
|
17
17
|
*/
|
|
@@ -38,7 +38,7 @@ export declare const layoutClasses: {
|
|
|
38
38
|
* - Direct use in consumer apps
|
|
39
39
|
* - IDE autocomplete
|
|
40
40
|
*
|
|
41
|
-
* @version 0.0
|
|
41
|
+
* @version 0.1.0
|
|
42
42
|
* @since 0.0.1
|
|
43
43
|
* @author AMBROISE PARK Consulting
|
|
44
44
|
*/
|
|
@@ -54,7 +54,7 @@ export declare const layoutUtilities: {
|
|
|
54
54
|
* Combined export of all layout classes and utilities
|
|
55
55
|
* For consumer apps
|
|
56
56
|
*
|
|
57
|
-
* @version 0.0
|
|
57
|
+
* @version 0.1.0
|
|
58
58
|
* @since 0.0.1
|
|
59
59
|
* @author AMBROISE PARK Consulting
|
|
60
60
|
*/
|
|
@@ -81,7 +81,7 @@ export declare const allLayoutClasses: {
|
|
|
81
81
|
/**
|
|
82
82
|
* Layout CSS custom property names for programmatic access
|
|
83
83
|
*
|
|
84
|
-
* @version 0.0
|
|
84
|
+
* @version 0.1.0
|
|
85
85
|
* @since 0.0.1
|
|
86
86
|
* @author AMBROISE PARK Consulting
|
|
87
87
|
*/
|
|
@@ -110,7 +110,7 @@ export declare const layoutVariables: {
|
|
|
110
110
|
* CSS variable exports
|
|
111
111
|
* Exports CSS variable names for use in TypeScript
|
|
112
112
|
*
|
|
113
|
-
* @version 0.0
|
|
113
|
+
* @version 0.1.0
|
|
114
114
|
* @since 0.0.1
|
|
115
115
|
* @author AMBROISE PARK Consulting
|
|
116
116
|
*/
|
|
@@ -134,7 +134,7 @@ export declare const cssVariables: {
|
|
|
134
134
|
/**
|
|
135
135
|
* CSS variable type
|
|
136
136
|
*
|
|
137
|
-
* @version 0.0
|
|
137
|
+
* @version 0.1.0
|
|
138
138
|
* @since 0.0.1
|
|
139
139
|
* @author AMBROISE PARK Consulting
|
|
140
140
|
*/
|