@hexure/ui 1.13.13 → 1.13.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,58 +229,58 @@ 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
-
255
- const H1 = styled.h1 `
256
- color: ${Colors.BLACK.Hex};
257
- font-size: 30px;
258
- font-weight: ${props => (props.$bold ? '500' : '400')};
259
- line-height: 1.4em;
260
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
261
- margin: ${props => props.$margin || '0px'};
262
- padding: ${props => props.$padding || '0px'};
263
- box-sizing: border-box;
264
- `;
265
- const H2 = styled.h2 `
266
- color: ${Colors.BLACK.Hex};
267
- font-size: 24px;
268
- font-weight: ${props => (props.$bold ? '500' : '400')};
269
- line-height: 1.33em;
270
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
271
- margin: ${props => props.$margin || '0px'};
272
- padding: ${props => props.$padding || '0px'};
273
- box-sizing: border-box;
274
- `;
275
- const H3 = styled.h3 `
276
- color: ${Colors.BLACK.Hex};
277
- font-size: 18px;
278
- font-weight: ${props => (props.$bold ? '500' : '400')};
279
- line-height: 1.33em;
280
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
281
- margin: ${props => props.$margin || '0px'};
282
- padding: ${props => props.$padding || '0px'};
283
- box-sizing: border-box;
253
+ };
254
+
255
+ const H1 = styled.h1 `
256
+ color: ${Colors.BLACK.Hex};
257
+ font-size: 30px;
258
+ font-weight: ${props => (props.$bold ? '500' : '400')};
259
+ line-height: 1.4em;
260
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
261
+ margin: ${props => props.$margin || '0px'};
262
+ padding: ${props => props.$padding || '0px'};
263
+ box-sizing: border-box;
264
+ `;
265
+ const H2 = styled.h2 `
266
+ color: ${Colors.BLACK.Hex};
267
+ font-size: 24px;
268
+ font-weight: ${props => (props.$bold ? '500' : '400')};
269
+ line-height: 1.33em;
270
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
271
+ margin: ${props => props.$margin || '0px'};
272
+ padding: ${props => props.$padding || '0px'};
273
+ box-sizing: border-box;
274
+ `;
275
+ const H3 = styled.h3 `
276
+ color: ${Colors.BLACK.Hex};
277
+ font-size: 18px;
278
+ font-weight: ${props => (props.$bold ? '500' : '400')};
279
+ line-height: 1.33em;
280
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
281
+ margin: ${props => props.$margin || '0px'};
282
+ padding: ${props => props.$padding || '0px'};
283
+ box-sizing: border-box;
284
284
  `;
285
285
  const Heading = (_a) => {
286
286
  var { bold, children, margin, padding, type } = _a, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type"]);
@@ -299,29 +299,29 @@ const Heading = (_a) => {
299
299
  Heading.defaultProps = {
300
300
  bold: false,
301
301
  type: 'primary',
302
- };
303
-
304
- const Wrapper$h = styled.div `
305
- position: fixed;
306
- top: 0;
307
- right: 0;
308
- bottom: 0;
309
- left: 0;
310
- z-index: 9999;
311
- background: rgba(0, 0, 0, 0.8);
312
- display: flex;
313
- align-items: center;
314
- justify-content: center;
315
- box-sizing: border-box;
302
+ };
303
+
304
+ const Wrapper$h = styled.div `
305
+ position: fixed;
306
+ top: 0;
307
+ right: 0;
308
+ bottom: 0;
309
+ left: 0;
310
+ z-index: 9999;
311
+ background: rgba(0, 0, 0, 0.8);
312
+ display: flex;
313
+ align-items: center;
314
+ justify-content: center;
315
+ box-sizing: border-box;
316
316
  `;
317
317
  const Container$4 = styled.dialog(props => (Object.assign({ maxWidth: '600px', width: 'auto', borderRadius: '8px', overflow: 'hidden', boxShadow: '0px 10px 30px -15px rgba(0, 0, 0, 0.2)', outline: 'none', border: 'none', position: 'relative', padding: '40px', textAlign: 'center', boxSizing: 'border-box', wordWrap: 'break-word' }, props.$customStyle)));
318
- const Buttons$1 = styled.div `
319
- display: flex;
320
- gap: 10px;
321
- align-items: center;
322
- justify-content: center;
323
- margin-top: 30px;
324
- box-sizing: border-box;
318
+ const Buttons$1 = styled.div `
319
+ display: flex;
320
+ gap: 10px;
321
+ align-items: center;
322
+ justify-content: center;
323
+ margin-top: 30px;
324
+ box-sizing: border-box;
325
325
  `;
326
326
  const ActionDialog = (_a) => {
327
327
  var { description, title, primaryButton, secondaryButton, tertiaryButton, style = {} } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton", "style"]);
@@ -333,29 +333,29 @@ const ActionDialog = (_a) => {
333
333
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
334
334
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
335
335
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)));
336
- };
337
-
338
- const Wrapper$g = 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$g = 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$f = 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$f = 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$1 = 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$1 = 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$e = 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$e = 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$e.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,8 +681,8 @@ 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
-
684
+ };
685
+
686
686
  const Wrapper$d = styled.div `
687
687
  background: #fff;
688
688
  border-radius: 8px;
@@ -735,8 +735,8 @@ const MoreMenu = (_a) => {
735
735
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
736
736
  React.createElement(Title$1, { disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
737
737
  })));
738
- };
739
-
738
+ };
739
+
740
740
  const MenuWrapper = styled.div `
741
741
  position: relative;
742
742
  display: inline-block;
@@ -824,19 +824,19 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
824
824
  return (React.createElement(MenuWrapper, { onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
825
825
  React.createElement(Button, { disabled: disabled, format: format, icon: js.mdiDotsHorizontal, small: small }, label),
826
826
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, maxHeight: maxHeight, menuItems: menuItems }))));
827
- };
828
-
829
- const Wrapper$c = styled.div `
830
- display: inline-block;
831
- position: relative;
832
- height: 16px;
833
- `;
834
- const StyledIcon$4 = styled(Icon) `
835
- width: 16px;
836
- height: 16px;
837
- margin: 0px 6px;
838
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
839
- cursor: pointer;
827
+ };
828
+
829
+ const Wrapper$c = styled.div `
830
+ display: inline-block;
831
+ position: relative;
832
+ height: 16px;
833
+ `;
834
+ const StyledIcon$4 = styled(Icon) `
835
+ width: 16px;
836
+ height: 16px;
837
+ margin: 0px 6px;
838
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
839
+ cursor: pointer;
840
840
  `;
841
841
  StyledIcon$4.defaultProps = { theme: EditableTheme };
842
842
  const positions = {
@@ -874,85 +874,85 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
874
874
  return (React.createElement(Wrapper$c, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
875
875
  trigger || React.createElement(StyledIcon$4, { path: js.mdiInformationOutline }),
876
876
  show_content ? (React.createElement(Content$2, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
877
- };
878
-
879
- const Wrapper$b = styled.label `
880
- border-radius: 4px;
881
- padding: 4px 0px 4px 6px;
882
- margin-left: -6px;
883
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
884
- display: flex;
885
- align-items: center;
886
- font-size: ${FontSizes.DEFAULT};
887
- line-height: 1.6em;
888
- box-sizing: border-box;
889
- position: relative;
890
-
891
- &:focus-within {
892
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
893
- }
877
+ };
878
+
879
+ const Wrapper$b = styled.label `
880
+ border-radius: 4px;
881
+ padding: 4px 0px 4px 6px;
882
+ margin-left: -6px;
883
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
884
+ display: flex;
885
+ align-items: center;
886
+ font-size: ${FontSizes.DEFAULT};
887
+ line-height: 1.6em;
888
+ box-sizing: border-box;
889
+ position: relative;
890
+
891
+ &:focus-within {
892
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
893
+ }
894
894
  `;
895
895
  Wrapper$b.defaultProps = { theme: EditableTheme };
896
- const Input$2 = styled.input `
897
- font-size: 20px;
898
- margin: 0px;
899
- line-height: 1.1em;
900
- box-sizing: border-box;
901
- position: absolute;
902
- opacity: 0;
903
- cursor: pointer;
904
- height: 0;
905
- width: 0;
906
- &:checked + span {
907
- background-color: ${Colors.PRIMARY.Hex};
908
- border-color: ${Colors.PRIMARY.Hex};
909
- }
910
- &:checked:disabled + span {
911
- background-color: ${Colors.MEDIUM_GRAY.Hex};
912
- border-color: ${Colors.MEDIUM_GRAY.Hex};
913
- }
914
- &:disabled + span {
915
- background-color: #d3d3d3;
916
- border-color: #d3d3d3;
917
- }
918
- &:checked + span:after {
919
- display: block;
920
- }
921
- `;
922
- const Check$1 = styled.span `
923
- height: 17px;
924
- width: 17px;
925
- min-width: 17px;
926
- background-color: #fff;
927
- border-width: 2px;
928
- border-style: solid;
929
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
930
- box-sizing: border-box;
931
- position: relative;
932
- &:after {
933
- content: '';
934
- position: absolute;
935
- left: 3px;
936
- top: 0px;
937
- width: 7px;
938
- height: 12px;
939
- border: solid white;
940
- border-width: 0 3px 3px 0;
941
- -webkit-transform: rotate(45deg);
942
- -ms-transform: rotate(45deg);
943
- transform: rotate(45deg);
944
- box-sizing: border-box;
945
- display: none;
946
- }
947
- `;
948
- const Label$3 = styled.span `
949
- font-family: ${FontStyles.DEFAULT};
950
- font-size: ${FontSizes.DEFAULT};
951
- font-weight: 400;
952
- line-height: 1.6em;
953
- color: ${props => props.color || Colors.BLACK.Hex};
954
- margin-left: 6px;
955
- box-sizing: border-box;
896
+ const Input$2 = styled.input `
897
+ font-size: 20px;
898
+ margin: 0px;
899
+ line-height: 1.1em;
900
+ box-sizing: border-box;
901
+ position: absolute;
902
+ opacity: 0;
903
+ cursor: pointer;
904
+ height: 0;
905
+ width: 0;
906
+ &:checked + span {
907
+ background-color: ${Colors.PRIMARY.Hex};
908
+ border-color: ${Colors.PRIMARY.Hex};
909
+ }
910
+ &:checked:disabled + span {
911
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
912
+ border-color: ${Colors.MEDIUM_GRAY.Hex};
913
+ }
914
+ &:disabled + span {
915
+ background-color: #d3d3d3;
916
+ border-color: #d3d3d3;
917
+ }
918
+ &:checked + span:after {
919
+ display: block;
920
+ }
921
+ `;
922
+ const Check$1 = styled.span `
923
+ height: 17px;
924
+ width: 17px;
925
+ min-width: 17px;
926
+ background-color: #fff;
927
+ border-width: 2px;
928
+ border-style: solid;
929
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
930
+ box-sizing: border-box;
931
+ position: relative;
932
+ &:after {
933
+ content: '';
934
+ position: absolute;
935
+ left: 3px;
936
+ top: 0px;
937
+ width: 7px;
938
+ height: 12px;
939
+ border: solid white;
940
+ border-width: 0 3px 3px 0;
941
+ -webkit-transform: rotate(45deg);
942
+ -ms-transform: rotate(45deg);
943
+ transform: rotate(45deg);
944
+ box-sizing: border-box;
945
+ display: none;
946
+ }
947
+ `;
948
+ const Label$3 = styled.span `
949
+ font-family: ${FontStyles.DEFAULT};
950
+ font-size: ${FontSizes.DEFAULT};
951
+ font-weight: 400;
952
+ line-height: 1.6em;
953
+ color: ${props => props.color || Colors.BLACK.Hex};
954
+ margin-left: 6px;
955
+ box-sizing: border-box;
956
956
  `;
957
957
  const Checkbox = (_a) => {
958
958
  var { children, color, disabled, checked, onChange, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip"]);
@@ -962,16 +962,16 @@ const Checkbox = (_a) => {
962
962
  children ? (React.createElement(Label$3, { color: color },
963
963
  children,
964
964
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
965
- };
966
-
967
- const SelectAll = styled.div `
968
- padding: 8px 12px;
969
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
970
- box-sizing: border-box;
965
+ };
966
+
967
+ const SelectAll = styled.div `
968
+ padding: 8px 12px;
969
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
970
+ box-sizing: border-box;
971
971
  `;
972
- const Options$1 = styled.div `
973
- padding: 12px;
974
- box-sizing: border-box;
972
+ const Options$1 = styled.div `
973
+ padding: 12px;
974
+ box-sizing: border-box;
975
975
  `;
976
976
  const Checklist = (_a) => {
977
977
  var { disabled, onChange, options, selected = [], showSelectAll } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
@@ -1008,70 +1008,70 @@ const Checklist = (_a) => {
1008
1008
  const checked = selected.includes(option.value);
1009
1009
  return (React.createElement(Checkbox, Object.assign({ key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1010
1010
  }))));
1011
- };
1012
-
1013
- const Wrapper$a = styled.div `
1014
- border-radius: 4px;
1015
- height: 40px;
1016
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1017
- position: relative;
1018
- cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1019
- border-width: 1px;
1020
- border-style: solid;
1021
- border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1022
- border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1023
- flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1024
- box-sizing: border-box;
1025
- padding: 10px 0px;
1026
- display: flex;
1027
- align-items: center;
1028
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1029
-
1030
- &:focus-within {
1031
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1032
- }
1011
+ };
1012
+
1013
+ const Wrapper$a = styled.div `
1014
+ border-radius: 4px;
1015
+ height: 40px;
1016
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1017
+ position: relative;
1018
+ cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1019
+ border-width: 1px;
1020
+ border-style: solid;
1021
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1022
+ border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1023
+ flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1024
+ box-sizing: border-box;
1025
+ padding: 10px 0px;
1026
+ display: flex;
1027
+ align-items: center;
1028
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1029
+
1030
+ &:focus-within {
1031
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1032
+ }
1033
1033
  `;
1034
1034
  Wrapper$a.defaultProps = { theme: EditableTheme };
1035
- const Trigger$1 = styled.select `
1036
- appearance: none;
1037
- box-shadow: none;
1038
- outline: none;
1039
- border: none;
1040
- color: ${Colors.BLACK.Hex};
1041
- font-size: ${FontSizes.DEFAULT};
1042
- font-weight: 400;
1043
- font-family: ${FontStyles.DEFAULT};
1044
- line-height: 2.9em;
1045
- background-color: transparent;
1046
- background-image: none;
1047
- width: 100%;
1048
- box-sizing: border-box;
1049
- padding: 0px 30px 0px 10px;
1050
- box-sizing: border-box;
1051
- position: relative;
1052
- z-index: 2;
1053
- `;
1054
- const IconWrapper$2 = styled(Icon) `
1055
- position: absolute;
1056
- right: 9px;
1057
- z-index: 1;
1058
- `;
1059
- const SearchInput$1 = styled.input `
1060
- position: absolute;
1061
- left: 2px;
1062
- top: 2px;
1063
- z-index: 999;
1064
- width: 90%;
1065
- height: 30px;
1066
- border: none;
1067
- outline: none;
1068
- color: ${Colors.BLACK.Hex};
1069
- font-family: ${FontStyles.DEFAULT};
1070
- font-size: ${FontSizes.DEFAULT};
1071
- font-weight: 400;
1072
- line-height: 2.9em;
1073
- overflow: hidden;
1074
- white-space: nowrap;
1035
+ const Trigger$1 = styled.select `
1036
+ appearance: none;
1037
+ box-shadow: none;
1038
+ outline: none;
1039
+ border: none;
1040
+ color: ${Colors.BLACK.Hex};
1041
+ font-size: ${FontSizes.DEFAULT};
1042
+ font-weight: 400;
1043
+ font-family: ${FontStyles.DEFAULT};
1044
+ line-height: 2.9em;
1045
+ background-color: transparent;
1046
+ background-image: none;
1047
+ width: 100%;
1048
+ box-sizing: border-box;
1049
+ padding: 0px 30px 0px 10px;
1050
+ box-sizing: border-box;
1051
+ position: relative;
1052
+ z-index: 2;
1053
+ `;
1054
+ const IconWrapper$2 = styled(Icon) `
1055
+ position: absolute;
1056
+ right: 9px;
1057
+ z-index: 1;
1058
+ `;
1059
+ const SearchInput$1 = styled.input `
1060
+ position: absolute;
1061
+ left: 2px;
1062
+ top: 2px;
1063
+ z-index: 999;
1064
+ width: 90%;
1065
+ height: 30px;
1066
+ border: none;
1067
+ outline: none;
1068
+ color: ${Colors.BLACK.Hex};
1069
+ font-family: ${FontStyles.DEFAULT};
1070
+ font-size: ${FontSizes.DEFAULT};
1071
+ font-weight: 400;
1072
+ line-height: 2.9em;
1073
+ overflow: hidden;
1074
+ white-space: nowrap;
1075
1075
  `;
1076
1076
  const Select = (_a) => {
1077
1077
  var { options, optionGroups, placeholder, readOnly, invalid, searchable = false, value, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style"]);
@@ -1107,15 +1107,15 @@ const Select = (_a) => {
1107
1107
  return (React.createElement("option", { key: i, value: option.value }, option.label || option.value));
1108
1108
  }))),
1109
1109
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: js.mdiChevronDown, size: '22px' })));
1110
- };
1111
-
1112
- const DatePickerWrapper = styled.div `
1113
- display: flex;
1114
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1110
+ };
1111
+
1112
+ const DatePickerWrapper = styled.div `
1113
+ display: flex;
1114
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1115
1115
  `;
1116
- const Middle = styled.div `
1117
- margin: 0px -1px;
1118
- flex-grow: 1;
1116
+ const Middle = styled.div `
1117
+ margin: 0px -1px;
1118
+ flex-grow: 1;
1119
1119
  `;
1120
1120
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date, onChange, style, }) => {
1121
1121
  const [selectedDay, setSelectedDay] = React.useState('');
@@ -1197,66 +1197,66 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
1197
1197
  React.createElement(Middle, null,
1198
1198
  React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1199
1199
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, placeholder: 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1200
- };
1201
-
1202
- const Scrim$1 = styled.div `
1203
- position: ${({ $position }) => $position};
1204
- top: 0;
1205
- right: 0;
1206
- bottom: 0;
1207
- left: 0;
1208
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1209
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1210
- `;
1211
- const Container$2 = styled.div `
1212
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1213
- min-width: 400px;
1214
- width: ${({ $width }) => $width || '400px'};
1215
- overflow: hidden;
1216
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1217
- outline: none;
1218
- border: none;
1219
- position: ${({ $position }) => $position};
1220
- top: 0;
1221
- right: 0;
1222
- bottom: 0;
1223
- padding: 0px;
1224
- display: flex;
1225
- flex-direction: column;
1226
- box-sizing: border-box;
1227
- background: #fff;
1228
- `;
1229
- const Header$2 = styled.div `
1230
- padding: 30px 20px;
1231
- display: flex;
1232
- align-items: flex-start;
1233
- box-sizing: border-box;
1234
- flex-shrink: 0;
1235
- background: #fff;
1236
- `;
1237
- const Close$1 = styled.div `
1238
- margin-left: auto;
1239
- display: flex;
1240
- align-items: center;
1241
- padding-left: 20px;
1242
- cursor: pointer;
1243
- `;
1244
- const ContentWrapper$1 = styled.div `
1245
- overflow-x: hidden;
1246
- overflow-y: auto;
1247
- box-sizing: border-box;
1248
- flex: 1;
1249
- background: #fff;
1250
- `;
1251
- const ButtonBar$1 = styled.div `
1252
- padding: 20px;
1253
- display: flex;
1254
- align-items: center;
1255
- justify-content: flex-end;
1256
- box-sizing: border-box;
1257
- gap: 10px;
1258
- flex-shrink: 0;
1259
- background: #fff;
1200
+ };
1201
+
1202
+ const Scrim$1 = styled.div `
1203
+ position: ${({ $position }) => $position};
1204
+ top: 0;
1205
+ right: 0;
1206
+ bottom: 0;
1207
+ left: 0;
1208
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1209
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1210
+ `;
1211
+ const Container$2 = styled.div `
1212
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1213
+ min-width: 400px;
1214
+ width: ${({ $width }) => $width || '400px'};
1215
+ overflow: hidden;
1216
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1217
+ outline: none;
1218
+ border: none;
1219
+ position: ${({ $position }) => $position};
1220
+ top: 0;
1221
+ right: 0;
1222
+ bottom: 0;
1223
+ padding: 0px;
1224
+ display: flex;
1225
+ flex-direction: column;
1226
+ box-sizing: border-box;
1227
+ background: #fff;
1228
+ `;
1229
+ const Header$2 = styled.div `
1230
+ padding: 30px 20px;
1231
+ display: flex;
1232
+ align-items: flex-start;
1233
+ box-sizing: border-box;
1234
+ flex-shrink: 0;
1235
+ background: #fff;
1236
+ `;
1237
+ const Close$1 = styled.div `
1238
+ margin-left: auto;
1239
+ display: flex;
1240
+ align-items: center;
1241
+ padding-left: 20px;
1242
+ cursor: pointer;
1243
+ `;
1244
+ const ContentWrapper$1 = styled.div `
1245
+ overflow-x: hidden;
1246
+ overflow-y: auto;
1247
+ box-sizing: border-box;
1248
+ flex: 1;
1249
+ background: #fff;
1250
+ `;
1251
+ const ButtonBar$1 = styled.div `
1252
+ padding: 20px;
1253
+ display: flex;
1254
+ align-items: center;
1255
+ justify-content: flex-end;
1256
+ box-sizing: border-box;
1257
+ gap: 10px;
1258
+ flex-shrink: 0;
1259
+ background: #fff;
1260
1260
  `;
1261
1261
  const Drawer = (_a) => {
1262
1262
  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"]);
@@ -1284,55 +1284,55 @@ const Drawer = (_a) => {
1284
1284
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
1285
1285
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null),
1286
1286
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1287
- };
1288
-
1287
+ };
1288
+
1289
1289
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1290
- const LabelRow = styled.div `
1291
- display: flex;
1292
- align-items: center;
1293
- justify-content: space-between;
1294
- margin: 0 0 4px 0;
1295
- box-sizing: border-box;
1296
- `;
1297
- const Label$2 = styled.label `
1298
- font-size: ${FontSizes.DEFAULT};
1299
- font-weight: 500;
1300
- line-height: 1.3em;
1301
- font-family: ${FontStyles.DEFAULT};
1302
- color: ${Colors.BLACK.Hex};
1303
- display: flex;
1304
- align-items: center;
1305
- `;
1306
- const Required = styled.span `
1307
- color: ${Colors.RED.Hex};
1308
- margin-left: 4px;
1309
- `;
1310
- const Action = styled.span `
1311
- font-size: ${FontSizes.DEFAULT};
1312
- font-weight: 500;
1313
- line-height: 1em;
1314
- font-family: ${FontStyles.DEFAULT};
1315
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1316
- cursor: pointer;
1290
+ const LabelRow = styled.div `
1291
+ display: flex;
1292
+ align-items: center;
1293
+ justify-content: space-between;
1294
+ margin: 0 0 4px 0;
1295
+ box-sizing: border-box;
1296
+ `;
1297
+ const Label$2 = styled.label `
1298
+ font-size: ${FontSizes.DEFAULT};
1299
+ font-weight: 500;
1300
+ line-height: 1.3em;
1301
+ font-family: ${FontStyles.DEFAULT};
1302
+ color: ${Colors.BLACK.Hex};
1303
+ display: flex;
1304
+ align-items: center;
1305
+ `;
1306
+ const Required = styled.span `
1307
+ color: ${Colors.RED.Hex};
1308
+ margin-left: 4px;
1309
+ `;
1310
+ const Action = styled.span `
1311
+ font-size: ${FontSizes.DEFAULT};
1312
+ font-weight: 500;
1313
+ line-height: 1em;
1314
+ font-family: ${FontStyles.DEFAULT};
1315
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1316
+ cursor: pointer;
1317
1317
  `;
1318
1318
  Action.defaultProps = { theme: EditableTheme };
1319
- const Description = styled.div `
1320
- font-size: ${FontSizes.SMALL};
1321
- font-weight: 400;
1322
- line-height: 1.3em;
1323
- font-family: ${FontStyles.DEFAULT};
1324
- color: ${Colors.BLACK.Hex};
1325
- margin: 0 0 8px 0;
1326
- box-sizing: border-box;
1327
- `;
1328
- const Validation = styled.div `
1329
- font-size: ${FontSizes.SMALL};
1330
- font-weight: 400;
1331
- line-height: 1.3em;
1332
- font-family: ${FontStyles.DEFAULT};
1333
- color: ${Colors.RED.Hex};
1334
- margin: 4px 0 0 0;
1335
- box-sizing: border-box;
1319
+ const Description = styled.div `
1320
+ font-size: ${FontSizes.SMALL};
1321
+ font-weight: 400;
1322
+ line-height: 1.3em;
1323
+ font-family: ${FontStyles.DEFAULT};
1324
+ color: ${Colors.BLACK.Hex};
1325
+ margin: 0 0 8px 0;
1326
+ box-sizing: border-box;
1327
+ `;
1328
+ const Validation = styled.div `
1329
+ font-size: ${FontSizes.SMALL};
1330
+ font-weight: 400;
1331
+ line-height: 1.3em;
1332
+ font-family: ${FontStyles.DEFAULT};
1333
+ color: ${Colors.RED.Hex};
1334
+ margin: 4px 0 0 0;
1335
+ box-sizing: border-box;
1336
1336
  `;
1337
1337
  const Field = (_a) => {
1338
1338
  var { action, children, validationText, label, description, required, htmlFor, style = {}, tooltip } = _a, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style", "tooltip"]);
@@ -1346,112 +1346,112 @@ const Field = (_a) => {
1346
1346
  description ? React.createElement(Description, null, description) : null,
1347
1347
  children,
1348
1348
  validationText ? React.createElement(Validation, null, validationText) : null));
1349
- };
1350
-
1351
- const Wrapper$8 = styled.fieldset `
1352
- margin-inline-start: 0px;
1353
- margin-inline-end: 0px;
1354
- padding-block-start: 0px;
1355
- padding-inline-start: 0px;
1356
- padding-inline-end: 0px;
1357
- padding-block-end: 0px;
1358
- min-inline-size: min-content;
1359
- border-width: 0px;
1360
- border-style: none;
1361
- border-color: transparent;
1362
- border-image: none;
1363
- `;
1364
- const Label$1 = styled.legend `
1365
- padding-inline-start: 0px;
1366
- padding-inline-end: 0px;
1367
-
1368
- color: ${Colors.BLACK.Hex};
1369
- font-family: ${FontStyles.DEFAULT};
1370
- font-size: ${FontSizes.DEFAULT};
1371
- font-weight: 500;
1372
- line-height: 22px;
1373
- margin-bottom: 6px;
1374
- `;
1375
- const Content$1 = styled.div `
1376
- padding: 20px;
1377
- border-radius: 8px;
1378
- background: #fcfcfc;
1349
+ };
1350
+
1351
+ const Wrapper$8 = styled.fieldset `
1352
+ margin-inline-start: 0px;
1353
+ margin-inline-end: 0px;
1354
+ padding-block-start: 0px;
1355
+ padding-inline-start: 0px;
1356
+ padding-inline-end: 0px;
1357
+ padding-block-end: 0px;
1358
+ min-inline-size: min-content;
1359
+ border-width: 0px;
1360
+ border-style: none;
1361
+ border-color: transparent;
1362
+ border-image: none;
1363
+ `;
1364
+ const Label$1 = styled.legend `
1365
+ padding-inline-start: 0px;
1366
+ padding-inline-end: 0px;
1367
+
1368
+ color: ${Colors.BLACK.Hex};
1369
+ font-family: ${FontStyles.DEFAULT};
1370
+ font-size: ${FontSizes.DEFAULT};
1371
+ font-weight: 500;
1372
+ line-height: 22px;
1373
+ margin-bottom: 6px;
1374
+ `;
1375
+ const Content$1 = styled.div `
1376
+ padding: 20px;
1377
+ border-radius: 8px;
1378
+ background: #fcfcfc;
1379
1379
  `;
1380
1380
  const FieldGroup = ({ children, label }) => {
1381
1381
  return (React.createElement(Wrapper$8, null,
1382
1382
  React.createElement(Label$1, null, label),
1383
1383
  React.createElement(Content$1, null, children)));
1384
- };
1385
-
1386
- const Dropzone = styled.div `
1387
- border-radius: 8px;
1388
- border-width: 1px;
1389
- border-style: dashed;
1390
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1391
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1392
- cursor: copy;
1384
+ };
1385
+
1386
+ const Dropzone = styled.div `
1387
+ border-radius: 8px;
1388
+ border-width: 1px;
1389
+ border-style: dashed;
1390
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1391
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1392
+ cursor: copy;
1393
1393
  `;
1394
1394
  Dropzone.defaultProps = { theme: EditableTheme };
1395
- const IconWrapper$1 = styled.div `
1396
- width: 80px;
1397
- height: 80px;
1398
- border-radius: 40px;
1399
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1400
- display: flex;
1401
- align-items: center;
1402
- justify-content: center;
1403
- `;
1404
- const StyledIcon$3 = styled(Icon) `
1405
- width: 40px !important;
1406
- height: 40px !important;
1407
-
1408
- > path {
1409
- fill: ${Colors.GRAY.Hex} !important;
1410
- }
1411
- `;
1412
- const ClickZone = styled.div `
1413
- margin: 40px 20px;
1414
- display: flex;
1415
- flex-direction: column;
1416
- align-items: center;
1417
- gap: 16px;
1418
- `;
1419
- const Content = styled.div `
1420
- display: flex;
1421
- flex-direction: column;
1422
- align-items: center;
1423
- gap: 2px;
1424
- `;
1425
- const Files = styled.div `
1426
- display: flex;
1427
- flex-direction: column;
1428
- align-self: stretch;
1429
- gap: 10px;
1430
- margin: 20px;
1431
- `;
1432
- const MessageDiv = styled.div `
1433
- display: flex;
1434
- align-items: center;
1435
- justify-content: center;
1436
- `;
1437
- const File = styled.div `
1438
- display: flex;
1439
- padding: 10px;
1440
- align-items: center;
1441
- justify-content: space-between;
1442
- gap: 10px;
1443
- border-radius: 4px;
1444
- border: 1px solid #cccccc;
1445
- background: #ffffff;
1446
- `;
1447
- const Remove = styled(Icon) `
1448
- width: 24px;
1449
- height: 24px;
1450
- cursor: pointer;
1451
-
1452
- > path {
1453
- fill: ${Colors.RED.Hex} !important;
1454
- }
1395
+ const IconWrapper$1 = styled.div `
1396
+ width: 80px;
1397
+ height: 80px;
1398
+ border-radius: 40px;
1399
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1400
+ display: flex;
1401
+ align-items: center;
1402
+ justify-content: center;
1403
+ `;
1404
+ const StyledIcon$3 = styled(Icon) `
1405
+ width: 40px !important;
1406
+ height: 40px !important;
1407
+
1408
+ > path {
1409
+ fill: ${Colors.GRAY.Hex} !important;
1410
+ }
1411
+ `;
1412
+ const ClickZone = styled.div `
1413
+ margin: 40px 20px;
1414
+ display: flex;
1415
+ flex-direction: column;
1416
+ align-items: center;
1417
+ gap: 16px;
1418
+ `;
1419
+ const Content = styled.div `
1420
+ display: flex;
1421
+ flex-direction: column;
1422
+ align-items: center;
1423
+ gap: 2px;
1424
+ `;
1425
+ const Files = styled.div `
1426
+ display: flex;
1427
+ flex-direction: column;
1428
+ align-self: stretch;
1429
+ gap: 10px;
1430
+ margin: 20px;
1431
+ `;
1432
+ const MessageDiv = styled.div `
1433
+ display: flex;
1434
+ align-items: center;
1435
+ justify-content: center;
1436
+ `;
1437
+ const File = styled.div `
1438
+ display: flex;
1439
+ padding: 10px;
1440
+ align-items: center;
1441
+ justify-content: space-between;
1442
+ gap: 10px;
1443
+ border-radius: 4px;
1444
+ border: 1px solid #cccccc;
1445
+ background: #ffffff;
1446
+ `;
1447
+ const Remove = styled(Icon) `
1448
+ width: 24px;
1449
+ height: 24px;
1450
+ cursor: pointer;
1451
+
1452
+ > path {
1453
+ fill: ${Colors.RED.Hex} !important;
1454
+ }
1455
1455
  `;
1456
1456
  const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, }) => {
1457
1457
  const inputRef = React.useRef(null);
@@ -1569,8 +1569,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
1569
1569
  React.createElement(Copy, { align: 'center', color: 'GRAY' }, message),
1570
1570
  tooltipInfo && (React.createElement("span", null,
1571
1571
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1572
- };
1573
-
1572
+ };
1573
+
1574
1574
  const getAgesFromDob = (dob) => {
1575
1575
  let calculated_current_age = null;
1576
1576
  let calculated_nearest_age = null;
@@ -1643,8 +1643,8 @@ const formatAsSsn = (number) => {
1643
1643
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1644
1644
  }
1645
1645
  return formatted_value;
1646
- };
1647
-
1646
+ };
1647
+
1648
1648
  const StyledInput = styled.input `
1649
1649
  border: none !important;
1650
1650
  background: none !important;
@@ -1684,7 +1684,7 @@ const StyledTextArea = styled.textarea `
1684
1684
  margin: 0px;
1685
1685
  text-indent: 0px;
1686
1686
  --webkit-appearance: none;
1687
- text-wrap: break-word;
1687
+ overflow-wrap: break-word;
1688
1688
  box-sizing: border-box;
1689
1689
  display: block;
1690
1690
  width: 100%;
@@ -1711,7 +1711,7 @@ const StyledSuffix = styled.div `
1711
1711
  font-style: normal;
1712
1712
  font-weight: 400;
1713
1713
  font-size: ${FontSizes.DEFAULT};
1714
- color: Colors.BLACK.Hex;
1714
+ color: ${Colors.BLACK.Hex};
1715
1715
  `;
1716
1716
  const StyledWrapper = styled.div `
1717
1717
  display: flex;
@@ -1758,7 +1758,6 @@ const SuggestedSummary = styled.div `
1758
1758
  position: sticky;
1759
1759
  top: 0px;
1760
1760
  `;
1761
- //styles for textarea
1762
1761
  const SuggestedValue = styled.div `
1763
1762
  cursor: pointer;
1764
1763
  padding: 8px 12px;
@@ -1789,48 +1788,64 @@ const Input$1 = (_a) => {
1789
1788
  // eslint-disable-next-line @typescript-eslint/no-empty-function
1790
1789
  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"]);
1791
1790
  const [show_options, setShowOptions] = React.useState(false);
1791
+ const [internalValue, setInternalValue] = React.useState(value);
1792
+ const [internalSuggestedValues, setInternalSuggestedValues] = React.useState(suggestedValues || []);
1793
+ const formatCurrencyDecimal = (value) => {
1794
+ const parts = value.toString().split('.');
1795
+ const integerPart = parts[0];
1796
+ const decimalPart = parts[1] !== undefined ? `.${parts[1]}` : ''; // Only add decimal part if it exists
1797
+ const formattedIntegerPart = integerPart.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
1798
+ return `${formattedIntegerPart}${decimalPart}`;
1799
+ };
1792
1800
  const handleInputChange = (e) => {
1801
+ const newValue = e.target.value;
1793
1802
  if (format === 'currency' || format === 'currency_decimal') {
1794
- e.target.value = e.target.value.replace(/[^0-9.]/g, '');
1803
+ e.target.value = newValue.replace(/[^0-9.]/g, '');
1795
1804
  }
1796
1805
  if (format === 'phone') {
1797
- e.target.value = e.target.value.replace(/[^0-9.]/g, '').substring(0, 10);
1806
+ e.target.value = newValue.replace(/[^0-9.]/g, '').substring(0, 10);
1798
1807
  }
1799
1808
  if (format === 'ssn') {
1800
- e.target.value = e.target.value.replace(/[^0-9]/g, '').substring(0, 9);
1809
+ e.target.value = newValue.replace(/[^0-9]/g, '').substring(0, 9);
1801
1810
  }
1802
1811
  if (type === 'email') {
1803
- e.target.value = e.target.value.toLowerCase();
1812
+ e.target.value = newValue.toLowerCase();
1804
1813
  }
1805
- if (type === 'number' && max && parseInt(e.target.value, 10) > parseInt(max, 10)) {
1814
+ if (type === 'number' && max && parseInt(newValue, 10) > parseInt(max, 10)) {
1806
1815
  e.target.value = `${max}`;
1807
1816
  }
1808
- if (!readOnly && onChange)
1817
+ setInternalValue(e.target.value);
1818
+ if (onChange)
1809
1819
  onChange(e);
1820
+ if (newValue === null || newValue === void 0 ? void 0 : newValue.length) {
1821
+ const newSuggestions = (suggestedValues || []).filter(s => s.toLowerCase().includes(newValue.toLowerCase()));
1822
+ setInternalSuggestedValues(newSuggestions);
1823
+ }
1824
+ else {
1825
+ setInternalSuggestedValues(suggestedValues || []);
1826
+ }
1810
1827
  };
1811
- let formatted_value = value;
1828
+ let formatted_value = internalValue;
1812
1829
  if (format === 'phone') {
1813
- formatted_value = formatAsPhone(value);
1830
+ formatted_value = formatAsPhone(internalValue);
1814
1831
  }
1815
1832
  if (format === 'currency') {
1816
- if (`${value}`.length) {
1817
- formatted_value = Numeral(value).format('$0,0');
1833
+ if (`${internalValue}`.length) {
1834
+ formatted_value = Numeral(internalValue).format('$0,0');
1818
1835
  }
1819
1836
  }
1820
1837
  if (format === 'currency_decimal') {
1821
- formatted_value = `${formatted_value}`;
1838
+ formatted_value = formatCurrencyDecimal(formatted_value);
1822
1839
  }
1823
1840
  if (format === 'ssn' && type !== 'password') {
1824
- formatted_value = formatAsSsn(value);
1841
+ formatted_value = formatAsSsn(internalValue);
1825
1842
  }
1826
- return type === 'textarea' ? (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!(suggestedValues === null || suggestedValues === void 0 ? void 0 : suggestedValues.length) },
1843
+ return type === 'textarea' ? (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!internalSuggestedValues.length },
1827
1844
  React.createElement(StyledTextArea, Object.assign({ "$height": height, "$invalid": invalid, "$readOnly": readOnly, maxLength: maxLength, onBlur: readOnly
1828
1845
  ? e => e.preventDefault()
1829
1846
  : e => {
1830
1847
  if (onBlur)
1831
1848
  onBlur(e);
1832
- // The blur was causing issues with the suggested select event
1833
- // This makes sure the select if fired before the blur
1834
1849
  setTimeout(() => {
1835
1850
  setShowOptions(false);
1836
1851
  }, 100);
@@ -1844,15 +1859,13 @@ const Input$1 = (_a) => {
1844
1859
  loading ? (React.createElement(Loader$1, null,
1845
1860
  React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: js.mdiLoading, size: '20px', spin: true }))) : null,
1846
1861
  showCharCount ? (React.createElement(CharacterCount, null,
1847
- value.length,
1848
- 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) },
1862
+ internalValue.length,
1863
+ maxLength ? ` / ${maxLength}` : null)) : null)) : (React.createElement(StyledWrapper, { "$invalid": invalid, "$readOnly": readOnly, "$style": style, "$suggestions": show_options && !!internalSuggestedValues.length },
1849
1864
  React.createElement(StyledInput, Object.assign({ "$height": height, "$invalid": invalid, "$readOnly": readOnly, max: max, maxLength: maxLength, min: min, onBlur: readOnly
1850
1865
  ? e => e.preventDefault()
1851
1866
  : e => {
1852
1867
  if (onBlur)
1853
1868
  onBlur(e);
1854
- // The blur was causing issues with the suggested select event
1855
- // This makes sure the select if fired before the blur
1856
1869
  setTimeout(() => {
1857
1870
  setShowOptions(false);
1858
1871
  }, 100);
@@ -1862,83 +1875,81 @@ const Input$1 = (_a) => {
1862
1875
  setShowOptions(true);
1863
1876
  if (onFocus)
1864
1877
  onFocus(e);
1865
- }, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder, step: step, type: type, value: format === 'currency_decimal' && value ? `$${formatted_value}` : formatted_value }, accessibleProps)),
1878
+ }, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder, step: step, type: type, value: format === 'currency_decimal' && internalValue ? `$${formatted_value}` : formatted_value }, accessibleProps)),
1866
1879
  loading ? (React.createElement(Loader$1, null,
1867
1880
  React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: js.mdiLoading, size: '20px', spin: true }))) : null,
1868
1881
  showCharCount ? (React.createElement(CharacterCount, null,
1869
- value.length,
1882
+ internalValue.length,
1870
1883
  maxLength ? ` / ${maxLength}` : null)) : null,
1871
1884
  suffix && React.createElement(StyledSuffix, null, suffix),
1872
- show_options && (suggestedValues === null || suggestedValues === void 0 ? void 0 : suggestedValues.length) ? (React.createElement(SuggestedValues, null,
1885
+ show_options && internalSuggestedValues.length ? (React.createElement(SuggestedValues, null,
1873
1886
  React.createElement(SuggestedSummary, null,
1874
- suggestedValues.length,
1887
+ internalSuggestedValues.length,
1875
1888
  " Results Match \"",
1876
- value,
1889
+ internalValue,
1877
1890
  "\""),
1878
- suggestedValues.map((s_value, i) => {
1879
- return (React.createElement(SuggestedValue, { key: i, onClick: () => {
1880
- handleInputChange({ target: { value: s_value } });
1881
- onSuggestedSelect();
1882
- setShowOptions(false);
1883
- } }, s_value));
1884
- }))) : null));
1885
- };
1886
-
1887
- const Wrapper$7 = styled.a `
1888
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1889
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1890
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1891
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1892
- font-weight: 500;
1893
- font-style: normal;
1894
- text-decoration: 'none';
1895
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1896
- margin: 0px;
1897
- padding: 0px;
1898
- box-sizing: border-box;
1899
- cursor: pointer;
1891
+ internalSuggestedValues.map((suggestedValue, index) => (React.createElement(SuggestedValue, { key: index, onClick: () => {
1892
+ handleInputChange({ target: { value: suggestedValue } });
1893
+ onSuggestedSelect();
1894
+ setShowOptions(false);
1895
+ } }, suggestedValue))))) : null));
1896
+ };
1897
+
1898
+ const Wrapper$7 = styled.a `
1899
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1900
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1901
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1902
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1903
+ font-weight: 500;
1904
+ font-style: normal;
1905
+ text-decoration: 'none';
1906
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1907
+ margin: 0px;
1908
+ padding: 0px;
1909
+ box-sizing: border-box;
1910
+ cursor: pointer;
1900
1911
  `;
1901
1912
  Wrapper$7.defaultProps = { theme: EditableTheme };
1902
1913
  const Link = (_a) => {
1903
1914
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1904
1915
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
1905
- };
1906
-
1907
- const dash = styled.keyframes `
1908
- 0% {
1909
- stroke-dasharray: 1, 160;
1910
- stroke-dashoffset: 0;
1911
- }
1912
- 50% {
1913
- stroke-dasharray: 80, 160;
1914
- stroke-dashoffset: -32;
1915
- }
1916
- 100% {
1917
- stroke-dasharray: 80, 160;
1918
- stroke-dashoffset: -124;
1919
- }
1920
- `;
1921
- const Spinner = styled.svg `
1922
- z-index: 2;
1923
- position: absolute;
1924
- top: 50%;
1925
- left: 50%;
1926
- transform: translate(-50%, -50%);
1927
- margin: 0 auto;
1928
- width: 40px;
1929
- height: 40px;
1930
- `;
1931
- const Path = styled.path `
1932
- stroke: #0193d7;
1933
- stroke-linecap: round;
1934
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1935
- animation: ${dash} 1.1s ease-in-out infinite;
1916
+ };
1917
+
1918
+ const dash = styled.keyframes `
1919
+ 0% {
1920
+ stroke-dasharray: 1, 160;
1921
+ stroke-dashoffset: 0;
1922
+ }
1923
+ 50% {
1924
+ stroke-dasharray: 80, 160;
1925
+ stroke-dashoffset: -32;
1926
+ }
1927
+ 100% {
1928
+ stroke-dasharray: 80, 160;
1929
+ stroke-dashoffset: -124;
1930
+ }
1931
+ `;
1932
+ const Spinner = styled.svg `
1933
+ z-index: 2;
1934
+ position: absolute;
1935
+ top: 50%;
1936
+ left: 50%;
1937
+ transform: translate(-50%, -50%);
1938
+ margin: 0 auto;
1939
+ width: 40px;
1940
+ height: 40px;
1941
+ `;
1942
+ const Path = styled.path `
1943
+ stroke: #0193d7;
1944
+ stroke-linecap: round;
1945
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1946
+ animation: ${dash} 1.1s ease-in-out infinite;
1936
1947
  `;
1937
1948
  const Loader = () => {
1938
1949
  return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
1939
1950
  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' })));
1940
- };
1941
-
1951
+ };
1952
+
1942
1953
  const Steps = styled.div `
1943
1954
  padding: 20px;
1944
1955
  border-bottom: 1px solid #e7e6e6;
@@ -1995,75 +2006,75 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
1995
2006
  step.complete ? (React.createElement(StyledIcon$2, { path: js.mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
1996
2007
  React.createElement(StepLabel, null, step.label))));
1997
2008
  })));
1998
- };
1999
-
2000
- const Wrapper$6 = styled.div `
2001
- position: fixed;
2002
- top: 0;
2003
- right: 0;
2004
- bottom: 0;
2005
- left: 0;
2006
- z-index: 9999;
2007
- background: rgba(0, 0, 0, 0.8);
2008
- display: flex;
2009
- align-items: center;
2010
- justify-content: center;
2011
- `;
2012
- const Container$1 = styled.dialog `
2013
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2014
- max-width: calc(100vw - 80px);
2015
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2016
- max-height: calc(100vh - 80px);
2017
- border-radius: 8px;
2018
- overflow: hidden;
2019
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2020
- outline: none;
2021
- border: none;
2022
- position: relative;
2023
- padding: 0px;
2024
- box-sizing: border-box;
2025
- display: flex;
2026
- flex-direction: column;
2027
- `;
2028
- const Header$1 = styled.div `
2029
- flex-shrink: 0;
2030
- padding: 20px;
2031
- border-bottom: 1px solid #e7e6e6;
2032
- display: flex;
2033
- align-items: center;
2034
- background: #ffffff;
2035
- box-sizing: border-box;
2036
- `;
2037
- const Close = styled.div `
2038
- margin-left: auto;
2039
- display: flex;
2040
- align-items: center;
2041
- padding-left: 20px;
2042
- cursor: pointer;
2043
- `;
2044
- const CloseMsg = styled.span `
2045
- font-size: ${FontSizes.SMALL};
2046
- font-weight: 400;
2047
- font-family: ${FontStyles.DEFAULT};
2048
- line-height: 1em;
2049
- color: ${Colors.MEDIUM_GRAY.Hex};
2050
- `;
2051
- const ContentWrapper = styled.div `
2052
- overflow-x: hidden;
2053
- overflow-y: auto;
2054
- background: #ffffff;
2055
- flex: 1;
2056
- box-sizing: border-box;
2057
- `;
2058
- const ButtonBar = styled.div `
2059
- flex-shrink: 0;
2060
- background: #ffffff;
2061
- padding: 20px;
2062
- border-top: 1px solid #e7e6e6;
2063
- display: flex;
2064
- align-items: center;
2065
- justify-self: flex-end;
2066
- box-sizing: border-box;
2009
+ };
2010
+
2011
+ const Wrapper$6 = styled.div `
2012
+ position: fixed;
2013
+ top: 0;
2014
+ right: 0;
2015
+ bottom: 0;
2016
+ left: 0;
2017
+ z-index: 9999;
2018
+ background: rgba(0, 0, 0, 0.8);
2019
+ display: flex;
2020
+ align-items: center;
2021
+ justify-content: center;
2022
+ `;
2023
+ const Container$1 = styled.dialog `
2024
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2025
+ max-width: calc(100vw - 80px);
2026
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2027
+ max-height: calc(100vh - 80px);
2028
+ border-radius: 8px;
2029
+ overflow: hidden;
2030
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2031
+ outline: none;
2032
+ border: none;
2033
+ position: relative;
2034
+ padding: 0px;
2035
+ box-sizing: border-box;
2036
+ display: flex;
2037
+ flex-direction: column;
2038
+ `;
2039
+ const Header$1 = styled.div `
2040
+ flex-shrink: 0;
2041
+ padding: 20px;
2042
+ border-bottom: 1px solid #e7e6e6;
2043
+ display: flex;
2044
+ align-items: center;
2045
+ background: #ffffff;
2046
+ box-sizing: border-box;
2047
+ `;
2048
+ const Close = styled.div `
2049
+ margin-left: auto;
2050
+ display: flex;
2051
+ align-items: center;
2052
+ padding-left: 20px;
2053
+ cursor: pointer;
2054
+ `;
2055
+ const CloseMsg = styled.span `
2056
+ font-size: ${FontSizes.SMALL};
2057
+ font-weight: 400;
2058
+ font-family: ${FontStyles.DEFAULT};
2059
+ line-height: 1em;
2060
+ color: ${Colors.MEDIUM_GRAY.Hex};
2061
+ `;
2062
+ const ContentWrapper = styled.div `
2063
+ overflow-x: hidden;
2064
+ overflow-y: auto;
2065
+ background: #ffffff;
2066
+ flex: 1;
2067
+ box-sizing: border-box;
2068
+ `;
2069
+ const ButtonBar = styled.div `
2070
+ flex-shrink: 0;
2071
+ background: #ffffff;
2072
+ padding: 20px;
2073
+ border-top: 1px solid #e7e6e6;
2074
+ display: flex;
2075
+ align-items: center;
2076
+ justify-self: flex-end;
2077
+ box-sizing: border-box;
2067
2078
  `;
2068
2079
  const Modal = (_a) => {
2069
2080
  var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton"]);
@@ -2096,21 +2107,21 @@ const Modal = (_a) => {
2096
2107
  } },
2097
2108
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
2098
2109
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2099
- };
2100
-
2101
- const Wrapper$5 = styled.div `
2102
- position: relative;
2103
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2104
- `;
2105
- const Trigger = styled.div `
2106
- box-sizing: border-box;
2107
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2108
- height: 40px;
2109
- padding: 0 10px;
2110
- position: relative;
2111
- cursor: pointer;
2112
- border-width: 1px;
2113
- border-style: solid;
2110
+ };
2111
+
2112
+ const Wrapper$5 = styled.div `
2113
+ position: relative;
2114
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2115
+ `;
2116
+ const Trigger = styled.div `
2117
+ box-sizing: border-box;
2118
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2119
+ height: 40px;
2120
+ padding: 0 10px;
2121
+ position: relative;
2122
+ cursor: pointer;
2123
+ border-width: 1px;
2124
+ border-style: solid;
2114
2125
  border-color: ${props => {
2115
2126
  if (props.$invalid) {
2116
2127
  return Colors.RED.Hex;
@@ -2121,67 +2132,67 @@ const Trigger = styled.div `
2121
2132
  else {
2122
2133
  return '#cccccc';
2123
2134
  }
2124
- }};
2125
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2126
- background-image: none;
2127
- display: flex;
2128
- width: 100%;
2129
- align-items: center;
2130
- justify-content: space-between;
2131
- z-index: 1;
2135
+ }};
2136
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2137
+ background-image: none;
2138
+ display: flex;
2139
+ width: 100%;
2140
+ align-items: center;
2141
+ justify-content: space-between;
2142
+ z-index: 1;
2132
2143
  `;
2133
2144
  Trigger.defaultProps = { theme: EditableTheme };
2134
- const Value = styled.div `
2135
- color: ${Colors.BLACK.Hex};
2136
- font-family: ${FontStyles.DEFAULT};
2137
- font-size: ${FontSizes.DEFAULT};
2138
- font-weight: 400;
2139
- line-height: 2.9em;
2140
- overflow: hidden;
2141
- text-overflow: ellipsis;
2142
- white-space: nowrap;
2143
- width: 100%;
2144
- `;
2145
- const Options = styled.div `
2146
- background: #fff;
2147
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2148
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2149
- border-radius: 0px 0px 4px 4px;
2150
- border-style: solid;
2151
- border-top: none;
2152
- border-width: 1px;
2153
- left: 0;
2154
- position: relative;
2155
- right: 0;
2156
- z-index: 10;
2157
- max-height: 220px;
2158
- overflow: auto;
2145
+ const Value = styled.div `
2146
+ color: ${Colors.BLACK.Hex};
2147
+ font-family: ${FontStyles.DEFAULT};
2148
+ font-size: ${FontSizes.DEFAULT};
2149
+ font-weight: 400;
2150
+ line-height: 2.9em;
2151
+ overflow: hidden;
2152
+ text-overflow: ellipsis;
2153
+ white-space: nowrap;
2154
+ width: 100%;
2155
+ `;
2156
+ const Options = styled.div `
2157
+ background: #fff;
2158
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2159
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2160
+ border-radius: 0px 0px 4px 4px;
2161
+ border-style: solid;
2162
+ border-top: none;
2163
+ border-width: 1px;
2164
+ left: 0;
2165
+ position: relative;
2166
+ right: 0;
2167
+ z-index: 10;
2168
+ max-height: 220px;
2169
+ overflow: auto;
2159
2170
  `;
2160
2171
  Options.defaultProps = { theme: EditableTheme };
2161
- const Scrim = styled.div `
2162
- bottom: 0;
2163
- left: 0;
2164
- position: fixed;
2165
- right: 0;
2166
- top: 0;
2167
- z-index: 9;
2168
- `;
2169
- const SearchInput = styled.input `
2170
- position: absolute;
2171
- left: 2px;
2172
- top: 2px;
2173
- z-index: 999;
2174
- width: 90%;
2175
- height: 30px;
2176
- border: none;
2177
- outline: none;
2178
- color: ${Colors.BLACK.Hex};
2179
- font-family: ${FontStyles.DEFAULT};
2180
- font-size: ${FontSizes.DEFAULT};
2181
- font-weight: 400;
2182
- line-height: 2.9em;
2183
- overflow: hidden;
2184
- white-space: nowrap;
2172
+ const Scrim = styled.div `
2173
+ bottom: 0;
2174
+ left: 0;
2175
+ position: fixed;
2176
+ right: 0;
2177
+ top: 0;
2178
+ z-index: 9;
2179
+ `;
2180
+ const SearchInput = styled.input `
2181
+ position: absolute;
2182
+ left: 2px;
2183
+ top: 2px;
2184
+ z-index: 999;
2185
+ width: 90%;
2186
+ height: 30px;
2187
+ border: none;
2188
+ outline: none;
2189
+ color: ${Colors.BLACK.Hex};
2190
+ font-family: ${FontStyles.DEFAULT};
2191
+ font-size: ${FontSizes.DEFAULT};
2192
+ font-weight: 400;
2193
+ line-height: 2.9em;
2194
+ overflow: hidden;
2195
+ white-space: nowrap;
2185
2196
  `;
2186
2197
  const MultiSelect = (_a) => {
2187
2198
  var { readOnly, displayCount = 3, invalid, onChange, options = [], selected = [], showSelectAll, searchable = false, style } = _a, accessibleProps = __rest(_a, ["readOnly", "displayCount", "invalid", "onChange", "options", "selected", "showSelectAll", "searchable", "style"]);
@@ -2200,8 +2211,8 @@ const MultiSelect = (_a) => {
2200
2211
  showOptions ? (React.createElement(Options, null,
2201
2212
  React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2202
2213
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
2203
- };
2204
-
2214
+ };
2215
+
2205
2216
  const Wrapper$4 = styled.div `
2206
2217
  display: flex;
2207
2218
  padding: 16px 30px;
@@ -2250,13 +2261,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2250
2261
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
2251
2262
  }),
2252
2263
  menuItems.length ? (React.createElement(ButtonMenu, { enableClick: enableClick, enableHover: enableHover, format: format, label: label, menuItems: menuItems, show: show, small: true })) : null)) : null));
2253
- };
2254
-
2255
- const Wrapper$3 = styled.nav `
2256
- box-sizing: border-box;
2257
- display: flex;
2258
- align-items: center;
2259
- column-gap: 10px;
2264
+ };
2265
+
2266
+ const Wrapper$3 = styled.nav `
2267
+ box-sizing: border-box;
2268
+ display: flex;
2269
+ align-items: center;
2270
+ column-gap: 10px;
2260
2271
  `;
2261
2272
  const Pagination = (_a) => {
2262
2273
  var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
@@ -2285,82 +2296,82 @@ const Pagination = (_a) => {
2285
2296
  value: `${p}`,
2286
2297
  })), value: `${currentPage}` }),
2287
2298
  React.createElement(Button, { disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true })));
2288
- };
2289
-
2290
- const Wrapper$2 = styled.label `
2291
- border-radius: 4px;
2292
- padding: 4px 0px 4px 6px;
2293
- margin-left: -6px;
2294
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2295
- display: flex;
2296
- align-items: center;
2297
- font-size: ${FontSizes.DEFAULT};
2298
- line-height: 1.6em;
2299
- box-sizing: border-box;
2300
- position: relative;
2301
-
2302
- &:focus-within {
2303
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2304
- }
2299
+ };
2300
+
2301
+ const Wrapper$2 = styled.label `
2302
+ border-radius: 4px;
2303
+ padding: 4px 0px 4px 6px;
2304
+ margin-left: -6px;
2305
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2306
+ display: flex;
2307
+ align-items: center;
2308
+ font-size: ${FontSizes.DEFAULT};
2309
+ line-height: 1.6em;
2310
+ box-sizing: border-box;
2311
+ position: relative;
2312
+
2313
+ &:focus-within {
2314
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2315
+ }
2305
2316
  `;
2306
2317
  Wrapper$2.defaultProps = { theme: EditableTheme };
2307
- const Input = styled.input `
2308
- font-size: 20px;
2309
- margin: 0px;
2310
- line-height: 1.6em;
2311
- box-sizing: border-box;
2312
- position: absolute;
2313
- opacity: 0;
2314
- cursor: pointer;
2315
- height: 0;
2316
- width: 0;
2317
- &:checked + span {
2318
- border-color: ${Colors.PRIMARY.Hex};
2319
- }
2320
- &:checked + span:after {
2321
- background-color: ${Colors.PRIMARY.Hex};
2322
- display: block;
2323
- }
2324
- &:disabled + span {
2325
- background-color: #d3d3d3;
2326
- border-color: #d3d3d3;
2327
- }
2328
- &:disabled + span:after {
2329
- background-color: #fff;
2330
- }
2331
- &:checked:disabled + span:after {
2332
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2333
- }
2334
- `;
2335
- const Check = styled.span `
2336
- height: 17px;
2337
- width: 17px;
2338
- border-radius: 50%;
2339
- background-color: #fff;
2340
- border-width: 2px;
2341
- border-style: solid;
2342
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2343
- box-sizing: border-box;
2344
- position: relative;
2345
- &:after {
2346
- content: '';
2347
- position: absolute;
2348
- top: 2px;
2349
- left: 2px;
2350
- width: 9px;
2351
- height: 9px;
2352
- border-radius: 50%;
2353
- box-sizing: border-box;
2354
- display: none;
2355
- }
2356
- `;
2357
- const Label = styled.span `
2358
- font-family: ${FontStyles.DEFAULT};
2359
- font-size: ${FontSizes.DEFAULT};
2360
- font-weight: 400;
2361
- color: ${Colors.BLACK.Hex};
2362
- line-height: 1.6em;
2363
- margin-left: 6px;
2318
+ const Input = styled.input `
2319
+ font-size: 20px;
2320
+ margin: 0px;
2321
+ line-height: 1.6em;
2322
+ box-sizing: border-box;
2323
+ position: absolute;
2324
+ opacity: 0;
2325
+ cursor: pointer;
2326
+ height: 0;
2327
+ width: 0;
2328
+ &:checked + span {
2329
+ border-color: ${Colors.PRIMARY.Hex};
2330
+ }
2331
+ &:checked + span:after {
2332
+ background-color: ${Colors.PRIMARY.Hex};
2333
+ display: block;
2334
+ }
2335
+ &:disabled + span {
2336
+ background-color: #d3d3d3;
2337
+ border-color: #d3d3d3;
2338
+ }
2339
+ &:disabled + span:after {
2340
+ background-color: #fff;
2341
+ }
2342
+ &:checked:disabled + span:after {
2343
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2344
+ }
2345
+ `;
2346
+ const Check = styled.span `
2347
+ height: 17px;
2348
+ width: 17px;
2349
+ border-radius: 50%;
2350
+ background-color: #fff;
2351
+ border-width: 2px;
2352
+ border-style: solid;
2353
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2354
+ box-sizing: border-box;
2355
+ position: relative;
2356
+ &:after {
2357
+ content: '';
2358
+ position: absolute;
2359
+ top: 2px;
2360
+ left: 2px;
2361
+ width: 9px;
2362
+ height: 9px;
2363
+ border-radius: 50%;
2364
+ box-sizing: border-box;
2365
+ display: none;
2366
+ }
2367
+ `;
2368
+ const Label = styled.span `
2369
+ font-family: ${FontStyles.DEFAULT};
2370
+ font-size: ${FontSizes.DEFAULT};
2371
+ font-weight: 400;
2372
+ color: ${Colors.BLACK.Hex};
2373
+ line-height: 1.6em;
2374
+ margin-left: 6px;
2364
2375
  `;
2365
2376
  const Radio = (_a) => {
2366
2377
  var { children, disabled, checked, onChange, value, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip"]);
@@ -2370,77 +2381,77 @@ const Radio = (_a) => {
2370
2381
  React.createElement(Label, null,
2371
2382
  children,
2372
2383
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2373
- };
2374
-
2384
+ };
2385
+
2375
2386
  const RadioList = (_a) => {
2376
2387
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2377
2388
  return (React.createElement(React.Fragment, null, options.map((option) => {
2378
2389
  const label = option.label || option.value;
2379
2390
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2380
2391
  })));
2381
- };
2382
-
2383
- const StyledTable = styled.table `
2384
- width: 100%;
2385
- margin-top: 1px;
2386
- table-layout: ${props => props.$tableLayout || 'auto'};
2387
- border-collapse: collapse;
2388
- text-indent: 0px;
2389
- border-spacing: 0px;
2390
- border-color: none;
2391
- box-sizing: border-box;
2392
- `;
2393
- const Header = styled.th `
2394
- padding: 12px !important;
2395
- text-align: left;
2396
- font-weight: 500;
2397
- border-bottom: 1px solid #e5e5e5;
2398
- border-top: 1px solid #e5e5e5;
2399
- text-transform: uppercase;
2400
- font-size: 12px;
2401
- font-family: ${FontStyles.DEFAULT};
2402
- letter-spacing: 1px;
2403
- white-space: nowrap;
2404
- line-height: 1;
2405
- position: relative;
2406
- box-sizing: border-box;
2407
- width: ${props => props.$width || 'auto'};
2408
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2409
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2392
+ };
2393
+
2394
+ const StyledTable = styled.table `
2395
+ width: 100%;
2396
+ margin-top: 1px;
2397
+ table-layout: ${props => props.$tableLayout || 'auto'};
2398
+ border-collapse: collapse;
2399
+ text-indent: 0px;
2400
+ border-spacing: 0px;
2401
+ border-color: none;
2402
+ box-sizing: border-box;
2403
+ `;
2404
+ const Header = styled.th `
2405
+ padding: 12px !important;
2406
+ text-align: left;
2407
+ font-weight: 500;
2408
+ border-bottom: 1px solid #e5e5e5;
2409
+ border-top: 1px solid #e5e5e5;
2410
+ text-transform: uppercase;
2411
+ font-size: 12px;
2412
+ font-family: ${FontStyles.DEFAULT};
2413
+ letter-spacing: 1px;
2414
+ white-space: nowrap;
2415
+ line-height: 1;
2416
+ position: relative;
2417
+ box-sizing: border-box;
2418
+ width: ${props => props.$width || 'auto'};
2419
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2420
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2410
2421
  `;
2411
2422
  Header.defaultProps = { theme: EditableTheme };
2412
- const Row = styled.tr `
2413
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2414
- transition: all 0.2s;
2415
- background-color: ${props => props.$bgColor};
2416
- box-sizing: border-box;
2417
- &:hover {
2418
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2419
- }
2423
+ const Row = styled.tr `
2424
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2425
+ transition: all 0.2s;
2426
+ background-color: ${props => props.$bgColor};
2427
+ box-sizing: border-box;
2428
+ &:hover {
2429
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2430
+ }
2420
2431
  `;
2421
2432
  Row.defaultProps = { theme: EditableTheme };
2422
- const Column = styled.td `
2423
- padding: 16px 12px !important;
2424
- font-size: ${FontSizes.DEFAULT} !important;
2425
- font-weight: 400 !important;
2426
- font-family: ${FontStyles.DEFAULT};
2427
- border: none !important;
2428
- word-break: break-word;
2429
- line-height: 1.4em;
2430
- box-sizing: border-box;
2431
- text-align: ${props => props.$align || 'left'};
2432
- width: ${props => props.$width || 'auto'};
2433
- `;
2434
- const IconWrapper = styled.span `
2435
- position: absolute;
2436
- top: 50%;
2437
- transform: translateY(-50%);
2438
- margin-left: 2px;
2439
- `;
2440
- const StyledIcon$1 = styled(Icon) `
2441
- > path {
2442
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2443
- }
2433
+ const Column = styled.td `
2434
+ padding: 16px 12px !important;
2435
+ font-size: ${FontSizes.DEFAULT} !important;
2436
+ font-weight: 400 !important;
2437
+ font-family: ${FontStyles.DEFAULT};
2438
+ border: none !important;
2439
+ word-break: break-word;
2440
+ line-height: 1.4em;
2441
+ box-sizing: border-box;
2442
+ text-align: ${props => props.$align || 'left'};
2443
+ width: ${props => props.$width || 'auto'};
2444
+ `;
2445
+ const IconWrapper = styled.span `
2446
+ position: absolute;
2447
+ top: 50%;
2448
+ transform: translateY(-50%);
2449
+ margin-left: 2px;
2450
+ `;
2451
+ const StyledIcon$1 = styled(Icon) `
2452
+ > path {
2453
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2454
+ }
2444
2455
  `;
2445
2456
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2446
2457
  const Table = (_a) => {
@@ -2458,55 +2469,55 @@ const Table = (_a) => {
2458
2469
  return (React.createElement(Column, { "$align": columns[i].align, "$width": columns[i].width, key: i }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2459
2470
  })));
2460
2471
  }))) : null));
2461
- };
2462
-
2463
- const Wrapper$1 = styled.div `
2464
- display: flex;
2465
- box-sizing: border-box;
2466
- align-items: flex-end;
2467
- border-top: 1px solid #e5e5e5;
2468
- border-bottom: 1px solid #e5e5e5;
2469
- flex-shrink: 0;
2470
- align-self: stretch;
2471
- padding: 0;
2472
- margin: 0;
2473
- `;
2474
- const Tab = styled.div `
2475
- display: flex;
2476
- align-items: center;
2477
- gap: 6px;
2478
- font-size: ${FontSizes.DEFAULT};
2479
- font-family: ${FontStyles.DEFAULT};
2480
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2481
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2482
- line-height: 1em;
2483
- padding: 16px 30px 12px;
2484
- margin: 0 0 -1px 0;
2485
- border-bottom-width: 4px;
2486
- border-bottom-style: solid;
2487
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2488
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2489
- box-sizing: border-box;
2490
- &:hover {
2491
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2492
- font-weight: 500;
2493
- }
2472
+ };
2473
+
2474
+ const Wrapper$1 = styled.div `
2475
+ display: flex;
2476
+ box-sizing: border-box;
2477
+ align-items: flex-end;
2478
+ border-top: 1px solid #e5e5e5;
2479
+ border-bottom: 1px solid #e5e5e5;
2480
+ flex-shrink: 0;
2481
+ align-self: stretch;
2482
+ padding: 0;
2483
+ margin: 0;
2484
+ `;
2485
+ const Tab = styled.div `
2486
+ display: flex;
2487
+ align-items: center;
2488
+ gap: 6px;
2489
+ font-size: ${FontSizes.DEFAULT};
2490
+ font-family: ${FontStyles.DEFAULT};
2491
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2492
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2493
+ line-height: 1em;
2494
+ padding: 16px 30px 12px;
2495
+ margin: 0 0 -1px 0;
2496
+ border-bottom-width: 4px;
2497
+ border-bottom-style: solid;
2498
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2499
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2500
+ box-sizing: border-box;
2501
+ &:hover {
2502
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2503
+ font-weight: 500;
2504
+ }
2494
2505
  `;
2495
2506
  Tab.defaultProps = { theme: EditableTheme };
2496
- const Badge = styled.div `
2497
- display: flex;
2498
- width: 18px;
2499
- height: 18px;
2500
- justify-content: center;
2501
- align-items: center;
2502
- border-radius: 9px;
2503
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2504
- color: #fff;
2505
- font-family: ${FontStyles.DEFAULT};
2506
- font-size: 12px;
2507
- font-weight: 500;
2508
- line-height: 1;
2509
- letter-spacing: 1px;
2507
+ const Badge = styled.div `
2508
+ display: flex;
2509
+ width: 18px;
2510
+ height: 18px;
2511
+ justify-content: center;
2512
+ align-items: center;
2513
+ border-radius: 9px;
2514
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2515
+ color: #fff;
2516
+ font-family: ${FontStyles.DEFAULT};
2517
+ font-size: 12px;
2518
+ font-weight: 500;
2519
+ line-height: 1;
2520
+ letter-spacing: 1px;
2510
2521
  `;
2511
2522
  Badge.defaultProps = { theme: EditableTheme };
2512
2523
  const Tabs = (_a) => {
@@ -2518,29 +2529,29 @@ const Tabs = (_a) => {
2518
2529
  label));
2519
2530
  })));
2520
2531
  };
2521
- Tabs.defaultProps = {};
2522
-
2523
- const Track = styled.div `
2524
- height: 24px;
2525
- border-radius: 12px;
2526
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2527
- display: flex;
2528
- align-items: center;
2529
- cursor: pointer;
2530
- width: 40px;
2531
- padding: 2px;
2532
- box-sizing: border-box;
2533
- `;
2534
- const Handle = styled.div `
2535
- width: 20px;
2536
- height: 20px;
2537
- border-radius: 10px;
2538
- background: #ffffff;
2539
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2540
- display: flex;
2541
- align-items: center;
2542
- justify-content: center;
2543
- box-sizing: border-box;
2532
+ Tabs.defaultProps = {};
2533
+
2534
+ const Track = styled.div `
2535
+ height: 24px;
2536
+ border-radius: 12px;
2537
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2538
+ display: flex;
2539
+ align-items: center;
2540
+ cursor: pointer;
2541
+ width: 40px;
2542
+ padding: 2px;
2543
+ box-sizing: border-box;
2544
+ `;
2545
+ const Handle = styled.div `
2546
+ width: 20px;
2547
+ height: 20px;
2548
+ border-radius: 10px;
2549
+ background: #ffffff;
2550
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2551
+ display: flex;
2552
+ align-items: center;
2553
+ justify-content: center;
2554
+ box-sizing: border-box;
2544
2555
  `;
2545
2556
  const Toggle = (_a) => {
2546
2557
  var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
@@ -2549,8 +2560,8 @@ const Toggle = (_a) => {
2549
2560
  React.createElement(Handle, { "$on": on },
2550
2561
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? js.mdiCheck : js.mdiClose, size: '16px' }))));
2551
2562
  };
2552
- Toggle.defaultProps = {};
2553
-
2563
+ Toggle.defaultProps = {};
2564
+
2554
2565
  const Container = styled.div `
2555
2566
  width: 100%;
2556
2567
  padding: 40px auto;
@@ -2585,53 +2596,53 @@ const ZeroState = (_a) => {
2585
2596
  React.createElement(Heading, { children: title, type: 'tertiary' }),
2586
2597
  description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
2587
2598
  action && (React.createElement(Button, { children: action.children, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2588
- };
2589
-
2590
- exports.Accordion = Accordion;
2591
- exports.ActionDialog = ActionDialog;
2592
- exports.Alert = Alert;
2593
- exports.AppHeader = AppHeader;
2594
- exports.AppMenu = AppMenu;
2595
- exports.BulkActionBar = BulkActionBar;
2596
- exports.Button = Button;
2597
- exports.ButtonMenu = ButtonMenu;
2598
- exports.Checkbox = Checkbox;
2599
- exports.Checklist = Checklist;
2600
- exports.Colors = Colors;
2601
- exports.Copy = Copy;
2602
- exports.DatePicker = DatePicker;
2603
- exports.Drawer = Drawer;
2604
- exports.EditableTheme = EditableTheme;
2605
- exports.Field = Field;
2606
- exports.FieldGroup = FieldGroup;
2607
- exports.FileUpload = FileUpload;
2608
- exports.FontSizes = FontSizes;
2609
- exports.FontStyles = FontStyles;
2610
- exports.Heading = Heading;
2611
- exports.Input = Input$1;
2612
- exports.Link = Link;
2613
- exports.Loader = Loader;
2614
- exports.Logo = Logo;
2615
- exports.Modal = Modal;
2616
- exports.MoreMenu = MoreMenu;
2617
- exports.MultiSelect = MultiSelect;
2618
- exports.PageHeader = PageHeader;
2619
- exports.Pagination = Pagination;
2620
- exports.ProgressBar = ProgressBar;
2621
- exports.Radio = Radio;
2622
- exports.RadioList = RadioList;
2623
- exports.Select = Select;
2624
- exports.Table = Table;
2625
- exports.Tabs = Tabs;
2626
- exports.Tag = Tag;
2627
- exports.Toggle = Toggle;
2628
- exports.Tooltip = Tooltip;
2629
- exports.ZeroState = ZeroState;
2630
- exports.formatAsPhone = formatAsPhone;
2631
- exports.formatAsSsn = formatAsSsn;
2632
- exports.getAgesFromDob = getAgesFromDob;
2633
- exports.getDaysForMonth = getDaysForMonth;
2634
- exports.getYears = getYears;
2635
- exports.validateEmail = validateEmail;
2636
- exports.validatePhone = validatePhone;
2637
- //# sourceMappingURL=index.js.map
2599
+ };
2600
+
2601
+ exports.Accordion = Accordion;
2602
+ exports.ActionDialog = ActionDialog;
2603
+ exports.Alert = Alert;
2604
+ exports.AppHeader = AppHeader;
2605
+ exports.AppMenu = AppMenu;
2606
+ exports.BulkActionBar = BulkActionBar;
2607
+ exports.Button = Button;
2608
+ exports.ButtonMenu = ButtonMenu;
2609
+ exports.Checkbox = Checkbox;
2610
+ exports.Checklist = Checklist;
2611
+ exports.Colors = Colors;
2612
+ exports.Copy = Copy;
2613
+ exports.DatePicker = DatePicker;
2614
+ exports.Drawer = Drawer;
2615
+ exports.EditableTheme = EditableTheme;
2616
+ exports.Field = Field;
2617
+ exports.FieldGroup = FieldGroup;
2618
+ exports.FileUpload = FileUpload;
2619
+ exports.FontSizes = FontSizes;
2620
+ exports.FontStyles = FontStyles;
2621
+ exports.Heading = Heading;
2622
+ exports.Input = Input$1;
2623
+ exports.Link = Link;
2624
+ exports.Loader = Loader;
2625
+ exports.Logo = Logo;
2626
+ exports.Modal = Modal;
2627
+ exports.MoreMenu = MoreMenu;
2628
+ exports.MultiSelect = MultiSelect;
2629
+ exports.PageHeader = PageHeader;
2630
+ exports.Pagination = Pagination;
2631
+ exports.ProgressBar = ProgressBar;
2632
+ exports.Radio = Radio;
2633
+ exports.RadioList = RadioList;
2634
+ exports.Select = Select;
2635
+ exports.Table = Table;
2636
+ exports.Tabs = Tabs;
2637
+ exports.Tag = Tag;
2638
+ exports.Toggle = Toggle;
2639
+ exports.Tooltip = Tooltip;
2640
+ exports.ZeroState = ZeroState;
2641
+ exports.formatAsPhone = formatAsPhone;
2642
+ exports.formatAsSsn = formatAsSsn;
2643
+ exports.getAgesFromDob = getAgesFromDob;
2644
+ exports.getDaysForMonth = getDaysForMonth;
2645
+ exports.getYears = getYears;
2646
+ exports.validateEmail = validateEmail;
2647
+ exports.validatePhone = validatePhone;
2648
+ //# sourceMappingURL=index.js.map