@govtechsg/sgds-web-component 3.1.0-rc.2 → 3.1.0-rc.3

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.
@@ -5243,6 +5243,7 @@
5243
5243
  if (this.value) {
5244
5244
  this._updateInputValue();
5245
5245
  }
5246
+ console.log(this.input, "adding this to check checkbox group input");
5246
5247
  }
5247
5248
  render() {
5248
5249
  return html `
@@ -5256,9 +5257,7 @@
5256
5257
  </div>
5257
5258
  <input
5258
5259
  type="text"
5259
- class="checkbox-group-validation-input ${classMap({
5260
- "is-invalid": this.hasFeedback && this.invalid
5261
- })}"
5260
+ class="checkbox-group-validation-input"
5262
5261
  ?required=${this.required}
5263
5262
  tabindex="-1"
5264
5263
  @change=${(e) => {
@@ -5278,7 +5277,7 @@
5278
5277
  </svg>
5279
5278
  </slot>
5280
5279
  <div id="checkbox-feedback" tabindex="0" class="invalid-feedback">
5281
- ${this.invalidFeedback ? this.invalidFeedback : this.validationMessage}
5280
+ ${this.invalidFeedback ? this.invalidFeedback : this.input.validationMessage}
5282
5281
  </div>
5283
5282
  </div>
5284
5283
  `
@@ -5288,12 +5287,6 @@
5288
5287
  }
5289
5288
  }
5290
5289
  SgdsCheckboxGroup.styles = [...SgdsElement.styles, css_248z$6, css_248z$4, css_248z, css_248z$5];
5291
- __decorate([
5292
- queryAssignedElements({ flatten: true })
5293
- ], SgdsCheckboxGroup.prototype, "checkboxes", void 0);
5294
- __decorate([
5295
- queryAsync("slot")
5296
- ], SgdsCheckboxGroup.prototype, "checkboxesAsync", void 0);
5297
5290
  __decorate([
5298
5291
  property({ reflect: true })
5299
5292
  ], SgdsCheckboxGroup.prototype, "label", void 0);