@atlaskit/editor-plugin-extension 11.0.14 → 11.0.15
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 +8 -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 +4 -5
|
@@ -26,105 +26,105 @@ import { validate as _validate } from '../utils';
|
|
|
26
26
|
|
|
27
27
|
export var colorPalette = [{
|
|
28
28
|
label: 'Light Blue',
|
|
29
|
-
value: "var(--ds-background-accent-blue-subtle, #
|
|
29
|
+
value: "var(--ds-background-accent-blue-subtle, #669DF1)"
|
|
30
30
|
},
|
|
31
31
|
// 400
|
|
32
32
|
{
|
|
33
33
|
label: 'Light Green',
|
|
34
|
-
value: "var(--ds-background-accent-green-subtle, #
|
|
34
|
+
value: "var(--ds-background-accent-green-subtle, #4BCE97)"
|
|
35
35
|
},
|
|
36
36
|
// 400
|
|
37
37
|
{
|
|
38
38
|
label: 'Light Yellow',
|
|
39
|
-
value: "var(--ds-background-accent-yellow-subtle, #
|
|
39
|
+
value: "var(--ds-background-accent-yellow-subtle, #EED12B)"
|
|
40
40
|
},
|
|
41
41
|
// 400
|
|
42
42
|
{
|
|
43
43
|
label: 'Light Red',
|
|
44
|
-
value: "var(--ds-background-accent-red-subtle, #
|
|
44
|
+
value: "var(--ds-background-accent-red-subtle, #F87168)"
|
|
45
45
|
},
|
|
46
46
|
// 400
|
|
47
47
|
{
|
|
48
48
|
label: 'Light Purple',
|
|
49
|
-
value: "var(--ds-background-accent-purple-subtle, #
|
|
49
|
+
value: "var(--ds-background-accent-purple-subtle, #C97CF4)"
|
|
50
50
|
},
|
|
51
51
|
// 400
|
|
52
52
|
|
|
53
53
|
{
|
|
54
54
|
label: 'Blue',
|
|
55
|
-
value: "var(--ds-chart-blue-bold, #
|
|
55
|
+
value: "var(--ds-chart-blue-bold, #4688EC)"
|
|
56
56
|
},
|
|
57
57
|
// 600
|
|
58
58
|
{
|
|
59
59
|
label: 'Green',
|
|
60
|
-
value: "var(--ds-chart-green-bold, #
|
|
60
|
+
value: "var(--ds-chart-green-bold, #22A06B)"
|
|
61
61
|
},
|
|
62
62
|
// 600
|
|
63
63
|
{
|
|
64
64
|
label: 'Yellow',
|
|
65
|
-
value: "var(--ds-chart-yellow-bold, #
|
|
65
|
+
value: "var(--ds-chart-yellow-bold, #B38600)"
|
|
66
66
|
},
|
|
67
67
|
// 600
|
|
68
68
|
{
|
|
69
69
|
label: 'Red',
|
|
70
|
-
value: "var(--ds-chart-red-bold, #
|
|
70
|
+
value: "var(--ds-chart-red-bold, #F15B50)"
|
|
71
71
|
},
|
|
72
72
|
// 600
|
|
73
73
|
{
|
|
74
74
|
label: 'Purple',
|
|
75
|
-
value: "var(--ds-chart-purple-bold, #
|
|
75
|
+
value: "var(--ds-chart-purple-bold, #BF63F3)"
|
|
76
76
|
},
|
|
77
77
|
// 600
|
|
78
78
|
|
|
79
79
|
{
|
|
80
80
|
label: 'Dark Blue',
|
|
81
|
-
value: "var(--ds-chart-blue-bolder, #
|
|
81
|
+
value: "var(--ds-chart-blue-bolder, #357DE8)"
|
|
82
82
|
},
|
|
83
83
|
// 800
|
|
84
84
|
{
|
|
85
85
|
label: 'Dark Green',
|
|
86
|
-
value: "var(--ds-chart-green-bolder, #
|
|
86
|
+
value: "var(--ds-chart-green-bolder, #1F845A)"
|
|
87
87
|
},
|
|
88
88
|
// 800
|
|
89
89
|
{
|
|
90
90
|
label: 'Dark Yellow',
|
|
91
|
-
value: "var(--ds-chart-yellow-bolder, #
|
|
91
|
+
value: "var(--ds-chart-yellow-bolder, #946F00)"
|
|
92
92
|
},
|
|
93
93
|
// 800
|
|
94
94
|
{
|
|
95
95
|
label: 'Dark Red',
|
|
96
|
-
value: "var(--ds-chart-red-bolder, #
|
|
96
|
+
value: "var(--ds-chart-red-bolder, #E2483D)"
|
|
97
97
|
},
|
|
98
98
|
// 800
|
|
99
99
|
{
|
|
100
100
|
label: 'Dark Purple',
|
|
101
|
-
value: "var(--ds-chart-purple-bolder, #
|
|
101
|
+
value: "var(--ds-chart-purple-bolder, #AF59E1)"
|
|
102
102
|
},
|
|
103
103
|
// 800
|
|
104
104
|
|
|
105
105
|
{
|
|
106
106
|
label: 'Darker Blue',
|
|
107
|
-
value: "var(--ds-chart-blue-boldest, #
|
|
107
|
+
value: "var(--ds-chart-blue-boldest, #1558BC)"
|
|
108
108
|
},
|
|
109
109
|
// 1000
|
|
110
110
|
{
|
|
111
111
|
label: 'Darker Green',
|
|
112
|
-
value: "var(--ds-chart-green-boldest, #
|
|
112
|
+
value: "var(--ds-chart-green-boldest, #216E4E)"
|
|
113
113
|
},
|
|
114
114
|
// 1000
|
|
115
115
|
{
|
|
116
116
|
label: 'Darker Yellow',
|
|
117
|
-
value: "var(--ds-chart-yellow-boldest, #
|
|
117
|
+
value: "var(--ds-chart-yellow-boldest, #7F5F01)"
|
|
118
118
|
},
|
|
119
119
|
// 1000
|
|
120
120
|
{
|
|
121
121
|
label: 'Darker Red',
|
|
122
|
-
value: "var(--ds-chart-red-boldest, #
|
|
122
|
+
value: "var(--ds-chart-red-boldest, #AE2E24)"
|
|
123
123
|
},
|
|
124
124
|
// 1000
|
|
125
125
|
{
|
|
126
126
|
label: 'Darker Purple',
|
|
127
|
-
value: "var(--ds-chart-purple-boldest, #
|
|
127
|
+
value: "var(--ds-chart-purple-boldest, #803FA5)"
|
|
128
128
|
} // 1000
|
|
129
129
|
].map(function (color) {
|
|
130
130
|
return _objectSpread(_objectSpread({}, color), {}, {
|
|
@@ -138,32 +138,32 @@ export var colorPalette = [{
|
|
|
138
138
|
*/
|
|
139
139
|
export var extendedColorPalette = [{
|
|
140
140
|
label: 'Darker Blue',
|
|
141
|
-
value: "var(--ds-chart-blue-boldest, #
|
|
141
|
+
value: "var(--ds-chart-blue-boldest, #1558BC)"
|
|
142
142
|
},
|
|
143
143
|
// 1000
|
|
144
144
|
{
|
|
145
145
|
label: 'Darker Teal',
|
|
146
|
-
value: "var(--ds-chart-teal-boldest, #
|
|
146
|
+
value: "var(--ds-chart-teal-boldest, #206A83)"
|
|
147
147
|
},
|
|
148
148
|
// 1000
|
|
149
149
|
{
|
|
150
150
|
label: 'Darker Green',
|
|
151
|
-
value: "var(--ds-chart-green-boldest, #
|
|
151
|
+
value: "var(--ds-chart-green-boldest, #216E4E)"
|
|
152
152
|
},
|
|
153
153
|
// 1000
|
|
154
154
|
{
|
|
155
155
|
label: 'Darker Yellow',
|
|
156
|
-
value: "var(--ds-chart-yellow-boldest, #
|
|
156
|
+
value: "var(--ds-chart-yellow-boldest, #7F5F01)"
|
|
157
157
|
},
|
|
158
158
|
// 1000
|
|
159
159
|
{
|
|
160
160
|
label: 'Darker Orange',
|
|
161
|
-
value: "var(--ds-chart-orange-boldest, #
|
|
161
|
+
value: "var(--ds-chart-orange-boldest, #7A3B00)"
|
|
162
162
|
},
|
|
163
163
|
// 1000
|
|
164
164
|
{
|
|
165
165
|
label: 'Darker Red',
|
|
166
|
-
value: "var(--ds-chart-red-boldest, #
|
|
166
|
+
value: "var(--ds-chart-red-boldest, #AE2E24)"
|
|
167
167
|
},
|
|
168
168
|
// 1000
|
|
169
169
|
{
|
|
@@ -173,43 +173,43 @@ export var extendedColorPalette = [{
|
|
|
173
173
|
// 1000
|
|
174
174
|
{
|
|
175
175
|
label: 'Darker Purple',
|
|
176
|
-
value: "var(--ds-chart-purple-boldest, #
|
|
176
|
+
value: "var(--ds-chart-purple-boldest, #803FA5)"
|
|
177
177
|
},
|
|
178
178
|
// 1000
|
|
179
179
|
{
|
|
180
180
|
label: 'Darker Gray',
|
|
181
|
-
value: "var(--ds-chart-gray-boldest, #
|
|
181
|
+
value: "var(--ds-chart-gray-boldest, #505258)"
|
|
182
182
|
},
|
|
183
183
|
// 1000
|
|
184
184
|
|
|
185
185
|
{
|
|
186
186
|
label: 'Dark Blue',
|
|
187
|
-
value: "var(--ds-chart-blue-bolder, #
|
|
187
|
+
value: "var(--ds-chart-blue-bolder, #357DE8)"
|
|
188
188
|
},
|
|
189
189
|
// 800
|
|
190
190
|
{
|
|
191
191
|
label: 'Dark Teal',
|
|
192
|
-
value: "var(--ds-chart-teal-bolder, #
|
|
192
|
+
value: "var(--ds-chart-teal-bolder, #227D9B)"
|
|
193
193
|
},
|
|
194
194
|
// 800
|
|
195
195
|
{
|
|
196
196
|
label: 'Dark Green',
|
|
197
|
-
value: "var(--ds-chart-green-bolder, #
|
|
197
|
+
value: "var(--ds-chart-green-bolder, #1F845A)"
|
|
198
198
|
},
|
|
199
199
|
// 800
|
|
200
200
|
{
|
|
201
201
|
label: 'Dark Yellow',
|
|
202
|
-
value: "var(--ds-chart-yellow-bolder, #
|
|
202
|
+
value: "var(--ds-chart-yellow-bolder, #946F00)"
|
|
203
203
|
},
|
|
204
204
|
// 800
|
|
205
205
|
{
|
|
206
206
|
label: 'Dark Orange',
|
|
207
|
-
value: "var(--ds-chart-orange-bolder, #
|
|
207
|
+
value: "var(--ds-chart-orange-bolder, #BD5B00)"
|
|
208
208
|
},
|
|
209
209
|
// 800
|
|
210
210
|
{
|
|
211
211
|
label: 'Dark Red',
|
|
212
|
-
value: "var(--ds-chart-red-bolder, #
|
|
212
|
+
value: "var(--ds-chart-red-bolder, #E2483D)"
|
|
213
213
|
},
|
|
214
214
|
// 800
|
|
215
215
|
{
|
|
@@ -219,43 +219,43 @@ export var extendedColorPalette = [{
|
|
|
219
219
|
// 800
|
|
220
220
|
{
|
|
221
221
|
label: 'Dark Purple',
|
|
222
|
-
value: "var(--ds-chart-purple-bolder, #
|
|
222
|
+
value: "var(--ds-chart-purple-bolder, #AF59E1)"
|
|
223
223
|
},
|
|
224
224
|
// 800
|
|
225
225
|
{
|
|
226
226
|
label: 'Dark Gray',
|
|
227
|
-
value: "var(--ds-chart-gray-bolder, #
|
|
227
|
+
value: "var(--ds-chart-gray-bolder, #7D818A)"
|
|
228
228
|
},
|
|
229
229
|
// 800
|
|
230
230
|
|
|
231
231
|
{
|
|
232
232
|
label: 'Blue',
|
|
233
|
-
value: "var(--ds-chart-blue-bold, #
|
|
233
|
+
value: "var(--ds-chart-blue-bold, #4688EC)"
|
|
234
234
|
},
|
|
235
235
|
// 600
|
|
236
236
|
{
|
|
237
237
|
label: 'Teal',
|
|
238
|
-
value: "var(--ds-chart-teal-bold, #
|
|
238
|
+
value: "var(--ds-chart-teal-bold, #2898BD)"
|
|
239
239
|
},
|
|
240
240
|
// 600
|
|
241
241
|
{
|
|
242
242
|
label: 'Green',
|
|
243
|
-
value: "var(--ds-chart-green-bold, #
|
|
243
|
+
value: "var(--ds-chart-green-bold, #22A06B)"
|
|
244
244
|
},
|
|
245
245
|
// 600
|
|
246
246
|
{
|
|
247
247
|
label: 'Yellow',
|
|
248
|
-
value: "var(--ds-chart-yellow-bold, #
|
|
248
|
+
value: "var(--ds-chart-yellow-bold, #B38600)"
|
|
249
249
|
},
|
|
250
250
|
// 600
|
|
251
251
|
{
|
|
252
252
|
label: 'Orange',
|
|
253
|
-
value: "var(--ds-chart-orange-bold, #
|
|
253
|
+
value: "var(--ds-chart-orange-bold, #E06C00)"
|
|
254
254
|
},
|
|
255
255
|
// 600
|
|
256
256
|
{
|
|
257
257
|
label: 'Red',
|
|
258
|
-
value: "var(--ds-chart-red-bold, #
|
|
258
|
+
value: "var(--ds-chart-red-bold, #F15B50)"
|
|
259
259
|
},
|
|
260
260
|
// 600
|
|
261
261
|
{
|
|
@@ -265,43 +265,43 @@ export var extendedColorPalette = [{
|
|
|
265
265
|
// 600
|
|
266
266
|
{
|
|
267
267
|
label: 'Purple',
|
|
268
|
-
value: "var(--ds-chart-purple-bold, #
|
|
268
|
+
value: "var(--ds-chart-purple-bold, #BF63F3)"
|
|
269
269
|
},
|
|
270
270
|
// 600
|
|
271
271
|
{
|
|
272
272
|
label: 'Gray',
|
|
273
|
-
value: "var(--ds-chart-gray-bold, #
|
|
273
|
+
value: "var(--ds-chart-gray-bold, #8C8F97)"
|
|
274
274
|
},
|
|
275
275
|
// 600
|
|
276
276
|
|
|
277
277
|
{
|
|
278
278
|
label: 'Light Blue',
|
|
279
|
-
value: "var(--ds-background-accent-blue-subtle, #
|
|
279
|
+
value: "var(--ds-background-accent-blue-subtle, #669DF1)"
|
|
280
280
|
},
|
|
281
281
|
// 400
|
|
282
282
|
{
|
|
283
283
|
label: 'Light Teal',
|
|
284
|
-
value: "var(--ds-background-accent-teal-subtle, #
|
|
284
|
+
value: "var(--ds-background-accent-teal-subtle, #6CC3E0)"
|
|
285
285
|
},
|
|
286
286
|
// 400
|
|
287
287
|
{
|
|
288
288
|
label: 'Light Green',
|
|
289
|
-
value: "var(--ds-background-accent-green-subtle, #
|
|
289
|
+
value: "var(--ds-background-accent-green-subtle, #4BCE97)"
|
|
290
290
|
},
|
|
291
291
|
// 400
|
|
292
292
|
{
|
|
293
293
|
label: 'Light Yellow',
|
|
294
|
-
value: "var(--ds-background-accent-yellow-subtle, #
|
|
294
|
+
value: "var(--ds-background-accent-yellow-subtle, #EED12B)"
|
|
295
295
|
},
|
|
296
296
|
// 400
|
|
297
297
|
{
|
|
298
298
|
label: 'Light Orange',
|
|
299
|
-
value: "var(--ds-background-accent-orange-subtle, #
|
|
299
|
+
value: "var(--ds-background-accent-orange-subtle, #FCA700)"
|
|
300
300
|
},
|
|
301
301
|
// 400
|
|
302
302
|
{
|
|
303
303
|
label: 'Light Red',
|
|
304
|
-
value: "var(--ds-background-accent-red-subtle, #
|
|
304
|
+
value: "var(--ds-background-accent-red-subtle, #F87168)"
|
|
305
305
|
},
|
|
306
306
|
// 400
|
|
307
307
|
{
|
|
@@ -311,12 +311,12 @@ export var extendedColorPalette = [{
|
|
|
311
311
|
// 400
|
|
312
312
|
{
|
|
313
313
|
label: 'Light Purple',
|
|
314
|
-
value: "var(--ds-background-accent-purple-subtle, #
|
|
314
|
+
value: "var(--ds-background-accent-purple-subtle, #C97CF4)"
|
|
315
315
|
},
|
|
316
316
|
// 400
|
|
317
317
|
{
|
|
318
318
|
label: 'Light Gray',
|
|
319
|
-
value: "var(--ds-background-accent-gray-subtle, #
|
|
319
|
+
value: "var(--ds-background-accent-gray-subtle, #8C8F97)"
|
|
320
320
|
} // 400
|
|
321
321
|
].map(function (color) {
|
|
322
322
|
return _objectSpread(_objectSpread({}, color), {}, {
|
|
@@ -12,9 +12,8 @@ import { IconButton } from '@atlaskit/button/new';
|
|
|
12
12
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
13
13
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
14
14
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
15
|
-
import { N40 } from '@atlaskit/theme/colors';
|
|
16
15
|
var expandContainerStyles = css({
|
|
17
|
-
borderBottom: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border,
|
|
16
|
+
borderBottom: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)")
|
|
18
17
|
});
|
|
19
18
|
var expandControlStyles = css({
|
|
20
19
|
display: 'flex',
|
|
@@ -28,10 +28,9 @@ import AddCircleIcon from '@atlaskit/icon/core/add';
|
|
|
28
28
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
29
29
|
import SectionMessage from '@atlaskit/section-message';
|
|
30
30
|
import Select from '@atlaskit/select';
|
|
31
|
-
import { N40A } from '@atlaskit/theme/colors';
|
|
32
31
|
import { getNameFromDuplicateField, isDuplicateField } from '../utils';
|
|
33
32
|
var actionsWrapperStyles = css({
|
|
34
|
-
borderTop: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border,
|
|
33
|
+
borderTop: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
|
|
35
34
|
marginTop: "var(--ds-space-200, 16px)",
|
|
36
35
|
paddingTop: "var(--ds-space-200, 16px)"
|
|
37
36
|
});
|
|
@@ -46,7 +46,7 @@ export var formatOptionLabel = function formatOptionLabel(_ref, _ref2) {
|
|
|
46
46
|
appearance: "square"
|
|
47
47
|
}) : icon), jsx("div", {
|
|
48
48
|
style: {
|
|
49
|
-
paddingLeft: icon ? "var(--ds-space-100, 8px)" : "var(--ds-space-0,
|
|
49
|
+
paddingLeft: icon ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"
|
|
50
50
|
},
|
|
51
51
|
"data-testid": "extension-option-label"
|
|
52
52
|
}, label, description && context !== 'value' && jsx("small", null, description)));
|
|
@@ -7,7 +7,7 @@ var itemIconStyles = xcss({
|
|
|
7
7
|
width: iconWidth,
|
|
8
8
|
height: iconWidth,
|
|
9
9
|
overflow: 'hidden',
|
|
10
|
-
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border,
|
|
10
|
+
border: "var(--ds-border-width, 1px)".concat(" 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
|
var iconWidth = 40;
|
|
19
18
|
var buttonWidth = 40;
|
|
@@ -27,7 +26,7 @@ var itemIconStyles = css({
|
|
|
27
26
|
width: iconWidth,
|
|
28
27
|
height: iconWidth,
|
|
29
28
|
overflow: 'hidden',
|
|
30
|
-
border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border,
|
|
29
|
+
border: "var(--ds-border-width, 1px)".concat(" 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 @@ var 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: "var(--ds-text-subtlest,
|
|
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
|
var removableFieldWrapperStyles = css({
|
|
@@ -24,9 +23,9 @@ var removeButtonWrapperStyles = css({
|
|
|
24
23
|
right: 0,
|
|
25
24
|
top: 0,
|
|
26
25
|
cursor: 'pointer',
|
|
27
|
-
color: "var(--ds-icon-subtle,
|
|
26
|
+
color: "var(--ds-icon-subtle, #505258)",
|
|
28
27
|
'&:hover': {
|
|
29
|
-
color: "var(--ds-icon-danger,
|
|
28
|
+
color: "var(--ds-icon-danger, #C9372C)"
|
|
30
29
|
}
|
|
31
30
|
});
|
|
32
31
|
var RemovableField = function RemovableField(_ref) {
|
|
@@ -12,7 +12,6 @@ import { messages } from '@atlaskit/editor-common/extensions';
|
|
|
12
12
|
import CheckCircleIcon from '@atlaskit/icon/core/status-success';
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
14
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
15
|
-
import { G300, N0 } from '@atlaskit/theme/colors';
|
|
16
15
|
var noop = function noop() {};
|
|
17
16
|
var saveIndicatorWrapperStyles = css({
|
|
18
17
|
display: 'flex',
|
|
@@ -26,9 +25,9 @@ var saveIndicatorContentStyles = css({
|
|
|
26
25
|
flexDirection: 'row',
|
|
27
26
|
alignItems: 'center',
|
|
28
27
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-150, 12px)"),
|
|
29
|
-
background: "var(--ds-surface-overlay,
|
|
28
|
+
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
30
29
|
/* E300 */
|
|
31
|
-
boxShadow: "var(--ds-shadow-overlay,
|
|
30
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
32
31
|
borderRadius: "var(--ds-radius-xxlarge, 16px)"
|
|
33
32
|
});
|
|
34
33
|
var saveIndicatorTextStyles = xcss({
|
|
@@ -70,7 +69,7 @@ export var SaveIndicator = function SaveIndicator(_ref) {
|
|
|
70
69
|
"data-testid": "save-indicator-content"
|
|
71
70
|
}, jsx(CheckCircleIcon, {
|
|
72
71
|
label: "Saving",
|
|
73
|
-
color: "var(--ds-icon-success,
|
|
72
|
+
color: "var(--ds-icon-success, #6A9A23)",
|
|
74
73
|
spacing: "none"
|
|
75
74
|
}), jsx(Box, {
|
|
76
75
|
xcss: saveIndicatorTextStyles
|
|
@@ -21,9 +21,6 @@ import Heading from '@atlaskit/heading';
|
|
|
21
21
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
22
22
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
23
23
|
import TextArea from '@atlaskit/textarea';
|
|
24
|
-
// Ignored via go/ees005
|
|
25
|
-
// eslint-disable-next-line import/no-namespace
|
|
26
|
-
import * as colors from '@atlaskit/theme/colors';
|
|
27
24
|
import { token } from '@atlaskit/tokens';
|
|
28
25
|
|
|
29
26
|
import { useStateFromPromise } from '../../src/ui/ConfigPanel/use-state-from-promise';
|
|
@@ -41,17 +38,16 @@ const column = (width: number | string) =>
|
|
|
41
38
|
css({
|
|
42
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
43
40
|
width: `${width}px`,
|
|
44
|
-
margin: token('space.200'
|
|
41
|
+
margin: token('space.200'),
|
|
45
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
46
43
|
h3: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
marginBottom: token('space.200', '16px'),
|
|
44
|
+
borderBottom: `${token('border.width')} solid ${token('color.border')}`,
|
|
45
|
+
marginBottom: token('space.200'),
|
|
50
46
|
},
|
|
51
47
|
});
|
|
52
48
|
|
|
53
49
|
const codeWrapperStyles = css({
|
|
54
|
-
marginTop: token('space.200'
|
|
50
|
+
marginTop: token('space.200'),
|
|
55
51
|
});
|
|
56
52
|
|
|
57
53
|
function ExtensionConfigPanel({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.15",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/empty-state": "^10.1.0",
|
|
47
47
|
"@atlaskit/form": "^15.5.0",
|
|
48
48
|
"@atlaskit/heading": "^5.3.0",
|
|
49
|
-
"@atlaskit/icon": "^33.
|
|
49
|
+
"@atlaskit/icon": "^33.1.0",
|
|
50
50
|
"@atlaskit/link": "^3.3.0",
|
|
51
51
|
"@atlaskit/mention": "^24.6.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -59,8 +59,7 @@
|
|
|
59
59
|
"@atlaskit/tabs": "^19.0.0",
|
|
60
60
|
"@atlaskit/textarea": "^8.2.0",
|
|
61
61
|
"@atlaskit/textfield": "^8.2.0",
|
|
62
|
-
"@atlaskit/
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^46.0.0",
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^46.1.0",
|
|
64
63
|
"@atlaskit/toggle": "^15.2.0",
|
|
65
64
|
"@atlaskit/tokens": "^11.2.0",
|
|
66
65
|
"@atlaskit/tooltip": "^21.0.0",
|
|
@@ -74,7 +73,7 @@
|
|
|
74
73
|
"uuid": "^3.1.0"
|
|
75
74
|
},
|
|
76
75
|
"peerDependencies": {
|
|
77
|
-
"@atlaskit/editor-common": "^112.
|
|
76
|
+
"@atlaskit/editor-common": "^112.10.0",
|
|
78
77
|
"react": "^18.2.0",
|
|
79
78
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
80
79
|
},
|