diff --git a/.changeset/better-bats-eat.md b/.changeset/better-bats-eat.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/better-bats-eat.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/moody-colts-change.md b/.changeset/moody-colts-change.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/moody-colts-change.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/public-carpets-crash.md b/.changeset/public-carpets-crash.md deleted file mode 100644 index c2fe1ad14b..0000000000 --- a/.changeset/public-carpets-crash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@digdir/designsystemet-react": patch -"@digdir/designsystemet": patch ---- - -update npm non-major dependencies diff --git a/apps/www/app/content/components-docs/changelog.mdx b/apps/www/app/content/components-docs/changelog.mdx index 0217da4ddd..004dc58363 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.11.1 +latestVersion: 1.11.2 ---
+## 1.11.2 + + + +### @digdir/designsystemet + +#### Patch Changes + +- update npm non-major dependencies ([#4497](https://github.com/digdir/designsystemet/pull/4497)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.11.2 + + + +### @digdir/designsystemet-css + +#### Patch Changes + +- Updated dependencies []: + - @digdir/designsystemet-types@1.11.2 + + + +### @digdir/designsystemet-react + +#### Patch Changes + +- update npm non-major dependencies ([#4497](https://github.com/digdir/designsystemet/pull/4497)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.11.2 + +
+ +
+ ## 1.11.1 diff --git a/apps/www/app/content/schemas/cli/1.11.2.json b/apps/www/app/content/schemas/cli/1.11.2.json new file mode 100644 index 0000000000..6c95187fb6 --- /dev/null +++ b/apps/www/app/content/schemas/cli/1.11.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 f32b2a1576..33f4d90add 100644 --- a/design-tokens/$designsystemet.jsonc +++ b/design-tokens/$designsystemet.jsonc @@ -1,4 +1,4 @@ { "name": "@digdir/designsystemet", - "version": "1.11.1" + "version": "1.11.2" } \ No newline at end of file diff --git a/internal/digdir/themes/colors.d.ts b/internal/digdir/themes/colors.d.ts index 9e0011d778..50af05206b 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.11.1 */ +/* build: v1.11.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 a6a27b8d60..b392b2c59d 100644 --- a/internal/digdir/themes/digdir.css +++ b/internal/digdir/themes/digdir.css @@ -1,7 +1,7 @@ @charset "UTF-8"; /* -build: v1.11.1 -design-tokens: v1.11.1 +build: v1.11.2 +design-tokens: v1.11.2 */ @layer ds.theme.size-mode { diff --git a/internal/digdir/themes/types.d.ts b/internal/digdir/themes/types.d.ts index ceb080f3b3..94803d56fc 100644 --- a/internal/digdir/themes/types.d.ts +++ b/internal/digdir/themes/types.d.ts @@ -1,4 +1,4 @@ -/* build: v1.11.1 */ +/* build: v1.11.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 6f0d8baa77..c547c368fc 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.11.2 + +### Patch Changes + +- update npm non-major dependencies ([#4497](https://github.com/digdir/designsystemet/pull/4497)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.11.2 + ## 1.11.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index b324998576..56d2588c13 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@digdir/designsystemet", - "version": "1.11.1", + "version": "1.11.2", "description": "CLI for Designsystemet", "author": "Designsystemet team", "engines": { diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index c113417203..4c83eb9447 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 1.11.2 + +### Patch Changes + +- Updated dependencies []: + - @digdir/designsystemet-types@1.11.2 + ## 1.11.1 ### Patch Changes diff --git a/packages/css/package.json b/packages/css/package.json index 19fb5d23b8..4363017018 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@digdir/designsystemet-css", - "version": "1.11.1", + "version": "1.11.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 8d49208aec..144910755f 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.11.1 */ +/* build: v1.11.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 2e7308ba69..f8f3bee449 100644 --- a/packages/css/theme/designsystemet.css +++ b/packages/css/theme/designsystemet.css @@ -1,7 +1,7 @@ @charset "UTF-8"; /* -build: v1.11.1 -design-tokens: v1.11.1 +build: v1.11.2 +design-tokens: v1.11.2 */ @layer ds.theme.size-mode { diff --git a/packages/css/theme/types.d.ts b/packages/css/theme/types.d.ts index 82b601cd42..0949caf14f 100644 --- a/packages/css/theme/types.d.ts +++ b/packages/css/theme/types.d.ts @@ -1,4 +1,4 @@ -/* build: v1.11.1 */ +/* build: v1.11.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 cb8d3f9e2e..56154752e5 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.11.2 + +### Patch Changes + +- update npm non-major dependencies ([#4497](https://github.com/digdir/designsystemet/pull/4497)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.11.2 + ## 1.11.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index fb56d24bb7..3796fb4476 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@digdir/designsystemet-react", "type": "module", - "version": "1.11.1", + "version": "1.11.2", "description": "React components for Designsystemet", "author": "Designsystemet team", "repository": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 98cee9173d..621bdcccab 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,7 @@ # @digdir/designsystemet-types +## 1.11.2 + ## 1.11.1 ## 1.11.0 diff --git a/packages/types/package.json b/packages/types/package.json index 9655f73536..b233abdd21 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@digdir/designsystemet-types", - "version": "1.11.1", + "version": "1.11.2", "description": "Types used by Designsystemet themes", "author": "Designsystemet team", "repository": {