@donotdev/ui 0.1.0 → 0.1.42
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 +21 -242
- package/README.md +1 -19
- package/assets/apple-touch-icon.png +0 -0
- package/assets/favicon.ico +0 -0
- package/assets/fonts/Inter-latin-ext.woff2 +0 -0
- package/assets/fonts/Inter-latin.woff2 +0 -0
- package/assets/fonts/PlayfairDisplay-latin-ext.woff2 +0 -0
- package/assets/fonts/PlayfairDisplay-latin.woff2 +0 -0
- package/assets/fonts/Roboto-400-cyrillic-ext.woff2 +0 -0
- package/assets/fonts/Roboto-400-cyrillic.woff2 +0 -0
- package/assets/fonts/Roboto-400-greek-ext.woff2 +0 -0
- package/assets/fonts/Roboto-400-greek.woff2 +0 -0
- package/assets/fonts/Roboto-400-latin-ext.woff2 +0 -0
- package/assets/fonts/Roboto-400-latin.woff2 +0 -0
- package/assets/fonts/Roboto-400-vietnamese.woff2 +0 -0
- package/assets/fonts/Roboto-700-cyrillic-ext.woff2 +0 -0
- package/assets/fonts/Roboto-700-cyrillic.woff2 +0 -0
- package/assets/fonts/Roboto-700-greek-ext.woff2 +0 -0
- package/assets/fonts/Roboto-700-greek.woff2 +0 -0
- package/assets/fonts/Roboto-700-latin-ext.woff2 +0 -0
- package/assets/fonts/Roboto-700-latin.woff2 +0 -0
- package/assets/fonts/Roboto-700-vietnamese.woff2 +0 -0
- package/assets/icon-192x192.png +0 -0
- package/assets/icon-512x512.png +0 -0
- package/assets/logo.png +0 -0
- package/assets/logo.svg +1 -1
- package/assets/manifest.json +0 -0
- package/dist/CookieConsent-5NH5DNTP.js +1 -0
- package/dist/{GoToDialog-CR4VOVXT.js → GoToDialog-CICRYHHG.js} +1 -1
- package/dist/chunk-MIPTBUWY.js +1 -0
- package/dist/components/auth/AuthHeader.d.ts +6 -1
- package/dist/components/auth/AuthHeader.d.ts.map +1 -1
- package/dist/components/auth/AuthHeader.js +4 -4
- package/dist/components/common/FeatureCard.d.ts +11 -6
- package/dist/components/common/FeatureCard.d.ts.map +1 -1
- package/dist/components/common/FeatureCard.js +43 -32
- package/dist/components/common/FeatureDisabled.d.ts +1 -0
- package/dist/components/common/FeatureDisabled.d.ts.map +1 -1
- package/dist/components/common/TechBento.d.ts +1 -0
- package/dist/components/common/TechBento.d.ts.map +1 -1
- package/dist/components/common/icon.d.ts +1 -0
- package/dist/components/common/icon.d.ts.map +1 -1
- package/dist/components/cookie-consent/CookieConsent.d.ts +4 -3
- package/dist/components/cookie-consent/CookieConsent.d.ts.map +1 -1
- package/dist/components/cookie-consent/CookieConsent.js +36 -35
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -1
- package/dist/components/layout/PageConfig.d.ts +25 -0
- package/dist/components/layout/PageConfig.d.ts.map +1 -0
- package/dist/components/layout/PageConfig.js +47 -0
- package/dist/components/layout/components/Breadcrumbs.d.ts +2 -0
- package/dist/components/layout/components/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts +1 -0
- package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts.map +1 -1
- package/dist/components/layout/components/header/AppBranding.d.ts +1 -0
- package/dist/components/layout/components/header/AppBranding.d.ts.map +1 -1
- package/dist/components/layout/components/header/AppIcon.d.ts +1 -0
- package/dist/components/layout/components/header/AppIcon.d.ts.map +1 -1
- package/dist/components/layout/components/header/AppTitle.d.ts +1 -0
- package/dist/components/layout/components/header/AppTitle.d.ts.map +1 -1
- package/dist/components/layout/components/header/CacheSettings.d.ts.map +1 -1
- package/dist/components/layout/components/header/CacheSettings.js +6 -2
- package/dist/components/layout/components/header/GameTitle.d.ts +1 -0
- package/dist/components/layout/components/header/GameTitle.d.ts.map +1 -1
- package/dist/components/layout/components/header/HeaderMenu.d.ts +1 -0
- package/dist/components/layout/components/header/HeaderMenu.d.ts.map +1 -1
- package/dist/components/layout/components/header/HeaderNavigation.d.ts +1 -0
- package/dist/components/layout/components/header/HeaderNavigation.d.ts.map +1 -1
- package/dist/components/layout/components/header/SettingsMenu.d.ts +1 -0
- package/dist/components/layout/components/header/SettingsMenu.d.ts.map +1 -1
- package/dist/components/layout/index.d.ts +1 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/index.js +1 -0
- package/dist/crud/components/EntityCardList.d.ts +1 -1
- package/dist/crud/components/EntityCardList.d.ts.map +1 -1
- package/dist/crud/components/EntityCardList.js +47 -23
- package/dist/crud/components/EntityDisplayRenderer.d.ts +1 -1
- package/dist/crud/components/EntityDisplayRenderer.d.ts.map +1 -1
- package/dist/crud/components/EntityDisplayRenderer.js +14 -13
- package/dist/crud/components/EntityFormRenderer.d.ts +6 -1
- package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -1
- package/dist/crud/components/EntityFormRenderer.js +46 -38
- package/dist/crud/components/EntityList.d.ts +1 -1
- package/dist/crud/components/EntityList.d.ts.map +1 -1
- package/dist/crud/components/EntityList.js +80 -80
- package/dist/crud/components/EntityRecommendations.d.ts +1 -1
- package/dist/crud/components/EntityRecommendations.d.ts.map +1 -1
- package/dist/crud/components/EntityRecommendations.js +4 -4
- package/dist/crud/components/EntityWorkflow.d.ts.map +1 -1
- package/dist/crud/components/EntityWorkflow.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/dndev-next.css +831 -171
- package/dist/dndev.css +1000 -185
- package/dist/files/inter-cyrillic-300-normal.woff +0 -0
- package/dist/files/inter-cyrillic-300-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-400-normal.woff +0 -0
- package/dist/files/inter-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-600-normal.woff +0 -0
- package/dist/files/inter-cyrillic-600-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-700-normal.woff +0 -0
- package/dist/files/inter-cyrillic-700-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-300-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-400-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-600-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-700-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/files/inter-greek-300-normal.woff +0 -0
- package/dist/files/inter-greek-300-normal.woff2 +0 -0
- package/dist/files/inter-greek-400-normal.woff +0 -0
- package/dist/files/inter-greek-400-normal.woff2 +0 -0
- package/dist/files/inter-greek-600-normal.woff +0 -0
- package/dist/files/inter-greek-600-normal.woff2 +0 -0
- package/dist/files/inter-greek-700-normal.woff +0 -0
- package/dist/files/inter-greek-700-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-300-normal.woff +0 -0
- package/dist/files/inter-greek-ext-300-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-400-normal.woff +0 -0
- package/dist/files/inter-greek-ext-400-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-600-normal.woff +0 -0
- package/dist/files/inter-greek-ext-600-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-700-normal.woff +0 -0
- package/dist/files/inter-greek-ext-700-normal.woff2 +0 -0
- package/dist/files/inter-latin-300-normal.woff +0 -0
- package/dist/files/inter-latin-300-normal.woff2 +0 -0
- package/dist/files/inter-latin-400-normal.woff +0 -0
- package/dist/files/inter-latin-400-normal.woff2 +0 -0
- package/dist/files/inter-latin-600-normal.woff +0 -0
- package/dist/files/inter-latin-600-normal.woff2 +0 -0
- package/dist/files/inter-latin-700-normal.woff +0 -0
- package/dist/files/inter-latin-700-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-300-normal.woff +0 -0
- package/dist/files/inter-latin-ext-300-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-400-normal.woff +0 -0
- package/dist/files/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-600-normal.woff +0 -0
- package/dist/files/inter-latin-ext-600-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-700-normal.woff +0 -0
- package/dist/files/inter-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-300-normal.woff +0 -0
- package/dist/files/inter-vietnamese-300-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-400-normal.woff +0 -0
- package/dist/files/inter-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-600-normal.woff +0 -0
- package/dist/files/inter-vietnamese-600-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-700-normal.woff +0 -0
- package/dist/files/inter-vietnamese-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-400-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-500-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-600-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-700-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-400-normal.woff +0 -0
- package/dist/files/playfair-display-latin-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-500-normal.woff +0 -0
- package/dist/files/playfair-display-latin-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-600-normal.woff +0 -0
- package/dist/files/playfair-display-latin-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-700-normal.woff +0 -0
- package/dist/files/playfair-display-latin-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-400-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-500-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-600-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-700-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-400-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-500-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-600-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-700-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-700-normal.woff2 +0 -0
- package/dist/files/press-start-2p-cyrillic-400-normal.woff +0 -0
- package/dist/files/press-start-2p-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff +0 -0
- package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-greek-400-normal.woff +0 -0
- package/dist/files/press-start-2p-greek-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-latin-400-normal.woff +0 -0
- package/dist/files/press-start-2p-latin-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-latin-ext-400-normal.woff +0 -0
- package/dist/files/press-start-2p-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-greek-400-normal.woff +0 -0
- package/dist/files/roboto-greek-400-normal.woff2 +0 -0
- package/dist/files/roboto-greek-700-normal.woff +0 -0
- package/dist/files/roboto-greek-700-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-latin-400-normal.woff +0 -0
- package/dist/files/roboto-latin-400-normal.woff2 +0 -0
- package/dist/files/roboto-latin-700-normal.woff +0 -0
- package/dist/files/roboto-latin-700-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-math-400-normal.woff +0 -0
- package/dist/files/roboto-math-400-normal.woff2 +0 -0
- package/dist/files/roboto-math-700-normal.woff +0 -0
- package/dist/files/roboto-math-700-normal.woff2 +0 -0
- package/dist/files/roboto-symbols-400-normal.woff +0 -0
- package/dist/files/roboto-symbols-400-normal.woff2 +0 -0
- package/dist/files/roboto-symbols-700-normal.woff +0 -0
- package/dist/files/roboto-symbols-700-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-300-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-300-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-400-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-400-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-500-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-500-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-600-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-600-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-700-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-700-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-300-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-300-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-400-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-500-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-500-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-600-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-600-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-700-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-300-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-300-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-400-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-500-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-500-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-600-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-600-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-700-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-700-normal.woff2 +0 -0
- package/dist/index.js +4 -4
- package/dist/internal/common/ErrorFallback.js +1 -1
- package/dist/internal/devtools/DebugTools.js +1 -1
- package/dist/internal/devtools/components/DesignTab.d.ts.map +1 -1
- package/dist/internal/devtools/components/DesignTab.js +6 -2
- package/dist/internal/devtools/utils/envVarDiscovery.d.ts.map +1 -1
- package/dist/internal/devtools/utils/envVarDiscovery.js +4 -5
- package/dist/internal/devtools/utils/virtualModuleInspector.d.ts.map +1 -1
- package/dist/internal/devtools/utils/virtualModuleInspector.js +13 -0
- package/dist/internal/initializers/BaseStoresInitializer.d.ts +3 -1
- package/dist/internal/initializers/BaseStoresInitializer.d.ts.map +1 -1
- package/dist/internal/initializers/BaseStoresInitializer.js +17 -4
- package/dist/internal/initializers/NextJsStoresInitializer.d.ts +1 -1
- package/dist/internal/initializers/NextJsStoresInitializer.d.ts.map +1 -1
- package/dist/internal/initializers/NextJsStoresInitializer.js +2 -13
- package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
- package/dist/internal/layout/DnDevLayout.js +65 -23
- package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/AutoMetaTags.js +57 -29
- package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts +2 -0
- package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/NextJsAutoMetaTags.js +45 -15
- package/dist/internal/layout/components/PWAUpdateNotification.d.ts.map +1 -1
- package/dist/internal/layout/components/PWAUpdateNotification.js +15 -2
- package/dist/internal/layout/config/presets/moolti.d.ts.map +1 -1
- package/dist/internal/layout/config/presets/moolti.js +11 -13
- package/dist/internal/layout/zones/DnDevFooter.d.ts +3 -1
- package/dist/internal/layout/zones/DnDevFooter.d.ts.map +1 -1
- package/dist/internal/layout/zones/DnDevFooter.js +5 -1
- package/dist/internal/layout/zones/DnDevHeader.d.ts +3 -1
- package/dist/internal/layout/zones/DnDevHeader.d.ts.map +1 -1
- package/dist/internal/layout/zones/DnDevHeader.js +7 -2
- package/dist/internal/layout/zones/DnDevSidebar.d.ts +3 -1
- package/dist/internal/layout/zones/DnDevSidebar.d.ts.map +1 -1
- package/dist/internal/layout/zones/DnDevSidebar.js +9 -3
- package/dist/providers/NextJsAppProviders.d.ts.map +1 -1
- package/dist/providers/NextJsAppProviders.js +14 -8
- package/dist/routing/AuthGuard.d.ts +7 -22
- package/dist/routing/AuthGuard.d.ts.map +1 -1
- package/dist/routing/AuthGuard.js +19 -64
- package/dist/routing/AuthReturnTo.d.ts +13 -0
- package/dist/routing/AuthReturnTo.d.ts.map +1 -0
- package/dist/routing/AuthReturnTo.js +61 -0
- package/dist/routing/DnDevNavigationMenu.d.ts +1 -0
- package/dist/routing/DnDevNavigationMenu.d.ts.map +1 -1
- package/dist/routing/GoTo.d.ts +1 -0
- package/dist/routing/GoTo.d.ts.map +1 -1
- package/dist/routing/GoToInput.d.ts.map +1 -1
- package/dist/routing/GoToInput.js +5 -5
- package/dist/routing/Link.d.ts.map +1 -1
- package/dist/routing/Link.js +14 -0
- package/dist/routing/hooks/hooks.next.js +1 -1
- package/dist/routing/hooks/hooks.vite.js +1 -1
- package/dist/routing/hooks/useNavigate.next.d.ts +4 -0
- package/dist/routing/hooks/useNavigate.next.d.ts.map +1 -1
- package/dist/routing/hooks/useNavigate.next.js +10 -7
- package/dist/routing/hooks/useNavigate.vite.d.ts +4 -0
- package/dist/routing/hooks/useNavigate.vite.d.ts.map +1 -1
- package/dist/routing/hooks/useNavigate.vite.js +16 -13
- package/dist/routing/hooks/useRedirectGuard.next.d.ts +2 -0
- package/dist/routing/hooks/useRedirectGuard.next.d.ts.map +1 -1
- package/dist/routing/hooks/useRedirectGuard.next.js +15 -27
- package/dist/routing/hooks/useRedirectGuard.vite.d.ts +2 -0
- package/dist/routing/hooks/useRedirectGuard.vite.d.ts.map +1 -1
- package/dist/routing/hooks/useRedirectGuard.vite.js +15 -27
- package/dist/routing/index.d.ts +1 -0
- package/dist/routing/index.d.ts.map +1 -1
- package/dist/routing/index.js +1 -0
- package/dist/routing/useGoTo.d.ts.map +1 -1
- package/dist/routing/useGoTo.js +12 -17
- package/dist/styles/index.css +1000 -185
- package/dist/symbol-index.json +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/sanitizeSvg.d.ts +4 -0
- package/dist/utils/sanitizeSvg.d.ts.map +1 -1
- package/dist/utils/sanitizeSvg.js +4 -0
- package/dist/utils/useAISafe.d.ts +28 -0
- package/dist/utils/useAISafe.d.ts.map +1 -0
- package/dist/utils/useAISafe.js +53 -0
- package/dist/utils/useAuthSafe.d.ts +39 -0
- package/dist/utils/useAuthSafe.d.ts.map +1 -1
- package/dist/utils/useAuthSafe.js +5 -0
- package/dist/utils/useAuthVisibility.d.ts +1 -0
- package/dist/utils/useAuthVisibility.d.ts.map +1 -1
- package/dist/utils/useBillingVisibility.d.ts +1 -0
- package/dist/utils/useBillingVisibility.d.ts.map +1 -1
- package/dist/utils/useSeo.d.ts +121 -0
- package/dist/utils/useSeo.d.ts.map +1 -0
- package/dist/utils/useSeo.js +116 -0
- package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
- package/dist/vite-routing/AppRoutes.js +20 -5
- package/dist/vite-routing/RootLayout.d.ts.map +1 -1
- package/dist/vite-routing/RootLayout.js +6 -7
- package/guidelines/COMPONENTS.md +136 -0
- package/guidelines/GOTCHAS.md +66 -0
- package/guidelines/LAYOUTS.md +310 -0
- package/guidelines/PAGES.md +205 -0
- package/guidelines/ROUTING.md +499 -0
- package/guidelines/SEO.md +275 -0
- package/package.json +17 -12
- package/dist/CookieConsent-UVTR7CWW.js +0 -1
- package/dist/chunk-XHGRMKOY.js +0 -1
- package/dist/components/license/LicenseWatermark.d.ts +0 -25
- package/dist/components/license/LicenseWatermark.d.ts.map +0 -1
- package/dist/components/license/LicenseWatermark.js +0 -109
- package/dist/components/license/watermarkData.d.ts +0 -7
- package/dist/components/license/watermarkData.d.ts.map +0 -1
- package/dist/components/license/watermarkData.js +0 -18
package/dist/dndev-next.css
CHANGED
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
Standard touch-friendly sizing for all interactive components
|
|
26
26
|
=========================== */
|
|
27
27
|
--touch-target: 48px;
|
|
28
|
-
--icon-
|
|
28
|
+
--icon-sm: 16px; /* Nested icon size (inside inputs, action buttons, badges) */
|
|
29
|
+
--icon-md: 24px; /* Standard standalone icon size */
|
|
29
30
|
--icon-touch: 32px; /* Large icon size (reserved) */
|
|
30
31
|
|
|
31
32
|
/* ===========================
|
|
@@ -130,6 +131,13 @@
|
|
|
130
131
|
--popover: var(--card);
|
|
131
132
|
--popover-foreground: var(--card-foreground);
|
|
132
133
|
|
|
134
|
+
/*
|
|
135
|
+
* Interactive surface — background for inputs (.dndev-input) and outline
|
|
136
|
+
* buttons (.dndev-interactive[data-variant='outline']). Parallel to --card
|
|
137
|
+
* for containers. Defaults to transparent so apps opt in via themes.css.
|
|
138
|
+
*/
|
|
139
|
+
--interactive: transparent;
|
|
140
|
+
|
|
133
141
|
/*
|
|
134
142
|
* Root card snapshot — computed once on :root from --card/--card-foreground,
|
|
135
143
|
* then inherited unchanged. Variant blocks (e.g. primary) override --card but
|
|
@@ -178,6 +186,7 @@
|
|
|
178
186
|
--font-size-xs: 0.75rem; /* 12px - captions, shortcuts, meta */
|
|
179
187
|
--font-size-sm: 0.875rem; /* 14px - small text, captions */
|
|
180
188
|
--font-size-base: 1rem; /* 16px - body text, DEFAULT */
|
|
189
|
+
--font-size-input: 16px; /* Form field text - hardcoded for iOS zoom + density-proof */
|
|
181
190
|
--font-size-lg: 1.25rem; /* 20px - base × 1.25¹ - emphasized text */
|
|
182
191
|
--font-size-xl: 1.563rem; /* 25px - base × 1.25² - headings */
|
|
183
192
|
--font-size-2xl: 1.953rem; /* 31px - base × 1.25³ - large headings */
|
|
@@ -271,6 +280,15 @@
|
|
|
271
280
|
--will-change-transform: transform;
|
|
272
281
|
--will-change-none: auto;
|
|
273
282
|
|
|
283
|
+
/* ===========================
|
|
284
|
+
INTERACTION EFFECTS
|
|
285
|
+
Micro-interactions for buttons and interactive elements.
|
|
286
|
+
Set to 0/1 to disable individual effects.
|
|
287
|
+
=========================== */
|
|
288
|
+
--hover-lift: 0; /* translateY on hover (0 = disabled) */
|
|
289
|
+
--click-scale: 0.97; /* scale on click (1 = disabled) */
|
|
290
|
+
--ripple-opacity: 0.2; /* ripple effect opacity (0 = disabled) */
|
|
291
|
+
|
|
274
292
|
/* ===========================
|
|
275
293
|
OPACITY SYSTEM
|
|
276
294
|
Standard scale: 0, 0.3, 0.6, 0.9, 1
|
|
@@ -539,6 +557,7 @@ body {
|
|
|
539
557
|
/* Set core body defaults — font-family here so theme tokens on :root cascade cleanly */
|
|
540
558
|
body {
|
|
541
559
|
font-family: var(--font-family, var(--font-sans));
|
|
560
|
+
min-height: 100vh;
|
|
542
561
|
min-height: 100dvh;
|
|
543
562
|
line-height: var(--line-height);
|
|
544
563
|
text-rendering: optimizeSpeed;
|
|
@@ -701,13 +720,13 @@ em {
|
|
|
701
720
|
width: 100%;
|
|
702
721
|
border-radius: var(--radius-interactive);
|
|
703
722
|
border: var(--border-hairline) solid var(--line-2);
|
|
704
|
-
background-color: transparent;
|
|
723
|
+
background-color: var(--interactive, transparent);
|
|
705
724
|
color: var(--foreground);
|
|
706
725
|
padding-inline-start: var(--gap-md);
|
|
707
726
|
padding-inline-end: var(--gap-md);
|
|
708
727
|
padding-top: var(--gap-sm);
|
|
709
728
|
padding-bottom: var(--gap-sm);
|
|
710
|
-
font-size:
|
|
729
|
+
font-size: var(--font-size-input);
|
|
711
730
|
box-shadow: var(--shadow-sm);
|
|
712
731
|
transition: all var(--dur-normal) var(--ease-in-out);
|
|
713
732
|
/* Touch target for mobile */
|
|
@@ -725,9 +744,11 @@ em {
|
|
|
725
744
|
}
|
|
726
745
|
.dndev-input::-moz-placeholder {
|
|
727
746
|
color: var(--placeholder);
|
|
747
|
+
font-size: var(--font-size-input);
|
|
728
748
|
}
|
|
729
749
|
.dndev-input::placeholder {
|
|
730
750
|
color: var(--placeholder);
|
|
751
|
+
font-size: var(--font-size-input);
|
|
731
752
|
}
|
|
732
753
|
.dndev-input:hover {
|
|
733
754
|
border-color: var(--ring);
|
|
@@ -770,6 +791,48 @@ em {
|
|
|
770
791
|
[data-placeholder] {
|
|
771
792
|
color: var(--placeholder);
|
|
772
793
|
}
|
|
794
|
+
/* ===========================
|
|
795
|
+
INLINE ACTION BUTTONS
|
|
796
|
+
=========================== */
|
|
797
|
+
/** Shared pattern for inline clear/action buttons inside input-like components.
|
|
798
|
+
* Used by: Combobox trailing buttons, RangeInput clear, DateFilter clear. */
|
|
799
|
+
.dndev-inline-action-btn {
|
|
800
|
+
all: unset;
|
|
801
|
+
display: flex;
|
|
802
|
+
align-items: center;
|
|
803
|
+
justify-content: center;
|
|
804
|
+
width: var(--touch-target);
|
|
805
|
+
height: 100%;
|
|
806
|
+
cursor: pointer;
|
|
807
|
+
color: var(--muted-foreground);
|
|
808
|
+
opacity: var(--opacity-muted, 0.5);
|
|
809
|
+
transition:
|
|
810
|
+
color var(--dur-fast) var(--ease-in-out),
|
|
811
|
+
opacity var(--dur-fast) var(--ease-in-out);
|
|
812
|
+
}
|
|
813
|
+
.dndev-inline-action-btn:hover:not(:disabled) {
|
|
814
|
+
opacity: 1;
|
|
815
|
+
color: var(--foreground);
|
|
816
|
+
}
|
|
817
|
+
.dndev-inline-action-btn:focus-visible {
|
|
818
|
+
opacity: 1;
|
|
819
|
+
color: var(--foreground);
|
|
820
|
+
outline: none;
|
|
821
|
+
box-shadow:
|
|
822
|
+
0 0 0 2px var(--ring),
|
|
823
|
+
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
824
|
+
}
|
|
825
|
+
.dndev-inline-action-btn:active:not(:disabled) {
|
|
826
|
+
opacity: 0.8;
|
|
827
|
+
}
|
|
828
|
+
.dndev-inline-action-btn:disabled {
|
|
829
|
+
cursor: not-allowed;
|
|
830
|
+
opacity: calc(var(--opacity-muted, 0.5) * 0.5);
|
|
831
|
+
}
|
|
832
|
+
.dndev-inline-action-btn svg {
|
|
833
|
+
width: var(--icon-sm);
|
|
834
|
+
height: var(--icon-sm);
|
|
835
|
+
}
|
|
773
836
|
/* Control base class - checkbox, radio, switch, slider */
|
|
774
837
|
.dndev-control {
|
|
775
838
|
flex-shrink: 0;
|
|
@@ -1225,6 +1288,8 @@ em {
|
|
|
1225
1288
|
* Context-aware: Buttons automatically adapt to parent surface variant
|
|
1226
1289
|
*/
|
|
1227
1290
|
.dndev-interactive {
|
|
1291
|
+
position: relative;
|
|
1292
|
+
overflow: hidden;
|
|
1228
1293
|
display: flex;
|
|
1229
1294
|
align-items: center;
|
|
1230
1295
|
justify-content: center;
|
|
@@ -1235,7 +1300,11 @@ em {
|
|
|
1235
1300
|
font-size: var(--font-size-base);
|
|
1236
1301
|
font-weight: var(--font-weight-medium);
|
|
1237
1302
|
text-transform: var(--text-transform-button, none);
|
|
1238
|
-
transition:
|
|
1303
|
+
transition:
|
|
1304
|
+
background var(--dur-fast) var(--ease-in-out),
|
|
1305
|
+
color var(--dur-fast) var(--ease-in-out),
|
|
1306
|
+
box-shadow var(--dur-fast) var(--ease-in-out),
|
|
1307
|
+
border-color var(--dur-fast) var(--ease-in-out);
|
|
1239
1308
|
cursor: pointer;
|
|
1240
1309
|
border: var(--border-hairline) solid transparent;
|
|
1241
1310
|
/* Base - filled primary (industry standard) */
|
|
@@ -1248,7 +1317,7 @@ em {
|
|
|
1248
1317
|
background: color-mix(in oklab, var(--primary) 85%, var(--foreground));
|
|
1249
1318
|
}
|
|
1250
1319
|
.dndev-interactive:active:not(:disabled) {
|
|
1251
|
-
|
|
1320
|
+
transform: scale(var(--click-scale));
|
|
1252
1321
|
}
|
|
1253
1322
|
.dndev-interactive:focus-visible {
|
|
1254
1323
|
outline: none;
|
|
@@ -1258,6 +1327,14 @@ em {
|
|
|
1258
1327
|
pointer-events: none;
|
|
1259
1328
|
opacity: var(--opacity-muted);
|
|
1260
1329
|
}
|
|
1330
|
+
/* Ripple effect element (injected by JS) */
|
|
1331
|
+
.dndev-interactive .dndev-ripple {
|
|
1332
|
+
position: absolute;
|
|
1333
|
+
border-radius: 50%;
|
|
1334
|
+
background: currentColor;
|
|
1335
|
+
pointer-events: none;
|
|
1336
|
+
animation: dndev-ripple var(--dur-slow) var(--ease-in-out) forwards;
|
|
1337
|
+
}
|
|
1261
1338
|
.dndev-interactive[data-display='compact'] {
|
|
1262
1339
|
width: var(--touch-target);
|
|
1263
1340
|
height: var(--touch-target);
|
|
@@ -1307,14 +1384,26 @@ em {
|
|
|
1307
1384
|
background: color-mix(in oklab, var(--muted) 80%, var(--foreground) 20%);
|
|
1308
1385
|
}
|
|
1309
1386
|
/* ═══════════════════════════
|
|
1310
|
-
|
|
1387
|
+
TRANSPARENT VARIANTS
|
|
1311
1388
|
═══════════════════════════ */
|
|
1312
|
-
/*
|
|
1313
|
-
.dndev-interactive[data-variant='outline']
|
|
1389
|
+
/* Outline — themeable interactive surface (parallel to --card) */
|
|
1390
|
+
.dndev-interactive[data-variant='outline'] {
|
|
1391
|
+
background: var(--interactive, transparent);
|
|
1392
|
+
color: var(--foreground);
|
|
1393
|
+
}
|
|
1394
|
+
/* Ghost / nav / menu / command — transparent by design */
|
|
1395
|
+
.dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'] {
|
|
1314
1396
|
background: transparent;
|
|
1315
1397
|
color: var(--foreground);
|
|
1316
1398
|
}
|
|
1317
|
-
|
|
1399
|
+
/* Ghost — hover = font color only, no bg, no lift */
|
|
1400
|
+
.dndev-interactive[data-variant='ghost']:hover {
|
|
1401
|
+
background: transparent;
|
|
1402
|
+
color: var(--primary);
|
|
1403
|
+
transform: none;
|
|
1404
|
+
}
|
|
1405
|
+
/* Outline / menu / nav — hover = subtle tint + text color shift */
|
|
1406
|
+
:is(.dndev-interactive[data-variant='outline'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item']):hover {
|
|
1318
1407
|
background: rgb(from var(--primary) r g b / 0.1);
|
|
1319
1408
|
color: var(--primary);
|
|
1320
1409
|
}
|
|
@@ -1344,7 +1433,9 @@ em {
|
|
|
1344
1433
|
transition: color var(--dur-fast) ease-out;
|
|
1345
1434
|
}
|
|
1346
1435
|
.dndev-interactive[data-variant='link']:hover {
|
|
1436
|
+
background: transparent;
|
|
1347
1437
|
color: var(--primary);
|
|
1438
|
+
transform: none;
|
|
1348
1439
|
}
|
|
1349
1440
|
/* Context-aware: ONLY inside accent surfaces */
|
|
1350
1441
|
/* Default buttons flip colors */
|
|
@@ -1352,15 +1443,22 @@ em {
|
|
|
1352
1443
|
background: var(--surface-text);
|
|
1353
1444
|
color: var(--surface-bg);
|
|
1354
1445
|
}
|
|
1355
|
-
/* Outline
|
|
1356
|
-
[data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive)
|
|
1446
|
+
/* Outline adapts with tint */
|
|
1447
|
+
[data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
|
|
1357
1448
|
color: var(--surface-text);
|
|
1358
1449
|
}
|
|
1359
|
-
|
|
1450
|
+
[data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
|
|
1360
1451
|
background: rgb(from var(--surface-text) r g b / 0.1);
|
|
1361
1452
|
color: var(--surface-text);
|
|
1362
1453
|
}
|
|
1363
|
-
/*
|
|
1454
|
+
/* Ghost adapts — font color only */
|
|
1455
|
+
[data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
|
|
1456
|
+
color: var(--surface-text);
|
|
1457
|
+
}
|
|
1458
|
+
[data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
|
|
1459
|
+
color: var(--surface-text);
|
|
1460
|
+
}
|
|
1461
|
+
/* Unified menu/command/nav item base */
|
|
1364
1462
|
.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
|
|
1365
1463
|
min-height: auto;
|
|
1366
1464
|
padding-block: var(--gap-sm);
|
|
@@ -1503,7 +1601,7 @@ em {
|
|
|
1503
1601
|
/* CONTROL GROUP - Shared pattern for grouped controls (RadioGroup, Checkbox groups) */
|
|
1504
1602
|
.dndev-control-group {
|
|
1505
1603
|
display: grid;
|
|
1506
|
-
gap: var(--gap-
|
|
1604
|
+
gap: var(--gap-sm); /* 8px - tighter spacing for control groups */
|
|
1507
1605
|
|
|
1508
1606
|
/* Control + label pattern - used by RadioGroup, CheckboxFieldComponent, etc. */
|
|
1509
1607
|
}
|
|
@@ -1511,7 +1609,7 @@ em {
|
|
|
1511
1609
|
display: flex;
|
|
1512
1610
|
align-items: center;
|
|
1513
1611
|
gap: var(--gap-sm); /* 8px - spacing between control and label */
|
|
1514
|
-
font-size: var(--font-size-
|
|
1612
|
+
font-size: var(--font-size-input);
|
|
1515
1613
|
color: var(--foreground);
|
|
1516
1614
|
cursor: pointer;
|
|
1517
1615
|
transition: color var(--transition-fast);
|
|
@@ -2083,17 +2181,45 @@ em {
|
|
|
2083
2181
|
word-wrap: break-word;
|
|
2084
2182
|
}
|
|
2085
2183
|
/* packages/components/src/atomic/Alert/Alert.css */
|
|
2184
|
+
/**
|
|
2185
|
+
* Modern inline alert - subtle tint treatment.
|
|
2186
|
+
* Overrides .dndev-surface heaviness (shadow, gradient, asymmetric padding).
|
|
2187
|
+
* Pattern: GitHub Primer / Linear - tinted bg, semantic border, no elevation.
|
|
2188
|
+
*/
|
|
2086
2189
|
.dndev-surface[role='alert'] {
|
|
2087
|
-
|
|
2088
|
-
|
|
2190
|
+
/* Subtle tint: variant color at 8% over transparent */
|
|
2191
|
+
background: color-mix(in oklab, var(--card) 8%, transparent);
|
|
2192
|
+
/* Foreground: page default for readability on subtle bg */
|
|
2193
|
+
color: var(--foreground);
|
|
2194
|
+
/* Semantic border: variant color at 25% */
|
|
2195
|
+
border: var(--border-hairline) solid
|
|
2196
|
+
color-mix(in oklab, var(--card) 25%, transparent);
|
|
2197
|
+
/* No elevation on inline alerts */
|
|
2198
|
+
box-shadow: none;
|
|
2199
|
+
/* Tight symmetric padding */
|
|
2200
|
+
padding: var(--gap-sm) var(--gap-md);
|
|
2201
|
+
}
|
|
2202
|
+
/* Icon: variant-colored, optically aligned to first text line */
|
|
2203
|
+
.dndev-alert-icon {
|
|
2204
|
+
color: var(--card);
|
|
2205
|
+
width: 1rem;
|
|
2206
|
+
height: 1rem;
|
|
2207
|
+
flex-shrink: 0;
|
|
2208
|
+
margin-block-start: 0.125rem;
|
|
2089
2209
|
}
|
|
2210
|
+
/* Title: variant-colored, semibold, compact */
|
|
2090
2211
|
.dndev-alert-title {
|
|
2091
|
-
|
|
2092
|
-
|
|
2212
|
+
color: var(--card);
|
|
2213
|
+
font-weight: var(--font-weight-semibold);
|
|
2214
|
+
font-size: var(--font-size-sm);
|
|
2215
|
+
line-height: 1.25;
|
|
2093
2216
|
letter-spacing: -0.025em;
|
|
2094
2217
|
}
|
|
2218
|
+
/* Description: default foreground, slightly dimmed */
|
|
2095
2219
|
.dndev-alert-description {
|
|
2096
2220
|
font-size: var(--font-size-sm);
|
|
2221
|
+
line-height: 1.4;
|
|
2222
|
+
opacity: 0.85;
|
|
2097
2223
|
}
|
|
2098
2224
|
/* packages/components/src/atomic/Avatar/Avatar.css */
|
|
2099
2225
|
.dndev-avatar {
|
|
@@ -2784,6 +2910,216 @@ em {
|
|
|
2784
2910
|
.dndev-calendar-day-hidden {
|
|
2785
2911
|
visibility: hidden;
|
|
2786
2912
|
}
|
|
2913
|
+
/* packages/components/src/atomic/DatePicker/DatePicker.css */
|
|
2914
|
+
/**
|
|
2915
|
+
* DatePicker Component Styles
|
|
2916
|
+
* Segmented date input with calendar popover.
|
|
2917
|
+
* Mobile: falls back to native <input type="date"> via @media (pointer: coarse).
|
|
2918
|
+
*/
|
|
2919
|
+
/* ===========================
|
|
2920
|
+
ROOT CONTAINER
|
|
2921
|
+
=========================== */
|
|
2922
|
+
.dndev-datepicker {
|
|
2923
|
+
position: relative;
|
|
2924
|
+
display: inline-flex;
|
|
2925
|
+
align-items: center;
|
|
2926
|
+
width: 100%;
|
|
2927
|
+
}
|
|
2928
|
+
/* ===========================
|
|
2929
|
+
DESKTOP: SEGMENTED INPUT
|
|
2930
|
+
=========================== */
|
|
2931
|
+
.dndev-datepicker-custom {
|
|
2932
|
+
display: flex;
|
|
2933
|
+
align-items: center;
|
|
2934
|
+
width: 100%;
|
|
2935
|
+
}
|
|
2936
|
+
/* Input-like container (mirrors .dndev-input from patterns.css) */
|
|
2937
|
+
.dndev-datepicker-field {
|
|
2938
|
+
display: flex;
|
|
2939
|
+
align-items: center;
|
|
2940
|
+
width: 100%;
|
|
2941
|
+
min-height: var(--touch-target);
|
|
2942
|
+
border-radius: var(--radius-interactive);
|
|
2943
|
+
border: var(--border-hairline) solid var(--line-2);
|
|
2944
|
+
background-color: transparent;
|
|
2945
|
+
color: var(--foreground);
|
|
2946
|
+
padding-inline-start: var(--gap-md);
|
|
2947
|
+
padding-inline-end: 0;
|
|
2948
|
+
font-size: var(--font-size-input);
|
|
2949
|
+
box-shadow: var(--shadow-sm);
|
|
2950
|
+
transition: all var(--dur-normal) var(--ease-in-out);
|
|
2951
|
+
touch-action: manipulation;
|
|
2952
|
+
cursor: text;
|
|
2953
|
+
}
|
|
2954
|
+
/* Bare mode inside FloatingLabel (fieldset provides border) */
|
|
2955
|
+
.dndev-datepicker-field[data-bare] {
|
|
2956
|
+
border: none;
|
|
2957
|
+
box-shadow: none;
|
|
2958
|
+
background: transparent;
|
|
2959
|
+
}
|
|
2960
|
+
/* Hover */
|
|
2961
|
+
.dndev-datepicker-field:hover {
|
|
2962
|
+
border-color: var(--ring);
|
|
2963
|
+
}
|
|
2964
|
+
/* Focus-within */
|
|
2965
|
+
.dndev-datepicker-field:focus-within {
|
|
2966
|
+
border-color: var(--ring);
|
|
2967
|
+
outline: none;
|
|
2968
|
+
box-shadow: var(--shadow-focus);
|
|
2969
|
+
}
|
|
2970
|
+
/* Focus-within bare (FloatingLabel handles outer border) */
|
|
2971
|
+
.dndev-datepicker-field[data-bare]:focus-within {
|
|
2972
|
+
box-shadow: none;
|
|
2973
|
+
}
|
|
2974
|
+
/* Error state */
|
|
2975
|
+
.dndev-datepicker-field[aria-invalid='true'],
|
|
2976
|
+
.dndev-datepicker-field[data-variant='destructive'] {
|
|
2977
|
+
border-color: var(--destructive);
|
|
2978
|
+
}
|
|
2979
|
+
/* Disabled */
|
|
2980
|
+
.dndev-datepicker-field[data-disabled] {
|
|
2981
|
+
cursor: not-allowed;
|
|
2982
|
+
opacity: var(--opacity-muted);
|
|
2983
|
+
}
|
|
2984
|
+
/* ===========================
|
|
2985
|
+
SEGMENTS AREA
|
|
2986
|
+
=========================== */
|
|
2987
|
+
.dndev-datepicker-segments {
|
|
2988
|
+
display: flex;
|
|
2989
|
+
align-items: center;
|
|
2990
|
+
flex: 1;
|
|
2991
|
+
min-width: 0;
|
|
2992
|
+
}
|
|
2993
|
+
/* ===========================
|
|
2994
|
+
SEGMENTS
|
|
2995
|
+
=========================== */
|
|
2996
|
+
.dndev-datepicker-segment {
|
|
2997
|
+
display: inline-flex;
|
|
2998
|
+
align-items: center;
|
|
2999
|
+
justify-content: center;
|
|
3000
|
+
padding: var(--gap-tight) 1px;
|
|
3001
|
+
border-radius: 2px;
|
|
3002
|
+
font-variant-numeric: tabular-nums;
|
|
3003
|
+
caret-color: transparent;
|
|
3004
|
+
outline: none;
|
|
3005
|
+
min-width: 2ch;
|
|
3006
|
+
text-align: center;
|
|
3007
|
+
-webkit-user-select: none;
|
|
3008
|
+
-moz-user-select: none;
|
|
3009
|
+
user-select: none;
|
|
3010
|
+
}
|
|
3011
|
+
/* Year segment needs more room */
|
|
3012
|
+
.dndev-datepicker-segment[data-type='year'] {
|
|
3013
|
+
min-width: 4ch;
|
|
3014
|
+
}
|
|
3015
|
+
/* Placeholder text */
|
|
3016
|
+
.dndev-datepicker-segment[data-placeholder] {
|
|
3017
|
+
color: var(--placeholder);
|
|
3018
|
+
}
|
|
3019
|
+
/* Focused segment highlight */
|
|
3020
|
+
.dndev-datepicker-segment:focus {
|
|
3021
|
+
background-color: var(--accent);
|
|
3022
|
+
color: var(--accent-foreground);
|
|
3023
|
+
outline: none;
|
|
3024
|
+
}
|
|
3025
|
+
/* Separator between segments */
|
|
3026
|
+
.dndev-datepicker-separator {
|
|
3027
|
+
color: var(--muted-foreground);
|
|
3028
|
+
padding: 0 1px;
|
|
3029
|
+
-webkit-user-select: none;
|
|
3030
|
+
-moz-user-select: none;
|
|
3031
|
+
user-select: none;
|
|
3032
|
+
}
|
|
3033
|
+
/* ===========================
|
|
3034
|
+
CALENDAR TRIGGER BUTTON (inside field)
|
|
3035
|
+
=========================== */
|
|
3036
|
+
/* Extends .dndev-inline-action-btn from patterns.css */
|
|
3037
|
+
.dndev-datepicker-calendar-btn {
|
|
3038
|
+
flex-shrink: 0;
|
|
3039
|
+
margin-inline-start: auto;
|
|
3040
|
+
}
|
|
3041
|
+
/* ===========================
|
|
3042
|
+
POPOVER
|
|
3043
|
+
=========================== */
|
|
3044
|
+
.dndev-datepicker-popover {
|
|
3045
|
+
padding: 0;
|
|
3046
|
+
}
|
|
3047
|
+
/* Fix: .dndev-floating .dndev-interactive overrides width/justify on ALL
|
|
3048
|
+
interactive children. Calendar needs its own sizing - undo the override. */
|
|
3049
|
+
.dndev-datepicker-popover .dndev-interactive {
|
|
3050
|
+
width: auto;
|
|
3051
|
+
justify-content: center;
|
|
3052
|
+
}
|
|
3053
|
+
/* Calendar nav buttons: restore absolute-positioned fixed size */
|
|
3054
|
+
.dndev-datepicker-popover .dndev-calendar-nav-button {
|
|
3055
|
+
width: var(--touch-target);
|
|
3056
|
+
}
|
|
3057
|
+
/* Calendar day buttons: restore fixed cell size */
|
|
3058
|
+
.dndev-datepicker-popover .dndev-calendar-day-button {
|
|
3059
|
+
width: var(--touch-target);
|
|
3060
|
+
}
|
|
3061
|
+
/* Calendar dropdown triggers: restore full-width inside their cell */
|
|
3062
|
+
.dndev-datepicker-popover .dndev-calendar-dropdown-trigger {
|
|
3063
|
+
width: 100%;
|
|
3064
|
+
}
|
|
3065
|
+
/* ===========================
|
|
3066
|
+
MOBILE: NATIVE INPUT FALLBACK
|
|
3067
|
+
=========================== */
|
|
3068
|
+
.dndev-datepicker-native {
|
|
3069
|
+
display: none;
|
|
3070
|
+
}
|
|
3071
|
+
@media (pointer: coarse) {
|
|
3072
|
+
.dndev-datepicker-custom {
|
|
3073
|
+
display: none;
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
.dndev-datepicker-native {
|
|
3077
|
+
display: flex;
|
|
3078
|
+
width: 100%;
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
/* ===========================
|
|
3082
|
+
SCREEN READER LIVE REGION
|
|
3083
|
+
=========================== */
|
|
3084
|
+
.dndev-datepicker-live {
|
|
3085
|
+
position: absolute;
|
|
3086
|
+
width: 1px;
|
|
3087
|
+
height: 1px;
|
|
3088
|
+
padding: 0;
|
|
3089
|
+
margin: -1px;
|
|
3090
|
+
overflow: hidden;
|
|
3091
|
+
clip: rect(0, 0, 0, 0);
|
|
3092
|
+
white-space: nowrap;
|
|
3093
|
+
border: 0;
|
|
3094
|
+
}
|
|
3095
|
+
/* ===========================
|
|
3096
|
+
DISABLED STATE (root)
|
|
3097
|
+
=========================== */
|
|
3098
|
+
.dndev-datepicker[data-disabled] {
|
|
3099
|
+
pointer-events: none;
|
|
3100
|
+
}
|
|
3101
|
+
/* packages/components/src/atomic/DateTimePicker/DateTimePicker.css */
|
|
3102
|
+
/**
|
|
3103
|
+
* DateTimePicker Component Styles
|
|
3104
|
+
* Extends DatePicker styles with time-segment-specific layout.
|
|
3105
|
+
* Reuses .dndev-datepicker-* classes from DatePicker.css for shared elements
|
|
3106
|
+
* (field, segment, separator, calendar-btn, popover, native, live).
|
|
3107
|
+
*/
|
|
3108
|
+
/* ===========================
|
|
3109
|
+
CUSTOM INPUT CONTAINER
|
|
3110
|
+
=========================== */
|
|
3111
|
+
.dndev-datetimepicker-custom {
|
|
3112
|
+
display: flex;
|
|
3113
|
+
align-items: center;
|
|
3114
|
+
width: 100%;
|
|
3115
|
+
}
|
|
3116
|
+
/* ===========================
|
|
3117
|
+
DATE / TIME SPACER
|
|
3118
|
+
=========================== */
|
|
3119
|
+
.dndev-datetimepicker-spacer {
|
|
3120
|
+
width: var(--gap-md);
|
|
3121
|
+
flex-shrink: 0;
|
|
3122
|
+
}
|
|
2787
3123
|
/* packages/components/src/atomic/CallToAction/CallToAction.css */
|
|
2788
3124
|
.dndev-cta {
|
|
2789
3125
|
color: var(--foreground);
|
|
@@ -2807,6 +3143,10 @@ em {
|
|
|
2807
3143
|
/* --card not --background: inverted text must be opaque (--background can be transparent in some themes) */
|
|
2808
3144
|
color: var(--card);
|
|
2809
3145
|
}
|
|
3146
|
+
.dndev-cta[data-tone='primary'] {
|
|
3147
|
+
background: var(--primary);
|
|
3148
|
+
color: var(--primary-foreground);
|
|
3149
|
+
}
|
|
2810
3150
|
.dndev-cta[data-tone='accent'] {
|
|
2811
3151
|
background: color-mix(in oklab, var(--accent) 5%, transparent);
|
|
2812
3152
|
}
|
|
@@ -2901,43 +3241,90 @@ em {
|
|
|
2901
3241
|
.dndev-cta-actions {
|
|
2902
3242
|
display: flex;
|
|
2903
3243
|
flex-direction: row;
|
|
3244
|
+
flex-wrap: wrap;
|
|
2904
3245
|
gap: var(--gap-md);
|
|
2905
3246
|
justify-content: center;
|
|
2906
3247
|
}
|
|
2907
3248
|
.dndev-cta-actions .dndev-interactive {
|
|
2908
3249
|
min-width: 150px;
|
|
2909
3250
|
}
|
|
2910
|
-
/* Button
|
|
2911
|
-
.dndev-cta-actions .dndev-interactive[data-variant='primary'] {
|
|
2912
|
-
background: var(--foreground);
|
|
2913
|
-
|
|
2914
|
-
color: var(--
|
|
2915
|
-
|
|
3251
|
+
/* Button overrides scoped to primary tone */
|
|
3252
|
+
:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='primary'] {
|
|
3253
|
+
background: var(--primary-foreground);
|
|
3254
|
+
color: var(--primary);
|
|
3255
|
+
border-color: var(--primary-foreground);
|
|
3256
|
+
}
|
|
3257
|
+
:is(:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='primary']):hover {
|
|
3258
|
+
background: var(--accent);
|
|
3259
|
+
color: var(--accent-foreground);
|
|
3260
|
+
border-color: var(--accent);
|
|
3261
|
+
}
|
|
3262
|
+
:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='outline'] {
|
|
3263
|
+
background: transparent;
|
|
3264
|
+
color: var(--primary-foreground);
|
|
3265
|
+
border-color: var(--primary-foreground);
|
|
3266
|
+
}
|
|
3267
|
+
:is(:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='outline']):hover {
|
|
3268
|
+
background: var(--primary-foreground);
|
|
3269
|
+
color: var(--primary);
|
|
3270
|
+
border-color: var(--primary-foreground);
|
|
3271
|
+
}
|
|
3272
|
+
/* Button overrides scoped to contrast tone */
|
|
3273
|
+
:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='primary'] {
|
|
3274
|
+
background: var(--card);
|
|
3275
|
+
color: var(--foreground);
|
|
3276
|
+
border-color: var(--card);
|
|
2916
3277
|
}
|
|
2917
|
-
:is(.dndev-cta-actions .dndev-interactive[data-variant='primary']):hover {
|
|
3278
|
+
:is(:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='primary']):hover {
|
|
2918
3279
|
background: var(--primary);
|
|
2919
3280
|
color: var(--primary-foreground);
|
|
2920
3281
|
border-color: var(--primary);
|
|
2921
3282
|
}
|
|
2922
|
-
.dndev-cta-actions .dndev-interactive[data-variant='outline'] {
|
|
3283
|
+
:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='outline'] {
|
|
2923
3284
|
background: transparent;
|
|
2924
|
-
color: var(--
|
|
2925
|
-
border-color: var(--
|
|
3285
|
+
color: var(--card);
|
|
3286
|
+
border-color: var(--card);
|
|
2926
3287
|
}
|
|
2927
|
-
:is(.dndev-cta-actions .dndev-interactive[data-variant='outline']):hover {
|
|
2928
|
-
background: var(--
|
|
2929
|
-
|
|
2930
|
-
color: var(--card);
|
|
2931
|
-
border-color: var(--foreground);
|
|
3288
|
+
:is(:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='outline']):hover {
|
|
3289
|
+
background: var(--card);
|
|
3290
|
+
color: var(--foreground);
|
|
3291
|
+
border-color: var(--card);
|
|
2932
3292
|
}
|
|
2933
3293
|
/* packages/components/src/atomic/Card/Card.css */
|
|
2934
|
-
/* Card
|
|
3294
|
+
/* Card root — when a cover is present, move padding off the root so the cover
|
|
3295
|
+
sits flush to the rounded corners. Padding is re-applied inside the body
|
|
3296
|
+
slot (which is the only thing that needs it). Non-cover cards keep the
|
|
3297
|
+
legacy layout so existing consumers render identically. */
|
|
2935
3298
|
.dndev-card {
|
|
2936
3299
|
display: grid;
|
|
2937
3300
|
gap: var(--gap-md);
|
|
2938
3301
|
text-align: start;
|
|
2939
3302
|
align-content: start;
|
|
3303
|
+
position: relative;
|
|
2940
3304
|
}
|
|
3305
|
+
.dndev-surface.dndev-card[data-has-cover='true'] {
|
|
3306
|
+
padding: 0;
|
|
3307
|
+
overflow: hidden;
|
|
3308
|
+
position: relative;
|
|
3309
|
+
/* Remove the grid gap — cover and body are stacked vertically via flow and
|
|
3310
|
+
must sit flush (cover edges meet body edge with no gutter). */
|
|
3311
|
+
gap: 0;
|
|
3312
|
+
}
|
|
3313
|
+
/* Body slot — the padded region that holds header/content/footer.
|
|
3314
|
+
Only rendered when at least one body field is set (see renderCard logic). */
|
|
3315
|
+
.dndev-card-body {
|
|
3316
|
+
display: grid;
|
|
3317
|
+
gap: var(--gap-md);
|
|
3318
|
+
position: relative;
|
|
3319
|
+
z-index: 1;
|
|
3320
|
+
}
|
|
3321
|
+
.dndev-card[data-has-cover='true'] > .dndev-card-body {
|
|
3322
|
+
padding: var(--gap-md);
|
|
3323
|
+
}
|
|
3324
|
+
.dndev-card-body[data-body-background='solid'] {
|
|
3325
|
+
background: var(--card);
|
|
3326
|
+
}
|
|
3327
|
+
/* Card body children spacing */
|
|
2941
3328
|
.dndev-card-header {
|
|
2942
3329
|
display: flex;
|
|
2943
3330
|
flex-direction: column;
|
|
@@ -2961,15 +3348,82 @@ em {
|
|
|
2961
3348
|
word-wrap: break-word;
|
|
2962
3349
|
color: color-mix(in oklab, var(--card-foreground) 70%, transparent);
|
|
2963
3350
|
}
|
|
3351
|
+
/* Cover region — sits flush to the card's rounded corners.
|
|
3352
|
+
- When body is present (data-has-body='true'): cover is a sized header
|
|
3353
|
+
region in flow. Height comes from its own aspect-ratio (inline style).
|
|
3354
|
+
- When cover-only (no body): cover fills the card (inset:0 absolute) while
|
|
3355
|
+
the card itself sets the aspect-ratio on its root. */
|
|
3356
|
+
.dndev-card-cover {
|
|
3357
|
+
position: relative;
|
|
3358
|
+
overflow: hidden;
|
|
3359
|
+
z-index: 0;
|
|
3360
|
+
width: 100%;
|
|
3361
|
+
background: var(--muted);
|
|
3362
|
+
}
|
|
3363
|
+
/* Cover-only: fill the card completely. Card root owns the aspect-ratio. */
|
|
3364
|
+
.dndev-card-cover:not([data-has-body='true']) {
|
|
3365
|
+
position: absolute;
|
|
3366
|
+
inset: 0;
|
|
3367
|
+
height: 100%;
|
|
3368
|
+
}
|
|
3369
|
+
/* Direct media (string cover → <img>, or ReactNode passthrough) fills. */
|
|
3370
|
+
.dndev-card-cover > img,
|
|
3371
|
+
.dndev-card-cover > video,
|
|
3372
|
+
.dndev-card-cover > picture,
|
|
3373
|
+
.dndev-card-cover > picture > img,
|
|
3374
|
+
.dndev-card-cover > .dndev-card-cover-media {
|
|
3375
|
+
display: block;
|
|
3376
|
+
width: 100%;
|
|
3377
|
+
height: 100%;
|
|
3378
|
+
-o-object-fit: cover;
|
|
3379
|
+
object-fit: cover;
|
|
3380
|
+
}
|
|
3381
|
+
/* Consumer-supplied ReactNode: wrapper fills, inner media fills. */
|
|
3382
|
+
.dndev-card-cover-media {
|
|
3383
|
+
position: relative;
|
|
3384
|
+
}
|
|
3385
|
+
.dndev-card-cover-media > img,
|
|
3386
|
+
.dndev-card-cover-media > video,
|
|
3387
|
+
.dndev-card-cover-media > picture,
|
|
3388
|
+
.dndev-card-cover-media > picture > img {
|
|
3389
|
+
display: block;
|
|
3390
|
+
width: 100%;
|
|
3391
|
+
height: 100%;
|
|
3392
|
+
-o-object-fit: cover;
|
|
3393
|
+
object-fit: cover;
|
|
3394
|
+
}
|
|
3395
|
+
/* Overlay — sits above both cover and body slot. */
|
|
3396
|
+
.dndev-card-overlay {
|
|
3397
|
+
position: absolute;
|
|
3398
|
+
z-index: 2;
|
|
3399
|
+
pointer-events: none;
|
|
3400
|
+
}
|
|
3401
|
+
.dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
|
|
3402
|
+
top: var(--gap-md);
|
|
3403
|
+
inset-inline-start: var(--gap-md);
|
|
3404
|
+
}
|
|
3405
|
+
.dndev-card[data-overlay-position='top-right'] > .dndev-card-overlay {
|
|
3406
|
+
top: var(--gap-md);
|
|
3407
|
+
inset-inline-end: var(--gap-md);
|
|
3408
|
+
}
|
|
3409
|
+
.dndev-card[data-overlay-position='bottom-left'] > .dndev-card-overlay {
|
|
3410
|
+
bottom: var(--gap-md);
|
|
3411
|
+
inset-inline-start: var(--gap-md);
|
|
3412
|
+
}
|
|
3413
|
+
.dndev-card[data-overlay-position='bottom-right'] > .dndev-card-overlay {
|
|
3414
|
+
bottom: var(--gap-md);
|
|
3415
|
+
inset-inline-end: var(--gap-md);
|
|
3416
|
+
}
|
|
2964
3417
|
/* packages/components/src/atomic/Checkbox/Checkbox.css */
|
|
2965
3418
|
.dndev-control[data-type='checkbox'] {
|
|
2966
3419
|
display: inline-flex;
|
|
2967
3420
|
align-items: center;
|
|
2968
3421
|
justify-content: center;
|
|
2969
|
-
width: var(--
|
|
2970
|
-
height: var(--
|
|
3422
|
+
width: var(--font-size-input);
|
|
3423
|
+
height: var(--font-size-input);
|
|
2971
3424
|
aspect-ratio: 1;
|
|
2972
3425
|
border-radius: 4px;
|
|
3426
|
+
background-color: transparent;
|
|
2973
3427
|
}
|
|
2974
3428
|
.dndev-control[data-type='checkbox'][data-state='checked'] {
|
|
2975
3429
|
background-color: var(--primary);
|
|
@@ -3019,8 +3473,8 @@ em {
|
|
|
3019
3473
|
color: currentColor;
|
|
3020
3474
|
}
|
|
3021
3475
|
.dndev-control[data-type='checkbox'] [data-radix-checkbox-indicator] svg {
|
|
3022
|
-
width: var(--
|
|
3023
|
-
height: var(--
|
|
3476
|
+
width: var(--font-size-input);
|
|
3477
|
+
height: var(--font-size-input);
|
|
3024
3478
|
animation: checkbox-check-in var(--dur-fast) var(--ease-in-out);
|
|
3025
3479
|
}
|
|
3026
3480
|
/* Smooth check mark animation */
|
|
@@ -3224,41 +3678,13 @@ em {
|
|
|
3224
3678
|
--combobox-pad-end is set as an inline CSS variable on .dndev-combobox-wrapper. */
|
|
3225
3679
|
.dndev-combobox-wrapper .dndev-input {
|
|
3226
3680
|
padding-inline-end: var(--combobox-pad-end);
|
|
3227
|
-
|
|
3228
|
-
/* Action buttons (create "+", clear "X") */
|
|
3229
|
-
.dndev-combobox-action-btn {
|
|
3230
|
-
all: unset;
|
|
3231
|
-
display: flex;
|
|
3232
|
-
align-items: center;
|
|
3233
|
-
justify-content: center;
|
|
3234
|
-
width: var(--icon-md);
|
|
3235
|
-
height: var(--icon-md);
|
|
3236
|
-
border-radius: var(--radius-interactive, var(--radius-sm, 4px));
|
|
3681
|
+
text-overflow: ellipsis;
|
|
3237
3682
|
cursor: pointer;
|
|
3238
|
-
pointer-events: auto; /* re-enable clicks on buttons */
|
|
3239
|
-
color: var(--muted-foreground);
|
|
3240
|
-
opacity: var(--opacity-muted, 0.5);
|
|
3241
|
-
transition:
|
|
3242
|
-
opacity var(--dur-fast) var(--ease-in-out),
|
|
3243
|
-
background-color var(--dur-fast) var(--ease-in-out);
|
|
3244
|
-
}
|
|
3245
|
-
.dndev-combobox-action-btn:hover {
|
|
3246
|
-
opacity: 1;
|
|
3247
|
-
background-color: var(--accent, rgba(0, 0, 0, 0.06));
|
|
3248
|
-
}
|
|
3249
|
-
.dndev-combobox-action-btn:focus-visible {
|
|
3250
|
-
opacity: 1;
|
|
3251
|
-
outline: none;
|
|
3252
|
-
box-shadow:
|
|
3253
|
-
0 0 0 2px var(--ring),
|
|
3254
|
-
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
3255
3683
|
}
|
|
3256
|
-
.dndev-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
width: var(--size-icon-sm, 16px);
|
|
3261
|
-
height: var(--size-icon-sm, 16px);
|
|
3684
|
+
/* Action buttons — extends shared .dndev-inline-action-btn from patterns.css.
|
|
3685
|
+
Only Combobox-specific overrides here. */
|
|
3686
|
+
.dndev-combobox-action-btn {
|
|
3687
|
+
pointer-events: auto; /* re-enable clicks (trailing container is pointer-events: none) */
|
|
3262
3688
|
}
|
|
3263
3689
|
/* Create button accent color */
|
|
3264
3690
|
.dndev-combobox-action-btn--create {
|
|
@@ -3268,32 +3694,26 @@ em {
|
|
|
3268
3694
|
.dndev-combobox-action-btn--clear {
|
|
3269
3695
|
color: var(--muted-foreground);
|
|
3270
3696
|
}
|
|
3271
|
-
/* Chevron
|
|
3697
|
+
/* Chevron toggle — extends .dndev-inline-action-btn from patterns.css
|
|
3698
|
+
(same pattern as RangeInput/DatePicker/Combobox clear+create).
|
|
3699
|
+
Only chevron-specific behavior: re-enable clicks in the trailing
|
|
3700
|
+
container and rotate the icon on open. */
|
|
3272
3701
|
.dndev-combobox-chevron {
|
|
3273
|
-
|
|
3274
|
-
height: var(--icon-md);
|
|
3275
|
-
display: flex;
|
|
3276
|
-
align-items: center;
|
|
3277
|
-
justify-content: center;
|
|
3278
|
-
color: var(--muted-foreground);
|
|
3279
|
-
opacity: var(--opacity-muted);
|
|
3280
|
-
pointer-events: none;
|
|
3702
|
+
pointer-events: auto;
|
|
3281
3703
|
}
|
|
3282
3704
|
.dndev-combobox-chevron svg {
|
|
3283
|
-
width: var(--icon-md);
|
|
3284
|
-
height: var(--icon-md);
|
|
3285
3705
|
transition: transform var(--dur-fast) var(--ease-in-out);
|
|
3286
3706
|
}
|
|
3287
3707
|
.dndev-combobox-open .dndev-combobox-chevron svg {
|
|
3288
3708
|
transform: rotate(180deg);
|
|
3289
3709
|
}
|
|
3290
|
-
/* Spinner replaces chevron */
|
|
3710
|
+
/* Spinner replaces chevron — match its footprint so there's no layout shift */
|
|
3291
3711
|
.dndev-combobox-spinner {
|
|
3292
3712
|
display: flex;
|
|
3293
3713
|
align-items: center;
|
|
3294
3714
|
justify-content: center;
|
|
3295
|
-
width: var(--
|
|
3296
|
-
height:
|
|
3715
|
+
width: var(--touch-target);
|
|
3716
|
+
height: 100%;
|
|
3297
3717
|
pointer-events: none;
|
|
3298
3718
|
}
|
|
3299
3719
|
/* ──────────────────────────────────────────────────
|
|
@@ -3318,6 +3738,10 @@ em {
|
|
|
3318
3738
|
.dndev-combobox-open .dndev-combobox-wrapper--chips {
|
|
3319
3739
|
border-color: var(--ring);
|
|
3320
3740
|
}
|
|
3741
|
+
/* Inside FloatingLabel fieldset: fieldset owns the border, suppress wrapper border */
|
|
3742
|
+
.dndev-floating-fieldset > .dndev-combobox-wrapper--chips {
|
|
3743
|
+
border-color: transparent;
|
|
3744
|
+
}
|
|
3321
3745
|
/* Input inside chips wrapper: grow to fill, no min height */
|
|
3322
3746
|
.dndev-combobox-wrapper--chips .dndev-input {
|
|
3323
3747
|
flex: 1 1 80px;
|
|
@@ -3329,9 +3753,6 @@ em {
|
|
|
3329
3753
|
Dropdown content
|
|
3330
3754
|
────────────────────────────────────────────────── */
|
|
3331
3755
|
.dndev-combobox-content {
|
|
3332
|
-
width: var(--radix-popover-trigger-width);
|
|
3333
|
-
min-width: var(--radix-popover-trigger-width);
|
|
3334
|
-
max-width: var(--radix-popover-trigger-width);
|
|
3335
3756
|
display: flex;
|
|
3336
3757
|
flex-direction: column;
|
|
3337
3758
|
padding: 0;
|
|
@@ -3375,6 +3796,12 @@ em {
|
|
|
3375
3796
|
font-size: var(--font-size-xs);
|
|
3376
3797
|
color: var(--muted-foreground);
|
|
3377
3798
|
}
|
|
3799
|
+
.dndev-combobox-option-count {
|
|
3800
|
+
font-size: var(--font-size-xs);
|
|
3801
|
+
color: var(--muted-foreground);
|
|
3802
|
+
margin-inline-start: var(--gap-tight);
|
|
3803
|
+
flex-shrink: 0;
|
|
3804
|
+
}
|
|
3378
3805
|
.dndev-combobox-option-check {
|
|
3379
3806
|
width: var(--icon-md);
|
|
3380
3807
|
height: var(--icon-md);
|
|
@@ -4153,6 +4580,48 @@ em {
|
|
|
4153
4580
|
.dndev-hero-section--bg-image .dndev-hero-subtitle {
|
|
4154
4581
|
color: white;
|
|
4155
4582
|
}
|
|
4583
|
+
/* ---- Contain mode: full image, natural aspect ratio ---- */
|
|
4584
|
+
.dndev-hero-section--bg-contain {
|
|
4585
|
+
padding: 0;
|
|
4586
|
+
max-width: none;
|
|
4587
|
+
position: relative;
|
|
4588
|
+
overflow: hidden;
|
|
4589
|
+
}
|
|
4590
|
+
.dndev-hero-section--bg-contain > .dndev-hero-section__img {
|
|
4591
|
+
display: block;
|
|
4592
|
+
width: 100%;
|
|
4593
|
+
height: auto;
|
|
4594
|
+
}
|
|
4595
|
+
.dndev-hero-section--bg-contain > .dndev-hero-section__text {
|
|
4596
|
+
position: absolute;
|
|
4597
|
+
inset: 0;
|
|
4598
|
+
display: flex;
|
|
4599
|
+
flex-direction: column;
|
|
4600
|
+
justify-content: flex-end;
|
|
4601
|
+
padding: 0 var(--gap-md) var(--gap-lg);
|
|
4602
|
+
}
|
|
4603
|
+
.dndev-hero-section--bg-contain > .dndev-hero-section__text::before {
|
|
4604
|
+
content: '';
|
|
4605
|
+
position: absolute;
|
|
4606
|
+
inset: 0;
|
|
4607
|
+
background: linear-gradient(
|
|
4608
|
+
to top,
|
|
4609
|
+
rgba(0, 0, 0, 0.65),
|
|
4610
|
+
rgba(0, 0, 0, 0.15) 60%,
|
|
4611
|
+
transparent
|
|
4612
|
+
);
|
|
4613
|
+
}
|
|
4614
|
+
.dndev-hero-section--bg-contain > .dndev-hero-section__text > * {
|
|
4615
|
+
position: relative;
|
|
4616
|
+
}
|
|
4617
|
+
.dndev-hero-section--bg-contain[data-justify='center']
|
|
4618
|
+
> .dndev-hero-section__text {
|
|
4619
|
+
justify-content: center;
|
|
4620
|
+
}
|
|
4621
|
+
.dndev-hero-section--bg-contain[data-justify='start']
|
|
4622
|
+
> .dndev-hero-section__text {
|
|
4623
|
+
justify-content: flex-start;
|
|
4624
|
+
}
|
|
4156
4625
|
.dndev-hero-subtitle {
|
|
4157
4626
|
font-size: var(--font-size-lg); /* 20px - muted via component */
|
|
4158
4627
|
}
|
|
@@ -4271,6 +4740,9 @@ em {
|
|
|
4271
4740
|
border-radius: var(--radius-surface);
|
|
4272
4741
|
background-color: var(--muted);
|
|
4273
4742
|
}
|
|
4743
|
+
.image-gallery__main--lightbox {
|
|
4744
|
+
cursor: zoom-in;
|
|
4745
|
+
}
|
|
4274
4746
|
.image-gallery__main-image {
|
|
4275
4747
|
width: 100%;
|
|
4276
4748
|
height: 100%;
|
|
@@ -4376,6 +4848,40 @@ em {
|
|
|
4376
4848
|
height: 20px;
|
|
4377
4849
|
}
|
|
4378
4850
|
}
|
|
4851
|
+
/* Lightbox (full-size image dialog) */
|
|
4852
|
+
.image-gallery__lightbox.dndev-modal-content {
|
|
4853
|
+
max-width: min(96vw, 1400px);
|
|
4854
|
+
max-height: 96dvh;
|
|
4855
|
+
padding: var(--gap-sm);
|
|
4856
|
+
}
|
|
4857
|
+
.image-gallery__lightbox .dndev-modal-body {
|
|
4858
|
+
padding: 0;
|
|
4859
|
+
display: flex;
|
|
4860
|
+
align-items: center;
|
|
4861
|
+
justify-content: center;
|
|
4862
|
+
overflow: hidden;
|
|
4863
|
+
min-height: 40dvh;
|
|
4864
|
+
}
|
|
4865
|
+
.image-gallery__lightbox-body {
|
|
4866
|
+
position: relative;
|
|
4867
|
+
display: flex;
|
|
4868
|
+
align-items: center;
|
|
4869
|
+
justify-content: center;
|
|
4870
|
+
width: 100%;
|
|
4871
|
+
outline: none;
|
|
4872
|
+
}
|
|
4873
|
+
.image-gallery__lightbox-img {
|
|
4874
|
+
max-width: 100%;
|
|
4875
|
+
max-height: 85dvh;
|
|
4876
|
+
width: auto;
|
|
4877
|
+
height: auto;
|
|
4878
|
+
-o-object-fit: contain;
|
|
4879
|
+
object-fit: contain;
|
|
4880
|
+
}
|
|
4881
|
+
.image-gallery__lightbox-nav {
|
|
4882
|
+
opacity: 0.92;
|
|
4883
|
+
z-index: 3;
|
|
4884
|
+
}
|
|
4379
4885
|
/* packages/components/src/atomic/Input/Input.css */
|
|
4380
4886
|
/* Hide number input spinners - cleaner UI for price/range inputs */
|
|
4381
4887
|
input[type='number']::-webkit-inner-spin-button,
|
|
@@ -4411,6 +4917,16 @@ input[type='number'] {
|
|
|
4411
4917
|
.dndev-input-icon-trailing {
|
|
4412
4918
|
inset-inline-end: var(--gap-md);
|
|
4413
4919
|
}
|
|
4920
|
+
/* Error / destructive state — red border for invalid fields */
|
|
4921
|
+
[data-variant='destructive'],
|
|
4922
|
+
[aria-invalid='true'] {
|
|
4923
|
+
border-color: var(--destructive);
|
|
4924
|
+
}
|
|
4925
|
+
[data-variant='destructive']:focus,
|
|
4926
|
+
[aria-invalid='true']:focus {
|
|
4927
|
+
border-color: var(--destructive);
|
|
4928
|
+
outline-color: var(--destructive);
|
|
4929
|
+
}
|
|
4414
4930
|
/* packages/components/src/advanced/JsonViewer/JsonViewer.css */
|
|
4415
4931
|
.dndev-json-viewer {
|
|
4416
4932
|
position: relative;
|
|
@@ -4888,6 +5404,93 @@ input[type='number'] {
|
|
|
4888
5404
|
width: var(--icon-sm);
|
|
4889
5405
|
height: var(--icon-sm);
|
|
4890
5406
|
}
|
|
5407
|
+
/* packages/components/src/atomic/PinInput/PinInput.css */
|
|
5408
|
+
.dndev-pin-input {
|
|
5409
|
+
display: flex;
|
|
5410
|
+
gap: var(--gap-sm);
|
|
5411
|
+
align-items: center;
|
|
5412
|
+
justify-content: center;
|
|
5413
|
+
direction: ltr; /* digits are always LTR even in RTL locales */
|
|
5414
|
+
}
|
|
5415
|
+
.dndev-pin-input__box {
|
|
5416
|
+
inline-size: var(--input-height, 2.75rem) !important;
|
|
5417
|
+
block-size: var(--input-height, 2.75rem) !important;
|
|
5418
|
+
padding: 0 !important;
|
|
5419
|
+
text-align: center !important;
|
|
5420
|
+
font-size: var(--font-xl, 1.25rem) !important;
|
|
5421
|
+
font-variant-numeric: tabular-nums;
|
|
5422
|
+
font-feature-settings: 'tnum' 1;
|
|
5423
|
+
caret-color: var(--primary);
|
|
5424
|
+
}
|
|
5425
|
+
/* Mask the typed digit via CSS, not by overwriting React's controlled value.
|
|
5426
|
+
Rewriting value={raw} → value='•' on every keystroke forces React to
|
|
5427
|
+
overwrite the native input value after the browser has already painted
|
|
5428
|
+
the user's keystroke, which is the classic "lags like shit" PinInput bug
|
|
5429
|
+
on mobile Chrome/Safari. `-webkit-text-security: disc` renders a bullet
|
|
5430
|
+
purely in the layout layer while the input's real value stays the digit,
|
|
5431
|
+
so React never has to race the browser's paint pipeline.
|
|
5432
|
+
Firefox does not support -webkit-text-security and will render the digit
|
|
5433
|
+
unmasked; the eye-toggle still works for revealing on WebKit/Blink. */
|
|
5434
|
+
.dndev-pin-input__box--masked {
|
|
5435
|
+
-webkit-text-security: disc;
|
|
5436
|
+
}
|
|
5437
|
+
.dndev-pin-input__reveal {
|
|
5438
|
+
background: none;
|
|
5439
|
+
border: none;
|
|
5440
|
+
cursor: pointer;
|
|
5441
|
+
padding: var(--gap-tight, 0.25rem);
|
|
5442
|
+
margin-inline-start: var(--gap-sm, 0.5rem);
|
|
5443
|
+
display: inline-flex;
|
|
5444
|
+
align-items: center;
|
|
5445
|
+
justify-content: center;
|
|
5446
|
+
color: var(--muted-foreground, currentColor);
|
|
5447
|
+
opacity: var(--opacity-muted, 0.65);
|
|
5448
|
+
transition: opacity var(--dur-fast, 150ms) var(--ease-in-out, ease-in-out);
|
|
5449
|
+
-webkit-user-select: none;
|
|
5450
|
+
-moz-user-select: none;
|
|
5451
|
+
user-select: none;
|
|
5452
|
+
-webkit-tap-highlight-color: transparent;
|
|
5453
|
+
}
|
|
5454
|
+
.dndev-pin-input__reveal:hover,
|
|
5455
|
+
.dndev-pin-input__reveal:focus-visible {
|
|
5456
|
+
opacity: 1;
|
|
5457
|
+
outline: none;
|
|
5458
|
+
}
|
|
5459
|
+
.dndev-pin-input__reveal:focus-visible {
|
|
5460
|
+
outline: 2px solid var(--primary, currentColor);
|
|
5461
|
+
outline-offset: 2px;
|
|
5462
|
+
border-radius: var(--radius-sm, 4px);
|
|
5463
|
+
}
|
|
5464
|
+
/* Shake animation hook — the container flips data-shake='true' on error
|
|
5465
|
+
and the animation plays once via this keyframe. Consumers can override
|
|
5466
|
+
via `.dndev-pin-input[data-shake='true'] { animation: ... }`. */
|
|
5467
|
+
@keyframes dndev-pin-input-shake {
|
|
5468
|
+
0%,
|
|
5469
|
+
100% {
|
|
5470
|
+
transform: translateX(0);
|
|
5471
|
+
}
|
|
5472
|
+
20% {
|
|
5473
|
+
transform: translateX(-0.35rem);
|
|
5474
|
+
}
|
|
5475
|
+
40% {
|
|
5476
|
+
transform: translateX(0.35rem);
|
|
5477
|
+
}
|
|
5478
|
+
60% {
|
|
5479
|
+
transform: translateX(-0.25rem);
|
|
5480
|
+
}
|
|
5481
|
+
80% {
|
|
5482
|
+
transform: translateX(0.15rem);
|
|
5483
|
+
}
|
|
5484
|
+
}
|
|
5485
|
+
.dndev-pin-input[data-shake='true'] {
|
|
5486
|
+
animation: dndev-pin-input-shake var(--dur-normal, 320ms)
|
|
5487
|
+
var(--ease-in-out, ease-in-out) 1;
|
|
5488
|
+
}
|
|
5489
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5490
|
+
.dndev-pin-input[data-shake='true'] {
|
|
5491
|
+
animation: none;
|
|
5492
|
+
}
|
|
5493
|
+
}
|
|
4891
5494
|
/* packages/components/src/atomic/Pagination/Pagination.css */
|
|
4892
5495
|
.dndev-pagination {
|
|
4893
5496
|
display: flex;
|
|
@@ -5023,8 +5626,8 @@ input[type='number'] {
|
|
|
5023
5626
|
color: var(--destructive);
|
|
5024
5627
|
}
|
|
5025
5628
|
.dndev-control[data-type='radio'] {
|
|
5026
|
-
width: var(--
|
|
5027
|
-
height: var(--
|
|
5629
|
+
width: var(--font-size-input);
|
|
5630
|
+
height: var(--font-size-input);
|
|
5028
5631
|
border-radius: var(--radius-full);
|
|
5029
5632
|
border-width: var(--border-hairline);
|
|
5030
5633
|
background-color: transparent;
|
|
@@ -5092,14 +5695,20 @@ input[type='number'] {
|
|
|
5092
5695
|
/* packages/components/src/atomic/RangeInput/RangeInput.css */
|
|
5093
5696
|
.dndev-range-input {
|
|
5094
5697
|
display: grid;
|
|
5095
|
-
grid-template-columns: 1fr auto 1fr auto;
|
|
5698
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
|
|
5096
5699
|
align-items: center;
|
|
5097
|
-
gap:
|
|
5700
|
+
-moz-column-gap: 0;
|
|
5701
|
+
column-gap: 0;
|
|
5702
|
+
padding-inline-start: var(--gap-sm);
|
|
5098
5703
|
width: 100%;
|
|
5099
5704
|
}
|
|
5100
5705
|
.dndev-range-input > .dndev-input,
|
|
5101
5706
|
.dndev-range-input > .dndev-relative {
|
|
5102
5707
|
min-width: 0;
|
|
5708
|
+
padding-inline: var(--gap-sm);
|
|
5709
|
+
}
|
|
5710
|
+
.dndev-range-input-separator {
|
|
5711
|
+
padding-inline: var(--gap-tight);
|
|
5103
5712
|
}
|
|
5104
5713
|
/* packages/components/src/atomic/Rating/Rating.css */
|
|
5105
5714
|
/**
|
|
@@ -5219,7 +5828,7 @@ input[type='number'] {
|
|
|
5219
5828
|
}
|
|
5220
5829
|
/* Numeric value display */
|
|
5221
5830
|
.dndev-rating-value {
|
|
5222
|
-
font-size: var(--font-size-
|
|
5831
|
+
font-size: var(--font-size-input);
|
|
5223
5832
|
font-weight: var(--font-weight-medium);
|
|
5224
5833
|
color: var(--muted-foreground);
|
|
5225
5834
|
min-width: 2ch;
|
|
@@ -5245,7 +5854,7 @@ input[type='number'] {
|
|
|
5245
5854
|
height: var(--icon-md);
|
|
5246
5855
|
}
|
|
5247
5856
|
.dndev-select-trigger [data-radix-select-value] {
|
|
5248
|
-
font-size: var(--font-size-
|
|
5857
|
+
font-size: var(--font-size-input);
|
|
5249
5858
|
}
|
|
5250
5859
|
.dndev-select-content {
|
|
5251
5860
|
width: var(--radix-select-trigger-width);
|
|
@@ -5294,6 +5903,14 @@ input[type='number'] {
|
|
|
5294
5903
|
width: 100%;
|
|
5295
5904
|
border-radius: inherit;
|
|
5296
5905
|
}
|
|
5906
|
+
/* Radix injects `display:table; min-width:100%` as inline style on the viewport's
|
|
5907
|
+
direct child. A display:table element sizes to its content's min-content width,
|
|
5908
|
+
ignoring max-width:100% (Chrome resolves the % against the table's own bloated
|
|
5909
|
+
width, not the viewport). contain:inline-size prevents content-based sizing:
|
|
5910
|
+
the table stays at min-width:100% = viewport width regardless of descendant content. */
|
|
5911
|
+
.dndev-scroll-area-viewport > div {
|
|
5912
|
+
contain: inline-size;
|
|
5913
|
+
}
|
|
5297
5914
|
.dndev-scroll-bar {
|
|
5298
5915
|
display: flex;
|
|
5299
5916
|
touch-action: none;
|
|
@@ -6432,7 +7049,7 @@ input[type='number'] {
|
|
|
6432
7049
|
flex-shrink: 0;
|
|
6433
7050
|
}
|
|
6434
7051
|
.dndev-switch-label {
|
|
6435
|
-
font-size: var(--font-size-
|
|
7052
|
+
font-size: var(--font-size-input);
|
|
6436
7053
|
transition:
|
|
6437
7054
|
color var(--dur-normal) var(--ease-in-out),
|
|
6438
7055
|
font-weight var(--dur-normal) var(--ease-in-out);
|
|
@@ -7323,7 +7940,8 @@ input[type='number'] {
|
|
|
7323
7940
|
[role='treeitem']:focus:not(:focus-visible) > .dndev-tree-node-content {
|
|
7324
7941
|
outline: none;
|
|
7325
7942
|
}
|
|
7326
|
-
/* Expand/collapse chevron
|
|
7943
|
+
/* Expand/collapse chevron — wrapper reserves the indent column (--icon-md),
|
|
7944
|
+
svg is the nested icon (--icon-sm). */
|
|
7327
7945
|
.dndev-tree-node-expand {
|
|
7328
7946
|
display: flex;
|
|
7329
7947
|
align-items: center;
|
|
@@ -7334,6 +7952,10 @@ input[type='number'] {
|
|
|
7334
7952
|
transition: transform var(--dur-normal) var(--ease-in-out);
|
|
7335
7953
|
color: var(--muted-foreground);
|
|
7336
7954
|
}
|
|
7955
|
+
.dndev-tree-node-expand svg {
|
|
7956
|
+
width: var(--icon-sm);
|
|
7957
|
+
height: var(--icon-sm);
|
|
7958
|
+
}
|
|
7337
7959
|
[role='treeitem'][aria-expanded='true']
|
|
7338
7960
|
> .dndev-tree-node-content
|
|
7339
7961
|
> .dndev-tree-node-expand {
|
|
@@ -7992,11 +8614,10 @@ input[type='number'] {
|
|
|
7992
8614
|
transform: translateY(calc(-1 * var(--gap-sm)));
|
|
7993
8615
|
box-shadow: var(--shadow-xl);
|
|
7994
8616
|
}
|
|
7995
|
-
/* Phase badge -
|
|
8617
|
+
/* Phase badge - used inside Card overlay container */
|
|
7996
8618
|
.dndev-roadmap-phase {
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
inset-inline-end: var(--gap-sm);
|
|
8619
|
+
display: inline-flex;
|
|
8620
|
+
align-items: center;
|
|
8000
8621
|
font-size: var(--font-size-xs);
|
|
8001
8622
|
font-weight: var(--font-weight-bold);
|
|
8002
8623
|
text-transform: uppercase;
|
|
@@ -8315,6 +8936,17 @@ input[type='number'] {
|
|
|
8315
8936
|
opacity: 1;
|
|
8316
8937
|
}
|
|
8317
8938
|
}
|
|
8939
|
+
/* ========== RIPPLE EFFECT ========== */
|
|
8940
|
+
@keyframes dndev-ripple {
|
|
8941
|
+
0% {
|
|
8942
|
+
transform: translate(-50%, -50%) scale(0);
|
|
8943
|
+
opacity: var(--ripple-opacity);
|
|
8944
|
+
}
|
|
8945
|
+
100% {
|
|
8946
|
+
transform: translate(-50%, -50%) scale(4);
|
|
8947
|
+
opacity: 0;
|
|
8948
|
+
}
|
|
8949
|
+
}
|
|
8318
8950
|
/* ========== ROUTING ANIMATIONS ========== */
|
|
8319
8951
|
/* Fade transition (default) */
|
|
8320
8952
|
@keyframes routing-fade-in {
|
|
@@ -9261,42 +9893,54 @@ h4[data-variant='code'] {
|
|
|
9261
9893
|
=========================== */
|
|
9262
9894
|
/* Full height */
|
|
9263
9895
|
.dndev-h-screen {
|
|
9896
|
+
height: 100vh;
|
|
9264
9897
|
height: 100dvh;
|
|
9265
9898
|
}
|
|
9266
9899
|
.dndev-min-h-screen {
|
|
9900
|
+
min-height: 100vh;
|
|
9267
9901
|
min-height: 100dvh;
|
|
9268
9902
|
}
|
|
9269
9903
|
.dndev-max-h-screen {
|
|
9904
|
+
max-height: 100vh;
|
|
9270
9905
|
max-height: 100dvh;
|
|
9271
9906
|
}
|
|
9272
9907
|
/* 90dvh - Large modals/dialogs */
|
|
9273
9908
|
.dndev-h-90 {
|
|
9909
|
+
height: 90vh;
|
|
9274
9910
|
height: 90dvh;
|
|
9275
9911
|
}
|
|
9276
9912
|
.dndev-min-h-90 {
|
|
9913
|
+
min-height: 90vh;
|
|
9277
9914
|
min-height: 90dvh;
|
|
9278
9915
|
}
|
|
9279
9916
|
.dndev-max-h-90 {
|
|
9917
|
+
max-height: 90vh;
|
|
9280
9918
|
max-height: 90dvh;
|
|
9281
9919
|
}
|
|
9282
9920
|
/* 80dvh - Standard modals/dialogs */
|
|
9283
9921
|
.dndev-h-80 {
|
|
9922
|
+
height: 80vh;
|
|
9284
9923
|
height: 80dvh;
|
|
9285
9924
|
}
|
|
9286
9925
|
.dndev-min-h-80 {
|
|
9926
|
+
min-height: 80vh;
|
|
9287
9927
|
min-height: 80dvh;
|
|
9288
9928
|
}
|
|
9289
9929
|
.dndev-max-h-80 {
|
|
9930
|
+
max-height: 80vh;
|
|
9290
9931
|
max-height: 80dvh;
|
|
9291
9932
|
}
|
|
9292
9933
|
/* 60dvh - Compact sections */
|
|
9293
9934
|
.dndev-h-60 {
|
|
9935
|
+
height: 60vh;
|
|
9294
9936
|
height: 60dvh;
|
|
9295
9937
|
}
|
|
9296
9938
|
.dndev-min-h-60 {
|
|
9939
|
+
min-height: 60vh;
|
|
9297
9940
|
min-height: 60dvh;
|
|
9298
9941
|
}
|
|
9299
9942
|
.dndev-max-h-60 {
|
|
9943
|
+
max-height: 60vh;
|
|
9300
9944
|
max-height: 60dvh;
|
|
9301
9945
|
}
|
|
9302
9946
|
/* ===========================
|
|
@@ -9513,7 +10157,9 @@ main[role='main'][data-routing-animation='none'] {
|
|
|
9513
10157
|
.dndev-layout {
|
|
9514
10158
|
position: relative;
|
|
9515
10159
|
width: 100%;
|
|
10160
|
+
height: 100vh;
|
|
9516
10161
|
height: 100dvh;
|
|
10162
|
+
max-height: 100vh;
|
|
9517
10163
|
max-height: 100dvh;
|
|
9518
10164
|
overflow: hidden;
|
|
9519
10165
|
display: grid;
|
|
@@ -9535,13 +10181,17 @@ main[role='main'][data-routing-animation='none'] {
|
|
|
9535
10181
|
'sidebar main';
|
|
9536
10182
|
grid-template-rows: var(--header-height) 1fr;
|
|
9537
10183
|
}
|
|
9538
|
-
/*
|
|
9539
|
-
|
|
10184
|
+
/* Custom footer: content-driven grid row height (no 50px minimum from --footer-height) */
|
|
10185
|
+
.dndev-layout:has(> footer[data-custom]) {
|
|
10186
|
+
grid-template-rows: var(--header-height) 1fr auto;
|
|
10187
|
+
}
|
|
10188
|
+
/* Footer inside main: spacing + sizing (slotted mode only) */
|
|
10189
|
+
main[role='main'] > footer[role='contentinfo']:not([data-custom]) {
|
|
9540
10190
|
margin-top: var(--gap-lg);
|
|
9541
10191
|
flex-shrink: 0;
|
|
9542
10192
|
height: auto;
|
|
9543
10193
|
}
|
|
9544
|
-
main[role='main'] > footer[role='contentinfo'] > * {
|
|
10194
|
+
main[role='main'] > footer[role='contentinfo']:not([data-custom]) > * {
|
|
9545
10195
|
height: auto;
|
|
9546
10196
|
min-height: var(--footer-height);
|
|
9547
10197
|
}
|
|
@@ -9557,6 +10207,7 @@ main[role='main'] > footer[role='contentinfo'] > * {
|
|
|
9557
10207
|
/* Header: Always at top, full width, defined height */
|
|
9558
10208
|
/* box-sizing: border-box ensures borders are included in height (already set globally, explicit here for clarity) */
|
|
9559
10209
|
header[role='banner'] {
|
|
10210
|
+
/* Structural - always applies */
|
|
9560
10211
|
grid-area: header;
|
|
9561
10212
|
box-sizing: border-box;
|
|
9562
10213
|
height: var(--header-height);
|
|
@@ -9575,12 +10226,6 @@ header[role='banner'] {
|
|
|
9575
10226
|
display: flex;
|
|
9576
10227
|
align-items: center;
|
|
9577
10228
|
justify-content: space-between;
|
|
9578
|
-
gap: var(--gap-sm);
|
|
9579
|
-
padding-inline-start: var(--content-padding);
|
|
9580
|
-
padding-inline-end: var(--content-padding);
|
|
9581
|
-
|
|
9582
|
-
background: var(--background);
|
|
9583
|
-
border-bottom: var(--border-hairline) solid var(--border);
|
|
9584
10229
|
|
|
9585
10230
|
/* Mobile: Sticky header (for presets that keep header visible) */
|
|
9586
10231
|
}
|
|
@@ -9590,6 +10235,14 @@ header[role='banner'] {
|
|
|
9590
10235
|
top: 0;
|
|
9591
10236
|
}
|
|
9592
10237
|
}
|
|
10238
|
+
/* Header visual polish - slotted mode only (custom mode owns its own visuals) */
|
|
10239
|
+
header[role='banner']:not([data-custom]) {
|
|
10240
|
+
gap: var(--gap-sm);
|
|
10241
|
+
padding-inline-start: var(--content-padding);
|
|
10242
|
+
padding-inline-end: var(--content-padding);
|
|
10243
|
+
background: var(--background);
|
|
10244
|
+
border-bottom: var(--border-hairline) solid var(--border);
|
|
10245
|
+
}
|
|
9593
10246
|
.header-start {
|
|
9594
10247
|
display: flex;
|
|
9595
10248
|
align-items: center;
|
|
@@ -9644,6 +10297,7 @@ header[role='banner'] .header-center {
|
|
|
9644
10297
|
/* Sidebar: Underneath header, left = 0, width controlled by grid column */
|
|
9645
10298
|
/* box-sizing: border-box ensures borders are included in width (already set globally, explicit here for clarity) */
|
|
9646
10299
|
aside[role='navigation'].sidebar {
|
|
10300
|
+
/* Structural - always applies */
|
|
9647
10301
|
grid-area: sidebar;
|
|
9648
10302
|
box-sizing: border-box;
|
|
9649
10303
|
min-width: calc(var(--sidebar-resize-handle-width) + 48px);
|
|
@@ -9651,21 +10305,19 @@ aside[role='navigation'].sidebar {
|
|
|
9651
10305
|
max-width: calc(var(--sidebar-resize-handle-width) + 400px);
|
|
9652
10306
|
/* Max: 400px content + 6px handle = 406px */
|
|
9653
10307
|
z-index: var(--z-sidebar);
|
|
9654
|
-
overflow:
|
|
9655
|
-
/*
|
|
10308
|
+
overflow-x: hidden;
|
|
10309
|
+
/* Horizontal must be clipped — handle is in grid so vertical needs no clipping */
|
|
9656
10310
|
contain: layout style;
|
|
9657
10311
|
padding: 0;
|
|
9658
10312
|
display: grid;
|
|
9659
10313
|
grid-template-columns: auto var(--sidebar-resize-handle-width);
|
|
9660
10314
|
/* Content | Handle - column 1 width set inline */
|
|
9661
|
-
grid-template-rows: auto 1fr auto;
|
|
9662
|
-
/* Top | Content | Bottom
|
|
10315
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
10316
|
+
/* Top | Content | Bottom. `minmax(0, 1fr)` overrides the default `auto`
|
|
10317
|
+
min track size so the content row can shrink below its content height,
|
|
10318
|
+
which is what lets `.sidebar-content`'s overflow-y: auto actually fire. */
|
|
9663
10319
|
height: 100%;
|
|
9664
10320
|
|
|
9665
|
-
/* Theme-aware styling - 100% controlled by theme system */
|
|
9666
|
-
background: var(--background);
|
|
9667
|
-
/* No border - resize handle is the visual separator */
|
|
9668
|
-
|
|
9669
10321
|
/* Desktop presets with no sidebar: Hide sidebar element for performance/accessibility */
|
|
9670
10322
|
/* Landing, Plain, Game have --sidebar-width: 0px, also need display: none */
|
|
9671
10323
|
}
|
|
@@ -9676,6 +10328,11 @@ aside[role='navigation'].sidebar {
|
|
|
9676
10328
|
[data-layout='moolti']:root aside.sidebar[role='navigation'] {
|
|
9677
10329
|
grid-row: 1 / -1;
|
|
9678
10330
|
}
|
|
10331
|
+
/* Sidebar visual polish - slotted mode only (custom mode owns its own visuals) */
|
|
10332
|
+
aside[role='navigation'].sidebar:not([data-custom]) {
|
|
10333
|
+
background: var(--background);
|
|
10334
|
+
/* No border - resize handle is the visual separator */
|
|
10335
|
+
}
|
|
9679
10336
|
/* ===========================
|
|
9680
10337
|
RESIZABLE SIDEBAR STYLES
|
|
9681
10338
|
=========================== */
|
|
@@ -9740,7 +10397,9 @@ aside[role='navigation'].sidebar[data-dragging='true']
|
|
|
9740
10397
|
grid-row: 2;
|
|
9741
10398
|
overflow-y: auto;
|
|
9742
10399
|
min-height: 0;
|
|
9743
|
-
|
|
10400
|
+
/* `safe` falls back to flex-start on overflow. Without it, centered overflow
|
|
10401
|
+
pushes the top half above scrollTop=0 where it's unreachable. */
|
|
10402
|
+
justify-content: safe center;
|
|
9744
10403
|
/* Zero gap between items - they touch vertically */
|
|
9745
10404
|
gap: var(--gap-none);
|
|
9746
10405
|
|
|
@@ -9774,6 +10433,11 @@ aside[role='navigation'].sidebar[data-dragging='true']
|
|
|
9774
10433
|
gap: var(--gap-sm);
|
|
9775
10434
|
padding-block-start: var(--gap-md);
|
|
9776
10435
|
}
|
|
10436
|
+
/* Reduce Section padding when inside sidebar - sidebar space is precious */
|
|
10437
|
+
.sidebar-content .dndev-section-content {
|
|
10438
|
+
padding-inline: var(--gap-sm);
|
|
10439
|
+
padding-block: var(--gap-sm);
|
|
10440
|
+
}
|
|
9777
10441
|
/* Interactive elements in all zones: full width */
|
|
9778
10442
|
.sidebar-top .dndev-interactive,
|
|
9779
10443
|
.sidebar-content .dndev-interactive,
|
|
@@ -9837,6 +10501,10 @@ aside.sidebar[role='navigation'][data-collapsed='true'] .app-branding {
|
|
|
9837
10501
|
:is(aside.sidebar[role='navigation'][data-collapsed='true'] .app-branding) .app-branding-title {
|
|
9838
10502
|
display: none;
|
|
9839
10503
|
}
|
|
10504
|
+
/* Custom sidebar content: hide labeled text, keep icons */
|
|
10505
|
+
aside.sidebar[role='navigation'][data-collapsed='true'] .sidebar-collapsible {
|
|
10506
|
+
display: none;
|
|
10507
|
+
}
|
|
9840
10508
|
/* Main content: Starts at header-height and sidebar-width */
|
|
9841
10509
|
main[role='main'] {
|
|
9842
10510
|
grid-area: main;
|
|
@@ -9855,25 +10523,22 @@ main[role='main'] > *:not(.breadcrumbs-container):first-of-type,main[role='main'
|
|
|
9855
10523
|
/* Footer: Full width by default, app presets start after sidebar */
|
|
9856
10524
|
/* box-sizing: border-box ensures borders are included in height */
|
|
9857
10525
|
footer[role='contentinfo'] {
|
|
10526
|
+
/* Structural - always applies */
|
|
9858
10527
|
grid-area: footer;
|
|
9859
10528
|
box-sizing: border-box;
|
|
9860
10529
|
grid-column: 1 / -1;
|
|
9861
|
-
min-height: var(--footer-height);
|
|
9862
10530
|
z-index: var(--z-footer);
|
|
9863
|
-
|
|
9864
|
-
background: var(--background);
|
|
9865
|
-
border-top: var(--border-hairline) solid var(--border);
|
|
9866
|
-
|
|
9867
|
-
/* Flex container for vertical centering only - components handle horizontal layout */
|
|
9868
10531
|
display: flex;
|
|
9869
10532
|
align-items: center;
|
|
9870
|
-
|
|
9871
|
-
/* No padding - preset components handle their own spacing */
|
|
9872
10533
|
padding: 0;
|
|
9873
|
-
|
|
9874
|
-
/* Children take full width and height - components handle their own layout */
|
|
9875
10534
|
}
|
|
9876
|
-
|
|
10535
|
+
/* Footer sizing + visual polish - slotted mode only (custom mode owns its own visuals) */
|
|
10536
|
+
footer[role='contentinfo']:not([data-custom]) {
|
|
10537
|
+
min-height: var(--footer-height);
|
|
10538
|
+
background: var(--background);
|
|
10539
|
+
border-top: var(--border-hairline) solid var(--border);
|
|
10540
|
+
}
|
|
10541
|
+
footer[role='contentinfo']:not([data-custom]) > * {
|
|
9877
10542
|
width: 100%;
|
|
9878
10543
|
height: 100%;
|
|
9879
10544
|
padding-inline-start: var(--content-padding);
|
|
@@ -9881,21 +10546,21 @@ footer[role='contentinfo'] > * {
|
|
|
9881
10546
|
}
|
|
9882
10547
|
/* Mobile: Allow footer to grow when content wraps */
|
|
9883
10548
|
@media (width <=1023px) {
|
|
9884
|
-
footer[role='contentinfo'] {
|
|
10549
|
+
footer[role='contentinfo']:not([data-custom]) {
|
|
9885
10550
|
height: auto;
|
|
9886
10551
|
}
|
|
9887
10552
|
|
|
9888
|
-
footer[role='contentinfo'] > * {
|
|
10553
|
+
footer[role='contentinfo']:not([data-custom]) > * {
|
|
9889
10554
|
height: auto;
|
|
9890
10555
|
min-height: var(--footer-height);
|
|
9891
10556
|
}
|
|
9892
10557
|
}
|
|
9893
|
-
/* Footer text styles */
|
|
9894
|
-
footer[role='contentinfo'] .footer-copyright {
|
|
10558
|
+
/* Footer text styles - slotted mode only */
|
|
10559
|
+
footer[role='contentinfo']:not([data-custom]) .footer-copyright {
|
|
9895
10560
|
color: var(--muted-foreground);
|
|
9896
10561
|
font-size: var(--font-size-xs);
|
|
9897
10562
|
}
|
|
9898
|
-
footer[role='contentinfo'] a:not(.dndev-interactive) {
|
|
10563
|
+
footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive) {
|
|
9899
10564
|
transition: color var(--dur-fast) ease-out;
|
|
9900
10565
|
text-decoration: underline;
|
|
9901
10566
|
text-underline-offset: 2px;
|
|
@@ -9903,7 +10568,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive) {
|
|
|
9903
10568
|
font-size: var(--font-size-sm);
|
|
9904
10569
|
background: transparent;
|
|
9905
10570
|
}
|
|
9906
|
-
footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
10571
|
+
footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
|
|
9907
10572
|
color: var(--primary);
|
|
9908
10573
|
}
|
|
9909
10574
|
/* ===========================
|
|
@@ -9952,41 +10617,25 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
9952
10617
|
}
|
|
9953
10618
|
/* Mobile (<1024px): Show merged-bar, hide zones */
|
|
9954
10619
|
@media (width <=1023px) {
|
|
9955
|
-
/*
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
[data-layout='game'] .merged-bar[data-position='top'],
|
|
9959
|
-
[data-layout='docs'] .merged-bar[data-position='top'] {
|
|
10620
|
+
/* Generic: show mergedBar on mobile when rendered (DnDevLayout only renders it when config has mobile.mergedBar) */
|
|
10621
|
+
.merged-bar[data-position='top'],
|
|
10622
|
+
.merged-bar[data-position='bottom'] {
|
|
9960
10623
|
display: flex;
|
|
9961
10624
|
}
|
|
9962
10625
|
|
|
9963
|
-
|
|
9964
|
-
[data-
|
|
9965
|
-
[data-layout='game'] .dndev-layout,
|
|
9966
|
-
[data-layout='docs'] .dndev-layout {
|
|
9967
|
-
/* Remove padding-top - grid already accounts for header-height, mergedBar is fixed and doesn't affect grid flow */
|
|
9968
|
-
/* Content won't go under mergedBar because grid positions main after header row */
|
|
9969
|
-
}
|
|
9970
|
-
|
|
9971
|
-
[data-layout='admin'] header[role='banner'],
|
|
9972
|
-
[data-layout='moolti'] header[role='banner'],
|
|
9973
|
-
[data-layout='game'] header[role='banner'],
|
|
9974
|
-
[data-layout='docs'] header[role='banner'] {
|
|
10626
|
+
/* Generic: hide header on mobile when mergedBar replaces it */
|
|
10627
|
+
.dndev-layout[data-has-mergedbar] header[role='banner'] {
|
|
9975
10628
|
display: none;
|
|
9976
10629
|
}
|
|
9977
10630
|
|
|
9978
|
-
/*
|
|
9979
|
-
|
|
9980
|
-
|
|
10631
|
+
/* Bottom mergedBar: hide footer + add safe-area padding */
|
|
10632
|
+
.dndev-layout:has(.merged-bar[data-position='bottom'])
|
|
10633
|
+
> footer[role='contentinfo'] {
|
|
10634
|
+
display: none;
|
|
9981
10635
|
}
|
|
9982
|
-
|
|
9983
|
-
[data-layout='blog'] .dndev-layout {
|
|
10636
|
+
.dndev-layout:has(.merged-bar[data-position='bottom']) {
|
|
9984
10637
|
padding-bottom: calc(48px + env(safe-area-inset-bottom));
|
|
9985
10638
|
}
|
|
9986
|
-
|
|
9987
|
-
[data-layout='blog'] footer[role='contentinfo'] {
|
|
9988
|
-
display: none;
|
|
9989
|
-
}
|
|
9990
10639
|
}
|
|
9991
10640
|
/* Desktop (>=1024px): Always hide merged-bar */
|
|
9992
10641
|
@media (width >=1024px) {
|
|
@@ -10212,7 +10861,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
10212
10861
|
=========================== */
|
|
10213
10862
|
.dndev-container {
|
|
10214
10863
|
width: 100%;
|
|
10215
|
-
max-width: var(--content-width);
|
|
10864
|
+
max-width: var(--max-content-width);
|
|
10216
10865
|
min-width: 0; /* Allow shrinking in flex so max-width wins */
|
|
10217
10866
|
flex: 1 1 auto;
|
|
10218
10867
|
|
|
@@ -10251,20 +10900,24 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
10251
10900
|
--max-content-width: 100%;
|
|
10252
10901
|
max-width: none;
|
|
10253
10902
|
}
|
|
10254
|
-
/* Standard width - responsive
|
|
10903
|
+
/* Standard width - responsive.
|
|
10904
|
+
Base rule `max-width: var(--max-content-width)` picks up the local override.
|
|
10905
|
+
Do NOT add an explicit `max-width: var(--content-width)` here — `--content-width`
|
|
10906
|
+
is resolved eagerly at :root (where --max-content-width is 100%) and inherits as
|
|
10907
|
+
100%, overriding the local variant. The base rule reads --max-content-width
|
|
10908
|
+
directly at the element and gets the correct value. */
|
|
10255
10909
|
.dndev-container[data-variant='standard'] {
|
|
10256
10910
|
--max-content-width: var(--content-width-standard);
|
|
10257
|
-
max-width: var(--content-width);
|
|
10258
10911
|
}
|
|
10259
|
-
/* Docs width - responsive
|
|
10912
|
+
/* Docs width - responsive. See [data-variant='standard'] for why there's no
|
|
10913
|
+
explicit max-width here. */
|
|
10260
10914
|
.dndev-container[data-variant='docs'] {
|
|
10261
10915
|
--max-content-width: var(--content-width-docs);
|
|
10262
|
-
max-width: var(--content-width);
|
|
10263
10916
|
}
|
|
10264
|
-
/* Narrow width - mobile-first single column (PWA, app-like on every device)
|
|
10917
|
+
/* Narrow width - mobile-first single column (PWA, app-like on every device).
|
|
10918
|
+
See [data-variant='standard'] for why there's no explicit max-width here. */
|
|
10265
10919
|
.dndev-container[data-variant='narrow'] {
|
|
10266
10920
|
--max-content-width: var(--content-width-narrow);
|
|
10267
|
-
max-width: var(--content-width);
|
|
10268
10921
|
}
|
|
10269
10922
|
/* Fixed frame - fills parent exactly, prevents parent scroll */
|
|
10270
10923
|
.dndev-container[data-variant='fixed'] {
|
|
@@ -10308,8 +10961,11 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
10308
10961
|
.dndev-container > .dndev-tech-bento {
|
|
10309
10962
|
/* Break out of PageContainer padding and max-width constraint */
|
|
10310
10963
|
/* Account for sidebar: --sidebar-width is 0px for presets without sidebar */
|
|
10964
|
+
width: calc(100vw - var(--sidebar-width));
|
|
10311
10965
|
width: calc(100dvw - var(--sidebar-width));
|
|
10966
|
+
max-width: calc(100vw - var(--sidebar-width));
|
|
10312
10967
|
max-width: calc(100dvw - var(--sidebar-width));
|
|
10968
|
+
margin-inline: calc((-50vw + var(--sidebar-width) / 2) + 50%);
|
|
10313
10969
|
margin-inline: calc((-50dvw + var(--sidebar-width) / 2) + 50%);
|
|
10314
10970
|
/* Eat gap BEFORE section only */
|
|
10315
10971
|
margin-top: calc(-1 * var(--gap-lg));
|
|
@@ -10317,10 +10973,14 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
10317
10973
|
/* Pass through so inner content (e.g. .dndev-section-content) can use it */
|
|
10318
10974
|
--content-width: var(--max-content-width, 100%);
|
|
10319
10975
|
}
|
|
10320
|
-
/* HeroSection:
|
|
10321
|
-
.dndev-container > .dndev-hero-section[style*='height']
|
|
10976
|
+
/* HeroSection: breakthrough when fullHeight or contain mode */
|
|
10977
|
+
.dndev-container > .dndev-hero-section[style*='height'],
|
|
10978
|
+
.dndev-container > .dndev-hero-section--bg-contain {
|
|
10979
|
+
width: calc(100vw - var(--sidebar-width));
|
|
10322
10980
|
width: calc(100dvw - var(--sidebar-width));
|
|
10981
|
+
max-width: calc(100vw - var(--sidebar-width));
|
|
10323
10982
|
max-width: calc(100dvw - var(--sidebar-width));
|
|
10983
|
+
margin-inline: calc((-50vw + var(--sidebar-width) / 2) + 50%);
|
|
10324
10984
|
margin-inline: calc((-50dvw + var(--sidebar-width) / 2) + 50%);
|
|
10325
10985
|
margin-top: calc(-1 * var(--gap-lg));
|
|
10326
10986
|
margin-bottom: 0;
|