proto-icons-wc 0.0.147 → 0.0.151
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/dist/cjs/icon-proofs.cjs.entry.js +1 -1
- package/dist/cjs/{index-d1c3120a.js → index-0134150c.js} +7 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/proto-icons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/icon-proofs.entry.js +1 -1
- package/dist/esm/{index-b5a0cd7a.js → index-7dc6f8ba.js} +7 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-icons-wc.js +2 -2
- package/dist/proto-icons-wc/{p-df0c8c1b.js → p-4ab229d3.js} +0 -0
- package/dist/proto-icons-wc/{p-cadc2263.entry.js → p-a7d967f4.entry.js} +1 -1
- package/dist/proto-icons-wc/proto-icons-wc.esm.js +1 -1
- package/package.json +4 -4
|
@@ -516,6 +516,13 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
516
516
|
// synchronous patch
|
|
517
517
|
patch(oldVNode, rootVnode);
|
|
518
518
|
};
|
|
519
|
+
/**
|
|
520
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
521
|
+
* @param elm the target of the Event
|
|
522
|
+
* @param name the name to give the custom Event
|
|
523
|
+
* @param opts options for configuring a custom Event
|
|
524
|
+
* @returns the custom Event
|
|
525
|
+
*/
|
|
519
526
|
const emitEvent = (elm, name, opts) => {
|
|
520
527
|
const ev = plt.ce(name, opts);
|
|
521
528
|
elm.dispatchEvent(ev);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0134150c.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.8.
|
|
8
|
+
Stencil Client Patch Esm v2.8.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-0134150c.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.8.
|
|
6
|
+
Stencil Client Patch Browser v2.8.1 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-icons-wc.cjs.js', document.baseURI).href));
|
|
@@ -494,6 +494,13 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
494
494
|
// synchronous patch
|
|
495
495
|
patch(oldVNode, rootVnode);
|
|
496
496
|
};
|
|
497
|
+
/**
|
|
498
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
499
|
+
* @param elm the target of the Event
|
|
500
|
+
* @param name the name to give the custom Event
|
|
501
|
+
* @param opts options for configuring a custom Event
|
|
502
|
+
* @returns the custom Event
|
|
503
|
+
*/
|
|
497
504
|
const emitEvent = (elm, name, opts) => {
|
|
498
505
|
const ev = plt.ce(name, opts);
|
|
499
506
|
elm.dispatchEvent(ev);
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-7dc6f8ba.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.8.
|
|
4
|
+
Stencil Client Patch Esm v2.8.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchEsm = () => {
|
|
7
7
|
return promiseResolve();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-7dc6f8ba.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.8.
|
|
4
|
+
Stencil Client Patch Browser v2.8.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,h as o}from"./p-
|
|
1
|
+
import{r as l,h as o}from"./p-4ab229d3.js";const r={"arrow-up":"M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z","arrow-down":"M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z",left:"M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z",right:"M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z",up:"M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z",down:"M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z",more:"M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z"},e=Object.keys(r),t=class{constructor(t){l(this,t),this.colors={},this.sizes=[24],this.icons=[...e,"pad"],this.protoIcon=(l,e,t=24)=>{const i=r[l];return o("svg",{width:t,height:t,viewBox:"0 0 24 24",role:"img","aria-labelledby":"title"},o("title",null,l),o("g",{fill:e},o("path",{d:i})),o("path",{d:"M0 0h24v24H0z",fill:"none"}))},this.iconRow=l=>{const{colors:r,icons:e,protoIcon:t}=this;return o("div",{class:"proof"},o("div",{class:"label"},l,t("down","currentColor")),o("hr",null),o("div",{class:"row"},e.map((o=>t(o,r[o],l)))))}}render(){const{sizes:l}=this;return o("div",{class:"page"},o("h1",null,"Icon Proofs"),o("div",{class:"sheet"},l.map((l=>this.iconRow(l)))),";")}};t.style=".page{color:var(--clrs-navy);font-family:'Roboto', 'Helvetica Neue', Arial, sans-serif;-webkit-font-smoothing:antialiased}.sheet{display:flex;flex-direction:column;margin:16px}.proof{display:flex;flex-direction:column;margin-bottom:32px}.proof svg{fill:var(--cx-icon-fill, '#111111')}.label{font-size:24px;font-weight:bold;color:var(--clrs-red);display:flex;flex-direction:row;align-items:center}.row{display:flex;flex-direction:row;flex-wrap:wrap}h1{color:var(--clrs-red);text-transform:uppercase;font-size:4em;font-weight:100;text-align:center}hr{margin-left:0;margin-right:0}";export{t as icon_proofs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as o,b as s}from"./p-
|
|
1
|
+
import{p as o,b as s}from"./p-4ab229d3.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),o(r)})().then((o=>s([["p-a7d967f4",[[1,"icon-proofs",{colors:[16],sizes:[16]}]]]],o)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-icons-wc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.151",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"format": "prettier --write src"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "2.8.
|
|
30
|
+
"@stencil/core": "2.8.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/jest": "27.0.1",
|
|
34
34
|
"@types/puppeteer": "5.4.4",
|
|
35
|
-
"cspell": "5.
|
|
35
|
+
"cspell": "5.10.0",
|
|
36
36
|
"eslint": "7.32.0",
|
|
37
37
|
"jest": "26.6.3",
|
|
38
|
-
"prettier": "2.4.
|
|
38
|
+
"prettier": "2.4.1",
|
|
39
39
|
"puppeteer": "10.2.0",
|
|
40
40
|
"tslint": "6.1.3",
|
|
41
41
|
"typescript": "4.4.3"
|