@norges-domstoler/dds-components 0.0.0-dev-20260714080948 → 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/index.mjs CHANGED
@@ -3950,6 +3950,9 @@ var ThemeProvider_module_default = {
3950
3950
  //#endregion
3951
3951
  //#region src/components/ThemeProvider/ThemeProvider.tsx
3952
3952
  const defaultTheme = "core-light";
3953
+ const ddsThemes = Object.keys(ddsTokens);
3954
+ new Set(ddsThemes.map((theme) => theme.split("-")[0]));
3955
+ new Set(ddsThemes.map((theme) => theme.split("-")[1]));
3953
3956
  const ThemeContext = createContext(void 0);
3954
3957
  function ThemeProvider({ theme = defaultTheme, children }) {
3955
3958
  const themeRef = useRef(null);