@octax-app/hot-date-react 0.1.1 → 0.1.2
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.
|
@@ -8924,7 +8924,7 @@ var Gc = class extends HTMLElement {
|
|
|
8924
8924
|
this.inputElement.blur();
|
|
8925
8925
|
}
|
|
8926
8926
|
forceDisplayMode(e) {
|
|
8927
|
-
e ? (this.isDisplayMode = !0, this.inputElement.value = this.formatValue(e), this.ghostElement.hidden = !0) : (this.isDisplayMode = !1, this.inputElement.value = this.rawInputValue, this.ghostElement.hidden = !1, this.renderGhost());
|
|
8927
|
+
this.shadowRoot?.activeElement !== this.inputElement && (e ? (this.isDisplayMode = !0, this.inputElement.value = this.formatValue(e), this.ghostElement.hidden = !0) : (this.isDisplayMode = !1, this.inputElement.value = this.rawInputValue, this.ghostElement.hidden = !1, this.renderGhost()));
|
|
8928
8928
|
}
|
|
8929
8929
|
clear() {
|
|
8930
8930
|
this.isDisplayMode = !1, this.ghostElement.hidden = !1, this.rawInputValue = "", this.committedValue = null, this.removeAttribute("value"), this.internals?.setFormValue(""), this.activeSuggestionIndexValue = 0, this.syncInputPresentation(), this.parseAndRender(), this.emit("clear", {});
|
package/dist/hot-date-react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./hot-date
|
|
1
|
+
import { t as e } from "./hot-date-DdTwPCC7.js";
|
|
2
2
|
import { forwardRef as t, useEffect as n, useImperativeHandle as r, useRef as i, useState as a } from "react";
|
|
3
3
|
import { jsx as o } from "react/jsx-runtime";
|
|
4
4
|
//#region src/react/format.ts
|
package/dist/hot-date.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./hot-date
|
|
1
|
+
import { t as e } from "./hot-date-DdTwPCC7.js";
|
|
2
2
|
export { e as HotDateElement };
|