@spectrum-web-components/icons 0.8.5 → 0.8.8
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.
package/custom-elements.json
CHANGED
|
@@ -205,57 +205,6 @@
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
]
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"kind": "javascript-module",
|
|
211
|
-
"path": "src/icons-large.svg.ts",
|
|
212
|
-
"declarations": [],
|
|
213
|
-
"exports": [
|
|
214
|
-
{
|
|
215
|
-
"kind": "js",
|
|
216
|
-
"name": "default",
|
|
217
|
-
"declaration": {
|
|
218
|
-
"module": "src/icons-large.svg.ts"
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"kind": "javascript-module",
|
|
225
|
-
"path": "src/icons-medium.svg.ts",
|
|
226
|
-
"declarations": [],
|
|
227
|
-
"exports": [
|
|
228
|
-
{
|
|
229
|
-
"kind": "js",
|
|
230
|
-
"name": "default",
|
|
231
|
-
"declaration": {
|
|
232
|
-
"module": "src/icons-medium.svg.ts"
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"kind": "javascript-module",
|
|
239
|
-
"path": "src/index.ts",
|
|
240
|
-
"declarations": [],
|
|
241
|
-
"exports": [
|
|
242
|
-
{
|
|
243
|
-
"kind": "js",
|
|
244
|
-
"name": "*",
|
|
245
|
-
"declaration": {
|
|
246
|
-
"name": "*",
|
|
247
|
-
"package": "./IconsLarge.js"
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"kind": "js",
|
|
252
|
-
"name": "*",
|
|
253
|
-
"declaration": {
|
|
254
|
-
"name": "*",
|
|
255
|
-
"package": "./IconsMedium.js"
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
]
|
|
259
208
|
}
|
|
260
209
|
]
|
|
261
210
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/icons",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"lit-html"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@spectrum-web-components/base": "^0.5.
|
|
50
|
-
"@spectrum-web-components/iconset": "^0.6.
|
|
49
|
+
"@spectrum-web-components/base": "^0.5.8",
|
|
50
|
+
"@spectrum-web-components/iconset": "^0.6.8",
|
|
51
51
|
"tslib": "^2.0.0"
|
|
52
52
|
},
|
|
53
53
|
"types": "./src/index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"sideEffects": [
|
|
56
56
|
"./sp-*.js"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "e5cd4a0db2201b8126eb9133ac3c24172d086359"
|
|
59
59
|
}
|
package/src/IconsLarge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconsLarge.js","sourceRoot":"","sources":["IconsLarge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAIF,OAAO,EAAE,UAAU,EAAE,MAAM,qDAAqD,CAAC;AAEjF,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,UAAU;IACtC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,uCAAuC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"IconsLarge.js","sourceRoot":"","sources":["IconsLarge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAIF,OAAO,EAAE,UAAU,EAAE,MAAM,qDAAqD,CAAC;AAEjF,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,UAAU;IACtC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,uCAAuC;IAC7D,CAAC;IAEkB,oBAAoB;QACnC,OAAO,QAAQ,CAAC;IACpB,CAAC;IACD;;;;OAIG;IACgB,cAAc,CAAC,IAAY;QAC1C,OAAO,iBAAiB,IAAI,EAAE,CAAC;IACnC,CAAC;IACkB,oBAAoB,CAAC,IAAY;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;IAC9C,CAAC;CACJ","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"]}
|
package/src/IconsMedium.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconsMedium.js","sourceRoot":"","sources":["IconsMedium.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAIF,OAAO,EAAE,UAAU,EAAE,MAAM,qDAAqD,CAAC;AAEjF,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAE7C;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,UAAU;IACvC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,uCAAuC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"IconsMedium.js","sourceRoot":"","sources":["IconsMedium.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAIF,OAAO,EAAE,UAAU,EAAE,MAAM,qDAAqD,CAAC;AAEjF,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAE7C;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,UAAU;IACvC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,uCAAuC;IAC7D,CAAC;IAEkB,oBAAoB;QACnC,OAAO,QAAQ,CAAC;IACpB,CAAC;IACD;;;;OAIG;IACgB,cAAc,CAAC,IAAY;QAC1C,OAAO,iBAAiB,IAAI,EAAE,CAAC;IACnC,CAAC;IACkB,oBAAoB,CAAC,IAAY;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;IAC9C,CAAC;CACJ","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"]}
|
package/src/icons-large.svg.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("lit-html").TemplateResult<2>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("lit-html").TemplateResult<2>;
|
|
2
2
|
export default _default;
|