diff --git a/.changeset/few-ways-help.md b/.changeset/few-ways-help.md
deleted file mode 100644
index c185c911ad..0000000000
--- a/.changeset/few-ways-help.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@digdir/designsystemet-css": patch
----
-
-**badge**: ensure badge is positioned above focus-ring when using `.ds-badge--position`
diff --git a/.changeset/gentle-trees-chew.md b/.changeset/gentle-trees-chew.md
deleted file mode 100644
index c2fe1ad14b..0000000000
--- a/.changeset/gentle-trees-chew.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-"@digdir/designsystemet-react": patch
-"@digdir/designsystemet": patch
----
-
-update npm non-major dependencies
diff --git a/.changeset/quick-toes-whisper.md b/.changeset/quick-toes-whisper.md
deleted file mode 100644
index a845151cc8..0000000000
--- a/.changeset/quick-toes-whisper.md
+++ /dev/null
@@ -1,2 +0,0 @@
----
----
diff --git a/apps/www/app/content/components-docs/changelog.mdx b/apps/www/app/content/components-docs/changelog.mdx
index 50676a6f5e..4b0be76f8d 100644
--- a/apps/www/app/content/components-docs/changelog.mdx
+++ b/apps/www/app/content/components-docs/changelog.mdx
@@ -1,6 +1,6 @@
---
title: "Changelog"
-latestVersion: 1.12.1
+latestVersion: 1.12.2
---
+
## 1.12.1
diff --git a/apps/www/app/content/schemas/cli/1.12.2.json b/apps/www/app/content/schemas/cli/1.12.2.json
new file mode 100644
index 0000000000..6c95187fb6
--- /dev/null
+++ b/apps/www/app/content/schemas/cli/1.12.2.json
@@ -0,0 +1,209 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "$schema": {
+ "type": "string"
+ },
+ "outDir": {
+ "type": "string",
+ "description": "Path to the output directory for the created design tokens"
+ },
+ "themes": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "colors": {
+ "type": "object",
+ "properties": {
+ "main": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string",
+ "pattern": "^(?!(?:neutral|success|warning|danger|info)$)"
+ },
+ "additionalProperties": {
+ "description": "A hex color, which is used for creating a color scale. Invalid color names: neutral, success, warning, danger, info"
+ },
+ "description": "An object with one or more color definitions. The property name is used as the color name."
+ },
+ "support": {
+ "default": {},
+ "type": "object",
+ "propertyNames": {
+ "type": "string",
+ "pattern": "^(?!(?:neutral|success|warning|danger|info)$)"
+ },
+ "additionalProperties": {
+ "description": "A hex color, which is used for creating a color scale. Invalid color names: neutral, success, warning, danger, info"
+ },
+ "description": "An object with one or more color definitions. The property name is used as the color name."
+ },
+ "neutral": {
+ "description": "A hex color, which is used for creating a color scale."
+ }
+ },
+ "required": [
+ "main",
+ "support",
+ "neutral"
+ ],
+ "additionalProperties": false,
+ "description": "Defines the colors for this theme"
+ },
+ "typography": {
+ "type": "object",
+ "properties": {
+ "fontFamily": {
+ "type": "string",
+ "description": "Sets the font-family for this theme"
+ }
+ },
+ "required": [
+ "fontFamily"
+ ],
+ "additionalProperties": false,
+ "description": "Defines the typography for a given theme"
+ },
+ "borderRadius": {
+ "type": "number",
+ "description": "Defines the border-radius for this theme"
+ },
+ "overrides": {
+ "type": "object",
+ "properties": {
+ "colors": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {
+ "type": "object",
+ "propertyNames": {
+ "type": "string",
+ "enum": [
+ "background-default",
+ "background-tinted",
+ "surface-default",
+ "surface-tinted",
+ "surface-hover",
+ "surface-active",
+ "border-subtle",
+ "border-default",
+ "border-strong",
+ "text-subtle",
+ "text-default",
+ "base-default",
+ "base-hover",
+ "base-active",
+ "base-contrast-subtle",
+ "base-contrast-default"
+ ]
+ },
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "light": {
+ "description": "A hex color that overrides light mode"
+ },
+ "dark": {
+ "description": "A hex color that overrides dark mode"
+ }
+ },
+ "additionalProperties": false,
+ "description": "Override values for semantic color tokens like \"background-subtle\", \"border-default\", etc."
+ },
+ "description": "The name of the color to add overrides for, e.g. \"accent\""
+ },
+ "description": "An object with color names as keys"
+ },
+ "severity": {
+ "description": "An object with severity color names as keys",
+ "type": "object",
+ "propertyNames": {
+ "type": "string",
+ "enum": [
+ "info",
+ "success",
+ "warning",
+ "danger"
+ ]
+ },
+ "additionalProperties": {
+ "description": "A hex color, which is used for creating a color scale"
+ }
+ },
+ "linkVisited": {
+ "type": "object",
+ "properties": {
+ "light": {
+ "description": "A hex color that overrides light mode"
+ },
+ "dark": {
+ "description": "A hex color that overrides dark mode"
+ }
+ },
+ "additionalProperties": false,
+ "description": "Overrides for the \"link-visited\" color"
+ },
+ "focus": {
+ "type": "object",
+ "properties": {
+ "inner": {
+ "description": "Overrides for the \"focus-inner\" color",
+ "type": "object",
+ "properties": {
+ "light": {
+ "description": "A hex color that overrides light mode"
+ },
+ "dark": {
+ "description": "A hex color that overrides dark mode"
+ }
+ },
+ "additionalProperties": false
+ },
+ "outer": {
+ "description": "Overrides for the \"focus-outer\" color",
+ "type": "object",
+ "properties": {
+ "light": {
+ "description": "A hex color that overrides light mode"
+ },
+ "dark": {
+ "description": "A hex color that overrides dark mode"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "description": "Overrides for the focus colors"
+ }
+ },
+ "additionalProperties": false,
+ "description": "Overrides for generated design tokens. Currently only supports colors defined in your theme"
+ }
+ },
+ "required": [
+ "colors"
+ ],
+ "additionalProperties": false,
+ "description": "An object defining a theme. The property name holding the object becomes the theme name."
+ },
+ "description": "An object with one or more themes. Each property defines a theme, and the property name is used as the theme name."
+ },
+ "clean": {
+ "type": "boolean",
+ "description": "Delete the output directory before building or creating tokens"
+ }
+ },
+ "required": [
+ "outDir",
+ "themes"
+ ],
+ "additionalProperties": false
+}
\ No newline at end of file
diff --git a/design-tokens/$designsystemet.jsonc b/design-tokens/$designsystemet.jsonc
index 99d8f5a76a..bf85d7959f 100644
--- a/design-tokens/$designsystemet.jsonc
+++ b/design-tokens/$designsystemet.jsonc
@@ -1,4 +1,4 @@
{
"name": "@digdir/designsystemet",
- "version": "1.12.1"
+ "version": "1.12.2"
}
\ No newline at end of file
diff --git a/internal/digdir/themes/colors.d.ts b/internal/digdir/themes/colors.d.ts
index e02ed1c05a..265cdee574 100644
--- a/internal/digdir/themes/colors.d.ts
+++ b/internal/digdir/themes/colors.d.ts
@@ -1,5 +1,5 @@
/* This file is deprecated and will be removed in a future release. Use types.d.ts instead */
-/* build: v1.12.1 */
+/* build: v1.12.2 */
import type {} from '@digdir/designsystemet-types';
// Augment types based on theme
diff --git a/internal/digdir/themes/digdir.css b/internal/digdir/themes/digdir.css
index 915e268208..fba2d6d415 100644
--- a/internal/digdir/themes/digdir.css
+++ b/internal/digdir/themes/digdir.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*
-build: v1.12.1
-design-tokens: v1.12.1
+build: v1.12.2
+design-tokens: v1.12.2
*/
@layer ds.theme.size-mode {
diff --git a/internal/digdir/themes/types.d.ts b/internal/digdir/themes/types.d.ts
index 7404d8eeef..82f6675bf0 100644
--- a/internal/digdir/themes/types.d.ts
+++ b/internal/digdir/themes/types.d.ts
@@ -1,4 +1,4 @@
-/* build: v1.12.1 */
+/* build: v1.12.2 */
import type {} from '@digdir/designsystemet-types';
// Augment types based on theme
diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md
index 6313ad1d69..d57fbc8504 100644
--- a/packages/cli/CHANGELOG.md
+++ b/packages/cli/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change Log
+## 1.12.2
+
+### Patch Changes
+
+- update npm non-major dependencies ([#4548](https://github.com/digdir/designsystemet/pull/4548))
+
+- Updated dependencies []:
+ - @digdir/designsystemet-types@1.12.2
+
## 1.12.1
### Patch Changes
diff --git a/packages/cli/package.json b/packages/cli/package.json
index c6747a90ae..517f95ead6 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet",
- "version": "1.12.1",
+ "version": "1.12.2",
"description": "CLI for Designsystemet",
"author": "Designsystemet team",
"engines": {
diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md
index 24e38f6f23..61c3f89905 100644
--- a/packages/css/CHANGELOG.md
+++ b/packages/css/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change Log
+## 1.12.2
+
+### Patch Changes
+
+- **badge**: ensure badge is positioned above focus-ring when using `.ds-badge--position` ([#4511](https://github.com/digdir/designsystemet/pull/4511))
+
+- Updated dependencies []:
+ - @digdir/designsystemet-types@1.12.2
+
## 1.12.1
### Patch Changes
diff --git a/packages/css/package.json b/packages/css/package.json
index ec48e9444b..fb7720c2e8 100644
--- a/packages/css/package.json
+++ b/packages/css/package.json
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet-css",
- "version": "1.12.1",
+ "version": "1.12.2",
"description": "CSS for Designsystemet",
"author": "Designsystemet team",
"repository": {
diff --git a/packages/css/theme/colors.d.ts b/packages/css/theme/colors.d.ts
index 56209ca8fa..fa36f32f78 100644
--- a/packages/css/theme/colors.d.ts
+++ b/packages/css/theme/colors.d.ts
@@ -1,5 +1,5 @@
/* This file is deprecated and will be removed in a future release. Use types.d.ts instead */
-/* build: v1.12.1 */
+/* build: v1.12.2 */
import type {} from '@digdir/designsystemet-types';
// Augment types based on theme
diff --git a/packages/css/theme/designsystemet.css b/packages/css/theme/designsystemet.css
index 9bfccf92b7..4d80ab11f2 100644
--- a/packages/css/theme/designsystemet.css
+++ b/packages/css/theme/designsystemet.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
/*
-build: v1.12.1
-design-tokens: v1.12.1
+build: v1.12.2
+design-tokens: v1.12.2
*/
@layer ds.theme.size-mode {
diff --git a/packages/css/theme/types.d.ts b/packages/css/theme/types.d.ts
index f4793c21e2..bff82f49f7 100644
--- a/packages/css/theme/types.d.ts
+++ b/packages/css/theme/types.d.ts
@@ -1,4 +1,4 @@
-/* build: v1.12.1 */
+/* build: v1.12.2 */
import type {} from '@digdir/designsystemet-types';
// Augment types based on theme
diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md
index f753b7731f..aa4b96f318 100644
--- a/packages/react/CHANGELOG.md
+++ b/packages/react/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change Log
+## 1.12.2
+
+### Patch Changes
+
+- update npm non-major dependencies ([#4548](https://github.com/digdir/designsystemet/pull/4548))
+
+- Updated dependencies []:
+ - @digdir/designsystemet-types@1.12.2
+ - @digdir/designsystemet-web@1.12.2
+
## 1.12.1
### Patch Changes
diff --git a/packages/react/package.json b/packages/react/package.json
index 7657833bfa..ec6e7b6699 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -1,7 +1,7 @@
{
"name": "@digdir/designsystemet-react",
"type": "module",
- "version": "1.12.1",
+ "version": "1.12.2",
"description": "React components for Designsystemet",
"author": "Designsystemet team",
"repository": {
diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md
index 70e249e63b..7cb233e682 100644
--- a/packages/types/CHANGELOG.md
+++ b/packages/types/CHANGELOG.md
@@ -1,5 +1,7 @@
# @digdir/designsystemet-types
+## 1.12.2
+
## 1.12.1
## 1.12.0
diff --git a/packages/types/package.json b/packages/types/package.json
index fdb243c07a..62b1a8536b 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet-types",
- "version": "1.12.1",
+ "version": "1.12.2",
"description": "Types used by Designsystemet themes",
"author": "Designsystemet team",
"repository": {
diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md
index 215ccd339b..1fd06ce014 100644
--- a/packages/web/CHANGELOG.md
+++ b/packages/web/CHANGELOG.md
@@ -1,5 +1,7 @@
# @digdir/designsystemet-web
+## 1.12.2
+
## 1.12.1
### Patch Changes
diff --git a/packages/web/package.json b/packages/web/package.json
index 6ca75a828e..aeb20f1f3a 100644
--- a/packages/web/package.json
+++ b/packages/web/package.json
@@ -1,7 +1,7 @@
{
"name": "@digdir/designsystemet-web",
"type": "module",
- "version": "1.12.1",
+ "version": "1.12.2",
"description": "Javascript for Designsystemet",
"author": "Designsystemet team",
"repository": {