@hexure/ui 1.13.12 → 1.13.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import React, { useContext, useState, useRef, useEffect } from 'react';
2
- import styled, { ThemeContext, keyframes } from 'styled-components';
3
- import Icon, { Icon as Icon$1 } from '@mdi/react';
4
- import { mdiChevronUp, mdiChevronDown, mdiLoading, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronRight, mdiChevronLeft, mdiDotsHorizontal, mdiMinusCircle, mdiFolderPlusOutline, mdiCheck } from '@mdi/js';
5
- import dayjs from 'dayjs';
6
- import Numeral from 'numeral';
7
- import Moment from 'moment';
8
-
1
+ import React, { useContext, useState, useRef, useEffect } from 'react';
2
+ import styled, { ThemeContext, keyframes } from 'styled-components';
3
+ import Icon, { Icon as Icon$1 } from '@mdi/react';
4
+ import { mdiChevronUp, mdiChevronDown, mdiLoading, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronRight, mdiChevronLeft, mdiDotsHorizontal, mdiMinusCircle, mdiFolderPlusOutline, mdiCheck } from '@mdi/js';
5
+ import dayjs from 'dayjs';
6
+ import Numeral from 'numeral';
7
+ import Moment from 'moment';
8
+
9
9
  /******************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
@@ -19,22 +19,22 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
19
19
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */
23
- /* global Reflect, Promise, SuppressedError, Symbol */
24
-
25
- function __rest(s, e) {
26
- var t = {};
27
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
29
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
30
- }
31
- return t;
32
- }
33
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
- var e = new Error(message);
35
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
- };
37
-
22
+ ***************************************************************************** */
23
+ /* global Reflect, Promise, SuppressedError, Symbol */
24
+
25
+ function __rest(s, e) {
26
+ var t = {};
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
29
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
30
+ }
31
+ return t;
32
+ }
33
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
+ var e = new Error(message);
35
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
+ };
37
+
38
38
  const Colors = {
39
39
  PRIMARY: {
40
40
  Hex: '#0193D7',
@@ -83,26 +83,26 @@ const FontSizes = {
83
83
  };
84
84
  const EditableTheme = {
85
85
  PRIMARY_COLOR: Colors.PRIMARY,
86
- };
87
-
88
- const Header$3 = styled.div `
89
- display: flex;
90
- align-items: center;
91
- justify-content: space-between;
92
- box-sizing: border-box;
93
- background: #f5f5f5;
94
- border: 1px solid #e5e5e5;
95
- padding: 14px 20px;
96
- height: 50px;
97
- cursor: pointer;
98
- `;
99
- const Title$2 = styled.div `
100
- font-size: ${FontSizes.DEFAULT};
101
- font-weight: 400;
102
- color: ${Colors.BLACK.Hex};
103
- line-height: 1.6em;
104
- font-family: ${FontStyles.DEFAULT};
105
- box-sizing: border-box;
86
+ };
87
+
88
+ const Header$3 = styled.div `
89
+ display: flex;
90
+ align-items: center;
91
+ justify-content: space-between;
92
+ box-sizing: border-box;
93
+ background: #f5f5f5;
94
+ border: 1px solid #e5e5e5;
95
+ padding: 14px 20px;
96
+ height: 50px;
97
+ cursor: pointer;
98
+ `;
99
+ const Title$2 = styled.div `
100
+ font-size: ${FontSizes.DEFAULT};
101
+ font-weight: 400;
102
+ color: ${Colors.BLACK.Hex};
103
+ line-height: 1.6em;
104
+ font-family: ${FontStyles.DEFAULT};
105
+ box-sizing: border-box;
106
106
  `;
107
107
  const Accordion = (_a) => {
108
108
  var { title, children, open, onClick } = _a, accessibleProps = __rest(_a, ["title", "children", "open", "onClick"]);
@@ -111,13 +111,13 @@ const Accordion = (_a) => {
111
111
  React.createElement(Title$2, null, title),
112
112
  React.createElement(Icon, { color: Colors.BLACK.Hex, path: open ? mdiChevronUp : mdiChevronDown, size: '24px' })),
113
113
  open ? children : null));
114
- };
115
-
116
- const StyledButton = styled.button `
117
- height: ${props => (props.$small ? '30px' : '40px')};
118
- line-height: 1em;
119
- border-radius: ${props => (props.$small ? '15px' : '20px')};
120
- margin: ${props => props.$margin || '0px'};
114
+ };
115
+
116
+ const StyledButton = styled.button `
117
+ height: ${props => (props.$small ? '30px' : '40px')};
118
+ line-height: 1em;
119
+ border-radius: ${props => (props.$small ? '15px' : '20px')};
120
+ margin: ${props => props.$margin || '0px'};
121
121
  padding: ${props => {
122
122
  if (props.$hasChildren) {
123
123
  if (props.$small) {
@@ -128,9 +128,9 @@ const StyledButton = styled.button `
128
128
  }
129
129
  }
130
130
  return '0px';
131
- }};
132
- outline: none;
133
- background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
131
+ }};
132
+ outline: none;
133
+ background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
134
134
  width: ${props => {
135
135
  if (props.$hasChildren) {
136
136
  return 'auto';
@@ -139,53 +139,53 @@ const StyledButton = styled.button `
139
139
  return '30px';
140
140
  }
141
141
  return '40px';
142
- }};
143
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
144
- display: flex;
145
- align-items: center;
146
- justify-content: center;
147
- opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
148
- border-width: 1px;
149
- border-style: solid;
150
- border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
151
- box-sizing: border-box;
152
-
153
- &:active,
154
- &:focus,
155
- &:hover {
156
- opacity: ${props => (props.$disabled ? 0.6 : 1)};
157
- }
158
- `;
159
- const Label$5 = styled.span `
160
- color: ${props => props.$content_color || '#fff'};
161
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
162
- font-family: ${FontStyles.DEFAULT};
163
- font-weight: 500;
164
- line-height: 1;
165
- `;
166
- const StyledIcon$6 = styled.span `
167
- margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
168
- margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
169
- display: flex;
170
- align-items: center;
171
- box-sizing: border-box;
172
- `;
173
- const Badge$1 = styled.span `
174
- width: ${props => (props.$small ? '20px' : '24px')};
175
- height: ${props => (props.$small ? '20px' : '24px')};
176
- line-height: 1;
177
- display: flex;
178
- align-items: center;
179
- justify-content: center;
180
- border-radius: 100%;
181
- background-color: ${props => props.$bg_color || '#fff'};
182
- color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
183
- font-size: ${props => (props.$small ? '10px' : '12px')};
184
- font-weight: 600;
185
- font-family: ${FontStyles.DEFAULT};
186
- letter-spacing: -1px;
187
- margin-left: ${props => (props.$small ? '5px' : '10px')};
188
- margin-right: ${props => (props.$small ? '-5px' : '-10px')};
142
+ }};
143
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
144
+ display: flex;
145
+ align-items: center;
146
+ justify-content: center;
147
+ opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
148
+ border-width: 1px;
149
+ border-style: solid;
150
+ border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
151
+ box-sizing: border-box;
152
+
153
+ &:active,
154
+ &:focus,
155
+ &:hover {
156
+ opacity: ${props => (props.$disabled ? 0.6 : 1)};
157
+ }
158
+ `;
159
+ const Label$5 = styled.span `
160
+ color: ${props => props.$content_color || '#fff'};
161
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
162
+ font-family: ${FontStyles.DEFAULT};
163
+ font-weight: 500;
164
+ line-height: 1;
165
+ `;
166
+ const StyledIcon$6 = styled.span `
167
+ margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
168
+ margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
169
+ display: flex;
170
+ align-items: center;
171
+ box-sizing: border-box;
172
+ `;
173
+ const Badge$1 = styled.span `
174
+ width: ${props => (props.$small ? '20px' : '24px')};
175
+ height: ${props => (props.$small ? '20px' : '24px')};
176
+ line-height: 1;
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: center;
180
+ border-radius: 100%;
181
+ background-color: ${props => props.$bg_color || '#fff'};
182
+ color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
183
+ font-size: ${props => (props.$small ? '10px' : '12px')};
184
+ font-weight: 600;
185
+ font-family: ${FontStyles.DEFAULT};
186
+ letter-spacing: -1px;
187
+ margin-left: ${props => (props.$small ? '5px' : '10px')};
188
+ margin-right: ${props => (props.$small ? '-5px' : '-10px')};
189
189
  `;
190
190
  const Button = (_a) => {
191
191
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
@@ -227,58 +227,58 @@ const Button = (_a) => {
227
227
  icon && !badge ? (React.createElement(StyledIcon$6, { "$hasChildren": !!has_children },
228
228
  React.createElement(Icon, { color: format ? format_styles.content_color : '#fff', path: loading ? mdiLoading : icon, size: small ? '20px' : '24px', spin: loading }))) : null,
229
229
  badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
230
- };
231
-
232
- const StyledComponent = styled.p `
233
- color: ${props => Colors[props.$color || 'BLACK'].Hex};
234
- font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
235
- line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
236
- letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
237
- font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
238
- font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
239
- text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
240
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
241
- margin: ${props => props.$margin || '0px'};
242
- padding: ${props => props.$padding || '0px'};
243
- text-align: ${props => props.$align || 'left'};
244
- box-sizing: border-box;
230
+ };
231
+
232
+ const StyledComponent = styled.p `
233
+ color: ${props => Colors[props.$color || 'BLACK'].Hex};
234
+ font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
235
+ line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
236
+ letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
237
+ font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
238
+ font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
239
+ text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
240
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
241
+ margin: ${props => props.$margin || '0px'};
242
+ padding: ${props => props.$padding || '0px'};
243
+ text-align: ${props => props.$align || 'left'};
244
+ box-sizing: border-box;
245
245
  `;
246
246
  const Copy = ({ children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', }) => {
247
247
  return (React.createElement(StyledComponent, { "$align": align, "$color": color, "$margin": margin, "$padding": padding, "$type": type }, children));
248
248
  };
249
249
  Copy.defaultProps = {
250
250
  type: 'default',
251
- };
252
-
253
- const H1 = styled.h1 `
254
- color: ${Colors.BLACK.Hex};
255
- font-size: 30px;
256
- font-weight: ${props => (props.$bold ? '500' : '400')};
257
- line-height: 1.4em;
258
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
259
- margin: ${props => props.$margin || '0px'};
260
- padding: ${props => props.$padding || '0px'};
261
- box-sizing: border-box;
262
- `;
263
- const H2 = styled.h2 `
264
- color: ${Colors.BLACK.Hex};
265
- font-size: 24px;
266
- font-weight: ${props => (props.$bold ? '500' : '400')};
267
- line-height: 1.33em;
268
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
269
- margin: ${props => props.$margin || '0px'};
270
- padding: ${props => props.$padding || '0px'};
271
- box-sizing: border-box;
272
- `;
273
- const H3 = styled.h3 `
274
- color: ${Colors.BLACK.Hex};
275
- font-size: 18px;
276
- font-weight: ${props => (props.$bold ? '500' : '400')};
277
- line-height: 1.33em;
278
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
279
- margin: ${props => props.$margin || '0px'};
280
- padding: ${props => props.$padding || '0px'};
281
- box-sizing: border-box;
251
+ };
252
+
253
+ const H1 = styled.h1 `
254
+ color: ${Colors.BLACK.Hex};
255
+ font-size: 30px;
256
+ font-weight: ${props => (props.$bold ? '500' : '400')};
257
+ line-height: 1.4em;
258
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
259
+ margin: ${props => props.$margin || '0px'};
260
+ padding: ${props => props.$padding || '0px'};
261
+ box-sizing: border-box;
262
+ `;
263
+ const H2 = styled.h2 `
264
+ color: ${Colors.BLACK.Hex};
265
+ font-size: 24px;
266
+ font-weight: ${props => (props.$bold ? '500' : '400')};
267
+ line-height: 1.33em;
268
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
269
+ margin: ${props => props.$margin || '0px'};
270
+ padding: ${props => props.$padding || '0px'};
271
+ box-sizing: border-box;
272
+ `;
273
+ const H3 = styled.h3 `
274
+ color: ${Colors.BLACK.Hex};
275
+ font-size: 18px;
276
+ font-weight: ${props => (props.$bold ? '500' : '400')};
277
+ line-height: 1.33em;
278
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
279
+ margin: ${props => props.$margin || '0px'};
280
+ padding: ${props => props.$padding || '0px'};
281
+ box-sizing: border-box;
282
282
  `;
283
283
  const Heading = (_a) => {
284
284
  var { bold, children, margin, padding, type } = _a, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type"]);
@@ -297,29 +297,29 @@ const Heading = (_a) => {
297
297
  Heading.defaultProps = {
298
298
  bold: false,
299
299
  type: 'primary',
300
- };
301
-
302
- const Wrapper$h = styled.div `
303
- position: fixed;
304
- top: 0;
305
- right: 0;
306
- bottom: 0;
307
- left: 0;
308
- z-index: 9999;
309
- background: rgba(0, 0, 0, 0.8);
310
- display: flex;
311
- align-items: center;
312
- justify-content: center;
313
- box-sizing: border-box;
300
+ };
301
+
302
+ const Wrapper$h = styled.div `
303
+ position: fixed;
304
+ top: 0;
305
+ right: 0;
306
+ bottom: 0;
307
+ left: 0;
308
+ z-index: 9999;
309
+ background: rgba(0, 0, 0, 0.8);
310
+ display: flex;
311
+ align-items: center;
312
+ justify-content: center;
313
+ box-sizing: border-box;
314
314
  `;
315
315
  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)));
316
- const Buttons$1 = styled.div `
317
- display: flex;
318
- gap: 10px;
319
- align-items: center;
320
- justify-content: center;
321
- margin-top: 30px;
322
- box-sizing: border-box;
316
+ const Buttons$1 = styled.div `
317
+ display: flex;
318
+ gap: 10px;
319
+ align-items: center;
320
+ justify-content: center;
321
+ margin-top: 30px;
322
+ box-sizing: border-box;
323
323
  `;
324
324
  const ActionDialog = (_a) => {
325
325
  var { description, title, primaryButton, secondaryButton, tertiaryButton, style = {} } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton", "style"]);
@@ -331,29 +331,29 @@ const ActionDialog = (_a) => {
331
331
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
332
332
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
333
333
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)));
334
- };
335
-
336
- const Wrapper$g = styled.div `
337
- border: 1px solid #f1f1f1;
338
- border-radius: 4px;
339
- border-left-width: 4px;
340
- box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
341
- display: flex;
342
- align-items: flex-start;
343
- gap: ${({ $small }) => ($small ? '8px' : '20px')};
344
- padding: ${({ $small }) => ($small ? '11px' : '20px')};
345
- box-sizing: border-box;
346
- `;
347
- const StyledIcon$5 = styled(Icon) `
348
- flex-shrink: 0;
349
- `;
350
- const Action$1 = styled.div `
351
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
352
- font-size: ${FontSizes.DEFAULT};
353
- font-family: ${FontStyles.DEFAULT};
354
- font-weight: 500;
355
- cursor: pointer;
356
- margin-top: 6px;
334
+ };
335
+
336
+ const Wrapper$g = styled.div `
337
+ border: 1px solid #f1f1f1;
338
+ border-radius: 4px;
339
+ border-left-width: 4px;
340
+ box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
341
+ display: flex;
342
+ align-items: flex-start;
343
+ gap: ${({ $small }) => ($small ? '8px' : '20px')};
344
+ padding: ${({ $small }) => ($small ? '11px' : '20px')};
345
+ box-sizing: border-box;
346
+ `;
347
+ const StyledIcon$5 = styled(Icon) `
348
+ flex-shrink: 0;
349
+ `;
350
+ const Action$1 = styled.div `
351
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
352
+ font-size: ${FontSizes.DEFAULT};
353
+ font-family: ${FontStyles.DEFAULT};
354
+ font-weight: 500;
355
+ cursor: pointer;
356
+ margin-top: 6px;
357
357
  `;
358
358
  Action$1.defaultProps = { theme: EditableTheme };
359
359
  const Alert = (_a) => {
@@ -383,8 +383,8 @@ const Alert = (_a) => {
383
383
  title && !small ? (React.createElement(Heading, { bold: true, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
384
384
  description ? (React.createElement(Copy, { margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
385
385
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
386
- };
387
-
386
+ };
387
+
388
388
  const colorMapping = {
389
389
  black: {
390
390
  fill_1: '#000000',
@@ -425,61 +425,61 @@ const Logo = (_a) => {
425
425
  React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
426
426
  React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
427
427
  }
428
- };
429
-
430
- const Container$3 = styled.header `
431
- width: 100%;
432
- display: flex;
433
- padding: 20px;
434
- box-sizing: border-box;
435
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
436
- background: '#fff';
437
- justify-content: space-between;
438
- `;
439
- const LogoWrapper = styled.div `
440
- display: flex;
441
- align-items: center;
442
- `;
443
- const Image = styled.img `
444
- height: 30px !important;
445
- width: auto !important;
446
- `;
447
- const Buttons = styled.div `
448
- display: flex;
449
- flex-direction: row;
450
- column-gap: 10px;
451
- flex-direction: reverse;
428
+ };
429
+
430
+ const Container$3 = styled.header `
431
+ width: 100%;
432
+ display: flex;
433
+ padding: 20px;
434
+ box-sizing: border-box;
435
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
436
+ background: '#fff';
437
+ justify-content: space-between;
438
+ `;
439
+ const LogoWrapper = styled.div `
440
+ display: flex;
441
+ align-items: center;
442
+ `;
443
+ const Image = styled.img `
444
+ height: 30px !important;
445
+ width: auto !important;
446
+ `;
447
+ const Buttons = styled.div `
448
+ display: flex;
449
+ flex-direction: row;
450
+ column-gap: 10px;
451
+ flex-direction: reverse;
452
452
  `;
453
453
  const AppHeader = ({ logoUrl, buttons = [] }) => {
454
454
  return (React.createElement(Container$3, null,
455
455
  React.createElement(LogoWrapper, null, logoUrl ? React.createElement(Image, { src: logoUrl }) : React.createElement(Logo, { height: '30px' })),
456
456
  React.createElement(Buttons, null, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b)))))));
457
- };
458
-
459
- const Wrapper$f = styled.div `
460
- display: inline-block;
461
- border-radius: 4px;
462
- padding: 4px 6px;
463
- background: ${props => Colors[props.$color].Hex};
464
- color: #ffffff;
465
- box-sizing: border-box;
466
- cursor: ${props => (props.$removable ? 'pointer' : 'default')};
467
- `;
468
- const Content$3 = styled.div `
469
- display: flex;
470
- align-items: center;
471
- `;
472
- const Label$4 = styled.div `
473
- color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
474
- font-size: ${FontSizes.SMALL};
475
- font-weight: 500;
476
- font-family: ${FontStyles.DEFAULT};
477
- line-height: 1.2em;
478
- `;
479
- const Remove$1 = styled.div `
480
- margin-left: 10px;
481
- display: flex;
482
- align-items: center;
457
+ };
458
+
459
+ const Wrapper$f = styled.div `
460
+ display: inline-block;
461
+ border-radius: 4px;
462
+ padding: 4px 6px;
463
+ background: ${props => Colors[props.$color].Hex};
464
+ color: #ffffff;
465
+ box-sizing: border-box;
466
+ cursor: ${props => (props.$removable ? 'pointer' : 'default')};
467
+ `;
468
+ const Content$3 = styled.div `
469
+ display: flex;
470
+ align-items: center;
471
+ `;
472
+ const Label$4 = styled.div `
473
+ color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
474
+ font-size: ${FontSizes.SMALL};
475
+ font-weight: 500;
476
+ font-family: ${FontStyles.DEFAULT};
477
+ line-height: 1.2em;
478
+ `;
479
+ const Remove$1 = styled.div `
480
+ margin-left: 10px;
481
+ display: flex;
482
+ align-items: center;
483
483
  `;
484
484
  const Tag = (_a) => {
485
485
  var { children, color = 'PRIMARY', removable, onClick } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick"]);
@@ -488,91 +488,91 @@ const Tag = (_a) => {
488
488
  React.createElement(Label$4, { "$color": color }, children),
489
489
  removable ? (React.createElement(Remove$1, null,
490
490
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: mdiClose, size: '15px' }))) : null)));
491
- };
492
-
493
- const SidebarContainer = styled.div `
494
- border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
495
- display: flex;
496
- flex-direction: column;
497
- height: 100%;
498
- padding: 12px 0px;
499
- width: ${props => (props.$isOpen ? props.$width : '60px')};
500
- `;
501
- const MenuWrapper$1 = styled.div `
502
- display: flex;
503
- align-items: center;
504
- border-left-width: 4px;
505
- border-left-style: solid;
506
- border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
507
- cursor: pointer;
508
- height: 40px;
509
-
510
- &:hover > div {
511
- color: ${props => props.$color.Hex};
512
- }
513
-
514
- &:hover > svg > path {
515
- fill: ${Colors.BLACK.Hex} !important;
516
- }
517
- `;
518
- const MenuIcon = styled(Icon) `
519
- width: 20px;
520
- height: 20px;
521
- margin: 0px 16px;
522
- flex-shrink: 0;
523
-
524
- > path {
525
- fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
526
- }
527
- `;
528
- const MenuLabel = styled.div `
529
- color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
530
- flex: 1;
531
- font-size: 12px;
532
- font-style: normal;
533
- font-weight: 600;
534
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
535
- line-height: 16px;
536
- padding: 12px 0px;
537
- letter-spacing: 1px;
538
- `;
539
- const SubMenu = styled.div `
540
- overflow-y: auto;
541
- padding-left: 44px;
542
- padding-right: 20px;
543
- padding-bottom: 10px;
544
- `;
545
- const SubMenuItem = styled.a `
546
- display: block;
547
- padding: 8px 12px;
548
- border-radius: 8px;
549
- font-size: 13px;
550
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
551
- line-height: 20px;
552
- text-decoration: none;
553
- font-weight: ${({ $active }) => ($active ? '500' : '400')};
554
- color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
555
- background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
556
- cursor: pointer;
557
-
558
- &:hover {
559
- color: ${props => props.$color.Hex};
560
- font-weight: 500;
561
- }
562
- `;
563
- const Footer = styled.div `
564
- padding: 20px 14px 0px;
565
- display: flex;
566
- align-items: center;
567
- `;
568
- const FooterInfo = styled.div `
569
- display: flex;
570
- flex-direction: column;
571
- flex: 1;
572
- align-items: flex-start;
573
- `;
574
- const SidebarMenuContainer = styled.div `
575
- flex-grow: 1;
491
+ };
492
+
493
+ const SidebarContainer = styled.div `
494
+ border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
495
+ display: flex;
496
+ flex-direction: column;
497
+ height: 100%;
498
+ padding: 12px 0px;
499
+ width: ${props => (props.$isOpen ? props.$width : '60px')};
500
+ `;
501
+ const MenuWrapper$1 = styled.div `
502
+ display: flex;
503
+ align-items: center;
504
+ border-left-width: 4px;
505
+ border-left-style: solid;
506
+ border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
507
+ cursor: pointer;
508
+ height: 40px;
509
+
510
+ &:hover > div {
511
+ color: ${props => props.$color.Hex};
512
+ }
513
+
514
+ &:hover > svg > path {
515
+ fill: ${Colors.BLACK.Hex} !important;
516
+ }
517
+ `;
518
+ const MenuIcon = styled(Icon) `
519
+ width: 20px;
520
+ height: 20px;
521
+ margin: 0px 16px;
522
+ flex-shrink: 0;
523
+
524
+ > path {
525
+ fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
526
+ }
527
+ `;
528
+ const MenuLabel = styled.div `
529
+ color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
530
+ flex: 1;
531
+ font-size: 12px;
532
+ font-style: normal;
533
+ font-weight: 600;
534
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
535
+ line-height: 16px;
536
+ padding: 12px 0px;
537
+ letter-spacing: 1px;
538
+ `;
539
+ const SubMenu = styled.div `
540
+ overflow-y: auto;
541
+ padding-left: 44px;
542
+ padding-right: 20px;
543
+ padding-bottom: 10px;
544
+ `;
545
+ const SubMenuItem = styled.a `
546
+ display: block;
547
+ padding: 8px 12px;
548
+ border-radius: 8px;
549
+ font-size: 13px;
550
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
551
+ line-height: 20px;
552
+ text-decoration: none;
553
+ font-weight: ${({ $active }) => ($active ? '500' : '400')};
554
+ color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
555
+ background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
556
+ cursor: pointer;
557
+
558
+ &:hover {
559
+ color: ${props => props.$color.Hex};
560
+ font-weight: 500;
561
+ }
562
+ `;
563
+ const Footer = styled.div `
564
+ padding: 20px 14px 0px;
565
+ display: flex;
566
+ align-items: center;
567
+ `;
568
+ const FooterInfo = styled.div `
569
+ display: flex;
570
+ flex-direction: column;
571
+ flex: 1;
572
+ align-items: flex-start;
573
+ `;
574
+ const SidebarMenuContainer = styled.div `
575
+ flex-grow: 1;
576
576
  `;
577
577
  const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
578
578
  const theme = useContext(ThemeContext) || EditableTheme;
@@ -596,75 +596,75 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
596
596
  e.preventDefault();
597
597
  toggleCollapse(!collapsed);
598
598
  }, small: true }))));
599
- };
600
-
601
- const Wrapper$e = styled.div `
602
- border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
603
- border-radius: 8px;
604
- box-sizing: border-box;
605
- display: flex;
606
- align-items: center;
607
- justify-content: space-between;
608
- padding: 16px 20px;
599
+ };
600
+
601
+ const Wrapper$e = styled.div `
602
+ border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
603
+ border-radius: 8px;
604
+ box-sizing: border-box;
605
+ display: flex;
606
+ align-items: center;
607
+ justify-content: space-between;
608
+ padding: 16px 20px;
609
609
  `;
610
610
  Wrapper$e.defaultProps = { theme: EditableTheme };
611
- const Left = styled.div `
612
- box-sizing: border-box;
613
- display: flex;
614
- align-items: center;
615
- justify-content: space-between;
616
- flex-shrink: 0;
617
- `;
618
- const Info$1 = styled.div `
619
- box-sizing: border-box;
620
- display: flex;
621
- align-items: center;
622
- margin-right: 30px;
623
- `;
624
- const Selected = styled.span `
625
- font-size: 14px;
626
- font-weight: 400;
627
- font-family: ${FontStyles.DEFAULT};
628
- color: ${Colors.BLACK.Hex};
629
- line-height: 1;
630
- `;
631
- const Clear = styled.span `
632
- font-size: 14px;
633
- font-weight: 400;
634
- font-family: ${FontStyles.DEFAULT};
635
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
636
- line-height: 1;
637
- cursor: pointer;
638
- padding-left: 10px;
639
- margin-left: 10px;
640
- border-left: 1px solid #ccc;
611
+ const Left = styled.div `
612
+ box-sizing: border-box;
613
+ display: flex;
614
+ align-items: center;
615
+ justify-content: space-between;
616
+ flex-shrink: 0;
617
+ `;
618
+ const Info$1 = styled.div `
619
+ box-sizing: border-box;
620
+ display: flex;
621
+ align-items: center;
622
+ margin-right: 30px;
623
+ `;
624
+ const Selected = styled.span `
625
+ font-size: 14px;
626
+ font-weight: 400;
627
+ font-family: ${FontStyles.DEFAULT};
628
+ color: ${Colors.BLACK.Hex};
629
+ line-height: 1;
630
+ `;
631
+ const Clear = styled.span `
632
+ font-size: 14px;
633
+ font-weight: 400;
634
+ font-family: ${FontStyles.DEFAULT};
635
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
636
+ line-height: 1;
637
+ cursor: pointer;
638
+ padding-left: 10px;
639
+ margin-left: 10px;
640
+ border-left: 1px solid #ccc;
641
641
  `;
642
642
  Clear.defaultProps = { theme: EditableTheme };
643
- const Actions$1 = styled.div `
644
- box-sizing: border-box;
645
- display: flex;
646
- align-items: center;
647
- column-gap: 10px;
648
- `;
649
- const Error$1 = styled.div `
650
- box-sizing: border-box;
651
- display: flex;
652
- align-items: center;
653
- background: rgba(${Colors.RED.Rgb}, 0.1);
654
- border-radius: 4px;
655
- padding: 6px 8px;
656
- text-overflow: ellipsis;
657
- white-space: nowrap;
658
- overflow: hidden;
659
- margin-left: 30px;
660
- `;
661
- const ErrorMsg = styled.span `
662
- font-size: 14px;
663
- font-weight: 500;
664
- font-family: ${FontStyles.DEFAULT};
665
- line-height: 1em;
666
- color: ${Colors.RED.Hex};
667
- margin-left: 8px;
643
+ const Actions$1 = styled.div `
644
+ box-sizing: border-box;
645
+ display: flex;
646
+ align-items: center;
647
+ column-gap: 10px;
648
+ `;
649
+ const Error$1 = styled.div `
650
+ box-sizing: border-box;
651
+ display: flex;
652
+ align-items: center;
653
+ background: rgba(${Colors.RED.Rgb}, 0.1);
654
+ border-radius: 4px;
655
+ padding: 6px 8px;
656
+ text-overflow: ellipsis;
657
+ white-space: nowrap;
658
+ overflow: hidden;
659
+ margin-left: 30px;
660
+ `;
661
+ const ErrorMsg = styled.span `
662
+ font-size: 14px;
663
+ font-weight: 500;
664
+ font-family: ${FontStyles.DEFAULT};
665
+ line-height: 1em;
666
+ color: ${Colors.RED.Hex};
667
+ margin-left: 8px;
668
668
  `;
669
669
  const BulkActionBar = (_a) => {
670
670
  var { actions = [], errorMsg, onClear, selectedCount = 0 } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
@@ -679,8 +679,8 @@ const BulkActionBar = (_a) => {
679
679
  errorMsg ? (React.createElement(Error$1, null,
680
680
  React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
681
681
  React.createElement(ErrorMsg, null, errorMsg))) : null));
682
- };
683
-
682
+ };
683
+
684
684
  const Wrapper$d = styled.div `
685
685
  background: #fff;
686
686
  border-radius: 8px;
@@ -733,8 +733,8 @@ const MoreMenu = (_a) => {
733
733
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
734
734
  React.createElement(Title$1, { disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
735
735
  })));
736
- };
737
-
736
+ };
737
+
738
738
  const MenuWrapper = styled.div `
739
739
  position: relative;
740
740
  display: inline-block;
@@ -822,19 +822,19 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
822
822
  return (React.createElement(MenuWrapper, { onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
823
823
  React.createElement(Button, { disabled: disabled, format: format, icon: mdiDotsHorizontal, small: small }, label),
824
824
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, maxHeight: maxHeight, menuItems: menuItems }))));
825
- };
826
-
827
- const Wrapper$c = styled.div `
828
- display: inline-block;
829
- position: relative;
830
- height: 16px;
831
- `;
832
- const StyledIcon$4 = styled(Icon) `
833
- width: 16px;
834
- height: 16px;
835
- margin: 0px 6px;
836
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
837
- cursor: pointer;
825
+ };
826
+
827
+ const Wrapper$c = styled.div `
828
+ display: inline-block;
829
+ position: relative;
830
+ height: 16px;
831
+ `;
832
+ const StyledIcon$4 = styled(Icon) `
833
+ width: 16px;
834
+ height: 16px;
835
+ margin: 0px 6px;
836
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
837
+ cursor: pointer;
838
838
  `;
839
839
  StyledIcon$4.defaultProps = { theme: EditableTheme };
840
840
  const positions = {
@@ -872,85 +872,85 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
872
872
  return (React.createElement(Wrapper$c, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
873
873
  trigger || React.createElement(StyledIcon$4, { path: mdiInformationOutline }),
874
874
  show_content ? (React.createElement(Content$2, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
875
- };
876
-
877
- const Wrapper$b = styled.label `
878
- border-radius: 4px;
879
- padding: 4px 0px 4px 6px;
880
- margin-left: -6px;
881
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
882
- display: flex;
883
- align-items: center;
884
- font-size: ${FontSizes.DEFAULT};
885
- line-height: 1.6em;
886
- box-sizing: border-box;
887
- position: relative;
888
-
889
- &:focus-within {
890
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
891
- }
875
+ };
876
+
877
+ const Wrapper$b = styled.label `
878
+ border-radius: 4px;
879
+ padding: 4px 0px 4px 6px;
880
+ margin-left: -6px;
881
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
882
+ display: flex;
883
+ align-items: center;
884
+ font-size: ${FontSizes.DEFAULT};
885
+ line-height: 1.6em;
886
+ box-sizing: border-box;
887
+ position: relative;
888
+
889
+ &:focus-within {
890
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
891
+ }
892
892
  `;
893
893
  Wrapper$b.defaultProps = { theme: EditableTheme };
894
- const Input$2 = styled.input `
895
- font-size: 20px;
896
- margin: 0px;
897
- line-height: 1.1em;
898
- box-sizing: border-box;
899
- position: absolute;
900
- opacity: 0;
901
- cursor: pointer;
902
- height: 0;
903
- width: 0;
904
- &:checked + span {
905
- background-color: ${Colors.PRIMARY.Hex};
906
- border-color: ${Colors.PRIMARY.Hex};
907
- }
908
- &:checked:disabled + span {
909
- background-color: ${Colors.MEDIUM_GRAY.Hex};
910
- border-color: ${Colors.MEDIUM_GRAY.Hex};
911
- }
912
- &:disabled + span {
913
- background-color: #d3d3d3;
914
- border-color: #d3d3d3;
915
- }
916
- &:checked + span:after {
917
- display: block;
918
- }
919
- `;
920
- const Check$1 = styled.span `
921
- height: 17px;
922
- width: 17px;
923
- min-width: 17px;
924
- background-color: #fff;
925
- border-width: 2px;
926
- border-style: solid;
927
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
928
- box-sizing: border-box;
929
- position: relative;
930
- &:after {
931
- content: '';
932
- position: absolute;
933
- left: 3px;
934
- top: 0px;
935
- width: 7px;
936
- height: 12px;
937
- border: solid white;
938
- border-width: 0 3px 3px 0;
939
- -webkit-transform: rotate(45deg);
940
- -ms-transform: rotate(45deg);
941
- transform: rotate(45deg);
942
- box-sizing: border-box;
943
- display: none;
944
- }
945
- `;
946
- const Label$3 = styled.span `
947
- font-family: ${FontStyles.DEFAULT};
948
- font-size: ${FontSizes.DEFAULT};
949
- font-weight: 400;
950
- line-height: 1.6em;
951
- color: ${props => props.color || Colors.BLACK.Hex};
952
- margin-left: 6px;
953
- box-sizing: border-box;
894
+ const Input$2 = styled.input `
895
+ font-size: 20px;
896
+ margin: 0px;
897
+ line-height: 1.1em;
898
+ box-sizing: border-box;
899
+ position: absolute;
900
+ opacity: 0;
901
+ cursor: pointer;
902
+ height: 0;
903
+ width: 0;
904
+ &:checked + span {
905
+ background-color: ${Colors.PRIMARY.Hex};
906
+ border-color: ${Colors.PRIMARY.Hex};
907
+ }
908
+ &:checked:disabled + span {
909
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
910
+ border-color: ${Colors.MEDIUM_GRAY.Hex};
911
+ }
912
+ &:disabled + span {
913
+ background-color: #d3d3d3;
914
+ border-color: #d3d3d3;
915
+ }
916
+ &:checked + span:after {
917
+ display: block;
918
+ }
919
+ `;
920
+ const Check$1 = styled.span `
921
+ height: 17px;
922
+ width: 17px;
923
+ min-width: 17px;
924
+ background-color: #fff;
925
+ border-width: 2px;
926
+ border-style: solid;
927
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
928
+ box-sizing: border-box;
929
+ position: relative;
930
+ &:after {
931
+ content: '';
932
+ position: absolute;
933
+ left: 3px;
934
+ top: 0px;
935
+ width: 7px;
936
+ height: 12px;
937
+ border: solid white;
938
+ border-width: 0 3px 3px 0;
939
+ -webkit-transform: rotate(45deg);
940
+ -ms-transform: rotate(45deg);
941
+ transform: rotate(45deg);
942
+ box-sizing: border-box;
943
+ display: none;
944
+ }
945
+ `;
946
+ const Label$3 = styled.span `
947
+ font-family: ${FontStyles.DEFAULT};
948
+ font-size: ${FontSizes.DEFAULT};
949
+ font-weight: 400;
950
+ line-height: 1.6em;
951
+ color: ${props => props.color || Colors.BLACK.Hex};
952
+ margin-left: 6px;
953
+ box-sizing: border-box;
954
954
  `;
955
955
  const Checkbox = (_a) => {
956
956
  var { children, color, disabled, checked, onChange, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip"]);
@@ -960,16 +960,16 @@ const Checkbox = (_a) => {
960
960
  children ? (React.createElement(Label$3, { color: color },
961
961
  children,
962
962
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
963
- };
964
-
965
- const SelectAll = styled.div `
966
- padding: 8px 12px;
967
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
968
- box-sizing: border-box;
963
+ };
964
+
965
+ const SelectAll = styled.div `
966
+ padding: 8px 12px;
967
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
968
+ box-sizing: border-box;
969
969
  `;
970
- const Options$1 = styled.div `
971
- padding: 12px;
972
- box-sizing: border-box;
970
+ const Options$1 = styled.div `
971
+ padding: 12px;
972
+ box-sizing: border-box;
973
973
  `;
974
974
  const Checklist = (_a) => {
975
975
  var { disabled, onChange, options, selected = [], showSelectAll } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
@@ -1006,70 +1006,70 @@ const Checklist = (_a) => {
1006
1006
  const checked = selected.includes(option.value);
1007
1007
  return (React.createElement(Checkbox, Object.assign({ key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1008
1008
  }))));
1009
- };
1010
-
1011
- const Wrapper$a = styled.div `
1012
- border-radius: 4px;
1013
- height: 40px;
1014
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1015
- position: relative;
1016
- cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1017
- border-width: 1px;
1018
- border-style: solid;
1019
- border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1020
- border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1021
- flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1022
- box-sizing: border-box;
1023
- padding: 10px 0px;
1024
- display: flex;
1025
- align-items: center;
1026
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1027
-
1028
- &:focus-within {
1029
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1030
- }
1009
+ };
1010
+
1011
+ const Wrapper$a = styled.div `
1012
+ border-radius: 4px;
1013
+ height: 40px;
1014
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1015
+ position: relative;
1016
+ cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1017
+ border-width: 1px;
1018
+ border-style: solid;
1019
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1020
+ border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1021
+ flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1022
+ box-sizing: border-box;
1023
+ padding: 10px 0px;
1024
+ display: flex;
1025
+ align-items: center;
1026
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1027
+
1028
+ &:focus-within {
1029
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1030
+ }
1031
1031
  `;
1032
1032
  Wrapper$a.defaultProps = { theme: EditableTheme };
1033
- const Trigger$1 = styled.select `
1034
- appearance: none;
1035
- box-shadow: none;
1036
- outline: none;
1037
- border: none;
1038
- color: ${Colors.BLACK.Hex};
1039
- font-size: ${FontSizes.DEFAULT};
1040
- font-weight: 400;
1041
- font-family: ${FontStyles.DEFAULT};
1042
- line-height: 2.9em;
1043
- background-color: transparent;
1044
- background-image: none;
1045
- width: 100%;
1046
- box-sizing: border-box;
1047
- padding: 0px 30px 0px 10px;
1048
- box-sizing: border-box;
1049
- position: relative;
1050
- z-index: 2;
1051
- `;
1052
- const IconWrapper$2 = styled(Icon) `
1053
- position: absolute;
1054
- right: 9px;
1055
- z-index: 1;
1056
- `;
1057
- const SearchInput$1 = styled.input `
1058
- position: absolute;
1059
- left: 2px;
1060
- top: 2px;
1061
- z-index: 999;
1062
- width: 90%;
1063
- height: 30px;
1064
- border: none;
1065
- outline: none;
1066
- color: ${Colors.BLACK.Hex};
1067
- font-family: ${FontStyles.DEFAULT};
1068
- font-size: ${FontSizes.DEFAULT};
1069
- font-weight: 400;
1070
- line-height: 2.9em;
1071
- overflow: hidden;
1072
- white-space: nowrap;
1033
+ const Trigger$1 = styled.select `
1034
+ appearance: none;
1035
+ box-shadow: none;
1036
+ outline: none;
1037
+ border: none;
1038
+ color: ${Colors.BLACK.Hex};
1039
+ font-size: ${FontSizes.DEFAULT};
1040
+ font-weight: 400;
1041
+ font-family: ${FontStyles.DEFAULT};
1042
+ line-height: 2.9em;
1043
+ background-color: transparent;
1044
+ background-image: none;
1045
+ width: 100%;
1046
+ box-sizing: border-box;
1047
+ padding: 0px 30px 0px 10px;
1048
+ box-sizing: border-box;
1049
+ position: relative;
1050
+ z-index: 2;
1051
+ `;
1052
+ const IconWrapper$2 = styled(Icon) `
1053
+ position: absolute;
1054
+ right: 9px;
1055
+ z-index: 1;
1056
+ `;
1057
+ const SearchInput$1 = styled.input `
1058
+ position: absolute;
1059
+ left: 2px;
1060
+ top: 2px;
1061
+ z-index: 999;
1062
+ width: 90%;
1063
+ height: 30px;
1064
+ border: none;
1065
+ outline: none;
1066
+ color: ${Colors.BLACK.Hex};
1067
+ font-family: ${FontStyles.DEFAULT};
1068
+ font-size: ${FontSizes.DEFAULT};
1069
+ font-weight: 400;
1070
+ line-height: 2.9em;
1071
+ overflow: hidden;
1072
+ white-space: nowrap;
1073
1073
  `;
1074
1074
  const Select = (_a) => {
1075
1075
  var { options, optionGroups, placeholder, readOnly, invalid, searchable = false, value, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style"]);
@@ -1105,15 +1105,15 @@ const Select = (_a) => {
1105
1105
  return (React.createElement("option", { key: i, value: option.value }, option.label || option.value));
1106
1106
  }))),
1107
1107
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' })));
1108
- };
1109
-
1110
- const DatePickerWrapper = styled.div `
1111
- display: flex;
1112
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1108
+ };
1109
+
1110
+ const DatePickerWrapper = styled.div `
1111
+ display: flex;
1112
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1113
1113
  `;
1114
- const Middle = styled.div `
1115
- margin: 0px -1px;
1116
- flex-grow: 1;
1114
+ const Middle = styled.div `
1115
+ margin: 0px -1px;
1116
+ flex-grow: 1;
1117
1117
  `;
1118
1118
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date, onChange, style, }) => {
1119
1119
  const [selectedDay, setSelectedDay] = useState('');
@@ -1195,66 +1195,66 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
1195
1195
  React.createElement(Middle, null,
1196
1196
  React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1197
1197
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, placeholder: 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1198
- };
1199
-
1200
- const Scrim$1 = styled.div `
1201
- position: ${({ $position }) => $position};
1202
- top: 0;
1203
- right: 0;
1204
- bottom: 0;
1205
- left: 0;
1206
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1207
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1208
- `;
1209
- const Container$2 = styled.div `
1210
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1211
- min-width: 400px;
1212
- width: ${({ $width }) => $width || '400px'};
1213
- overflow: hidden;
1214
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1215
- outline: none;
1216
- border: none;
1217
- position: ${({ $position }) => $position};
1218
- top: 0;
1219
- right: 0;
1220
- bottom: 0;
1221
- padding: 0px;
1222
- display: flex;
1223
- flex-direction: column;
1224
- box-sizing: border-box;
1225
- background: #fff;
1226
- `;
1227
- const Header$2 = styled.div `
1228
- padding: 30px 20px;
1229
- display: flex;
1230
- align-items: flex-start;
1231
- box-sizing: border-box;
1232
- flex-shrink: 0;
1233
- background: #fff;
1234
- `;
1235
- const Close$1 = styled.div `
1236
- margin-left: auto;
1237
- display: flex;
1238
- align-items: center;
1239
- padding-left: 20px;
1240
- cursor: pointer;
1241
- `;
1242
- const ContentWrapper$1 = styled.div `
1243
- overflow-x: hidden;
1244
- overflow-y: auto;
1245
- box-sizing: border-box;
1246
- flex: 1;
1247
- background: #fff;
1248
- `;
1249
- const ButtonBar$1 = styled.div `
1250
- padding: 20px;
1251
- display: flex;
1252
- align-items: center;
1253
- justify-content: flex-end;
1254
- box-sizing: border-box;
1255
- gap: 10px;
1256
- flex-shrink: 0;
1257
- background: #fff;
1198
+ };
1199
+
1200
+ const Scrim$1 = styled.div `
1201
+ position: ${({ $position }) => $position};
1202
+ top: 0;
1203
+ right: 0;
1204
+ bottom: 0;
1205
+ left: 0;
1206
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1207
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1208
+ `;
1209
+ const Container$2 = styled.div `
1210
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1211
+ min-width: 400px;
1212
+ width: ${({ $width }) => $width || '400px'};
1213
+ overflow: hidden;
1214
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1215
+ outline: none;
1216
+ border: none;
1217
+ position: ${({ $position }) => $position};
1218
+ top: 0;
1219
+ right: 0;
1220
+ bottom: 0;
1221
+ padding: 0px;
1222
+ display: flex;
1223
+ flex-direction: column;
1224
+ box-sizing: border-box;
1225
+ background: #fff;
1226
+ `;
1227
+ const Header$2 = styled.div `
1228
+ padding: 30px 20px;
1229
+ display: flex;
1230
+ align-items: flex-start;
1231
+ box-sizing: border-box;
1232
+ flex-shrink: 0;
1233
+ background: #fff;
1234
+ `;
1235
+ const Close$1 = styled.div `
1236
+ margin-left: auto;
1237
+ display: flex;
1238
+ align-items: center;
1239
+ padding-left: 20px;
1240
+ cursor: pointer;
1241
+ `;
1242
+ const ContentWrapper$1 = styled.div `
1243
+ overflow-x: hidden;
1244
+ overflow-y: auto;
1245
+ box-sizing: border-box;
1246
+ flex: 1;
1247
+ background: #fff;
1248
+ `;
1249
+ const ButtonBar$1 = styled.div `
1250
+ padding: 20px;
1251
+ display: flex;
1252
+ align-items: center;
1253
+ justify-content: flex-end;
1254
+ box-sizing: border-box;
1255
+ gap: 10px;
1256
+ flex-shrink: 0;
1257
+ background: #fff;
1258
1258
  `;
1259
1259
  const Drawer = (_a) => {
1260
1260
  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"]);
@@ -1282,55 +1282,55 @@ const Drawer = (_a) => {
1282
1282
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
1283
1283
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null),
1284
1284
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1285
- };
1286
-
1285
+ };
1286
+
1287
1287
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1288
- const LabelRow = styled.div `
1289
- display: flex;
1290
- align-items: center;
1291
- justify-content: space-between;
1292
- margin: 0 0 4px 0;
1293
- box-sizing: border-box;
1294
- `;
1295
- const Label$2 = styled.label `
1296
- font-size: ${FontSizes.DEFAULT};
1297
- font-weight: 500;
1298
- line-height: 1.3em;
1299
- font-family: ${FontStyles.DEFAULT};
1300
- color: ${Colors.BLACK.Hex};
1301
- display: flex;
1302
- align-items: center;
1303
- `;
1304
- const Required = styled.span `
1305
- color: ${Colors.RED.Hex};
1306
- margin-left: 4px;
1307
- `;
1308
- const Action = styled.span `
1309
- font-size: ${FontSizes.DEFAULT};
1310
- font-weight: 500;
1311
- line-height: 1em;
1312
- font-family: ${FontStyles.DEFAULT};
1313
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1314
- cursor: pointer;
1315
- `;
1316
- Action.defaultProps = { theme: EditableTheme };
1317
- const Description = styled.div `
1318
- font-size: ${FontSizes.SMALL};
1319
- font-weight: 400;
1320
- line-height: 1.3em;
1321
- font-family: ${FontStyles.DEFAULT};
1322
- color: ${Colors.BLACK.Hex};
1323
- margin: 0 0 8px 0;
1324
- box-sizing: border-box;
1325
- `;
1326
- const Validation = styled.div `
1327
- font-size: ${FontSizes.SMALL};
1328
- font-weight: 400;
1329
- line-height: 1.3em;
1330
- font-family: ${FontStyles.DEFAULT};
1331
- color: ${Colors.RED.Hex};
1332
- margin: 4px 0 0 0;
1333
- box-sizing: border-box;
1288
+ const LabelRow = styled.div `
1289
+ display: flex;
1290
+ align-items: center;
1291
+ justify-content: space-between;
1292
+ margin: 0 0 4px 0;
1293
+ box-sizing: border-box;
1294
+ `;
1295
+ const Label$2 = styled.label `
1296
+ font-size: ${FontSizes.DEFAULT};
1297
+ font-weight: 500;
1298
+ line-height: 1.3em;
1299
+ font-family: ${FontStyles.DEFAULT};
1300
+ color: ${Colors.BLACK.Hex};
1301
+ display: flex;
1302
+ align-items: center;
1303
+ `;
1304
+ const Required = styled.span `
1305
+ color: ${Colors.RED.Hex};
1306
+ margin-left: 4px;
1307
+ `;
1308
+ const Action = styled.span `
1309
+ font-size: ${FontSizes.DEFAULT};
1310
+ font-weight: 500;
1311
+ line-height: 1em;
1312
+ font-family: ${FontStyles.DEFAULT};
1313
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1314
+ cursor: pointer;
1315
+ `;
1316
+ Action.defaultProps = { theme: EditableTheme };
1317
+ const Description = styled.div `
1318
+ font-size: ${FontSizes.SMALL};
1319
+ font-weight: 400;
1320
+ line-height: 1.3em;
1321
+ font-family: ${FontStyles.DEFAULT};
1322
+ color: ${Colors.BLACK.Hex};
1323
+ margin: 0 0 8px 0;
1324
+ box-sizing: border-box;
1325
+ `;
1326
+ const Validation = styled.div `
1327
+ font-size: ${FontSizes.SMALL};
1328
+ font-weight: 400;
1329
+ line-height: 1.3em;
1330
+ font-family: ${FontStyles.DEFAULT};
1331
+ color: ${Colors.RED.Hex};
1332
+ margin: 4px 0 0 0;
1333
+ box-sizing: border-box;
1334
1334
  `;
1335
1335
  const Field = (_a) => {
1336
1336
  var { action, children, validationText, label, description, required, htmlFor, style = {}, tooltip } = _a, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style", "tooltip"]);
@@ -1344,112 +1344,112 @@ const Field = (_a) => {
1344
1344
  description ? React.createElement(Description, null, description) : null,
1345
1345
  children,
1346
1346
  validationText ? React.createElement(Validation, null, validationText) : null));
1347
- };
1348
-
1349
- const Wrapper$8 = styled.fieldset `
1350
- margin-inline-start: 0px;
1351
- margin-inline-end: 0px;
1352
- padding-block-start: 0px;
1353
- padding-inline-start: 0px;
1354
- padding-inline-end: 0px;
1355
- padding-block-end: 0px;
1356
- min-inline-size: min-content;
1357
- border-width: 0px;
1358
- border-style: none;
1359
- border-color: transparent;
1360
- border-image: none;
1361
- `;
1362
- const Label$1 = styled.legend `
1363
- padding-inline-start: 0px;
1364
- padding-inline-end: 0px;
1365
-
1366
- color: ${Colors.BLACK.Hex};
1367
- font-family: ${FontStyles.DEFAULT};
1368
- font-size: ${FontSizes.DEFAULT};
1369
- font-weight: 500;
1370
- line-height: 22px;
1371
- margin-bottom: 6px;
1372
- `;
1373
- const Content$1 = styled.div `
1374
- padding: 20px;
1375
- border-radius: 8px;
1376
- background: #fcfcfc;
1347
+ };
1348
+
1349
+ const Wrapper$8 = styled.fieldset `
1350
+ margin-inline-start: 0px;
1351
+ margin-inline-end: 0px;
1352
+ padding-block-start: 0px;
1353
+ padding-inline-start: 0px;
1354
+ padding-inline-end: 0px;
1355
+ padding-block-end: 0px;
1356
+ min-inline-size: min-content;
1357
+ border-width: 0px;
1358
+ border-style: none;
1359
+ border-color: transparent;
1360
+ border-image: none;
1361
+ `;
1362
+ const Label$1 = styled.legend `
1363
+ padding-inline-start: 0px;
1364
+ padding-inline-end: 0px;
1365
+
1366
+ color: ${Colors.BLACK.Hex};
1367
+ font-family: ${FontStyles.DEFAULT};
1368
+ font-size: ${FontSizes.DEFAULT};
1369
+ font-weight: 500;
1370
+ line-height: 22px;
1371
+ margin-bottom: 6px;
1372
+ `;
1373
+ const Content$1 = styled.div `
1374
+ padding: 20px;
1375
+ border-radius: 8px;
1376
+ background: #fcfcfc;
1377
1377
  `;
1378
1378
  const FieldGroup = ({ children, label }) => {
1379
1379
  return (React.createElement(Wrapper$8, null,
1380
1380
  React.createElement(Label$1, null, label),
1381
1381
  React.createElement(Content$1, null, children)));
1382
- };
1383
-
1384
- const Dropzone = styled.div `
1385
- border-radius: 8px;
1386
- border-width: 1px;
1387
- border-style: dashed;
1388
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1389
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1390
- cursor: copy;
1382
+ };
1383
+
1384
+ const Dropzone = styled.div `
1385
+ border-radius: 8px;
1386
+ border-width: 1px;
1387
+ border-style: dashed;
1388
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1389
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1390
+ cursor: copy;
1391
1391
  `;
1392
1392
  Dropzone.defaultProps = { theme: EditableTheme };
1393
- const IconWrapper$1 = styled.div `
1394
- width: 80px;
1395
- height: 80px;
1396
- border-radius: 40px;
1397
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1398
- display: flex;
1399
- align-items: center;
1400
- justify-content: center;
1401
- `;
1402
- const StyledIcon$3 = styled(Icon) `
1403
- width: 40px !important;
1404
- height: 40px !important;
1405
-
1406
- > path {
1407
- fill: ${Colors.GRAY.Hex} !important;
1408
- }
1409
- `;
1410
- const ClickZone = styled.div `
1411
- margin: 40px 20px;
1412
- display: flex;
1413
- flex-direction: column;
1414
- align-items: center;
1415
- gap: 16px;
1416
- `;
1417
- const Content = styled.div `
1418
- display: flex;
1419
- flex-direction: column;
1420
- align-items: center;
1421
- gap: 2px;
1422
- `;
1423
- const Files = styled.div `
1424
- display: flex;
1425
- flex-direction: column;
1426
- align-self: stretch;
1427
- gap: 10px;
1428
- margin: 20px;
1429
- `;
1430
- const MessageDiv = styled.div `
1431
- display: flex;
1432
- align-items: center;
1433
- justify-content: center;
1434
- `;
1435
- const File = styled.div `
1436
- display: flex;
1437
- padding: 10px;
1438
- align-items: center;
1439
- justify-content: space-between;
1440
- gap: 10px;
1441
- border-radius: 4px;
1442
- border: 1px solid #cccccc;
1443
- background: #ffffff;
1444
- `;
1445
- const Remove = styled(Icon) `
1446
- width: 24px;
1447
- height: 24px;
1448
- cursor: pointer;
1449
-
1450
- > path {
1451
- fill: ${Colors.RED.Hex} !important;
1452
- }
1393
+ const IconWrapper$1 = styled.div `
1394
+ width: 80px;
1395
+ height: 80px;
1396
+ border-radius: 40px;
1397
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1398
+ display: flex;
1399
+ align-items: center;
1400
+ justify-content: center;
1401
+ `;
1402
+ const StyledIcon$3 = styled(Icon) `
1403
+ width: 40px !important;
1404
+ height: 40px !important;
1405
+
1406
+ > path {
1407
+ fill: ${Colors.GRAY.Hex} !important;
1408
+ }
1409
+ `;
1410
+ const ClickZone = styled.div `
1411
+ margin: 40px 20px;
1412
+ display: flex;
1413
+ flex-direction: column;
1414
+ align-items: center;
1415
+ gap: 16px;
1416
+ `;
1417
+ const Content = styled.div `
1418
+ display: flex;
1419
+ flex-direction: column;
1420
+ align-items: center;
1421
+ gap: 2px;
1422
+ `;
1423
+ const Files = styled.div `
1424
+ display: flex;
1425
+ flex-direction: column;
1426
+ align-self: stretch;
1427
+ gap: 10px;
1428
+ margin: 20px;
1429
+ `;
1430
+ const MessageDiv = styled.div `
1431
+ display: flex;
1432
+ align-items: center;
1433
+ justify-content: center;
1434
+ `;
1435
+ const File = styled.div `
1436
+ display: flex;
1437
+ padding: 10px;
1438
+ align-items: center;
1439
+ justify-content: space-between;
1440
+ gap: 10px;
1441
+ border-radius: 4px;
1442
+ border: 1px solid #cccccc;
1443
+ background: #ffffff;
1444
+ `;
1445
+ const Remove = styled(Icon) `
1446
+ width: 24px;
1447
+ height: 24px;
1448
+ cursor: pointer;
1449
+
1450
+ > path {
1451
+ fill: ${Colors.RED.Hex} !important;
1452
+ }
1453
1453
  `;
1454
1454
  const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, }) => {
1455
1455
  const inputRef = useRef(null);
@@ -1567,8 +1567,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
1567
1567
  React.createElement(Copy, { align: 'center', color: 'GRAY' }, message),
1568
1568
  tooltipInfo && (React.createElement("span", null,
1569
1569
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1570
- };
1571
-
1570
+ };
1571
+
1572
1572
  const getAgesFromDob = (dob) => {
1573
1573
  let calculated_current_age = null;
1574
1574
  let calculated_nearest_age = null;
@@ -1641,8 +1641,8 @@ const formatAsSsn = (number) => {
1641
1641
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1642
1642
  }
1643
1643
  return formatted_value;
1644
- };
1645
-
1644
+ };
1645
+
1646
1646
  const StyledInput = styled.input `
1647
1647
  border: none !important;
1648
1648
  background: none !important;
@@ -1783,7 +1783,9 @@ const Loader$1 = styled.div `
1783
1783
  align-items: center;
1784
1784
  `;
1785
1785
  const Input$1 = (_a) => {
1786
- var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown, onSuggestedSelect, placeholder, readOnly, showCharCount, step, style, suggestedValues, type = 'text', value = '' } = _a, accessibleProps = __rest(_a, ["format", "suffix", "height", "invalid", "loading", "max", "maxLength", "min", "onBlur", "onChange", "onFocus", "onKeyDown", "onSuggestedSelect", "placeholder", "readOnly", "showCharCount", "step", "style", "suggestedValues", "type", "value"]);
1786
+ var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown,
1787
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
1788
+ 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"]);
1787
1789
  const [show_options, setShowOptions] = useState(false);
1788
1790
  const handleInputChange = (e) => {
1789
1791
  if (format === 'currency' || format === 'currency_decimal') {
@@ -1814,7 +1816,7 @@ const Input$1 = (_a) => {
1814
1816
  }
1815
1817
  }
1816
1818
  if (format === 'currency_decimal') {
1817
- formatted_value = `$${formatted_value}`;
1819
+ formatted_value = `${formatted_value}`;
1818
1820
  }
1819
1821
  if (format === 'ssn' && type !== 'password') {
1820
1822
  formatted_value = formatAsSsn(value);
@@ -1858,7 +1860,7 @@ const Input$1 = (_a) => {
1858
1860
  setShowOptions(true);
1859
1861
  if (onFocus)
1860
1862
  onFocus(e);
1861
- }, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder, step: step, type: type, value: formatted_value }, accessibleProps)),
1863
+ }, onKeyDown: readOnly ? e => e.preventDefault() : onKeyDown, placeholder: placeholder, step: step, type: type, value: format === 'currency_decimal' && value ? `$${formatted_value}` : formatted_value }, accessibleProps)),
1862
1864
  loading ? (React.createElement(Loader$1, null,
1863
1865
  React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: mdiLoading, size: '20px', spin: true }))) : null,
1864
1866
  showCharCount ? (React.createElement(CharacterCount, null,
@@ -1874,68 +1876,67 @@ const Input$1 = (_a) => {
1874
1876
  suggestedValues.map((s_value, i) => {
1875
1877
  return (React.createElement(SuggestedValue, { key: i, onClick: () => {
1876
1878
  handleInputChange({ target: { value: s_value } });
1877
- if (onSuggestedSelect)
1878
- onSuggestedSelect();
1879
+ onSuggestedSelect();
1879
1880
  setShowOptions(false);
1880
1881
  } }, s_value));
1881
1882
  }))) : null));
1882
- };
1883
-
1884
- const Wrapper$7 = styled.a `
1885
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1886
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1887
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1888
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1889
- font-weight: 500;
1890
- font-style: normal;
1891
- text-decoration: 'none';
1892
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1893
- margin: 0px;
1894
- padding: 0px;
1895
- box-sizing: border-box;
1896
- cursor: pointer;
1883
+ };
1884
+
1885
+ const Wrapper$7 = styled.a `
1886
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1887
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1888
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1889
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1890
+ font-weight: 500;
1891
+ font-style: normal;
1892
+ text-decoration: 'none';
1893
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1894
+ margin: 0px;
1895
+ padding: 0px;
1896
+ box-sizing: border-box;
1897
+ cursor: pointer;
1897
1898
  `;
1898
1899
  Wrapper$7.defaultProps = { theme: EditableTheme };
1899
1900
  const Link = (_a) => {
1900
1901
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1901
1902
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
1902
- };
1903
-
1904
- const dash = keyframes `
1905
- 0% {
1906
- stroke-dasharray: 1, 160;
1907
- stroke-dashoffset: 0;
1908
- }
1909
- 50% {
1910
- stroke-dasharray: 80, 160;
1911
- stroke-dashoffset: -32;
1912
- }
1913
- 100% {
1914
- stroke-dasharray: 80, 160;
1915
- stroke-dashoffset: -124;
1916
- }
1917
- `;
1918
- const Spinner = styled.svg `
1919
- z-index: 2;
1920
- position: absolute;
1921
- top: 50%;
1922
- left: 50%;
1923
- transform: translate(-50%, -50%);
1924
- margin: 0 auto;
1925
- width: 40px;
1926
- height: 40px;
1927
- `;
1928
- const Path = styled.path `
1929
- stroke: #0193d7;
1930
- stroke-linecap: round;
1931
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1932
- animation: ${dash} 1.1s ease-in-out infinite;
1903
+ };
1904
+
1905
+ const dash = keyframes `
1906
+ 0% {
1907
+ stroke-dasharray: 1, 160;
1908
+ stroke-dashoffset: 0;
1909
+ }
1910
+ 50% {
1911
+ stroke-dasharray: 80, 160;
1912
+ stroke-dashoffset: -32;
1913
+ }
1914
+ 100% {
1915
+ stroke-dasharray: 80, 160;
1916
+ stroke-dashoffset: -124;
1917
+ }
1918
+ `;
1919
+ const Spinner = styled.svg `
1920
+ z-index: 2;
1921
+ position: absolute;
1922
+ top: 50%;
1923
+ left: 50%;
1924
+ transform: translate(-50%, -50%);
1925
+ margin: 0 auto;
1926
+ width: 40px;
1927
+ height: 40px;
1928
+ `;
1929
+ const Path = styled.path `
1930
+ stroke: #0193d7;
1931
+ stroke-linecap: round;
1932
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1933
+ animation: ${dash} 1.1s ease-in-out infinite;
1933
1934
  `;
1934
1935
  const Loader = () => {
1935
1936
  return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
1936
1937
  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' })));
1937
- };
1938
-
1938
+ };
1939
+
1939
1940
  const Steps = styled.div `
1940
1941
  padding: 20px;
1941
1942
  border-bottom: 1px solid #e7e6e6;
@@ -1992,75 +1993,75 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
1992
1993
  step.complete ? (React.createElement(StyledIcon$2, { path: mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
1993
1994
  React.createElement(StepLabel, null, step.label))));
1994
1995
  })));
1995
- };
1996
-
1997
- const Wrapper$6 = styled.div `
1998
- position: fixed;
1999
- top: 0;
2000
- right: 0;
2001
- bottom: 0;
2002
- left: 0;
2003
- z-index: 9999;
2004
- background: rgba(0, 0, 0, 0.8);
2005
- display: flex;
2006
- align-items: center;
2007
- justify-content: center;
2008
- `;
2009
- const Container$1 = styled.dialog `
2010
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2011
- max-width: calc(100vw - 80px);
2012
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2013
- max-height: calc(100vh - 80px);
2014
- border-radius: 8px;
2015
- overflow: hidden;
2016
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2017
- outline: none;
2018
- border: none;
2019
- position: relative;
2020
- padding: 0px;
2021
- box-sizing: border-box;
2022
- display: flex;
2023
- flex-direction: column;
2024
- `;
2025
- const Header$1 = styled.div `
2026
- flex-shrink: 0;
2027
- padding: 20px;
2028
- border-bottom: 1px solid #e7e6e6;
2029
- display: flex;
2030
- align-items: center;
2031
- background: #ffffff;
2032
- box-sizing: border-box;
2033
- `;
2034
- const Close = styled.div `
2035
- margin-left: auto;
2036
- display: flex;
2037
- align-items: center;
2038
- padding-left: 20px;
2039
- cursor: pointer;
2040
- `;
2041
- const CloseMsg = styled.span `
2042
- font-size: ${FontSizes.SMALL};
2043
- font-weight: 400;
2044
- font-family: ${FontStyles.DEFAULT};
2045
- line-height: 1em;
2046
- color: ${Colors.MEDIUM_GRAY.Hex};
2047
- `;
2048
- const ContentWrapper = styled.div `
2049
- overflow-x: hidden;
2050
- overflow-y: auto;
2051
- background: #ffffff;
2052
- flex: 1;
2053
- box-sizing: border-box;
2054
- `;
2055
- const ButtonBar = styled.div `
2056
- flex-shrink: 0;
2057
- background: #ffffff;
2058
- padding: 20px;
2059
- border-top: 1px solid #e7e6e6;
2060
- display: flex;
2061
- align-items: center;
2062
- justify-self: flex-end;
2063
- box-sizing: border-box;
1996
+ };
1997
+
1998
+ const Wrapper$6 = styled.div `
1999
+ position: fixed;
2000
+ top: 0;
2001
+ right: 0;
2002
+ bottom: 0;
2003
+ left: 0;
2004
+ z-index: 9999;
2005
+ background: rgba(0, 0, 0, 0.8);
2006
+ display: flex;
2007
+ align-items: center;
2008
+ justify-content: center;
2009
+ `;
2010
+ const Container$1 = styled.dialog `
2011
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2012
+ max-width: calc(100vw - 80px);
2013
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2014
+ max-height: calc(100vh - 80px);
2015
+ border-radius: 8px;
2016
+ overflow: hidden;
2017
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2018
+ outline: none;
2019
+ border: none;
2020
+ position: relative;
2021
+ padding: 0px;
2022
+ box-sizing: border-box;
2023
+ display: flex;
2024
+ flex-direction: column;
2025
+ `;
2026
+ const Header$1 = styled.div `
2027
+ flex-shrink: 0;
2028
+ padding: 20px;
2029
+ border-bottom: 1px solid #e7e6e6;
2030
+ display: flex;
2031
+ align-items: center;
2032
+ background: #ffffff;
2033
+ box-sizing: border-box;
2034
+ `;
2035
+ const Close = styled.div `
2036
+ margin-left: auto;
2037
+ display: flex;
2038
+ align-items: center;
2039
+ padding-left: 20px;
2040
+ cursor: pointer;
2041
+ `;
2042
+ const CloseMsg = styled.span `
2043
+ font-size: ${FontSizes.SMALL};
2044
+ font-weight: 400;
2045
+ font-family: ${FontStyles.DEFAULT};
2046
+ line-height: 1em;
2047
+ color: ${Colors.MEDIUM_GRAY.Hex};
2048
+ `;
2049
+ const ContentWrapper = styled.div `
2050
+ overflow-x: hidden;
2051
+ overflow-y: auto;
2052
+ background: #ffffff;
2053
+ flex: 1;
2054
+ box-sizing: border-box;
2055
+ `;
2056
+ const ButtonBar = styled.div `
2057
+ flex-shrink: 0;
2058
+ background: #ffffff;
2059
+ padding: 20px;
2060
+ border-top: 1px solid #e7e6e6;
2061
+ display: flex;
2062
+ align-items: center;
2063
+ justify-self: flex-end;
2064
+ box-sizing: border-box;
2064
2065
  `;
2065
2066
  const Modal = (_a) => {
2066
2067
  var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton"]);
@@ -2093,21 +2094,21 @@ const Modal = (_a) => {
2093
2094
  } },
2094
2095
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
2095
2096
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2096
- };
2097
-
2098
- const Wrapper$5 = styled.div `
2099
- position: relative;
2100
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2101
- `;
2102
- const Trigger = styled.div `
2103
- box-sizing: border-box;
2104
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2105
- height: 40px;
2106
- padding: 0 10px;
2107
- position: relative;
2108
- cursor: pointer;
2109
- border-width: 1px;
2110
- border-style: solid;
2097
+ };
2098
+
2099
+ const Wrapper$5 = styled.div `
2100
+ position: relative;
2101
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2102
+ `;
2103
+ const Trigger = styled.div `
2104
+ box-sizing: border-box;
2105
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2106
+ height: 40px;
2107
+ padding: 0 10px;
2108
+ position: relative;
2109
+ cursor: pointer;
2110
+ border-width: 1px;
2111
+ border-style: solid;
2111
2112
  border-color: ${props => {
2112
2113
  if (props.$invalid) {
2113
2114
  return Colors.RED.Hex;
@@ -2118,67 +2119,67 @@ const Trigger = styled.div `
2118
2119
  else {
2119
2120
  return '#cccccc';
2120
2121
  }
2121
- }};
2122
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2123
- background-image: none;
2124
- display: flex;
2125
- width: 100%;
2126
- align-items: center;
2127
- justify-content: space-between;
2128
- z-index: 1;
2122
+ }};
2123
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2124
+ background-image: none;
2125
+ display: flex;
2126
+ width: 100%;
2127
+ align-items: center;
2128
+ justify-content: space-between;
2129
+ z-index: 1;
2129
2130
  `;
2130
2131
  Trigger.defaultProps = { theme: EditableTheme };
2131
- const Value = styled.div `
2132
- color: ${Colors.BLACK.Hex};
2133
- font-family: ${FontStyles.DEFAULT};
2134
- font-size: ${FontSizes.DEFAULT};
2135
- font-weight: 400;
2136
- line-height: 2.9em;
2137
- overflow: hidden;
2138
- text-overflow: ellipsis;
2139
- white-space: nowrap;
2140
- width: 100%;
2141
- `;
2142
- const Options = styled.div `
2143
- background: #fff;
2144
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2145
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2146
- border-radius: 0px 0px 4px 4px;
2147
- border-style: solid;
2148
- border-top: none;
2149
- border-width: 1px;
2150
- left: 0;
2151
- position: relative;
2152
- right: 0;
2153
- z-index: 10;
2154
- max-height: 220px;
2155
- overflow: auto;
2132
+ const Value = styled.div `
2133
+ color: ${Colors.BLACK.Hex};
2134
+ font-family: ${FontStyles.DEFAULT};
2135
+ font-size: ${FontSizes.DEFAULT};
2136
+ font-weight: 400;
2137
+ line-height: 2.9em;
2138
+ overflow: hidden;
2139
+ text-overflow: ellipsis;
2140
+ white-space: nowrap;
2141
+ width: 100%;
2142
+ `;
2143
+ const Options = styled.div `
2144
+ background: #fff;
2145
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2146
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2147
+ border-radius: 0px 0px 4px 4px;
2148
+ border-style: solid;
2149
+ border-top: none;
2150
+ border-width: 1px;
2151
+ left: 0;
2152
+ position: relative;
2153
+ right: 0;
2154
+ z-index: 10;
2155
+ max-height: 220px;
2156
+ overflow: auto;
2156
2157
  `;
2157
2158
  Options.defaultProps = { theme: EditableTheme };
2158
- const Scrim = styled.div `
2159
- bottom: 0;
2160
- left: 0;
2161
- position: fixed;
2162
- right: 0;
2163
- top: 0;
2164
- z-index: 9;
2165
- `;
2166
- const SearchInput = styled.input `
2167
- position: absolute;
2168
- left: 2px;
2169
- top: 2px;
2170
- z-index: 999;
2171
- width: 90%;
2172
- height: 30px;
2173
- border: none;
2174
- outline: none;
2175
- color: ${Colors.BLACK.Hex};
2176
- font-family: ${FontStyles.DEFAULT};
2177
- font-size: ${FontSizes.DEFAULT};
2178
- font-weight: 400;
2179
- line-height: 2.9em;
2180
- overflow: hidden;
2181
- white-space: nowrap;
2159
+ const Scrim = styled.div `
2160
+ bottom: 0;
2161
+ left: 0;
2162
+ position: fixed;
2163
+ right: 0;
2164
+ top: 0;
2165
+ z-index: 9;
2166
+ `;
2167
+ const SearchInput = styled.input `
2168
+ position: absolute;
2169
+ left: 2px;
2170
+ top: 2px;
2171
+ z-index: 999;
2172
+ width: 90%;
2173
+ height: 30px;
2174
+ border: none;
2175
+ outline: none;
2176
+ color: ${Colors.BLACK.Hex};
2177
+ font-family: ${FontStyles.DEFAULT};
2178
+ font-size: ${FontSizes.DEFAULT};
2179
+ font-weight: 400;
2180
+ line-height: 2.9em;
2181
+ overflow: hidden;
2182
+ white-space: nowrap;
2182
2183
  `;
2183
2184
  const MultiSelect = (_a) => {
2184
2185
  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"]);
@@ -2197,8 +2198,8 @@ const MultiSelect = (_a) => {
2197
2198
  showOptions ? (React.createElement(Options, null,
2198
2199
  React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2199
2200
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
2200
- };
2201
-
2201
+ };
2202
+
2202
2203
  const Wrapper$4 = styled.div `
2203
2204
  display: flex;
2204
2205
  padding: 16px 30px;
@@ -2247,13 +2248,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2247
2248
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
2248
2249
  }),
2249
2250
  menuItems.length ? (React.createElement(ButtonMenu, { enableClick: enableClick, enableHover: enableHover, format: format, label: label, menuItems: menuItems, show: show, small: true })) : null)) : null));
2250
- };
2251
-
2252
- const Wrapper$3 = styled.nav `
2253
- box-sizing: border-box;
2254
- display: flex;
2255
- align-items: center;
2256
- column-gap: 10px;
2251
+ };
2252
+
2253
+ const Wrapper$3 = styled.nav `
2254
+ box-sizing: border-box;
2255
+ display: flex;
2256
+ align-items: center;
2257
+ column-gap: 10px;
2257
2258
  `;
2258
2259
  const Pagination = (_a) => {
2259
2260
  var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
@@ -2282,82 +2283,82 @@ const Pagination = (_a) => {
2282
2283
  value: `${p}`,
2283
2284
  })), value: `${currentPage}` }),
2284
2285
  React.createElement(Button, { disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true })));
2285
- };
2286
-
2287
- const Wrapper$2 = styled.label `
2288
- border-radius: 4px;
2289
- padding: 4px 0px 4px 6px;
2290
- margin-left: -6px;
2291
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2292
- display: flex;
2293
- align-items: center;
2294
- font-size: ${FontSizes.DEFAULT};
2295
- line-height: 1.6em;
2296
- box-sizing: border-box;
2297
- position: relative;
2298
-
2299
- &:focus-within {
2300
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2301
- }
2286
+ };
2287
+
2288
+ const Wrapper$2 = styled.label `
2289
+ border-radius: 4px;
2290
+ padding: 4px 0px 4px 6px;
2291
+ margin-left: -6px;
2292
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2293
+ display: flex;
2294
+ align-items: center;
2295
+ font-size: ${FontSizes.DEFAULT};
2296
+ line-height: 1.6em;
2297
+ box-sizing: border-box;
2298
+ position: relative;
2299
+
2300
+ &:focus-within {
2301
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2302
+ }
2302
2303
  `;
2303
2304
  Wrapper$2.defaultProps = { theme: EditableTheme };
2304
- const Input = styled.input `
2305
- font-size: 20px;
2306
- margin: 0px;
2307
- line-height: 1.6em;
2308
- box-sizing: border-box;
2309
- position: absolute;
2310
- opacity: 0;
2311
- cursor: pointer;
2312
- height: 0;
2313
- width: 0;
2314
- &:checked + span {
2315
- border-color: ${Colors.PRIMARY.Hex};
2316
- }
2317
- &:checked + span:after {
2318
- background-color: ${Colors.PRIMARY.Hex};
2319
- display: block;
2320
- }
2321
- &:disabled + span {
2322
- background-color: #d3d3d3;
2323
- border-color: #d3d3d3;
2324
- }
2325
- &:disabled + span:after {
2326
- background-color: #fff;
2327
- }
2328
- &:checked:disabled + span:after {
2329
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2330
- }
2331
- `;
2332
- const Check = styled.span `
2333
- height: 17px;
2334
- width: 17px;
2335
- border-radius: 50%;
2336
- background-color: #fff;
2337
- border-width: 2px;
2338
- border-style: solid;
2339
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2340
- box-sizing: border-box;
2341
- position: relative;
2342
- &:after {
2343
- content: '';
2344
- position: absolute;
2345
- top: 2px;
2346
- left: 2px;
2347
- width: 9px;
2348
- height: 9px;
2349
- border-radius: 50%;
2350
- box-sizing: border-box;
2351
- display: none;
2352
- }
2353
- `;
2354
- const Label = styled.span `
2355
- font-family: ${FontStyles.DEFAULT};
2356
- font-size: ${FontSizes.DEFAULT};
2357
- font-weight: 400;
2358
- color: ${Colors.BLACK.Hex};
2359
- line-height: 1.6em;
2360
- margin-left: 6px;
2305
+ const Input = styled.input `
2306
+ font-size: 20px;
2307
+ margin: 0px;
2308
+ line-height: 1.6em;
2309
+ box-sizing: border-box;
2310
+ position: absolute;
2311
+ opacity: 0;
2312
+ cursor: pointer;
2313
+ height: 0;
2314
+ width: 0;
2315
+ &:checked + span {
2316
+ border-color: ${Colors.PRIMARY.Hex};
2317
+ }
2318
+ &:checked + span:after {
2319
+ background-color: ${Colors.PRIMARY.Hex};
2320
+ display: block;
2321
+ }
2322
+ &:disabled + span {
2323
+ background-color: #d3d3d3;
2324
+ border-color: #d3d3d3;
2325
+ }
2326
+ &:disabled + span:after {
2327
+ background-color: #fff;
2328
+ }
2329
+ &:checked:disabled + span:after {
2330
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2331
+ }
2332
+ `;
2333
+ const Check = styled.span `
2334
+ height: 17px;
2335
+ width: 17px;
2336
+ border-radius: 50%;
2337
+ background-color: #fff;
2338
+ border-width: 2px;
2339
+ border-style: solid;
2340
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2341
+ box-sizing: border-box;
2342
+ position: relative;
2343
+ &:after {
2344
+ content: '';
2345
+ position: absolute;
2346
+ top: 2px;
2347
+ left: 2px;
2348
+ width: 9px;
2349
+ height: 9px;
2350
+ border-radius: 50%;
2351
+ box-sizing: border-box;
2352
+ display: none;
2353
+ }
2354
+ `;
2355
+ const Label = styled.span `
2356
+ font-family: ${FontStyles.DEFAULT};
2357
+ font-size: ${FontSizes.DEFAULT};
2358
+ font-weight: 400;
2359
+ color: ${Colors.BLACK.Hex};
2360
+ line-height: 1.6em;
2361
+ margin-left: 6px;
2361
2362
  `;
2362
2363
  const Radio = (_a) => {
2363
2364
  var { children, disabled, checked, onChange, value, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip"]);
@@ -2367,77 +2368,77 @@ const Radio = (_a) => {
2367
2368
  React.createElement(Label, null,
2368
2369
  children,
2369
2370
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2370
- };
2371
-
2371
+ };
2372
+
2372
2373
  const RadioList = (_a) => {
2373
2374
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2374
2375
  return (React.createElement(React.Fragment, null, options.map((option) => {
2375
2376
  const label = option.label || option.value;
2376
2377
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2377
2378
  })));
2378
- };
2379
-
2380
- const StyledTable = styled.table `
2381
- width: 100%;
2382
- margin-top: 1px;
2383
- table-layout: ${props => props.$tableLayout || 'auto'};
2384
- border-collapse: collapse;
2385
- text-indent: 0px;
2386
- border-spacing: 0px;
2387
- border-color: none;
2388
- box-sizing: border-box;
2389
- `;
2390
- const Header = styled.th `
2391
- padding: 12px !important;
2392
- text-align: left;
2393
- font-weight: 500;
2394
- border-bottom: 1px solid #e5e5e5;
2395
- border-top: 1px solid #e5e5e5;
2396
- text-transform: uppercase;
2397
- font-size: 12px;
2398
- font-family: ${FontStyles.DEFAULT};
2399
- letter-spacing: 1px;
2400
- white-space: nowrap;
2401
- line-height: 1;
2402
- position: relative;
2403
- box-sizing: border-box;
2404
- width: ${props => props.$width || 'auto'};
2405
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2406
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2379
+ };
2380
+
2381
+ const StyledTable = styled.table `
2382
+ width: 100%;
2383
+ margin-top: 1px;
2384
+ table-layout: ${props => props.$tableLayout || 'auto'};
2385
+ border-collapse: collapse;
2386
+ text-indent: 0px;
2387
+ border-spacing: 0px;
2388
+ border-color: none;
2389
+ box-sizing: border-box;
2390
+ `;
2391
+ const Header = styled.th `
2392
+ padding: 12px !important;
2393
+ text-align: left;
2394
+ font-weight: 500;
2395
+ border-bottom: 1px solid #e5e5e5;
2396
+ border-top: 1px solid #e5e5e5;
2397
+ text-transform: uppercase;
2398
+ font-size: 12px;
2399
+ font-family: ${FontStyles.DEFAULT};
2400
+ letter-spacing: 1px;
2401
+ white-space: nowrap;
2402
+ line-height: 1;
2403
+ position: relative;
2404
+ box-sizing: border-box;
2405
+ width: ${props => props.$width || 'auto'};
2406
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2407
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2407
2408
  `;
2408
2409
  Header.defaultProps = { theme: EditableTheme };
2409
- const Row = styled.tr `
2410
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2411
- transition: all 0.2s;
2412
- background-color: ${props => props.$bgColor};
2413
- box-sizing: border-box;
2414
- &:hover {
2415
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2416
- }
2410
+ const Row = styled.tr `
2411
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2412
+ transition: all 0.2s;
2413
+ background-color: ${props => props.$bgColor};
2414
+ box-sizing: border-box;
2415
+ &:hover {
2416
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2417
+ }
2417
2418
  `;
2418
2419
  Row.defaultProps = { theme: EditableTheme };
2419
- const Column = styled.td `
2420
- padding: 16px 12px !important;
2421
- font-size: ${FontSizes.DEFAULT} !important;
2422
- font-weight: 400 !important;
2423
- font-family: ${FontStyles.DEFAULT};
2424
- border: none !important;
2425
- word-break: break-word;
2426
- line-height: 1.4em;
2427
- box-sizing: border-box;
2428
- text-align: ${props => props.$align || 'left'};
2429
- width: ${props => props.$width || 'auto'};
2430
- `;
2431
- const IconWrapper = styled.span `
2432
- position: absolute;
2433
- top: 50%;
2434
- transform: translateY(-50%);
2435
- margin-left: 2px;
2436
- `;
2437
- const StyledIcon$1 = styled(Icon) `
2438
- > path {
2439
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2440
- }
2420
+ const Column = styled.td `
2421
+ padding: 16px 12px !important;
2422
+ font-size: ${FontSizes.DEFAULT} !important;
2423
+ font-weight: 400 !important;
2424
+ font-family: ${FontStyles.DEFAULT};
2425
+ border: none !important;
2426
+ word-break: break-word;
2427
+ line-height: 1.4em;
2428
+ box-sizing: border-box;
2429
+ text-align: ${props => props.$align || 'left'};
2430
+ width: ${props => props.$width || 'auto'};
2431
+ `;
2432
+ const IconWrapper = styled.span `
2433
+ position: absolute;
2434
+ top: 50%;
2435
+ transform: translateY(-50%);
2436
+ margin-left: 2px;
2437
+ `;
2438
+ const StyledIcon$1 = styled(Icon) `
2439
+ > path {
2440
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2441
+ }
2441
2442
  `;
2442
2443
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2443
2444
  const Table = (_a) => {
@@ -2455,55 +2456,55 @@ const Table = (_a) => {
2455
2456
  return (React.createElement(Column, { "$align": columns[i].align, "$width": columns[i].width, key: i }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2456
2457
  })));
2457
2458
  }))) : null));
2458
- };
2459
-
2460
- const Wrapper$1 = styled.div `
2461
- display: flex;
2462
- box-sizing: border-box;
2463
- align-items: flex-end;
2464
- border-top: 1px solid #e5e5e5;
2465
- border-bottom: 1px solid #e5e5e5;
2466
- flex-shrink: 0;
2467
- align-self: stretch;
2468
- padding: 0;
2469
- margin: 0;
2470
- `;
2471
- const Tab = styled.div `
2472
- display: flex;
2473
- align-items: center;
2474
- gap: 6px;
2475
- font-size: ${FontSizes.DEFAULT};
2476
- font-family: ${FontStyles.DEFAULT};
2477
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2478
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2479
- line-height: 1em;
2480
- padding: 16px 30px 12px;
2481
- margin: 0 0 -1px 0;
2482
- border-bottom-width: 4px;
2483
- border-bottom-style: solid;
2484
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2485
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2486
- box-sizing: border-box;
2487
- &:hover {
2488
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2489
- font-weight: 500;
2490
- }
2459
+ };
2460
+
2461
+ const Wrapper$1 = styled.div `
2462
+ display: flex;
2463
+ box-sizing: border-box;
2464
+ align-items: flex-end;
2465
+ border-top: 1px solid #e5e5e5;
2466
+ border-bottom: 1px solid #e5e5e5;
2467
+ flex-shrink: 0;
2468
+ align-self: stretch;
2469
+ padding: 0;
2470
+ margin: 0;
2471
+ `;
2472
+ const Tab = styled.div `
2473
+ display: flex;
2474
+ align-items: center;
2475
+ gap: 6px;
2476
+ font-size: ${FontSizes.DEFAULT};
2477
+ font-family: ${FontStyles.DEFAULT};
2478
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2479
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2480
+ line-height: 1em;
2481
+ padding: 16px 30px 12px;
2482
+ margin: 0 0 -1px 0;
2483
+ border-bottom-width: 4px;
2484
+ border-bottom-style: solid;
2485
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2486
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2487
+ box-sizing: border-box;
2488
+ &:hover {
2489
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2490
+ font-weight: 500;
2491
+ }
2491
2492
  `;
2492
2493
  Tab.defaultProps = { theme: EditableTheme };
2493
- const Badge = styled.div `
2494
- display: flex;
2495
- width: 18px;
2496
- height: 18px;
2497
- justify-content: center;
2498
- align-items: center;
2499
- border-radius: 9px;
2500
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2501
- color: #fff;
2502
- font-family: ${FontStyles.DEFAULT};
2503
- font-size: 12px;
2504
- font-weight: 500;
2505
- line-height: 1;
2506
- letter-spacing: 1px;
2494
+ const Badge = styled.div `
2495
+ display: flex;
2496
+ width: 18px;
2497
+ height: 18px;
2498
+ justify-content: center;
2499
+ align-items: center;
2500
+ border-radius: 9px;
2501
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2502
+ color: #fff;
2503
+ font-family: ${FontStyles.DEFAULT};
2504
+ font-size: 12px;
2505
+ font-weight: 500;
2506
+ line-height: 1;
2507
+ letter-spacing: 1px;
2507
2508
  `;
2508
2509
  Badge.defaultProps = { theme: EditableTheme };
2509
2510
  const Tabs = (_a) => {
@@ -2515,29 +2516,29 @@ const Tabs = (_a) => {
2515
2516
  label));
2516
2517
  })));
2517
2518
  };
2518
- Tabs.defaultProps = {};
2519
-
2520
- const Track = styled.div `
2521
- height: 24px;
2522
- border-radius: 12px;
2523
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2524
- display: flex;
2525
- align-items: center;
2526
- cursor: pointer;
2527
- width: 40px;
2528
- padding: 2px;
2529
- box-sizing: border-box;
2530
- `;
2531
- const Handle = styled.div `
2532
- width: 20px;
2533
- height: 20px;
2534
- border-radius: 10px;
2535
- background: #ffffff;
2536
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2537
- display: flex;
2538
- align-items: center;
2539
- justify-content: center;
2540
- box-sizing: border-box;
2519
+ Tabs.defaultProps = {};
2520
+
2521
+ const Track = styled.div `
2522
+ height: 24px;
2523
+ border-radius: 12px;
2524
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2525
+ display: flex;
2526
+ align-items: center;
2527
+ cursor: pointer;
2528
+ width: 40px;
2529
+ padding: 2px;
2530
+ box-sizing: border-box;
2531
+ `;
2532
+ const Handle = styled.div `
2533
+ width: 20px;
2534
+ height: 20px;
2535
+ border-radius: 10px;
2536
+ background: #ffffff;
2537
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2538
+ display: flex;
2539
+ align-items: center;
2540
+ justify-content: center;
2541
+ box-sizing: border-box;
2541
2542
  `;
2542
2543
  const Toggle = (_a) => {
2543
2544
  var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
@@ -2546,8 +2547,8 @@ const Toggle = (_a) => {
2546
2547
  React.createElement(Handle, { "$on": on },
2547
2548
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? mdiCheck : mdiClose, size: '16px' }))));
2548
2549
  };
2549
- Toggle.defaultProps = {};
2550
-
2550
+ Toggle.defaultProps = {};
2551
+
2551
2552
  const Container = styled.div `
2552
2553
  width: 100%;
2553
2554
  padding: 40px auto;
@@ -2582,7 +2583,7 @@ const ZeroState = (_a) => {
2582
2583
  React.createElement(Heading, { children: title, type: 'tertiary' }),
2583
2584
  description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
2584
2585
  action && (React.createElement(Button, { children: action.children, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2585
- };
2586
-
2587
- export { Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
2588
- //# sourceMappingURL=index.js.map
2586
+ };
2587
+
2588
+ export { Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
2589
+ //# sourceMappingURL=index.js.map