@spectrum-web-components/illustrated-message 0.35.1-rc.26 → 0.35.1-rc.41
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/illustrated-message",
|
3
|
-
"version": "0.35.1-rc.
|
3
|
+
"version": "0.35.1-rc.41+6ac4e82f0",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -57,8 +57,8 @@
|
|
57
57
|
"lit-html"
|
58
58
|
],
|
59
59
|
"dependencies": {
|
60
|
-
"@spectrum-web-components/base": "^0.35.1-rc.
|
61
|
-
"@spectrum-web-components/styles": "^0.35.1-rc.
|
60
|
+
"@spectrum-web-components/base": "^0.35.1-rc.41+6ac4e82f0",
|
61
|
+
"@spectrum-web-components/styles": "^0.35.1-rc.41+6ac4e82f0"
|
62
62
|
},
|
63
63
|
"devDependencies": {
|
64
64
|
"@spectrum-css/illustratedmessage": "^6.0.9"
|
@@ -69,5 +69,5 @@
|
|
69
69
|
"./sp-*.js",
|
70
70
|
"./**/*.dev.js"
|
71
71
|
],
|
72
|
-
"gitHead": "
|
72
|
+
"gitHead": "6ac4e82f0a4a68eb50b5dd4b96a562060162ac6f"
|
73
73
|
}
|
@@ -2,6 +2,6 @@
|
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["IllustratedMessage.ts"],
|
4
4
|
"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 {\n CSSResultArray,\n html,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\n\nimport messageStyles from './illustrated-message.css.js';\nimport headingStyles from '@spectrum-web-components/styles/heading.js';\nimport bodyStyles from '@spectrum-web-components/styles/body.js';\n\n/**\n * @element sp-illustrated-message\n *\n * @slot - The SVG that represents the illustration\n * @slot heading - Headline for the message\n * @slot description - Description text for the illustration\n */\nexport class IllustratedMessage extends SpectrumElement {\n public static readonly is = 'sp-illustrated-message';\n\n public static override get styles(): CSSResultArray {\n return [headingStyles, bodyStyles, messageStyles];\n }\n\n @property()\n public heading = '';\n\n @property()\n public description = '';\n\n protected override render(): TemplateResult {\n return html`\n <div id=\"illustration\"><slot></slot></div>\n <h2\n id=\"heading\"\n class=\"spectrum-Heading spectrum-Heading--sizeL spectrum-Heading--light\"\n >\n <slot name=\"heading\">${this.heading}</slot>\n </h2>\n <div id=\"description\" class=\"spectrum-Body spectrum-Body--sizeS\">\n <slot name=\"description\">${this.description}</slot>\n </div>\n `;\n }\n}\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;AAYA;AAAA,EAEI;AAAA,EACA;AAAA,OAEG;AACP,SAAS,gBAAgB;AAEzB,OAAO,mBAAmB;AAC1B,OAAO,mBAAmB;AAC1B,OAAO,gBAAgB;AAShB,aAAM,2BAA2B,gBAAgB;AAAA,EAAjD;AAAA;AAQH,SAAO,UAAU;AAGjB,SAAO,cAAc;AAAA;AAAA,EARrB,WAA2B,SAAyB;AAChD,WAAO,CAAC,eAAe,YAAY,aAAa;AAAA,EACpD;AAAA,EAQmB,SAAyB;AACxC,WAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAMwB,KAAK;AAAA;AAAA;AAAA,
|
5
|
+
"mappings": ";;;;;;;;;;;;AAYA;AAAA,EAEI;AAAA,EACA;AAAA,OAEG;AACP,SAAS,gBAAgB;AAEzB,OAAO,mBAAmB;AAC1B,OAAO,mBAAmB;AAC1B,OAAO,gBAAgB;AAShB,aAAM,2BAA2B,gBAAgB;AAAA,EAAjD;AAAA;AAQH,SAAO,UAAU;AAGjB,SAAO,cAAc;AAAA;AAAA,EARrB,WAA2B,SAAyB;AAChD,WAAO,CAAC,eAAe,YAAY,aAAa;AAAA,EACpD;AAAA,EAQmB,SAAyB;AACxC,WAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAMwB,KAAK,OAAO;AAAA;AAAA;AAAA,2CAGR,KAAK,WAAW;AAAA;AAAA;AAAA,EAGvD;AACJ;AA3Ba,mBACc,KAAK;AAOrB;AAAA,EADN,SAAS;AAAA,GAPD,mBAQF;AAGA;AAAA,EADN,SAAS;AAAA,GAVD,mBAWF;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -2,6 +2,6 @@
|
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["IllustratedMessage.ts"],
|
4
4
|
"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 {\n CSSResultArray,\n html,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\n\nimport messageStyles from './illustrated-message.css.js';\nimport headingStyles from '@spectrum-web-components/styles/heading.js';\nimport bodyStyles from '@spectrum-web-components/styles/body.js';\n\n/**\n * @element sp-illustrated-message\n *\n * @slot - The SVG that represents the illustration\n * @slot heading - Headline for the message\n * @slot description - Description text for the illustration\n */\nexport class IllustratedMessage extends SpectrumElement {\n public static readonly is = 'sp-illustrated-message';\n\n public static override get styles(): CSSResultArray {\n return [headingStyles, bodyStyles, messageStyles];\n }\n\n @property()\n public heading = '';\n\n @property()\n public description = '';\n\n protected override render(): TemplateResult {\n return html`\n <div id=\"illustration\"><slot></slot></div>\n <h2\n id=\"heading\"\n class=\"spectrum-Heading spectrum-Heading--sizeL spectrum-Heading--light\"\n >\n <slot name=\"heading\">${this.heading}</slot>\n </h2>\n <div id=\"description\" class=\"spectrum-Body spectrum-Body--sizeS\">\n <slot name=\"description\">${this.description}</slot>\n </div>\n `;\n }\n}\n"],
|
5
|
-
"mappings": "qNAYA,OAEI,QAAAA,EACA,mBAAAC,MAEG,gCACP,OAAS,YAAAC,MAAgB,kDAEzB,OAAOC,MAAmB,+BAC1B,OAAOC,MAAmB,6CAC1B,OAAOC,MAAgB,0CAShB,aAAM,2BAA2BJ,CAAgB,CAAjD,kCAQH,KAAO,QAAU,GAGjB,KAAO,YAAc,GARrB,WAA2B,QAAyB,CAChD,MAAO,CAACG,EAAeC,EAAYF,CAAa,CACpD,CAQmB,QAAyB,CACxC,OAAOH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAMwB,KAAK;AAAA;AAAA;AAAA,
|
5
|
+
"mappings": "qNAYA,OAEI,QAAAA,EACA,mBAAAC,MAEG,gCACP,OAAS,YAAAC,MAAgB,kDAEzB,OAAOC,MAAmB,+BAC1B,OAAOC,MAAmB,6CAC1B,OAAOC,MAAgB,0CAShB,aAAM,2BAA2BJ,CAAgB,CAAjD,kCAQH,KAAO,QAAU,GAGjB,KAAO,YAAc,GARrB,WAA2B,QAAyB,CAChD,MAAO,CAACG,EAAeC,EAAYF,CAAa,CACpD,CAQmB,QAAyB,CACxC,OAAOH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAMwB,KAAK,OAAO;AAAA;AAAA;AAAA,2CAGR,KAAK,WAAW;AAAA;AAAA,SAGvD,CACJ,CA3Ba,mBACc,GAAK,yBAOrBM,EAAA,CADNJ,EAAS,GAPD,mBAQF,uBAGAI,EAAA,CADNJ,EAAS,GAVD,mBAWF",
|
6
6
|
"names": ["html", "SpectrumElement", "property", "messageStyles", "headingStyles", "bodyStyles", "__decorateClass"]
|
7
7
|
}
|
@@ -2,6 +2,6 @@
|
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["illustrated-message.stories.ts"],
|
4
4
|
"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 { html, TemplateResult } from '@spectrum-web-components/base';\n\nimport '@spectrum-web-components/illustrated-message/sp-illustrated-message.js';\nimport { illustration } from '../../dropzone/test/test-svg.js';\n\nexport default {\n component: 'sp-illustrated-message',\n title: 'IllustratedMessage',\n};\n\nexport const Default = (): TemplateResult => {\n return html`\n <sp-illustrated-message\n heading=\"Drag and Drop Your File\"\n description=\"Additional descriptive text\"\n >\n ${illustration}\n </sp-illustrated-message>\n `;\n};\n"],
|
5
|
-
"mappings": ";AAWA,SAAS,YAA4B;AAErC,OAAO;AACP,SAAS,oBAAoB;AAE7B,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AACX;AAEO,aAAM,UAAU,MAAsB;AACzC,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA,cAKG;AAAA;AAAA;
|
5
|
+
"mappings": ";AAWA,SAAS,YAA4B;AAErC,OAAO;AACP,SAAS,oBAAoB;AAE7B,eAAe;AAAA,EACX,WAAW;AAAA,EACX,OAAO;AACX;AAEO,aAAM,UAAU,MAAsB;AACzC,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA,cAKG,YAAY;AAAA;AAAA;AAG1B;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/custom-elements.json
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"schemaVersion": "1.0.0",
|
3
|
-
"readme": "",
|
4
|
-
"modules": [
|
5
|
-
{
|
6
|
-
"kind": "javascript-module",
|
7
|
-
"path": "sp-illustrated-message.ts",
|
8
|
-
"declarations": [],
|
9
|
-
"exports": [
|
10
|
-
{
|
11
|
-
"kind": "custom-element-definition",
|
12
|
-
"name": "sp-illustrated-message",
|
13
|
-
"declaration": {
|
14
|
-
"name": "IllustratedMessage",
|
15
|
-
"module": "/src/IllustratedMessage.js"
|
16
|
-
}
|
17
|
-
}
|
18
|
-
]
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"kind": "javascript-module",
|
22
|
-
"path": "src/IllustratedMessage.ts",
|
23
|
-
"declarations": [
|
24
|
-
{
|
25
|
-
"kind": "class",
|
26
|
-
"description": "",
|
27
|
-
"name": "IllustratedMessage",
|
28
|
-
"slots": [
|
29
|
-
{
|
30
|
-
"description": "The SVG that represents the illustration",
|
31
|
-
"name": ""
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"description": "Headline for the message",
|
35
|
-
"name": "heading"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"description": "Description text for the illustration",
|
39
|
-
"name": "description"
|
40
|
-
}
|
41
|
-
],
|
42
|
-
"members": [
|
43
|
-
{
|
44
|
-
"kind": "field",
|
45
|
-
"name": "is",
|
46
|
-
"type": {
|
47
|
-
"text": "string"
|
48
|
-
},
|
49
|
-
"privacy": "public",
|
50
|
-
"static": true,
|
51
|
-
"readonly": true,
|
52
|
-
"default": "'sp-illustrated-message'"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"kind": "field",
|
56
|
-
"name": "heading",
|
57
|
-
"type": {
|
58
|
-
"text": "string"
|
59
|
-
},
|
60
|
-
"privacy": "public",
|
61
|
-
"default": "''",
|
62
|
-
"attribute": "heading"
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"kind": "field",
|
66
|
-
"name": "description",
|
67
|
-
"type": {
|
68
|
-
"text": "string"
|
69
|
-
},
|
70
|
-
"privacy": "public",
|
71
|
-
"default": "''",
|
72
|
-
"attribute": "description"
|
73
|
-
}
|
74
|
-
],
|
75
|
-
"attributes": [
|
76
|
-
{
|
77
|
-
"name": "heading",
|
78
|
-
"type": {
|
79
|
-
"text": "string"
|
80
|
-
},
|
81
|
-
"default": "''",
|
82
|
-
"fieldName": "heading"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"name": "description",
|
86
|
-
"type": {
|
87
|
-
"text": "string"
|
88
|
-
},
|
89
|
-
"default": "''",
|
90
|
-
"fieldName": "description"
|
91
|
-
}
|
92
|
-
],
|
93
|
-
"superclass": {
|
94
|
-
"name": "SpectrumElement",
|
95
|
-
"package": "@spectrum-web-components/base"
|
96
|
-
},
|
97
|
-
"tagName": "sp-illustrated-message",
|
98
|
-
"customElement": true
|
99
|
-
}
|
100
|
-
],
|
101
|
-
"exports": [
|
102
|
-
{
|
103
|
-
"kind": "js",
|
104
|
-
"name": "IllustratedMessage",
|
105
|
-
"declaration": {
|
106
|
-
"name": "IllustratedMessage",
|
107
|
-
"module": "src/IllustratedMessage.ts"
|
108
|
-
}
|
109
|
-
}
|
110
|
-
]
|
111
|
-
}
|
112
|
-
]
|
113
|
-
}
|