@gravitee/ui-components 3.25.2-policy-prefix-common-field-950eef3 → 3.25.3-typescript-8a53edf
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 +8 -0
- package/package.json +15 -3
- package/src/molecules/gv-identity-picture.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [3.25.3](https://github.com/gravitee-io/gravitee-ui-components/compare/v3.25.2...v3.25.3) (2021-12-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* keep conditional value when policy is moved ([67f1513](https://github.com/gravitee-io/gravitee-ui-components/commit/67f1513c314f6962f9e10b1bca211aa842b2cf1e))
|
|
7
|
+
* prefix description and condition with `common` ([6225123](https://github.com/gravitee-io/gravitee-ui-components/commit/6225123364a75e6fc878967d41bc9144a9f2d145))
|
|
8
|
+
|
|
1
9
|
## [3.25.2](https://github.com/gravitee-io/gravitee-ui-components/compare/v3.25.1...v3.25.2) (2021-12-22)
|
|
2
10
|
|
|
3
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/ui-components",
|
|
3
|
-
"version": "3.25.
|
|
3
|
+
"version": "3.25.3-typescript-8a53edf",
|
|
4
4
|
"description": "Gravitee.io UI Components library, based on Web Components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"check:i18n": "node tasks/check-i18n.js",
|
|
23
23
|
"danger": "danger ci",
|
|
24
24
|
"docs": "wca analyze src/** --outFile .docs/custom-elements.json && node tasks/generate-docs.js",
|
|
25
|
-
"generate:dist": "
|
|
25
|
+
"generate:dist": "npm run tsc && npm run rollup",
|
|
26
26
|
"generate:icons": "node tasks/generate-icons.js && npm run lint:fix",
|
|
27
27
|
"generate:theme": "node tasks/generate-theme.js && npm run lint:fix",
|
|
28
28
|
"lint": "eslint src stories tasks && npm run prettier",
|
|
@@ -35,13 +35,15 @@
|
|
|
35
35
|
"prettier": "prettier --check \"**/*.{js,html,css,json}\"",
|
|
36
36
|
"prettier:fix": "prettier --write \"**/*.{js,html,css,json}\"",
|
|
37
37
|
"release": "semantic-release",
|
|
38
|
+
"rollup": "rollup -c ",
|
|
38
39
|
"serve": "npm run docs && start-storybook -p 6006 --ci -s assets --modern",
|
|
39
40
|
"serve:prod": "npm run build && static -a 0.0.0.0 -p 8080 storybook-static --modern",
|
|
40
41
|
"size": "node tasks/size.js",
|
|
41
42
|
"size:dev": "nodemon -w src -x 'npm run generate:dist && npm run size'",
|
|
42
43
|
"test": "jest",
|
|
43
44
|
"test:coverage": "npm run test -- --collect-coverage",
|
|
44
|
-
"test:watch": "npm run test -- --watchAll"
|
|
45
|
+
"test:watch": "npm run test -- --watchAll",
|
|
46
|
+
"tsc": "tsc "
|
|
45
47
|
},
|
|
46
48
|
"lint-staged": {
|
|
47
49
|
"*": "npm run lint:license:fix",
|
|
@@ -73,6 +75,9 @@
|
|
|
73
75
|
"@commitlint/cli": "15.0.0",
|
|
74
76
|
"@commitlint/config-conventional": "15.0.0",
|
|
75
77
|
"@highcharts/map-collection": "1.1.4",
|
|
78
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
79
|
+
"@rollup/plugin-node-resolve": "^13.1.1",
|
|
80
|
+
"@rollup/plugin-typescript": "^8.3.0",
|
|
76
81
|
"@semantic-release/changelog": "6.0.1",
|
|
77
82
|
"@semantic-release/git": "10.0.1",
|
|
78
83
|
"@storybook/addon-a11y": "6.4.9",
|
|
@@ -80,6 +85,7 @@
|
|
|
80
85
|
"@storybook/components": "6.4.9",
|
|
81
86
|
"@storybook/theming": "6.4.9",
|
|
82
87
|
"@storybook/web-components": "6.4.9",
|
|
88
|
+
"@web/rollup-plugin-copy": "^0.3.0",
|
|
83
89
|
"asciidoctor": "2.2.5",
|
|
84
90
|
"asciidoctor-highlight.js": "0.4.0",
|
|
85
91
|
"babel-jest": "27.4.5",
|
|
@@ -118,11 +124,17 @@
|
|
|
118
124
|
"nodemon": "2.0.15",
|
|
119
125
|
"pascal-case": "3.1.2",
|
|
120
126
|
"prettier": "2.5.1",
|
|
127
|
+
"rollup": "^2.61.1",
|
|
128
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
129
|
+
"rollup-plugin-minify-html-literals": "^1.2.6",
|
|
130
|
+
"rollup-plugin-multi-input": "^1.3.1",
|
|
131
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
121
132
|
"semantic-release": "18.0.1",
|
|
122
133
|
"sort-package-json": "1.53.1",
|
|
123
134
|
"svgo": "2.8.0",
|
|
124
135
|
"svgstore": "3.0.1",
|
|
125
136
|
"text-table": "0.2.0",
|
|
137
|
+
"typescript": "^4.5.4",
|
|
126
138
|
"web-component-analyzer": "1.1.6",
|
|
127
139
|
"webpack-env": "0.8.0",
|
|
128
140
|
"webpack-merge": "5.8.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { css, LitElement, html } from 'lit';
|
|
17
|
-
import
|
|
17
|
+
import jdenticon from 'jdenticon';
|
|
18
18
|
import { skeleton } from '../styles/skeleton';
|
|
19
19
|
import { styleMap } from 'lit/directives/style-map';
|
|
20
20
|
import '../atoms/gv-image';
|
|
@@ -123,7 +123,7 @@ export class GvIdentityPicture extends LitElement {
|
|
|
123
123
|
container.classList.add('skeleton');
|
|
124
124
|
}
|
|
125
125
|
container.title = this.display_name;
|
|
126
|
-
container.innerHTML = toSvg(this.display_name, size, { backColor: '#FFF' });
|
|
126
|
+
container.innerHTML = jdenticon.toSvg(this.display_name, size, { backColor: '#FFF' });
|
|
127
127
|
if (this.notification) {
|
|
128
128
|
const notification = document.createElement('span');
|
|
129
129
|
notification.className = 'notification';
|