@atlaskit/editor-palette 3.4.35 → 3.5.0

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atlaskit/editor-palette
2
2
 
3
+ ## 3.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
8
+ Remove stale API report artifacts from published Platform packages.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 3.4.35
4
15
 
5
16
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-palette",
3
- "version": "3.4.35",
3
+ "version": "3.5.0",
4
4
  "description": "The editor palette",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,10 +22,10 @@
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
24
  "@atlaskit/docs": "^12.2.0",
25
- "@atlaskit/platform-feature-flags": "^2.1.0",
26
- "@atlaskit/section-message": "^10.1.0",
25
+ "@atlaskit/platform-feature-flags": "^2.2.0",
26
+ "@atlaskit/section-message": "^10.2.0",
27
27
  "@atlaskit/tmp-editor-statsig": "^168.0.0",
28
- "@atlaskit/tokens": "^16.9.0",
28
+ "@atlaskit/tokens": "^16.10.0",
29
29
  "@babel/runtime": "^7.0.0"
30
30
  },
31
31
  "platform-feature-flags": {
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "devDependencies": {
37
- "@atlassian/feature-flags-test-utils": "^1.2.0",
37
+ "@atlassian/feature-flags-test-utils": "^1.3.0",
38
38
  "@testing-library/react": "^16.3.0",
39
39
  "react": "^19.2.0",
40
40
  "react-dom": "^19.2.0",
package/report.api.md DELETED
@@ -1,358 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/editor-palette"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- // @public (undocumented)
20
- type EditorBackgroundPalette = typeof editorBackgroundPalette;
21
-
22
- // @public
23
- const editorBackgroundPalette: {
24
- '#DEEBFF': {
25
- getValue: (fallback: string) => string;
26
- token: 'var(--ds-background-accent-blue-subtlest, #DEEBFF)';
27
- };
28
- '#B3D4FF': {
29
- getValue: (fallback: string) => string;
30
- token: 'var(--ds-background-accent-blue-subtler, #B3D4FF)';
31
- };
32
- '#4C9AFF': {
33
- getValue: (fallback: string) => string;
34
- token: 'var(--ds-background-accent-blue-subtle, #4C9AFF)';
35
- };
36
- '#E6FCFF': {
37
- getValue: (fallback: string) => string;
38
- token: 'var(--ds-background-accent-teal-subtlest, #E6FCFF)';
39
- };
40
- '#B3F5FF': {
41
- getValue: (fallback: string) => string;
42
- token: 'var(--ds-background-accent-teal-subtler, #B3F5FF)';
43
- };
44
- '#79E2F2': {
45
- getValue: (fallback: string) => string;
46
- token: 'var(--ds-background-accent-teal-subtle, #79E2F2)';
47
- };
48
- '#E3FCEF': {
49
- getValue: (fallback: string) => string;
50
- token: 'var(--ds-background-accent-green-subtlest, #E3FCEF)';
51
- };
52
- '#ABF5D1': {
53
- getValue: (fallback: string) => string;
54
- token: 'var(--ds-background-accent-green-subtler, #ABF5D1)';
55
- };
56
- '#57D9A3': {
57
- getValue: (fallback: string) => string;
58
- token: 'var(--ds-background-accent-green-subtle, #57D9A3)';
59
- };
60
- '#FFFAE6': {
61
- getValue: (fallback: string) => string;
62
- token: 'var(--ds-background-accent-yellow-subtlest, #FFFAE6)';
63
- };
64
- '#FFF0B3': {
65
- getValue: (fallback: string) => string;
66
- token: 'var(--ds-background-accent-yellow-subtler, #FFF0B3)';
67
- };
68
- '#FFC400': {
69
- getValue: (fallback: string) => string;
70
- token: 'var(--ds-background-accent-orange-subtle, #FFC400)';
71
- };
72
- '#FFEBE6': {
73
- getValue: (fallback: string) => string;
74
- token: 'var(--ds-background-accent-red-subtlest, #FFEBE6)';
75
- };
76
- '#FFBDAD': {
77
- getValue: (fallback: string) => string;
78
- token: 'var(--ds-background-accent-red-subtler, #FFBDAD)';
79
- };
80
- '#FF8F73': {
81
- getValue: (fallback: string) => string;
82
- token: 'var(--ds-background-accent-red-subtle, #FF8F73)';
83
- };
84
- '#EAE6FF': {
85
- getValue: (fallback: string) => string;
86
- token: 'var(--ds-background-accent-purple-subtlest, #EAE6FF)';
87
- };
88
- '#C0B6F2': {
89
- getValue: (fallback: string) => string;
90
- token: 'var(--ds-background-accent-purple-subtler, #C0B6F2)';
91
- };
92
- '#998DD9': {
93
- getValue: (fallback: string) => string;
94
- token: 'var(--ds-background-accent-purple-subtle, #998DD9)';
95
- };
96
- '#FFFFFF': {
97
- getValue: (fallback: string) => string;
98
- token: 'var(--ds-surface, #FFFFFF)';
99
- };
100
- '#F4F5F7': {
101
- getValue: (fallback: string) => string;
102
- token: 'var(--ds-background-accent-gray-subtlest, #F4F5F7)';
103
- };
104
- '#B3BAC5': {
105
- getValue: (fallback: string) => string;
106
- token: 'var(--ds-background-accent-gray-subtle, #B3BAC5)';
107
- };
108
- };
109
-
110
- // @public (undocumented)
111
- type EditorBackgroundPaletteKey = keyof EditorBackgroundPalette;
112
-
113
- // @public (undocumented)
114
- type EditorBorderPalette = typeof editorBorderPalette;
115
-
116
- // @public (undocumented)
117
- const editorBorderPalette: {
118
- '#091E4224': 'var(--ds-border, #091E4224)';
119
- '#758195': 'var(--ds-border-bold, #758195)';
120
- '#172B4D': 'var(--ds-text, #172B4D)';
121
- };
122
-
123
- // @public (undocumented)
124
- type EditorBorderPaletteKey = keyof EditorBorderPalette;
125
-
126
- // @public (undocumented)
127
- type EditorTableChartsPalette = typeof editorTableChartsPalette;
128
-
129
- // @public
130
- const editorTableChartsPalette: {
131
- '#7AB2FF': {
132
- getValue: (fallback: string) => string;
133
- token: 'var(--ds-background-accent-blue-subtle, #7AB2FF)';
134
- };
135
- '#60C6D2': {
136
- getValue: (fallback: string) => string;
137
- token: 'var(--ds-background-accent-teal-subtle, #60C6D2)';
138
- };
139
- '#6BE1B0': {
140
- getValue: (fallback: string) => string;
141
- token: 'var(--ds-background-accent-green-subtle, #6BE1B0)';
142
- };
143
- '#FFDB57': {
144
- getValue: (fallback: string) => string;
145
- token: 'var(--ds-background-accent-yellow-subtle, #FFDB57)';
146
- };
147
- '#FAA53D': {
148
- getValue: (fallback: string) => string;
149
- token: 'var(--ds-background-accent-orange-subtle, #FAA53D)';
150
- };
151
- '#FF8F73': {
152
- getValue: (fallback: string) => string;
153
- token: 'var(--ds-background-accent-red-subtle, #FF8F73)';
154
- };
155
- '#E774BB': {
156
- getValue: (fallback: string) => string;
157
- token: 'var(--ds-background-accent-magenta-subtle, #E774BB)';
158
- };
159
- '#B5A7FB': {
160
- getValue: (fallback: string) => string;
161
- token: 'var(--ds-background-accent-purple-subtle, #B5A7FB)';
162
- };
163
- '#8993A5': {
164
- getValue: (fallback: string) => string;
165
- token: 'var(--ds-background-accent-gray-subtler, #8993A5)';
166
- };
167
- '#247FFF': {
168
- getValue: (fallback: string) => string;
169
- token: 'var(--ds-chart-blue-bold, #247FFF)';
170
- };
171
- '#1D9AAA': {
172
- getValue: (fallback: string) => string;
173
- token: 'var(--ds-chart-teal-bold, #1D9AAA)';
174
- };
175
- '#23A971': {
176
- getValue: (fallback: string) => string;
177
- token: 'var(--ds-chart-green-bold, #23A971)';
178
- };
179
- '#FFBE33': {
180
- getValue: (fallback: string) => string;
181
- token: 'var(--ds-chart-yellow-bold, #FFBE33)';
182
- };
183
- '#D97008': {
184
- getValue: (fallback: string) => string;
185
- token: 'var(--ds-chart-orange-bold, #D97008)';
186
- };
187
- '#FC552C': {
188
- getValue: (fallback: string) => string;
189
- token: 'var(--ds-chart-red-bold, #FC552C)';
190
- };
191
- '#DA62AC': {
192
- getValue: (fallback: string) => string;
193
- token: 'var(--ds-chart-magenta-bold, #DA62AC)';
194
- };
195
- '#8B77EE': {
196
- getValue: (fallback: string) => string;
197
- token: 'var(--ds-chart-purple-bold, #8B77EE)';
198
- };
199
- '#8590A2': {
200
- getValue: (fallback: string) => string;
201
- token: 'var(--ds-chart-gray-bold, #8590A2)';
202
- };
203
- '#0055CC': {
204
- getValue: (fallback: string) => string;
205
- token: 'var(--ds-chart-blue-bolder, #0055CC)';
206
- };
207
- '#1D7F8C': {
208
- getValue: (fallback: string) => string;
209
- token: 'var(--ds-chart-teal-bolder, #1D7F8C)';
210
- };
211
- '#177D52': {
212
- getValue: (fallback: string) => string;
213
- token: 'var(--ds-chart-green-bolder, #177D52)';
214
- };
215
- '#FF9D00': {
216
- getValue: (fallback: string) => string;
217
- token: 'var(--ds-chart-yellow-bolder, #FF9D00)';
218
- };
219
- '#B65C02': {
220
- getValue: (fallback: string) => string;
221
- token: 'var(--ds-chart-orange-bolder, #B65C02)';
222
- };
223
- '#D32D03': {
224
- getValue: (fallback: string) => string;
225
- token: 'var(--ds-chart-red-bolder, #D32D03)';
226
- };
227
- '#CD519D': {
228
- getValue: (fallback: string) => string;
229
- token: 'var(--ds-chart-magenta-bolder, #CD519D)';
230
- };
231
- '#5A43D0': {
232
- getValue: (fallback: string) => string;
233
- token: 'var(--ds-chart-purple-bolder, #5A43D0)';
234
- };
235
- '#758195': {
236
- getValue: (fallback: string) => string;
237
- token: 'var(--ds-chart-gray-bolder, #758195)';
238
- };
239
- '#003884': {
240
- getValue: (fallback: string) => string;
241
- token: 'var(--ds-chart-blue-boldest, #003884)';
242
- };
243
- '#206B74': {
244
- getValue: (fallback: string) => string;
245
- token: 'var(--ds-chart-teal-boldest, #206B74)';
246
- };
247
- '#055C3F': {
248
- getValue: (fallback: string) => string;
249
- token: 'var(--ds-chart-green-boldest, #055C3F)';
250
- };
251
- '#946104': {
252
- getValue: (fallback: string) => string;
253
- token: 'var(--ds-chart-yellow-boldest, #946104)';
254
- };
255
- '#974F0C': {
256
- getValue: (fallback: string) => string;
257
- token: 'var(--ds-chart-orange-boldest, #974F0C)';
258
- };
259
- '#A32000': {
260
- getValue: (fallback: string) => string;
261
- token: 'var(--ds-chart-red-boldest, #A32000)';
262
- };
263
- '#943D73': {
264
- getValue: (fallback: string) => string;
265
- token: 'var(--ds-chart-magenta-boldest, #943D73)';
266
- };
267
- '#44368B': {
268
- getValue: (fallback: string) => string;
269
- token: 'var(--ds-chart-purple-boldest, #44368B)';
270
- };
271
- '#44546F': {
272
- getValue: (fallback: string) => string;
273
- token: 'var(--ds-chart-gray-boldest, #44546F)';
274
- };
275
- };
276
-
277
- // @public (undocumented)
278
- type EditorTableChartsPaletteKey = keyof EditorTableChartsPalette;
279
-
280
- // @public (undocumented)
281
- type EditorTextPalette = typeof editorTextPalette;
282
-
283
- // @public (undocumented)
284
- const editorTextPalette: {
285
- '#B3D4FF': 'var(--ds-background-accent-blue-subtler, #B3D4FF)';
286
- '#4C9AFF': 'var(--ds-icon-accent-blue, #4C9AFF)';
287
- '#0747A6': 'var(--ds-text-accent-blue, #0747A6)';
288
- '#B3F5FF': 'var(--ds-background-accent-teal-subtler, #B3F5FF)';
289
- '#00B8D9': 'var(--ds-icon-accent-teal, #00B8D9)';
290
- '#008DA6': 'var(--ds-text-accent-teal, #008DA6)';
291
- '#ABF5D1': 'var(--ds-background-accent-green-subtler, #ABF5D1)';
292
- '#36B37E': 'var(--ds-icon-accent-green, #36B37E)';
293
- '#006644': 'var(--ds-text-accent-green, #006644)';
294
- '#FFF0B3': 'var(--ds-background-accent-yellow-subtler, #FFF0B3)';
295
- '#FFC400': 'var(--ds-background-accent-orange-subtle, #FFC400)';
296
- '#FF991F': 'var(--ds-icon-accent-orange, #FF991F)';
297
- '#FFBDAD': 'var(--ds-background-accent-red-subtler, #FFBDAD)';
298
- '#FF5630': 'var(--ds-icon-accent-red, #FF5630)';
299
- '#BF2600': 'var(--ds-text-accent-red, #BF2600)';
300
- '#EAE6FF': 'var(--ds-background-accent-purple-subtler, #EAE6FF)';
301
- '#6554C0': 'var(--ds-icon-accent-purple, #6554C0)';
302
- '#403294': 'var(--ds-text-accent-purple, #403294)';
303
- '#FFFFFF': 'var(--ds-text-inverse, #FFFFFF)';
304
- '#97A0AF': 'var(--ds-icon-accent-gray, #97A0AF)';
305
- '#172B4D': 'var(--ds-text, #172B4D)';
306
- };
307
-
308
- // @public (undocumented)
309
- type EditorTextPaletteKey = keyof EditorTextPalette;
310
-
311
- // @public
312
- export function hexToEditorBackgroundPaletteColor<HexColor extends string>(
313
- hexColor: HexColor,
314
- ): HexColor extends EditorBackgroundPaletteKey
315
- ? EditorBackgroundPalette[HexColor]['token']
316
- : string | undefined;
317
-
318
- // @public
319
- export function hexToEditorBackgroundPaletteRawValue<HexColor extends string>(
320
- hexColor: HexColor,
321
- ): HexColor extends EditorBackgroundPaletteKey ? string : undefined;
322
-
323
- // @public
324
- export function hexToEditorBorderPaletteColor<HexColor extends string>(
325
- hexColor: HexColor,
326
- ): HexColor extends EditorBorderPaletteKey ? EditorBorderPalette[HexColor] : string | undefined;
327
-
328
- // @public
329
- export function hexToEditorTableChartsPaletteColor<HexColor extends string>(
330
- hexColor: HexColor,
331
- ): HexColor extends EditorTableChartsPaletteKey
332
- ? EditorTableChartsPalette[HexColor]['token']
333
- : string | undefined;
334
-
335
- // @public
336
- export function hexToEditorTableChartsPaletteRawValue<HexColor extends string>(
337
- hexColor: HexColor,
338
- ): HexColor extends EditorTableChartsPaletteKey ? string : undefined;
339
-
340
- // @public
341
- export function hexToEditorTextPaletteColor<HexColor extends string>(
342
- hexColor: HexColor,
343
- ): HexColor extends EditorTextPaletteKey ? EditorTextPalette[HexColor] : string | undefined;
344
-
345
- // (No @packageDocumentation comment for this package)
346
- ```
347
-
348
- <!--SECTION END: Main Entry Types-->
349
-
350
- ### Peer Dependencies
351
-
352
- <!--SECTION START: Peer Dependencies-->
353
-
354
- ```json
355
- {}
356
- ```
357
-
358
- <!--SECTION END: Peer Dependencies-->