@getflip/swirl-components 0.363.2 → 0.363.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.
package/components.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-08-11T08:37:40",
2
+ "timestamp": "2025-08-11T12:56:16",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.35.0",
@@ -56,6 +56,7 @@ const SwirlTimeInput = class {
56
56
  watchValue(newValue, oldValue) {
57
57
  if (newValue !== oldValue) {
58
58
  this.valueChange.emit(newValue);
59
+ this.mask.value = newValue;
59
60
  }
60
61
  }
61
62
  updateIconSize(smallIcon) {
@@ -144,7 +145,7 @@ const SwirlTimeInput = class {
144
145
  const className = index$2.classnames("time-input", {
145
146
  "time-input--inline": this.inline,
146
147
  });
147
- return (index.h(index.Host, { key: '39b650bef21d4378fe7c2281e59f7732eced9f4e' }, index.h("div", { key: '4047e3490f47ee4db04bbdfbaa25d5bfa8967e47', class: className }, index.h("input", { key: '7e44a86247a2940ea355bed8e9d21b8abb2c06c5', "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, type: "text" }), index.h("span", { key: '8a2656db86ae2f530f7b4c2b323d444fcf8cafa0', class: "time-input__icon" }, index.h("swirl-icon-time-outlined", { key: '51240f09d13d7bd04e0ddae837cbf5fcafb380af', size: this.iconSize })))));
148
+ return (index.h(index.Host, { key: 'bb150e1e738e6b70dd32089de213f0ad8ce49db8' }, index.h("div", { key: '58728d57b1349781a97070a9b8d47d27123946ab', class: className }, index.h("input", { key: '84e63c31acfc49b1b54fbce93c0351ed3359da28', "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, type: "text" }), index.h("span", { key: '98ac3a262dee95ab34e94f80a7632d074b881f64', class: "time-input__icon" }, index.h("swirl-icon-time-outlined", { key: '8266ab31d312c5d5947feb6c77dfe20b727cc601', size: this.iconSize })))));
148
149
  }
149
150
  get el() { return index.getElement(this); }
150
151
  static get watchers() { return {
@@ -47,6 +47,7 @@ export class SwirlTimeInput {
47
47
  watchValue(newValue, oldValue) {
48
48
  if (newValue !== oldValue) {
49
49
  this.valueChange.emit(newValue);
50
+ this.mask.value = newValue;
50
51
  }
51
52
  }
52
53
  updateIconSize(smallIcon) {
@@ -135,7 +136,7 @@ export class SwirlTimeInput {
135
136
  const className = classnames("time-input", {
136
137
  "time-input--inline": this.inline,
137
138
  });
138
- return (h(Host, { key: '39b650bef21d4378fe7c2281e59f7732eced9f4e' }, h("div", { key: '4047e3490f47ee4db04bbdfbaa25d5bfa8967e47', class: className }, h("input", { key: '7e44a86247a2940ea355bed8e9d21b8abb2c06c5', "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, type: "text" }), h("span", { key: '8a2656db86ae2f530f7b4c2b323d444fcf8cafa0', class: "time-input__icon" }, h("swirl-icon-time-outlined", { key: '51240f09d13d7bd04e0ddae837cbf5fcafb380af', size: this.iconSize })))));
139
+ return (h(Host, { key: 'bb150e1e738e6b70dd32089de213f0ad8ce49db8' }, h("div", { key: '58728d57b1349781a97070a9b8d47d27123946ab', class: className }, h("input", { key: '84e63c31acfc49b1b54fbce93c0351ed3359da28', "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, type: "text" }), h("span", { key: '98ac3a262dee95ab34e94f80a7632d074b881f64', class: "time-input__icon" }, h("swirl-icon-time-outlined", { key: '8266ab31d312c5d5947feb6c77dfe20b727cc601', size: this.iconSize })))));
139
140
  }
140
141
  static get is() { return "swirl-time-input"; }
141
142
  static get encapsulation() { return "scoped"; }