@atlaskit/primitives 5.6.1 → 6.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/CHANGELOG.md +570 -202
- package/constellation/pressable/examples.mdx +3 -3
- package/constellation/pressable/usage.mdx +2 -3
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/xcss/style-maps.partial.js +9 -9
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/index.js +0 -2
- package/dist/es2019/xcss/style-maps.partial.js +9 -9
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/index.js +0 -2
- package/dist/esm/xcss/style-maps.partial.js +9 -9
- package/dist/types/index.d.ts +0 -2
- package/dist/types/xcss/style-maps.partial.d.ts +10 -10
- package/dist/types-ts4.5/index.d.ts +0 -2
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +10 -10
- package/package.json +9 -7
- package/scripts/border-codegen-template.tsx +3 -11
- package/scripts/color-codegen-template.tsx +3 -11
- package/scripts/elevation-codegen-template.tsx +3 -11
- package/scripts/inverse-color-map-template.tsx +3 -10
- package/scripts/spacing-codegen-template.tsx +2 -9
- package/scripts/typography-codegen-template.tsx +3 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,923 +1,1291 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 6.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#96847](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96847)
|
|
8
|
+
[`914419349eeb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/914419349eeb) - -
|
|
9
|
+
`Pressable` primitive is now in beta.
|
|
10
|
+
- Pressable unsafe exports `UNSAFE_PRESSABLE` and `UNSAFE_PressableProps` have been removed.
|
|
11
|
+
|
|
12
|
+
## 5.7.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#93706](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93706)
|
|
17
|
+
[`2e4fdfa436da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2e4fdfa436da) -
|
|
18
|
+
Add support for React 18.
|
|
19
|
+
|
|
3
20
|
## 5.6.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
6
23
|
|
|
7
|
-
-
|
|
8
|
-
|
|
24
|
+
- [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316)
|
|
25
|
+
[`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) -
|
|
26
|
+
Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
|
|
27
|
+
- [#93980](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93980)
|
|
28
|
+
[`0437b8b3c791`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0437b8b3c791) -
|
|
29
|
+
Updated imports of `UNSAFE_PRESSABLE` primitive to new `Pressable` export
|
|
9
30
|
|
|
10
31
|
## 5.6.0
|
|
11
32
|
|
|
12
33
|
### Minor Changes
|
|
13
34
|
|
|
14
|
-
-
|
|
35
|
+
- [#93535](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93535)
|
|
36
|
+
[`e9177e2fdee3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9177e2fdee3) -
|
|
37
|
+
Adds new export for Pressable as `Pressable` in preparation for open beta. The previous
|
|
38
|
+
`UNSAFE_PRESSABLE` export remains available while existing usages are migrated, and will be
|
|
39
|
+
removed in an upcoming major release.
|
|
15
40
|
|
|
16
41
|
### Patch Changes
|
|
17
42
|
|
|
18
|
-
-
|
|
43
|
+
- [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
|
|
44
|
+
[`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
|
|
45
|
+
Migrated to the new button component
|
|
19
46
|
|
|
20
47
|
## 5.5.3
|
|
21
48
|
|
|
22
49
|
### Patch Changes
|
|
23
50
|
|
|
24
|
-
-
|
|
51
|
+
- Updated dependencies
|
|
25
52
|
|
|
26
53
|
## 5.5.2
|
|
27
54
|
|
|
28
55
|
### Patch Changes
|
|
29
56
|
|
|
30
|
-
-
|
|
57
|
+
- Updated dependencies
|
|
31
58
|
|
|
32
59
|
## 5.5.1
|
|
33
60
|
|
|
34
61
|
### Patch Changes
|
|
35
62
|
|
|
36
|
-
-
|
|
63
|
+
- [#88354](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88354)
|
|
64
|
+
[`4c87d9b4f0c2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c87d9b4f0c2) -
|
|
65
|
+
The internal composition of this component has changed. There is no expected change in behavior.
|
|
37
66
|
|
|
38
67
|
## 5.5.0
|
|
39
68
|
|
|
40
69
|
### Minor Changes
|
|
41
70
|
|
|
42
|
-
-
|
|
71
|
+
- [#86439](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86439)
|
|
72
|
+
[`43cd9551f332`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43cd9551f332) -
|
|
73
|
+
Removed deprecated `textAlign` prop from Text primitive component
|
|
43
74
|
|
|
44
75
|
## 5.4.0
|
|
45
76
|
|
|
46
77
|
### Minor Changes
|
|
47
78
|
|
|
48
|
-
-
|
|
79
|
+
- [#85745](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85745)
|
|
80
|
+
[`0e9c8c15ef86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0e9c8c15ef86) -
|
|
81
|
+
Extends XCSS selector types to allow up to two CSS psuedos to be used in combination. For
|
|
82
|
+
example: `:visited:hover {}`.
|
|
49
83
|
|
|
50
84
|
### Patch Changes
|
|
51
85
|
|
|
52
|
-
-
|
|
86
|
+
- Updated dependencies
|
|
53
87
|
|
|
54
88
|
## 5.3.0
|
|
55
89
|
|
|
56
90
|
### Minor Changes
|
|
57
91
|
|
|
58
|
-
-
|
|
59
|
-
|
|
92
|
+
- [#86400](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86400)
|
|
93
|
+
[`92f574fd392d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/92f574fd392d) -
|
|
94
|
+
Anchor now suffixes the accessible label with visually hidden text "(opens new window)" when
|
|
95
|
+
`target` is set to `_blank`. This improves accessibility for screen readers.
|
|
96
|
+
- Anchor no longer automatically opens external links in new windows, which is a poor usability
|
|
97
|
+
and accessibility practice. Previously this involved applying default attributes
|
|
98
|
+
`rel="noopener noreferrer"` and `target="_blank"` when the link was detected to link externally.
|
|
60
99
|
|
|
61
100
|
## 5.2.0
|
|
62
101
|
|
|
63
102
|
### Minor Changes
|
|
64
103
|
|
|
65
|
-
-
|
|
104
|
+
- [#86279](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86279)
|
|
105
|
+
[`0988fda99a0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0988fda99a0d) -
|
|
106
|
+
Renaming text alignment prop for Text component from `textAlign` to `align`
|
|
66
107
|
|
|
67
108
|
## 5.1.2
|
|
68
109
|
|
|
69
110
|
### Patch Changes
|
|
70
111
|
|
|
71
|
-
-
|
|
112
|
+
- [#80174](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80174)
|
|
113
|
+
[`2a4fd6ccba31`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2a4fd6ccba31) -
|
|
114
|
+
Add forwardRef to text component
|
|
72
115
|
|
|
73
116
|
## 5.1.1
|
|
74
117
|
|
|
75
118
|
### Patch Changes
|
|
76
119
|
|
|
77
|
-
-
|
|
78
|
-
-
|
|
120
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
121
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
122
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
123
|
+
- Updated dependencies
|
|
79
124
|
|
|
80
125
|
## 5.1.0
|
|
81
126
|
|
|
82
127
|
### Minor Changes
|
|
83
128
|
|
|
84
|
-
-
|
|
129
|
+
- [#78900](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78900)
|
|
130
|
+
[`6ea786dd8082`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ea786dd8082) -
|
|
131
|
+
Add UNSAFE_small fontsize token.
|
|
85
132
|
|
|
86
133
|
### Patch Changes
|
|
87
134
|
|
|
88
|
-
-
|
|
135
|
+
- Updated dependencies
|
|
89
136
|
|
|
90
137
|
## 5.0.1
|
|
91
138
|
|
|
92
139
|
### Patch Changes
|
|
93
140
|
|
|
94
|
-
-
|
|
141
|
+
- Updated dependencies
|
|
95
142
|
|
|
96
143
|
## 5.0.0
|
|
97
144
|
|
|
98
145
|
### Major Changes
|
|
99
146
|
|
|
100
|
-
-
|
|
147
|
+
- [#81744](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81744)
|
|
148
|
+
[`30e3d8c81030`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30e3d8c81030) -
|
|
149
|
+
Replaced `Text`'s `variant` prop with a `size` prop. The `size` prop takes three values:
|
|
150
|
+
`"small"`, `"medium"` (default), and `"large"`.
|
|
101
151
|
|
|
102
|
-
|
|
152
|
+
Migration guide:
|
|
103
153
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
154
|
+
- `variant="body.small"` -> `size="small"`
|
|
155
|
+
- `variant="body"` -> `size="medium"` (Note: Since medium is the default, the size prop can be
|
|
156
|
+
omitted here)
|
|
157
|
+
- `variant="body.large"` -> `size="large"`
|
|
107
158
|
|
|
108
159
|
## 4.1.1
|
|
109
160
|
|
|
110
161
|
### Patch Changes
|
|
111
162
|
|
|
112
|
-
-
|
|
163
|
+
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644)
|
|
164
|
+
[`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) -
|
|
165
|
+
Revert input border change from the previous version
|
|
113
166
|
|
|
114
167
|
## 4.1.0
|
|
115
168
|
|
|
116
169
|
### Minor Changes
|
|
117
170
|
|
|
118
|
-
-
|
|
171
|
+
- [#80528](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80528)
|
|
172
|
+
[`8877e9b57d55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8877e9b57d55) -
|
|
173
|
+
Added `size` prop which will replace `variant` prop in the next major version.
|
|
119
174
|
|
|
120
175
|
## 4.0.2
|
|
121
176
|
|
|
122
177
|
### Patch Changes
|
|
123
178
|
|
|
124
|
-
-
|
|
125
|
-
-
|
|
179
|
+
- [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805)
|
|
180
|
+
[`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) -
|
|
181
|
+
Update input border color token and width to meet 3:1 color contrast
|
|
182
|
+
- Updated dependencies
|
|
126
183
|
|
|
127
184
|
## 4.0.1
|
|
128
185
|
|
|
129
186
|
### Patch Changes
|
|
130
187
|
|
|
131
|
-
-
|
|
132
|
-
-
|
|
188
|
+
- [#79770](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79770)
|
|
189
|
+
[`542e29efe0ad`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/542e29efe0ad) -
|
|
190
|
+
Update imports from @atlaskit/tokens
|
|
191
|
+
- Updated dependencies
|
|
133
192
|
|
|
134
193
|
## 4.0.0
|
|
135
194
|
|
|
136
195
|
### Major Changes
|
|
137
196
|
|
|
138
|
-
-
|
|
197
|
+
- [#77148](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77148)
|
|
198
|
+
[`473df43e816b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/473df43e816b) -
|
|
199
|
+
Removed `ui` variant from Text component. The `body` variant should be used for all non-heading
|
|
200
|
+
typography.
|
|
139
201
|
|
|
140
202
|
### Patch Changes
|
|
141
203
|
|
|
142
|
-
-
|
|
204
|
+
- Updated dependencies
|
|
143
205
|
|
|
144
206
|
## 3.2.0
|
|
145
207
|
|
|
146
208
|
### Minor Changes
|
|
147
209
|
|
|
148
|
-
-
|
|
210
|
+
- [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
|
|
211
|
+
[`9e119dcbfd60`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9e119dcbfd60) -
|
|
212
|
+
The `xcss` prop on select components have had its type expanded to support styles being passed
|
|
213
|
+
from Compiled CSS-in-JS. This is still experimental and something we'll be iterating on.
|
|
149
214
|
|
|
150
215
|
## 3.1.0
|
|
151
216
|
|
|
152
217
|
### Minor Changes
|
|
153
218
|
|
|
154
|
-
-
|
|
219
|
+
- [#76431](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76431)
|
|
220
|
+
[`c6819de73d02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6819de73d02) -
|
|
221
|
+
Default text color + allow color inheritance if explicitly defined
|
|
155
222
|
|
|
156
223
|
## 3.0.0
|
|
157
224
|
|
|
158
225
|
### Major Changes
|
|
159
226
|
|
|
160
|
-
-
|
|
227
|
+
- [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
|
|
228
|
+
[`a45d2049a22c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a45d2049a22c) -
|
|
229
|
+
The "Link" primitive has been renamed to "Anchor" to avoid confusion with the upcoming "Link"
|
|
230
|
+
component. Since Link is still in Alpha this should not cause any upgrade friction.
|
|
161
231
|
|
|
162
232
|
### Minor Changes
|
|
163
233
|
|
|
164
|
-
-
|
|
165
|
-
|
|
234
|
+
- [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
|
|
235
|
+
[`75b2ade8b254`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/75b2ade8b254) -
|
|
236
|
+
Both the Pressable and Anchor primitives now support analytics tracking by default.
|
|
237
|
+
- [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
|
|
238
|
+
[`39f3c929f0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/39f3c929f0c4) -
|
|
239
|
+
Add Pressable and Anchor primitives (in Alpha) to root export as `UNSAFE_PRESSABLE` and
|
|
240
|
+
`UNSAFE_LINK`.
|
|
166
241
|
|
|
167
242
|
### Patch Changes
|
|
168
243
|
|
|
169
|
-
-
|
|
244
|
+
- [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
|
|
245
|
+
[`4951390bc0ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4951390bc0ae) -
|
|
246
|
+
[ux] Adds a default underline style to the Anchor primitive (Alpha)
|
|
170
247
|
|
|
171
248
|
## 2.1.0
|
|
172
249
|
|
|
173
250
|
### Minor Changes
|
|
174
251
|
|
|
175
|
-
-
|
|
176
|
-
|
|
177
|
-
|
|
252
|
+
- [#74930](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74930)
|
|
253
|
+
[`707a8fee2aee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/707a8fee2aee) -
|
|
254
|
+
Both the Pressable and Anchor primitives (in Alpha) now support analytics tracking in the same
|
|
255
|
+
fashion as `@atlaskit/button`. An additional prop `componentName` allows analytics to be
|
|
256
|
+
configured if a parent component name is desired to be tracked rather than the primitive names.
|
|
257
|
+
For the time being this tracking is opt-in via use of the `componentName` prop. This will be
|
|
258
|
+
made default behavior in an upcoming release once tracking is removed in the new Buttons, and
|
|
259
|
+
`@atlaskit/button` is bumped to use the latest version of `@atlaskit/primitives`
|
|
260
|
+
- [#75221](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75221)
|
|
261
|
+
[`c15d58bff276`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c15d58bff276) -
|
|
262
|
+
`Text` inherits color by default if `color` prop is not provided. Removed auto-collapsing
|
|
263
|
+
behaviour of `Text`
|
|
178
264
|
|
|
179
265
|
## 2.0.3
|
|
180
266
|
|
|
181
267
|
### Patch Changes
|
|
182
268
|
|
|
183
|
-
-
|
|
184
|
-
-
|
|
269
|
+
- [#74836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74836)
|
|
270
|
+
[`3963062ac997`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3963062ac997) -
|
|
271
|
+
Codegen to add in new font family tokens. Not exposed in any components.
|
|
272
|
+
- Updated dependencies
|
|
185
273
|
|
|
186
274
|
## 2.0.2
|
|
187
275
|
|
|
188
276
|
### Patch Changes
|
|
189
277
|
|
|
190
|
-
-
|
|
278
|
+
- [#72557](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72557)
|
|
279
|
+
[`0c78c9c18cb7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c78c9c18cb7) -
|
|
280
|
+
Fix font family not preferencing apple system fonts on macOS
|
|
191
281
|
|
|
192
282
|
## 2.0.1
|
|
193
283
|
|
|
194
284
|
### Patch Changes
|
|
195
285
|
|
|
196
|
-
-
|
|
286
|
+
- Updated dependencies
|
|
197
287
|
|
|
198
288
|
## 2.0.0
|
|
199
289
|
|
|
200
290
|
### Major Changes
|
|
201
291
|
|
|
202
|
-
-
|
|
292
|
+
- [#68009](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68009)
|
|
293
|
+
[`1168354ed6ef`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1168354ed6ef) -
|
|
294
|
+
We now ensure the specificity of our `xcss`-based overrides are consistent across all primitives
|
|
295
|
+
so `xcss` will always override props.
|
|
203
296
|
|
|
204
|
-
|
|
297
|
+
This resulted in a breaking change wtih Grid. For example,
|
|
298
|
+
`<Grid templateAreas="…" xcss({ gridTemplateAreas: "…" })>` will result in different styles
|
|
299
|
+
resolution before and after this version. This applies to `templateAreas`, `templateColumns`,
|
|
300
|
+
and `templateRows`). From static analysis, we found only one known usage of this and it has been
|
|
301
|
+
resolved.
|
|
205
302
|
|
|
206
303
|
## 1.20.0
|
|
207
304
|
|
|
208
305
|
### Minor Changes
|
|
209
306
|
|
|
210
|
-
-
|
|
211
|
-
|
|
307
|
+
- [#68163](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68163)
|
|
308
|
+
[`67d09e3f972d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/67d09e3f972d) -
|
|
309
|
+
`weight` property added to `Text` to allow overriding text variant default font weight.
|
|
310
|
+
- [#69343](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69343)
|
|
311
|
+
[`77249f536425`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77249f536425) -
|
|
312
|
+
`Text` color prop defaults to `color.text` if not provided.
|
|
212
313
|
|
|
213
314
|
### Patch Changes
|
|
214
315
|
|
|
215
|
-
-
|
|
316
|
+
- Updated dependencies
|
|
216
317
|
|
|
217
318
|
## 1.19.0
|
|
218
319
|
|
|
219
320
|
### Minor Changes
|
|
220
321
|
|
|
221
|
-
-
|
|
322
|
+
- [#66702](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66702)
|
|
323
|
+
[`5b6bbaf2d5fc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5b6bbaf2d5fc) -
|
|
324
|
+
Added `maxLines` prop to `Text` component, allowing truncation at a certain number of lines.
|
|
325
|
+
This prop replaces `shouldTruncate` prop.
|
|
222
326
|
|
|
223
327
|
### Patch Changes
|
|
224
328
|
|
|
225
|
-
-
|
|
329
|
+
- [#67698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67698)
|
|
330
|
+
[`175c07b58c52`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/175c07b58c52) -
|
|
331
|
+
Export tokensMap object
|
|
226
332
|
|
|
227
333
|
## 1.18.0
|
|
228
334
|
|
|
229
335
|
### Minor Changes
|
|
230
336
|
|
|
231
|
-
-
|
|
337
|
+
- [#67463](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67463)
|
|
338
|
+
[`adf1c3ebf0fd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/adf1c3ebf0fd) -
|
|
339
|
+
Fixed an issue with `Text` where text could render incorrectly if a typography token theme was
|
|
340
|
+
not present on a page.
|
|
232
341
|
|
|
233
342
|
### Patch Changes
|
|
234
343
|
|
|
235
|
-
-
|
|
344
|
+
- Updated dependencies
|
|
236
345
|
|
|
237
346
|
## 1.17.0
|
|
238
347
|
|
|
239
348
|
### Minor Changes
|
|
240
349
|
|
|
241
|
-
-
|
|
350
|
+
- [#65770](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65770)
|
|
351
|
+
[`1e2db2714522`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1e2db2714522) -
|
|
352
|
+
The `shouldTruncate` prop on `Text` is now only available for `body` variants and cannot be used
|
|
353
|
+
with `ui` variants.
|
|
242
354
|
|
|
243
355
|
## 1.16.0
|
|
244
356
|
|
|
245
357
|
### Minor Changes
|
|
246
358
|
|
|
247
|
-
-
|
|
359
|
+
- [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526)
|
|
360
|
+
[`e8835feffae9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e8835feffae9) -
|
|
361
|
+
Internal change to improve token sorting logic for typography tokens. Typography tokens are now
|
|
362
|
+
marked as active though they are still in development and not recommend for use without prior
|
|
363
|
+
approval from ADS.
|
|
248
364
|
|
|
249
365
|
### Patch Changes
|
|
250
366
|
|
|
251
|
-
-
|
|
367
|
+
- Updated dependencies
|
|
252
368
|
|
|
253
369
|
## 1.15.2
|
|
254
370
|
|
|
255
371
|
### Patch Changes
|
|
256
372
|
|
|
257
|
-
-
|
|
258
|
-
|
|
373
|
+
- [#61090](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61090)
|
|
374
|
+
[`2e34d3535125`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2e34d3535125) - -
|
|
375
|
+
Fixed issue where using negative space tokens in `xcss` wouldn't apply.
|
|
376
|
+
- Allow negative space tokens for position properties in `xcss` (i.e. top, bottom, left,
|
|
377
|
+
right, and inset-\*).
|
|
259
378
|
|
|
260
379
|
## 1.15.1
|
|
261
380
|
|
|
262
381
|
### Patch Changes
|
|
263
382
|
|
|
264
|
-
-
|
|
383
|
+
- [#57241](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57241)
|
|
384
|
+
[`cae2e80ae968`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae2e80ae968) -
|
|
385
|
+
Migrate webdriver tests for @atlassian/product-search-dialog
|
|
265
386
|
|
|
266
387
|
## 1.15.0
|
|
267
388
|
|
|
268
389
|
### Minor Changes
|
|
269
390
|
|
|
270
|
-
-
|
|
391
|
+
- [#60570](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60570)
|
|
392
|
+
[`d74bd13bec9c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d74bd13bec9c) -
|
|
393
|
+
Restrict usage of data-testid to primitives (`testId` should be used instead). This prop is
|
|
394
|
+
currently silently ignored so this is just to follow the principle of least surprise when using
|
|
395
|
+
primitives.
|
|
271
396
|
|
|
272
397
|
### Patch Changes
|
|
273
398
|
|
|
274
|
-
-
|
|
399
|
+
- Updated dependencies
|
|
275
400
|
|
|
276
401
|
## 1.14.0
|
|
277
402
|
|
|
278
403
|
### Minor Changes
|
|
279
404
|
|
|
280
|
-
-
|
|
405
|
+
- [#58048](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58048)
|
|
406
|
+
[`cc9e9495e995`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cc9e9495e995) -
|
|
407
|
+
Export `media.only` and `media.below` for Compiled CSS-in-JS support.
|
|
281
408
|
|
|
282
409
|
## 1.13.1
|
|
283
410
|
|
|
284
411
|
### Patch Changes
|
|
285
412
|
|
|
286
|
-
-
|
|
413
|
+
- [#58444](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58444)
|
|
414
|
+
[`c0499565188d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c0499565188d) -
|
|
415
|
+
Update package.json documentation metadata.
|
|
287
416
|
|
|
288
417
|
## 1.13.0
|
|
289
418
|
|
|
290
419
|
### Minor Changes
|
|
291
420
|
|
|
292
|
-
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
421
|
+
- [#57795](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57795)
|
|
422
|
+
[`d2c06815d043`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2c06815d043) - -
|
|
423
|
+
Inline: Allow `role` prop to be passed through. `role` already existed in the type, but was not
|
|
424
|
+
actually applied to the component.
|
|
425
|
+
- Stack: Allow `role` prop to be passed through. `role` already existed in the type, but was
|
|
426
|
+
not actually applied to the component.
|
|
427
|
+
- Flex: Allow `role` prop to be passed through. `role` already existed in the type, but was
|
|
428
|
+
not actually applied to the component.
|
|
429
|
+
- Text: Omit `xcss` from prop types. `<Text xcss={yourStyles}></Text>` will now throw a type
|
|
430
|
+
error. `xcss` was previously non-functional in `Text`. So, this should not cause any
|
|
431
|
+
behavior change.
|
|
432
|
+
- xcss: Export XCSS type from main entry point. It is now possible to
|
|
433
|
+
`import { xcss, type XCSS } from '@atlaskit/primitives'`.
|
|
297
434
|
|
|
298
435
|
## 1.12.0
|
|
299
436
|
|
|
300
437
|
### Minor Changes
|
|
301
438
|
|
|
302
|
-
-
|
|
439
|
+
- [#43616](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43616)
|
|
440
|
+
[`6a89d1fcf6b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a89d1fcf6b) - Add
|
|
441
|
+
missing tokenised XCSS properties for borderBlockColor, borderBlockWidth, borderInlineColor,
|
|
442
|
+
borderInlineWidth
|
|
303
443
|
|
|
304
444
|
## 1.11.1
|
|
305
445
|
|
|
306
446
|
### Patch Changes
|
|
307
447
|
|
|
308
|
-
-
|
|
448
|
+
- [#43455](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43455)
|
|
449
|
+
[`16586bd07a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/16586bd07a0) -
|
|
450
|
+
Updated `font.body.small` line height to 16px (1rem).
|
|
309
451
|
|
|
310
452
|
## 1.11.0
|
|
311
453
|
|
|
312
454
|
### Minor Changes
|
|
313
455
|
|
|
314
|
-
-
|
|
456
|
+
- [#43366](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43366)
|
|
457
|
+
[`f1d3719ea48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f1d3719ea48) -
|
|
458
|
+
Tokenised values are now accepted in all border-radius, border-width, border-color, and opacity
|
|
459
|
+
CSS properties in XCSS.
|
|
315
460
|
|
|
316
461
|
## 1.10.1
|
|
317
462
|
|
|
318
463
|
### Patch Changes
|
|
319
464
|
|
|
320
|
-
-
|
|
465
|
+
- [#43018](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43018)
|
|
466
|
+
[`3cb6a290654`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cb6a290654) - Text
|
|
467
|
+
component now has `margin: 0` to ensure no margins are inherited (for example from the CSS
|
|
468
|
+
reset).
|
|
321
469
|
|
|
322
470
|
## 1.10.0
|
|
323
471
|
|
|
324
472
|
### Minor Changes
|
|
325
473
|
|
|
326
|
-
-
|
|
474
|
+
- [#42931](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42931)
|
|
475
|
+
[`5778f757885`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5778f757885) - Added
|
|
476
|
+
export for Text component. This component is currently in closed beta and is not intended for
|
|
477
|
+
general use at this stage.
|
|
327
478
|
|
|
328
479
|
## 1.9.0
|
|
329
480
|
|
|
330
481
|
### Minor Changes
|
|
331
482
|
|
|
332
|
-
-
|
|
483
|
+
- [#42494](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42494)
|
|
484
|
+
[`8cc2926465e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2926465e) -
|
|
485
|
+
Removed the ability to use the `style` prop on primitives such as Inline, Stack, and Flex. This
|
|
486
|
+
prop previously had no effect on these components and is now only allowed on Box.
|
|
333
487
|
|
|
334
488
|
## 1.8.0
|
|
335
489
|
|
|
336
490
|
### Minor Changes
|
|
337
491
|
|
|
338
|
-
-
|
|
492
|
+
- [#42305](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42305)
|
|
493
|
+
[`4c9d4a7be34`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c9d4a7be34) - - Link
|
|
494
|
+
primitive will now throw an error if a router link configuration object is passed to the `href`
|
|
495
|
+
prop when there is not a router link component set in the AppProvider
|
|
339
496
|
|
|
340
497
|
### Patch Changes
|
|
341
498
|
|
|
342
|
-
-
|
|
343
|
-
-
|
|
499
|
+
- [#42305](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42305)
|
|
500
|
+
[`4c9d4a7be34`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c9d4a7be34) - -
|
|
501
|
+
Fixes a bug where Link primitive was not passing through router link configuration objects
|
|
502
|
+
- Updated dependencies
|
|
344
503
|
|
|
345
504
|
## 1.7.0
|
|
346
505
|
|
|
347
506
|
### Minor Changes
|
|
348
507
|
|
|
349
|
-
-
|
|
508
|
+
- [#42130](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42130)
|
|
509
|
+
[`a64dc3026de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a64dc3026de) - Create
|
|
510
|
+
the new Link primitive (Unsafe to use, still in Alpha)
|
|
350
511
|
|
|
351
512
|
## 1.6.8
|
|
352
513
|
|
|
353
514
|
### Patch Changes
|
|
354
515
|
|
|
355
|
-
-
|
|
516
|
+
- [#42012](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42012)
|
|
517
|
+
[`0a52fc9129e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0a52fc9129e) -
|
|
518
|
+
Internal change to the `media` export to ensure compatibility with
|
|
519
|
+
[Compiled](https://github.com/atlassian-labs/compiled). No change to public API.
|
|
356
520
|
|
|
357
521
|
## 1.6.7
|
|
358
522
|
|
|
359
523
|
### Patch Changes
|
|
360
524
|
|
|
361
|
-
-
|
|
362
|
-
-
|
|
525
|
+
- [#41516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41516)
|
|
526
|
+
[`350e4081d89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/350e4081d89) - [ux]
|
|
527
|
+
Regenerates codegen artifacts as a result of changes to color palettes and token values
|
|
528
|
+
- Updated dependencies
|
|
363
529
|
|
|
364
530
|
## 1.6.6
|
|
365
531
|
|
|
366
532
|
### Patch Changes
|
|
367
533
|
|
|
368
|
-
-
|
|
534
|
+
- [#41440](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41440)
|
|
535
|
+
[`5c01cb4e16d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c01cb4e16d) - Add
|
|
536
|
+
surface color context to Box. Refine Text API.
|
|
369
537
|
|
|
370
538
|
## 1.6.5
|
|
371
539
|
|
|
372
540
|
### Patch Changes
|
|
373
541
|
|
|
374
|
-
-
|
|
542
|
+
- [#41563](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41563)
|
|
543
|
+
[`50de1ccacd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50de1ccacd7) -
|
|
544
|
+
Additional documentation details for alignment props on Inline and Stack.
|
|
375
545
|
|
|
376
546
|
## 1.6.4
|
|
377
547
|
|
|
378
548
|
### Patch Changes
|
|
379
549
|
|
|
380
|
-
-
|
|
550
|
+
- [#40324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40324)
|
|
551
|
+
[`8d123310957`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d123310957) - Minor
|
|
552
|
+
internal changes. There is no expected behaviour change
|
|
381
553
|
|
|
382
554
|
## 1.6.3
|
|
383
555
|
|
|
384
556
|
### Patch Changes
|
|
385
557
|
|
|
386
|
-
-
|
|
558
|
+
- [#40299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40299)
|
|
559
|
+
[`b1882fdd842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1882fdd842) - Change
|
|
560
|
+
typography token naming to be more verbose.
|
|
387
561
|
|
|
388
562
|
## 1.6.2
|
|
389
563
|
|
|
390
564
|
### Patch Changes
|
|
391
565
|
|
|
392
|
-
-
|
|
566
|
+
- [#40254](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40254)
|
|
567
|
+
[`c296560ae7e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c296560ae7e) -
|
|
568
|
+
Removes unused experimental component.
|
|
393
569
|
|
|
394
570
|
## 1.6.1
|
|
395
571
|
|
|
396
572
|
### Patch Changes
|
|
397
573
|
|
|
398
|
-
-
|
|
399
|
-
-
|
|
574
|
+
- [#40041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40041)
|
|
575
|
+
[`83cd2ae7c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83cd2ae7c5a) -
|
|
576
|
+
Regenerates codegen artifacts as a result of introducting new visited link token.
|
|
577
|
+
- Updated dependencies
|
|
400
578
|
|
|
401
579
|
## 1.6.0
|
|
402
580
|
|
|
403
581
|
### Minor Changes
|
|
404
582
|
|
|
405
|
-
-
|
|
583
|
+
- [#40104](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40104)
|
|
584
|
+
[`9cd356f858a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9cd356f858a) -
|
|
585
|
+
Negative space tokens can now be applied to margin properties via `xcss`.
|
|
406
586
|
|
|
407
587
|
## 1.5.0
|
|
408
588
|
|
|
409
589
|
### Minor Changes
|
|
410
590
|
|
|
411
|
-
-
|
|
412
|
-
|
|
591
|
+
- [#39556](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39556)
|
|
592
|
+
[`fa6c592fdb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa6c592fdb2) -
|
|
593
|
+
Introduce `Heading` into package in immediate alpha state. This is more or less a port of
|
|
594
|
+
`@atlaskit/heading`. Component is not yet stable and implementation is likely to change.
|
|
595
|
+
- [#39412](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39412)
|
|
596
|
+
[`c2e55a9b782`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2e55a9b782) - Adds
|
|
597
|
+
surface detection support to the Box primitive:
|
|
413
598
|
|
|
414
|
-
|
|
415
|
-
|
|
599
|
+
- Enable a `Box` background colour to be set to the `utility.elevation.surface.current` token.
|
|
600
|
+
- Internally set the current surface CSS variable value when the background color of a Box is
|
|
601
|
+
set to a surface token (e.g. `elevation.surface.raised`).
|
|
416
602
|
|
|
417
603
|
## 1.4.4
|
|
418
604
|
|
|
419
605
|
### Patch Changes
|
|
420
606
|
|
|
421
|
-
-
|
|
607
|
+
- [#39431](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39431)
|
|
608
|
+
[`4e58672502e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e58672502e) - Create
|
|
609
|
+
text component.
|
|
422
610
|
|
|
423
611
|
## 1.4.3
|
|
424
612
|
|
|
425
613
|
### Patch Changes
|
|
426
614
|
|
|
427
|
-
-
|
|
615
|
+
- [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787)
|
|
616
|
+
[`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) -
|
|
617
|
+
Internal changes to use space tokens. There is no expected visual or behaviour change.
|
|
428
618
|
|
|
429
619
|
## 1.4.2
|
|
430
620
|
|
|
431
621
|
### Patch Changes
|
|
432
622
|
|
|
433
|
-
-
|
|
623
|
+
- [#39808](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39808)
|
|
624
|
+
[`89ce462b216`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89ce462b216) - Fix
|
|
625
|
+
for margin properties not being mapped to values correctly.
|
|
434
626
|
|
|
435
627
|
## 1.4.1
|
|
436
628
|
|
|
437
629
|
### Patch Changes
|
|
438
630
|
|
|
439
|
-
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
-
|
|
631
|
+
- [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578)
|
|
632
|
+
[`da792e55f6f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da792e55f6f) - -
|
|
633
|
+
Bleed now uses negative space tokens under the hood.
|
|
634
|
+
- Fixed an issue where the wrong token would apply for space.025 in Bleed's `block` prop.
|
|
635
|
+
- Fallback values for Bleed `block` and `inline` props now use rem instead of px - this is
|
|
636
|
+
only applied if space tokens are not available on the page. Space tokens already use rem
|
|
637
|
+
under the hood.
|
|
638
|
+
- Updated dependencies
|
|
443
639
|
|
|
444
640
|
## 1.4.0
|
|
445
641
|
|
|
446
642
|
### Minor Changes
|
|
447
643
|
|
|
448
|
-
-
|
|
644
|
+
- [#39471](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39471)
|
|
645
|
+
[`9ac38d5c3e9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ac38d5c3e9) - All
|
|
646
|
+
margin and padding properties now support autocomplete and token values in xcss.
|
|
449
647
|
|
|
450
648
|
## 1.3.1
|
|
451
649
|
|
|
452
650
|
### Patch Changes
|
|
453
651
|
|
|
454
|
-
-
|
|
455
|
-
-
|
|
652
|
+
- [#39430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39430)
|
|
653
|
+
[`88e4ac397ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88e4ac397ea) -
|
|
654
|
+
Regenerates codegen artifacts as a result of introducting new accent interaction tokens.
|
|
655
|
+
- Updated dependencies
|
|
456
656
|
|
|
457
657
|
## 1.3.0
|
|
458
658
|
|
|
459
659
|
### Minor Changes
|
|
460
660
|
|
|
461
|
-
-
|
|
661
|
+
- [#39264](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39264)
|
|
662
|
+
[`abfe7585461`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abfe7585461) -
|
|
663
|
+
Improved type safety for Box.
|
|
462
664
|
|
|
463
665
|
## 1.2.3
|
|
464
666
|
|
|
465
667
|
### Patch Changes
|
|
466
668
|
|
|
467
|
-
-
|
|
669
|
+
- [#38772](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38772)
|
|
670
|
+
[`dfd014c15b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfd014c15b3) - [ux]
|
|
671
|
+
Pressable primitive: Adds missing cursor style `not-allowed` for disabled buttons
|
|
468
672
|
|
|
469
673
|
## 1.2.2
|
|
470
674
|
|
|
471
675
|
### Patch Changes
|
|
472
676
|
|
|
473
|
-
-
|
|
677
|
+
- [#39350](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39350)
|
|
678
|
+
[`9a3fd8455fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a3fd8455fb) - Stack
|
|
679
|
+
`alignBlock` prop now accepts `'stretch'` which is also the default value for the `alignBlock`
|
|
680
|
+
prop.
|
|
474
681
|
|
|
475
682
|
## 1.2.1
|
|
476
683
|
|
|
477
684
|
### Patch Changes
|
|
478
685
|
|
|
479
|
-
-
|
|
686
|
+
- [#38530](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38530)
|
|
687
|
+
[`9a88d718e48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a88d718e48) - This
|
|
688
|
+
package is now onboarded onto the product push model.
|
|
480
689
|
|
|
481
690
|
## 1.2.0
|
|
482
691
|
|
|
483
692
|
### Minor Changes
|
|
484
693
|
|
|
485
|
-
-
|
|
486
|
-
|
|
694
|
+
- [#38293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38293)
|
|
695
|
+
[`37e0d67942b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37e0d67942b) - - Add
|
|
696
|
+
missing `xcss` type export for `TextColor`
|
|
697
|
+
- Fixes a bug where the `xcss` function did not accept `color.link` or `color.link.pressed`
|
|
698
|
+
token values for text color
|
|
487
699
|
|
|
488
700
|
## 1.1.0
|
|
489
701
|
|
|
490
702
|
### Minor Changes
|
|
491
703
|
|
|
492
|
-
-
|
|
493
|
-
|
|
704
|
+
- [#37917](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37917)
|
|
705
|
+
[`0116391a81e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0116391a81e) - -
|
|
706
|
+
Support `xcss` in `Pressable`
|
|
707
|
+
- Remove dependency on `@atlaskit/focus-ring`
|
|
494
708
|
|
|
495
709
|
## 1.0.11
|
|
496
710
|
|
|
497
711
|
### Patch Changes
|
|
498
712
|
|
|
499
|
-
-
|
|
713
|
+
- [#38239](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38239)
|
|
714
|
+
[`30fb9fe0ff4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30fb9fe0ff4) - Mark
|
|
715
|
+
Pressable exports as unsafe (for internal use only)
|
|
500
716
|
|
|
501
717
|
## 1.0.10
|
|
502
718
|
|
|
503
719
|
### Patch Changes
|
|
504
720
|
|
|
505
|
-
-
|
|
721
|
+
- [#38000](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38000)
|
|
722
|
+
[`ac645224013`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac645224013) -
|
|
723
|
+
Removes generic for `xcss` fn. Adds support for other `AtTypes`.
|
|
506
724
|
|
|
507
725
|
## 1.0.9
|
|
508
726
|
|
|
509
727
|
### Patch Changes
|
|
510
728
|
|
|
511
|
-
-
|
|
729
|
+
- [#37947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37947)
|
|
730
|
+
[`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update
|
|
731
|
+
the casing on `xcss` to ensure consistency with the API and package consumption.
|
|
512
732
|
|
|
513
733
|
## 1.0.8
|
|
514
734
|
|
|
515
735
|
### Patch Changes
|
|
516
736
|
|
|
517
|
-
-
|
|
737
|
+
- [#37805](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37805)
|
|
738
|
+
[`8986cf1ed16`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8986cf1ed16) -
|
|
739
|
+
Reverts a change that allowed className to be applied to Box.
|
|
518
740
|
|
|
519
741
|
## 1.0.7
|
|
520
742
|
|
|
521
743
|
### Patch Changes
|
|
522
744
|
|
|
523
|
-
-
|
|
745
|
+
- [#37419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37419)
|
|
746
|
+
[`6070ef412be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6070ef412be) - Box
|
|
747
|
+
now accepts any HTML element for its `as` prop. Fixed issue where types may be incorrect
|
|
748
|
+
depending on element used for the `as` prop.
|
|
524
749
|
|
|
525
750
|
## 1.0.6
|
|
526
751
|
|
|
527
752
|
### Patch Changes
|
|
528
753
|
|
|
529
|
-
-
|
|
754
|
+
- [#37400](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37400)
|
|
755
|
+
[`aa8ec75ace3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aa8ec75ace3) -
|
|
756
|
+
Simplify types for `Show` and `Hide` components. There should be no difference in behavior.
|
|
530
757
|
|
|
531
758
|
## 1.0.5
|
|
532
759
|
|
|
533
760
|
### Patch Changes
|
|
534
761
|
|
|
535
|
-
-
|
|
762
|
+
- [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278)
|
|
763
|
+
[`3fadbb8bf73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fadbb8bf73) -
|
|
764
|
+
Internal changes.
|
|
536
765
|
|
|
537
766
|
## 1.0.4
|
|
538
767
|
|
|
539
768
|
### Patch Changes
|
|
540
769
|
|
|
541
|
-
-
|
|
770
|
+
- [#37182](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37182)
|
|
771
|
+
[`74f7af9882b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74f7af9882b) - [ux]
|
|
772
|
+
correct fallback color of token color.border.focused to meet contrast requirement
|
|
542
773
|
|
|
543
774
|
## 1.0.3
|
|
544
775
|
|
|
545
776
|
### Patch Changes
|
|
546
777
|
|
|
547
|
-
-
|
|
548
|
-
-
|
|
778
|
+
- [#36967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36967)
|
|
779
|
+
[`298df94426c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/298df94426c) -
|
|
780
|
+
Regenerates codegen'd artifacts as a result of introducting new brand background design tokens.
|
|
781
|
+
- Updated dependencies
|
|
549
782
|
|
|
550
783
|
## 1.0.2
|
|
551
784
|
|
|
552
785
|
### Patch Changes
|
|
553
786
|
|
|
554
|
-
-
|
|
787
|
+
- [#36605](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36605)
|
|
788
|
+
[`45ff2cd234f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ff2cd234f) - Fixes
|
|
789
|
+
missing type in `Flex` component, adds `Grid` component.
|
|
555
790
|
|
|
556
791
|
## 1.0.1
|
|
557
792
|
|
|
558
793
|
### Patch Changes
|
|
559
794
|
|
|
560
|
-
-
|
|
795
|
+
- [#36261](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36261)
|
|
796
|
+
[`cac98ccfb7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cac98ccfb7d) -
|
|
797
|
+
Introduces Flex component as common component for Stack, Inline.
|
|
561
798
|
|
|
562
799
|
## 1.0.0
|
|
563
800
|
|
|
564
801
|
### Major Changes
|
|
565
802
|
|
|
566
|
-
-
|
|
803
|
+
- [#36313](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36313)
|
|
804
|
+
[`fec62731e2e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fec62731e2e) - This
|
|
805
|
+
package is now in open beta and is no longer considered experimental. We will be making
|
|
806
|
+
iterative improvements until GA. While the API is likely to be stable, we reserve the right to
|
|
807
|
+
make changes if required. This version contains no changes whatsoever.
|
|
567
808
|
|
|
568
|
-
|
|
809
|
+
P.S. The reason for the change is to aid package deduplication in the product.
|
|
569
810
|
|
|
570
811
|
## 0.16.0
|
|
571
812
|
|
|
572
813
|
### Minor Changes
|
|
573
814
|
|
|
574
|
-
-
|
|
815
|
+
- [#34769](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34769)
|
|
816
|
+
[`fe3ef707163`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe3ef707163) -
|
|
817
|
+
Initial Pressable primitive (not ready for production)
|
|
575
818
|
|
|
576
819
|
## 0.15.3
|
|
577
820
|
|
|
578
821
|
### Patch Changes
|
|
579
822
|
|
|
580
|
-
-
|
|
823
|
+
- [#36279](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36279)
|
|
824
|
+
[`27f6081edf2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27f6081edf2) -
|
|
825
|
+
Regenerates codegen hashes to surface changes to tokens
|
|
581
826
|
|
|
582
827
|
## 0.15.2
|
|
583
828
|
|
|
584
829
|
### Patch Changes
|
|
585
830
|
|
|
586
|
-
-
|
|
831
|
+
- [#36230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36230)
|
|
832
|
+
[`ab4938b0c32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ab4938b0c32) - Remove
|
|
833
|
+
runtime dev warning for invalid token aliases.
|
|
587
834
|
|
|
588
835
|
## 0.15.1
|
|
589
836
|
|
|
590
837
|
### Patch Changes
|
|
591
838
|
|
|
592
|
-
-
|
|
839
|
+
- [#36218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36218)
|
|
840
|
+
[`7c1c449eb96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c1c449eb96) -
|
|
841
|
+
Updated space token descriptions.
|
|
593
842
|
|
|
594
843
|
## 0.15.0
|
|
595
844
|
|
|
596
845
|
### Minor Changes
|
|
597
846
|
|
|
598
|
-
-
|
|
847
|
+
- [#36050](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36050)
|
|
848
|
+
[`8b04f3e78bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b04f3e78bd) - Adds
|
|
849
|
+
basic `<Show>` and `<Hide>` responsive primitive components to make consistent, composable UIs
|
|
850
|
+
without writing a dozen lines for just one `display: none` css rule.
|
|
599
851
|
|
|
600
|
-
|
|
852
|
+
Additionally:
|
|
601
853
|
|
|
602
|
-
|
|
603
|
-
|
|
854
|
+
- Adds some further examples, tests, and VRs.
|
|
855
|
+
- Tweaks some internals around building these reusable media query maps.
|
|
604
856
|
|
|
605
857
|
## 0.14.3
|
|
606
858
|
|
|
607
859
|
### Patch Changes
|
|
608
860
|
|
|
609
|
-
-
|
|
861
|
+
- [#36141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36141)
|
|
862
|
+
[`4c026f170d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c026f170d6) - Remove
|
|
863
|
+
warnings for non-token values passed to xcss in non-development environments.
|
|
610
864
|
|
|
611
865
|
## 0.14.2
|
|
612
866
|
|
|
613
867
|
### Patch Changes
|
|
614
868
|
|
|
615
|
-
-
|
|
869
|
+
- [#36072](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36072)
|
|
870
|
+
[`267a88221e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/267a88221e8) -
|
|
871
|
+
Internal change to update codegen.
|
|
616
872
|
|
|
617
873
|
## 0.14.1
|
|
618
874
|
|
|
619
875
|
### Patch Changes
|
|
620
876
|
|
|
621
|
-
-
|
|
877
|
+
- [#35133](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35133)
|
|
878
|
+
[`d79b6172a93`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d79b6172a93) - Add
|
|
879
|
+
documentation for responsive xcss.
|
|
622
880
|
|
|
623
881
|
## 0.14.0
|
|
624
882
|
|
|
625
883
|
### Minor Changes
|
|
626
884
|
|
|
627
|
-
-
|
|
885
|
+
- [#35712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35712)
|
|
886
|
+
[`5af07899f5b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5af07899f5b) -
|
|
887
|
+
Loosens types to better reflect `xcss` API.
|
|
628
888
|
|
|
629
889
|
## 0.13.0
|
|
630
890
|
|
|
631
891
|
### Minor Changes
|
|
632
892
|
|
|
633
|
-
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
893
|
+
- [#35149](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35149)
|
|
894
|
+
[`455677dbd4c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/455677dbd4c) - -
|
|
895
|
+
Documents the responsive media helpers into an Alpha state.
|
|
896
|
+
- BREAKING: Removes the `xxl` breakpoint from all media queries (should be unused).
|
|
897
|
+
- Adds a new `media` export without `media.below` intentionally omitted. Should be unused
|
|
898
|
+
externally, but used internally and still available via the existing `UNSAFE_media` export.
|
|
899
|
+
- Changes the underlying media queries to be a bit safer against unexpected overlap. This
|
|
900
|
+
changes the breakpoints ever-so-slightly, but given browsers round fractional rems, it's
|
|
901
|
+
impractical that this will have any unintended impact—if anything, it may fix a bug.
|
|
637
902
|
|
|
638
903
|
## 0.12.6
|
|
639
904
|
|
|
640
905
|
### Patch Changes
|
|
641
906
|
|
|
642
|
-
-
|
|
907
|
+
- [#35592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35592)
|
|
908
|
+
[`3be327cdd6a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3be327cdd6a) - Allow
|
|
909
|
+
styles to be applied to Inline through xcss.
|
|
643
910
|
|
|
644
911
|
## 0.12.5
|
|
645
912
|
|
|
646
913
|
### Patch Changes
|
|
647
914
|
|
|
648
|
-
-
|
|
649
|
-
-
|
|
915
|
+
- [#35526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35526)
|
|
916
|
+
[`55be182b904`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55be182b904) -
|
|
917
|
+
Regenerates codegen'd artifacts as a result of introducting new design tokens.
|
|
918
|
+
- Updated dependencies
|
|
650
919
|
|
|
651
920
|
## 0.12.4
|
|
652
921
|
|
|
653
922
|
### Patch Changes
|
|
654
923
|
|
|
655
|
-
-
|
|
924
|
+
- [#35270](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35270)
|
|
925
|
+
[`b2706220d22`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2706220d22) - Adds
|
|
926
|
+
an experimental `UNSAFE_useMediaQuery` hook to utilize our media query breakpoints in
|
|
927
|
+
JavaScript. This is not SSR-safe and will return `null` or perhaps incorrectly depending on your
|
|
928
|
+
SSR environment.
|
|
656
929
|
|
|
657
930
|
## 0.12.3
|
|
658
931
|
|
|
659
932
|
### Patch Changes
|
|
660
933
|
|
|
661
|
-
-
|
|
662
|
-
-
|
|
934
|
+
- [#35385](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35385)
|
|
935
|
+
[`79e94411a9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79e94411a9c) - Bump
|
|
936
|
+
to account for regeneration of tokens artifacts.
|
|
937
|
+
- Updated dependencies
|
|
663
938
|
|
|
664
939
|
## 0.12.2
|
|
665
940
|
|
|
666
941
|
### Patch Changes
|
|
667
942
|
|
|
668
|
-
-
|
|
943
|
+
- [#33287](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33287)
|
|
944
|
+
[`e278a3b0ea9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e278a3b0ea9) - Allow
|
|
945
|
+
loose auto completion and less strict types for some xcss properties.
|
|
669
946
|
|
|
670
947
|
## 0.12.1
|
|
671
948
|
|
|
672
949
|
### Patch Changes
|
|
673
950
|
|
|
674
|
-
-
|
|
951
|
+
- [#35248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35248)
|
|
952
|
+
[`3f273cdd54f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f273cdd54f) - Allow
|
|
953
|
+
for an Inline list item.
|
|
675
954
|
|
|
676
955
|
## 0.12.0
|
|
677
956
|
|
|
678
957
|
### Minor Changes
|
|
679
958
|
|
|
680
|
-
-
|
|
959
|
+
- [#35158](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35158)
|
|
960
|
+
[`407853b7b26`](https://bitbucket.org/atlassian/atlassian-frontend/commits/407853b7b26) - Inline
|
|
961
|
+
now has a new default value for the `alignBlock` prop: `start` - the previous default,
|
|
962
|
+
`stretch`, is now an option that can be set explicitly as well.
|
|
681
963
|
|
|
682
964
|
## 0.11.0
|
|
683
965
|
|
|
684
966
|
### Minor Changes
|
|
685
967
|
|
|
686
|
-
-
|
|
968
|
+
- [#33833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33833)
|
|
969
|
+
[`8bd6dc6027f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8bd6dc6027f) - Box
|
|
970
|
+
backgroundColor prop now accepts full token names, abbreviated forms will no longer work. xcss
|
|
971
|
+
now accepts full token names, abbreviated forms will no longer work.
|
|
687
972
|
|
|
688
973
|
## 0.10.1
|
|
689
974
|
|
|
690
975
|
### Patch Changes
|
|
691
976
|
|
|
692
|
-
-
|
|
693
|
-
|
|
977
|
+
- [#34922](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34922)
|
|
978
|
+
[`b6302963111`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6302963111) - Change
|
|
979
|
+
border.radius.normal to be 3px instead of 4px. `display: grid` is now accepted for `xcss`.
|
|
694
980
|
|
|
695
981
|
## 0.10.0
|
|
696
982
|
|
|
697
983
|
### Minor Changes
|
|
698
984
|
|
|
699
|
-
-
|
|
985
|
+
- [#34913](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34913)
|
|
986
|
+
[`313d71fce9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/313d71fce9c) - Allow
|
|
987
|
+
media queries at predefined breakpoints to be applied through xcss.
|
|
700
988
|
|
|
701
989
|
## 0.9.5
|
|
702
990
|
|
|
703
991
|
### Patch Changes
|
|
704
992
|
|
|
705
|
-
-
|
|
993
|
+
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
|
|
994
|
+
[`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
|
|
995
|
+
Removing unused dependencies and dev dependencies
|
|
706
996
|
|
|
707
997
|
## 0.9.4
|
|
708
998
|
|
|
709
999
|
### Patch Changes
|
|
710
1000
|
|
|
711
|
-
-
|
|
712
|
-
|
|
713
|
-
|
|
1001
|
+
- [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217)
|
|
1002
|
+
[`b19d5c53b64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b19d5c53b64) -
|
|
1003
|
+
Internal changest to the primitives package related to token generated styles.
|
|
1004
|
+
- [`4c4dcc3d571`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c4dcc3d571) -
|
|
1005
|
+
Updates primitives internal style map.
|
|
1006
|
+
- Updated dependencies
|
|
714
1007
|
|
|
715
1008
|
## 0.9.3
|
|
716
1009
|
|
|
717
1010
|
### Patch Changes
|
|
718
1011
|
|
|
719
|
-
-
|
|
720
|
-
|
|
1012
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
1013
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
1014
|
+
legacy types are published for TS 4.5-4.8
|
|
1015
|
+
- [#33693](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33693)
|
|
1016
|
+
[`e06d56c5a3d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e06d56c5a3d) - Adds
|
|
1017
|
+
type hinting for `fill` CSS property.
|
|
721
1018
|
|
|
722
1019
|
## 0.9.2
|
|
723
1020
|
|
|
724
1021
|
### Patch Changes
|
|
725
1022
|
|
|
726
|
-
-
|
|
1023
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
1024
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
1025
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
727
1026
|
|
|
728
1027
|
## 0.9.1
|
|
729
1028
|
|
|
730
1029
|
### Patch Changes
|
|
731
1030
|
|
|
732
|
-
-
|
|
1031
|
+
- [#33120](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33120)
|
|
1032
|
+
[`5a9e73494eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a9e73494eb) -
|
|
1033
|
+
Updates to internal documentation.
|
|
733
1034
|
|
|
734
1035
|
## 0.9.0
|
|
735
1036
|
|
|
736
1037
|
### Minor Changes
|
|
737
1038
|
|
|
738
|
-
-
|
|
1039
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
1040
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
1041
|
+
minor dependency bump
|
|
739
1042
|
|
|
740
1043
|
### Patch Changes
|
|
741
1044
|
|
|
742
|
-
-
|
|
1045
|
+
- Updated dependencies
|
|
743
1046
|
|
|
744
1047
|
## 0.8.9
|
|
745
1048
|
|
|
746
1049
|
### Patch Changes
|
|
747
1050
|
|
|
748
|
-
-
|
|
1051
|
+
- [#33127](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33127)
|
|
1052
|
+
[`da1727baf77`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da1727baf77) - Allow
|
|
1053
|
+
non tokenised values to be passed through for tokenisable properties like `padding`. Adds type
|
|
1054
|
+
hinting for zIndex CSS property.
|
|
749
1055
|
|
|
750
1056
|
## 0.8.8
|
|
751
1057
|
|
|
752
1058
|
### Patch Changes
|
|
753
1059
|
|
|
754
|
-
-
|
|
1060
|
+
- [#33092](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33092)
|
|
1061
|
+
[`5a134a5128a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a134a5128a) - Adds
|
|
1062
|
+
type hinting for boxShadow CSS property. Fixes bug with token to CSS custom property
|
|
1063
|
+
transformation for gap, rowGap, columnGap.
|
|
755
1064
|
|
|
756
1065
|
## 0.8.7
|
|
757
1066
|
|
|
758
1067
|
### Patch Changes
|
|
759
1068
|
|
|
760
|
-
-
|
|
1069
|
+
- [#32798](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32798)
|
|
1070
|
+
[`bad2da77917`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bad2da77917) - The
|
|
1071
|
+
Box primitive now accepts more elements for the 'as' prop
|
|
761
1072
|
|
|
762
1073
|
## 0.8.6
|
|
763
1074
|
|
|
764
1075
|
### Patch Changes
|
|
765
1076
|
|
|
766
|
-
-
|
|
1077
|
+
- [#33022](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33022)
|
|
1078
|
+
[`b5b26f3d947`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5b26f3d947) -
|
|
1079
|
+
Bugfix: 'padding' prop no longer takes (incorrect) precedence over any other padding props.
|
|
767
1080
|
|
|
768
1081
|
## 0.8.5
|
|
769
1082
|
|
|
770
1083
|
### Patch Changes
|
|
771
1084
|
|
|
772
|
-
-
|
|
1085
|
+
- [#32786](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32786)
|
|
1086
|
+
[`0969a35c1b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0969a35c1b0) - Allow
|
|
1087
|
+
type hinting for nested styles inside pseudo-selectors.
|
|
773
1088
|
|
|
774
1089
|
## 0.8.4
|
|
775
1090
|
|
|
776
1091
|
### Patch Changes
|
|
777
1092
|
|
|
778
|
-
-
|
|
1093
|
+
- [#32594](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32594)
|
|
1094
|
+
[`7127e85932a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7127e85932a) - Update
|
|
1095
|
+
codegen to explicitly list spacing prop values as string unions for compatibility with
|
|
1096
|
+
extract-react-types.
|
|
779
1097
|
|
|
780
1098
|
## 0.8.3
|
|
781
1099
|
|
|
782
1100
|
### Patch Changes
|
|
783
1101
|
|
|
784
|
-
-
|
|
1102
|
+
- [#32600](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32600)
|
|
1103
|
+
[`64e7c72773e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7c72773e) - Update
|
|
1104
|
+
type to allow typehints for CSS color property.
|
|
785
1105
|
|
|
786
1106
|
## 0.8.2
|
|
787
1107
|
|
|
788
1108
|
### Patch Changes
|
|
789
1109
|
|
|
790
|
-
-
|
|
1110
|
+
- [#32543](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32543)
|
|
1111
|
+
[`983b1e61003`](https://bitbucket.org/atlassian/atlassian-frontend/commits/983b1e61003) - Fix
|
|
1112
|
+
Primitives pages being shown in prod despite being marked as alpha.
|
|
791
1113
|
|
|
792
1114
|
## 0.8.1
|
|
793
1115
|
|
|
794
1116
|
### Patch Changes
|
|
795
1117
|
|
|
796
|
-
-
|
|
1118
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
1119
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
1120
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
797
1121
|
|
|
798
1122
|
## 0.8.0
|
|
799
1123
|
|
|
800
1124
|
### Minor Changes
|
|
801
1125
|
|
|
802
|
-
-
|
|
803
|
-
|
|
1126
|
+
- [#32281](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32281)
|
|
1127
|
+
[`ac4c8695d3f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac4c8695d3f) -
|
|
1128
|
+
Constrain CSS values of flex-direction to account for accessibility considerations.
|
|
1129
|
+
- [#32296](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32296)
|
|
1130
|
+
[`4d19bdd2218`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d19bdd2218) -
|
|
1131
|
+
**Inline**:
|
|
804
1132
|
|
|
805
|
-
|
|
806
|
-
|
|
1133
|
+
- `space` prop now accepts values in the form `space.XXX`. For example: `space="space.100"`.
|
|
1134
|
+
- `rowSpace` prop now accepts values in the form `space.XXX`. For example:
|
|
1135
|
+
`rowSpace="space.100"`.
|
|
807
1136
|
|
|
808
|
-
|
|
1137
|
+
**Stack**:
|
|
809
1138
|
|
|
810
|
-
|
|
1139
|
+
- `space` prop now accepts values in the form `space.XXX`. For example: `space="space.100"`.
|
|
811
1140
|
|
|
812
1141
|
## 0.7.1
|
|
813
1142
|
|
|
814
1143
|
### Patch Changes
|
|
815
1144
|
|
|
816
|
-
-
|
|
1145
|
+
- [#32311](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32311)
|
|
1146
|
+
[`a02eed2974e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02eed2974e) - Move
|
|
1147
|
+
codegen into @atlassian scope to publish it to private registry
|
|
817
1148
|
|
|
818
1149
|
## 0.7.0
|
|
819
1150
|
|
|
820
1151
|
### Minor Changes
|
|
821
1152
|
|
|
822
|
-
-
|
|
1153
|
+
- [#31841](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31841)
|
|
1154
|
+
[`7e17a8b8934`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e17a8b8934) - Box:
|
|
823
1155
|
|
|
824
|
-
|
|
1156
|
+
- Add xcss prop to enable token powered styling.
|
|
825
1157
|
|
|
826
1158
|
## 0.6.0
|
|
827
1159
|
|
|
828
1160
|
### Minor Changes
|
|
829
1161
|
|
|
830
|
-
-
|
|
1162
|
+
- [#31885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31885)
|
|
1163
|
+
[`4d60ec345a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d60ec345a5) - Remove
|
|
1164
|
+
internal/exploratory responsive props available in BaseBox.
|
|
831
1165
|
|
|
832
1166
|
## 0.5.0
|
|
833
1167
|
|
|
834
1168
|
### Minor Changes
|
|
835
1169
|
|
|
836
|
-
-
|
|
1170
|
+
- [#31818](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31818)
|
|
1171
|
+
[`e379d04c74a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e379d04c74a) - Expose
|
|
1172
|
+
a new form of `xcss` that is parameterised so it can be statically bound to the intended usage
|
|
1173
|
+
context.
|
|
837
1174
|
|
|
838
1175
|
## 0.4.2
|
|
839
1176
|
|
|
840
1177
|
### Patch Changes
|
|
841
1178
|
|
|
842
|
-
-
|
|
1179
|
+
- [#31711](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31711)
|
|
1180
|
+
[`fa26963628c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa26963628c) -
|
|
1181
|
+
Removes `customStyles` in favour of `xcss`.
|
|
843
1182
|
|
|
844
1183
|
## 0.4.1
|
|
845
1184
|
|
|
846
1185
|
### Patch Changes
|
|
847
1186
|
|
|
848
|
-
-
|
|
1187
|
+
- [#31691](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31691)
|
|
1188
|
+
[`8e03331eb8b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e03331eb8b) -
|
|
1189
|
+
Introduce 'as' prop to Inline and Stack so the resulting element can be controlled.
|
|
849
1190
|
|
|
850
1191
|
## 0.4.0
|
|
851
1192
|
|
|
852
1193
|
### Minor Changes
|
|
853
1194
|
|
|
854
|
-
-
|
|
1195
|
+
- [#31378](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31378)
|
|
1196
|
+
[`003c381e37d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/003c381e37d) - Apply
|
|
1197
|
+
`width: 100%` to Inline and Stack when `grow` prop is set to `fill`.
|
|
855
1198
|
|
|
856
1199
|
## 0.3.3
|
|
857
1200
|
|
|
858
1201
|
### Patch Changes
|
|
859
1202
|
|
|
860
|
-
-
|
|
1203
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
|
|
1204
|
+
[`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) -
|
|
1205
|
+
Upgrades component types to support React 18.
|
|
861
1206
|
|
|
862
1207
|
## 0.3.2
|
|
863
1208
|
|
|
864
1209
|
### Patch Changes
|
|
865
1210
|
|
|
866
|
-
-
|
|
1211
|
+
- [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
|
|
1212
|
+
[`e7b64da97a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7b64da97a1) - Add
|
|
1213
|
+
`rowSpace` prop to override the `space` prop's spacing between rows.
|
|
867
1214
|
|
|
868
1215
|
## 0.3.1
|
|
869
1216
|
|
|
870
1217
|
### Patch Changes
|
|
871
1218
|
|
|
872
|
-
-
|
|
1219
|
+
- [#31127](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31127)
|
|
1220
|
+
[`114d6a73f72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/114d6a73f72) -
|
|
1221
|
+
Cleanup the experimental responsive box utilizing our responsive helpers.
|
|
873
1222
|
|
|
874
1223
|
## 0.3.0
|
|
875
1224
|
|
|
876
1225
|
### Minor Changes
|
|
877
1226
|
|
|
878
|
-
-
|
|
1227
|
+
- [#30894](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30894)
|
|
1228
|
+
[`7c280fead96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c280fead96) - Add
|
|
1229
|
+
new responsive helpers, breakpoints config, and types into `@atlaskit/primitives/responsive`.
|
|
1230
|
+
Exports are treated as `UNSAFE_` and experimental until modified as they're being worked on in
|
|
1231
|
+
parallel to our Alpha Grid.
|
|
879
1232
|
|
|
880
1233
|
## 0.2.2
|
|
881
1234
|
|
|
882
1235
|
### Patch Changes
|
|
883
1236
|
|
|
884
|
-
-
|
|
1237
|
+
- [#30708](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30708)
|
|
1238
|
+
[`bf90d854748`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf90d854748) -
|
|
1239
|
+
Internal representation of Box primitive now supports some responsive styles
|
|
885
1240
|
|
|
886
1241
|
## 0.2.1
|
|
887
1242
|
|
|
888
1243
|
### Patch Changes
|
|
889
1244
|
|
|
890
|
-
-
|
|
1245
|
+
- [#30440](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30440)
|
|
1246
|
+
[`5b886634089`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5b886634089) - [ux]
|
|
1247
|
+
Change Box to be the default export from `@atlaskit/primitives/box`. Fix the negative value of
|
|
1248
|
+
`margin-inline` in Inline `separator` not being applied properly.
|
|
891
1249
|
|
|
892
1250
|
## 0.2.0
|
|
893
1251
|
|
|
894
1252
|
### Minor Changes
|
|
895
1253
|
|
|
896
|
-
-
|
|
1254
|
+
- [#29774](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29774)
|
|
1255
|
+
[`228cce759e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/228cce759e8) - Create
|
|
1256
|
+
Box component.
|
|
897
1257
|
|
|
898
1258
|
## 0.1.1
|
|
899
1259
|
|
|
900
1260
|
### Patch Changes
|
|
901
1261
|
|
|
902
|
-
-
|
|
903
|
-
-
|
|
1262
|
+
- [#30055](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30055)
|
|
1263
|
+
[`fe50d8cb56c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe50d8cb56c) -
|
|
1264
|
+
Internal change to add shape tokens to primitives.
|
|
1265
|
+
- Updated dependencies
|
|
904
1266
|
|
|
905
1267
|
## 0.1.0
|
|
906
1268
|
|
|
907
1269
|
### Minor Changes
|
|
908
1270
|
|
|
909
|
-
-
|
|
910
|
-
|
|
1271
|
+
- [#29608](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29608)
|
|
1272
|
+
[`eeb8baa5d74`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eeb8baa5d74) - -
|
|
1273
|
+
Create `Stack` component
|
|
1274
|
+
- Create `Inline` component
|
|
911
1275
|
|
|
912
1276
|
## 0.0.2
|
|
913
1277
|
|
|
914
1278
|
### Patch Changes
|
|
915
1279
|
|
|
916
|
-
-
|
|
917
|
-
-
|
|
1280
|
+
- [#29387](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29387)
|
|
1281
|
+
[`069494fbea6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/069494fbea6) -
|
|
1282
|
+
Internal change. There is no behaviour or visual change.
|
|
1283
|
+
- Updated dependencies
|
|
918
1284
|
|
|
919
1285
|
## 0.0.1
|
|
920
1286
|
|
|
921
1287
|
### Patch Changes
|
|
922
1288
|
|
|
923
|
-
-
|
|
1289
|
+
- [#29450](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29450)
|
|
1290
|
+
[`87074bc6cb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87074bc6cb3) -
|
|
1291
|
+
Initial release of package scaffold.
|