@gravitee/ui-components 4.2.2 → 4.2.3-renovate-devdependencies-non-major-6e2287c
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/highlight.js/github.css +110 -2
- package/package.json +27 -27
- package/src/lib/i18n.d.ts +2 -2
- package/src/lib/i18n.js +1 -1
- package/src/lib/i18n.js.map +1 -1
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
pre code.hljs{
|
|
1
|
+
pre code.hljs {
|
|
2
|
+
display: block;
|
|
3
|
+
overflow-x: auto;
|
|
4
|
+
padding: 1em
|
|
5
|
+
}
|
|
6
|
+
code.hljs {
|
|
7
|
+
padding: 3px 5px
|
|
8
|
+
}
|
|
9
|
+
/*!
|
|
2
10
|
Theme: GitHub
|
|
3
11
|
Description: Light theme as seen on github.com
|
|
4
12
|
Author: github.com
|
|
@@ -7,4 +15,104 @@ pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5p
|
|
|
7
15
|
|
|
8
16
|
Outdated base version: https://github.com/primer/github-syntax-light
|
|
9
17
|
Current colors taken from GitHub's CSS
|
|
10
|
-
|
|
18
|
+
*/
|
|
19
|
+
.hljs {
|
|
20
|
+
color: #24292e;
|
|
21
|
+
background: #ffffff
|
|
22
|
+
}
|
|
23
|
+
.hljs-doctag,
|
|
24
|
+
.hljs-keyword,
|
|
25
|
+
.hljs-meta .hljs-keyword,
|
|
26
|
+
.hljs-template-tag,
|
|
27
|
+
.hljs-template-variable,
|
|
28
|
+
.hljs-type,
|
|
29
|
+
.hljs-variable.language_ {
|
|
30
|
+
/* prettylights-syntax-keyword */
|
|
31
|
+
color: #d73a49
|
|
32
|
+
}
|
|
33
|
+
.hljs-title,
|
|
34
|
+
.hljs-title.class_,
|
|
35
|
+
.hljs-title.class_.inherited__,
|
|
36
|
+
.hljs-title.function_ {
|
|
37
|
+
/* prettylights-syntax-entity */
|
|
38
|
+
color: #6f42c1
|
|
39
|
+
}
|
|
40
|
+
.hljs-attr,
|
|
41
|
+
.hljs-attribute,
|
|
42
|
+
.hljs-literal,
|
|
43
|
+
.hljs-meta,
|
|
44
|
+
.hljs-number,
|
|
45
|
+
.hljs-operator,
|
|
46
|
+
.hljs-variable,
|
|
47
|
+
.hljs-selector-attr,
|
|
48
|
+
.hljs-selector-class,
|
|
49
|
+
.hljs-selector-id {
|
|
50
|
+
/* prettylights-syntax-constant */
|
|
51
|
+
color: #005cc5
|
|
52
|
+
}
|
|
53
|
+
.hljs-regexp,
|
|
54
|
+
.hljs-string,
|
|
55
|
+
.hljs-meta .hljs-string {
|
|
56
|
+
/* prettylights-syntax-string */
|
|
57
|
+
color: #032f62
|
|
58
|
+
}
|
|
59
|
+
.hljs-built_in,
|
|
60
|
+
.hljs-symbol {
|
|
61
|
+
/* prettylights-syntax-variable */
|
|
62
|
+
color: #e36209
|
|
63
|
+
}
|
|
64
|
+
.hljs-comment,
|
|
65
|
+
.hljs-code,
|
|
66
|
+
.hljs-formula {
|
|
67
|
+
/* prettylights-syntax-comment */
|
|
68
|
+
color: #6a737d
|
|
69
|
+
}
|
|
70
|
+
.hljs-name,
|
|
71
|
+
.hljs-quote,
|
|
72
|
+
.hljs-selector-tag,
|
|
73
|
+
.hljs-selector-pseudo {
|
|
74
|
+
/* prettylights-syntax-entity-tag */
|
|
75
|
+
color: #22863a
|
|
76
|
+
}
|
|
77
|
+
.hljs-subst {
|
|
78
|
+
/* prettylights-syntax-storage-modifier-import */
|
|
79
|
+
color: #24292e
|
|
80
|
+
}
|
|
81
|
+
.hljs-section {
|
|
82
|
+
/* prettylights-syntax-markup-heading */
|
|
83
|
+
color: #005cc5;
|
|
84
|
+
font-weight: bold
|
|
85
|
+
}
|
|
86
|
+
.hljs-bullet {
|
|
87
|
+
/* prettylights-syntax-markup-list */
|
|
88
|
+
color: #735c0f
|
|
89
|
+
}
|
|
90
|
+
.hljs-emphasis {
|
|
91
|
+
/* prettylights-syntax-markup-italic */
|
|
92
|
+
color: #24292e;
|
|
93
|
+
font-style: italic
|
|
94
|
+
}
|
|
95
|
+
.hljs-strong {
|
|
96
|
+
/* prettylights-syntax-markup-bold */
|
|
97
|
+
color: #24292e;
|
|
98
|
+
font-weight: bold
|
|
99
|
+
}
|
|
100
|
+
.hljs-addition {
|
|
101
|
+
/* prettylights-syntax-markup-inserted */
|
|
102
|
+
color: #22863a;
|
|
103
|
+
background-color: #f0fff4
|
|
104
|
+
}
|
|
105
|
+
.hljs-deletion {
|
|
106
|
+
/* prettylights-syntax-markup-deleted */
|
|
107
|
+
color: #b31d28;
|
|
108
|
+
background-color: #ffeef0
|
|
109
|
+
}
|
|
110
|
+
.hljs-char.escape_,
|
|
111
|
+
.hljs-link,
|
|
112
|
+
.hljs-params,
|
|
113
|
+
.hljs-property,
|
|
114
|
+
.hljs-punctuation,
|
|
115
|
+
.hljs-tag {
|
|
116
|
+
/* purposely ignored */
|
|
117
|
+
|
|
118
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/ui-components",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3-renovate-devdependencies-non-major-6e2287c",
|
|
4
4
|
"description": "Gravitee.io UI Components library, based on Web Components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"@codemirror/stream-parser": "^0.19.9",
|
|
59
59
|
"@formatjs/intl-locale": "^2.4.40",
|
|
60
60
|
"@formatjs/intl-relativetimeformat": "^9.3.2",
|
|
61
|
+
"@messageformat/core": "3.3.0",
|
|
61
62
|
"@popperjs/core": "^2.11.7",
|
|
62
63
|
"clipboard-copy": "^4.0.0",
|
|
63
64
|
"codemirror-asciidoc": "^2.0.0",
|
|
@@ -66,38 +67,37 @@
|
|
|
66
67
|
"jdenticon": "^3.1.0",
|
|
67
68
|
"jsonschema": "^1.4.0",
|
|
68
69
|
"lit": "^2.0.2",
|
|
69
|
-
"messageformat": "^2.3.0",
|
|
70
70
|
"object-path": "^0.11.8",
|
|
71
71
|
"resize-observer-polyfill": "^1.5.1",
|
|
72
72
|
"whatwg-fetch": "^3.6.17"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@asciidoctor/core": "3.0.
|
|
76
|
-
"@babel/preset-env": "7.
|
|
77
|
-
"@babel/preset-typescript": "7.
|
|
75
|
+
"@asciidoctor/core": "3.0.4",
|
|
76
|
+
"@babel/preset-env": "7.24.4",
|
|
77
|
+
"@babel/preset-typescript": "7.24.1",
|
|
78
78
|
"@commitlint/cli": "16.3.0",
|
|
79
79
|
"@commitlint/config-conventional": "16.2.4",
|
|
80
|
-
"@highcharts/map-collection": "2.0
|
|
81
|
-
"@semantic-release/changelog": "6.0.
|
|
80
|
+
"@highcharts/map-collection": "2.1.0",
|
|
81
|
+
"@semantic-release/changelog": "6.0.3",
|
|
82
82
|
"@semantic-release/git": "10.0.1",
|
|
83
|
-
"@storybook/addon-a11y": "6.
|
|
84
|
-
"@storybook/addon-essentials": "6.
|
|
85
|
-
"@storybook/components": "6.
|
|
86
|
-
"@storybook/theming": "6.
|
|
87
|
-
"@storybook/web-components": "6.
|
|
83
|
+
"@storybook/addon-a11y": "6.5.16",
|
|
84
|
+
"@storybook/addon-essentials": "6.5.16",
|
|
85
|
+
"@storybook/components": "6.5.16",
|
|
86
|
+
"@storybook/theming": "6.5.16",
|
|
87
|
+
"@storybook/web-components": "6.5.16",
|
|
88
88
|
"@types/dompurify": "^3.0.2",
|
|
89
|
-
"asciidoctor": "3.0.
|
|
89
|
+
"asciidoctor": "3.0.4",
|
|
90
90
|
"asciidoctor-highlight.js": "0.4.0",
|
|
91
91
|
"babel-jest": "27.5.1",
|
|
92
92
|
"babel-loader": "8.3.0",
|
|
93
|
-
"chromatic": "6.
|
|
94
|
-
"danger": "11.
|
|
93
|
+
"chromatic": "6.24.1",
|
|
94
|
+
"danger": "11.3.1",
|
|
95
95
|
"del": "7.1.0",
|
|
96
|
-
"eslint": "8.
|
|
97
|
-
"eslint-config-prettier": "8.
|
|
96
|
+
"eslint": "8.57.0",
|
|
97
|
+
"eslint-config-prettier": "8.10.0",
|
|
98
98
|
"eslint-config-standard": "16.0.3",
|
|
99
|
-
"eslint-plugin-import": "2.
|
|
100
|
-
"eslint-plugin-lit": "1.
|
|
99
|
+
"eslint-plugin-import": "2.29.1",
|
|
100
|
+
"eslint-plugin-lit": "1.11.0",
|
|
101
101
|
"eslint-plugin-node": "11.1.0",
|
|
102
102
|
"eslint-plugin-promise": "6.1.1",
|
|
103
103
|
"eslint-plugin-standard": "4.1.0",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"github-markdown-css": "4.0.0",
|
|
107
107
|
"glob": "7.2.3",
|
|
108
108
|
"highcharts": "10.3.3",
|
|
109
|
-
"highlight.js": "11.
|
|
110
|
-
"html-to-react": "1.
|
|
109
|
+
"highlight.js": "11.9.0",
|
|
110
|
+
"html-to-react": "1.7.0",
|
|
111
111
|
"husky": "7.0.4",
|
|
112
112
|
"i18n-extract": "0.6.7",
|
|
113
113
|
"ignore-loader": "0.1.2",
|
|
@@ -115,20 +115,20 @@
|
|
|
115
115
|
"jest": "27.5.1",
|
|
116
116
|
"license-check-and-add": "4.0.5",
|
|
117
117
|
"lint-staged": "12.5.0",
|
|
118
|
-
"lit-html": "2.
|
|
118
|
+
"lit-html": "2.8.0",
|
|
119
119
|
"markdown-it": "12.3.2",
|
|
120
120
|
"node-static": "0.7.11",
|
|
121
|
-
"nodemon": "2.0.
|
|
121
|
+
"nodemon": "2.0.22",
|
|
122
122
|
"pascal-case": "3.1.2",
|
|
123
|
-
"prettier": "2.8.
|
|
123
|
+
"prettier": "2.8.8",
|
|
124
124
|
"semantic-release": "18.0.1",
|
|
125
|
-
"sort-package-json": "2.
|
|
125
|
+
"sort-package-json": "2.10.0",
|
|
126
126
|
"svgo": "2.8.0",
|
|
127
127
|
"svgstore": "3.0.1",
|
|
128
128
|
"typescript": "4.9.5",
|
|
129
|
-
"web-component-analyzer": "1.1.
|
|
129
|
+
"web-component-analyzer": "1.1.7",
|
|
130
130
|
"webpack-env": "0.8.0",
|
|
131
|
-
"webpack-merge": "5.
|
|
131
|
+
"webpack-merge": "5.10.0",
|
|
132
132
|
"zx": "4.3.0"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|
package/src/lib/i18n.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export function i18n(key: string, data?: object): string;
|
|
7
7
|
export namespace i18n {
|
|
8
8
|
const _translations: {};
|
|
9
|
-
const _messageFormatter: MessageFormat
|
|
9
|
+
const _messageFormatter: MessageFormat<"string">;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* @param {string} lang - Translation language code
|
|
@@ -27,4 +27,4 @@ export function addTranslations(lang: string, translations: object, label?: stri
|
|
|
27
27
|
*/
|
|
28
28
|
export function getAvailableLanguages(): object;
|
|
29
29
|
export function loadDefaultTranslations(): Promise<void>;
|
|
30
|
-
import MessageFormat
|
|
30
|
+
import MessageFormat from "@messageformat/core";
|
package/src/lib/i18n.js
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import 'whatwg-fetch';
|
|
17
|
+
import MessageFormat from '@messageformat/core';
|
|
17
18
|
/**
|
|
18
19
|
* @param {string} key - The translation key
|
|
19
20
|
* @param {object} data - The translation data
|
|
@@ -44,7 +45,6 @@ function getTranslation(key) {
|
|
|
44
45
|
}
|
|
45
46
|
// Init private translation storage
|
|
46
47
|
i18n._translations = {};
|
|
47
|
-
const MessageFormat = require('messageformat');
|
|
48
48
|
i18n._messageFormatter = new MessageFormat(i18n._lang);
|
|
49
49
|
/**
|
|
50
50
|
* @param {string} lang - Translation language code
|
package/src/lib/i18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../../src/lib/i18n.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../../src/lib/i18n.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,cAAc,CAAC;AACtB,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,UAAU,IAAI,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI;IACnC,MAAM,WAAW,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;IACxC,IAAI,WAAW,IAAI,IAAI,EAAE;QACvB,OAAO,SAAS,CAAC;KAClB;IAED,IAAI,IAAI,EAAE;QACR,MAAM,GAAG,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QACxD,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC;KAClB;IAED,OAAO,WAAW,CAAC;AACrB,CAAC;AAED;;;GAGG;AACH,SAAS,cAAc,CAAC,GAAG;IACzB,IAAI;QACF,OAAO,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;KAClG;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,IAAI,CAAC;KACb;AACH,CAAC;AAED,mCAAmC;AACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;AAExB,IAAI,CAAC,iBAAiB,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAEvD;;GAEG;AACH,MAAM,UAAU,WAAW,CAAC,IAAI;IAC9B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;AACpB,CAAC;AAED;;GAEG;AACH,MAAM,U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