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