@hortiview/shared-components 2.20.1 → 2.22.0

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.
@@ -22,25 +22,27 @@ export declare enum AvailableCustomIcons {
22
22
  'season-end' = 17,
23
23
  'vertical-farming' = 18,
24
24
  'crop-independent' = 19,
25
- 'sunny-check' = 20,
26
- bayer = 21,
27
- block = 22,
28
- cloud = 23,
29
- farm = 24,
30
- fertigation = 25,
31
- glasshouse = 26,
32
- greenhouse = 27,
33
- hortiview = 28,
34
- orchard = 29,
35
- potato = 30,
36
- season = 31,
37
- subscription = 32,
38
- tomato = 33,
39
- weather = 34,
40
- wind = 35,
41
- apple = 36,
42
- banana = 37,
43
- berries = 38,
44
- citrus = 39,
45
- grapes = 40
25
+ 'crop-protection' = 20,
26
+ 'sunny-check' = 21,
27
+ 'sentiment-very-dissatisfied' = 22,
28
+ bayer = 23,
29
+ block = 24,
30
+ cloud = 25,
31
+ farm = 26,
32
+ fertigation = 27,
33
+ glasshouse = 28,
34
+ greenhouse = 29,
35
+ hortiview = 30,
36
+ orchard = 31,
37
+ potato = 32,
38
+ season = 33,
39
+ subscription = 34,
40
+ tomato = 35,
41
+ weather = 36,
42
+ wind = 37,
43
+ apple = 38,
44
+ banana = 39,
45
+ berries = 40,
46
+ citrus = 41,
47
+ grapes = 42
46
48
  }
@@ -1,4 +1,4 @@
1
- var d = /* @__PURE__ */ ((r) => (r[r["battery-0"] = 0] = "battery-0", r[r["battery-100"] = 1] = "battery-100", r[r["battery-20"] = 2] = "battery-20", r[r["battery-50"] = 3] = "battery-50", r[r["battery-80"] = 4] = "battery-80", r[r["block-delete"] = 5] = "block-delete", r[r["cloud-rain"] = 6] = "cloud-rain", r[r["cloud-sunny"] = 7] = "cloud-sunny", r[r["crop-health"] = 8] = "crop-health", r[r["farm-delete"] = 9] = "farm-delete", r[r["farm-management"] = 10] = "farm-management", r[r["greenhouse-delete"] = 11] = "greenhouse-delete", r[r["harvest-quality"] = 12] = "harvest-quality", r[r["manage-labour"] = 13] = "manage-labour", r[r["open-field"] = 14] = "open-field", r[r["other-category"] = 15] = "other-category", r[r["pd-scouting"] = 16] = "pd-scouting", r[r["season-end"] = 17] = "season-end", r[r["vertical-farming"] = 18] = "vertical-farming", r[r["crop-independent"] = 19] = "crop-independent", r[r["sunny-check"] = 20] = "sunny-check", r[r.bayer = 21] = "bayer", r[r.block = 22] = "block", r[r.cloud = 23] = "cloud", r[r.farm = 24] = "farm", r[r.fertigation = 25] = "fertigation", r[r.glasshouse = 26] = "glasshouse", r[r.greenhouse = 27] = "greenhouse", r[r.hortiview = 28] = "hortiview", r[r.orchard = 29] = "orchard", r[r.potato = 30] = "potato", r[r.season = 31] = "season", r[r.subscription = 32] = "subscription", r[r.tomato = 33] = "tomato", r[r.weather = 34] = "weather", r[r.wind = 35] = "wind", r[r.apple = 36] = "apple", r[r.banana = 37] = "banana", r[r.berries = 38] = "berries", r[r.citrus = 39] = "citrus", r[r.grapes = 40] = "grapes", r))(d || {});
1
+ var d = /* @__PURE__ */ ((r) => (r[r["battery-0"] = 0] = "battery-0", r[r["battery-100"] = 1] = "battery-100", r[r["battery-20"] = 2] = "battery-20", r[r["battery-50"] = 3] = "battery-50", r[r["battery-80"] = 4] = "battery-80", r[r["block-delete"] = 5] = "block-delete", r[r["cloud-rain"] = 6] = "cloud-rain", r[r["cloud-sunny"] = 7] = "cloud-sunny", r[r["crop-health"] = 8] = "crop-health", r[r["farm-delete"] = 9] = "farm-delete", r[r["farm-management"] = 10] = "farm-management", r[r["greenhouse-delete"] = 11] = "greenhouse-delete", r[r["harvest-quality"] = 12] = "harvest-quality", r[r["manage-labour"] = 13] = "manage-labour", r[r["open-field"] = 14] = "open-field", r[r["other-category"] = 15] = "other-category", r[r["pd-scouting"] = 16] = "pd-scouting", r[r["season-end"] = 17] = "season-end", r[r["vertical-farming"] = 18] = "vertical-farming", r[r["crop-independent"] = 19] = "crop-independent", r[r["crop-protection"] = 20] = "crop-protection", r[r["sunny-check"] = 21] = "sunny-check", r[r["sentiment-very-dissatisfied"] = 22] = "sentiment-very-dissatisfied", r[r.bayer = 23] = "bayer", r[r.block = 24] = "block", r[r.cloud = 25] = "cloud", r[r.farm = 26] = "farm", r[r.fertigation = 27] = "fertigation", r[r.glasshouse = 28] = "glasshouse", r[r.greenhouse = 29] = "greenhouse", r[r.hortiview = 30] = "hortiview", r[r.orchard = 31] = "orchard", r[r.potato = 32] = "potato", r[r.season = 33] = "season", r[r.subscription = 34] = "subscription", r[r.tomato = 35] = "tomato", r[r.weather = 36] = "weather", r[r.wind = 37] = "wind", r[r.apple = 38] = "apple", r[r.banana = 39] = "banana", r[r.berries = 40] = "berries", r[r.citrus = 41] = "citrus", r[r.grapes = 42] = "grapes", r))(d || {});
2
2
  export {
3
3
  d as AvailableCustomIcons
4
4
  };
@@ -0,0 +1,15 @@
1
+ import { RefObject } from 'react';
2
+
3
+ /**
4
+ * Hook that observes the width of a referenced element using ResizeObserver.
5
+ * Useful for making components respond to their own rendered size rather than
6
+ * the global viewport width (as useBreakpoints does).
7
+ *
8
+ * @returns A tuple of [ref, isWide] where ref should be attached to the element
9
+ * you want to measure, and isWide is true when the element width is >= 600px
10
+ * (the isWide breakpoint).
11
+ */
12
+ export declare const useContainerWidth: <T extends HTMLElement>() => {
13
+ ref: RefObject<T>;
14
+ isWide: boolean;
15
+ };
@@ -0,0 +1,17 @@
1
+ import { useRef as u, useState as f, useEffect as d } from "react";
2
+ const o = 600, R = () => {
3
+ const t = u(null), [c, n] = f(!1);
4
+ return d(() => {
5
+ const e = t.current;
6
+ if (!e) return;
7
+ n(e.getBoundingClientRect().width >= o);
8
+ const r = new ResizeObserver((i) => {
9
+ const s = i[0];
10
+ s && n(s.contentRect.width >= o);
11
+ });
12
+ return r.observe(e), () => r.disconnect();
13
+ }, []), { ref: t, isWide: c };
14
+ };
15
+ export {
16
+ R as useContainerWidth
17
+ };
package/dist/main.d.ts CHANGED
@@ -11,6 +11,7 @@ export { DeleteModal } from './components/DeleteModal/DeleteModal';
11
11
  export { DetailContentWrapper } from './components/DetailContentWrapper/DetailContentWrapper';
12
12
  export { Disclaimer } from './components/Disclaimer/Disclaimer';
13
13
  export { EmptyView } from './components/EmptyView/EmptyView';
14
+ export { ErrorBanner } from './components/ErrorBanner/ErrorBanner';
14
15
  export { Filter } from './components/Filter/Filter';
15
16
  export { FormattedNumberDisplay } from './components/FormattedNumberDisplay/FormattedNumberDisplay';
16
17
  export { GenericTable } from './components/GenericTable/GenericTable';
@@ -44,6 +45,7 @@ export { SafeForm } from './components/SafeForm/SafeForm';
44
45
  export { AvailableCustomIcons } from './enums/AvailableCustomIcons';
45
46
  export { ThemeColor } from './enums/ThemeColor';
46
47
  export { useBreakpoints } from './hooks/useBreakpoints';
48
+ export { useContainerWidth } from './hooks/useContainerWidth';
47
49
  export { capitalizeFirstLetters, getFormattedDateTime, getNumberAsLocaleString, trimLeadingAndTrailingSpaces, } from './services/UtilService';
48
50
  export type { ActionProps } from './components/ContextMenu/ContextMenu';
49
51
  export type { FormSelectOption, FormSelectProps, } from './components/FormComponents/FormSelect/FormSelect';
@@ -51,8 +53,8 @@ export type { FormTextProps } from './components/FormComponents/FormText/FormTex
51
53
  export type { InfoCardProps } from './components/InfoCard/InfoCard';
52
54
  export type { FieldItem } from './components/InfoGroup/InfoGroup';
53
55
  export type { LoadingSpinnerProps } from './components/LoadingSpinner/Default/LoadingSpinner';
54
- export type { Step, StepperBaseProps, StepperButtonProps, StepperProps, } from './components/Stepper/stepperTypes';
55
56
  export { StepperStyle } from './components/Stepper/stepperStyles';
57
+ export type { Step, StepperBaseProps, StepperButtonProps, StepperProps, } from './components/Stepper/stepperTypes';
56
58
  export type { FilterData, FilterOption, FilterSelection } from './types/Filter';
57
59
  export type { CellTemplate, CellTemplateProps, TableLayoutProps } from './types/GenericTable';
58
60
  export type { HashTab } from './types/HashTab';
package/dist/main.js CHANGED
@@ -9,60 +9,62 @@ import { ConfirmationModal as E } from "./components/ConfirmationModal/Confirmat
9
9
  import { ContextMenu as L } from "./components/ContextMenu/ContextMenu.js";
10
10
  import { DeleteModal as F } from "./components/DeleteModal/DeleteModal.js";
11
11
  import { DetailContentWrapper as T } from "./components/DetailContentWrapper/DetailContentWrapper.js";
12
- import { Disclaimer as D } from "./components/Disclaimer/Disclaimer.js";
13
- import { EmptyView as B } from "./components/EmptyView/EmptyView.js";
14
- import { Filter as P } from "./components/Filter/Filter.js";
15
- import { FormattedNumberDisplay as N } from "./components/FormattedNumberDisplay/FormattedNumberDisplay.js";
16
- import { GenericTable as w } from "./components/GenericTable/GenericTable.js";
17
- import { HashTabView as O } from "./components/HashTabView/HashTabView.js";
18
- import { HeaderFilter as V } from "./components/HeaderFilter/HeaderFilter.js";
19
- import { Iconify as U } from "./components/Iconify/Iconify.js";
20
- import { InfoCard as k } from "./components/InfoCard/InfoCard.js";
21
- import { InfoGroup as y } from "./components/InfoGroup/InfoGroup.js";
22
- import { ListArea as Y } from "./components/ListArea/ListArea.js";
23
- import { LoadingSpinner as z } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
24
- import { Modal as j } from "./components/Modal/Modal.js";
25
- import { ModulePadding as J } from "./components/ModulePadding/ModulePadding.js";
26
- import { OfflineView as Z } from "./components/OfflineView/OfflineView.js";
27
- import { OnboardingBanner as rr } from "./components/OnboardingBanner/OnboardingBanner.js";
28
- import { OverflowTooltip as er } from "./components/OverflowTooltip/OverflowTooltip.js";
29
- import { ScrollbarX as mr, ScrollbarY as pr } from "./components/Scrollbar/Scrollbar.js";
30
- import { SearchBar as xr } from "./components/SearchBar/SearchBar.js";
31
- import { Select as ar } from "./components/Select/Select.js";
32
- import { StepperHeader as lr } from "./components/Stepper/components/StepperHeader.js";
33
- import { Stepper as sr } from "./components/Stepper/Stepper.js";
34
- import { VerticalDivider as Sr } from "./components/VerticalDivider/VerticalDivider.js";
35
- import { FormCheckBox as cr } from "./components/FormComponents/FormCheckBox/FormCheckBox.js";
36
- import { FormDatePicker as _r } from "./components/FormComponents/FormDatePicker/FormDatePicker.js";
37
- import { FormNumber as Ir } from "./components/FormComponents/FormNumber/FormNumber.js";
38
- import { FormRadio as Gr } from "./components/FormComponents/FormRadio/FormRadio.js";
12
+ import { Disclaimer as B } from "./components/Disclaimer/Disclaimer.js";
13
+ import { EmptyView as D } from "./components/EmptyView/EmptyView.js";
14
+ import { ErrorBanner as u } from "./components/ErrorBanner/ErrorBanner.js";
15
+ import { Filter as N } from "./components/Filter/Filter.js";
16
+ import { FormattedNumberDisplay as w } from "./components/FormattedNumberDisplay/FormattedNumberDisplay.js";
17
+ import { GenericTable as O } from "./components/GenericTable/GenericTable.js";
18
+ import { HashTabView as V } from "./components/HashTabView/HashTabView.js";
19
+ import { HeaderFilter as H } from "./components/HeaderFilter/HeaderFilter.js";
20
+ import { Iconify as k } from "./components/Iconify/Iconify.js";
21
+ import { InfoCard as y } from "./components/InfoCard/InfoCard.js";
22
+ import { InfoGroup as Y } from "./components/InfoGroup/InfoGroup.js";
23
+ import { ListArea as z } from "./components/ListArea/ListArea.js";
24
+ import { LoadingSpinner as j } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
25
+ import { Modal as J } from "./components/Modal/Modal.js";
26
+ import { ModulePadding as Z } from "./components/ModulePadding/ModulePadding.js";
27
+ import { OfflineView as rr } from "./components/OfflineView/OfflineView.js";
28
+ import { OnboardingBanner as er } from "./components/OnboardingBanner/OnboardingBanner.js";
29
+ import { OverflowTooltip as mr } from "./components/OverflowTooltip/OverflowTooltip.js";
30
+ import { ScrollbarX as fr, ScrollbarY as xr } from "./components/Scrollbar/Scrollbar.js";
31
+ import { SearchBar as ar } from "./components/SearchBar/SearchBar.js";
32
+ import { Select as lr } from "./components/Select/Select.js";
33
+ import { StepperHeader as sr } from "./components/Stepper/components/StepperHeader.js";
34
+ import { Stepper as Sr } from "./components/Stepper/Stepper.js";
35
+ import { VerticalDivider as cr } from "./components/VerticalDivider/VerticalDivider.js";
36
+ import { FormCheckBox as _r } from "./components/FormComponents/FormCheckBox/FormCheckBox.js";
37
+ import { FormDatePicker as Ir } from "./components/FormComponents/FormDatePicker/FormDatePicker.js";
38
+ import { FormNumber as Gr } from "./components/FormComponents/FormNumber/FormNumber.js";
39
+ import { FormRadio as Cr } from "./components/FormComponents/FormRadio/FormRadio.js";
39
40
  import { FormSelect as Mr } from "./components/FormComponents/FormSelect/FormSelect.js";
40
- import { FormSlider as Cr } from "./components/FormComponents/FormSlider/FormSlider.js";
41
- import { FormText as ur } from "./components/FormComponents/FormText/FormText.js";
42
- import { FormToggle as gr } from "./components/FormComponents/FormToggle/FormToggle.js";
43
- import { SafeForm as br } from "./components/SafeForm/SafeForm.js";
44
- import { AvailableCustomIcons as Rr } from "./enums/AvailableCustomIcons.js";
45
- import { ThemeColor as Hr } from "./enums/ThemeColor.js";
46
- import { useBreakpoints as hr } from "./hooks/useBreakpoints.js";
47
- import { capitalizeFirstLetters as vr, getFormattedDateTime as yr, getNumberAsLocaleString as Wr, trimLeadingAndTrailingSpaces as Yr } from "./services/UtilService.js";
48
- import { StepperStyle as zr } from "./components/Stepper/stepperStyles.js";
49
- import { DATE_FORMAT as jr, DATE_TIME_FORMAT as qr, TIME_FORMAT as Jr } from "./types/Time.js";
50
- import { AVAILABLE_COUNTRY_KEYS as Zr, AVAILABLE_LOCALES as $r, ENGLISH_LANGUAGE_ID as ro, GERMAN_LANGUAGE_ID as oo, LANGUAGE_CODES_MAPPER as eo, LANGUAGE_ID_MAPPER as to, SPANISH_LANGUAGE_ID as mo, TURKISH_LANGUAGE_ID as po } from "./types/Languages.js";
51
- import { Allowed as xo } from "./components/Allowed/Allowed.js";
52
- import { AllowedButton as ao } from "./components/AllowedButton/AllowedButton.js";
53
- import { AllowedIconButton as lo } from "./components/AllowedIconButton/AllowedIconButton.js";
54
- import { getPermissionsFromModulePermissionToken as so, useIsAllowed as So } from "./components/PermissionChecks/PermissionService.js";
55
- import { SharedComponentsPermissionProvider as co } from "./components/SharedComponentsPermissionProvider/SharedComponentsPermissionProvider.js";
56
- import { createPermissionWrapper as _o, renderWithPermissions as Fo } from "./test-utils.js";
57
- import { HVMainPermissions as To } from "./types/Permission.js";
41
+ import { FormSlider as Pr } from "./components/FormComponents/FormSlider/FormSlider.js";
42
+ import { FormText as gr } from "./components/FormComponents/FormText/FormText.js";
43
+ import { FormToggle as br } from "./components/FormComponents/FormToggle/FormToggle.js";
44
+ import { SafeForm as Rr } from "./components/SafeForm/SafeForm.js";
45
+ import { AvailableCustomIcons as hr } from "./enums/AvailableCustomIcons.js";
46
+ import { ThemeColor as Ur } from "./enums/ThemeColor.js";
47
+ import { useBreakpoints as vr } from "./hooks/useBreakpoints.js";
48
+ import { useContainerWidth as Wr } from "./hooks/useContainerWidth.js";
49
+ import { capitalizeFirstLetters as Kr, getFormattedDateTime as zr, getNumberAsLocaleString as Xr, trimLeadingAndTrailingSpaces as jr } from "./services/UtilService.js";
50
+ import { StepperStyle as Jr } from "./components/Stepper/stepperStyles.js";
51
+ import { DATE_FORMAT as Zr, DATE_TIME_FORMAT as $r, TIME_FORMAT as ro } from "./types/Time.js";
52
+ import { AVAILABLE_COUNTRY_KEYS as eo, AVAILABLE_LOCALES as to, ENGLISH_LANGUAGE_ID as mo, GERMAN_LANGUAGE_ID as po, LANGUAGE_CODES_MAPPER as fo, LANGUAGE_ID_MAPPER as xo, SPANISH_LANGUAGE_ID as io, TURKISH_LANGUAGE_ID as ao } from "./types/Languages.js";
53
+ import { Allowed as lo } from "./components/Allowed/Allowed.js";
54
+ import { AllowedButton as so } from "./components/AllowedButton/AllowedButton.js";
55
+ import { AllowedIconButton as Eo } from "./components/AllowedIconButton/AllowedIconButton.js";
56
+ import { getPermissionsFromModulePermissionToken as Lo, useIsAllowed as _o } from "./components/PermissionChecks/PermissionService.js";
57
+ import { SharedComponentsPermissionProvider as Io } from "./components/SharedComponentsPermissionProvider/SharedComponentsPermissionProvider.js";
58
+ import { createPermissionWrapper as Go, renderWithPermissions as Bo } from "./test-utils.js";
59
+ import { HVMainPermissions as Do } from "./types/Permission.js";
58
60
  export {
59
- Zr as AVAILABLE_COUNTRY_KEYS,
60
- $r as AVAILABLE_LOCALES,
61
+ eo as AVAILABLE_COUNTRY_KEYS,
62
+ to as AVAILABLE_LOCALES,
61
63
  e as AlertBanner,
62
- xo as Allowed,
63
- ao as AllowedButton,
64
- lo as AllowedIconButton,
65
- Rr as AvailableCustomIcons,
64
+ lo as Allowed,
65
+ so as AllowedButton,
66
+ Eo as AllowedIconButton,
67
+ hr as AvailableCustomIcons,
66
68
  f as BaseView,
67
69
  i as BasicHeading,
68
70
  n as BlockView,
@@ -70,62 +72,64 @@ export {
70
72
  d as ChipCard,
71
73
  E as ConfirmationModal,
72
74
  L as ContextMenu,
73
- jr as DATE_FORMAT,
74
- qr as DATE_TIME_FORMAT,
75
+ Zr as DATE_FORMAT,
76
+ $r as DATE_TIME_FORMAT,
75
77
  F as DeleteModal,
76
78
  T as DetailContentWrapper,
77
- D as Disclaimer,
78
- ro as ENGLISH_LANGUAGE_ID,
79
- B as EmptyView,
80
- P as Filter,
81
- cr as FormCheckBox,
82
- _r as FormDatePicker,
83
- Ir as FormNumber,
84
- Gr as FormRadio,
79
+ B as Disclaimer,
80
+ mo as ENGLISH_LANGUAGE_ID,
81
+ D as EmptyView,
82
+ u as ErrorBanner,
83
+ N as Filter,
84
+ _r as FormCheckBox,
85
+ Ir as FormDatePicker,
86
+ Gr as FormNumber,
87
+ Cr as FormRadio,
85
88
  Mr as FormSelect,
86
- Cr as FormSlider,
87
- ur as FormText,
88
- gr as FormToggle,
89
- N as FormattedNumberDisplay,
90
- oo as GERMAN_LANGUAGE_ID,
91
- w as GenericTable,
92
- To as HVMainPermissions,
93
- O as HashTabView,
94
- V as HeaderFilter,
95
- U as Iconify,
96
- k as InfoCard,
97
- y as InfoGroup,
98
- eo as LANGUAGE_CODES_MAPPER,
99
- to as LANGUAGE_ID_MAPPER,
89
+ Pr as FormSlider,
90
+ gr as FormText,
91
+ br as FormToggle,
92
+ w as FormattedNumberDisplay,
93
+ po as GERMAN_LANGUAGE_ID,
94
+ O as GenericTable,
95
+ Do as HVMainPermissions,
96
+ V as HashTabView,
97
+ H as HeaderFilter,
98
+ k as Iconify,
99
+ y as InfoCard,
100
+ Y as InfoGroup,
101
+ fo as LANGUAGE_CODES_MAPPER,
102
+ xo as LANGUAGE_ID_MAPPER,
100
103
  m as LinkBanner,
101
- Y as ListArea,
102
- z as LoadingSpinner,
103
- j as Modal,
104
- J as ModulePadding,
105
- Z as OfflineView,
106
- rr as OnboardingBanner,
107
- er as OverflowTooltip,
108
- mo as SPANISH_LANGUAGE_ID,
109
- br as SafeForm,
110
- mr as ScrollbarX,
111
- pr as ScrollbarY,
112
- xr as SearchBar,
113
- ar as Select,
114
- co as SharedComponentsPermissionProvider,
115
- sr as Stepper,
116
- lr as StepperHeader,
117
- zr as StepperStyle,
118
- Jr as TIME_FORMAT,
119
- po as TURKISH_LANGUAGE_ID,
120
- Hr as ThemeColor,
121
- Sr as VerticalDivider,
122
- vr as capitalizeFirstLetters,
123
- _o as createPermissionWrapper,
124
- yr as getFormattedDateTime,
125
- Wr as getNumberAsLocaleString,
126
- so as getPermissionsFromModulePermissionToken,
127
- Fo as renderWithPermissions,
128
- Yr as trimLeadingAndTrailingSpaces,
129
- hr as useBreakpoints,
130
- So as useIsAllowed
104
+ z as ListArea,
105
+ j as LoadingSpinner,
106
+ J as Modal,
107
+ Z as ModulePadding,
108
+ rr as OfflineView,
109
+ er as OnboardingBanner,
110
+ mr as OverflowTooltip,
111
+ io as SPANISH_LANGUAGE_ID,
112
+ Rr as SafeForm,
113
+ fr as ScrollbarX,
114
+ xr as ScrollbarY,
115
+ ar as SearchBar,
116
+ lr as Select,
117
+ Io as SharedComponentsPermissionProvider,
118
+ Sr as Stepper,
119
+ sr as StepperHeader,
120
+ Jr as StepperStyle,
121
+ ro as TIME_FORMAT,
122
+ ao as TURKISH_LANGUAGE_ID,
123
+ Ur as ThemeColor,
124
+ cr as VerticalDivider,
125
+ Kr as capitalizeFirstLetters,
126
+ Go as createPermissionWrapper,
127
+ zr as getFormattedDateTime,
128
+ Xr as getNumberAsLocaleString,
129
+ Lo as getPermissionsFromModulePermissionToken,
130
+ Bo as renderWithPermissions,
131
+ jr as trimLeadingAndTrailingSpaces,
132
+ vr as useBreakpoints,
133
+ Wr as useContainerWidth,
134
+ _o as useIsAllowed
131
135
  };
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": "2.20.1",
4
+ "version": "2.22.0",
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>",