@hexure/ui 1.13.50 → 1.13.52

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/esm/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import React, { useState, useContext, useRef, useEffect } from 'react';
2
- import styled, { ThemeContext, keyframes } from 'styled-components';
3
- import Icon, { Icon as Icon$1 } from '@mdi/react';
4
- import { mdiChevronUp, mdiChevronDown, mdiInformationOutline, mdiLoading, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronRight, mdiChevronLeft, mdiDotsHorizontal, mdiAlertCircle, mdiMinusCircle, mdiFolderPlusOutline, mdiCheck } from '@mdi/js';
5
- import dayjs from 'dayjs';
6
- import Numeral from 'numeral';
7
- import Moment from 'moment';
8
-
1
+ import React, { useState, useContext, useRef, useEffect } from 'react';
2
+ import styled, { ThemeContext, keyframes } from 'styled-components';
3
+ import Icon, { Icon as Icon$1 } from '@mdi/react';
4
+ import { mdiChevronUp, mdiChevronDown, mdiInformationOutline, mdiLoading, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronRight, mdiChevronLeft, mdiDotsHorizontal, mdiAlertCircle, mdiMinusCircle, mdiFolderPlusOutline, mdiCheck } from '@mdi/js';
5
+ import dayjs from 'dayjs';
6
+ import Numeral from 'numeral';
7
+ import Moment from 'moment';
8
+
9
9
  /******************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
@@ -19,22 +19,22 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
19
19
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */
23
- /* global Reflect, Promise, SuppressedError, Symbol */
24
-
25
- function __rest(s, e) {
26
- var t = {};
27
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
29
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
30
- }
31
- return t;
32
- }
33
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
- var e = new Error(message);
35
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
- };
37
-
22
+ ***************************************************************************** */
23
+ /* global Reflect, Promise, SuppressedError, Symbol */
24
+
25
+ function __rest(s, e) {
26
+ var t = {};
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
29
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
30
+ }
31
+ return t;
32
+ }
33
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
+ var e = new Error(message);
35
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
+ };
37
+
38
38
  const Colors = {
39
39
  PRIMARY: {
40
40
  Hex: '#0193D7',
@@ -83,26 +83,26 @@ const FontSizes = {
83
83
  };
84
84
  const EditableTheme = {
85
85
  PRIMARY_COLOR: Colors.PRIMARY,
86
- };
87
-
88
- const Header$3 = styled.div `
89
- display: flex;
90
- align-items: center;
91
- justify-content: space-between;
92
- box-sizing: border-box;
93
- background: #f5f5f5;
94
- border: 1px solid #e5e5e5;
95
- padding: 14px 20px;
96
- height: 50px;
97
- cursor: pointer;
98
- `;
99
- const Title$2 = styled.div `
100
- font-size: ${FontSizes.DEFAULT};
101
- font-weight: 400;
102
- color: ${Colors.BLACK.Hex};
103
- line-height: 1.6em;
104
- font-family: ${FontStyles.DEFAULT};
105
- box-sizing: border-box;
86
+ };
87
+
88
+ const Header$3 = styled.div `
89
+ display: flex;
90
+ align-items: center;
91
+ justify-content: space-between;
92
+ box-sizing: border-box;
93
+ background: #f5f5f5;
94
+ border: 1px solid #e5e5e5;
95
+ padding: 14px 20px;
96
+ height: 50px;
97
+ cursor: pointer;
98
+ `;
99
+ const Title$2 = styled.div `
100
+ font-size: ${FontSizes.DEFAULT};
101
+ font-weight: 400;
102
+ color: ${Colors.BLACK.Hex};
103
+ line-height: 1.6em;
104
+ font-family: ${FontStyles.DEFAULT};
105
+ box-sizing: border-box;
106
106
  `;
107
107
  const Accordion = (_a) => {
108
108
  var { dataItemid, title, children, open, onClick } = _a, accessibleProps = __rest(_a, ["dataItemid", "title", "children", "open", "onClick"]);
@@ -112,21 +112,21 @@ const Accordion = (_a) => {
112
112
  React.createElement(Title$2, { "data-itemid": `${baseId}-title` }, title),
113
113
  React.createElement(Icon, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: open ? mdiChevronUp : mdiChevronDown, size: '24px' })),
114
114
  open ? React.createElement("div", { "data-itemid": `${baseId}-content` }, children) : null));
115
- };
116
-
117
- const StyledComponent = styled.p `
118
- color: ${props => Colors[props.$color || 'BLACK'].Hex};
119
- font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
120
- line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
121
- letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
122
- font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
123
- font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
124
- text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
125
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
126
- margin: ${props => props.$margin || '0px'};
127
- padding: ${props => props.$padding || '0px'};
128
- text-align: ${props => props.$align || 'left'};
129
- box-sizing: border-box;
115
+ };
116
+
117
+ const StyledComponent = styled.p `
118
+ color: ${props => Colors[props.$color || 'BLACK'].Hex};
119
+ font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
120
+ line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
121
+ letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
122
+ font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
123
+ font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
124
+ text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
125
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
126
+ margin: ${props => props.$margin || '0px'};
127
+ padding: ${props => props.$padding || '0px'};
128
+ text-align: ${props => props.$align || 'left'};
129
+ box-sizing: border-box;
130
130
  `;
131
131
  const Copy = (_a) => {
132
132
  var { children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', dataItemid } = _a, accessibleProps = __rest(_a, ["children", "align", "margin", "padding", "type", "color", "dataItemid"]);
@@ -135,19 +135,19 @@ const Copy = (_a) => {
135
135
  };
136
136
  Copy.defaultProps = {
137
137
  type: 'default',
138
- };
139
-
140
- const Wrapper$h = styled.div `
141
- display: inline-block;
142
- position: relative;
143
- height: 16px;
144
- `;
145
- const StyledIcon$6 = styled(Icon) `
146
- width: 16px;
147
- height: 16px;
148
- margin: 0px 6px;
149
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
150
- cursor: pointer;
138
+ };
139
+
140
+ const Wrapper$h = styled.div `
141
+ display: inline-block;
142
+ position: relative;
143
+ height: 16px;
144
+ `;
145
+ const StyledIcon$6 = styled(Icon) `
146
+ width: 16px;
147
+ height: 16px;
148
+ margin: 0px 6px;
149
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
150
+ cursor: pointer;
151
151
  `;
152
152
  StyledIcon$6.defaultProps = { theme: EditableTheme };
153
153
  const positions = {
@@ -186,13 +186,13 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, d
186
186
  return (React.createElement(Wrapper$h, { "data-itemid": `${baseId}-wrapper`, onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
187
187
  trigger || React.createElement(StyledIcon$6, { "data-itemid": `${baseId}-icon`, path: mdiInformationOutline }),
188
188
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width, "data-itemid": `${baseId}-content` }, children && (React.createElement(Copy, { "data-itemid": `${baseId}-copy`, type: 'small' }, children)))) : null));
189
- };
190
-
191
- const StyledButton = styled.button `
192
- height: ${props => (props.$small ? '30px' : '40px')};
193
- line-height: 1em;
194
- border-radius: ${props => (props.$small ? '15px' : '20px')};
195
- margin: ${props => props.$margin || '0px'};
189
+ };
190
+
191
+ const StyledButton = styled.button `
192
+ height: ${props => (props.$small ? '30px' : '40px')};
193
+ line-height: 1em;
194
+ border-radius: ${props => (props.$small ? '15px' : '20px')};
195
+ margin: ${props => props.$margin || '0px'};
196
196
  padding: ${props => {
197
197
  if (props.$hasChildren) {
198
198
  if (props.$small) {
@@ -203,9 +203,9 @@ const StyledButton = styled.button `
203
203
  }
204
204
  }
205
205
  return '0px';
206
- }};
207
- outline: none;
208
- background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
206
+ }};
207
+ outline: none;
208
+ background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
209
209
  width: ${props => {
210
210
  if (props.$hasChildren) {
211
211
  return 'auto';
@@ -214,55 +214,55 @@ const StyledButton = styled.button `
214
214
  return '30px';
215
215
  }
216
216
  return '40px';
217
- }};
218
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
219
- display: flex;
220
- align-items: center;
221
- justify-content: center;
222
- gap: ${props => (props.$iconPosition === 'before' ? '8px' : '0px')};
223
- flex-direction: ${props => (props.$iconPosition === 'before' ? 'row-reverse' : 'row')};
224
- opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
225
- border-width: 1px;
226
- border-style: solid;
227
- border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
228
- box-sizing: border-box;
229
-
230
- &:active,
231
- &:focus,
232
- &:hover {
233
- opacity: ${props => (props.$disabled ? 0.6 : 1)};
234
- }
235
- `;
236
- const Label$5 = styled.span `
237
- color: ${props => props.$content_color || '#fff'};
238
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
239
- font-family: ${FontStyles.DEFAULT};
240
- font-weight: 500;
241
- line-height: 1;
242
- `;
243
- const StyledIcon$5 = styled.span `
244
- margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
245
- margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
246
- display: flex;
247
- align-items: center;
248
- box-sizing: border-box;
249
- `;
250
- const Badge$1 = styled.span `
251
- width: ${props => (props.$small ? '20px' : '24px')};
252
- height: ${props => (props.$small ? '20px' : '24px')};
253
- line-height: 1;
254
- display: flex;
255
- align-items: center;
256
- justify-content: center;
257
- border-radius: 100%;
258
- background-color: ${props => props.$bg_color || '#fff'};
259
- color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
260
- font-size: ${props => (props.$small ? '10px' : '12px')};
261
- font-weight: 600;
262
- font-family: ${FontStyles.DEFAULT};
263
- letter-spacing: -1px;
264
- margin-left: ${props => (props.$small ? '5px' : '10px')};
265
- margin-right: ${props => (props.$small ? '-5px' : '-10px')};
217
+ }};
218
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
219
+ display: flex;
220
+ align-items: center;
221
+ justify-content: center;
222
+ gap: ${props => (props.$iconPosition === 'before' ? '8px' : '0px')};
223
+ flex-direction: ${props => (props.$iconPosition === 'before' ? 'row-reverse' : 'row')};
224
+ opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
225
+ border-width: 1px;
226
+ border-style: solid;
227
+ border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
228
+ box-sizing: border-box;
229
+
230
+ &:active,
231
+ &:focus,
232
+ &:hover {
233
+ opacity: ${props => (props.$disabled ? 0.6 : 1)};
234
+ }
235
+ `;
236
+ const Label$5 = styled.span `
237
+ color: ${props => props.$content_color || '#fff'};
238
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
239
+ font-family: ${FontStyles.DEFAULT};
240
+ font-weight: 500;
241
+ line-height: 1;
242
+ `;
243
+ const StyledIcon$5 = styled.span `
244
+ margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
245
+ margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
246
+ display: flex;
247
+ align-items: center;
248
+ box-sizing: border-box;
249
+ `;
250
+ const Badge$1 = styled.span `
251
+ width: ${props => (props.$small ? '20px' : '24px')};
252
+ height: ${props => (props.$small ? '20px' : '24px')};
253
+ line-height: 1;
254
+ display: flex;
255
+ align-items: center;
256
+ justify-content: center;
257
+ border-radius: 100%;
258
+ background-color: ${props => props.$bg_color || '#fff'};
259
+ color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
260
+ font-size: ${props => (props.$small ? '10px' : '12px')};
261
+ font-weight: 600;
262
+ font-family: ${FontStyles.DEFAULT};
263
+ letter-spacing: -1px;
264
+ margin-left: ${props => (props.$small ? '5px' : '10px')};
265
+ margin-right: ${props => (props.$small ? '-5px' : '-10px')};
266
266
  `;
267
267
  const Button = (_a) => {
268
268
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary', iconPosition = 'after', toolTip, title = '', dataItemid, type = null } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format", "iconPosition", "toolTip", "title", "dataItemid", "type"]);
@@ -309,37 +309,37 @@ const Button = (_a) => {
309
309
  return (React.createElement(Tooltip, Object.assign({}, toolTip, { trigger: (toolTip === null || toolTip === void 0 ? void 0 : toolTip.trigger) || button_view }), toolTip === null || toolTip === void 0 ? void 0 : toolTip.children));
310
310
  }
311
311
  return button_view;
312
- };
313
-
314
- const H1 = styled.h1 `
315
- color: ${Colors.BLACK.Hex};
316
- font-size: 30px;
317
- font-weight: ${props => (props.$bold ? '500' : '400')};
318
- line-height: 1.4em;
319
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
320
- margin: ${props => props.$margin || '0px'};
321
- padding: ${props => props.$padding || '0px'};
322
- box-sizing: border-box;
323
- `;
324
- const H2 = styled.h2 `
325
- color: ${Colors.BLACK.Hex};
326
- font-size: 24px;
327
- font-weight: ${props => (props.$bold ? '500' : '400')};
328
- line-height: 1.33em;
329
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
330
- margin: ${props => props.$margin || '0px'};
331
- padding: ${props => props.$padding || '0px'};
332
- box-sizing: border-box;
333
- `;
334
- const H3 = styled.h3 `
335
- color: ${Colors.BLACK.Hex};
336
- font-size: 18px;
337
- font-weight: ${props => (props.$bold ? '500' : '400')};
338
- line-height: 1.33em;
339
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
340
- margin: ${props => props.$margin || '0px'};
341
- padding: ${props => props.$padding || '0px'};
342
- box-sizing: border-box;
312
+ };
313
+
314
+ const H1 = styled.h1 `
315
+ color: ${Colors.BLACK.Hex};
316
+ font-size: 30px;
317
+ font-weight: ${props => (props.$bold ? '500' : '400')};
318
+ line-height: 1.4em;
319
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
320
+ margin: ${props => props.$margin || '0px'};
321
+ padding: ${props => props.$padding || '0px'};
322
+ box-sizing: border-box;
323
+ `;
324
+ const H2 = styled.h2 `
325
+ color: ${Colors.BLACK.Hex};
326
+ font-size: 24px;
327
+ font-weight: ${props => (props.$bold ? '500' : '400')};
328
+ line-height: 1.33em;
329
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
330
+ margin: ${props => props.$margin || '0px'};
331
+ padding: ${props => props.$padding || '0px'};
332
+ box-sizing: border-box;
333
+ `;
334
+ const H3 = styled.h3 `
335
+ color: ${Colors.BLACK.Hex};
336
+ font-size: 18px;
337
+ font-weight: ${props => (props.$bold ? '500' : '400')};
338
+ line-height: 1.33em;
339
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
340
+ margin: ${props => props.$margin || '0px'};
341
+ padding: ${props => props.$padding || '0px'};
342
+ box-sizing: border-box;
343
343
  `;
344
344
  const Heading = (_a) => {
345
345
  var { bold, children, margin, padding, type, dataItemid } = _a, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type", "dataItemid"]);
@@ -359,29 +359,29 @@ const Heading = (_a) => {
359
359
  Heading.defaultProps = {
360
360
  bold: false,
361
361
  type: 'primary',
362
- };
363
-
364
- const Wrapper$g = styled.div `
365
- position: fixed;
366
- top: 0;
367
- right: 0;
368
- bottom: 0;
369
- left: 0;
370
- z-index: 9999;
371
- background: rgba(0, 0, 0, 0.8);
372
- display: flex;
373
- align-items: center;
374
- justify-content: center;
375
- box-sizing: border-box;
362
+ };
363
+
364
+ const Wrapper$g = styled.div `
365
+ position: fixed;
366
+ top: 0;
367
+ right: 0;
368
+ bottom: 0;
369
+ left: 0;
370
+ z-index: 9999;
371
+ background: rgba(0, 0, 0, 0.8);
372
+ display: flex;
373
+ align-items: center;
374
+ justify-content: center;
375
+ box-sizing: border-box;
376
376
  `;
377
377
  const Container$4 = styled.dialog(props => (Object.assign({ maxWidth: '600px', width: 'auto', borderRadius: '8px', overflow: 'hidden', boxShadow: '0px 10px 30px -15px rgba(0, 0, 0, 0.2)', outline: 'none', border: 'none', position: 'relative', padding: '40px', textAlign: 'center', boxSizing: 'border-box', wordWrap: 'break-word' }, props.$customStyle)));
378
- const Buttons$1 = styled.div `
379
- display: flex;
380
- gap: 10px;
381
- align-items: center;
382
- justify-content: center;
383
- margin-top: 30px;
384
- box-sizing: border-box;
378
+ const Buttons$1 = styled.div `
379
+ display: flex;
380
+ gap: 10px;
381
+ align-items: center;
382
+ justify-content: center;
383
+ margin-top: 30px;
384
+ box-sizing: border-box;
385
385
  `;
386
386
  const ActionDialog = (_a) => {
387
387
  var { description, title, primaryButton, secondaryButton, tertiaryButton, style = {}, dataItemid } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton", "style", "dataItemid"]);
@@ -394,29 +394,29 @@ const ActionDialog = (_a) => {
394
394
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { "data-itemid": `${baseId}-tertiary-button`, format: tertiaryButton.format || 'secondary' }))) : null,
395
395
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' }))) : null,
396
396
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null)));
397
- };
398
-
399
- const Wrapper$f = styled.div `
400
- border: 1px solid #f1f1f1;
401
- border-radius: 4px;
402
- border-left-width: 4px;
403
- box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
404
- display: flex;
405
- align-items: flex-start;
406
- gap: ${({ $small }) => ($small ? '8px' : '20px')};
407
- padding: ${({ $small }) => ($small ? '11px' : '20px')};
408
- box-sizing: border-box;
409
- `;
410
- const StyledIcon$4 = styled(Icon) `
411
- flex-shrink: 0;
412
- `;
413
- const Action$1 = styled.div `
414
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
415
- font-size: ${FontSizes.DEFAULT};
416
- font-family: ${FontStyles.DEFAULT};
417
- font-weight: 500;
418
- cursor: pointer;
419
- margin-top: 6px;
397
+ };
398
+
399
+ const Wrapper$f = styled.div `
400
+ border: 1px solid #f1f1f1;
401
+ border-radius: 4px;
402
+ border-left-width: 4px;
403
+ box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
404
+ display: flex;
405
+ align-items: flex-start;
406
+ gap: ${({ $small }) => ($small ? '8px' : '20px')};
407
+ padding: ${({ $small }) => ($small ? '11px' : '20px')};
408
+ box-sizing: border-box;
409
+ `;
410
+ const StyledIcon$4 = styled(Icon) `
411
+ flex-shrink: 0;
412
+ `;
413
+ const Action$1 = styled.div `
414
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
415
+ font-size: ${FontSizes.DEFAULT};
416
+ font-family: ${FontStyles.DEFAULT};
417
+ font-weight: 500;
418
+ cursor: pointer;
419
+ margin-top: 6px;
420
420
  `;
421
421
  Action$1.defaultProps = { theme: EditableTheme };
422
422
  const Alert = (_a) => {
@@ -447,8 +447,8 @@ const Alert = (_a) => {
447
447
  title && !small ? (React.createElement(Heading, { bold: true, "data-itemid": `${baseId}-title`, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
448
448
  description ? (React.createElement(Copy, { "data-itemid": `${baseId}-description`, margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
449
449
  action && !small ? (React.createElement(Action$1, { "data-itemid": `${baseId}-action`, onClick: action.onClick }, action.label)) : null)));
450
- };
451
-
450
+ };
451
+
452
452
  const colorMapping = {
453
453
  black: {
454
454
  fill_1: '#000000',
@@ -490,62 +490,62 @@ const Logo = (_a) => {
490
490
  React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', "data-itemid": `${baseId}-path-7`, fill: colorMapping[type_parts[1]].fill_1 }),
491
491
  React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', "data-itemid": `${baseId}-path-8`, fill: colorMapping[type_parts[1]].fill_1 })));
492
492
  }
493
- };
494
-
495
- const Container$3 = styled.header `
496
- width: 100%;
497
- display: flex;
498
- padding: 20px;
499
- box-sizing: border-box;
500
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
501
- background: '#fff';
502
- justify-content: space-between;
503
- `;
504
- const LogoWrapper = styled.div `
505
- display: flex;
506
- align-items: center;
507
- `;
508
- const Image = styled.img `
509
- height: 30px !important;
510
- width: auto !important;
511
- `;
512
- const Buttons = styled.div `
513
- display: flex;
514
- flex-direction: row;
515
- column-gap: 10px;
516
- flex-direction: reverse;
493
+ };
494
+
495
+ const Container$3 = styled.header `
496
+ width: 100%;
497
+ display: flex;
498
+ padding: 20px;
499
+ box-sizing: border-box;
500
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
501
+ background: '#fff';
502
+ justify-content: space-between;
503
+ `;
504
+ const LogoWrapper = styled.div `
505
+ display: flex;
506
+ align-items: center;
507
+ `;
508
+ const Image = styled.img `
509
+ height: 30px !important;
510
+ width: auto !important;
511
+ `;
512
+ const Buttons = styled.div `
513
+ display: flex;
514
+ flex-direction: row;
515
+ column-gap: 10px;
516
+ flex-direction: reverse;
517
517
  `;
518
518
  const AppHeader = ({ logoUrl, buttons = [], dataItemid }) => {
519
519
  const baseId = dataItemid || 'app-header';
520
520
  return (React.createElement(Container$3, { "data-itemid": `${baseId}-container` },
521
521
  React.createElement(LogoWrapper, { "data-itemid": `${baseId}-logo-wrapper` }, logoUrl ? (React.createElement(Image, { "data-itemid": `${baseId}-logo`, src: logoUrl })) : (React.createElement(Logo, { "data-itemid": `${baseId}-default-logo`, height: '30px' }))),
522
522
  React.createElement(Buttons, { "data-itemid": `${baseId}-buttons` }, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b, { "data-itemid": `${baseId}-button-${i}` })))))));
523
- };
524
-
525
- const Wrapper$e = styled.div `
526
- display: inline-block;
527
- border-radius: 4px;
528
- padding: 4px 6px;
529
- background: ${props => Colors[props.$color].Hex};
530
- color: #ffffff;
531
- box-sizing: border-box;
532
- cursor: ${props => (props.$removable ? 'pointer' : 'default')};
533
- `;
534
- const Content$2 = styled.div `
535
- display: flex;
536
- align-items: center;
537
- `;
538
- const Label$4 = styled.div `
539
- color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
540
- font-size: ${FontSizes.SMALL};
541
- font-weight: 500;
542
- font-family: ${FontStyles.DEFAULT};
543
- line-height: 1.2em;
544
- `;
545
- const Remove$1 = styled.div `
546
- margin-left: 10px;
547
- display: flex;
548
- align-items: center;
523
+ };
524
+
525
+ const Wrapper$e = styled.div `
526
+ display: inline-block;
527
+ border-radius: 4px;
528
+ padding: 4px 6px;
529
+ background: ${props => Colors[props.$color].Hex};
530
+ color: #ffffff;
531
+ box-sizing: border-box;
532
+ cursor: ${props => (props.$removable ? 'pointer' : 'default')};
533
+ `;
534
+ const Content$2 = styled.div `
535
+ display: flex;
536
+ align-items: center;
537
+ `;
538
+ const Label$4 = styled.div `
539
+ color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
540
+ font-size: ${FontSizes.SMALL};
541
+ font-weight: 500;
542
+ font-family: ${FontStyles.DEFAULT};
543
+ line-height: 1.2em;
544
+ `;
545
+ const Remove$1 = styled.div `
546
+ margin-left: 10px;
547
+ display: flex;
548
+ align-items: center;
549
549
  `;
550
550
  const Tag = (_a) => {
551
551
  var { children, color = 'PRIMARY', removable, onClick, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick", "dataItemid"]);
@@ -555,94 +555,94 @@ const Tag = (_a) => {
555
555
  React.createElement(Label$4, { "$color": color, "data-itemid": `${baseId}-label` }, children),
556
556
  removable ? (React.createElement(Remove$1, { "data-itemid": `${baseId}-remove` },
557
557
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', "data-itemid": `${baseId}-icon`, path: mdiClose, size: '15px' }))) : null)));
558
- };
559
-
560
- const SidebarContainer = styled.div `
561
- border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
562
- display: flex;
563
- flex-direction: column;
564
- height: 100%;
565
- padding: 12px 0px;
566
- width: ${props => (props.$isOpen ? props.$width : '60px')};
567
- `;
568
- const MenuWrapper$1 = styled.button `
569
- display: flex;
570
- align-items: center;
571
- border: 0px;
572
- background-color: transparent;
573
- padding-left: 0px;
574
- border-left-width: 4px;
575
- border-left-style: solid;
576
- border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
577
- cursor: pointer;
578
- height: 40px;
579
-
580
- &:hover > div {
581
- color: ${props => props.$color.Hex};
582
- }
583
-
584
- &:hover > svg > path {
585
- fill: ${Colors.BLACK.Hex} !important;
586
- }
587
- `;
588
- const MenuIcon = styled(Icon) `
589
- width: 20px;
590
- height: 20px;
591
- margin: 0px 16px;
592
- flex-shrink: 0;
593
-
594
- > path {
595
- fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
596
- }
597
- `;
598
- const MenuLabel = styled.div `
599
- color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
600
- flex: 1;
601
- font-size: 12px;
602
- font-style: normal;
603
- font-weight: 600;
604
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
605
- line-height: 16px;
606
- padding: 12px 0px;
607
- letter-spacing: 1px;
608
- `;
609
- const SubMenu = styled.div `
610
- overflow-y: auto;
611
- padding-left: 44px;
612
- padding-right: 20px;
613
- padding-bottom: 10px;
614
- `;
615
- const SubMenuItem = styled.a `
616
- display: block;
617
- padding: 8px 12px;
618
- border-radius: 8px;
619
- font-size: 13px;
620
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
621
- line-height: 20px;
622
- text-decoration: none;
623
- font-weight: ${({ $active }) => ($active ? '500' : '400')};
624
- color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
625
- background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
626
- cursor: pointer;
627
-
628
- &:hover {
629
- color: ${props => props.$color.Hex};
630
- font-weight: 500;
631
- }
632
- `;
633
- const Footer = styled.div `
634
- padding: 20px 14px 0px;
635
- display: flex;
636
- align-items: center;
637
- `;
638
- const FooterInfo = styled.div `
639
- display: flex;
640
- flex-direction: column;
641
- flex: 1;
642
- align-items: flex-start;
643
- `;
644
- const SidebarMenuContainer = styled.div `
645
- flex-grow: 1;
558
+ };
559
+
560
+ const SidebarContainer = styled.div `
561
+ border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
562
+ display: flex;
563
+ flex-direction: column;
564
+ height: 100%;
565
+ padding: 12px 0px;
566
+ width: ${props => (props.$isOpen ? props.$width : '60px')};
567
+ `;
568
+ const MenuWrapper$1 = styled.button `
569
+ display: flex;
570
+ align-items: center;
571
+ border: 0px;
572
+ background-color: transparent;
573
+ padding-left: 0px;
574
+ border-left-width: 4px;
575
+ border-left-style: solid;
576
+ border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
577
+ cursor: pointer;
578
+ height: 40px;
579
+
580
+ &:hover > div {
581
+ color: ${props => props.$color.Hex};
582
+ }
583
+
584
+ &:hover > svg > path {
585
+ fill: ${Colors.BLACK.Hex} !important;
586
+ }
587
+ `;
588
+ const MenuIcon = styled(Icon) `
589
+ width: 20px;
590
+ height: 20px;
591
+ margin: 0px 16px;
592
+ flex-shrink: 0;
593
+
594
+ > path {
595
+ fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
596
+ }
597
+ `;
598
+ const MenuLabel = styled.div `
599
+ color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
600
+ flex: 1;
601
+ font-size: 12px;
602
+ font-style: normal;
603
+ font-weight: 600;
604
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
605
+ line-height: 16px;
606
+ padding: 12px 0px;
607
+ letter-spacing: 1px;
608
+ `;
609
+ const SubMenu = styled.div `
610
+ overflow-y: auto;
611
+ padding-left: 44px;
612
+ padding-right: 20px;
613
+ padding-bottom: 10px;
614
+ `;
615
+ const SubMenuItem = styled.a `
616
+ display: block;
617
+ padding: 8px 12px;
618
+ border-radius: 8px;
619
+ font-size: 13px;
620
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
621
+ line-height: 20px;
622
+ text-decoration: none;
623
+ font-weight: ${({ $active }) => ($active ? '500' : '400')};
624
+ color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
625
+ background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
626
+ cursor: pointer;
627
+
628
+ &:hover {
629
+ color: ${props => props.$color.Hex};
630
+ font-weight: 500;
631
+ }
632
+ `;
633
+ const Footer = styled.div `
634
+ padding: 20px 14px 0px;
635
+ display: flex;
636
+ align-items: center;
637
+ `;
638
+ const FooterInfo = styled.div `
639
+ display: flex;
640
+ flex-direction: column;
641
+ flex: 1;
642
+ align-items: flex-start;
643
+ `;
644
+ const SidebarMenuContainer = styled.div `
645
+ flex-grow: 1;
646
646
  `;
647
647
  const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px', dataItemid, }) => {
648
648
  const theme = useContext(ThemeContext) || EditableTheme;
@@ -671,75 +671,75 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px', dataIte
671
671
  e.preventDefault();
672
672
  toggleCollapse(!collapsed);
673
673
  }, small: true, type: 'button' }))));
674
- };
675
-
676
- const Wrapper$d = styled.div `
677
- border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
678
- border-radius: 8px;
679
- box-sizing: border-box;
680
- display: flex;
681
- align-items: center;
682
- justify-content: space-between;
683
- padding: 16px 20px;
674
+ };
675
+
676
+ const Wrapper$d = styled.div `
677
+ border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
678
+ border-radius: 8px;
679
+ box-sizing: border-box;
680
+ display: flex;
681
+ align-items: center;
682
+ justify-content: space-between;
683
+ padding: 16px 20px;
684
684
  `;
685
685
  Wrapper$d.defaultProps = { theme: EditableTheme };
686
- const Left = styled.div `
687
- box-sizing: border-box;
688
- display: flex;
689
- align-items: center;
690
- justify-content: space-between;
691
- flex-shrink: 0;
692
- `;
693
- const Info$1 = styled.div `
694
- box-sizing: border-box;
695
- display: flex;
696
- align-items: center;
697
- margin-right: 30px;
698
- `;
699
- const Selected = styled.span `
700
- font-size: 14px;
701
- font-weight: 400;
702
- font-family: ${FontStyles.DEFAULT};
703
- color: ${Colors.BLACK.Hex};
704
- line-height: 1;
705
- `;
706
- const Clear = styled.span `
707
- font-size: 14px;
708
- font-weight: 400;
709
- font-family: ${FontStyles.DEFAULT};
710
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
711
- line-height: 1;
712
- cursor: pointer;
713
- padding-left: 10px;
714
- margin-left: 10px;
715
- border-left: 1px solid #ccc;
686
+ const Left = styled.div `
687
+ box-sizing: border-box;
688
+ display: flex;
689
+ align-items: center;
690
+ justify-content: space-between;
691
+ flex-shrink: 0;
692
+ `;
693
+ const Info$1 = styled.div `
694
+ box-sizing: border-box;
695
+ display: flex;
696
+ align-items: center;
697
+ margin-right: 30px;
698
+ `;
699
+ const Selected = styled.span `
700
+ font-size: 14px;
701
+ font-weight: 400;
702
+ font-family: ${FontStyles.DEFAULT};
703
+ color: ${Colors.BLACK.Hex};
704
+ line-height: 1;
705
+ `;
706
+ const Clear = styled.span `
707
+ font-size: 14px;
708
+ font-weight: 400;
709
+ font-family: ${FontStyles.DEFAULT};
710
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
711
+ line-height: 1;
712
+ cursor: pointer;
713
+ padding-left: 10px;
714
+ margin-left: 10px;
715
+ border-left: 1px solid #ccc;
716
716
  `;
717
717
  Clear.defaultProps = { theme: EditableTheme };
718
- const Actions$1 = styled.div `
719
- box-sizing: border-box;
720
- display: flex;
721
- align-items: center;
722
- column-gap: 10px;
723
- `;
724
- const Error$1 = styled.div `
725
- box-sizing: border-box;
726
- display: flex;
727
- align-items: center;
728
- background: rgba(${Colors.RED.Rgb}, 0.1);
729
- border-radius: 4px;
730
- padding: 6px 8px;
731
- text-overflow: ellipsis;
732
- white-space: nowrap;
733
- overflow: hidden;
734
- margin-left: 30px;
735
- `;
736
- const ErrorMsg = styled.span `
737
- font-size: 14px;
738
- font-weight: 500;
739
- font-family: ${FontStyles.DEFAULT};
740
- line-height: 1em;
741
- color: ${Colors.RED.Hex};
742
- margin-left: 8px;
718
+ const Actions$1 = styled.div `
719
+ box-sizing: border-box;
720
+ display: flex;
721
+ align-items: center;
722
+ column-gap: 10px;
723
+ `;
724
+ const Error$1 = styled.div `
725
+ box-sizing: border-box;
726
+ display: flex;
727
+ align-items: center;
728
+ background: rgba(${Colors.RED.Rgb}, 0.1);
729
+ border-radius: 4px;
730
+ padding: 6px 8px;
731
+ text-overflow: ellipsis;
732
+ white-space: nowrap;
733
+ overflow: hidden;
734
+ margin-left: 30px;
735
+ `;
736
+ const ErrorMsg = styled.span `
737
+ font-size: 14px;
738
+ font-weight: 500;
739
+ font-family: ${FontStyles.DEFAULT};
740
+ line-height: 1em;
741
+ color: ${Colors.RED.Hex};
742
+ margin-left: 8px;
743
743
  `;
744
744
  const BulkActionBar = (_a) => {
745
745
  var { actions = [], errorMsg, onClear, selectedCount = 0, dataItemid } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount", "dataItemid"]);
@@ -755,48 +755,48 @@ const BulkActionBar = (_a) => {
755
755
  errorMsg ? (React.createElement(Error$1, { "data-itemid": `${baseId}-error` },
756
756
  React.createElement(Icon, { color: Colors.RED.Hex, "data-itemid": `${baseId}-error-icon`, path: mdiInformationOutline, size: '20px' }),
757
757
  React.createElement(ErrorMsg, { "data-itemid": `${baseId}-error-msg` }, errorMsg))) : null));
758
- };
759
-
760
- const Wrapper$c = styled.div `
761
- background: #fff;
762
- border-radius: 8px;
763
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
764
- display: flex;
765
- flex-direction: column;
766
- gap: 4px;
767
- max-height: ${props => props.$maxHeight || '312px'};
768
- padding: 10px;
769
- width: 200px;
770
- `;
771
- const MenuItem = styled.div `
772
- align-items: center;
773
- border-radius: 8px;
774
- border: 1px solid transparent;
775
- display: flex;
776
- gap: 8px;
777
- height: 38px;
778
- padding: 8px;
779
- &:hover {
780
- background: rgba(1, 147, 215, 0.1);
781
- cursor: pointer;
782
-
783
- svg,
784
- path {
785
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
786
- }
787
- }
758
+ };
759
+
760
+ const Wrapper$c = styled.div `
761
+ background: #fff;
762
+ border-radius: 8px;
763
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
764
+ display: flex;
765
+ flex-direction: column;
766
+ gap: 4px;
767
+ max-height: ${props => props.$maxHeight || '312px'};
768
+ padding: 10px;
769
+ width: 200px;
770
+ `;
771
+ const MenuItem = styled.div `
772
+ align-items: center;
773
+ border-radius: 8px;
774
+ border: 1px solid transparent;
775
+ display: flex;
776
+ gap: 8px;
777
+ height: 38px;
778
+ padding: 8px;
779
+ &:hover {
780
+ background: rgba(1, 147, 215, 0.1);
781
+ cursor: pointer;
782
+
783
+ svg,
784
+ path {
785
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
786
+ }
787
+ }
788
788
  `;
789
789
  MenuItem.defaultProps = { theme: EditableTheme };
790
- const Title$1 = styled.span `
791
- font-family: Roboto;
792
- font-size: 14px;
793
- font-weight: 400;
794
- height: auto;
795
- letter-spacing: 0px;
796
- line-height: 22px;
797
- text-align: left;
798
- color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
799
- pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
790
+ const Title$1 = styled.span `
791
+ font-family: Roboto;
792
+ font-size: 14px;
793
+ font-weight: 400;
794
+ height: auto;
795
+ letter-spacing: 0px;
796
+ line-height: 22px;
797
+ text-align: left;
798
+ color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
799
+ pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
800
800
  `;
801
801
  Title$1.defaultProps = {
802
802
  disabled: false,
@@ -811,19 +811,19 @@ const MoreMenu = (_a) => {
811
811
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, "data-itemid": `${itemId}-icon`, path: item.icon, size: '20px' })) : null,
812
812
  React.createElement(Title$1, { "data-itemid": `${itemId}-title`, disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
813
813
  })));
814
- };
815
-
816
- const MenuWrapper = styled.div `
817
- position: relative;
818
- display: inline-block;
819
- `;
820
- const StyledMoreMenu = styled(MoreMenu) `
821
- position: absolute;
822
- top: ${props => props.$top};
823
- left: ${props => props.$left};
824
- width: ${props => props.$menuWidth};
825
- max-height: ${props => props.maxHeight};
826
- z-index: 10;
814
+ };
815
+
816
+ const MenuWrapper = styled.div `
817
+ position: relative;
818
+ display: inline-block;
819
+ `;
820
+ const StyledMoreMenu = styled(MoreMenu) `
821
+ position: absolute;
822
+ top: ${props => props.$top};
823
+ left: ${props => props.$left};
824
+ width: ${props => props.$menuWidth};
825
+ max-height: ${props => props.maxHeight};
826
+ z-index: 10;
827
827
  `;
828
828
  const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'bottomLeft', format = 'primary', menuWidth = '200px', enableHover = true, enableClick = false, show = false, dataItemid, }) => {
829
829
  const [showMenu, toggleMenu] = useState(false);
@@ -898,85 +898,85 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
898
898
  return (React.createElement(MenuWrapper, { "data-itemid": `${baseId}-menu-wrapper`, onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
899
899
  React.createElement(Button, { "data-itemid": `${baseId}-button`, disabled: disabled, format: format, icon: mdiDotsHorizontal, small: small }, label),
900
900
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, "data-itemid": `${baseId}-more-menu`, maxHeight: maxHeight, menuItems: menuItems }))));
901
- };
902
-
903
- const Wrapper$b = styled.label `
904
- border-radius: 4px;
905
- padding: 4px 0px 4px 6px;
906
- margin-left: -6px;
907
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
908
- display: flex;
909
- align-items: center;
910
- font-size: ${FontSizes.DEFAULT};
911
- line-height: 1.6em;
912
- box-sizing: border-box;
913
- position: relative;
914
-
915
- &:focus-within {
916
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
917
- }
901
+ };
902
+
903
+ const Wrapper$b = styled.label `
904
+ border-radius: 4px;
905
+ padding: 4px 0px 4px 6px;
906
+ margin-left: -6px;
907
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
908
+ display: flex;
909
+ align-items: center;
910
+ font-size: ${FontSizes.DEFAULT};
911
+ line-height: 1.6em;
912
+ box-sizing: border-box;
913
+ position: relative;
914
+
915
+ &:focus-within {
916
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
917
+ }
918
918
  `;
919
919
  Wrapper$b.defaultProps = { theme: EditableTheme };
920
- const Input$2 = styled.input `
921
- font-size: 20px;
922
- margin: 0px;
923
- line-height: 1.1em;
924
- box-sizing: border-box;
925
- position: absolute;
926
- opacity: 0;
927
- cursor: pointer;
928
- height: 0;
929
- width: 0;
930
- &:checked + span {
931
- background-color: ${Colors.PRIMARY.Hex};
932
- border-color: ${Colors.PRIMARY.Hex};
933
- }
934
- &:checked:disabled + span {
935
- background-color: ${Colors.MEDIUM_GRAY.Hex};
936
- border-color: ${Colors.MEDIUM_GRAY.Hex};
937
- }
938
- &:disabled + span {
939
- background-color: #d3d3d3;
940
- border-color: #d3d3d3;
941
- }
942
- &:checked + span:after {
943
- display: block;
944
- }
945
- `;
946
- const Check$1 = styled.span `
947
- height: 17px;
948
- width: 17px;
949
- min-width: 17px;
950
- background-color: #fff;
951
- border-width: 2px;
952
- border-style: solid;
953
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
954
- box-sizing: border-box;
955
- position: relative;
956
- &:after {
957
- content: '';
958
- position: absolute;
959
- left: 3px;
960
- top: 0px;
961
- width: 7px;
962
- height: 12px;
963
- border: solid white;
964
- border-width: 0 3px 3px 0;
965
- -webkit-transform: rotate(45deg);
966
- -ms-transform: rotate(45deg);
967
- transform: rotate(45deg);
968
- box-sizing: border-box;
969
- display: none;
970
- }
971
- `;
972
- const Label$3 = styled.span `
973
- font-family: ${FontStyles.DEFAULT};
974
- font-size: ${FontSizes.DEFAULT};
975
- font-weight: 400;
976
- line-height: 1.6em;
977
- color: ${props => props.color || Colors.BLACK.Hex};
978
- margin-left: 6px;
979
- box-sizing: border-box;
920
+ const Input$2 = styled.input `
921
+ font-size: 20px;
922
+ margin: 0px;
923
+ line-height: 1.1em;
924
+ box-sizing: border-box;
925
+ position: absolute;
926
+ opacity: 0;
927
+ cursor: pointer;
928
+ height: 0;
929
+ width: 0;
930
+ &:checked + span {
931
+ background-color: ${Colors.PRIMARY.Hex};
932
+ border-color: ${Colors.PRIMARY.Hex};
933
+ }
934
+ &:checked:disabled + span {
935
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
936
+ border-color: ${Colors.MEDIUM_GRAY.Hex};
937
+ }
938
+ &:disabled + span {
939
+ background-color: #d3d3d3;
940
+ border-color: #d3d3d3;
941
+ }
942
+ &:checked + span:after {
943
+ display: block;
944
+ }
945
+ `;
946
+ const Check$1 = styled.span `
947
+ height: 17px;
948
+ width: 17px;
949
+ min-width: 17px;
950
+ background-color: #fff;
951
+ border-width: 2px;
952
+ border-style: solid;
953
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
954
+ box-sizing: border-box;
955
+ position: relative;
956
+ &:after {
957
+ content: '';
958
+ position: absolute;
959
+ left: 3px;
960
+ top: 0px;
961
+ width: 7px;
962
+ height: 12px;
963
+ border: solid white;
964
+ border-width: 0 3px 3px 0;
965
+ -webkit-transform: rotate(45deg);
966
+ -ms-transform: rotate(45deg);
967
+ transform: rotate(45deg);
968
+ box-sizing: border-box;
969
+ display: none;
970
+ }
971
+ `;
972
+ const Label$3 = styled.span `
973
+ font-family: ${FontStyles.DEFAULT};
974
+ font-size: ${FontSizes.DEFAULT};
975
+ font-weight: 400;
976
+ line-height: 1.6em;
977
+ color: ${props => props.color || Colors.BLACK.Hex};
978
+ margin-left: 6px;
979
+ box-sizing: border-box;
980
980
  `;
981
981
  const Checkbox = (_a) => {
982
982
  var { children, color, disabled, checked, onChange, invalid, tooltip, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip", "tabIndex", "dataItemid"]);
@@ -987,16 +987,16 @@ const Checkbox = (_a) => {
987
987
  children ? (React.createElement(Label$3, { color: color, "data-itemid": `${baseId}-label` },
988
988
  children,
989
989
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
990
- };
991
-
992
- const SelectAll = styled.div `
993
- padding: 8px 12px;
994
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
995
- box-sizing: border-box;
990
+ };
991
+
992
+ const SelectAll = styled.div `
993
+ padding: 8px 12px;
994
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
995
+ box-sizing: border-box;
996
996
  `;
997
- const Options$1 = styled.div `
998
- padding: 12px;
999
- box-sizing: border-box;
997
+ const Options$1 = styled.div `
998
+ padding: 12px;
999
+ box-sizing: border-box;
1000
1000
  `;
1001
1001
  const Checklist = (_a) => {
1002
1002
  var { disabled, onChange, options, selected = [], showSelectAll, dataItemid } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll", "dataItemid"]);
@@ -1035,70 +1035,70 @@ const Checklist = (_a) => {
1035
1035
  const optionId = `${baseId}-option-${i}`;
1036
1036
  return (React.createElement(Checkbox, Object.assign({ "data-itemid": `${optionId}-checkbox`, key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1037
1037
  }))));
1038
- };
1039
-
1040
- const Wrapper$a = styled.div `
1041
- border-radius: 4px;
1042
- height: 40px;
1043
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1044
- position: relative;
1045
- cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1046
- border-width: 1px;
1047
- border-style: solid;
1048
- border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1049
- border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1050
- flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1051
- box-sizing: border-box;
1052
- padding: 10px 0px;
1053
- display: flex;
1054
- align-items: center;
1055
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1056
-
1057
- &:focus-within {
1058
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1059
- }
1038
+ };
1039
+
1040
+ const Wrapper$a = styled.div `
1041
+ border-radius: 4px;
1042
+ height: 40px;
1043
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1044
+ position: relative;
1045
+ cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1046
+ border-width: 1px;
1047
+ border-style: solid;
1048
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1049
+ border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1050
+ flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1051
+ box-sizing: border-box;
1052
+ padding: 10px 0px;
1053
+ display: flex;
1054
+ align-items: center;
1055
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1056
+
1057
+ &:focus-within {
1058
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1059
+ }
1060
1060
  `;
1061
1061
  Wrapper$a.defaultProps = { theme: EditableTheme };
1062
- const Trigger$1 = styled.select `
1063
- appearance: none;
1064
- box-shadow: none;
1065
- outline: none;
1066
- border: none;
1067
- color: ${Colors.BLACK.Hex};
1068
- font-size: ${FontSizes.DEFAULT};
1069
- font-weight: 400;
1070
- font-family: ${FontStyles.DEFAULT};
1071
- line-height: 3.1em;
1072
- background-color: transparent;
1073
- background-image: none;
1074
- width: 100%;
1075
- box-sizing: border-box;
1076
- padding: 0px 30px 0px 10px;
1077
- box-sizing: border-box;
1078
- position: relative;
1079
- z-index: 2;
1080
- `;
1081
- const IconWrapper$2 = styled(Icon) `
1082
- position: absolute;
1083
- right: 9px;
1084
- z-index: 1;
1085
- `;
1086
- const SearchInput$1 = styled.input `
1087
- position: absolute;
1088
- left: 2px;
1089
- top: 2px;
1090
- z-index: 999;
1091
- width: 90%;
1092
- height: 30px;
1093
- border: none;
1094
- outline: none;
1095
- color: ${Colors.BLACK.Hex};
1096
- font-family: ${FontStyles.DEFAULT};
1097
- font-size: ${FontSizes.DEFAULT};
1098
- font-weight: 400;
1099
- line-height: 2.9em;
1100
- overflow: hidden;
1101
- white-space: nowrap;
1062
+ const Trigger$1 = styled.select `
1063
+ appearance: none;
1064
+ box-shadow: none;
1065
+ outline: none;
1066
+ border: none;
1067
+ color: ${Colors.BLACK.Hex};
1068
+ font-size: ${FontSizes.DEFAULT};
1069
+ font-weight: 400;
1070
+ font-family: ${FontStyles.DEFAULT};
1071
+ line-height: 3.1em;
1072
+ background-color: transparent;
1073
+ background-image: none;
1074
+ width: 100%;
1075
+ box-sizing: border-box;
1076
+ padding: 0px 30px 0px 10px;
1077
+ box-sizing: border-box;
1078
+ position: relative;
1079
+ z-index: 2;
1080
+ `;
1081
+ const IconWrapper$2 = styled(Icon) `
1082
+ position: absolute;
1083
+ right: 9px;
1084
+ z-index: 1;
1085
+ `;
1086
+ const SearchInput$1 = styled.input `
1087
+ position: absolute;
1088
+ left: 2px;
1089
+ top: 2px;
1090
+ z-index: 999;
1091
+ width: 90%;
1092
+ height: 30px;
1093
+ border: none;
1094
+ outline: none;
1095
+ color: ${Colors.BLACK.Hex};
1096
+ font-family: ${FontStyles.DEFAULT};
1097
+ font-size: ${FontSizes.DEFAULT};
1098
+ font-weight: 400;
1099
+ line-height: 2.9em;
1100
+ overflow: hidden;
1101
+ white-space: nowrap;
1102
1102
  `;
1103
1103
  const Select = (_a) => {
1104
1104
  var { options, optionGroups, placeholder = '--Select-One--', readOnly, invalid, searchable = false, value: propValue, onChange, style, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style", "tabIndex", "dataItemid"]);
@@ -1133,15 +1133,15 @@ const Select = (_a) => {
1133
1133
  filteredOptions &&
1134
1134
  filteredOptions.map((option, i) => (React.createElement("option", { "data-itemid": `${baseId}-option-${i}`, key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
1135
1135
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: mdiChevronDown, size: '22px' })));
1136
- };
1137
-
1138
- const DatePickerWrapper = styled.div `
1139
- display: flex;
1140
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1136
+ };
1137
+
1138
+ const DatePickerWrapper = styled.div `
1139
+ display: flex;
1140
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1141
1141
  `;
1142
- const Middle = styled.div `
1143
- margin: 0px -1px;
1144
- flex-grow: 1;
1142
+ const Middle = styled.div `
1143
+ margin: 0px -1px;
1144
+ flex-grow: 1;
1145
1145
  `;
1146
1146
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date,
1147
1147
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -1229,66 +1229,66 @@ onChange = () => { }, style, dataItemid, locale, }) => {
1229
1229
  React.createElement(Middle, { "data-itemid": `${baseId}-middle` },
1230
1230
  React.createElement(Select, { "data-itemid": `${baseId}-day-select`, invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: (locale === null || locale === void 0 ? void 0 : locale.SelectDay) ? locale === null || locale === void 0 ? void 0 : locale.SelectDay : 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1231
1231
  React.createElement(Select, { "data-itemid": `${baseId}-year-select`, invalid: invalid, onChange: handleYearChange, options: years, placeholder: (locale === null || locale === void 0 ? void 0 : locale.SelectYear) ? locale === null || locale === void 0 ? void 0 : locale.SelectYear : 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1232
- };
1233
-
1234
- const Scrim$1 = styled.div `
1235
- position: ${({ $position }) => $position};
1236
- top: 0;
1237
- right: 0;
1238
- bottom: 0;
1239
- left: 0;
1240
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1241
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1242
- `;
1243
- const Container$2 = styled.div `
1244
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1245
- min-width: 400px;
1246
- width: ${({ $width }) => $width || '400px'};
1247
- overflow: hidden;
1248
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1249
- outline: none;
1250
- border: none;
1251
- position: ${({ $position }) => $position};
1252
- top: 0;
1253
- right: 0;
1254
- bottom: 0;
1255
- padding: 0px;
1256
- display: flex;
1257
- flex-direction: column;
1258
- box-sizing: border-box;
1259
- background: #fff;
1260
- `;
1261
- const Header$2 = styled.div `
1262
- padding: 30px 20px;
1263
- display: flex;
1264
- align-items: flex-start;
1265
- box-sizing: border-box;
1266
- flex-shrink: 0;
1267
- background: #fff;
1268
- `;
1269
- const Close$1 = styled.div `
1270
- margin-left: auto;
1271
- display: flex;
1272
- align-items: center;
1273
- padding-left: 20px;
1274
- cursor: pointer;
1275
- `;
1276
- const ContentWrapper$1 = styled.div `
1277
- overflow-x: hidden;
1278
- overflow-y: auto;
1279
- box-sizing: border-box;
1280
- flex: 1;
1281
- background: #fff;
1282
- `;
1283
- const ButtonBar$1 = styled.div `
1284
- padding: 20px;
1285
- display: flex;
1286
- align-items: center;
1287
- justify-content: flex-end;
1288
- box-sizing: border-box;
1289
- gap: 10px;
1290
- flex-shrink: 0;
1291
- background: #fff;
1232
+ };
1233
+
1234
+ const Scrim$1 = styled.div `
1235
+ position: ${({ $position }) => $position};
1236
+ top: 0;
1237
+ right: 0;
1238
+ bottom: 0;
1239
+ left: 0;
1240
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1241
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1242
+ `;
1243
+ const Container$2 = styled.div `
1244
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1245
+ min-width: 400px;
1246
+ width: ${({ $width }) => $width || '400px'};
1247
+ overflow: hidden;
1248
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1249
+ outline: none;
1250
+ border: none;
1251
+ position: ${({ $position }) => $position};
1252
+ top: 0;
1253
+ right: 0;
1254
+ bottom: 0;
1255
+ padding: 0px;
1256
+ display: flex;
1257
+ flex-direction: column;
1258
+ box-sizing: border-box;
1259
+ background: #fff;
1260
+ `;
1261
+ const Header$2 = styled.div `
1262
+ padding: 30px 20px;
1263
+ display: flex;
1264
+ align-items: flex-start;
1265
+ box-sizing: border-box;
1266
+ flex-shrink: 0;
1267
+ background: #fff;
1268
+ `;
1269
+ const Close$1 = styled.div `
1270
+ margin-left: auto;
1271
+ display: flex;
1272
+ align-items: center;
1273
+ padding-left: 20px;
1274
+ cursor: pointer;
1275
+ `;
1276
+ const ContentWrapper$1 = styled.div `
1277
+ overflow-x: hidden;
1278
+ overflow-y: auto;
1279
+ box-sizing: border-box;
1280
+ flex: 1;
1281
+ background: #fff;
1282
+ `;
1283
+ const ButtonBar$1 = styled.div `
1284
+ padding: 20px;
1285
+ display: flex;
1286
+ align-items: center;
1287
+ justify-content: flex-end;
1288
+ box-sizing: border-box;
1289
+ gap: 10px;
1290
+ flex-shrink: 0;
1291
+ background: #fff;
1292
1292
  `;
1293
1293
  const Drawer = (_a) => {
1294
1294
  var { children, description, title, onClose, primaryButton, position = 'fixed', secondaryButton, tertiaryButton, scrim = 'dark', width, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "description", "title", "onClose", "primaryButton", "position", "secondaryButton", "tertiaryButton", "scrim", "width", "dataItemid"]);
@@ -1317,70 +1317,70 @@ const Drawer = (_a) => {
1317
1317
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' }))) : null,
1318
1318
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null),
1319
1319
  scrim ? (React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, "data-itemid": `${baseId}-scrim`, onClick: onClose })) : null));
1320
- };
1321
-
1320
+ };
1321
+
1322
1322
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1323
- const LabelRow = styled.div `
1324
- display: flex;
1325
- align-items: center;
1326
- justify-content: space-between;
1327
- margin: 0 0 4px 0;
1328
- box-sizing: border-box;
1329
- `;
1330
- const Label$2 = styled.label `
1331
- font-size: ${FontSizes.DEFAULT};
1332
- font-weight: 500;
1333
- line-height: 1.3em;
1334
- font-family: ${FontStyles.DEFAULT};
1335
- color: ${Colors.BLACK.Hex};
1336
- display: flex;
1337
- align-items: center;
1338
- `;
1339
- const Required = styled.span `
1340
- color: ${Colors.RED.Hex};
1341
- margin-left: 4px;
1342
- `;
1343
- const Action = styled.span `
1344
- font-size: ${FontSizes.DEFAULT};
1345
- font-weight: 500;
1346
- line-height: 1em;
1347
- font-family: ${FontStyles.DEFAULT};
1348
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1349
- cursor: pointer;
1323
+ const LabelRow = styled.div `
1324
+ display: flex;
1325
+ align-items: center;
1326
+ justify-content: space-between;
1327
+ margin: 0 0 4px 0;
1328
+ box-sizing: border-box;
1329
+ `;
1330
+ const Label$2 = styled.label `
1331
+ font-size: ${FontSizes.DEFAULT};
1332
+ font-weight: 500;
1333
+ line-height: 1.3em;
1334
+ font-family: ${FontStyles.DEFAULT};
1335
+ color: ${Colors.BLACK.Hex};
1336
+ display: flex;
1337
+ align-items: center;
1338
+ `;
1339
+ const Required = styled.span `
1340
+ color: ${Colors.RED.Hex};
1341
+ margin-left: 4px;
1342
+ `;
1343
+ const Action = styled.span `
1344
+ font-size: ${FontSizes.DEFAULT};
1345
+ font-weight: 500;
1346
+ line-height: 1em;
1347
+ font-family: ${FontStyles.DEFAULT};
1348
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1349
+ cursor: pointer;
1350
1350
  `;
1351
1351
  Action.defaultProps = { theme: EditableTheme };
1352
- const Description = styled.div `
1353
- font-size: ${FontSizes.SMALL};
1354
- font-weight: 400;
1355
- line-height: 1.3em;
1356
- font-family: ${FontStyles.DEFAULT};
1357
- color: ${Colors.BLACK.Hex};
1358
- margin: 0 0 8px 0;
1359
- box-sizing: border-box;
1360
- `;
1361
- const Validation = styled.div `
1362
- font-size: ${FontSizes.SMALL};
1363
- font-weight: 400;
1364
- line-height: 1.3em;
1365
- font-family: ${FontStyles.DEFAULT};
1366
- color: ${Colors.RED.Hex};
1367
- margin: 4px 0 0 0;
1368
- box-sizing: border-box;
1369
- min-height: 19px;
1370
- `;
1371
- const ValidationNew = styled.span `
1372
- font-size: ${FontSizes.SMALL};
1373
- font-weight: 400;
1374
- line-height: 1.3em;
1375
- font-family: ${FontStyles.DEFAULT};
1376
- color: ${Colors.BLACK.Hex};
1377
- box-sizing: border-box;
1378
- align-items: center;
1379
- display: flex;
1380
- `;
1381
- const ValidationInnerIcon = styled.span `
1382
- padding-right: 5px;
1383
- display: flex;
1352
+ const Description = styled.div `
1353
+ font-size: ${FontSizes.SMALL};
1354
+ font-weight: 400;
1355
+ line-height: 1.3em;
1356
+ font-family: ${FontStyles.DEFAULT};
1357
+ color: ${Colors.BLACK.Hex};
1358
+ margin: 0 0 8px 0;
1359
+ box-sizing: border-box;
1360
+ `;
1361
+ const Validation = styled.div `
1362
+ font-size: ${FontSizes.SMALL};
1363
+ font-weight: 400;
1364
+ line-height: 1.3em;
1365
+ font-family: ${FontStyles.DEFAULT};
1366
+ color: ${Colors.RED.Hex};
1367
+ margin: 4px 0 0 0;
1368
+ box-sizing: border-box;
1369
+ min-height: 19px;
1370
+ `;
1371
+ const ValidationNew = styled.span `
1372
+ font-size: ${FontSizes.SMALL};
1373
+ font-weight: 400;
1374
+ line-height: 1.3em;
1375
+ font-family: ${FontStyles.DEFAULT};
1376
+ color: ${Colors.BLACK.Hex};
1377
+ box-sizing: border-box;
1378
+ align-items: center;
1379
+ display: flex;
1380
+ `;
1381
+ const ValidationInnerIcon = styled.span `
1382
+ padding-right: 5px;
1383
+ display: flex;
1384
1384
  `;
1385
1385
  const ValidationInnerMessage = styled.span ``;
1386
1386
  const MessageWrapper = message => (React.createElement(ValidationNew, null,
@@ -1403,116 +1403,116 @@ const Field = (_a) => {
1403
1403
  React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation`, title: validationText }, validationText && isNewMessageType
1404
1404
  ? MessageWrapper(validationText)
1405
1405
  : validationText || '\u00A0')));
1406
- };
1407
-
1408
- const Wrapper$8 = styled.fieldset `
1409
- margin-inline-start: 0px;
1410
- margin-inline-end: 0px;
1411
- padding-block-start: 0px;
1412
- padding-inline-start: 0px;
1413
- padding-inline-end: 0px;
1414
- padding-block-end: 0px;
1415
- min-inline-size: min-content;
1416
- border-width: 0px;
1417
- border-style: none;
1418
- border-color: transparent;
1419
- border-image: none;
1420
- `;
1421
- const Label$1 = styled.legend `
1422
- padding-inline-start: 0px;
1423
- padding-inline-end: 0px;
1424
-
1425
- color: ${Colors.BLACK.Hex};
1426
- font-family: ${FontStyles.DEFAULT};
1427
- font-size: ${FontSizes.DEFAULT};
1428
- font-weight: 500;
1429
- line-height: 22px;
1430
- margin-bottom: 6px;
1431
- `;
1432
- const Content$1 = styled.div `
1433
- padding: 20px;
1434
- border-radius: 8px;
1435
- background: #fcfcfc;
1406
+ };
1407
+
1408
+ const Wrapper$8 = styled.fieldset `
1409
+ margin-inline-start: 0px;
1410
+ margin-inline-end: 0px;
1411
+ padding-block-start: 0px;
1412
+ padding-inline-start: 0px;
1413
+ padding-inline-end: 0px;
1414
+ padding-block-end: 0px;
1415
+ min-inline-size: min-content;
1416
+ border-width: 0px;
1417
+ border-style: none;
1418
+ border-color: transparent;
1419
+ border-image: none;
1420
+ `;
1421
+ const Label$1 = styled.legend `
1422
+ padding-inline-start: 0px;
1423
+ padding-inline-end: 0px;
1424
+
1425
+ color: ${Colors.BLACK.Hex};
1426
+ font-family: ${FontStyles.DEFAULT};
1427
+ font-size: ${FontSizes.DEFAULT};
1428
+ font-weight: 500;
1429
+ line-height: 22px;
1430
+ margin-bottom: 6px;
1431
+ `;
1432
+ const Content$1 = styled.div `
1433
+ padding: 20px;
1434
+ border-radius: 8px;
1435
+ background: #fcfcfc;
1436
1436
  `;
1437
1437
  const FieldGroup = ({ children, label, dataItemid }) => {
1438
1438
  const baseId = dataItemid || 'field-group';
1439
1439
  return (React.createElement(Wrapper$8, { "data-itemid": `${baseId}-wrapper` },
1440
1440
  React.createElement(Label$1, { "data-itemid": `${baseId}-label` }, label),
1441
1441
  React.createElement(Content$1, { "data-itemid": `${baseId}-content` }, children)));
1442
- };
1443
-
1444
- const Dropzone = styled.div `
1445
- border-radius: 8px;
1446
- border-width: 1px;
1447
- border-style: dashed;
1448
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1449
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1450
- cursor: ${props => (props.disabled ? 'not-allowed' : 'copy')};
1451
- opacity: ${props => (props.disabled ? 0.6 : 1)};
1452
- pointer-events: ${props => (props.disabled ? 'none' : 'auto')};
1442
+ };
1443
+
1444
+ const Dropzone = styled.div `
1445
+ border-radius: 8px;
1446
+ border-width: 1px;
1447
+ border-style: dashed;
1448
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1449
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1450
+ cursor: ${props => (props.disabled ? 'not-allowed' : 'copy')};
1451
+ opacity: ${props => (props.disabled ? 0.6 : 1)};
1452
+ pointer-events: ${props => (props.disabled ? 'none' : 'auto')};
1453
1453
  `;
1454
1454
  Dropzone.defaultProps = { theme: EditableTheme };
1455
- const IconWrapper$1 = styled.div `
1456
- width: 80px;
1457
- height: 80px;
1458
- border-radius: 40px;
1459
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1460
- display: flex;
1461
- align-items: center;
1462
- justify-content: center;
1463
- `;
1464
- const StyledIcon$3 = styled(Icon) `
1465
- width: 40px !important;
1466
- height: 40px !important;
1467
-
1468
- > path {
1469
- fill: ${Colors.GRAY.Hex} !important;
1470
- }
1471
- `;
1472
- const ClickZone = styled.div `
1473
- margin: 40px 20px;
1474
- display: flex;
1475
- flex-direction: column;
1476
- align-items: center;
1477
- gap: 16px;
1478
- `;
1479
- const Content = styled.div `
1480
- display: flex;
1481
- flex-direction: column;
1482
- align-items: center;
1483
- z-index: 99999;
1484
- gap: 2px;
1485
- `;
1486
- const Files = styled.div `
1487
- display: flex;
1488
- flex-direction: column;
1489
- align-self: stretch;
1490
- gap: 10px;
1491
- margin: 20px;
1492
- `;
1493
- const MessageDiv = styled.div `
1494
- display: flex;
1495
- align-items: center;
1496
- justify-content: center;
1497
- `;
1498
- const File = styled.div `
1499
- display: flex;
1500
- padding: 10px;
1501
- align-items: center;
1502
- justify-content: space-between;
1503
- gap: 10px;
1504
- border-radius: 4px;
1505
- border: 1px solid #cccccc;
1506
- background: #ffffff;
1507
- `;
1508
- const Remove = styled(Icon) `
1509
- width: 24px;
1510
- height: 24px;
1511
- cursor: pointer;
1512
-
1513
- > path {
1514
- fill: ${Colors.RED.Hex} !important;
1515
- }
1455
+ const IconWrapper$1 = styled.div `
1456
+ width: 80px;
1457
+ height: 80px;
1458
+ border-radius: 40px;
1459
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1460
+ display: flex;
1461
+ align-items: center;
1462
+ justify-content: center;
1463
+ `;
1464
+ const StyledIcon$3 = styled(Icon) `
1465
+ width: 40px !important;
1466
+ height: 40px !important;
1467
+
1468
+ > path {
1469
+ fill: ${Colors.GRAY.Hex} !important;
1470
+ }
1471
+ `;
1472
+ const ClickZone = styled.div `
1473
+ margin: 40px 20px;
1474
+ display: flex;
1475
+ flex-direction: column;
1476
+ align-items: center;
1477
+ gap: 16px;
1478
+ `;
1479
+ const Content = styled.div `
1480
+ display: flex;
1481
+ flex-direction: column;
1482
+ align-items: center;
1483
+ z-index: 99999;
1484
+ gap: 2px;
1485
+ `;
1486
+ const Files = styled.div `
1487
+ display: flex;
1488
+ flex-direction: column;
1489
+ align-self: stretch;
1490
+ gap: 10px;
1491
+ margin: 20px;
1492
+ `;
1493
+ const MessageDiv = styled.div `
1494
+ display: flex;
1495
+ align-items: center;
1496
+ justify-content: center;
1497
+ `;
1498
+ const File = styled.div `
1499
+ display: flex;
1500
+ padding: 10px;
1501
+ align-items: center;
1502
+ justify-content: space-between;
1503
+ gap: 10px;
1504
+ border-radius: 4px;
1505
+ border: 1px solid #cccccc;
1506
+ background: #ffffff;
1507
+ `;
1508
+ const Remove = styled(Icon) `
1509
+ width: 24px;
1510
+ height: 24px;
1511
+ cursor: pointer;
1512
+
1513
+ > path {
1514
+ fill: ${Colors.RED.Hex} !important;
1515
+ }
1516
1516
  `;
1517
1517
  const FileUpload = ({ accept, onChange, disabled = false, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, dataItemid, }) => {
1518
1518
  const inputRef = useRef(null);
@@ -1632,8 +1632,8 @@ const FileUpload = ({ accept, onChange, disabled = false, onError, maxFiles = 10
1632
1632
  React.createElement(Copy, { align: 'center', color: 'GRAY', "data-itemid": `${baseId}-message` }, message),
1633
1633
  tooltipInfo && (React.createElement("span", { "data-itemid": `${baseId}-tooltip` },
1634
1634
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1635
- };
1636
-
1635
+ };
1636
+
1637
1637
  const getAgesFromDob = (dob) => {
1638
1638
  let calculated_current_age = null;
1639
1639
  let calculated_nearest_age = null;
@@ -1706,149 +1706,149 @@ const formatAsSsn = (number) => {
1706
1706
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1707
1707
  }
1708
1708
  return formatted_value;
1709
- };
1710
-
1711
- const StyledInput = styled.input `
1712
- border: none !important;
1713
- background: none !important;
1714
- font-size: ${FontSizes.DEFAULT};
1715
- font-weight: 400;
1716
- font-family: ${FontStyles.DEFAULT};
1717
- line-height: 1.28em;
1709
+ };
1710
+
1711
+ const StyledInput = styled.input `
1712
+ border: none !important;
1713
+ background: none !important;
1714
+ font-size: ${FontSizes.DEFAULT};
1715
+ font-weight: 400;
1716
+ font-family: ${FontStyles.DEFAULT};
1717
+ line-height: 1.28em;
1718
1718
  color: ${props => props.$showErrorTextColor && props.$invalid && !props.$readOnly
1719
1719
  ? Colors.RED.Hex
1720
- : Colors.BLACK.Hex};
1721
- position: relative;
1722
- height: ${props => props.$height || 'auto'};
1723
- padding: 10px;
1724
- opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1725
- box-shadow: none;
1726
- outline: none;
1727
- margin: 0px;
1728
- text-indent: 0px;
1729
- --webkit-appearance: none;
1730
- box-sizing: border-box;
1731
- display: block;
1732
- width: 100%;
1733
- `;
1734
- const StyledTextArea = styled.textarea `
1735
- border: none !important;
1736
- background: none !important;
1737
- overflow-y: scroll !important;
1738
- font-size: 14px;
1739
- font-weight: 400;
1740
- height: ${props => props.$height || 'auto'};
1741
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1742
- line-height: 1.28em;
1720
+ : Colors.BLACK.Hex};
1721
+ position: relative;
1722
+ height: ${props => props.$height || 'auto'};
1723
+ padding: 10px;
1724
+ opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1725
+ box-shadow: none;
1726
+ outline: none;
1727
+ margin: 0px;
1728
+ text-indent: 0px;
1729
+ --webkit-appearance: none;
1730
+ box-sizing: border-box;
1731
+ display: block;
1732
+ width: 100%;
1733
+ `;
1734
+ const StyledTextArea = styled.textarea `
1735
+ border: none !important;
1736
+ background: none !important;
1737
+ overflow-y: scroll !important;
1738
+ font-size: 14px;
1739
+ font-weight: 400;
1740
+ height: ${props => props.$height || 'auto'};
1741
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1742
+ line-height: 1.28em;
1743
1743
  color: ${props => props.$showErrorTextColor && props.$invalid && !props.$readOnly
1744
1744
  ? Colors.RED.Hex
1745
- : Colors.BLACK.Hex};
1746
- position: relative;
1747
- padding: 10px;
1748
- opacity: 1;
1749
- box-shadow: none;
1750
- outline: none;
1751
- margin: 0px;
1752
- text-indent: 0px;
1753
- --webkit-appearance: none;
1754
- overflow-wrap: break-word;
1755
- box-sizing: border-box;
1756
- display: block;
1757
- width: 100%;
1745
+ : Colors.BLACK.Hex};
1746
+ position: relative;
1747
+ padding: 10px;
1748
+ opacity: 1;
1749
+ box-shadow: none;
1750
+ outline: none;
1751
+ margin: 0px;
1752
+ text-indent: 0px;
1753
+ --webkit-appearance: none;
1754
+ overflow-wrap: break-word;
1755
+ box-sizing: border-box;
1756
+ display: block;
1757
+ width: 100%;
1758
1758
  ${({ $readOnly }) => $readOnly &&
1759
- `
1760
- background-color: #f0f0f0;
1761
- color: #999999;
1762
- overflow-y: scroll;
1763
- `}
1764
- `;
1765
- const StyledSuffix = styled.div `
1766
- box-sizing: border-box;
1767
- border-radius: 0px 4px 4px 0px;
1768
- display: flex;
1769
- justify-content: center;
1770
- align-items: center;
1771
- padding: 10px;
1772
- height: auto;
1773
- background: #f5f5f5;
1774
- border-width: 0px 0px 0px 1px;
1775
- border-style: solid;
1776
- border-color: #cccccc;
1777
- font-family: ${FontStyles.DEFAULT};
1778
- font-style: normal;
1779
- font-weight: 400;
1780
- font-size: ${FontSizes.DEFAULT};
1781
- color: ${Colors.BLACK.Hex};
1782
- `;
1783
- const StyledWrapper = styled.div `
1784
- display: flex;
1785
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1786
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1787
- position: relative;
1788
- border-width: 1px;
1789
- border-style: solid;
1790
- border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1791
- border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1792
-
1793
- &:focus-within {
1794
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1795
- }
1759
+ `
1760
+ background-color: #f0f0f0;
1761
+ color: #999999;
1762
+ overflow-y: scroll;
1763
+ `}
1764
+ `;
1765
+ const StyledSuffix = styled.div `
1766
+ box-sizing: border-box;
1767
+ border-radius: 0px 4px 4px 0px;
1768
+ display: flex;
1769
+ justify-content: center;
1770
+ align-items: center;
1771
+ padding: 10px;
1772
+ height: auto;
1773
+ background: #f5f5f5;
1774
+ border-width: 0px 0px 0px 1px;
1775
+ border-style: solid;
1776
+ border-color: #cccccc;
1777
+ font-family: ${FontStyles.DEFAULT};
1778
+ font-style: normal;
1779
+ font-weight: 400;
1780
+ font-size: ${FontSizes.DEFAULT};
1781
+ color: ${Colors.BLACK.Hex};
1782
+ `;
1783
+ const StyledWrapper = styled.div `
1784
+ display: flex;
1785
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1786
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1787
+ position: relative;
1788
+ border-width: 1px;
1789
+ border-style: solid;
1790
+ border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1791
+ border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1792
+
1793
+ &:focus-within {
1794
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1795
+ }
1796
1796
  `;
1797
1797
  StyledWrapper.defaultProps = { theme: EditableTheme };
1798
- const SuggestedValues = styled.div `
1799
- background: #fff;
1800
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1801
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1802
- border-radius: 0px 0px 4px 4px;
1803
- border-style: solid;
1804
- border-top: none;
1805
- border-width: 1px;
1806
- left: -1px;
1807
- position: absolute;
1808
- right: -1px;
1809
- top: 39px;
1810
- z-index: 9999;
1811
- max-height: 220px;
1812
- overflow: auto;
1798
+ const SuggestedValues = styled.div `
1799
+ background: #fff;
1800
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1801
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1802
+ border-radius: 0px 0px 4px 4px;
1803
+ border-style: solid;
1804
+ border-top: none;
1805
+ border-width: 1px;
1806
+ left: -1px;
1807
+ position: absolute;
1808
+ right: -1px;
1809
+ top: 39px;
1810
+ z-index: 9999;
1811
+ max-height: 220px;
1812
+ overflow: auto;
1813
1813
  `;
1814
1814
  SuggestedValues.defaultProps = { theme: EditableTheme };
1815
- const SuggestedSummary = styled.div `
1816
- color: ${Colors.MEDIUM_GRAY.Hex};
1817
- font-size: 12px;
1818
- font-family: ${FontStyles.DEFAULT};
1819
- font-weight: 500;
1820
- line-height: 18px;
1821
- padding: 10px 12px;
1822
- border-bottom: 1px solid #e5e5e5;
1823
- background: #fff;
1824
- z-index: 1;
1825
- position: sticky;
1826
- top: 0px;
1827
- `;
1828
- const SuggestedValue = styled.div `
1829
- cursor: pointer;
1830
- padding: 8px 12px;
1831
- font-size: ${FontSizes.DEFAULT};
1832
- font-family: ${FontStyles.DEFAULT};
1833
- font-weight: 400;
1834
- line-height: 1.6em;
1835
- color: ${Colors.BLACK.Hex};
1836
-
1837
- &:hover {
1838
- background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1839
- }
1815
+ const SuggestedSummary = styled.div `
1816
+ color: ${Colors.MEDIUM_GRAY.Hex};
1817
+ font-size: 12px;
1818
+ font-family: ${FontStyles.DEFAULT};
1819
+ font-weight: 500;
1820
+ line-height: 18px;
1821
+ padding: 10px 12px;
1822
+ border-bottom: 1px solid #e5e5e5;
1823
+ background: #fff;
1824
+ z-index: 1;
1825
+ position: sticky;
1826
+ top: 0px;
1827
+ `;
1828
+ const SuggestedValue = styled.div `
1829
+ cursor: pointer;
1830
+ padding: 8px 12px;
1831
+ font-size: ${FontSizes.DEFAULT};
1832
+ font-family: ${FontStyles.DEFAULT};
1833
+ font-weight: 400;
1834
+ line-height: 1.6em;
1835
+ color: ${Colors.BLACK.Hex};
1836
+
1837
+ &:hover {
1838
+ background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1839
+ }
1840
1840
  `;
1841
1841
  SuggestedValue.defaultProps = { theme: EditableTheme };
1842
- const CharacterCount = styled.div `
1843
- font-family: ${FontStyles.DEFAULT};
1844
- font-size: ${FontSizes.SMALL};
1845
- color: ${Colors.MEDIUM_GRAY.Hex};
1846
- padding: 10px;
1842
+ const CharacterCount = styled.div `
1843
+ font-family: ${FontStyles.DEFAULT};
1844
+ font-size: ${FontSizes.SMALL};
1845
+ color: ${Colors.MEDIUM_GRAY.Hex};
1846
+ padding: 10px;
1847
1847
  `;
1848
- const Loader$1 = styled.div `
1849
- padding: 0px 10px;
1850
- display: flex;
1851
- align-items: center;
1848
+ const Loader$1 = styled.div `
1849
+ padding: 0px 10px;
1850
+ display: flex;
1851
+ align-items: center;
1852
1852
  `;
1853
1853
  const Input$1 = (_a) => {
1854
1854
  var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown,
@@ -1981,112 +1981,145 @@ const Input$1 = (_a) => {
1981
1981
  onSuggestedSelect();
1982
1982
  setShowOptions(false);
1983
1983
  } }, suggestedValue))))) : null));
1984
- };
1985
-
1986
- const Wrapper$7 = styled.a `
1987
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1988
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1989
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1990
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1991
- font-weight: 500;
1992
- font-style: normal;
1993
- text-decoration: none;
1994
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1995
- margin: 0px;
1996
- padding: 0px;
1997
- box-sizing: border-box;
1998
- cursor: pointer;
1984
+ };
1985
+
1986
+ const Wrapper$7 = styled.a `
1987
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1988
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1989
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1990
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1991
+ font-weight: 500;
1992
+ font-style: normal;
1993
+ text-decoration: none;
1994
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1995
+ margin: 0px;
1996
+ padding: 0px;
1997
+ box-sizing: border-box;
1998
+ cursor: pointer;
1999
1999
  `;
2000
2000
  Wrapper$7.defaultProps = { theme: EditableTheme };
2001
2001
  const Link = (_a) => {
2002
2002
  var { children, onClick, small, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small", "dataItemid"]);
2003
2003
  const baseId = dataItemid || 'link';
2004
2004
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps, { "data-itemid": `${baseId}-wrapper` }), children));
2005
- };
2006
-
2007
- const dash = keyframes `
2008
- 0% {
2009
- stroke-dasharray: 1, 160;
2010
- stroke-dashoffset: 0;
2011
- }
2012
- 50% {
2013
- stroke-dasharray: 80, 160;
2014
- stroke-dashoffset: -32;
2015
- }
2016
- 100% {
2017
- stroke-dasharray: 80, 160;
2018
- stroke-dashoffset: -124;
2019
- }
2020
- `;
2021
- const Spinner = styled.svg `
2022
- z-index: 2;
2023
- position: absolute;
2024
- top: 50%;
2025
- left: 50%;
2026
- transform: translate(-50%, -50%);
2027
- margin: 0 auto;
2028
- width: 40px;
2029
- height: 40px;
2030
- `;
2031
- const Path = styled.path `
2032
- stroke: #0193d7;
2033
- stroke-linecap: round;
2034
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
2035
- animation: ${dash} 1.1s ease-in-out infinite;
2005
+ };
2006
+
2007
+ const dash = keyframes `
2008
+ 0% {
2009
+ stroke-dasharray: 1, 160;
2010
+ stroke-dashoffset: 0;
2011
+ }
2012
+ 50% {
2013
+ stroke-dasharray: 80, 160;
2014
+ stroke-dashoffset: -32;
2015
+ }
2016
+ 100% {
2017
+ stroke-dasharray: 80, 160;
2018
+ stroke-dashoffset: -124;
2019
+ }
2020
+ `;
2021
+ const Spinner = styled.svg `
2022
+ z-index: 2;
2023
+ position: absolute;
2024
+ top: 50%;
2025
+ left: 50%;
2026
+ transform: translate(-50%, -50%);
2027
+ margin: 0 auto;
2028
+ width: 40px;
2029
+ height: 40px;
2030
+ `;
2031
+ const Path = styled.path `
2032
+ stroke: #0193d7;
2033
+ stroke-linecap: round;
2034
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
2035
+ animation: ${dash} 1.1s ease-in-out infinite;
2036
2036
  `;
2037
2037
  const Loader = ({ dataItemid }) => {
2038
2038
  const baseId = dataItemid || 'loader';
2039
2039
  return (React.createElement(Spinner, { "data-itemid": `${baseId}-spinner`, viewBox: '0 0 16 18' },
2040
2040
  React.createElement(Path, { d: 'M7.21487 1.2868C7.88431 0.9044 8.73031 0.9044 9.39974 1.2868L9.40283 1.28856L14.4613 4.20761C15.1684 4.598 15.5746 5.33558 15.5746 6.11465V8.99996V11.8853C15.5746 12.6507 15.1632 13.3848 14.4617 13.7721L9.37973 16.7132C8.71029 17.0956 7.86428 17.0956 7.19485 16.7132L7.19088 16.7109L2.11279 13.772C1.40602 13.3816 1 12.6441 1 11.8653V8.98995V6.11465C1 5.31458 1.44381 4.59039 2.10827 4.21051L7.21487 1.2868Z', "data-itemid": `${baseId}-path`, fill: 'none', strokeWidth: '2' })));
2041
- };
2042
-
2043
- const Steps = styled.div `
2044
- padding: 20px;
2045
- border-bottom: 1px solid #e7e6e6;
2046
- background: #f5f5f5;
2047
- display: flex;
2048
- gap: 30px;
2049
- align-items: center;
2050
- `;
2051
- const Step = styled.div `
2052
- display: flex;
2053
- align-items: center;
2054
- gap: 8px;
2055
- `;
2056
- const StyledIcon$2 = styled(Icon) `
2057
- > path {
2058
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2059
- }
2041
+ };
2042
+
2043
+ const Steps = styled.div `
2044
+ padding: 20px;
2045
+ border-bottom: 1px solid #e7e6e6;
2046
+ background: #f5f5f5;
2047
+ display: flex;
2048
+ gap: 30px;
2049
+ align-items: center;
2050
+ `;
2051
+ const Step = styled.div `
2052
+ display: flex;
2053
+ align-items: center;
2054
+ gap: 8px;
2055
+ `;
2056
+ const StyledIcon$2 = styled(Icon) `
2057
+ > path {
2058
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2059
+ }
2060
2060
  `;
2061
2061
  StyledIcon$2.defaultProps = { theme: EditableTheme };
2062
- const StepIndicator = styled.div `
2063
- width: 30px;
2064
- height: 30px;
2065
- border-radius: 15px;
2066
- background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
2067
- color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
2068
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
2069
- font-size: 14px;
2070
- font-weight: 500;
2071
- line-height: 1;
2072
- display: flex;
2073
- align-items: center;
2074
- justify-content: center;
2075
- flex-shrink: 0;
2062
+ const StepIndicator = styled.div `
2063
+ width: 30px;
2064
+ height: 30px;
2065
+ border-radius: 15px;
2066
+ background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
2067
+ color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
2068
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2069
+ font-size: 14px;
2070
+ font-weight: 500;
2071
+ line-height: 1;
2072
+ display: flex;
2073
+ align-items: center;
2074
+ justify-content: center;
2075
+ flex-shrink: 0;
2076
2076
  `;
2077
2077
  StepIndicator.defaultProps = { theme: EditableTheme };
2078
- const StepLabel = styled.div `
2079
- color: #000;
2080
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
2081
- font-size: 14px;
2082
- font-weight: 500;
2083
- line-height: 1;
2084
- `;
2085
- const StepLine = styled.div `
2086
- height: 2px;
2087
- flex-grow: 1;
2088
- background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
2089
- transition: background-color 0.5s ease-in-out;
2078
+ const StepLabel = styled.div `
2079
+ color: #000;
2080
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2081
+ font-size: 14px;
2082
+ font-weight: 500;
2083
+ line-height: 1;
2084
+ `;
2085
+ const StepLine = styled.div `
2086
+ height: 2px;
2087
+ flex-grow: 1;
2088
+ background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
2089
+ transition: background-color 0.5s ease-in-out;
2090
+ `;
2091
+ const ProgressBarFill = styled.div `
2092
+ width: 110px;
2093
+ height: 8px;
2094
+ margin-top: 4px;
2095
+ background-color: #e7e6e6;
2096
+ border-radius: 16px;
2097
+ position: relative;
2098
+ overflow: hidden;
2099
+
2100
+ &::after {
2101
+ content: '${props => (props.$percent === 0 ? '0' : props.$percent)}%';
2102
+ position: absolute;
2103
+ top: 55%;
2104
+ left: ${props => props.$percent >= 83 ? 'calc(100% - 25px)' : `calc(${props.$percent}% + 10px)`};
2105
+ transform: translate(-50%, -50%);
2106
+ color: ${props => (props.$percent >= 83 ? '#fff' : '#757575')};
2107
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2108
+ font-size: 8px;
2109
+ font-weight: 600;
2110
+ transition: left 0.5s ease-in-out;
2111
+ }
2112
+
2113
+ &::before {
2114
+ content: '';
2115
+ position: absolute;
2116
+ top: 0;
2117
+ left: 0;
2118
+ width: ${props => props.$percent}%;
2119
+ height: 100%;
2120
+ background-color: #1aa836;
2121
+ transition: width 0.5s ease-in-out;
2122
+ }
2090
2123
  `;
2091
2124
  const ProgressBar = ({ steps, showStepLine = false, dataItemid }) => {
2092
2125
  const baseId = dataItemid || 'progress-bar';
@@ -2096,80 +2129,82 @@ const ProgressBar = ({ steps, showStepLine = false, dataItemid }) => {
2096
2129
  i !== 0 && showStepLine && (React.createElement(StepLine, { "$active": step.active, "data-itemid": `${stepId}-line` })),
2097
2130
  React.createElement(Step, { "data-itemid": `${stepId}-step` },
2098
2131
  step.complete ? (React.createElement(StyledIcon$2, { "data-itemid": `${stepId}-icon`, path: mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active, "data-itemid": `${stepId}-indicator` }, i + 1)),
2099
- React.createElement(StepLabel, { "data-itemid": `${stepId}-label` }, step.label))));
2132
+ React.createElement(StepLabel, { "data-itemid": `${stepId}-label` },
2133
+ step.label,
2134
+ step.percentComplete !== undefined && (React.createElement(ProgressBarFill, { "$percent": step.percentComplete, "data-itemid": `${stepId}-fill` }))))));
2100
2135
  })));
2101
- };
2102
-
2103
- const Wrapper$6 = styled.div `
2104
- position: fixed;
2105
- top: 0;
2106
- right: 0;
2107
- bottom: 0;
2108
- left: 0;
2109
- z-index: 9999;
2110
- background: rgba(0, 0, 0, 0.8);
2111
- display: flex;
2112
- align-items: center;
2113
- justify-content: center;
2114
- `;
2115
- const Container$1 = styled.dialog `
2116
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2117
- max-width: calc(100vw - 80px);
2118
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2119
- max-height: calc(100vh - 80px);
2120
- border-radius: 8px;
2121
- overflow: hidden;
2122
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2123
- outline: none;
2124
- border: none;
2125
- position: relative;
2126
- padding: 0px;
2127
- box-sizing: border-box;
2128
- display: flex;
2129
- flex-direction: column;
2130
- `;
2131
- const Header$1 = styled.div `
2132
- flex-shrink: 0;
2133
- padding: 20px;
2134
- border-bottom: 1px solid #e7e6e6;
2135
- display: flex;
2136
- align-items: center;
2137
- background: #ffffff;
2138
- box-sizing: border-box;
2139
- `;
2140
- const Close = styled.div `
2141
- margin-left: auto;
2142
- display: flex;
2143
- align-items: center;
2144
- padding-left: 20px;
2145
- cursor: pointer;
2146
- `;
2147
- const CloseMsg = styled.span `
2148
- font-size: ${FontSizes.SMALL};
2149
- font-weight: 400;
2150
- font-family: ${FontStyles.DEFAULT};
2151
- line-height: 1em;
2152
- color: ${Colors.MEDIUM_GRAY.Hex};
2153
- `;
2154
- const ContentWrapper = styled.div `
2155
- overflow-x: hidden;
2156
- overflow-y: auto;
2157
- background: #ffffff;
2158
- flex: 1;
2159
- box-sizing: border-box;
2160
- `;
2161
- const ButtonBar = styled.div `
2162
- flex-shrink: 0;
2163
- background: #ffffff;
2164
- padding: 20px;
2165
- border-top: 1px solid #e7e6e6;
2166
- display: flex;
2167
- align-items: center;
2168
- justify-self: flex-end;
2169
- box-sizing: border-box;
2170
- `;
2171
- const ButtonContainer = styled.div `
2172
- margin: 0 10px;
2136
+ };
2137
+
2138
+ const Wrapper$6 = styled.div `
2139
+ position: fixed;
2140
+ top: 0;
2141
+ right: 0;
2142
+ bottom: 0;
2143
+ left: 0;
2144
+ z-index: 9999;
2145
+ background: rgba(0, 0, 0, 0.8);
2146
+ display: flex;
2147
+ align-items: center;
2148
+ justify-content: center;
2149
+ `;
2150
+ const Container$1 = styled.dialog `
2151
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2152
+ max-width: calc(100vw - 80px);
2153
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2154
+ max-height: calc(100vh - 80px);
2155
+ border-radius: 8px;
2156
+ overflow: hidden;
2157
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2158
+ outline: none;
2159
+ border: none;
2160
+ position: relative;
2161
+ padding: 0px;
2162
+ box-sizing: border-box;
2163
+ display: flex;
2164
+ flex-direction: column;
2165
+ `;
2166
+ const Header$1 = styled.div `
2167
+ flex-shrink: 0;
2168
+ padding: 20px;
2169
+ border-bottom: 1px solid #e7e6e6;
2170
+ display: flex;
2171
+ align-items: center;
2172
+ background: #ffffff;
2173
+ box-sizing: border-box;
2174
+ `;
2175
+ const Close = styled.div `
2176
+ margin-left: auto;
2177
+ display: flex;
2178
+ align-items: center;
2179
+ padding-left: 20px;
2180
+ cursor: pointer;
2181
+ `;
2182
+ const CloseMsg = styled.span `
2183
+ font-size: ${FontSizes.SMALL};
2184
+ font-weight: 400;
2185
+ font-family: ${FontStyles.DEFAULT};
2186
+ line-height: 1em;
2187
+ color: ${Colors.MEDIUM_GRAY.Hex};
2188
+ `;
2189
+ const ContentWrapper = styled.div `
2190
+ overflow-x: hidden;
2191
+ overflow-y: auto;
2192
+ background: #ffffff;
2193
+ flex: 1;
2194
+ box-sizing: border-box;
2195
+ `;
2196
+ const ButtonBar = styled.div `
2197
+ flex-shrink: 0;
2198
+ background: #ffffff;
2199
+ padding: 20px;
2200
+ border-top: 1px solid #e7e6e6;
2201
+ display: flex;
2202
+ align-items: center;
2203
+ justify-self: flex-end;
2204
+ box-sizing: border-box;
2205
+ `;
2206
+ const ButtonContainer = styled.div `
2207
+ margin: 0 10px;
2173
2208
  `;
2174
2209
  const Modal = (_a) => {
2175
2210
  var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton, quarternaryButton, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton", "quarternaryButton", "dataItemid"]);
@@ -2212,21 +2247,21 @@ const Modal = (_a) => {
2212
2247
  secondaryButton ? (React.createElement(ButtonContainer, { "data-itemid": `${baseId}-secondary-button-container` },
2213
2248
  React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' })))) : null,
2214
2249
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2215
- };
2216
-
2217
- const Wrapper$5 = styled.div `
2218
- position: relative;
2219
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2220
- `;
2221
- const Trigger = styled.div `
2222
- box-sizing: border-box;
2223
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2224
- height: 40px;
2225
- padding: 0 10px;
2226
- position: relative;
2227
- cursor: pointer;
2228
- border-width: 1px;
2229
- border-style: solid;
2250
+ };
2251
+
2252
+ const Wrapper$5 = styled.div `
2253
+ position: relative;
2254
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2255
+ `;
2256
+ const Trigger = styled.div `
2257
+ box-sizing: border-box;
2258
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2259
+ height: 40px;
2260
+ padding: 0 10px;
2261
+ position: relative;
2262
+ cursor: pointer;
2263
+ border-width: 1px;
2264
+ border-style: solid;
2230
2265
  border-color: ${props => {
2231
2266
  if (props.$invalid) {
2232
2267
  return Colors.RED.Hex;
@@ -2237,67 +2272,67 @@ const Trigger = styled.div `
2237
2272
  else {
2238
2273
  return '#cccccc';
2239
2274
  }
2240
- }};
2241
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2242
- background-image: none;
2243
- display: flex;
2244
- width: 100%;
2245
- align-items: center;
2246
- justify-content: space-between;
2247
- z-index: 1;
2275
+ }};
2276
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2277
+ background-image: none;
2278
+ display: flex;
2279
+ width: 100%;
2280
+ align-items: center;
2281
+ justify-content: space-between;
2282
+ z-index: 1;
2248
2283
  `;
2249
2284
  Trigger.defaultProps = { theme: EditableTheme };
2250
- const Value = styled.div `
2251
- color: ${Colors.BLACK.Hex};
2252
- font-family: ${FontStyles.DEFAULT};
2253
- font-size: ${FontSizes.DEFAULT};
2254
- font-weight: 400;
2255
- line-height: 2.9em;
2256
- overflow: hidden;
2257
- text-overflow: ellipsis;
2258
- white-space: nowrap;
2259
- width: 100%;
2260
- `;
2261
- const Options = styled.div `
2262
- background: #fff;
2263
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2264
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2265
- border-radius: 0px 0px 4px 4px;
2266
- border-style: solid;
2267
- border-top: none;
2268
- border-width: 1px;
2269
- left: 0;
2270
- position: absolute;
2271
- right: 0;
2272
- z-index: 10;
2273
- max-height: 220px;
2274
- overflow: auto;
2285
+ const Value = styled.div `
2286
+ color: ${Colors.BLACK.Hex};
2287
+ font-family: ${FontStyles.DEFAULT};
2288
+ font-size: ${FontSizes.DEFAULT};
2289
+ font-weight: 400;
2290
+ line-height: 2.9em;
2291
+ overflow: hidden;
2292
+ text-overflow: ellipsis;
2293
+ white-space: nowrap;
2294
+ width: 100%;
2295
+ `;
2296
+ const Options = styled.div `
2297
+ background: #fff;
2298
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2299
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2300
+ border-radius: 0px 0px 4px 4px;
2301
+ border-style: solid;
2302
+ border-top: none;
2303
+ border-width: 1px;
2304
+ left: 0;
2305
+ position: absolute;
2306
+ right: 0;
2307
+ z-index: 10;
2308
+ max-height: 220px;
2309
+ overflow: auto;
2275
2310
  `;
2276
2311
  Options.defaultProps = { theme: EditableTheme };
2277
- const Scrim = styled.div `
2278
- bottom: 0;
2279
- left: 0;
2280
- position: fixed;
2281
- right: 0;
2282
- top: 0;
2283
- z-index: 9;
2284
- `;
2285
- const SearchInput = styled.input `
2286
- position: absolute;
2287
- left: 2px;
2288
- top: 2px;
2289
- z-index: 999;
2290
- width: 90%;
2291
- height: 30px;
2292
- border: none;
2293
- outline: none;
2294
- color: ${Colors.BLACK.Hex};
2295
- font-family: ${FontStyles.DEFAULT};
2296
- font-size: ${FontSizes.DEFAULT};
2297
- font-weight: 400;
2298
- line-height: 2.9em;
2299
- overflow: hidden;
2300
- white-space: nowrap;
2312
+ const Scrim = styled.div `
2313
+ bottom: 0;
2314
+ left: 0;
2315
+ position: fixed;
2316
+ right: 0;
2317
+ top: 0;
2318
+ z-index: 9;
2319
+ `;
2320
+ const SearchInput = styled.input `
2321
+ position: absolute;
2322
+ left: 2px;
2323
+ top: 2px;
2324
+ z-index: 999;
2325
+ width: 90%;
2326
+ height: 30px;
2327
+ border: none;
2328
+ outline: none;
2329
+ color: ${Colors.BLACK.Hex};
2330
+ font-family: ${FontStyles.DEFAULT};
2331
+ font-size: ${FontSizes.DEFAULT};
2332
+ font-weight: 400;
2333
+ line-height: 2.9em;
2334
+ overflow: hidden;
2335
+ white-space: nowrap;
2301
2336
  `;
2302
2337
  const MultiSelect = (_a) => {
2303
2338
  var { readOnly, displayCount = 3, invalid, onChange, options = [], selected = [], showSelectAll, searchable = false, style, dataItemid } = _a, accessibleProps = __rest(_a, ["readOnly", "displayCount", "invalid", "onChange", "options", "selected", "showSelectAll", "searchable", "style", "dataItemid"]);
@@ -2317,37 +2352,37 @@ const MultiSelect = (_a) => {
2317
2352
  showOptions ? (React.createElement(Options, { "data-itemid": `${baseId}-options` },
2318
2353
  React.createElement(Checklist, { "data-itemid": `${baseId}-checklist`, onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2319
2354
  showOptions ? (React.createElement(Scrim, { "data-itemid": `${baseId}-scrim`, onClick: setShowOptions.bind(null, !showOptions) })) : null));
2320
- };
2321
-
2322
- const Wrapper$4 = styled.div `
2323
- display: flex;
2324
- padding: 16px 30px;
2325
- align-items: center;
2326
- gap: 20px;
2327
- align-self: stretch;
2328
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2329
- `;
2330
- const Title = styled.div `
2331
- display: flex;
2332
- align-items: center;
2333
- gap: 20px;
2334
- `;
2335
- const Info = styled.div `
2336
- display: flex;
2337
- flex-direction: column;
2338
- align-items: flex-start;
2339
- gap: 4px;
2340
- flex: 1 0 0;
2341
- `;
2342
- const Breadcrumbs = styled.div `
2343
- display: flex;
2344
- align-items: center;
2345
- gap: 4px;
2346
- `;
2347
- const Actions = styled.div `
2348
- display: flex;
2349
- align-items: center;
2350
- gap: 8px;
2355
+ };
2356
+
2357
+ const Wrapper$4 = styled.div `
2358
+ display: flex;
2359
+ padding: 16px 30px;
2360
+ align-items: center;
2361
+ gap: 20px;
2362
+ align-self: stretch;
2363
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2364
+ `;
2365
+ const Title = styled.div `
2366
+ display: flex;
2367
+ align-items: center;
2368
+ gap: 20px;
2369
+ `;
2370
+ const Info = styled.div `
2371
+ display: flex;
2372
+ flex-direction: column;
2373
+ align-items: flex-start;
2374
+ gap: 4px;
2375
+ flex: 1 0 0;
2376
+ `;
2377
+ const Breadcrumbs = styled.div `
2378
+ display: flex;
2379
+ align-items: center;
2380
+ gap: 4px;
2381
+ `;
2382
+ const Actions = styled.div `
2383
+ display: flex;
2384
+ align-items: center;
2385
+ gap: 8px;
2351
2386
  `;
2352
2387
  const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataItemid, }) => {
2353
2388
  const { format = 'primary', menuItems = [], label = '', enableHover = true, enableClick = false, show = false, maxHeight = '', } = buttonMenu || {};
@@ -2370,13 +2405,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataIte
2370
2405
  return (React.createElement(Button, Object.assign({}, buttonProps, { "data-itemid": `${actionId}-button`, key: i, small: true }), label));
2371
2406
  }),
2372
2407
  menuItems.length ? (React.createElement(ButtonMenu, { "data-itemid": `${baseId}-button-menu`, enableClick: enableClick, enableHover: enableHover, format: format, label: label, maxHeight: maxHeight, menuItems: menuItems, show: show, small: true })) : null)) : null));
2373
- };
2374
-
2375
- const Wrapper$3 = styled.nav `
2376
- box-sizing: border-box;
2377
- display: flex;
2378
- align-items: center;
2379
- column-gap: 10px;
2408
+ };
2409
+
2410
+ const Wrapper$3 = styled.nav `
2411
+ box-sizing: border-box;
2412
+ display: flex;
2413
+ align-items: center;
2414
+ column-gap: 10px;
2380
2415
  `;
2381
2416
  const Pagination = (_a) => {
2382
2417
  var { currentPage = 1, onClick, pageCount = 0, dataItemid, type = null } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount", "dataItemid", "type"]);
@@ -2406,82 +2441,82 @@ const Pagination = (_a) => {
2406
2441
  value: `${p}`,
2407
2442
  })), value: `${currentPage}` }),
2408
2443
  React.createElement(Button, { "data-itemid": `${baseId}-next-button`, disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true, type: type })));
2409
- };
2410
-
2411
- const Wrapper$2 = styled.label `
2412
- border-radius: 4px;
2413
- padding: 4px 0px 4px 6px;
2414
- margin-left: -6px;
2415
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2416
- display: flex;
2417
- align-items: center;
2418
- font-size: ${FontSizes.DEFAULT};
2419
- line-height: 1.6em;
2420
- box-sizing: border-box;
2421
- position: relative;
2422
-
2423
- &:focus-within {
2424
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2425
- }
2444
+ };
2445
+
2446
+ const Wrapper$2 = styled.label `
2447
+ border-radius: 4px;
2448
+ padding: 4px 0px 4px 6px;
2449
+ margin-left: -6px;
2450
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2451
+ display: flex;
2452
+ align-items: center;
2453
+ font-size: ${FontSizes.DEFAULT};
2454
+ line-height: 1.6em;
2455
+ box-sizing: border-box;
2456
+ position: relative;
2457
+
2458
+ &:focus-within {
2459
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2460
+ }
2426
2461
  `;
2427
2462
  Wrapper$2.defaultProps = { theme: EditableTheme };
2428
- const Input = styled.input `
2429
- font-size: 20px;
2430
- margin: 0px;
2431
- line-height: 1.6em;
2432
- box-sizing: border-box;
2433
- position: absolute;
2434
- opacity: 0;
2435
- cursor: pointer;
2436
- height: 0;
2437
- width: 0;
2438
- &:checked + span {
2439
- border-color: ${Colors.PRIMARY.Hex};
2440
- }
2441
- &:checked + span:after {
2442
- background-color: ${Colors.PRIMARY.Hex};
2443
- display: block;
2444
- }
2445
- &:disabled + span {
2446
- background-color: #d3d3d3;
2447
- border-color: #d3d3d3;
2448
- }
2449
- &:disabled + span:after {
2450
- background-color: #fff;
2451
- }
2452
- &:checked:disabled + span:after {
2453
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2454
- }
2455
- `;
2456
- const Check = styled.span `
2457
- height: 17px;
2458
- width: 17px;
2459
- border-radius: 50%;
2460
- background-color: #fff;
2461
- border-width: 2px;
2462
- border-style: solid;
2463
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2464
- box-sizing: border-box;
2465
- position: relative;
2466
- &:after {
2467
- content: '';
2468
- position: absolute;
2469
- top: 2px;
2470
- left: 2px;
2471
- width: 9px;
2472
- height: 9px;
2473
- border-radius: 50%;
2474
- box-sizing: border-box;
2475
- display: none;
2476
- }
2477
- `;
2478
- const Label = styled.span `
2479
- font-family: ${FontStyles.DEFAULT};
2480
- font-size: ${FontSizes.DEFAULT};
2481
- font-weight: 400;
2482
- color: ${Colors.BLACK.Hex};
2483
- line-height: 1.6em;
2484
- margin-left: 6px;
2463
+ const Input = styled.input `
2464
+ font-size: 20px;
2465
+ margin: 0px;
2466
+ line-height: 1.6em;
2467
+ box-sizing: border-box;
2468
+ position: absolute;
2469
+ opacity: 0;
2470
+ cursor: pointer;
2471
+ height: 0;
2472
+ width: 0;
2473
+ &:checked + span {
2474
+ border-color: ${Colors.PRIMARY.Hex};
2475
+ }
2476
+ &:checked + span:after {
2477
+ background-color: ${Colors.PRIMARY.Hex};
2478
+ display: block;
2479
+ }
2480
+ &:disabled + span {
2481
+ background-color: #d3d3d3;
2482
+ border-color: #d3d3d3;
2483
+ }
2484
+ &:disabled + span:after {
2485
+ background-color: #fff;
2486
+ }
2487
+ &:checked:disabled + span:after {
2488
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2489
+ }
2490
+ `;
2491
+ const Check = styled.span `
2492
+ height: 17px;
2493
+ width: 17px;
2494
+ border-radius: 50%;
2495
+ background-color: #fff;
2496
+ border-width: 2px;
2497
+ border-style: solid;
2498
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2499
+ box-sizing: border-box;
2500
+ position: relative;
2501
+ &:after {
2502
+ content: '';
2503
+ position: absolute;
2504
+ top: 2px;
2505
+ left: 2px;
2506
+ width: 9px;
2507
+ height: 9px;
2508
+ border-radius: 50%;
2509
+ box-sizing: border-box;
2510
+ display: none;
2511
+ }
2512
+ `;
2513
+ const Label = styled.span `
2514
+ font-family: ${FontStyles.DEFAULT};
2515
+ font-size: ${FontSizes.DEFAULT};
2516
+ font-weight: 400;
2517
+ color: ${Colors.BLACK.Hex};
2518
+ line-height: 1.6em;
2519
+ margin-left: 6px;
2485
2520
  `;
2486
2521
  const Radio = (_a) => {
2487
2522
  var { children, disabled, checked, onChange, value, invalid, tooltip, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip", "tabIndex", "dataItemid"]);
@@ -2492,8 +2527,8 @@ const Radio = (_a) => {
2492
2527
  React.createElement(Label, { "data-itemid": `${baseId}-label` },
2493
2528
  children,
2494
2529
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2495
- };
2496
-
2530
+ };
2531
+
2497
2532
  const RadioList = (_a) => {
2498
2533
  var { disabled, onChange, options, value, dataItemid } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value", "dataItemid"]);
2499
2534
  const baseId = dataItemid || 'radio-list';
@@ -2502,69 +2537,69 @@ const RadioList = (_a) => {
2502
2537
  const optionId = `${baseId}-option-${index}`;
2503
2538
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, "data-itemid": optionId, disabled: disabled, key: option.value, onChange: onChange, value: option.value }, accessibleProps), label));
2504
2539
  })));
2505
- };
2506
-
2507
- const StyledTable = styled.table `
2508
- width: 100%;
2509
- margin-top: 1px;
2510
- table-layout: ${props => props.$tableLayout || 'auto'};
2511
- border-collapse: collapse;
2512
- text-indent: 0px;
2513
- border-spacing: 0px;
2514
- border-color: none;
2515
- box-sizing: border-box;
2516
- `;
2517
- const Header = styled.th `
2518
- padding: 12px !important;
2519
- text-align: left;
2520
- font-weight: 500;
2521
- border-bottom: 1px solid #e5e5e5;
2522
- border-top: 1px solid #e5e5e5;
2523
- text-transform: uppercase;
2524
- font-size: 12px;
2525
- font-family: ${FontStyles.DEFAULT};
2526
- letter-spacing: 1px;
2527
- white-space: nowrap;
2528
- line-height: 1;
2529
- position: relative;
2530
- box-sizing: border-box;
2531
- width: ${props => props.$width || 'auto'};
2532
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2533
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2540
+ };
2541
+
2542
+ const StyledTable = styled.table `
2543
+ width: 100%;
2544
+ margin-top: 1px;
2545
+ table-layout: ${props => props.$tableLayout || 'auto'};
2546
+ border-collapse: collapse;
2547
+ text-indent: 0px;
2548
+ border-spacing: 0px;
2549
+ border-color: none;
2550
+ box-sizing: border-box;
2551
+ `;
2552
+ const Header = styled.th `
2553
+ padding: 12px !important;
2554
+ text-align: left;
2555
+ font-weight: 500;
2556
+ border-bottom: 1px solid #e5e5e5;
2557
+ border-top: 1px solid #e5e5e5;
2558
+ text-transform: uppercase;
2559
+ font-size: 12px;
2560
+ font-family: ${FontStyles.DEFAULT};
2561
+ letter-spacing: 1px;
2562
+ white-space: nowrap;
2563
+ line-height: 1;
2564
+ position: relative;
2565
+ box-sizing: border-box;
2566
+ width: ${props => props.$width || 'auto'};
2567
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2568
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2534
2569
  `;
2535
2570
  Header.defaultProps = { theme: EditableTheme };
2536
- const Row = styled.tr `
2537
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2538
- transition: all 0.2s;
2539
- background-color: ${props => props.$bgColor};
2540
- box-sizing: border-box;
2541
- &:hover {
2542
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2543
- }
2571
+ const Row = styled.tr `
2572
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2573
+ transition: all 0.2s;
2574
+ background-color: ${props => props.$bgColor};
2575
+ box-sizing: border-box;
2576
+ &:hover {
2577
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2578
+ }
2544
2579
  `;
2545
2580
  Row.defaultProps = { theme: EditableTheme };
2546
- const Column = styled.td `
2547
- padding: 16px 12px !important;
2548
- font-size: ${FontSizes.DEFAULT} !important;
2549
- font-weight: 400 !important;
2550
- font-family: ${FontStyles.DEFAULT};
2551
- border: none !important;
2552
- word-break: break-word;
2553
- line-height: 1.4em;
2554
- box-sizing: border-box;
2555
- text-align: ${props => props.$align || 'left'};
2556
- width: ${props => props.$width || 'auto'};
2557
- `;
2558
- const IconWrapper = styled.span `
2559
- position: absolute;
2560
- top: 50%;
2561
- transform: translateY(-50%);
2562
- margin-left: 2px;
2563
- `;
2564
- const StyledIcon$1 = styled(Icon) `
2565
- > path {
2566
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2567
- }
2581
+ const Column = styled.td `
2582
+ padding: 16px 12px !important;
2583
+ font-size: ${FontSizes.DEFAULT} !important;
2584
+ font-weight: 400 !important;
2585
+ font-family: ${FontStyles.DEFAULT};
2586
+ border: none !important;
2587
+ word-break: break-word;
2588
+ line-height: 1.4em;
2589
+ box-sizing: border-box;
2590
+ text-align: ${props => props.$align || 'left'};
2591
+ width: ${props => props.$width || 'auto'};
2592
+ `;
2593
+ const IconWrapper = styled.span `
2594
+ position: absolute;
2595
+ top: 50%;
2596
+ transform: translateY(-50%);
2597
+ margin-left: 2px;
2598
+ `;
2599
+ const StyledIcon$1 = styled(Icon) `
2600
+ > path {
2601
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2602
+ }
2568
2603
  `;
2569
2604
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2570
2605
  const Table = (_a) => {
@@ -2586,55 +2621,55 @@ const Table = (_a) => {
2586
2621
  return (React.createElement(Column, { "$align": columns[j].align, "$width": columns[j].width, "data-itemid": `${columnId}-column`, key: j }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2587
2622
  })));
2588
2623
  }))) : null));
2589
- };
2590
-
2591
- const Wrapper$1 = styled.div `
2592
- display: flex;
2593
- box-sizing: border-box;
2594
- align-items: flex-end;
2595
- border-top: 1px solid #e5e5e5;
2596
- border-bottom: 1px solid #e5e5e5;
2597
- flex-shrink: 0;
2598
- align-self: stretch;
2599
- padding: 0;
2600
- margin: 0;
2601
- `;
2602
- const Tab = styled.div `
2603
- display: flex;
2604
- align-items: center;
2605
- gap: 6px;
2606
- font-size: ${FontSizes.DEFAULT};
2607
- font-family: ${FontStyles.DEFAULT};
2608
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2609
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2610
- line-height: 1em;
2611
- padding: 16px 30px 12px;
2612
- margin: 0 0 -1px 0;
2613
- border-bottom-width: 4px;
2614
- border-bottom-style: solid;
2615
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2616
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2617
- box-sizing: border-box;
2618
- &:hover {
2619
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2620
- font-weight: 500;
2621
- }
2624
+ };
2625
+
2626
+ const Wrapper$1 = styled.div `
2627
+ display: flex;
2628
+ box-sizing: border-box;
2629
+ align-items: flex-end;
2630
+ border-top: 1px solid #e5e5e5;
2631
+ border-bottom: 1px solid #e5e5e5;
2632
+ flex-shrink: 0;
2633
+ align-self: stretch;
2634
+ padding: 0;
2635
+ margin: 0;
2636
+ `;
2637
+ const Tab = styled.div `
2638
+ display: flex;
2639
+ align-items: center;
2640
+ gap: 6px;
2641
+ font-size: ${FontSizes.DEFAULT};
2642
+ font-family: ${FontStyles.DEFAULT};
2643
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2644
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2645
+ line-height: 1em;
2646
+ padding: 16px 30px 12px;
2647
+ margin: 0 0 -1px 0;
2648
+ border-bottom-width: 4px;
2649
+ border-bottom-style: solid;
2650
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2651
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2652
+ box-sizing: border-box;
2653
+ &:hover {
2654
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2655
+ font-weight: 500;
2656
+ }
2622
2657
  `;
2623
2658
  Tab.defaultProps = { theme: EditableTheme };
2624
- const Badge = styled.div `
2625
- display: flex;
2626
- width: 18px;
2627
- height: 18px;
2628
- justify-content: center;
2629
- align-items: center;
2630
- border-radius: 9px;
2631
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2632
- color: #fff;
2633
- font-family: ${FontStyles.DEFAULT};
2634
- font-size: 12px;
2635
- font-weight: 500;
2636
- line-height: 1;
2637
- letter-spacing: 1px;
2659
+ const Badge = styled.div `
2660
+ display: flex;
2661
+ width: 18px;
2662
+ height: 18px;
2663
+ justify-content: center;
2664
+ align-items: center;
2665
+ border-radius: 9px;
2666
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2667
+ color: #fff;
2668
+ font-family: ${FontStyles.DEFAULT};
2669
+ font-size: 12px;
2670
+ font-weight: 500;
2671
+ line-height: 1;
2672
+ letter-spacing: 1px;
2638
2673
  `;
2639
2674
  Badge.defaultProps = { theme: EditableTheme };
2640
2675
  const Tabs = (_a) => {
@@ -2648,29 +2683,29 @@ const Tabs = (_a) => {
2648
2683
  label));
2649
2684
  })));
2650
2685
  };
2651
- Tabs.defaultProps = {};
2652
-
2653
- const Track = styled.div `
2654
- height: 24px;
2655
- border-radius: 12px;
2656
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2657
- display: flex;
2658
- align-items: center;
2659
- cursor: pointer;
2660
- width: 40px;
2661
- padding: 2px;
2662
- box-sizing: border-box;
2663
- `;
2664
- const Handle = styled.div `
2665
- width: 20px;
2666
- height: 20px;
2667
- border-radius: 10px;
2668
- background: #ffffff;
2669
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2670
- display: flex;
2671
- align-items: center;
2672
- justify-content: center;
2673
- box-sizing: border-box;
2686
+ Tabs.defaultProps = {};
2687
+
2688
+ const Track = styled.div `
2689
+ height: 24px;
2690
+ border-radius: 12px;
2691
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2692
+ display: flex;
2693
+ align-items: center;
2694
+ cursor: pointer;
2695
+ width: 40px;
2696
+ padding: 2px;
2697
+ box-sizing: border-box;
2698
+ `;
2699
+ const Handle = styled.div `
2700
+ width: 20px;
2701
+ height: 20px;
2702
+ border-radius: 10px;
2703
+ background: #ffffff;
2704
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2705
+ display: flex;
2706
+ align-items: center;
2707
+ justify-content: center;
2708
+ box-sizing: border-box;
2674
2709
  `;
2675
2710
  const Toggle = (_a) => {
2676
2711
  var { onClick, on, dataItemid } = _a, accessibleProps = __rest(_a, ["onClick", "on", "dataItemid"]);
@@ -2680,32 +2715,32 @@ const Toggle = (_a) => {
2680
2715
  React.createElement(Handle, { "$on": on, "data-itemid": `${baseId}-handle` },
2681
2716
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: on ? mdiCheck : mdiClose, size: '16px' }))));
2682
2717
  };
2683
- Toggle.defaultProps = {};
2684
-
2685
- const Container = styled.div `
2686
- width: 100%;
2687
- padding: 40px auto;
2688
- gap: 20px;
2689
- display: flex;
2690
- flex-direction: column;
2691
- justify-items: center;
2692
- align-items: center;
2693
- `;
2694
- const Wrapper = styled.div `
2695
- gap: 10px;
2696
- display: flex;
2697
- flex-direction: column;
2698
- justify-items: center;
2699
- align-items: center;
2700
- `;
2701
- const StyledIcon = styled.div `
2702
- display: flex;
2703
- align-items: center;
2704
- justify-content: center;
2705
- width: 80px;
2706
- height: 80px;
2707
- border-radius: 40px;
2708
- background: #f5f5f5;
2718
+ Toggle.defaultProps = {};
2719
+
2720
+ const Container = styled.div `
2721
+ width: 100%;
2722
+ padding: 40px auto;
2723
+ gap: 20px;
2724
+ display: flex;
2725
+ flex-direction: column;
2726
+ justify-items: center;
2727
+ align-items: center;
2728
+ `;
2729
+ const Wrapper = styled.div `
2730
+ gap: 10px;
2731
+ display: flex;
2732
+ flex-direction: column;
2733
+ justify-items: center;
2734
+ align-items: center;
2735
+ `;
2736
+ const StyledIcon = styled.div `
2737
+ display: flex;
2738
+ align-items: center;
2739
+ justify-content: center;
2740
+ width: 80px;
2741
+ height: 80px;
2742
+ border-radius: 40px;
2743
+ background: #f5f5f5;
2709
2744
  `;
2710
2745
  const ZeroState = (_a) => {
2711
2746
  var { icon, title, description, action, dataItemid } = _a, accessibleProps = __rest(_a, ["icon", "title", "description", "action", "dataItemid"]);
@@ -2717,7 +2752,7 @@ const ZeroState = (_a) => {
2717
2752
  React.createElement(Heading, { children: title, "data-itemid": `${baseId}-heading`, type: 'tertiary' }),
2718
2753
  description && (React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', "data-itemid": `${baseId}-description`, type: 'default' }))),
2719
2754
  action && (React.createElement(Button, { children: action.children, "data-itemid": `${baseId}-button`, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2720
- };
2721
-
2722
- export { Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
2723
- //# sourceMappingURL=index.js.map
2755
+ };
2756
+
2757
+ export { Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
2758
+ //# sourceMappingURL=index.js.map