smoothly 1.2.1-alpha.51 → 1.2.1-alpha.52

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.
@@ -12368,6 +12368,7 @@ const SmoothlySubmit = class {
12368
12368
  this.prevent = true;
12369
12369
  }
12370
12370
  async componentWillLoad() {
12371
+ console.warn(`smoothly-submit is deprecated, use smoothly-input-submit instead.\n <smoothly-button type="submit"> can also be used if you're using a regular form.`);
12371
12372
  this.smoothlyInputLoad.emit(parent => {
12372
12373
  if (Submittable.is(parent)) {
12373
12374
  this.parent = parent;
@@ -12379,7 +12380,7 @@ const SmoothlySubmit = class {
12379
12380
  (_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
12380
12381
  }
12381
12382
  render() {
12382
- return (index.h(Button, { key: '2fde8c38033bc1494fa746a8556158ccd52a4c17', disabled: this.disabled, type: this.type }, index.h("slot", { key: '05b575eeb3525cf92656ceab8bece00899e12a14' })));
12383
+ return (index.h(Button, { key: 'b146cb9c87d03262e7aca30400e9e3de10dda6e8', disabled: this.disabled, type: this.type }, index.h("slot", { key: '51a9fb96c4698e8462b2dd0e573d70ea5effea5e' })));
12383
12384
  }
12384
12385
  };
12385
12386
  SmoothlySubmit.style = SmoothlySubmitStyle0;