@norges-domstoler/dds-components 0.0.0-dev-20260708071405 → 0.0.0-dev-20260717081939
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/assets/fonts/EB-Garamond-400-italic.woff2 +0 -0
- package/dist/assets/fonts/EB-Garamond-400.woff2 +0 -0
- package/dist/assets/fonts/EB-Garamond-600-italic.woff2 +0 -0
- package/dist/assets/fonts/EB-Garamond-600.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-600.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-600italic.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-italic.woff2 +0 -0
- package/dist/assets/fonts/Poppins-latin-regular.woff2 +0 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1227 -398
- package/dist/index.d.cts +1880 -988
- package/dist/index.d.mts +1880 -988
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -3983,6 +3983,9 @@ var ThemeProvider_module_default = {
|
|
|
3983
3983
|
//#endregion
|
|
3984
3984
|
//#region src/components/ThemeProvider/ThemeProvider.tsx
|
|
3985
3985
|
const defaultTheme = "core-light";
|
|
3986
|
+
const ddsThemes = Object.keys(_norges_domstoler_dds_design_tokens.ddsTokens);
|
|
3987
|
+
new Set(ddsThemes.map((theme) => theme.split("-")[0]));
|
|
3988
|
+
new Set(ddsThemes.map((theme) => theme.split("-")[1]));
|
|
3986
3989
|
const ThemeContext = (0, react.createContext)(void 0);
|
|
3987
3990
|
function ThemeProvider({ theme = defaultTheme, children }) {
|
|
3988
3991
|
const themeRef = (0, react.useRef)(null);
|