@spectrum-web-components/icons 0.35.1-rc.34 → 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/icons",
3
- "version": "0.35.1-rc.34+2cc53a49a",
3
+ "version": "0.35.1-rc.41+6ac4e82f0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -72,8 +72,8 @@
72
72
  "lit-html"
73
73
  ],
74
74
  "dependencies": {
75
- "@spectrum-web-components/base": "^0.35.1-rc.34+2cc53a49a",
76
- "@spectrum-web-components/iconset": "^0.35.1-rc.34+2cc53a49a"
75
+ "@spectrum-web-components/base": "^0.35.1-rc.41+6ac4e82f0",
76
+ "@spectrum-web-components/iconset": "^0.35.1-rc.41+6ac4e82f0"
77
77
  },
78
78
  "types": "./src/index.d.ts",
79
79
  "customElements": "custom-elements.json",
@@ -81,5 +81,5 @@
81
81
  "./sp-*.js",
82
82
  "./**/*.dev.js"
83
83
  ],
84
- "gitHead": "2cc53a49a9491e4d86ed3c39ab430fda8a7a5b96"
84
+ "gitHead": "6ac4e82f0a4a68eb50b5dd4b96a562060162ac6f"
85
85
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["IconsLarge.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 { TemplateResult } from '@spectrum-web-components/base';\n\nimport { IconsetSVG } from '@spectrum-web-components/iconset/src/iconset-svg.js';\n\nimport iconsSVG from './icons-large.svg.dev.js'\n\n/**\n * @element sp-icons-large\n */\nexport class IconsLarge extends IconsetSVG {\n public constructor() {\n super();\n this.name = 'ui'; // default iconset name for these icons\n }\n\n protected override renderDefaultContent(): TemplateResult {\n return iconsSVG;\n }\n /**\n * Overrides createIconName to make icon strings compatible with spectrum-icon id format\n * @param icon\n * @param size\n */\n protected override getSVGIconName(icon: string): string {\n return `spectrum-icon-${icon}`;\n }\n protected override getSanitizedIconName(icon: string): string {\n return icon.replace('spectrum-icon-', '');\n }\n}\n"],
5
- "mappings": ";AAcA,SAAS,kBAAkB;AAE3B,OAAO,cAAc;AAKd,aAAM,mBAAmB,WAAW;AAAA,EAChC,cAAc;AACjB,UAAM;AACN,SAAK,OAAO;AAAA,EAChB;AAAA,EAEmB,uBAAuC;AACtD,WAAO;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMmB,eAAe,MAAsB;AACpD,WAAO,iBAAiB;AAAA,EAC5B;AAAA,EACmB,qBAAqB,MAAsB;AAC1D,WAAO,KAAK,QAAQ,kBAAkB,EAAE;AAAA,EAC5C;AACJ;",
5
+ "mappings": ";AAcA,SAAS,kBAAkB;AAE3B,OAAO,cAAc;AAKd,aAAM,mBAAmB,WAAW;AAAA,EAChC,cAAc;AACjB,UAAM;AACN,SAAK,OAAO;AAAA,EAChB;AAAA,EAEmB,uBAAuC;AACtD,WAAO;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMmB,eAAe,MAAsB;AACpD,WAAO,iBAAiB,IAAI;AAAA,EAChC;AAAA,EACmB,qBAAqB,MAAsB;AAC1D,WAAO,KAAK,QAAQ,kBAAkB,EAAE;AAAA,EAC5C;AACJ;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["IconsLarge.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 { TemplateResult } from '@spectrum-web-components/base';\n\nimport { IconsetSVG } from '@spectrum-web-components/iconset/src/iconset-svg.js';\n\nimport iconsSVG from './icons-large.svg.js';\n\n/**\n * @element sp-icons-large\n */\nexport class IconsLarge extends IconsetSVG {\n public constructor() {\n super();\n this.name = 'ui'; // default iconset name for these icons\n }\n\n protected override renderDefaultContent(): TemplateResult {\n return iconsSVG;\n }\n /**\n * Overrides createIconName to make icon strings compatible with spectrum-icon id format\n * @param icon\n * @param size\n */\n protected override getSVGIconName(icon: string): string {\n return `spectrum-icon-${icon}`;\n }\n protected override getSanitizedIconName(icon: string): string {\n return icon.replace('spectrum-icon-', '');\n }\n}\n"],
5
- "mappings": "aAcA,OAAS,cAAAA,MAAkB,sDAE3B,OAAOC,MAAc,uBAKd,aAAM,mBAAmBD,CAAW,CAChC,aAAc,CACjB,MAAM,EACN,KAAK,KAAO,IAChB,CAEmB,sBAAuC,CACtD,OAAOC,CACX,CAMmB,eAAeC,EAAsB,CACpD,MAAO,iBAAiBA,GAC5B,CACmB,qBAAqBA,EAAsB,CAC1D,OAAOA,EAAK,QAAQ,iBAAkB,EAAE,CAC5C,CACJ",
5
+ "mappings": "aAcA,OAAS,cAAAA,MAAkB,sDAE3B,OAAOC,MAAc,uBAKd,aAAM,mBAAmBD,CAAW,CAChC,aAAc,CACjB,MAAM,EACN,KAAK,KAAO,IAChB,CAEmB,sBAAuC,CACtD,OAAOC,CACX,CAMmB,eAAeC,EAAsB,CACpD,MAAO,iBAAiBA,CAAI,EAChC,CACmB,qBAAqBA,EAAsB,CAC1D,OAAOA,EAAK,QAAQ,iBAAkB,EAAE,CAC5C,CACJ",
6
6
  "names": ["IconsetSVG", "iconsSVG", "icon"]
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["IconsMedium.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 { TemplateResult } from '@spectrum-web-components/base';\n\nimport { IconsetSVG } from '@spectrum-web-components/iconset/src/iconset-svg.js';\n\nimport iconsSVG from './icons-medium.svg.dev.js'\n\n/**\n * @element sp-icons-medium\n */\nexport class IconsMedium extends IconsetSVG {\n public constructor() {\n super();\n this.name = 'ui'; // default iconset name for these icons\n }\n\n protected override renderDefaultContent(): TemplateResult {\n return iconsSVG;\n }\n /**\n * Overrides createIconName to make icon strings compatible with spectrum-icon id format\n * @param icon\n * @param size\n */\n protected override getSVGIconName(icon: string): string {\n return `spectrum-icon-${icon}`;\n }\n protected override getSanitizedIconName(icon: string): string {\n return icon.replace('spectrum-icon-', '');\n }\n}\n"],
5
- "mappings": ";AAcA,SAAS,kBAAkB;AAE3B,OAAO,cAAc;AAKd,aAAM,oBAAoB,WAAW;AAAA,EACjC,cAAc;AACjB,UAAM;AACN,SAAK,OAAO;AAAA,EAChB;AAAA,EAEmB,uBAAuC;AACtD,WAAO;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMmB,eAAe,MAAsB;AACpD,WAAO,iBAAiB;AAAA,EAC5B;AAAA,EACmB,qBAAqB,MAAsB;AAC1D,WAAO,KAAK,QAAQ,kBAAkB,EAAE;AAAA,EAC5C;AACJ;",
5
+ "mappings": ";AAcA,SAAS,kBAAkB;AAE3B,OAAO,cAAc;AAKd,aAAM,oBAAoB,WAAW;AAAA,EACjC,cAAc;AACjB,UAAM;AACN,SAAK,OAAO;AAAA,EAChB;AAAA,EAEmB,uBAAuC;AACtD,WAAO;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMmB,eAAe,MAAsB;AACpD,WAAO,iBAAiB,IAAI;AAAA,EAChC;AAAA,EACmB,qBAAqB,MAAsB;AAC1D,WAAO,KAAK,QAAQ,kBAAkB,EAAE;AAAA,EAC5C;AACJ;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["IconsMedium.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 { TemplateResult } from '@spectrum-web-components/base';\n\nimport { IconsetSVG } from '@spectrum-web-components/iconset/src/iconset-svg.js';\n\nimport iconsSVG from './icons-medium.svg.js';\n\n/**\n * @element sp-icons-medium\n */\nexport class IconsMedium extends IconsetSVG {\n public constructor() {\n super();\n this.name = 'ui'; // default iconset name for these icons\n }\n\n protected override renderDefaultContent(): TemplateResult {\n return iconsSVG;\n }\n /**\n * Overrides createIconName to make icon strings compatible with spectrum-icon id format\n * @param icon\n * @param size\n */\n protected override getSVGIconName(icon: string): string {\n return `spectrum-icon-${icon}`;\n }\n protected override getSanitizedIconName(icon: string): string {\n return icon.replace('spectrum-icon-', '');\n }\n}\n"],
5
- "mappings": "aAcA,OAAS,cAAAA,MAAkB,sDAE3B,OAAOC,MAAc,wBAKd,aAAM,oBAAoBD,CAAW,CACjC,aAAc,CACjB,MAAM,EACN,KAAK,KAAO,IAChB,CAEmB,sBAAuC,CACtD,OAAOC,CACX,CAMmB,eAAeC,EAAsB,CACpD,MAAO,iBAAiBA,GAC5B,CACmB,qBAAqBA,EAAsB,CAC1D,OAAOA,EAAK,QAAQ,iBAAkB,EAAE,CAC5C,CACJ",
5
+ "mappings": "aAcA,OAAS,cAAAA,MAAkB,sDAE3B,OAAOC,MAAc,wBAKd,aAAM,oBAAoBD,CAAW,CACjC,aAAc,CACjB,MAAM,EACN,KAAK,KAAO,IAChB,CAEmB,sBAAuC,CACtD,OAAOC,CACX,CAMmB,eAAeC,EAAsB,CACpD,MAAO,iBAAiBA,CAAI,EAChC,CACmB,qBAAqBA,EAAsB,CAC1D,OAAOA,EAAK,QAAQ,iBAAkB,EAAE,CAC5C,CACJ",
6
6
  "names": ["IconsetSVG", "iconsSVG", "icon"]
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["icons.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 '@spectrum-web-components/icons/sp-icons-large.js';\nimport '@spectrum-web-components/icons/sp-icons-medium.js';\nimport '../../iconset/stories/icons-demo.js';\nimport { html, TemplateResult } from '@spectrum-web-components/base';\n\nexport default {\n title: 'Icons',\n argTypes: {\n color: { control: 'color' },\n },\n args: {\n color: '#000000',\n },\n};\n\ninterface Properties {\n color: string;\n}\n\nexport const listMedium = ({ color }: Properties): TemplateResult => html`\n <icons-demo style=\"color: ${color}\">\n <sp-icons-medium></sp-icons-medium>\n </icons-demo>\n`;\n\nlistMedium.storyName = 'UI Icons - Medium';\n\nexport const listLarge = ({ color }: Properties): TemplateResult => html`\n <icons-demo style=\"color: ${color}\">\n <sp-icons-large></sp-icons-large>\n </icons-demo>\n`;\n\nlistLarge.storyName = 'UI Icons - Large';\n"],
5
- "mappings": ";AAWA,OAAO;AACP,OAAO;AACP,OAAO;AACP,SAAS,YAA4B;AAErC,eAAe;AAAA,EACX,OAAO;AAAA,EACP,UAAU;AAAA,IACN,OAAO,EAAE,SAAS,QAAQ;AAAA,EAC9B;AAAA,EACA,MAAM;AAAA,IACF,OAAO;AAAA,EACX;AACJ;AAMO,aAAM,aAAa,CAAC,EAAE,MAAM,MAAkC;AAAA,gCACrC;AAAA;AAAA;AAAA;AAKhC,WAAW,YAAY;AAEhB,aAAM,YAAY,CAAC,EAAE,MAAM,MAAkC;AAAA,gCACpC;AAAA;AAAA;AAAA;AAKhC,UAAU,YAAY;",
5
+ "mappings": ";AAWA,OAAO;AACP,OAAO;AACP,OAAO;AACP,SAAS,YAA4B;AAErC,eAAe;AAAA,EACX,OAAO;AAAA,EACP,UAAU;AAAA,IACN,OAAO,EAAE,SAAS,QAAQ;AAAA,EAC9B;AAAA,EACA,MAAM;AAAA,IACF,OAAO;AAAA,EACX;AACJ;AAMO,aAAM,aAAa,CAAC,EAAE,MAAM,MAAkC;AAAA,gCACrC,KAAK;AAAA;AAAA;AAAA;AAKrC,WAAW,YAAY;AAEhB,aAAM,YAAY,CAAC,EAAE,MAAM,MAAkC;AAAA,gCACpC,KAAK;AAAA;AAAA;AAAA;AAKrC,UAAU,YAAY;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["icons.test.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\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 '@spectrum-web-components/icons/sp-icons-large.js';\nimport '@spectrum-web-components/icons/sp-icons-medium.js';\nimport { IconsLarge, IconsMedium } from '../';\nimport IconsetSVG from '../src/icons-large.svg.js';\nimport { elementUpdated, expect, fixture, html } from '@open-wc/testing';\n\ndescribe('icons', () => {\n it('large', async () => {\n const el = await fixture<IconsLarge>(\n html`\n <sp-icons-large></sp-icons-large>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.not.equal(undefined);\n expect(el.getIconList().length).to.be.above(0);\n });\n it('medium', async () => {\n const el = await fixture<IconsMedium>(\n html`\n <sp-icons-medium></sp-icons-medium>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.not.equal(undefined);\n expect(el.getIconList().length).to.be.above(0);\n });\n it('listens to slotchange events', async () => {\n const el = await fixture<IconsMedium>(\n html`\n <sp-icons-medium>${IconsetSVG}</sp-icons-medium>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.not.equal(undefined);\n expect(el.getIconList().length).to.equal(48);\n });\n});\n"],
5
- "mappings": ";AAUA,OAAO;AACP,OAAO;AAEP,OAAO,gBAAgB;AACvB,SAAS,gBAAgB,QAAQ,SAAS,YAAY;AAEtD,SAAS,SAAS,MAAM;AACpB,KAAG,SAAS,YAAY;AACpB,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA,IAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,EAAE,EAAE,GAAG,IAAI,MAAM,MAAS;AACjC,WAAO,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,GAAG,MAAM,CAAC;AAAA,EACjD,CAAC;AACD,KAAG,UAAU,YAAY;AACrB,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA,IAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,EAAE,EAAE,GAAG,IAAI,MAAM,MAAS;AACjC,WAAO,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,GAAG,MAAM,CAAC;AAAA,EACjD,CAAC;AACD,KAAG,gCAAgC,YAAY;AAC3C,UAAM,KAAK,MAAM;AAAA,MACb;AAAA,mCACuB;AAAA;AAAA,IAE3B;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,EAAE,EAAE,GAAG,IAAI,MAAM,MAAS;AACjC,WAAO,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE;AAAA,EAC/C,CAAC;AACL,CAAC;",
5
+ "mappings": ";AAUA,OAAO;AACP,OAAO;AAEP,OAAO,gBAAgB;AACvB,SAAS,gBAAgB,QAAQ,SAAS,YAAY;AAEtD,SAAS,SAAS,MAAM;AACpB,KAAG,SAAS,YAAY;AACpB,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA,IAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,EAAE,EAAE,GAAG,IAAI,MAAM,MAAS;AACjC,WAAO,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,GAAG,MAAM,CAAC;AAAA,EACjD,CAAC;AACD,KAAG,UAAU,YAAY;AACrB,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA,IAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,EAAE,EAAE,GAAG,IAAI,MAAM,MAAS;AACjC,WAAO,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,GAAG,MAAM,CAAC;AAAA,EACjD,CAAC;AACD,KAAG,gCAAgC,YAAY;AAC3C,UAAM,KAAK,MAAM;AAAA,MACb;AAAA,mCACuB,UAAU;AAAA;AAAA,IAErC;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,EAAE,EAAE,GAAG,IAAI,MAAM,MAAS;AACjC,WAAO,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE;AAAA,EAC/C,CAAC;AACL,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,210 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-icons-large.ts",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-icons-large",
13
- "declaration": {
14
- "name": "IconsLarge",
15
- "module": "/src/IconsLarge.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "sp-icons-medium.ts",
23
- "declarations": [],
24
- "exports": [
25
- {
26
- "kind": "custom-element-definition",
27
- "name": "sp-icons-medium",
28
- "declaration": {
29
- "name": "IconsMedium",
30
- "module": "/src/IconsMedium.js"
31
- }
32
- }
33
- ]
34
- },
35
- {
36
- "kind": "javascript-module",
37
- "path": "src/IconsLarge.ts",
38
- "declarations": [
39
- {
40
- "kind": "class",
41
- "description": "",
42
- "name": "IconsLarge",
43
- "members": [
44
- {
45
- "kind": "method",
46
- "name": "renderDefaultContent",
47
- "privacy": "protected",
48
- "return": {
49
- "type": {
50
- "text": "TemplateResult"
51
- }
52
- }
53
- },
54
- {
55
- "kind": "method",
56
- "name": "getSVGIconName",
57
- "privacy": "protected",
58
- "return": {
59
- "type": {
60
- "text": "string"
61
- }
62
- },
63
- "parameters": [
64
- {
65
- "name": "icon",
66
- "type": {
67
- "text": "string"
68
- }
69
- },
70
- {
71
- "name": "size"
72
- }
73
- ],
74
- "description": "Overrides createIconName to make icon strings compatible with spectrum-icon id format"
75
- },
76
- {
77
- "kind": "method",
78
- "name": "getSanitizedIconName",
79
- "privacy": "protected",
80
- "return": {
81
- "type": {
82
- "text": "string"
83
- }
84
- },
85
- "parameters": [
86
- {
87
- "name": "icon",
88
- "type": {
89
- "text": "string"
90
- }
91
- }
92
- ]
93
- },
94
- {
95
- "kind": "field",
96
- "name": "name",
97
- "type": {
98
- "text": "string"
99
- },
100
- "default": "'ui'"
101
- }
102
- ],
103
- "superclass": {
104
- "name": "IconsetSVG",
105
- "package": "@spectrum-web-components/iconset/src/iconset-svg.js"
106
- },
107
- "tagName": "sp-icons-large",
108
- "customElement": true
109
- }
110
- ],
111
- "exports": [
112
- {
113
- "kind": "js",
114
- "name": "IconsLarge",
115
- "declaration": {
116
- "name": "IconsLarge",
117
- "module": "src/IconsLarge.ts"
118
- }
119
- }
120
- ]
121
- },
122
- {
123
- "kind": "javascript-module",
124
- "path": "src/IconsMedium.ts",
125
- "declarations": [
126
- {
127
- "kind": "class",
128
- "description": "",
129
- "name": "IconsMedium",
130
- "members": [
131
- {
132
- "kind": "method",
133
- "name": "renderDefaultContent",
134
- "privacy": "protected",
135
- "return": {
136
- "type": {
137
- "text": "TemplateResult"
138
- }
139
- }
140
- },
141
- {
142
- "kind": "method",
143
- "name": "getSVGIconName",
144
- "privacy": "protected",
145
- "return": {
146
- "type": {
147
- "text": "string"
148
- }
149
- },
150
- "parameters": [
151
- {
152
- "name": "icon",
153
- "type": {
154
- "text": "string"
155
- }
156
- },
157
- {
158
- "name": "size"
159
- }
160
- ],
161
- "description": "Overrides createIconName to make icon strings compatible with spectrum-icon id format"
162
- },
163
- {
164
- "kind": "method",
165
- "name": "getSanitizedIconName",
166
- "privacy": "protected",
167
- "return": {
168
- "type": {
169
- "text": "string"
170
- }
171
- },
172
- "parameters": [
173
- {
174
- "name": "icon",
175
- "type": {
176
- "text": "string"
177
- }
178
- }
179
- ]
180
- },
181
- {
182
- "kind": "field",
183
- "name": "name",
184
- "type": {
185
- "text": "string"
186
- },
187
- "default": "'ui'"
188
- }
189
- ],
190
- "superclass": {
191
- "name": "IconsetSVG",
192
- "package": "@spectrum-web-components/iconset/src/iconset-svg.js"
193
- },
194
- "tagName": "sp-icons-medium",
195
- "customElement": true
196
- }
197
- ],
198
- "exports": [
199
- {
200
- "kind": "js",
201
- "name": "IconsMedium",
202
- "declaration": {
203
- "name": "IconsMedium",
204
- "module": "src/IconsMedium.ts"
205
- }
206
- }
207
- ]
208
- }
209
- ]
210
- }