@atlaskit/ds-explorations 2.3.1 → 2.3.2
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 +64 -58
- package/dist/cjs/components/interaction-surface.partial.js +1 -2
- package/dist/cjs/components/surface-provider.js +2 -4
- package/dist/cjs/components/text.partial.js +5 -6
- package/dist/cjs/constants.js +2 -3
- package/dist/cjs/internal/color-map.js +2 -3
- package/dist/cjs/internal/role-to-element.js +1 -2
- package/dist/cjs/internal/spacing-scale.js +1 -2
- package/dist/es2019/components/text.partial.js +4 -4
- package/dist/esm/components/text.partial.js +4 -4
- package/dist/types/components/text.partial.d.ts +2 -2
- package/dist/types-ts4.5/components/text.partial.d.ts +2 -2
- package/package.json +2 -2
- package/src/components/text.partial.tsx +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
# @atlaskit/ds-explorations
|
|
2
2
|
|
|
3
|
+
## 2.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40299) [`b1882fdd842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1882fdd842) - Change typography token naming to be more verbose.
|
|
8
|
+
|
|
3
9
|
## 2.3.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`83cd2ae7c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83cd2ae7c5a) - Regenerates codegen artifacts as a result of introducting new visited link token.
|
|
13
|
+
- [#40041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40041) [`83cd2ae7c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83cd2ae7c5a) - Regenerates codegen artifacts as a result of introducting new visited link token.
|
|
8
14
|
- Updated dependencies
|
|
9
15
|
|
|
10
16
|
## 2.3.0
|
|
11
17
|
|
|
12
18
|
### Minor Changes
|
|
13
19
|
|
|
14
|
-
- [`933fd5192d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/933fd5192d6) - - Removes UNSAFE_Box component.
|
|
20
|
+
- [#40054](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40054) [`933fd5192d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/933fd5192d6) - - Removes UNSAFE_Box component.
|
|
15
21
|
- Removes UNSAFE_Inline component.
|
|
16
22
|
- Removes UNSAFE_Stack component.
|
|
17
23
|
|
|
@@ -19,105 +25,105 @@
|
|
|
19
25
|
|
|
20
26
|
### Patch Changes
|
|
21
27
|
|
|
22
|
-
- [`6b3e7af515d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b3e7af515d) - Updates based on new codgen for tokens (no API change).
|
|
28
|
+
- [#39854](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39854) [`6b3e7af515d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b3e7af515d) - Updates based on new codgen for tokens (no API change).
|
|
23
29
|
- Updated dependencies
|
|
24
30
|
|
|
25
31
|
## 2.2.14
|
|
26
32
|
|
|
27
33
|
### Patch Changes
|
|
28
34
|
|
|
29
|
-
- [`813edf2fe03`](https://bitbucket.org/atlassian/atlassian-frontend/commits/813edf2fe03) - Minor internal changes. There is no expected behaviour change.
|
|
35
|
+
- [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578) [`813edf2fe03`](https://bitbucket.org/atlassian/atlassian-frontend/commits/813edf2fe03) - Minor internal changes. There is no expected behaviour change.
|
|
30
36
|
- Updated dependencies
|
|
31
37
|
|
|
32
38
|
## 2.2.13
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
36
|
-
- [`88e4ac397ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88e4ac397ea) - Regenerates codegen artifacts as a result of introducting new accent interaction tokens.
|
|
42
|
+
- [#39430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39430) [`88e4ac397ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88e4ac397ea) - Regenerates codegen artifacts as a result of introducting new accent interaction tokens.
|
|
37
43
|
- Updated dependencies
|
|
38
44
|
|
|
39
45
|
## 2.2.12
|
|
40
46
|
|
|
41
47
|
### Patch Changes
|
|
42
48
|
|
|
43
|
-
- [`437a056278c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/437a056278c) - Update to reflect latest tokens.
|
|
49
|
+
- [#39135](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39135) [`437a056278c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/437a056278c) - Update to reflect latest tokens.
|
|
44
50
|
- Updated dependencies
|
|
45
51
|
|
|
46
52
|
## 2.2.11
|
|
47
53
|
|
|
48
54
|
### Patch Changes
|
|
49
55
|
|
|
50
|
-
- [`103ee1d5dd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/103ee1d5dd4) - Internal updates to generated artifacts.
|
|
56
|
+
- [#38620](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38620) [`103ee1d5dd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/103ee1d5dd4) - Internal updates to generated artifacts.
|
|
51
57
|
|
|
52
58
|
## 2.2.10
|
|
53
59
|
|
|
54
60
|
### Patch Changes
|
|
55
61
|
|
|
56
|
-
- [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal updates for ADS Typography ADG3 theme.
|
|
62
|
+
- [#38433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38433) [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal updates for ADS Typography ADG3 theme.
|
|
57
63
|
- Updated dependencies
|
|
58
64
|
|
|
59
65
|
## 2.2.9
|
|
60
66
|
|
|
61
67
|
### Patch Changes
|
|
62
68
|
|
|
63
|
-
- [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
69
|
+
- [#38209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38209) [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
64
70
|
|
|
65
71
|
## 2.2.8
|
|
66
72
|
|
|
67
73
|
### Patch Changes
|
|
68
74
|
|
|
69
|
-
- [`74f7af9882b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74f7af9882b) - [ux] correct fallback color of token color.border.focused to meet contrast requirement
|
|
75
|
+
- [#37182](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37182) [`74f7af9882b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74f7af9882b) - [ux] correct fallback color of token color.border.focused to meet contrast requirement
|
|
70
76
|
|
|
71
77
|
## 2.2.7
|
|
72
78
|
|
|
73
79
|
### Patch Changes
|
|
74
80
|
|
|
75
|
-
- [`298df94426c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/298df94426c) - Regenerates codegen'd artifacts as a result of introducting new brand background design tokens.
|
|
81
|
+
- [#36967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36967) [`298df94426c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/298df94426c) - Regenerates codegen'd artifacts as a result of introducting new brand background design tokens.
|
|
76
82
|
- Updated dependencies
|
|
77
83
|
|
|
78
84
|
## 2.2.6
|
|
79
85
|
|
|
80
86
|
### Patch Changes
|
|
81
87
|
|
|
82
|
-
- [`27f6081edf2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27f6081edf2) - Regenerates codegen hashes to surface changes to tokens
|
|
88
|
+
- [#36279](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36279) [`27f6081edf2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27f6081edf2) - Regenerates codegen hashes to surface changes to tokens
|
|
83
89
|
|
|
84
90
|
## 2.2.5
|
|
85
91
|
|
|
86
92
|
### Patch Changes
|
|
87
93
|
|
|
88
|
-
- [`7c1c449eb96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c1c449eb96) - Updated space token descriptions.
|
|
94
|
+
- [#36218](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36218) [`7c1c449eb96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c1c449eb96) - Updated space token descriptions.
|
|
89
95
|
|
|
90
96
|
## 2.2.4
|
|
91
97
|
|
|
92
98
|
### Patch Changes
|
|
93
99
|
|
|
94
|
-
- [`267a88221e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/267a88221e8) - Internal change to update codegen.
|
|
100
|
+
- [#36072](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36072) [`267a88221e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/267a88221e8) - Internal change to update codegen.
|
|
95
101
|
|
|
96
102
|
## 2.2.3
|
|
97
103
|
|
|
98
104
|
### Patch Changes
|
|
99
105
|
|
|
100
|
-
- [`55be182b904`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55be182b904) - Regenerates codegen'd artifacts as a result of introducting new design tokens.
|
|
106
|
+
- [#35526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35526) [`55be182b904`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55be182b904) - Regenerates codegen'd artifacts as a result of introducting new design tokens.
|
|
101
107
|
- Updated dependencies
|
|
102
108
|
|
|
103
109
|
## 2.2.2
|
|
104
110
|
|
|
105
111
|
### Patch Changes
|
|
106
112
|
|
|
107
|
-
- [`79e94411a9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79e94411a9c) - Bump to account for regeneration of tokens artifacts.
|
|
113
|
+
- [#35385](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35385) [`79e94411a9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79e94411a9c) - Bump to account for regeneration of tokens artifacts.
|
|
108
114
|
- Updated dependencies
|
|
109
115
|
|
|
110
116
|
## 2.2.1
|
|
111
117
|
|
|
112
118
|
### Patch Changes
|
|
113
119
|
|
|
114
|
-
- [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
120
|
+
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
115
121
|
|
|
116
122
|
## 2.2.0
|
|
117
123
|
|
|
118
124
|
### Minor Changes
|
|
119
125
|
|
|
120
|
-
- [`78a3f27cc3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78a3f27cc3a) - Regenerate style maps based on token updates.
|
|
126
|
+
- [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217) [`78a3f27cc3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78a3f27cc3a) - Regenerate style maps based on token updates.
|
|
121
127
|
|
|
122
128
|
### Patch Changes
|
|
123
129
|
|
|
@@ -127,19 +133,19 @@
|
|
|
127
133
|
|
|
128
134
|
### Patch Changes
|
|
129
135
|
|
|
130
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
136
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
131
137
|
|
|
132
138
|
## 2.1.1
|
|
133
139
|
|
|
134
140
|
### Patch Changes
|
|
135
141
|
|
|
136
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
142
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
137
143
|
|
|
138
144
|
## 2.1.0
|
|
139
145
|
|
|
140
146
|
### Minor Changes
|
|
141
147
|
|
|
142
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
148
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
143
149
|
|
|
144
150
|
### Patch Changes
|
|
145
151
|
|
|
@@ -149,87 +155,87 @@
|
|
|
149
155
|
|
|
150
156
|
### Patch Changes
|
|
151
157
|
|
|
152
|
-
- [`1aa8720a4ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1aa8720a4ff) - Internal refactor.
|
|
158
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`1aa8720a4ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1aa8720a4ff) - Internal refactor.
|
|
153
159
|
|
|
154
160
|
## 2.0.12
|
|
155
161
|
|
|
156
162
|
### Patch Changes
|
|
157
163
|
|
|
158
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
164
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
159
165
|
|
|
160
166
|
## 2.0.11
|
|
161
167
|
|
|
162
168
|
### Patch Changes
|
|
163
169
|
|
|
164
|
-
- [`a02eed2974e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02eed2974e) - Move codegen into @atlassian scope to publish it to private registry
|
|
170
|
+
- [#32311](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32311) [`a02eed2974e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02eed2974e) - Move codegen into @atlassian scope to publish it to private registry
|
|
165
171
|
|
|
166
172
|
## 2.0.10
|
|
167
173
|
|
|
168
174
|
### Patch Changes
|
|
169
175
|
|
|
170
|
-
- [`9fb52345e8d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fb52345e8d) - Update some examples to use Inline and Stack from `@atlaskit/primitives`.
|
|
176
|
+
- [#31378](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31378) [`9fb52345e8d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fb52345e8d) - Update some examples to use Inline and Stack from `@atlaskit/primitives`.
|
|
171
177
|
|
|
172
178
|
## 2.0.9
|
|
173
179
|
|
|
174
180
|
### Patch Changes
|
|
175
181
|
|
|
176
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
182
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
177
183
|
|
|
178
184
|
## 2.0.8
|
|
179
185
|
|
|
180
186
|
### Patch Changes
|
|
181
187
|
|
|
182
|
-
- [`6ce08fbcba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ce08fbcba2) - [ux] Fixed a bug where the `<Box>` `justifyContent` prop was mistakenly applying `alignItems` for `start` and `end` values
|
|
188
|
+
- [#30905](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30905) [`6ce08fbcba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ce08fbcba2) - [ux] Fixed a bug where the `<Box>` `justifyContent` prop was mistakenly applying `alignItems` for `start` and `end` values
|
|
183
189
|
|
|
184
190
|
## 2.0.7
|
|
185
191
|
|
|
186
192
|
### Patch Changes
|
|
187
193
|
|
|
188
|
-
- [`66493433ce9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/66493433ce9) - Removes temporary, internal-only unsafe exports as they now live in @atlaskit/primitives/responsive.
|
|
194
|
+
- [#31127](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31127) [`66493433ce9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/66493433ce9) - Removes temporary, internal-only unsafe exports as they now live in @atlaskit/primitives/responsive.
|
|
189
195
|
|
|
190
196
|
## 2.0.6
|
|
191
197
|
|
|
192
198
|
### Patch Changes
|
|
193
199
|
|
|
194
|
-
- [`4b219ed17bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b219ed17bf) - Breakpoint constants added to be used in responsive spikes initially
|
|
200
|
+
- [#30708](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30708) [`4b219ed17bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b219ed17bf) - Breakpoint constants added to be used in responsive spikes initially
|
|
195
201
|
|
|
196
202
|
## 2.0.5
|
|
197
203
|
|
|
198
204
|
### Patch Changes
|
|
199
205
|
|
|
200
|
-
- [`a70970a5aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a70970a5aab) - Mark Box, Inline, and Stack as deprecated, planned for future removal.
|
|
206
|
+
- [#30487](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30487) [`a70970a5aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a70970a5aab) - Mark Box, Inline, and Stack as deprecated, planned for future removal.
|
|
201
207
|
|
|
202
208
|
## 2.0.4
|
|
203
209
|
|
|
204
210
|
### Patch Changes
|
|
205
211
|
|
|
206
|
-
- [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
212
|
+
- [#30125](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30125) [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
207
213
|
|
|
208
214
|
## 2.0.3
|
|
209
215
|
|
|
210
216
|
### Patch Changes
|
|
211
217
|
|
|
212
|
-
- [`069494fbea6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/069494fbea6) - Internal change. There is no behaviour or visual change.
|
|
218
|
+
- [#29387](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29387) [`069494fbea6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/069494fbea6) - Internal change. There is no behaviour or visual change.
|
|
213
219
|
- Updated dependencies
|
|
214
220
|
|
|
215
221
|
## 2.0.2
|
|
216
222
|
|
|
217
223
|
### Patch Changes
|
|
218
224
|
|
|
219
|
-
- [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes usage of tokens which have been removed from the codebase
|
|
225
|
+
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes usage of tokens which have been removed from the codebase
|
|
220
226
|
- Updated dependencies
|
|
221
227
|
|
|
222
228
|
## 2.0.1
|
|
223
229
|
|
|
224
230
|
### Patch Changes
|
|
225
231
|
|
|
226
|
-
- [`290b1f069bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/290b1f069bd) - Regenerate codegen styles
|
|
232
|
+
- [#28784](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28784) [`290b1f069bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/290b1f069bd) - Regenerate codegen styles
|
|
227
233
|
|
|
228
234
|
## 2.0.0
|
|
229
235
|
|
|
230
236
|
### Major Changes
|
|
231
237
|
|
|
232
|
-
- [`544c409d79f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/544c409d79f) - **Breaking Change**
|
|
238
|
+
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891) [`544c409d79f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/544c409d79f) - **Breaking Change**
|
|
233
239
|
|
|
234
240
|
### `Text`
|
|
235
241
|
|
|
@@ -247,19 +253,19 @@
|
|
|
247
253
|
|
|
248
254
|
### Minor Changes
|
|
249
255
|
|
|
250
|
-
- [`642298a54dc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642298a54dc) - Box - Allow `display` prop to take `inline-block`.
|
|
256
|
+
- [#28165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28165) [`642298a54dc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642298a54dc) - Box - Allow `display` prop to take `inline-block`.
|
|
251
257
|
|
|
252
258
|
## 1.6.4
|
|
253
259
|
|
|
254
260
|
### Patch Changes
|
|
255
261
|
|
|
256
|
-
- [`1e46e236f6f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e46e236f6f) - This changeset exists because a PR touches these packages in a way that doesn't require a release
|
|
262
|
+
- [#27875](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27875) [`1e46e236f6f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e46e236f6f) - This changeset exists because a PR touches these packages in a way that doesn't require a release
|
|
257
263
|
|
|
258
264
|
## 1.6.3
|
|
259
265
|
|
|
260
266
|
### Patch Changes
|
|
261
267
|
|
|
262
|
-
- [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
|
|
268
|
+
- [#28011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28011) [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
|
|
263
269
|
- Updated dependencies
|
|
264
270
|
|
|
265
271
|
## 1.6.2
|
|
@@ -272,49 +278,49 @@
|
|
|
272
278
|
|
|
273
279
|
### Patch Changes
|
|
274
280
|
|
|
275
|
-
- [`f7b2dbd6eba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7b2dbd6eba) - Add fontWeight 600 to Text. Add justifyContent spaceBetween to Inline. Add overflow hidden, position fixed, and start/end flex values to Box. Add shadow and layer props to Box.
|
|
281
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`f7b2dbd6eba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7b2dbd6eba) - Add fontWeight 600 to Text. Add justifyContent spaceBetween to Inline. Add overflow hidden, position fixed, and start/end flex values to Box. Add shadow and layer props to Box.
|
|
276
282
|
|
|
277
283
|
## 1.6.0
|
|
278
284
|
|
|
279
285
|
### Minor Changes
|
|
280
286
|
|
|
281
|
-
- [`9f9498aafb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f9498aafb1) - [ux] Box API introduces `hidden` for `overflow` prop.
|
|
287
|
+
- [#27076](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27076) [`9f9498aafb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f9498aafb1) - [ux] Box API introduces `hidden` for `overflow` prop.
|
|
282
288
|
|
|
283
289
|
## 1.5.0
|
|
284
290
|
|
|
285
291
|
### Minor Changes
|
|
286
292
|
|
|
287
|
-
- [`c146611a18c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c146611a18c) - [ux] Migrate progress-indicator package to use spacing primitives to control spacing in both component and examples. Spacing values have been slightly updated depending on indicator size and spacing properties
|
|
293
|
+
- [#27789](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27789) [`c146611a18c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c146611a18c) - [ux] Migrate progress-indicator package to use spacing primitives to control spacing in both component and examples. Spacing values have been slightly updated depending on indicator size and spacing properties
|
|
288
294
|
|
|
289
295
|
## 1.4.0
|
|
290
296
|
|
|
291
297
|
### Minor Changes
|
|
292
298
|
|
|
293
|
-
- [`7f886c0aa18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f886c0aa18) - The `Inline` component now allows children to be justified 'space-between'.
|
|
299
|
+
- [#27894](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27894) [`7f886c0aa18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f886c0aa18) - The `Inline` component now allows children to be justified 'space-between'.
|
|
294
300
|
|
|
295
301
|
## 1.3.2
|
|
296
302
|
|
|
297
303
|
### Patch Changes
|
|
298
304
|
|
|
299
|
-
- [`f824dcfff6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f824dcfff6e) - Internal changes to satisfy various lint warnings & errors
|
|
305
|
+
- [#27629](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27629) [`f824dcfff6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f824dcfff6e) - Internal changes to satisfy various lint warnings & errors
|
|
300
306
|
|
|
301
307
|
## 1.3.1
|
|
302
308
|
|
|
303
309
|
### Patch Changes
|
|
304
310
|
|
|
305
|
-
- [`04f01205c6b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04f01205c6b) - Applies rem instead of pixels as spacing tokens fallbacks. This should have no visual or behavioural change.
|
|
311
|
+
- [#27433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27433) [`04f01205c6b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04f01205c6b) - Applies rem instead of pixels as spacing tokens fallbacks. This should have no visual or behavioural change.
|
|
306
312
|
|
|
307
313
|
## 1.3.0
|
|
308
314
|
|
|
309
315
|
### Minor Changes
|
|
310
316
|
|
|
311
|
-
- [`7d6e345cd63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d6e345cd63) - Bump to account for bump in `@atlaskit/tokens`.
|
|
317
|
+
- [#27482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27482) [`7d6e345cd63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d6e345cd63) - Bump to account for bump in `@atlaskit/tokens`.
|
|
312
318
|
|
|
313
319
|
## 1.2.2
|
|
314
320
|
|
|
315
321
|
### Patch Changes
|
|
316
322
|
|
|
317
|
-
- [`1dec7b39f7b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dec7b39f7b) - - Children are only iterated over when divider prop is passed. There should be no behaviour change.
|
|
323
|
+
- [#27209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27209) [`1dec7b39f7b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dec7b39f7b) - - Children are only iterated over when divider prop is passed. There should be no behaviour change.
|
|
318
324
|
- Add `user-select: none;` to divider.
|
|
319
325
|
|
|
320
326
|
## 1.2.1
|
|
@@ -327,20 +333,20 @@
|
|
|
327
333
|
|
|
328
334
|
### Minor Changes
|
|
329
335
|
|
|
330
|
-
- [`e6fb7598867`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fb7598867) - Exposes additional public entrypoints for `Inline` and `Stack`.
|
|
336
|
+
- [#26801](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26801) [`e6fb7598867`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fb7598867) - Exposes additional public entrypoints for `Inline` and `Stack`.
|
|
331
337
|
Loosens the types of `children` for the `Inline`, `Stack` and `Box` as it was causing unexpected friction.
|
|
332
338
|
|
|
333
339
|
## 1.1.0
|
|
334
340
|
|
|
335
341
|
### Minor Changes
|
|
336
342
|
|
|
337
|
-
- [`93d75a4e289`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d75a4e289) - Adding id prop for Text component so that element can be updated with id attribute. It's a way for an element to be uniquely identifiable for a range of reasons. For example: URL anchors, reference target for integrations and accessible label references.
|
|
343
|
+
- [#26803](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26803) [`93d75a4e289`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d75a4e289) - Adding id prop for Text component so that element can be updated with id attribute. It's a way for an element to be uniquely identifiable for a range of reasons. For example: URL anchors, reference target for integrations and accessible label references.
|
|
338
344
|
|
|
339
345
|
## 1.0.0
|
|
340
346
|
|
|
341
347
|
### Major Changes
|
|
342
348
|
|
|
343
|
-
- [`30c6ec5a76f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c6ec5a76f) - **Breaking Change**
|
|
349
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`30c6ec5a76f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c6ec5a76f) - **Breaking Change**
|
|
344
350
|
|
|
345
351
|
The package has been moved to a v1 state. It is no less or more stable (see readme for more information) however this update is to ensure that the consumption of minor versions for the package in downstream dependencies is correctly resolved.
|
|
346
352
|
|
|
@@ -362,7 +368,7 @@
|
|
|
362
368
|
|
|
363
369
|
### Patch Changes
|
|
364
370
|
|
|
365
|
-
- [`7014fd08976`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7014fd08976) - [ux] Inline gap prop now internally sets column-gap; Stack gap prop now internally sets row-gap
|
|
371
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`7014fd08976`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7014fd08976) - [ux] Inline gap prop now internally sets column-gap; Stack gap prop now internally sets row-gap
|
|
366
372
|
- [`ba660f4f76f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba660f4f76f) - Add `start` and `end` values to Stack and Inline flex properties.
|
|
367
373
|
- [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update internals of Box, Text, Inline and Stack to handle `children` more accurately.
|
|
368
374
|
Also update scope of `use-primitives` to suggest Box and Text more selectively.
|
|
@@ -373,19 +379,19 @@
|
|
|
373
379
|
|
|
374
380
|
### Patch Changes
|
|
375
381
|
|
|
376
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
382
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
377
383
|
|
|
378
384
|
## 0.1.3
|
|
379
385
|
|
|
380
386
|
### Patch Changes
|
|
381
387
|
|
|
382
|
-
- [`d6328e5e1ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6328e5e1ec) - Removes the default values for `<Text />`.
|
|
388
|
+
- [#24929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24929) [`d6328e5e1ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6328e5e1ec) - Removes the default values for `<Text />`.
|
|
383
389
|
|
|
384
390
|
## 0.1.2
|
|
385
391
|
|
|
386
392
|
### Patch Changes
|
|
387
393
|
|
|
388
|
-
- [`37246e87cfc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37246e87cfc) - Adds position static to Box.
|
|
394
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`37246e87cfc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37246e87cfc) - Adds position static to Box.
|
|
389
395
|
Changes lozenge to use position static instead of relative.
|
|
390
396
|
- [`09c2fef4837`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09c2fef4837) - Introduces a `className` to `Box`.
|
|
391
397
|
- [`862d3b09b49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/862d3b09b49) - Add `shouldTruncate` prop to Text to enable truncating text with an ellipsis. Defaults to false.
|
|
@@ -396,13 +402,13 @@
|
|
|
396
402
|
|
|
397
403
|
### Patch Changes
|
|
398
404
|
|
|
399
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
405
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
400
406
|
|
|
401
407
|
## 0.1.0
|
|
402
408
|
|
|
403
409
|
### Minor Changes
|
|
404
410
|
|
|
405
|
-
- [`57b94585c64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57b94585c64) - Breaking change to the color props which now require a fallback. Generated colors now also include additional background color types.
|
|
411
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`57b94585c64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57b94585c64) - Breaking change to the color props which now require a fallback. Generated colors now also include additional background color types.
|
|
406
412
|
- [`57c59a5c2d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c59a5c2d2) - Initial implementation of UNSAFE_Box
|
|
407
413
|
|
|
408
414
|
### Patch Changes
|
|
@@ -417,17 +423,17 @@
|
|
|
417
423
|
|
|
418
424
|
### Patch Changes
|
|
419
425
|
|
|
420
|
-
- [`40151c42d7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40151c42d7d) - Update background, text and icon disabled colors to use alpha base tokens
|
|
426
|
+
- [#23579](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23579) [`40151c42d7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40151c42d7d) - Update background, text and icon disabled colors to use alpha base tokens
|
|
421
427
|
|
|
422
428
|
## 0.0.2
|
|
423
429
|
|
|
424
430
|
### Patch Changes
|
|
425
431
|
|
|
426
|
-
- [`232b2b765b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/232b2b765b9) - Internal changes to the way styles are created for the `Box` and `Text` components. Both components now use a wrapper over the `af/codegen`'s expected API to generate styles and types from the tokens package.
|
|
432
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`232b2b765b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/232b2b765b9) - Internal changes to the way styles are created for the `Box` and `Text` components. Both components now use a wrapper over the `af/codegen`'s expected API to generate styles and types from the tokens package.
|
|
427
433
|
- [`29b8b26ee79`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29b8b26ee79) - Updates Box, Text to include partial implementations to spike and experiment with different usages.
|
|
428
434
|
|
|
429
435
|
## 0.0.1
|
|
430
436
|
|
|
431
437
|
### Patch Changes
|
|
432
438
|
|
|
433
|
-
- [`f7edb043597`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7edb043597) - Initial release, no API exposed.
|
|
439
|
+
- [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`f7edb043597`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7edb043597) - Initial release, no API exposed.
|
|
@@ -50,7 +50,7 @@ var InteractionSurface = function InteractionSurface(_ref) {
|
|
|
50
50
|
css: [baseStyles, surface && backgroundHoverColorMap[surface], surface && backgroundActiveColorMap[surface]]
|
|
51
51
|
}), children);
|
|
52
52
|
};
|
|
53
|
-
var _default = InteractionSurface;
|
|
53
|
+
var _default = exports.default = InteractionSurface;
|
|
54
54
|
/**
|
|
55
55
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
56
56
|
* @codegen <<SignedSource::b4ea5e1af482e869a4e0a65e8080cfbf>>
|
|
@@ -59,7 +59,6 @@ var _default = InteractionSurface;
|
|
|
59
59
|
* @codegenParams ["background"]
|
|
60
60
|
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
61
61
|
*/
|
|
62
|
-
exports.default = _default;
|
|
63
62
|
var backgroundActiveColorMap = {
|
|
64
63
|
'accent.lime.subtlest': (0, _react2.css)({
|
|
65
64
|
':active': {
|
|
@@ -10,7 +10,7 @@ var _react = require("react");
|
|
|
10
10
|
*
|
|
11
11
|
* A surface context provides context information on the current background (if set).
|
|
12
12
|
*/
|
|
13
|
-
var SurfaceContext = /*#__PURE__*/(0, _react.createContext)('elevation.surface');
|
|
13
|
+
var SurfaceContext = exports.SurfaceContext = /*#__PURE__*/(0, _react.createContext)('elevation.surface');
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* __useSurface__
|
|
@@ -19,9 +19,7 @@ var SurfaceContext = /*#__PURE__*/(0, _react.createContext)('elevation.surface')
|
|
|
19
19
|
*
|
|
20
20
|
* @see SurfaceContext
|
|
21
21
|
*/
|
|
22
|
-
exports.
|
|
23
|
-
var useSurface = function useSurface() {
|
|
22
|
+
var useSurface = exports.useSurface = function useSurface() {
|
|
24
23
|
return (0, _react.useContext)(SurfaceContext);
|
|
25
24
|
};
|
|
26
|
-
exports.useSurface = useSurface;
|
|
27
25
|
SurfaceContext.displayName = 'SurfaceProvider';
|
|
@@ -132,16 +132,15 @@ var Text = function Text(_ref) {
|
|
|
132
132
|
value: true
|
|
133
133
|
}, component);
|
|
134
134
|
};
|
|
135
|
-
var _default = Text;
|
|
135
|
+
var _default = exports.default = Text;
|
|
136
136
|
/**
|
|
137
137
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
138
|
-
* @codegen <<SignedSource::
|
|
138
|
+
* @codegen <<SignedSource::14dcf59f69533f453ffa8a5c5d165d19>>
|
|
139
139
|
* @codegenId typography
|
|
140
140
|
* @codegenCommand yarn codegen-styles
|
|
141
141
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
142
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
142
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::b01e60e475c0cb12960865631f2b4e2c>>
|
|
143
143
|
*/
|
|
144
|
-
exports.default = _default;
|
|
145
144
|
var fontSizeMap = {
|
|
146
145
|
'size.050': (0, _react2.css)({
|
|
147
146
|
fontSize: "var(--ds-font-size-050, 11px)"
|
|
@@ -184,7 +183,7 @@ var fontWeightMap = {
|
|
|
184
183
|
};
|
|
185
184
|
var fontFamilyMap = {
|
|
186
185
|
body: (0, _react2.css)({
|
|
187
|
-
fontFamily: "var(--ds-font-family-body, ui-sans-serif, \"Segoe UI\", system-ui,
|
|
186
|
+
fontFamily: "var(--ds-font-family-body, ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
188
187
|
}),
|
|
189
188
|
brand: (0, _react2.css)({
|
|
190
189
|
fontFamily: "var(--ds-font-family-brand, Charlie Sans)"
|
|
@@ -193,7 +192,7 @@ var fontFamilyMap = {
|
|
|
193
192
|
fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
|
|
194
193
|
}),
|
|
195
194
|
heading: (0, _react2.css)({
|
|
196
|
-
fontFamily: "var(--ds-font-family-heading, ui-sans-serif, \"Segoe UI\", system-ui,
|
|
195
|
+
fontFamily: "var(--ds-font-family-heading, ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
197
196
|
}),
|
|
198
197
|
monospace: (0, _react2.css)({
|
|
199
198
|
fontFamily: "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
|
package/dist/cjs/constants.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.LAYERS = void 0;
|
|
7
|
-
var LAYERS = {
|
|
7
|
+
var LAYERS = exports.LAYERS = {
|
|
8
8
|
card: 100,
|
|
9
9
|
navigation: 200,
|
|
10
10
|
dialog: 300,
|
|
@@ -14,5 +14,4 @@ var LAYERS = {
|
|
|
14
14
|
flag: 600,
|
|
15
15
|
spotlight: 700,
|
|
16
16
|
tooltip: 800
|
|
17
|
-
};
|
|
18
|
-
exports.LAYERS = LAYERS;
|
|
17
|
+
};
|
|
@@ -13,7 +13,7 @@ exports.default = void 0;
|
|
|
13
13
|
* @codegenCommand yarn codegen-styles
|
|
14
14
|
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
15
15
|
*/
|
|
16
|
-
var _default = {
|
|
16
|
+
var _default = exports.default = {
|
|
17
17
|
'neutral.bold': 'inverse',
|
|
18
18
|
'neutral.bold.hovered': 'inverse',
|
|
19
19
|
'neutral.bold.pressed': 'inverse',
|
|
@@ -41,5 +41,4 @@ var _default = {
|
|
|
41
41
|
'information.bold': 'inverse',
|
|
42
42
|
'information.bold.hovered': 'inverse',
|
|
43
43
|
'information.bold.pressed': 'inverse'
|
|
44
|
-
};
|
|
45
|
-
exports.default = _default;
|
|
44
|
+
};
|
|
@@ -12,5 +12,4 @@ exports.spacingScale = void 0;
|
|
|
12
12
|
* @codegen <<SignedSource::885d6c601dfa9fccaf33a7bd461ef59d>>
|
|
13
13
|
* @codegenCommand yarn codegen-styles
|
|
14
14
|
*/
|
|
15
|
-
var spacingScale = ['space.0', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000'];
|
|
16
|
-
exports.spacingScale = spacingScale;
|
|
15
|
+
var spacingScale = exports.spacingScale = ['space.0', 'space.025', 'space.050', 'space.075', 'space.100', 'space.150', 'space.200', 'space.250', 'space.300', 'space.400', 'space.500', 'space.600', 'space.800', 'space.1000'];
|
|
@@ -126,11 +126,11 @@ export default Text;
|
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
129
|
-
* @codegen <<SignedSource::
|
|
129
|
+
* @codegen <<SignedSource::14dcf59f69533f453ffa8a5c5d165d19>>
|
|
130
130
|
* @codegenId typography
|
|
131
131
|
* @codegenCommand yarn codegen-styles
|
|
132
132
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
133
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
133
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::b01e60e475c0cb12960865631f2b4e2c>>
|
|
134
134
|
*/
|
|
135
135
|
const fontSizeMap = {
|
|
136
136
|
'size.050': css({
|
|
@@ -174,7 +174,7 @@ const fontWeightMap = {
|
|
|
174
174
|
};
|
|
175
175
|
const fontFamilyMap = {
|
|
176
176
|
body: css({
|
|
177
|
-
fontFamily: "var(--ds-font-family-body, ui-sans-serif, \"Segoe UI\", system-ui,
|
|
177
|
+
fontFamily: "var(--ds-font-family-body, ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
178
178
|
}),
|
|
179
179
|
brand: css({
|
|
180
180
|
fontFamily: "var(--ds-font-family-brand, Charlie Sans)"
|
|
@@ -183,7 +183,7 @@ const fontFamilyMap = {
|
|
|
183
183
|
fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
|
|
184
184
|
}),
|
|
185
185
|
heading: css({
|
|
186
|
-
fontFamily: "var(--ds-font-family-heading, ui-sans-serif, \"Segoe UI\", system-ui,
|
|
186
|
+
fontFamily: "var(--ds-font-family-heading, ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
187
187
|
}),
|
|
188
188
|
monospace: css({
|
|
189
189
|
fontFamily: "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
|
|
@@ -129,11 +129,11 @@ export default Text;
|
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
132
|
-
* @codegen <<SignedSource::
|
|
132
|
+
* @codegen <<SignedSource::14dcf59f69533f453ffa8a5c5d165d19>>
|
|
133
133
|
* @codegenId typography
|
|
134
134
|
* @codegenCommand yarn codegen-styles
|
|
135
135
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
136
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
136
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::b01e60e475c0cb12960865631f2b4e2c>>
|
|
137
137
|
*/
|
|
138
138
|
var fontSizeMap = {
|
|
139
139
|
'size.050': css({
|
|
@@ -177,7 +177,7 @@ var fontWeightMap = {
|
|
|
177
177
|
};
|
|
178
178
|
var fontFamilyMap = {
|
|
179
179
|
body: css({
|
|
180
|
-
fontFamily: "var(--ds-font-family-body, ui-sans-serif, \"Segoe UI\", system-ui,
|
|
180
|
+
fontFamily: "var(--ds-font-family-body, ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
181
181
|
}),
|
|
182
182
|
brand: css({
|
|
183
183
|
fontFamily: "var(--ds-font-family-brand, Charlie Sans)"
|
|
@@ -186,7 +186,7 @@ var fontFamilyMap = {
|
|
|
186
186
|
fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
|
|
187
187
|
}),
|
|
188
188
|
heading: css({
|
|
189
|
-
fontFamily: "var(--ds-font-family-heading, ui-sans-serif, \"Segoe UI\", system-ui,
|
|
189
|
+
fontFamily: "var(--ds-font-family-heading, ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
190
190
|
}),
|
|
191
191
|
monospace: css({
|
|
192
192
|
fontFamily: "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
|
|
@@ -81,11 +81,11 @@ declare const Text: FC<TextProps>;
|
|
|
81
81
|
export default Text;
|
|
82
82
|
/**
|
|
83
83
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
84
|
-
* @codegen <<SignedSource::
|
|
84
|
+
* @codegen <<SignedSource::14dcf59f69533f453ffa8a5c5d165d19>>
|
|
85
85
|
* @codegenId typography
|
|
86
86
|
* @codegenCommand yarn codegen-styles
|
|
87
87
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
88
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
88
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::b01e60e475c0cb12960865631f2b4e2c>>
|
|
89
89
|
*/
|
|
90
90
|
declare const fontSizeMap: {
|
|
91
91
|
'size.050': import("@emotion/react").SerializedStyles;
|
|
@@ -86,11 +86,11 @@ declare const Text: FC<TextProps>;
|
|
|
86
86
|
export default Text;
|
|
87
87
|
/**
|
|
88
88
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
89
|
-
* @codegen <<SignedSource::
|
|
89
|
+
* @codegen <<SignedSource::14dcf59f69533f453ffa8a5c5d165d19>>
|
|
90
90
|
* @codegenId typography
|
|
91
91
|
* @codegenCommand yarn codegen-styles
|
|
92
92
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
93
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
93
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::b01e60e475c0cb12960865631f2b4e2c>>
|
|
94
94
|
*/
|
|
95
95
|
declare const fontSizeMap: {
|
|
96
96
|
'size.050': import("@emotion/react").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ds-explorations",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "An experimental package for exploration and validation of spacing / typography foundations.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/primitives": "^1.6.0",
|
|
29
|
-
"@atlaskit/tokens": "^1.
|
|
29
|
+
"@atlaskit/tokens": "^1.25.0",
|
|
30
30
|
"@babel/runtime": "^7.0.0",
|
|
31
31
|
"@emotion/react": "^11.7.1",
|
|
32
32
|
"tiny-invariant": "^1.2.0"
|
|
@@ -195,11 +195,11 @@ export default Text;
|
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
198
|
-
* @codegen <<SignedSource::
|
|
198
|
+
* @codegen <<SignedSource::14dcf59f69533f453ffa8a5c5d165d19>>
|
|
199
199
|
* @codegenId typography
|
|
200
200
|
* @codegenCommand yarn codegen-styles
|
|
201
201
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
202
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
202
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::b01e60e475c0cb12960865631f2b4e2c>>
|
|
203
203
|
*/
|
|
204
204
|
const fontSizeMap = {
|
|
205
205
|
'size.050': css({
|
|
@@ -251,7 +251,7 @@ const fontFamilyMap = {
|
|
|
251
251
|
body: css({
|
|
252
252
|
fontFamily: token(
|
|
253
253
|
'font.family.body',
|
|
254
|
-
'ui-sans-serif, "Segoe UI", system-ui,
|
|
254
|
+
'ui-sans-serif, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
255
255
|
),
|
|
256
256
|
}),
|
|
257
257
|
brand: css({
|
|
@@ -266,7 +266,7 @@ const fontFamilyMap = {
|
|
|
266
266
|
heading: css({
|
|
267
267
|
fontFamily: token(
|
|
268
268
|
'font.family.heading',
|
|
269
|
-
'ui-sans-serif, "Segoe UI", system-ui,
|
|
269
|
+
'ui-sans-serif, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
270
270
|
),
|
|
271
271
|
}),
|
|
272
272
|
monospace: css({
|