@donotdev/ui 0.0.30 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +3 -3
- package/dist/components/auth/AuthHeader.d.ts +2 -2
- package/dist/components/auth/AuthHeader.js +2 -2
- package/dist/components/auth/AuthMenu.d.ts +2 -2
- package/dist/components/auth/AuthMenu.js +1 -1
- package/dist/components/common/FeatureCard.js +1 -1
- package/dist/components/common/FeatureDisabled.d.ts +1 -1
- package/dist/components/common/FeatureDisabled.js +2 -2
- package/dist/components/common/ProgressBar.d.ts +1 -1
- package/dist/components/common/ProgressBar.js +2 -2
- package/dist/components/common/RedirectOverlay.d.ts +1 -1
- package/dist/components/common/RedirectOverlay.js +2 -2
- package/dist/components/common/Skeleton.d.ts +7 -7
- package/dist/components/common/Skeleton.js +8 -8
- package/dist/components/common/icon.d.ts +1 -1
- package/dist/components/common/icon.js +2 -2
- package/dist/components/common/index.d.ts +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/cookie-consent/ConsentBanner.d.ts +1 -1
- package/dist/components/cookie-consent/ConsentBanner.js +2 -2
- package/dist/components/cookie-consent/index.d.ts +1 -1
- package/dist/components/cookie-consent/index.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/layout/GameContainer.d.ts +1 -1
- package/dist/components/layout/GameContainer.js +2 -2
- package/dist/components/layout/GameFlow.d.ts +2 -2
- package/dist/components/layout/GameFlow.js +2 -2
- package/dist/components/layout/PageContainer.d.ts +1 -1
- package/dist/components/layout/PageContainer.js +2 -2
- package/dist/components/layout/components/Breadcrumbs.d.ts +1 -1
- package/dist/components/layout/components/Breadcrumbs.js +2 -2
- package/dist/components/layout/components/DropdownNavigation.d.ts +1 -1
- package/dist/components/layout/components/DropdownNavigation.js +2 -2
- package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts +1 -1
- package/dist/components/layout/components/FloatingLanguageSwitcher.js +2 -2
- package/dist/components/layout/components/Notifications.d.ts +4 -4
- package/dist/components/layout/components/Notifications.js +3 -3
- package/dist/components/layout/components/header/AppBranding.d.ts +2 -2
- package/dist/components/layout/components/header/AppBranding.js +2 -2
- package/dist/components/layout/components/header/AppIcon.d.ts +1 -1
- package/dist/components/layout/components/header/AppIcon.js +2 -2
- package/dist/components/layout/components/header/AppTitle.d.ts +1 -1
- package/dist/components/layout/components/header/AppTitle.js +2 -2
- package/dist/components/layout/components/header/CacheSettings.d.ts +1 -1
- package/dist/components/layout/components/header/CacheSettings.js +3 -3
- package/dist/components/layout/components/header/GameTitle.d.ts +1 -1
- package/dist/components/layout/components/header/GameTitle.js +2 -2
- package/dist/components/layout/components/header/HeaderMenu.d.ts +1 -1
- package/dist/components/layout/components/header/HeaderMenu.js +2 -2
- package/dist/components/layout/components/header/HeaderNavigation.d.ts +1 -1
- package/dist/components/layout/components/header/HeaderNavigation.js +2 -2
- package/dist/components/layout/components/header/SettingsMenu.d.ts +1 -1
- package/dist/components/layout/components/header/SettingsMenu.js +2 -2
- package/dist/components/layout/components/header/ThemeToggle.d.ts +1 -1
- package/dist/components/layout/components/header/ThemeToggle.js +2 -2
- package/dist/components/layout/components/index.d.ts +1 -1
- package/dist/components/layout/components/index.js +1 -1
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/license/LicenseWatermark.d.ts +1 -1
- package/dist/components/license/LicenseWatermark.js +2 -2
- package/dist/components/license/watermarkData.js +1 -1
- package/dist/crud/components/CrudCardLink.d.ts +1 -1
- package/dist/crud/components/EntityCardList.d.ts.map +1 -1
- package/dist/crud/components/EntityCardList.js +15 -12
- package/dist/crud/components/EntityDisplayRenderer.js +1 -1
- package/dist/crud/components/EntityFormRenderer.d.ts +1 -1
- package/dist/crud/components/EntityFormRenderer.js +2 -2
- package/dist/crud/components/EntityList.js +1 -1
- package/dist/crud/components/EntityRecommendations.d.ts +1 -1
- package/dist/crud/components/EntityRecommendations.js +2 -2
- package/dist/crud/components/EntityWorkflow.js +1 -1
- package/dist/crud/components/Form.d.ts +10 -10
- package/dist/crud/components/Form.js +12 -12
- package/dist/crud/components/index.d.ts +1 -1
- package/dist/crud/components/index.js +1 -1
- package/dist/crud/crudImports.d.ts +1 -1
- package/dist/crud/crudImports.d.ts.map +1 -1
- package/dist/crud/crudImports.js +1 -1
- package/dist/crud/index.d.ts +1 -1
- package/dist/crud/index.js +1 -1
- package/dist/data/techLogos.d.ts +1 -1
- package/dist/data/techLogos.js +1 -1
- package/dist/dndev-next.css +176 -6
- package/dist/dndev.css +227 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/internal/common/DnDevErrorBoundary.d.ts +2 -2
- package/dist/internal/common/DnDevErrorBoundary.js +2 -2
- package/dist/internal/common/ErrorFallback.d.ts +1 -1
- package/dist/internal/common/ErrorFallback.js +2 -2
- package/dist/internal/common/GlobalErrorFallback.d.ts +1 -1
- package/dist/internal/common/GlobalErrorFallback.js +2 -2
- package/dist/internal/common/RouteErrorFallback.d.ts +1 -1
- package/dist/internal/common/RouteErrorFallback.js +2 -2
- package/dist/internal/devtools/DebugTools.js +1 -1
- package/dist/internal/devtools/components/AuthDebugButton.js +1 -1
- package/dist/internal/devtools/components/ConfigTab.js +1 -1
- package/dist/internal/devtools/components/CookieTab.js +1 -1
- package/dist/internal/devtools/components/DebugDialog.js +1 -1
- package/dist/internal/devtools/components/DesignTab.js +1 -1
- package/dist/internal/devtools/components/LayoutReset.js +2 -2
- package/dist/internal/devtools/components/MaskedValue.js +1 -1
- package/dist/internal/devtools/components/StoresTab.js +1 -1
- package/dist/internal/devtools/components/index.d.ts +1 -1
- package/dist/internal/devtools/components/index.js +1 -1
- package/dist/internal/devtools/index.d.ts +1 -1
- package/dist/internal/devtools/index.js +1 -1
- package/dist/internal/devtools/types.d.ts +9 -9
- package/dist/internal/devtools/utils/envVarDiscovery.js +1 -1
- package/dist/internal/devtools/utils/index.d.ts +1 -1
- package/dist/internal/devtools/utils/index.js +1 -1
- package/dist/internal/devtools/utils/maskSensitive.js +1 -1
- package/dist/internal/devtools/utils/virtualModuleInspector.js +1 -1
- package/dist/internal/initializers/BaseStoresInitializer.d.ts +3 -3
- package/dist/internal/initializers/BaseStoresInitializer.js +2 -2
- package/dist/internal/initializers/NextJsStoresInitializer.d.ts +1 -1
- package/dist/internal/initializers/NextJsStoresInitializer.js +2 -2
- package/dist/internal/initializers/ViteStoresInitializer.d.ts +1 -1
- package/dist/internal/initializers/ViteStoresInitializer.js +2 -2
- package/dist/internal/initializers/index.d.ts +1 -1
- package/dist/internal/initializers/index.js +1 -1
- package/dist/internal/layout/DnDevLayout.d.ts +2 -2
- package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
- package/dist/internal/layout/DnDevLayout.js +7 -3
- package/dist/internal/layout/components/AutoMetaTags.d.ts +4 -2
- package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/AutoMetaTags.js +143 -39
- package/dist/internal/layout/components/FaviconHead.d.ts +1 -1
- package/dist/internal/layout/components/FaviconHead.js +2 -2
- package/dist/internal/layout/components/FontPreloadLinks.d.ts +1 -1
- package/dist/internal/layout/components/FontPreloadLinks.js +1 -1
- package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts +1 -1
- package/dist/internal/layout/components/NextJsAutoMetaTags.js +2 -2
- package/dist/internal/layout/components/PWAUpdateNotification.d.ts +1 -1
- package/dist/internal/layout/components/PWAUpdateNotification.js +2 -2
- package/dist/internal/layout/components/PerformanceHints.js +1 -1
- package/dist/internal/layout/components/footer/FooterBranding.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterBranding.js +2 -2
- package/dist/internal/layout/components/footer/FooterCopyright.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterCopyright.js +2 -2
- package/dist/internal/layout/components/footer/FooterLegalLinks.d.ts +1 -1
- package/dist/internal/layout/components/footer/FooterLegalLinks.js +2 -2
- package/dist/internal/layout/components/index.d.ts +1 -1
- package/dist/internal/layout/components/index.js +1 -1
- package/dist/internal/layout/config/defaults.js +1 -1
- package/dist/internal/layout/config/index.d.ts +1 -1
- package/dist/internal/layout/config/index.js +1 -1
- package/dist/internal/layout/config/presets/admin.d.ts +1 -1
- package/dist/internal/layout/config/presets/blog.d.ts +1 -1
- package/dist/internal/layout/config/presets/docs.js +1 -1
- package/dist/internal/layout/config/presets/game.js +1 -1
- package/dist/internal/layout/config/presets/index.d.ts +1 -1
- package/dist/internal/layout/config/presets/landing.js +1 -1
- package/dist/internal/layout/config/presets/moolti.js +1 -1
- package/dist/internal/layout/config/presets/plain.d.ts +2 -2
- package/dist/internal/layout/config/presets/plain.d.ts.map +1 -1
- package/dist/internal/layout/config/presets/plain.js +12 -1
- package/dist/internal/layout/renderers/index.d.ts +1 -1
- package/dist/internal/layout/renderers/index.js +1 -1
- package/dist/internal/layout/zones/DnDevFooter.js +1 -1
- package/dist/internal/layout/zones/DnDevHeader.js +1 -1
- package/dist/internal/layout/zones/DnDevMergedBar.js +1 -1
- package/dist/internal/layout/zones/DnDevSidebar.js +1 -1
- package/dist/internal/layout/zones/index.d.ts +1 -1
- package/dist/internal/layout/zones/index.js +1 -1
- package/dist/internal/providers/NavigationProvider.d.ts +1 -1
- package/dist/internal/providers/NavigationProvider.js +2 -2
- package/dist/internal/providers/SentryInitializer.d.ts +1 -1
- package/dist/internal/providers/SentryInitializer.js +2 -2
- package/dist/internal/providers/UIProviders.d.ts +1 -1
- package/dist/internal/providers/UIProviders.js +3 -3
- package/dist/internal/providers/index.d.ts +1 -1
- package/dist/internal/providers/index.js +1 -1
- package/dist/next.d.ts +1 -1
- package/dist/next.js +1 -1
- package/dist/providers/NextJsAppProviders.d.ts +1 -1
- package/dist/providers/NextJsAppProviders.js +2 -2
- package/dist/providers/ViteAppProviders.d.ts +1 -1
- package/dist/providers/ViteAppProviders.js +2 -2
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/routing/404.d.ts +2 -2
- package/dist/routing/404.js +3 -3
- package/dist/routing/AuthGuard.d.ts +8 -8
- package/dist/routing/AuthGuard.js +8 -8
- package/dist/routing/AuthGuardFallback.d.ts +1 -1
- package/dist/routing/AuthGuardFallback.js +2 -2
- package/dist/routing/DnDevNavigationMenu.d.ts +1 -1
- package/dist/routing/DnDevNavigationMenu.js +2 -2
- package/dist/routing/GoTo.js +1 -1
- package/dist/routing/GoToDialog.js +1 -1
- package/dist/routing/GoToInput.js +1 -1
- package/dist/routing/GoToWrapper.d.ts +1 -1
- package/dist/routing/GoToWrapper.js +2 -2
- package/dist/routing/Link.d.ts +2 -2
- package/dist/routing/Link.js +2 -2
- package/dist/routing/NavigationItem.d.ts +1 -1
- package/dist/routing/NavigationItem.js +2 -2
- package/dist/routing/hooks/hooks.next.d.ts +1 -1
- package/dist/routing/hooks/hooks.vite.d.ts +1 -1
- package/dist/routing/hooks/index.d.ts +1 -1
- package/dist/routing/hooks/index.js +1 -1
- package/dist/routing/hooks/types.d.ts +1 -1
- package/dist/routing/hooks/useLocation.next.js +1 -1
- package/dist/routing/hooks/useLocation.vite.js +1 -1
- package/dist/routing/hooks/useNavigate.next.js +1 -1
- package/dist/routing/hooks/useNavigate.vite.js +1 -1
- package/dist/routing/hooks/useQueryParams.next.js +1 -1
- package/dist/routing/hooks/useQueryParams.vite.js +1 -1
- package/dist/routing/hooks/useRedirectGuard.next.js +1 -1
- package/dist/routing/hooks/useRedirectGuard.vite.js +1 -1
- package/dist/routing/hooks/useRouteParam.next.js +1 -1
- package/dist/routing/hooks/useRouteParam.vite.js +1 -1
- package/dist/routing/index.d.ts +1 -1
- package/dist/routing/index.js +1 -1
- package/dist/routing/useGoTo.js +1 -1
- package/dist/routing/useNavigation.d.ts +2 -2
- package/dist/routing/useNavigation.js +3 -3
- package/dist/routing/useRouteDiscovery.d.ts +7 -7
- package/dist/routing/useRouteDiscovery.js +6 -6
- package/dist/styles/index.css +227 -6
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.js +1 -1
- package/dist/styles/layoutConstants.d.ts +6 -6
- package/dist/styles/layoutConstants.js +5 -5
- package/dist/utils/assetResolver.d.ts +5 -5
- package/dist/utils/assetResolver.js +4 -4
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/sanitizeSvg.js +1 -1
- package/dist/utils/tList.js +1 -1
- package/dist/utils/useAuthSafe.js +1 -1
- package/dist/utils/useAuthVisibility.js +1 -1
- package/dist/utils/useBillingVisibility.js +1 -1
- package/dist/utils/useCrudSafe.js +1 -1
- package/dist/utils/useFormStoreSafe.js +1 -1
- package/dist/utils/useOAuthSafe.d.ts +1 -1
- package/dist/utils/useStripeBillingSafe.js +1 -1
- package/dist/vite-routing/AppRoutes.js +1 -1
- package/dist/vite-routing/RootLayout.d.ts +1 -1
- package/dist/vite-routing/RootLayout.js +5 -5
- package/dist/vite-routing/index.d.ts +1 -1
- package/dist/vite-routing/index.js +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +1 -1
- package/package.json +7 -7
|
@@ -4,7 +4,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
4
4
|
* @fileoverview Form Components
|
|
5
5
|
* @description Form components built on react-hook-form and Radix UI primitives. Provides form context, field management, and validation support.
|
|
6
6
|
*
|
|
7
|
-
* @version 0.0
|
|
7
|
+
* @version 0.1.0
|
|
8
8
|
* @since 0.0.1
|
|
9
9
|
* @author AMBROISE PARK Consulting
|
|
10
10
|
*/
|
|
@@ -14,7 +14,7 @@ import { Label, Slot, cn, Stack } from '@donotdev/components';
|
|
|
14
14
|
/**
|
|
15
15
|
* Form provider component
|
|
16
16
|
*
|
|
17
|
-
* @version 0.0
|
|
17
|
+
* @version 0.1.0
|
|
18
18
|
* @since 0.0.1
|
|
19
19
|
* @author AMBROISE PARK Consulting
|
|
20
20
|
*/
|
|
@@ -23,7 +23,7 @@ const Form = FormProvider;
|
|
|
23
23
|
* Form field context for sharing field name
|
|
24
24
|
*
|
|
25
25
|
* @type {React.Context<FormFieldContextValue>}
|
|
26
|
-
* @version 0.0
|
|
26
|
+
* @version 0.1.0
|
|
27
27
|
* @since 0.0.1
|
|
28
28
|
* @author AMBROISE PARK Consulting
|
|
29
29
|
*/
|
|
@@ -35,7 +35,7 @@ const FormFieldContext = createContext({});
|
|
|
35
35
|
*
|
|
36
36
|
* @param {ControllerProps<TFieldValues, TName>} props - Controller props
|
|
37
37
|
* @returns {JSX.Element} Form field component
|
|
38
|
-
* @version 0.0
|
|
38
|
+
* @version 0.1.0
|
|
39
39
|
* @since 0.0.1
|
|
40
40
|
* @author AMBROISE PARK Consulting
|
|
41
41
|
*/
|
|
@@ -46,7 +46,7 @@ const FormField = ({ ...props }) => {
|
|
|
46
46
|
* Form item context for sharing item ID
|
|
47
47
|
*
|
|
48
48
|
* @type {React.Context<{ id: string }>}
|
|
49
|
-
* @version 0.0
|
|
49
|
+
* @version 0.1.0
|
|
50
50
|
* @since 0.0.1
|
|
51
51
|
* @author AMBROISE PARK Consulting
|
|
52
52
|
*/
|
|
@@ -58,7 +58,7 @@ const FormItemContext = createContext({});
|
|
|
58
58
|
*
|
|
59
59
|
* @param {HTMLAttributes<HTMLDivElement>} props - Component props
|
|
60
60
|
* @returns {JSX.Element} Form item component
|
|
61
|
-
* @version 0.0
|
|
61
|
+
* @version 0.1.0
|
|
62
62
|
* @since 0.0.1
|
|
63
63
|
* @author AMBROISE PARK Consulting
|
|
64
64
|
*/
|
|
@@ -72,7 +72,7 @@ const FormItem = ({ className, ...props }) => {
|
|
|
72
72
|
* Returns form field state and IDs for form components.
|
|
73
73
|
*
|
|
74
74
|
* @returns {Object | null} Form field context with IDs and state
|
|
75
|
-
* @version 0.0
|
|
75
|
+
* @version 0.1.0
|
|
76
76
|
* @since 0.0.1
|
|
77
77
|
* @author AMBROISE PARK Consulting
|
|
78
78
|
*/
|
|
@@ -110,7 +110,7 @@ const useFormField = () => {
|
|
|
110
110
|
*
|
|
111
111
|
* @param {ComponentProps<typeof Label>} props - Component props
|
|
112
112
|
* @returns {JSX.Element | null} Form label component
|
|
113
|
-
* @version 0.0
|
|
113
|
+
* @version 0.1.0
|
|
114
114
|
* @since 0.0.1
|
|
115
115
|
* @author AMBROISE PARK Consulting
|
|
116
116
|
*/
|
|
@@ -128,7 +128,7 @@ const FormLabel = ({ className, ...props }) => {
|
|
|
128
128
|
*
|
|
129
129
|
* @param {ComponentProps<typeof Slot>} props - Component props
|
|
130
130
|
* @returns {JSX.Element | null} Form control component
|
|
131
|
-
* @version 0.0
|
|
131
|
+
* @version 0.1.0
|
|
132
132
|
* @since 0.0.1
|
|
133
133
|
* @author AMBROISE PARK Consulting
|
|
134
134
|
*/
|
|
@@ -148,7 +148,7 @@ const FormControl = ({ ...props }) => {
|
|
|
148
148
|
*
|
|
149
149
|
* @param {HTMLAttributes<HTMLParagraphElement>} props - Component props
|
|
150
150
|
* @returns {JSX.Element | null} Form description component
|
|
151
|
-
* @version 0.0
|
|
151
|
+
* @version 0.1.0
|
|
152
152
|
* @since 0.0.1
|
|
153
153
|
* @author AMBROISE PARK Consulting
|
|
154
154
|
*/
|
|
@@ -169,7 +169,7 @@ const FormDescription = ({ className, ...props }) => {
|
|
|
169
169
|
*
|
|
170
170
|
* @param {HTMLAttributes<HTMLParagraphElement>} props - Component props
|
|
171
171
|
* @returns {JSX.Element | null} Form message component
|
|
172
|
-
* @version 0.0
|
|
172
|
+
* @version 0.1.0
|
|
173
173
|
* @since 0.0.1
|
|
174
174
|
* @author AMBROISE PARK Consulting
|
|
175
175
|
*/
|
|
@@ -191,7 +191,7 @@ const FormMessage = ({ className, children, ...props }) => {
|
|
|
191
191
|
/**
|
|
192
192
|
* Form component exports
|
|
193
193
|
*
|
|
194
|
-
* @version 0.0
|
|
194
|
+
* @version 0.1.0
|
|
195
195
|
* @since 0.0.1
|
|
196
196
|
* @author AMBROISE PARK Consulting
|
|
197
197
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crudImports.d.ts","sourceRoot":"","sources":["../../src/crud/crudImports.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAE7C,0DAA0D;AAC1D,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"crudImports.d.ts","sourceRoot":"","sources":["../../src/crud/crudImports.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAE7C,0DAA0D;AAC1D,eAAO,MAAM,qBAAqB,SAA4C,CAAC;AAG/E,eAAO,MAAM,aAAa,iCAA4B,CAAC;AACvD,eAAO,MAAM,wBAAwB,4CAAuC,CAAC;AAC7E,eAAO,MAAM,YAAY,iKAA2B,CAAC;AACrD,eAAO,MAAM,kBAAkB,sCAAiC,CAAC;AACjE,eAAO,MAAM,OAAO,2BAAsB,CAAC;AAC3C,eAAO,MAAM,WAAW,+BAA0B,CAAC;AACnD,eAAO,MAAM,eAAe,mCAA8B,CAAC;AAC3D,eAAO,MAAM,kBAAkB,sCAAiC,CAAC;AACjE,eAAO,MAAM,cAAc,kCAA6B,CAAC;AACzD,eAAO,MAAM,iBAAiB,qCAAgC,CAAC;AAC/D,eAAO,MAAM,oBAAoB,wCAAmC,CAAC;AAGrE,eAAO,MAAM,oBAAoB,wCAAmC,CAAC;AACrE,eAAO,MAAM,iBAAiB,qCAAgC,CAAC;AAC/D,eAAO,MAAM,cAAc,kCAA6B,CAAC;AACzD,eAAO,MAAM,aAAa,iCAA4B,CAAC;AACvD,eAAO,MAAM,QAAQ,4BAAuB,CAAC;AAG7C,eAAO,MAAM,mBAAmB,uCAAkC,CAAC;AACnE,eAAO,MAAM,WAAW,+BAA0B,CAAC"}
|
package/dist/crud/crudImports.js
CHANGED
package/dist/crud/index.d.ts
CHANGED
package/dist/crud/index.js
CHANGED
package/dist/data/techLogos.d.ts
CHANGED
package/dist/data/techLogos.js
CHANGED
package/dist/dndev-next.css
CHANGED
|
@@ -298,6 +298,11 @@
|
|
|
298
298
|
--content-width: var(
|
|
299
299
|
--max-content-width
|
|
300
300
|
); /* Default: use max (layout overrides) */
|
|
301
|
+
|
|
302
|
+
/* Named content width presets — SSOT for PageContainer variants + Section contentWidth */
|
|
303
|
+
--content-width-standard: min(87.5rem, 100%);
|
|
304
|
+
--content-width-docs: min(56.25rem, 100%);
|
|
305
|
+
--content-width-narrow: min(var(--narrow-content-max), 100%);
|
|
301
306
|
}
|
|
302
307
|
/* ===========================
|
|
303
308
|
DENSITY SYSTEM
|
|
@@ -2274,6 +2279,41 @@ em {
|
|
|
2274
2279
|
transition: none;
|
|
2275
2280
|
}
|
|
2276
2281
|
}
|
|
2282
|
+
/* packages/components/src/advanced/Carousel/Carousel.css */
|
|
2283
|
+
/* Responsive slide width via CSS custom properties — same pattern as Grid */
|
|
2284
|
+
.dndev-carousel-slide {
|
|
2285
|
+
flex-shrink: 0;
|
|
2286
|
+
box-sizing: border-box;
|
|
2287
|
+
width: calc(100% / var(--carousel-slides-mobile, 1));
|
|
2288
|
+
}
|
|
2289
|
+
/* Tablet: 768px+ */
|
|
2290
|
+
@media (min-width: 768px) {
|
|
2291
|
+
.dndev-carousel-slide {
|
|
2292
|
+
width: calc(100% / var(--carousel-slides-tablet, 1));
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
/* Laptop: 1024px+ */
|
|
2296
|
+
@media (min-width: 1024px) {
|
|
2297
|
+
.dndev-carousel-slide {
|
|
2298
|
+
width: calc(100% / var(--carousel-slides-laptop, 1));
|
|
2299
|
+
}
|
|
2300
|
+
}
|
|
2301
|
+
/* Desktop: 1440px+ */
|
|
2302
|
+
@media (min-width: 1440px) {
|
|
2303
|
+
.dndev-carousel-slide {
|
|
2304
|
+
width: calc(100% / var(--carousel-slides-desktop, 1));
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
/* Gap between slides — padding inside the slide box, translateX math untouched */
|
|
2308
|
+
.dndev-carousel-slide[data-gap='tight'] {
|
|
2309
|
+
padding-inline-end: var(--gap-sm);
|
|
2310
|
+
}
|
|
2311
|
+
.dndev-carousel-slide[data-gap='medium'] {
|
|
2312
|
+
padding-inline-end: var(--gap-md);
|
|
2313
|
+
}
|
|
2314
|
+
.dndev-carousel-slide[data-gap='large'] {
|
|
2315
|
+
padding-inline-end: var(--gap-lg);
|
|
2316
|
+
}
|
|
2277
2317
|
/* packages/components/src/atomic/Blockquote/Blockquote.css */
|
|
2278
2318
|
/*
|
|
2279
2319
|
* Blockquote Component - Industry-standard patterns
|
|
@@ -5061,6 +5101,129 @@ input[type='number'] {
|
|
|
5061
5101
|
.dndev-range-input > .dndev-relative {
|
|
5062
5102
|
min-width: 0;
|
|
5063
5103
|
}
|
|
5104
|
+
/* packages/components/src/atomic/Rating/Rating.css */
|
|
5105
|
+
/**
|
|
5106
|
+
* Rating Component Styles
|
|
5107
|
+
* Star-based rating with filled, half, and empty states
|
|
5108
|
+
*/
|
|
5109
|
+
.dndev-rating {
|
|
5110
|
+
display: inline-flex;
|
|
5111
|
+
align-items: center;
|
|
5112
|
+
gap: var(--gap-sm);
|
|
5113
|
+
-webkit-user-select: none;
|
|
5114
|
+
-moz-user-select: none;
|
|
5115
|
+
user-select: none;
|
|
5116
|
+
}
|
|
5117
|
+
.dndev-rating[data-disabled] {
|
|
5118
|
+
opacity: var(--opacity-muted);
|
|
5119
|
+
pointer-events: none;
|
|
5120
|
+
}
|
|
5121
|
+
.dndev-rating:not([data-readonly]):not([data-disabled]) {
|
|
5122
|
+
cursor: pointer;
|
|
5123
|
+
}
|
|
5124
|
+
.dndev-rating:focus-visible {
|
|
5125
|
+
outline: 2px solid var(--ring);
|
|
5126
|
+
outline-offset: 2px;
|
|
5127
|
+
border-radius: 4px;
|
|
5128
|
+
}
|
|
5129
|
+
/* Stars container */
|
|
5130
|
+
.dndev-rating-stars {
|
|
5131
|
+
display: inline-flex;
|
|
5132
|
+
gap: 2px;
|
|
5133
|
+
}
|
|
5134
|
+
/* Individual star button */
|
|
5135
|
+
.dndev-rating-star {
|
|
5136
|
+
display: inline-flex;
|
|
5137
|
+
align-items: center;
|
|
5138
|
+
justify-content: center;
|
|
5139
|
+
padding: 0;
|
|
5140
|
+
border: none;
|
|
5141
|
+
background: transparent;
|
|
5142
|
+
cursor: inherit;
|
|
5143
|
+
color: var(--muted-foreground);
|
|
5144
|
+
transition:
|
|
5145
|
+
color var(--dur-fast) var(--ease-in-out),
|
|
5146
|
+
transform var(--dur-fast) var(--ease-in-out);
|
|
5147
|
+
}
|
|
5148
|
+
.dndev-rating-star:disabled {
|
|
5149
|
+
cursor: default;
|
|
5150
|
+
}
|
|
5151
|
+
.dndev-rating-star svg {
|
|
5152
|
+
width: var(--icon-md);
|
|
5153
|
+
height: var(--icon-md);
|
|
5154
|
+
stroke-width: 1.5;
|
|
5155
|
+
}
|
|
5156
|
+
/* Star states */
|
|
5157
|
+
.dndev-rating-star[data-state='empty'] {
|
|
5158
|
+
color: var(--muted-foreground);
|
|
5159
|
+
}
|
|
5160
|
+
.dndev-rating-star[data-state='filled'] {
|
|
5161
|
+
color: var(--warning);
|
|
5162
|
+
}
|
|
5163
|
+
.dndev-rating-star[data-state='filled'] svg {
|
|
5164
|
+
fill: currentColor;
|
|
5165
|
+
}
|
|
5166
|
+
/* Half-star rendering */
|
|
5167
|
+
.dndev-rating-star-half {
|
|
5168
|
+
position: relative;
|
|
5169
|
+
display: inline-flex;
|
|
5170
|
+
}
|
|
5171
|
+
.dndev-rating-star-back {
|
|
5172
|
+
color: var(--muted-foreground);
|
|
5173
|
+
}
|
|
5174
|
+
.dndev-rating-star-front {
|
|
5175
|
+
position: absolute;
|
|
5176
|
+
inset: 0;
|
|
5177
|
+
color: var(--warning);
|
|
5178
|
+
fill: currentColor;
|
|
5179
|
+
clip-path: inset(0 50% 0 0);
|
|
5180
|
+
}
|
|
5181
|
+
/* RTL support */
|
|
5182
|
+
:dir(rtl) .dndev-rating-star-front {
|
|
5183
|
+
clip-path: inset(0 0 0 50%);
|
|
5184
|
+
}
|
|
5185
|
+
/* Interactive hover effects */
|
|
5186
|
+
.dndev-rating:not([data-readonly]):not([data-disabled])
|
|
5187
|
+
.dndev-rating-star:hover {
|
|
5188
|
+
transform: scale(1.15);
|
|
5189
|
+
}
|
|
5190
|
+
/* Variant colors - override warning default */
|
|
5191
|
+
.dndev-rating[data-variant='primary'] .dndev-rating-star[data-state='filled'],
|
|
5192
|
+
.dndev-rating[data-variant='primary'] .dndev-rating-star-front {
|
|
5193
|
+
color: var(--primary);
|
|
5194
|
+
}
|
|
5195
|
+
.dndev-rating[data-variant='secondary'] .dndev-rating-star[data-state='filled'],
|
|
5196
|
+
.dndev-rating[data-variant='secondary'] .dndev-rating-star-front {
|
|
5197
|
+
color: var(--secondary);
|
|
5198
|
+
}
|
|
5199
|
+
.dndev-rating[data-variant='accent'] .dndev-rating-star[data-state='filled'],
|
|
5200
|
+
.dndev-rating[data-variant='accent'] .dndev-rating-star-front {
|
|
5201
|
+
color: var(--accent);
|
|
5202
|
+
}
|
|
5203
|
+
.dndev-rating[data-variant='success'] .dndev-rating-star[data-state='filled'],
|
|
5204
|
+
.dndev-rating[data-variant='success'] .dndev-rating-star-front {
|
|
5205
|
+
color: var(--success);
|
|
5206
|
+
}
|
|
5207
|
+
.dndev-rating[data-variant='warning'] .dndev-rating-star[data-state='filled'],
|
|
5208
|
+
.dndev-rating[data-variant='warning'] .dndev-rating-star-front {
|
|
5209
|
+
color: var(--warning);
|
|
5210
|
+
}
|
|
5211
|
+
.dndev-rating[data-variant='destructive']
|
|
5212
|
+
.dndev-rating-star[data-state='filled'],
|
|
5213
|
+
.dndev-rating[data-variant='destructive'] .dndev-rating-star-front {
|
|
5214
|
+
color: var(--destructive);
|
|
5215
|
+
}
|
|
5216
|
+
.dndev-rating[data-variant='muted'] .dndev-rating-star[data-state='filled'],
|
|
5217
|
+
.dndev-rating[data-variant='muted'] .dndev-rating-star-front {
|
|
5218
|
+
color: var(--muted-foreground);
|
|
5219
|
+
}
|
|
5220
|
+
/* Numeric value display */
|
|
5221
|
+
.dndev-rating-value {
|
|
5222
|
+
font-size: var(--font-size-sm);
|
|
5223
|
+
font-weight: var(--font-weight-medium);
|
|
5224
|
+
color: var(--muted-foreground);
|
|
5225
|
+
min-width: 2ch;
|
|
5226
|
+
}
|
|
5064
5227
|
/* packages/components/src/atomic/Select/Select.css */
|
|
5065
5228
|
.dndev-select-trigger {
|
|
5066
5229
|
justify-content: space-between;
|
|
@@ -5192,6 +5355,16 @@ input[type='number'] {
|
|
|
5192
5355
|
padding-inline: var(--gap-lg);
|
|
5193
5356
|
}
|
|
5194
5357
|
}
|
|
5358
|
+
/* Content width constraints — background stays full, only inner content narrows */
|
|
5359
|
+
.dndev-section-content[data-content-width='standard'] {
|
|
5360
|
+
max-width: var(--content-width-standard);
|
|
5361
|
+
}
|
|
5362
|
+
.dndev-section-content[data-content-width='docs'] {
|
|
5363
|
+
max-width: var(--content-width-docs);
|
|
5364
|
+
}
|
|
5365
|
+
.dndev-section-content[data-content-width='narrow'] {
|
|
5366
|
+
max-width: var(--content-width-narrow);
|
|
5367
|
+
}
|
|
5195
5368
|
/* Propagate text-align to all section content via CSS inheritance */
|
|
5196
5369
|
.dndev-section-full-width[data-text-align='start'] > .dndev-section-content {
|
|
5197
5370
|
text-align: start;
|
|
@@ -10080,21 +10253,18 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
10080
10253
|
}
|
|
10081
10254
|
/* Standard width - responsive */
|
|
10082
10255
|
.dndev-container[data-variant='standard'] {
|
|
10083
|
-
--max-content-width:
|
|
10256
|
+
--max-content-width: var(--content-width-standard);
|
|
10084
10257
|
max-width: var(--content-width);
|
|
10085
|
-
/* 1480px max, but never exceeds container width */
|
|
10086
10258
|
}
|
|
10087
10259
|
/* Docs width - responsive */
|
|
10088
10260
|
.dndev-container[data-variant='docs'] {
|
|
10089
|
-
--max-content-width:
|
|
10261
|
+
--max-content-width: var(--content-width-docs);
|
|
10090
10262
|
max-width: var(--content-width);
|
|
10091
|
-
/* 900px max, but never exceeds container width */
|
|
10092
10263
|
}
|
|
10093
10264
|
/* Narrow width - mobile-first single column (PWA, app-like on every device) */
|
|
10094
10265
|
.dndev-container[data-variant='narrow'] {
|
|
10095
|
-
--max-content-width:
|
|
10266
|
+
--max-content-width: var(--content-width-narrow);
|
|
10096
10267
|
max-width: var(--content-width);
|
|
10097
|
-
/* 600px max, but never exceeds container width */
|
|
10098
10268
|
}
|
|
10099
10269
|
/* Fixed frame - fills parent exactly, prevents parent scroll */
|
|
10100
10270
|
.dndev-container[data-variant='fixed'] {
|
package/dist/dndev.css
CHANGED
|
@@ -305,6 +305,11 @@
|
|
|
305
305
|
--content-width: var(
|
|
306
306
|
--max-content-width
|
|
307
307
|
); /* Default: use max (layout overrides) */
|
|
308
|
+
|
|
309
|
+
/* Named content width presets — SSOT for PageContainer variants + Section contentWidth */
|
|
310
|
+
--content-width-standard: min(87.5rem, 100%);
|
|
311
|
+
--content-width-docs: min(56.25rem, 100%);
|
|
312
|
+
--content-width-narrow: min(var(--narrow-content-max), 100%);
|
|
308
313
|
}
|
|
309
314
|
|
|
310
315
|
/* ===========================
|
|
@@ -2706,6 +2711,54 @@ em {
|
|
|
2706
2711
|
}
|
|
2707
2712
|
}
|
|
2708
2713
|
|
|
2714
|
+
/* packages/components/src/advanced/Carousel/Carousel.css */
|
|
2715
|
+
|
|
2716
|
+
/* Responsive slide width via CSS custom properties — same pattern as Grid */
|
|
2717
|
+
|
|
2718
|
+
.dndev-carousel-slide {
|
|
2719
|
+
flex-shrink: 0;
|
|
2720
|
+
box-sizing: border-box;
|
|
2721
|
+
width: calc(100% / var(--carousel-slides-mobile, 1));
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
/* Tablet: 768px+ */
|
|
2725
|
+
|
|
2726
|
+
@media (min-width: 768px) {
|
|
2727
|
+
.dndev-carousel-slide {
|
|
2728
|
+
width: calc(100% / var(--carousel-slides-tablet, 1));
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
/* Laptop: 1024px+ */
|
|
2733
|
+
|
|
2734
|
+
@media (min-width: 1024px) {
|
|
2735
|
+
.dndev-carousel-slide {
|
|
2736
|
+
width: calc(100% / var(--carousel-slides-laptop, 1));
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2740
|
+
/* Desktop: 1440px+ */
|
|
2741
|
+
|
|
2742
|
+
@media (min-width: 1440px) {
|
|
2743
|
+
.dndev-carousel-slide {
|
|
2744
|
+
width: calc(100% / var(--carousel-slides-desktop, 1));
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
/* Gap between slides — padding inside the slide box, translateX math untouched */
|
|
2749
|
+
|
|
2750
|
+
.dndev-carousel-slide[data-gap='tight'] {
|
|
2751
|
+
padding-inline-end: var(--gap-sm);
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
.dndev-carousel-slide[data-gap='medium'] {
|
|
2755
|
+
padding-inline-end: var(--gap-md);
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
.dndev-carousel-slide[data-gap='large'] {
|
|
2759
|
+
padding-inline-end: var(--gap-lg);
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2709
2762
|
/* packages/components/src/atomic/Blockquote/Blockquote.css */
|
|
2710
2763
|
|
|
2711
2764
|
/*
|
|
@@ -6154,6 +6207,163 @@ input[type='number'] {
|
|
|
6154
6207
|
min-width: 0;
|
|
6155
6208
|
}
|
|
6156
6209
|
|
|
6210
|
+
/* packages/components/src/atomic/Rating/Rating.css */
|
|
6211
|
+
|
|
6212
|
+
/**
|
|
6213
|
+
* Rating Component Styles
|
|
6214
|
+
* Star-based rating with filled, half, and empty states
|
|
6215
|
+
*/
|
|
6216
|
+
|
|
6217
|
+
.dndev-rating {
|
|
6218
|
+
display: inline-flex;
|
|
6219
|
+
align-items: center;
|
|
6220
|
+
gap: var(--gap-sm);
|
|
6221
|
+
-webkit-user-select: none;
|
|
6222
|
+
-moz-user-select: none;
|
|
6223
|
+
user-select: none;
|
|
6224
|
+
}
|
|
6225
|
+
|
|
6226
|
+
.dndev-rating[data-disabled] {
|
|
6227
|
+
opacity: var(--opacity-muted);
|
|
6228
|
+
pointer-events: none;
|
|
6229
|
+
}
|
|
6230
|
+
|
|
6231
|
+
.dndev-rating:not([data-readonly]):not([data-disabled]) {
|
|
6232
|
+
cursor: pointer;
|
|
6233
|
+
}
|
|
6234
|
+
|
|
6235
|
+
.dndev-rating:focus-visible {
|
|
6236
|
+
outline: 2px solid var(--ring);
|
|
6237
|
+
outline-offset: 2px;
|
|
6238
|
+
border-radius: 4px;
|
|
6239
|
+
}
|
|
6240
|
+
|
|
6241
|
+
/* Stars container */
|
|
6242
|
+
|
|
6243
|
+
.dndev-rating-stars {
|
|
6244
|
+
display: inline-flex;
|
|
6245
|
+
gap: 2px;
|
|
6246
|
+
}
|
|
6247
|
+
|
|
6248
|
+
/* Individual star button */
|
|
6249
|
+
|
|
6250
|
+
.dndev-rating-star {
|
|
6251
|
+
display: inline-flex;
|
|
6252
|
+
align-items: center;
|
|
6253
|
+
justify-content: center;
|
|
6254
|
+
padding: 0;
|
|
6255
|
+
border: none;
|
|
6256
|
+
background: transparent;
|
|
6257
|
+
cursor: inherit;
|
|
6258
|
+
color: var(--muted-foreground);
|
|
6259
|
+
transition:
|
|
6260
|
+
color var(--dur-fast) var(--ease-in-out),
|
|
6261
|
+
transform var(--dur-fast) var(--ease-in-out);
|
|
6262
|
+
}
|
|
6263
|
+
|
|
6264
|
+
.dndev-rating-star:disabled {
|
|
6265
|
+
cursor: default;
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6268
|
+
.dndev-rating-star svg {
|
|
6269
|
+
width: var(--icon-md);
|
|
6270
|
+
height: var(--icon-md);
|
|
6271
|
+
stroke-width: 1.5;
|
|
6272
|
+
}
|
|
6273
|
+
|
|
6274
|
+
/* Star states */
|
|
6275
|
+
|
|
6276
|
+
.dndev-rating-star[data-state='empty'] {
|
|
6277
|
+
color: var(--muted-foreground);
|
|
6278
|
+
}
|
|
6279
|
+
|
|
6280
|
+
.dndev-rating-star[data-state='filled'] {
|
|
6281
|
+
color: var(--warning);
|
|
6282
|
+
}
|
|
6283
|
+
|
|
6284
|
+
.dndev-rating-star[data-state='filled'] svg {
|
|
6285
|
+
fill: currentColor;
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
/* Half-star rendering */
|
|
6289
|
+
|
|
6290
|
+
.dndev-rating-star-half {
|
|
6291
|
+
position: relative;
|
|
6292
|
+
display: inline-flex;
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
.dndev-rating-star-back {
|
|
6296
|
+
color: var(--muted-foreground);
|
|
6297
|
+
}
|
|
6298
|
+
|
|
6299
|
+
.dndev-rating-star-front {
|
|
6300
|
+
position: absolute;
|
|
6301
|
+
inset: 0;
|
|
6302
|
+
color: var(--warning);
|
|
6303
|
+
fill: currentColor;
|
|
6304
|
+
clip-path: inset(0 50% 0 0);
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6307
|
+
/* RTL support */
|
|
6308
|
+
|
|
6309
|
+
:dir(rtl) .dndev-rating-star-front {
|
|
6310
|
+
clip-path: inset(0 0 0 50%);
|
|
6311
|
+
}
|
|
6312
|
+
|
|
6313
|
+
/* Interactive hover effects */
|
|
6314
|
+
|
|
6315
|
+
.dndev-rating:not([data-readonly]):not([data-disabled])
|
|
6316
|
+
.dndev-rating-star:hover {
|
|
6317
|
+
transform: scale(1.15);
|
|
6318
|
+
}
|
|
6319
|
+
|
|
6320
|
+
/* Variant colors - override warning default */
|
|
6321
|
+
|
|
6322
|
+
.dndev-rating[data-variant='primary'] .dndev-rating-star[data-state='filled'],
|
|
6323
|
+
.dndev-rating[data-variant='primary'] .dndev-rating-star-front {
|
|
6324
|
+
color: var(--primary);
|
|
6325
|
+
}
|
|
6326
|
+
|
|
6327
|
+
.dndev-rating[data-variant='secondary'] .dndev-rating-star[data-state='filled'],
|
|
6328
|
+
.dndev-rating[data-variant='secondary'] .dndev-rating-star-front {
|
|
6329
|
+
color: var(--secondary);
|
|
6330
|
+
}
|
|
6331
|
+
|
|
6332
|
+
.dndev-rating[data-variant='accent'] .dndev-rating-star[data-state='filled'],
|
|
6333
|
+
.dndev-rating[data-variant='accent'] .dndev-rating-star-front {
|
|
6334
|
+
color: var(--accent);
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6337
|
+
.dndev-rating[data-variant='success'] .dndev-rating-star[data-state='filled'],
|
|
6338
|
+
.dndev-rating[data-variant='success'] .dndev-rating-star-front {
|
|
6339
|
+
color: var(--success);
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6342
|
+
.dndev-rating[data-variant='warning'] .dndev-rating-star[data-state='filled'],
|
|
6343
|
+
.dndev-rating[data-variant='warning'] .dndev-rating-star-front {
|
|
6344
|
+
color: var(--warning);
|
|
6345
|
+
}
|
|
6346
|
+
|
|
6347
|
+
.dndev-rating[data-variant='destructive']
|
|
6348
|
+
.dndev-rating-star[data-state='filled'],
|
|
6349
|
+
.dndev-rating[data-variant='destructive'] .dndev-rating-star-front {
|
|
6350
|
+
color: var(--destructive);
|
|
6351
|
+
}
|
|
6352
|
+
|
|
6353
|
+
.dndev-rating[data-variant='muted'] .dndev-rating-star[data-state='filled'],
|
|
6354
|
+
.dndev-rating[data-variant='muted'] .dndev-rating-star-front {
|
|
6355
|
+
color: var(--muted-foreground);
|
|
6356
|
+
}
|
|
6357
|
+
|
|
6358
|
+
/* Numeric value display */
|
|
6359
|
+
|
|
6360
|
+
.dndev-rating-value {
|
|
6361
|
+
font-size: var(--font-size-sm);
|
|
6362
|
+
font-weight: var(--font-weight-medium);
|
|
6363
|
+
color: var(--muted-foreground);
|
|
6364
|
+
min-width: 2ch;
|
|
6365
|
+
}
|
|
6366
|
+
|
|
6157
6367
|
/* packages/components/src/atomic/Select/Select.css */
|
|
6158
6368
|
|
|
6159
6369
|
.dndev-select-trigger {
|
|
@@ -6318,6 +6528,20 @@ input[type='number'] {
|
|
|
6318
6528
|
}
|
|
6319
6529
|
}
|
|
6320
6530
|
|
|
6531
|
+
/* Content width constraints — background stays full, only inner content narrows */
|
|
6532
|
+
|
|
6533
|
+
.dndev-section-content[data-content-width='standard'] {
|
|
6534
|
+
max-width: var(--content-width-standard);
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
.dndev-section-content[data-content-width='docs'] {
|
|
6538
|
+
max-width: var(--content-width-docs);
|
|
6539
|
+
}
|
|
6540
|
+
|
|
6541
|
+
.dndev-section-content[data-content-width='narrow'] {
|
|
6542
|
+
max-width: var(--content-width-narrow);
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6321
6545
|
/* Propagate text-align to all section content via CSS inheritance */
|
|
6322
6546
|
|
|
6323
6547
|
.dndev-section-full-width[data-text-align='start'] > .dndev-section-content {
|
|
@@ -12341,25 +12565,22 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
12341
12565
|
/* Standard width - responsive */
|
|
12342
12566
|
|
|
12343
12567
|
.dndev-container[data-variant='standard'] {
|
|
12344
|
-
--max-content-width:
|
|
12568
|
+
--max-content-width: var(--content-width-standard);
|
|
12345
12569
|
max-width: var(--content-width);
|
|
12346
|
-
/* 1480px max, but never exceeds container width */
|
|
12347
12570
|
}
|
|
12348
12571
|
|
|
12349
12572
|
/* Docs width - responsive */
|
|
12350
12573
|
|
|
12351
12574
|
.dndev-container[data-variant='docs'] {
|
|
12352
|
-
--max-content-width:
|
|
12575
|
+
--max-content-width: var(--content-width-docs);
|
|
12353
12576
|
max-width: var(--content-width);
|
|
12354
|
-
/* 900px max, but never exceeds container width */
|
|
12355
12577
|
}
|
|
12356
12578
|
|
|
12357
12579
|
/* Narrow width - mobile-first single column (PWA, app-like on every device) */
|
|
12358
12580
|
|
|
12359
12581
|
.dndev-container[data-variant='narrow'] {
|
|
12360
|
-
--max-content-width:
|
|
12582
|
+
--max-content-width: var(--content-width-narrow);
|
|
12361
12583
|
max-width: var(--content-width);
|
|
12362
|
-
/* 600px max, but never exceeds container width */
|
|
12363
12584
|
}
|
|
12364
12585
|
|
|
12365
12586
|
/* Fixed frame - fills parent exactly, prevents parent scroll */
|