@donotdev/ui 0.0.19 → 0.0.21
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/dist/crud/components/EntityList.d.ts.map +1 -1
- package/dist/crud/components/EntityList.js +5 -4
- package/dist/dndev.css +479 -84
- 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/layout/DnDevLayout.d.ts.map +1 -1
- package/dist/internal/layout/DnDevLayout.js +4 -2
- package/dist/styles/index.css +479 -84
- package/dist/utils/sanitizeSvg.js +1 -1
- package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
- package/dist/vite-routing/AppRoutes.js +11 -2
- package/dist/vite-routing/RootLayout.d.ts.map +1 -1
- package/dist/vite-routing/RootLayout.js +5 -4
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DnDevLayout.d.ts","sourceRoot":"","sources":["../../../src/internal/layout/DnDevLayout.tsx"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAIV,YAAY,EACb,MAAM,gBAAgB,CAAC;AA0CxB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,GAAI,kCAIzB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"DnDevLayout.d.ts","sourceRoot":"","sources":["../../../src/internal/layout/DnDevLayout.tsx"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAIV,YAAY,EACb,MAAM,gBAAgB,CAAC;AA0CxB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,GAAI,kCAIzB,yBAAyB,4CA4T3B,CAAC"}
|
|
@@ -64,12 +64,14 @@ export const DnDevLayout = ({ children, layout, className, }) => {
|
|
|
64
64
|
const preset = useLayout('layoutPreset');
|
|
65
65
|
const routePresetOverride = useLayout('routePresetOverride');
|
|
66
66
|
const isMobile = useBreakpoint('isMobileOrTablet');
|
|
67
|
-
const app = useAppConfig(
|
|
67
|
+
const { app, features } = useAppConfig();
|
|
68
|
+
const debugEnabled = isDev() && features?.debug === true;
|
|
68
69
|
// Subscribe to language changes for zone re-renders
|
|
69
70
|
useTranslation('dndev');
|
|
70
71
|
// Layout config props
|
|
71
72
|
const breadcrumbs = layout?.breadcrumbs ?? 'smart';
|
|
72
73
|
const footerMode = layout?.footerMode;
|
|
74
|
+
const footerInline = footerMode === 'scroll' || isMobile;
|
|
73
75
|
// Route detection for animations
|
|
74
76
|
const location = useLocation();
|
|
75
77
|
const pathname = location.pathname;
|
|
@@ -248,5 +250,5 @@ export const DnDevLayout = ({ children, layout, className, }) => {
|
|
|
248
250
|
};
|
|
249
251
|
startTransition(updateDOM);
|
|
250
252
|
}, [effectivePreset]);
|
|
251
|
-
return (_jsxs("div", { className: cn('dndev-layout', className), "data-footer-
|
|
253
|
+
return (_jsxs("div", { className: cn('dndev-layout', className), "data-footer-inline": footerInline || undefined, children: [resolvedHeader, resolvedSidebar, _jsxs("main", { ref: mainRef, role: "main", className: "main", children: [breadcrumbs !== 'never' && (_jsx("div", { className: "breadcrumbs-container", children: _jsx(Breadcrumbs, { variant: breadcrumbs === 'always' ? 'default' : 'smart' }) })), debugEnabled && (_jsx(Suspense, { fallback: null, children: _jsx(DebugTools, {}) })), layout?.wrapper ? layout.wrapper({ children: content }) : content, footerInline && resolvedFooter] }), !footerInline && resolvedFooter, resolvedMergedBar, _jsx(GoToWrapper, {})] }));
|
|
252
254
|
};
|
package/dist/styles/index.css
CHANGED
|
@@ -521,7 +521,7 @@ body {
|
|
|
521
521
|
|
|
522
522
|
#root {
|
|
523
523
|
height: 100%;
|
|
524
|
-
overflow
|
|
524
|
+
overflow: hidden;
|
|
525
525
|
position: relative;
|
|
526
526
|
}
|
|
527
527
|
|
|
@@ -968,7 +968,6 @@ em {
|
|
|
968
968
|
); /* Extra top padding for FloatingLabels */
|
|
969
969
|
position: relative;
|
|
970
970
|
overflow: hidden;
|
|
971
|
-
contain: layout style;
|
|
972
971
|
transform: translateZ(0);
|
|
973
972
|
backface-visibility: hidden;
|
|
974
973
|
transition:
|
|
@@ -2974,6 +2973,88 @@ em {
|
|
|
2974
2973
|
transform: rotate(-90deg);
|
|
2975
2974
|
}
|
|
2976
2975
|
|
|
2976
|
+
/* packages/components/src/atomic/ButtonGroup/ButtonGroup.css */
|
|
2977
|
+
|
|
2978
|
+
.dndev-button-group {
|
|
2979
|
+
display: inline-flex;
|
|
2980
|
+
align-items: stretch;
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
/* Orientation */
|
|
2984
|
+
|
|
2985
|
+
.dndev-button-group[data-orientation='horizontal'] {
|
|
2986
|
+
flex-direction: row;
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
.dndev-button-group[data-orientation='vertical'] {
|
|
2990
|
+
flex-direction: column;
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2993
|
+
/* --- Horizontal border collapse --- */
|
|
2994
|
+
|
|
2995
|
+
.dndev-button-group[data-orientation='horizontal']
|
|
2996
|
+
> .dndev-interactive
|
|
2997
|
+
+ .dndev-interactive {
|
|
2998
|
+
margin-inline-start: -1px;
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
.dndev-button-group[data-orientation='horizontal']
|
|
3002
|
+
> .dndev-interactive:first-child {
|
|
3003
|
+
border-start-end-radius: 0;
|
|
3004
|
+
border-end-end-radius: 0;
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
.dndev-button-group[data-orientation='horizontal']
|
|
3008
|
+
> .dndev-interactive:last-child {
|
|
3009
|
+
border-start-start-radius: 0;
|
|
3010
|
+
border-end-start-radius: 0;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
.dndev-button-group[data-orientation='horizontal']
|
|
3014
|
+
> .dndev-interactive:not(:first-child):not(:last-child) {
|
|
3015
|
+
border-radius: 0;
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
/* --- Vertical border collapse --- */
|
|
3019
|
+
|
|
3020
|
+
.dndev-button-group[data-orientation='vertical']
|
|
3021
|
+
> .dndev-interactive
|
|
3022
|
+
+ .dndev-interactive {
|
|
3023
|
+
margin-block-start: -1px;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
.dndev-button-group[data-orientation='vertical']
|
|
3027
|
+
> .dndev-interactive:first-child {
|
|
3028
|
+
border-end-start-radius: 0;
|
|
3029
|
+
border-end-end-radius: 0;
|
|
3030
|
+
}
|
|
3031
|
+
|
|
3032
|
+
.dndev-button-group[data-orientation='vertical']
|
|
3033
|
+
> .dndev-interactive:last-child {
|
|
3034
|
+
border-start-start-radius: 0;
|
|
3035
|
+
border-start-end-radius: 0;
|
|
3036
|
+
}
|
|
3037
|
+
|
|
3038
|
+
.dndev-button-group[data-orientation='vertical']
|
|
3039
|
+
> .dndev-interactive:not(:first-child):not(:last-child) {
|
|
3040
|
+
border-radius: 0;
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
/* Hover/focus z-index lift to show full border */
|
|
3044
|
+
|
|
3045
|
+
.dndev-button-group > .dndev-interactive:hover,
|
|
3046
|
+
.dndev-button-group > .dndev-interactive:focus-visible {
|
|
3047
|
+
z-index: 1;
|
|
3048
|
+
position: relative;
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
/* Disabled group */
|
|
3052
|
+
|
|
3053
|
+
.dndev-button-group[aria-disabled='true'] {
|
|
3054
|
+
opacity: var(--opacity-muted);
|
|
3055
|
+
pointer-events: none;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
2977
3058
|
/* packages/components/src/atomic/Calendar/Calendar.css */
|
|
2978
3059
|
|
|
2979
3060
|
/**
|
|
@@ -3585,6 +3666,138 @@ em {
|
|
|
3585
3666
|
transform: rotate(180deg);
|
|
3586
3667
|
}
|
|
3587
3668
|
|
|
3669
|
+
/* packages/components/src/atomic/ColorPicker/ColorPicker.css */
|
|
3670
|
+
|
|
3671
|
+
.dndev-color-picker {
|
|
3672
|
+
display: flex;
|
|
3673
|
+
flex-direction: column;
|
|
3674
|
+
gap: var(--gap-md);
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
/* Swatch grid */
|
|
3678
|
+
|
|
3679
|
+
.dndev-color-swatches {
|
|
3680
|
+
display: grid;
|
|
3681
|
+
grid-template-columns: repeat(var(--color-picker-columns, 8), 1fr);
|
|
3682
|
+
gap: var(--gap-sm);
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
/* Individual swatch */
|
|
3686
|
+
|
|
3687
|
+
.dndev-color-swatch {
|
|
3688
|
+
width: 100%;
|
|
3689
|
+
aspect-ratio: 1;
|
|
3690
|
+
min-width: 28px;
|
|
3691
|
+
min-height: 28px;
|
|
3692
|
+
border-radius: var(--radius-interactive);
|
|
3693
|
+
border: 2px solid transparent;
|
|
3694
|
+
background-color: var(--swatch-color);
|
|
3695
|
+
cursor: pointer;
|
|
3696
|
+
transition:
|
|
3697
|
+
transform var(--dur-fast) var(--ease-in-out),
|
|
3698
|
+
box-shadow var(--dur-fast) var(--ease-in-out),
|
|
3699
|
+
border-color var(--dur-fast) var(--ease-in-out);
|
|
3700
|
+
padding: 0;
|
|
3701
|
+
position: relative;
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
.dndev-color-swatch:hover {
|
|
3705
|
+
transform: scale(1.15);
|
|
3706
|
+
box-shadow: var(--shadow-md);
|
|
3707
|
+
z-index: 1;
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3710
|
+
.dndev-color-swatch:focus-visible {
|
|
3711
|
+
outline: 2px solid var(--ring);
|
|
3712
|
+
outline-offset: 2px;
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
.dndev-color-swatch:focus:not(:focus-visible) {
|
|
3716
|
+
outline: none;
|
|
3717
|
+
}
|
|
3718
|
+
|
|
3719
|
+
/* Selected swatch — ring */
|
|
3720
|
+
|
|
3721
|
+
.dndev-color-swatch[aria-checked='true'] {
|
|
3722
|
+
border-color: var(--foreground);
|
|
3723
|
+
box-shadow:
|
|
3724
|
+
0 0 0 2px var(--background),
|
|
3725
|
+
0 0 0 4px var(--foreground);
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
/* Checkmark on selected */
|
|
3729
|
+
|
|
3730
|
+
.dndev-color-swatch[aria-checked='true']::after {
|
|
3731
|
+
content: '';
|
|
3732
|
+
display: block;
|
|
3733
|
+
position: absolute;
|
|
3734
|
+
inset: 0;
|
|
3735
|
+
margin: auto;
|
|
3736
|
+
width: 40%;
|
|
3737
|
+
height: 22%;
|
|
3738
|
+
border-bottom: 2px solid;
|
|
3739
|
+
border-inline-start: 2px solid;
|
|
3740
|
+
transform: rotate(-45deg) translateY(-15%);
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
/* Contrast-aware checkmark color */
|
|
3744
|
+
|
|
3745
|
+
.dndev-color-swatch[aria-checked='true'][data-light='true']::after {
|
|
3746
|
+
color: #000000;
|
|
3747
|
+
}
|
|
3748
|
+
|
|
3749
|
+
.dndev-color-swatch[aria-checked='true'][data-light='false']::after {
|
|
3750
|
+
color: #ffffff;
|
|
3751
|
+
}
|
|
3752
|
+
|
|
3753
|
+
/* Custom color section */
|
|
3754
|
+
|
|
3755
|
+
.dndev-color-custom {
|
|
3756
|
+
display: flex;
|
|
3757
|
+
align-items: center;
|
|
3758
|
+
gap: var(--gap-sm);
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
.dndev-color-custom-label {
|
|
3762
|
+
display: flex;
|
|
3763
|
+
align-items: center;
|
|
3764
|
+
gap: var(--gap-sm);
|
|
3765
|
+
font-size: var(--font-size-sm);
|
|
3766
|
+
color: var(--muted-foreground);
|
|
3767
|
+
cursor: pointer;
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3770
|
+
.dndev-color-custom input[type='color'] {
|
|
3771
|
+
width: var(--touch-target);
|
|
3772
|
+
height: var(--touch-target);
|
|
3773
|
+
border: var(--border-hairline) solid var(--border);
|
|
3774
|
+
border-radius: var(--radius-interactive);
|
|
3775
|
+
padding: 2px;
|
|
3776
|
+
cursor: pointer;
|
|
3777
|
+
background: none;
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3780
|
+
.dndev-color-custom input[type='color']:focus-visible {
|
|
3781
|
+
outline: 2px solid var(--ring);
|
|
3782
|
+
outline-offset: 2px;
|
|
3783
|
+
}
|
|
3784
|
+
|
|
3785
|
+
/* Hex display */
|
|
3786
|
+
|
|
3787
|
+
.dndev-color-hex {
|
|
3788
|
+
font-family: var(--font-mono);
|
|
3789
|
+
font-size: var(--font-size-sm);
|
|
3790
|
+
color: var(--muted-foreground);
|
|
3791
|
+
text-transform: uppercase;
|
|
3792
|
+
}
|
|
3793
|
+
|
|
3794
|
+
/* Disabled */
|
|
3795
|
+
|
|
3796
|
+
.dndev-color-picker[aria-disabled='true'] {
|
|
3797
|
+
opacity: var(--opacity-muted);
|
|
3798
|
+
pointer-events: none;
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3588
3801
|
/* packages/components/src/atomic/Combobox/Combobox.css */
|
|
3589
3802
|
|
|
3590
3803
|
/* ──────────────────────────────────────────────────
|
|
@@ -6579,6 +6792,57 @@ input[type='number'] {
|
|
|
6579
6792
|
}
|
|
6580
6793
|
}
|
|
6581
6794
|
|
|
6795
|
+
/* packages/components/src/atomic/SkipLink/SkipLink.css */
|
|
6796
|
+
|
|
6797
|
+
.dndev-skip-links {
|
|
6798
|
+
position: fixed;
|
|
6799
|
+
top: 0;
|
|
6800
|
+
inset-inline-start: 0;
|
|
6801
|
+
z-index: 99999;
|
|
6802
|
+
display: flex;
|
|
6803
|
+
flex-direction: column;
|
|
6804
|
+
gap: var(--gap-sm);
|
|
6805
|
+
padding: var(--gap-sm);
|
|
6806
|
+
pointer-events: none;
|
|
6807
|
+
}
|
|
6808
|
+
|
|
6809
|
+
.dndev-skip-link {
|
|
6810
|
+
/* Off-screen by default — still in focus order */
|
|
6811
|
+
position: absolute;
|
|
6812
|
+
transform: translateY(-200%);
|
|
6813
|
+
opacity: 0;
|
|
6814
|
+
pointer-events: none;
|
|
6815
|
+
|
|
6816
|
+
/* Visual style when visible */
|
|
6817
|
+
display: inline-flex;
|
|
6818
|
+
align-items: center;
|
|
6819
|
+
padding: var(--gap-sm) var(--gap-md);
|
|
6820
|
+
background: var(--foreground);
|
|
6821
|
+
color: var(--background);
|
|
6822
|
+
font-size: var(--font-size-base);
|
|
6823
|
+
font-weight: var(--font-weight-semibold);
|
|
6824
|
+
border-radius: var(--radius-interactive);
|
|
6825
|
+
text-decoration: none;
|
|
6826
|
+
white-space: nowrap;
|
|
6827
|
+
box-shadow: var(--shadow-xl);
|
|
6828
|
+
|
|
6829
|
+
/* Smooth appearance transition */
|
|
6830
|
+
transition:
|
|
6831
|
+
transform var(--dur-normal) var(--ease-in-out),
|
|
6832
|
+
opacity var(--dur-normal) var(--ease-in-out);
|
|
6833
|
+
}
|
|
6834
|
+
|
|
6835
|
+
/* Visible on focus */
|
|
6836
|
+
|
|
6837
|
+
.dndev-skip-link:focus {
|
|
6838
|
+
position: relative;
|
|
6839
|
+
transform: translateY(0);
|
|
6840
|
+
opacity: 1;
|
|
6841
|
+
pointer-events: auto;
|
|
6842
|
+
outline: 2px solid var(--ring);
|
|
6843
|
+
outline-offset: 2px;
|
|
6844
|
+
}
|
|
6845
|
+
|
|
6582
6846
|
/* packages/components/src/atomic/Slider/Slider.css */
|
|
6583
6847
|
|
|
6584
6848
|
.dndev-slider {
|
|
@@ -8208,6 +8472,194 @@ input[type='number'] {
|
|
|
8208
8472
|
max-width: 12.5rem; /* 200px */
|
|
8209
8473
|
}
|
|
8210
8474
|
|
|
8475
|
+
/* packages/components/src/atomic/TreeView/TreeView.css */
|
|
8476
|
+
|
|
8477
|
+
/* Root tree list */
|
|
8478
|
+
|
|
8479
|
+
.dndev-tree {
|
|
8480
|
+
list-style: none;
|
|
8481
|
+
padding: 0;
|
|
8482
|
+
margin: 0;
|
|
8483
|
+
font-size: var(--font-size-base);
|
|
8484
|
+
}
|
|
8485
|
+
|
|
8486
|
+
/* Child groups */
|
|
8487
|
+
|
|
8488
|
+
.dndev-tree [role='group'] {
|
|
8489
|
+
list-style: none;
|
|
8490
|
+
padding: 0;
|
|
8491
|
+
margin: 0;
|
|
8492
|
+
padding-inline-start: var(--gap-lg);
|
|
8493
|
+
}
|
|
8494
|
+
|
|
8495
|
+
/* Collapse animation for child groups */
|
|
8496
|
+
|
|
8497
|
+
.dndev-tree [role='group'][data-state='open'] {
|
|
8498
|
+
animation: dndev-tree-expand var(--dur-normal) var(--ease-in-out);
|
|
8499
|
+
overflow: visible;
|
|
8500
|
+
}
|
|
8501
|
+
|
|
8502
|
+
.dndev-tree [role='group'][data-state='closed'] {
|
|
8503
|
+
animation: dndev-tree-collapse var(--dur-normal) var(--ease-in-out);
|
|
8504
|
+
overflow: hidden;
|
|
8505
|
+
display: none;
|
|
8506
|
+
}
|
|
8507
|
+
|
|
8508
|
+
@keyframes dndev-tree-expand {
|
|
8509
|
+
from {
|
|
8510
|
+
opacity: 0;
|
|
8511
|
+
transform: translateY(-4px);
|
|
8512
|
+
}
|
|
8513
|
+
to {
|
|
8514
|
+
opacity: 1;
|
|
8515
|
+
transform: translateY(0);
|
|
8516
|
+
}
|
|
8517
|
+
}
|
|
8518
|
+
|
|
8519
|
+
@keyframes dndev-tree-collapse {
|
|
8520
|
+
from {
|
|
8521
|
+
opacity: 1;
|
|
8522
|
+
transform: translateY(0);
|
|
8523
|
+
}
|
|
8524
|
+
to {
|
|
8525
|
+
opacity: 0;
|
|
8526
|
+
transform: translateY(-4px);
|
|
8527
|
+
}
|
|
8528
|
+
}
|
|
8529
|
+
|
|
8530
|
+
/* Node content row */
|
|
8531
|
+
|
|
8532
|
+
.dndev-tree-node-content {
|
|
8533
|
+
display: flex;
|
|
8534
|
+
align-items: center;
|
|
8535
|
+
gap: var(--gap-sm);
|
|
8536
|
+
padding: var(--gap-xs) var(--gap-sm);
|
|
8537
|
+
border-radius: var(--radius-interactive);
|
|
8538
|
+
cursor: pointer;
|
|
8539
|
+
transition:
|
|
8540
|
+
background var(--dur-fast) var(--ease-in-out),
|
|
8541
|
+
color var(--dur-fast) var(--ease-in-out);
|
|
8542
|
+
min-height: var(--touch-target);
|
|
8543
|
+
-webkit-user-select: none;
|
|
8544
|
+
-moz-user-select: none;
|
|
8545
|
+
user-select: none;
|
|
8546
|
+
}
|
|
8547
|
+
|
|
8548
|
+
.dndev-tree-node-content:hover {
|
|
8549
|
+
background: var(--muted);
|
|
8550
|
+
}
|
|
8551
|
+
|
|
8552
|
+
/* Selected state */
|
|
8553
|
+
|
|
8554
|
+
[role='treeitem'][aria-selected='true'] > .dndev-tree-node-content {
|
|
8555
|
+
background: var(--primary);
|
|
8556
|
+
color: var(--primary-foreground);
|
|
8557
|
+
}
|
|
8558
|
+
|
|
8559
|
+
[role='treeitem'][aria-selected='true'] > .dndev-tree-node-content:hover {
|
|
8560
|
+
background: var(--primary);
|
|
8561
|
+
opacity: 0.9;
|
|
8562
|
+
}
|
|
8563
|
+
|
|
8564
|
+
/* Focus ring — keyboard only */
|
|
8565
|
+
|
|
8566
|
+
[role='treeitem']:focus-visible > .dndev-tree-node-content {
|
|
8567
|
+
outline: 2px solid var(--ring);
|
|
8568
|
+
outline-offset: 2px;
|
|
8569
|
+
}
|
|
8570
|
+
|
|
8571
|
+
[role='treeitem']:focus:not(:focus-visible) > .dndev-tree-node-content {
|
|
8572
|
+
outline: none;
|
|
8573
|
+
}
|
|
8574
|
+
|
|
8575
|
+
/* Expand/collapse chevron */
|
|
8576
|
+
|
|
8577
|
+
.dndev-tree-node-expand {
|
|
8578
|
+
display: flex;
|
|
8579
|
+
align-items: center;
|
|
8580
|
+
justify-content: center;
|
|
8581
|
+
width: var(--icon-md);
|
|
8582
|
+
height: var(--icon-md);
|
|
8583
|
+
flex-shrink: 0;
|
|
8584
|
+
transition: transform var(--dur-normal) var(--ease-in-out);
|
|
8585
|
+
color: var(--muted-foreground);
|
|
8586
|
+
}
|
|
8587
|
+
|
|
8588
|
+
[role='treeitem'][aria-expanded='true']
|
|
8589
|
+
> .dndev-tree-node-content
|
|
8590
|
+
> .dndev-tree-node-expand {
|
|
8591
|
+
transform: rotate(90deg);
|
|
8592
|
+
}
|
|
8593
|
+
|
|
8594
|
+
/* Leaf spacer — invisible, maintains alignment */
|
|
8595
|
+
|
|
8596
|
+
.dndev-tree-node-expand[data-leaf='true'] {
|
|
8597
|
+
visibility: hidden;
|
|
8598
|
+
}
|
|
8599
|
+
|
|
8600
|
+
/* Node icon */
|
|
8601
|
+
|
|
8602
|
+
.dndev-tree-node-icon {
|
|
8603
|
+
display: flex;
|
|
8604
|
+
align-items: center;
|
|
8605
|
+
flex-shrink: 0;
|
|
8606
|
+
width: var(--icon-md);
|
|
8607
|
+
height: var(--icon-md);
|
|
8608
|
+
}
|
|
8609
|
+
|
|
8610
|
+
/* Node label */
|
|
8611
|
+
|
|
8612
|
+
.dndev-tree-node-label {
|
|
8613
|
+
flex: 1;
|
|
8614
|
+
min-width: 0;
|
|
8615
|
+
overflow: hidden;
|
|
8616
|
+
text-overflow: ellipsis;
|
|
8617
|
+
white-space: nowrap;
|
|
8618
|
+
}
|
|
8619
|
+
|
|
8620
|
+
/* Disabled */
|
|
8621
|
+
|
|
8622
|
+
[role='treeitem'][aria-disabled='true'] > .dndev-tree-node-content {
|
|
8623
|
+
opacity: var(--opacity-muted);
|
|
8624
|
+
pointer-events: none;
|
|
8625
|
+
cursor: default;
|
|
8626
|
+
}
|
|
8627
|
+
|
|
8628
|
+
/* --- Connector lines (optional) --- */
|
|
8629
|
+
|
|
8630
|
+
.dndev-tree[data-show-lines='true'] [role='group'] {
|
|
8631
|
+
position: relative;
|
|
8632
|
+
}
|
|
8633
|
+
|
|
8634
|
+
.dndev-tree[data-show-lines='true'] [role='group']::before {
|
|
8635
|
+
content: '';
|
|
8636
|
+
position: absolute;
|
|
8637
|
+
inset-inline-start: calc(var(--icon-md) / 2);
|
|
8638
|
+
top: 0;
|
|
8639
|
+
bottom: var(--gap-sm);
|
|
8640
|
+
border-inline-start: 1px solid var(--border);
|
|
8641
|
+
pointer-events: none;
|
|
8642
|
+
}
|
|
8643
|
+
|
|
8644
|
+
.dndev-tree[data-show-lines='true']
|
|
8645
|
+
[role='group']
|
|
8646
|
+
> [role='treeitem']
|
|
8647
|
+
> .dndev-tree-node-content::before {
|
|
8648
|
+
content: '';
|
|
8649
|
+
position: absolute;
|
|
8650
|
+
inset-inline-start: calc(var(--icon-md) / 2 - var(--gap-lg));
|
|
8651
|
+
width: var(--gap-sm);
|
|
8652
|
+
border-bottom: 1px solid var(--border);
|
|
8653
|
+
pointer-events: none;
|
|
8654
|
+
}
|
|
8655
|
+
|
|
8656
|
+
.dndev-tree[data-show-lines='true']
|
|
8657
|
+
[role='group']
|
|
8658
|
+
> [role='treeitem']
|
|
8659
|
+
> .dndev-tree-node-content {
|
|
8660
|
+
position: relative;
|
|
8661
|
+
}
|
|
8662
|
+
|
|
8211
8663
|
/* packages/components/src/atomic/VideoPlayer/VideoPlayer.css */
|
|
8212
8664
|
|
|
8213
8665
|
/**
|
|
@@ -8922,12 +9374,12 @@ input[type='number'] {
|
|
|
8922
9374
|
box-shadow: var(--shadow-xl);
|
|
8923
9375
|
}
|
|
8924
9376
|
|
|
8925
|
-
/* Phase badge - absolute overlay top-
|
|
9377
|
+
/* Phase badge - absolute overlay top-end */
|
|
8926
9378
|
|
|
8927
9379
|
.dndev-roadmap-phase {
|
|
8928
9380
|
position: absolute;
|
|
8929
9381
|
top: var(--gap-sm);
|
|
8930
|
-
inset-inline-
|
|
9382
|
+
inset-inline-end: var(--gap-sm);
|
|
8931
9383
|
font-size: var(--font-size-xs);
|
|
8932
9384
|
font-weight: var(--font-weight-bold);
|
|
8933
9385
|
text-transform: uppercase;
|
|
@@ -10123,7 +10575,6 @@ h4[data-variant='code'] {
|
|
|
10123
10575
|
.prose {
|
|
10124
10576
|
color: var(--color-fg);
|
|
10125
10577
|
text-align: start;
|
|
10126
|
-
max-width: 65ch;
|
|
10127
10578
|
line-height: 1.75;
|
|
10128
10579
|
|
|
10129
10580
|
/* ── Headings (typography standards) ──
|
|
@@ -10844,84 +11295,26 @@ main[role='main'][data-routing-animation='none'] {
|
|
|
10844
11295
|
grid-template-columns: var(--sidebar-width) 1fr;
|
|
10845
11296
|
}
|
|
10846
11297
|
|
|
10847
|
-
/* Footer
|
|
11298
|
+
/* Footer inline: renders inside main, grid drops to 2 rows */
|
|
10848
11299
|
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
max-height: none;
|
|
10855
|
-
overflow-y: visible;
|
|
10856
|
-
overflow-x: hidden;
|
|
10857
|
-
grid-template-rows:
|
|
10858
|
-
var(--header-height) minmax(calc(100dvh - var(--header-height)), auto)
|
|
10859
|
-
auto;
|
|
11300
|
+
.dndev-layout[data-footer-inline] {
|
|
11301
|
+
grid-template-areas:
|
|
11302
|
+
'header header'
|
|
11303
|
+
'sidebar main';
|
|
11304
|
+
grid-template-rows: var(--header-height) 1fr;
|
|
10860
11305
|
}
|
|
10861
11306
|
|
|
10862
|
-
|
|
10863
|
-
position: sticky;
|
|
10864
|
-
top: 0;
|
|
10865
|
-
}
|
|
10866
|
-
|
|
10867
|
-
.dndev-layout[data-footer-mode='scroll'] aside.sidebar[role='navigation'] {
|
|
10868
|
-
position: sticky;
|
|
10869
|
-
top: var(--header-height);
|
|
10870
|
-
height: calc(100dvh - var(--header-height));
|
|
10871
|
-
align-self: start;
|
|
10872
|
-
}
|
|
10873
|
-
|
|
10874
|
-
.dndev-layout[data-footer-mode='scroll'] main[role='main'] {
|
|
10875
|
-
overflow-y: visible;
|
|
10876
|
-
overflow-x: hidden;
|
|
10877
|
-
contain: style;
|
|
10878
|
-
}
|
|
10879
|
-
|
|
10880
|
-
.dndev-layout[data-footer-mode='scroll'] footer[role='contentinfo'] {
|
|
10881
|
-
grid-column: 2 / -1;
|
|
10882
|
-
height: auto;
|
|
10883
|
-
margin-top: var(--gap-lg);
|
|
10884
|
-
}
|
|
10885
|
-
|
|
10886
|
-
:is(.dndev-layout[data-footer-mode='scroll'] footer[role='contentinfo']) > * {
|
|
10887
|
-
height: auto;
|
|
10888
|
-
min-height: var(--footer-height);
|
|
10889
|
-
}
|
|
10890
|
-
|
|
10891
|
-
/* Mobile: footer scroll mode ON by default (same rules) */
|
|
11307
|
+
/* Footer inside main: spacing + sizing */
|
|
10892
11308
|
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
overflow-y: visible;
|
|
10899
|
-
overflow-x: hidden;
|
|
10900
|
-
grid-template-rows:
|
|
10901
|
-
var(--header-height) minmax(calc(100dvh - var(--header-height)), auto)
|
|
10902
|
-
auto;
|
|
10903
|
-
}
|
|
10904
|
-
|
|
10905
|
-
.dndev-layout header[role='banner'] {
|
|
10906
|
-
position: sticky;
|
|
10907
|
-
top: 0;
|
|
10908
|
-
}
|
|
10909
|
-
|
|
10910
|
-
.dndev-layout main[role='main'] {
|
|
10911
|
-
overflow-y: visible;
|
|
10912
|
-
overflow-x: hidden;
|
|
10913
|
-
contain: style;
|
|
10914
|
-
}
|
|
10915
|
-
|
|
10916
|
-
.dndev-layout footer[role='contentinfo'] {
|
|
10917
|
-
height: auto;
|
|
10918
|
-
margin-top: var(--gap-lg);
|
|
10919
|
-
}
|
|
11309
|
+
main[role='main'] > footer[role='contentinfo'] {
|
|
11310
|
+
margin-top: var(--gap-lg);
|
|
11311
|
+
flex-shrink: 0;
|
|
11312
|
+
height: auto;
|
|
11313
|
+
}
|
|
10920
11314
|
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
}
|
|
11315
|
+
main[role='main'] > footer[role='contentinfo'] > * {
|
|
11316
|
+
height: auto;
|
|
11317
|
+
min-height: var(--footer-height);
|
|
10925
11318
|
}
|
|
10926
11319
|
|
|
10927
11320
|
/* Presets with no footer at all */
|
|
@@ -11293,11 +11686,11 @@ main[role='main'] {
|
|
|
11293
11686
|
padding: 0;
|
|
11294
11687
|
contain: layout style;
|
|
11295
11688
|
|
|
11296
|
-
/* First child after breadcrumbs grows to fill space */
|
|
11689
|
+
/* First child after breadcrumbs grows to fill space, never shrinks (scroll container owns overflow) */
|
|
11297
11690
|
}
|
|
11298
11691
|
|
|
11299
11692
|
main[role='main'] > *:not(.breadcrumbs-container):first-of-type,main[role='main'] > .breadcrumbs-container + * {
|
|
11300
|
-
flex: 1
|
|
11693
|
+
flex: 1 0 auto;
|
|
11301
11694
|
}
|
|
11302
11695
|
|
|
11303
11696
|
/* Footer: Full width by default, app presets start after sidebar */
|
|
@@ -11633,13 +12026,15 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
11633
12026
|
=========================== */
|
|
11634
12027
|
|
|
11635
12028
|
.breadcrumbs-container {
|
|
11636
|
-
/*
|
|
11637
|
-
position:
|
|
12029
|
+
/* Sticky: stays pinned at top of scrollable main area */
|
|
12030
|
+
position: sticky;
|
|
12031
|
+
top: 0;
|
|
11638
12032
|
z-index: var(--z-breadcrumbs);
|
|
12033
|
+
|
|
11639
12034
|
/* Prevent flex grow - should stay at natural height */
|
|
11640
12035
|
flex: 0 0 auto;
|
|
11641
|
-
/*
|
|
11642
|
-
background:
|
|
12036
|
+
/* Opaque background so scrolling content doesn't show through */
|
|
12037
|
+
background: var(--background);
|
|
11643
12038
|
border-bottom: 1px solid rgb(from var(--border) r g b / 0.5);
|
|
11644
12039
|
|
|
11645
12040
|
/* Hide breadcrumbs container when breadcrumbs return null (smart variant on simple routes) */
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
/** Regex patterns for known XSS vectors in SVG */
|
|
24
24
|
const SCRIPT_TAG_RE = /<script[\s\S]*?<\/script>/gi;
|
|
25
25
|
const FOREIGN_OBJECT_RE = /<foreignObject[\s\S]*?<\/foreignObject>/gi;
|
|
26
|
-
const EVENT_HANDLER_RE = /\s+on\w+\s*=\s*["'
|
|
26
|
+
const EVENT_HANDLER_RE = /\s+on\w+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi;
|
|
27
27
|
const JAVASCRIPT_HREF_RE = /\s+(?:xlink:)?href\s*=\s*["']\s*javascript:[^"']*["']/gi;
|
|
28
28
|
const DATA_URI_HREF_RE = /\s+(?:xlink:)?href\s*=\s*["']\s*data:(?!image\/(?:png|jpe?g|gif|webp|svg\+xml))[^"']*["']/gi;
|
|
29
29
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppRoutes.d.ts","sourceRoot":"","sources":["../../src/vite-routing/AppRoutes.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAgB,MAAM,gBAAgB,CAAC;AAO3E,OAAO,KAAK,EAAE,aAAa,EAAkC,MAAM,OAAO,CAAC;AAG3E,yEAAyE;AACzE,KAAK,oBAAoB,GACrB,CAAC,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,aAAa,CAAA;CAAE,CAAC,CAAC,GAC3C,MAAM,CAAC;AAiIX;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAChC;AAED,4DAA4D;AAC5D,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,oBAAoB,CAAC;IAChC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,UAAU,sBAAsB;IAC9B,4CAA4C;IAC5C,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"AppRoutes.d.ts","sourceRoot":"","sources":["../../src/vite-routing/AppRoutes.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAgB,MAAM,gBAAgB,CAAC;AAO3E,OAAO,KAAK,EAAE,aAAa,EAAkC,MAAM,OAAO,CAAC;AAG3E,yEAAyE;AACzE,KAAK,oBAAoB,GACrB,CAAC,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,aAAa,CAAA;CAAE,CAAC,CAAC,GAC3C,MAAM,CAAC;AAiIX;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAChC;AAED,4DAA4D;AAC5D,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,oBAAoB,CAAC;IAChC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,UAAU,sBAAsB;IAC9B,4CAA4C;IAC5C,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,yCAiF9D"}
|