@dynatrace/strato-design-tokens 1.5.0 → 1.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 ADDED
@@ -0,0 +1,226 @@
1
+ # design-tokens
2
+
3
+ ## 1.5.1
4
+
5
+ ### Updates
6
+
7
+ #### General
8
+
9
+ - Changelog files are now included in the published packages for easier agentic access.
10
+ - Added new color token for embedded surface backdrops. (APPDEV-18484)
11
+
12
+ ## 1.5.0
13
+
14
+ ### Updates
15
+
16
+ #### General
17
+
18
+ - Updated subdued border color tokens as part of Strato's visual refresh.
19
+
20
+ ## 1.4.0
21
+
22
+ ### Updates
23
+
24
+ #### General
25
+
26
+ - Added new color and box-shadow tokens for light and dark mode to support the visual refresh. (APPDEV-16804, APPDEV-17284)
27
+
28
+ ## 1.3.1
29
+
30
+ ## 1.3.0
31
+
32
+ ## 1.2.0
33
+
34
+ ### Updates
35
+
36
+ #### Charts
37
+
38
+ - Added category `None` for security risk level palette. (APPDEV-15295)
39
+ - Updated color for category `Muted` for security risk level and vulnerability status palettes (dark only). (APPDEV-15295)
40
+ - Updated color for category `None` for log level and log status palettes (dark only). (APPDEV-15295)
41
+
42
+ ## 1.1.4
43
+
44
+ ### Updates
45
+
46
+ #### General
47
+
48
+ - Added new design tokens, `Timing.Slowest` and `Easings.RotateElastic`. (APPDEV-14757)
49
+
50
+ ## 1.1.3
51
+
52
+ ### Updates
53
+
54
+ #### General
55
+
56
+ - Updated descriptions of `Breakpoints` tokens.
57
+ - Reduced the `Border.Radius` values to not cut into content as much. (APPDEV-14774)
58
+
59
+ ## 1.1.2
60
+
61
+ Documentation update.
62
+
63
+ ## 1.1.1
64
+
65
+ Documentation update.
66
+
67
+ ## 1.1.0
68
+
69
+ ### General
70
+
71
+ - Adjusted light mode colors to be appear more vivid and less gray. Additionally we've added subtle outlines to our default Surface shadow tokens for both dark and light mode.
72
+ - Design tokens now also have a visual regression test that checks for changes in token values.
73
+
74
+ ## 1.0.1
75
+
76
+ ### General
77
+
78
+ - Design tokens are now also shipped as pure CSS files. (APPDEV-12996)
79
+
80
+ ## 1.0.0
81
+
82
+ :::caution Breaking changes
83
+
84
+ **General**
85
+
86
+ - Removed deprecated `onAccent` color tokens. (APPDEV-9427)
87
+
88
+ :::
89
+
90
+ ## 0.20.40
91
+
92
+ - Updated documentation.
93
+
94
+ ## 0.20.30
95
+
96
+ - Updated documentation.
97
+
98
+ ## 0.20.20
99
+
100
+ - Updated documentation.
101
+
102
+ ## 0.20.10
103
+
104
+ - Updated documentation.
105
+
106
+ ### Colors
107
+
108
+ - Corrects faulty `neutral` to `critical` jsdoc comments on color tokens.
109
+ - Include None in Log-Level color palette.
110
+ - Update colors of Diverging color palette.
111
+
112
+ ## 0.20.9
113
+
114
+ ### Colors
115
+
116
+ - `Critical` and `Warning` color are slightly adjusted.
117
+
118
+ ## 0.20.8
119
+
120
+ ### Colors
121
+
122
+ - Changes `Warning` and `Critical` colors to be more vibrant and introduces new tokens to support proper contrast on new vibrant colors.
123
+
124
+ ## 0.20.7
125
+
126
+ ### General
127
+
128
+ - Package dependency cleanup.
129
+
130
+ ## 0.20.5
131
+
132
+ ### Typography
133
+
134
+ - Update DynatraceFlow fonts used.
135
+
136
+ ## 0.20.0
137
+
138
+ :::note Breaking changes
139
+
140
+ - Removed `none` color token from the `log-level` color palette.
141
+
142
+ :::
143
+
144
+ ### Colors
145
+
146
+ - Updated chart color tokens for color palettes of `swamps` and `log-level` on both light and dark themes.
147
+
148
+ ## 0.19.0
149
+
150
+ :::note Breaking changes
151
+
152
+ - Removed `Hover`, `Active`, `DefaultTransparent`, `HoverTransparent` and `ActiveTransparent` token values from `Colors.Charts` tokens. `Default` should be used instead. Updated the color palette from `vulnerability-risk-level` to `security-risk-level`.
153
+
154
+ :::
155
+
156
+ ### Breakpoints
157
+
158
+ - BreakpointJS tokens are now exported from the root entry point.
159
+
160
+ ## 0.18.3
161
+
162
+ ### Breakpoints
163
+
164
+ - Breakpoint tokens are now available as typescript consumable numbers. You can use `import BreakpointsJS from '@dynatrace/strato-design-tokens/breakpoints-js;` in order to consume the numeric values of the breakpoint tokens.
165
+
166
+ ## 0.18.0
167
+
168
+ ### Colors
169
+
170
+ - Added 'vulnerability-status' color palette.
171
+
172
+ ## 0.17.1
173
+
174
+ ### General
175
+
176
+ - `jscodeshift` was removed as a dependency as it is no longer needed for the migrations of this package.
177
+
178
+ ## 0.17.0
179
+
180
+ ### Colors
181
+
182
+ - Adjusted colors to match a11y color-contrast requirements for hover state. Adjusted syntax colors to match a11y color-contrast requirements.
183
+
184
+ ## 0.16.0
185
+
186
+ ### Borders
187
+
188
+ - Added new subdued Surface border radius token.
189
+
190
+ ## 0.15.0
191
+
192
+ ### General
193
+
194
+ - React 18 compatibility is now available.
195
+
196
+ ## 0.14.0
197
+
198
+ ### Animations
199
+
200
+ - Added animation tokens for rescaling.
201
+
202
+ ### Colors
203
+
204
+ - Added vulnerability risk level color palette for charts.
205
+
206
+ ## 0.13.0
207
+
208
+ ### General
209
+
210
+ - design-tokens now have comments that populates documentation.
211
+
212
+ ### Colors
213
+
214
+ - Added threshold chart color design tokens.
215
+
216
+ ## 0.12.1
217
+
218
+ ### General
219
+
220
+ - Readme file is now included in the shipped package.
221
+
222
+ ## 0.12.0
223
+
224
+ ### Colors
225
+
226
+ - Fixed success disabled color token.
package/colors/index.d.ts CHANGED
@@ -14,6 +14,10 @@ declare const _default: {
14
14
  /** Css custom property: --dt-colors-theme-background-shell-default. Default value: #f2f2f5. */
15
15
  Default: string;
16
16
  };
17
+ Surface: {
18
+ /** Css custom property: --dt-colors-theme-background-surface-backdrop-embedded. Default value: #f9f9facc. */
19
+ BackdropEmbedded: string;
20
+ };
17
21
  /** Css custom property: --dt-colors-theme-background-10. Default value: #f9f9fa. */
18
22
  '10': string;
19
23
  /** Css custom property: --dt-colors-theme-background-20. Default value: #fff. */
@@ -134,6 +138,11 @@ declare const _default: {
134
138
  * Css custom property: --dt-colors-background-surface-backdrop. Default value: #f9f9facc.
135
139
  */
136
140
  Backdrop: string;
141
+ /**
142
+ * Use as the backdrop for embedded overlays to reduce the visual noise of background elements.
143
+ * Css custom property: --dt-colors-background-surface-backdrop-embedded. Default value: #f9f9facc.
144
+ */
145
+ BackdropEmbedded: string;
137
146
  /**
138
147
  * Use for default surface background.
139
148
  * Css custom property: --dt-colors-background-surface-default. Default value: #fff.
package/colors/index.js CHANGED
@@ -32,6 +32,10 @@ const Theme = {
32
32
  /** Css custom property: --dt-colors-theme-background-shell-default. Default value: #f2f2f5. */
33
33
  Default: "var(--dt-colors-theme-background-shell-default, #f2f2f5)"
34
34
  },
35
+ Surface: {
36
+ /** Css custom property: --dt-colors-theme-background-surface-backdrop-embedded. Default value: #f9f9facc. */
37
+ BackdropEmbedded: "var(--dt-colors-theme-background-surface-backdrop-embedded, #f9f9facc)"
38
+ },
35
39
  /** Css custom property: --dt-colors-theme-background-10. Default value: #f9f9fa. */
36
40
  "10": "var(--dt-colors-theme-background-10, #f9f9fa)",
37
41
  /** Css custom property: --dt-colors-theme-background-20. Default value: #fff. */
@@ -152,6 +156,11 @@ const Background = {
152
156
  * Css custom property: --dt-colors-background-surface-backdrop. Default value: #f9f9facc.
153
157
  */
154
158
  Backdrop: "var(--dt-colors-background-surface-backdrop, #f9f9facc)",
159
+ /**
160
+ * Use as the backdrop for embedded overlays to reduce the visual noise of background elements.
161
+ * Css custom property: --dt-colors-background-surface-backdrop-embedded. Default value: #f9f9facc.
162
+ */
163
+ BackdropEmbedded: "var(--dt-colors-background-surface-backdrop-embedded, #f9f9facc)",
155
164
  /**
156
165
  * Use for default surface background.
157
166
  * Css custom property: --dt-colors-background-surface-default. Default value: #fff.
@@ -10,6 +10,10 @@ const Theme = {
10
10
  /** Css custom property: --dt-colors-theme-background-shell-default. Default value: #f2f2f5. */
11
11
  Default: "var(--dt-colors-theme-background-shell-default, #f2f2f5)"
12
12
  },
13
+ Surface: {
14
+ /** Css custom property: --dt-colors-theme-background-surface-backdrop-embedded. Default value: #f9f9facc. */
15
+ BackdropEmbedded: "var(--dt-colors-theme-background-surface-backdrop-embedded, #f9f9facc)"
16
+ },
13
17
  /** Css custom property: --dt-colors-theme-background-10. Default value: #f9f9fa. */
14
18
  "10": "var(--dt-colors-theme-background-10, #f9f9fa)",
15
19
  /** Css custom property: --dt-colors-theme-background-20. Default value: #fff. */
@@ -130,6 +134,11 @@ const Background = {
130
134
  * Css custom property: --dt-colors-background-surface-backdrop. Default value: #f9f9facc.
131
135
  */
132
136
  Backdrop: "var(--dt-colors-background-surface-backdrop, #f9f9facc)",
137
+ /**
138
+ * Use as the backdrop for embedded overlays to reduce the visual noise of background elements.
139
+ * Css custom property: --dt-colors-background-surface-backdrop-embedded. Default value: #f9f9facc.
140
+ */
141
+ BackdropEmbedded: "var(--dt-colors-background-surface-backdrop-embedded, #f9f9facc)",
133
142
  /**
134
143
  * Use for default surface background.
135
144
  * Css custom property: --dt-colors-background-surface-default. Default value: #fff.