@dictu/design-tokens 2.15.0 → 2.17.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/CHANGELOG.md +20 -0
- package/dist/index.css +7 -0
- package/package.json +1 -1
- package/src/components/card.tokens.json +12 -0
- package/src/components/timeline.tokens.json +22 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @dictu/design-tokens
|
|
2
2
|
|
|
3
|
+
## 2.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a9f9669: Fixes the card icon rendering in the wrong color. The optional card
|
|
8
|
+
icon inherited `currentColor`, falling back to plain black instead of a
|
|
9
|
+
design-system color. New `card.default.icon.color` and
|
|
10
|
+
`card.accent.icon.color` tokens are added and applied, so the icon matches the
|
|
11
|
+
heading color of its variant (`heading.color` for the default card,
|
|
12
|
+
`card.accent.color` for the accent card).
|
|
13
|
+
|
|
14
|
+
## 2.16.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- d4660a7: Add timeline design tokens for the connector icon-center and
|
|
19
|
+
sub-icon-center, heading text-align, content align-items, and button
|
|
20
|
+
justify-content, so the timeline component relies on tokens instead of
|
|
21
|
+
hardcoded values and mixin arguments.
|
|
22
|
+
|
|
3
23
|
## 2.15.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/dist/index.css
CHANGED
|
@@ -185,9 +185,12 @@
|
|
|
185
185
|
--govnl-timeline-connector-padding-inline-end: 0px;
|
|
186
186
|
--govnl-timeline-connector-margin-inline-start: 15px;
|
|
187
187
|
--govnl-timeline-title-padding-block-start: 0px;
|
|
188
|
+
--govnl-timeline-heading-text-align: start;
|
|
188
189
|
--govnl-timeline-heading-text-decoration: none;
|
|
189
190
|
--govnl-timeline-heading-hover-text-decoration: underline;
|
|
190
191
|
--govnl-timeline-subheading-padding-block-start: 0px;
|
|
192
|
+
--govnl-timeline-content-align-items: flex-start;
|
|
193
|
+
--govnl-timeline-button-justify-content: start;
|
|
191
194
|
--govnl-table-margin-block-end: 0;
|
|
192
195
|
--govnl-table-caption-text-align: start;
|
|
193
196
|
--govnl-table-header-sticky-border-block-end-width: 2px;
|
|
@@ -634,6 +637,8 @@
|
|
|
634
637
|
--govnl-timeline-toggle-link-padding-block-end: var(--govnl-space-sm);
|
|
635
638
|
--govnl-timeline-connector-color: var(--govnl-brand-primary-1-500);
|
|
636
639
|
--govnl-timeline-connector-padding-inline-start: var(--govnl-space-sm);
|
|
640
|
+
--govnl-timeline-connector-icon-center: var(--govnl-space-sm);
|
|
641
|
+
--govnl-timeline-connector-sub-icon-center: var(--govnl-space-xs);
|
|
637
642
|
--govnl-timeline-title-padding-block-end: var(--govnl-space-sm);
|
|
638
643
|
--govnl-timeline-heading-padding-block-start: var(--govnl-space-4xs);
|
|
639
644
|
--govnl-timeline-heading-padding-block-end: var(--govnl-space-md);
|
|
@@ -1101,6 +1106,8 @@
|
|
|
1101
1106
|
--govnl-link-as-button-secondary-action-hover-color: var(--govnl-interaction-hover-color);
|
|
1102
1107
|
--govnl-link-as-button-secondary-action-active-border-color: var(--govnl-interaction-active-color);
|
|
1103
1108
|
--govnl-link-as-button-secondary-action-active-color: var(--govnl-interaction-active-color);
|
|
1109
|
+
--govnl-card-default-icon-color: var(--govnl-heading-color);
|
|
1110
|
+
--govnl-card-accent-icon-color: var(--govnl-card-accent-color);
|
|
1104
1111
|
--govnl-button-primary-action-hover-background-color: var(--govnl-interaction-hover-color);
|
|
1105
1112
|
--govnl-button-primary-action-hover-border-color: var(--govnl-interaction-hover-color);
|
|
1106
1113
|
--govnl-button-primary-action-active-background-color: var(--govnl-interaction-active-color);
|
package/package.json
CHANGED
|
@@ -85,6 +85,12 @@
|
|
|
85
85
|
"$type": "color",
|
|
86
86
|
"$value": "{govnl.document.subtle.color}"
|
|
87
87
|
}
|
|
88
|
+
},
|
|
89
|
+
"icon": {
|
|
90
|
+
"color": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{govnl.heading.color}"
|
|
93
|
+
}
|
|
88
94
|
}
|
|
89
95
|
},
|
|
90
96
|
"heading": {
|
|
@@ -154,6 +160,12 @@
|
|
|
154
160
|
}
|
|
155
161
|
},
|
|
156
162
|
"accent": {
|
|
163
|
+
"icon": {
|
|
164
|
+
"color": {
|
|
165
|
+
"$type": "color",
|
|
166
|
+
"$value": "{govnl.card.accent.color}"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
157
169
|
"metadata-subheading": {
|
|
158
170
|
"color": {
|
|
159
171
|
"$type": "color",
|
|
@@ -77,6 +77,14 @@
|
|
|
77
77
|
"margin-inline-start": {
|
|
78
78
|
"$type": "dimension",
|
|
79
79
|
"$value": "15px"
|
|
80
|
+
},
|
|
81
|
+
"icon-center": {
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"$value": "{govnl.space.sm}"
|
|
84
|
+
},
|
|
85
|
+
"sub-icon-center": {
|
|
86
|
+
"$type": "dimension",
|
|
87
|
+
"$value": "{govnl.space.xs}"
|
|
80
88
|
}
|
|
81
89
|
},
|
|
82
90
|
"title": {
|
|
@@ -90,6 +98,10 @@
|
|
|
90
98
|
}
|
|
91
99
|
},
|
|
92
100
|
"heading": {
|
|
101
|
+
"text-align": {
|
|
102
|
+
"$type": "other",
|
|
103
|
+
"$value": "start"
|
|
104
|
+
},
|
|
93
105
|
"text-decoration": {
|
|
94
106
|
"$type": "textDecoration",
|
|
95
107
|
"$value": "none"
|
|
@@ -129,6 +141,16 @@
|
|
|
129
141
|
"column-gap": {
|
|
130
142
|
"$type": "dimension",
|
|
131
143
|
"$value": "{govnl.gap-content.min}"
|
|
144
|
+
},
|
|
145
|
+
"align-items": {
|
|
146
|
+
"$type": "other",
|
|
147
|
+
"$value": "flex-start"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"button": {
|
|
151
|
+
"justify-content": {
|
|
152
|
+
"$type": "other",
|
|
153
|
+
"$value": "start"
|
|
132
154
|
}
|
|
133
155
|
},
|
|
134
156
|
"border-radius": {
|