@gravitee/ui-components 3.24.3-migrate-codemirror-f56ff96 → 3.24.4
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/assets/css/codemirror/all.css +476 -0
- package/package.json +2 -17
- package/src/atoms/gv-autocomplete.js +132 -156
- package/src/atoms/gv-button.js +73 -256
- package/src/atoms/gv-checkbox.js +45 -103
- package/src/atoms/gv-date-picker-calendar.js +312 -393
- package/src/atoms/gv-date-picker-cell.js +57 -81
- package/src/atoms/gv-date-picker.js +180 -319
- package/src/atoms/gv-file-upload.js +85 -195
- package/src/atoms/gv-icon.js +13 -34
- package/src/atoms/gv-image.js +31 -66
- package/src/atoms/gv-input-message.js +12 -37
- package/src/atoms/gv-input.js +120 -144
- package/src/atoms/gv-link.js +47 -125
- package/src/atoms/gv-message.js +18 -69
- package/src/atoms/gv-metric.js +19 -68
- package/src/atoms/gv-relative-time.js +67 -38
- package/src/atoms/gv-select-native.js +96 -215
- package/src/atoms/gv-select.js +110 -230
- package/src/atoms/gv-spinner.js +5 -26
- package/src/atoms/gv-state.js +25 -66
- package/src/atoms/gv-switch.js +40 -160
- package/src/atoms/gv-tag.js +26 -78
- package/src/atoms/gv-text.js +22 -83
- package/src/charts/gv-chart-bar.js +22 -18
- package/src/charts/gv-chart-gauge.js +28 -31
- package/src/charts/gv-chart-histogram.js +18 -10
- package/src/charts/gv-chart-line.js +70 -59
- package/src/charts/gv-chart-map.js +44 -42
- package/src/charts/gv-chart-pie.js +18 -14
- package/src/index.js +2 -0
- package/src/lib/cron-expression.js +40 -35
- package/src/lib/date.js +10 -1
- package/src/lib/events.js +3 -1
- package/src/lib/http-client-schema-form.js +13 -12
- package/src/lib/http.js +57 -56
- package/src/lib/i18n.js +30 -22
- package/src/lib/item.js +13 -12
- package/src/lib/properties.js +77 -42
- package/src/lib/schema-form.js +4 -5
- package/src/lib/studio.js +13 -60
- package/src/lib/style.js +8 -8
- package/src/lib/text-format.js +14 -7
- package/src/lib/theme.js +8 -5
- package/src/lib/utils.js +17 -18
- package/src/mixins/chart-element.js +31 -54
- package/src/mixins/input-element.js +59 -44
- package/src/mixins/item-resource.js +34 -32
- package/src/mixins/keyboard-element.js +6 -5
- package/src/mixins/update-after-browser.js +4 -1
- package/src/mixins/with-resize-observer.js +23 -13
- package/src/mixins/with-skeleton-attribute.js +54 -48
- package/src/molecules/gv-card-full.js +26 -147
- package/src/molecules/gv-card-list.js +13 -42
- package/src/molecules/gv-card.js +17 -91
- package/src/molecules/gv-category-list.js +6 -17
- package/src/molecules/gv-category.js +23 -103
- package/src/molecules/gv-code-hint.js +49 -0
- package/src/molecules/gv-code.js +185 -392
- package/src/molecules/gv-confirm.js +41 -71
- package/src/molecules/gv-cron-editor.js +143 -389
- package/src/molecules/gv-dropdown-menu.js +14 -46
- package/src/molecules/gv-expandable.js +31 -59
- package/src/molecules/gv-expression-language.js +591 -7
- package/src/molecules/gv-identity-picture.js +42 -65
- package/src/molecules/gv-list.js +42 -134
- package/src/molecules/gv-metrics.js +37 -49
- package/src/molecules/gv-modal.js +28 -95
- package/src/molecules/gv-nav.js +49 -75
- package/src/molecules/gv-option.js +57 -130
- package/src/molecules/gv-plans.js +86 -209
- package/src/molecules/gv-popover.js +57 -177
- package/src/molecules/gv-promote.js +28 -146
- package/src/molecules/gv-rating-list.js +69 -195
- package/src/molecules/gv-rating.js +52 -105
- package/src/molecules/gv-row-expandable.js +5 -11
- package/src/molecules/gv-row.js +21 -147
- package/src/molecules/gv-stats.js +23 -48
- package/src/molecules/gv-stepper.js +43 -187
- package/src/molecules/gv-table.js +199 -309
- package/src/molecules/gv-tree.js +33 -156
- package/src/organisms/gv-documentation.js +44 -127
- package/src/organisms/gv-header.js +37 -195
- package/src/organisms/gv-http-client.js +32 -168
- package/src/organisms/gv-menu.js +37 -158
- package/src/organisms/gv-newsletter-subscription.js +48 -189
- package/src/organisms/gv-pagination.js +49 -77
- package/src/organisms/gv-properties.js +271 -492
- package/src/organisms/gv-resizable-views.js +41 -259
- package/src/organisms/gv-resources.js +168 -275
- package/src/organisms/gv-schema-form-array.js +49 -159
- package/src/organisms/gv-schema-form-control-object.js +59 -73
- package/src/organisms/gv-schema-form-control.js +107 -134
- package/src/organisms/gv-schema-form.js +195 -280
- package/src/organisms/gv-tabs.js +66 -98
- package/src/organisms/gv-user-menu.js +36 -201
- package/src/organisms/gv-vertical-menu.js +20 -61
- package/src/policy-studio/gv-flow-step.js +105 -245
- package/src/policy-studio/gv-flow.js +125 -304
- package/src/policy-studio/gv-policy-studio-menu.js +157 -471
- package/src/policy-studio/gv-policy-studio.js +688 -761
- package/src/styles/empty.js +3 -20
- package/src/styles/input.js +3 -245
- package/src/styles/link.js +3 -16
- package/src/styles/shapes.js +1 -0
- package/src/styles/skeleton.js +3 -37
- package/src/styles/zoom.js +3 -24
- package/src/theme/gv-theme.js +21 -60
- package/wc/gv-code-hint.js +1 -0
- package/CHANGELOG.md +0 -1244
- package/LICENSE.txt +0 -202
- package/README.md +0 -195
- package/src/.eslintrc.js +0 -19
- package/src/theme/definition.json +0 -1762
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
/* BASICS */
|
|
2
|
+
|
|
3
|
+
.CodeMirror {
|
|
4
|
+
/* Set height, width, borders, and global font properties here */
|
|
5
|
+
font-family: monospace;
|
|
6
|
+
height: 300px;
|
|
7
|
+
color: black;
|
|
8
|
+
direction: ltr;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* PADDING */
|
|
12
|
+
|
|
13
|
+
.CodeMirror-lines {
|
|
14
|
+
padding: 4px 0; /* Vertical padding around content */
|
|
15
|
+
}
|
|
16
|
+
.CodeMirror pre.CodeMirror-line,
|
|
17
|
+
.CodeMirror pre.CodeMirror-line-like {
|
|
18
|
+
padding: 0 4px; /* Horizontal padding of content */
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
22
|
+
background-color: white; /* The little square between H and V scrollbars */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* GUTTER */
|
|
26
|
+
|
|
27
|
+
.CodeMirror-gutters {
|
|
28
|
+
border-right: 1px solid #ddd;
|
|
29
|
+
background-color: #f7f7f7;
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
}
|
|
32
|
+
.CodeMirror-linenumbers {}
|
|
33
|
+
.CodeMirror-linenumber {
|
|
34
|
+
padding: 0 3px 0 5px;
|
|
35
|
+
min-width: 20px;
|
|
36
|
+
text-align: right;
|
|
37
|
+
color: #999;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.CodeMirror-guttermarker { color: black; }
|
|
42
|
+
.CodeMirror-guttermarker-subtle { color: #999; }
|
|
43
|
+
|
|
44
|
+
/* CURSOR */
|
|
45
|
+
|
|
46
|
+
.CodeMirror-cursor {
|
|
47
|
+
border-left: 1px solid black;
|
|
48
|
+
border-right: none;
|
|
49
|
+
width: 0;
|
|
50
|
+
}
|
|
51
|
+
/* Shown when moving in bi-directional text */
|
|
52
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
|
53
|
+
border-left: 1px solid silver;
|
|
54
|
+
}
|
|
55
|
+
.cm-fat-cursor .CodeMirror-cursor {
|
|
56
|
+
width: auto;
|
|
57
|
+
border: 0 !important;
|
|
58
|
+
background: #7e7;
|
|
59
|
+
}
|
|
60
|
+
.cm-fat-cursor div.CodeMirror-cursors {
|
|
61
|
+
z-index: 1;
|
|
62
|
+
}
|
|
63
|
+
.cm-fat-cursor-mark {
|
|
64
|
+
background-color: rgba(20, 255, 20, 0.5);
|
|
65
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
|
66
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
|
67
|
+
animation: blink 1.06s steps(1) infinite;
|
|
68
|
+
}
|
|
69
|
+
.cm-animate-fat-cursor {
|
|
70
|
+
width: auto;
|
|
71
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
|
72
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
|
73
|
+
animation: blink 1.06s steps(1) infinite;
|
|
74
|
+
background-color: #7e7;
|
|
75
|
+
}
|
|
76
|
+
@-moz-keyframes blink {
|
|
77
|
+
0% {}
|
|
78
|
+
50% { background-color: transparent; }
|
|
79
|
+
100% {}
|
|
80
|
+
}
|
|
81
|
+
@-webkit-keyframes blink {
|
|
82
|
+
0% {}
|
|
83
|
+
50% { background-color: transparent; }
|
|
84
|
+
100% {}
|
|
85
|
+
}
|
|
86
|
+
@keyframes blink {
|
|
87
|
+
0% {}
|
|
88
|
+
50% { background-color: transparent; }
|
|
89
|
+
100% {}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Can style cursor different in overwrite (non-insert) mode */
|
|
93
|
+
.CodeMirror-overwrite .CodeMirror-cursor {}
|
|
94
|
+
|
|
95
|
+
.cm-tab { display: inline-block; text-decoration: inherit; }
|
|
96
|
+
|
|
97
|
+
.CodeMirror-rulers {
|
|
98
|
+
position: absolute;
|
|
99
|
+
left: 0; right: 0; top: -50px; bottom: 0;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
}
|
|
102
|
+
.CodeMirror-ruler {
|
|
103
|
+
border-left: 1px solid #ccc;
|
|
104
|
+
top: 0; bottom: 0;
|
|
105
|
+
position: absolute;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* DEFAULT THEME */
|
|
109
|
+
|
|
110
|
+
.cm-s-default .cm-header {color: blue;}
|
|
111
|
+
.cm-s-default .cm-quote {color: #090;}
|
|
112
|
+
.cm-negative {color: #d44;}
|
|
113
|
+
.cm-positive {color: #292;}
|
|
114
|
+
.cm-header, .cm-strong {font-weight: bold;}
|
|
115
|
+
.cm-em {font-style: italic;}
|
|
116
|
+
.cm-link {text-decoration: underline;}
|
|
117
|
+
.cm-strikethrough {text-decoration: line-through;}
|
|
118
|
+
|
|
119
|
+
.cm-s-default .cm-keyword {color: #708;}
|
|
120
|
+
.cm-s-default .cm-atom {color: #219;}
|
|
121
|
+
.cm-s-default .cm-number {color: #164;}
|
|
122
|
+
.cm-s-default .cm-def {color: #00f;}
|
|
123
|
+
.cm-s-default .cm-variable,
|
|
124
|
+
.cm-s-default .cm-punctuation,
|
|
125
|
+
.cm-s-default .cm-property,
|
|
126
|
+
.cm-s-default .cm-operator {}
|
|
127
|
+
.cm-s-default .cm-variable-2 {color: #05a;}
|
|
128
|
+
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
|
|
129
|
+
.cm-s-default .cm-comment {color: #a50;}
|
|
130
|
+
.cm-s-default .cm-string {color: #a11;}
|
|
131
|
+
.cm-s-default .cm-string-2 {color: #f50;}
|
|
132
|
+
.cm-s-default .cm-meta {color: #555;}
|
|
133
|
+
.cm-s-default .cm-qualifier {color: #555;}
|
|
134
|
+
.cm-s-default .cm-builtin {color: #30a;}
|
|
135
|
+
.cm-s-default .cm-bracket {color: #997;}
|
|
136
|
+
.cm-s-default .cm-tag {color: #170;}
|
|
137
|
+
.cm-s-default .cm-attribute {color: #00c;}
|
|
138
|
+
.cm-s-default .cm-hr {color: #999;}
|
|
139
|
+
.cm-s-default .cm-link {color: #00c;}
|
|
140
|
+
|
|
141
|
+
.cm-s-default .cm-error {color: #f00;}
|
|
142
|
+
.cm-invalidchar {color: #f00;}
|
|
143
|
+
|
|
144
|
+
.CodeMirror-composing { border-bottom: 2px solid; }
|
|
145
|
+
|
|
146
|
+
/* Default styles for common addons */
|
|
147
|
+
|
|
148
|
+
div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
|
|
149
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
150
|
+
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
|
151
|
+
.CodeMirror-activeline-background {background: #e8f2ff;}
|
|
152
|
+
|
|
153
|
+
/* STOP */
|
|
154
|
+
|
|
155
|
+
/* The rest of this file contains styles related to the mechanics of
|
|
156
|
+
the editor. You probably shouldn't touch them. */
|
|
157
|
+
|
|
158
|
+
.CodeMirror {
|
|
159
|
+
position: relative;
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
background: white;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.CodeMirror-scroll {
|
|
165
|
+
overflow: scroll !important; /* Things will break if this is overridden */
|
|
166
|
+
/* 50px is the magic margin used to hide the element's real scrollbars */
|
|
167
|
+
/* See overflow: hidden in .CodeMirror */
|
|
168
|
+
margin-bottom: -50px; margin-right: -50px;
|
|
169
|
+
padding-bottom: 50px;
|
|
170
|
+
height: 100%;
|
|
171
|
+
outline: none; /* Prevent dragging from highlighting the element */
|
|
172
|
+
position: relative;
|
|
173
|
+
}
|
|
174
|
+
.CodeMirror-sizer {
|
|
175
|
+
position: relative;
|
|
176
|
+
border-right: 50px solid transparent;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
|
180
|
+
before actual scrolling happens, thus preventing shaking and
|
|
181
|
+
flickering artifacts. */
|
|
182
|
+
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
183
|
+
position: absolute;
|
|
184
|
+
z-index: 6;
|
|
185
|
+
display: none;
|
|
186
|
+
outline: none;
|
|
187
|
+
}
|
|
188
|
+
.CodeMirror-vscrollbar {
|
|
189
|
+
right: 0; top: 0;
|
|
190
|
+
overflow-x: hidden;
|
|
191
|
+
overflow-y: scroll;
|
|
192
|
+
}
|
|
193
|
+
.CodeMirror-hscrollbar {
|
|
194
|
+
bottom: 0; left: 0;
|
|
195
|
+
overflow-y: hidden;
|
|
196
|
+
overflow-x: scroll;
|
|
197
|
+
}
|
|
198
|
+
.CodeMirror-scrollbar-filler {
|
|
199
|
+
right: 0; bottom: 0;
|
|
200
|
+
}
|
|
201
|
+
.CodeMirror-gutter-filler {
|
|
202
|
+
left: 0; bottom: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.CodeMirror-gutters {
|
|
206
|
+
position: absolute; left: 0; top: 0;
|
|
207
|
+
min-height: 100%;
|
|
208
|
+
z-index: 3;
|
|
209
|
+
}
|
|
210
|
+
.CodeMirror-gutter {
|
|
211
|
+
white-space: normal;
|
|
212
|
+
height: 100%;
|
|
213
|
+
display: inline-block;
|
|
214
|
+
vertical-align: top;
|
|
215
|
+
margin-bottom: -50px;
|
|
216
|
+
}
|
|
217
|
+
.CodeMirror-gutter-wrapper {
|
|
218
|
+
position: absolute;
|
|
219
|
+
z-index: 4;
|
|
220
|
+
background: none !important;
|
|
221
|
+
border: none !important;
|
|
222
|
+
}
|
|
223
|
+
.CodeMirror-gutter-background {
|
|
224
|
+
position: absolute;
|
|
225
|
+
top: 0; bottom: 0;
|
|
226
|
+
z-index: 4;
|
|
227
|
+
}
|
|
228
|
+
.CodeMirror-gutter-elt {
|
|
229
|
+
position: absolute;
|
|
230
|
+
cursor: default;
|
|
231
|
+
z-index: 4;
|
|
232
|
+
}
|
|
233
|
+
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
|
|
234
|
+
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
|
|
235
|
+
|
|
236
|
+
.CodeMirror-lines {
|
|
237
|
+
cursor: text;
|
|
238
|
+
min-height: 1px; /* prevents collapsing before first draw */
|
|
239
|
+
}
|
|
240
|
+
.CodeMirror pre.CodeMirror-line,
|
|
241
|
+
.CodeMirror pre.CodeMirror-line-like {
|
|
242
|
+
/* Reset some styles that the rest of the page might have set */
|
|
243
|
+
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
|
244
|
+
border-width: 0;
|
|
245
|
+
background: transparent;
|
|
246
|
+
font-family: inherit;
|
|
247
|
+
font-size: inherit;
|
|
248
|
+
margin: 0;
|
|
249
|
+
white-space: pre;
|
|
250
|
+
word-wrap: normal;
|
|
251
|
+
line-height: inherit;
|
|
252
|
+
color: inherit;
|
|
253
|
+
z-index: 2;
|
|
254
|
+
position: relative;
|
|
255
|
+
overflow: visible;
|
|
256
|
+
-webkit-tap-highlight-color: transparent;
|
|
257
|
+
-webkit-font-variant-ligatures: contextual;
|
|
258
|
+
font-variant-ligatures: contextual;
|
|
259
|
+
}
|
|
260
|
+
.CodeMirror-wrap pre.CodeMirror-line,
|
|
261
|
+
.CodeMirror-wrap pre.CodeMirror-line-like {
|
|
262
|
+
word-wrap: break-word;
|
|
263
|
+
white-space: pre-wrap;
|
|
264
|
+
word-break: normal;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.CodeMirror-linebackground {
|
|
268
|
+
position: absolute;
|
|
269
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
|
270
|
+
z-index: 0;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.CodeMirror-linewidget {
|
|
274
|
+
position: relative;
|
|
275
|
+
z-index: 2;
|
|
276
|
+
padding: 0.1px; /* Force widget margins to stay inside of the container */
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.CodeMirror-widget {}
|
|
280
|
+
|
|
281
|
+
.CodeMirror-rtl pre { direction: rtl; }
|
|
282
|
+
|
|
283
|
+
.CodeMirror-code {
|
|
284
|
+
outline: none;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Force content-box sizing for the elements where we expect it */
|
|
288
|
+
.CodeMirror-scroll,
|
|
289
|
+
.CodeMirror-sizer,
|
|
290
|
+
.CodeMirror-gutter,
|
|
291
|
+
.CodeMirror-gutters,
|
|
292
|
+
.CodeMirror-linenumber {
|
|
293
|
+
-moz-box-sizing: content-box;
|
|
294
|
+
box-sizing: content-box;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.CodeMirror-measure {
|
|
298
|
+
position: absolute;
|
|
299
|
+
width: 100%;
|
|
300
|
+
height: 0;
|
|
301
|
+
overflow: hidden;
|
|
302
|
+
visibility: hidden;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.CodeMirror-cursor {
|
|
306
|
+
position: absolute;
|
|
307
|
+
pointer-events: none;
|
|
308
|
+
}
|
|
309
|
+
.CodeMirror-measure pre { position: static; }
|
|
310
|
+
|
|
311
|
+
div.CodeMirror-cursors {
|
|
312
|
+
visibility: hidden;
|
|
313
|
+
position: relative;
|
|
314
|
+
z-index: 3;
|
|
315
|
+
}
|
|
316
|
+
div.CodeMirror-dragcursors {
|
|
317
|
+
visibility: visible;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.CodeMirror-focused div.CodeMirror-cursors {
|
|
321
|
+
visibility: visible;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.CodeMirror-selected { background: #d9d9d9; }
|
|
325
|
+
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
|
326
|
+
.CodeMirror-crosshair { cursor: crosshair; }
|
|
327
|
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
|
328
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
|
329
|
+
|
|
330
|
+
.cm-searching {
|
|
331
|
+
background-color: #ffa;
|
|
332
|
+
background-color: rgba(255, 255, 0, .4);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* Used to force a border model for a node */
|
|
336
|
+
.cm-force-border { padding-right: .1px; }
|
|
337
|
+
|
|
338
|
+
@media print {
|
|
339
|
+
/* Hide the cursor when printing */
|
|
340
|
+
.CodeMirror div.CodeMirror-cursors {
|
|
341
|
+
visibility: hidden;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* See issue #2901 */
|
|
346
|
+
.cm-tab-wrap-hack:after { content: ''; }
|
|
347
|
+
|
|
348
|
+
/* Help users use markselection to safely style text background */
|
|
349
|
+
span.CodeMirror-selectedtext { background: none; }
|
|
350
|
+
|
|
351
|
+
/* The lint marker gutter */
|
|
352
|
+
.CodeMirror-lint-markers {
|
|
353
|
+
width: 16px;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.CodeMirror-lint-tooltip {
|
|
357
|
+
background-color: #ffd;
|
|
358
|
+
border: 1px solid black;
|
|
359
|
+
border-radius: 4px 4px 4px 4px;
|
|
360
|
+
color: black;
|
|
361
|
+
font-family: monospace;
|
|
362
|
+
font-size: 10pt;
|
|
363
|
+
overflow: hidden;
|
|
364
|
+
padding: 2px 5px;
|
|
365
|
+
position: fixed;
|
|
366
|
+
white-space: pre;
|
|
367
|
+
white-space: pre-wrap;
|
|
368
|
+
z-index: 100;
|
|
369
|
+
max-width: 600px;
|
|
370
|
+
opacity: 0;
|
|
371
|
+
transition: opacity .4s;
|
|
372
|
+
-moz-transition: opacity .4s;
|
|
373
|
+
-webkit-transition: opacity .4s;
|
|
374
|
+
-o-transition: opacity .4s;
|
|
375
|
+
-ms-transition: opacity .4s;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.CodeMirror-lint-mark {
|
|
379
|
+
background-position: left bottom;
|
|
380
|
+
background-repeat: repeat-x;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.CodeMirror-lint-mark-warning {
|
|
384
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.CodeMirror-lint-mark-error {
|
|
388
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.CodeMirror-lint-marker {
|
|
392
|
+
background-position: center center;
|
|
393
|
+
background-repeat: no-repeat;
|
|
394
|
+
cursor: pointer;
|
|
395
|
+
display: inline-block;
|
|
396
|
+
height: 16px;
|
|
397
|
+
width: 16px;
|
|
398
|
+
vertical-align: middle;
|
|
399
|
+
position: relative;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.CodeMirror-lint-message {
|
|
403
|
+
padding-left: 18px;
|
|
404
|
+
background-position: top left;
|
|
405
|
+
background-repeat: no-repeat;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
|
|
409
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
|
|
413
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.CodeMirror-lint-marker-multiple {
|
|
417
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
|
|
418
|
+
background-repeat: no-repeat;
|
|
419
|
+
background-position: right bottom;
|
|
420
|
+
width: 100%; height: 100%;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.CodeMirror-lint-line-error {
|
|
424
|
+
background-color: rgba(183, 76, 81, 0.08);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.CodeMirror-lint-line-warning {
|
|
428
|
+
background-color: rgba(255, 211, 0, 0.1);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/*
|
|
432
|
+
MDN-LIKE Theme - Mozilla
|
|
433
|
+
Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>
|
|
434
|
+
Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues
|
|
435
|
+
GitHub: @peterkroon
|
|
436
|
+
|
|
437
|
+
The mdn-like theme is inspired on the displayed code examples at: https://developer.mozilla.org/en-US/docs/Web/CSS/animation
|
|
438
|
+
|
|
439
|
+
*/
|
|
440
|
+
.cm-s-mdn-like.CodeMirror { color: #999; background-color: #fff; }
|
|
441
|
+
.cm-s-mdn-like div.CodeMirror-selected { background: #cfc; }
|
|
442
|
+
.cm-s-mdn-like .CodeMirror-line::selection, .cm-s-mdn-like .CodeMirror-line > span::selection, .cm-s-mdn-like .CodeMirror-line > span > span::selection { background: #cfc; }
|
|
443
|
+
.cm-s-mdn-like .CodeMirror-line::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span > span::-moz-selection { background: #cfc; }
|
|
444
|
+
|
|
445
|
+
.cm-s-mdn-like .CodeMirror-gutters { background: #f8f8f8; border-left: 6px solid rgba(0,83,159,0.65); color: #333; }
|
|
446
|
+
.cm-s-mdn-like .CodeMirror-linenumber { color: #aaa; padding-left: 8px; }
|
|
447
|
+
.cm-s-mdn-like .CodeMirror-cursor { border-left: 2px solid #222; }
|
|
448
|
+
|
|
449
|
+
.cm-s-mdn-like .cm-keyword { color: #6262FF; }
|
|
450
|
+
.cm-s-mdn-like .cm-atom { color: #F90; }
|
|
451
|
+
.cm-s-mdn-like .cm-number { color: #ca7841; }
|
|
452
|
+
.cm-s-mdn-like .cm-def { color: #8DA6CE; }
|
|
453
|
+
.cm-s-mdn-like span.cm-variable-2, .cm-s-mdn-like span.cm-tag { color: #690; }
|
|
454
|
+
.cm-s-mdn-like span.cm-variable-3, .cm-s-mdn-like span.cm-def, .cm-s-mdn-like span.cm-type { color: #07a; }
|
|
455
|
+
|
|
456
|
+
.cm-s-mdn-like .cm-variable { color: #07a; }
|
|
457
|
+
.cm-s-mdn-like .cm-property { color: #905; }
|
|
458
|
+
.cm-s-mdn-like .cm-qualifier { color: #690; }
|
|
459
|
+
|
|
460
|
+
.cm-s-mdn-like .cm-operator { color: #cda869; }
|
|
461
|
+
.cm-s-mdn-like .cm-comment { color:#777; font-weight:normal; }
|
|
462
|
+
.cm-s-mdn-like .cm-string { color:#07a; font-style:italic; }
|
|
463
|
+
.cm-s-mdn-like .cm-string-2 { color:#bd6b18; } /*?*/
|
|
464
|
+
.cm-s-mdn-like .cm-meta { color: #000; } /*?*/
|
|
465
|
+
.cm-s-mdn-like .cm-builtin { color: #9B7536; } /*?*/
|
|
466
|
+
.cm-s-mdn-like .cm-tag { color: #997643; }
|
|
467
|
+
.cm-s-mdn-like .cm-attribute { color: #d6bb6d; } /*?*/
|
|
468
|
+
.cm-s-mdn-like .cm-header { color: #FF6400; }
|
|
469
|
+
.cm-s-mdn-like .cm-hr { color: #AEAEAE; }
|
|
470
|
+
.cm-s-mdn-like .cm-link { color:#ad9361; font-style:italic; text-decoration:none; }
|
|
471
|
+
.cm-s-mdn-like .cm-error { border-bottom: 1px solid red; }
|
|
472
|
+
|
|
473
|
+
div.cm-s-mdn-like .CodeMirror-activeline-background { background: #efefff; }
|
|
474
|
+
div.cm-s-mdn-like span.CodeMirror-matchingbracket { outline:1px solid grey; color: inherit; }
|
|
475
|
+
|
|
476
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/ui-components",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.4",
|
|
4
4
|
"description": "Gravitee.io UI Components library, based on Web Components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -49,25 +49,10 @@
|
|
|
49
49
|
"package.json": "npm run lint:package"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@codemirror/autocomplete": "^0.19.9",
|
|
53
|
-
"@codemirror/basic-setup": "^0.19.1",
|
|
54
|
-
"@codemirror/closebrackets": "^0.19.0",
|
|
55
|
-
"@codemirror/commands": "^0.19.6",
|
|
56
|
-
"@codemirror/fold": "^0.19.1",
|
|
57
|
-
"@codemirror/gutter": "^0.19.4",
|
|
58
|
-
"@codemirror/highlight": "^0.19.6",
|
|
59
|
-
"@codemirror/history": "^0.19.0",
|
|
60
|
-
"@codemirror/lang-html": "^0.19.3",
|
|
61
|
-
"@codemirror/lang-java": "^0.19.1",
|
|
62
|
-
"@codemirror/lang-javascript": "^0.19.2",
|
|
63
|
-
"@codemirror/language": "^0.19.3",
|
|
64
|
-
"@codemirror/language-data": "^0.19.1",
|
|
65
|
-
"@codemirror/matchbrackets": "^0.19.3",
|
|
66
|
-
"@codemirror/state": "^0.19.6",
|
|
67
|
-
"@codemirror/view": "^0.19.32",
|
|
68
52
|
"@formatjs/intl-locale": "^2.4.40",
|
|
69
53
|
"@formatjs/intl-relativetimeformat": "^9.3.2",
|
|
70
54
|
"clipboard-copy": "^4.0.0",
|
|
55
|
+
"codemirror": "^5.63.2",
|
|
71
56
|
"date-fns": "^2.26.0",
|
|
72
57
|
"jdenticon": "^3.1.0",
|
|
73
58
|
"jsonschema": "^1.4.0",
|