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