@hexure/ui 1.13.52 → 1.13.54

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/cjs/index.js CHANGED
@@ -1,13 +1,13 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var styled = require('styled-components');
5
- var Icon = require('@mdi/react');
6
- var js = require('@mdi/js');
7
- var dayjs = require('dayjs');
8
- var Numeral = require('numeral');
9
- var Moment = require('moment');
10
-
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var styled = require('styled-components');
5
+ var Icon = require('@mdi/react');
6
+ var js = require('@mdi/js');
7
+ var dayjs = require('dayjs');
8
+ var Numeral = require('numeral');
9
+ var Moment = require('moment');
10
+
11
11
  /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
13
13
 
@@ -21,22 +21,22 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
21
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
22
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
23
  PERFORMANCE OF THIS SOFTWARE.
24
- ***************************************************************************** */
25
- /* global Reflect, Promise, SuppressedError, Symbol */
26
-
27
- function __rest(s, e) {
28
- var t = {};
29
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
30
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
31
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
32
- }
33
- return t;
34
- }
35
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
36
- var e = new Error(message);
37
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
38
- };
39
-
24
+ ***************************************************************************** */
25
+ /* global Reflect, Promise, SuppressedError, Symbol */
26
+
27
+ function __rest(s, e) {
28
+ var t = {};
29
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
30
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
31
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
32
+ }
33
+ return t;
34
+ }
35
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
36
+ var e = new Error(message);
37
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
38
+ };
39
+
40
40
  const Colors = {
41
41
  PRIMARY: {
42
42
  Hex: '#0193D7',
@@ -85,26 +85,26 @@ const FontSizes = {
85
85
  };
86
86
  const EditableTheme = {
87
87
  PRIMARY_COLOR: Colors.PRIMARY,
88
- };
89
-
90
- const Header$3 = styled.div `
91
- display: flex;
92
- align-items: center;
93
- justify-content: space-between;
94
- box-sizing: border-box;
95
- background: #f5f5f5;
96
- border: 1px solid #e5e5e5;
97
- padding: 14px 20px;
98
- height: 50px;
99
- cursor: pointer;
100
- `;
101
- const Title$2 = styled.div `
102
- font-size: ${FontSizes.DEFAULT};
103
- font-weight: 400;
104
- color: ${Colors.BLACK.Hex};
105
- line-height: 1.6em;
106
- font-family: ${FontStyles.DEFAULT};
107
- box-sizing: border-box;
88
+ };
89
+
90
+ const Header$3 = styled.div `
91
+ display: flex;
92
+ align-items: center;
93
+ justify-content: space-between;
94
+ box-sizing: border-box;
95
+ background: #f5f5f5;
96
+ border: 1px solid #e5e5e5;
97
+ padding: 14px 20px;
98
+ height: 50px;
99
+ cursor: pointer;
100
+ `;
101
+ const Title$2 = styled.div `
102
+ font-size: ${FontSizes.DEFAULT};
103
+ font-weight: 400;
104
+ color: ${Colors.BLACK.Hex};
105
+ line-height: 1.6em;
106
+ font-family: ${FontStyles.DEFAULT};
107
+ box-sizing: border-box;
108
108
  `;
109
109
  const Accordion = (_a) => {
110
110
  var { dataItemid, title, children, open, onClick } = _a, accessibleProps = __rest(_a, ["dataItemid", "title", "children", "open", "onClick"]);
@@ -114,21 +114,21 @@ const Accordion = (_a) => {
114
114
  React.createElement(Title$2, { "data-itemid": `${baseId}-title` }, title),
115
115
  React.createElement(Icon, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: open ? js.mdiChevronUp : js.mdiChevronDown, size: '24px' })),
116
116
  open ? React.createElement("div", { "data-itemid": `${baseId}-content` }, children) : null));
117
- };
118
-
119
- const StyledComponent = styled.p `
120
- color: ${props => Colors[props.$color || 'BLACK'].Hex};
121
- font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
122
- line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
123
- letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
124
- font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
125
- font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
126
- text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
127
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
128
- margin: ${props => props.$margin || '0px'};
129
- padding: ${props => props.$padding || '0px'};
130
- text-align: ${props => props.$align || 'left'};
131
- box-sizing: border-box;
117
+ };
118
+
119
+ const StyledComponent = styled.p `
120
+ color: ${props => Colors[props.$color || 'BLACK'].Hex};
121
+ font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
122
+ line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
123
+ letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
124
+ font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
125
+ font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
126
+ text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
127
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
128
+ margin: ${props => props.$margin || '0px'};
129
+ padding: ${props => props.$padding || '0px'};
130
+ text-align: ${props => props.$align || 'left'};
131
+ box-sizing: border-box;
132
132
  `;
133
133
  const Copy = (_a) => {
134
134
  var { children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', dataItemid } = _a, accessibleProps = __rest(_a, ["children", "align", "margin", "padding", "type", "color", "dataItemid"]);
@@ -137,19 +137,19 @@ const Copy = (_a) => {
137
137
  };
138
138
  Copy.defaultProps = {
139
139
  type: 'default',
140
- };
141
-
142
- const Wrapper$h = styled.div `
143
- display: inline-block;
144
- position: relative;
145
- height: 16px;
146
- `;
147
- const StyledIcon$6 = styled(Icon) `
148
- width: 16px;
149
- height: 16px;
150
- margin: 0px 6px;
151
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
152
- cursor: pointer;
140
+ };
141
+
142
+ const Wrapper$h = styled.div `
143
+ display: inline-block;
144
+ position: relative;
145
+ height: 16px;
146
+ `;
147
+ const StyledIcon$6 = styled(Icon) `
148
+ width: 16px;
149
+ height: 16px;
150
+ margin: 0px 6px;
151
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
152
+ cursor: pointer;
153
153
  `;
154
154
  StyledIcon$6.defaultProps = { theme: EditableTheme };
155
155
  const positions = {
@@ -188,13 +188,13 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, d
188
188
  return (React.createElement(Wrapper$h, { "data-itemid": `${baseId}-wrapper`, onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
189
189
  trigger || React.createElement(StyledIcon$6, { "data-itemid": `${baseId}-icon`, path: js.mdiInformationOutline }),
190
190
  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));
191
- };
192
-
193
- const StyledButton = styled.button `
194
- height: ${props => (props.$small ? '30px' : '40px')};
195
- line-height: 1em;
196
- border-radius: ${props => (props.$small ? '15px' : '20px')};
197
- margin: ${props => props.$margin || '0px'};
191
+ };
192
+
193
+ const StyledButton = styled.button `
194
+ height: ${props => (props.$small ? '30px' : '40px')};
195
+ line-height: 1em;
196
+ border-radius: ${props => (props.$small ? '15px' : '20px')};
197
+ margin: ${props => props.$margin || '0px'};
198
198
  padding: ${props => {
199
199
  if (props.$hasChildren) {
200
200
  if (props.$small) {
@@ -205,9 +205,9 @@ const StyledButton = styled.button `
205
205
  }
206
206
  }
207
207
  return '0px';
208
- }};
209
- outline: none;
210
- background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
208
+ }};
209
+ outline: none;
210
+ background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
211
211
  width: ${props => {
212
212
  if (props.$hasChildren) {
213
213
  return 'auto';
@@ -216,55 +216,55 @@ const StyledButton = styled.button `
216
216
  return '30px';
217
217
  }
218
218
  return '40px';
219
- }};
220
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
221
- display: flex;
222
- align-items: center;
223
- justify-content: center;
224
- gap: ${props => (props.$iconPosition === 'before' ? '8px' : '0px')};
225
- flex-direction: ${props => (props.$iconPosition === 'before' ? 'row-reverse' : 'row')};
226
- opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
227
- border-width: 1px;
228
- border-style: solid;
229
- border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
230
- box-sizing: border-box;
231
-
232
- &:active,
233
- &:focus,
234
- &:hover {
235
- opacity: ${props => (props.$disabled ? 0.6 : 1)};
236
- }
237
- `;
238
- const Label$5 = styled.span `
239
- color: ${props => props.$content_color || '#fff'};
240
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
241
- font-family: ${FontStyles.DEFAULT};
242
- font-weight: 500;
243
- line-height: 1;
244
- `;
245
- const StyledIcon$5 = styled.span `
246
- margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
247
- margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
248
- display: flex;
249
- align-items: center;
250
- box-sizing: border-box;
251
- `;
252
- const Badge$1 = styled.span `
253
- width: ${props => (props.$small ? '20px' : '24px')};
254
- height: ${props => (props.$small ? '20px' : '24px')};
255
- line-height: 1;
256
- display: flex;
257
- align-items: center;
258
- justify-content: center;
259
- border-radius: 100%;
260
- background-color: ${props => props.$bg_color || '#fff'};
261
- color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
262
- font-size: ${props => (props.$small ? '10px' : '12px')};
263
- font-weight: 600;
264
- font-family: ${FontStyles.DEFAULT};
265
- letter-spacing: -1px;
266
- margin-left: ${props => (props.$small ? '5px' : '10px')};
267
- margin-right: ${props => (props.$small ? '-5px' : '-10px')};
219
+ }};
220
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
221
+ display: flex;
222
+ align-items: center;
223
+ justify-content: center;
224
+ gap: ${props => (props.$iconPosition === 'before' ? '8px' : '0px')};
225
+ flex-direction: ${props => (props.$iconPosition === 'before' ? 'row-reverse' : 'row')};
226
+ opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
227
+ border-width: 1px;
228
+ border-style: solid;
229
+ border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
230
+ box-sizing: border-box;
231
+
232
+ &:active,
233
+ &:focus,
234
+ &:hover {
235
+ opacity: ${props => (props.$disabled ? 0.6 : 1)};
236
+ }
237
+ `;
238
+ const Label$5 = styled.span `
239
+ color: ${props => props.$content_color || '#fff'};
240
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
241
+ font-family: ${FontStyles.DEFAULT};
242
+ font-weight: 500;
243
+ line-height: 1;
244
+ `;
245
+ const StyledIcon$5 = styled.span `
246
+ margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
247
+ margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
248
+ display: flex;
249
+ align-items: center;
250
+ box-sizing: border-box;
251
+ `;
252
+ const Badge$1 = styled.span `
253
+ width: ${props => (props.$small ? '20px' : '24px')};
254
+ height: ${props => (props.$small ? '20px' : '24px')};
255
+ line-height: 1;
256
+ display: flex;
257
+ align-items: center;
258
+ justify-content: center;
259
+ border-radius: 100%;
260
+ background-color: ${props => props.$bg_color || '#fff'};
261
+ color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
262
+ font-size: ${props => (props.$small ? '10px' : '12px')};
263
+ font-weight: 600;
264
+ font-family: ${FontStyles.DEFAULT};
265
+ letter-spacing: -1px;
266
+ margin-left: ${props => (props.$small ? '5px' : '10px')};
267
+ margin-right: ${props => (props.$small ? '-5px' : '-10px')};
268
268
  `;
269
269
  const Button = (_a) => {
270
270
  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"]);
@@ -311,37 +311,37 @@ const Button = (_a) => {
311
311
  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));
312
312
  }
313
313
  return button_view;
314
- };
315
-
316
- const H1 = styled.h1 `
317
- color: ${Colors.BLACK.Hex};
318
- font-size: 30px;
319
- font-weight: ${props => (props.$bold ? '500' : '400')};
320
- line-height: 1.4em;
321
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
322
- margin: ${props => props.$margin || '0px'};
323
- padding: ${props => props.$padding || '0px'};
324
- box-sizing: border-box;
325
- `;
326
- const H2 = styled.h2 `
327
- color: ${Colors.BLACK.Hex};
328
- font-size: 24px;
329
- font-weight: ${props => (props.$bold ? '500' : '400')};
330
- line-height: 1.33em;
331
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
332
- margin: ${props => props.$margin || '0px'};
333
- padding: ${props => props.$padding || '0px'};
334
- box-sizing: border-box;
335
- `;
336
- const H3 = styled.h3 `
337
- color: ${Colors.BLACK.Hex};
338
- font-size: 18px;
339
- font-weight: ${props => (props.$bold ? '500' : '400')};
340
- line-height: 1.33em;
341
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
342
- margin: ${props => props.$margin || '0px'};
343
- padding: ${props => props.$padding || '0px'};
344
- box-sizing: border-box;
314
+ };
315
+
316
+ const H1 = styled.h1 `
317
+ color: ${Colors.BLACK.Hex};
318
+ font-size: 30px;
319
+ font-weight: ${props => (props.$bold ? '500' : '400')};
320
+ line-height: 1.4em;
321
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
322
+ margin: ${props => props.$margin || '0px'};
323
+ padding: ${props => props.$padding || '0px'};
324
+ box-sizing: border-box;
325
+ `;
326
+ const H2 = styled.h2 `
327
+ color: ${Colors.BLACK.Hex};
328
+ font-size: 24px;
329
+ font-weight: ${props => (props.$bold ? '500' : '400')};
330
+ line-height: 1.33em;
331
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
332
+ margin: ${props => props.$margin || '0px'};
333
+ padding: ${props => props.$padding || '0px'};
334
+ box-sizing: border-box;
335
+ `;
336
+ const H3 = styled.h3 `
337
+ color: ${Colors.BLACK.Hex};
338
+ font-size: 18px;
339
+ font-weight: ${props => (props.$bold ? '500' : '400')};
340
+ line-height: 1.33em;
341
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
342
+ margin: ${props => props.$margin || '0px'};
343
+ padding: ${props => props.$padding || '0px'};
344
+ box-sizing: border-box;
345
345
  `;
346
346
  const Heading = (_a) => {
347
347
  var { bold, children, margin, padding, type, dataItemid } = _a, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type", "dataItemid"]);
@@ -361,29 +361,29 @@ const Heading = (_a) => {
361
361
  Heading.defaultProps = {
362
362
  bold: false,
363
363
  type: 'primary',
364
- };
365
-
366
- const Wrapper$g = styled.div `
367
- position: fixed;
368
- top: 0;
369
- right: 0;
370
- bottom: 0;
371
- left: 0;
372
- z-index: 9999;
373
- background: rgba(0, 0, 0, 0.8);
374
- display: flex;
375
- align-items: center;
376
- justify-content: center;
377
- box-sizing: border-box;
364
+ };
365
+
366
+ const Wrapper$g = styled.div `
367
+ position: fixed;
368
+ top: 0;
369
+ right: 0;
370
+ bottom: 0;
371
+ left: 0;
372
+ z-index: 9999;
373
+ background: rgba(0, 0, 0, 0.8);
374
+ display: flex;
375
+ align-items: center;
376
+ justify-content: center;
377
+ box-sizing: border-box;
378
378
  `;
379
379
  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)));
380
- const Buttons$1 = styled.div `
381
- display: flex;
382
- gap: 10px;
383
- align-items: center;
384
- justify-content: center;
385
- margin-top: 30px;
386
- box-sizing: border-box;
380
+ const Buttons$1 = styled.div `
381
+ display: flex;
382
+ gap: 10px;
383
+ align-items: center;
384
+ justify-content: center;
385
+ margin-top: 30px;
386
+ box-sizing: border-box;
387
387
  `;
388
388
  const ActionDialog = (_a) => {
389
389
  var { description, title, primaryButton, secondaryButton, tertiaryButton, style = {}, dataItemid } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton", "style", "dataItemid"]);
@@ -396,29 +396,29 @@ const ActionDialog = (_a) => {
396
396
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { "data-itemid": `${baseId}-tertiary-button`, format: tertiaryButton.format || 'secondary' }))) : null,
397
397
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' }))) : null,
398
398
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null)));
399
- };
400
-
401
- const Wrapper$f = styled.div `
402
- border: 1px solid #f1f1f1;
403
- border-radius: 4px;
404
- border-left-width: 4px;
405
- box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
406
- display: flex;
407
- align-items: flex-start;
408
- gap: ${({ $small }) => ($small ? '8px' : '20px')};
409
- padding: ${({ $small }) => ($small ? '11px' : '20px')};
410
- box-sizing: border-box;
411
- `;
412
- const StyledIcon$4 = styled(Icon) `
413
- flex-shrink: 0;
414
- `;
415
- const Action$1 = styled.div `
416
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
417
- font-size: ${FontSizes.DEFAULT};
418
- font-family: ${FontStyles.DEFAULT};
419
- font-weight: 500;
420
- cursor: pointer;
421
- margin-top: 6px;
399
+ };
400
+
401
+ const Wrapper$f = styled.div `
402
+ border: 1px solid #f1f1f1;
403
+ border-radius: 4px;
404
+ border-left-width: 4px;
405
+ box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
406
+ display: flex;
407
+ align-items: flex-start;
408
+ gap: ${({ $small }) => ($small ? '8px' : '20px')};
409
+ padding: ${({ $small }) => ($small ? '11px' : '20px')};
410
+ box-sizing: border-box;
411
+ `;
412
+ const StyledIcon$4 = styled(Icon) `
413
+ flex-shrink: 0;
414
+ `;
415
+ const Action$1 = styled.div `
416
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
417
+ font-size: ${FontSizes.DEFAULT};
418
+ font-family: ${FontStyles.DEFAULT};
419
+ font-weight: 500;
420
+ cursor: pointer;
421
+ margin-top: 6px;
422
422
  `;
423
423
  Action$1.defaultProps = { theme: EditableTheme };
424
424
  const Alert = (_a) => {
@@ -449,8 +449,8 @@ const Alert = (_a) => {
449
449
  title && !small ? (React.createElement(Heading, { bold: true, "data-itemid": `${baseId}-title`, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
450
450
  description ? (React.createElement(Copy, { "data-itemid": `${baseId}-description`, margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
451
451
  action && !small ? (React.createElement(Action$1, { "data-itemid": `${baseId}-action`, onClick: action.onClick }, action.label)) : null)));
452
- };
453
-
452
+ };
453
+
454
454
  const colorMapping = {
455
455
  black: {
456
456
  fill_1: '#000000',
@@ -492,62 +492,62 @@ const Logo = (_a) => {
492
492
  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 }),
493
493
  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 })));
494
494
  }
495
- };
496
-
497
- const Container$3 = styled.header `
498
- width: 100%;
499
- display: flex;
500
- padding: 20px;
501
- box-sizing: border-box;
502
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
503
- background: '#fff';
504
- justify-content: space-between;
505
- `;
506
- const LogoWrapper = styled.div `
507
- display: flex;
508
- align-items: center;
509
- `;
510
- const Image = styled.img `
511
- height: 30px !important;
512
- width: auto !important;
513
- `;
514
- const Buttons = styled.div `
515
- display: flex;
516
- flex-direction: row;
517
- column-gap: 10px;
518
- flex-direction: reverse;
495
+ };
496
+
497
+ const Container$3 = styled.header `
498
+ width: 100%;
499
+ display: flex;
500
+ padding: 20px;
501
+ box-sizing: border-box;
502
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
503
+ background: '#fff';
504
+ justify-content: space-between;
505
+ `;
506
+ const LogoWrapper = styled.div `
507
+ display: flex;
508
+ align-items: center;
509
+ `;
510
+ const Image = styled.img `
511
+ height: 30px !important;
512
+ width: auto !important;
513
+ `;
514
+ const Buttons = styled.div `
515
+ display: flex;
516
+ flex-direction: row;
517
+ column-gap: 10px;
518
+ flex-direction: reverse;
519
519
  `;
520
520
  const AppHeader = ({ logoUrl, buttons = [], dataItemid }) => {
521
521
  const baseId = dataItemid || 'app-header';
522
522
  return (React.createElement(Container$3, { "data-itemid": `${baseId}-container` },
523
523
  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' }))),
524
524
  React.createElement(Buttons, { "data-itemid": `${baseId}-buttons` }, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b, { "data-itemid": `${baseId}-button-${i}` })))))));
525
- };
526
-
527
- const Wrapper$e = styled.div `
528
- display: inline-block;
529
- border-radius: 4px;
530
- padding: 4px 6px;
531
- background: ${props => Colors[props.$color].Hex};
532
- color: #ffffff;
533
- box-sizing: border-box;
534
- cursor: ${props => (props.$removable ? 'pointer' : 'default')};
535
- `;
536
- const Content$2 = styled.div `
537
- display: flex;
538
- align-items: center;
539
- `;
540
- const Label$4 = styled.div `
541
- color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
542
- font-size: ${FontSizes.SMALL};
543
- font-weight: 500;
544
- font-family: ${FontStyles.DEFAULT};
545
- line-height: 1.2em;
546
- `;
547
- const Remove$1 = styled.div `
548
- margin-left: 10px;
549
- display: flex;
550
- align-items: center;
525
+ };
526
+
527
+ const Wrapper$e = styled.div `
528
+ display: inline-block;
529
+ border-radius: 4px;
530
+ padding: 4px 6px;
531
+ background: ${props => Colors[props.$color].Hex};
532
+ color: #ffffff;
533
+ box-sizing: border-box;
534
+ cursor: ${props => (props.$removable ? 'pointer' : 'default')};
535
+ `;
536
+ const Content$2 = styled.div `
537
+ display: flex;
538
+ align-items: center;
539
+ `;
540
+ const Label$4 = styled.div `
541
+ color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
542
+ font-size: ${FontSizes.SMALL};
543
+ font-weight: 500;
544
+ font-family: ${FontStyles.DEFAULT};
545
+ line-height: 1.2em;
546
+ `;
547
+ const Remove$1 = styled.div `
548
+ margin-left: 10px;
549
+ display: flex;
550
+ align-items: center;
551
551
  `;
552
552
  const Tag = (_a) => {
553
553
  var { children, color = 'PRIMARY', removable, onClick, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick", "dataItemid"]);
@@ -557,94 +557,94 @@ const Tag = (_a) => {
557
557
  React.createElement(Label$4, { "$color": color, "data-itemid": `${baseId}-label` }, children),
558
558
  removable ? (React.createElement(Remove$1, { "data-itemid": `${baseId}-remove` },
559
559
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', "data-itemid": `${baseId}-icon`, path: js.mdiClose, size: '15px' }))) : null)));
560
- };
561
-
562
- const SidebarContainer = styled.div `
563
- border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
564
- display: flex;
565
- flex-direction: column;
566
- height: 100%;
567
- padding: 12px 0px;
568
- width: ${props => (props.$isOpen ? props.$width : '60px')};
569
- `;
570
- const MenuWrapper$1 = styled.button `
571
- display: flex;
572
- align-items: center;
573
- border: 0px;
574
- background-color: transparent;
575
- padding-left: 0px;
576
- border-left-width: 4px;
577
- border-left-style: solid;
578
- border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
579
- cursor: pointer;
580
- height: 40px;
581
-
582
- &:hover > div {
583
- color: ${props => props.$color.Hex};
584
- }
585
-
586
- &:hover > svg > path {
587
- fill: ${Colors.BLACK.Hex} !important;
588
- }
589
- `;
590
- const MenuIcon = styled(Icon) `
591
- width: 20px;
592
- height: 20px;
593
- margin: 0px 16px;
594
- flex-shrink: 0;
595
-
596
- > path {
597
- fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
598
- }
599
- `;
600
- const MenuLabel = styled.div `
601
- color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
602
- flex: 1;
603
- font-size: 12px;
604
- font-style: normal;
605
- font-weight: 600;
606
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
607
- line-height: 16px;
608
- padding: 12px 0px;
609
- letter-spacing: 1px;
610
- `;
611
- const SubMenu = styled.div `
612
- overflow-y: auto;
613
- padding-left: 44px;
614
- padding-right: 20px;
615
- padding-bottom: 10px;
616
- `;
617
- const SubMenuItem = styled.a `
618
- display: block;
619
- padding: 8px 12px;
620
- border-radius: 8px;
621
- font-size: 13px;
622
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
623
- line-height: 20px;
624
- text-decoration: none;
625
- font-weight: ${({ $active }) => ($active ? '500' : '400')};
626
- color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
627
- background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
628
- cursor: pointer;
629
-
630
- &:hover {
631
- color: ${props => props.$color.Hex};
632
- font-weight: 500;
633
- }
634
- `;
635
- const Footer = styled.div `
636
- padding: 20px 14px 0px;
637
- display: flex;
638
- align-items: center;
639
- `;
640
- const FooterInfo = styled.div `
641
- display: flex;
642
- flex-direction: column;
643
- flex: 1;
644
- align-items: flex-start;
645
- `;
646
- const SidebarMenuContainer = styled.div `
647
- flex-grow: 1;
560
+ };
561
+
562
+ const SidebarContainer = styled.div `
563
+ border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
564
+ display: flex;
565
+ flex-direction: column;
566
+ height: 100%;
567
+ padding: 12px 0px;
568
+ width: ${props => (props.$isOpen ? props.$width : '60px')};
569
+ `;
570
+ const MenuWrapper$1 = styled.button `
571
+ display: flex;
572
+ align-items: center;
573
+ border: 0px;
574
+ background-color: transparent;
575
+ padding-left: 0px;
576
+ border-left-width: 4px;
577
+ border-left-style: solid;
578
+ border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
579
+ cursor: pointer;
580
+ height: 40px;
581
+
582
+ &:hover > div {
583
+ color: ${props => props.$color.Hex};
584
+ }
585
+
586
+ &:hover > svg > path {
587
+ fill: ${Colors.BLACK.Hex} !important;
588
+ }
589
+ `;
590
+ const MenuIcon = styled(Icon) `
591
+ width: 20px;
592
+ height: 20px;
593
+ margin: 0px 16px;
594
+ flex-shrink: 0;
595
+
596
+ > path {
597
+ fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
598
+ }
599
+ `;
600
+ const MenuLabel = styled.div `
601
+ color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
602
+ flex: 1;
603
+ font-size: 12px;
604
+ font-style: normal;
605
+ font-weight: 600;
606
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
607
+ line-height: 16px;
608
+ padding: 12px 0px;
609
+ letter-spacing: 1px;
610
+ `;
611
+ const SubMenu = styled.div `
612
+ overflow-y: auto;
613
+ padding-left: 44px;
614
+ padding-right: 20px;
615
+ padding-bottom: 10px;
616
+ `;
617
+ const SubMenuItem = styled.a `
618
+ display: block;
619
+ padding: 8px 12px;
620
+ border-radius: 8px;
621
+ font-size: 13px;
622
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
623
+ line-height: 20px;
624
+ text-decoration: none;
625
+ font-weight: ${({ $active }) => ($active ? '500' : '400')};
626
+ color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
627
+ background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
628
+ cursor: pointer;
629
+
630
+ &:hover {
631
+ color: ${props => props.$color.Hex};
632
+ font-weight: 500;
633
+ }
634
+ `;
635
+ const Footer = styled.div `
636
+ padding: 20px 14px 0px;
637
+ display: flex;
638
+ align-items: center;
639
+ `;
640
+ const FooterInfo = styled.div `
641
+ display: flex;
642
+ flex-direction: column;
643
+ flex: 1;
644
+ align-items: flex-start;
645
+ `;
646
+ const SidebarMenuContainer = styled.div `
647
+ flex-grow: 1;
648
648
  `;
649
649
  const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px', dataItemid, }) => {
650
650
  const theme = React.useContext(styled.ThemeContext) || EditableTheme;
@@ -669,79 +669,79 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px', dataIte
669
669
  "\u00A9 ",
670
670
  new Date().getFullYear(),
671
671
  " Hexure"))),
672
- React.createElement(Button, { "data-itemid": `${baseId}-collapse-button`, icon: collapsed ? js.mdiChevronRight : js.mdiChevronLeft, onClick: (e) => {
672
+ React.createElement(Button, { dataItemid: `${baseId}-collapse-button`, icon: collapsed ? js.mdiChevronRight : js.mdiChevronLeft, onClick: (e) => {
673
673
  e.preventDefault();
674
674
  toggleCollapse(!collapsed);
675
675
  }, small: true, type: 'button' }))));
676
- };
677
-
678
- const Wrapper$d = styled.div `
679
- border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
680
- border-radius: 8px;
681
- box-sizing: border-box;
682
- display: flex;
683
- align-items: center;
684
- justify-content: space-between;
685
- padding: 16px 20px;
676
+ };
677
+
678
+ const Wrapper$d = styled.div `
679
+ border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
680
+ border-radius: 8px;
681
+ box-sizing: border-box;
682
+ display: flex;
683
+ align-items: center;
684
+ justify-content: space-between;
685
+ padding: 16px 20px;
686
686
  `;
687
687
  Wrapper$d.defaultProps = { theme: EditableTheme };
688
- const Left = styled.div `
689
- box-sizing: border-box;
690
- display: flex;
691
- align-items: center;
692
- justify-content: space-between;
693
- flex-shrink: 0;
694
- `;
695
- const Info$1 = styled.div `
696
- box-sizing: border-box;
697
- display: flex;
698
- align-items: center;
699
- margin-right: 30px;
700
- `;
701
- const Selected = styled.span `
702
- font-size: 14px;
703
- font-weight: 400;
704
- font-family: ${FontStyles.DEFAULT};
705
- color: ${Colors.BLACK.Hex};
706
- line-height: 1;
707
- `;
708
- const Clear = styled.span `
709
- font-size: 14px;
710
- font-weight: 400;
711
- font-family: ${FontStyles.DEFAULT};
712
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
713
- line-height: 1;
714
- cursor: pointer;
715
- padding-left: 10px;
716
- margin-left: 10px;
717
- border-left: 1px solid #ccc;
688
+ const Left = styled.div `
689
+ box-sizing: border-box;
690
+ display: flex;
691
+ align-items: center;
692
+ justify-content: space-between;
693
+ flex-shrink: 0;
694
+ `;
695
+ const Info$1 = styled.div `
696
+ box-sizing: border-box;
697
+ display: flex;
698
+ align-items: center;
699
+ margin-right: 30px;
700
+ `;
701
+ const Selected = styled.span `
702
+ font-size: 14px;
703
+ font-weight: 400;
704
+ font-family: ${FontStyles.DEFAULT};
705
+ color: ${Colors.BLACK.Hex};
706
+ line-height: 1;
707
+ `;
708
+ const Clear = styled.span `
709
+ font-size: 14px;
710
+ font-weight: 400;
711
+ font-family: ${FontStyles.DEFAULT};
712
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
713
+ line-height: 1;
714
+ cursor: pointer;
715
+ padding-left: 10px;
716
+ margin-left: 10px;
717
+ border-left: 1px solid #ccc;
718
718
  `;
719
719
  Clear.defaultProps = { theme: EditableTheme };
720
- const Actions$1 = styled.div `
721
- box-sizing: border-box;
722
- display: flex;
723
- align-items: center;
724
- column-gap: 10px;
725
- `;
726
- const Error$1 = styled.div `
727
- box-sizing: border-box;
728
- display: flex;
729
- align-items: center;
730
- background: rgba(${Colors.RED.Rgb}, 0.1);
731
- border-radius: 4px;
732
- padding: 6px 8px;
733
- text-overflow: ellipsis;
734
- white-space: nowrap;
735
- overflow: hidden;
736
- margin-left: 30px;
737
- `;
738
- const ErrorMsg = styled.span `
739
- font-size: 14px;
740
- font-weight: 500;
741
- font-family: ${FontStyles.DEFAULT};
742
- line-height: 1em;
743
- color: ${Colors.RED.Hex};
744
- margin-left: 8px;
720
+ const Actions$1 = styled.div `
721
+ box-sizing: border-box;
722
+ display: flex;
723
+ align-items: center;
724
+ column-gap: 10px;
725
+ `;
726
+ const Error$1 = styled.div `
727
+ box-sizing: border-box;
728
+ display: flex;
729
+ align-items: center;
730
+ background: rgba(${Colors.RED.Rgb}, 0.1);
731
+ border-radius: 4px;
732
+ padding: 6px 8px;
733
+ text-overflow: ellipsis;
734
+ white-space: nowrap;
735
+ overflow: hidden;
736
+ margin-left: 30px;
737
+ `;
738
+ const ErrorMsg = styled.span `
739
+ font-size: 14px;
740
+ font-weight: 500;
741
+ font-family: ${FontStyles.DEFAULT};
742
+ line-height: 1em;
743
+ color: ${Colors.RED.Hex};
744
+ margin-left: 8px;
745
745
  `;
746
746
  const BulkActionBar = (_a) => {
747
747
  var { actions = [], errorMsg, onClear, selectedCount = 0, dataItemid } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount", "dataItemid"]);
@@ -757,48 +757,48 @@ const BulkActionBar = (_a) => {
757
757
  errorMsg ? (React.createElement(Error$1, { "data-itemid": `${baseId}-error` },
758
758
  React.createElement(Icon, { color: Colors.RED.Hex, "data-itemid": `${baseId}-error-icon`, path: js.mdiInformationOutline, size: '20px' }),
759
759
  React.createElement(ErrorMsg, { "data-itemid": `${baseId}-error-msg` }, errorMsg))) : null));
760
- };
761
-
762
- const Wrapper$c = styled.div `
763
- background: #fff;
764
- border-radius: 8px;
765
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
766
- display: flex;
767
- flex-direction: column;
768
- gap: 4px;
769
- max-height: ${props => props.$maxHeight || '312px'};
770
- padding: 10px;
771
- width: 200px;
772
- `;
773
- const MenuItem = styled.div `
774
- align-items: center;
775
- border-radius: 8px;
776
- border: 1px solid transparent;
777
- display: flex;
778
- gap: 8px;
779
- height: 38px;
780
- padding: 8px;
781
- &:hover {
782
- background: rgba(1, 147, 215, 0.1);
783
- cursor: pointer;
784
-
785
- svg,
786
- path {
787
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
788
- }
789
- }
760
+ };
761
+
762
+ const Wrapper$c = styled.div `
763
+ background: #fff;
764
+ border-radius: 8px;
765
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
766
+ display: flex;
767
+ flex-direction: column;
768
+ gap: 4px;
769
+ max-height: ${props => props.$maxHeight || '312px'};
770
+ padding: 10px;
771
+ width: 200px;
772
+ `;
773
+ const MenuItem = styled.div `
774
+ align-items: center;
775
+ border-radius: 8px;
776
+ border: 1px solid transparent;
777
+ display: flex;
778
+ gap: 8px;
779
+ height: 38px;
780
+ padding: 8px;
781
+ &:hover {
782
+ background: rgba(1, 147, 215, 0.1);
783
+ cursor: pointer;
784
+
785
+ svg,
786
+ path {
787
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
788
+ }
789
+ }
790
790
  `;
791
791
  MenuItem.defaultProps = { theme: EditableTheme };
792
- const Title$1 = styled.span `
793
- font-family: Roboto;
794
- font-size: 14px;
795
- font-weight: 400;
796
- height: auto;
797
- letter-spacing: 0px;
798
- line-height: 22px;
799
- text-align: left;
800
- color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
801
- pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
792
+ const Title$1 = styled.span `
793
+ font-family: Roboto;
794
+ font-size: 14px;
795
+ font-weight: 400;
796
+ height: auto;
797
+ letter-spacing: 0px;
798
+ line-height: 22px;
799
+ text-align: left;
800
+ color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
801
+ pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
802
802
  `;
803
803
  Title$1.defaultProps = {
804
804
  disabled: false,
@@ -813,19 +813,19 @@ const MoreMenu = (_a) => {
813
813
  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,
814
814
  React.createElement(Title$1, { "data-itemid": `${itemId}-title`, disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
815
815
  })));
816
- };
817
-
818
- const MenuWrapper = styled.div `
819
- position: relative;
820
- display: inline-block;
821
- `;
822
- const StyledMoreMenu = styled(MoreMenu) `
823
- position: absolute;
824
- top: ${props => props.$top};
825
- left: ${props => props.$left};
826
- width: ${props => props.$menuWidth};
827
- max-height: ${props => props.maxHeight};
828
- z-index: 10;
816
+ };
817
+
818
+ const MenuWrapper = styled.div `
819
+ position: relative;
820
+ display: inline-block;
821
+ `;
822
+ const StyledMoreMenu = styled(MoreMenu) `
823
+ position: absolute;
824
+ top: ${props => props.$top};
825
+ left: ${props => props.$left};
826
+ width: ${props => props.$menuWidth};
827
+ max-height: ${props => props.maxHeight};
828
+ z-index: 10;
829
829
  `;
830
830
  const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'bottomLeft', format = 'primary', menuWidth = '200px', enableHover = true, enableClick = false, show = false, dataItemid, }) => {
831
831
  const [showMenu, toggleMenu] = React.useState(false);
@@ -900,85 +900,85 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
900
900
  return (React.createElement(MenuWrapper, { "data-itemid": `${baseId}-menu-wrapper`, onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
901
901
  React.createElement(Button, { "data-itemid": `${baseId}-button`, disabled: disabled, format: format, icon: js.mdiDotsHorizontal, small: small }, label),
902
902
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, "data-itemid": `${baseId}-more-menu`, maxHeight: maxHeight, menuItems: menuItems }))));
903
- };
904
-
905
- const Wrapper$b = styled.label `
906
- border-radius: 4px;
907
- padding: 4px 0px 4px 6px;
908
- margin-left: -6px;
909
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
910
- display: flex;
911
- align-items: center;
912
- font-size: ${FontSizes.DEFAULT};
913
- line-height: 1.6em;
914
- box-sizing: border-box;
915
- position: relative;
916
-
917
- &:focus-within {
918
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
919
- }
903
+ };
904
+
905
+ const Wrapper$b = styled.label `
906
+ border-radius: 4px;
907
+ padding: 4px 0px 4px 6px;
908
+ margin-left: -6px;
909
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
910
+ display: flex;
911
+ align-items: center;
912
+ font-size: ${FontSizes.DEFAULT};
913
+ line-height: 1.6em;
914
+ box-sizing: border-box;
915
+ position: relative;
916
+
917
+ &:focus-within {
918
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
919
+ }
920
920
  `;
921
921
  Wrapper$b.defaultProps = { theme: EditableTheme };
922
- const Input$2 = styled.input `
923
- font-size: 20px;
924
- margin: 0px;
925
- line-height: 1.1em;
926
- box-sizing: border-box;
927
- position: absolute;
928
- opacity: 0;
929
- cursor: pointer;
930
- height: 0;
931
- width: 0;
932
- &:checked + span {
933
- background-color: ${Colors.PRIMARY.Hex};
934
- border-color: ${Colors.PRIMARY.Hex};
935
- }
936
- &:checked:disabled + span {
937
- background-color: ${Colors.MEDIUM_GRAY.Hex};
938
- border-color: ${Colors.MEDIUM_GRAY.Hex};
939
- }
940
- &:disabled + span {
941
- background-color: #d3d3d3;
942
- border-color: #d3d3d3;
943
- }
944
- &:checked + span:after {
945
- display: block;
946
- }
947
- `;
948
- const Check$1 = styled.span `
949
- height: 17px;
950
- width: 17px;
951
- min-width: 17px;
952
- background-color: #fff;
953
- border-width: 2px;
954
- border-style: solid;
955
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
956
- box-sizing: border-box;
957
- position: relative;
958
- &:after {
959
- content: '';
960
- position: absolute;
961
- left: 3px;
962
- top: 0px;
963
- width: 7px;
964
- height: 12px;
965
- border: solid white;
966
- border-width: 0 3px 3px 0;
967
- -webkit-transform: rotate(45deg);
968
- -ms-transform: rotate(45deg);
969
- transform: rotate(45deg);
970
- box-sizing: border-box;
971
- display: none;
972
- }
973
- `;
974
- const Label$3 = styled.span `
975
- font-family: ${FontStyles.DEFAULT};
976
- font-size: ${FontSizes.DEFAULT};
977
- font-weight: 400;
978
- line-height: 1.6em;
979
- color: ${props => props.color || Colors.BLACK.Hex};
980
- margin-left: 6px;
981
- box-sizing: border-box;
922
+ const Input$2 = styled.input `
923
+ font-size: 20px;
924
+ margin: 0px;
925
+ line-height: 1.1em;
926
+ box-sizing: border-box;
927
+ position: absolute;
928
+ opacity: 0;
929
+ cursor: pointer;
930
+ height: 0;
931
+ width: 0;
932
+ &:checked + span {
933
+ background-color: ${Colors.PRIMARY.Hex};
934
+ border-color: ${Colors.PRIMARY.Hex};
935
+ }
936
+ &:checked:disabled + span {
937
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
938
+ border-color: ${Colors.MEDIUM_GRAY.Hex};
939
+ }
940
+ &:disabled + span {
941
+ background-color: #d3d3d3;
942
+ border-color: #d3d3d3;
943
+ }
944
+ &:checked + span:after {
945
+ display: block;
946
+ }
947
+ `;
948
+ const Check$1 = styled.span `
949
+ height: 17px;
950
+ width: 17px;
951
+ min-width: 17px;
952
+ background-color: #fff;
953
+ border-width: 2px;
954
+ border-style: solid;
955
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
956
+ box-sizing: border-box;
957
+ position: relative;
958
+ &:after {
959
+ content: '';
960
+ position: absolute;
961
+ left: 3px;
962
+ top: 0px;
963
+ width: 7px;
964
+ height: 12px;
965
+ border: solid white;
966
+ border-width: 0 3px 3px 0;
967
+ -webkit-transform: rotate(45deg);
968
+ -ms-transform: rotate(45deg);
969
+ transform: rotate(45deg);
970
+ box-sizing: border-box;
971
+ display: none;
972
+ }
973
+ `;
974
+ const Label$3 = styled.span `
975
+ font-family: ${FontStyles.DEFAULT};
976
+ font-size: ${FontSizes.DEFAULT};
977
+ font-weight: 400;
978
+ line-height: 1.6em;
979
+ color: ${props => props.color || Colors.BLACK.Hex};
980
+ margin-left: 6px;
981
+ box-sizing: border-box;
982
982
  `;
983
983
  const Checkbox = (_a) => {
984
984
  var { children, color, disabled, checked, onChange, invalid, tooltip, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip", "tabIndex", "dataItemid"]);
@@ -989,16 +989,16 @@ const Checkbox = (_a) => {
989
989
  children ? (React.createElement(Label$3, { color: color, "data-itemid": `${baseId}-label` },
990
990
  children,
991
991
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
992
- };
993
-
994
- const SelectAll = styled.div `
995
- padding: 8px 12px;
996
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
997
- box-sizing: border-box;
992
+ };
993
+
994
+ const SelectAll = styled.div `
995
+ padding: 8px 12px;
996
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
997
+ box-sizing: border-box;
998
998
  `;
999
- const Options$1 = styled.div `
1000
- padding: 12px;
1001
- box-sizing: border-box;
999
+ const Options$1 = styled.div `
1000
+ padding: 12px;
1001
+ box-sizing: border-box;
1002
1002
  `;
1003
1003
  const Checklist = (_a) => {
1004
1004
  var { disabled, onChange, options, selected = [], showSelectAll, dataItemid } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll", "dataItemid"]);
@@ -1037,70 +1037,70 @@ const Checklist = (_a) => {
1037
1037
  const optionId = `${baseId}-option-${i}`;
1038
1038
  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));
1039
1039
  }))));
1040
- };
1041
-
1042
- const Wrapper$a = styled.div `
1043
- border-radius: 4px;
1044
- height: 40px;
1045
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1046
- position: relative;
1047
- cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1048
- border-width: 1px;
1049
- border-style: solid;
1050
- border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1051
- border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1052
- flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1053
- box-sizing: border-box;
1054
- padding: 10px 0px;
1055
- display: flex;
1056
- align-items: center;
1057
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1058
-
1059
- &:focus-within {
1060
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1061
- }
1040
+ };
1041
+
1042
+ const Wrapper$a = styled.div `
1043
+ border-radius: 4px;
1044
+ height: 40px;
1045
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1046
+ position: relative;
1047
+ cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1048
+ border-width: 1px;
1049
+ border-style: solid;
1050
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1051
+ border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1052
+ flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1053
+ box-sizing: border-box;
1054
+ padding: 10px 0px;
1055
+ display: flex;
1056
+ align-items: center;
1057
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1058
+
1059
+ &:focus-within {
1060
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1061
+ }
1062
1062
  `;
1063
1063
  Wrapper$a.defaultProps = { theme: EditableTheme };
1064
- const Trigger$1 = styled.select `
1065
- appearance: none;
1066
- box-shadow: none;
1067
- outline: none;
1068
- border: none;
1069
- color: ${Colors.BLACK.Hex};
1070
- font-size: ${FontSizes.DEFAULT};
1071
- font-weight: 400;
1072
- font-family: ${FontStyles.DEFAULT};
1073
- line-height: 3.1em;
1074
- background-color: transparent;
1075
- background-image: none;
1076
- width: 100%;
1077
- box-sizing: border-box;
1078
- padding: 0px 30px 0px 10px;
1079
- box-sizing: border-box;
1080
- position: relative;
1081
- z-index: 2;
1082
- `;
1083
- const IconWrapper$2 = styled(Icon) `
1084
- position: absolute;
1085
- right: 9px;
1086
- z-index: 1;
1087
- `;
1088
- const SearchInput$1 = styled.input `
1089
- position: absolute;
1090
- left: 2px;
1091
- top: 2px;
1092
- z-index: 999;
1093
- width: 90%;
1094
- height: 30px;
1095
- border: none;
1096
- outline: none;
1097
- color: ${Colors.BLACK.Hex};
1098
- font-family: ${FontStyles.DEFAULT};
1099
- font-size: ${FontSizes.DEFAULT};
1100
- font-weight: 400;
1101
- line-height: 2.9em;
1102
- overflow: hidden;
1103
- white-space: nowrap;
1064
+ const Trigger$1 = styled.select `
1065
+ appearance: none;
1066
+ box-shadow: none;
1067
+ outline: none;
1068
+ border: none;
1069
+ color: ${Colors.BLACK.Hex};
1070
+ font-size: ${FontSizes.DEFAULT};
1071
+ font-weight: 400;
1072
+ font-family: ${FontStyles.DEFAULT};
1073
+ line-height: 3.1em;
1074
+ background-color: transparent;
1075
+ background-image: none;
1076
+ width: 100%;
1077
+ box-sizing: border-box;
1078
+ padding: 0px 30px 0px 10px;
1079
+ box-sizing: border-box;
1080
+ position: relative;
1081
+ z-index: 2;
1082
+ `;
1083
+ const IconWrapper$2 = styled(Icon) `
1084
+ position: absolute;
1085
+ right: 9px;
1086
+ z-index: 1;
1087
+ `;
1088
+ const SearchInput$1 = styled.input `
1089
+ position: absolute;
1090
+ left: 2px;
1091
+ top: 2px;
1092
+ z-index: 999;
1093
+ width: 90%;
1094
+ height: 30px;
1095
+ border: none;
1096
+ outline: none;
1097
+ color: ${Colors.BLACK.Hex};
1098
+ font-family: ${FontStyles.DEFAULT};
1099
+ font-size: ${FontSizes.DEFAULT};
1100
+ font-weight: 400;
1101
+ line-height: 2.9em;
1102
+ overflow: hidden;
1103
+ white-space: nowrap;
1104
1104
  `;
1105
1105
  const Select = (_a) => {
1106
1106
  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"]);
@@ -1135,15 +1135,15 @@ const Select = (_a) => {
1135
1135
  filteredOptions &&
1136
1136
  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)))),
1137
1137
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: js.mdiChevronDown, size: '22px' })));
1138
- };
1139
-
1140
- const DatePickerWrapper = styled.div `
1141
- display: flex;
1142
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1138
+ };
1139
+
1140
+ const DatePickerWrapper = styled.div `
1141
+ display: flex;
1142
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1143
1143
  `;
1144
- const Middle = styled.div `
1145
- margin: 0px -1px;
1146
- flex-grow: 1;
1144
+ const Middle = styled.div `
1145
+ margin: 0px -1px;
1146
+ flex-grow: 1;
1147
1147
  `;
1148
1148
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date,
1149
1149
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -1231,66 +1231,66 @@ onChange = () => { }, style, dataItemid, locale, }) => {
1231
1231
  React.createElement(Middle, { "data-itemid": `${baseId}-middle` },
1232
1232
  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 })),
1233
1233
  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 }))));
1234
- };
1235
-
1236
- const Scrim$1 = styled.div `
1237
- position: ${({ $position }) => $position};
1238
- top: 0;
1239
- right: 0;
1240
- bottom: 0;
1241
- left: 0;
1242
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1243
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1244
- `;
1245
- const Container$2 = styled.div `
1246
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1247
- min-width: 400px;
1248
- width: ${({ $width }) => $width || '400px'};
1249
- overflow: hidden;
1250
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1251
- outline: none;
1252
- border: none;
1253
- position: ${({ $position }) => $position};
1254
- top: 0;
1255
- right: 0;
1256
- bottom: 0;
1257
- padding: 0px;
1258
- display: flex;
1259
- flex-direction: column;
1260
- box-sizing: border-box;
1261
- background: #fff;
1262
- `;
1263
- const Header$2 = styled.div `
1264
- padding: 30px 20px;
1265
- display: flex;
1266
- align-items: flex-start;
1267
- box-sizing: border-box;
1268
- flex-shrink: 0;
1269
- background: #fff;
1270
- `;
1271
- const Close$1 = styled.div `
1272
- margin-left: auto;
1273
- display: flex;
1274
- align-items: center;
1275
- padding-left: 20px;
1276
- cursor: pointer;
1277
- `;
1278
- const ContentWrapper$1 = styled.div `
1279
- overflow-x: hidden;
1280
- overflow-y: auto;
1281
- box-sizing: border-box;
1282
- flex: 1;
1283
- background: #fff;
1284
- `;
1285
- const ButtonBar$1 = styled.div `
1286
- padding: 20px;
1287
- display: flex;
1288
- align-items: center;
1289
- justify-content: flex-end;
1290
- box-sizing: border-box;
1291
- gap: 10px;
1292
- flex-shrink: 0;
1293
- background: #fff;
1234
+ };
1235
+
1236
+ const Scrim$1 = styled.div `
1237
+ position: ${({ $position }) => $position};
1238
+ top: 0;
1239
+ right: 0;
1240
+ bottom: 0;
1241
+ left: 0;
1242
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1243
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1244
+ `;
1245
+ const Container$2 = styled.div `
1246
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1247
+ min-width: 400px;
1248
+ width: ${({ $width }) => $width || '400px'};
1249
+ overflow: hidden;
1250
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1251
+ outline: none;
1252
+ border: none;
1253
+ position: ${({ $position }) => $position};
1254
+ top: 0;
1255
+ right: 0;
1256
+ bottom: 0;
1257
+ padding: 0px;
1258
+ display: flex;
1259
+ flex-direction: column;
1260
+ box-sizing: border-box;
1261
+ background: #fff;
1262
+ `;
1263
+ const Header$2 = styled.div `
1264
+ padding: 30px 20px;
1265
+ display: flex;
1266
+ align-items: flex-start;
1267
+ box-sizing: border-box;
1268
+ flex-shrink: 0;
1269
+ background: #fff;
1270
+ `;
1271
+ const Close$1 = styled.div `
1272
+ margin-left: auto;
1273
+ display: flex;
1274
+ align-items: center;
1275
+ padding-left: 20px;
1276
+ cursor: pointer;
1277
+ `;
1278
+ const ContentWrapper$1 = styled.div `
1279
+ overflow-x: hidden;
1280
+ overflow-y: auto;
1281
+ box-sizing: border-box;
1282
+ flex: 1;
1283
+ background: #fff;
1284
+ `;
1285
+ const ButtonBar$1 = styled.div `
1286
+ padding: 20px;
1287
+ display: flex;
1288
+ align-items: center;
1289
+ justify-content: flex-end;
1290
+ box-sizing: border-box;
1291
+ gap: 10px;
1292
+ flex-shrink: 0;
1293
+ background: #fff;
1294
1294
  `;
1295
1295
  const Drawer = (_a) => {
1296
1296
  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"]);
@@ -1319,70 +1319,70 @@ const Drawer = (_a) => {
1319
1319
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' }))) : null,
1320
1320
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null),
1321
1321
  scrim ? (React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, "data-itemid": `${baseId}-scrim`, onClick: onClose })) : null));
1322
- };
1323
-
1322
+ };
1323
+
1324
1324
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1325
- const LabelRow = styled.div `
1326
- display: flex;
1327
- align-items: center;
1328
- justify-content: space-between;
1329
- margin: 0 0 4px 0;
1330
- box-sizing: border-box;
1331
- `;
1332
- const Label$2 = styled.label `
1333
- font-size: ${FontSizes.DEFAULT};
1334
- font-weight: 500;
1335
- line-height: 1.3em;
1336
- font-family: ${FontStyles.DEFAULT};
1337
- color: ${Colors.BLACK.Hex};
1338
- display: flex;
1339
- align-items: center;
1340
- `;
1341
- const Required = styled.span `
1342
- color: ${Colors.RED.Hex};
1343
- margin-left: 4px;
1344
- `;
1345
- const Action = styled.span `
1346
- font-size: ${FontSizes.DEFAULT};
1347
- font-weight: 500;
1348
- line-height: 1em;
1349
- font-family: ${FontStyles.DEFAULT};
1350
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1351
- cursor: pointer;
1325
+ const LabelRow = styled.div `
1326
+ display: flex;
1327
+ align-items: center;
1328
+ justify-content: space-between;
1329
+ margin: 0 0 4px 0;
1330
+ box-sizing: border-box;
1331
+ `;
1332
+ const Label$2 = styled.label `
1333
+ font-size: ${FontSizes.DEFAULT};
1334
+ font-weight: 500;
1335
+ line-height: 1.3em;
1336
+ font-family: ${FontStyles.DEFAULT};
1337
+ color: ${Colors.BLACK.Hex};
1338
+ display: flex;
1339
+ align-items: center;
1340
+ `;
1341
+ const Required = styled.span `
1342
+ color: ${Colors.RED.Hex};
1343
+ margin-left: 4px;
1344
+ `;
1345
+ const Action = styled.span `
1346
+ font-size: ${FontSizes.DEFAULT};
1347
+ font-weight: 500;
1348
+ line-height: 1em;
1349
+ font-family: ${FontStyles.DEFAULT};
1350
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1351
+ cursor: pointer;
1352
1352
  `;
1353
1353
  Action.defaultProps = { theme: EditableTheme };
1354
- const Description = styled.div `
1355
- font-size: ${FontSizes.SMALL};
1356
- font-weight: 400;
1357
- line-height: 1.3em;
1358
- font-family: ${FontStyles.DEFAULT};
1359
- color: ${Colors.BLACK.Hex};
1360
- margin: 0 0 8px 0;
1361
- box-sizing: border-box;
1362
- `;
1363
- const Validation = styled.div `
1364
- font-size: ${FontSizes.SMALL};
1365
- font-weight: 400;
1366
- line-height: 1.3em;
1367
- font-family: ${FontStyles.DEFAULT};
1368
- color: ${Colors.RED.Hex};
1369
- margin: 4px 0 0 0;
1370
- box-sizing: border-box;
1371
- min-height: 19px;
1372
- `;
1373
- const ValidationNew = styled.span `
1374
- font-size: ${FontSizes.SMALL};
1375
- font-weight: 400;
1376
- line-height: 1.3em;
1377
- font-family: ${FontStyles.DEFAULT};
1378
- color: ${Colors.BLACK.Hex};
1379
- box-sizing: border-box;
1380
- align-items: center;
1381
- display: flex;
1382
- `;
1383
- const ValidationInnerIcon = styled.span `
1384
- padding-right: 5px;
1385
- display: flex;
1354
+ const Description = styled.div `
1355
+ font-size: ${FontSizes.SMALL};
1356
+ font-weight: 400;
1357
+ line-height: 1.3em;
1358
+ font-family: ${FontStyles.DEFAULT};
1359
+ color: ${Colors.BLACK.Hex};
1360
+ margin: 0 0 8px 0;
1361
+ box-sizing: border-box;
1362
+ `;
1363
+ const Validation = styled.div `
1364
+ font-size: ${FontSizes.SMALL};
1365
+ font-weight: 400;
1366
+ line-height: 1.3em;
1367
+ font-family: ${FontStyles.DEFAULT};
1368
+ color: ${Colors.RED.Hex};
1369
+ margin: 4px 0 0 0;
1370
+ box-sizing: border-box;
1371
+ min-height: 19px;
1372
+ `;
1373
+ const ValidationNew = styled.span `
1374
+ font-size: ${FontSizes.SMALL};
1375
+ font-weight: 400;
1376
+ line-height: 1.3em;
1377
+ font-family: ${FontStyles.DEFAULT};
1378
+ color: ${Colors.BLACK.Hex};
1379
+ box-sizing: border-box;
1380
+ align-items: center;
1381
+ display: flex;
1382
+ `;
1383
+ const ValidationInnerIcon = styled.span `
1384
+ padding-right: 5px;
1385
+ display: flex;
1386
1386
  `;
1387
1387
  const ValidationInnerMessage = styled.span ``;
1388
1388
  const MessageWrapper = message => (React.createElement(ValidationNew, null,
@@ -1405,116 +1405,116 @@ const Field = (_a) => {
1405
1405
  React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation`, title: validationText }, validationText && isNewMessageType
1406
1406
  ? MessageWrapper(validationText)
1407
1407
  : validationText || '\u00A0')));
1408
- };
1409
-
1410
- const Wrapper$8 = styled.fieldset `
1411
- margin-inline-start: 0px;
1412
- margin-inline-end: 0px;
1413
- padding-block-start: 0px;
1414
- padding-inline-start: 0px;
1415
- padding-inline-end: 0px;
1416
- padding-block-end: 0px;
1417
- min-inline-size: min-content;
1418
- border-width: 0px;
1419
- border-style: none;
1420
- border-color: transparent;
1421
- border-image: none;
1422
- `;
1423
- const Label$1 = styled.legend `
1424
- padding-inline-start: 0px;
1425
- padding-inline-end: 0px;
1426
-
1427
- color: ${Colors.BLACK.Hex};
1428
- font-family: ${FontStyles.DEFAULT};
1429
- font-size: ${FontSizes.DEFAULT};
1430
- font-weight: 500;
1431
- line-height: 22px;
1432
- margin-bottom: 6px;
1433
- `;
1434
- const Content$1 = styled.div `
1435
- padding: 20px;
1436
- border-radius: 8px;
1437
- background: #fcfcfc;
1408
+ };
1409
+
1410
+ const Wrapper$8 = styled.fieldset `
1411
+ margin-inline-start: 0px;
1412
+ margin-inline-end: 0px;
1413
+ padding-block-start: 0px;
1414
+ padding-inline-start: 0px;
1415
+ padding-inline-end: 0px;
1416
+ padding-block-end: 0px;
1417
+ min-inline-size: min-content;
1418
+ border-width: 0px;
1419
+ border-style: none;
1420
+ border-color: transparent;
1421
+ border-image: none;
1422
+ `;
1423
+ const Label$1 = styled.legend `
1424
+ padding-inline-start: 0px;
1425
+ padding-inline-end: 0px;
1426
+
1427
+ color: ${Colors.BLACK.Hex};
1428
+ font-family: ${FontStyles.DEFAULT};
1429
+ font-size: ${FontSizes.DEFAULT};
1430
+ font-weight: 500;
1431
+ line-height: 22px;
1432
+ margin-bottom: 6px;
1433
+ `;
1434
+ const Content$1 = styled.div `
1435
+ padding: 20px;
1436
+ border-radius: 8px;
1437
+ background: #fcfcfc;
1438
1438
  `;
1439
1439
  const FieldGroup = ({ children, label, dataItemid }) => {
1440
1440
  const baseId = dataItemid || 'field-group';
1441
1441
  return (React.createElement(Wrapper$8, { "data-itemid": `${baseId}-wrapper` },
1442
1442
  React.createElement(Label$1, { "data-itemid": `${baseId}-label` }, label),
1443
1443
  React.createElement(Content$1, { "data-itemid": `${baseId}-content` }, children)));
1444
- };
1445
-
1446
- const Dropzone = styled.div `
1447
- border-radius: 8px;
1448
- border-width: 1px;
1449
- border-style: dashed;
1450
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1451
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1452
- cursor: ${props => (props.disabled ? 'not-allowed' : 'copy')};
1453
- opacity: ${props => (props.disabled ? 0.6 : 1)};
1454
- pointer-events: ${props => (props.disabled ? 'none' : 'auto')};
1444
+ };
1445
+
1446
+ const Dropzone = styled.div `
1447
+ border-radius: 8px;
1448
+ border-width: 1px;
1449
+ border-style: dashed;
1450
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1451
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1452
+ cursor: ${props => (props.disabled ? 'not-allowed' : 'copy')};
1453
+ opacity: ${props => (props.disabled ? 0.6 : 1)};
1454
+ pointer-events: ${props => (props.disabled ? 'none' : 'auto')};
1455
1455
  `;
1456
1456
  Dropzone.defaultProps = { theme: EditableTheme };
1457
- const IconWrapper$1 = styled.div `
1458
- width: 80px;
1459
- height: 80px;
1460
- border-radius: 40px;
1461
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1462
- display: flex;
1463
- align-items: center;
1464
- justify-content: center;
1465
- `;
1466
- const StyledIcon$3 = styled(Icon) `
1467
- width: 40px !important;
1468
- height: 40px !important;
1469
-
1470
- > path {
1471
- fill: ${Colors.GRAY.Hex} !important;
1472
- }
1473
- `;
1474
- const ClickZone = styled.div `
1475
- margin: 40px 20px;
1476
- display: flex;
1477
- flex-direction: column;
1478
- align-items: center;
1479
- gap: 16px;
1480
- `;
1481
- const Content = styled.div `
1482
- display: flex;
1483
- flex-direction: column;
1484
- align-items: center;
1485
- z-index: 99999;
1486
- gap: 2px;
1487
- `;
1488
- const Files = styled.div `
1489
- display: flex;
1490
- flex-direction: column;
1491
- align-self: stretch;
1492
- gap: 10px;
1493
- margin: 20px;
1494
- `;
1495
- const MessageDiv = styled.div `
1496
- display: flex;
1497
- align-items: center;
1498
- justify-content: center;
1499
- `;
1500
- const File = styled.div `
1501
- display: flex;
1502
- padding: 10px;
1503
- align-items: center;
1504
- justify-content: space-between;
1505
- gap: 10px;
1506
- border-radius: 4px;
1507
- border: 1px solid #cccccc;
1508
- background: #ffffff;
1509
- `;
1510
- const Remove = styled(Icon) `
1511
- width: 24px;
1512
- height: 24px;
1513
- cursor: pointer;
1514
-
1515
- > path {
1516
- fill: ${Colors.RED.Hex} !important;
1517
- }
1457
+ const IconWrapper$1 = styled.div `
1458
+ width: 80px;
1459
+ height: 80px;
1460
+ border-radius: 40px;
1461
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1462
+ display: flex;
1463
+ align-items: center;
1464
+ justify-content: center;
1465
+ `;
1466
+ const StyledIcon$3 = styled(Icon) `
1467
+ width: 40px !important;
1468
+ height: 40px !important;
1469
+
1470
+ > path {
1471
+ fill: ${Colors.GRAY.Hex} !important;
1472
+ }
1473
+ `;
1474
+ const ClickZone = styled.div `
1475
+ margin: 40px 20px;
1476
+ display: flex;
1477
+ flex-direction: column;
1478
+ align-items: center;
1479
+ gap: 16px;
1480
+ `;
1481
+ const Content = styled.div `
1482
+ display: flex;
1483
+ flex-direction: column;
1484
+ align-items: center;
1485
+ z-index: 99999;
1486
+ gap: 2px;
1487
+ `;
1488
+ const Files = styled.div `
1489
+ display: flex;
1490
+ flex-direction: column;
1491
+ align-self: stretch;
1492
+ gap: 10px;
1493
+ margin: 20px;
1494
+ `;
1495
+ const MessageDiv = styled.div `
1496
+ display: flex;
1497
+ align-items: center;
1498
+ justify-content: center;
1499
+ `;
1500
+ const File = styled.div `
1501
+ display: flex;
1502
+ padding: 10px;
1503
+ align-items: center;
1504
+ justify-content: space-between;
1505
+ gap: 10px;
1506
+ border-radius: 4px;
1507
+ border: 1px solid #cccccc;
1508
+ background: #ffffff;
1509
+ `;
1510
+ const Remove = styled(Icon) `
1511
+ width: 24px;
1512
+ height: 24px;
1513
+ cursor: pointer;
1514
+
1515
+ > path {
1516
+ fill: ${Colors.RED.Hex} !important;
1517
+ }
1518
1518
  `;
1519
1519
  const FileUpload = ({ accept, onChange, disabled = false, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, dataItemid, }) => {
1520
1520
  const inputRef = React.useRef(null);
@@ -1634,8 +1634,8 @@ const FileUpload = ({ accept, onChange, disabled = false, onError, maxFiles = 10
1634
1634
  React.createElement(Copy, { align: 'center', color: 'GRAY', "data-itemid": `${baseId}-message` }, message),
1635
1635
  tooltipInfo && (React.createElement("span", { "data-itemid": `${baseId}-tooltip` },
1636
1636
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1637
- };
1638
-
1637
+ };
1638
+
1639
1639
  const getAgesFromDob = (dob) => {
1640
1640
  let calculated_current_age = null;
1641
1641
  let calculated_nearest_age = null;
@@ -1708,154 +1708,181 @@ const formatAsSsn = (number) => {
1708
1708
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1709
1709
  }
1710
1710
  return formatted_value;
1711
- };
1712
-
1713
- const StyledInput = styled.input `
1714
- border: none !important;
1715
- background: none !important;
1716
- font-size: ${FontSizes.DEFAULT};
1717
- font-weight: 400;
1718
- font-family: ${FontStyles.DEFAULT};
1719
- line-height: 1.28em;
1711
+ };
1712
+ const formatAsMask = (number, mask) => {
1713
+ const formatted_value = `${number}`.replace(/[^0-9.]/g, '');
1714
+ let result = '';
1715
+ const size = formatted_value.length;
1716
+ let valueIndex = 0;
1717
+ if (size > 0) {
1718
+ // Loop through each character of the mask
1719
+ for (let i = 0; i < mask.length; i++) {
1720
+ // Only replace numbers (mask pattern) with the value
1721
+ if (mask[i].match(/\d/)) {
1722
+ // Check if there are still characters left in value to add
1723
+ if (valueIndex < size) {
1724
+ result += formatted_value[valueIndex];
1725
+ valueIndex++;
1726
+ }
1727
+ }
1728
+ else if (valueIndex < size) {
1729
+ // Add non-digit characters (like dashes or spaces) directly to the result
1730
+ result += mask[i];
1731
+ }
1732
+ }
1733
+ }
1734
+ else {
1735
+ result = formatted_value;
1736
+ }
1737
+ return result;
1738
+ };
1739
+
1740
+ const StyledInput = styled.input `
1741
+ border: none !important;
1742
+ background: none !important;
1743
+ font-size: ${FontSizes.DEFAULT};
1744
+ font-weight: 400;
1745
+ font-family: ${FontStyles.DEFAULT};
1746
+ line-height: 1.28em;
1720
1747
  color: ${props => props.$showErrorTextColor && props.$invalid && !props.$readOnly
1721
1748
  ? Colors.RED.Hex
1722
- : Colors.BLACK.Hex};
1723
- position: relative;
1724
- height: ${props => props.$height || 'auto'};
1725
- padding: 10px;
1726
- opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1727
- box-shadow: none;
1728
- outline: none;
1729
- margin: 0px;
1730
- text-indent: 0px;
1731
- --webkit-appearance: none;
1732
- box-sizing: border-box;
1733
- display: block;
1734
- width: 100%;
1735
- `;
1736
- const StyledTextArea = styled.textarea `
1737
- border: none !important;
1738
- background: none !important;
1739
- overflow-y: scroll !important;
1740
- font-size: 14px;
1741
- font-weight: 400;
1742
- height: ${props => props.$height || 'auto'};
1743
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1744
- line-height: 1.28em;
1749
+ : Colors.BLACK.Hex};
1750
+ position: relative;
1751
+ height: ${props => props.$height || 'auto'};
1752
+ padding: 10px;
1753
+ opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1754
+ box-shadow: none;
1755
+ outline: none;
1756
+ margin: 0px;
1757
+ text-indent: 0px;
1758
+ --webkit-appearance: none;
1759
+ box-sizing: border-box;
1760
+ display: block;
1761
+ width: 100%;
1762
+ `;
1763
+ const StyledTextArea = styled.textarea `
1764
+ border: none !important;
1765
+ background: none !important;
1766
+ overflow-y: scroll !important;
1767
+ font-size: 14px;
1768
+ font-weight: 400;
1769
+ height: ${props => props.$height || 'auto'};
1770
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1771
+ line-height: 1.28em;
1745
1772
  color: ${props => props.$showErrorTextColor && props.$invalid && !props.$readOnly
1746
1773
  ? Colors.RED.Hex
1747
- : Colors.BLACK.Hex};
1748
- position: relative;
1749
- padding: 10px;
1750
- opacity: 1;
1751
- box-shadow: none;
1752
- outline: none;
1753
- margin: 0px;
1754
- text-indent: 0px;
1755
- --webkit-appearance: none;
1756
- overflow-wrap: break-word;
1757
- box-sizing: border-box;
1758
- display: block;
1759
- width: 100%;
1774
+ : Colors.BLACK.Hex};
1775
+ position: relative;
1776
+ padding: 10px;
1777
+ opacity: 1;
1778
+ box-shadow: none;
1779
+ outline: none;
1780
+ margin: 0px;
1781
+ text-indent: 0px;
1782
+ --webkit-appearance: none;
1783
+ overflow-wrap: break-word;
1784
+ box-sizing: border-box;
1785
+ display: block;
1786
+ width: 100%;
1760
1787
  ${({ $readOnly }) => $readOnly &&
1761
- `
1762
- background-color: #f0f0f0;
1763
- color: #999999;
1764
- overflow-y: scroll;
1765
- `}
1766
- `;
1767
- const StyledSuffix = styled.div `
1768
- box-sizing: border-box;
1769
- border-radius: 0px 4px 4px 0px;
1770
- display: flex;
1771
- justify-content: center;
1772
- align-items: center;
1773
- padding: 10px;
1774
- height: auto;
1775
- background: #f5f5f5;
1776
- border-width: 0px 0px 0px 1px;
1777
- border-style: solid;
1778
- border-color: #cccccc;
1779
- font-family: ${FontStyles.DEFAULT};
1780
- font-style: normal;
1781
- font-weight: 400;
1782
- font-size: ${FontSizes.DEFAULT};
1783
- color: ${Colors.BLACK.Hex};
1784
- `;
1785
- const StyledWrapper = styled.div `
1786
- display: flex;
1787
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1788
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1789
- position: relative;
1790
- border-width: 1px;
1791
- border-style: solid;
1792
- border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1793
- border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1794
-
1795
- &:focus-within {
1796
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1797
- }
1788
+ `
1789
+ background-color: #f0f0f0;
1790
+ color: #999999;
1791
+ overflow-y: scroll;
1792
+ `}
1793
+ `;
1794
+ const StyledSuffix = styled.div `
1795
+ box-sizing: border-box;
1796
+ border-radius: 0px 4px 4px 0px;
1797
+ display: flex;
1798
+ justify-content: center;
1799
+ align-items: center;
1800
+ padding: 10px;
1801
+ height: auto;
1802
+ background: #f5f5f5;
1803
+ border-width: 0px 0px 0px 1px;
1804
+ border-style: solid;
1805
+ border-color: #cccccc;
1806
+ font-family: ${FontStyles.DEFAULT};
1807
+ font-style: normal;
1808
+ font-weight: 400;
1809
+ font-size: ${FontSizes.DEFAULT};
1810
+ color: ${Colors.BLACK.Hex};
1811
+ `;
1812
+ const StyledWrapper = styled.div `
1813
+ display: flex;
1814
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1815
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1816
+ position: relative;
1817
+ border-width: 1px;
1818
+ border-style: solid;
1819
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1820
+ border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1821
+
1822
+ &:focus-within {
1823
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1824
+ }
1798
1825
  `;
1799
1826
  StyledWrapper.defaultProps = { theme: EditableTheme };
1800
- const SuggestedValues = styled.div `
1801
- background: #fff;
1802
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1803
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1804
- border-radius: 0px 0px 4px 4px;
1805
- border-style: solid;
1806
- border-top: none;
1807
- border-width: 1px;
1808
- left: -1px;
1809
- position: absolute;
1810
- right: -1px;
1811
- top: 39px;
1812
- z-index: 9999;
1813
- max-height: 220px;
1814
- overflow: auto;
1827
+ const SuggestedValues = styled.div `
1828
+ background: #fff;
1829
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1830
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1831
+ border-radius: 0px 0px 4px 4px;
1832
+ border-style: solid;
1833
+ border-top: none;
1834
+ border-width: 1px;
1835
+ left: -1px;
1836
+ position: absolute;
1837
+ right: -1px;
1838
+ top: 39px;
1839
+ z-index: 9999;
1840
+ max-height: 220px;
1841
+ overflow: auto;
1815
1842
  `;
1816
1843
  SuggestedValues.defaultProps = { theme: EditableTheme };
1817
- const SuggestedSummary = styled.div `
1818
- color: ${Colors.MEDIUM_GRAY.Hex};
1819
- font-size: 12px;
1820
- font-family: ${FontStyles.DEFAULT};
1821
- font-weight: 500;
1822
- line-height: 18px;
1823
- padding: 10px 12px;
1824
- border-bottom: 1px solid #e5e5e5;
1825
- background: #fff;
1826
- z-index: 1;
1827
- position: sticky;
1828
- top: 0px;
1829
- `;
1830
- const SuggestedValue = styled.div `
1831
- cursor: pointer;
1832
- padding: 8px 12px;
1833
- font-size: ${FontSizes.DEFAULT};
1834
- font-family: ${FontStyles.DEFAULT};
1835
- font-weight: 400;
1836
- line-height: 1.6em;
1837
- color: ${Colors.BLACK.Hex};
1838
-
1839
- &:hover {
1840
- background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1841
- }
1844
+ const SuggestedSummary = styled.div `
1845
+ color: ${Colors.MEDIUM_GRAY.Hex};
1846
+ font-size: 12px;
1847
+ font-family: ${FontStyles.DEFAULT};
1848
+ font-weight: 500;
1849
+ line-height: 18px;
1850
+ padding: 10px 12px;
1851
+ border-bottom: 1px solid #e5e5e5;
1852
+ background: #fff;
1853
+ z-index: 1;
1854
+ position: sticky;
1855
+ top: 0px;
1856
+ `;
1857
+ const SuggestedValue = styled.div `
1858
+ cursor: pointer;
1859
+ padding: 8px 12px;
1860
+ font-size: ${FontSizes.DEFAULT};
1861
+ font-family: ${FontStyles.DEFAULT};
1862
+ font-weight: 400;
1863
+ line-height: 1.6em;
1864
+ color: ${Colors.BLACK.Hex};
1865
+
1866
+ &:hover {
1867
+ background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1868
+ }
1842
1869
  `;
1843
1870
  SuggestedValue.defaultProps = { theme: EditableTheme };
1844
- const CharacterCount = styled.div `
1845
- font-family: ${FontStyles.DEFAULT};
1846
- font-size: ${FontSizes.SMALL};
1847
- color: ${Colors.MEDIUM_GRAY.Hex};
1848
- padding: 10px;
1871
+ const CharacterCount = styled.div `
1872
+ font-family: ${FontStyles.DEFAULT};
1873
+ font-size: ${FontSizes.SMALL};
1874
+ color: ${Colors.MEDIUM_GRAY.Hex};
1875
+ padding: 10px;
1849
1876
  `;
1850
- const Loader$1 = styled.div `
1851
- padding: 0px 10px;
1852
- display: flex;
1853
- align-items: center;
1877
+ const Loader$1 = styled.div `
1878
+ padding: 0px 10px;
1879
+ display: flex;
1880
+ align-items: center;
1854
1881
  `;
1855
1882
  const Input$1 = (_a) => {
1856
1883
  var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown,
1857
1884
  // eslint-disable-next-line @typescript-eslint/no-empty-function
1858
- onSuggestedSelect = () => { }, placeholder, readOnly, showCharCount, step, style, suggestedValues, showErrorTextColor = false, type = 'text', value = '', innerRef = null, tabIndex, isAutoComplete = false, dataItemid } = _a, accessibleProps = __rest(_a, ["format", "suffix", "height", "invalid", "loading", "max", "maxLength", "min", "onBlur", "onChange", "onFocus", "onKeyDown", "onSuggestedSelect", "placeholder", "readOnly", "showCharCount", "step", "style", "suggestedValues", "showErrorTextColor", "type", "value", "innerRef", "tabIndex", "isAutoComplete", "dataItemid"]);
1885
+ onSuggestedSelect = () => { }, placeholder, readOnly, showCharCount, step, style, suggestedValues, showErrorTextColor = false, type = 'text', value = '', innerRef = null, tabIndex, isAutoComplete = false, dataItemid, mask } = _a, accessibleProps = __rest(_a, ["format", "suffix", "height", "invalid", "loading", "max", "maxLength", "min", "onBlur", "onChange", "onFocus", "onKeyDown", "onSuggestedSelect", "placeholder", "readOnly", "showCharCount", "step", "style", "suggestedValues", "showErrorTextColor", "type", "value", "innerRef", "tabIndex", "isAutoComplete", "dataItemid", "mask"]);
1859
1886
  const [show_options, setShowOptions] = React.useState(false);
1860
1887
  const [internalValue, setInternalValue] = React.useState(value);
1861
1888
  const [internalSuggestedValues, setInternalSuggestedValues] = React.useState(suggestedValues || []);
@@ -1927,8 +1954,11 @@ const Input$1 = (_a) => {
1927
1954
  if (format === 'ssn' && type !== 'password') {
1928
1955
  formatted_value = formatAsSsn(internalValue);
1929
1956
  }
1957
+ if (mask && !format) {
1958
+ formatted_value = formatAsMask(internalValue, mask);
1959
+ }
1930
1960
  const baseId = dataItemid || 'input';
1931
- return type === 'textarea' ? (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!internalSuggestedValues.length, "data-itemid": `${baseId}-wrapper` },
1961
+ return type === 'textarea' ? (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!internalSuggestedValues.length, "data-itemid": `${baseId}-wrapper`, style: style },
1932
1962
  React.createElement(StyledTextArea, Object.assign({ "$height": height, "$invalid": invalid, "$readOnly": readOnly, "$showErrorTextColor": showErrorTextColor, maxLength: maxLength, onBlur: readOnly
1933
1963
  ? e => e.preventDefault()
1934
1964
  : e => {
@@ -1948,7 +1978,7 @@ const Input$1 = (_a) => {
1948
1978
  React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: js.mdiLoading, size: '20px', spin: true }))) : null,
1949
1979
  showCharCount ? (React.createElement(CharacterCount, { "data-itemid": `${baseId}-char-count` },
1950
1980
  internalValue.length,
1951
- maxLength ? ` / ${maxLength}` : null)) : null)) : (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!internalSuggestedValues.length, "data-itemid": `${baseId}-wrapper` },
1981
+ maxLength ? ` / ${maxLength}` : null)) : null)) : (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!internalSuggestedValues.length, "data-itemid": `${baseId}-wrapper`, style: style },
1952
1982
  React.createElement(StyledInput, Object.assign({ "$height": height, "$invalid": invalid, "$readOnly": readOnly, "$showErrorTextColor": showErrorTextColor, max: max, maxLength: maxLength, min: min, onBlur: readOnly
1953
1983
  ? e => e.preventDefault()
1954
1984
  : e => {
@@ -1983,145 +2013,145 @@ const Input$1 = (_a) => {
1983
2013
  onSuggestedSelect();
1984
2014
  setShowOptions(false);
1985
2015
  } }, suggestedValue))))) : null));
1986
- };
1987
-
1988
- const Wrapper$7 = styled.a `
1989
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1990
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1991
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1992
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1993
- font-weight: 500;
1994
- font-style: normal;
1995
- text-decoration: none;
1996
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1997
- margin: 0px;
1998
- padding: 0px;
1999
- box-sizing: border-box;
2000
- cursor: pointer;
2016
+ };
2017
+
2018
+ const Wrapper$7 = styled.a `
2019
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
2020
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
2021
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
2022
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
2023
+ font-weight: 500;
2024
+ font-style: normal;
2025
+ text-decoration: none;
2026
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2027
+ margin: 0px;
2028
+ padding: 0px;
2029
+ box-sizing: border-box;
2030
+ cursor: pointer;
2001
2031
  `;
2002
2032
  Wrapper$7.defaultProps = { theme: EditableTheme };
2003
2033
  const Link = (_a) => {
2004
2034
  var { children, onClick, small, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small", "dataItemid"]);
2005
2035
  const baseId = dataItemid || 'link';
2006
2036
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps, { "data-itemid": `${baseId}-wrapper` }), children));
2007
- };
2008
-
2009
- const dash = styled.keyframes `
2010
- 0% {
2011
- stroke-dasharray: 1, 160;
2012
- stroke-dashoffset: 0;
2013
- }
2014
- 50% {
2015
- stroke-dasharray: 80, 160;
2016
- stroke-dashoffset: -32;
2017
- }
2018
- 100% {
2019
- stroke-dasharray: 80, 160;
2020
- stroke-dashoffset: -124;
2021
- }
2022
- `;
2023
- const Spinner = styled.svg `
2024
- z-index: 2;
2025
- position: absolute;
2026
- top: 50%;
2027
- left: 50%;
2028
- transform: translate(-50%, -50%);
2029
- margin: 0 auto;
2030
- width: 40px;
2031
- height: 40px;
2032
- `;
2033
- const Path = styled.path `
2034
- stroke: #0193d7;
2035
- stroke-linecap: round;
2036
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
2037
- animation: ${dash} 1.1s ease-in-out infinite;
2037
+ };
2038
+
2039
+ const dash = styled.keyframes `
2040
+ 0% {
2041
+ stroke-dasharray: 1, 160;
2042
+ stroke-dashoffset: 0;
2043
+ }
2044
+ 50% {
2045
+ stroke-dasharray: 80, 160;
2046
+ stroke-dashoffset: -32;
2047
+ }
2048
+ 100% {
2049
+ stroke-dasharray: 80, 160;
2050
+ stroke-dashoffset: -124;
2051
+ }
2052
+ `;
2053
+ const Spinner = styled.svg `
2054
+ z-index: 2;
2055
+ position: absolute;
2056
+ top: 50%;
2057
+ left: 50%;
2058
+ transform: translate(-50%, -50%);
2059
+ margin: 0 auto;
2060
+ width: 40px;
2061
+ height: 40px;
2062
+ `;
2063
+ const Path = styled.path `
2064
+ stroke: #0193d7;
2065
+ stroke-linecap: round;
2066
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
2067
+ animation: ${dash} 1.1s ease-in-out infinite;
2038
2068
  `;
2039
2069
  const Loader = ({ dataItemid }) => {
2040
2070
  const baseId = dataItemid || 'loader';
2041
2071
  return (React.createElement(Spinner, { "data-itemid": `${baseId}-spinner`, viewBox: '0 0 16 18' },
2042
2072
  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' })));
2043
- };
2044
-
2045
- const Steps = styled.div `
2046
- padding: 20px;
2047
- border-bottom: 1px solid #e7e6e6;
2048
- background: #f5f5f5;
2049
- display: flex;
2050
- gap: 30px;
2051
- align-items: center;
2052
- `;
2053
- const Step = styled.div `
2054
- display: flex;
2055
- align-items: center;
2056
- gap: 8px;
2057
- `;
2058
- const StyledIcon$2 = styled(Icon) `
2059
- > path {
2060
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2061
- }
2073
+ };
2074
+
2075
+ const Steps = styled.div `
2076
+ padding: 20px;
2077
+ border-bottom: 1px solid #e7e6e6;
2078
+ background: #f5f5f5;
2079
+ display: flex;
2080
+ gap: 30px;
2081
+ align-items: center;
2082
+ `;
2083
+ const Step = styled.div `
2084
+ display: flex;
2085
+ align-items: center;
2086
+ gap: 8px;
2087
+ `;
2088
+ const StyledIcon$2 = styled(Icon) `
2089
+ > path {
2090
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2091
+ }
2062
2092
  `;
2063
2093
  StyledIcon$2.defaultProps = { theme: EditableTheme };
2064
- const StepIndicator = styled.div `
2065
- width: 30px;
2066
- height: 30px;
2067
- border-radius: 15px;
2068
- background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
2069
- color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
2070
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
2071
- font-size: 14px;
2072
- font-weight: 500;
2073
- line-height: 1;
2074
- display: flex;
2075
- align-items: center;
2076
- justify-content: center;
2077
- flex-shrink: 0;
2094
+ const StepIndicator = styled.div `
2095
+ width: 30px;
2096
+ height: 30px;
2097
+ border-radius: 15px;
2098
+ background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
2099
+ color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
2100
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2101
+ font-size: 14px;
2102
+ font-weight: 500;
2103
+ line-height: 1;
2104
+ display: flex;
2105
+ align-items: center;
2106
+ justify-content: center;
2107
+ flex-shrink: 0;
2078
2108
  `;
2079
2109
  StepIndicator.defaultProps = { theme: EditableTheme };
2080
- const StepLabel = styled.div `
2081
- color: #000;
2082
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
2083
- font-size: 14px;
2084
- font-weight: 500;
2085
- line-height: 1;
2086
- `;
2087
- const StepLine = styled.div `
2088
- height: 2px;
2089
- flex-grow: 1;
2090
- background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
2091
- transition: background-color 0.5s ease-in-out;
2092
- `;
2093
- const ProgressBarFill = styled.div `
2094
- width: 110px;
2095
- height: 8px;
2096
- margin-top: 4px;
2097
- background-color: #e7e6e6;
2098
- border-radius: 16px;
2099
- position: relative;
2100
- overflow: hidden;
2101
-
2102
- &::after {
2103
- content: '${props => (props.$percent === 0 ? '0' : props.$percent)}%';
2104
- position: absolute;
2105
- top: 55%;
2106
- left: ${props => props.$percent >= 83 ? 'calc(100% - 25px)' : `calc(${props.$percent}% + 10px)`};
2107
- transform: translate(-50%, -50%);
2108
- color: ${props => (props.$percent >= 83 ? '#fff' : '#757575')};
2109
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
2110
- font-size: 8px;
2111
- font-weight: 600;
2112
- transition: left 0.5s ease-in-out;
2113
- }
2114
-
2115
- &::before {
2116
- content: '';
2117
- position: absolute;
2118
- top: 0;
2119
- left: 0;
2120
- width: ${props => props.$percent}%;
2121
- height: 100%;
2122
- background-color: #1aa836;
2123
- transition: width 0.5s ease-in-out;
2124
- }
2110
+ const StepLabel = styled.div `
2111
+ color: #000;
2112
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2113
+ font-size: 14px;
2114
+ font-weight: 500;
2115
+ line-height: 1;
2116
+ `;
2117
+ const StepLine = styled.div `
2118
+ height: 2px;
2119
+ flex-grow: 1;
2120
+ background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
2121
+ transition: background-color 0.5s ease-in-out;
2122
+ `;
2123
+ const ProgressBarFill = styled.div `
2124
+ width: 110px;
2125
+ height: 8px;
2126
+ margin-top: 4px;
2127
+ background-color: #e7e6e6;
2128
+ border-radius: 16px;
2129
+ position: relative;
2130
+ overflow: hidden;
2131
+
2132
+ &::after {
2133
+ content: '${props => (props.$percent === 0 ? '0' : props.$percent)}%';
2134
+ position: absolute;
2135
+ top: 55%;
2136
+ left: ${props => props.$percent >= 83 ? 'calc(100% - 25px)' : `calc(${props.$percent}% + 10px)`};
2137
+ transform: translate(-50%, -50%);
2138
+ color: ${props => (props.$percent >= 83 ? '#fff' : '#757575')};
2139
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2140
+ font-size: 8px;
2141
+ font-weight: 600;
2142
+ transition: left 0.5s ease-in-out;
2143
+ }
2144
+
2145
+ &::before {
2146
+ content: '';
2147
+ position: absolute;
2148
+ top: 0;
2149
+ left: 0;
2150
+ width: ${props => props.$percent}%;
2151
+ height: 100%;
2152
+ background-color: #1aa836;
2153
+ transition: width 0.5s ease-in-out;
2154
+ }
2125
2155
  `;
2126
2156
  const ProgressBar = ({ steps, showStepLine = false, dataItemid }) => {
2127
2157
  const baseId = dataItemid || 'progress-bar';
@@ -2135,78 +2165,78 @@ const ProgressBar = ({ steps, showStepLine = false, dataItemid }) => {
2135
2165
  step.label,
2136
2166
  step.percentComplete !== undefined && (React.createElement(ProgressBarFill, { "$percent": step.percentComplete, "data-itemid": `${stepId}-fill` }))))));
2137
2167
  })));
2138
- };
2139
-
2140
- const Wrapper$6 = styled.div `
2141
- position: fixed;
2142
- top: 0;
2143
- right: 0;
2144
- bottom: 0;
2145
- left: 0;
2146
- z-index: 9999;
2147
- background: rgba(0, 0, 0, 0.8);
2148
- display: flex;
2149
- align-items: center;
2150
- justify-content: center;
2151
- `;
2152
- const Container$1 = styled.dialog `
2153
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2154
- max-width: calc(100vw - 80px);
2155
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2156
- max-height: calc(100vh - 80px);
2157
- border-radius: 8px;
2158
- overflow: hidden;
2159
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2160
- outline: none;
2161
- border: none;
2162
- position: relative;
2163
- padding: 0px;
2164
- box-sizing: border-box;
2165
- display: flex;
2166
- flex-direction: column;
2167
- `;
2168
- const Header$1 = styled.div `
2169
- flex-shrink: 0;
2170
- padding: 20px;
2171
- border-bottom: 1px solid #e7e6e6;
2172
- display: flex;
2173
- align-items: center;
2174
- background: #ffffff;
2175
- box-sizing: border-box;
2176
- `;
2177
- const Close = styled.div `
2178
- margin-left: auto;
2179
- display: flex;
2180
- align-items: center;
2181
- padding-left: 20px;
2182
- cursor: pointer;
2183
- `;
2184
- const CloseMsg = styled.span `
2185
- font-size: ${FontSizes.SMALL};
2186
- font-weight: 400;
2187
- font-family: ${FontStyles.DEFAULT};
2188
- line-height: 1em;
2189
- color: ${Colors.MEDIUM_GRAY.Hex};
2190
- `;
2191
- const ContentWrapper = styled.div `
2192
- overflow-x: hidden;
2193
- overflow-y: auto;
2194
- background: #ffffff;
2195
- flex: 1;
2196
- box-sizing: border-box;
2197
- `;
2198
- const ButtonBar = styled.div `
2199
- flex-shrink: 0;
2200
- background: #ffffff;
2201
- padding: 20px;
2202
- border-top: 1px solid #e7e6e6;
2203
- display: flex;
2204
- align-items: center;
2205
- justify-self: flex-end;
2206
- box-sizing: border-box;
2207
- `;
2208
- const ButtonContainer = styled.div `
2209
- margin: 0 10px;
2168
+ };
2169
+
2170
+ const Wrapper$6 = styled.div `
2171
+ position: fixed;
2172
+ top: 0;
2173
+ right: 0;
2174
+ bottom: 0;
2175
+ left: 0;
2176
+ z-index: 9999;
2177
+ background: rgba(0, 0, 0, 0.8);
2178
+ display: flex;
2179
+ align-items: center;
2180
+ justify-content: center;
2181
+ `;
2182
+ const Container$1 = styled.dialog `
2183
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2184
+ max-width: calc(100vw - 80px);
2185
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2186
+ max-height: calc(100vh - 80px);
2187
+ border-radius: 8px;
2188
+ overflow: hidden;
2189
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2190
+ outline: none;
2191
+ border: none;
2192
+ position: relative;
2193
+ padding: 0px;
2194
+ box-sizing: border-box;
2195
+ display: flex;
2196
+ flex-direction: column;
2197
+ `;
2198
+ const Header$1 = styled.div `
2199
+ flex-shrink: 0;
2200
+ padding: 20px;
2201
+ border-bottom: 1px solid #e7e6e6;
2202
+ display: flex;
2203
+ align-items: center;
2204
+ background: #ffffff;
2205
+ box-sizing: border-box;
2206
+ `;
2207
+ const Close = styled.div `
2208
+ margin-left: auto;
2209
+ display: flex;
2210
+ align-items: center;
2211
+ padding-left: 20px;
2212
+ cursor: pointer;
2213
+ `;
2214
+ const CloseMsg = styled.span `
2215
+ font-size: ${FontSizes.SMALL};
2216
+ font-weight: 400;
2217
+ font-family: ${FontStyles.DEFAULT};
2218
+ line-height: 1em;
2219
+ color: ${Colors.MEDIUM_GRAY.Hex};
2220
+ `;
2221
+ const ContentWrapper = styled.div `
2222
+ overflow-x: hidden;
2223
+ overflow-y: auto;
2224
+ background: #ffffff;
2225
+ flex: 1;
2226
+ box-sizing: border-box;
2227
+ `;
2228
+ const ButtonBar = styled.div `
2229
+ flex-shrink: 0;
2230
+ background: #ffffff;
2231
+ padding: 20px;
2232
+ border-top: 1px solid #e7e6e6;
2233
+ display: flex;
2234
+ align-items: center;
2235
+ justify-self: flex-end;
2236
+ box-sizing: border-box;
2237
+ `;
2238
+ const ButtonContainer = styled.div `
2239
+ margin: 0 10px;
2210
2240
  `;
2211
2241
  const Modal = (_a) => {
2212
2242
  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"]);
@@ -2249,21 +2279,21 @@ const Modal = (_a) => {
2249
2279
  secondaryButton ? (React.createElement(ButtonContainer, { "data-itemid": `${baseId}-secondary-button-container` },
2250
2280
  React.createElement(Button, Object.assign({}, secondaryButton, { "data-itemid": `${baseId}-secondary-button`, format: secondaryButton.format || 'secondary' })))) : null,
2251
2281
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { "data-itemid": `${baseId}-primary-button`, format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2252
- };
2253
-
2254
- const Wrapper$5 = styled.div `
2255
- position: relative;
2256
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2257
- `;
2258
- const Trigger = styled.div `
2259
- box-sizing: border-box;
2260
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2261
- height: 40px;
2262
- padding: 0 10px;
2263
- position: relative;
2264
- cursor: pointer;
2265
- border-width: 1px;
2266
- border-style: solid;
2282
+ };
2283
+
2284
+ const Wrapper$5 = styled.div `
2285
+ position: relative;
2286
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2287
+ `;
2288
+ const Trigger = styled.div `
2289
+ box-sizing: border-box;
2290
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2291
+ height: 40px;
2292
+ padding: 0 10px;
2293
+ position: relative;
2294
+ cursor: pointer;
2295
+ border-width: 1px;
2296
+ border-style: solid;
2267
2297
  border-color: ${props => {
2268
2298
  if (props.$invalid) {
2269
2299
  return Colors.RED.Hex;
@@ -2274,67 +2304,67 @@ const Trigger = styled.div `
2274
2304
  else {
2275
2305
  return '#cccccc';
2276
2306
  }
2277
- }};
2278
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2279
- background-image: none;
2280
- display: flex;
2281
- width: 100%;
2282
- align-items: center;
2283
- justify-content: space-between;
2284
- z-index: 1;
2307
+ }};
2308
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2309
+ background-image: none;
2310
+ display: flex;
2311
+ width: 100%;
2312
+ align-items: center;
2313
+ justify-content: space-between;
2314
+ z-index: 1;
2285
2315
  `;
2286
2316
  Trigger.defaultProps = { theme: EditableTheme };
2287
- const Value = styled.div `
2288
- color: ${Colors.BLACK.Hex};
2289
- font-family: ${FontStyles.DEFAULT};
2290
- font-size: ${FontSizes.DEFAULT};
2291
- font-weight: 400;
2292
- line-height: 2.9em;
2293
- overflow: hidden;
2294
- text-overflow: ellipsis;
2295
- white-space: nowrap;
2296
- width: 100%;
2297
- `;
2298
- const Options = styled.div `
2299
- background: #fff;
2300
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2301
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2302
- border-radius: 0px 0px 4px 4px;
2303
- border-style: solid;
2304
- border-top: none;
2305
- border-width: 1px;
2306
- left: 0;
2307
- position: absolute;
2308
- right: 0;
2309
- z-index: 10;
2310
- max-height: 220px;
2311
- overflow: auto;
2317
+ const Value = styled.div `
2318
+ color: ${Colors.BLACK.Hex};
2319
+ font-family: ${FontStyles.DEFAULT};
2320
+ font-size: ${FontSizes.DEFAULT};
2321
+ font-weight: 400;
2322
+ line-height: 2.9em;
2323
+ overflow: hidden;
2324
+ text-overflow: ellipsis;
2325
+ white-space: nowrap;
2326
+ width: 100%;
2327
+ `;
2328
+ const Options = styled.div `
2329
+ background: #fff;
2330
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2331
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2332
+ border-radius: 0px 0px 4px 4px;
2333
+ border-style: solid;
2334
+ border-top: none;
2335
+ border-width: 1px;
2336
+ left: 0;
2337
+ position: absolute;
2338
+ right: 0;
2339
+ z-index: 10;
2340
+ max-height: 220px;
2341
+ overflow: auto;
2312
2342
  `;
2313
2343
  Options.defaultProps = { theme: EditableTheme };
2314
- const Scrim = styled.div `
2315
- bottom: 0;
2316
- left: 0;
2317
- position: fixed;
2318
- right: 0;
2319
- top: 0;
2320
- z-index: 9;
2321
- `;
2322
- const SearchInput = styled.input `
2323
- position: absolute;
2324
- left: 2px;
2325
- top: 2px;
2326
- z-index: 999;
2327
- width: 90%;
2328
- height: 30px;
2329
- border: none;
2330
- outline: none;
2331
- color: ${Colors.BLACK.Hex};
2332
- font-family: ${FontStyles.DEFAULT};
2333
- font-size: ${FontSizes.DEFAULT};
2334
- font-weight: 400;
2335
- line-height: 2.9em;
2336
- overflow: hidden;
2337
- white-space: nowrap;
2344
+ const Scrim = styled.div `
2345
+ bottom: 0;
2346
+ left: 0;
2347
+ position: fixed;
2348
+ right: 0;
2349
+ top: 0;
2350
+ z-index: 9;
2351
+ `;
2352
+ const SearchInput = styled.input `
2353
+ position: absolute;
2354
+ left: 2px;
2355
+ top: 2px;
2356
+ z-index: 999;
2357
+ width: 90%;
2358
+ height: 30px;
2359
+ border: none;
2360
+ outline: none;
2361
+ color: ${Colors.BLACK.Hex};
2362
+ font-family: ${FontStyles.DEFAULT};
2363
+ font-size: ${FontSizes.DEFAULT};
2364
+ font-weight: 400;
2365
+ line-height: 2.9em;
2366
+ overflow: hidden;
2367
+ white-space: nowrap;
2338
2368
  `;
2339
2369
  const MultiSelect = (_a) => {
2340
2370
  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"]);
@@ -2354,37 +2384,37 @@ const MultiSelect = (_a) => {
2354
2384
  showOptions ? (React.createElement(Options, { "data-itemid": `${baseId}-options` },
2355
2385
  React.createElement(Checklist, { "data-itemid": `${baseId}-checklist`, onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2356
2386
  showOptions ? (React.createElement(Scrim, { "data-itemid": `${baseId}-scrim`, onClick: setShowOptions.bind(null, !showOptions) })) : null));
2357
- };
2358
-
2359
- const Wrapper$4 = styled.div `
2360
- display: flex;
2361
- padding: 16px 30px;
2362
- align-items: center;
2363
- gap: 20px;
2364
- align-self: stretch;
2365
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2366
- `;
2367
- const Title = styled.div `
2368
- display: flex;
2369
- align-items: center;
2370
- gap: 20px;
2371
- `;
2372
- const Info = styled.div `
2373
- display: flex;
2374
- flex-direction: column;
2375
- align-items: flex-start;
2376
- gap: 4px;
2377
- flex: 1 0 0;
2378
- `;
2379
- const Breadcrumbs = styled.div `
2380
- display: flex;
2381
- align-items: center;
2382
- gap: 4px;
2383
- `;
2384
- const Actions = styled.div `
2385
- display: flex;
2386
- align-items: center;
2387
- gap: 8px;
2387
+ };
2388
+
2389
+ const Wrapper$4 = styled.div `
2390
+ display: flex;
2391
+ padding: 16px 30px;
2392
+ align-items: center;
2393
+ gap: 20px;
2394
+ align-self: stretch;
2395
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2396
+ `;
2397
+ const Title = styled.div `
2398
+ display: flex;
2399
+ align-items: center;
2400
+ gap: 20px;
2401
+ `;
2402
+ const Info = styled.div `
2403
+ display: flex;
2404
+ flex-direction: column;
2405
+ align-items: flex-start;
2406
+ gap: 4px;
2407
+ flex: 1 0 0;
2408
+ `;
2409
+ const Breadcrumbs = styled.div `
2410
+ display: flex;
2411
+ align-items: center;
2412
+ gap: 4px;
2413
+ `;
2414
+ const Actions = styled.div `
2415
+ display: flex;
2416
+ align-items: center;
2417
+ gap: 8px;
2388
2418
  `;
2389
2419
  const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataItemid, }) => {
2390
2420
  const { format = 'primary', menuItems = [], label = '', enableHover = true, enableClick = false, show = false, maxHeight = '', } = buttonMenu || {};
@@ -2407,13 +2437,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataIte
2407
2437
  return (React.createElement(Button, Object.assign({}, buttonProps, { "data-itemid": `${actionId}-button`, key: i, small: true }), label));
2408
2438
  }),
2409
2439
  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));
2410
- };
2411
-
2412
- const Wrapper$3 = styled.nav `
2413
- box-sizing: border-box;
2414
- display: flex;
2415
- align-items: center;
2416
- column-gap: 10px;
2440
+ };
2441
+
2442
+ const Wrapper$3 = styled.nav `
2443
+ box-sizing: border-box;
2444
+ display: flex;
2445
+ align-items: center;
2446
+ column-gap: 10px;
2417
2447
  `;
2418
2448
  const Pagination = (_a) => {
2419
2449
  var { currentPage = 1, onClick, pageCount = 0, dataItemid, type = null } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount", "dataItemid", "type"]);
@@ -2443,82 +2473,82 @@ const Pagination = (_a) => {
2443
2473
  value: `${p}`,
2444
2474
  })), value: `${currentPage}` }),
2445
2475
  React.createElement(Button, { "data-itemid": `${baseId}-next-button`, disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true, type: type })));
2446
- };
2447
-
2448
- const Wrapper$2 = styled.label `
2449
- border-radius: 4px;
2450
- padding: 4px 0px 4px 6px;
2451
- margin-left: -6px;
2452
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2453
- display: flex;
2454
- align-items: center;
2455
- font-size: ${FontSizes.DEFAULT};
2456
- line-height: 1.6em;
2457
- box-sizing: border-box;
2458
- position: relative;
2459
-
2460
- &:focus-within {
2461
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2462
- }
2476
+ };
2477
+
2478
+ const Wrapper$2 = styled.label `
2479
+ border-radius: 4px;
2480
+ padding: 4px 0px 4px 6px;
2481
+ margin-left: -6px;
2482
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2483
+ display: flex;
2484
+ align-items: center;
2485
+ font-size: ${FontSizes.DEFAULT};
2486
+ line-height: 1.6em;
2487
+ box-sizing: border-box;
2488
+ position: relative;
2489
+
2490
+ &:focus-within {
2491
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2492
+ }
2463
2493
  `;
2464
2494
  Wrapper$2.defaultProps = { theme: EditableTheme };
2465
- const Input = styled.input `
2466
- font-size: 20px;
2467
- margin: 0px;
2468
- line-height: 1.6em;
2469
- box-sizing: border-box;
2470
- position: absolute;
2471
- opacity: 0;
2472
- cursor: pointer;
2473
- height: 0;
2474
- width: 0;
2475
- &:checked + span {
2476
- border-color: ${Colors.PRIMARY.Hex};
2477
- }
2478
- &:checked + span:after {
2479
- background-color: ${Colors.PRIMARY.Hex};
2480
- display: block;
2481
- }
2482
- &:disabled + span {
2483
- background-color: #d3d3d3;
2484
- border-color: #d3d3d3;
2485
- }
2486
- &:disabled + span:after {
2487
- background-color: #fff;
2488
- }
2489
- &:checked:disabled + span:after {
2490
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2491
- }
2492
- `;
2493
- const Check = styled.span `
2494
- height: 17px;
2495
- width: 17px;
2496
- border-radius: 50%;
2497
- background-color: #fff;
2498
- border-width: 2px;
2499
- border-style: solid;
2500
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2501
- box-sizing: border-box;
2502
- position: relative;
2503
- &:after {
2504
- content: '';
2505
- position: absolute;
2506
- top: 2px;
2507
- left: 2px;
2508
- width: 9px;
2509
- height: 9px;
2510
- border-radius: 50%;
2511
- box-sizing: border-box;
2512
- display: none;
2513
- }
2514
- `;
2515
- const Label = styled.span `
2516
- font-family: ${FontStyles.DEFAULT};
2517
- font-size: ${FontSizes.DEFAULT};
2518
- font-weight: 400;
2519
- color: ${Colors.BLACK.Hex};
2520
- line-height: 1.6em;
2521
- margin-left: 6px;
2495
+ const Input = styled.input `
2496
+ font-size: 20px;
2497
+ margin: 0px;
2498
+ line-height: 1.6em;
2499
+ box-sizing: border-box;
2500
+ position: absolute;
2501
+ opacity: 0;
2502
+ cursor: pointer;
2503
+ height: 0;
2504
+ width: 0;
2505
+ &:checked + span {
2506
+ border-color: ${Colors.PRIMARY.Hex};
2507
+ }
2508
+ &:checked + span:after {
2509
+ background-color: ${Colors.PRIMARY.Hex};
2510
+ display: block;
2511
+ }
2512
+ &:disabled + span {
2513
+ background-color: #d3d3d3;
2514
+ border-color: #d3d3d3;
2515
+ }
2516
+ &:disabled + span:after {
2517
+ background-color: #fff;
2518
+ }
2519
+ &:checked:disabled + span:after {
2520
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2521
+ }
2522
+ `;
2523
+ const Check = styled.span `
2524
+ height: 17px;
2525
+ width: 17px;
2526
+ border-radius: 50%;
2527
+ background-color: #fff;
2528
+ border-width: 2px;
2529
+ border-style: solid;
2530
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2531
+ box-sizing: border-box;
2532
+ position: relative;
2533
+ &:after {
2534
+ content: '';
2535
+ position: absolute;
2536
+ top: 2px;
2537
+ left: 2px;
2538
+ width: 9px;
2539
+ height: 9px;
2540
+ border-radius: 50%;
2541
+ box-sizing: border-box;
2542
+ display: none;
2543
+ }
2544
+ `;
2545
+ const Label = styled.span `
2546
+ font-family: ${FontStyles.DEFAULT};
2547
+ font-size: ${FontSizes.DEFAULT};
2548
+ font-weight: 400;
2549
+ color: ${Colors.BLACK.Hex};
2550
+ line-height: 1.6em;
2551
+ margin-left: 6px;
2522
2552
  `;
2523
2553
  const Radio = (_a) => {
2524
2554
  var { children, disabled, checked, onChange, value, invalid, tooltip, tabIndex, dataItemid } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip", "tabIndex", "dataItemid"]);
@@ -2529,8 +2559,8 @@ const Radio = (_a) => {
2529
2559
  React.createElement(Label, { "data-itemid": `${baseId}-label` },
2530
2560
  children,
2531
2561
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2532
- };
2533
-
2562
+ };
2563
+
2534
2564
  const RadioList = (_a) => {
2535
2565
  var { disabled, onChange, options, value, dataItemid } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value", "dataItemid"]);
2536
2566
  const baseId = dataItemid || 'radio-list';
@@ -2539,69 +2569,69 @@ const RadioList = (_a) => {
2539
2569
  const optionId = `${baseId}-option-${index}`;
2540
2570
  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));
2541
2571
  })));
2542
- };
2543
-
2544
- const StyledTable = styled.table `
2545
- width: 100%;
2546
- margin-top: 1px;
2547
- table-layout: ${props => props.$tableLayout || 'auto'};
2548
- border-collapse: collapse;
2549
- text-indent: 0px;
2550
- border-spacing: 0px;
2551
- border-color: none;
2552
- box-sizing: border-box;
2553
- `;
2554
- const Header = styled.th `
2555
- padding: 12px !important;
2556
- text-align: left;
2557
- font-weight: 500;
2558
- border-bottom: 1px solid #e5e5e5;
2559
- border-top: 1px solid #e5e5e5;
2560
- text-transform: uppercase;
2561
- font-size: 12px;
2562
- font-family: ${FontStyles.DEFAULT};
2563
- letter-spacing: 1px;
2564
- white-space: nowrap;
2565
- line-height: 1;
2566
- position: relative;
2567
- box-sizing: border-box;
2568
- width: ${props => props.$width || 'auto'};
2569
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2570
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2572
+ };
2573
+
2574
+ const StyledTable = styled.table `
2575
+ width: 100%;
2576
+ margin-top: 1px;
2577
+ table-layout: ${props => props.$tableLayout || 'auto'};
2578
+ border-collapse: collapse;
2579
+ text-indent: 0px;
2580
+ border-spacing: 0px;
2581
+ border-color: none;
2582
+ box-sizing: border-box;
2583
+ `;
2584
+ const Header = styled.th `
2585
+ padding: 12px !important;
2586
+ text-align: left;
2587
+ font-weight: 500;
2588
+ border-bottom: 1px solid #e5e5e5;
2589
+ border-top: 1px solid #e5e5e5;
2590
+ text-transform: uppercase;
2591
+ font-size: 12px;
2592
+ font-family: ${FontStyles.DEFAULT};
2593
+ letter-spacing: 1px;
2594
+ white-space: nowrap;
2595
+ line-height: 1;
2596
+ position: relative;
2597
+ box-sizing: border-box;
2598
+ width: ${props => props.$width || 'auto'};
2599
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2600
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2571
2601
  `;
2572
2602
  Header.defaultProps = { theme: EditableTheme };
2573
- const Row = styled.tr `
2574
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2575
- transition: all 0.2s;
2576
- background-color: ${props => props.$bgColor};
2577
- box-sizing: border-box;
2578
- &:hover {
2579
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2580
- }
2603
+ const Row = styled.tr `
2604
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2605
+ transition: all 0.2s;
2606
+ background-color: ${props => props.$bgColor};
2607
+ box-sizing: border-box;
2608
+ &:hover {
2609
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2610
+ }
2581
2611
  `;
2582
2612
  Row.defaultProps = { theme: EditableTheme };
2583
- const Column = styled.td `
2584
- padding: 16px 12px !important;
2585
- font-size: ${FontSizes.DEFAULT} !important;
2586
- font-weight: 400 !important;
2587
- font-family: ${FontStyles.DEFAULT};
2588
- border: none !important;
2589
- word-break: break-word;
2590
- line-height: 1.4em;
2591
- box-sizing: border-box;
2592
- text-align: ${props => props.$align || 'left'};
2593
- width: ${props => props.$width || 'auto'};
2594
- `;
2595
- const IconWrapper = styled.span `
2596
- position: absolute;
2597
- top: 50%;
2598
- transform: translateY(-50%);
2599
- margin-left: 2px;
2600
- `;
2601
- const StyledIcon$1 = styled(Icon) `
2602
- > path {
2603
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2604
- }
2613
+ const Column = styled.td `
2614
+ padding: 16px 12px !important;
2615
+ font-size: ${FontSizes.DEFAULT} !important;
2616
+ font-weight: 400 !important;
2617
+ font-family: ${FontStyles.DEFAULT};
2618
+ border: none !important;
2619
+ word-break: break-word;
2620
+ line-height: 1.4em;
2621
+ box-sizing: border-box;
2622
+ text-align: ${props => props.$align || 'left'};
2623
+ width: ${props => props.$width || 'auto'};
2624
+ `;
2625
+ const IconWrapper = styled.span `
2626
+ position: absolute;
2627
+ top: 50%;
2628
+ transform: translateY(-50%);
2629
+ margin-left: 2px;
2630
+ `;
2631
+ const StyledIcon$1 = styled(Icon) `
2632
+ > path {
2633
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2634
+ }
2605
2635
  `;
2606
2636
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2607
2637
  const Table = (_a) => {
@@ -2623,55 +2653,55 @@ const Table = (_a) => {
2623
2653
  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'));
2624
2654
  })));
2625
2655
  }))) : null));
2626
- };
2627
-
2628
- const Wrapper$1 = styled.div `
2629
- display: flex;
2630
- box-sizing: border-box;
2631
- align-items: flex-end;
2632
- border-top: 1px solid #e5e5e5;
2633
- border-bottom: 1px solid #e5e5e5;
2634
- flex-shrink: 0;
2635
- align-self: stretch;
2636
- padding: 0;
2637
- margin: 0;
2638
- `;
2639
- const Tab = styled.div `
2640
- display: flex;
2641
- align-items: center;
2642
- gap: 6px;
2643
- font-size: ${FontSizes.DEFAULT};
2644
- font-family: ${FontStyles.DEFAULT};
2645
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2646
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2647
- line-height: 1em;
2648
- padding: 16px 30px 12px;
2649
- margin: 0 0 -1px 0;
2650
- border-bottom-width: 4px;
2651
- border-bottom-style: solid;
2652
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2653
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2654
- box-sizing: border-box;
2655
- &:hover {
2656
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2657
- font-weight: 500;
2658
- }
2656
+ };
2657
+
2658
+ const Wrapper$1 = styled.div `
2659
+ display: flex;
2660
+ box-sizing: border-box;
2661
+ align-items: flex-end;
2662
+ border-top: 1px solid #e5e5e5;
2663
+ border-bottom: 1px solid #e5e5e5;
2664
+ flex-shrink: 0;
2665
+ align-self: stretch;
2666
+ padding: 0;
2667
+ margin: 0;
2668
+ `;
2669
+ const Tab = styled.div `
2670
+ display: flex;
2671
+ align-items: center;
2672
+ gap: 6px;
2673
+ font-size: ${FontSizes.DEFAULT};
2674
+ font-family: ${FontStyles.DEFAULT};
2675
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2676
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2677
+ line-height: 1em;
2678
+ padding: 16px 30px 12px;
2679
+ margin: 0 0 -1px 0;
2680
+ border-bottom-width: 4px;
2681
+ border-bottom-style: solid;
2682
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2683
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2684
+ box-sizing: border-box;
2685
+ &:hover {
2686
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2687
+ font-weight: 500;
2688
+ }
2659
2689
  `;
2660
2690
  Tab.defaultProps = { theme: EditableTheme };
2661
- const Badge = styled.div `
2662
- display: flex;
2663
- width: 18px;
2664
- height: 18px;
2665
- justify-content: center;
2666
- align-items: center;
2667
- border-radius: 9px;
2668
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2669
- color: #fff;
2670
- font-family: ${FontStyles.DEFAULT};
2671
- font-size: 12px;
2672
- font-weight: 500;
2673
- line-height: 1;
2674
- letter-spacing: 1px;
2691
+ const Badge = styled.div `
2692
+ display: flex;
2693
+ width: 18px;
2694
+ height: 18px;
2695
+ justify-content: center;
2696
+ align-items: center;
2697
+ border-radius: 9px;
2698
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2699
+ color: #fff;
2700
+ font-family: ${FontStyles.DEFAULT};
2701
+ font-size: 12px;
2702
+ font-weight: 500;
2703
+ line-height: 1;
2704
+ letter-spacing: 1px;
2675
2705
  `;
2676
2706
  Badge.defaultProps = { theme: EditableTheme };
2677
2707
  const Tabs = (_a) => {
@@ -2685,29 +2715,29 @@ const Tabs = (_a) => {
2685
2715
  label));
2686
2716
  })));
2687
2717
  };
2688
- Tabs.defaultProps = {};
2689
-
2690
- const Track = styled.div `
2691
- height: 24px;
2692
- border-radius: 12px;
2693
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2694
- display: flex;
2695
- align-items: center;
2696
- cursor: pointer;
2697
- width: 40px;
2698
- padding: 2px;
2699
- box-sizing: border-box;
2700
- `;
2701
- const Handle = styled.div `
2702
- width: 20px;
2703
- height: 20px;
2704
- border-radius: 10px;
2705
- background: #ffffff;
2706
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2707
- display: flex;
2708
- align-items: center;
2709
- justify-content: center;
2710
- box-sizing: border-box;
2718
+ Tabs.defaultProps = {};
2719
+
2720
+ const Track = styled.div `
2721
+ height: 24px;
2722
+ border-radius: 12px;
2723
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2724
+ display: flex;
2725
+ align-items: center;
2726
+ cursor: pointer;
2727
+ width: 40px;
2728
+ padding: 2px;
2729
+ box-sizing: border-box;
2730
+ `;
2731
+ const Handle = styled.div `
2732
+ width: 20px;
2733
+ height: 20px;
2734
+ border-radius: 10px;
2735
+ background: #ffffff;
2736
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2737
+ display: flex;
2738
+ align-items: center;
2739
+ justify-content: center;
2740
+ box-sizing: border-box;
2711
2741
  `;
2712
2742
  const Toggle = (_a) => {
2713
2743
  var { onClick, on, dataItemid } = _a, accessibleProps = __rest(_a, ["onClick", "on", "dataItemid"]);
@@ -2717,32 +2747,32 @@ const Toggle = (_a) => {
2717
2747
  React.createElement(Handle, { "$on": on, "data-itemid": `${baseId}-handle` },
2718
2748
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: on ? js.mdiCheck : js.mdiClose, size: '16px' }))));
2719
2749
  };
2720
- Toggle.defaultProps = {};
2721
-
2722
- const Container = styled.div `
2723
- width: 100%;
2724
- padding: 40px auto;
2725
- gap: 20px;
2726
- display: flex;
2727
- flex-direction: column;
2728
- justify-items: center;
2729
- align-items: center;
2730
- `;
2731
- const Wrapper = styled.div `
2732
- gap: 10px;
2733
- display: flex;
2734
- flex-direction: column;
2735
- justify-items: center;
2736
- align-items: center;
2737
- `;
2738
- const StyledIcon = styled.div `
2739
- display: flex;
2740
- align-items: center;
2741
- justify-content: center;
2742
- width: 80px;
2743
- height: 80px;
2744
- border-radius: 40px;
2745
- background: #f5f5f5;
2750
+ Toggle.defaultProps = {};
2751
+
2752
+ const Container = styled.div `
2753
+ width: 100%;
2754
+ padding: 40px auto;
2755
+ gap: 20px;
2756
+ display: flex;
2757
+ flex-direction: column;
2758
+ justify-items: center;
2759
+ align-items: center;
2760
+ `;
2761
+ const Wrapper = styled.div `
2762
+ gap: 10px;
2763
+ display: flex;
2764
+ flex-direction: column;
2765
+ justify-items: center;
2766
+ align-items: center;
2767
+ `;
2768
+ const StyledIcon = styled.div `
2769
+ display: flex;
2770
+ align-items: center;
2771
+ justify-content: center;
2772
+ width: 80px;
2773
+ height: 80px;
2774
+ border-radius: 40px;
2775
+ background: #f5f5f5;
2746
2776
  `;
2747
2777
  const ZeroState = (_a) => {
2748
2778
  var { icon, title, description, action, dataItemid } = _a, accessibleProps = __rest(_a, ["icon", "title", "description", "action", "dataItemid"]);
@@ -2754,53 +2784,54 @@ const ZeroState = (_a) => {
2754
2784
  React.createElement(Heading, { children: title, "data-itemid": `${baseId}-heading`, type: 'tertiary' }),
2755
2785
  description && (React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', "data-itemid": `${baseId}-description`, type: 'default' }))),
2756
2786
  action && (React.createElement(Button, { children: action.children, "data-itemid": `${baseId}-button`, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2757
- };
2758
-
2759
- exports.Accordion = Accordion;
2760
- exports.ActionDialog = ActionDialog;
2761
- exports.Alert = Alert;
2762
- exports.AppHeader = AppHeader;
2763
- exports.AppMenu = AppMenu;
2764
- exports.BulkActionBar = BulkActionBar;
2765
- exports.Button = Button;
2766
- exports.ButtonMenu = ButtonMenu;
2767
- exports.Checkbox = Checkbox;
2768
- exports.Checklist = Checklist;
2769
- exports.Colors = Colors;
2770
- exports.Copy = Copy;
2771
- exports.DatePicker = DatePicker;
2772
- exports.Drawer = Drawer;
2773
- exports.EditableTheme = EditableTheme;
2774
- exports.Field = Field;
2775
- exports.FieldGroup = FieldGroup;
2776
- exports.FileUpload = FileUpload;
2777
- exports.FontSizes = FontSizes;
2778
- exports.FontStyles = FontStyles;
2779
- exports.Heading = Heading;
2780
- exports.Input = Input$1;
2781
- exports.Link = Link;
2782
- exports.Loader = Loader;
2783
- exports.Logo = Logo;
2784
- exports.Modal = Modal;
2785
- exports.MoreMenu = MoreMenu;
2786
- exports.MultiSelect = MultiSelect;
2787
- exports.PageHeader = PageHeader;
2788
- exports.Pagination = Pagination;
2789
- exports.ProgressBar = ProgressBar;
2790
- exports.Radio = Radio;
2791
- exports.RadioList = RadioList;
2792
- exports.Select = Select;
2793
- exports.Table = Table;
2794
- exports.Tabs = Tabs;
2795
- exports.Tag = Tag;
2796
- exports.Toggle = Toggle;
2797
- exports.Tooltip = Tooltip;
2798
- exports.ZeroState = ZeroState;
2799
- exports.formatAsPhone = formatAsPhone;
2800
- exports.formatAsSsn = formatAsSsn;
2801
- exports.getAgesFromDob = getAgesFromDob;
2802
- exports.getDaysForMonth = getDaysForMonth;
2803
- exports.getYears = getYears;
2804
- exports.validateEmail = validateEmail;
2805
- exports.validatePhone = validatePhone;
2806
- //# sourceMappingURL=index.js.map
2787
+ };
2788
+
2789
+ exports.Accordion = Accordion;
2790
+ exports.ActionDialog = ActionDialog;
2791
+ exports.Alert = Alert;
2792
+ exports.AppHeader = AppHeader;
2793
+ exports.AppMenu = AppMenu;
2794
+ exports.BulkActionBar = BulkActionBar;
2795
+ exports.Button = Button;
2796
+ exports.ButtonMenu = ButtonMenu;
2797
+ exports.Checkbox = Checkbox;
2798
+ exports.Checklist = Checklist;
2799
+ exports.Colors = Colors;
2800
+ exports.Copy = Copy;
2801
+ exports.DatePicker = DatePicker;
2802
+ exports.Drawer = Drawer;
2803
+ exports.EditableTheme = EditableTheme;
2804
+ exports.Field = Field;
2805
+ exports.FieldGroup = FieldGroup;
2806
+ exports.FileUpload = FileUpload;
2807
+ exports.FontSizes = FontSizes;
2808
+ exports.FontStyles = FontStyles;
2809
+ exports.Heading = Heading;
2810
+ exports.Input = Input$1;
2811
+ exports.Link = Link;
2812
+ exports.Loader = Loader;
2813
+ exports.Logo = Logo;
2814
+ exports.Modal = Modal;
2815
+ exports.MoreMenu = MoreMenu;
2816
+ exports.MultiSelect = MultiSelect;
2817
+ exports.PageHeader = PageHeader;
2818
+ exports.Pagination = Pagination;
2819
+ exports.ProgressBar = ProgressBar;
2820
+ exports.Radio = Radio;
2821
+ exports.RadioList = RadioList;
2822
+ exports.Select = Select;
2823
+ exports.Table = Table;
2824
+ exports.Tabs = Tabs;
2825
+ exports.Tag = Tag;
2826
+ exports.Toggle = Toggle;
2827
+ exports.Tooltip = Tooltip;
2828
+ exports.ZeroState = ZeroState;
2829
+ exports.formatAsMask = formatAsMask;
2830
+ exports.formatAsPhone = formatAsPhone;
2831
+ exports.formatAsSsn = formatAsSsn;
2832
+ exports.getAgesFromDob = getAgesFromDob;
2833
+ exports.getDaysForMonth = getDaysForMonth;
2834
+ exports.getYears = getYears;
2835
+ exports.validateEmail = validateEmail;
2836
+ exports.validatePhone = validatePhone;
2837
+ //# sourceMappingURL=index.js.map