@atlaskit/primitives 5.7.0 → 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 +565 -203
- 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 +6 -6
- 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,929 +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
|
+
|
|
3
12
|
## 5.7.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
6
15
|
|
|
7
|
-
-
|
|
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.
|
|
8
19
|
|
|
9
20
|
## 5.6.1
|
|
10
21
|
|
|
11
22
|
### Patch Changes
|
|
12
23
|
|
|
13
|
-
-
|
|
14
|
-
|
|
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
|
|
15
30
|
|
|
16
31
|
## 5.6.0
|
|
17
32
|
|
|
18
33
|
### Minor Changes
|
|
19
34
|
|
|
20
|
-
-
|
|
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.
|
|
21
40
|
|
|
22
41
|
### Patch Changes
|
|
23
42
|
|
|
24
|
-
-
|
|
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
|
|
25
46
|
|
|
26
47
|
## 5.5.3
|
|
27
48
|
|
|
28
49
|
### Patch Changes
|
|
29
50
|
|
|
30
|
-
-
|
|
51
|
+
- Updated dependencies
|
|
31
52
|
|
|
32
53
|
## 5.5.2
|
|
33
54
|
|
|
34
55
|
### Patch Changes
|
|
35
56
|
|
|
36
|
-
-
|
|
57
|
+
- Updated dependencies
|
|
37
58
|
|
|
38
59
|
## 5.5.1
|
|
39
60
|
|
|
40
61
|
### Patch Changes
|
|
41
62
|
|
|
42
|
-
-
|
|
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.
|
|
43
66
|
|
|
44
67
|
## 5.5.0
|
|
45
68
|
|
|
46
69
|
### Minor Changes
|
|
47
70
|
|
|
48
|
-
-
|
|
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
|
|
49
74
|
|
|
50
75
|
## 5.4.0
|
|
51
76
|
|
|
52
77
|
### Minor Changes
|
|
53
78
|
|
|
54
|
-
-
|
|
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 {}`.
|
|
55
83
|
|
|
56
84
|
### Patch Changes
|
|
57
85
|
|
|
58
|
-
-
|
|
86
|
+
- Updated dependencies
|
|
59
87
|
|
|
60
88
|
## 5.3.0
|
|
61
89
|
|
|
62
90
|
### Minor Changes
|
|
63
91
|
|
|
64
|
-
-
|
|
65
|
-
|
|
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.
|
|
66
99
|
|
|
67
100
|
## 5.2.0
|
|
68
101
|
|
|
69
102
|
### Minor Changes
|
|
70
103
|
|
|
71
|
-
-
|
|
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`
|
|
72
107
|
|
|
73
108
|
## 5.1.2
|
|
74
109
|
|
|
75
110
|
### Patch Changes
|
|
76
111
|
|
|
77
|
-
-
|
|
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
|
|
78
115
|
|
|
79
116
|
## 5.1.1
|
|
80
117
|
|
|
81
118
|
### Patch Changes
|
|
82
119
|
|
|
83
|
-
-
|
|
84
|
-
-
|
|
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
|
|
85
124
|
|
|
86
125
|
## 5.1.0
|
|
87
126
|
|
|
88
127
|
### Minor Changes
|
|
89
128
|
|
|
90
|
-
-
|
|
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.
|
|
91
132
|
|
|
92
133
|
### Patch Changes
|
|
93
134
|
|
|
94
|
-
-
|
|
135
|
+
- Updated dependencies
|
|
95
136
|
|
|
96
137
|
## 5.0.1
|
|
97
138
|
|
|
98
139
|
### Patch Changes
|
|
99
140
|
|
|
100
|
-
-
|
|
141
|
+
- Updated dependencies
|
|
101
142
|
|
|
102
143
|
## 5.0.0
|
|
103
144
|
|
|
104
145
|
### Major Changes
|
|
105
146
|
|
|
106
|
-
-
|
|
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"`.
|
|
107
151
|
|
|
108
|
-
|
|
152
|
+
Migration guide:
|
|
109
153
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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"`
|
|
113
158
|
|
|
114
159
|
## 4.1.1
|
|
115
160
|
|
|
116
161
|
### Patch Changes
|
|
117
162
|
|
|
118
|
-
-
|
|
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
|
|
119
166
|
|
|
120
167
|
## 4.1.0
|
|
121
168
|
|
|
122
169
|
### Minor Changes
|
|
123
170
|
|
|
124
|
-
-
|
|
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.
|
|
125
174
|
|
|
126
175
|
## 4.0.2
|
|
127
176
|
|
|
128
177
|
### Patch Changes
|
|
129
178
|
|
|
130
|
-
-
|
|
131
|
-
-
|
|
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
|
|
132
183
|
|
|
133
184
|
## 4.0.1
|
|
134
185
|
|
|
135
186
|
### Patch Changes
|
|
136
187
|
|
|
137
|
-
-
|
|
138
|
-
-
|
|
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
|
|
139
192
|
|
|
140
193
|
## 4.0.0
|
|
141
194
|
|
|
142
195
|
### Major Changes
|
|
143
196
|
|
|
144
|
-
-
|
|
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.
|
|
145
201
|
|
|
146
202
|
### Patch Changes
|
|
147
203
|
|
|
148
|
-
-
|
|
204
|
+
- Updated dependencies
|
|
149
205
|
|
|
150
206
|
## 3.2.0
|
|
151
207
|
|
|
152
208
|
### Minor Changes
|
|
153
209
|
|
|
154
|
-
-
|
|
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.
|
|
155
214
|
|
|
156
215
|
## 3.1.0
|
|
157
216
|
|
|
158
217
|
### Minor Changes
|
|
159
218
|
|
|
160
|
-
-
|
|
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
|
|
161
222
|
|
|
162
223
|
## 3.0.0
|
|
163
224
|
|
|
164
225
|
### Major Changes
|
|
165
226
|
|
|
166
|
-
-
|
|
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.
|
|
167
231
|
|
|
168
232
|
### Minor Changes
|
|
169
233
|
|
|
170
|
-
-
|
|
171
|
-
|
|
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`.
|
|
172
241
|
|
|
173
242
|
### Patch Changes
|
|
174
243
|
|
|
175
|
-
-
|
|
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)
|
|
176
247
|
|
|
177
248
|
## 2.1.0
|
|
178
249
|
|
|
179
250
|
### Minor Changes
|
|
180
251
|
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
|
|
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`
|
|
184
264
|
|
|
185
265
|
## 2.0.3
|
|
186
266
|
|
|
187
267
|
### Patch Changes
|
|
188
268
|
|
|
189
|
-
-
|
|
190
|
-
-
|
|
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
|
|
191
273
|
|
|
192
274
|
## 2.0.2
|
|
193
275
|
|
|
194
276
|
### Patch Changes
|
|
195
277
|
|
|
196
|
-
-
|
|
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
|
|
197
281
|
|
|
198
282
|
## 2.0.1
|
|
199
283
|
|
|
200
284
|
### Patch Changes
|
|
201
285
|
|
|
202
|
-
-
|
|
286
|
+
- Updated dependencies
|
|
203
287
|
|
|
204
288
|
## 2.0.0
|
|
205
289
|
|
|
206
290
|
### Major Changes
|
|
207
291
|
|
|
208
|
-
-
|
|
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.
|
|
209
296
|
|
|
210
|
-
|
|
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.
|
|
211
302
|
|
|
212
303
|
## 1.20.0
|
|
213
304
|
|
|
214
305
|
### Minor Changes
|
|
215
306
|
|
|
216
|
-
-
|
|
217
|
-
|
|
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.
|
|
218
313
|
|
|
219
314
|
### Patch Changes
|
|
220
315
|
|
|
221
|
-
-
|
|
316
|
+
- Updated dependencies
|
|
222
317
|
|
|
223
318
|
## 1.19.0
|
|
224
319
|
|
|
225
320
|
### Minor Changes
|
|
226
321
|
|
|
227
|
-
-
|
|
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.
|
|
228
326
|
|
|
229
327
|
### Patch Changes
|
|
230
328
|
|
|
231
|
-
-
|
|
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
|
|
232
332
|
|
|
233
333
|
## 1.18.0
|
|
234
334
|
|
|
235
335
|
### Minor Changes
|
|
236
336
|
|
|
237
|
-
-
|
|
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.
|
|
238
341
|
|
|
239
342
|
### Patch Changes
|
|
240
343
|
|
|
241
|
-
-
|
|
344
|
+
- Updated dependencies
|
|
242
345
|
|
|
243
346
|
## 1.17.0
|
|
244
347
|
|
|
245
348
|
### Minor Changes
|
|
246
349
|
|
|
247
|
-
-
|
|
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.
|
|
248
354
|
|
|
249
355
|
## 1.16.0
|
|
250
356
|
|
|
251
357
|
### Minor Changes
|
|
252
358
|
|
|
253
|
-
-
|
|
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.
|
|
254
364
|
|
|
255
365
|
### Patch Changes
|
|
256
366
|
|
|
257
|
-
-
|
|
367
|
+
- Updated dependencies
|
|
258
368
|
|
|
259
369
|
## 1.15.2
|
|
260
370
|
|
|
261
371
|
### Patch Changes
|
|
262
372
|
|
|
263
|
-
-
|
|
264
|
-
|
|
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-\*).
|
|
265
378
|
|
|
266
379
|
## 1.15.1
|
|
267
380
|
|
|
268
381
|
### Patch Changes
|
|
269
382
|
|
|
270
|
-
-
|
|
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
|
|
271
386
|
|
|
272
387
|
## 1.15.0
|
|
273
388
|
|
|
274
389
|
### Minor Changes
|
|
275
390
|
|
|
276
|
-
-
|
|
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.
|
|
277
396
|
|
|
278
397
|
### Patch Changes
|
|
279
398
|
|
|
280
|
-
-
|
|
399
|
+
- Updated dependencies
|
|
281
400
|
|
|
282
401
|
## 1.14.0
|
|
283
402
|
|
|
284
403
|
### Minor Changes
|
|
285
404
|
|
|
286
|
-
-
|
|
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.
|
|
287
408
|
|
|
288
409
|
## 1.13.1
|
|
289
410
|
|
|
290
411
|
### Patch Changes
|
|
291
412
|
|
|
292
|
-
-
|
|
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.
|
|
293
416
|
|
|
294
417
|
## 1.13.0
|
|
295
418
|
|
|
296
419
|
### Minor Changes
|
|
297
420
|
|
|
298
|
-
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
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'`.
|
|
303
434
|
|
|
304
435
|
## 1.12.0
|
|
305
436
|
|
|
306
437
|
### Minor Changes
|
|
307
438
|
|
|
308
|
-
-
|
|
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
|
|
309
443
|
|
|
310
444
|
## 1.11.1
|
|
311
445
|
|
|
312
446
|
### Patch Changes
|
|
313
447
|
|
|
314
|
-
-
|
|
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).
|
|
315
451
|
|
|
316
452
|
## 1.11.0
|
|
317
453
|
|
|
318
454
|
### Minor Changes
|
|
319
455
|
|
|
320
|
-
-
|
|
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.
|
|
321
460
|
|
|
322
461
|
## 1.10.1
|
|
323
462
|
|
|
324
463
|
### Patch Changes
|
|
325
464
|
|
|
326
|
-
-
|
|
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).
|
|
327
469
|
|
|
328
470
|
## 1.10.0
|
|
329
471
|
|
|
330
472
|
### Minor Changes
|
|
331
473
|
|
|
332
|
-
-
|
|
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.
|
|
333
478
|
|
|
334
479
|
## 1.9.0
|
|
335
480
|
|
|
336
481
|
### Minor Changes
|
|
337
482
|
|
|
338
|
-
-
|
|
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.
|
|
339
487
|
|
|
340
488
|
## 1.8.0
|
|
341
489
|
|
|
342
490
|
### Minor Changes
|
|
343
491
|
|
|
344
|
-
-
|
|
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
|
|
345
496
|
|
|
346
497
|
### Patch Changes
|
|
347
498
|
|
|
348
|
-
-
|
|
349
|
-
-
|
|
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
|
|
350
503
|
|
|
351
504
|
## 1.7.0
|
|
352
505
|
|
|
353
506
|
### Minor Changes
|
|
354
507
|
|
|
355
|
-
-
|
|
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)
|
|
356
511
|
|
|
357
512
|
## 1.6.8
|
|
358
513
|
|
|
359
514
|
### Patch Changes
|
|
360
515
|
|
|
361
|
-
-
|
|
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.
|
|
362
520
|
|
|
363
521
|
## 1.6.7
|
|
364
522
|
|
|
365
523
|
### Patch Changes
|
|
366
524
|
|
|
367
|
-
-
|
|
368
|
-
-
|
|
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
|
|
369
529
|
|
|
370
530
|
## 1.6.6
|
|
371
531
|
|
|
372
532
|
### Patch Changes
|
|
373
533
|
|
|
374
|
-
-
|
|
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.
|
|
375
537
|
|
|
376
538
|
## 1.6.5
|
|
377
539
|
|
|
378
540
|
### Patch Changes
|
|
379
541
|
|
|
380
|
-
-
|
|
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.
|
|
381
545
|
|
|
382
546
|
## 1.6.4
|
|
383
547
|
|
|
384
548
|
### Patch Changes
|
|
385
549
|
|
|
386
|
-
-
|
|
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
|
|
387
553
|
|
|
388
554
|
## 1.6.3
|
|
389
555
|
|
|
390
556
|
### Patch Changes
|
|
391
557
|
|
|
392
|
-
-
|
|
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.
|
|
393
561
|
|
|
394
562
|
## 1.6.2
|
|
395
563
|
|
|
396
564
|
### Patch Changes
|
|
397
565
|
|
|
398
|
-
-
|
|
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.
|
|
399
569
|
|
|
400
570
|
## 1.6.1
|
|
401
571
|
|
|
402
572
|
### Patch Changes
|
|
403
573
|
|
|
404
|
-
-
|
|
405
|
-
-
|
|
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
|
|
406
578
|
|
|
407
579
|
## 1.6.0
|
|
408
580
|
|
|
409
581
|
### Minor Changes
|
|
410
582
|
|
|
411
|
-
-
|
|
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`.
|
|
412
586
|
|
|
413
587
|
## 1.5.0
|
|
414
588
|
|
|
415
589
|
### Minor Changes
|
|
416
590
|
|
|
417
|
-
-
|
|
418
|
-
|
|
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:
|
|
419
598
|
|
|
420
|
-
|
|
421
|
-
|
|
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`).
|
|
422
602
|
|
|
423
603
|
## 1.4.4
|
|
424
604
|
|
|
425
605
|
### Patch Changes
|
|
426
606
|
|
|
427
|
-
-
|
|
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.
|
|
428
610
|
|
|
429
611
|
## 1.4.3
|
|
430
612
|
|
|
431
613
|
### Patch Changes
|
|
432
614
|
|
|
433
|
-
-
|
|
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.
|
|
434
618
|
|
|
435
619
|
## 1.4.2
|
|
436
620
|
|
|
437
621
|
### Patch Changes
|
|
438
622
|
|
|
439
|
-
-
|
|
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.
|
|
440
626
|
|
|
441
627
|
## 1.4.1
|
|
442
628
|
|
|
443
629
|
### Patch Changes
|
|
444
630
|
|
|
445
|
-
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
-
|
|
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
|
|
449
639
|
|
|
450
640
|
## 1.4.0
|
|
451
641
|
|
|
452
642
|
### Minor Changes
|
|
453
643
|
|
|
454
|
-
-
|
|
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.
|
|
455
647
|
|
|
456
648
|
## 1.3.1
|
|
457
649
|
|
|
458
650
|
### Patch Changes
|
|
459
651
|
|
|
460
|
-
-
|
|
461
|
-
-
|
|
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
|
|
462
656
|
|
|
463
657
|
## 1.3.0
|
|
464
658
|
|
|
465
659
|
### Minor Changes
|
|
466
660
|
|
|
467
|
-
-
|
|
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.
|
|
468
664
|
|
|
469
665
|
## 1.2.3
|
|
470
666
|
|
|
471
667
|
### Patch Changes
|
|
472
668
|
|
|
473
|
-
-
|
|
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
|
|
474
672
|
|
|
475
673
|
## 1.2.2
|
|
476
674
|
|
|
477
675
|
### Patch Changes
|
|
478
676
|
|
|
479
|
-
-
|
|
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.
|
|
480
681
|
|
|
481
682
|
## 1.2.1
|
|
482
683
|
|
|
483
684
|
### Patch Changes
|
|
484
685
|
|
|
485
|
-
-
|
|
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.
|
|
486
689
|
|
|
487
690
|
## 1.2.0
|
|
488
691
|
|
|
489
692
|
### Minor Changes
|
|
490
693
|
|
|
491
|
-
-
|
|
492
|
-
|
|
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
|
|
493
699
|
|
|
494
700
|
## 1.1.0
|
|
495
701
|
|
|
496
702
|
### Minor Changes
|
|
497
703
|
|
|
498
|
-
-
|
|
499
|
-
|
|
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`
|
|
500
708
|
|
|
501
709
|
## 1.0.11
|
|
502
710
|
|
|
503
711
|
### Patch Changes
|
|
504
712
|
|
|
505
|
-
-
|
|
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)
|
|
506
716
|
|
|
507
717
|
## 1.0.10
|
|
508
718
|
|
|
509
719
|
### Patch Changes
|
|
510
720
|
|
|
511
|
-
-
|
|
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`.
|
|
512
724
|
|
|
513
725
|
## 1.0.9
|
|
514
726
|
|
|
515
727
|
### Patch Changes
|
|
516
728
|
|
|
517
|
-
-
|
|
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.
|
|
518
732
|
|
|
519
733
|
## 1.0.8
|
|
520
734
|
|
|
521
735
|
### Patch Changes
|
|
522
736
|
|
|
523
|
-
-
|
|
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.
|
|
524
740
|
|
|
525
741
|
## 1.0.7
|
|
526
742
|
|
|
527
743
|
### Patch Changes
|
|
528
744
|
|
|
529
|
-
-
|
|
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.
|
|
530
749
|
|
|
531
750
|
## 1.0.6
|
|
532
751
|
|
|
533
752
|
### Patch Changes
|
|
534
753
|
|
|
535
|
-
-
|
|
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.
|
|
536
757
|
|
|
537
758
|
## 1.0.5
|
|
538
759
|
|
|
539
760
|
### Patch Changes
|
|
540
761
|
|
|
541
|
-
-
|
|
762
|
+
- [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278)
|
|
763
|
+
[`3fadbb8bf73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fadbb8bf73) -
|
|
764
|
+
Internal changes.
|
|
542
765
|
|
|
543
766
|
## 1.0.4
|
|
544
767
|
|
|
545
768
|
### Patch Changes
|
|
546
769
|
|
|
547
|
-
-
|
|
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
|
|
548
773
|
|
|
549
774
|
## 1.0.3
|
|
550
775
|
|
|
551
776
|
### Patch Changes
|
|
552
777
|
|
|
553
|
-
-
|
|
554
|
-
-
|
|
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
|
|
555
782
|
|
|
556
783
|
## 1.0.2
|
|
557
784
|
|
|
558
785
|
### Patch Changes
|
|
559
786
|
|
|
560
|
-
-
|
|
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.
|
|
561
790
|
|
|
562
791
|
## 1.0.1
|
|
563
792
|
|
|
564
793
|
### Patch Changes
|
|
565
794
|
|
|
566
|
-
-
|
|
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.
|
|
567
798
|
|
|
568
799
|
## 1.0.0
|
|
569
800
|
|
|
570
801
|
### Major Changes
|
|
571
802
|
|
|
572
|
-
-
|
|
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.
|
|
573
808
|
|
|
574
|
-
|
|
809
|
+
P.S. The reason for the change is to aid package deduplication in the product.
|
|
575
810
|
|
|
576
811
|
## 0.16.0
|
|
577
812
|
|
|
578
813
|
### Minor Changes
|
|
579
814
|
|
|
580
|
-
-
|
|
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)
|
|
581
818
|
|
|
582
819
|
## 0.15.3
|
|
583
820
|
|
|
584
821
|
### Patch Changes
|
|
585
822
|
|
|
586
|
-
-
|
|
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
|
|
587
826
|
|
|
588
827
|
## 0.15.2
|
|
589
828
|
|
|
590
829
|
### Patch Changes
|
|
591
830
|
|
|
592
|
-
-
|
|
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.
|
|
593
834
|
|
|
594
835
|
## 0.15.1
|
|
595
836
|
|
|
596
837
|
### Patch Changes
|
|
597
838
|
|
|
598
|
-
-
|
|
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.
|
|
599
842
|
|
|
600
843
|
## 0.15.0
|
|
601
844
|
|
|
602
845
|
### Minor Changes
|
|
603
846
|
|
|
604
|
-
-
|
|
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.
|
|
605
851
|
|
|
606
|
-
|
|
852
|
+
Additionally:
|
|
607
853
|
|
|
608
|
-
|
|
609
|
-
|
|
854
|
+
- Adds some further examples, tests, and VRs.
|
|
855
|
+
- Tweaks some internals around building these reusable media query maps.
|
|
610
856
|
|
|
611
857
|
## 0.14.3
|
|
612
858
|
|
|
613
859
|
### Patch Changes
|
|
614
860
|
|
|
615
|
-
-
|
|
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.
|
|
616
864
|
|
|
617
865
|
## 0.14.2
|
|
618
866
|
|
|
619
867
|
### Patch Changes
|
|
620
868
|
|
|
621
|
-
-
|
|
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.
|
|
622
872
|
|
|
623
873
|
## 0.14.1
|
|
624
874
|
|
|
625
875
|
### Patch Changes
|
|
626
876
|
|
|
627
|
-
-
|
|
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.
|
|
628
880
|
|
|
629
881
|
## 0.14.0
|
|
630
882
|
|
|
631
883
|
### Minor Changes
|
|
632
884
|
|
|
633
|
-
-
|
|
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.
|
|
634
888
|
|
|
635
889
|
## 0.13.0
|
|
636
890
|
|
|
637
891
|
### Minor Changes
|
|
638
892
|
|
|
639
|
-
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
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.
|
|
643
902
|
|
|
644
903
|
## 0.12.6
|
|
645
904
|
|
|
646
905
|
### Patch Changes
|
|
647
906
|
|
|
648
|
-
-
|
|
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.
|
|
649
910
|
|
|
650
911
|
## 0.12.5
|
|
651
912
|
|
|
652
913
|
### Patch Changes
|
|
653
914
|
|
|
654
|
-
-
|
|
655
|
-
-
|
|
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
|
|
656
919
|
|
|
657
920
|
## 0.12.4
|
|
658
921
|
|
|
659
922
|
### Patch Changes
|
|
660
923
|
|
|
661
|
-
-
|
|
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.
|
|
662
929
|
|
|
663
930
|
## 0.12.3
|
|
664
931
|
|
|
665
932
|
### Patch Changes
|
|
666
933
|
|
|
667
|
-
-
|
|
668
|
-
-
|
|
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
|
|
669
938
|
|
|
670
939
|
## 0.12.2
|
|
671
940
|
|
|
672
941
|
### Patch Changes
|
|
673
942
|
|
|
674
|
-
-
|
|
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.
|
|
675
946
|
|
|
676
947
|
## 0.12.1
|
|
677
948
|
|
|
678
949
|
### Patch Changes
|
|
679
950
|
|
|
680
|
-
-
|
|
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.
|
|
681
954
|
|
|
682
955
|
## 0.12.0
|
|
683
956
|
|
|
684
957
|
### Minor Changes
|
|
685
958
|
|
|
686
|
-
-
|
|
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.
|
|
687
963
|
|
|
688
964
|
## 0.11.0
|
|
689
965
|
|
|
690
966
|
### Minor Changes
|
|
691
967
|
|
|
692
|
-
-
|
|
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.
|
|
693
972
|
|
|
694
973
|
## 0.10.1
|
|
695
974
|
|
|
696
975
|
### Patch Changes
|
|
697
976
|
|
|
698
|
-
-
|
|
699
|
-
|
|
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`.
|
|
700
980
|
|
|
701
981
|
## 0.10.0
|
|
702
982
|
|
|
703
983
|
### Minor Changes
|
|
704
984
|
|
|
705
|
-
-
|
|
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.
|
|
706
988
|
|
|
707
989
|
## 0.9.5
|
|
708
990
|
|
|
709
991
|
### Patch Changes
|
|
710
992
|
|
|
711
|
-
-
|
|
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
|
|
712
996
|
|
|
713
997
|
## 0.9.4
|
|
714
998
|
|
|
715
999
|
### Patch Changes
|
|
716
1000
|
|
|
717
|
-
-
|
|
718
|
-
|
|
719
|
-
|
|
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
|
|
720
1007
|
|
|
721
1008
|
## 0.9.3
|
|
722
1009
|
|
|
723
1010
|
### Patch Changes
|
|
724
1011
|
|
|
725
|
-
-
|
|
726
|
-
|
|
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.
|
|
727
1018
|
|
|
728
1019
|
## 0.9.2
|
|
729
1020
|
|
|
730
1021
|
### Patch Changes
|
|
731
1022
|
|
|
732
|
-
-
|
|
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`
|
|
733
1026
|
|
|
734
1027
|
## 0.9.1
|
|
735
1028
|
|
|
736
1029
|
### Patch Changes
|
|
737
1030
|
|
|
738
|
-
-
|
|
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.
|
|
739
1034
|
|
|
740
1035
|
## 0.9.0
|
|
741
1036
|
|
|
742
1037
|
### Minor Changes
|
|
743
1038
|
|
|
744
|
-
-
|
|
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
|
|
745
1042
|
|
|
746
1043
|
### Patch Changes
|
|
747
1044
|
|
|
748
|
-
-
|
|
1045
|
+
- Updated dependencies
|
|
749
1046
|
|
|
750
1047
|
## 0.8.9
|
|
751
1048
|
|
|
752
1049
|
### Patch Changes
|
|
753
1050
|
|
|
754
|
-
-
|
|
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.
|
|
755
1055
|
|
|
756
1056
|
## 0.8.8
|
|
757
1057
|
|
|
758
1058
|
### Patch Changes
|
|
759
1059
|
|
|
760
|
-
-
|
|
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.
|
|
761
1064
|
|
|
762
1065
|
## 0.8.7
|
|
763
1066
|
|
|
764
1067
|
### Patch Changes
|
|
765
1068
|
|
|
766
|
-
-
|
|
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
|
|
767
1072
|
|
|
768
1073
|
## 0.8.6
|
|
769
1074
|
|
|
770
1075
|
### Patch Changes
|
|
771
1076
|
|
|
772
|
-
-
|
|
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.
|
|
773
1080
|
|
|
774
1081
|
## 0.8.5
|
|
775
1082
|
|
|
776
1083
|
### Patch Changes
|
|
777
1084
|
|
|
778
|
-
-
|
|
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.
|
|
779
1088
|
|
|
780
1089
|
## 0.8.4
|
|
781
1090
|
|
|
782
1091
|
### Patch Changes
|
|
783
1092
|
|
|
784
|
-
-
|
|
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.
|
|
785
1097
|
|
|
786
1098
|
## 0.8.3
|
|
787
1099
|
|
|
788
1100
|
### Patch Changes
|
|
789
1101
|
|
|
790
|
-
-
|
|
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.
|
|
791
1105
|
|
|
792
1106
|
## 0.8.2
|
|
793
1107
|
|
|
794
1108
|
### Patch Changes
|
|
795
1109
|
|
|
796
|
-
-
|
|
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.
|
|
797
1113
|
|
|
798
1114
|
## 0.8.1
|
|
799
1115
|
|
|
800
1116
|
### Patch Changes
|
|
801
1117
|
|
|
802
|
-
-
|
|
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
|
|
803
1121
|
|
|
804
1122
|
## 0.8.0
|
|
805
1123
|
|
|
806
1124
|
### Minor Changes
|
|
807
1125
|
|
|
808
|
-
-
|
|
809
|
-
|
|
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**:
|
|
810
1132
|
|
|
811
|
-
|
|
812
|
-
|
|
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"`.
|
|
813
1136
|
|
|
814
|
-
|
|
1137
|
+
**Stack**:
|
|
815
1138
|
|
|
816
|
-
|
|
1139
|
+
- `space` prop now accepts values in the form `space.XXX`. For example: `space="space.100"`.
|
|
817
1140
|
|
|
818
1141
|
## 0.7.1
|
|
819
1142
|
|
|
820
1143
|
### Patch Changes
|
|
821
1144
|
|
|
822
|
-
-
|
|
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
|
|
823
1148
|
|
|
824
1149
|
## 0.7.0
|
|
825
1150
|
|
|
826
1151
|
### Minor Changes
|
|
827
1152
|
|
|
828
|
-
-
|
|
1153
|
+
- [#31841](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31841)
|
|
1154
|
+
[`7e17a8b8934`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e17a8b8934) - Box:
|
|
829
1155
|
|
|
830
|
-
|
|
1156
|
+
- Add xcss prop to enable token powered styling.
|
|
831
1157
|
|
|
832
1158
|
## 0.6.0
|
|
833
1159
|
|
|
834
1160
|
### Minor Changes
|
|
835
1161
|
|
|
836
|
-
-
|
|
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.
|
|
837
1165
|
|
|
838
1166
|
## 0.5.0
|
|
839
1167
|
|
|
840
1168
|
### Minor Changes
|
|
841
1169
|
|
|
842
|
-
-
|
|
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.
|
|
843
1174
|
|
|
844
1175
|
## 0.4.2
|
|
845
1176
|
|
|
846
1177
|
### Patch Changes
|
|
847
1178
|
|
|
848
|
-
-
|
|
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`.
|
|
849
1182
|
|
|
850
1183
|
## 0.4.1
|
|
851
1184
|
|
|
852
1185
|
### Patch Changes
|
|
853
1186
|
|
|
854
|
-
-
|
|
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.
|
|
855
1190
|
|
|
856
1191
|
## 0.4.0
|
|
857
1192
|
|
|
858
1193
|
### Minor Changes
|
|
859
1194
|
|
|
860
|
-
-
|
|
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`.
|
|
861
1198
|
|
|
862
1199
|
## 0.3.3
|
|
863
1200
|
|
|
864
1201
|
### Patch Changes
|
|
865
1202
|
|
|
866
|
-
-
|
|
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.
|
|
867
1206
|
|
|
868
1207
|
## 0.3.2
|
|
869
1208
|
|
|
870
1209
|
### Patch Changes
|
|
871
1210
|
|
|
872
|
-
-
|
|
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.
|
|
873
1214
|
|
|
874
1215
|
## 0.3.1
|
|
875
1216
|
|
|
876
1217
|
### Patch Changes
|
|
877
1218
|
|
|
878
|
-
-
|
|
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.
|
|
879
1222
|
|
|
880
1223
|
## 0.3.0
|
|
881
1224
|
|
|
882
1225
|
### Minor Changes
|
|
883
1226
|
|
|
884
|
-
-
|
|
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.
|
|
885
1232
|
|
|
886
1233
|
## 0.2.2
|
|
887
1234
|
|
|
888
1235
|
### Patch Changes
|
|
889
1236
|
|
|
890
|
-
-
|
|
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
|
|
891
1240
|
|
|
892
1241
|
## 0.2.1
|
|
893
1242
|
|
|
894
1243
|
### Patch Changes
|
|
895
1244
|
|
|
896
|
-
-
|
|
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.
|
|
897
1249
|
|
|
898
1250
|
## 0.2.0
|
|
899
1251
|
|
|
900
1252
|
### Minor Changes
|
|
901
1253
|
|
|
902
|
-
-
|
|
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.
|
|
903
1257
|
|
|
904
1258
|
## 0.1.1
|
|
905
1259
|
|
|
906
1260
|
### Patch Changes
|
|
907
1261
|
|
|
908
|
-
-
|
|
909
|
-
-
|
|
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
|
|
910
1266
|
|
|
911
1267
|
## 0.1.0
|
|
912
1268
|
|
|
913
1269
|
### Minor Changes
|
|
914
1270
|
|
|
915
|
-
-
|
|
916
|
-
|
|
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
|
|
917
1275
|
|
|
918
1276
|
## 0.0.2
|
|
919
1277
|
|
|
920
1278
|
### Patch Changes
|
|
921
1279
|
|
|
922
|
-
-
|
|
923
|
-
-
|
|
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
|
|
924
1284
|
|
|
925
1285
|
## 0.0.1
|
|
926
1286
|
|
|
927
1287
|
### Patch Changes
|
|
928
1288
|
|
|
929
|
-
-
|
|
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.
|