@atlaskit/editor-plugin-extension 11.0.14 → 11.0.16
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 +14 -0
- package/dist/cjs/pm-plugins/toDOM-fixes/bodiedExtension.js +2 -3
- package/dist/cjs/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -1
- package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +52 -52
- package/dist/cjs/ui/ConfigPanel/Fields/Expand.js +1 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +1 -2
- package/dist/cjs/ui/ConfigPanel/Fields/SelectItem.js +1 -1
- package/dist/cjs/ui/ConfigPanel/Header/HeaderIcon.js +1 -1
- package/dist/cjs/ui/ConfigPanel/Header.js +2 -3
- package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +2 -3
- package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +3 -4
- package/dist/es2019/pm-plugins/toDOM-fixes/bodiedExtension.js +2 -3
- package/dist/es2019/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/ColorPicker.js +52 -52
- package/dist/es2019/ui/ConfigPanel/Fields/Expand.js +1 -2
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +1 -2
- package/dist/es2019/ui/ConfigPanel/Fields/SelectItem.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Header/HeaderIcon.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Header.js +2 -3
- package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +2 -3
- package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +3 -4
- package/dist/esm/pm-plugins/toDOM-fixes/bodiedExtension.js +2 -3
- package/dist/esm/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +52 -52
- package/dist/esm/ui/ConfigPanel/Fields/Expand.js +1 -2
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +1 -2
- package/dist/esm/ui/ConfigPanel/Fields/SelectItem.js +1 -1
- package/dist/esm/ui/ConfigPanel/Header/HeaderIcon.js +1 -1
- package/dist/esm/ui/ConfigPanel/Header.js +2 -3
- package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +2 -3
- package/dist/esm/ui/SaveIndicator/SaveIndicator.js +3 -4
- package/example-utils/config-panel/ConfigPanelWithExtensionPicker.tsx +4 -8
- package/package.json +5 -6
|
@@ -23,105 +23,105 @@ import { validate } from '../utils';
|
|
|
23
23
|
|
|
24
24
|
export const colorPalette = [{
|
|
25
25
|
label: 'Light Blue',
|
|
26
|
-
value: "var(--ds-background-accent-blue-subtle, #
|
|
26
|
+
value: "var(--ds-background-accent-blue-subtle, #669DF1)"
|
|
27
27
|
},
|
|
28
28
|
// 400
|
|
29
29
|
{
|
|
30
30
|
label: 'Light Green',
|
|
31
|
-
value: "var(--ds-background-accent-green-subtle, #
|
|
31
|
+
value: "var(--ds-background-accent-green-subtle, #4BCE97)"
|
|
32
32
|
},
|
|
33
33
|
// 400
|
|
34
34
|
{
|
|
35
35
|
label: 'Light Yellow',
|
|
36
|
-
value: "var(--ds-background-accent-yellow-subtle, #
|
|
36
|
+
value: "var(--ds-background-accent-yellow-subtle, #EED12B)"
|
|
37
37
|
},
|
|
38
38
|
// 400
|
|
39
39
|
{
|
|
40
40
|
label: 'Light Red',
|
|
41
|
-
value: "var(--ds-background-accent-red-subtle, #
|
|
41
|
+
value: "var(--ds-background-accent-red-subtle, #F87168)"
|
|
42
42
|
},
|
|
43
43
|
// 400
|
|
44
44
|
{
|
|
45
45
|
label: 'Light Purple',
|
|
46
|
-
value: "var(--ds-background-accent-purple-subtle, #
|
|
46
|
+
value: "var(--ds-background-accent-purple-subtle, #C97CF4)"
|
|
47
47
|
},
|
|
48
48
|
// 400
|
|
49
49
|
|
|
50
50
|
{
|
|
51
51
|
label: 'Blue',
|
|
52
|
-
value: "var(--ds-chart-blue-bold, #
|
|
52
|
+
value: "var(--ds-chart-blue-bold, #4688EC)"
|
|
53
53
|
},
|
|
54
54
|
// 600
|
|
55
55
|
{
|
|
56
56
|
label: 'Green',
|
|
57
|
-
value: "var(--ds-chart-green-bold, #
|
|
57
|
+
value: "var(--ds-chart-green-bold, #22A06B)"
|
|
58
58
|
},
|
|
59
59
|
// 600
|
|
60
60
|
{
|
|
61
61
|
label: 'Yellow',
|
|
62
|
-
value: "var(--ds-chart-yellow-bold, #
|
|
62
|
+
value: "var(--ds-chart-yellow-bold, #B38600)"
|
|
63
63
|
},
|
|
64
64
|
// 600
|
|
65
65
|
{
|
|
66
66
|
label: 'Red',
|
|
67
|
-
value: "var(--ds-chart-red-bold, #
|
|
67
|
+
value: "var(--ds-chart-red-bold, #F15B50)"
|
|
68
68
|
},
|
|
69
69
|
// 600
|
|
70
70
|
{
|
|
71
71
|
label: 'Purple',
|
|
72
|
-
value: "var(--ds-chart-purple-bold, #
|
|
72
|
+
value: "var(--ds-chart-purple-bold, #BF63F3)"
|
|
73
73
|
},
|
|
74
74
|
// 600
|
|
75
75
|
|
|
76
76
|
{
|
|
77
77
|
label: 'Dark Blue',
|
|
78
|
-
value: "var(--ds-chart-blue-bolder, #
|
|
78
|
+
value: "var(--ds-chart-blue-bolder, #357DE8)"
|
|
79
79
|
},
|
|
80
80
|
// 800
|
|
81
81
|
{
|
|
82
82
|
label: 'Dark Green',
|
|
83
|
-
value: "var(--ds-chart-green-bolder, #
|
|
83
|
+
value: "var(--ds-chart-green-bolder, #1F845A)"
|
|
84
84
|
},
|
|
85
85
|
// 800
|
|
86
86
|
{
|
|
87
87
|
label: 'Dark Yellow',
|
|
88
|
-
value: "var(--ds-chart-yellow-bolder, #
|
|
88
|
+
value: "var(--ds-chart-yellow-bolder, #946F00)"
|
|
89
89
|
},
|
|
90
90
|
// 800
|
|
91
91
|
{
|
|
92
92
|
label: 'Dark Red',
|
|
93
|
-
value: "var(--ds-chart-red-bolder, #
|
|
93
|
+
value: "var(--ds-chart-red-bolder, #E2483D)"
|
|
94
94
|
},
|
|
95
95
|
// 800
|
|
96
96
|
{
|
|
97
97
|
label: 'Dark Purple',
|
|
98
|
-
value: "var(--ds-chart-purple-bolder, #
|
|
98
|
+
value: "var(--ds-chart-purple-bolder, #AF59E1)"
|
|
99
99
|
},
|
|
100
100
|
// 800
|
|
101
101
|
|
|
102
102
|
{
|
|
103
103
|
label: 'Darker Blue',
|
|
104
|
-
value: "var(--ds-chart-blue-boldest, #
|
|
104
|
+
value: "var(--ds-chart-blue-boldest, #1558BC)"
|
|
105
105
|
},
|
|
106
106
|
// 1000
|
|
107
107
|
{
|
|
108
108
|
label: 'Darker Green',
|
|
109
|
-
value: "var(--ds-chart-green-boldest, #
|
|
109
|
+
value: "var(--ds-chart-green-boldest, #216E4E)"
|
|
110
110
|
},
|
|
111
111
|
// 1000
|
|
112
112
|
{
|
|
113
113
|
label: 'Darker Yellow',
|
|
114
|
-
value: "var(--ds-chart-yellow-boldest, #
|
|
114
|
+
value: "var(--ds-chart-yellow-boldest, #7F5F01)"
|
|
115
115
|
},
|
|
116
116
|
// 1000
|
|
117
117
|
{
|
|
118
118
|
label: 'Darker Red',
|
|
119
|
-
value: "var(--ds-chart-red-boldest, #
|
|
119
|
+
value: "var(--ds-chart-red-boldest, #AE2E24)"
|
|
120
120
|
},
|
|
121
121
|
// 1000
|
|
122
122
|
{
|
|
123
123
|
label: 'Darker Purple',
|
|
124
|
-
value: "var(--ds-chart-purple-boldest, #
|
|
124
|
+
value: "var(--ds-chart-purple-boldest, #803FA5)"
|
|
125
125
|
} // 1000
|
|
126
126
|
].map(color => ({
|
|
127
127
|
...color,
|
|
@@ -134,32 +134,32 @@ export const colorPalette = [{
|
|
|
134
134
|
*/
|
|
135
135
|
export const extendedColorPalette = [{
|
|
136
136
|
label: 'Darker Blue',
|
|
137
|
-
value: "var(--ds-chart-blue-boldest, #
|
|
137
|
+
value: "var(--ds-chart-blue-boldest, #1558BC)"
|
|
138
138
|
},
|
|
139
139
|
// 1000
|
|
140
140
|
{
|
|
141
141
|
label: 'Darker Teal',
|
|
142
|
-
value: "var(--ds-chart-teal-boldest, #
|
|
142
|
+
value: "var(--ds-chart-teal-boldest, #206A83)"
|
|
143
143
|
},
|
|
144
144
|
// 1000
|
|
145
145
|
{
|
|
146
146
|
label: 'Darker Green',
|
|
147
|
-
value: "var(--ds-chart-green-boldest, #
|
|
147
|
+
value: "var(--ds-chart-green-boldest, #216E4E)"
|
|
148
148
|
},
|
|
149
149
|
// 1000
|
|
150
150
|
{
|
|
151
151
|
label: 'Darker Yellow',
|
|
152
|
-
value: "var(--ds-chart-yellow-boldest, #
|
|
152
|
+
value: "var(--ds-chart-yellow-boldest, #7F5F01)"
|
|
153
153
|
},
|
|
154
154
|
// 1000
|
|
155
155
|
{
|
|
156
156
|
label: 'Darker Orange',
|
|
157
|
-
value: "var(--ds-chart-orange-boldest, #
|
|
157
|
+
value: "var(--ds-chart-orange-boldest, #7A3B00)"
|
|
158
158
|
},
|
|
159
159
|
// 1000
|
|
160
160
|
{
|
|
161
161
|
label: 'Darker Red',
|
|
162
|
-
value: "var(--ds-chart-red-boldest, #
|
|
162
|
+
value: "var(--ds-chart-red-boldest, #AE2E24)"
|
|
163
163
|
},
|
|
164
164
|
// 1000
|
|
165
165
|
{
|
|
@@ -169,43 +169,43 @@ export const extendedColorPalette = [{
|
|
|
169
169
|
// 1000
|
|
170
170
|
{
|
|
171
171
|
label: 'Darker Purple',
|
|
172
|
-
value: "var(--ds-chart-purple-boldest, #
|
|
172
|
+
value: "var(--ds-chart-purple-boldest, #803FA5)"
|
|
173
173
|
},
|
|
174
174
|
// 1000
|
|
175
175
|
{
|
|
176
176
|
label: 'Darker Gray',
|
|
177
|
-
value: "var(--ds-chart-gray-boldest, #
|
|
177
|
+
value: "var(--ds-chart-gray-boldest, #505258)"
|
|
178
178
|
},
|
|
179
179
|
// 1000
|
|
180
180
|
|
|
181
181
|
{
|
|
182
182
|
label: 'Dark Blue',
|
|
183
|
-
value: "var(--ds-chart-blue-bolder, #
|
|
183
|
+
value: "var(--ds-chart-blue-bolder, #357DE8)"
|
|
184
184
|
},
|
|
185
185
|
// 800
|
|
186
186
|
{
|
|
187
187
|
label: 'Dark Teal',
|
|
188
|
-
value: "var(--ds-chart-teal-bolder, #
|
|
188
|
+
value: "var(--ds-chart-teal-bolder, #227D9B)"
|
|
189
189
|
},
|
|
190
190
|
// 800
|
|
191
191
|
{
|
|
192
192
|
label: 'Dark Green',
|
|
193
|
-
value: "var(--ds-chart-green-bolder, #
|
|
193
|
+
value: "var(--ds-chart-green-bolder, #1F845A)"
|
|
194
194
|
},
|
|
195
195
|
// 800
|
|
196
196
|
{
|
|
197
197
|
label: 'Dark Yellow',
|
|
198
|
-
value: "var(--ds-chart-yellow-bolder, #
|
|
198
|
+
value: "var(--ds-chart-yellow-bolder, #946F00)"
|
|
199
199
|
},
|
|
200
200
|
// 800
|
|
201
201
|
{
|
|
202
202
|
label: 'Dark Orange',
|
|
203
|
-
value: "var(--ds-chart-orange-bolder, #
|
|
203
|
+
value: "var(--ds-chart-orange-bolder, #BD5B00)"
|
|
204
204
|
},
|
|
205
205
|
// 800
|
|
206
206
|
{
|
|
207
207
|
label: 'Dark Red',
|
|
208
|
-
value: "var(--ds-chart-red-bolder, #
|
|
208
|
+
value: "var(--ds-chart-red-bolder, #E2483D)"
|
|
209
209
|
},
|
|
210
210
|
// 800
|
|
211
211
|
{
|
|
@@ -215,43 +215,43 @@ export const extendedColorPalette = [{
|
|
|
215
215
|
// 800
|
|
216
216
|
{
|
|
217
217
|
label: 'Dark Purple',
|
|
218
|
-
value: "var(--ds-chart-purple-bolder, #
|
|
218
|
+
value: "var(--ds-chart-purple-bolder, #AF59E1)"
|
|
219
219
|
},
|
|
220
220
|
// 800
|
|
221
221
|
{
|
|
222
222
|
label: 'Dark Gray',
|
|
223
|
-
value: "var(--ds-chart-gray-bolder, #
|
|
223
|
+
value: "var(--ds-chart-gray-bolder, #7D818A)"
|
|
224
224
|
},
|
|
225
225
|
// 800
|
|
226
226
|
|
|
227
227
|
{
|
|
228
228
|
label: 'Blue',
|
|
229
|
-
value: "var(--ds-chart-blue-bold, #
|
|
229
|
+
value: "var(--ds-chart-blue-bold, #4688EC)"
|
|
230
230
|
},
|
|
231
231
|
// 600
|
|
232
232
|
{
|
|
233
233
|
label: 'Teal',
|
|
234
|
-
value: "var(--ds-chart-teal-bold, #
|
|
234
|
+
value: "var(--ds-chart-teal-bold, #2898BD)"
|
|
235
235
|
},
|
|
236
236
|
// 600
|
|
237
237
|
{
|
|
238
238
|
label: 'Green',
|
|
239
|
-
value: "var(--ds-chart-green-bold, #
|
|
239
|
+
value: "var(--ds-chart-green-bold, #22A06B)"
|
|
240
240
|
},
|
|
241
241
|
// 600
|
|
242
242
|
{
|
|
243
243
|
label: 'Yellow',
|
|
244
|
-
value: "var(--ds-chart-yellow-bold, #
|
|
244
|
+
value: "var(--ds-chart-yellow-bold, #B38600)"
|
|
245
245
|
},
|
|
246
246
|
// 600
|
|
247
247
|
{
|
|
248
248
|
label: 'Orange',
|
|
249
|
-
value: "var(--ds-chart-orange-bold, #
|
|
249
|
+
value: "var(--ds-chart-orange-bold, #E06C00)"
|
|
250
250
|
},
|
|
251
251
|
// 600
|
|
252
252
|
{
|
|
253
253
|
label: 'Red',
|
|
254
|
-
value: "var(--ds-chart-red-bold, #
|
|
254
|
+
value: "var(--ds-chart-red-bold, #F15B50)"
|
|
255
255
|
},
|
|
256
256
|
// 600
|
|
257
257
|
{
|
|
@@ -261,43 +261,43 @@ export const extendedColorPalette = [{
|
|
|
261
261
|
// 600
|
|
262
262
|
{
|
|
263
263
|
label: 'Purple',
|
|
264
|
-
value: "var(--ds-chart-purple-bold, #
|
|
264
|
+
value: "var(--ds-chart-purple-bold, #BF63F3)"
|
|
265
265
|
},
|
|
266
266
|
// 600
|
|
267
267
|
{
|
|
268
268
|
label: 'Gray',
|
|
269
|
-
value: "var(--ds-chart-gray-bold, #
|
|
269
|
+
value: "var(--ds-chart-gray-bold, #8C8F97)"
|
|
270
270
|
},
|
|
271
271
|
// 600
|
|
272
272
|
|
|
273
273
|
{
|
|
274
274
|
label: 'Light Blue',
|
|
275
|
-
value: "var(--ds-background-accent-blue-subtle, #
|
|
275
|
+
value: "var(--ds-background-accent-blue-subtle, #669DF1)"
|
|
276
276
|
},
|
|
277
277
|
// 400
|
|
278
278
|
{
|
|
279
279
|
label: 'Light Teal',
|
|
280
|
-
value: "var(--ds-background-accent-teal-subtle, #
|
|
280
|
+
value: "var(--ds-background-accent-teal-subtle, #6CC3E0)"
|
|
281
281
|
},
|
|
282
282
|
// 400
|
|
283
283
|
{
|
|
284
284
|
label: 'Light Green',
|
|
285
|
-
value: "var(--ds-background-accent-green-subtle, #
|
|
285
|
+
value: "var(--ds-background-accent-green-subtle, #4BCE97)"
|
|
286
286
|
},
|
|
287
287
|
// 400
|
|
288
288
|
{
|
|
289
289
|
label: 'Light Yellow',
|
|
290
|
-
value: "var(--ds-background-accent-yellow-subtle, #
|
|
290
|
+
value: "var(--ds-background-accent-yellow-subtle, #EED12B)"
|
|
291
291
|
},
|
|
292
292
|
// 400
|
|
293
293
|
{
|
|
294
294
|
label: 'Light Orange',
|
|
295
|
-
value: "var(--ds-background-accent-orange-subtle, #
|
|
295
|
+
value: "var(--ds-background-accent-orange-subtle, #FCA700)"
|
|
296
296
|
},
|
|
297
297
|
// 400
|
|
298
298
|
{
|
|
299
299
|
label: 'Light Red',
|
|
300
|
-
value: "var(--ds-background-accent-red-subtle, #
|
|
300
|
+
value: "var(--ds-background-accent-red-subtle, #F87168)"
|
|
301
301
|
},
|
|
302
302
|
// 400
|
|
303
303
|
{
|
|
@@ -307,12 +307,12 @@ export const extendedColorPalette = [{
|
|
|
307
307
|
// 400
|
|
308
308
|
{
|
|
309
309
|
label: 'Light Purple',
|
|
310
|
-
value: "var(--ds-background-accent-purple-subtle, #
|
|
310
|
+
value: "var(--ds-background-accent-purple-subtle, #C97CF4)"
|
|
311
311
|
},
|
|
312
312
|
// 400
|
|
313
313
|
{
|
|
314
314
|
label: 'Light Gray',
|
|
315
|
-
value: "var(--ds-background-accent-gray-subtle, #
|
|
315
|
+
value: "var(--ds-background-accent-gray-subtle, #8C8F97)"
|
|
316
316
|
} // 400
|
|
317
317
|
].map(color => ({
|
|
318
318
|
...color,
|
|
@@ -11,9 +11,8 @@ import { IconButton } from '@atlaskit/button/new';
|
|
|
11
11
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
13
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
14
|
-
import { N40 } from '@atlaskit/theme/colors';
|
|
15
14
|
const expandContainerStyles = css({
|
|
16
|
-
borderBottom: `${"var(--ds-border-width, 1px)"} solid ${
|
|
15
|
+
borderBottom: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`
|
|
17
16
|
});
|
|
18
17
|
const expandControlStyles = css({
|
|
19
18
|
display: 'flex',
|
|
@@ -17,10 +17,9 @@ import AddCircleIcon from '@atlaskit/icon/core/add';
|
|
|
17
17
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
18
18
|
import SectionMessage from '@atlaskit/section-message';
|
|
19
19
|
import Select from '@atlaskit/select';
|
|
20
|
-
import { N40A } from '@atlaskit/theme/colors';
|
|
21
20
|
import { getNameFromDuplicateField, isDuplicateField } from '../utils';
|
|
22
21
|
const actionsWrapperStyles = css({
|
|
23
|
-
borderTop: `${"var(--ds-border-width, 1px)"} solid ${
|
|
22
|
+
borderTop: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
|
|
24
23
|
marginTop: "var(--ds-space-200, 16px)",
|
|
25
24
|
paddingTop: "var(--ds-space-200, 16px)"
|
|
26
25
|
});
|
|
@@ -48,7 +48,7 @@ export const formatOptionLabel = ({
|
|
|
48
48
|
appearance: "square"
|
|
49
49
|
}) : icon), jsx("div", {
|
|
50
50
|
style: {
|
|
51
|
-
paddingLeft: icon ? "var(--ds-space-100, 8px)" : "var(--ds-space-0,
|
|
51
|
+
paddingLeft: icon ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"
|
|
52
52
|
},
|
|
53
53
|
"data-testid": "extension-option-label"
|
|
54
54
|
}, label, description && context !== 'value' && jsx("small", null, description)));
|
|
@@ -7,7 +7,7 @@ const itemIconStyles = xcss({
|
|
|
7
7
|
width: iconWidth,
|
|
8
8
|
height: iconWidth,
|
|
9
9
|
overflow: 'hidden',
|
|
10
|
-
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border,
|
|
10
|
+
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
|
|
11
11
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
12
12
|
boxSizing: 'border-box',
|
|
13
13
|
display: 'flex',
|
|
@@ -13,7 +13,6 @@ import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
|
13
13
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
15
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
16
|
-
import { N200 } from '@atlaskit/theme/colors';
|
|
17
16
|
import { HelpLink } from './HelpLink';
|
|
18
17
|
const iconWidth = 40;
|
|
19
18
|
const buttonWidth = 40;
|
|
@@ -27,7 +26,7 @@ const itemIconStyles = css({
|
|
|
27
26
|
width: iconWidth,
|
|
28
27
|
height: iconWidth,
|
|
29
28
|
overflow: 'hidden',
|
|
30
|
-
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border,
|
|
29
|
+
border: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
|
|
31
30
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
32
31
|
boxSizing: 'border-box',
|
|
33
32
|
display: 'flex',
|
|
@@ -63,7 +62,7 @@ const itemTextStyles = css({
|
|
|
63
62
|
itemSummary: {
|
|
64
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
65
64
|
fontSize: relativeFontSizeToBase16(11.67),
|
|
66
|
-
color:
|
|
65
|
+
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
67
66
|
marginTop: "var(--ds-space-050, 4px)",
|
|
68
67
|
whiteSpace: 'nowrap',
|
|
69
68
|
overflow: 'hidden',
|
|
@@ -9,7 +9,6 @@ import { css, jsx } from '@emotion/react';
|
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
11
11
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
12
|
-
import { N80, R300 } from '@atlaskit/theme/colors';
|
|
13
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
14
|
const removableFieldWrapperStyles = css({
|
|
@@ -24,9 +23,9 @@ const removeButtonWrapperStyles = css({
|
|
|
24
23
|
right: 0,
|
|
25
24
|
top: 0,
|
|
26
25
|
cursor: 'pointer',
|
|
27
|
-
color:
|
|
26
|
+
color: "var(--ds-icon-subtle, #505258)",
|
|
28
27
|
'&:hover': {
|
|
29
|
-
color:
|
|
28
|
+
color: "var(--ds-icon-danger, #C9372C)"
|
|
30
29
|
}
|
|
31
30
|
});
|
|
32
31
|
const RemovableField = ({
|
|
@@ -11,7 +11,6 @@ import { messages } from '@atlaskit/editor-common/extensions';
|
|
|
11
11
|
import CheckCircleIcon from '@atlaskit/icon/core/status-success';
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
13
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
14
|
-
import { G300, N0 } from '@atlaskit/theme/colors';
|
|
15
14
|
const noop = () => {};
|
|
16
15
|
const saveIndicatorWrapperStyles = css({
|
|
17
16
|
display: 'flex',
|
|
@@ -25,9 +24,9 @@ const saveIndicatorContentStyles = css({
|
|
|
25
24
|
flexDirection: 'row',
|
|
26
25
|
alignItems: 'center',
|
|
27
26
|
padding: `${"var(--ds-space-075, 6px)"} ${"var(--ds-space-150, 12px)"}`,
|
|
28
|
-
background:
|
|
27
|
+
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
29
28
|
/* E300 */
|
|
30
|
-
boxShadow:
|
|
29
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
31
30
|
borderRadius: "var(--ds-radius-xxlarge, 16px)"
|
|
32
31
|
});
|
|
33
32
|
const saveIndicatorTextStyles = xcss({
|
|
@@ -64,7 +63,7 @@ export const SaveIndicator = ({
|
|
|
64
63
|
"data-testid": "save-indicator-content"
|
|
65
64
|
}, jsx(CheckCircleIcon, {
|
|
66
65
|
label: "Saving",
|
|
67
|
-
color:
|
|
66
|
+
color: "var(--ds-icon-success, #6A9A23)",
|
|
68
67
|
spacing: "none"
|
|
69
68
|
}), jsx(Box, {
|
|
70
69
|
xcss: saveIndicatorTextStyles
|
|
@@ -3,7 +3,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { bodiedExtension } from '@atlaskit/adf-schema';
|
|
5
5
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
6
|
-
import { N30 } from '@atlaskit/theme/colors';
|
|
7
6
|
var capitalizeFirstLetter = function capitalizeFirstLetter(str) {
|
|
8
7
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
9
8
|
};
|
|
@@ -29,7 +28,7 @@ export var bodiedExtensionSpecWithFixedToDOM = function bodiedExtensionSpecWithF
|
|
|
29
28
|
return ['div', attrs, ['span', {
|
|
30
29
|
// Styles based on `packages/editor/editor-common/src/extensibility/Extension/Lozenge/ExtensionLabel.tsx`
|
|
31
30
|
style: convertToInlineCss({
|
|
32
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border,
|
|
31
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)"),
|
|
33
32
|
fontSize: '14px',
|
|
34
33
|
padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
|
|
35
34
|
color: "var(--ds-text-subtle, #505258)",
|
|
@@ -49,7 +48,7 @@ export var bodiedExtensionSpecWithFixedToDOM = function bodiedExtensionSpecWithF
|
|
|
49
48
|
padding: "var(--ds-space-200, 16px)",
|
|
50
49
|
marginLeft: "var(--ds-space-negative-150, -12px)",
|
|
51
50
|
marginRight: "var(--ds-space-negative-150, -12px)",
|
|
52
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border,
|
|
51
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)"),
|
|
53
52
|
borderRadius: "var(--ds-radius-small, 4px)"
|
|
54
53
|
})
|
|
55
54
|
}, 0]];
|