Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/beige-hands-turn.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/big-actors-fold.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dirty-bats-clap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eighty-jeans-fall.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-crews-leave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-ghosts-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/puny-hats-exist.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-drinks-float.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/salty-schools-march.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/selfish-walls-trade.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-chicken-approve.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/tame-days-watch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thin-wasps-chew.md

This file was deleted.

81 changes: 80 additions & 1 deletion apps/www/app/content/components-docs/changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Changelog"
latestVersion: 1.13.0
latestVersion: 1.13.1
---

<div style={{
Expand All @@ -11,6 +11,85 @@ latestVersion: 1.13.0
}}
>

## 1.13.1

<Divider/>

### @digdir/designsystemet

#### Patch Changes

- fix: add missing references for token sync in Figma ([#4659](https://github.com/digdir/designsystemet/pull/4659))

- Updated dependencies []:
- @digdir/designsystemet-types@1.13.1

<Divider/>

### @digdir/designsystemet-css

#### Patch Changes

- **input**: fix height of empty date and time inputs on iOS Safari ([#4634](https://github.com/digdir/designsystemet/pull/4634))

- define `browser` field in `package.json` for easier use client-side in browser and CDN. ([#4646](https://github.com/digdir/designsystemet/pull/4646))

- **dropdown**: don't style `button, a, [role="button"]` in a nested `<dialog>` ([#4651](https://github.com/digdir/designsystemet/pull/4651))

- **dropdown:** selector only targeting direct children ([#4656](https://github.com/digdir/designsystemet/pull/4656))

- Updated dependencies []:
- @digdir/designsystemet-types@1.13.1

<Divider/>

### @digdir/designsystemet-react

#### Patch Changes

- update npm non-major dependencies ([`cc33a61`](https://github.com/digdir/designsystemet/commit/cc33a615610dfd3c5ca43070e0247924828244ee))

- **Tabs**: `onChange` was not called when keyboard changes active tab ([#4616](https://github.com/digdir/designsystemet/pull/4616))

- **Dropdown**: `className` in subcomponents was not forwarded to DOM-element ([#4655](https://github.com/digdir/designsystemet/pull/4655))

- **dropdown:** selector only targeting direct children ([#4656](https://github.com/digdir/designsystemet/pull/4656))

- **Tabs**: fix controlled version not behaving properly ([#4635](https://github.com/digdir/designsystemet/pull/4635))

- **input:** add suppressHydrationWarning as attributes will be added by ds-field ([#4656](https://github.com/digdir/designsystemet/pull/4656))

- Updated dependencies [[`cc33a61`](https://github.com/digdir/designsystemet/commit/cc33a615610dfd3c5ca43070e0247924828244ee), [`811fa99`](https://github.com/digdir/designsystemet/commit/811fa998227802da7fec9fa21e782ac77838eedf), [`80f9305`](https://github.com/digdir/designsystemet/commit/80f9305be3680673c54c3bdd8d8cca1a0a21ee4d), [`97ebdb3`](https://github.com/digdir/designsystemet/commit/97ebdb35a4cf49487084842a63a98b783669a02b), [`f403286`](https://github.com/digdir/designsystemet/commit/f403286714d36f77767464e38b8d324ceb3d251d)]:
- @digdir/designsystemet-web@1.13.1
- @digdir/designsystemet-types@1.13.1

<Divider/>

### @digdir/designsystemet-web

#### Patch Changes

- update npm non-major dependencies ([`cc33a61`](https://github.com/digdir/designsystemet/commit/cc33a615610dfd3c5ca43070e0247924828244ee))

- update dependency rolldown to v1.0.0-rc.9 ([#4642](https://github.com/digdir/designsystemet/pull/4642))

- Fixed an issue in **tooltip** that caused delay on all touch interactions on iOS devices ([#4657](https://github.com/digdir/designsystemet/pull/4657))

- **dropdown:** selector only targeting direct children ([#4656](https://github.com/digdir/designsystemet/pull/4656))

- **popover**: stop positioning non-popovers. ([#4651](https://github.com/digdir/designsystemet/pull/4651))
- This fixes an issue with nested `<dialog>`s in popovers

</div>

<div style={{
border: "1px solid var(--ds-color-neutral-border-subtle)",
borderRadius: "var(--ds-border-radius-md)",
padding: "var(--ds-size-5)",
marginBottom: "var(--ds-size-4)"
}}
>

## 1.13.0

<Divider/>
Expand Down
209 changes: 209 additions & 0 deletions apps/www/app/content/schemas/cli/1.13.1.json
Original file line number Diff line number Diff line change
@@ -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
}
2 changes: 1 addition & 1 deletion design-tokens/$designsystemet.jsonc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@digdir/designsystemet",
"version": "1.13.0"
"version": "1.13.1"
}
Loading
Loading