@hexure/ui 1.12.8 → 1.12.9

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 { title, children, open, onClick } = _a, accessibleProps = __rest(_a, ["title", "children", "open", "onClick"]);
@@ -113,13 +113,13 @@ const Accordion = (_a) => {
113
113
  React.createElement(Title$2, null, title),
114
114
  React.createElement(Icon, { color: Colors.BLACK.Hex, path: open ? js.mdiChevronUp : js.mdiChevronDown, size: '24px' })),
115
115
  open ? children : null));
116
- };
117
-
118
- const StyledButton = styled.button `
119
- height: ${props => (props.$small ? '30px' : '40px')};
120
- line-height: 1em;
121
- border-radius: ${props => (props.$small ? '15px' : '20px')};
122
- margin: ${props => props.$margin || '0px'};
116
+ };
117
+
118
+ const StyledButton = styled.button `
119
+ height: ${props => (props.$small ? '30px' : '40px')};
120
+ line-height: 1em;
121
+ border-radius: ${props => (props.$small ? '15px' : '20px')};
122
+ margin: ${props => props.$margin || '0px'};
123
123
  padding: ${props => {
124
124
  if (props.$hasChildren) {
125
125
  if (props.$small) {
@@ -130,9 +130,9 @@ const StyledButton = styled.button `
130
130
  }
131
131
  }
132
132
  return '0px';
133
- }};
134
- outline: none;
135
- background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
133
+ }};
134
+ outline: none;
135
+ background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
136
136
  width: ${props => {
137
137
  if (props.$hasChildren) {
138
138
  return 'auto';
@@ -141,53 +141,53 @@ const StyledButton = styled.button `
141
141
  return '30px';
142
142
  }
143
143
  return '40px';
144
- }};
145
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
146
- display: flex;
147
- align-items: center;
148
- justify-content: center;
149
- opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
150
- border-width: 1px;
151
- border-style: solid;
152
- border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
153
- box-sizing: border-box;
154
-
155
- &:active,
156
- &:focus,
157
- &:hover {
158
- opacity: ${props => (props.$disabled ? 0.6 : 1)};
159
- }
160
- `;
161
- const Label$5 = styled.span `
162
- color: ${props => props.$content_color || '#fff'};
163
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
164
- font-family: ${FontStyles.DEFAULT};
165
- font-weight: 500;
166
- line-height: 1;
167
- `;
168
- const StyledIcon$6 = styled.span `
169
- margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
170
- margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
171
- display: flex;
172
- align-items: center;
173
- box-sizing: border-box;
174
- `;
175
- const Badge$1 = styled.span `
176
- width: ${props => (props.$small ? '20px' : '24px')};
177
- height: ${props => (props.$small ? '20px' : '24px')};
178
- line-height: 1;
179
- display: flex;
180
- align-items: center;
181
- justify-content: center;
182
- border-radius: 100%;
183
- background-color: ${props => props.$bg_color || '#fff'};
184
- color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
185
- font-size: ${props => (props.$small ? '10px' : '12px')};
186
- font-weight: 600;
187
- font-family: ${FontStyles.DEFAULT};
188
- letter-spacing: -1px;
189
- margin-left: ${props => (props.$small ? '5px' : '10px')};
190
- margin-right: ${props => (props.$small ? '-5px' : '-10px')};
144
+ }};
145
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
146
+ display: flex;
147
+ align-items: center;
148
+ justify-content: center;
149
+ opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
150
+ border-width: 1px;
151
+ border-style: solid;
152
+ border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
153
+ box-sizing: border-box;
154
+
155
+ &:active,
156
+ &:focus,
157
+ &:hover {
158
+ opacity: ${props => (props.$disabled ? 0.6 : 1)};
159
+ }
160
+ `;
161
+ const Label$5 = styled.span `
162
+ color: ${props => props.$content_color || '#fff'};
163
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
164
+ font-family: ${FontStyles.DEFAULT};
165
+ font-weight: 500;
166
+ line-height: 1;
167
+ `;
168
+ const StyledIcon$6 = styled.span `
169
+ margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
170
+ margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
171
+ display: flex;
172
+ align-items: center;
173
+ box-sizing: border-box;
174
+ `;
175
+ const Badge$1 = styled.span `
176
+ width: ${props => (props.$small ? '20px' : '24px')};
177
+ height: ${props => (props.$small ? '20px' : '24px')};
178
+ line-height: 1;
179
+ display: flex;
180
+ align-items: center;
181
+ justify-content: center;
182
+ border-radius: 100%;
183
+ background-color: ${props => props.$bg_color || '#fff'};
184
+ color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
185
+ font-size: ${props => (props.$small ? '10px' : '12px')};
186
+ font-weight: 600;
187
+ font-family: ${FontStyles.DEFAULT};
188
+ letter-spacing: -1px;
189
+ margin-left: ${props => (props.$small ? '5px' : '10px')};
190
+ margin-right: ${props => (props.$small ? '-5px' : '-10px')};
191
191
  `;
192
192
  const Button = (_a) => {
193
193
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
@@ -229,29 +229,29 @@ const Button = (_a) => {
229
229
  icon && !badge ? (React.createElement(StyledIcon$6, { "$hasChildren": !!has_children },
230
230
  React.createElement(Icon, { color: format ? format_styles.content_color : '#fff', path: loading ? js.mdiLoading : icon, size: small ? '20px' : '24px', spin: loading }))) : null,
231
231
  badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
232
- };
233
-
234
- const StyledComponent = styled.p `
235
- color: ${props => Colors[props.$color || 'BLACK'].Hex};
236
- font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
237
- line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
238
- letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
239
- font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
240
- font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
241
- text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
242
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
243
- margin: ${props => props.$margin || '0px'};
244
- padding: ${props => props.$padding || '0px'};
245
- text-align: ${props => props.$align || 'left'};
246
- box-sizing: border-box;
232
+ };
233
+
234
+ const StyledComponent = styled.p `
235
+ color: ${props => Colors[props.$color || 'BLACK'].Hex};
236
+ font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
237
+ line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
238
+ letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
239
+ font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
240
+ font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
241
+ text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
242
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
243
+ margin: ${props => props.$margin || '0px'};
244
+ padding: ${props => props.$padding || '0px'};
245
+ text-align: ${props => props.$align || 'left'};
246
+ box-sizing: border-box;
247
247
  `;
248
248
  const Copy = ({ children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', }) => {
249
249
  return (React.createElement(StyledComponent, { "$align": align, "$color": color, "$margin": margin, "$padding": padding, "$type": type }, children));
250
250
  };
251
251
  Copy.defaultProps = {
252
252
  type: 'default',
253
- };
254
-
253
+ };
254
+
255
255
  const H1 = styled.h1 `
256
256
  color: ${Colors.BLACK.Hex};
257
257
  font-size: 30px;
@@ -299,8 +299,8 @@ const Heading = (_a) => {
299
299
  Heading.defaultProps = {
300
300
  bold: false,
301
301
  type: 'primary',
302
- };
303
-
302
+ };
303
+
304
304
  const Wrapper$i = styled.div `
305
305
  position: fixed;
306
306
  top: 0;
@@ -333,29 +333,29 @@ const ActionDialog = (_a) => {
333
333
  tertiaryButton ? React.createElement(Button, Object.assign({}, tertiaryButton, { format: 'secondary' })) : null,
334
334
  secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: 'secondary' })) : null,
335
335
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format === 'red' ? 'red' : 'primary' }))) : null)) : null)));
336
- };
337
-
338
- const Wrapper$h = styled.div `
339
- border: 1px solid #f1f1f1;
340
- border-radius: 4px;
341
- border-left-width: 4px;
342
- box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
343
- display: flex;
344
- align-items: flex-start;
345
- gap: ${({ $small }) => ($small ? '8px' : '20px')};
346
- padding: ${({ $small }) => ($small ? '11px' : '20px')};
347
- box-sizing: border-box;
348
- `;
349
- const StyledIcon$5 = styled(Icon) `
350
- flex-shrink: 0;
351
- `;
352
- const Action$1 = styled.div `
353
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
354
- font-size: ${FontSizes.DEFAULT};
355
- font-family: ${FontStyles.DEFAULT};
356
- font-weight: 500;
357
- cursor: pointer;
358
- margin-top: 6px;
336
+ };
337
+
338
+ const Wrapper$h = styled.div `
339
+ border: 1px solid #f1f1f1;
340
+ border-radius: 4px;
341
+ border-left-width: 4px;
342
+ box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
343
+ display: flex;
344
+ align-items: flex-start;
345
+ gap: ${({ $small }) => ($small ? '8px' : '20px')};
346
+ padding: ${({ $small }) => ($small ? '11px' : '20px')};
347
+ box-sizing: border-box;
348
+ `;
349
+ const StyledIcon$5 = styled(Icon) `
350
+ flex-shrink: 0;
351
+ `;
352
+ const Action$1 = styled.div `
353
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
354
+ font-size: ${FontSizes.DEFAULT};
355
+ font-family: ${FontStyles.DEFAULT};
356
+ font-weight: 500;
357
+ cursor: pointer;
358
+ margin-top: 6px;
359
359
  `;
360
360
  Action$1.defaultProps = { theme: EditableTheme };
361
361
  const Alert = (_a) => {
@@ -385,8 +385,8 @@ const Alert = (_a) => {
385
385
  title && !small ? (React.createElement(Heading, { bold: true, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
386
386
  description ? (React.createElement(Copy, { margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
387
387
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
388
- };
389
-
388
+ };
389
+
390
390
  const colorMapping = {
391
391
  black: {
392
392
  fill_1: '#000000',
@@ -427,61 +427,61 @@ const Logo = (_a) => {
427
427
  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', fill: colorMapping[type_parts[1]].fill_1 }),
428
428
  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', fill: colorMapping[type_parts[1]].fill_1 })));
429
429
  }
430
- };
431
-
432
- const Container$3 = styled.header `
433
- width: 100%;
434
- display: flex;
435
- padding: 20px;
436
- box-sizing: border-box;
437
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
438
- background: '#fff';
439
- justify-content: space-between;
440
- `;
441
- const LogoWrapper = styled.div `
442
- display: flex;
443
- align-items: center;
444
- `;
445
- const Image = styled.img `
446
- height: 30px !important;
447
- width: auto !important;
448
- `;
449
- const Buttons = styled.div `
450
- display: flex;
451
- flex-direction: row;
452
- column-gap: 10px;
453
- flex-direction: reverse;
430
+ };
431
+
432
+ const Container$3 = styled.header `
433
+ width: 100%;
434
+ display: flex;
435
+ padding: 20px;
436
+ box-sizing: border-box;
437
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
438
+ background: '#fff';
439
+ justify-content: space-between;
440
+ `;
441
+ const LogoWrapper = styled.div `
442
+ display: flex;
443
+ align-items: center;
444
+ `;
445
+ const Image = styled.img `
446
+ height: 30px !important;
447
+ width: auto !important;
448
+ `;
449
+ const Buttons = styled.div `
450
+ display: flex;
451
+ flex-direction: row;
452
+ column-gap: 10px;
453
+ flex-direction: reverse;
454
454
  `;
455
455
  const AppHeader = ({ logoUrl, buttons = [] }) => {
456
456
  return (React.createElement(Container$3, null,
457
457
  React.createElement(LogoWrapper, null, logoUrl ? React.createElement(Image, { src: logoUrl }) : React.createElement(Logo, { height: '30px' })),
458
458
  React.createElement(Buttons, null, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b)))))));
459
- };
460
-
461
- const Wrapper$g = styled.div `
462
- display: inline-block;
463
- border-radius: 4px;
464
- padding: 4px 6px;
465
- background: ${props => Colors[props.$color].Hex};
466
- color: #ffffff;
467
- box-sizing: border-box;
468
- cursor: ${props => (props.$removable ? 'pointer' : 'default')};
469
- `;
470
- const Content$3 = styled.div `
471
- display: flex;
472
- align-items: center;
473
- `;
474
- const Label$4 = styled.div `
475
- color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
476
- font-size: ${FontSizes.SMALL};
477
- font-weight: 500;
478
- font-family: ${FontStyles.DEFAULT};
479
- line-height: 1.2em;
480
- `;
481
- const Remove$1 = styled.div `
482
- margin-left: 10px;
483
- display: flex;
484
- align-items: center;
459
+ };
460
+
461
+ const Wrapper$g = styled.div `
462
+ display: inline-block;
463
+ border-radius: 4px;
464
+ padding: 4px 6px;
465
+ background: ${props => Colors[props.$color].Hex};
466
+ color: #ffffff;
467
+ box-sizing: border-box;
468
+ cursor: ${props => (props.$removable ? 'pointer' : 'default')};
469
+ `;
470
+ const Content$3 = styled.div `
471
+ display: flex;
472
+ align-items: center;
473
+ `;
474
+ const Label$4 = styled.div `
475
+ color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
476
+ font-size: ${FontSizes.SMALL};
477
+ font-weight: 500;
478
+ font-family: ${FontStyles.DEFAULT};
479
+ line-height: 1.2em;
480
+ `;
481
+ const Remove$1 = styled.div `
482
+ margin-left: 10px;
483
+ display: flex;
484
+ align-items: center;
485
485
  `;
486
486
  const Tag = (_a) => {
487
487
  var { children, color = 'PRIMARY', removable, onClick } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick"]);
@@ -490,91 +490,91 @@ const Tag = (_a) => {
490
490
  React.createElement(Label$4, { "$color": color }, children),
491
491
  removable ? (React.createElement(Remove$1, null,
492
492
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: js.mdiClose, size: '15px' }))) : null)));
493
- };
494
-
495
- const SidebarContainer = styled.div `
496
- border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
497
- display: flex;
498
- flex-direction: column;
499
- height: 100%;
500
- padding: 12px 0px;
501
- width: ${props => (props.$isOpen ? props.$width : '60px')};
502
- `;
503
- const MenuWrapper = styled.div `
504
- display: flex;
505
- align-items: center;
506
- border-left-width: 4px;
507
- border-left-style: solid;
508
- border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
509
- cursor: pointer;
510
- height: 40px;
511
-
512
- &:hover > div {
513
- color: ${props => props.$color.Hex};
514
- }
515
-
516
- &:hover > svg > path {
517
- fill: ${Colors.BLACK.Hex} !important;
518
- }
519
- `;
520
- const MenuIcon = styled(Icon) `
521
- width: 20px;
522
- height: 20px;
523
- margin: 0px 16px;
524
- flex-shrink: 0;
525
-
526
- > path {
527
- fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
528
- }
529
- `;
530
- const MenuLabel = styled.div `
531
- color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
532
- flex: 1;
533
- font-size: 12px;
534
- font-style: normal;
535
- font-weight: 600;
536
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
537
- line-height: 16px;
538
- padding: 12px 0px;
539
- letter-spacing: 1px;
540
- `;
541
- const SubMenu = styled.div `
542
- overflow-y: auto;
543
- padding-left: 44px;
544
- padding-right: 20px;
545
- padding-bottom: 10px;
546
- `;
547
- const SubMenuItem = styled.a `
548
- display: block;
549
- padding: 8px 12px;
550
- border-radius: 8px;
551
- font-size: 13px;
552
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
553
- line-height: 20px;
554
- text-decoration: none;
555
- font-weight: ${({ $active }) => ($active ? '500' : '400')};
556
- color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
557
- background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
558
- cursor: pointer;
559
-
560
- &:hover {
561
- color: ${props => props.$color.Hex};
562
- font-weight: 500;
563
- }
564
- `;
565
- const Footer = styled.div `
566
- padding: 20px 14px 0px;
567
- display: flex;
568
- align-items: center;
569
- `;
570
- const FooterInfo = styled.div `
571
- display: flex;
572
- flex-direction: column;
573
- flex: 1;
574
- align-items: flex-start;
575
- `;
576
- const SidebarMenuContainer = styled.div `
577
- flex-grow: 1;
493
+ };
494
+
495
+ const SidebarContainer = styled.div `
496
+ border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
497
+ display: flex;
498
+ flex-direction: column;
499
+ height: 100%;
500
+ padding: 12px 0px;
501
+ width: ${props => (props.$isOpen ? props.$width : '60px')};
502
+ `;
503
+ const MenuWrapper = styled.div `
504
+ display: flex;
505
+ align-items: center;
506
+ border-left-width: 4px;
507
+ border-left-style: solid;
508
+ border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
509
+ cursor: pointer;
510
+ height: 40px;
511
+
512
+ &:hover > div {
513
+ color: ${props => props.$color.Hex};
514
+ }
515
+
516
+ &:hover > svg > path {
517
+ fill: ${Colors.BLACK.Hex} !important;
518
+ }
519
+ `;
520
+ const MenuIcon = styled(Icon) `
521
+ width: 20px;
522
+ height: 20px;
523
+ margin: 0px 16px;
524
+ flex-shrink: 0;
525
+
526
+ > path {
527
+ fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
528
+ }
529
+ `;
530
+ const MenuLabel = styled.div `
531
+ color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
532
+ flex: 1;
533
+ font-size: 12px;
534
+ font-style: normal;
535
+ font-weight: 600;
536
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
537
+ line-height: 16px;
538
+ padding: 12px 0px;
539
+ letter-spacing: 1px;
540
+ `;
541
+ const SubMenu = styled.div `
542
+ overflow-y: auto;
543
+ padding-left: 44px;
544
+ padding-right: 20px;
545
+ padding-bottom: 10px;
546
+ `;
547
+ const SubMenuItem = styled.a `
548
+ display: block;
549
+ padding: 8px 12px;
550
+ border-radius: 8px;
551
+ font-size: 13px;
552
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
553
+ line-height: 20px;
554
+ text-decoration: none;
555
+ font-weight: ${({ $active }) => ($active ? '500' : '400')};
556
+ color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
557
+ background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
558
+ cursor: pointer;
559
+
560
+ &:hover {
561
+ color: ${props => props.$color.Hex};
562
+ font-weight: 500;
563
+ }
564
+ `;
565
+ const Footer = styled.div `
566
+ padding: 20px 14px 0px;
567
+ display: flex;
568
+ align-items: center;
569
+ `;
570
+ const FooterInfo = styled.div `
571
+ display: flex;
572
+ flex-direction: column;
573
+ flex: 1;
574
+ align-items: flex-start;
575
+ `;
576
+ const SidebarMenuContainer = styled.div `
577
+ flex-grow: 1;
578
578
  `;
579
579
  const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
580
580
  const theme = React.useContext(styled.ThemeContext) || EditableTheme;
@@ -598,75 +598,75 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
598
598
  e.preventDefault();
599
599
  toggleCollapse(!collapsed);
600
600
  }, small: true }))));
601
- };
602
-
603
- const Wrapper$f = styled.div `
604
- border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
605
- border-radius: 8px;
606
- box-sizing: border-box;
607
- display: flex;
608
- align-items: center;
609
- justify-content: space-between;
610
- padding: 16px 20px;
601
+ };
602
+
603
+ const Wrapper$f = styled.div `
604
+ border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
605
+ border-radius: 8px;
606
+ box-sizing: border-box;
607
+ display: flex;
608
+ align-items: center;
609
+ justify-content: space-between;
610
+ padding: 16px 20px;
611
611
  `;
612
612
  Wrapper$f.defaultProps = { theme: EditableTheme };
613
- const Left = styled.div `
614
- box-sizing: border-box;
615
- display: flex;
616
- align-items: center;
617
- justify-content: space-between;
618
- flex-shrink: 0;
619
- `;
620
- const Info$1 = styled.div `
621
- box-sizing: border-box;
622
- display: flex;
623
- align-items: center;
624
- margin-right: 30px;
625
- `;
626
- const Selected = styled.span `
627
- font-size: 14px;
628
- font-weight: 400;
629
- font-family: ${FontStyles.DEFAULT};
630
- color: ${Colors.BLACK.Hex};
631
- line-height: 1;
632
- `;
633
- const Clear = styled.span `
634
- font-size: 14px;
635
- font-weight: 400;
636
- font-family: ${FontStyles.DEFAULT};
637
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
638
- line-height: 1;
639
- cursor: pointer;
640
- padding-left: 10px;
641
- margin-left: 10px;
642
- border-left: 1px solid #ccc;
613
+ const Left = styled.div `
614
+ box-sizing: border-box;
615
+ display: flex;
616
+ align-items: center;
617
+ justify-content: space-between;
618
+ flex-shrink: 0;
619
+ `;
620
+ const Info$1 = styled.div `
621
+ box-sizing: border-box;
622
+ display: flex;
623
+ align-items: center;
624
+ margin-right: 30px;
625
+ `;
626
+ const Selected = styled.span `
627
+ font-size: 14px;
628
+ font-weight: 400;
629
+ font-family: ${FontStyles.DEFAULT};
630
+ color: ${Colors.BLACK.Hex};
631
+ line-height: 1;
632
+ `;
633
+ const Clear = styled.span `
634
+ font-size: 14px;
635
+ font-weight: 400;
636
+ font-family: ${FontStyles.DEFAULT};
637
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
638
+ line-height: 1;
639
+ cursor: pointer;
640
+ padding-left: 10px;
641
+ margin-left: 10px;
642
+ border-left: 1px solid #ccc;
643
643
  `;
644
644
  Clear.defaultProps = { theme: EditableTheme };
645
- const Actions$1 = styled.div `
646
- box-sizing: border-box;
647
- display: flex;
648
- align-items: center;
649
- column-gap: 10px;
650
- `;
651
- const Error$1 = styled.div `
652
- box-sizing: border-box;
653
- display: flex;
654
- align-items: center;
655
- background: rgba(${Colors.RED.Rgb}, 0.1);
656
- border-radius: 4px;
657
- padding: 6px 8px;
658
- text-overflow: ellipsis;
659
- white-space: nowrap;
660
- overflow: hidden;
661
- margin-left: 30px;
662
- `;
663
- const ErrorMsg = styled.span `
664
- font-size: 14px;
665
- font-weight: 500;
666
- font-family: ${FontStyles.DEFAULT};
667
- line-height: 1em;
668
- color: ${Colors.RED.Hex};
669
- margin-left: 8px;
645
+ const Actions$1 = styled.div `
646
+ box-sizing: border-box;
647
+ display: flex;
648
+ align-items: center;
649
+ column-gap: 10px;
650
+ `;
651
+ const Error$1 = styled.div `
652
+ box-sizing: border-box;
653
+ display: flex;
654
+ align-items: center;
655
+ background: rgba(${Colors.RED.Rgb}, 0.1);
656
+ border-radius: 4px;
657
+ padding: 6px 8px;
658
+ text-overflow: ellipsis;
659
+ white-space: nowrap;
660
+ overflow: hidden;
661
+ margin-left: 30px;
662
+ `;
663
+ const ErrorMsg = styled.span `
664
+ font-size: 14px;
665
+ font-weight: 500;
666
+ font-family: ${FontStyles.DEFAULT};
667
+ line-height: 1em;
668
+ color: ${Colors.RED.Hex};
669
+ margin-left: 8px;
670
670
  `;
671
671
  const BulkActionBar = (_a) => {
672
672
  var { actions = [], errorMsg, onClear, selectedCount = 0 } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
@@ -681,46 +681,46 @@ const BulkActionBar = (_a) => {
681
681
  errorMsg ? (React.createElement(Error$1, null,
682
682
  React.createElement(Icon, { color: Colors.RED.Hex, path: js.mdiInformationOutline, size: '20px' }),
683
683
  React.createElement(ErrorMsg, null, errorMsg))) : null));
684
- };
685
-
686
- const Wrapper$e = styled.div `
687
- background: #fff;
688
- border-radius: 8px;
689
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
690
- display: flex;
691
- flex-direction: column;
692
- gap: 4px;
693
- max-height: ${props => props.$maxHeight || '312px'};
694
- padding: 10px;
695
- width: 200px;
696
- `;
697
- const MenuItem = styled.div `
698
- align-items: center;
699
- border-radius: 8px;
700
- border: 1px solid transparent;
701
- display: flex;
702
- gap: 8px;
703
- height: 38px;
704
- padding: 8px;
705
- &:hover {
706
- background: rgba(1, 147, 215, 0.1);
707
- cursor: pointer;
708
-
709
- svg,
710
- path {
711
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
712
- }
713
- }
684
+ };
685
+
686
+ const Wrapper$e = styled.div `
687
+ background: #fff;
688
+ border-radius: 8px;
689
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
690
+ display: flex;
691
+ flex-direction: column;
692
+ gap: 4px;
693
+ max-height: ${props => props.$maxHeight || '312px'};
694
+ padding: 10px;
695
+ width: 200px;
696
+ `;
697
+ const MenuItem = styled.div `
698
+ align-items: center;
699
+ border-radius: 8px;
700
+ border: 1px solid transparent;
701
+ display: flex;
702
+ gap: 8px;
703
+ height: 38px;
704
+ padding: 8px;
705
+ &:hover {
706
+ background: rgba(1, 147, 215, 0.1);
707
+ cursor: pointer;
708
+
709
+ svg,
710
+ path {
711
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
712
+ }
713
+ }
714
714
  `;
715
715
  MenuItem.defaultProps = { theme: EditableTheme };
716
- const Title$1 = styled.span `
717
- font-family: Roboto;
718
- font-size: 14px;
719
- font-weight: 400;
720
- height: auto;
721
- letter-spacing: 0px;
722
- line-height: 22px;
723
- text-align: left;
716
+ const Title$1 = styled.span `
717
+ font-family: Roboto;
718
+ font-size: 14px;
719
+ font-weight: 400;
720
+ height: auto;
721
+ letter-spacing: 0px;
722
+ line-height: 22px;
723
+ text-align: left;
724
724
  `;
725
725
  const MoreMenu = (_a) => {
726
726
  var { maxHeight, menuItems = [] } = _a, accessibleProps = __rest(_a, ["maxHeight", "menuItems"]);
@@ -729,38 +729,38 @@ const MoreMenu = (_a) => {
729
729
  item.icon ? (React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
730
730
  React.createElement(Title$1, null, item.label)));
731
731
  })));
732
- };
733
-
734
- const Wrapper$d = styled.div `
735
- position: relative;
736
- display: inline-block;
737
- `;
738
- const StyledMoreMenu = styled(MoreMenu) `
739
- position: absolute;
740
- right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
741
- left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
742
- top: ${props => (props.$small ? '30px' : '40px')};
743
- width: ${props => props.$menuWidth};
744
- z-index: 10;
732
+ };
733
+
734
+ const Wrapper$d = styled.div `
735
+ position: relative;
736
+ display: inline-block;
737
+ `;
738
+ const StyledMoreMenu = styled(MoreMenu) `
739
+ position: absolute;
740
+ right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
741
+ left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
742
+ top: ${props => (props.$small ? '30px' : '40px')};
743
+ width: ${props => props.$menuWidth};
744
+ z-index: 10;
745
745
  `;
746
746
  const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'right', format = 'primary', menuWidth = '200px', }) => {
747
747
  const [show_menu, toggleMenu] = React.useState(false);
748
748
  return (React.createElement(Wrapper$d, { onMouseEnter: disabled ? undefined : toggleMenu.bind(null, true), onMouseLeave: disabled ? undefined : toggleMenu.bind(null, false) },
749
749
  React.createElement(Button, { disabled: disabled, format: format, icon: js.mdiDotsHorizontal, small: small }, label),
750
750
  show_menu ? (React.createElement(StyledMoreMenu, { "$menuWidth": menuWidth, "$position": position, "$small": small, maxHeight: maxHeight, menuItems: menuItems })) : null));
751
- };
752
-
753
- const Wrapper$c = styled.div `
754
- display: inline-block;
755
- position: relative;
756
- height: 16px;
757
- `;
758
- const StyledIcon$4 = styled(Icon) `
759
- width: 16px;
760
- height: 16px;
761
- margin: 0px 6px;
762
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
763
- cursor: pointer;
751
+ };
752
+
753
+ const Wrapper$c = styled.div `
754
+ display: inline-block;
755
+ position: relative;
756
+ height: 16px;
757
+ `;
758
+ const StyledIcon$4 = styled(Icon) `
759
+ width: 16px;
760
+ height: 16px;
761
+ margin: 0px 6px;
762
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
763
+ cursor: pointer;
764
764
  `;
765
765
  StyledIcon$4.defaultProps = { theme: EditableTheme };
766
766
  const positions = {
@@ -798,8 +798,8 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
798
798
  return (React.createElement(Wrapper$c, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
799
799
  trigger || React.createElement(StyledIcon$4, { path: js.mdiInformationOutline }),
800
800
  show_content ? (React.createElement(Content$2, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
801
- };
802
-
801
+ };
802
+
803
803
  const Wrapper$b = styled.label `
804
804
  border-radius: 4px;
805
805
  padding: 4px 0px 4px 6px;
@@ -885,16 +885,16 @@ const Checkbox = (_a) => {
885
885
  children ? (React.createElement(Label$3, { color: color },
886
886
  children,
887
887
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
888
- };
889
-
890
- const SelectAll = styled.div `
891
- padding: 8px 12px;
892
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
893
- box-sizing: border-box;
888
+ };
889
+
890
+ const SelectAll = styled.div `
891
+ padding: 8px 12px;
892
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
893
+ box-sizing: border-box;
894
894
  `;
895
- const Options$1 = styled.div `
896
- padding: 12px;
897
- box-sizing: border-box;
895
+ const Options$1 = styled.div `
896
+ padding: 12px;
897
+ box-sizing: border-box;
898
898
  `;
899
899
  const Checklist = (_a) => {
900
900
  var { disabled, onChange, options, selected = [], showSelectAll } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
@@ -931,70 +931,70 @@ const Checklist = (_a) => {
931
931
  const checked = selected.includes(option.value);
932
932
  return (React.createElement(Checkbox, Object.assign({ key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
933
933
  }))));
934
- };
935
-
936
- const Wrapper$a = styled.div `
937
- border-radius: 4px;
938
- height: 40px;
939
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
940
- position: relative;
941
- cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
942
- border-width: 1px;
943
- border-style: solid;
944
- border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
945
- border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
946
- flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
947
- box-sizing: border-box;
948
- padding: 10px 0px;
949
- display: flex;
950
- align-items: center;
951
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
952
-
953
- &:focus-within {
954
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
955
- }
934
+ };
935
+
936
+ const Wrapper$a = styled.div `
937
+ border-radius: 4px;
938
+ height: 40px;
939
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
940
+ position: relative;
941
+ cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
942
+ border-width: 1px;
943
+ border-style: solid;
944
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
945
+ border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
946
+ flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
947
+ box-sizing: border-box;
948
+ padding: 10px 0px;
949
+ display: flex;
950
+ align-items: center;
951
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
952
+
953
+ &:focus-within {
954
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
955
+ }
956
956
  `;
957
957
  Wrapper$a.defaultProps = { theme: EditableTheme };
958
- const Trigger$1 = styled.select `
959
- appearance: none;
960
- box-shadow: none;
961
- outline: none;
962
- border: none;
963
- color: ${Colors.BLACK.Hex};
964
- font-size: ${FontSizes.DEFAULT};
965
- font-weight: 400;
966
- font-family: ${FontStyles.DEFAULT};
967
- line-height: 2.9em;
968
- background-color: transparent;
969
- background-image: none;
970
- width: 100%;
971
- box-sizing: border-box;
972
- padding: 0px 30px 0px 10px;
973
- box-sizing: border-box;
974
- position: relative;
975
- z-index: 2;
976
- `;
977
- const IconWrapper$2 = styled(Icon) `
978
- position: absolute;
979
- right: 9px;
980
- z-index: 1;
981
- `;
982
- const SearchInput$1 = styled.input `
983
- position: absolute;
984
- left: 2px;
985
- top: 2px;
986
- z-index: 999;
987
- width: 90%;
988
- height: 30px;
989
- border: none;
990
- outline: none;
991
- color: ${Colors.BLACK.Hex};
992
- font-family: ${FontStyles.DEFAULT};
993
- font-size: ${FontSizes.DEFAULT};
994
- font-weight: 400;
995
- line-height: 2.9em;
996
- overflow: hidden;
997
- white-space: nowrap;
958
+ const Trigger$1 = styled.select `
959
+ appearance: none;
960
+ box-shadow: none;
961
+ outline: none;
962
+ border: none;
963
+ color: ${Colors.BLACK.Hex};
964
+ font-size: ${FontSizes.DEFAULT};
965
+ font-weight: 400;
966
+ font-family: ${FontStyles.DEFAULT};
967
+ line-height: 2.9em;
968
+ background-color: transparent;
969
+ background-image: none;
970
+ width: 100%;
971
+ box-sizing: border-box;
972
+ padding: 0px 30px 0px 10px;
973
+ box-sizing: border-box;
974
+ position: relative;
975
+ z-index: 2;
976
+ `;
977
+ const IconWrapper$2 = styled(Icon) `
978
+ position: absolute;
979
+ right: 9px;
980
+ z-index: 1;
981
+ `;
982
+ const SearchInput$1 = styled.input `
983
+ position: absolute;
984
+ left: 2px;
985
+ top: 2px;
986
+ z-index: 999;
987
+ width: 90%;
988
+ height: 30px;
989
+ border: none;
990
+ outline: none;
991
+ color: ${Colors.BLACK.Hex};
992
+ font-family: ${FontStyles.DEFAULT};
993
+ font-size: ${FontSizes.DEFAULT};
994
+ font-weight: 400;
995
+ line-height: 2.9em;
996
+ overflow: hidden;
997
+ white-space: nowrap;
998
998
  `;
999
999
  const Select = (_a) => {
1000
1000
  var { options, optionGroups, placeholder, readOnly, invalid, searchable = false, value, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style"]);
@@ -1019,15 +1019,15 @@ const Select = (_a) => {
1019
1019
  return (option.label && (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)));
1020
1020
  })),
1021
1021
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: js.mdiChevronDown, size: '22px' })));
1022
- };
1023
-
1024
- const DatePickerWrapper = styled.div `
1025
- display: flex;
1026
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1022
+ };
1023
+
1024
+ const DatePickerWrapper = styled.div `
1025
+ display: flex;
1026
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1027
1027
  `;
1028
- const Middle = styled.div `
1029
- margin: 0px -1px;
1030
- flex-grow: 1;
1028
+ const Middle = styled.div `
1029
+ margin: 0px -1px;
1030
+ flex-grow: 1;
1031
1031
  `;
1032
1032
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date, onChange, style, }) => {
1033
1033
  const dMaxDate = maxDate ? dayjs(maxDate) : dayjs();
@@ -1089,66 +1089,66 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
1089
1089
  React.createElement(Middle, null,
1090
1090
  React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, readOnly: readOnly, style: { borderRadius: '0px' }, value: dDate.format('D') })),
1091
1091
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: dDate.format('YYYY') }))));
1092
- };
1093
-
1094
- const Scrim$1 = styled.div `
1095
- position: ${({ $position }) => $position};
1096
- top: 0;
1097
- right: 0;
1098
- bottom: 0;
1099
- left: 0;
1100
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1101
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1102
- `;
1103
- const Container$2 = styled.div `
1104
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1105
- min-width: 400px;
1106
- width: ${({ $width }) => $width || '400px'};
1107
- overflow: hidden;
1108
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1109
- outline: none;
1110
- border: none;
1111
- position: ${({ $position }) => $position};
1112
- top: 0;
1113
- right: 0;
1114
- bottom: 0;
1115
- padding: 0px;
1116
- display: flex;
1117
- flex-direction: column;
1118
- box-sizing: border-box;
1119
- background: #fff;
1120
- `;
1121
- const Header$2 = styled.div `
1122
- padding: 30px 20px;
1123
- display: flex;
1124
- align-items: flex-start;
1125
- box-sizing: border-box;
1126
- flex-shrink: 0;
1127
- background: #fff;
1128
- `;
1129
- const Close$1 = styled.div `
1130
- margin-left: auto;
1131
- display: flex;
1132
- align-items: center;
1133
- padding-left: 20px;
1134
- cursor: pointer;
1135
- `;
1136
- const ContentWrapper$1 = styled.div `
1137
- overflow-x: hidden;
1138
- overflow-y: auto;
1139
- box-sizing: border-box;
1140
- flex: 1;
1141
- background: #fff;
1142
- `;
1143
- const ButtonBar$1 = styled.div `
1144
- padding: 20px;
1145
- display: flex;
1146
- align-items: center;
1147
- justify-content: flex-end;
1148
- box-sizing: border-box;
1149
- gap: 10px;
1150
- flex-shrink: 0;
1151
- background: #fff;
1092
+ };
1093
+
1094
+ const Scrim$1 = styled.div `
1095
+ position: ${({ $position }) => $position};
1096
+ top: 0;
1097
+ right: 0;
1098
+ bottom: 0;
1099
+ left: 0;
1100
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1101
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1102
+ `;
1103
+ const Container$2 = styled.div `
1104
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1105
+ min-width: 400px;
1106
+ width: ${({ $width }) => $width || '400px'};
1107
+ overflow: hidden;
1108
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1109
+ outline: none;
1110
+ border: none;
1111
+ position: ${({ $position }) => $position};
1112
+ top: 0;
1113
+ right: 0;
1114
+ bottom: 0;
1115
+ padding: 0px;
1116
+ display: flex;
1117
+ flex-direction: column;
1118
+ box-sizing: border-box;
1119
+ background: #fff;
1120
+ `;
1121
+ const Header$2 = styled.div `
1122
+ padding: 30px 20px;
1123
+ display: flex;
1124
+ align-items: flex-start;
1125
+ box-sizing: border-box;
1126
+ flex-shrink: 0;
1127
+ background: #fff;
1128
+ `;
1129
+ const Close$1 = styled.div `
1130
+ margin-left: auto;
1131
+ display: flex;
1132
+ align-items: center;
1133
+ padding-left: 20px;
1134
+ cursor: pointer;
1135
+ `;
1136
+ const ContentWrapper$1 = styled.div `
1137
+ overflow-x: hidden;
1138
+ overflow-y: auto;
1139
+ box-sizing: border-box;
1140
+ flex: 1;
1141
+ background: #fff;
1142
+ `;
1143
+ const ButtonBar$1 = styled.div `
1144
+ padding: 20px;
1145
+ display: flex;
1146
+ align-items: center;
1147
+ justify-content: flex-end;
1148
+ box-sizing: border-box;
1149
+ gap: 10px;
1150
+ flex-shrink: 0;
1151
+ background: #fff;
1152
1152
  `;
1153
1153
  const Drawer = (_a) => {
1154
1154
  var { children, description, title, onClose, primaryButton, position = 'fixed', secondaryButton, tertiaryButton, scrim = 'dark', width } = _a, accessibleProps = __rest(_a, ["children", "description", "title", "onClose", "primaryButton", "position", "secondaryButton", "tertiaryButton", "scrim", "width"]);
@@ -1176,8 +1176,8 @@ const Drawer = (_a) => {
1176
1176
  secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' })) : null,
1177
1177
  primaryButton ? React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' })) : null)) : null),
1178
1178
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1179
- };
1180
-
1179
+ };
1180
+
1181
1181
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, (props.$customStyle))));
1182
1182
  const LabelRow = styled.div `
1183
1183
  display: flex;
@@ -1238,107 +1238,107 @@ const Field = (_a) => {
1238
1238
  description ? React.createElement(Description, null, description) : null,
1239
1239
  children,
1240
1240
  validationText ? React.createElement(Validation, null, validationText) : null));
1241
- };
1242
-
1243
- const Wrapper$8 = styled.fieldset `
1244
- margin-inline-start: 0px;
1245
- margin-inline-end: 0px;
1246
- padding-block-start: 0px;
1247
- padding-inline-start: 0px;
1248
- padding-inline-end: 0px;
1249
- padding-block-end: 0px;
1250
- min-inline-size: min-content;
1251
- border-width: 0px;
1252
- border-style: none;
1253
- border-color: transparent;
1254
- border-image: none;
1255
- `;
1256
- const Label$1 = styled.legend `
1257
- padding-inline-start: 0px;
1258
- padding-inline-end: 0px;
1259
-
1260
- color: ${Colors.BLACK.Hex};
1261
- font-family: ${FontStyles.DEFAULT};
1262
- font-size: ${FontSizes.DEFAULT};
1263
- font-weight: 500;
1264
- line-height: 22px;
1265
- margin-bottom: 6px;
1266
- `;
1267
- const Content$1 = styled.div `
1268
- padding: 20px;
1269
- border-radius: 8px;
1270
- background: #fcfcfc;
1241
+ };
1242
+
1243
+ const Wrapper$8 = styled.fieldset `
1244
+ margin-inline-start: 0px;
1245
+ margin-inline-end: 0px;
1246
+ padding-block-start: 0px;
1247
+ padding-inline-start: 0px;
1248
+ padding-inline-end: 0px;
1249
+ padding-block-end: 0px;
1250
+ min-inline-size: min-content;
1251
+ border-width: 0px;
1252
+ border-style: none;
1253
+ border-color: transparent;
1254
+ border-image: none;
1255
+ `;
1256
+ const Label$1 = styled.legend `
1257
+ padding-inline-start: 0px;
1258
+ padding-inline-end: 0px;
1259
+
1260
+ color: ${Colors.BLACK.Hex};
1261
+ font-family: ${FontStyles.DEFAULT};
1262
+ font-size: ${FontSizes.DEFAULT};
1263
+ font-weight: 500;
1264
+ line-height: 22px;
1265
+ margin-bottom: 6px;
1266
+ `;
1267
+ const Content$1 = styled.div `
1268
+ padding: 20px;
1269
+ border-radius: 8px;
1270
+ background: #fcfcfc;
1271
1271
  `;
1272
1272
  const FieldGroup = ({ children, label }) => {
1273
1273
  return (React.createElement(Wrapper$8, null,
1274
1274
  React.createElement(Label$1, null, label),
1275
1275
  React.createElement(Content$1, null, children)));
1276
- };
1277
-
1278
- const Dropzone = styled.div `
1279
- border-radius: 8px;
1280
- border-width: 1px;
1281
- border-style: dashed;
1282
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1283
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1284
- cursor: copy;
1276
+ };
1277
+
1278
+ const Dropzone = styled.div `
1279
+ border-radius: 8px;
1280
+ border-width: 1px;
1281
+ border-style: dashed;
1282
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1283
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1284
+ cursor: copy;
1285
1285
  `;
1286
1286
  Dropzone.defaultProps = { theme: EditableTheme };
1287
- const IconWrapper$1 = styled.div `
1288
- width: 80px;
1289
- height: 80px;
1290
- border-radius: 40px;
1291
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1292
- display: flex;
1293
- align-items: center;
1294
- justify-content: center;
1295
- `;
1296
- const StyledIcon$3 = styled(Icon) `
1297
- width: 40px !important;
1298
- height: 40px !important;
1299
-
1300
- > path {
1301
- fill: ${Colors.GRAY.Hex} !important;
1302
- }
1303
- `;
1304
- const ClickZone = styled.div `
1305
- margin: 40px 20px;
1306
- display: flex;
1307
- flex-direction: column;
1308
- align-items: center;
1309
- gap: 16px;
1310
- `;
1311
- const Content = styled.div `
1312
- display: flex;
1313
- flex-direction: column;
1314
- align-items: center;
1315
- gap: 2px;
1316
- `;
1317
- const Files = styled.div `
1318
- display: flex;
1319
- flex-direction: column;
1320
- align-self: stretch;
1321
- gap: 10px;
1322
- margin: 20px;
1323
- `;
1324
- const File = styled.div `
1325
- display: flex;
1326
- padding: 10px;
1327
- align-items: center;
1328
- justify-content: space-between;
1329
- gap: 10px;
1330
- border-radius: 4px;
1331
- border: 1px solid #cccccc;
1332
- background: #ffffff;
1333
- `;
1334
- const Remove = styled(Icon) `
1335
- width: 24px;
1336
- height: 24px;
1337
- cursor: pointer;
1338
-
1339
- > path {
1340
- fill: ${Colors.RED.Hex} !important;
1341
- }
1287
+ const IconWrapper$1 = styled.div `
1288
+ width: 80px;
1289
+ height: 80px;
1290
+ border-radius: 40px;
1291
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1292
+ display: flex;
1293
+ align-items: center;
1294
+ justify-content: center;
1295
+ `;
1296
+ const StyledIcon$3 = styled(Icon) `
1297
+ width: 40px !important;
1298
+ height: 40px !important;
1299
+
1300
+ > path {
1301
+ fill: ${Colors.GRAY.Hex} !important;
1302
+ }
1303
+ `;
1304
+ const ClickZone = styled.div `
1305
+ margin: 40px 20px;
1306
+ display: flex;
1307
+ flex-direction: column;
1308
+ align-items: center;
1309
+ gap: 16px;
1310
+ `;
1311
+ const Content = styled.div `
1312
+ display: flex;
1313
+ flex-direction: column;
1314
+ align-items: center;
1315
+ gap: 2px;
1316
+ `;
1317
+ const Files = styled.div `
1318
+ display: flex;
1319
+ flex-direction: column;
1320
+ align-self: stretch;
1321
+ gap: 10px;
1322
+ margin: 20px;
1323
+ `;
1324
+ const File = styled.div `
1325
+ display: flex;
1326
+ padding: 10px;
1327
+ align-items: center;
1328
+ justify-content: space-between;
1329
+ gap: 10px;
1330
+ border-radius: 4px;
1331
+ border: 1px solid #cccccc;
1332
+ background: #ffffff;
1333
+ `;
1334
+ const Remove = styled(Icon) `
1335
+ width: 24px;
1336
+ height: 24px;
1337
+ cursor: pointer;
1338
+
1339
+ > path {
1340
+ fill: ${Colors.RED.Hex} !important;
1341
+ }
1342
1342
  `;
1343
1343
  const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, message, validateFile, }) => {
1344
1344
  const inputRef = React.useRef(null);
@@ -1449,8 +1449,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, mes
1449
1449
  React.createElement(Content, null,
1450
1450
  React.createElement(Copy, { align: 'center', type: 'bold' }, "Drag & drop files here or click to select files"),
1451
1451
  message ? (React.createElement(Copy, { align: 'center', color: 'GRAY' }, message)) : null))) : null)));
1452
- };
1453
-
1452
+ };
1453
+
1454
1454
  const getAgesFromDob = (dob) => {
1455
1455
  let calculated_current_age = null;
1456
1456
  let calculated_nearest_age = null;
@@ -1523,8 +1523,8 @@ const formatAsSsn = (number) => {
1523
1523
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1524
1524
  }
1525
1525
  return formatted_value;
1526
- };
1527
-
1526
+ };
1527
+
1528
1528
  const StyledInput = styled.input `
1529
1529
  border: none !important;
1530
1530
  background: none !important;
@@ -1667,6 +1667,7 @@ const Loader$1 = styled.div `
1667
1667
  const Input$1 = (_a) => {
1668
1668
  var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown, onSuggestedSelect, placeholder, readOnly, showCharCount, step, style, suggestedValues, type = 'text', value = '' } = _a, accessibleProps = __rest(_a, ["format", "suffix", "height", "invalid", "loading", "max", "maxLength", "min", "onBlur", "onChange", "onFocus", "onKeyDown", "onSuggestedSelect", "placeholder", "readOnly", "showCharCount", "step", "style", "suggestedValues", "type", "value"]);
1669
1669
  const [show_options, setShowOptions] = React.useState(false);
1670
+ const inputRef = React.useRef(null);
1670
1671
  const handleInputChange = (e) => {
1671
1672
  if (format === 'currency' || format === 'currency_decimal') {
1672
1673
  e.target.value = e.target.value.replace(/[^0-9.]/g, '');
@@ -1723,7 +1724,7 @@ const Input$1 = (_a) => {
1723
1724
  React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: js.mdiLoading, size: '20px', spin: true }))) : null,
1724
1725
  showCharCount ? (React.createElement(CharacterCount, null,
1725
1726
  value.length,
1726
- maxLength ? ` / ${maxLength}` : null)) : null)) : (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!(suggestedValues === null || suggestedValues === void 0 ? void 0 : suggestedValues.length) },
1727
+ maxLength ? ` / ${maxLength}` : null)) : null)) : (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!(suggestedValues === null || suggestedValues === void 0 ? void 0 : suggestedValues.length), ref: inputRef },
1727
1728
  React.createElement(StyledInput, Object.assign({ "$height": height, "$invalid": invalid, "$readOnly": readOnly, max: max, maxLength: maxLength, min: min, onBlur: readOnly
1728
1729
  ? e => e.preventDefault()
1729
1730
  : e => {
@@ -1740,7 +1741,7 @@ const Input$1 = (_a) => {
1740
1741
  setShowOptions(true);
1741
1742
  if (onFocus)
1742
1743
  onFocus(e);
1743
- }, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder, step: step, type: type, value: formatted_value }, accessibleProps)),
1744
+ }, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder, ref: inputRef, step: step, type: type, value: formatted_value }, accessibleProps)),
1744
1745
  loading ? (React.createElement(Loader$1, null,
1745
1746
  React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: js.mdiLoading, size: '20px', spin: true }))) : null,
1746
1747
  showCharCount ? (React.createElement(CharacterCount, null,
@@ -1761,63 +1762,63 @@ const Input$1 = (_a) => {
1761
1762
  setShowOptions(false);
1762
1763
  } }, s_value));
1763
1764
  }))) : null));
1764
- };
1765
-
1766
- const Wrapper$7 = styled.a `
1767
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1768
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1769
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1770
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1771
- font-weight: 500;
1772
- font-style: normal;
1773
- text-decoration: 'none';
1774
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1775
- margin: 0px;
1776
- padding: 0px;
1777
- box-sizing: border-box;
1778
- cursor: pointer;
1765
+ };
1766
+
1767
+ const Wrapper$7 = styled.a `
1768
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1769
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1770
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1771
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1772
+ font-weight: 500;
1773
+ font-style: normal;
1774
+ text-decoration: 'none';
1775
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1776
+ margin: 0px;
1777
+ padding: 0px;
1778
+ box-sizing: border-box;
1779
+ cursor: pointer;
1779
1780
  `;
1780
1781
  Wrapper$7.defaultProps = { theme: EditableTheme };
1781
1782
  const Link = (_a) => {
1782
1783
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1783
1784
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
1784
- };
1785
-
1786
- const dash = styled.keyframes `
1787
- 0% {
1788
- stroke-dasharray: 1, 160;
1789
- stroke-dashoffset: 0;
1790
- }
1791
- 50% {
1792
- stroke-dasharray: 80, 160;
1793
- stroke-dashoffset: -32;
1794
- }
1795
- 100% {
1796
- stroke-dasharray: 80, 160;
1797
- stroke-dashoffset: -124;
1798
- }
1799
- `;
1800
- const Spinner = styled.svg `
1801
- z-index: 2;
1802
- position: absolute;
1803
- top: 50%;
1804
- left: 50%;
1805
- transform: translate(-50%, -50%);
1806
- margin: 0 auto;
1807
- width: 40px;
1808
- height: 40px;
1809
- `;
1810
- const Path = styled.path `
1811
- stroke: #0193d7;
1812
- stroke-linecap: round;
1813
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1814
- animation: ${dash} 1.1s ease-in-out infinite;
1785
+ };
1786
+
1787
+ const dash = styled.keyframes `
1788
+ 0% {
1789
+ stroke-dasharray: 1, 160;
1790
+ stroke-dashoffset: 0;
1791
+ }
1792
+ 50% {
1793
+ stroke-dasharray: 80, 160;
1794
+ stroke-dashoffset: -32;
1795
+ }
1796
+ 100% {
1797
+ stroke-dasharray: 80, 160;
1798
+ stroke-dashoffset: -124;
1799
+ }
1800
+ `;
1801
+ const Spinner = styled.svg `
1802
+ z-index: 2;
1803
+ position: absolute;
1804
+ top: 50%;
1805
+ left: 50%;
1806
+ transform: translate(-50%, -50%);
1807
+ margin: 0 auto;
1808
+ width: 40px;
1809
+ height: 40px;
1810
+ `;
1811
+ const Path = styled.path `
1812
+ stroke: #0193d7;
1813
+ stroke-linecap: round;
1814
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1815
+ animation: ${dash} 1.1s ease-in-out infinite;
1815
1816
  `;
1816
1817
  const Loader = () => {
1817
1818
  return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
1818
1819
  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', fill: 'none', strokeWidth: '2' })));
1819
- };
1820
-
1820
+ };
1821
+
1821
1822
  const Steps = styled.div `
1822
1823
  padding: 20px;
1823
1824
  border-bottom: 1px solid #e7e6e6;
@@ -1874,75 +1875,75 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
1874
1875
  step.complete ? (React.createElement(StyledIcon$2, { path: js.mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
1875
1876
  React.createElement(StepLabel, null, step.label))));
1876
1877
  })));
1877
- };
1878
-
1879
- const Wrapper$6 = styled.div `
1880
- position: fixed;
1881
- top: 0;
1882
- right: 0;
1883
- bottom: 0;
1884
- left: 0;
1885
- z-index: 9999;
1886
- background: rgba(0, 0, 0, 0.8);
1887
- display: flex;
1888
- align-items: center;
1889
- justify-content: center;
1890
- `;
1891
- const Container$1 = styled.dialog `
1892
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
1893
- max-width: calc(100vw - 80px);
1894
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
1895
- max-height: calc(100vh - 80px);
1896
- border-radius: 8px;
1897
- overflow: hidden;
1898
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1899
- outline: none;
1900
- border: none;
1901
- position: relative;
1902
- padding: 0px;
1903
- box-sizing: border-box;
1904
- display: flex;
1905
- flex-direction: column;
1906
- `;
1907
- const Header$1 = styled.div `
1908
- flex-shrink: 0;
1909
- padding: 20px;
1910
- border-bottom: 1px solid #e7e6e6;
1911
- display: flex;
1912
- align-items: center;
1913
- background: #ffffff;
1914
- box-sizing: border-box;
1915
- `;
1916
- const Close = styled.div `
1917
- margin-left: auto;
1918
- display: flex;
1919
- align-items: center;
1920
- padding-left: 20px;
1921
- cursor: pointer;
1922
- `;
1923
- const CloseMsg = styled.span `
1924
- font-size: ${FontSizes.SMALL};
1925
- font-weight: 400;
1926
- font-family: ${FontStyles.DEFAULT};
1927
- line-height: 1em;
1928
- color: ${Colors.MEDIUM_GRAY.Hex};
1929
- `;
1930
- const ContentWrapper = styled.div `
1931
- overflow-x: hidden;
1932
- overflow-y: auto;
1933
- background: #ffffff;
1934
- flex: 1;
1935
- box-sizing: border-box;
1936
- `;
1937
- const ButtonBar = styled.div `
1938
- flex-shrink: 0;
1939
- background: #ffffff;
1940
- padding: 20px;
1941
- border-top: 1px solid #e7e6e6;
1942
- display: flex;
1943
- align-items: center;
1944
- justify-self: flex-end;
1945
- box-sizing: border-box;
1878
+ };
1879
+
1880
+ const Wrapper$6 = styled.div `
1881
+ position: fixed;
1882
+ top: 0;
1883
+ right: 0;
1884
+ bottom: 0;
1885
+ left: 0;
1886
+ z-index: 9999;
1887
+ background: rgba(0, 0, 0, 0.8);
1888
+ display: flex;
1889
+ align-items: center;
1890
+ justify-content: center;
1891
+ `;
1892
+ const Container$1 = styled.dialog `
1893
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
1894
+ max-width: calc(100vw - 80px);
1895
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
1896
+ max-height: calc(100vh - 80px);
1897
+ border-radius: 8px;
1898
+ overflow: hidden;
1899
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1900
+ outline: none;
1901
+ border: none;
1902
+ position: relative;
1903
+ padding: 0px;
1904
+ box-sizing: border-box;
1905
+ display: flex;
1906
+ flex-direction: column;
1907
+ `;
1908
+ const Header$1 = styled.div `
1909
+ flex-shrink: 0;
1910
+ padding: 20px;
1911
+ border-bottom: 1px solid #e7e6e6;
1912
+ display: flex;
1913
+ align-items: center;
1914
+ background: #ffffff;
1915
+ box-sizing: border-box;
1916
+ `;
1917
+ const Close = styled.div `
1918
+ margin-left: auto;
1919
+ display: flex;
1920
+ align-items: center;
1921
+ padding-left: 20px;
1922
+ cursor: pointer;
1923
+ `;
1924
+ const CloseMsg = styled.span `
1925
+ font-size: ${FontSizes.SMALL};
1926
+ font-weight: 400;
1927
+ font-family: ${FontStyles.DEFAULT};
1928
+ line-height: 1em;
1929
+ color: ${Colors.MEDIUM_GRAY.Hex};
1930
+ `;
1931
+ const ContentWrapper = styled.div `
1932
+ overflow-x: hidden;
1933
+ overflow-y: auto;
1934
+ background: #ffffff;
1935
+ flex: 1;
1936
+ box-sizing: border-box;
1937
+ `;
1938
+ const ButtonBar = styled.div `
1939
+ flex-shrink: 0;
1940
+ background: #ffffff;
1941
+ padding: 20px;
1942
+ border-top: 1px solid #e7e6e6;
1943
+ display: flex;
1944
+ align-items: center;
1945
+ justify-self: flex-end;
1946
+ box-sizing: border-box;
1946
1947
  `;
1947
1948
  const Modal = (_a) => {
1948
1949
  var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton"]);
@@ -1975,8 +1976,8 @@ const Modal = (_a) => {
1975
1976
  } },
1976
1977
  secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: 'secondary' })) : null,
1977
1978
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: 'primary', margin: '0px 0px 0px 10px' }))) : null)) : null)) : null)));
1978
- };
1979
-
1979
+ };
1980
+
1980
1981
  const Wrapper$5 = styled.div `
1981
1982
  position: relative;
1982
1983
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
@@ -2083,37 +2084,37 @@ const MultiSelect = (_a) => {
2083
2084
  showOptions ? (React.createElement(Options, null,
2084
2085
  React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2085
2086
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
2086
- };
2087
-
2088
- const Wrapper$4 = styled.div `
2089
- display: flex;
2090
- padding: 16px 30px;
2091
- align-items: center;
2092
- gap: 20px;
2093
- align-self: stretch;
2094
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2095
- `;
2096
- const Title = styled.div `
2097
- display: flex;
2098
- align-items: center;
2099
- gap: 20px;
2100
- `;
2101
- const Info = styled.div `
2102
- display: flex;
2103
- flex-direction: column;
2104
- align-items: flex-start;
2105
- gap: 4px;
2106
- flex: 1 0 0;
2107
- `;
2108
- const Breadcrumbs = styled.div `
2109
- display: flex;
2110
- align-items: center;
2111
- gap: 4px;
2112
- `;
2113
- const Actions = styled.div `
2114
- display: flex;
2115
- align-items: center;
2116
- gap: 8px;
2087
+ };
2088
+
2089
+ const Wrapper$4 = styled.div `
2090
+ display: flex;
2091
+ padding: 16px 30px;
2092
+ align-items: center;
2093
+ gap: 20px;
2094
+ align-self: stretch;
2095
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2096
+ `;
2097
+ const Title = styled.div `
2098
+ display: flex;
2099
+ align-items: center;
2100
+ gap: 20px;
2101
+ `;
2102
+ const Info = styled.div `
2103
+ display: flex;
2104
+ flex-direction: column;
2105
+ align-items: flex-start;
2106
+ gap: 4px;
2107
+ flex: 1 0 0;
2108
+ `;
2109
+ const Breadcrumbs = styled.div `
2110
+ display: flex;
2111
+ align-items: center;
2112
+ gap: 4px;
2113
+ `;
2114
+ const Actions = styled.div `
2115
+ display: flex;
2116
+ align-items: center;
2117
+ gap: 8px;
2117
2118
  `;
2118
2119
  const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2119
2120
  const { format = 'primary', menuItems = [], label = '', } = buttonMenu || {};
@@ -2133,13 +2134,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2133
2134
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
2134
2135
  }),
2135
2136
  menuItems.length ? (React.createElement(ButtonMenu, { format: format, label: label, menuItems: menuItems, small: true })) : null)) : null));
2136
- };
2137
-
2138
- const Wrapper$3 = styled.nav `
2139
- box-sizing: border-box;
2140
- display: flex;
2141
- align-items: center;
2142
- column-gap: 10px;
2137
+ };
2138
+
2139
+ const Wrapper$3 = styled.nav `
2140
+ box-sizing: border-box;
2141
+ display: flex;
2142
+ align-items: center;
2143
+ column-gap: 10px;
2143
2144
  `;
2144
2145
  const Pagination = (_a) => {
2145
2146
  var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
@@ -2168,8 +2169,8 @@ const Pagination = (_a) => {
2168
2169
  value: `${p}`,
2169
2170
  })), value: `${currentPage}` }),
2170
2171
  React.createElement(Button, { disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true })));
2171
- };
2172
-
2172
+ };
2173
+
2173
2174
  const Wrapper$2 = styled.label `
2174
2175
  border-radius: 4px;
2175
2176
  padding: 4px 0px 4px 6px;
@@ -2253,77 +2254,77 @@ const Radio = (_a) => {
2253
2254
  React.createElement(Label, null,
2254
2255
  children,
2255
2256
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2256
- };
2257
-
2257
+ };
2258
+
2258
2259
  const RadioList = (_a) => {
2259
2260
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2260
2261
  return (React.createElement(React.Fragment, null, options.map((option) => {
2261
2262
  const label = option.label || option.value;
2262
2263
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2263
2264
  })));
2264
- };
2265
-
2266
- const StyledTable = styled.table `
2267
- width: 100%;
2268
- margin-top: 1px;
2269
- table-layout: ${props => props.$tableLayout || 'auto'};
2270
- border-collapse: collapse;
2271
- text-indent: 0px;
2272
- border-spacing: 0px;
2273
- border-color: none;
2274
- box-sizing: border-box;
2275
- `;
2276
- const Header = styled.th `
2277
- padding: 12px !important;
2278
- text-align: left;
2279
- font-weight: 500;
2280
- border-bottom: 1px solid #e5e5e5;
2281
- border-top: 1px solid #e5e5e5;
2282
- text-transform: uppercase;
2283
- font-size: 12px;
2284
- font-family: ${FontStyles.DEFAULT};
2285
- letter-spacing: 1px;
2286
- white-space: nowrap;
2287
- line-height: 1;
2288
- position: relative;
2289
- box-sizing: border-box;
2290
- width: ${props => props.$width || 'auto'};
2291
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2292
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2265
+ };
2266
+
2267
+ const StyledTable = styled.table `
2268
+ width: 100%;
2269
+ margin-top: 1px;
2270
+ table-layout: ${props => props.$tableLayout || 'auto'};
2271
+ border-collapse: collapse;
2272
+ text-indent: 0px;
2273
+ border-spacing: 0px;
2274
+ border-color: none;
2275
+ box-sizing: border-box;
2276
+ `;
2277
+ const Header = styled.th `
2278
+ padding: 12px !important;
2279
+ text-align: left;
2280
+ font-weight: 500;
2281
+ border-bottom: 1px solid #e5e5e5;
2282
+ border-top: 1px solid #e5e5e5;
2283
+ text-transform: uppercase;
2284
+ font-size: 12px;
2285
+ font-family: ${FontStyles.DEFAULT};
2286
+ letter-spacing: 1px;
2287
+ white-space: nowrap;
2288
+ line-height: 1;
2289
+ position: relative;
2290
+ box-sizing: border-box;
2291
+ width: ${props => props.$width || 'auto'};
2292
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2293
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2293
2294
  `;
2294
2295
  Header.defaultProps = { theme: EditableTheme };
2295
- const Row = styled.tr `
2296
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2297
- transition: all 0.2s;
2298
- background-color: ${props => props.$bgColor};
2299
- box-sizing: border-box;
2300
- &:hover {
2301
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2302
- }
2296
+ const Row = styled.tr `
2297
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2298
+ transition: all 0.2s;
2299
+ background-color: ${props => props.$bgColor};
2300
+ box-sizing: border-box;
2301
+ &:hover {
2302
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2303
+ }
2303
2304
  `;
2304
2305
  Row.defaultProps = { theme: EditableTheme };
2305
- const Column = styled.td `
2306
- padding: 16px 12px !important;
2307
- font-size: ${FontSizes.DEFAULT} !important;
2308
- font-weight: 400 !important;
2309
- font-family: ${FontStyles.DEFAULT};
2310
- border: none !important;
2311
- word-break: break-word;
2312
- line-height: 1.4em;
2313
- box-sizing: border-box;
2314
- text-align: ${props => props.$align || 'left'};
2315
- width: ${props => props.$width || 'auto'};
2316
- `;
2317
- const IconWrapper = styled.span `
2318
- position: absolute;
2319
- top: 50%;
2320
- transform: translateY(-50%);
2321
- margin-left: 2px;
2322
- `;
2323
- const StyledIcon$1 = styled(Icon) `
2324
- > path {
2325
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2326
- }
2306
+ const Column = styled.td `
2307
+ padding: 16px 12px !important;
2308
+ font-size: ${FontSizes.DEFAULT} !important;
2309
+ font-weight: 400 !important;
2310
+ font-family: ${FontStyles.DEFAULT};
2311
+ border: none !important;
2312
+ word-break: break-word;
2313
+ line-height: 1.4em;
2314
+ box-sizing: border-box;
2315
+ text-align: ${props => props.$align || 'left'};
2316
+ width: ${props => props.$width || 'auto'};
2317
+ `;
2318
+ const IconWrapper = styled.span `
2319
+ position: absolute;
2320
+ top: 50%;
2321
+ transform: translateY(-50%);
2322
+ margin-left: 2px;
2323
+ `;
2324
+ const StyledIcon$1 = styled(Icon) `
2325
+ > path {
2326
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2327
+ }
2327
2328
  `;
2328
2329
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2329
2330
  const Table = (_a) => {
@@ -2341,55 +2342,55 @@ const Table = (_a) => {
2341
2342
  return (React.createElement(Column, { "$align": columns[i].align, "$width": columns[i].width, key: i }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2342
2343
  })));
2343
2344
  }))) : null));
2344
- };
2345
-
2346
- const Wrapper$1 = styled.div `
2347
- display: flex;
2348
- box-sizing: border-box;
2349
- align-items: flex-end;
2350
- border-top: 1px solid #e5e5e5;
2351
- border-bottom: 1px solid #e5e5e5;
2352
- flex-shrink: 0;
2353
- align-self: stretch;
2354
- padding: 0;
2355
- margin: 0;
2356
- `;
2357
- const Tab = styled.div `
2358
- display: flex;
2359
- align-items: center;
2360
- gap: 6px;
2361
- font-size: ${FontSizes.DEFAULT};
2362
- font-family: ${FontStyles.DEFAULT};
2363
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2364
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2365
- line-height: 1em;
2366
- padding: 16px 30px 12px;
2367
- margin: 0 0 -1px 0;
2368
- border-bottom-width: 4px;
2369
- border-bottom-style: solid;
2370
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2371
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2372
- box-sizing: border-box;
2373
- &:hover {
2374
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2375
- font-weight: 500;
2376
- }
2345
+ };
2346
+
2347
+ const Wrapper$1 = styled.div `
2348
+ display: flex;
2349
+ box-sizing: border-box;
2350
+ align-items: flex-end;
2351
+ border-top: 1px solid #e5e5e5;
2352
+ border-bottom: 1px solid #e5e5e5;
2353
+ flex-shrink: 0;
2354
+ align-self: stretch;
2355
+ padding: 0;
2356
+ margin: 0;
2357
+ `;
2358
+ const Tab = styled.div `
2359
+ display: flex;
2360
+ align-items: center;
2361
+ gap: 6px;
2362
+ font-size: ${FontSizes.DEFAULT};
2363
+ font-family: ${FontStyles.DEFAULT};
2364
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2365
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2366
+ line-height: 1em;
2367
+ padding: 16px 30px 12px;
2368
+ margin: 0 0 -1px 0;
2369
+ border-bottom-width: 4px;
2370
+ border-bottom-style: solid;
2371
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2372
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2373
+ box-sizing: border-box;
2374
+ &:hover {
2375
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2376
+ font-weight: 500;
2377
+ }
2377
2378
  `;
2378
2379
  Tab.defaultProps = { theme: EditableTheme };
2379
- const Badge = styled.div `
2380
- display: flex;
2381
- width: 18px;
2382
- height: 18px;
2383
- justify-content: center;
2384
- align-items: center;
2385
- border-radius: 9px;
2386
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2387
- color: #fff;
2388
- font-family: ${FontStyles.DEFAULT};
2389
- font-size: 12px;
2390
- font-weight: 500;
2391
- line-height: 1;
2392
- letter-spacing: 1px;
2380
+ const Badge = styled.div `
2381
+ display: flex;
2382
+ width: 18px;
2383
+ height: 18px;
2384
+ justify-content: center;
2385
+ align-items: center;
2386
+ border-radius: 9px;
2387
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2388
+ color: #fff;
2389
+ font-family: ${FontStyles.DEFAULT};
2390
+ font-size: 12px;
2391
+ font-weight: 500;
2392
+ line-height: 1;
2393
+ letter-spacing: 1px;
2393
2394
  `;
2394
2395
  Badge.defaultProps = { theme: EditableTheme };
2395
2396
  const Tabs = (_a) => {
@@ -2401,29 +2402,29 @@ const Tabs = (_a) => {
2401
2402
  label));
2402
2403
  })));
2403
2404
  };
2404
- Tabs.defaultProps = {};
2405
-
2406
- const Track = styled.div `
2407
- height: 24px;
2408
- border-radius: 12px;
2409
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2410
- display: flex;
2411
- align-items: center;
2412
- cursor: pointer;
2413
- width: 40px;
2414
- padding: 2px;
2415
- box-sizing: border-box;
2416
- `;
2417
- const Handle = styled.div `
2418
- width: 20px;
2419
- height: 20px;
2420
- border-radius: 10px;
2421
- background: #ffffff;
2422
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2423
- display: flex;
2424
- align-items: center;
2425
- justify-content: center;
2426
- box-sizing: border-box;
2405
+ Tabs.defaultProps = {};
2406
+
2407
+ const Track = styled.div `
2408
+ height: 24px;
2409
+ border-radius: 12px;
2410
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2411
+ display: flex;
2412
+ align-items: center;
2413
+ cursor: pointer;
2414
+ width: 40px;
2415
+ padding: 2px;
2416
+ box-sizing: border-box;
2417
+ `;
2418
+ const Handle = styled.div `
2419
+ width: 20px;
2420
+ height: 20px;
2421
+ border-radius: 10px;
2422
+ background: #ffffff;
2423
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2424
+ display: flex;
2425
+ align-items: center;
2426
+ justify-content: center;
2427
+ box-sizing: border-box;
2427
2428
  `;
2428
2429
  const Toggle = (_a) => {
2429
2430
  var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
@@ -2432,32 +2433,32 @@ const Toggle = (_a) => {
2432
2433
  React.createElement(Handle, { "$on": on },
2433
2434
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? js.mdiCheck : js.mdiClose, size: '16px' }))));
2434
2435
  };
2435
- Toggle.defaultProps = {};
2436
-
2437
- const Container = styled.div `
2438
- width: 100%;
2439
- padding: 40px auto;
2440
- gap: 20px;
2441
- display: flex;
2442
- flex-direction: column;
2443
- justify-items: center;
2444
- align-items: center;
2445
- `;
2446
- const Wrapper = styled.div `
2447
- gap: 10px;
2448
- display: flex;
2449
- flex-direction: column;
2450
- justify-items: center;
2451
- align-items: center;
2452
- `;
2453
- const StyledIcon = styled.div `
2454
- display: flex;
2455
- align-items: center;
2456
- justify-content: center;
2457
- width: 80px;
2458
- height: 80px;
2459
- border-radius: 40px;
2460
- background: #f5f5f5;
2436
+ Toggle.defaultProps = {};
2437
+
2438
+ const Container = styled.div `
2439
+ width: 100%;
2440
+ padding: 40px auto;
2441
+ gap: 20px;
2442
+ display: flex;
2443
+ flex-direction: column;
2444
+ justify-items: center;
2445
+ align-items: center;
2446
+ `;
2447
+ const Wrapper = styled.div `
2448
+ gap: 10px;
2449
+ display: flex;
2450
+ flex-direction: column;
2451
+ justify-items: center;
2452
+ align-items: center;
2453
+ `;
2454
+ const StyledIcon = styled.div `
2455
+ display: flex;
2456
+ align-items: center;
2457
+ justify-content: center;
2458
+ width: 80px;
2459
+ height: 80px;
2460
+ border-radius: 40px;
2461
+ background: #f5f5f5;
2461
2462
  `;
2462
2463
  const ZeroState = (_a) => {
2463
2464
  var { icon, title, description, action } = _a, accessibleProps = __rest(_a, ["icon", "title", "description", "action"]);
@@ -2468,53 +2469,53 @@ const ZeroState = (_a) => {
2468
2469
  React.createElement(Heading, { children: title, type: 'tertiary' }),
2469
2470
  description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
2470
2471
  action && (React.createElement(Button, { children: action === null || action === void 0 ? void 0 : action.children, icon: action === null || action === void 0 ? void 0 : action.icon, onClick: action === null || action === void 0 ? void 0 : action.onClick }))));
2471
- };
2472
-
2473
- exports.Accordion = Accordion;
2474
- exports.ActionDialog = ActionDialog;
2475
- exports.Alert = Alert;
2476
- exports.AppHeader = AppHeader;
2477
- exports.AppMenu = AppMenu;
2478
- exports.BulkActionBar = BulkActionBar;
2479
- exports.Button = Button;
2480
- exports.ButtonMenu = ButtonMenu;
2481
- exports.Checkbox = Checkbox;
2482
- exports.Checklist = Checklist;
2483
- exports.Colors = Colors;
2484
- exports.Copy = Copy;
2485
- exports.DatePicker = DatePicker;
2486
- exports.Drawer = Drawer;
2487
- exports.EditableTheme = EditableTheme;
2488
- exports.Field = Field;
2489
- exports.FieldGroup = FieldGroup;
2490
- exports.FileUpload = FileUpload;
2491
- exports.FontSizes = FontSizes;
2492
- exports.FontStyles = FontStyles;
2493
- exports.Heading = Heading;
2494
- exports.Input = Input$1;
2495
- exports.Link = Link;
2496
- exports.Loader = Loader;
2497
- exports.Logo = Logo;
2498
- exports.Modal = Modal;
2499
- exports.MoreMenu = MoreMenu;
2500
- exports.MultiSelect = MultiSelect;
2501
- exports.PageHeader = PageHeader;
2502
- exports.Pagination = Pagination;
2503
- exports.ProgressBar = ProgressBar;
2504
- exports.Radio = Radio;
2505
- exports.RadioList = RadioList;
2506
- exports.Select = Select;
2507
- exports.Table = Table;
2508
- exports.Tabs = Tabs;
2509
- exports.Tag = Tag;
2510
- exports.Toggle = Toggle;
2511
- exports.Tooltip = Tooltip;
2512
- exports.ZeroState = ZeroState;
2513
- exports.formatAsPhone = formatAsPhone;
2514
- exports.formatAsSsn = formatAsSsn;
2515
- exports.getAgesFromDob = getAgesFromDob;
2516
- exports.getDaysForMonth = getDaysForMonth;
2517
- exports.getYears = getYears;
2518
- exports.validateEmail = validateEmail;
2519
- exports.validatePhone = validatePhone;
2520
- //# sourceMappingURL=index.js.map
2472
+ };
2473
+
2474
+ exports.Accordion = Accordion;
2475
+ exports.ActionDialog = ActionDialog;
2476
+ exports.Alert = Alert;
2477
+ exports.AppHeader = AppHeader;
2478
+ exports.AppMenu = AppMenu;
2479
+ exports.BulkActionBar = BulkActionBar;
2480
+ exports.Button = Button;
2481
+ exports.ButtonMenu = ButtonMenu;
2482
+ exports.Checkbox = Checkbox;
2483
+ exports.Checklist = Checklist;
2484
+ exports.Colors = Colors;
2485
+ exports.Copy = Copy;
2486
+ exports.DatePicker = DatePicker;
2487
+ exports.Drawer = Drawer;
2488
+ exports.EditableTheme = EditableTheme;
2489
+ exports.Field = Field;
2490
+ exports.FieldGroup = FieldGroup;
2491
+ exports.FileUpload = FileUpload;
2492
+ exports.FontSizes = FontSizes;
2493
+ exports.FontStyles = FontStyles;
2494
+ exports.Heading = Heading;
2495
+ exports.Input = Input$1;
2496
+ exports.Link = Link;
2497
+ exports.Loader = Loader;
2498
+ exports.Logo = Logo;
2499
+ exports.Modal = Modal;
2500
+ exports.MoreMenu = MoreMenu;
2501
+ exports.MultiSelect = MultiSelect;
2502
+ exports.PageHeader = PageHeader;
2503
+ exports.Pagination = Pagination;
2504
+ exports.ProgressBar = ProgressBar;
2505
+ exports.Radio = Radio;
2506
+ exports.RadioList = RadioList;
2507
+ exports.Select = Select;
2508
+ exports.Table = Table;
2509
+ exports.Tabs = Tabs;
2510
+ exports.Tag = Tag;
2511
+ exports.Toggle = Toggle;
2512
+ exports.Tooltip = Tooltip;
2513
+ exports.ZeroState = ZeroState;
2514
+ exports.formatAsPhone = formatAsPhone;
2515
+ exports.formatAsSsn = formatAsSsn;
2516
+ exports.getAgesFromDob = getAgesFromDob;
2517
+ exports.getDaysForMonth = getDaysForMonth;
2518
+ exports.getYears = getYears;
2519
+ exports.validateEmail = validateEmail;
2520
+ exports.validatePhone = validatePhone;
2521
+ //# sourceMappingURL=index.js.map