@atlaskit/ds-explorations 2.3.0 → 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 +70 -57
- package/dist/cjs/components/interaction-surface.partial.js +3 -4
- package/dist/cjs/components/surface-provider.js +2 -4
- package/dist/cjs/components/text.partial.js +7 -8
- package/dist/cjs/constants.js +2 -3
- package/dist/cjs/internal/color-map.js +4 -5
- package/dist/cjs/internal/role-to-element.js +1 -2
- package/dist/cjs/internal/spacing-scale.js +1 -2
- package/dist/es2019/components/interaction-surface.partial.js +2 -2
- package/dist/es2019/components/text.partial.js +6 -6
- package/dist/es2019/internal/color-map.js +2 -2
- package/dist/esm/components/interaction-surface.partial.js +2 -2
- package/dist/esm/components/text.partial.js +6 -6
- package/dist/esm/internal/color-map.js +2 -2
- package/dist/types/components/text.partial.d.ts +4 -4
- package/dist/types/internal/color-map.d.ts +2 -2
- package/dist/types-ts4.5/components/text.partial.d.ts +4 -4
- package/dist/types-ts4.5/internal/color-map.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/interaction-surface.partial.tsx +2 -2
- package/src/components/text.partial.tsx +6 -6
- package/src/internal/color-map.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +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
|
+
|
|
9
|
+
## 2.3.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
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.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 2.3.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
6
19
|
|
|
7
|
-
- [`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.
|
|
8
21
|
- Removes UNSAFE_Inline component.
|
|
9
22
|
- Removes UNSAFE_Stack component.
|
|
10
23
|
|
|
@@ -12,105 +25,105 @@
|
|
|
12
25
|
|
|
13
26
|
### Patch Changes
|
|
14
27
|
|
|
15
|
-
- [`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).
|
|
16
29
|
- Updated dependencies
|
|
17
30
|
|
|
18
31
|
## 2.2.14
|
|
19
32
|
|
|
20
33
|
### Patch Changes
|
|
21
34
|
|
|
22
|
-
- [`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.
|
|
23
36
|
- Updated dependencies
|
|
24
37
|
|
|
25
38
|
## 2.2.13
|
|
26
39
|
|
|
27
40
|
### Patch Changes
|
|
28
41
|
|
|
29
|
-
- [`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.
|
|
30
43
|
- Updated dependencies
|
|
31
44
|
|
|
32
45
|
## 2.2.12
|
|
33
46
|
|
|
34
47
|
### Patch Changes
|
|
35
48
|
|
|
36
|
-
- [`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.
|
|
37
50
|
- Updated dependencies
|
|
38
51
|
|
|
39
52
|
## 2.2.11
|
|
40
53
|
|
|
41
54
|
### Patch Changes
|
|
42
55
|
|
|
43
|
-
- [`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.
|
|
44
57
|
|
|
45
58
|
## 2.2.10
|
|
46
59
|
|
|
47
60
|
### Patch Changes
|
|
48
61
|
|
|
49
|
-
- [`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.
|
|
50
63
|
- Updated dependencies
|
|
51
64
|
|
|
52
65
|
## 2.2.9
|
|
53
66
|
|
|
54
67
|
### Patch Changes
|
|
55
68
|
|
|
56
|
-
- [`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
|
|
57
70
|
|
|
58
71
|
## 2.2.8
|
|
59
72
|
|
|
60
73
|
### Patch Changes
|
|
61
74
|
|
|
62
|
-
- [`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
|
|
63
76
|
|
|
64
77
|
## 2.2.7
|
|
65
78
|
|
|
66
79
|
### Patch Changes
|
|
67
80
|
|
|
68
|
-
- [`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.
|
|
69
82
|
- Updated dependencies
|
|
70
83
|
|
|
71
84
|
## 2.2.6
|
|
72
85
|
|
|
73
86
|
### Patch Changes
|
|
74
87
|
|
|
75
|
-
- [`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
|
|
76
89
|
|
|
77
90
|
## 2.2.5
|
|
78
91
|
|
|
79
92
|
### Patch Changes
|
|
80
93
|
|
|
81
|
-
- [`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.
|
|
82
95
|
|
|
83
96
|
## 2.2.4
|
|
84
97
|
|
|
85
98
|
### Patch Changes
|
|
86
99
|
|
|
87
|
-
- [`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.
|
|
88
101
|
|
|
89
102
|
## 2.2.3
|
|
90
103
|
|
|
91
104
|
### Patch Changes
|
|
92
105
|
|
|
93
|
-
- [`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.
|
|
94
107
|
- Updated dependencies
|
|
95
108
|
|
|
96
109
|
## 2.2.2
|
|
97
110
|
|
|
98
111
|
### Patch Changes
|
|
99
112
|
|
|
100
|
-
- [`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.
|
|
101
114
|
- Updated dependencies
|
|
102
115
|
|
|
103
116
|
## 2.2.1
|
|
104
117
|
|
|
105
118
|
### Patch Changes
|
|
106
119
|
|
|
107
|
-
- [`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
|
|
108
121
|
|
|
109
122
|
## 2.2.0
|
|
110
123
|
|
|
111
124
|
### Minor Changes
|
|
112
125
|
|
|
113
|
-
- [`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.
|
|
114
127
|
|
|
115
128
|
### Patch Changes
|
|
116
129
|
|
|
@@ -120,19 +133,19 @@
|
|
|
120
133
|
|
|
121
134
|
### Patch Changes
|
|
122
135
|
|
|
123
|
-
- [`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
|
|
124
137
|
|
|
125
138
|
## 2.1.1
|
|
126
139
|
|
|
127
140
|
### Patch Changes
|
|
128
141
|
|
|
129
|
-
- [`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`
|
|
130
143
|
|
|
131
144
|
## 2.1.0
|
|
132
145
|
|
|
133
146
|
### Minor Changes
|
|
134
147
|
|
|
135
|
-
- [`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
|
|
136
149
|
|
|
137
150
|
### Patch Changes
|
|
138
151
|
|
|
@@ -142,87 +155,87 @@
|
|
|
142
155
|
|
|
143
156
|
### Patch Changes
|
|
144
157
|
|
|
145
|
-
- [`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.
|
|
146
159
|
|
|
147
160
|
## 2.0.12
|
|
148
161
|
|
|
149
162
|
### Patch Changes
|
|
150
163
|
|
|
151
|
-
- [`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
|
|
152
165
|
|
|
153
166
|
## 2.0.11
|
|
154
167
|
|
|
155
168
|
### Patch Changes
|
|
156
169
|
|
|
157
|
-
- [`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
|
|
158
171
|
|
|
159
172
|
## 2.0.10
|
|
160
173
|
|
|
161
174
|
### Patch Changes
|
|
162
175
|
|
|
163
|
-
- [`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`.
|
|
164
177
|
|
|
165
178
|
## 2.0.9
|
|
166
179
|
|
|
167
180
|
### Patch Changes
|
|
168
181
|
|
|
169
|
-
- [`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.
|
|
170
183
|
|
|
171
184
|
## 2.0.8
|
|
172
185
|
|
|
173
186
|
### Patch Changes
|
|
174
187
|
|
|
175
|
-
- [`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
|
|
176
189
|
|
|
177
190
|
## 2.0.7
|
|
178
191
|
|
|
179
192
|
### Patch Changes
|
|
180
193
|
|
|
181
|
-
- [`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.
|
|
182
195
|
|
|
183
196
|
## 2.0.6
|
|
184
197
|
|
|
185
198
|
### Patch Changes
|
|
186
199
|
|
|
187
|
-
- [`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
|
|
188
201
|
|
|
189
202
|
## 2.0.5
|
|
190
203
|
|
|
191
204
|
### Patch Changes
|
|
192
205
|
|
|
193
|
-
- [`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.
|
|
194
207
|
|
|
195
208
|
## 2.0.4
|
|
196
209
|
|
|
197
210
|
### Patch Changes
|
|
198
211
|
|
|
199
|
-
- [`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.
|
|
200
213
|
|
|
201
214
|
## 2.0.3
|
|
202
215
|
|
|
203
216
|
### Patch Changes
|
|
204
217
|
|
|
205
|
-
- [`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.
|
|
206
219
|
- Updated dependencies
|
|
207
220
|
|
|
208
221
|
## 2.0.2
|
|
209
222
|
|
|
210
223
|
### Patch Changes
|
|
211
224
|
|
|
212
|
-
- [`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
|
|
213
226
|
- Updated dependencies
|
|
214
227
|
|
|
215
228
|
## 2.0.1
|
|
216
229
|
|
|
217
230
|
### Patch Changes
|
|
218
231
|
|
|
219
|
-
- [`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
|
|
220
233
|
|
|
221
234
|
## 2.0.0
|
|
222
235
|
|
|
223
236
|
### Major Changes
|
|
224
237
|
|
|
225
|
-
- [`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**
|
|
226
239
|
|
|
227
240
|
### `Text`
|
|
228
241
|
|
|
@@ -240,19 +253,19 @@
|
|
|
240
253
|
|
|
241
254
|
### Minor Changes
|
|
242
255
|
|
|
243
|
-
- [`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`.
|
|
244
257
|
|
|
245
258
|
## 1.6.4
|
|
246
259
|
|
|
247
260
|
### Patch Changes
|
|
248
261
|
|
|
249
|
-
- [`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
|
|
250
263
|
|
|
251
264
|
## 1.6.3
|
|
252
265
|
|
|
253
266
|
### Patch Changes
|
|
254
267
|
|
|
255
|
-
- [`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
|
|
256
269
|
- Updated dependencies
|
|
257
270
|
|
|
258
271
|
## 1.6.2
|
|
@@ -265,49 +278,49 @@
|
|
|
265
278
|
|
|
266
279
|
### Patch Changes
|
|
267
280
|
|
|
268
|
-
- [`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.
|
|
269
282
|
|
|
270
283
|
## 1.6.0
|
|
271
284
|
|
|
272
285
|
### Minor Changes
|
|
273
286
|
|
|
274
|
-
- [`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.
|
|
275
288
|
|
|
276
289
|
## 1.5.0
|
|
277
290
|
|
|
278
291
|
### Minor Changes
|
|
279
292
|
|
|
280
|
-
- [`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
|
|
281
294
|
|
|
282
295
|
## 1.4.0
|
|
283
296
|
|
|
284
297
|
### Minor Changes
|
|
285
298
|
|
|
286
|
-
- [`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'.
|
|
287
300
|
|
|
288
301
|
## 1.3.2
|
|
289
302
|
|
|
290
303
|
### Patch Changes
|
|
291
304
|
|
|
292
|
-
- [`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
|
|
293
306
|
|
|
294
307
|
## 1.3.1
|
|
295
308
|
|
|
296
309
|
### Patch Changes
|
|
297
310
|
|
|
298
|
-
- [`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.
|
|
299
312
|
|
|
300
313
|
## 1.3.0
|
|
301
314
|
|
|
302
315
|
### Minor Changes
|
|
303
316
|
|
|
304
|
-
- [`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`.
|
|
305
318
|
|
|
306
319
|
## 1.2.2
|
|
307
320
|
|
|
308
321
|
### Patch Changes
|
|
309
322
|
|
|
310
|
-
- [`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.
|
|
311
324
|
- Add `user-select: none;` to divider.
|
|
312
325
|
|
|
313
326
|
## 1.2.1
|
|
@@ -320,20 +333,20 @@
|
|
|
320
333
|
|
|
321
334
|
### Minor Changes
|
|
322
335
|
|
|
323
|
-
- [`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`.
|
|
324
337
|
Loosens the types of `children` for the `Inline`, `Stack` and `Box` as it was causing unexpected friction.
|
|
325
338
|
|
|
326
339
|
## 1.1.0
|
|
327
340
|
|
|
328
341
|
### Minor Changes
|
|
329
342
|
|
|
330
|
-
- [`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.
|
|
331
344
|
|
|
332
345
|
## 1.0.0
|
|
333
346
|
|
|
334
347
|
### Major Changes
|
|
335
348
|
|
|
336
|
-
- [`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**
|
|
337
350
|
|
|
338
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.
|
|
339
352
|
|
|
@@ -355,7 +368,7 @@
|
|
|
355
368
|
|
|
356
369
|
### Patch Changes
|
|
357
370
|
|
|
358
|
-
- [`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
|
|
359
372
|
- [`ba660f4f76f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba660f4f76f) - Add `start` and `end` values to Stack and Inline flex properties.
|
|
360
373
|
- [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update internals of Box, Text, Inline and Stack to handle `children` more accurately.
|
|
361
374
|
Also update scope of `use-primitives` to suggest Box and Text more selectively.
|
|
@@ -366,19 +379,19 @@
|
|
|
366
379
|
|
|
367
380
|
### Patch Changes
|
|
368
381
|
|
|
369
|
-
- [`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`
|
|
370
383
|
|
|
371
384
|
## 0.1.3
|
|
372
385
|
|
|
373
386
|
### Patch Changes
|
|
374
387
|
|
|
375
|
-
- [`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 />`.
|
|
376
389
|
|
|
377
390
|
## 0.1.2
|
|
378
391
|
|
|
379
392
|
### Patch Changes
|
|
380
393
|
|
|
381
|
-
- [`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.
|
|
382
395
|
Changes lozenge to use position static instead of relative.
|
|
383
396
|
- [`09c2fef4837`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09c2fef4837) - Introduces a `className` to `Box`.
|
|
384
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.
|
|
@@ -389,13 +402,13 @@
|
|
|
389
402
|
|
|
390
403
|
### Patch Changes
|
|
391
404
|
|
|
392
|
-
- [`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`.
|
|
393
406
|
|
|
394
407
|
## 0.1.0
|
|
395
408
|
|
|
396
409
|
### Minor Changes
|
|
397
410
|
|
|
398
|
-
- [`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.
|
|
399
412
|
- [`57c59a5c2d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c59a5c2d2) - Initial implementation of UNSAFE_Box
|
|
400
413
|
|
|
401
414
|
### Patch Changes
|
|
@@ -410,17 +423,17 @@
|
|
|
410
423
|
|
|
411
424
|
### Patch Changes
|
|
412
425
|
|
|
413
|
-
- [`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
|
|
414
427
|
|
|
415
428
|
## 0.0.2
|
|
416
429
|
|
|
417
430
|
### Patch Changes
|
|
418
431
|
|
|
419
|
-
- [`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.
|
|
420
433
|
- [`29b8b26ee79`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29b8b26ee79) - Updates Box, Text to include partial implementations to spike and experiment with different usages.
|
|
421
434
|
|
|
422
435
|
## 0.0.1
|
|
423
436
|
|
|
424
437
|
### Patch Changes
|
|
425
438
|
|
|
426
|
-
- [`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,16 +50,15 @@ 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
|
-
* @codegen <<SignedSource::
|
|
56
|
+
* @codegen <<SignedSource::b4ea5e1af482e869a4e0a65e8080cfbf>>
|
|
57
57
|
* @codegenId interactions
|
|
58
58
|
* @codegenCommand yarn codegen-styles
|
|
59
59
|
* @codegenParams ["background"]
|
|
60
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
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)"
|
|
@@ -230,11 +229,11 @@ var lineHeightMap = {
|
|
|
230
229
|
*/
|
|
231
230
|
/**
|
|
232
231
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
233
|
-
* @codegen <<SignedSource::
|
|
232
|
+
* @codegen <<SignedSource::2e1a574ee1c58d7f4f1167778503c704>>
|
|
234
233
|
* @codegenId colors
|
|
235
234
|
* @codegenCommand yarn codegen-styles
|
|
236
235
|
* @codegenParams ["text"]
|
|
237
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
236
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
238
237
|
*/
|
|
239
238
|
var textColorMap = {
|
|
240
239
|
'color.text': (0, _react2.css)({
|
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
|
+
};
|
|
@@ -9,11 +9,11 @@ exports.default = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::f70c0e13112cb1620980353c239c14d8>>
|
|
13
13
|
* @codegenCommand yarn codegen-styles
|
|
14
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
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'];
|
|
@@ -48,11 +48,11 @@ export default InteractionSurface;
|
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
51
|
-
* @codegen <<SignedSource::
|
|
51
|
+
* @codegen <<SignedSource::b4ea5e1af482e869a4e0a65e8080cfbf>>
|
|
52
52
|
* @codegenId interactions
|
|
53
53
|
* @codegenCommand yarn codegen-styles
|
|
54
54
|
* @codegenParams ["background"]
|
|
55
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
55
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
56
56
|
*/
|
|
57
57
|
const backgroundActiveColorMap = {
|
|
58
58
|
'accent.lime.subtlest': css({
|
|
@@ -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)"
|
|
@@ -220,11 +220,11 @@ const lineHeightMap = {
|
|
|
220
220
|
*/
|
|
221
221
|
/**
|
|
222
222
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
223
|
-
* @codegen <<SignedSource::
|
|
223
|
+
* @codegen <<SignedSource::2e1a574ee1c58d7f4f1167778503c704>>
|
|
224
224
|
* @codegenId colors
|
|
225
225
|
* @codegenCommand yarn codegen-styles
|
|
226
226
|
* @codegenParams ["text"]
|
|
227
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
227
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
228
228
|
*/
|
|
229
229
|
const textColorMap = {
|
|
230
230
|
'color.text': css({
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f70c0e13112cb1620980353c239c14d8>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|
|
@@ -47,11 +47,11 @@ export default InteractionSurface;
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
50
|
-
* @codegen <<SignedSource::
|
|
50
|
+
* @codegen <<SignedSource::b4ea5e1af482e869a4e0a65e8080cfbf>>
|
|
51
51
|
* @codegenId interactions
|
|
52
52
|
* @codegenCommand yarn codegen-styles
|
|
53
53
|
* @codegenParams ["background"]
|
|
54
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
54
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
55
55
|
*/
|
|
56
56
|
var backgroundActiveColorMap = {
|
|
57
57
|
'accent.lime.subtlest': css({
|
|
@@ -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)"
|
|
@@ -223,11 +223,11 @@ var lineHeightMap = {
|
|
|
223
223
|
*/
|
|
224
224
|
/**
|
|
225
225
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
226
|
-
* @codegen <<SignedSource::
|
|
226
|
+
* @codegen <<SignedSource::2e1a574ee1c58d7f4f1167778503c704>>
|
|
227
227
|
* @codegenId colors
|
|
228
228
|
* @codegenCommand yarn codegen-styles
|
|
229
229
|
* @codegenParams ["text"]
|
|
230
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
230
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
231
231
|
*/
|
|
232
232
|
var textColorMap = {
|
|
233
233
|
'color.text': css({
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f70c0e13112cb1620980353c239c14d8>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|
|
@@ -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;
|
|
@@ -129,11 +129,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
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::2e1a574ee1c58d7f4f1167778503c704>>
|
|
133
133
|
* @codegenId colors
|
|
134
134
|
* @codegenCommand yarn codegen-styles
|
|
135
135
|
* @codegenParams ["text"]
|
|
136
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
136
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
137
137
|
*/
|
|
138
138
|
declare const textColorMap: {
|
|
139
139
|
readonly 'color.text': import("@emotion/react").SerializedStyles;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f70c0e13112cb1620980353c239c14d8>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
9
9
|
*/
|
|
10
10
|
declare const _default: {
|
|
11
11
|
readonly 'neutral.bold': "inverse";
|
|
@@ -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;
|
|
@@ -134,11 +134,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
134
134
|
*/
|
|
135
135
|
/**
|
|
136
136
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
137
|
-
* @codegen <<SignedSource::
|
|
137
|
+
* @codegen <<SignedSource::2e1a574ee1c58d7f4f1167778503c704>>
|
|
138
138
|
* @codegenId colors
|
|
139
139
|
* @codegenCommand yarn codegen-styles
|
|
140
140
|
* @codegenParams ["text"]
|
|
141
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
141
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
142
142
|
*/
|
|
143
143
|
declare const textColorMap: {
|
|
144
144
|
readonly 'color.text': import("@emotion/react").SerializedStyles;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f70c0e13112cb1620980353c239c14d8>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
9
9
|
*/
|
|
10
10
|
declare const _default: {
|
|
11
11
|
readonly 'neutral.bold': "inverse";
|
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/"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"prepare": "yarn ak-postbuild"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@atlaskit/primitives": "^1.
|
|
29
|
-
"@atlaskit/tokens": "^1.
|
|
28
|
+
"@atlaskit/primitives": "^1.6.0",
|
|
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"
|
|
@@ -70,11 +70,11 @@ export default InteractionSurface;
|
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
73
|
-
* @codegen <<SignedSource::
|
|
73
|
+
* @codegen <<SignedSource::b4ea5e1af482e869a4e0a65e8080cfbf>>
|
|
74
74
|
* @codegenId interactions
|
|
75
75
|
* @codegenCommand yarn codegen-styles
|
|
76
76
|
* @codegenParams ["background"]
|
|
77
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
77
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
78
78
|
*/
|
|
79
79
|
const backgroundActiveColorMap = {
|
|
80
80
|
'accent.lime.subtlest': css({
|
|
@@ -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({
|
|
@@ -317,11 +317,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
320
|
-
* @codegen <<SignedSource::
|
|
320
|
+
* @codegen <<SignedSource::2e1a574ee1c58d7f4f1167778503c704>>
|
|
321
321
|
* @codegenId colors
|
|
322
322
|
* @codegenCommand yarn codegen-styles
|
|
323
323
|
* @codegenParams ["text"]
|
|
324
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
324
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
325
325
|
*/
|
|
326
326
|
const textColorMap = {
|
|
327
327
|
'color.text': css({
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f70c0e13112cb1620980353c239c14d8>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|