diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2020-01-13 09:33:58 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-02-10 20:46:16 +0100 |
commit | 22fd8dbb4fb402942b76039553af95efbd660c92 (patch) | |
tree | 561f79647e057f35a2d1fac6c5a267e45a5e0895 /server | |
parent | 5ac4c80c8438a31aca58b0ac377a0ec948d68ded (diff) | |
download | sonarqube-22fd8dbb4fb402942b76039553af95efbd660c92.tar.gz sonarqube-22fd8dbb4fb402942b76039553af95efbd660c92.zip |
Update to sonar-ui-common 0.0.50
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-docs/package.json | 2 | ||||
-rw-r--r-- | server/sonar-docs/yarn.lock | 8 | ||||
-rw-r--r-- | server/sonar-web/package.json | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap | 120 | ||||
-rw-r--r-- | server/sonar-web/yarn.lock | 8 |
5 files changed, 130 insertions, 10 deletions
diff --git a/server/sonar-docs/package.json b/server/sonar-docs/package.json index 22faa13c231..6e75cd385c5 100644 --- a/server/sonar-docs/package.json +++ b/server/sonar-docs/package.json @@ -21,7 +21,7 @@ "react-dom": "16.8.6", "react-helmet": "5.2.0", "react-typography": "0.16.19", - "sonar-ui-common": "0.0.44", + "sonar-ui-common": "0.0.50", "typography": "0.16.19" }, "devDependencies": { diff --git a/server/sonar-docs/yarn.lock b/server/sonar-docs/yarn.lock index 3b39d9a4aac..e2eb5d8cdaa 100644 --- a/server/sonar-docs/yarn.lock +++ b/server/sonar-docs/yarn.lock @@ -11158,10 +11158,10 @@ sockjs@0.3.19: faye-websocket "^0.10.0" uuid "^3.0.1" -sonar-ui-common@0.0.44: - version "0.0.44" - resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.44.tgz#03b1e640c591416ed20b0227a3db89d43eeb8214" - integrity sha1-A7HmQMWRQW7SCwIno9uJ1D7rghQ= +sonar-ui-common@0.0.50: + version "0.0.50" + resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.50.tgz#46705448d9f550c53fe4df95fecff9514e205ccb" + integrity sha1-RnBUSNn1UMU/5N+V/s/5UU4gXMs= dependencies: "@types/react-select" "1.2.6" classnames "2.2.6" diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index e287662a99e..eb88f425ddf 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -38,7 +38,7 @@ "regenerator-runtime": "0.13.2", "remark-custom-blocks": "2.3.0", "remark-slug": "5.1.0", - "sonar-ui-common": "0.0.44", + "sonar-ui-common": "0.0.50", "unist-util-visit": "1.4.0", "valid-url": "1.0.9", "whatwg-fetch": "2.0.4" diff --git a/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap b/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap index 1b16baeff81..63ebfc7d136 100644 --- a/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/CodeSnippet-test.tsx.snap @@ -43,6 +43,46 @@ bar" onMouseLeave={[Function]} type="button" > + <CopyIcon + className="little-spacer-right" + > + <Icon + className="little-spacer-right" + > + <svg + className="little-spacer-right" + height={16} + style={ + Object { + "clipRule": "evenodd", + "fillRule": "evenodd", + "strokeLinejoin": "round", + "strokeMiterlimit": 1.41421, + } + } + version="1.1" + viewBox="0 0 16 16" + width={16} + xmlSpace="preserve" + xmlnsXlink="http://www.w3.org/1999/xlink" + > + <g + fill="currentColor" + fillRule="nonzero" + > + <path + d="M2.931 15.005V3H2v13h9v-.995z" + /> + <path + d="M10 4.015h3V14H4V1h6v3.015zM9 8V6H8v2H6v1h2v2h1V9h2V8H9z" + /> + <path + d="M11 1v2h2a2.151 2.151 0 0 0-2-2z" + /> + </g> + </svg> + </Icon> + </CopyIcon> copy </button> </Button> @@ -118,6 +158,46 @@ exports[`renders correctly with array snippet 1`] = ` onMouseLeave={[Function]} type="button" > + <CopyIcon + className="little-spacer-right" + > + <Icon + className="little-spacer-right" + > + <svg + className="little-spacer-right" + height={16} + style={ + Object { + "clipRule": "evenodd", + "fillRule": "evenodd", + "strokeLinejoin": "round", + "strokeMiterlimit": 1.41421, + } + } + version="1.1" + viewBox="0 0 16 16" + width={16} + xmlSpace="preserve" + xmlnsXlink="http://www.w3.org/1999/xlink" + > + <g + fill="currentColor" + fillRule="nonzero" + > + <path + d="M2.931 15.005V3H2v13h9v-.995z" + /> + <path + d="M10 4.015h3V14H4V1h6v3.015zM9 8V6H8v2H6v1h2v2h1V9h2V8H9z" + /> + <path + d="M11 1v2h2a2.151 2.151 0 0 0-2-2z" + /> + </g> + </svg> + </Icon> + </CopyIcon> copy </button> </Button> @@ -173,6 +253,46 @@ exports[`renders correctly with array snippet 2`] = ` onMouseLeave={[Function]} type="button" > + <CopyIcon + className="little-spacer-right" + > + <Icon + className="little-spacer-right" + > + <svg + className="little-spacer-right" + height={16} + style={ + Object { + "clipRule": "evenodd", + "fillRule": "evenodd", + "strokeLinejoin": "round", + "strokeMiterlimit": 1.41421, + } + } + version="1.1" + viewBox="0 0 16 16" + width={16} + xmlSpace="preserve" + xmlnsXlink="http://www.w3.org/1999/xlink" + > + <g + fill="currentColor" + fillRule="nonzero" + > + <path + d="M2.931 15.005V3H2v13h9v-.995z" + /> + <path + d="M10 4.015h3V14H4V1h6v3.015zM9 8V6H8v2H6v1h2v2h1V9h2V8H9z" + /> + <path + d="M11 1v2h2a2.151 2.151 0 0 0-2-2z" + /> + </g> + </svg> + </Icon> + </CopyIcon> copy </button> </Button> diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index ba8f6d6059b..608d2a5b1a0 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -9462,10 +9462,10 @@ sockjs@0.3.19: faye-websocket "^0.10.0" uuid "^3.0.1" -sonar-ui-common@0.0.44: - version "0.0.44" - resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.44.tgz#03b1e640c591416ed20b0227a3db89d43eeb8214" - integrity sha1-A7HmQMWRQW7SCwIno9uJ1D7rghQ= +sonar-ui-common@0.0.50: + version "0.0.50" + resolved "https://repox.jfrog.io/repox/api/npm/npm/sonar-ui-common/-/sonar-ui-common-0.0.50.tgz#46705448d9f550c53fe4df95fecff9514e205ccb" + integrity sha1-RnBUSNn1UMU/5N+V/s/5UU4gXMs= dependencies: "@types/react-select" "1.2.6" classnames "2.2.6" |