@vaadin/vaadin-lumo-styles 23.1.0-beta1 → 23.1.0-beta2

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/gulpfile.js CHANGED
@@ -90,7 +90,7 @@ gulp.task('icons', async () => {
90
90
  )
91
91
  .pipe(gulp.dest(folder))
92
92
  .on('finish', () => {
93
- // iron-iconset-svg
93
+ // Iron-iconset-svg
94
94
  fs.readdir(folder, (err, filenames) => {
95
95
  if (err) {
96
96
  console.error(err);
@@ -132,12 +132,12 @@ ${createIconset(folder, filenames, 'lumo:')}
132
132
  });
133
133
  });
134
134
 
135
- // icon font
135
+ // Icon font
136
136
  gulp
137
137
  .src(`${folder}*.svg`)
138
138
  .pipe(
139
139
  sort({
140
- comparator: function (file1, file2) {
140
+ comparator(file1, file2) {
141
141
  return sortIconFilesNormalized(file1.relative, file2.relative);
142
142
  },
143
143
  }),
package/iconset.js CHANGED
@@ -6,6 +6,10 @@
6
6
  import '@polymer/iron-iconset-svg/iron-iconset-svg.js';
7
7
  import './version.js';
8
8
 
9
+ console.warn(
10
+ `WARNING: Since Vaadin 23.1, using <iron-icon> is deprecated. Please use <vaadin-icon> and '@vaadin/vaadin-lumo-styles/vaadin-iconset.js' instead.`,
11
+ );
12
+
9
13
  const $_documentContainer = document.createElement('template');
10
14
 
11
15
  $_documentContainer.innerHTML = `<iron-iconset-svg size="1000" name="lumo">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/vaadin-lumo-styles",
3
- "version": "23.1.0-beta1",
3
+ "version": "23.1.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,8 +42,8 @@
42
42
  "@polymer/iron-icon": "^3.0.0",
43
43
  "@polymer/iron-iconset-svg": "^3.0.0",
44
44
  "@polymer/polymer": "^3.0.0",
45
- "@vaadin/icon": "23.1.0-beta1",
46
- "@vaadin/vaadin-themable-mixin": "23.1.0-beta1"
45
+ "@vaadin/icon": "23.1.0-beta2",
46
+ "@vaadin/vaadin-themable-mixin": "23.1.0-beta2"
47
47
  },
48
48
  "devDependencies": {
49
49
  "gulp": "^4.0.2",
@@ -52,5 +52,5 @@
52
52
  "gulp-sort": "^2.0.0",
53
53
  "gulp-svgmin": "^4.1.0"
54
54
  },
55
- "gitHead": "8be43cf83102a6b9ccf309687446e590ce0164e8"
55
+ "gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
56
56
  }
package/version.js CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
  class Lumo extends HTMLElement {
7
7
  static get version() {
8
- return '23.1.0-beta1';
8
+ return '23.1.0-beta2';
9
9
  }
10
10
  }
11
11