@gooddata/sdk-ui-kit 10.27.0-alpha.8 → 10.27.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.
Files changed (105) hide show
  1. package/esm/@ui/@types/icon.d.ts +1 -1
  2. package/esm/@ui/@types/icon.d.ts.map +1 -1
  3. package/esm/@ui/UiButton/UiButton.d.ts +2 -0
  4. package/esm/@ui/UiButton/UiButton.d.ts.map +1 -1
  5. package/esm/@ui/UiButton/UiButton.js +2 -2
  6. package/esm/@ui/UiButton/UiButton.js.map +1 -1
  7. package/esm/@ui/UiFocusTrap/UiFocusTrap.d.ts.map +1 -1
  8. package/esm/@ui/UiFocusTrap/UiFocusTrap.js +9 -1
  9. package/esm/@ui/UiFocusTrap/UiFocusTrap.js.map +1 -1
  10. package/esm/@ui/UiIcon/icons.d.ts +92 -2
  11. package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
  12. package/esm/@ui/UiIcon/icons.js +78 -0
  13. package/esm/@ui/UiIcon/icons.js.map +1 -1
  14. package/esm/@ui/UiListbox/UiListbox.d.ts.map +1 -1
  15. package/esm/@ui/UiListbox/UiListbox.js +1 -3
  16. package/esm/@ui/UiListbox/UiListbox.js.map +1 -1
  17. package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.d.ts +5 -2
  18. package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.d.ts.map +1 -1
  19. package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.js.map +1 -1
  20. package/esm/@ui/UiListbox/defaults/firstCharacterSearch.d.ts +2 -2
  21. package/esm/@ui/UiListbox/defaults/firstCharacterSearch.d.ts.map +1 -1
  22. package/esm/@ui/UiListbox/defaults/firstCharacterSearch.js +1 -1
  23. package/esm/@ui/UiListbox/defaults/firstCharacterSearch.js.map +1 -1
  24. package/esm/@ui/UiListbox/types.d.ts +4 -4
  25. package/esm/@ui/UiListbox/types.d.ts.map +1 -1
  26. package/esm/@ui/UiMenu/UiMenu.d.ts +11 -0
  27. package/esm/@ui/UiMenu/UiMenu.d.ts.map +1 -0
  28. package/esm/@ui/UiMenu/UiMenu.js +36 -0
  29. package/esm/@ui/UiMenu/UiMenu.js.map +1 -0
  30. package/esm/@ui/UiMenu/context.d.ts +11 -0
  31. package/esm/@ui/UiMenu/context.d.ts.map +1 -0
  32. package/esm/@ui/UiMenu/context.js +11 -0
  33. package/esm/@ui/UiMenu/context.js.map +1 -0
  34. package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.d.ts +7 -0
  35. package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.d.ts.map +1 -0
  36. package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.js +22 -0
  37. package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.js.map +1 -0
  38. package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.d.ts +9 -0
  39. package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.d.ts.map +1 -0
  40. package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.js +39 -0
  41. package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.js.map +1 -0
  42. package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.d.ts +11 -0
  43. package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.d.ts.map +1 -0
  44. package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.js +59 -0
  45. package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.js.map +1 -0
  46. package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.d.ts +8 -0
  47. package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.d.ts.map +1 -0
  48. package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.js +14 -0
  49. package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.js.map +1 -0
  50. package/esm/@ui/UiMenu/hooks.d.ts +16 -0
  51. package/esm/@ui/UiMenu/hooks.d.ts.map +1 -0
  52. package/esm/@ui/UiMenu/hooks.js +173 -0
  53. package/esm/@ui/UiMenu/hooks.js.map +1 -0
  54. package/esm/@ui/UiMenu/itemUtils.d.ts +18 -0
  55. package/esm/@ui/UiMenu/itemUtils.d.ts.map +1 -0
  56. package/esm/@ui/UiMenu/itemUtils.js +101 -0
  57. package/esm/@ui/UiMenu/itemUtils.js.map +1 -0
  58. package/esm/@ui/UiMenu/menuBem.d.ts +2 -0
  59. package/esm/@ui/UiMenu/menuBem.d.ts.map +1 -0
  60. package/esm/@ui/UiMenu/menuBem.js +4 -0
  61. package/esm/@ui/UiMenu/menuBem.js.map +1 -0
  62. package/esm/@ui/UiMenu/types.d.ts +124 -0
  63. package/esm/@ui/UiMenu/types.d.ts.map +1 -0
  64. package/esm/@ui/UiMenu/types.js +3 -0
  65. package/esm/@ui/UiMenu/types.js.map +1 -0
  66. package/esm/Dropdown/Dropdown.d.ts +1 -1
  67. package/esm/Dropdown/Dropdown.d.ts.map +1 -1
  68. package/esm/Dropdown/Dropdown.js +1 -1
  69. package/esm/Dropdown/Dropdown.js.map +1 -1
  70. package/esm/Header/generateHeaderAccountMenuItems.d.ts +5 -4
  71. package/esm/Header/generateHeaderAccountMenuItems.d.ts.map +1 -1
  72. package/esm/Header/generateHeaderAccountMenuItems.js +18 -24
  73. package/esm/Header/generateHeaderAccountMenuItems.js.map +1 -1
  74. package/esm/List/ListItem.js +2 -2
  75. package/esm/List/ListItem.js.map +1 -1
  76. package/esm/index.d.ts +5 -1
  77. package/esm/index.d.ts.map +1 -1
  78. package/esm/index.js +3 -0
  79. package/esm/index.js.map +1 -1
  80. package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts +8 -0
  81. package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts.map +1 -1
  82. package/esm/measureNumberFormat/customFormatDialog/FormatInput.js +94 -32
  83. package/esm/measureNumberFormat/customFormatDialog/FormatInput.js.map +1 -1
  84. package/esm/sdk-ui-kit.d.ts +281 -28
  85. package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.d.ts +3 -5
  86. package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.d.ts.map +1 -1
  87. package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.js +81 -58
  88. package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.js.map +1 -1
  89. package/esm/typings/accessibility.d.ts +2 -2
  90. package/esm/typings/accessibility.d.ts.map +1 -1
  91. package/package.json +15 -12
  92. package/src/@ui/UiChip/UiChip.scss +1 -0
  93. package/src/@ui/UiListbox/UiListbox.scss +2 -4
  94. package/src/@ui/UiMenu/UiMenu.scss +122 -0
  95. package/src/@ui/index.scss +1 -0
  96. package/styles/css/list.css +1 -1
  97. package/styles/css/main.css +126 -540
  98. package/styles/css/main.css.map +1 -1
  99. package/styles/css/menu.css +1 -1
  100. package/styles/css/syntaxHighlightingInput.css +19 -537
  101. package/styles/css/syntaxHighlightingInput.css.map +1 -1
  102. package/styles/scss/list.scss +1 -1
  103. package/styles/scss/mixins.scss +6 -0
  104. package/styles/scss/syntaxHighlightingInput.scss +10 -43
  105. package/styles/scss/typo-mixins.scss +1 -1
@@ -1,516 +1,15 @@
1
- /* BASICS */
2
- .CodeMirror {
3
- /* Set height, width, borders, and global font properties here */
4
- font-family: monospace;
5
- height: 300px;
6
- color: black;
7
- direction: ltr;
8
- }
9
-
10
- /* PADDING */
11
- .CodeMirror-lines {
12
- padding: 4px 0; /* Vertical padding around content */
13
- }
14
-
15
- .CodeMirror pre.CodeMirror-line,
16
- .CodeMirror pre.CodeMirror-line-like {
17
- padding: 0 4px; /* Horizontal padding of content */
18
- }
19
-
20
- .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
21
- background-color: white; /* The little square between H and V scrollbars */
22
- }
23
-
24
- /* GUTTER */
25
- .CodeMirror-gutters {
26
- border-right: 1px solid #ddd;
27
- background-color: #f7f7f7;
28
- white-space: nowrap;
29
- }
30
-
31
- .CodeMirror-linenumber {
32
- padding: 0 3px 0 5px;
33
- min-width: 20px;
34
- text-align: right;
35
- color: #999;
36
- white-space: nowrap;
37
- }
38
-
39
- .CodeMirror-guttermarker {
40
- color: black;
41
- }
42
-
43
- .CodeMirror-guttermarker-subtle {
44
- color: #999;
45
- }
46
-
47
- /* CURSOR */
48
- .CodeMirror-cursor {
49
- border-left: 1px solid black;
50
- border-right: none;
51
- width: 0;
52
- }
53
-
54
- /* Shown when moving in bi-directional text */
55
- .CodeMirror div.CodeMirror-secondarycursor {
56
- border-left: 1px solid silver;
57
- }
58
-
59
- .cm-fat-cursor .CodeMirror-cursor {
60
- width: auto;
61
- border: 0 !important;
62
- background: #7e7;
63
- }
64
-
65
- .cm-fat-cursor div.CodeMirror-cursors {
66
- z-index: 1;
67
- }
68
-
69
- .cm-fat-cursor .CodeMirror-line::selection,
70
- .cm-fat-cursor .CodeMirror-line > span::selection,
71
- .cm-fat-cursor .CodeMirror-line > span > span::selection {
72
- background: transparent;
73
- }
74
-
75
- .cm-fat-cursor .CodeMirror-line::-moz-selection,
76
- .cm-fat-cursor .CodeMirror-line > span::-moz-selection,
77
- .cm-fat-cursor .CodeMirror-line > span > span::-moz-selection {
78
- background: transparent;
79
- }
80
-
81
- .cm-fat-cursor {
82
- caret-color: transparent;
83
- }
84
-
85
- @-moz-keyframes blink {
86
- 50% {
87
- background-color: transparent;
88
- }
89
- }
90
- @-webkit-keyframes blink {
91
- 50% {
92
- background-color: transparent;
93
- }
94
- }
95
- @keyframes blink {
96
- 50% {
97
- background-color: transparent;
98
- }
99
- }
100
- /* Can style cursor different in overwrite (non-insert) mode */
101
- .cm-tab {
102
- display: inline-block;
103
- text-decoration: inherit;
104
- }
105
-
106
- .CodeMirror-rulers {
107
- position: absolute;
108
- left: 0;
109
- right: 0;
110
- top: -50px;
111
- bottom: 0;
112
- overflow: hidden;
113
- }
114
-
115
- .CodeMirror-ruler {
116
- border-left: 1px solid #ccc;
117
- top: 0;
118
- bottom: 0;
119
- position: absolute;
120
- }
121
-
122
- /* DEFAULT THEME */
123
- .cm-s-default .cm-header {
124
- color: blue;
125
- }
126
-
127
- .cm-s-default .cm-quote {
128
- color: #090;
129
- }
130
-
131
- .cm-negative {
132
- color: #d44;
133
- }
134
-
135
- .cm-positive {
136
- color: #292;
137
- }
138
-
139
- .cm-header, .cm-strong {
140
- font-weight: bold;
141
- }
142
-
143
- .cm-em {
144
- font-style: italic;
145
- }
146
-
147
- .cm-link {
148
- text-decoration: underline;
149
- }
150
-
151
- .cm-strikethrough {
152
- text-decoration: line-through;
153
- }
154
-
155
- .cm-s-default .cm-keyword {
156
- color: #708;
157
- }
158
-
159
- .cm-s-default .cm-atom {
160
- color: #219;
161
- }
162
-
163
- .cm-s-default .cm-number {
164
- color: #164;
165
- }
166
-
167
- .cm-s-default .cm-def {
168
- color: #00f;
169
- }
170
-
171
- .cm-s-default .cm-variable-2 {
172
- color: #05a;
173
- }
174
-
175
- .cm-s-default .cm-variable-3, .cm-s-default .cm-type {
176
- color: #085;
177
- }
178
-
179
- .cm-s-default .cm-comment {
180
- color: #a50;
181
- }
182
-
183
- .cm-s-default .cm-string {
184
- color: #a11;
185
- }
186
-
187
- .cm-s-default .cm-string-2 {
188
- color: #f50;
189
- }
190
-
191
- .cm-s-default .cm-meta {
192
- color: #555;
193
- }
194
-
195
- .cm-s-default .cm-qualifier {
196
- color: #555;
197
- }
198
-
199
- .cm-s-default .cm-builtin {
200
- color: #30a;
201
- }
202
-
203
- .cm-s-default .cm-bracket {
204
- color: #997;
205
- }
206
-
207
- .cm-s-default .cm-tag {
208
- color: #170;
209
- }
210
-
211
- .cm-s-default .cm-attribute {
212
- color: #00c;
213
- }
214
-
215
- .cm-s-default .cm-hr {
216
- color: #999;
217
- }
218
-
219
- .cm-s-default .cm-link {
220
- color: #00c;
221
- }
222
-
223
- .cm-s-default .cm-error {
224
- color: #f00;
225
- }
226
-
227
- .cm-invalidchar {
228
- color: #f00;
229
- }
230
-
231
- .CodeMirror-composing {
232
- border-bottom: 2px solid;
233
- }
234
-
235
- /* Default styles for common addons */
236
- div.CodeMirror span.CodeMirror-matchingbracket {
237
- color: #0b0;
238
- }
239
-
240
- div.CodeMirror span.CodeMirror-nonmatchingbracket {
241
- color: #a22;
242
- }
243
-
244
- .CodeMirror-matchingtag {
245
- background: rgba(255, 150, 0, 0.3);
246
- }
247
-
248
- .CodeMirror-activeline-background {
249
- background: #e8f2ff;
250
- }
251
-
252
- /* STOP */
253
- /* The rest of this file contains styles related to the mechanics of
254
- the editor. You probably shouldn't touch them. */
255
- .CodeMirror {
256
- position: relative;
257
- overflow: hidden;
258
- background: white;
259
- }
260
-
261
- .CodeMirror-scroll {
262
- overflow: scroll !important; /* Things will break if this is overridden */
263
- /* 50px is the magic margin used to hide the element's real scrollbars */
264
- /* See overflow: hidden in .CodeMirror */
265
- margin-bottom: -50px;
266
- margin-right: -50px;
267
- padding-bottom: 50px;
268
- height: 100%;
269
- outline: none; /* Prevent dragging from highlighting the element */
270
- position: relative;
271
- z-index: 0;
272
- }
273
-
274
- .CodeMirror-sizer {
275
- position: relative;
276
- border-right: 50px solid transparent;
277
- }
278
-
279
- /* The fake, visible scrollbars. Used to force redraw during scrolling
280
- before actual scrolling happens, thus preventing shaking and
281
- flickering artifacts. */
282
- .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
283
- position: absolute;
284
- z-index: 6;
285
- display: none;
286
- outline: none;
287
- }
288
-
289
- .CodeMirror-vscrollbar {
290
- right: 0;
291
- top: 0;
292
- overflow-x: hidden;
293
- overflow-y: scroll;
294
- }
295
-
296
- .CodeMirror-hscrollbar {
297
- bottom: 0;
298
- left: 0;
299
- overflow-y: hidden;
300
- overflow-x: scroll;
301
- }
302
-
303
- .CodeMirror-scrollbar-filler {
304
- right: 0;
305
- bottom: 0;
306
- }
307
-
308
- .CodeMirror-gutter-filler {
309
- left: 0;
310
- bottom: 0;
311
- }
312
-
313
- .CodeMirror-gutters {
314
- position: absolute;
315
- left: 0;
316
- top: 0;
317
- min-height: 100%;
318
- z-index: 3;
319
- }
320
-
321
- .CodeMirror-gutter {
322
- white-space: normal;
323
- height: 100%;
324
- display: inline-block;
325
- vertical-align: top;
326
- margin-bottom: -50px;
327
- }
328
-
329
- .CodeMirror-gutter-wrapper {
330
- position: absolute;
331
- z-index: 4;
332
- background: none !important;
333
- border: none !important;
334
- }
335
-
336
- .CodeMirror-gutter-background {
337
- position: absolute;
338
- top: 0;
339
- bottom: 0;
340
- z-index: 4;
341
- }
342
-
343
- .CodeMirror-gutter-elt {
344
- position: absolute;
345
- cursor: default;
346
- z-index: 4;
347
- }
348
-
349
- .CodeMirror-gutter-wrapper ::selection {
350
- background-color: transparent;
351
- }
352
-
353
- .CodeMirror-gutter-wrapper ::-moz-selection {
354
- background-color: transparent;
355
- }
356
-
357
- .CodeMirror-lines {
358
- cursor: text;
359
- min-height: 1px; /* prevents collapsing before first draw */
360
- }
361
-
362
- .CodeMirror pre.CodeMirror-line,
363
- .CodeMirror pre.CodeMirror-line-like {
364
- /* Reset some styles that the rest of the page might have set */
365
- -moz-border-radius: 0;
366
- -webkit-border-radius: 0;
367
- border-radius: 0;
368
- border-width: 0;
369
- background: transparent;
370
- font-family: inherit;
371
- font-size: inherit;
372
- margin: 0;
373
- white-space: pre;
374
- word-wrap: normal;
375
- line-height: inherit;
376
- color: inherit;
377
- z-index: 2;
378
- position: relative;
379
- overflow: visible;
380
- -webkit-tap-highlight-color: transparent;
381
- -webkit-font-variant-ligatures: contextual;
382
- font-variant-ligatures: contextual;
383
- }
384
-
385
- .CodeMirror-wrap pre.CodeMirror-line,
386
- .CodeMirror-wrap pre.CodeMirror-line-like {
387
- word-wrap: break-word;
388
- white-space: pre-wrap;
389
- word-break: normal;
390
- }
391
-
392
- .CodeMirror-linebackground {
393
- position: absolute;
394
- left: 0;
395
- right: 0;
396
- top: 0;
397
- bottom: 0;
398
- z-index: 0;
399
- }
400
-
401
- .CodeMirror-linewidget {
402
- position: relative;
403
- z-index: 2;
404
- padding: 0.1px; /* Force widget margins to stay inside of the container */
405
- }
406
-
407
- .CodeMirror-rtl pre {
408
- direction: rtl;
409
- }
410
-
411
- .CodeMirror-code {
412
- outline: none;
413
- }
414
-
415
- /* Force content-box sizing for the elements where we expect it */
416
- .CodeMirror-scroll,
417
- .CodeMirror-sizer,
418
- .CodeMirror-gutter,
419
- .CodeMirror-gutters,
420
- .CodeMirror-linenumber {
421
- -moz-box-sizing: content-box;
422
- box-sizing: content-box;
423
- }
424
-
425
- .CodeMirror-measure {
426
- position: absolute;
427
- width: 100%;
428
- height: 0;
429
- overflow: hidden;
430
- visibility: hidden;
431
- }
432
-
433
- .CodeMirror-cursor {
434
- position: absolute;
435
- pointer-events: none;
436
- }
437
-
438
- .CodeMirror-measure pre {
439
- position: static;
440
- }
441
-
442
- div.CodeMirror-cursors {
443
- visibility: hidden;
444
- position: relative;
445
- z-index: 3;
446
- }
447
-
448
- div.CodeMirror-dragcursors {
449
- visibility: visible;
450
- }
451
-
452
- .CodeMirror-focused div.CodeMirror-cursors {
453
- visibility: visible;
454
- }
455
-
456
- .CodeMirror-selected {
457
- background: #d9d9d9;
458
- }
459
-
460
- .CodeMirror-focused .CodeMirror-selected {
461
- background: #d7d4f0;
462
- }
463
-
464
- .CodeMirror-crosshair {
465
- cursor: crosshair;
466
- }
467
-
468
- .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
469
- background: #d7d4f0;
470
- }
471
-
472
- .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
473
- background: #d7d4f0;
474
- }
475
-
476
- .cm-searching {
477
- background-color: #ffa;
478
- background-color: rgba(255, 255, 0, 0.4);
479
- }
480
-
481
- /* Used to force a border model for a node */
482
- .cm-force-border {
483
- padding-right: 0.1px;
484
- }
485
-
486
- @media print {
487
- /* Hide the cursor when printing */
488
- .CodeMirror div.CodeMirror-cursors {
489
- visibility: hidden;
490
- }
491
- }
492
- /* See issue #2901 */
493
- .cm-tab-wrap-hack:after {
494
- content: "";
495
- }
496
-
497
- /* Help users use markselection to safely style text background */
498
- span.CodeMirror-selectedtext {
499
- background: none;
500
- }
501
-
502
1
  /* allow vendor prefixes and disable max length */
503
2
  /* allow vendor prefixes and disable max length */
504
- .gd-input-syntax-highlighting-input .CodeMirror {
3
+ .gd-input-syntax-highlighting-input .cm-editor {
505
4
  box-sizing: border-box;
506
5
  height: 100px;
507
6
  margin: 0;
508
- padding: 2px 2px 0 3px;
7
+ padding: 0;
509
8
  border: 1px solid var(--gd-palette-complementary-4, #ccd8e2);
510
9
  line-height: normal;
511
10
  vertical-align: middle;
512
11
  color: #464e56;
513
- background: #fff;
12
+ background: var(--gd-palette-complementary-0, #fff);
514
13
  font-size: 14px;
515
14
  font-family: monospace;
516
15
  font-weight: 200;
@@ -526,7 +25,7 @@ span.CodeMirror-selectedtext {
526
25
  border-radius: 3px;
527
26
  box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
528
27
  }
529
- .gd-input-syntax-highlighting-input .CodeMirror::-webkit-input-placeholder {
28
+ .gd-input-syntax-highlighting-input .cm-editor::-webkit-input-placeholder {
530
29
  color: rgba(109, 118, 128, 0.75);
531
30
  -moz-transition-property: color;
532
31
  -webkit-transition-property: color;
@@ -538,7 +37,7 @@ span.CodeMirror-selectedtext {
538
37
  -webkit-transition-timing-function: ease-in-out;
539
38
  transition-timing-function: ease-in-out;
540
39
  }
541
- .gd-input-syntax-highlighting-input .CodeMirror:-moz-placeholder {
40
+ .gd-input-syntax-highlighting-input .cm-editor:-moz-placeholder {
542
41
  color: rgba(109, 118, 128, 0.75);
543
42
  -moz-transition-property: color;
544
43
  -webkit-transition-property: color;
@@ -550,7 +49,7 @@ span.CodeMirror-selectedtext {
550
49
  -webkit-transition-timing-function: ease-in-out;
551
50
  transition-timing-function: ease-in-out;
552
51
  }
553
- .gd-input-syntax-highlighting-input .CodeMirror::-moz-placeholder {
52
+ .gd-input-syntax-highlighting-input .cm-editor::-moz-placeholder {
554
53
  color: rgba(109, 118, 128, 0.75);
555
54
  -moz-transition-property: color;
556
55
  -webkit-transition-property: color;
@@ -562,7 +61,7 @@ span.CodeMirror-selectedtext {
562
61
  -webkit-transition-timing-function: ease-in-out;
563
62
  transition-timing-function: ease-in-out;
564
63
  }
565
- .gd-input-syntax-highlighting-input .CodeMirror:-ms-input-placeholder {
64
+ .gd-input-syntax-highlighting-input .cm-editor:-ms-input-placeholder {
566
65
  color: rgba(109, 118, 128, 0.75);
567
66
  -moz-transition-property: color;
568
67
  -webkit-transition-property: color;
@@ -574,50 +73,33 @@ span.CodeMirror-selectedtext {
574
73
  -webkit-transition-timing-function: ease-in-out;
575
74
  transition-timing-function: ease-in-out;
576
75
  }
577
- .gd-input-syntax-highlighting-input .CodeMirror:hover {
76
+ .gd-input-syntax-highlighting-input .cm-editor:hover {
578
77
  border-color: var(--gd-palette-complementary-5-from-theme, #b1c1d1);
579
78
  }
580
- .gd-input-syntax-highlighting-input .CodeMirror:hover::-webkit-input-placeholder {
79
+ .gd-input-syntax-highlighting-input .cm-editor:hover::-webkit-input-placeholder {
581
80
  color: var(--gd-palette-complementary-7, #6d7680);
582
81
  }
583
- .gd-input-syntax-highlighting-input .CodeMirror:hover:-moz-placeholder {
82
+ .gd-input-syntax-highlighting-input .cm-editor:hover:-moz-placeholder {
584
83
  color: var(--gd-palette-complementary-7, #6d7680);
585
84
  }
586
- .gd-input-syntax-highlighting-input .CodeMirror:hover::-moz-placeholder {
85
+ .gd-input-syntax-highlighting-input .cm-editor:hover::-moz-placeholder {
587
86
  color: var(--gd-palette-complementary-7, #6d7680);
588
87
  }
589
- .gd-input-syntax-highlighting-input .CodeMirror:hover:-ms-input-placeholder {
88
+ .gd-input-syntax-highlighting-input .cm-editor:hover:-ms-input-placeholder {
590
89
  color: var(--gd-palette-complementary-7, #6d7680);
591
90
  }
592
- .gd-input-syntax-highlighting-input .CodeMirror.CodeMirror-focused {
91
+ .gd-input-syntax-highlighting-input .cm-editor.cm-focused {
593
92
  border-color: var(--gd-palette-primary-base, #14b2e2);
93
+ outline: none;
594
94
  box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
595
95
  }
596
- .gd-input-syntax-highlighting-input .CodeMirror-empty {
597
- color: var(--gd-palette-complementary-5, #b0beca);
598
- }
599
- .gd-input-syntax-highlighting-input .CodeMirror-code .CodeMirror-matchingbracket {
600
- font-weight: bold;
601
- color: #000;
602
- background-color: #fef9d3;
603
- }
604
- .gd-input-syntax-highlighting-input .CodeMirror-code .CodeMirror-nonmatchingbracket {
605
- color: #e54d42;
606
- }
607
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-brackets {
608
- color: #94a1ad;
609
- }
610
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-4 {
96
+ .gd-input-syntax-highlighting-input .cm-editor .cm-matchingBracket {
611
97
  font-weight: bold;
612
- color: #13b1e2;
98
+ color: var(--gd-palette-complementary-9, #000);
99
+ background-color: var(--gd-palette-warning-dimmed, #fef8d3);
613
100
  }
614
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-5 {
615
- font-weight: bold;
616
- color: #00c18e;
617
- }
618
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-keyword {
619
- font-weight: bold;
620
- color: #ab55a3;
101
+ .gd-input-syntax-highlighting-input .cm-editor .cm-nonmatchingBracket {
102
+ color: var(--gd-palette-error-base, #e54d42);
621
103
  }
622
104
 
623
105
  /*# sourceMappingURL=syntaxHighlightingInput.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../node_modules/codemirror/lib/codemirror.css","../scss/mixins.scss","../scss/syntaxHighlightingInput.scss","../scss/variables.scss"],"names":[],"mappings":"AAAA;AAEA;AACE;EACA;EACA;EACA;EACA;;;AAGF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jD,oCCvCiD;EDwCjD,4BCxCiD;;AD+GjD;ECjHQ;ED4BR,0BC1BmC;ED2BnC,6BC3BmC;ED4BnC,qBC5BmC;EDgCnC,0BChC0C;EDiC1C,6BCjC0C;EDkC1C,qBClC0C;EDsC1C,iCCtCiD;EDuCjD,oCCvCiD;EDwCjD,4BCxCiD;;ADmHjD;ECrHQ;ED4BR,0BC1BmC;ED2BnC,6BC3BmC;ED4BnC,qBC5BmC;EDgCnC,0BChC0C;EDiC1C,6BCjC0C;EDkC1C,qBClC0C;EDsC1C,iCCtCiD;EDuCjD,oCCvCiD;EDwCjD,4BCxCiD;;ADuHjD;ECzHQ;ED4BR,0BC1BmC;ED2BnC,6BC3BmC;ED4BnC,qBC5BmC;EDgCnC,0BChC0C;EDiC1C,6BCjC0C;EDkC1C,qBClC0C;EDsC1C,iCCtCiD;EDuCjD,oCCvCiD;EDwCjD,4BCxCiD;;AAG7C;EACI,cC4FiB;;AFWzB;ECpGY,OCtBA;;AF8HZ;ECxGY,OCtBA;;AFkIZ;EC5GY,OCtBA;;AFsIZ;EChHY,OCtBA;;AD0BR;EACI,cCZc;EFnBlB;;ACsCJ;EACI,OCxCY;;AD4CZ;EACI;EACA,OA7DgB;EA8DhB,kBA7DmB;;AAgEvB;EACI,OAhEoB;;AAmExB;EACI,OAnEiB;;AAsErB;EACI;EACA,OAvEU;;AA0Ed;EACI;EACA,OA3EU;;AA8Ed;EACI;EACA,OA/EO","file":"syntaxHighlightingInput.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../scss/mixins.scss","../scss/syntaxHighlightingInput.scss","../scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;AChLI;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OCcgB;EDbhB,YCCS;EDAT;EACA;EACA;EDgDJ,0BC9C+B;ED+C/B,6BC/C+B;EDgD/B,qBChD+B;EDoD/B,0BCpDoC;EDqDpC,6BCrDoC;EDsDpC,qBCtDoC;ED0DpC,iCC1D2C;ED2D3C,oCC3D2C;ED4D3C,4BC5D2C;EDP3C,eCUkC;EDF9B;;AA8HJ;ECtHQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;ADwHjD;EC1HQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;AD4HjD;EC9HQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;ADgIjD;EClIQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;AAG7C;EACI,cCqGiB;;AFWzB;EC7GY,OCbA;;AF8HZ;ECjHY,OCbA;;AFkIZ;ECrHY,OCbA;;AFsIZ;ECzHY,OCbA;;ADiBR;EACI,cCHc;EDId;EDvBJ;;AC6BA;EACI;EACA,OCjBI;EDkBJ,kBCsBgB;;ADnBpB;EACI","file":"syntaxHighlightingInput.css"}
@@ -135,7 +135,7 @@ $menu-item-icon-width: 30px;
135
135
 
136
136
  button.gd-list-item {
137
137
  width: 100%;
138
- border: none;
138
+ border-color: transparent;
139
139
  background: none;
140
140
  text-align: left;
141
141
  }
@@ -233,3 +233,9 @@
233
233
  visibility: hidden;
234
234
  }
235
235
  }
236
+
237
+ @mixin focus-ring() {
238
+ outline-offset: -2px;
239
+ outline: auto 5px Highlight; /* For Firefox */
240
+ outline: auto 5px -webkit-focus-ring-color; /* For Chrome */
241
+ }