@gyldendal/kobber-tokens 3.0.0 → 4.0.0
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/README.md +12 -1
- package/dist/CHANGELOG.txt +28 -0
- package/dist/k-tokens.css +12 -10
- package/dist/tokens.css +12 -10
- package/dist/tokens.d.ts +7 -1
- package/dist/tokens.js +7 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -186,7 +186,18 @@ If you publish a new version without token changes (e.g., fixing a build script
|
|
|
186
186
|
2. Export `design-tokens.tokens.json` from Figma
|
|
187
187
|
3. Replace the file in project root
|
|
188
188
|
4. Commit and push: `git add . && git commit -m "feat: update tokens" && git push`
|
|
189
|
-
5.
|
|
189
|
+
5. Ask a developer on Slack to preview the changes before creating PR
|
|
190
|
+
|
|
191
|
+
#### For Developers (previewing token changes for UX team)
|
|
192
|
+
|
|
193
|
+
When UX team asks you to preview changes on their branch:
|
|
194
|
+
|
|
195
|
+
1. Checkout their branch: `git checkout tokens-update`
|
|
196
|
+
2. Build tokens and changelog: `npm run build`
|
|
197
|
+
3. Check `dist/CHANGELOG.txt` for summary of changes (added/removed/changed tokens)
|
|
198
|
+
4. Copy/paste the latest changelog entry (top of file) to UX team on Slack
|
|
199
|
+
5. Discard changes: `git checkout dist/`
|
|
200
|
+
6. If everything looks good, UX team can create Pull Request
|
|
190
201
|
|
|
191
202
|
#### For Developers (publishing new version)
|
|
192
203
|
|
package/dist/CHANGELOG.txt
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
=== 08.01.2026, 09:20:50 [620f04e3] - MAJOR - npm: v4.0.0 ===
|
|
2
|
+
|
|
3
|
+
ADDED
|
|
4
|
+
component-media-border-radius
|
|
5
|
+
component-media-brand-border-radius
|
|
6
|
+
component-media-brand-gap
|
|
7
|
+
component-media-brand-image-container-size-height
|
|
8
|
+
component-media-brand-inner-inner-credit-container-border-radius-bottom-left-left-align
|
|
9
|
+
component-media-brand-inner-inner-credit-container-border-radius-bottom-right-right-align
|
|
10
|
+
component-media-brand-inner-inner-credit-container-border-radius-top-left-right-align
|
|
11
|
+
component-media-brand-inner-inner-credit-container-border-radius-top-right-left-align
|
|
12
|
+
component-media-brand-inner-inner-credit-container-padding
|
|
13
|
+
component-media-brand-inner-inner-credit-container-vector-height
|
|
14
|
+
component-media-brand-inner-inner-credit-container-vector-width
|
|
15
|
+
component-media-padding
|
|
16
|
+
|
|
17
|
+
REMOVED
|
|
18
|
+
component-media-module-border-radius
|
|
19
|
+
component-media-module-gap
|
|
20
|
+
component-media-module-image-container-size-height
|
|
21
|
+
component-media-module-inner-inner-credit-container-border-radius-bottom-left-left-align
|
|
22
|
+
component-media-module-inner-inner-credit-container-border-radius-bottom-right-right-align
|
|
23
|
+
component-media-module-inner-inner-credit-container-border-radius-top-left-right-align
|
|
24
|
+
component-media-module-inner-inner-credit-container-border-radius-top-right-left-align
|
|
25
|
+
component-media-module-inner-inner-credit-container-padding
|
|
26
|
+
component-media-module-inner-inner-credit-container-vector-height
|
|
27
|
+
component-media-module-inner-inner-credit-container-vector-width
|
|
28
|
+
|
|
1
29
|
=== 22.12.2025, 11:32:19 [13b106f4] - MAJOR - npm: v3.0.0 ===
|
|
2
30
|
|
|
3
31
|
ADDED
|
package/dist/k-tokens.css
CHANGED
|
@@ -1381,16 +1381,16 @@
|
|
|
1381
1381
|
--k-component-list-gap-ordered-large: var(--k-groups-text-blocks-space-xsmall);
|
|
1382
1382
|
--k-component-list-gap-unordered-medium: var(--k-groups-text-blocks-space-xsmall);
|
|
1383
1383
|
--k-component-list-gap-unordered-large: var(--k-groups-text-blocks-space-small);
|
|
1384
|
-
--k-component-media-
|
|
1385
|
-
--k-component-media-
|
|
1386
|
-
--k-component-media-
|
|
1387
|
-
--k-component-media-
|
|
1388
|
-
--k-component-media-
|
|
1389
|
-
--k-component-media-
|
|
1390
|
-
--k-component-media-
|
|
1391
|
-
--k-component-media-
|
|
1392
|
-
--k-component-media-
|
|
1393
|
-
--k-component-media-
|
|
1384
|
+
--k-component-media-brand-gap: var(--k-groups-cards-and-modules-space-large);
|
|
1385
|
+
--k-component-media-brand-inner-inner-credit-container-border-radius-top-left-right-align: var(--k-groups-cards-and-modules-radius-large);
|
|
1386
|
+
--k-component-media-brand-inner-inner-credit-container-border-radius-bottom-right-right-align: var(--k-groups-cards-and-modules-radius-large);
|
|
1387
|
+
--k-component-media-brand-inner-inner-credit-container-border-radius-top-right-left-align: var(--k-groups-cards-and-modules-radius-large);
|
|
1388
|
+
--k-component-media-brand-inner-inner-credit-container-border-radius-bottom-left-left-align: var(--k-groups-cards-and-modules-radius-large);
|
|
1389
|
+
--k-component-media-brand-inner-inner-credit-container-vector-width: var(--k-groups-cards-and-modules-size-element-small);
|
|
1390
|
+
--k-component-media-brand-inner-inner-credit-container-vector-height: var(--k-groups-cards-and-modules-size-element-small);
|
|
1391
|
+
--k-component-media-brand-inner-inner-credit-container-padding: var(--k-groups-cards-and-modules-space-xlarge);
|
|
1392
|
+
--k-component-media-brand-border-radius: var(--k-groups-cards-and-modules-radius-large);
|
|
1393
|
+
--k-component-media-brand-image-container-size-height: var(--k-groups-cards-and-modules-size-visual-image);
|
|
1394
1394
|
--k-component-content-card-gap-subtle: var(--k-groups-cards-and-modules-space-small);
|
|
1395
1395
|
--k-component-content-card-gap-prominent: var(--k-groups-cards-and-modules-space-large);
|
|
1396
1396
|
--k-component-content-card-image-container-border-radius-subtle: var(--k-groups-cards-and-modules-radius-small);
|
|
@@ -1550,6 +1550,8 @@
|
|
|
1550
1550
|
--k-component-content-island-border-radius: var(--k-groups-content-islands-space-xsmall);
|
|
1551
1551
|
--k-component-content-island-inner-container-gap: var(--k-groups-content-islands-space-medium);
|
|
1552
1552
|
--k-component-content-island-inner-container-text-container-padding-left: var(--k-groups-content-islands-space-xsmall);
|
|
1553
|
+
--k-component-media-padding: var(--k-groups-cards-and-modules-space-large);
|
|
1554
|
+
--k-component-media-border-radius: var(--k-groups-cards-and-modules-radius-small);
|
|
1553
1555
|
--k-universal-hyperlink-text-color-fallback: var(--k-semantics-typography-color-brand-carmine-525);
|
|
1554
1556
|
--k-layout-text-wrapper-gap-horizontal: var(--k-semantics-typography-space-medium);
|
|
1555
1557
|
--k-layout-main-gap-min: var(--k-groups-responsivness-space-small);
|
package/dist/tokens.css
CHANGED
|
@@ -1381,16 +1381,16 @@
|
|
|
1381
1381
|
--kobber-component-list-gap-ordered-large: var(--kobber-groups-text-blocks-space-xsmall);
|
|
1382
1382
|
--kobber-component-list-gap-unordered-medium: var(--kobber-groups-text-blocks-space-xsmall);
|
|
1383
1383
|
--kobber-component-list-gap-unordered-large: var(--kobber-groups-text-blocks-space-small);
|
|
1384
|
-
--kobber-component-media-
|
|
1385
|
-
--kobber-component-media-
|
|
1386
|
-
--kobber-component-media-
|
|
1387
|
-
--kobber-component-media-
|
|
1388
|
-
--kobber-component-media-
|
|
1389
|
-
--kobber-component-media-
|
|
1390
|
-
--kobber-component-media-
|
|
1391
|
-
--kobber-component-media-
|
|
1392
|
-
--kobber-component-media-
|
|
1393
|
-
--kobber-component-media-
|
|
1384
|
+
--kobber-component-media-brand-gap: var(--kobber-groups-cards-and-modules-space-large);
|
|
1385
|
+
--kobber-component-media-brand-inner-inner-credit-container-border-radius-top-left-right-align: var(--kobber-groups-cards-and-modules-radius-large);
|
|
1386
|
+
--kobber-component-media-brand-inner-inner-credit-container-border-radius-bottom-right-right-align: var(--kobber-groups-cards-and-modules-radius-large);
|
|
1387
|
+
--kobber-component-media-brand-inner-inner-credit-container-border-radius-top-right-left-align: var(--kobber-groups-cards-and-modules-radius-large);
|
|
1388
|
+
--kobber-component-media-brand-inner-inner-credit-container-border-radius-bottom-left-left-align: var(--kobber-groups-cards-and-modules-radius-large);
|
|
1389
|
+
--kobber-component-media-brand-inner-inner-credit-container-vector-width: var(--kobber-groups-cards-and-modules-size-element-small);
|
|
1390
|
+
--kobber-component-media-brand-inner-inner-credit-container-vector-height: var(--kobber-groups-cards-and-modules-size-element-small);
|
|
1391
|
+
--kobber-component-media-brand-inner-inner-credit-container-padding: var(--kobber-groups-cards-and-modules-space-xlarge);
|
|
1392
|
+
--kobber-component-media-brand-border-radius: var(--kobber-groups-cards-and-modules-radius-large);
|
|
1393
|
+
--kobber-component-media-brand-image-container-size-height: var(--kobber-groups-cards-and-modules-size-visual-image);
|
|
1394
1394
|
--kobber-component-content-card-gap-subtle: var(--kobber-groups-cards-and-modules-space-small);
|
|
1395
1395
|
--kobber-component-content-card-gap-prominent: var(--kobber-groups-cards-and-modules-space-large);
|
|
1396
1396
|
--kobber-component-content-card-image-container-border-radius-subtle: var(--kobber-groups-cards-and-modules-radius-small);
|
|
@@ -1550,6 +1550,8 @@
|
|
|
1550
1550
|
--kobber-component-content-island-border-radius: var(--kobber-groups-content-islands-space-xsmall);
|
|
1551
1551
|
--kobber-component-content-island-inner-container-gap: var(--kobber-groups-content-islands-space-medium);
|
|
1552
1552
|
--kobber-component-content-island-inner-container-text-container-padding-left: var(--kobber-groups-content-islands-space-xsmall);
|
|
1553
|
+
--kobber-component-media-padding: var(--kobber-groups-cards-and-modules-space-large);
|
|
1554
|
+
--kobber-component-media-border-radius: var(--kobber-groups-cards-and-modules-radius-small);
|
|
1553
1555
|
--kobber-universal-hyperlink-text-color-fallback: var(--kobber-semantics-typography-color-brand-carmine-525);
|
|
1554
1556
|
--kobber-layout-text-wrapper-gap-horizontal: var(--kobber-semantics-typography-space-medium);
|
|
1555
1557
|
--kobber-layout-main-gap-min: var(--kobber-groups-responsivness-space-small);
|
package/dist/tokens.d.ts
CHANGED
|
@@ -2391,7 +2391,7 @@ export const component: {
|
|
|
2391
2391
|
}
|
|
2392
2392
|
}
|
|
2393
2393
|
},
|
|
2394
|
-
"
|
|
2394
|
+
"mediaBrand": {
|
|
2395
2395
|
"gap": 16,
|
|
2396
2396
|
"innerInnerCreditContainer": {
|
|
2397
2397
|
"borderRadius": {
|
|
@@ -2964,6 +2964,12 @@ export const component: {
|
|
|
2964
2964
|
}
|
|
2965
2965
|
}
|
|
2966
2966
|
}
|
|
2967
|
+
},
|
|
2968
|
+
"media": {
|
|
2969
|
+
"padding": 16,
|
|
2970
|
+
"border": {
|
|
2971
|
+
"radius": 8
|
|
2972
|
+
}
|
|
2967
2973
|
}
|
|
2968
2974
|
};
|
|
2969
2975
|
|
package/dist/tokens.js
CHANGED
|
@@ -2390,7 +2390,7 @@ export const component = {
|
|
|
2390
2390
|
}
|
|
2391
2391
|
}
|
|
2392
2392
|
},
|
|
2393
|
-
"
|
|
2393
|
+
"mediaBrand": {
|
|
2394
2394
|
"gap": 16,
|
|
2395
2395
|
"innerInnerCreditContainer": {
|
|
2396
2396
|
"borderRadius": {
|
|
@@ -2963,6 +2963,12 @@ export const component = {
|
|
|
2963
2963
|
}
|
|
2964
2964
|
}
|
|
2965
2965
|
}
|
|
2966
|
+
},
|
|
2967
|
+
"media": {
|
|
2968
|
+
"padding": 16,
|
|
2969
|
+
"border": {
|
|
2970
|
+
"radius": 8
|
|
2971
|
+
}
|
|
2966
2972
|
}
|
|
2967
2973
|
};
|
|
2968
2974
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gyldendal/kobber-tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Gyldendal Kobber design tokens",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"./k-tokens.css": "./dist/k-tokens.css",
|
|
19
19
|
"./CHANGELOG.txt": "./dist/CHANGELOG.txt"
|
|
20
20
|
},
|
|
21
|
-
"files": [
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
22
24
|
"publishConfig": {
|
|
23
25
|
"access": "public"
|
|
24
26
|
},
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
"quality-check": "tsc --noEmit && biome check --write ."
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
|
-
"@biomejs/biome": "^
|
|
34
|
+
"@biomejs/biome": "^2.3.11",
|
|
33
35
|
"@types/node": "^22",
|
|
34
36
|
"style-dictionary": "^5.1.1",
|
|
35
37
|
"tsx": "^4.19.4",
|