@amsterdam/design-system-tokens 0.5.0 → 0.5.1

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/CHANGELOG.md CHANGED
@@ -3,19 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.5.1](https://github.com/Amsterdam/design-system/compare/design-system-tokens-v0.5.0...design-system-tokens-v0.5.1) (2024-02-13)
7
+
8
+
9
+ ### Features
10
+
11
+ * Create unique token classes ([#1071](https://github.com/Amsterdam/design-system/issues/1071)) ([d53d0a9](https://github.com/Amsterdam/design-system/commit/d53d0a93f18238759d85bd897a7b6ee537cc78b0))
12
+
6
13
  ## [0.5.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-tokens@0.4.0...design-system-tokens-v0.5.0) (2024-02-09)
7
14
 
8
15
 
9
16
  ### ⚠ BREAKING CHANGES
10
17
 
11
18
  * Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067))
12
- * Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064))
19
+ * Remove spacious and compact tokens from component level tokens ([#1067](https://github.com/Amsterdam/design-system/issues/1067))
20
+ * Remove deprecated `inList` variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064))
13
21
 
14
22
  ### Features
15
23
 
16
24
  * Add theme setup and compact theme ([#1067](https://github.com/Amsterdam/design-system/issues/1067)) ([e773434](https://github.com/Amsterdam/design-system/commit/e7734347a9e7205d510a16a543294bde69b9c6f0))
25
+ * Remove spacious and compact tokens from component level tokens ([#1067](https://github.com/Amsterdam/design-system/issues/1067)) ([e773434](https://github.com/Amsterdam/design-system/commit/e7734347a9e7205d510a16a543294bde69b9c6f0))
17
26
  * Hyphenate headings and other large text components ([#1056](https://github.com/Amsterdam/design-system/issues/1056)) ([f875171](https://github.com/Amsterdam/design-system/commit/f8751716018d4ed269a086e1764741ad29714fa0))
18
- * Remove deprecated ‘in list’ variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064)) ([b30784b](https://github.com/Amsterdam/design-system/commit/b30784b352b4a057069ceb397951b79a6e2547f2))
27
+ * Remove deprecated `inList` variant of Link ([#1064](https://github.com/Amsterdam/design-system/issues/1064)) ([b30784b](https://github.com/Amsterdam/design-system/commit/b30784b352b4a057069ceb397951b79a6e2547f2))
19
28
 
20
29
  ## [0.4.0](https://github.com/Amsterdam/design-system/compare/@amsterdam/design-system-tokens@0.3.0...@amsterdam/design-system-tokens@0.4.0) (2024-01-31)
21
30
 
package/build.js CHANGED
@@ -3,7 +3,7 @@ const StyleDictionary = require('style-dictionary')
3
3
  const modes = ['compact']
4
4
 
5
5
  function generateSharedConfig(mode) {
6
- const name = mode ? `${mode}` : 'index'
6
+ const name = mode || 'index'
7
7
 
8
8
  return {
9
9
  css: {
@@ -28,7 +28,7 @@ function generateSharedConfig(mode) {
28
28
  destination: `${name}.theme.css`,
29
29
  format: 'css/variables',
30
30
  options: {
31
- selector: '.amsterdam-theme',
31
+ selector: `.amsterdam-theme${name === 'index' ? '' : `--${name}`}`,
32
32
  outputReferences: true,
33
33
  },
34
34
  },
package/dist/compact.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
6
  :root {
package/dist/compact.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
6
  export default tokens;
package/dist/compact.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
6
  export const amsterdamTypographyTextLevel0FontSize = "clamp(1.891rem, calc(1.927vw + 1.506rem), 3.433rem)";
package/dist/compact.scss CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ // Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
 
5
5
  $amsterdam-grid-padding-inline: clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem); // Equals the gap.
6
6
  $amsterdam-grid-gap: clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem); // Grows from 16px at 1088px wide to 40px at 2624px wide.
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
- .amsterdam-theme {
6
+ .amsterdam-theme--compact {
7
7
  --amsterdam-grid-padding-inline: clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem); /* Equals the gap. */
8
8
  --amsterdam-grid-gap: clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem); /* Grows from 16px at 1088px wide to 40px at 2624px wide. */
9
9
  --amsterdam-typography-text-level-6-font-size: clamp(0.75rem, calc(0.188vw + 0.713rem), 0.9rem);
package/dist/index.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
6
  :root {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
6
  export default tokens;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
6
  export const amsterdamColorPrimaryBlack = "#000000";
package/dist/index.scss CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ // Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
 
5
5
  $utrecht-button-subtle-disabled-background-color: transparent;
6
6
  $utrecht-button-subtle-background-color: transparent;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 09 Feb 2024 16:26:11 GMT
3
+ * Generated on Tue, 13 Feb 2024 11:27:27 GMT
4
4
  */
5
5
 
6
6
  .amsterdam-theme {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.0",
2
+ "version": "0.5.1",
3
3
  "author": "Community for NL Design System",
4
4
  "description": "Design tokens for components for the City of Amsterdam based on the NL Design System architecture",
5
5
  "license": "SEE LICENSE IN LICENSE.md",