@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 +5 -0
- package/Modules/SkinSelect.ts +7 -4
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Modules/SkinSelect.ts
CHANGED
|
@@ -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":
|
|
393
|
-
"text":
|
|
394
|
-
"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":
|
|
401
|
+
"items": HTML_LIST.join( '' ),
|
|
402
|
+
"itemClassName": this.#options.itemClassName
|
|
400
403
|
} ) ) );
|
|
401
404
|
|
|
402
405
|
|
package/README.md
CHANGED
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.
|
|
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": [],
|