@hortiview/shared-components 0.0.7369 → 0.0.7403

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.
@@ -0,0 +1,16 @@
1
+ import "./assets/genericTable.css";
2
+ const t = "_filterButton_1xlao_1", e = "_filterBadge_1xlao_6", o = "_dense_1xlao_12", i = {
3
+ filterButton: t,
4
+ filterBadge: e,
5
+ dense: o
6
+ }, s = "_topBar_1msoo_1", a = "_filterBar_1msoo_5", _ = "_emptyTable_1msoo_9", l = "_elevation_1msoo_17", n = "_table_1msoo_22", B = {
7
+ topBar: s,
8
+ filterBar: a,
9
+ emptyTable: _,
10
+ elevation: l,
11
+ table: n
12
+ };
13
+ export {
14
+ B as a,
15
+ i as s
16
+ };
@@ -0,0 +1,12 @@
1
+ import "./assets/infoGroup.css";
2
+ const t = "_dividerContainer_4c1hq_1", i = "_fullWidth_4c1hq_6", e = "_centerDefaultComponent_4c1hq_10", n = "_verticalDivider_4c1hq_14", o = "_mainGroup_4c1hq_22", r = "_textAlignRight_4c1hq_28", _ = {
3
+ dividerContainer: t,
4
+ fullWidth: i,
5
+ centerDefaultComponent: e,
6
+ verticalDivider: n,
7
+ mainGroup: o,
8
+ textAlignRight: r
9
+ };
10
+ export {
11
+ _ as s
12
+ };
package/dist/main.d.ts CHANGED
@@ -26,6 +26,7 @@ export { FormSelect } from './components/FormComponents/FormSelect/FormSelect';
26
26
  export { FormSlider } from './components/FormComponents/FormSlider/FormSlider';
27
27
  export { FormText } from './components/FormComponents/FormText/FormText';
28
28
  export { AvailableCustomIcons } from './enums/AvailableCustomIcons';
29
+ export { ThemeColor } from './enums/ThemeColor';
29
30
  export { useBreakpoints } from './hooks/useBreakpoints';
30
31
  export { capitalizeFirstLetters } from './services/UtilService';
31
32
  export type { FormSelectOption } from './components/FormComponents/FormSelect/FormSelect';
package/dist/main.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./genericTable.module-CXfRg0e4.js";
1
+ import "./genericTable.module-CNV1Yt1K.js";
2
2
  import { AlertBanner as t } from "./components/AlertBanner/AlertBanner.js";
3
3
  import { BaseView as p } from "./components/BaseView/BaseView.js";
4
4
  import { BasicHeading as x } from "./components/BasicHeading/BasicHeading.js";
@@ -8,11 +8,11 @@ import { DeleteModal as s } from "./components/DeleteModal/DeleteModal.js";
8
8
  import { Disclaimer as d } from "./components/Disclaimer/Disclaimer.js";
9
9
  import { EmptyView as S } from "./components/EmptyView/EmptyView.js";
10
10
  import { Filter as u } from "./components/Filter/Filter.js";
11
- import { GenericTable as V } from "./components/GenericTable/GenericTable.js";
12
- import { HashTabView as D } from "./components/HashTabView/HashTabView.js";
13
- import { HeaderFilter as T } from "./components/HeaderFilter/HeaderFilter.js";
14
- import { I as v } from "./Iconify-CY9lZjFd.js";
15
- import { InfoGroup as C } from "./components/InfoGroup/InfoGroup.js";
11
+ import { GenericTable as T } from "./components/GenericTable/GenericTable.js";
12
+ import { HashTabView as h } from "./components/HashTabView/HashTabView.js";
13
+ import { HeaderFilter as C } from "./components/HeaderFilter/HeaderFilter.js";
14
+ import { I } from "./Iconify-CY9lZjFd.js";
15
+ import { InfoGroup as A } from "./components/InfoGroup/InfoGroup.js";
16
16
  import { ListArea as L } from "./components/ListArea/ListArea.js";
17
17
  import { LoadingSpinner as y } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
18
18
  import { OverflowTooltip as M } from "./components/OverflowTooltip/OverflowTooltip.js";
@@ -26,8 +26,9 @@ import { FormSelect as W } from "./components/FormComponents/FormSelect/FormSele
26
26
  import { FormSlider as _ } from "./components/FormComponents/FormSlider/FormSlider.js";
27
27
  import { FormText as rr } from "./components/FormComponents/FormText/FormText.js";
28
28
  import { AvailableCustomIcons as er } from "./enums/AvailableCustomIcons.js";
29
- import { u as mr } from "./useBreakpoints-BNeVhjjZ.js";
30
- import { capitalizeFirstLetters as fr } from "./services/UtilService.js";
29
+ import { ThemeColor as mr } from "./enums/ThemeColor.js";
30
+ import { u as fr } from "./useBreakpoints-BNeVhjjZ.js";
31
+ import { capitalizeFirstLetters as ir } from "./services/UtilService.js";
31
32
  export {
32
33
  t as AlertBanner,
33
34
  er as AvailableCustomIcons,
@@ -45,18 +46,19 @@ export {
45
46
  W as FormSelect,
46
47
  _ as FormSlider,
47
48
  rr as FormText,
48
- V as GenericTable,
49
- D as HashTabView,
50
- T as HeaderFilter,
51
- v as Iconify,
52
- C as InfoGroup,
49
+ T as GenericTable,
50
+ h as HashTabView,
51
+ C as HeaderFilter,
52
+ I as Iconify,
53
+ A as InfoGroup,
53
54
  L as ListArea,
54
55
  y as LoadingSpinner,
55
56
  M as OverflowTooltip,
56
57
  E as ScrollbarX,
57
58
  O as ScrollbarY,
58
59
  R as SearchBar,
60
+ mr as ThemeColor,
59
61
  Y as VerticalDivider,
60
- fr as capitalizeFirstLetters,
61
- mr as useBreakpoints
62
+ ir as capitalizeFirstLetters,
63
+ fr as useBreakpoints
62
64
  };
@@ -7,6 +7,7 @@
7
7
  export type FilterData = {
8
8
  id: string;
9
9
  title: string;
10
+ icon?: string;
10
11
  availableOptions: FilterOption[];
11
12
  };
12
13
  /**
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.7369",
4
+ "version": "0.0.7403",
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>",
@@ -37,14 +37,14 @@
37
37
  "@chromatic-com/storybook": "1.5.0",
38
38
  "@element/react-components": "^5.42.4",
39
39
  "@element/themes": "^5.44.4",
40
- "@storybook/addon-essentials": "^8.2.4",
41
- "@storybook/addon-interactions": "^8.2.4",
42
- "@storybook/addon-links": "^8.2.4",
43
- "@storybook/addon-onboarding": "^8.2.4",
44
- "@storybook/blocks": "^8.2.4",
45
- "@storybook/react": "^8.2.4",
46
- "@storybook/react-vite": "^8.2.4",
47
- "@storybook/test": "^8.2.4",
40
+ "@storybook/addon-essentials": "^8.2.5",
41
+ "@storybook/addon-interactions": "^8.2.5",
42
+ "@storybook/addon-links": "^8.2.5",
43
+ "@storybook/addon-onboarding": "^8.2.5",
44
+ "@storybook/blocks": "^8.2.5",
45
+ "@storybook/react": "^8.2.5",
46
+ "@storybook/react-vite": "^8.2.5",
47
+ "@storybook/test": "^8.2.5",
48
48
  "@testing-library/jest-dom": "^6.4.2",
49
49
  "@testing-library/react": "^14.2.1",
50
50
  "@testing-library/user-event": "^14.5.2",
@@ -68,7 +68,7 @@
68
68
  "react-dom": "^18.3.1",
69
69
  "react-hook-form": "^7.51.2",
70
70
  "react-tooltip": "^5.26.4",
71
- "storybook": "^8.2.4",
71
+ "storybook": "^8.2.5",
72
72
  "typescript": "^5.2.2",
73
73
  "vite": "^5.1.6",
74
74
  "vite-plugin-dts": "^3.7.3",
@@ -1,15 +0,0 @@
1
- import "./assets/genericTable.css";
2
- const t = "_filterButton_66wbq_1", e = "_filterBadge_66wbq_6", n = {
3
- filterButton: t,
4
- filterBadge: e
5
- }, o = "_topBar_1msoo_1", a = "_filterBar_1msoo_5", s = "_emptyTable_1msoo_9", _ = "_elevation_1msoo_17", l = "_table_1msoo_22", i = {
6
- topBar: o,
7
- filterBar: a,
8
- emptyTable: s,
9
- elevation: _,
10
- table: l
11
- };
12
- export {
13
- i as a,
14
- n as s
15
- };
@@ -1,14 +0,0 @@
1
- import "./assets/infoGroup.css";
2
- const e = "_container_egebs_1", n = "_dividerContainer_egebs_10", o = "_mainGroup_egebs_16", t = "_row_egebs_21", _ = "_valueText_egebs_46", i = "_component_egebs_54", s = "_componentContainer_egebs_87", r = "_field_egebs_95", a = {
3
- container: e,
4
- dividerContainer: n,
5
- mainGroup: o,
6
- row: t,
7
- valueText: _,
8
- component: i,
9
- componentContainer: s,
10
- field: r
11
- };
12
- export {
13
- a as s
14
- };