From 069e56f921b79098c57575cc5313ff70b8e046c4 Mon Sep 17 00:00:00 2001 From: Sara Vieira Date: Fri, 12 Jan 2018 15:25:26 +0000 Subject: [PATCH] feat(my-joy-beta): create instance affinity fixes #988 --- packages/my-joy-beta/package.json | 9 +- .../__snapshots__/affinity.spec.js.snap | 967 +++ .../{cns.js.snap => cns.spec.js.snap} | 0 .../__snapshots__/network.spec.js.snap | 20 + .../__tests__/affinity.spec.js | 90 + .../__tests__/{cns.js => cns.spec.js} | 0 .../components/create-instance/affinity.js | 108 + .../__snapshots__/key-value.spec.js.snap | 5728 +++++++++-------- .../__snapshots__/metadata.spec.js.snap | 2279 +++---- .../__tests__/__snapshots__/tags.spec.js.snap | 645 +- .../src/components/instances/key-value.js | 41 +- .../__snapshots__/footer.spec..js.snap | 70 + .../navigation/__tests__/footer.spec..js | 18 + .../src/components/navigation/footer.js | 46 + .../__snapshots__/metadata.spec.js.snap | 1723 ++--- .../__snapshots__/networks.spec.js.snap | 8 + .../__tests__/__snapshots__/tag.spec.js.snap | 293 +- .../containers/create-instance/affinity.js | 224 + .../src/containers/create-instance/index.js | 15 +- .../__snapshots__/metadata.spec.js.snap | 781 +-- .../__tests__/__snapshots__/tags.spec.js.snap | 721 ++- packages/my-joy-beta/src/router.js | 7 +- packages/ui-toolkit/src/base/global.js | 2 +- .../__snapshots__/card.spec.js.snap | 1 + packages/ui-toolkit/src/card/header.js | 3 + packages/ui-toolkit/src/form/select.js | 5 + packages/ui-toolkit/src/text/headings.js | 158 +- 27 files changed, 7877 insertions(+), 6085 deletions(-) create mode 100644 packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap rename packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/{cns.js.snap => cns.spec.js.snap} (100%) create mode 100644 packages/my-joy-beta/src/components/create-instance/__tests__/affinity.spec.js rename packages/my-joy-beta/src/components/create-instance/__tests__/{cns.js => cns.spec.js} (100%) create mode 100644 packages/my-joy-beta/src/components/create-instance/affinity.js create mode 100644 packages/my-joy-beta/src/components/navigation/__tests__/__snapshots__/footer.spec..js.snap create mode 100644 packages/my-joy-beta/src/components/navigation/__tests__/footer.spec..js create mode 100644 packages/my-joy-beta/src/components/navigation/footer.js create mode 100644 packages/my-joy-beta/src/containers/create-instance/affinity.js diff --git a/packages/my-joy-beta/package.json b/packages/my-joy-beta/package.json index 8fbbfe7c..234631da 100644 --- a/packages/my-joy-beta/package.json +++ b/packages/my-joy-beta/package.json @@ -6,11 +6,14 @@ "repository": "github:yldio/joyent-portal", "main": "build/", "scripts": { - "dev": "REACT_APP_GQL_PORT=4000 PORT=3069 REACT_APP_GQL_PROTOCOL=http joyent-react-scripts start", + "dev": + "REACT_APP_GQL_PORT=4000 PORT=3069 REACT_APP_GQL_PROTOCOL=http joyent-react-scripts start", "start": "PORT=3069 joyent-react-scripts start", "build": "NODE_ENV=production joyent-react-scripts build", - "lint-ci": "eslint . --ext .js --ext .md && echo 0 `# stylelint './src/**/*.js'`", - "lint": "eslint . --fix --ext .js --ext .md && echo 0 `# stylelint './src/**/*.js'`", + "lint-ci": + "eslint . --ext .js --ext .md && echo 0 `# stylelint './src/**/*.js'`", + "lint": + "eslint . --fix --ext .js --ext .md && echo 0 `# stylelint './src/**/*.js'`", "test": "NODE_ENV=test joyent-react-scripts test --env=jsdom", "test-ci": "npm run test", "prepublish": "echo 0" diff --git a/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap b/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap new file mode 100644 index 00000000..af1e25dc --- /dev/null +++ b/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/affinity.spec.js.snap @@ -0,0 +1,967 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`renders
without throwing 1`] = ` +Array [ + + + : +, + " be on a", + " ", + " node as the instance(s) identified by the instance ", + " ", + "key ", + " “", + "\\" and the instance tag value ", + "”", +] +`; + +exports[`renders
without throwing 1`] = ` +Array [ + + + : +, + " be on a", + " ", + " node as the instance(s) identified by the instance ", + " ", + "key ", + " “", + "\\" and the instance tag value ", + "”", +] +`; + +exports[`renders without throwing 1`] = ` +.c0 { + margin-top: 0.5rem; + margin-bottom: 2rem; +} + +.c8 { + margin-right: 0.25rem; +} + +.c1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.c2 { + color: rgba(73,73,73,1); + font-weight: normal; + line-height: 1.5rem; + font-size: 0.9375rem; + margin: 0; + display: inline-block; +} + +.c3 { + display: inline-block; + margin: 0; + padding: 0; + border: none; + overflow: hidden; + height: auto; + -webkit-margin-start: 0; + -webkit-margin-end: 0; + -webkit-padding-before: 0; + -webkit-padding-start: 0; + -webkit-padding-end: 0; + -webkit-padding-after: 0; +} + +.c9 { + box-sizing: border-box; + width: 18.75rem; + height: 3rem; + min-height: 3rem; + margin-bottom: 0.5rem; + margin-top: 0.5rem; + padding: 0.8125rem 1.125rem; + border-radius: 0.25rem; + background-color: rgb(255,255,255); + border: 0.0625rem solid rgb(216,216,216); + color: rgba(73,73,73,1); + border: none; + border-bottom: 0.0625rem solid rgba(73,73,73,1); + border-radius: 0; + background: transparent; + padding: 0; + padding-right: 0.75rem; + display: inline; + height: 1.5rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + min-height: 0; + max-width: 18.75rem; + text-overflow: ellipsis; + font-size: 0.9375rem; + line-height: normal !important; + font-style: normal; + font-stretch: normal; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + outline: 0; +} + +.c9::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:invalid { + box-shadow: none; +} + +.c9:disabled { + background-color: rgb(250,250,250); + color: rgb(216,216,216); +} + +.c9:disabled::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:disabled::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:disabled:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:focus { + border-color: rgb(59,70,204); + outline: 0; +} + +.c4 { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: 100%; + max-width: 100%; + min-width: 18.75rem; + width: auto; + margin: 0 0.375rem; + min-width: 0; +} + +.c4:after { + content: ''; + width: 0.625rem; + height: 0.625rem; + background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOSA2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5hcnJvdzogcmlnaHQ8L3RpdGxlPjxwYXRoIGQ9Ik05IDEuMzg2TDcuNjQ4IDAgNC41IDMuMjI4IDEuMzUyIDAgMCAxLjM4NiA0LjUgNnoiIGZpbGw9IiM0OTQ5NDkiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) center center no-repeat; + display: block; + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + right: 0.75rem; +} + +.c4:after { + right: 0rem; +} + +.c7 { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: 100%; + max-width: 100%; + min-width: 18.75rem; + width: auto; + margin: 0 0.375rem; + min-width: 0; + margin-left: 0; +} + +.c7:after { + content: ''; + width: 0.625rem; + height: 0.625rem; + background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOSA2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5hcnJvdzogcmlnaHQ8L3RpdGxlPjxwYXRoIGQ9Ik05IDEuMzg2TDcuNjQ4IDAgNC41IDMuMjI4IDEuMzUyIDAgMCAxLjM4NiA0LjUgNnoiIGZpbGw9IiM0OTQ5NDkiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) center center no-repeat; + display: block; + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + right: 0.75rem; +} + +.c7:after { + right: 0rem; +} + +.c6 { + box-sizing: border-box; + width: 18.75rem; + height: 3rem; + min-height: 3rem; + margin-bottom: 0.5rem; + margin-top: 0.5rem; + padding: 0.8125rem 1.125rem; + border-radius: 0.25rem; + background-color: rgb(255,255,255); + border: 0.0625rem solid rgb(216,216,216); + color: rgba(73,73,73,1); + border: none; + border-bottom: 0.0625rem solid rgba(73,73,73,1); + border-radius: 0; + background: transparent; + padding: 0; + padding-right: 0.75rem; + display: inline; + height: 1.5rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + min-height: 0; + max-width: 18.75rem; + text-overflow: ellipsis; + font-size: 0.9375rem; + line-height: normal !important; + font-style: normal; + font-stretch: normal; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + outline: 0; +} + +.c6::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:invalid { + box-shadow: none; +} + +.c6:disabled { + background-color: rgb(250,250,250); + color: rgb(216,216,216); +} + +.c6:disabled::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:disabled::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:disabled:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:focus { + border-color: rgb(59,70,204); + outline: 0; +} + +.c5 { + position: relative; + padding: 0.75rem; + padding-right: 1.5625rem; + width: auto; + border: none; + border-bottom: 0.0625rem solid rgba(73,73,73,1); + border-radius: 0; + background: transparent; + padding: 0; + padding-right: 0.75rem; + display: inline; + height: 1.5rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + min-height: 0; + color: rgb(216,216,216); + margin: 0 0.375rem; +} + +
+
+

+ The instance +

+
+
+ +
+
+

+ be on +

+
+
+ +
+
+

+ node as the instance(s) identified by the +

+
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+`; + +exports[`renders without throwing 2`] = ` +.c0 { + margin-top: 0.5rem; + margin-bottom: 2rem; +} + +.c8 { + margin-right: 0.25rem; +} + +.c1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.c2 { + color: rgba(73,73,73,1); + font-weight: normal; + line-height: 1.5rem; + font-size: 0.9375rem; + margin: 0; + display: inline-block; +} + +.c3 { + display: inline-block; + margin: 0; + padding: 0; + border: none; + overflow: hidden; + height: auto; + -webkit-margin-start: 0; + -webkit-margin-end: 0; + -webkit-padding-before: 0; + -webkit-padding-start: 0; + -webkit-padding-end: 0; + -webkit-padding-after: 0; +} + +.c9 { + box-sizing: border-box; + width: 18.75rem; + height: 3rem; + min-height: 3rem; + margin-bottom: 0.5rem; + margin-top: 0.5rem; + padding: 0.8125rem 1.125rem; + border-radius: 0.25rem; + background-color: rgb(255,255,255); + border: 0.0625rem solid rgb(216,216,216); + color: rgba(73,73,73,1); + border: none; + border-bottom: 0.0625rem solid rgba(73,73,73,1); + border-radius: 0; + background: transparent; + padding: 0; + padding-right: 0.75rem; + display: inline; + height: 1.5rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + min-height: 0; + max-width: 18.75rem; + text-overflow: ellipsis; + font-size: 0.9375rem; + line-height: normal !important; + font-style: normal; + font-stretch: normal; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + outline: 0; +} + +.c9::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:invalid { + box-shadow: none; +} + +.c9:disabled { + background-color: rgb(250,250,250); + color: rgb(216,216,216); +} + +.c9:disabled::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:disabled::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:disabled:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c9:focus { + border-color: rgb(59,70,204); + outline: 0; +} + +.c4 { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: 100%; + max-width: 100%; + min-width: 18.75rem; + width: auto; + margin: 0 0.375rem; + min-width: 0; +} + +.c4:after { + content: ''; + width: 0.625rem; + height: 0.625rem; + background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOSA2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5hcnJvdzogcmlnaHQ8L3RpdGxlPjxwYXRoIGQ9Ik05IDEuMzg2TDcuNjQ4IDAgNC41IDMuMjI4IDEuMzUyIDAgMCAxLjM4NiA0LjUgNnoiIGZpbGw9IiM0OTQ5NDkiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) center center no-repeat; + display: block; + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + right: 0.75rem; +} + +.c4:after { + right: 0rem; +} + +.c7 { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + width: 100%; + max-width: 100%; + min-width: 18.75rem; + width: auto; + margin: 0 0.375rem; + min-width: 0; + margin-left: 0; +} + +.c7:after { + content: ''; + width: 0.625rem; + height: 0.625rem; + background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOSA2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5hcnJvdzogcmlnaHQ8L3RpdGxlPjxwYXRoIGQ9Ik05IDEuMzg2TDcuNjQ4IDAgNC41IDMuMjI4IDEuMzUyIDAgMCAxLjM4NiA0LjUgNnoiIGZpbGw9IiM0OTQ5NDkiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) center center no-repeat; + display: block; + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + right: 0.75rem; +} + +.c7:after { + right: 0rem; +} + +.c6 { + box-sizing: border-box; + width: 18.75rem; + height: 3rem; + min-height: 3rem; + margin-bottom: 0.5rem; + margin-top: 0.5rem; + padding: 0.8125rem 1.125rem; + border-radius: 0.25rem; + background-color: rgb(255,255,255); + border: 0.0625rem solid rgb(216,216,216); + color: rgba(73,73,73,1); + border: none; + border-bottom: 0.0625rem solid rgba(73,73,73,1); + border-radius: 0; + background: transparent; + padding: 0; + padding-right: 0.75rem; + display: inline; + height: 1.5rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + min-height: 0; + max-width: 18.75rem; + text-overflow: ellipsis; + font-size: 0.9375rem; + line-height: normal !important; + font-style: normal; + font-stretch: normal; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + outline: 0; +} + +.c6::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:invalid { + box-shadow: none; +} + +.c6:disabled { + background-color: rgb(250,250,250); + color: rgb(216,216,216); +} + +.c6:disabled::-webkit-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:disabled::-moz-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:disabled:-ms-input-placeholder { + color: rgba(73,73,73,0.5); +} + +.c6:focus { + border-color: rgb(59,70,204); + outline: 0; +} + +.c5 { + position: relative; + padding: 0.75rem; + padding-right: 1.5625rem; + width: auto; + border: none; + border-bottom: 0.0625rem solid rgba(73,73,73,1); + border-radius: 0; + background: transparent; + padding: 0; + padding-right: 0.75rem; + display: inline; + height: 1.5rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + min-height: 0; + color: rgb(216,216,216); + margin: 0 0.375rem; +} + +
+
+

+ The instance +

+
+
+ +
+
+

+ be on +

+
+
+ +
+
+

+ node as the instance(s) identified by the +

+
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+`; diff --git a/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/cns.js.snap b/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/cns.spec.js.snap similarity index 100% rename from packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/cns.js.snap rename to packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/cns.spec.js.snap diff --git a/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/network.spec.js.snap b/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/network.spec.js.snap index e966a849..4c027a53 100644 --- a/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/network.spec.js.snap +++ b/packages/my-joy-beta/src/components/create-instance/__tests__/__snapshots__/network.spec.js.snap @@ -216,6 +216,7 @@ exports[`renders without throwing 1`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; } @@ -252,6 +253,7 @@ exports[`renders without throwing 1`] = ` width: 2.875rem; min-width: 2.875rem; min-height: 2.875rem; + max-width: 100%; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -303,6 +305,7 @@ exports[`renders without throwing 1`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; @@ -1154,6 +1157,7 @@ exports[`renders without throwing 1`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; } @@ -1190,6 +1194,7 @@ exports[`renders without throwing 1`] = ` width: 2.875rem; min-width: 2.875rem; min-height: 2.875rem; + max-width: 100%; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1241,6 +1246,7 @@ exports[`renders without throwing 1`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; @@ -2105,6 +2111,7 @@ exports[`renders without throwing 3`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; } @@ -2141,6 +2148,7 @@ exports[`renders without throwing 3`] = ` width: 2.875rem; min-width: 2.875rem; min-height: 2.875rem; + max-width: 100%; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2192,6 +2200,7 @@ exports[`renders without throwing 3`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; @@ -3093,6 +3102,7 @@ exports[`renders without throwing 1`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; } @@ -3133,6 +3143,7 @@ exports[`renders without throwing 1`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; margin: -0.0625rem; box-shadow: none; @@ -3171,6 +3182,7 @@ exports[`renders without throwing 1`] = ` width: 2.875rem; min-width: 2.875rem; min-height: 2.875rem; + max-width: 100%; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3222,6 +3234,7 @@ exports[`renders without throwing 1`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; @@ -3280,6 +3293,7 @@ exports[`renders without throwing 1`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; @@ -4260,6 +4274,7 @@ exports[`renders without throwing 1`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; } @@ -4296,6 +4311,7 @@ exports[`renders without throwing 1`] = ` width: 2.875rem; min-width: 2.875rem; min-height: 2.875rem; + max-width: 100%; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -4347,6 +4363,7 @@ exports[`renders without throwing 1`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; @@ -5425,6 +5442,7 @@ exports[`renders without throwing 1`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; } @@ -5461,6 +5479,7 @@ exports[`renders without throwing 1`] = ` width: 2.875rem; min-width: 2.875rem; min-height: 2.875rem; + max-width: 100%; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -5512,6 +5531,7 @@ exports[`renders without throwing 1`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; diff --git a/packages/my-joy-beta/src/components/create-instance/__tests__/affinity.spec.js b/packages/my-joy-beta/src/components/create-instance/__tests__/affinity.spec.js new file mode 100644 index 00000000..f766ed05 --- /dev/null +++ b/packages/my-joy-beta/src/components/create-instance/__tests__/affinity.spec.js @@ -0,0 +1,90 @@ +import React from 'react'; +import renderer from 'react-test-renderer'; +import 'jest-styled-components'; + +import { Rule, Header } from '../affinity'; +import Theme from '@mocks/theme'; + +it('renders without throwing', () => { + expect( + renderer + .create( + + + + ) + .toJSON() + ).toMatchSnapshot(); +}); + +it('renders without throwing', () => { + expect( + renderer + .create( + + + + ) + .toJSON() + ).toMatchSnapshot(); +}); + +it('renders
without throwing', () => { + expect( + renderer + .create( + +
+ + ) + .toJSON() + ).toMatchSnapshot(); +}); + +it('renders
without throwing', () => { + expect( + renderer + .create( + +
+ + ) + .toJSON() + ).toMatchSnapshot(); +}); diff --git a/packages/my-joy-beta/src/components/create-instance/__tests__/cns.js b/packages/my-joy-beta/src/components/create-instance/__tests__/cns.spec.js similarity index 100% rename from packages/my-joy-beta/src/components/create-instance/__tests__/cns.js rename to packages/my-joy-beta/src/components/create-instance/__tests__/cns.spec.js diff --git a/packages/my-joy-beta/src/components/create-instance/affinity.js b/packages/my-joy-beta/src/components/create-instance/affinity.js new file mode 100644 index 00000000..089403f9 --- /dev/null +++ b/packages/my-joy-beta/src/components/create-instance/affinity.js @@ -0,0 +1,108 @@ +import React, { Fragment } from 'react'; + +import { Margin } from 'styled-components-spacing'; +import Flex from 'styled-flex-component'; +import { Field } from 'redux-form'; +import titleCase from 'title-case'; + +import { H5, Select, Input, FormGroup } from 'joyent-ui-toolkit'; + +const Values = ( + + + +); + +export const Rule = rule => ( + + +
+ The instance +
+ + + +
+ be on +
+ + + +
+ node as the instance(s) identified by the +
+ + + + {rule['rule-type'] === 'tag' ? ( + + + {Values} + + + + +
+ and value{' '} +
+ + {Values} + + + + +
+ ) : ( + + + {Values} + + + + + + )} +
+
+); + +export const Header = rule => ( + + {titleCase(rule['rule-instance-conditional'])}: be on a{' '} + {rule['rule-instance-placement']} node as the instance(s) identified by the + instance {rule['rule-type']} + {rule['rule-type'] === 'name' ? ( + + {' '} + {rule['rule-instance-name-pattern']} “{rule['rule-instance-name']}” + + ) : ( + + {' '} + key {rule['rule-instance-tag-key-pattern']} “{rule['rule-instance-tag-key']}" + and the instance tag value {rule['rule-instance-tag-value-pattern']} + {rule['rule-instance-tag-value']}” + + )} + +); diff --git a/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap b/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap index e5eccb6e..6832c9c0 100644 --- a/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap +++ b/packages/my-joy-beta/src/components/instances/__tests__/__snapshots__/key-value.spec.js.snap @@ -1,16 +1,16 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders without throwing 1`] = ` -.c2 { +.c3 { padding-right: 1rem; padding-left: 1rem; } -.c6 { +.c7 { padding: 1rem; } -.c14 { +.c15 { box-sizing: border-box; display: -webkit-box; display: -webkit-flex; @@ -29,7 +29,7 @@ exports[`renders without throwing 1`] = ` margin-left: -0.5rem; } -.c15 { +.c16 { box-sizing: border-box; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; @@ -38,7 +38,7 @@ exports[`renders without throwing 1`] = ` padding-left: 0.5rem; } -.c20 { +.c21 { box-sizing: border-box; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; @@ -47,7 +47,7 @@ exports[`renders without throwing 1`] = ` padding-left: 0.5rem; } -.c7 { +.c8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -74,1159 +74,26 @@ exports[`renders without throwing 1`] = ` align-content: stretch; } -.c8 { - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; -} - -.c13 { - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - -webkit-flex-basis: 0.75rem; - -ms-flex-preferred-size: 0.75rem; - flex-basis: 0.75rem; -} - -.c18 { - font-family: sans-serif; - font-size: 100%; - line-height: 1.15; - margin: 0; - overflow: visible; - text-transform: none; - -webkit-appearance: button; - -moz-appearance: button; - appearance: button; - min-width: 7.5rem; -} - -.c18::-moz-focus-inner, -.c18[type='button']::-moz-focus-inner, -.c18[type='reset']::-moz-focus-inner, -.c18[type='submit']::-moz-focus-inner { - border-style: none; - padding: 0; -} - -.c18:-moz-focusring, -.c18[type='button']:-moz-focusring, -.c18[type='reset']:-moz-focusring, -.c18[type='submit']:-moz-focusring { - outline: 0.0625rem dotted ButtonText; -} - -.c18 + button { - margin-left: 0.375rem; -} - -.c17 { - display: inline-block; -} - -.c16 { - box-sizing: border-box; - display: inline-block; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 3rem; - height: 3rem; - min-width: 7.5rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.9375rem 1.125rem; - position: relative; - font-size: 0.9375rem; - text-align: center; - font-style: normal; - font-stretch: normal; - line-height: normal; - -webkit-letter-spacing: normal; - -moz-letter-spacing: normal; - -ms-letter-spacing: normal; - letter-spacing: normal; - text-decoration: none; - white-space: nowrap; - vertical-align: middle; - touch-action: manipulation; - cursor: pointer; - color: rgb(255,255,255); - -webkit-text-fill-color: currentcolor; - background-image: none; - background-color: rgb(59,70,204); - border-radius: 0.25rem; - border: solid 0.0625rem rgb(45,56,132); - color: rgb(70,70,70); - -webkit-text-fill-color: currentcolor; - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - margin: 0; -} - -.c16:focus { - outline: 0; - text-decoration: none; - background-color: rgb(59,70,204); - border-color: rgb(45,56,132); -} - -.c16:hover { - background-color: rgb(72,83,217); - border: solid 0.0625rem rgb(45,56,132); -} - -.c16:active, -.c16:active:hover, -.c16:active:focus { - background-image: none; - outline: 0; - background-color: rgb(45,56,132); - border-color: rgb(45,56,132); -} - -.c16[disabled] { - cursor: not-allowed; - pointer-events: none; -} - -.c16:focus { - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); -} - -.c16:hover { - background-color: rgb(247,247,247); - border-color: rgb(216,216,216); -} - -.c16:active, -.c16:active:hover, -.c16:active:focus { - background-color: rgb(230,230,230); - border-color: rgb(216,216,216); -} - -.c19 { - box-sizing: border-box; - display: inline-block; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 3rem; - height: 3rem; - min-width: 7.5rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.9375rem 1.125rem; - position: relative; - font-size: 0.9375rem; - text-align: center; - font-style: normal; - font-stretch: normal; - line-height: normal; - -webkit-letter-spacing: normal; - -moz-letter-spacing: normal; - -ms-letter-spacing: normal; - letter-spacing: normal; - text-decoration: none; - white-space: nowrap; - vertical-align: middle; - touch-action: manipulation; - cursor: pointer; - color: rgb(255,255,255); - -webkit-text-fill-color: currentcolor; - background-image: none; - background-color: rgb(59,70,204); - border-radius: 0.25rem; - border: solid 0.0625rem rgb(45,56,132); - cursor: not-allowed; - pointer-events: none; - color: rgb(216,216,216); - background-color: rgb(250,250,250); - border-color: rgb(216,216,216); - margin: 0; -} - -.c19:focus { - outline: 0; - text-decoration: none; - background-color: rgb(59,70,204); - border-color: rgb(45,56,132); -} - -.c19:hover { - background-color: rgb(72,83,217); - border: solid 0.0625rem rgb(45,56,132); -} - -.c19:active, -.c19:active:hover, -.c19:active:focus { - background-image: none; - outline: 0; - background-color: rgb(45,56,132); - border-color: rgb(45,56,132); -} - -.c19[disabled] { - cursor: not-allowed; - pointer-events: none; -} - -.c19:focus { - background-color: rgb(250,250,250); - border-color: rgb(216,216,216); -} - -.c19:hover { - background-color: rgb(250,250,250); - border-color: rgb(250,250,250); -} - -.c19:active, -.c19:active:hover, -.c19:active:focus { - background-color: rgb(250,250,250); - border-color: rgb(250,250,250); -} - -.c21 { - box-sizing: border-box; - display: inline-block; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 3rem; - height: 3rem; - min-width: 7.5rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.9375rem 1.125rem; - position: relative; - font-size: 0.9375rem; - text-align: center; - font-style: normal; - font-stretch: normal; - line-height: normal; - -webkit-letter-spacing: normal; - -moz-letter-spacing: normal; - -ms-letter-spacing: normal; - letter-spacing: normal; - text-decoration: none; - white-space: nowrap; - vertical-align: middle; - touch-action: manipulation; - cursor: pointer; - color: rgb(255,255,255); - -webkit-text-fill-color: currentcolor; - background-image: none; - background-color: rgb(59,70,204); - border-radius: 0.25rem; - border: solid 0.0625rem rgb(45,56,132); - color: rgb(70,70,70); - -webkit-text-fill-color: currentcolor; - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - color: rgb(210,67,58); - -webkit-text-fill-color: currentcolor; - background-color: rgb(255,255,255); - border-color: rgb(210,67,58); - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - margin: 0; - float: right; -} - -.c21:focus { - outline: 0; - text-decoration: none; - background-color: rgb(59,70,204); - border-color: rgb(45,56,132); -} - -.c21:hover { - background-color: rgb(72,83,217); - border: solid 0.0625rem rgb(45,56,132); -} - -.c21:active, -.c21:active:hover, -.c21:active:focus { - background-image: none; - outline: 0; - background-color: rgb(45,56,132); - border-color: rgb(45,56,132); -} - -.c21[disabled] { - cursor: not-allowed; - pointer-events: none; -} - -.c21:focus { - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); -} - -.c21:hover { - background-color: rgb(247,247,247); - border-color: rgb(216,216,216); -} - -.c21:active, -.c21:active:hover, -.c21:active:focus { - background-color: rgb(230,230,230); - border-color: rgb(216,216,216); -} - -.c21:focus { - background-color: rgb(255,255,255); - border-color: rgb(210,67,58); -} - -.c21:hover { - background-color: rgb(247,247,247); - border-color: rgb(210,67,58); -} - -.c21:active, -.c21:active:hover, -.c21:active:focus { - background-color: rgb(230,230,230); - border-color: rgb(210,67,58); -} - -.c21 svg + span { - margin-left: 0.75rem; -} - -.c21 svg { - max-height: 1.125rem; -} - -.c4 { - color: rgba(73,73,73,1); - font-weight: 600; - line-height: 1.5rem; - font-size: 0.9375rem; - margin: 0; -} - -.c4 + p, -.c4 + small, -.c4 + h1, -.c4 + h2, -.c4 + label, -.c4 + h3, -.c4 + h4, -.c4 + h5, -.c4 + div, -.c4 + span { - margin-top: 0.75rem; -} - -.c0 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - box-shadow: 0 0.125rem 0 0 rgba(0,0,0,0.05); -} - -.c5 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - box-sizing: border-box; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - border-width: 0; - margin-bottom: 0; - background-color: transparent; -} - -.c5 > [name='card']:not(:last-child) { - margin-bottom: 0.8125rem; -} - -.c5 > [name='card']:last-child { - margin-bottom: 0.4375rem; -} - -.c1 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - min-height: auto; - height: 2.875rem; - -webkit-flex: 0 0 2.875rem; - -ms-flex: 0 0 2.875rem; - flex: 0 0 2.875rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - z-index: 1; - line-height: 1.5rem; - height: auto; - margin: -0.0625rem -0.0625rem 0 -0.0625rem; -} - -.c1 button { - margin-bottom: 0; - margin-top: 0; -} - -.c3 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - min-height: auto; - height: 2.875rem; - -webkit-flex: 0 0 2.875rem; - -ms-flex: 0 0 2.875rem; - flex: 0 0 2.875rem; - box-sizing: border-box; - min-height: 2.9375rem; - width: auto; - height: auto; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; - -webkit-align-content: stretch; - -ms-flex-line-pack: stretch; - align-content: stretch; - overflow: hidden; - background-color: transparent; - border-width: 0; - box-shadow: none; - color: inherit; -} - .c9 { - display: inline-block; - margin: 0; - padding: 0; - border: none; - overflow: hidden; - height: auto; - -webkit-margin-start: 0; - -webkit-margin-end: 0; - -webkit-padding-before: 0; - -webkit-padding-start: 0; - -webkit-padding-end: 0; - -webkit-padding-after: 0; - width: 100%; -} - -.c11 { - box-sizing: border-box; - width: 18.75rem; - height: 3rem; - min-height: 3rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.8125rem 1.125rem; - border-radius: 0.25rem; - background-color: rgb(255,255,255); - border: 0.0625rem solid rgb(216,216,216); - color: rgba(73,73,73,1); - max-width: 18.75rem; - text-overflow: ellipsis; - font-size: 0.9375rem; - line-height: normal !important; - font-style: normal; - font-stretch: normal; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - outline: 0; -} - -.c11::-webkit-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11::-moz-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:-ms-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:invalid { - box-shadow: none; -} - -.c11:disabled { - background-color: rgb(250,250,250); - color: rgb(216,216,216); -} - -.c11:disabled::-webkit-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:disabled::-moz-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:disabled:-ms-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:focus { - border-color: rgb(59,70,204); - outline: 0; -} - -.c10 { - font-size: 0.9375rem; - font-style: normal; - font-stretch: normal; - display: block; - color: rgb(70,70,70); - text-align: left; - margin-right: 0.75rem; - font-weight: bold; - white-space: pre; - font-size: 0.8125rem; -} - -.c12 { - font-size: 0.9375rem; - font-style: normal; - font-stretch: normal; - display: block; - color: rgb(70,70,70); - text-align: left; - float: right; - font-size: 0.8125rem; - float: none; - margin-left: 1.75rem; -} - -@media only screen and (min-width:0em) { - .c14 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - } -} - -@media only screen and (min-width:0em) { - .c14 { - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - } -} - -@media only screen and (min-width:0em) { - .c15 { - -webkit-flex-basis: 100%; - -ms-flex-preferred-size: 100%; - flex-basis: 100%; - max-width: 100%; - display: block; - } -} - -@media only screen and (min-width:0em) { - .c20 { - display: none; - } -} - -
-
-
-
-

- Add metadata -

-
-
-
-
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
- -
-
-
-
-
-`; - -exports[`renders without throwing 1`] = ` -.c2 { - padding-right: 1rem; - padding-left: 1rem; -} - -.c4 { - color: rgba(73,73,73,1); - font-weight: 600; - line-height: 1.5rem; - font-size: 0.9375rem; - margin: 0; -} - -.c4 + p, -.c4 + small, -.c4 + h1, -.c4 + h2, -.c4 + label, -.c4 + h3, -.c4 + h4, -.c4 + h5, -.c4 + div, -.c4 + span { - margin-top: 0.75rem; -} - -.c0 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - box-shadow: 0 0.125rem 0 0 rgba(0,0,0,0.05); - cursor: pointer; - min-height: auto; - height: 2.875rem; - -webkit-flex: 0 0 2.875rem; - -ms-flex: 0 0 2.875rem; - flex: 0 0 2.875rem; -} - -.c1 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - min-height: auto; - height: 2.875rem; - -webkit-flex: 0 0 2.875rem; - -ms-flex: 0 0 2.875rem; - flex: 0 0 2.875rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - z-index: 1; - line-height: 1.5rem; - height: auto; - margin: -0.0625rem -0.0625rem 0 -0.0625rem; - margin: -0.0625rem; - box-shadow: none; -} - -.c1 button { - margin-bottom: 0; - margin-top: 0; -} - -.c3 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - min-height: auto; - height: 2.875rem; - -webkit-flex: 0 0 2.875rem; - -ms-flex: 0 0 2.875rem; - flex: 0 0 2.875rem; - box-sizing: border-box; - min-height: 2.9375rem; - width: auto; - height: auto; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; - -webkit-align-content: stretch; - -ms-flex-line-pack: stretch; - align-content: stretch; - overflow: hidden; - background-color: transparent; - border-width: 0; - box-shadow: none; - color: inherit; -} - -
-
-
-
-

- Add metadata -

-
-
-
-
-`; - -exports[`renders without throwing 1`] = ` -.c2 { - padding-right: 1rem; - padding-left: 1rem; -} - -.c6 { - padding: 1rem; + -webkit-order: 0; + -ms-flex-order: 0; + order: 0; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-basis: auto; + -ms-flex-preferred-size: auto; + flex-basis: auto; } .c14 { - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 0 1 auto; - -ms-flex: 0 1 auto; - flex: 0 1 auto; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - margin-right: -0.5rem; - margin-left: -0.5rem; -} - -.c15 { - box-sizing: border-box; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - padding-right: 0.5rem; - padding-left: 0.5rem; -} - -.c20 { - box-sizing: border-box; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - padding-right: 0.5rem; - padding-left: 0.5rem; -} - -.c7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - -webkit-align-content: stretch; - -ms-flex-line-pack: stretch; - align-content: stretch; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - -webkit-align-content: stretch; - -ms-flex-line-pack: stretch; - align-content: stretch; -} - -.c8 { - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; -} - -.c13 { -webkit-order: 0; -ms-flex-order: 0; order: 0; @@ -1245,909 +112,6 @@ exports[`renders without throwing 1`] = ` flex-basis: 0.75rem; } -.c18 { - font-family: sans-serif; - font-size: 100%; - line-height: 1.15; - margin: 0; - overflow: visible; - text-transform: none; - -webkit-appearance: button; - -moz-appearance: button; - appearance: button; - min-width: 7.5rem; -} - -.c18::-moz-focus-inner, -.c18[type='button']::-moz-focus-inner, -.c18[type='reset']::-moz-focus-inner, -.c18[type='submit']::-moz-focus-inner { - border-style: none; - padding: 0; -} - -.c18:-moz-focusring, -.c18[type='button']:-moz-focusring, -.c18[type='reset']:-moz-focusring, -.c18[type='submit']:-moz-focusring { - outline: 0.0625rem dotted ButtonText; -} - -.c18 + button { - margin-left: 0.375rem; -} - -.c17 { - display: inline-block; -} - -.c16 { - box-sizing: border-box; - display: inline-block; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 3rem; - height: 3rem; - min-width: 7.5rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.9375rem 1.125rem; - position: relative; - font-size: 0.9375rem; - text-align: center; - font-style: normal; - font-stretch: normal; - line-height: normal; - -webkit-letter-spacing: normal; - -moz-letter-spacing: normal; - -ms-letter-spacing: normal; - letter-spacing: normal; - text-decoration: none; - white-space: nowrap; - vertical-align: middle; - touch-action: manipulation; - cursor: pointer; - color: rgb(255,255,255); - -webkit-text-fill-color: currentcolor; - background-image: none; - background-color: rgb(59,70,204); - border-radius: 0.25rem; - border: solid 0.0625rem rgb(45,56,132); - color: rgb(70,70,70); - -webkit-text-fill-color: currentcolor; - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - margin: 0; -} - -.c16:focus { - outline: 0; - text-decoration: none; - background-color: rgb(59,70,204); - border-color: rgb(45,56,132); -} - -.c16:hover { - background-color: rgb(72,83,217); - border: solid 0.0625rem rgb(45,56,132); -} - -.c16:active, -.c16:active:hover, -.c16:active:focus { - background-image: none; - outline: 0; - background-color: rgb(45,56,132); - border-color: rgb(45,56,132); -} - -.c16[disabled] { - cursor: not-allowed; - pointer-events: none; -} - -.c16:focus { - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); -} - -.c16:hover { - background-color: rgb(247,247,247); - border-color: rgb(216,216,216); -} - -.c16:active, -.c16:active:hover, -.c16:active:focus { - background-color: rgb(230,230,230); - border-color: rgb(216,216,216); -} - -.c19 { - box-sizing: border-box; - display: inline-block; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 3rem; - height: 3rem; - min-width: 7.5rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.9375rem 1.125rem; - position: relative; - font-size: 0.9375rem; - text-align: center; - font-style: normal; - font-stretch: normal; - line-height: normal; - -webkit-letter-spacing: normal; - -moz-letter-spacing: normal; - -ms-letter-spacing: normal; - letter-spacing: normal; - text-decoration: none; - white-space: nowrap; - vertical-align: middle; - touch-action: manipulation; - cursor: pointer; - color: rgb(255,255,255); - -webkit-text-fill-color: currentcolor; - background-image: none; - background-color: rgb(59,70,204); - border-radius: 0.25rem; - border: solid 0.0625rem rgb(45,56,132); - cursor: not-allowed; - pointer-events: none; - color: rgb(216,216,216); - background-color: rgb(250,250,250); - border-color: rgb(216,216,216); - margin: 0; -} - -.c19:focus { - outline: 0; - text-decoration: none; - background-color: rgb(59,70,204); - border-color: rgb(45,56,132); -} - -.c19:hover { - background-color: rgb(72,83,217); - border: solid 0.0625rem rgb(45,56,132); -} - -.c19:active, -.c19:active:hover, -.c19:active:focus { - background-image: none; - outline: 0; - background-color: rgb(45,56,132); - border-color: rgb(45,56,132); -} - -.c19[disabled] { - cursor: not-allowed; - pointer-events: none; -} - -.c19:focus { - background-color: rgb(250,250,250); - border-color: rgb(216,216,216); -} - -.c19:hover { - background-color: rgb(250,250,250); - border-color: rgb(250,250,250); -} - -.c19:active, -.c19:active:hover, -.c19:active:focus { - background-color: rgb(250,250,250); - border-color: rgb(250,250,250); -} - -.c21 { - box-sizing: border-box; - display: inline-block; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 3rem; - height: 3rem; - min-width: 7.5rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.9375rem 1.125rem; - position: relative; - font-size: 0.9375rem; - text-align: center; - font-style: normal; - font-stretch: normal; - line-height: normal; - -webkit-letter-spacing: normal; - -moz-letter-spacing: normal; - -ms-letter-spacing: normal; - letter-spacing: normal; - text-decoration: none; - white-space: nowrap; - vertical-align: middle; - touch-action: manipulation; - cursor: pointer; - color: rgb(255,255,255); - -webkit-text-fill-color: currentcolor; - background-image: none; - background-color: rgb(59,70,204); - border-radius: 0.25rem; - border: solid 0.0625rem rgb(45,56,132); - color: rgb(70,70,70); - -webkit-text-fill-color: currentcolor; - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - color: rgb(210,67,58); - -webkit-text-fill-color: currentcolor; - background-color: rgb(255,255,255); - border-color: rgb(210,67,58); - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - margin: 0; - float: right; -} - -.c21:focus { - outline: 0; - text-decoration: none; - background-color: rgb(59,70,204); - border-color: rgb(45,56,132); -} - -.c21:hover { - background-color: rgb(72,83,217); - border: solid 0.0625rem rgb(45,56,132); -} - -.c21:active, -.c21:active:hover, -.c21:active:focus { - background-image: none; - outline: 0; - background-color: rgb(45,56,132); - border-color: rgb(45,56,132); -} - -.c21[disabled] { - cursor: not-allowed; - pointer-events: none; -} - -.c21:focus { - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); -} - -.c21:hover { - background-color: rgb(247,247,247); - border-color: rgb(216,216,216); -} - -.c21:active, -.c21:active:hover, -.c21:active:focus { - background-color: rgb(230,230,230); - border-color: rgb(216,216,216); -} - -.c21:focus { - background-color: rgb(255,255,255); - border-color: rgb(210,67,58); -} - -.c21:hover { - background-color: rgb(247,247,247); - border-color: rgb(210,67,58); -} - -.c21:active, -.c21:active:hover, -.c21:active:focus { - background-color: rgb(230,230,230); - border-color: rgb(210,67,58); -} - -.c21 svg + span { - margin-left: 0.75rem; -} - -.c21 svg { - max-height: 1.125rem; -} - -.c4 { - color: rgba(73,73,73,1); - font-weight: 600; - line-height: 1.5rem; - font-size: 0.9375rem; - margin: 0; -} - -.c4 + p, -.c4 + small, -.c4 + h1, -.c4 + h2, -.c4 + label, -.c4 + h3, -.c4 + h4, -.c4 + h5, -.c4 + div, -.c4 + span { - margin-top: 0.75rem; -} - -.c0 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - box-shadow: 0 0.125rem 0 0 rgba(0,0,0,0.05); -} - -.c5 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - box-sizing: border-box; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - border-width: 0; - margin-bottom: 0; - background-color: transparent; -} - -.c5 > [name='card']:not(:last-child) { - margin-bottom: 0.8125rem; -} - -.c5 > [name='card']:last-child { - margin-bottom: 0.4375rem; -} - -.c1 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - min-height: auto; - height: 2.875rem; - -webkit-flex: 0 0 2.875rem; - -ms-flex: 0 0 2.875rem; - flex: 0 0 2.875rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - z-index: 1; - line-height: 1.5rem; - height: auto; - margin: -0.0625rem -0.0625rem 0 -0.0625rem; -} - -.c1 button { - margin-bottom: 0; - margin-top: 0; -} - -.c3 { - box-sizing: content-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1 0 auto; - -ms-flex: 1 0 auto; - flex: 1 0 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - position: relative; - border-width: 0.0625rem; - border-style: solid; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - color: rgba(73,73,73,1); - background-color: rgb(255,255,255); - border-color: rgb(216,216,216); - min-height: auto; - height: 2.875rem; - -webkit-flex: 0 0 2.875rem; - -ms-flex: 0 0 2.875rem; - flex: 0 0 2.875rem; - box-sizing: border-box; - min-height: 2.9375rem; - width: auto; - height: auto; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; - -webkit-align-content: stretch; - -ms-flex-line-pack: stretch; - align-content: stretch; - overflow: hidden; - background-color: transparent; - border-width: 0; - box-shadow: none; - color: inherit; -} - -.c9 { - display: inline-block; - margin: 0; - padding: 0; - border: none; - overflow: hidden; - height: auto; - -webkit-margin-start: 0; - -webkit-margin-end: 0; - -webkit-padding-before: 0; - -webkit-padding-start: 0; - -webkit-padding-end: 0; - -webkit-padding-after: 0; - width: 100%; -} - -.c11 { - box-sizing: border-box; - width: 18.75rem; - height: 3rem; - min-height: 3rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.8125rem 1.125rem; - border-radius: 0.25rem; - background-color: rgb(255,255,255); - border: 0.0625rem solid rgb(216,216,216); - color: rgba(73,73,73,1); - max-width: 18.75rem; - text-overflow: ellipsis; - font-size: 0.9375rem; - line-height: normal !important; - font-style: normal; - font-stretch: normal; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - outline: 0; -} - -.c11::-webkit-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11::-moz-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:-ms-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:invalid { - box-shadow: none; -} - -.c11:disabled { - background-color: rgb(250,250,250); - color: rgb(216,216,216); -} - -.c11:disabled::-webkit-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:disabled::-moz-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:disabled:-ms-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c11:focus { - border-color: rgb(59,70,204); - outline: 0; -} - -.c10 { - font-size: 0.9375rem; - font-style: normal; - font-stretch: normal; - display: block; - color: rgb(70,70,70); - text-align: left; - margin-right: 0.75rem; - font-weight: bold; - white-space: pre; - font-size: 0.8125rem; -} - -.c12 { - font-size: 0.9375rem; - font-style: normal; - font-stretch: normal; - display: block; - color: rgb(70,70,70); - text-align: left; - float: right; - font-size: 0.8125rem; - float: none; - margin-left: 1.75rem; -} - -@media only screen and (min-width:0em) { - .c14 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - } -} - -@media only screen and (min-width:0em) { - .c14 { - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - } -} - -@media only screen and (min-width:0em) { - .c15 { - -webkit-flex-basis: 100%; - -ms-flex-preferred-size: 100%; - flex-basis: 100%; - max-width: 100%; - display: block; - } -} - -@media only screen and (min-width:0em) { - .c20 { - display: none; - } -} - -
-
-
-
-

- Add metadata -

-
-
-
-
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
- -
-
-
-
-
-`; - -exports[`renders without throwing 1`] = ` -.c2 { - padding-right: 1rem; - padding-left: 1rem; -} - -.c6 { - padding: 1rem; -} - -.c16 { - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 0 1 auto; - -ms-flex: 0 1 auto; - flex: 0 1 auto; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - margin-right: -0.5rem; - margin-left: -0.5rem; -} - -.c7 { - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 0 1 auto; - -ms-flex: 0 1 auto; - flex: 0 1 auto; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - margin-right: -0.5rem; - margin-left: -0.5rem; -} - -.c8 { - box-sizing: border-box; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - padding-right: 0.5rem; - padding-left: 0.5rem; -} - -.c21 { - box-sizing: border-box; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - padding-right: 0.5rem; - padding-left: 0.5rem; -} - .c19 { font-family: sans-serif; font-size: 100%; @@ -2487,7 +451,7 @@ exports[`renders without throwing 1`] = ` max-height: 1.125rem; } -.c4 { +.c5 { color: rgba(73,73,73,1); font-weight: 600; line-height: 1.5rem; @@ -2495,26 +459,19 @@ exports[`renders without throwing 1`] = ` margin: 0; } -.c4 + p, -.c4 + small, -.c4 + h1, -.c4 + h2, -.c4 + label, -.c4 + h3, -.c4 + h4, -.c4 + h5, -.c4 + div, -.c4 + span { +.c5 + p, +.c5 + small, +.c5 + h1, +.c5 + h2, +.c5 + label, +.c5 + h3, +.c5 + h4, +.c5 + h5, +.c5 + div, +.c5 + span { margin-top: 0.75rem; } -.c13 { - background-color: rgb(216,216,216); - margin: 0; - background-color: transparent; - height: 0.75rem; -} - .c0 { box-sizing: content-box; display: -webkit-box; @@ -2538,7 +495,7 @@ exports[`renders without throwing 1`] = ` box-shadow: 0 0.125rem 0 0 rgba(0,0,0,0.05); } -.c5 { +.c6 { box-sizing: content-box; display: -webkit-box; display: -webkit-flex; @@ -2574,11 +531,11 @@ exports[`renders without throwing 1`] = ` background-color: transparent; } -.c5 > [name='card']:not(:last-child) { +.c6 > [name='card']:not(:last-child) { margin-bottom: 0.8125rem; } -.c5 > [name='card']:last-child { +.c6 > [name='card']:last-child { margin-bottom: 0.4375rem; } @@ -2613,6 +570,7 @@ exports[`renders without throwing 1`] = ` z-index: 1; line-height: 1.5rem; height: auto; + max-width: 100%; margin: -0.0625rem -0.0625rem 0 -0.0625rem; } @@ -2621,7 +579,7 @@ exports[`renders without throwing 1`] = ` margin-top: 0; } -.c3 { +.c4 { box-sizing: content-box; display: -webkit-box; display: -webkit-flex; @@ -2648,6 +606,7 @@ exports[`renders without throwing 1`] = ` flex: 0 0 2.875rem; box-sizing: border-box; min-height: 2.9375rem; + max-width: 100%; width: auto; height: auto; display: -webkit-inline-box; @@ -2678,7 +637,7 @@ exports[`renders without throwing 1`] = ` color: inherit; } -.c9 { +.c10 { display: inline-block; margin: 0; padding: 0; @@ -2694,7 +653,7 @@ exports[`renders without throwing 1`] = ` width: 100%; } -.c11 { +.c12 { box-sizing: border-box; width: 18.75rem; height: 3rem; @@ -2718,120 +677,45 @@ exports[`renders without throwing 1`] = ` outline: 0; } -.c11::-webkit-input-placeholder { +.c12::-webkit-input-placeholder { color: rgba(73,73,73,0.5); } -.c11::-moz-placeholder { +.c12::-moz-placeholder { color: rgba(73,73,73,0.5); } -.c11:-ms-input-placeholder { +.c12:-ms-input-placeholder { color: rgba(73,73,73,0.5); } -.c11:invalid { +.c12:invalid { box-shadow: none; } -.c11:disabled { +.c12:disabled { background-color: rgb(250,250,250); color: rgb(216,216,216); } -.c11:disabled::-webkit-input-placeholder { +.c12:disabled::-webkit-input-placeholder { color: rgba(73,73,73,0.5); } -.c11:disabled::-moz-placeholder { +.c12:disabled::-moz-placeholder { color: rgba(73,73,73,0.5); } -.c11:disabled:-ms-input-placeholder { +.c12:disabled:-ms-input-placeholder { color: rgba(73,73,73,0.5); } -.c11:focus { +.c12:focus { border-color: rgb(59,70,204); outline: 0; } -.c15 { - box-sizing: border-box; - width: 18.75rem; - height: 6rem; - min-height: 6rem; - margin-bottom: 0.5rem; - margin-top: 0.5rem; - padding: 0.8125rem 1.125rem; - border-radius: 0.25rem; - background-color: rgb(255,255,255); - border: 0.0625rem solid rgb(216,216,216); - color: rgba(73,73,73,1); - width: 100%; - text-overflow: ellipsis; - resize: vertical; - font-size: 0.9375rem; - line-height: normal !important; - font-style: normal; - font-stretch: normal; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - outline: 0; -} - -.c15::-webkit-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c15::-moz-placeholder { - color: rgba(73,73,73,0.5); -} - -.c15:-ms-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c15:invalid { - box-shadow: none; -} - -.c15:disabled { - background-color: rgb(250,250,250); - color: rgb(216,216,216); -} - -.c15:disabled::-webkit-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c15:disabled::-moz-placeholder { - color: rgba(73,73,73,0.5); -} - -.c15:disabled:-ms-input-placeholder { - color: rgba(73,73,73,0.5); -} - -.c15:focus { - border-color: rgb(59,70,204); - outline: 0; -} - -.c14 { - position: relative; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - width: 100%; -} - -.c10 { +.c11 { font-size: 0.9375rem; font-style: normal; font-stretch: normal; @@ -2844,7 +728,7 @@ exports[`renders without throwing 1`] = ` font-size: 0.8125rem; } -.c12 { +.c13 { font-size: 0.9375rem; font-style: normal; font-stretch: normal; @@ -2857,8 +741,15 @@ exports[`renders without throwing 1`] = ` margin-left: 1.75rem; } +.c2 { + word-wrap: break-word; + overflow-wrap: break-word; + width: 100%; + box-sizing: border-box; +} + @media only screen and (min-width:0em) { - .c16 { + .c15 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2867,7 +758,7 @@ exports[`renders without throwing 1`] = ` } @media only screen and (min-width:0em) { - .c16 { + .c15 { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; @@ -2876,7 +767,7 @@ exports[`renders without throwing 1`] = ` } @media only screen and (min-width:0em) { - .c8 { + .c16 { -webkit-flex-basis: 100%; -ms-flex-preferred-size: 100%; flex-basis: 100%; @@ -2903,15 +794,15 @@ exports[`renders without throwing 1`] = ` onClick={false} >

Add metadata

@@ -2919,85 +810,76 @@ exports[`renders without throwing 1`] = `
-
-
-
+
-