@hortiview/shared-components 0.0.9195 → 0.0.9233
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/components/BaseView/BaseView.js +45 -37
- package/dist/components/BlockView/BlockView.js +15 -15
- package/dist/components/BlockView/BlockView.test.js +4 -4
- package/dist/components/ChipCard/ChipCard.js +11 -9
- package/dist/components/ContextMenu/ContextMenu.js +31 -31
- package/dist/components/ContextMenu/ContextMenu.test.js +17 -17
- package/dist/components/DeleteModal/DeleteModal.js +41 -32
- package/dist/components/EmptyView/EmptyView.js +21 -13
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +12 -3
- package/dist/components/FormComponents/FormSelect/FormSelect.js +86 -77
- package/dist/components/FormComponents/FormSlider/FormSlider.js +14 -13
- package/dist/components/FormComponents/FormText/FormText.js +35 -32
- package/dist/components/HashTabView/HashTabView.js +68 -57
- package/dist/components/ListArea/ListArea.js +174 -165
- package/dist/components/ListArea/ListAreaService.d.ts +2 -0
- package/dist/components/ListArea/ListAreaService.js +41 -31
- package/dist/components/Modal/Modal.js +3 -2
- package/dist/components/SearchBar/SearchBar.js +16 -15
- package/package.json +1 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Modal as l } from "@element/react-components";
|
|
3
3
|
import { s as m } from "../../modal.module-BlDp1Wiq.js";
|
|
4
|
-
const
|
|
4
|
+
const d = (a) => /* @__PURE__ */ o(
|
|
5
5
|
l,
|
|
6
6
|
{
|
|
7
7
|
...a,
|
|
8
|
+
"data-testid": "modal",
|
|
8
9
|
className: `${a.className ?? ""} ${a.modalSize === "fullscreen" ? m.modal : ""}`
|
|
9
10
|
}
|
|
10
11
|
);
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
d as Modal
|
|
13
14
|
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Textfield as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Textfield as l, IconButton as s } from "@element/react-components";
|
|
3
3
|
import { s as c } from "../../searchBar.module-9gKyrZRT.js";
|
|
4
|
-
const
|
|
4
|
+
const p = ({
|
|
5
5
|
className: i = "",
|
|
6
|
-
dense:
|
|
7
|
-
searchTerm:
|
|
8
|
-
setSearchTerm:
|
|
6
|
+
dense: r = !1,
|
|
7
|
+
searchTerm: t,
|
|
8
|
+
setSearchTerm: a,
|
|
9
9
|
placeholder: n
|
|
10
|
-
}) => /* @__PURE__ */
|
|
11
|
-
|
|
10
|
+
}) => /* @__PURE__ */ o(
|
|
11
|
+
l,
|
|
12
12
|
{
|
|
13
|
+
"data-testid": "search-bar-input",
|
|
13
14
|
className: `${i ?? ""} ${c.searchbar}`,
|
|
14
|
-
dense:
|
|
15
|
+
dense: r,
|
|
15
16
|
variant: "outlined",
|
|
16
17
|
placeholder: n,
|
|
17
|
-
value:
|
|
18
|
-
onChange: (
|
|
18
|
+
value: t,
|
|
19
|
+
onChange: (e) => a(e.target.value),
|
|
19
20
|
fullWidth: !0,
|
|
20
|
-
trailingIcon: /* @__PURE__ */
|
|
21
|
+
trailingIcon: /* @__PURE__ */ o(
|
|
21
22
|
s,
|
|
22
23
|
{
|
|
23
|
-
icon:
|
|
24
|
-
onClick: () =>
|
|
24
|
+
icon: t ? "close" : "search",
|
|
25
|
+
onClick: () => t ? a("") : void 0
|
|
25
26
|
}
|
|
26
27
|
)
|
|
27
28
|
}
|
|
28
29
|
);
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
p as SearchBar
|
|
31
32
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hortiview/shared-components",
|
|
3
3
|
"description": "This is a shared component library. It should used in the HortiView platform and its modules.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.9233",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
|
|
7
7
|
"author": "Falk Menge <falk.menge.ext@bayer.com>",
|