@donotdev/ui 0.1.1 → 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-RU5RP7S2.js → GoToDialog-CICRYHHG.js} +1 -1
- package/dist/chunk-MIPTBUWY.js +1 -0
- package/dist/components/common/FeatureCard.d.ts +9 -6
- package/dist/components/common/FeatureCard.d.ts.map +1 -1
- package/dist/components/common/FeatureCard.js +43 -32
- package/dist/components/cookie-consent/CookieConsent.d.ts +3 -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/components/header/CacheSettings.d.ts.map +1 -1
- package/dist/components/layout/components/header/CacheSettings.js +6 -2
- package/dist/crud/components/EntityCardList.d.ts.map +1 -1
- package/dist/crud/components/EntityCardList.js +17 -4
- package/dist/crud/components/EntityDisplayRenderer.js +4 -4
- 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 +31 -21
- package/dist/crud/components/EntityList.d.ts.map +1 -1
- package/dist/crud/components/EntityList.js +56 -72
- package/dist/crud/components/EntityRecommendations.d.ts.map +1 -1
- package/dist/crud/components/EntityWorkflow.d.ts.map +1 -1
- package/dist/crud/components/EntityWorkflow.js +1 -1
- package/dist/crud/crudImports.d.ts +0 -1
- package/dist/crud/crudImports.d.ts.map +1 -1
- package/dist/crud/crudImports.js +0 -1
- package/dist/dndev-next.css +644 -107
- package/dist/dndev.css +778 -117
- 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/devtools/components/DesignTab.d.ts.map +1 -1
- package/dist/internal/devtools/utils/virtualModuleInspector.d.ts.map +1 -1
- package/dist/internal/devtools/utils/virtualModuleInspector.js +12 -1
- 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 +8 -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 +32 -13
- package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/AutoMetaTags.js +3 -7
- 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 +1 -1
- package/dist/internal/layout/zones/DnDevFooter.d.ts.map +1 -1
- package/dist/internal/layout/zones/DnDevFooter.js +1 -1
- package/dist/providers/NextJsAppProviders.d.ts.map +1 -1
- package/dist/providers/NextJsAppProviders.js +12 -8
- package/dist/routing/AuthGuard.d.ts.map +1 -1
- package/dist/routing/AuthGuard.js +1 -1
- package/dist/routing/AuthReturnTo.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 +2 -6
- package/dist/routing/hooks/useNavigate.next.d.ts.map +1 -1
- package/dist/routing/hooks/useNavigate.next.js +5 -52
- package/dist/routing/hooks/useNavigate.vite.d.ts +2 -6
- package/dist/routing/hooks/useNavigate.vite.d.ts.map +1 -1
- package/dist/routing/hooks/useNavigate.vite.js +5 -52
- package/dist/routing/hooks/useRedirectGuard.next.d.ts.map +1 -1
- package/dist/routing/hooks/useRedirectGuard.next.js +5 -1
- package/dist/routing/hooks/useRedirectGuard.vite.d.ts.map +1 -1
- package/dist/routing/hooks/useRedirectGuard.vite.js +5 -1
- package/dist/routing/useGoTo.d.ts.map +1 -1
- package/dist/routing/useGoTo.js +12 -17
- package/dist/styles/index.css +778 -117
- package/dist/symbol-index.json +1 -1
- package/dist/utils/useAuthSafe.d.ts.map +1 -1
- package/dist/utils/useSeo.d.ts +1 -1
- package/dist/utils/useSeo.d.ts.map +1 -1
- package/dist/utils/useSeo.js +3 -1
- package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
- package/dist/vite-routing/AppRoutes.js +7 -2
- package/dist/vite-routing/RootLayout.d.ts.map +1 -1
- package/dist/vite-routing/RootLayout.js +1 -4
- package/guidelines/COMPONENTS.md +0 -0
- package/guidelines/GOTCHAS.md +0 -0
- package/guidelines/LAYOUTS.md +0 -0
- package/guidelines/PAGES.md +0 -0
- package/guidelines/ROUTING.md +0 -0
- package/guidelines/SEO.md +0 -0
- package/package.json +13 -13
- package/dist/CookieConsent-UVTR7CWW.js +0 -1
- package/dist/chunk-ETE4RC7M.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/styles/index.css
CHANGED
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
Standard touch-friendly sizing for all interactive components
|
|
29
29
|
=========================== */
|
|
30
30
|
--touch-target: 48px;
|
|
31
|
-
--icon-
|
|
31
|
+
--icon-sm: 16px; /* Nested icon size (inside inputs, action buttons, badges) */
|
|
32
|
+
--icon-md: 24px; /* Standard standalone icon size */
|
|
32
33
|
--icon-touch: 32px; /* Large icon size (reserved) */
|
|
33
34
|
|
|
34
35
|
/* ===========================
|
|
@@ -133,6 +134,13 @@
|
|
|
133
134
|
--popover: var(--card);
|
|
134
135
|
--popover-foreground: var(--card-foreground);
|
|
135
136
|
|
|
137
|
+
/*
|
|
138
|
+
* Interactive surface — background for inputs (.dndev-input) and outline
|
|
139
|
+
* buttons (.dndev-interactive[data-variant='outline']). Parallel to --card
|
|
140
|
+
* for containers. Defaults to transparent so apps opt in via themes.css.
|
|
141
|
+
*/
|
|
142
|
+
--interactive: transparent;
|
|
143
|
+
|
|
136
144
|
/*
|
|
137
145
|
* Root card snapshot — computed once on :root from --card/--card-foreground,
|
|
138
146
|
* then inherited unchanged. Variant blocks (e.g. primary) override --card but
|
|
@@ -181,6 +189,7 @@
|
|
|
181
189
|
--font-size-xs: 0.75rem; /* 12px - captions, shortcuts, meta */
|
|
182
190
|
--font-size-sm: 0.875rem; /* 14px - small text, captions */
|
|
183
191
|
--font-size-base: 1rem; /* 16px - body text, DEFAULT */
|
|
192
|
+
--font-size-input: 16px; /* Form field text - hardcoded for iOS zoom + density-proof */
|
|
184
193
|
--font-size-lg: 1.25rem; /* 20px - base × 1.25¹ - emphasized text */
|
|
185
194
|
--font-size-xl: 1.563rem; /* 25px - base × 1.25² - headings */
|
|
186
195
|
--font-size-2xl: 1.953rem; /* 31px - base × 1.25³ - large headings */
|
|
@@ -279,7 +288,7 @@
|
|
|
279
288
|
Micro-interactions for buttons and interactive elements.
|
|
280
289
|
Set to 0/1 to disable individual effects.
|
|
281
290
|
=========================== */
|
|
282
|
-
--hover-lift:
|
|
291
|
+
--hover-lift: 0; /* translateY on hover (0 = disabled) */
|
|
283
292
|
--click-scale: 0.97; /* scale on click (1 = disabled) */
|
|
284
293
|
--ripple-opacity: 0.2; /* ripple effect opacity (0 = disabled) */
|
|
285
294
|
|
|
@@ -791,13 +800,13 @@ em {
|
|
|
791
800
|
width: 100%;
|
|
792
801
|
border-radius: var(--radius-interactive);
|
|
793
802
|
border: var(--border-hairline) solid var(--line-2);
|
|
794
|
-
background-color: transparent;
|
|
803
|
+
background-color: var(--interactive, transparent);
|
|
795
804
|
color: var(--foreground);
|
|
796
805
|
padding-inline-start: var(--gap-md);
|
|
797
806
|
padding-inline-end: var(--gap-md);
|
|
798
807
|
padding-top: var(--gap-sm);
|
|
799
808
|
padding-bottom: var(--gap-sm);
|
|
800
|
-
font-size:
|
|
809
|
+
font-size: var(--font-size-input);
|
|
801
810
|
box-shadow: var(--shadow-sm);
|
|
802
811
|
transition: all var(--dur-normal) var(--ease-in-out);
|
|
803
812
|
/* Touch target for mobile */
|
|
@@ -817,10 +826,12 @@ em {
|
|
|
817
826
|
|
|
818
827
|
.dndev-input::-moz-placeholder {
|
|
819
828
|
color: var(--placeholder);
|
|
829
|
+
font-size: var(--font-size-input);
|
|
820
830
|
}
|
|
821
831
|
|
|
822
832
|
.dndev-input::placeholder {
|
|
823
833
|
color: var(--placeholder);
|
|
834
|
+
font-size: var(--font-size-input);
|
|
824
835
|
}
|
|
825
836
|
|
|
826
837
|
.dndev-input:hover {
|
|
@@ -876,6 +887,56 @@ em {
|
|
|
876
887
|
color: var(--placeholder);
|
|
877
888
|
}
|
|
878
889
|
|
|
890
|
+
/* ===========================
|
|
891
|
+
INLINE ACTION BUTTONS
|
|
892
|
+
=========================== */
|
|
893
|
+
|
|
894
|
+
/** Shared pattern for inline clear/action buttons inside input-like components.
|
|
895
|
+
* Used by: Combobox trailing buttons, RangeInput clear, DateFilter clear. */
|
|
896
|
+
|
|
897
|
+
.dndev-inline-action-btn {
|
|
898
|
+
all: unset;
|
|
899
|
+
display: flex;
|
|
900
|
+
align-items: center;
|
|
901
|
+
justify-content: center;
|
|
902
|
+
width: var(--touch-target);
|
|
903
|
+
height: 100%;
|
|
904
|
+
cursor: pointer;
|
|
905
|
+
color: var(--muted-foreground);
|
|
906
|
+
opacity: var(--opacity-muted, 0.5);
|
|
907
|
+
transition:
|
|
908
|
+
color var(--dur-fast) var(--ease-in-out),
|
|
909
|
+
opacity var(--dur-fast) var(--ease-in-out);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.dndev-inline-action-btn:hover:not(:disabled) {
|
|
913
|
+
opacity: 1;
|
|
914
|
+
color: var(--foreground);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.dndev-inline-action-btn:focus-visible {
|
|
918
|
+
opacity: 1;
|
|
919
|
+
color: var(--foreground);
|
|
920
|
+
outline: none;
|
|
921
|
+
box-shadow:
|
|
922
|
+
0 0 0 2px var(--ring),
|
|
923
|
+
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.dndev-inline-action-btn:active:not(:disabled) {
|
|
927
|
+
opacity: 0.8;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
.dndev-inline-action-btn:disabled {
|
|
931
|
+
cursor: not-allowed;
|
|
932
|
+
opacity: calc(var(--opacity-muted, 0.5) * 0.5);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.dndev-inline-action-btn svg {
|
|
936
|
+
width: var(--icon-sm);
|
|
937
|
+
height: var(--icon-sm);
|
|
938
|
+
}
|
|
939
|
+
|
|
879
940
|
/* Control base class - checkbox, radio, switch, slider */
|
|
880
941
|
|
|
881
942
|
.dndev-control {
|
|
@@ -1432,7 +1493,7 @@ em {
|
|
|
1432
1493
|
text-transform: var(--text-transform-button, none);
|
|
1433
1494
|
transition:
|
|
1434
1495
|
background var(--dur-fast) var(--ease-in-out),
|
|
1435
|
-
|
|
1496
|
+
color var(--dur-fast) var(--ease-in-out),
|
|
1436
1497
|
box-shadow var(--dur-fast) var(--ease-in-out),
|
|
1437
1498
|
border-color var(--dur-fast) var(--ease-in-out);
|
|
1438
1499
|
cursor: pointer;
|
|
@@ -1446,11 +1507,10 @@ em {
|
|
|
1446
1507
|
|
|
1447
1508
|
.dndev-interactive:hover {
|
|
1448
1509
|
background: color-mix(in oklab, var(--primary) 85%, var(--foreground));
|
|
1449
|
-
transform: translateY(var(--hover-lift));
|
|
1450
1510
|
}
|
|
1451
1511
|
|
|
1452
1512
|
.dndev-interactive:active:not(:disabled) {
|
|
1453
|
-
transform:
|
|
1513
|
+
transform: scale(var(--click-scale));
|
|
1454
1514
|
}
|
|
1455
1515
|
|
|
1456
1516
|
.dndev-interactive:focus-visible {
|
|
@@ -1535,17 +1595,34 @@ em {
|
|
|
1535
1595
|
}
|
|
1536
1596
|
|
|
1537
1597
|
/* ═══════════════════════════
|
|
1538
|
-
|
|
1598
|
+
TRANSPARENT VARIANTS
|
|
1539
1599
|
═══════════════════════════ */
|
|
1540
1600
|
|
|
1541
|
-
/*
|
|
1601
|
+
/* Outline — themeable interactive surface (parallel to --card) */
|
|
1602
|
+
|
|
1603
|
+
.dndev-interactive[data-variant='outline'] {
|
|
1604
|
+
background: var(--interactive, transparent);
|
|
1605
|
+
color: var(--foreground);
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
/* Ghost / nav / menu / command — transparent by design */
|
|
1542
1609
|
|
|
1543
|
-
.dndev-interactive[data-variant='
|
|
1610
|
+
.dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'] {
|
|
1544
1611
|
background: transparent;
|
|
1545
1612
|
color: var(--foreground);
|
|
1546
1613
|
}
|
|
1547
1614
|
|
|
1548
|
-
|
|
1615
|
+
/* Ghost — hover = font color only, no bg, no lift */
|
|
1616
|
+
|
|
1617
|
+
.dndev-interactive[data-variant='ghost']:hover {
|
|
1618
|
+
background: transparent;
|
|
1619
|
+
color: var(--primary);
|
|
1620
|
+
transform: none;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
/* Outline / menu / nav — hover = subtle tint + text color shift */
|
|
1624
|
+
|
|
1625
|
+
: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 {
|
|
1549
1626
|
background: rgb(from var(--primary) r g b / 0.1);
|
|
1550
1627
|
color: var(--primary);
|
|
1551
1628
|
}
|
|
@@ -1583,7 +1660,9 @@ em {
|
|
|
1583
1660
|
}
|
|
1584
1661
|
|
|
1585
1662
|
.dndev-interactive[data-variant='link']:hover {
|
|
1663
|
+
background: transparent;
|
|
1586
1664
|
color: var(--primary);
|
|
1665
|
+
transform: none;
|
|
1587
1666
|
}
|
|
1588
1667
|
|
|
1589
1668
|
/* Context-aware: ONLY inside accent surfaces */
|
|
@@ -1595,18 +1674,28 @@ em {
|
|
|
1595
1674
|
color: var(--surface-bg);
|
|
1596
1675
|
}
|
|
1597
1676
|
|
|
1598
|
-
/* Outline
|
|
1677
|
+
/* Outline adapts with tint */
|
|
1599
1678
|
|
|
1600
|
-
[data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive)
|
|
1679
|
+
[data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
|
|
1601
1680
|
color: var(--surface-text);
|
|
1602
1681
|
}
|
|
1603
1682
|
|
|
1604
|
-
|
|
1683
|
+
[data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
|
|
1605
1684
|
background: rgb(from var(--surface-text) r g b / 0.1);
|
|
1606
1685
|
color: var(--surface-text);
|
|
1607
1686
|
}
|
|
1608
1687
|
|
|
1609
|
-
/*
|
|
1688
|
+
/* Ghost adapts — font color only */
|
|
1689
|
+
|
|
1690
|
+
[data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
|
|
1691
|
+
color: var(--surface-text);
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
[data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
|
|
1695
|
+
color: var(--surface-text);
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/* Unified menu/command/nav item base */
|
|
1610
1699
|
|
|
1611
1700
|
.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
|
|
1612
1701
|
min-height: auto;
|
|
@@ -1785,7 +1874,7 @@ em {
|
|
|
1785
1874
|
|
|
1786
1875
|
.dndev-control-group {
|
|
1787
1876
|
display: grid;
|
|
1788
|
-
gap: var(--gap-
|
|
1877
|
+
gap: var(--gap-sm); /* 8px - tighter spacing for control groups */
|
|
1789
1878
|
|
|
1790
1879
|
/* Control + label pattern - used by RadioGroup, CheckboxFieldComponent, etc. */
|
|
1791
1880
|
}
|
|
@@ -1794,7 +1883,7 @@ em {
|
|
|
1794
1883
|
display: flex;
|
|
1795
1884
|
align-items: center;
|
|
1796
1885
|
gap: var(--gap-sm); /* 8px - spacing between control and label */
|
|
1797
|
-
font-size: var(--font-size-
|
|
1886
|
+
font-size: var(--font-size-input);
|
|
1798
1887
|
color: var(--foreground);
|
|
1799
1888
|
cursor: pointer;
|
|
1800
1889
|
transition: color var(--transition-fast);
|
|
@@ -2492,19 +2581,52 @@ em {
|
|
|
2492
2581
|
|
|
2493
2582
|
/* packages/components/src/atomic/Alert/Alert.css */
|
|
2494
2583
|
|
|
2584
|
+
/**
|
|
2585
|
+
* Modern inline alert - subtle tint treatment.
|
|
2586
|
+
* Overrides .dndev-surface heaviness (shadow, gradient, asymmetric padding).
|
|
2587
|
+
* Pattern: GitHub Primer / Linear - tinted bg, semantic border, no elevation.
|
|
2588
|
+
*/
|
|
2589
|
+
|
|
2495
2590
|
.dndev-surface[role='alert'] {
|
|
2496
|
-
|
|
2497
|
-
|
|
2591
|
+
/* Subtle tint: variant color at 8% over transparent */
|
|
2592
|
+
background: color-mix(in oklab, var(--card) 8%, transparent);
|
|
2593
|
+
/* Foreground: page default for readability on subtle bg */
|
|
2594
|
+
color: var(--foreground);
|
|
2595
|
+
/* Semantic border: variant color at 25% */
|
|
2596
|
+
border: var(--border-hairline) solid
|
|
2597
|
+
color-mix(in oklab, var(--card) 25%, transparent);
|
|
2598
|
+
/* No elevation on inline alerts */
|
|
2599
|
+
box-shadow: none;
|
|
2600
|
+
/* Tight symmetric padding */
|
|
2601
|
+
padding: var(--gap-sm) var(--gap-md);
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/* Icon: variant-colored, optically aligned to first text line */
|
|
2605
|
+
|
|
2606
|
+
.dndev-alert-icon {
|
|
2607
|
+
color: var(--card);
|
|
2608
|
+
width: 1rem;
|
|
2609
|
+
height: 1rem;
|
|
2610
|
+
flex-shrink: 0;
|
|
2611
|
+
margin-block-start: 0.125rem;
|
|
2498
2612
|
}
|
|
2499
2613
|
|
|
2614
|
+
/* Title: variant-colored, semibold, compact */
|
|
2615
|
+
|
|
2500
2616
|
.dndev-alert-title {
|
|
2501
|
-
|
|
2502
|
-
|
|
2617
|
+
color: var(--card);
|
|
2618
|
+
font-weight: var(--font-weight-semibold);
|
|
2619
|
+
font-size: var(--font-size-sm);
|
|
2620
|
+
line-height: 1.25;
|
|
2503
2621
|
letter-spacing: -0.025em;
|
|
2504
2622
|
}
|
|
2505
2623
|
|
|
2624
|
+
/* Description: default foreground, slightly dimmed */
|
|
2625
|
+
|
|
2506
2626
|
.dndev-alert-description {
|
|
2507
2627
|
font-size: var(--font-size-sm);
|
|
2628
|
+
line-height: 1.4;
|
|
2629
|
+
opacity: 0.85;
|
|
2508
2630
|
}
|
|
2509
2631
|
|
|
2510
2632
|
/* packages/components/src/atomic/Avatar/Avatar.css */
|
|
@@ -3349,15 +3471,283 @@ em {
|
|
|
3349
3471
|
color: var(--muted-foreground);
|
|
3350
3472
|
}
|
|
3351
3473
|
|
|
3352
|
-
.dndev-calendar-day-outside.dndev-calendar-day-today.dndev-calendar-day-selected
|
|
3353
|
-
.dndev-calendar-day-button:hover:not([disabled]) {
|
|
3354
|
-
color: var(--muted-foreground);
|
|
3474
|
+
.dndev-calendar-day-outside.dndev-calendar-day-today.dndev-calendar-day-selected
|
|
3475
|
+
.dndev-calendar-day-button:hover:not([disabled]) {
|
|
3476
|
+
color: var(--muted-foreground);
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
/* Hidden Days */
|
|
3480
|
+
|
|
3481
|
+
.dndev-calendar-day-hidden {
|
|
3482
|
+
visibility: hidden;
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
/* packages/components/src/atomic/DatePicker/DatePicker.css */
|
|
3486
|
+
|
|
3487
|
+
/**
|
|
3488
|
+
* DatePicker Component Styles
|
|
3489
|
+
* Segmented date input with calendar popover.
|
|
3490
|
+
* Mobile: falls back to native <input type="date"> via @media (pointer: coarse).
|
|
3491
|
+
*/
|
|
3492
|
+
|
|
3493
|
+
/* ===========================
|
|
3494
|
+
ROOT CONTAINER
|
|
3495
|
+
=========================== */
|
|
3496
|
+
|
|
3497
|
+
.dndev-datepicker {
|
|
3498
|
+
position: relative;
|
|
3499
|
+
display: inline-flex;
|
|
3500
|
+
align-items: center;
|
|
3501
|
+
width: 100%;
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
/* ===========================
|
|
3505
|
+
DESKTOP: SEGMENTED INPUT
|
|
3506
|
+
=========================== */
|
|
3507
|
+
|
|
3508
|
+
.dndev-datepicker-custom {
|
|
3509
|
+
display: flex;
|
|
3510
|
+
align-items: center;
|
|
3511
|
+
width: 100%;
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3514
|
+
/* Input-like container (mirrors .dndev-input from patterns.css) */
|
|
3515
|
+
|
|
3516
|
+
.dndev-datepicker-field {
|
|
3517
|
+
display: flex;
|
|
3518
|
+
align-items: center;
|
|
3519
|
+
width: 100%;
|
|
3520
|
+
min-height: var(--touch-target);
|
|
3521
|
+
border-radius: var(--radius-interactive);
|
|
3522
|
+
border: var(--border-hairline) solid var(--line-2);
|
|
3523
|
+
background-color: transparent;
|
|
3524
|
+
color: var(--foreground);
|
|
3525
|
+
padding-inline-start: var(--gap-md);
|
|
3526
|
+
padding-inline-end: 0;
|
|
3527
|
+
font-size: var(--font-size-input);
|
|
3528
|
+
box-shadow: var(--shadow-sm);
|
|
3529
|
+
transition: all var(--dur-normal) var(--ease-in-out);
|
|
3530
|
+
touch-action: manipulation;
|
|
3531
|
+
cursor: text;
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3534
|
+
/* Bare mode inside FloatingLabel (fieldset provides border) */
|
|
3535
|
+
|
|
3536
|
+
.dndev-datepicker-field[data-bare] {
|
|
3537
|
+
border: none;
|
|
3538
|
+
box-shadow: none;
|
|
3539
|
+
background: transparent;
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
/* Hover */
|
|
3543
|
+
|
|
3544
|
+
.dndev-datepicker-field:hover {
|
|
3545
|
+
border-color: var(--ring);
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
/* Focus-within */
|
|
3549
|
+
|
|
3550
|
+
.dndev-datepicker-field:focus-within {
|
|
3551
|
+
border-color: var(--ring);
|
|
3552
|
+
outline: none;
|
|
3553
|
+
box-shadow: var(--shadow-focus);
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
/* Focus-within bare (FloatingLabel handles outer border) */
|
|
3557
|
+
|
|
3558
|
+
.dndev-datepicker-field[data-bare]:focus-within {
|
|
3559
|
+
box-shadow: none;
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3562
|
+
/* Error state */
|
|
3563
|
+
|
|
3564
|
+
.dndev-datepicker-field[aria-invalid='true'],
|
|
3565
|
+
.dndev-datepicker-field[data-variant='destructive'] {
|
|
3566
|
+
border-color: var(--destructive);
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
/* Disabled */
|
|
3570
|
+
|
|
3571
|
+
.dndev-datepicker-field[data-disabled] {
|
|
3572
|
+
cursor: not-allowed;
|
|
3573
|
+
opacity: var(--opacity-muted);
|
|
3574
|
+
}
|
|
3575
|
+
|
|
3576
|
+
/* ===========================
|
|
3577
|
+
SEGMENTS AREA
|
|
3578
|
+
=========================== */
|
|
3579
|
+
|
|
3580
|
+
.dndev-datepicker-segments {
|
|
3581
|
+
display: flex;
|
|
3582
|
+
align-items: center;
|
|
3583
|
+
flex: 1;
|
|
3584
|
+
min-width: 0;
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
/* ===========================
|
|
3588
|
+
SEGMENTS
|
|
3589
|
+
=========================== */
|
|
3590
|
+
|
|
3591
|
+
.dndev-datepicker-segment {
|
|
3592
|
+
display: inline-flex;
|
|
3593
|
+
align-items: center;
|
|
3594
|
+
justify-content: center;
|
|
3595
|
+
padding: var(--gap-tight) 1px;
|
|
3596
|
+
border-radius: 2px;
|
|
3597
|
+
font-variant-numeric: tabular-nums;
|
|
3598
|
+
caret-color: transparent;
|
|
3599
|
+
outline: none;
|
|
3600
|
+
min-width: 2ch;
|
|
3601
|
+
text-align: center;
|
|
3602
|
+
-webkit-user-select: none;
|
|
3603
|
+
-moz-user-select: none;
|
|
3604
|
+
user-select: none;
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
/* Year segment needs more room */
|
|
3608
|
+
|
|
3609
|
+
.dndev-datepicker-segment[data-type='year'] {
|
|
3610
|
+
min-width: 4ch;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
/* Placeholder text */
|
|
3614
|
+
|
|
3615
|
+
.dndev-datepicker-segment[data-placeholder] {
|
|
3616
|
+
color: var(--placeholder);
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
/* Focused segment highlight */
|
|
3620
|
+
|
|
3621
|
+
.dndev-datepicker-segment:focus {
|
|
3622
|
+
background-color: var(--accent);
|
|
3623
|
+
color: var(--accent-foreground);
|
|
3624
|
+
outline: none;
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
/* Separator between segments */
|
|
3628
|
+
|
|
3629
|
+
.dndev-datepicker-separator {
|
|
3630
|
+
color: var(--muted-foreground);
|
|
3631
|
+
padding: 0 1px;
|
|
3632
|
+
-webkit-user-select: none;
|
|
3633
|
+
-moz-user-select: none;
|
|
3634
|
+
user-select: none;
|
|
3635
|
+
}
|
|
3636
|
+
|
|
3637
|
+
/* ===========================
|
|
3638
|
+
CALENDAR TRIGGER BUTTON (inside field)
|
|
3639
|
+
=========================== */
|
|
3640
|
+
|
|
3641
|
+
/* Extends .dndev-inline-action-btn from patterns.css */
|
|
3642
|
+
|
|
3643
|
+
.dndev-datepicker-calendar-btn {
|
|
3644
|
+
flex-shrink: 0;
|
|
3645
|
+
margin-inline-start: auto;
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
/* ===========================
|
|
3649
|
+
POPOVER
|
|
3650
|
+
=========================== */
|
|
3651
|
+
|
|
3652
|
+
.dndev-datepicker-popover {
|
|
3653
|
+
padding: 0;
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3656
|
+
/* Fix: .dndev-floating .dndev-interactive overrides width/justify on ALL
|
|
3657
|
+
interactive children. Calendar needs its own sizing - undo the override. */
|
|
3658
|
+
|
|
3659
|
+
.dndev-datepicker-popover .dndev-interactive {
|
|
3660
|
+
width: auto;
|
|
3661
|
+
justify-content: center;
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
/* Calendar nav buttons: restore absolute-positioned fixed size */
|
|
3665
|
+
|
|
3666
|
+
.dndev-datepicker-popover .dndev-calendar-nav-button {
|
|
3667
|
+
width: var(--touch-target);
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
/* Calendar day buttons: restore fixed cell size */
|
|
3671
|
+
|
|
3672
|
+
.dndev-datepicker-popover .dndev-calendar-day-button {
|
|
3673
|
+
width: var(--touch-target);
|
|
3674
|
+
}
|
|
3675
|
+
|
|
3676
|
+
/* Calendar dropdown triggers: restore full-width inside their cell */
|
|
3677
|
+
|
|
3678
|
+
.dndev-datepicker-popover .dndev-calendar-dropdown-trigger {
|
|
3679
|
+
width: 100%;
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
/* ===========================
|
|
3683
|
+
MOBILE: NATIVE INPUT FALLBACK
|
|
3684
|
+
=========================== */
|
|
3685
|
+
|
|
3686
|
+
.dndev-datepicker-native {
|
|
3687
|
+
display: none;
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
@media (pointer: coarse) {
|
|
3691
|
+
.dndev-datepicker-custom {
|
|
3692
|
+
display: none;
|
|
3693
|
+
}
|
|
3694
|
+
|
|
3695
|
+
.dndev-datepicker-native {
|
|
3696
|
+
display: flex;
|
|
3697
|
+
width: 100%;
|
|
3698
|
+
}
|
|
3699
|
+
}
|
|
3700
|
+
|
|
3701
|
+
/* ===========================
|
|
3702
|
+
SCREEN READER LIVE REGION
|
|
3703
|
+
=========================== */
|
|
3704
|
+
|
|
3705
|
+
.dndev-datepicker-live {
|
|
3706
|
+
position: absolute;
|
|
3707
|
+
width: 1px;
|
|
3708
|
+
height: 1px;
|
|
3709
|
+
padding: 0;
|
|
3710
|
+
margin: -1px;
|
|
3711
|
+
overflow: hidden;
|
|
3712
|
+
clip: rect(0, 0, 0, 0);
|
|
3713
|
+
white-space: nowrap;
|
|
3714
|
+
border: 0;
|
|
3715
|
+
}
|
|
3716
|
+
|
|
3717
|
+
/* ===========================
|
|
3718
|
+
DISABLED STATE (root)
|
|
3719
|
+
=========================== */
|
|
3720
|
+
|
|
3721
|
+
.dndev-datepicker[data-disabled] {
|
|
3722
|
+
pointer-events: none;
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
/* packages/components/src/atomic/DateTimePicker/DateTimePicker.css */
|
|
3726
|
+
|
|
3727
|
+
/**
|
|
3728
|
+
* DateTimePicker Component Styles
|
|
3729
|
+
* Extends DatePicker styles with time-segment-specific layout.
|
|
3730
|
+
* Reuses .dndev-datepicker-* classes from DatePicker.css for shared elements
|
|
3731
|
+
* (field, segment, separator, calendar-btn, popover, native, live).
|
|
3732
|
+
*/
|
|
3733
|
+
|
|
3734
|
+
/* ===========================
|
|
3735
|
+
CUSTOM INPUT CONTAINER
|
|
3736
|
+
=========================== */
|
|
3737
|
+
|
|
3738
|
+
.dndev-datetimepicker-custom {
|
|
3739
|
+
display: flex;
|
|
3740
|
+
align-items: center;
|
|
3741
|
+
width: 100%;
|
|
3355
3742
|
}
|
|
3356
3743
|
|
|
3357
|
-
/*
|
|
3744
|
+
/* ===========================
|
|
3745
|
+
DATE / TIME SPACER
|
|
3746
|
+
=========================== */
|
|
3358
3747
|
|
|
3359
|
-
.dndev-
|
|
3360
|
-
|
|
3748
|
+
.dndev-datetimepicker-spacer {
|
|
3749
|
+
width: var(--gap-md);
|
|
3750
|
+
flex-shrink: 0;
|
|
3361
3751
|
}
|
|
3362
3752
|
|
|
3363
3753
|
/* packages/components/src/atomic/CallToAction/CallToAction.css */
|
|
@@ -3517,6 +3907,7 @@ em {
|
|
|
3517
3907
|
.dndev-cta-actions {
|
|
3518
3908
|
display: flex;
|
|
3519
3909
|
flex-direction: row;
|
|
3910
|
+
flex-wrap: wrap;
|
|
3520
3911
|
gap: var(--gap-md);
|
|
3521
3912
|
justify-content: center;
|
|
3522
3913
|
}
|
|
@@ -3579,15 +3970,48 @@ em {
|
|
|
3579
3970
|
|
|
3580
3971
|
/* packages/components/src/atomic/Card/Card.css */
|
|
3581
3972
|
|
|
3582
|
-
/* Card
|
|
3973
|
+
/* Card root — when a cover is present, move padding off the root so the cover
|
|
3974
|
+
sits flush to the rounded corners. Padding is re-applied inside the body
|
|
3975
|
+
slot (which is the only thing that needs it). Non-cover cards keep the
|
|
3976
|
+
legacy layout so existing consumers render identically. */
|
|
3583
3977
|
|
|
3584
3978
|
.dndev-card {
|
|
3585
3979
|
display: grid;
|
|
3586
3980
|
gap: var(--gap-md);
|
|
3587
3981
|
text-align: start;
|
|
3588
3982
|
align-content: start;
|
|
3983
|
+
position: relative;
|
|
3984
|
+
}
|
|
3985
|
+
|
|
3986
|
+
.dndev-surface.dndev-card[data-has-cover='true'] {
|
|
3987
|
+
padding: 0;
|
|
3988
|
+
overflow: hidden;
|
|
3989
|
+
position: relative;
|
|
3990
|
+
/* Remove the grid gap — cover and body are stacked vertically via flow and
|
|
3991
|
+
must sit flush (cover edges meet body edge with no gutter). */
|
|
3992
|
+
gap: 0;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
/* Body slot — the padded region that holds header/content/footer.
|
|
3996
|
+
Only rendered when at least one body field is set (see renderCard logic). */
|
|
3997
|
+
|
|
3998
|
+
.dndev-card-body {
|
|
3999
|
+
display: grid;
|
|
4000
|
+
gap: var(--gap-md);
|
|
4001
|
+
position: relative;
|
|
4002
|
+
z-index: 1;
|
|
4003
|
+
}
|
|
4004
|
+
|
|
4005
|
+
.dndev-card[data-has-cover='true'] > .dndev-card-body {
|
|
4006
|
+
padding: var(--gap-md);
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
.dndev-card-body[data-body-background='solid'] {
|
|
4010
|
+
background: var(--card);
|
|
3589
4011
|
}
|
|
3590
4012
|
|
|
4013
|
+
/* Card body children spacing */
|
|
4014
|
+
|
|
3591
4015
|
.dndev-card-header {
|
|
3592
4016
|
display: flex;
|
|
3593
4017
|
flex-direction: column;
|
|
@@ -3616,16 +4040,98 @@ em {
|
|
|
3616
4040
|
color: color-mix(in oklab, var(--card-foreground) 70%, transparent);
|
|
3617
4041
|
}
|
|
3618
4042
|
|
|
4043
|
+
/* Cover region — sits flush to the card's rounded corners.
|
|
4044
|
+
- When body is present (data-has-body='true'): cover is a sized header
|
|
4045
|
+
region in flow. Height comes from its own aspect-ratio (inline style).
|
|
4046
|
+
- When cover-only (no body): cover fills the card (inset:0 absolute) while
|
|
4047
|
+
the card itself sets the aspect-ratio on its root. */
|
|
4048
|
+
|
|
4049
|
+
.dndev-card-cover {
|
|
4050
|
+
position: relative;
|
|
4051
|
+
overflow: hidden;
|
|
4052
|
+
z-index: 0;
|
|
4053
|
+
width: 100%;
|
|
4054
|
+
background: var(--muted);
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
/* Cover-only: fill the card completely. Card root owns the aspect-ratio. */
|
|
4058
|
+
|
|
4059
|
+
.dndev-card-cover:not([data-has-body='true']) {
|
|
4060
|
+
position: absolute;
|
|
4061
|
+
inset: 0;
|
|
4062
|
+
height: 100%;
|
|
4063
|
+
}
|
|
4064
|
+
|
|
4065
|
+
/* Direct media (string cover → <img>, or ReactNode passthrough) fills. */
|
|
4066
|
+
|
|
4067
|
+
.dndev-card-cover > img,
|
|
4068
|
+
.dndev-card-cover > video,
|
|
4069
|
+
.dndev-card-cover > picture,
|
|
4070
|
+
.dndev-card-cover > picture > img,
|
|
4071
|
+
.dndev-card-cover > .dndev-card-cover-media {
|
|
4072
|
+
display: block;
|
|
4073
|
+
width: 100%;
|
|
4074
|
+
height: 100%;
|
|
4075
|
+
-o-object-fit: cover;
|
|
4076
|
+
object-fit: cover;
|
|
4077
|
+
}
|
|
4078
|
+
|
|
4079
|
+
/* Consumer-supplied ReactNode: wrapper fills, inner media fills. */
|
|
4080
|
+
|
|
4081
|
+
.dndev-card-cover-media {
|
|
4082
|
+
position: relative;
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
.dndev-card-cover-media > img,
|
|
4086
|
+
.dndev-card-cover-media > video,
|
|
4087
|
+
.dndev-card-cover-media > picture,
|
|
4088
|
+
.dndev-card-cover-media > picture > img {
|
|
4089
|
+
display: block;
|
|
4090
|
+
width: 100%;
|
|
4091
|
+
height: 100%;
|
|
4092
|
+
-o-object-fit: cover;
|
|
4093
|
+
object-fit: cover;
|
|
4094
|
+
}
|
|
4095
|
+
|
|
4096
|
+
/* Overlay — sits above both cover and body slot. */
|
|
4097
|
+
|
|
4098
|
+
.dndev-card-overlay {
|
|
4099
|
+
position: absolute;
|
|
4100
|
+
z-index: 2;
|
|
4101
|
+
pointer-events: none;
|
|
4102
|
+
}
|
|
4103
|
+
|
|
4104
|
+
.dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
|
|
4105
|
+
top: var(--gap-md);
|
|
4106
|
+
inset-inline-start: var(--gap-md);
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
.dndev-card[data-overlay-position='top-right'] > .dndev-card-overlay {
|
|
4110
|
+
top: var(--gap-md);
|
|
4111
|
+
inset-inline-end: var(--gap-md);
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
.dndev-card[data-overlay-position='bottom-left'] > .dndev-card-overlay {
|
|
4115
|
+
bottom: var(--gap-md);
|
|
4116
|
+
inset-inline-start: var(--gap-md);
|
|
4117
|
+
}
|
|
4118
|
+
|
|
4119
|
+
.dndev-card[data-overlay-position='bottom-right'] > .dndev-card-overlay {
|
|
4120
|
+
bottom: var(--gap-md);
|
|
4121
|
+
inset-inline-end: var(--gap-md);
|
|
4122
|
+
}
|
|
4123
|
+
|
|
3619
4124
|
/* packages/components/src/atomic/Checkbox/Checkbox.css */
|
|
3620
4125
|
|
|
3621
4126
|
.dndev-control[data-type='checkbox'] {
|
|
3622
4127
|
display: inline-flex;
|
|
3623
4128
|
align-items: center;
|
|
3624
4129
|
justify-content: center;
|
|
3625
|
-
width: var(--
|
|
3626
|
-
height: var(--
|
|
4130
|
+
width: var(--font-size-input);
|
|
4131
|
+
height: var(--font-size-input);
|
|
3627
4132
|
aspect-ratio: 1;
|
|
3628
4133
|
border-radius: 4px;
|
|
4134
|
+
background-color: transparent;
|
|
3629
4135
|
}
|
|
3630
4136
|
|
|
3631
4137
|
.dndev-control[data-type='checkbox'][data-state='checked'] {
|
|
@@ -3686,8 +4192,8 @@ em {
|
|
|
3686
4192
|
}
|
|
3687
4193
|
|
|
3688
4194
|
.dndev-control[data-type='checkbox'] [data-radix-checkbox-indicator] svg {
|
|
3689
|
-
width: var(--
|
|
3690
|
-
height: var(--
|
|
4195
|
+
width: var(--font-size-input);
|
|
4196
|
+
height: var(--font-size-input);
|
|
3691
4197
|
animation: checkbox-check-in var(--dur-fast) var(--ease-in-out);
|
|
3692
4198
|
}
|
|
3693
4199
|
|
|
@@ -3936,47 +4442,15 @@ em {
|
|
|
3936
4442
|
|
|
3937
4443
|
.dndev-combobox-wrapper .dndev-input {
|
|
3938
4444
|
padding-inline-end: var(--combobox-pad-end);
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
/* Action buttons (create "+", clear "X") */
|
|
3942
|
-
|
|
3943
|
-
.dndev-combobox-action-btn {
|
|
3944
|
-
all: unset;
|
|
3945
|
-
display: flex;
|
|
3946
|
-
align-items: center;
|
|
3947
|
-
justify-content: center;
|
|
3948
|
-
width: var(--icon-md);
|
|
3949
|
-
height: var(--icon-md);
|
|
3950
|
-
border-radius: var(--radius-interactive, var(--radius-sm, 4px));
|
|
4445
|
+
text-overflow: ellipsis;
|
|
3951
4446
|
cursor: pointer;
|
|
3952
|
-
pointer-events: auto; /* re-enable clicks on buttons */
|
|
3953
|
-
color: var(--muted-foreground);
|
|
3954
|
-
opacity: var(--opacity-muted, 0.5);
|
|
3955
|
-
transition:
|
|
3956
|
-
opacity var(--dur-fast) var(--ease-in-out),
|
|
3957
|
-
background-color var(--dur-fast) var(--ease-in-out);
|
|
3958
|
-
}
|
|
3959
|
-
|
|
3960
|
-
.dndev-combobox-action-btn:hover {
|
|
3961
|
-
opacity: 1;
|
|
3962
|
-
background-color: var(--accent, rgba(0, 0, 0, 0.06));
|
|
3963
4447
|
}
|
|
3964
4448
|
|
|
3965
|
-
.dndev-
|
|
3966
|
-
|
|
3967
|
-
outline: none;
|
|
3968
|
-
box-shadow:
|
|
3969
|
-
0 0 0 2px var(--ring),
|
|
3970
|
-
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
3971
|
-
}
|
|
3972
|
-
|
|
3973
|
-
.dndev-combobox-action-btn:active {
|
|
3974
|
-
opacity: 0.8;
|
|
3975
|
-
}
|
|
4449
|
+
/* Action buttons — extends shared .dndev-inline-action-btn from patterns.css.
|
|
4450
|
+
Only Combobox-specific overrides here. */
|
|
3976
4451
|
|
|
3977
|
-
.dndev-combobox-action-btn
|
|
3978
|
-
|
|
3979
|
-
height: var(--size-icon-sm, 16px);
|
|
4452
|
+
.dndev-combobox-action-btn {
|
|
4453
|
+
pointer-events: auto; /* re-enable clicks (trailing container is pointer-events: none) */
|
|
3980
4454
|
}
|
|
3981
4455
|
|
|
3982
4456
|
/* Create button accent color */
|
|
@@ -3991,22 +4465,16 @@ em {
|
|
|
3991
4465
|
color: var(--muted-foreground);
|
|
3992
4466
|
}
|
|
3993
4467
|
|
|
3994
|
-
/* Chevron
|
|
4468
|
+
/* Chevron toggle — extends .dndev-inline-action-btn from patterns.css
|
|
4469
|
+
(same pattern as RangeInput/DatePicker/Combobox clear+create).
|
|
4470
|
+
Only chevron-specific behavior: re-enable clicks in the trailing
|
|
4471
|
+
container and rotate the icon on open. */
|
|
3995
4472
|
|
|
3996
4473
|
.dndev-combobox-chevron {
|
|
3997
|
-
|
|
3998
|
-
height: var(--icon-md);
|
|
3999
|
-
display: flex;
|
|
4000
|
-
align-items: center;
|
|
4001
|
-
justify-content: center;
|
|
4002
|
-
color: var(--muted-foreground);
|
|
4003
|
-
opacity: var(--opacity-muted);
|
|
4004
|
-
pointer-events: none;
|
|
4474
|
+
pointer-events: auto;
|
|
4005
4475
|
}
|
|
4006
4476
|
|
|
4007
4477
|
.dndev-combobox-chevron svg {
|
|
4008
|
-
width: var(--icon-md);
|
|
4009
|
-
height: var(--icon-md);
|
|
4010
4478
|
transition: transform var(--dur-fast) var(--ease-in-out);
|
|
4011
4479
|
}
|
|
4012
4480
|
|
|
@@ -4014,14 +4482,14 @@ em {
|
|
|
4014
4482
|
transform: rotate(180deg);
|
|
4015
4483
|
}
|
|
4016
4484
|
|
|
4017
|
-
/* Spinner replaces chevron */
|
|
4485
|
+
/* Spinner replaces chevron — match its footprint so there's no layout shift */
|
|
4018
4486
|
|
|
4019
4487
|
.dndev-combobox-spinner {
|
|
4020
4488
|
display: flex;
|
|
4021
4489
|
align-items: center;
|
|
4022
4490
|
justify-content: center;
|
|
4023
|
-
width: var(--
|
|
4024
|
-
height:
|
|
4491
|
+
width: var(--touch-target);
|
|
4492
|
+
height: 100%;
|
|
4025
4493
|
pointer-events: none;
|
|
4026
4494
|
}
|
|
4027
4495
|
|
|
@@ -4071,9 +4539,6 @@ em {
|
|
|
4071
4539
|
────────────────────────────────────────────────── */
|
|
4072
4540
|
|
|
4073
4541
|
.dndev-combobox-content {
|
|
4074
|
-
width: var(--radix-popover-trigger-width);
|
|
4075
|
-
min-width: var(--radix-popover-trigger-width);
|
|
4076
|
-
max-width: var(--radix-popover-trigger-width);
|
|
4077
4542
|
display: flex;
|
|
4078
4543
|
flex-direction: column;
|
|
4079
4544
|
padding: 0;
|
|
@@ -4126,6 +4591,13 @@ em {
|
|
|
4126
4591
|
color: var(--muted-foreground);
|
|
4127
4592
|
}
|
|
4128
4593
|
|
|
4594
|
+
.dndev-combobox-option-count {
|
|
4595
|
+
font-size: var(--font-size-xs);
|
|
4596
|
+
color: var(--muted-foreground);
|
|
4597
|
+
margin-inline-start: var(--gap-tight);
|
|
4598
|
+
flex-shrink: 0;
|
|
4599
|
+
}
|
|
4600
|
+
|
|
4129
4601
|
.dndev-combobox-option-check {
|
|
4130
4602
|
width: var(--icon-md);
|
|
4131
4603
|
height: var(--icon-md);
|
|
@@ -5135,11 +5607,13 @@ em {
|
|
|
5135
5607
|
position: relative;
|
|
5136
5608
|
}
|
|
5137
5609
|
|
|
5138
|
-
.dndev-hero-section--bg-contain[data-justify='center']
|
|
5610
|
+
.dndev-hero-section--bg-contain[data-justify='center']
|
|
5611
|
+
> .dndev-hero-section__text {
|
|
5139
5612
|
justify-content: center;
|
|
5140
5613
|
}
|
|
5141
5614
|
|
|
5142
|
-
.dndev-hero-section--bg-contain[data-justify='start']
|
|
5615
|
+
.dndev-hero-section--bg-contain[data-justify='start']
|
|
5616
|
+
> .dndev-hero-section__text {
|
|
5143
5617
|
justify-content: flex-start;
|
|
5144
5618
|
}
|
|
5145
5619
|
|
|
@@ -5292,6 +5766,10 @@ em {
|
|
|
5292
5766
|
background-color: var(--muted);
|
|
5293
5767
|
}
|
|
5294
5768
|
|
|
5769
|
+
.image-gallery__main--lightbox {
|
|
5770
|
+
cursor: zoom-in;
|
|
5771
|
+
}
|
|
5772
|
+
|
|
5295
5773
|
.image-gallery__main-image {
|
|
5296
5774
|
width: 100%;
|
|
5297
5775
|
height: 100%;
|
|
@@ -5414,6 +5892,46 @@ em {
|
|
|
5414
5892
|
}
|
|
5415
5893
|
}
|
|
5416
5894
|
|
|
5895
|
+
/* Lightbox (full-size image dialog) */
|
|
5896
|
+
|
|
5897
|
+
.image-gallery__lightbox.dndev-modal-content {
|
|
5898
|
+
max-width: min(96vw, 1400px);
|
|
5899
|
+
max-height: 96dvh;
|
|
5900
|
+
padding: var(--gap-sm);
|
|
5901
|
+
}
|
|
5902
|
+
|
|
5903
|
+
.image-gallery__lightbox .dndev-modal-body {
|
|
5904
|
+
padding: 0;
|
|
5905
|
+
display: flex;
|
|
5906
|
+
align-items: center;
|
|
5907
|
+
justify-content: center;
|
|
5908
|
+
overflow: hidden;
|
|
5909
|
+
min-height: 40dvh;
|
|
5910
|
+
}
|
|
5911
|
+
|
|
5912
|
+
.image-gallery__lightbox-body {
|
|
5913
|
+
position: relative;
|
|
5914
|
+
display: flex;
|
|
5915
|
+
align-items: center;
|
|
5916
|
+
justify-content: center;
|
|
5917
|
+
width: 100%;
|
|
5918
|
+
outline: none;
|
|
5919
|
+
}
|
|
5920
|
+
|
|
5921
|
+
.image-gallery__lightbox-img {
|
|
5922
|
+
max-width: 100%;
|
|
5923
|
+
max-height: 85dvh;
|
|
5924
|
+
width: auto;
|
|
5925
|
+
height: auto;
|
|
5926
|
+
-o-object-fit: contain;
|
|
5927
|
+
object-fit: contain;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5930
|
+
.image-gallery__lightbox-nav {
|
|
5931
|
+
opacity: 0.92;
|
|
5932
|
+
z-index: 3;
|
|
5933
|
+
}
|
|
5934
|
+
|
|
5417
5935
|
/* packages/components/src/atomic/Input/Input.css */
|
|
5418
5936
|
|
|
5419
5937
|
/* Hide number input spinners - cleaner UI for price/range inputs */
|
|
@@ -5463,13 +5981,13 @@ input[type='number'] {
|
|
|
5463
5981
|
|
|
5464
5982
|
/* Error / destructive state — red border for invalid fields */
|
|
5465
5983
|
|
|
5466
|
-
[data-variant=
|
|
5467
|
-
[aria-invalid=
|
|
5984
|
+
[data-variant='destructive'],
|
|
5985
|
+
[aria-invalid='true'] {
|
|
5468
5986
|
border-color: var(--destructive);
|
|
5469
5987
|
}
|
|
5470
5988
|
|
|
5471
|
-
[data-variant=
|
|
5472
|
-
[aria-invalid=
|
|
5989
|
+
[data-variant='destructive']:focus,
|
|
5990
|
+
[aria-invalid='true']:focus {
|
|
5473
5991
|
border-color: var(--destructive);
|
|
5474
5992
|
outline-color: var(--destructive);
|
|
5475
5993
|
}
|
|
@@ -6059,6 +6577,105 @@ input[type='number'] {
|
|
|
6059
6577
|
height: var(--icon-sm);
|
|
6060
6578
|
}
|
|
6061
6579
|
|
|
6580
|
+
/* packages/components/src/atomic/PinInput/PinInput.css */
|
|
6581
|
+
|
|
6582
|
+
.dndev-pin-input {
|
|
6583
|
+
display: flex;
|
|
6584
|
+
gap: var(--gap-sm);
|
|
6585
|
+
align-items: center;
|
|
6586
|
+
justify-content: center;
|
|
6587
|
+
direction: ltr; /* digits are always LTR even in RTL locales */
|
|
6588
|
+
}
|
|
6589
|
+
|
|
6590
|
+
.dndev-pin-input__box {
|
|
6591
|
+
inline-size: var(--input-height, 2.75rem) !important;
|
|
6592
|
+
block-size: var(--input-height, 2.75rem) !important;
|
|
6593
|
+
padding: 0 !important;
|
|
6594
|
+
text-align: center !important;
|
|
6595
|
+
font-size: var(--font-xl, 1.25rem) !important;
|
|
6596
|
+
font-variant-numeric: tabular-nums;
|
|
6597
|
+
font-feature-settings: 'tnum' 1;
|
|
6598
|
+
caret-color: var(--primary);
|
|
6599
|
+
}
|
|
6600
|
+
|
|
6601
|
+
/* Mask the typed digit via CSS, not by overwriting React's controlled value.
|
|
6602
|
+
Rewriting value={raw} → value='•' on every keystroke forces React to
|
|
6603
|
+
overwrite the native input value after the browser has already painted
|
|
6604
|
+
the user's keystroke, which is the classic "lags like shit" PinInput bug
|
|
6605
|
+
on mobile Chrome/Safari. `-webkit-text-security: disc` renders a bullet
|
|
6606
|
+
purely in the layout layer while the input's real value stays the digit,
|
|
6607
|
+
so React never has to race the browser's paint pipeline.
|
|
6608
|
+
Firefox does not support -webkit-text-security and will render the digit
|
|
6609
|
+
unmasked; the eye-toggle still works for revealing on WebKit/Blink. */
|
|
6610
|
+
|
|
6611
|
+
.dndev-pin-input__box--masked {
|
|
6612
|
+
-webkit-text-security: disc;
|
|
6613
|
+
}
|
|
6614
|
+
|
|
6615
|
+
.dndev-pin-input__reveal {
|
|
6616
|
+
background: none;
|
|
6617
|
+
border: none;
|
|
6618
|
+
cursor: pointer;
|
|
6619
|
+
padding: var(--gap-tight, 0.25rem);
|
|
6620
|
+
margin-inline-start: var(--gap-sm, 0.5rem);
|
|
6621
|
+
display: inline-flex;
|
|
6622
|
+
align-items: center;
|
|
6623
|
+
justify-content: center;
|
|
6624
|
+
color: var(--muted-foreground, currentColor);
|
|
6625
|
+
opacity: var(--opacity-muted, 0.65);
|
|
6626
|
+
transition: opacity var(--dur-fast, 150ms) var(--ease-in-out, ease-in-out);
|
|
6627
|
+
-webkit-user-select: none;
|
|
6628
|
+
-moz-user-select: none;
|
|
6629
|
+
user-select: none;
|
|
6630
|
+
-webkit-tap-highlight-color: transparent;
|
|
6631
|
+
}
|
|
6632
|
+
|
|
6633
|
+
.dndev-pin-input__reveal:hover,
|
|
6634
|
+
.dndev-pin-input__reveal:focus-visible {
|
|
6635
|
+
opacity: 1;
|
|
6636
|
+
outline: none;
|
|
6637
|
+
}
|
|
6638
|
+
|
|
6639
|
+
.dndev-pin-input__reveal:focus-visible {
|
|
6640
|
+
outline: 2px solid var(--primary, currentColor);
|
|
6641
|
+
outline-offset: 2px;
|
|
6642
|
+
border-radius: var(--radius-sm, 4px);
|
|
6643
|
+
}
|
|
6644
|
+
|
|
6645
|
+
/* Shake animation hook — the container flips data-shake='true' on error
|
|
6646
|
+
and the animation plays once via this keyframe. Consumers can override
|
|
6647
|
+
via `.dndev-pin-input[data-shake='true'] { animation: ... }`. */
|
|
6648
|
+
|
|
6649
|
+
@keyframes dndev-pin-input-shake {
|
|
6650
|
+
0%,
|
|
6651
|
+
100% {
|
|
6652
|
+
transform: translateX(0);
|
|
6653
|
+
}
|
|
6654
|
+
20% {
|
|
6655
|
+
transform: translateX(-0.35rem);
|
|
6656
|
+
}
|
|
6657
|
+
40% {
|
|
6658
|
+
transform: translateX(0.35rem);
|
|
6659
|
+
}
|
|
6660
|
+
60% {
|
|
6661
|
+
transform: translateX(-0.25rem);
|
|
6662
|
+
}
|
|
6663
|
+
80% {
|
|
6664
|
+
transform: translateX(0.15rem);
|
|
6665
|
+
}
|
|
6666
|
+
}
|
|
6667
|
+
|
|
6668
|
+
.dndev-pin-input[data-shake='true'] {
|
|
6669
|
+
animation: dndev-pin-input-shake var(--dur-normal, 320ms)
|
|
6670
|
+
var(--ease-in-out, ease-in-out) 1;
|
|
6671
|
+
}
|
|
6672
|
+
|
|
6673
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6674
|
+
.dndev-pin-input[data-shake='true'] {
|
|
6675
|
+
animation: none;
|
|
6676
|
+
}
|
|
6677
|
+
}
|
|
6678
|
+
|
|
6062
6679
|
/* packages/components/src/atomic/Pagination/Pagination.css */
|
|
6063
6680
|
|
|
6064
6681
|
.dndev-pagination {
|
|
@@ -6227,8 +6844,8 @@ input[type='number'] {
|
|
|
6227
6844
|
}
|
|
6228
6845
|
|
|
6229
6846
|
.dndev-control[data-type='radio'] {
|
|
6230
|
-
width: var(--
|
|
6231
|
-
height: var(--
|
|
6847
|
+
width: var(--font-size-input);
|
|
6848
|
+
height: var(--font-size-input);
|
|
6232
6849
|
border-radius: var(--radius-full);
|
|
6233
6850
|
border-width: var(--border-hairline);
|
|
6234
6851
|
background-color: transparent;
|
|
@@ -6315,15 +6932,22 @@ input[type='number'] {
|
|
|
6315
6932
|
|
|
6316
6933
|
.dndev-range-input {
|
|
6317
6934
|
display: grid;
|
|
6318
|
-
grid-template-columns: 1fr auto 1fr auto;
|
|
6935
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
|
|
6319
6936
|
align-items: center;
|
|
6320
|
-
gap:
|
|
6937
|
+
-moz-column-gap: 0;
|
|
6938
|
+
column-gap: 0;
|
|
6939
|
+
padding-inline-start: var(--gap-sm);
|
|
6321
6940
|
width: 100%;
|
|
6322
6941
|
}
|
|
6323
6942
|
|
|
6324
6943
|
.dndev-range-input > .dndev-input,
|
|
6325
6944
|
.dndev-range-input > .dndev-relative {
|
|
6326
6945
|
min-width: 0;
|
|
6946
|
+
padding-inline: var(--gap-sm);
|
|
6947
|
+
}
|
|
6948
|
+
|
|
6949
|
+
.dndev-range-input-separator {
|
|
6950
|
+
padding-inline: var(--gap-tight);
|
|
6327
6951
|
}
|
|
6328
6952
|
|
|
6329
6953
|
/* packages/components/src/atomic/Rating/Rating.css */
|
|
@@ -6477,7 +7101,7 @@ input[type='number'] {
|
|
|
6477
7101
|
/* Numeric value display */
|
|
6478
7102
|
|
|
6479
7103
|
.dndev-rating-value {
|
|
6480
|
-
font-size: var(--font-size-
|
|
7104
|
+
font-size: var(--font-size-input);
|
|
6481
7105
|
font-weight: var(--font-weight-medium);
|
|
6482
7106
|
color: var(--muted-foreground);
|
|
6483
7107
|
min-width: 2ch;
|
|
@@ -6509,7 +7133,7 @@ input[type='number'] {
|
|
|
6509
7133
|
}
|
|
6510
7134
|
|
|
6511
7135
|
.dndev-select-trigger [data-radix-select-value] {
|
|
6512
|
-
font-size: var(--font-size-
|
|
7136
|
+
font-size: var(--font-size-input);
|
|
6513
7137
|
}
|
|
6514
7138
|
|
|
6515
7139
|
.dndev-select-content {
|
|
@@ -6569,6 +7193,16 @@ input[type='number'] {
|
|
|
6569
7193
|
border-radius: inherit;
|
|
6570
7194
|
}
|
|
6571
7195
|
|
|
7196
|
+
/* Radix injects `display:table; min-width:100%` as inline style on the viewport's
|
|
7197
|
+
direct child. A display:table element sizes to its content's min-content width,
|
|
7198
|
+
ignoring max-width:100% (Chrome resolves the % against the table's own bloated
|
|
7199
|
+
width, not the viewport). contain:inline-size prevents content-based sizing:
|
|
7200
|
+
the table stays at min-width:100% = viewport width regardless of descendant content. */
|
|
7201
|
+
|
|
7202
|
+
.dndev-scroll-area-viewport > div {
|
|
7203
|
+
contain: inline-size;
|
|
7204
|
+
}
|
|
7205
|
+
|
|
6572
7206
|
.dndev-scroll-bar {
|
|
6573
7207
|
display: flex;
|
|
6574
7208
|
touch-action: none;
|
|
@@ -7993,7 +8627,7 @@ input[type='number'] {
|
|
|
7993
8627
|
}
|
|
7994
8628
|
|
|
7995
8629
|
.dndev-switch-label {
|
|
7996
|
-
font-size: var(--font-size-
|
|
8630
|
+
font-size: var(--font-size-input);
|
|
7997
8631
|
transition:
|
|
7998
8632
|
color var(--dur-normal) var(--ease-in-out),
|
|
7999
8633
|
font-weight var(--dur-normal) var(--ease-in-out);
|
|
@@ -9103,7 +9737,8 @@ input[type='number'] {
|
|
|
9103
9737
|
outline: none;
|
|
9104
9738
|
}
|
|
9105
9739
|
|
|
9106
|
-
/* Expand/collapse chevron
|
|
9740
|
+
/* Expand/collapse chevron — wrapper reserves the indent column (--icon-md),
|
|
9741
|
+
svg is the nested icon (--icon-sm). */
|
|
9107
9742
|
|
|
9108
9743
|
.dndev-tree-node-expand {
|
|
9109
9744
|
display: flex;
|
|
@@ -9116,6 +9751,11 @@ input[type='number'] {
|
|
|
9116
9751
|
color: var(--muted-foreground);
|
|
9117
9752
|
}
|
|
9118
9753
|
|
|
9754
|
+
.dndev-tree-node-expand svg {
|
|
9755
|
+
width: var(--icon-sm);
|
|
9756
|
+
height: var(--icon-sm);
|
|
9757
|
+
}
|
|
9758
|
+
|
|
9119
9759
|
[role='treeitem'][aria-expanded='true']
|
|
9120
9760
|
> .dndev-tree-node-content
|
|
9121
9761
|
> .dndev-tree-node-expand {
|
|
@@ -9905,12 +10545,11 @@ input[type='number'] {
|
|
|
9905
10545
|
box-shadow: var(--shadow-xl);
|
|
9906
10546
|
}
|
|
9907
10547
|
|
|
9908
|
-
/* Phase badge -
|
|
10548
|
+
/* Phase badge - used inside Card overlay container */
|
|
9909
10549
|
|
|
9910
10550
|
.dndev-roadmap-phase {
|
|
9911
|
-
|
|
9912
|
-
|
|
9913
|
-
inset-inline-end: var(--gap-sm);
|
|
10551
|
+
display: inline-flex;
|
|
10552
|
+
align-items: center;
|
|
9914
10553
|
font-size: var(--font-size-xs);
|
|
9915
10554
|
font-weight: var(--font-weight-bold);
|
|
9916
10555
|
text-transform: uppercase;
|
|
@@ -11991,15 +12630,17 @@ aside[role='navigation'].sidebar {
|
|
|
11991
12630
|
max-width: calc(var(--sidebar-resize-handle-width) + 400px);
|
|
11992
12631
|
/* Max: 400px content + 6px handle = 406px */
|
|
11993
12632
|
z-index: var(--z-sidebar);
|
|
11994
|
-
overflow:
|
|
11995
|
-
/*
|
|
12633
|
+
overflow-x: hidden;
|
|
12634
|
+
/* Horizontal must be clipped — handle is in grid so vertical needs no clipping */
|
|
11996
12635
|
contain: layout style;
|
|
11997
12636
|
padding: 0;
|
|
11998
12637
|
display: grid;
|
|
11999
12638
|
grid-template-columns: auto var(--sidebar-resize-handle-width);
|
|
12000
12639
|
/* Content | Handle - column 1 width set inline */
|
|
12001
|
-
grid-template-rows: auto 1fr auto;
|
|
12002
|
-
/* Top | Content | Bottom
|
|
12640
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
12641
|
+
/* Top | Content | Bottom. `minmax(0, 1fr)` overrides the default `auto`
|
|
12642
|
+
min track size so the content row can shrink below its content height,
|
|
12643
|
+
which is what lets `.sidebar-content`'s overflow-y: auto actually fire. */
|
|
12003
12644
|
height: 100%;
|
|
12004
12645
|
|
|
12005
12646
|
/* Desktop presets with no sidebar: Hide sidebar element for performance/accessibility */
|
|
@@ -12103,7 +12744,9 @@ aside[role='navigation'].sidebar[data-dragging='true']
|
|
|
12103
12744
|
grid-row: 2;
|
|
12104
12745
|
overflow-y: auto;
|
|
12105
12746
|
min-height: 0;
|
|
12106
|
-
|
|
12747
|
+
/* `safe` falls back to flex-start on overflow. Without it, centered overflow
|
|
12748
|
+
pushes the top half above scrollTop=0 where it's unreachable. */
|
|
12749
|
+
justify-content: safe center;
|
|
12107
12750
|
/* Zero gap between items - they touch vertically */
|
|
12108
12751
|
gap: var(--gap-none);
|
|
12109
12752
|
|
|
@@ -12145,6 +12788,13 @@ aside[role='navigation'].sidebar[data-dragging='true']
|
|
|
12145
12788
|
padding-block-start: var(--gap-md);
|
|
12146
12789
|
}
|
|
12147
12790
|
|
|
12791
|
+
/* Reduce Section padding when inside sidebar - sidebar space is precious */
|
|
12792
|
+
|
|
12793
|
+
.sidebar-content .dndev-section-content {
|
|
12794
|
+
padding-inline: var(--gap-sm);
|
|
12795
|
+
padding-block: var(--gap-sm);
|
|
12796
|
+
}
|
|
12797
|
+
|
|
12148
12798
|
/* Interactive elements in all zones: full width */
|
|
12149
12799
|
|
|
12150
12800
|
.sidebar-top .dndev-interactive,
|
|
@@ -12229,6 +12879,12 @@ aside.sidebar[role='navigation'][data-collapsed='true'] .app-branding {
|
|
|
12229
12879
|
display: none;
|
|
12230
12880
|
}
|
|
12231
12881
|
|
|
12882
|
+
/* Custom sidebar content: hide labeled text, keep icons */
|
|
12883
|
+
|
|
12884
|
+
aside.sidebar[role='navigation'][data-collapsed='true'] .sidebar-collapsible {
|
|
12885
|
+
display: none;
|
|
12886
|
+
}
|
|
12887
|
+
|
|
12232
12888
|
/* Main content: Starts at header-height and sidebar-width */
|
|
12233
12889
|
|
|
12234
12890
|
main[role='main'] {
|
|
@@ -12377,7 +13033,8 @@ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
|
|
|
12377
13033
|
}
|
|
12378
13034
|
|
|
12379
13035
|
/* Bottom mergedBar: hide footer + add safe-area padding */
|
|
12380
|
-
.dndev-layout:has(.merged-bar[data-position='bottom'])
|
|
13036
|
+
.dndev-layout:has(.merged-bar[data-position='bottom'])
|
|
13037
|
+
> footer[role='contentinfo'] {
|
|
12381
13038
|
display: none;
|
|
12382
13039
|
}
|
|
12383
13040
|
.dndev-layout:has(.merged-bar[data-position='bottom']) {
|
|
@@ -12658,7 +13315,7 @@ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
|
|
|
12658
13315
|
|
|
12659
13316
|
.dndev-container {
|
|
12660
13317
|
width: 100%;
|
|
12661
|
-
max-width: var(--content-width);
|
|
13318
|
+
max-width: var(--max-content-width);
|
|
12662
13319
|
min-width: 0; /* Allow shrinking in flex so max-width wins */
|
|
12663
13320
|
flex: 1 1 auto;
|
|
12664
13321
|
|
|
@@ -12705,25 +13362,29 @@ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
|
|
|
12705
13362
|
max-width: none;
|
|
12706
13363
|
}
|
|
12707
13364
|
|
|
12708
|
-
/* Standard width - responsive
|
|
13365
|
+
/* Standard width - responsive.
|
|
13366
|
+
Base rule `max-width: var(--max-content-width)` picks up the local override.
|
|
13367
|
+
Do NOT add an explicit `max-width: var(--content-width)` here — `--content-width`
|
|
13368
|
+
is resolved eagerly at :root (where --max-content-width is 100%) and inherits as
|
|
13369
|
+
100%, overriding the local variant. The base rule reads --max-content-width
|
|
13370
|
+
directly at the element and gets the correct value. */
|
|
12709
13371
|
|
|
12710
13372
|
.dndev-container[data-variant='standard'] {
|
|
12711
13373
|
--max-content-width: var(--content-width-standard);
|
|
12712
|
-
max-width: var(--content-width);
|
|
12713
13374
|
}
|
|
12714
13375
|
|
|
12715
|
-
/* Docs width - responsive
|
|
13376
|
+
/* Docs width - responsive. See [data-variant='standard'] for why there's no
|
|
13377
|
+
explicit max-width here. */
|
|
12716
13378
|
|
|
12717
13379
|
.dndev-container[data-variant='docs'] {
|
|
12718
13380
|
--max-content-width: var(--content-width-docs);
|
|
12719
|
-
max-width: var(--content-width);
|
|
12720
13381
|
}
|
|
12721
13382
|
|
|
12722
|
-
/* Narrow width - mobile-first single column (PWA, app-like on every device)
|
|
13383
|
+
/* Narrow width - mobile-first single column (PWA, app-like on every device).
|
|
13384
|
+
See [data-variant='standard'] for why there's no explicit max-width here. */
|
|
12723
13385
|
|
|
12724
13386
|
.dndev-container[data-variant='narrow'] {
|
|
12725
13387
|
--max-content-width: var(--content-width-narrow);
|
|
12726
|
-
max-width: var(--content-width);
|
|
12727
13388
|
}
|
|
12728
13389
|
|
|
12729
13390
|
/* Fixed frame - fills parent exactly, prevents parent scroll */
|