@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 +11 -2
- package/build.js +2 -2
- package/dist/compact.css +1 -1
- package/dist/compact.d.ts +1 -1
- package/dist/compact.mjs +1 -1
- package/dist/compact.scss +1 -1
- package/dist/compact.theme.css +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.scss +1 -1
- package/dist/index.theme.css +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
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
|
|
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:
|
|
31
|
+
selector: `.amsterdam-theme${name === 'index' ? '' : `--${name}`}`,
|
|
32
32
|
outputReferences: true,
|
|
33
33
|
},
|
|
34
34
|
},
|
package/dist/compact.css
CHANGED
package/dist/compact.d.ts
CHANGED
package/dist/compact.mjs
CHANGED
package/dist/compact.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
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.
|
package/dist/compact.theme.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
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
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
package/dist/index.scss
CHANGED
package/dist/index.theme.css
CHANGED
package/package.json
CHANGED