diff --git a/.changeset/clean-taxis-heal.md b/.changeset/clean-taxis-heal.md deleted file mode 100644 index c91a8b9151..0000000000 --- a/.changeset/clean-taxis-heal.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@digdir/designsystemet": patch -"@digdir/designsystemet-css": patch -"@digdir/designsystemet-react": patch -"@digdir/designsystemet-web": patch ---- - -Update npm non-major dependencies diff --git a/.changeset/happy-chicken-dig.md b/.changeset/happy-chicken-dig.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/happy-chicken-dig.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/quiet-birds-attend.md b/.changeset/quiet-birds-attend.md deleted file mode 100644 index 05800c26a5..0000000000 --- a/.changeset/quiet-birds-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@digdir/designsystemet-react": minor ---- - -**SuggestionInput:** Remove unsupported props `role` and `data-indeterminate` that would break `Suggestion` diff --git a/apps/www/app/content/components-docs/changelog.mdx b/apps/www/app/content/components-docs/changelog.mdx index 6142e76418..23a51d52a8 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.14.0 +latestVersion: 1.15.0 ---
+## 1.15.0 + + + +### @digdir/designsystemet + +#### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.15.0 + + + +### @digdir/designsystemet-css + +#### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.15.0 + + + +### @digdir/designsystemet-react + +#### Minor Changes + +- **SuggestionInput:** Remove unsupported props `role` and `data-indeterminate` that would break `Suggestion` ([#4883](https://github.com/digdir/designsystemet/pull/4883)) + +#### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + +- Updated dependencies [[`f54563f`](https://github.com/digdir/designsystemet/commit/f54563f9b16020ae9094148933dc5efbc7720ad5)]: + - @digdir/designsystemet-web@1.15.0 + - @digdir/designsystemet-types@1.15.0 + + + +### @digdir/designsystemet-web + +#### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + +
+ +
+ ## 1.14.0 diff --git a/apps/www/app/content/schemas/cli/1.15.0.json b/apps/www/app/content/schemas/cli/1.15.0.json new file mode 100644 index 0000000000..6c95187fb6 --- /dev/null +++ b/apps/www/app/content/schemas/cli/1.15.0.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 b982a9f27f..e84cda9b9b 100644 --- a/design-tokens/$designsystemet.jsonc +++ b/design-tokens/$designsystemet.jsonc @@ -1,4 +1,4 @@ { "name": "@digdir/designsystemet", - "version": "1.14.0" + "version": "1.15.0" } \ No newline at end of file diff --git a/internal/digdir/themes/colors.d.ts b/internal/digdir/themes/colors.d.ts index 1a29b59c5a..01def7784b 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.14.0 */ +/* build: v1.15.0 */ 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 ecd6fb3af4..a96c6843b9 100644 --- a/internal/digdir/themes/digdir.css +++ b/internal/digdir/themes/digdir.css @@ -1,7 +1,7 @@ @charset "UTF-8"; /* -build: v1.14.0 -design-tokens: v1.14.0 +build: v1.15.0 +design-tokens: v1.15.0 */ @layer ds.theme.size-mode { diff --git a/internal/digdir/themes/types.d.ts b/internal/digdir/themes/types.d.ts index 6901c3195f..558d3954a3 100644 --- a/internal/digdir/themes/types.d.ts +++ b/internal/digdir/themes/types.d.ts @@ -1,4 +1,4 @@ -/* build: v1.14.0 */ +/* build: v1.15.0 */ import type {} from '@digdir/designsystemet-types'; // Augment types based on theme diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index e58e6deba0..dd5ad6c1b5 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.15.0 + +### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.15.0 + ## 1.14.0 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index bab8a97661..6ed40a8a37 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@digdir/designsystemet", - "version": "1.14.0", + "version": "1.15.0", "description": "CLI for Designsystemet", "author": "Designsystemet team", "engines": { diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index a96f66e380..b6f10ecc47 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.15.0 + +### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + +- Updated dependencies []: + - @digdir/designsystemet-types@1.15.0 + ## 1.14.0 ### Minor Changes diff --git a/packages/css/package.json b/packages/css/package.json index b8e9fc11fd..2fc1594275 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@digdir/designsystemet-css", - "version": "1.14.0", + "version": "1.15.0", "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 94b713e67a..ae38368a74 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.14.0 */ +/* build: v1.15.0 */ 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 a170ef0f29..a6929fa88d 100644 --- a/packages/css/theme/designsystemet.css +++ b/packages/css/theme/designsystemet.css @@ -1,7 +1,7 @@ @charset "UTF-8"; /* -build: v1.14.0 -design-tokens: v1.14.0 +build: v1.15.0 +design-tokens: v1.15.0 */ @layer ds.theme.size-mode { diff --git a/packages/css/theme/types.d.ts b/packages/css/theme/types.d.ts index 3934c42d18..f2d32b4ec6 100644 --- a/packages/css/theme/types.d.ts +++ b/packages/css/theme/types.d.ts @@ -1,4 +1,4 @@ -/* build: v1.14.0 */ +/* build: v1.15.0 */ import type {} from '@digdir/designsystemet-types'; // Augment types based on theme diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 98b34b57ff..9283e85ab3 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,19 @@ # Change Log +## 1.15.0 + +### Minor Changes + +- **SuggestionInput:** Remove unsupported props `role` and `data-indeterminate` that would break `Suggestion` ([#4883](https://github.com/digdir/designsystemet/pull/4883)) + +### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + +- Updated dependencies [[`f54563f`](https://github.com/digdir/designsystemet/commit/f54563f9b16020ae9094148933dc5efbc7720ad5)]: + - @digdir/designsystemet-web@1.15.0 + - @digdir/designsystemet-types@1.15.0 + ## 1.14.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 0d036c6bde..903307c33a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@digdir/designsystemet-react", "type": "module", - "version": "1.14.0", + "version": "1.15.0", "description": "React components for Designsystemet", "author": "Designsystemet team", "repository": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 213e740103..d9950ba635 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,7 @@ # @digdir/designsystemet-types +## 1.15.0 + ## 1.14.0 ## 1.13.3 diff --git a/packages/types/package.json b/packages/types/package.json index ef90c02bf5..fcdeab084b 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@digdir/designsystemet-types", - "version": "1.14.0", + "version": "1.15.0", "description": "Types used by Designsystemet themes", "author": "Designsystemet team", "repository": { diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 90cd01d844..9f1466b3f9 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,11 @@ # @digdir/designsystemet-web +## 1.15.0 + +### Patch Changes + +- Update npm non-major dependencies ([#4889](https://github.com/digdir/designsystemet/pull/4889)) + ## 1.14.0 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index 957ad9a3eb..e000b38436 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,7 +1,7 @@ { "name": "@digdir/designsystemet-web", "type": "module", - "version": "1.14.0", + "version": "1.15.0", "description": "Javascript for Designsystemet", "author": "Designsystemet team", "repository": {