@itcase/ui 1.2.13 → 1.2.15

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.
Files changed (52) hide show
  1. package/dist/{DropdownItem-Dy3DG4XJ.js → DropdownItem-CEPQWGQ5.js} +2 -1
  2. package/dist/{DropdownItem-agqkY0-H.js → DropdownItem-sLbGv_08.js} +2 -1
  3. package/dist/{Group-BXfLh7AZ.js → Group-12uup5mu.js} +11 -9
  4. package/dist/{Group-Buo_BxGT.js → Group-BDuYmoBK.js} +11 -9
  5. package/dist/cjs/components/CookiesWarning.js +1 -1
  6. package/dist/cjs/components/Dropdown.js +1 -1
  7. package/dist/cjs/components/FormField.js +1 -1
  8. package/dist/cjs/components/Group.js +2 -2
  9. package/dist/cjs/components/Notification.js +1 -0
  10. package/dist/cjs/components/Page.js +64 -389
  11. package/dist/cjs/components/Pagination.js +1 -1
  12. package/dist/cjs/components/Panel.js +5 -6
  13. package/dist/cjs/components/Response.js +1 -1
  14. package/dist/cjs/components/Select.js +1 -1
  15. package/dist/cjs/context/Notifications.js +128 -144
  16. package/dist/cjs/context/UIContext.js +22 -31
  17. package/dist/cjs/hooks/styleAttributes.interface.js +2 -0
  18. package/dist/cjs/hooks/useDeviceTargetClass.js +1 -0
  19. package/dist/cjs/hooks/useStyles.js +1 -0
  20. package/dist/cjs/hooks.js +2 -0
  21. package/dist/components/CookiesWarning.js +1 -1
  22. package/dist/components/Dropdown.js +1 -1
  23. package/dist/components/FormField.js +1 -1
  24. package/dist/components/Group.js +2 -2
  25. package/dist/components/Notification.js +1 -0
  26. package/dist/components/Page.js +64 -389
  27. package/dist/components/Pagination.js +1 -1
  28. package/dist/components/Panel.js +5 -6
  29. package/dist/components/Response.js +1 -1
  30. package/dist/components/Select.js +1 -1
  31. package/dist/context/Notifications.js +129 -145
  32. package/dist/context/UIContext.js +23 -32
  33. package/dist/css/components/DatePicker/DatePicker.css +26 -32
  34. package/dist/css/components/Group/Group.css +24 -0
  35. package/dist/hooks/styleAttributes.interface.js +1 -0
  36. package/dist/hooks/useDeviceTargetClass.js +1 -0
  37. package/dist/hooks/useStyles.js +1 -0
  38. package/dist/hooks.js +1 -0
  39. package/dist/types/components/Group/Group.d.ts +2 -6
  40. package/dist/types/components/Page/index.d.ts +42 -0
  41. package/dist/types/components/Panel/Panel.d.ts +2 -4
  42. package/dist/types/constants/componentProps/align.d.ts +2 -0
  43. package/dist/types/constants/componentProps/alignDirection.d.ts +2 -0
  44. package/dist/types/constants/componentProps/fill.d.ts +2 -0
  45. package/dist/types/constants/componentProps/horizontalResizeMode.d.ts +2 -0
  46. package/dist/types/constants/componentProps/position.d.ts +2 -0
  47. package/dist/types/constants/componentProps/verticalResizeMode.d.ts +2 -0
  48. package/dist/types/context/Notifications.d.ts +14 -11
  49. package/dist/types/context/Notifications.interface.d.ts +25 -0
  50. package/dist/types/context/UIContext.d.ts +5 -4
  51. package/dist/types/context/index.d.ts +2 -0
  52. package/package.json +19 -18
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
+ var React = require('react');
4
5
  var clsx = require('clsx');
5
6
  var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
6
7
  var useStyles = require('../hooks/useStyles.js');
7
- var Group = require('../../Group-Buo_BxGT.js');
8
+ var Group = require('../../Group-BDuYmoBK.js');
8
9
  var Text = require('../../Text-_YhyTsQ1.js');
9
- require('react');
10
10
  require('lodash/castArray');
11
11
  require('lodash/camelCase');
12
12
  require('../context/UIContext.js');
@@ -23,7 +23,7 @@ var panelConfig = {
23
23
  panelConfig.appearance = newComponent;
24
24
  },
25
25
  };
26
- function Panel(props) {
26
+ var Panel = React.forwardRef(function Panel(props, ref) {
27
27
  var appearance = props.appearance, children = props.children, className = props.className, horizontalScroll = props.horizontalScroll, htmlFor = props.htmlFor, set = props.set, dataTour = props.dataTour, title = props.title, titleTextSize = props.titleTextSize, titleTextColor = props.titleTextColor, titleTextWeight = props.titleTextWeight, desc = props.desc, descTextSize = props.descTextSize, descTextColor = props.descTextColor, descTextWeight = props.descTextWeight, verticalScroll = props.verticalScroll;
28
28
  var alignContentClass = useDeviceTargetClass.useDeviceTargetClass(props, {
29
29
  prefix: 'panel_align-content_',
@@ -100,9 +100,8 @@ function Panel(props) {
100
100
  ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderWidth) &&
101
101
  "border-width_".concat(appearanceConfig.borderWidth)
102
102
  .replace(/([A-Z])/g, '-$1')
103
- .toLowerCase()), borderTypeClass, alignContentClass, alignItemsClass, elevationClass, justifyContentClass, positionClass, horizontalScroll && 'panel_type_scroll_horizontal', verticalScroll && 'panel_type_scroll_vertical'), "data-tour": dataTour, htmlFor: htmlFor, style: panelStyles, children: [title && (jsxRuntime.jsx("div", { className: "panel__header", children: jsxRuntime.jsx(Text.Text, { className: "panel__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title }) })), jsxRuntime.jsx("div", { className: clsx('panel__wrapper', directionClass), style: panelWrapperStyles, children: children }), desc && (jsxRuntime.jsx("div", { className: "panel__footer", children: jsxRuntime.jsx(Text.Text, { className: "panel__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }) }))] }));
104
- }
105
- Panel.defaultProps = {};
103
+ .toLowerCase()), borderTypeClass, alignContentClass, alignItemsClass, elevationClass, justifyContentClass, positionClass, horizontalScroll && 'panel_type_scroll_horizontal', verticalScroll && 'panel_type_scroll_vertical'), ref: ref, "data-tour": dataTour, htmlFor: htmlFor, style: panelStyles, children: [title && (jsxRuntime.jsx("div", { className: "panel__header", children: jsxRuntime.jsx(Text.Text, { className: "panel__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title }) })), jsxRuntime.jsx("div", { className: clsx('panel__wrapper', directionClass), style: panelWrapperStyles, children: children }), desc && (jsxRuntime.jsx("div", { className: "panel__footer", children: jsxRuntime.jsx(Text.Text, { className: "panel__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }) }))] }));
104
+ });
106
105
 
107
106
  exports.Panel = Panel;
108
107
  exports.panelConfig = panelConfig;
@@ -7,7 +7,7 @@ var SVG = require('react-inlinesvg');
7
7
  var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
8
8
  var useStyles = require('../hooks/useStyles.js');
9
9
  var Button = require('../../Button-VFc2pmvE.js');
10
- var Group = require('../../Group-Buo_BxGT.js');
10
+ var Group = require('../../Group-BDuYmoBK.js');
11
11
  var Text = require('../../Text-_YhyTsQ1.js');
12
12
  var Title = require('../../Title-zwP6c2U2.js');
13
13
  require('lodash/castArray');
@@ -10,7 +10,7 @@ var CreatableSelect = require('react-select/creatable');
10
10
  var useDeviceTargetClass = require('../hooks/useDeviceTargetClass.js');
11
11
  var Text = require('../../Text-_YhyTsQ1.js');
12
12
  var Badge = require('../../Badge-2JkquAEb.js');
13
- var Group = require('../../Group-Buo_BxGT.js');
13
+ var Group = require('../../Group-BDuYmoBK.js');
14
14
  var Divider = require('../../Divider-BjB5MD6u.js');
15
15
  require('react-inlinesvg');
16
16
  require('../hooks/useStyles.js');
@@ -1,168 +1,152 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
+ var tslib_es6 = require('../../tslib.es6-CCZ3TN_7.js');
5
+ var jsxRuntime = require('react/jsx-runtime');
4
6
  var React = require('react');
5
7
  var PropTypes = require('prop-types');
6
8
  var uuid = require('uuid');
7
9
 
8
- const STATUSES = {
9
- error: 'error',
10
- info: 'info',
11
- success: 'success',
12
- warning: 'warning'
10
+ var STATUSES = {
11
+ error: 'error',
12
+ info: 'info',
13
+ success: 'success',
14
+ warning: 'warning',
13
15
  };
14
- const NotificationsContext = /*#__PURE__*/React.createContext([]);
15
- const NotificationsAPIContext = /*#__PURE__*/React.createContext({
16
- hideNotifications: targetId => {},
17
- notificationStatuses: STATUSES,
18
- showNotification: (notification, onClose) => {}
16
+ var NotificationsContext = React.createContext([]);
17
+ var NotificationsAPIContext = React.createContext({
18
+ hideNotifications: function (targetId) { },
19
+ notificationStatuses: STATUSES,
20
+ showNotification: function (notification, onClose) { },
19
21
  });
20
22
  function NotificationsProvider(props) {
21
- const {
22
- children,
23
- initialNotificationsList = []
24
- } = props;
25
- const [notificationsList, setNotificationsList] = React.useState(() => {
26
- // We need to set id to every notification item and original list also be have new id's
27
- return (initialNotificationsList || []).map(notificationItem => {
28
- return createNotification(notificationItem, notificationItem.onClose);
29
- });
30
- });
31
- const hideNotifications = React.useCallback(targetId => {
32
- // If not target, then nothing to hide
33
- if (!targetId) {
34
- return;
35
- }
36
- setNotificationsList(prevState => {
37
- const newState = prevState.filter(notificationItem => {
38
- // Check on need to hide, if current notification is target for hide
39
- const isNeedToHide = String(notificationItem.id) === String(targetId);
40
- // Callback for close if exists
41
- if (isNeedToHide) {
42
- clearTimeout(notificationItem._closeTimeout);
43
- notificationItem.onClose && notificationItem.onClose();
23
+ var children = props.children, _a = props.initialNotificationsList, initialNotificationsList = _a === void 0 ? [] : _a;
24
+ var _b = React.useState(function () {
25
+ // We need to set id to every notification item and original list also be have new id's
26
+ return (initialNotificationsList || []).map(function (notificationItem) {
27
+ return createNotification(notificationItem, notificationItem.onClose);
28
+ });
29
+ }), notificationsList = _b[0], setNotificationsList = _b[1];
30
+ var hideNotifications = React.useCallback(function (targetId) {
31
+ // If not target, then nothing to hide
32
+ if (!targetId) {
33
+ return;
44
34
  }
45
- // Save in state if no need to hide
46
- return !isNeedToHide;
47
- });
48
- // Set new notifications list without target item to state
49
- return newState;
50
- });
51
- }, []);
52
- const showNotification = React.useCallback((notification, onClose) => {
53
- const newNotificationItem = createNotification(notification, onClose);
54
- setNotificationsList(prevState => {
55
- const newState = prevState.slice();
56
- const existsNotificationIndex = newState.findIndex(notificationItem => String(notificationItem.id) === String(newNotificationItem.id));
57
- if (existsNotificationIndex === -1) {
58
- return [...newState, newNotificationItem];
59
- }
60
- clearTimeout(newState[existsNotificationIndex]._closeTimeout);
61
- newState[existsNotificationIndex]._closeTimeout = null;
62
- newState[existsNotificationIndex] = newNotificationItem;
63
- return newState;
64
- });
65
- if (newNotificationItem.closeByTime) {
66
- newNotificationItem._closeTimeout = setTimeout(() => hideNotifications(newNotificationItem.id), newNotificationItem.closeByTime);
67
- }
68
- return newNotificationItem;
69
- // eslint-disable-next-line
70
- }, []);
71
- const notificationsAPI = React.useMemo(() => ({
72
- hideNotifications: hideNotifications,
73
- notificationStatuses: STATUSES,
74
- showNotification: showNotification
75
- }),
76
- // Functions is never changes, no sense to set as dependencies
77
- // eslint-disable-next-line
78
- []);
79
- React.useEffect(() => {
80
- // Set timeout for initial notifications list one time on first render
81
- notificationsList.forEach(notificationItem => {
82
- if (notificationItem.closeByTime) {
83
- setTimeout(() => hideNotifications(notificationItem.id), notificationItem.closeByTime);
84
- }
85
- });
35
+ setNotificationsList(function (prevNotificationsList) {
36
+ var newState = prevNotificationsList.filter(function (notificationItem) {
37
+ // Check on need to hide, if current notification is target for hide
38
+ var isNeedToHide = String(notificationItem.id) === String(targetId);
39
+ // Callback for close if exists
40
+ if (isNeedToHide) {
41
+ clearTimeout(notificationItem._closeTimeout);
42
+ // @typescript-eslint/no-unused-expressions
43
+ notificationItem.onClose && notificationItem.onClose();
44
+ }
45
+ // Save in state if no need to hide
46
+ return !isNeedToHide;
47
+ });
48
+ // Set new notifications list without target item to state
49
+ return newState;
50
+ });
51
+ }, []);
52
+ var showNotification = React.useCallback(function (notification, onClose) {
53
+ var newNotificationItem = createNotification(notification, onClose);
54
+ setNotificationsList(function (prevNotificationsList) {
55
+ var newState = prevNotificationsList.slice();
56
+ var existsNotificationIndex = newState.findIndex(function (notificationItem) { return String(notificationItem.id) === String(newNotificationItem.id); });
57
+ // Add new notification
58
+ if (existsNotificationIndex === -1) {
59
+ return tslib_es6.__spreadArray(tslib_es6.__spreadArray([], newState, true), [newNotificationItem], false);
60
+ }
61
+ // Or update exists notification
62
+ var updatedNotificationItem = newState[existsNotificationIndex];
63
+ // Clear timeout to avoid close event for updated notification
64
+ clearTimeout(updatedNotificationItem._closeTimeout);
65
+ updatedNotificationItem._closeTimeout = undefined;
66
+ // Replace exists notification by new one
67
+ newState[existsNotificationIndex] = newNotificationItem;
68
+ return newState;
69
+ });
70
+ if (newNotificationItem.closeByTime) {
71
+ newNotificationItem._closeTimeout = setTimeout(function () { return hideNotifications(newNotificationItem.id); }, newNotificationItem.closeByTime);
72
+ }
73
+ return newNotificationItem;
74
+ },
75
+ // "hideNotifications" is never changed
76
+ // eslint-disable-next-line react-hooks/exhaustive-deps
77
+ []);
78
+ var notificationsAPI = React.useMemo(function () { return ({
79
+ hideNotifications: hideNotifications,
80
+ notificationStatuses: STATUSES,
81
+ showNotification: showNotification,
82
+ }); },
83
+ // Functions is never changes, no sense to set as dependencies
86
84
  // eslint-disable-next-line
87
- }, []);
88
- return /*#__PURE__*/React.createElement(NotificationsAPIContext.Provider, {
89
- value: notificationsAPI
90
- }, /*#__PURE__*/React.createElement(NotificationsContext.Provider, {
91
- value: notificationsList
92
- }, children));
85
+ []);
86
+ React.useEffect(function () {
87
+ // Set timeout for initial notifications list one time on first render
88
+ notificationsList.forEach(function (notificationItem) {
89
+ if (notificationItem.closeByTime) {
90
+ setTimeout(function () { return hideNotifications(notificationItem.id); }, notificationItem.closeByTime);
91
+ }
92
+ });
93
+ // eslint-disable-next-line
94
+ }, []);
95
+ return (jsxRuntime.jsx(NotificationsAPIContext.Provider, { value: notificationsAPI, children: jsxRuntime.jsx(NotificationsContext.Provider, { value: notificationsList, children: children }) }));
93
96
  }
94
97
  NotificationsProvider.propTypes = {
95
- children: PropTypes.any,
96
- initialNotificationsList: PropTypes.array
98
+ children: PropTypes.any,
99
+ initialNotificationsList: PropTypes.array,
97
100
  };
98
101
  function useNotifications() {
99
- return React.useContext(NotificationsContext);
102
+ return React.useContext(NotificationsContext);
100
103
  }
101
104
  function useNotificationsAPI() {
102
- return React.useContext(NotificationsAPIContext);
105
+ return React.useContext(NotificationsAPIContext);
103
106
  }
104
107
  function createNotification(notification, onClose) {
105
- // Default notification item properties
106
- let id = uuid.v4().split('-')[0];
107
- let title = '';
108
- let text = '';
109
- let status = STATUSES.warning;
110
- let closeByTime = 4500;
111
- let textColor = '';
112
- if (typeof notification === 'string') {
113
- text = notification;
114
- } else if (typeof notification === 'object') {
115
- id = notification.id ?? id;
116
- title = notification.title ?? title;
117
- text = notification.text ?? text;
118
- status = notification.status ?? status;
119
- closeByTime = notification.closeByTime ?? closeByTime;
120
- }
121
- switch (status) {
122
- case 'success':
123
- textColor = 'successTextPrimary';
124
- break;
125
- case 'info':
126
- textColor = 'infoTextPrimary';
127
- break;
128
- case 'error':
129
- textColor = 'errorTextPrimary';
130
- break;
131
- case 'warning':
132
- textColor = 'warningTextPrimary';
133
- break;
134
- }
135
- return {
136
- id: id,
137
- title: title,
138
- text: text,
139
- status: status,
140
- textColor: textColor,
141
- closeByTime: closeByTime,
142
- onClose: onClose
143
- };
144
- }
145
- NotificationsProvider.__docgenInfo = {
146
- "description": "",
147
- "methods": [],
148
- "displayName": "NotificationsProvider",
149
- "props": {
150
- "children": {
151
- "description": "",
152
- "type": {
153
- "name": "any"
154
- },
155
- "required": false
156
- },
157
- "initialNotificationsList": {
158
- "description": "",
159
- "type": {
160
- "name": "array"
161
- },
162
- "required": false
108
+ var _a, _b, _c, _d, _e;
109
+ // Default notification item properties
110
+ var id = uuid.v4().split('-')[0];
111
+ var title = '';
112
+ var text = '';
113
+ var status = STATUSES.warning;
114
+ var closeByTime = 4500;
115
+ var textColor = '';
116
+ if (typeof notification === 'string') {
117
+ text = notification;
163
118
  }
164
- }
165
- };
119
+ else if (typeof notification === 'object') {
120
+ id = (_a = notification.id) !== null && _a !== void 0 ? _a : id;
121
+ title = (_b = notification.title) !== null && _b !== void 0 ? _b : title;
122
+ text = (_c = notification.text) !== null && _c !== void 0 ? _c : text;
123
+ status = (_d = notification.status) !== null && _d !== void 0 ? _d : status;
124
+ closeByTime = (_e = notification.closeByTime) !== null && _e !== void 0 ? _e : closeByTime;
125
+ }
126
+ switch (status) {
127
+ case 'success':
128
+ textColor = 'successTextPrimary';
129
+ break;
130
+ case 'info':
131
+ textColor = 'infoTextPrimary';
132
+ break;
133
+ case 'error':
134
+ textColor = 'errorTextPrimary';
135
+ break;
136
+ case 'warning':
137
+ textColor = 'warningTextPrimary';
138
+ break;
139
+ }
140
+ return {
141
+ id: id,
142
+ closeByTime: closeByTime,
143
+ status: status,
144
+ text: text,
145
+ textColor: textColor,
146
+ title: title,
147
+ onClose: onClose,
148
+ };
149
+ }
166
150
 
167
151
  exports.NotificationsProvider = NotificationsProvider;
168
152
  exports.useNotifications = useNotifications;
@@ -1,50 +1,41 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
+ var jsxRuntime = require('react/jsx-runtime');
4
5
  var React = require('react');
5
6
  var PropTypes = require('prop-types');
6
7
  var useMediaQueries = require('../hooks/useMediaQueries.js');
7
8
  require('react-responsive');
8
9
 
9
- const UserDeviceContext = /*#__PURE__*/React.createContext({
10
- isMobile: false,
11
- isTablet: false,
12
- isDesktop: false
10
+ var UserDeviceContext = React.createContext({
11
+ isMobile: false,
12
+ isTablet: false,
13
+ isDesktop: false,
13
14
  });
14
- const SiteMenuContext = /*#__PURE__*/React.createContext({
15
- isSiteMenuOpen: false,
16
- setIsSiteMenuOpen: () => {}
15
+ var SiteMenuContext = React.createContext({
16
+ isSiteMenuOpen: false,
17
+ setIsSiteMenuOpen: function () { },
17
18
  });
18
19
  function useUserDeviceContext() {
19
- return React.useContext(UserDeviceContext);
20
+ return React.useContext(UserDeviceContext);
20
21
  }
21
22
  function useSiteMenuContext() {
22
- return React.useContext(SiteMenuContext);
23
+ return React.useContext(SiteMenuContext);
23
24
  }
24
- const UIProvider = /*#__PURE__*/React.memo(function UIProvider(props) {
25
- const {
26
- children,
27
- userDeviceState = {}
28
- } = props;
29
- const [isSiteMenuOpen, setIsSiteMenuOpen] = React.useState(false);
30
- const siteMenuContextState = React.useMemo(() => ({
31
- isSiteMenuOpen,
32
- setIsSiteMenuOpen
33
- }), [isSiteMenuOpen]);
34
- const mediaQueriesDevices = useMediaQueries.useMediaQueries(userDeviceState);
35
- return /*#__PURE__*/React.createElement(UserDeviceContext.Provider, {
36
- value: mediaQueriesDevices
37
- }, /*#__PURE__*/React.createElement(SiteMenuContext.Provider, {
38
- value: siteMenuContextState
39
- }, children));
25
+ var UIProvider = React.memo(function UIProvider(props) {
26
+ var children = props.children, _a = props.userDeviceState, userDeviceState = _a === void 0 ? {} : _a;
27
+ var _b = React.useState(false), isSiteMenuOpen = _b[0], setIsSiteMenuOpen = _b[1];
28
+ var siteMenuContextState = React.useMemo(function () { return ({ isSiteMenuOpen: isSiteMenuOpen, setIsSiteMenuOpen: setIsSiteMenuOpen }); }, [isSiteMenuOpen]);
29
+ var mediaQueriesDevices = useMediaQueries.useMediaQueries(userDeviceState);
30
+ return (jsxRuntime.jsx(UserDeviceContext.Provider, { value: mediaQueriesDevices, children: jsxRuntime.jsx(SiteMenuContext.Provider, { value: siteMenuContextState, children: children }) }));
40
31
  });
41
32
  UIProvider.propTypes = {
42
- children: PropTypes.any,
43
- userDeviceState: PropTypes.shape({
44
- isMobile: PropTypes.bool,
45
- isTablet: PropTypes.bool,
46
- isDesktop: PropTypes.bool
47
- })
33
+ children: PropTypes.any,
34
+ userDeviceState: PropTypes.shape({
35
+ isMobile: PropTypes.bool,
36
+ isTablet: PropTypes.bool,
37
+ isDesktop: PropTypes.bool,
38
+ }),
48
39
  };
49
40
 
50
41
  exports.UIProvider = UIProvider;
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -4,6 +4,7 @@ var React = require('react');
4
4
  var castArray = require('lodash/castArray');
5
5
  var camelCase = require('lodash/camelCase');
6
6
  var UIContext = require('../context/UIContext.js');
7
+ require('react/jsx-runtime');
7
8
  require('prop-types');
8
9
  require('./useMediaQueries.js');
9
10
  require('react-responsive');
@@ -6,6 +6,7 @@ var maxBy = require('lodash/maxBy');
6
6
  var upperFirst = require('lodash/upperFirst');
7
7
  var UIContext = require('../context/UIContext.js');
8
8
  var styleAttributes = require('./styleAttributes.js');
9
+ require('react/jsx-runtime');
9
10
  require('prop-types');
10
11
  require('./useMediaQueries.js');
11
12
  require('react-responsive');
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -4,7 +4,7 @@ import clsx from 'clsx';
4
4
  import Cookies from 'js-cookie';
5
5
  import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
6
6
  import { B as Button } from '../Button-YvFWfIzn.js';
7
- import { G as Group } from '../Group-BXfLh7AZ.js';
7
+ import { G as Group } from '../Group-12uup5mu.js';
8
8
  import { T as Text } from '../Text-CG3xPG27.js';
9
9
  import 'lodash/castArray';
10
10
  import 'lodash/camelCase';
@@ -1,4 +1,4 @@
1
- export { D as Dropdown, a as DropdownItem } from '../DropdownItem-agqkY0-H.js';
1
+ export { D as Dropdown, a as DropdownItem } from '../DropdownItem-sLbGv_08.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -11,7 +11,7 @@ import 'react-select';
11
11
  import { SelectInput } from './Select.js';
12
12
  import 'react';
13
13
  import '../Badge-CrhdvxY6.js';
14
- import '../Group-BXfLh7AZ.js';
14
+ import '../Group-12uup5mu.js';
15
15
  import { S as Switch } from '../Switch-DEXsrPCo.js';
16
16
  import 'react-inlinesvg';
17
17
  import '../Link-BSquFKSX.js';
@@ -1,8 +1,8 @@
1
- export { G as Group, g as groupConfig } from '../Group-BXfLh7AZ.js';
1
+ export { G as Group, g as groupConfig } from '../Group-12uup5mu.js';
2
2
  import 'react/jsx-runtime';
3
+ import 'react';
3
4
  import 'clsx';
4
5
  import '../hooks/useDeviceTargetClass.js';
5
- import 'react';
6
6
  import 'lodash/castArray';
7
7
  import 'lodash/camelCase';
8
8
  import '../context/UIContext.js';
@@ -15,6 +15,7 @@ import '../hooks/useStyles.js';
15
15
  import 'lodash/maxBy';
16
16
  import 'lodash/upperFirst';
17
17
  import '../hooks/styleAttributes.js';
18
+ import '../tslib.es6-5FtW-kfi.js';
18
19
  import 'uuid';
19
20
 
20
21
  var notificationItemConfig = {