@golemui/gui-react 0.13.1 → 0.13.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.
- package/CHANGELOG.md +10 -0
- package/{DateInput-CqFHtc9F.js → DateInput-Vg-781Bt.js} +1 -1
- package/{DatePicker-BmW3TO0X.js → DatePicker-DIkcgt7S.js} +1 -1
- package/{RangeDateInput-DrVR4T_z.js → RangeDateInput-BoAxI9M9.js} +1 -1
- package/{RangeDatePicker-Cq_Tt6NE.js → RangeDatePicker-Xt0affe_.js} +1 -1
- package/{date-input-Dux0mFJw.js → date-input-DTzk68PR.js} +7 -7
- package/index.d.ts +4 -3
- package/index.js +420 -419
- package/index.umd.cjs +29 -29
- package/package.json +6 -6
- package/{range-date-input-8WtB1urD.js → range-date-input-CFAlkuja.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { useInputWidget as x } from "@golemui/react";
|
|
3
3
|
import "@golemui/gui-shared";
|
|
4
4
|
import { useCallback as D } from "react";
|
|
5
|
-
import "./date-input-
|
|
5
|
+
import "./date-input-DTzk68PR.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
function k(c) {
|
|
8
8
|
const u = c.widget, {
|
|
@@ -2,7 +2,7 @@ import { jsxs as L, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { useInputWidget as W } from "@golemui/react";
|
|
3
3
|
import "@golemui/gui-shared";
|
|
4
4
|
import { useState as Z, useRef as k, useCallback as M, useEffect as G } from "react";
|
|
5
|
-
import "./date-input-
|
|
5
|
+
import "./date-input-DTzk68PR.js";
|
|
6
6
|
import "./calendar-BgptByan.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { E as J } from "./Errors-D7gxq0y6.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { useInputWidget as j } from "@golemui/react";
|
|
3
3
|
import "@golemui/gui-shared";
|
|
4
4
|
import { useCallback as w } from "react";
|
|
5
|
-
import "./range-date-input-
|
|
5
|
+
import "./range-date-input-CFAlkuja.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
function N(u) {
|
|
8
8
|
const g = u.widget, {
|
|
@@ -2,7 +2,7 @@ import { jsxs as k, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { useInputWidget as te } from "@golemui/react";
|
|
3
3
|
import "@golemui/gui-shared";
|
|
4
4
|
import { useState as A, useRef as C, useCallback as M, useEffect as ne } from "react";
|
|
5
|
-
import "./range-date-input-
|
|
5
|
+
import "./range-date-input-CFAlkuja.js";
|
|
6
6
|
import "./range-calendar-SAyiW3EF.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { E as re } from "./Errors-D7gxq0y6.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import "@golemui/gui-shared";
|
|
1
2
|
import { i as y, A as u, b as l, n as d, t as g } from "./directive-1yd1wdny.js";
|
|
3
|
+
import { c as m } from "./repeat-BucBfSPF.js";
|
|
2
4
|
import { r as p } from "./state-DI9ZsB5W.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { e as f } from "./class-map-DrTVAYz_.js";
|
|
5
|
+
import { e as _ } from "./class-map-DrTVAYz_.js";
|
|
6
|
+
import { l as f } from "./live-BfTBpQrp.js";
|
|
6
7
|
import { G as v, b as A, c as S } from "./templates-DBGyvZtc.js";
|
|
7
8
|
import { t as b } from "./date-BS1lA1xg.js";
|
|
8
|
-
import "@golemui/gui-shared";
|
|
9
9
|
var w = Object.defineProperty, I = Object.getOwnPropertyDescriptor, h = (t, e, a, i) => {
|
|
10
10
|
for (var r = i > 1 ? void 0 : i ? I(e, a) : e, n = t.length - 1, s; n >= 0; n--)
|
|
11
11
|
(s = t[n]) && (r = (i ? s(e, a, r) : s(r)) || r);
|
|
@@ -61,7 +61,7 @@ let o = class extends y {
|
|
|
61
61
|
|
|
62
62
|
<div class="gui-widget">
|
|
63
63
|
<div class="gui-date-input ${this.icon ? "gui-calendar--icon" : ""}" role="group">
|
|
64
|
-
${
|
|
64
|
+
${m(
|
|
65
65
|
e,
|
|
66
66
|
(i) => i.type,
|
|
67
67
|
(i, r) => {
|
|
@@ -81,7 +81,7 @@ let o = class extends y {
|
|
|
81
81
|
}
|
|
82
82
|
)}
|
|
83
83
|
</div>
|
|
84
|
-
${this.icon ? l`<span class=${
|
|
84
|
+
${this.icon ? l`<span class=${_(a)} data-icon=${this.icon}></span>` : u}
|
|
85
85
|
</div>
|
|
86
86
|
|
|
87
87
|
${this.showErrors && this.errors?.length ? S(this.uid, t) : u}
|
|
@@ -102,7 +102,7 @@ let o = class extends y {
|
|
|
102
102
|
?disabled=${this.disabled}
|
|
103
103
|
?readonly=${this.readOnly}
|
|
104
104
|
autocomplete="off"
|
|
105
|
-
.value=${
|
|
105
|
+
.value=${f(r)}
|
|
106
106
|
@keydown=${this.handleKeyDown}
|
|
107
107
|
@keyup=${(n) => this.handleKeyUp(n, t)}
|
|
108
108
|
@focus=${this.handleFocus}
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { GuiForm } from './lib/components/Form';
|
|
2
|
+
export type { ReactFormComponentProps } from './lib/components/Form';
|
|
3
|
+
export type { ListItemRendererProps } from './lib/components/item-renderers/props';
|
|
4
|
+
export { widgetLoaders } from './lib/widget.loaders';
|