@creative-web-solution/front-library 7.1.7 → 7.1.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/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## 7.1.8
5
+
6
+ * SelectSkin: Fix templating
7
+
8
+
4
9
  ## 7.1.7
5
10
 
6
11
  * Typescript: Fix some type
@@ -389,14 +389,17 @@ export default class SkinSelect implements FLib.SkinSelect.SkinSelect {
389
389
 
390
390
  for ( const opt of Array.from( this.#$select.options ) ) {
391
391
  HTML_LIST.push( quickTemplate( this.#options.listTpl.item, {
392
- "onClass": opt.selected ? " on" : "",
393
- "text": opt.text,
394
- "value": opt.value
392
+ "onClass": opt.selected ? " on" : "",
393
+ "text": opt.text,
394
+ "value": opt.value,
395
+ "layerClassName": this.#options.layerClassName,
396
+ "listClassName": this.#options.listClassName
395
397
  } ) );
396
398
  }
397
399
 
398
400
  this.#$parent.appendChild( strToDOM( quickTemplate( this.#options.listTpl.wrapper, {
399
- "items": HTML_LIST.join( '' )
401
+ "items": HTML_LIST.join( '' ),
402
+ "itemClassName": this.#options.itemClassName
400
403
  } ) ) );
401
404
 
402
405
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Front Library
2
2
 
3
- @version: 7.1.7
3
+ @version: 7.1.8
4
4
 
5
5
 
6
6
  ## Use
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@creative-web-solution/front-library",
3
3
  "title": "Frontend library",
4
4
  "description": "Frontend functions and modules",
5
- "version": "7.1.7",
5
+ "version": "7.1.8",
6
6
  "homepage": "https://github.com/creative-web-solution/front-library",
7
7
  "author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
8
8
  "keywords": [],