@progressive-development/pd-forms 0.1.38 → 0.1.40

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent pd-forms following open-wc recommendations",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.1.38",
6
+ "version": "0.1.40",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@lit-labs/motion": "^1.0.2",
23
23
  "@lit/localize": "^0.11.2",
24
- "@progressive-development/pd-icon": "^0.1.15",
24
+ "@progressive-development/pd-icon": "^0.1.16",
25
25
  "@progressive-development/pd-shared-styles": "0.1.1",
26
26
  "lit": "^2.2.0"
27
27
  },
package/src/PdCheckbox.js CHANGED
@@ -242,7 +242,7 @@ export class PdCheckbox extends PdBaseUIInput {
242
242
  ${this._renderLabel(inputId)}
243
243
  <div @click="${this.onClick}" class="${classMap(classMapVal)}">
244
244
  <a href="#" @click="${this.linkClick}" @keypress="${this.onKeyPress}" class="${classMap(aClassMap)}">
245
- <pd-icon icon="checkBox" class="small" ?activeIcon="${checked}"></pd-icon>
245
+ <pd-icon icon="${this.isSwitch ? "checkBox" : "checkBoxOnlyCheck"}" class="small" ?activeIcon="${checked}"></pd-icon>
246
246
  </a>
247
247
  ${this._hasInner ? html`
248
248
  <span class="label">