smoothly 1.1.1-alpha.149 → 1.1.1-alpha.150

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 (29) hide show
  1. package/dist/cjs/smoothly-app_104.cjs.entry.js +2 -2
  2. package/dist/cjs/smoothly-app_104.cjs.entry.js.map +1 -1
  3. package/dist/collection/components/input/checkbox/index.js +2 -2
  4. package/dist/collection/components/input/checkbox/index.js.map +1 -1
  5. package/dist/components/{p-954ec958.js → p-4094f43d.js} +3 -3
  6. package/dist/components/{p-954ec958.js.map → p-4094f43d.js.map} +1 -1
  7. package/dist/components/{p-e0ac4973.js → p-52a3c93c.js} +2 -2
  8. package/dist/components/{p-e0ac4973.js.map → p-52a3c93c.js.map} +1 -1
  9. package/dist/components/{p-412c9043.js → p-bc714a1a.js} +2 -2
  10. package/dist/components/{p-412c9043.js.map → p-bc714a1a.js.map} +1 -1
  11. package/dist/components/{p-05999846.js → p-d2d6fafe.js} +3 -3
  12. package/dist/components/{p-05999846.js.map → p-d2d6fafe.js.map} +1 -1
  13. package/dist/components/{p-86603f0a.js → p-e3f14249.js} +3 -3
  14. package/dist/components/{p-86603f0a.js.map → p-e3f14249.js.map} +1 -1
  15. package/dist/components/smoothly-app-demo.js +5 -5
  16. package/dist/components/smoothly-form-demo-all.js +1 -1
  17. package/dist/components/smoothly-form-demo.js +1 -1
  18. package/dist/components/smoothly-input-checkbox-demo.js +1 -1
  19. package/dist/components/smoothly-input-checkbox.js +1 -1
  20. package/dist/components/smoothly-input-demo-standard.js +1 -1
  21. package/dist/components/smoothly-input-demo.js +1 -1
  22. package/dist/esm/smoothly-app_104.entry.js +2 -2
  23. package/dist/esm/smoothly-app_104.entry.js.map +1 -1
  24. package/dist/smoothly/{p-3adbabcb.entry.js → p-fc350fae.entry.js} +2 -2
  25. package/dist/smoothly/p-fc350fae.entry.js.map +1 -0
  26. package/dist/smoothly/smoothly.esm.js +1 -1
  27. package/dist/types/components/input/checkbox/index.d.ts +2 -1
  28. package/package.json +1 -1
  29. package/dist/smoothly/p-3adbabcb.entry.js.map +0 -1
@@ -8972,11 +8972,11 @@ const SmoothlyInputCheckbox = class {
8972
8972
  this.smoothlyInput.emit({ [this.name]: this.checked });
8973
8973
  (_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
8974
8974
  }
8975
- inputHandler() {
8975
+ click() {
8976
8976
  !this.disabled && !this.readonly && (this.checked = !this.checked);
8977
8977
  }
8978
8978
  render() {
8979
- return (index.h(index.Host, { key: 'd577235670937f8d918c148222a26351c005e247', onClick: () => this.inputHandler() }, index.h("input", { key: '01ae037c0e30264cd108fc5bc8a7049af35be1d8', type: "checkbox", checked: this.checked }), this.checked && index.h("smoothly-icon", { key: 'efd24ae66b5489814637c40f4731672201b6e0a2', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: '986ae2920b07e9b3349d0a0628343d7d4967ad5e' }, index.h("slot", { key: '958090ff9c3821804fcfd4b3ddefa81d407f4927' }))));
8979
+ return (index.h(index.Host, { key: 'be4db86b38048a0ecae1ab1cb22a469e586f4d60', onMouseDown: (e) => (this.mouseDownPosition = { x: e.clientX, y: e.clientY }), onMouseUp: (e) => { var _a; return ((_a = this.mouseDownPosition) === null || _a === void 0 ? void 0 : _a.x) == e.clientX && this.mouseDownPosition.y == e.clientY && this.click(); } }, index.h("input", { key: '47e1cbdd91998fb4cc82e9420ee7eacf09ece6ac', type: "checkbox", checked: this.checked }), this.checked && index.h("smoothly-icon", { key: 'd723f7ed02abb2e59cc57afbca631dba6b4e0d85', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: 'b6abc099f652881610cec208c32c1595b4beb638' }, index.h("slot", { key: '90428a9ac34f073178a70beace39e6d4e11c9639' }))));
8980
8980
  }
8981
8981
  static get watchers() { return {
8982
8982
  "checked": ["elementCheck"]