@spectrum-web-components/illustrated-message 0.6.12-lit-next.42 → 0.6.13-lit-next.47

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.
@@ -115,7 +115,7 @@
115
115
  {
116
116
  "kind": "variable",
117
117
  "name": "styles",
118
- "default": "css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#illustration{margin-bottom:var(--spectrum-illustrated-message-illustration-margin-bottom)}#heading{max-width:var(--spectrum-illustrated-message-heading-max-width);margin:var(--spectrum-illustrated-message-heading-margin)}#description{max-width:var(--spectrum-illustrated-message-description-max-width);margin:var(--spectrum-illustrated-message-description-margin);font-style:italic}:host([cta]) #description{font-style:normal}#illustration{color:var(--spectrum-global-color-gray-500);fill:currentColor;stroke:currentColor}::slotted(svg[viewBox]){width:100%}\n`"
118
+ "default": "css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0}:host{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}#illustration{margin-bottom:var(\n--spectrum-illustrated-message-illustration-margin-bottom\n)}#heading{margin:var(--spectrum-illustrated-message-heading-margin);max-width:var(\n--spectrum-illustrated-message-heading-max-width\n)}#description{font-style:italic;margin:var(--spectrum-illustrated-message-description-margin);max-width:var(\n--spectrum-illustrated-message-description-max-width\n)}:host([cta]) #description{font-style:normal}#illustration{fill:currentColor;stroke:currentColor;color:var(\n--spectrum-global-color-gray-500\n)}::slotted(svg[viewBox]){width:100%}\n`"
119
119
  }
120
120
  ],
121
121
  "exports": [
@@ -151,7 +151,7 @@
151
151
  {
152
152
  "kind": "variable",
153
153
  "name": "styles",
154
- "default": "css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#illustration{margin-bottom:var(--spectrum-illustrated-message-illustration-margin-bottom)}#heading{max-width:var(--spectrum-illustrated-message-heading-max-width);margin:var(--spectrum-illustrated-message-heading-margin)}#description{max-width:var(--spectrum-illustrated-message-description-max-width);margin:var(--spectrum-illustrated-message-description-margin);font-style:italic}:host([cta]) #description{font-style:normal}#illustration{color:var(--spectrum-global-color-gray-500);fill:currentColor;stroke:currentColor}\n`"
154
+ "default": "css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0}:host{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}#illustration{margin-bottom:var(\n--spectrum-illustrated-message-illustration-margin-bottom\n)}#heading{margin:var(--spectrum-illustrated-message-heading-margin);max-width:var(\n--spectrum-illustrated-message-heading-max-width\n)}#description{font-style:italic;margin:var(--spectrum-illustrated-message-description-margin);max-width:var(\n--spectrum-illustrated-message-description-max-width\n)}:host([cta]) #description{font-style:normal}#illustration{fill:currentColor;stroke:currentColor;color:var(\n--spectrum-global-color-gray-500\n)}\n`"
155
155
  }
156
156
  ],
157
157
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/illustrated-message",
3
- "version": "0.6.12-lit-next.42+f164d1376",
3
+ "version": "0.6.13-lit-next.47+aad74d6ac",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -44,8 +44,8 @@
44
44
  "lit-html"
45
45
  ],
46
46
  "dependencies": {
47
- "@spectrum-web-components/base": "^0.4.6-lit-next.124+f164d1376",
48
- "@spectrum-web-components/styles": "^0.9.11-lit-next.124+f164d1376",
47
+ "@spectrum-web-components/base": "^0.4.6-lit-next.184+aad74d6ac",
48
+ "@spectrum-web-components/styles": "^0.9.12-lit-next.47+aad74d6ac",
49
49
  "tslib": "^2.0.0"
50
50
  },
51
51
  "devDependencies": {
@@ -56,5 +56,5 @@
56
56
  "sideEffects": [
57
57
  "./sp-*.js"
58
58
  ],
59
- "gitHead": "f164d13764897c13e8da5012f3659b294c240c62"
59
+ "gitHead": "aad74d6ac41d8450aee82d73aaf58ab949b72a00"
60
60
  }
@@ -11,7 +11,15 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import { css } from '@spectrum-web-components/base';
13
13
  const styles = css `
14
- :host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#illustration{margin-bottom:var(--spectrum-illustrated-message-illustration-margin-bottom)}#heading{max-width:var(--spectrum-illustrated-message-heading-max-width);margin:var(--spectrum-illustrated-message-heading-margin)}#description{max-width:var(--spectrum-illustrated-message-description-max-width);margin:var(--spectrum-illustrated-message-description-margin);font-style:italic}:host([cta]) #description{font-style:normal}#illustration{color:var(--spectrum-global-color-gray-500);fill:currentColor;stroke:currentColor}::slotted(svg[viewBox]){width:100%}
14
+ :host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0}:host{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}#illustration{margin-bottom:var(
15
+ --spectrum-illustrated-message-illustration-margin-bottom
16
+ )}#heading{margin:var(--spectrum-illustrated-message-heading-margin);max-width:var(
17
+ --spectrum-illustrated-message-heading-max-width
18
+ )}#description{font-style:italic;margin:var(--spectrum-illustrated-message-description-margin);max-width:var(
19
+ --spectrum-illustrated-message-description-max-width
20
+ )}:host([cta]) #description{font-style:normal}#illustration{fill:currentColor;stroke:currentColor;color:var(
21
+ --spectrum-global-color-gray-500
22
+ )}::slotted(svg[viewBox]){width:100%}
15
23
  `;
16
24
  export default styles;
17
25
  //# sourceMappingURL=illustrated-message.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"illustrated-message.css.js","sourceRoot":"","sources":["illustrated-message.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;CAEjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#illustration{margin-bottom:var(--spectrum-illustrated-message-illustration-margin-bottom)}#heading{max-width:var(--spectrum-illustrated-message-heading-max-width);margin:var(--spectrum-illustrated-message-heading-margin)}#description{max-width:var(--spectrum-illustrated-message-description-max-width);margin:var(--spectrum-illustrated-message-description-margin);font-style:italic}:host([cta]) #description{font-style:normal}#illustration{color:var(--spectrum-global-color-gray-500);fill:currentColor;stroke:currentColor}::slotted(svg[viewBox]){width:100%}\n`;\nexport default styles;"]}
1
+ {"version":3,"file":"illustrated-message.css.js","sourceRoot":"","sources":["illustrated-message.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;CAUjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0}:host{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}#illustration{margin-bottom:var(\n--spectrum-illustrated-message-illustration-margin-bottom\n)}#heading{margin:var(--spectrum-illustrated-message-heading-margin);max-width:var(\n--spectrum-illustrated-message-heading-max-width\n)}#description{font-style:italic;margin:var(--spectrum-illustrated-message-description-margin);max-width:var(\n--spectrum-illustrated-message-description-max-width\n)}:host([cta]) #description{font-style:normal}#illustration{fill:currentColor;stroke:currentColor;color:var(\n--spectrum-global-color-gray-500\n)}::slotted(svg[viewBox]){width:100%}\n`;\nexport default styles;"]}
@@ -11,7 +11,15 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import { css } from '@spectrum-web-components/base';
13
13
  const styles = css `
14
- :host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#illustration{margin-bottom:var(--spectrum-illustrated-message-illustration-margin-bottom)}#heading{max-width:var(--spectrum-illustrated-message-heading-max-width);margin:var(--spectrum-illustrated-message-heading-margin)}#description{max-width:var(--spectrum-illustrated-message-description-max-width);margin:var(--spectrum-illustrated-message-description-margin);font-style:italic}:host([cta]) #description{font-style:normal}#illustration{color:var(--spectrum-global-color-gray-500);fill:currentColor;stroke:currentColor}
14
+ :host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0}:host{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}#illustration{margin-bottom:var(
15
+ --spectrum-illustrated-message-illustration-margin-bottom
16
+ )}#heading{margin:var(--spectrum-illustrated-message-heading-margin);max-width:var(
17
+ --spectrum-illustrated-message-heading-max-width
18
+ )}#description{font-style:italic;margin:var(--spectrum-illustrated-message-description-margin);max-width:var(
19
+ --spectrum-illustrated-message-description-max-width
20
+ )}:host([cta]) #description{font-style:normal}#illustration{fill:currentColor;stroke:currentColor;color:var(
21
+ --spectrum-global-color-gray-500
22
+ )}
15
23
  `;
16
24
  export default styles;
17
25
  //# sourceMappingURL=spectrum-illustratedmessage.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spectrum-illustratedmessage.css.js","sourceRoot":"","sources":["spectrum-illustratedmessage.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;CAEjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#illustration{margin-bottom:var(--spectrum-illustrated-message-illustration-margin-bottom)}#heading{max-width:var(--spectrum-illustrated-message-heading-max-width);margin:var(--spectrum-illustrated-message-heading-margin)}#description{max-width:var(--spectrum-illustrated-message-description-max-width);margin:var(--spectrum-illustrated-message-description-margin);font-style:italic}:host([cta]) #description{font-style:normal}#illustration{color:var(--spectrum-global-color-gray-500);fill:currentColor;stroke:currentColor}\n`;\nexport default styles;"]}
1
+ {"version":3,"file":"spectrum-illustratedmessage.css.js","sourceRoot":"","sources":["spectrum-illustratedmessage.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;CAUjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-illustrated-message-description-max-width:500px;--spectrum-illustrated-message-heading-max-width:500px;--spectrum-illustrated-message-illustration-margin-bottom:24px;--spectrum-illustrated-message-heading-margin:0;--spectrum-illustrated-message-description-margin:4px 0 0 0}:host{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}#illustration{margin-bottom:var(\n--spectrum-illustrated-message-illustration-margin-bottom\n)}#heading{margin:var(--spectrum-illustrated-message-heading-margin);max-width:var(\n--spectrum-illustrated-message-heading-max-width\n)}#description{font-style:italic;margin:var(--spectrum-illustrated-message-description-margin);max-width:var(\n--spectrum-illustrated-message-description-max-width\n)}:host([cta]) #description{font-style:normal}#illustration{fill:currentColor;stroke:currentColor;color:var(\n--spectrum-global-color-gray-500\n)}\n`;\nexport default styles;"]}
@@ -1,15 +0,0 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- import * as stories from '../stories/illustrated-message.stories.js';
13
- import { regressVisuals } from '../../../test/visual/test.js';
14
- regressVisuals('IllustratedMessageStories', stories);
15
- //# sourceMappingURL=illustrated-message.test-vrt.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"illustrated-message.test-vrt.js","sourceRoot":"","sources":["illustrated-message.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport * as stories from '../stories/illustrated-message.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('IllustratedMessageStories', stories);\n"]}
@@ -1,42 +0,0 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- import '../sp-illustrated-message.js';
13
- import { fixture, html, expect } from '@open-wc/testing';
14
- describe('Illustrated Message', () => {
15
- it('loads', async () => {
16
- const el = await fixture(html `
17
- <sp-illustrated-message
18
- heading="Drag and Drop Your File"
19
- description="This message has italics"
20
- >
21
- <svg
22
- xmlns="http://www.w3.org/2000/svg"
23
- viewBox="0 0 150 103"
24
- width="150"
25
- height="103"
26
- viewBox="0 0 150 103"
27
- >
28
- <path
29
- d="M133.7,8.5h-118c-1.9,0-3.5,1.6-3.5,3.5v27c0,0.8,0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5V23.5h119V92c0,0.3-0.2,0.5-0.5,0.5h-118c-0.3,0-0.5-0.2-0.5-0.5V69c0-0.8-0.7-1.5-1.5-1.5s-1.5,0.7-1.5,1.5v23c0,1.9,1.6,3.5,3.5,3.5h118c1.9,0,3.5-1.6,3.5-3.5V12C137.2,10.1,135.6,8.5,133.7,8.5z M15.2,21.5V12c0-0.3,0.2-0.5,0.5-0.5h118c0.3,0,0.5,0.2,0.5,0.5v9.5H15.2z M32.6,16.5c0,0.6-0.4,1-1,1h-10c-0.6,0-1-0.4-1-1s0.4-1,1-1h10C32.2,15.5,32.6,15.9,32.6,16.5z M13.6,56.1l-8.6,8.5C4.8,65,4.4,65.1,4,65.1c-0.4,0-0.8-0.1-1.1-0.4c-0.6-0.6-0.6-1.5,0-2.1l8.6-8.5l-8.6-8.5c-0.6-0.6-0.6-1.5,0-2.1c0.6-0.6,1.5-0.6,2.1,0l8.6,8.5l8.6-8.5c0.6-0.6,1.5-0.6,2.1,0c0.6,0.6,0.6,1.5,0,2.1L15.8,54l8.6,8.5c0.6,0.6,0.6,1.5,0,2.1c-0.3,0.3-0.7,0.4-1.1,0.4c-0.4,0-0.8-0.1-1.1-0.4L13.6,56.1z"
30
- ></path>
31
- </svg>
32
- </sp-illustrated-message>
33
- `);
34
- expect(el).to.not.equal(undefined);
35
- if (!el.shadowRoot)
36
- throw new Error('No shadowRoot');
37
- const slot = el.shadowRoot.querySelector('slot');
38
- expect(slot).to.not.equal(undefined);
39
- return true;
40
- });
41
- });
42
- //# sourceMappingURL=illustrated-message.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"illustrated-message.test.js","sourceRoot":"","sources":["illustrated-message.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEzD,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,OAAO,EAAE,KAAK,IAAI,EAAE;QACnB,MAAM,EAAE,GAAG,MAAM,OAAO,CACpB,IAAI,CAAA;;;;;;;;;;;;;;;;;aAiBH,CACJ,CAAC;QACF,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACnC,IAAI,CAAC,EAAE,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;QACrD,MAAM,IAAI,GAAG,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAoB,CAAC;QACpE,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACrC,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport '../sp-illustrated-message.js';\nimport { IllustratedMessage } from '../';\nimport { fixture, html, expect } from '@open-wc/testing';\n\ndescribe('Illustrated Message', () => {\n it('loads', async () => {\n const el = await fixture<IllustratedMessage>(\n html`\n <sp-illustrated-message\n heading=\"Drag and Drop Your File\"\n description=\"This message has italics\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 150 103\"\n width=\"150\"\n height=\"103\"\n viewBox=\"0 0 150 103\"\n >\n <path\n d=\"M133.7,8.5h-118c-1.9,0-3.5,1.6-3.5,3.5v27c0,0.8,0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5V23.5h119V92c0,0.3-0.2,0.5-0.5,0.5h-118c-0.3,0-0.5-0.2-0.5-0.5V69c0-0.8-0.7-1.5-1.5-1.5s-1.5,0.7-1.5,1.5v23c0,1.9,1.6,3.5,3.5,3.5h118c1.9,0,3.5-1.6,3.5-3.5V12C137.2,10.1,135.6,8.5,133.7,8.5z M15.2,21.5V12c0-0.3,0.2-0.5,0.5-0.5h118c0.3,0,0.5,0.2,0.5,0.5v9.5H15.2z M32.6,16.5c0,0.6-0.4,1-1,1h-10c-0.6,0-1-0.4-1-1s0.4-1,1-1h10C32.2,15.5,32.6,15.9,32.6,16.5z M13.6,56.1l-8.6,8.5C4.8,65,4.4,65.1,4,65.1c-0.4,0-0.8-0.1-1.1-0.4c-0.6-0.6-0.6-1.5,0-2.1l8.6-8.5l-8.6-8.5c-0.6-0.6-0.6-1.5,0-2.1c0.6-0.6,1.5-0.6,2.1,0l8.6,8.5l8.6-8.5c0.6-0.6,1.5-0.6,2.1,0c0.6,0.6,0.6,1.5,0,2.1L15.8,54l8.6,8.5c0.6,0.6,0.6,1.5,0,2.1c-0.3,0.3-0.7,0.4-1.1,0.4c-0.4,0-0.8-0.1-1.1-0.4L13.6,56.1z\"\n ></path>\n </svg>\n </sp-illustrated-message>\n `\n );\n expect(el).to.not.equal(undefined);\n if (!el.shadowRoot) throw new Error('No shadowRoot');\n const slot = el.shadowRoot.querySelector('slot') as HTMLSlotElement;\n expect(slot).to.not.equal(undefined);\n return true;\n });\n});\n"]}