@vaadin/icons 23.2.0-alpha2 → 23.2.0-alpha5

Sign up to get free protection for your applications and to get access to all the features.
package/iconset.js CHANGED
@@ -9,9 +9,9 @@ console.warn(
9
9
  `WARNING: Since Vaadin 23.1, using <iron-icon> is deprecated. Please use <vaadin-icon> and '@vaadin/icons/vaadin-iconset.js' instead.`,
10
10
  );
11
11
 
12
- const $_documentContainer = document.createElement('template');
12
+ const template = document.createElement('template');
13
13
 
14
- $_documentContainer.innerHTML = `<iron-iconset-svg name="vaadin" size="16">
14
+ template.innerHTML = `<iron-iconset-svg name="vaadin" size="16">
15
15
  <svg><defs>
16
16
  <g id="abacus"><path d="M0 0v16h16v-16h-16zM14 2v3h-0.1c-0.2-0.6-0.8-1-1.4-1s-1.2 0.4-1.4 1h-3.2c-0.2-0.6-0.7-1-1.4-1s-1.2 0.4-1.4 1h-0.2c-0.2-0.6-0.7-1-1.4-1s-1.2 0.4-1.4 1h-0.1v-3h12zM13.9 10c-0.2-0.6-0.8-1-1.4-1s-1.2 0.4-1.4 1h-0.2c-0.2-0.6-0.8-1-1.4-1s-1.2 0.4-1.4 1h-3.2c-0.2-0.6-0.7-1-1.4-1s-1.2 0.4-1.4 1h-0.1v-4h0.1c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h3.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.1l-0.1 4zM2 14v-3h0.1c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h3.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.1v3h-12z"></path></g>
17
17
  <g id="absolute-position"><path d="M0 0v16h16v-16h-16zM15 15h-14v-6h3v1l3-2-3-2v1h-3v-6h6v3h-1l2 3 2-3h-1v-3h6v14z"></path></g>
@@ -657,4 +657,4 @@ $_documentContainer.innerHTML = `<iron-iconset-svg name="vaadin" size="16">
657
657
  </defs></svg>
658
658
  </iron-iconset-svg>`;
659
659
 
660
- document.head.appendChild($_documentContainer.content);
660
+ document.head.appendChild(template.content);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/icons",
3
- "version": "23.2.0-alpha2",
3
+ "version": "23.2.0-alpha5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,7 +20,7 @@
20
20
  "module": "vaadin-iconset.js",
21
21
  "type": "module",
22
22
  "scripts": {
23
- "icons": "gulp icons"
23
+ "icons": "gulp icons --gulpfile gulpfile.cjs"
24
24
  },
25
25
  "files": [
26
26
  "iconset.js",
@@ -38,7 +38,7 @@
38
38
  "@polymer/iron-icon": "^3.0.0",
39
39
  "@polymer/iron-iconset-svg": "^3.0.0",
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/icon": "23.2.0-alpha2"
41
+ "@vaadin/icon": "23.2.0-alpha5"
42
42
  },
43
43
  "devDependencies": {
44
44
  "cheerio": "^1.0.0-rc.10",
@@ -47,5 +47,5 @@
47
47
  "gulp-concat": "^2.6.1",
48
48
  "gulp-modify": "^0.1.1"
49
49
  },
50
- "gitHead": "c9b8113d0fa9a602f8b9cb915c1826355af2e8df"
50
+ "gitHead": "c6247fd741d61096d75a71feda4a1faf88b6f0ce"
51
51
  }
package/vaadin-iconset.js CHANGED
@@ -6,9 +6,9 @@
6
6
  import '@vaadin/icon/vaadin-iconset.js';
7
7
  import '@vaadin/icon/vaadin-icon.js';
8
8
 
9
- const $_documentContainer = document.createElement('template');
9
+ const template = document.createElement('template');
10
10
 
11
- $_documentContainer.innerHTML = `<vaadin-iconset name="vaadin" size="16">
11
+ template.innerHTML = `<vaadin-iconset name="vaadin" size="16">
12
12
  <svg><defs>
13
13
  <g id="vaadin:abacus"><path d="M0 0v16h16v-16h-16zM14 2v3h-0.1c-0.2-0.6-0.8-1-1.4-1s-1.2 0.4-1.4 1h-3.2c-0.2-0.6-0.7-1-1.4-1s-1.2 0.4-1.4 1h-0.2c-0.2-0.6-0.7-1-1.4-1s-1.2 0.4-1.4 1h-0.1v-3h12zM13.9 10c-0.2-0.6-0.8-1-1.4-1s-1.2 0.4-1.4 1h-0.2c-0.2-0.6-0.8-1-1.4-1s-1.2 0.4-1.4 1h-3.2c-0.2-0.6-0.7-1-1.4-1s-1.2 0.4-1.4 1h-0.1v-4h0.1c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h3.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.1l-0.1 4zM2 14v-3h0.1c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h3.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.2c0.2 0.6 0.8 1 1.4 1s1.2-0.4 1.4-1h0.1v3h-12z"></path></g>
14
14
  <g id="vaadin:absolute-position"><path d="M0 0v16h16v-16h-16zM15 15h-14v-6h3v1l3-2-3-2v1h-3v-6h6v3h-1l2 3 2-3h-1v-3h6v14z"></path></g>
@@ -654,4 +654,4 @@ $_documentContainer.innerHTML = `<vaadin-iconset name="vaadin" size="16">
654
654
  </defs></svg>
655
655
  </vaadin-iconset>`;
656
656
 
657
- document.head.appendChild($_documentContainer.content);
657
+ document.head.appendChild(template.content);