@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/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);