@cal.macconnachie/web-components 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2196,6 +2196,7 @@ let A = class extends B {
2196
2196
  full-width
2197
2197
  ?loading=${this.isLoading}
2198
2198
  ?disabled=${this.isLoading}
2199
+ @click=${(e) => this.handleSubmit(e)}
2199
2200
  >
2200
2201
  ${this.isLoading ? "Sending..." : "Send Reset Code"}
2201
2202
  </base-button>
@@ -2208,6 +2209,7 @@ let A = class extends B {
2208
2209
  full-width
2209
2210
  ?loading=${this.isLoading}
2210
2211
  ?disabled=${this.isLoading}
2212
+ @click=${(t) => this.handleSubmit(t)}
2211
2213
  >
2212
2214
  ${this.isLoading ? "Resetting..." : "Reset Password"}
2213
2215
  </base-button>
@@ -2221,6 +2223,7 @@ let A = class extends B {
2221
2223
  full-width
2222
2224
  ?loading=${this.isLoading}
2223
2225
  ?disabled=${!e || this.isLoading}
2226
+ @click=${(t) => this.handleSubmit(t)}
2224
2227
  >
2225
2228
  ${this.isLoading ? "Completing..." : "Complete Registration"}
2226
2229
  </base-button>
@@ -2233,6 +2236,7 @@ let A = class extends B {
2233
2236
  full-width
2234
2237
  ?loading=${this.isLoading}
2235
2238
  ?disabled=${this.isLoading}
2239
+ @click=${(e) => this.handleSubmit(e)}
2236
2240
  >
2237
2241
  ${this.isLoading ? "Loading..." : this.mode === "signup" ? "Continue" : "Sign In"}
2238
2242
  </base-button>
@@ -5308,6 +5312,7 @@ let K = class extends B {
5308
5312
  super(...arguments), this.value = "", this.type = "text", this.required = !1, this.disabled = !1, this.size = "md", this.inputId = `input-${Math.random().toString(36).substr(2, 9)}`;
5309
5313
  }
5310
5314
  handleInput(e) {
5315
+ e.stopPropagation();
5311
5316
  const t = e.target;
5312
5317
  this.value = t.value, this.dispatchEvent(
5313
5318
  new CustomEvent("input", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "lit",