@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.
Files changed (33) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/pm-plugins/toDOM-fixes/bodiedExtension.js +2 -3
  3. package/dist/cjs/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -1
  4. package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +52 -52
  5. package/dist/cjs/ui/ConfigPanel/Fields/Expand.js +1 -2
  6. package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +1 -2
  7. package/dist/cjs/ui/ConfigPanel/Fields/SelectItem.js +1 -1
  8. package/dist/cjs/ui/ConfigPanel/Header/HeaderIcon.js +1 -1
  9. package/dist/cjs/ui/ConfigPanel/Header.js +2 -3
  10. package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +2 -3
  11. package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +3 -4
  12. package/dist/es2019/pm-plugins/toDOM-fixes/bodiedExtension.js +2 -3
  13. package/dist/es2019/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -1
  14. package/dist/es2019/ui/ConfigPanel/Fields/ColorPicker.js +52 -52
  15. package/dist/es2019/ui/ConfigPanel/Fields/Expand.js +1 -2
  16. package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +1 -2
  17. package/dist/es2019/ui/ConfigPanel/Fields/SelectItem.js +1 -1
  18. package/dist/es2019/ui/ConfigPanel/Header/HeaderIcon.js +1 -1
  19. package/dist/es2019/ui/ConfigPanel/Header.js +2 -3
  20. package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +2 -3
  21. package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +3 -4
  22. package/dist/esm/pm-plugins/toDOM-fixes/bodiedExtension.js +2 -3
  23. package/dist/esm/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -1
  24. package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +52 -52
  25. package/dist/esm/ui/ConfigPanel/Fields/Expand.js +1 -2
  26. package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +1 -2
  27. package/dist/esm/ui/ConfigPanel/Fields/SelectItem.js +1 -1
  28. package/dist/esm/ui/ConfigPanel/Header/HeaderIcon.js +1 -1
  29. package/dist/esm/ui/ConfigPanel/Header.js +2 -3
  30. package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +2 -3
  31. package/dist/esm/ui/SaveIndicator/SaveIndicator.js +3 -4
  32. package/example-utils/config-panel/ConfigPanelWithExtensionPicker.tsx +4 -8
  33. package/package.json +5 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 11.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.15
10
+
11
+ ### Patch Changes
12
+
13
+ - [`5892e575833a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5892e575833a1) -
14
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
15
+ - Updated dependencies
16
+
3
17
  ## 11.0.14
4
18
 
5
19
  ### Patch Changes
@@ -8,7 +8,6 @@ exports.bodiedExtensionSpecWithFixedToDOM = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _adfSchema = require("@atlaskit/adf-schema");
10
10
  var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
11
- var _colors = require("@atlaskit/theme/colors");
12
11
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
12
  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) { (0, _defineProperty2.default)(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; }
14
13
  var capitalizeFirstLetter = function capitalizeFirstLetter(str) {
@@ -36,7 +35,7 @@ var bodiedExtensionSpecWithFixedToDOM = exports.bodiedExtensionSpecWithFixedToDO
36
35
  return ['div', attrs, ['span', {
37
36
  // Styles based on `packages/editor/editor-common/src/extensibility/Extension/Lozenge/ExtensionLabel.tsx`
38
37
  style: (0, _lazyNodeView.convertToInlineCss)({
39
- boxShadow: "0 0 0 1px ".concat("var(--ds-border, ".concat(_colors.N30, ")")),
38
+ boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)"),
40
39
  fontSize: '14px',
41
40
  padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)"),
42
41
  color: "var(--ds-text-subtle, #505258)",
@@ -56,7 +55,7 @@ var bodiedExtensionSpecWithFixedToDOM = exports.bodiedExtensionSpecWithFixedToDO
56
55
  padding: "var(--ds-space-200, 16px)",
57
56
  marginLeft: "var(--ds-space-negative-150, -12px)",
58
57
  marginRight: "var(--ds-space-negative-150, -12px)",
59
- boxShadow: "0 0 0 1px ".concat("var(--ds-border, ".concat(_colors.N30, ")")),
58
+ boxShadow: "0 0 0 1px ".concat("var(--ds-border, #0B120E24)"),
60
59
  borderRadius: "var(--ds-radius-small, 4px)"
61
60
  })
62
61
  }, 0]];
@@ -26,7 +26,7 @@ function _validate(value, isRequired) {
26
26
  }
27
27
  }
28
28
  var requiredIndicatorStyles = (0, _react2.css)({
29
- color: "var(--ds-text-danger, #bf2600)"
29
+ color: "var(--ds-text-danger, #AE2E24)"
30
30
  });
31
31
  function CheckboxGroupInner(_ref) {
32
32
  var label = _ref.label,
@@ -29,105 +29,105 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
29
29
 
30
30
  var colorPalette = exports.colorPalette = [{
31
31
  label: 'Light Blue',
32
- value: "var(--ds-background-accent-blue-subtle, #7AB2FF)"
32
+ value: "var(--ds-background-accent-blue-subtle, #669DF1)"
33
33
  },
34
34
  // 400
35
35
  {
36
36
  label: 'Light Green',
37
- value: "var(--ds-background-accent-green-subtle, #6BE1B0)"
37
+ value: "var(--ds-background-accent-green-subtle, #4BCE97)"
38
38
  },
39
39
  // 400
40
40
  {
41
41
  label: 'Light Yellow',
42
- value: "var(--ds-background-accent-yellow-subtle, #FFDB57)"
42
+ value: "var(--ds-background-accent-yellow-subtle, #EED12B)"
43
43
  },
44
44
  // 400
45
45
  {
46
46
  label: 'Light Red',
47
- value: "var(--ds-background-accent-red-subtle, #FF8F73)"
47
+ value: "var(--ds-background-accent-red-subtle, #F87168)"
48
48
  },
49
49
  // 400
50
50
  {
51
51
  label: 'Light Purple',
52
- value: "var(--ds-background-accent-purple-subtle, #B5A7FB)"
52
+ value: "var(--ds-background-accent-purple-subtle, #C97CF4)"
53
53
  },
54
54
  // 400
55
55
 
56
56
  {
57
57
  label: 'Blue',
58
- value: "var(--ds-chart-blue-bold, #247FFF)"
58
+ value: "var(--ds-chart-blue-bold, #4688EC)"
59
59
  },
60
60
  // 600
61
61
  {
62
62
  label: 'Green',
63
- value: "var(--ds-chart-green-bold, #23A971)"
63
+ value: "var(--ds-chart-green-bold, #22A06B)"
64
64
  },
65
65
  // 600
66
66
  {
67
67
  label: 'Yellow',
68
- value: "var(--ds-chart-yellow-bold, #FFBE33)"
68
+ value: "var(--ds-chart-yellow-bold, #B38600)"
69
69
  },
70
70
  // 600
71
71
  {
72
72
  label: 'Red',
73
- value: "var(--ds-chart-red-bold, #FC552C)"
73
+ value: "var(--ds-chart-red-bold, #F15B50)"
74
74
  },
75
75
  // 600
76
76
  {
77
77
  label: 'Purple',
78
- value: "var(--ds-chart-purple-bold, #8B77EE)"
78
+ value: "var(--ds-chart-purple-bold, #BF63F3)"
79
79
  },
80
80
  // 600
81
81
 
82
82
  {
83
83
  label: 'Dark Blue',
84
- value: "var(--ds-chart-blue-bolder, #0055CC)"
84
+ value: "var(--ds-chart-blue-bolder, #357DE8)"
85
85
  },
86
86
  // 800
87
87
  {
88
88
  label: 'Dark Green',
89
- value: "var(--ds-chart-green-bolder, #177D52)"
89
+ value: "var(--ds-chart-green-bolder, #1F845A)"
90
90
  },
91
91
  // 800
92
92
  {
93
93
  label: 'Dark Yellow',
94
- value: "var(--ds-chart-yellow-bolder, #FF9D00)"
94
+ value: "var(--ds-chart-yellow-bolder, #946F00)"
95
95
  },
96
96
  // 800
97
97
  {
98
98
  label: 'Dark Red',
99
- value: "var(--ds-chart-red-bolder, #D32D03)"
99
+ value: "var(--ds-chart-red-bolder, #E2483D)"
100
100
  },
101
101
  // 800
102
102
  {
103
103
  label: 'Dark Purple',
104
- value: "var(--ds-chart-purple-bolder, #5A43D0)"
104
+ value: "var(--ds-chart-purple-bolder, #AF59E1)"
105
105
  },
106
106
  // 800
107
107
 
108
108
  {
109
109
  label: 'Darker Blue',
110
- value: "var(--ds-chart-blue-boldest, #003884)"
110
+ value: "var(--ds-chart-blue-boldest, #1558BC)"
111
111
  },
112
112
  // 1000
113
113
  {
114
114
  label: 'Darker Green',
115
- value: "var(--ds-chart-green-boldest, #055C3F)"
115
+ value: "var(--ds-chart-green-boldest, #216E4E)"
116
116
  },
117
117
  // 1000
118
118
  {
119
119
  label: 'Darker Yellow',
120
- value: "var(--ds-chart-yellow-boldest, #946104)"
120
+ value: "var(--ds-chart-yellow-boldest, #7F5F01)"
121
121
  },
122
122
  // 1000
123
123
  {
124
124
  label: 'Darker Red',
125
- value: "var(--ds-chart-red-boldest, #A32000)"
125
+ value: "var(--ds-chart-red-boldest, #AE2E24)"
126
126
  },
127
127
  // 1000
128
128
  {
129
129
  label: 'Darker Purple',
130
- value: "var(--ds-chart-purple-boldest, #44368B)"
130
+ value: "var(--ds-chart-purple-boldest, #803FA5)"
131
131
  } // 1000
132
132
  ].map(function (color) {
133
133
  return _objectSpread(_objectSpread({}, color), {}, {
@@ -141,32 +141,32 @@ var colorPalette = exports.colorPalette = [{
141
141
  */
142
142
  var extendedColorPalette = exports.extendedColorPalette = [{
143
143
  label: 'Darker Blue',
144
- value: "var(--ds-chart-blue-boldest, #003884)"
144
+ value: "var(--ds-chart-blue-boldest, #1558BC)"
145
145
  },
146
146
  // 1000
147
147
  {
148
148
  label: 'Darker Teal',
149
- value: "var(--ds-chart-teal-boldest, #206B74)"
149
+ value: "var(--ds-chart-teal-boldest, #206A83)"
150
150
  },
151
151
  // 1000
152
152
  {
153
153
  label: 'Darker Green',
154
- value: "var(--ds-chart-green-boldest, #055C3F)"
154
+ value: "var(--ds-chart-green-boldest, #216E4E)"
155
155
  },
156
156
  // 1000
157
157
  {
158
158
  label: 'Darker Yellow',
159
- value: "var(--ds-chart-yellow-boldest, #946104)"
159
+ value: "var(--ds-chart-yellow-boldest, #7F5F01)"
160
160
  },
161
161
  // 1000
162
162
  {
163
163
  label: 'Darker Orange',
164
- value: "var(--ds-chart-orange-boldest, #974F0C)"
164
+ value: "var(--ds-chart-orange-boldest, #7A3B00)"
165
165
  },
166
166
  // 1000
167
167
  {
168
168
  label: 'Darker Red',
169
- value: "var(--ds-chart-red-boldest, #A32000)"
169
+ value: "var(--ds-chart-red-boldest, #AE2E24)"
170
170
  },
171
171
  // 1000
172
172
  {
@@ -176,43 +176,43 @@ var extendedColorPalette = exports.extendedColorPalette = [{
176
176
  // 1000
177
177
  {
178
178
  label: 'Darker Purple',
179
- value: "var(--ds-chart-purple-boldest, #44368B)"
179
+ value: "var(--ds-chart-purple-boldest, #803FA5)"
180
180
  },
181
181
  // 1000
182
182
  {
183
183
  label: 'Darker Gray',
184
- value: "var(--ds-chart-gray-boldest, #44546F)"
184
+ value: "var(--ds-chart-gray-boldest, #505258)"
185
185
  },
186
186
  // 1000
187
187
 
188
188
  {
189
189
  label: 'Dark Blue',
190
- value: "var(--ds-chart-blue-bolder, #0055CC)"
190
+ value: "var(--ds-chart-blue-bolder, #357DE8)"
191
191
  },
192
192
  // 800
193
193
  {
194
194
  label: 'Dark Teal',
195
- value: "var(--ds-chart-teal-bolder, #1D7F8C)"
195
+ value: "var(--ds-chart-teal-bolder, #227D9B)"
196
196
  },
197
197
  // 800
198
198
  {
199
199
  label: 'Dark Green',
200
- value: "var(--ds-chart-green-bolder, #177D52)"
200
+ value: "var(--ds-chart-green-bolder, #1F845A)"
201
201
  },
202
202
  // 800
203
203
  {
204
204
  label: 'Dark Yellow',
205
- value: "var(--ds-chart-yellow-bolder, #FF9D00)"
205
+ value: "var(--ds-chart-yellow-bolder, #946F00)"
206
206
  },
207
207
  // 800
208
208
  {
209
209
  label: 'Dark Orange',
210
- value: "var(--ds-chart-orange-bolder, #B65C02)"
210
+ value: "var(--ds-chart-orange-bolder, #BD5B00)"
211
211
  },
212
212
  // 800
213
213
  {
214
214
  label: 'Dark Red',
215
- value: "var(--ds-chart-red-bolder, #D32D03)"
215
+ value: "var(--ds-chart-red-bolder, #E2483D)"
216
216
  },
217
217
  // 800
218
218
  {
@@ -222,43 +222,43 @@ var extendedColorPalette = exports.extendedColorPalette = [{
222
222
  // 800
223
223
  {
224
224
  label: 'Dark Purple',
225
- value: "var(--ds-chart-purple-bolder, #5A43D0)"
225
+ value: "var(--ds-chart-purple-bolder, #AF59E1)"
226
226
  },
227
227
  // 800
228
228
  {
229
229
  label: 'Dark Gray',
230
- value: "var(--ds-chart-gray-bolder, #758195)"
230
+ value: "var(--ds-chart-gray-bolder, #7D818A)"
231
231
  },
232
232
  // 800
233
233
 
234
234
  {
235
235
  label: 'Blue',
236
- value: "var(--ds-chart-blue-bold, #247FFF)"
236
+ value: "var(--ds-chart-blue-bold, #4688EC)"
237
237
  },
238
238
  // 600
239
239
  {
240
240
  label: 'Teal',
241
- value: "var(--ds-chart-teal-bold, #1D9AAA)"
241
+ value: "var(--ds-chart-teal-bold, #2898BD)"
242
242
  },
243
243
  // 600
244
244
  {
245
245
  label: 'Green',
246
- value: "var(--ds-chart-green-bold, #23A971)"
246
+ value: "var(--ds-chart-green-bold, #22A06B)"
247
247
  },
248
248
  // 600
249
249
  {
250
250
  label: 'Yellow',
251
- value: "var(--ds-chart-yellow-bold, #FFBE33)"
251
+ value: "var(--ds-chart-yellow-bold, #B38600)"
252
252
  },
253
253
  // 600
254
254
  {
255
255
  label: 'Orange',
256
- value: "var(--ds-chart-orange-bold, #D97008)"
256
+ value: "var(--ds-chart-orange-bold, #E06C00)"
257
257
  },
258
258
  // 600
259
259
  {
260
260
  label: 'Red',
261
- value: "var(--ds-chart-red-bold, #FC552C)"
261
+ value: "var(--ds-chart-red-bold, #F15B50)"
262
262
  },
263
263
  // 600
264
264
  {
@@ -268,43 +268,43 @@ var extendedColorPalette = exports.extendedColorPalette = [{
268
268
  // 600
269
269
  {
270
270
  label: 'Purple',
271
- value: "var(--ds-chart-purple-bold, #8B77EE)"
271
+ value: "var(--ds-chart-purple-bold, #BF63F3)"
272
272
  },
273
273
  // 600
274
274
  {
275
275
  label: 'Gray',
276
- value: "var(--ds-chart-gray-bold, #8590A2)"
276
+ value: "var(--ds-chart-gray-bold, #8C8F97)"
277
277
  },
278
278
  // 600
279
279
 
280
280
  {
281
281
  label: 'Light Blue',
282
- value: "var(--ds-background-accent-blue-subtle, #7AB2FF)"
282
+ value: "var(--ds-background-accent-blue-subtle, #669DF1)"
283
283
  },
284
284
  // 400
285
285
  {
286
286
  label: 'Light Teal',
287
- value: "var(--ds-background-accent-teal-subtle, #60C6D2)"
287
+ value: "var(--ds-background-accent-teal-subtle, #6CC3E0)"
288
288
  },
289
289
  // 400
290
290
  {
291
291
  label: 'Light Green',
292
- value: "var(--ds-background-accent-green-subtle, #6BE1B0)"
292
+ value: "var(--ds-background-accent-green-subtle, #4BCE97)"
293
293
  },
294
294
  // 400
295
295
  {
296
296
  label: 'Light Yellow',
297
- value: "var(--ds-background-accent-yellow-subtle, #FFDB57)"
297
+ value: "var(--ds-background-accent-yellow-subtle, #EED12B)"
298
298
  },
299
299
  // 400
300
300
  {
301
301
  label: 'Light Orange',
302
- value: "var(--ds-background-accent-orange-subtle, #FAA53D)"
302
+ value: "var(--ds-background-accent-orange-subtle, #FCA700)"
303
303
  },
304
304
  // 400
305
305
  {
306
306
  label: 'Light Red',
307
- value: "var(--ds-background-accent-red-subtle, #FF8F73)"
307
+ value: "var(--ds-background-accent-red-subtle, #F87168)"
308
308
  },
309
309
  // 400
310
310
  {
@@ -314,12 +314,12 @@ var extendedColorPalette = exports.extendedColorPalette = [{
314
314
  // 400
315
315
  {
316
316
  label: 'Light Purple',
317
- value: "var(--ds-background-accent-purple-subtle, #B5A7FB)"
317
+ value: "var(--ds-background-accent-purple-subtle, #C97CF4)"
318
318
  },
319
319
  // 400
320
320
  {
321
321
  label: 'Light Gray',
322
- value: "var(--ds-background-accent-gray-subtle, #8993A5)"
322
+ value: "var(--ds-background-accent-gray-subtle, #8C8F97)"
323
323
  } // 400
324
324
  ].map(function (color) {
325
325
  return _objectSpread(_objectSpread({}, color), {}, {
@@ -14,7 +14,6 @@ var _new = require("@atlaskit/button/new");
14
14
  var _extensions = require("@atlaskit/editor-common/extensions");
15
15
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
16
16
  var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
17
- var _colors = require("@atlaskit/theme/colors");
18
17
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
19
18
  /**
20
19
  * @jsxRuntime classic
@@ -24,7 +23,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
24
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
24
 
26
25
  var expandContainerStyles = (0, _react2.css)({
27
- borderBottom: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N40, ")"))
26
+ borderBottom: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)")
28
27
  });
29
28
  var expandControlStyles = (0, _react2.css)({
30
29
  display: 'flex',
@@ -25,7 +25,6 @@ var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
25
25
  var _primitives = require("@atlaskit/primitives");
26
26
  var _sectionMessage = _interopRequireDefault(require("@atlaskit/section-message"));
27
27
  var _select = _interopRequireDefault(require("@atlaskit/select"));
28
- var _colors = require("@atlaskit/theme/colors");
29
28
  var _utils = require("../utils");
30
29
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
31
30
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -37,7 +36,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
37
36
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
38
37
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
39
38
  var actionsWrapperStyles = (0, _react2.css)({
40
- borderTop: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N40A, ")")),
39
+ borderTop: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
41
40
  marginTop: "var(--ds-space-200, 16px)",
42
41
  paddingTop: "var(--ds-space-200, 16px)"
43
42
  });
@@ -54,7 +54,7 @@ var formatOptionLabel = exports.formatOptionLabel = function formatOptionLabel(_
54
54
  appearance: "square"
55
55
  }) : icon), (0, _react.jsx)("div", {
56
56
  style: {
57
- paddingLeft: icon ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0)"
57
+ paddingLeft: icon ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"
58
58
  },
59
59
  "data-testid": "extension-option-label"
60
60
  }, label, description && context !== 'value' && (0, _react.jsx)("small", null, description)));
@@ -16,7 +16,7 @@ var itemIconStyles = (0, _primitives.xcss)({
16
16
  width: iconWidth,
17
17
  height: iconWidth,
18
18
  overflow: 'hidden',
19
- border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, rgba(223, 225, 229, 0.5))"),
19
+ border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
20
20
  borderRadius: "var(--ds-radius-small, 3px)",
21
21
  boxSizing: 'border-box',
22
22
  display: 'flex',
@@ -13,7 +13,6 @@ var _extensions = require("@atlaskit/editor-common/extensions");
13
13
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
14
14
  var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
15
15
  var _primitives = require("@atlaskit/primitives");
16
- var _colors = require("@atlaskit/theme/colors");
17
16
  var _HelpLink = require("./HelpLink");
18
17
  /**
19
18
  * @jsxRuntime classic
@@ -36,7 +35,7 @@ var itemIconStyles = (0, _react2.css)({
36
35
  width: iconWidth,
37
36
  height: iconWidth,
38
37
  overflow: 'hidden',
39
- border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, rgba(223, 225, 229, 0.5))"),
38
+ border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
40
39
  borderRadius: "var(--ds-radius-small, 3px)",
41
40
  boxSizing: 'border-box',
42
41
  display: 'flex',
@@ -72,7 +71,7 @@ var itemTextStyles = (0, _react2.css)({
72
71
  itemSummary: {
73
72
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
74
73
  fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(11.67),
75
- color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
74
+ color: "var(--ds-text-subtlest, #6B6E76)",
76
75
  marginTop: "var(--ds-space-050, 4px)",
77
76
  whiteSpace: 'nowrap',
78
77
  overflow: 'hidden',
@@ -10,7 +10,6 @@ var _react2 = require("@emotion/react");
10
10
  var _reactIntlNext = require("react-intl-next");
11
11
  var _extensions = require("@atlaskit/editor-common/extensions");
12
12
  var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
13
- var _colors = require("@atlaskit/theme/colors");
14
13
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
15
14
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
16
15
  /**
@@ -32,9 +31,9 @@ var removeButtonWrapperStyles = (0, _react2.css)({
32
31
  right: 0,
33
32
  top: 0,
34
33
  cursor: 'pointer',
35
- color: "var(--ds-icon-subtle, ".concat(_colors.N80, ")"),
34
+ color: "var(--ds-icon-subtle, #505258)",
36
35
  '&:hover': {
37
- color: "var(--ds-icon-danger, ".concat(_colors.R300, ")")
36
+ color: "var(--ds-icon-danger, #C9372C)"
38
37
  }
39
38
  });
40
39
  var RemovableField = function RemovableField(_ref) {
@@ -12,7 +12,6 @@ var _reactIntlNext = require("react-intl-next");
12
12
  var _extensions = require("@atlaskit/editor-common/extensions");
13
13
  var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
14
14
  var _primitives = require("@atlaskit/primitives");
15
- var _colors = require("@atlaskit/theme/colors");
16
15
  /**
17
16
  * @jsxRuntime classic
18
17
  * @jsx jsx
@@ -35,9 +34,9 @@ var saveIndicatorContentStyles = (0, _react2.css)({
35
34
  flexDirection: 'row',
36
35
  alignItems: 'center',
37
36
  padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-150, 12px)"),
38
- background: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
37
+ background: "var(--ds-surface-overlay, #FFFFFF)",
39
38
  /* E300 */
40
- boxShadow: "var(--ds-shadow-overlay, ".concat("0px 8px 12px rgba(9, 30, 66, 0.15), 0px 0px 1px rgba(9, 30, 66, 0.31)", ")"),
39
+ boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
41
40
  borderRadius: "var(--ds-radius-xxlarge, 16px)"
42
41
  });
43
42
  var saveIndicatorTextStyles = (0, _primitives.xcss)({
@@ -79,7 +78,7 @@ var SaveIndicator = exports.SaveIndicator = function SaveIndicator(_ref) {
79
78
  "data-testid": "save-indicator-content"
80
79
  }, (0, _react2.jsx)(_statusSuccess.default, {
81
80
  label: "Saving",
82
- color: "var(--ds-icon-success, ".concat(_colors.G300, ")"),
81
+ color: "var(--ds-icon-success, #6A9A23)",
83
82
  spacing: "none"
84
83
  }), (0, _react2.jsx)(_primitives.Box, {
85
84
  xcss: saveIndicatorTextStyles
@@ -1,6 +1,5 @@
1
1
  import { bodiedExtension } from '@atlaskit/adf-schema';
2
2
  import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
3
- import { N30 } from '@atlaskit/theme/colors';
4
3
  const capitalizeFirstLetter = str => {
5
4
  return str.charAt(0).toUpperCase() + str.slice(1);
6
5
  };
@@ -27,7 +26,7 @@ export const bodiedExtensionSpecWithFixedToDOM = () => {
27
26
  return ['div', attrs, ['span', {
28
27
  // Styles based on `packages/editor/editor-common/src/extensibility/Extension/Lozenge/ExtensionLabel.tsx`
29
28
  style: convertToInlineCss({
30
- boxShadow: `0 0 0 1px ${`var(--ds-border, ${N30})`}`,
29
+ boxShadow: `0 0 0 1px ${"var(--ds-border, #0B120E24)"}`,
31
30
  fontSize: '14px',
32
31
  padding: `${"var(--ds-space-025, 2px)"} ${"var(--ds-space-050, 4px)"}`,
33
32
  color: "var(--ds-text-subtle, #505258)",
@@ -47,7 +46,7 @@ export const bodiedExtensionSpecWithFixedToDOM = () => {
47
46
  padding: "var(--ds-space-200, 16px)",
48
47
  marginLeft: "var(--ds-space-negative-150, -12px)",
49
48
  marginRight: "var(--ds-space-negative-150, -12px)",
50
- boxShadow: `0 0 0 1px ${`var(--ds-border, ${N30})`}`,
49
+ boxShadow: `0 0 0 1px ${"var(--ds-border, #0B120E24)"}`,
51
50
  borderRadius: "var(--ds-radius-small, 4px)"
52
51
  })
53
52
  }, 0]];
@@ -18,7 +18,7 @@ function validate(value, isRequired) {
18
18
  }
19
19
  }
20
20
  const requiredIndicatorStyles = css({
21
- color: "var(--ds-text-danger, #bf2600)"
21
+ color: "var(--ds-text-danger, #AE2E24)"
22
22
  });
23
23
  function CheckboxGroupInner({
24
24
  label,