@hortiview/shared-components 0.0.6504 → 0.0.6849
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/dist/ListAreaService-DDlsV9UD.js +100 -0
- package/dist/assets/BaseView.css +1 -1
- package/dist/assets/HashTabView.css +1 -1
- package/dist/assets/ListAreaService.css +1 -1
- package/dist/components/AlertBanner/AlertBanner.js +19 -11
- package/dist/components/AlertBanner/AlertBanner.test.js +17 -23
- package/dist/components/BaseView/BaseView.d.ts +1 -1
- package/dist/components/BaseView/BaseView.js +57 -55
- package/dist/components/BaseView/BaseView.test.js +19 -25
- package/dist/components/BasicHeading/BasicHeading.js +52 -45
- package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
- package/dist/components/BlockView/BlockView.test.js +7 -7
- package/dist/components/ContextMenu/ContextMenu.test.js +6 -6
- package/dist/components/DeleteModal/DeleteModal.test.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.test.js +1 -1
- package/dist/components/EmptyView/EmptyView.test.js +1 -1
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +1 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +5 -5
- package/dist/components/FormComponents/FormRadio/FormRadio.test.js +8 -8
- package/dist/components/FormComponents/FormSelect/FormSelect.js +90 -1465
- package/dist/components/FormComponents/FormSelect/FormSelect.test.js +70 -3027
- package/dist/components/FormComponents/FormSlider/FormSlider.test.js +1 -1
- package/dist/components/FormComponents/FormText/FormText.test.js +1 -1
- package/dist/components/GenericTable/GenericTable.test.js +1 -1
- package/dist/components/HashTabView/HashTabView.js +33 -33
- package/dist/components/HashTabView/HashTabView.test.js +1 -1
- package/dist/components/HeaderFilter/HeaderFilter.test.js +1 -1
- package/dist/components/Iconify/Iconify.test.js +1 -1
- package/dist/components/InfoGroup/InfoGroup.js +4 -4
- package/dist/components/InfoGroup/InfoGroup.test.js +1 -1
- package/dist/components/ListArea/ListArea.js +1 -1
- package/dist/components/ListArea/ListArea.test.js +2 -2
- package/dist/components/ListArea/ListAreaService.d.ts +2 -2
- package/dist/components/ListArea/ListAreaService.js +1 -1
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +7 -7
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +30 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.js +22 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.test.d.ts +1 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +37 -0
- package/dist/components/Scrollbar/scrollbar.test.js +8 -8
- package/dist/components/SearchBar/SearchBar.test.js +1 -1
- package/dist/components/VerticalDivider/VerticalDivider.test.js +1 -1
- package/dist/hooks/useBreakpoint.d.ts +16 -11
- package/dist/hooks/useBreakpoint.js +2 -3
- package/dist/hooks/useBreakpoints.test.d.ts +1 -0
- package/dist/hooks/useBreakpoints.test.js +11 -0
- package/dist/index-DP2ENnrX.js +2963 -0
- package/dist/main.js +7 -7
- package/dist/react-tooltip.min-BzHiZW8k.js +1380 -0
- package/dist/{react.esm-BBemCHUU.js → react.esm-DoZanrUz.js} +1223 -1190
- package/dist/useBreakpoint-2MH8ICuE.js +28 -0
- package/package.json +1 -1
- package/dist/ListAreaService-BoNnFzrZ.js +0 -82
- package/dist/useBreakpoint-DROHPVxO.js +0 -35
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as c, s as e } from "../../react.esm-DoZanrUz.js";
|
|
3
3
|
import { DeleteModal as b } from "./DeleteModal.js";
|
|
4
4
|
import { d as B, t as a, v as o, g as t } from "../../vi.JYQecGiw-BbUbJcT8.js";
|
|
5
5
|
B("DeleteModal Test", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { r, s as t } from "../../react.esm-
|
|
2
|
+
import { a as r, s as t } from "../../react.esm-DoZanrUz.js";
|
|
3
3
|
import { Disclaimer as s } from "./Disclaimer.js";
|
|
4
4
|
import { d as i, t as m, g as e } from "../../vi.JYQecGiw-BbUbJcT8.js";
|
|
5
5
|
i("Disclaimer test", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as s, s as o, w as r, f as l } from "../../react.esm-DoZanrUz.js";
|
|
3
3
|
import { EmptyView as c } from "./EmptyView.js";
|
|
4
4
|
import { d as h, t as T, g as e, v as d } from "../../vi.JYQecGiw-BbUbJcT8.js";
|
|
5
5
|
h("EmptyView", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as n, s as t, f as m } from "../../../react.esm-DoZanrUz.js";
|
|
3
3
|
import { FormCheckBox as c } from "./FormCheckBox.js";
|
|
4
4
|
import { v as e, d as h, t as l, g as r } from "../../../vi.JYQecGiw-BbUbJcT8.js";
|
|
5
5
|
const a = e.fn();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as s, s as a, f as m } from "../../../react.esm-DoZanrUz.js";
|
|
3
3
|
import { FormDatePicker as c } from "./FormDatePicker.js";
|
|
4
4
|
import { v as e, d as f, t as l, g as r } from "../../../vi.JYQecGiw-BbUbJcT8.js";
|
|
5
5
|
const i = e.fn();
|
|
@@ -44,13 +44,13 @@ f("FormDatePicker Test", () => {
|
|
|
44
44
|
s(
|
|
45
45
|
/* @__PURE__ */ n(c, { propertyName: "birthday", label: "user.date-of-birth", closeLabel: "close", maxRangeYear: 0 })
|
|
46
46
|
);
|
|
47
|
-
const t =
|
|
48
|
-
r(t).toBeInTheDocument(), r(t).toBeInstanceOf(HTMLInputElement), r(
|
|
47
|
+
const t = a.getByRole("textbox");
|
|
48
|
+
r(t).toBeInTheDocument(), r(t).toBeInstanceOf(HTMLInputElement), r(a.getByText("user.date-of-birth")).toBeInTheDocument(), r(a.getByText("close")).toBeInTheDocument();
|
|
49
49
|
}), l("change FormDatePicker value", () => {
|
|
50
50
|
s(
|
|
51
51
|
/* @__PURE__ */ n(c, { propertyName: "birthday", label: "user.date-of-birth", closeLabel: "close", maxRangeYear: 0 })
|
|
52
52
|
);
|
|
53
|
-
const t =
|
|
54
|
-
m.change(t, { target: { value:
|
|
53
|
+
const t = a.getByRole("textbox"), o = /* @__PURE__ */ new Date();
|
|
54
|
+
m.change(t, { target: { value: o } }), r(t.getAttribute("value")).toBe(o.toString());
|
|
55
55
|
});
|
|
56
56
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as s, s as t, f as m } from "../../../react.esm-DoZanrUz.js";
|
|
3
3
|
import { FormRadio as l } from "./FormRadio.js";
|
|
4
4
|
import { v as e, d as c, t as i, g as o } from "../../../vi.JYQecGiw-BbUbJcT8.js";
|
|
5
|
-
const
|
|
5
|
+
const r = e.fn();
|
|
6
6
|
e.mock("react-hook-form", () => ({
|
|
7
7
|
...e.importActual("react-hook-form"),
|
|
8
8
|
Controller: ({
|
|
9
|
-
render:
|
|
10
|
-
}) =>
|
|
9
|
+
render: a
|
|
10
|
+
}) => a({
|
|
11
11
|
field: {
|
|
12
|
-
onChange:
|
|
12
|
+
onChange: r
|
|
13
13
|
},
|
|
14
14
|
fieldState: { error: { message: "error" } }
|
|
15
15
|
}),
|
|
@@ -37,7 +37,7 @@ e.mock("react-hook-form", () => ({
|
|
|
37
37
|
},
|
|
38
38
|
formState: { errors: {} },
|
|
39
39
|
watch: () => "2024-08-07",
|
|
40
|
-
setValue:
|
|
40
|
+
setValue: r
|
|
41
41
|
})
|
|
42
42
|
}));
|
|
43
43
|
c("FormRadio Test", () => {
|
|
@@ -67,7 +67,7 @@ c("FormRadio Test", () => {
|
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
69
|
);
|
|
70
|
-
const
|
|
71
|
-
m.click(
|
|
70
|
+
const a = t.getAllByRole("radio");
|
|
71
|
+
m.click(a[0]), o(r).toHaveBeenCalled();
|
|
72
72
|
});
|
|
73
73
|
});
|