@hexure/ui 1.13.26 → 1.13.28

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, { useState, useContext, 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, mdiInformationOutline, mdiLoading, 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, { useState, useContext, 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, mdiInformationOutline, mdiLoading, 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,40 +111,40 @@ 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 StyledComponent = styled.p `
117
- color: ${props => Colors[props.$color || 'BLACK'].Hex};
118
- font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
119
- line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
120
- letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
121
- font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
122
- font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
123
- text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
124
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
125
- margin: ${props => props.$margin || '0px'};
126
- padding: ${props => props.$padding || '0px'};
127
- text-align: ${props => props.$align || 'left'};
128
- box-sizing: border-box;
114
+ };
115
+
116
+ const StyledComponent = styled.p `
117
+ color: ${props => Colors[props.$color || 'BLACK'].Hex};
118
+ font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
119
+ line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
120
+ letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
121
+ font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
122
+ font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
123
+ text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
124
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
125
+ margin: ${props => props.$margin || '0px'};
126
+ padding: ${props => props.$padding || '0px'};
127
+ text-align: ${props => props.$align || 'left'};
128
+ box-sizing: border-box;
129
129
  `;
130
130
  const Copy = ({ children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', }) => {
131
131
  return (React.createElement(StyledComponent, { "$align": align, "$color": color, "$margin": margin, "$padding": padding, "$type": type }, children));
132
132
  };
133
133
  Copy.defaultProps = {
134
134
  type: 'default',
135
- };
136
-
137
- const Wrapper$h = styled.div `
138
- display: inline-block;
139
- position: relative;
140
- height: 16px;
141
- `;
142
- const StyledIcon$6 = styled(Icon) `
143
- width: 16px;
144
- height: 16px;
145
- margin: 0px 6px;
146
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
147
- cursor: pointer;
135
+ };
136
+
137
+ const Wrapper$h = styled.div `
138
+ display: inline-block;
139
+ position: relative;
140
+ height: 16px;
141
+ `;
142
+ const StyledIcon$6 = styled(Icon) `
143
+ width: 16px;
144
+ height: 16px;
145
+ margin: 0px 6px;
146
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
147
+ cursor: pointer;
148
148
  `;
149
149
  StyledIcon$6.defaultProps = { theme: EditableTheme };
150
150
  const positions = {
@@ -182,13 +182,13 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
182
182
  return (React.createElement(Wrapper$h, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
183
183
  trigger || React.createElement(StyledIcon$6, { path: mdiInformationOutline }),
184
184
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
185
- };
186
-
187
- const StyledButton = styled.button `
188
- height: ${props => (props.$small ? '30px' : '40px')};
189
- line-height: 1em;
190
- border-radius: ${props => (props.$small ? '15px' : '20px')};
191
- margin: ${props => props.$margin || '0px'};
185
+ };
186
+
187
+ const StyledButton = styled.button `
188
+ height: ${props => (props.$small ? '30px' : '40px')};
189
+ line-height: 1em;
190
+ border-radius: ${props => (props.$small ? '15px' : '20px')};
191
+ margin: ${props => props.$margin || '0px'};
192
192
  padding: ${props => {
193
193
  if (props.$hasChildren) {
194
194
  if (props.$small) {
@@ -199,9 +199,9 @@ const StyledButton = styled.button `
199
199
  }
200
200
  }
201
201
  return '0px';
202
- }};
203
- outline: none;
204
- background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
202
+ }};
203
+ outline: none;
204
+ background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
205
205
  width: ${props => {
206
206
  if (props.$hasChildren) {
207
207
  return 'auto';
@@ -210,53 +210,53 @@ const StyledButton = styled.button `
210
210
  return '30px';
211
211
  }
212
212
  return '40px';
213
- }};
214
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
215
- display: flex;
216
- align-items: center;
217
- justify-content: center;
218
- opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
219
- border-width: 1px;
220
- border-style: solid;
221
- border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
222
- box-sizing: border-box;
223
-
224
- &:active,
225
- &:focus,
226
- &:hover {
227
- opacity: ${props => (props.$disabled ? 0.6 : 1)};
228
- }
229
- `;
230
- const Label$5 = styled.span `
231
- color: ${props => props.$content_color || '#fff'};
232
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
233
- font-family: ${FontStyles.DEFAULT};
234
- font-weight: 500;
235
- line-height: 1;
236
- `;
237
- const StyledIcon$5 = styled.span `
238
- margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
239
- margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
240
- display: flex;
241
- align-items: center;
242
- box-sizing: border-box;
243
- `;
244
- const Badge$1 = styled.span `
245
- width: ${props => (props.$small ? '20px' : '24px')};
246
- height: ${props => (props.$small ? '20px' : '24px')};
247
- line-height: 1;
248
- display: flex;
249
- align-items: center;
250
- justify-content: center;
251
- border-radius: 100%;
252
- background-color: ${props => props.$bg_color || '#fff'};
253
- color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
254
- font-size: ${props => (props.$small ? '10px' : '12px')};
255
- font-weight: 600;
256
- font-family: ${FontStyles.DEFAULT};
257
- letter-spacing: -1px;
258
- margin-left: ${props => (props.$small ? '5px' : '10px')};
259
- margin-right: ${props => (props.$small ? '-5px' : '-10px')};
213
+ }};
214
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
215
+ display: flex;
216
+ align-items: center;
217
+ justify-content: center;
218
+ opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
219
+ border-width: 1px;
220
+ border-style: solid;
221
+ border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
222
+ box-sizing: border-box;
223
+
224
+ &:active,
225
+ &:focus,
226
+ &:hover {
227
+ opacity: ${props => (props.$disabled ? 0.6 : 1)};
228
+ }
229
+ `;
230
+ const Label$5 = styled.span `
231
+ color: ${props => props.$content_color || '#fff'};
232
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
233
+ font-family: ${FontStyles.DEFAULT};
234
+ font-weight: 500;
235
+ line-height: 1;
236
+ `;
237
+ const StyledIcon$5 = styled.span `
238
+ margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
239
+ margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
240
+ display: flex;
241
+ align-items: center;
242
+ box-sizing: border-box;
243
+ `;
244
+ const Badge$1 = styled.span `
245
+ width: ${props => (props.$small ? '20px' : '24px')};
246
+ height: ${props => (props.$small ? '20px' : '24px')};
247
+ line-height: 1;
248
+ display: flex;
249
+ align-items: center;
250
+ justify-content: center;
251
+ border-radius: 100%;
252
+ background-color: ${props => props.$bg_color || '#fff'};
253
+ color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
254
+ font-size: ${props => (props.$small ? '10px' : '12px')};
255
+ font-weight: 600;
256
+ font-family: ${FontStyles.DEFAULT};
257
+ letter-spacing: -1px;
258
+ margin-left: ${props => (props.$small ? '5px' : '10px')};
259
+ margin-right: ${props => (props.$small ? '-5px' : '-10px')};
260
260
  `;
261
261
  const Button = (_a) => {
262
262
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary', toolTip, title = '' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format", "toolTip", "title"]);
@@ -302,37 +302,37 @@ const Button = (_a) => {
302
302
  return (React.createElement(Tooltip, Object.assign({}, toolTip, { trigger: (toolTip === null || toolTip === void 0 ? void 0 : toolTip.trigger) || button_view }), toolTip === null || toolTip === void 0 ? void 0 : toolTip.children));
303
303
  }
304
304
  return button_view;
305
- };
306
-
307
- const H1 = styled.h1 `
308
- color: ${Colors.BLACK.Hex};
309
- font-size: 30px;
310
- font-weight: ${props => (props.$bold ? '500' : '400')};
311
- line-height: 1.4em;
312
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
313
- margin: ${props => props.$margin || '0px'};
314
- padding: ${props => props.$padding || '0px'};
315
- box-sizing: border-box;
316
- `;
317
- const H2 = styled.h2 `
318
- color: ${Colors.BLACK.Hex};
319
- font-size: 24px;
320
- font-weight: ${props => (props.$bold ? '500' : '400')};
321
- line-height: 1.33em;
322
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
323
- margin: ${props => props.$margin || '0px'};
324
- padding: ${props => props.$padding || '0px'};
325
- box-sizing: border-box;
326
- `;
327
- const H3 = styled.h3 `
328
- color: ${Colors.BLACK.Hex};
329
- font-size: 18px;
330
- font-weight: ${props => (props.$bold ? '500' : '400')};
331
- line-height: 1.33em;
332
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
333
- margin: ${props => props.$margin || '0px'};
334
- padding: ${props => props.$padding || '0px'};
335
- box-sizing: border-box;
305
+ };
306
+
307
+ const H1 = styled.h1 `
308
+ color: ${Colors.BLACK.Hex};
309
+ font-size: 30px;
310
+ font-weight: ${props => (props.$bold ? '500' : '400')};
311
+ line-height: 1.4em;
312
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
313
+ margin: ${props => props.$margin || '0px'};
314
+ padding: ${props => props.$padding || '0px'};
315
+ box-sizing: border-box;
316
+ `;
317
+ const H2 = styled.h2 `
318
+ color: ${Colors.BLACK.Hex};
319
+ font-size: 24px;
320
+ font-weight: ${props => (props.$bold ? '500' : '400')};
321
+ line-height: 1.33em;
322
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
323
+ margin: ${props => props.$margin || '0px'};
324
+ padding: ${props => props.$padding || '0px'};
325
+ box-sizing: border-box;
326
+ `;
327
+ const H3 = styled.h3 `
328
+ color: ${Colors.BLACK.Hex};
329
+ font-size: 18px;
330
+ font-weight: ${props => (props.$bold ? '500' : '400')};
331
+ line-height: 1.33em;
332
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
333
+ margin: ${props => props.$margin || '0px'};
334
+ padding: ${props => props.$padding || '0px'};
335
+ box-sizing: border-box;
336
336
  `;
337
337
  const Heading = (_a) => {
338
338
  var { bold, children, margin, padding, type } = _a, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type"]);
@@ -351,29 +351,29 @@ const Heading = (_a) => {
351
351
  Heading.defaultProps = {
352
352
  bold: false,
353
353
  type: 'primary',
354
- };
355
-
356
- const Wrapper$g = styled.div `
357
- position: fixed;
358
- top: 0;
359
- right: 0;
360
- bottom: 0;
361
- left: 0;
362
- z-index: 9999;
363
- background: rgba(0, 0, 0, 0.8);
364
- display: flex;
365
- align-items: center;
366
- justify-content: center;
367
- box-sizing: border-box;
354
+ };
355
+
356
+ const Wrapper$g = styled.div `
357
+ position: fixed;
358
+ top: 0;
359
+ right: 0;
360
+ bottom: 0;
361
+ left: 0;
362
+ z-index: 9999;
363
+ background: rgba(0, 0, 0, 0.8);
364
+ display: flex;
365
+ align-items: center;
366
+ justify-content: center;
367
+ box-sizing: border-box;
368
368
  `;
369
369
  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)));
370
- const Buttons$1 = styled.div `
371
- display: flex;
372
- gap: 10px;
373
- align-items: center;
374
- justify-content: center;
375
- margin-top: 30px;
376
- box-sizing: border-box;
370
+ const Buttons$1 = styled.div `
371
+ display: flex;
372
+ gap: 10px;
373
+ align-items: center;
374
+ justify-content: center;
375
+ margin-top: 30px;
376
+ box-sizing: border-box;
377
377
  `;
378
378
  const ActionDialog = (_a) => {
379
379
  var { description, title, primaryButton, secondaryButton, tertiaryButton, style = {} } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton", "style"]);
@@ -385,29 +385,29 @@ const ActionDialog = (_a) => {
385
385
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
386
386
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
387
387
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)));
388
- };
389
-
390
- const Wrapper$f = styled.div `
391
- border: 1px solid #f1f1f1;
392
- border-radius: 4px;
393
- border-left-width: 4px;
394
- box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
395
- display: flex;
396
- align-items: flex-start;
397
- gap: ${({ $small }) => ($small ? '8px' : '20px')};
398
- padding: ${({ $small }) => ($small ? '11px' : '20px')};
399
- box-sizing: border-box;
400
- `;
401
- const StyledIcon$4 = styled(Icon) `
402
- flex-shrink: 0;
403
- `;
404
- const Action$1 = styled.div `
405
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
406
- font-size: ${FontSizes.DEFAULT};
407
- font-family: ${FontStyles.DEFAULT};
408
- font-weight: 500;
409
- cursor: pointer;
410
- margin-top: 6px;
388
+ };
389
+
390
+ const Wrapper$f = styled.div `
391
+ border: 1px solid #f1f1f1;
392
+ border-radius: 4px;
393
+ border-left-width: 4px;
394
+ box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
395
+ display: flex;
396
+ align-items: flex-start;
397
+ gap: ${({ $small }) => ($small ? '8px' : '20px')};
398
+ padding: ${({ $small }) => ($small ? '11px' : '20px')};
399
+ box-sizing: border-box;
400
+ `;
401
+ const StyledIcon$4 = styled(Icon) `
402
+ flex-shrink: 0;
403
+ `;
404
+ const Action$1 = styled.div `
405
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
406
+ font-size: ${FontSizes.DEFAULT};
407
+ font-family: ${FontStyles.DEFAULT};
408
+ font-weight: 500;
409
+ cursor: pointer;
410
+ margin-top: 6px;
411
411
  `;
412
412
  Action$1.defaultProps = { theme: EditableTheme };
413
413
  const Alert = (_a) => {
@@ -437,8 +437,8 @@ const Alert = (_a) => {
437
437
  title && !small ? (React.createElement(Heading, { bold: true, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
438
438
  description ? (React.createElement(Copy, { margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
439
439
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
440
- };
441
-
440
+ };
441
+
442
442
  const colorMapping = {
443
443
  black: {
444
444
  fill_1: '#000000',
@@ -479,61 +479,61 @@ const Logo = (_a) => {
479
479
  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 }),
480
480
  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 })));
481
481
  }
482
- };
483
-
484
- const Container$3 = styled.header `
485
- width: 100%;
486
- display: flex;
487
- padding: 20px;
488
- box-sizing: border-box;
489
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
490
- background: '#fff';
491
- justify-content: space-between;
492
- `;
493
- const LogoWrapper = styled.div `
494
- display: flex;
495
- align-items: center;
496
- `;
497
- const Image = styled.img `
498
- height: 30px !important;
499
- width: auto !important;
500
- `;
501
- const Buttons = styled.div `
502
- display: flex;
503
- flex-direction: row;
504
- column-gap: 10px;
505
- flex-direction: reverse;
482
+ };
483
+
484
+ const Container$3 = styled.header `
485
+ width: 100%;
486
+ display: flex;
487
+ padding: 20px;
488
+ box-sizing: border-box;
489
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
490
+ background: '#fff';
491
+ justify-content: space-between;
492
+ `;
493
+ const LogoWrapper = styled.div `
494
+ display: flex;
495
+ align-items: center;
496
+ `;
497
+ const Image = styled.img `
498
+ height: 30px !important;
499
+ width: auto !important;
500
+ `;
501
+ const Buttons = styled.div `
502
+ display: flex;
503
+ flex-direction: row;
504
+ column-gap: 10px;
505
+ flex-direction: reverse;
506
506
  `;
507
507
  const AppHeader = ({ logoUrl, buttons = [] }) => {
508
508
  return (React.createElement(Container$3, null,
509
509
  React.createElement(LogoWrapper, null, logoUrl ? React.createElement(Image, { src: logoUrl }) : React.createElement(Logo, { height: '30px' })),
510
510
  React.createElement(Buttons, null, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b)))))));
511
- };
512
-
513
- const Wrapper$e = styled.div `
514
- display: inline-block;
515
- border-radius: 4px;
516
- padding: 4px 6px;
517
- background: ${props => Colors[props.$color].Hex};
518
- color: #ffffff;
519
- box-sizing: border-box;
520
- cursor: ${props => (props.$removable ? 'pointer' : 'default')};
521
- `;
522
- const Content$2 = styled.div `
523
- display: flex;
524
- align-items: center;
525
- `;
526
- const Label$4 = styled.div `
527
- color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
528
- font-size: ${FontSizes.SMALL};
529
- font-weight: 500;
530
- font-family: ${FontStyles.DEFAULT};
531
- line-height: 1.2em;
532
- `;
533
- const Remove$1 = styled.div `
534
- margin-left: 10px;
535
- display: flex;
536
- align-items: center;
511
+ };
512
+
513
+ const Wrapper$e = styled.div `
514
+ display: inline-block;
515
+ border-radius: 4px;
516
+ padding: 4px 6px;
517
+ background: ${props => Colors[props.$color].Hex};
518
+ color: #ffffff;
519
+ box-sizing: border-box;
520
+ cursor: ${props => (props.$removable ? 'pointer' : 'default')};
521
+ `;
522
+ const Content$2 = styled.div `
523
+ display: flex;
524
+ align-items: center;
525
+ `;
526
+ const Label$4 = styled.div `
527
+ color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
528
+ font-size: ${FontSizes.SMALL};
529
+ font-weight: 500;
530
+ font-family: ${FontStyles.DEFAULT};
531
+ line-height: 1.2em;
532
+ `;
533
+ const Remove$1 = styled.div `
534
+ margin-left: 10px;
535
+ display: flex;
536
+ align-items: center;
537
537
  `;
538
538
  const Tag = (_a) => {
539
539
  var { children, color = 'PRIMARY', removable, onClick } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick"]);
@@ -542,94 +542,94 @@ const Tag = (_a) => {
542
542
  React.createElement(Label$4, { "$color": color }, children),
543
543
  removable ? (React.createElement(Remove$1, null,
544
544
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: mdiClose, size: '15px' }))) : null)));
545
- };
546
-
547
- const SidebarContainer = styled.div `
548
- border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
549
- display: flex;
550
- flex-direction: column;
551
- height: 100%;
552
- padding: 12px 0px;
553
- width: ${props => (props.$isOpen ? props.$width : '60px')};
554
- `;
555
- const MenuWrapper$1 = styled.button `
556
- display: flex;
557
- align-items: center;
558
- border: 0px;
559
- background-color: transparent;
560
- padding-left: 0px;
561
- border-left-width: 4px;
562
- border-left-style: solid;
563
- border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
564
- cursor: pointer;
565
- height: 40px;
566
-
567
- &:hover > div {
568
- color: ${props => props.$color.Hex};
569
- }
570
-
571
- &:hover > svg > path {
572
- fill: ${Colors.BLACK.Hex} !important;
573
- }
574
- `;
575
- const MenuIcon = styled(Icon) `
576
- width: 20px;
577
- height: 20px;
578
- margin: 0px 16px;
579
- flex-shrink: 0;
580
-
581
- > path {
582
- fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
583
- }
584
- `;
585
- const MenuLabel = styled.div `
586
- color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
587
- flex: 1;
588
- font-size: 12px;
589
- font-style: normal;
590
- font-weight: 600;
591
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
592
- line-height: 16px;
593
- padding: 12px 0px;
594
- letter-spacing: 1px;
595
- `;
596
- const SubMenu = styled.div `
597
- overflow-y: auto;
598
- padding-left: 44px;
599
- padding-right: 20px;
600
- padding-bottom: 10px;
601
- `;
602
- const SubMenuItem = styled.a `
603
- display: block;
604
- padding: 8px 12px;
605
- border-radius: 8px;
606
- font-size: 13px;
607
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
608
- line-height: 20px;
609
- text-decoration: none;
610
- font-weight: ${({ $active }) => ($active ? '500' : '400')};
611
- color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
612
- background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
613
- cursor: pointer;
614
-
615
- &:hover {
616
- color: ${props => props.$color.Hex};
617
- font-weight: 500;
618
- }
619
- `;
620
- const Footer = styled.div `
621
- padding: 20px 14px 0px;
622
- display: flex;
623
- align-items: center;
624
- `;
625
- const FooterInfo = styled.div `
626
- display: flex;
627
- flex-direction: column;
628
- flex: 1;
629
- align-items: flex-start;
630
- `;
631
- const SidebarMenuContainer = styled.div `
632
- flex-grow: 1;
545
+ };
546
+
547
+ const SidebarContainer = styled.div `
548
+ border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
549
+ display: flex;
550
+ flex-direction: column;
551
+ height: 100%;
552
+ padding: 12px 0px;
553
+ width: ${props => (props.$isOpen ? props.$width : '60px')};
554
+ `;
555
+ const MenuWrapper$1 = styled.button `
556
+ display: flex;
557
+ align-items: center;
558
+ border: 0px;
559
+ background-color: transparent;
560
+ padding-left: 0px;
561
+ border-left-width: 4px;
562
+ border-left-style: solid;
563
+ border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
564
+ cursor: pointer;
565
+ height: 40px;
566
+
567
+ &:hover > div {
568
+ color: ${props => props.$color.Hex};
569
+ }
570
+
571
+ &:hover > svg > path {
572
+ fill: ${Colors.BLACK.Hex} !important;
573
+ }
574
+ `;
575
+ const MenuIcon = styled(Icon) `
576
+ width: 20px;
577
+ height: 20px;
578
+ margin: 0px 16px;
579
+ flex-shrink: 0;
580
+
581
+ > path {
582
+ fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
583
+ }
584
+ `;
585
+ const MenuLabel = styled.div `
586
+ color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
587
+ flex: 1;
588
+ font-size: 12px;
589
+ font-style: normal;
590
+ font-weight: 600;
591
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
592
+ line-height: 16px;
593
+ padding: 12px 0px;
594
+ letter-spacing: 1px;
595
+ `;
596
+ const SubMenu = styled.div `
597
+ overflow-y: auto;
598
+ padding-left: 44px;
599
+ padding-right: 20px;
600
+ padding-bottom: 10px;
601
+ `;
602
+ const SubMenuItem = styled.a `
603
+ display: block;
604
+ padding: 8px 12px;
605
+ border-radius: 8px;
606
+ font-size: 13px;
607
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
608
+ line-height: 20px;
609
+ text-decoration: none;
610
+ font-weight: ${({ $active }) => ($active ? '500' : '400')};
611
+ color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
612
+ background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
613
+ cursor: pointer;
614
+
615
+ &:hover {
616
+ color: ${props => props.$color.Hex};
617
+ font-weight: 500;
618
+ }
619
+ `;
620
+ const Footer = styled.div `
621
+ padding: 20px 14px 0px;
622
+ display: flex;
623
+ align-items: center;
624
+ `;
625
+ const FooterInfo = styled.div `
626
+ display: flex;
627
+ flex-direction: column;
628
+ flex: 1;
629
+ align-items: flex-start;
630
+ `;
631
+ const SidebarMenuContainer = styled.div `
632
+ flex-grow: 1;
633
633
  `;
634
634
  const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
635
635
  const theme = useContext(ThemeContext) || EditableTheme;
@@ -653,75 +653,75 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
653
653
  e.preventDefault();
654
654
  toggleCollapse(!collapsed);
655
655
  }, small: true }))));
656
- };
657
-
658
- const Wrapper$d = styled.div `
659
- border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
660
- border-radius: 8px;
661
- box-sizing: border-box;
662
- display: flex;
663
- align-items: center;
664
- justify-content: space-between;
665
- padding: 16px 20px;
656
+ };
657
+
658
+ const Wrapper$d = styled.div `
659
+ border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
660
+ border-radius: 8px;
661
+ box-sizing: border-box;
662
+ display: flex;
663
+ align-items: center;
664
+ justify-content: space-between;
665
+ padding: 16px 20px;
666
666
  `;
667
667
  Wrapper$d.defaultProps = { theme: EditableTheme };
668
- const Left = styled.div `
669
- box-sizing: border-box;
670
- display: flex;
671
- align-items: center;
672
- justify-content: space-between;
673
- flex-shrink: 0;
674
- `;
675
- const Info$1 = styled.div `
676
- box-sizing: border-box;
677
- display: flex;
678
- align-items: center;
679
- margin-right: 30px;
680
- `;
681
- const Selected = styled.span `
682
- font-size: 14px;
683
- font-weight: 400;
684
- font-family: ${FontStyles.DEFAULT};
685
- color: ${Colors.BLACK.Hex};
686
- line-height: 1;
687
- `;
688
- const Clear = styled.span `
689
- font-size: 14px;
690
- font-weight: 400;
691
- font-family: ${FontStyles.DEFAULT};
692
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
693
- line-height: 1;
694
- cursor: pointer;
695
- padding-left: 10px;
696
- margin-left: 10px;
697
- border-left: 1px solid #ccc;
668
+ const Left = styled.div `
669
+ box-sizing: border-box;
670
+ display: flex;
671
+ align-items: center;
672
+ justify-content: space-between;
673
+ flex-shrink: 0;
674
+ `;
675
+ const Info$1 = styled.div `
676
+ box-sizing: border-box;
677
+ display: flex;
678
+ align-items: center;
679
+ margin-right: 30px;
680
+ `;
681
+ const Selected = styled.span `
682
+ font-size: 14px;
683
+ font-weight: 400;
684
+ font-family: ${FontStyles.DEFAULT};
685
+ color: ${Colors.BLACK.Hex};
686
+ line-height: 1;
687
+ `;
688
+ const Clear = styled.span `
689
+ font-size: 14px;
690
+ font-weight: 400;
691
+ font-family: ${FontStyles.DEFAULT};
692
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
693
+ line-height: 1;
694
+ cursor: pointer;
695
+ padding-left: 10px;
696
+ margin-left: 10px;
697
+ border-left: 1px solid #ccc;
698
698
  `;
699
699
  Clear.defaultProps = { theme: EditableTheme };
700
- const Actions$1 = styled.div `
701
- box-sizing: border-box;
702
- display: flex;
703
- align-items: center;
704
- column-gap: 10px;
705
- `;
706
- const Error$1 = styled.div `
707
- box-sizing: border-box;
708
- display: flex;
709
- align-items: center;
710
- background: rgba(${Colors.RED.Rgb}, 0.1);
711
- border-radius: 4px;
712
- padding: 6px 8px;
713
- text-overflow: ellipsis;
714
- white-space: nowrap;
715
- overflow: hidden;
716
- margin-left: 30px;
717
- `;
718
- const ErrorMsg = styled.span `
719
- font-size: 14px;
720
- font-weight: 500;
721
- font-family: ${FontStyles.DEFAULT};
722
- line-height: 1em;
723
- color: ${Colors.RED.Hex};
724
- margin-left: 8px;
700
+ const Actions$1 = styled.div `
701
+ box-sizing: border-box;
702
+ display: flex;
703
+ align-items: center;
704
+ column-gap: 10px;
705
+ `;
706
+ const Error$1 = styled.div `
707
+ box-sizing: border-box;
708
+ display: flex;
709
+ align-items: center;
710
+ background: rgba(${Colors.RED.Rgb}, 0.1);
711
+ border-radius: 4px;
712
+ padding: 6px 8px;
713
+ text-overflow: ellipsis;
714
+ white-space: nowrap;
715
+ overflow: hidden;
716
+ margin-left: 30px;
717
+ `;
718
+ const ErrorMsg = styled.span `
719
+ font-size: 14px;
720
+ font-weight: 500;
721
+ font-family: ${FontStyles.DEFAULT};
722
+ line-height: 1em;
723
+ color: ${Colors.RED.Hex};
724
+ margin-left: 8px;
725
725
  `;
726
726
  const BulkActionBar = (_a) => {
727
727
  var { actions = [], errorMsg, onClear, selectedCount = 0 } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
@@ -736,48 +736,48 @@ const BulkActionBar = (_a) => {
736
736
  errorMsg ? (React.createElement(Error$1, null,
737
737
  React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
738
738
  React.createElement(ErrorMsg, null, errorMsg))) : null));
739
- };
740
-
741
- const Wrapper$c = styled.div `
742
- background: #fff;
743
- border-radius: 8px;
744
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
745
- display: flex;
746
- flex-direction: column;
747
- gap: 4px;
748
- max-height: ${props => props.$maxHeight || '312px'};
749
- padding: 10px;
750
- width: 200px;
751
- `;
752
- const MenuItem = styled.div `
753
- align-items: center;
754
- border-radius: 8px;
755
- border: 1px solid transparent;
756
- display: flex;
757
- gap: 8px;
758
- height: 38px;
759
- padding: 8px;
760
- &:hover {
761
- background: rgba(1, 147, 215, 0.1);
762
- cursor: pointer;
763
-
764
- svg,
765
- path {
766
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
767
- }
768
- }
739
+ };
740
+
741
+ const Wrapper$c = styled.div `
742
+ background: #fff;
743
+ border-radius: 8px;
744
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
745
+ display: flex;
746
+ flex-direction: column;
747
+ gap: 4px;
748
+ max-height: ${props => props.$maxHeight || '312px'};
749
+ padding: 10px;
750
+ width: 200px;
751
+ `;
752
+ const MenuItem = styled.div `
753
+ align-items: center;
754
+ border-radius: 8px;
755
+ border: 1px solid transparent;
756
+ display: flex;
757
+ gap: 8px;
758
+ height: 38px;
759
+ padding: 8px;
760
+ &:hover {
761
+ background: rgba(1, 147, 215, 0.1);
762
+ cursor: pointer;
763
+
764
+ svg,
765
+ path {
766
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
767
+ }
768
+ }
769
769
  `;
770
770
  MenuItem.defaultProps = { theme: EditableTheme };
771
- const Title$1 = styled.span `
772
- font-family: Roboto;
773
- font-size: 14px;
774
- font-weight: 400;
775
- height: auto;
776
- letter-spacing: 0px;
777
- line-height: 22px;
778
- text-align: left;
779
- color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
780
- pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
771
+ const Title$1 = styled.span `
772
+ font-family: Roboto;
773
+ font-size: 14px;
774
+ font-weight: 400;
775
+ height: auto;
776
+ letter-spacing: 0px;
777
+ line-height: 22px;
778
+ text-align: left;
779
+ color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
780
+ pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
781
781
  `;
782
782
  Title$1.defaultProps = {
783
783
  disabled: false,
@@ -790,19 +790,19 @@ const MoreMenu = (_a) => {
790
790
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
791
791
  React.createElement(Title$1, { disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
792
792
  })));
793
- };
794
-
795
- const MenuWrapper = styled.div `
796
- position: relative; // Ensure this is relative
797
- display: inline-block;
798
- `;
799
- const StyledMoreMenu = styled(MoreMenu) `
800
- position: absolute; // Changed from fixed to absolute
801
- top: ${props => props.$top};
802
- left: ${props => props.$left};
803
- width: ${props => props.$menuWidth};
804
- max-height: ${props => props.maxHeight};
805
- z-index: 10;
793
+ };
794
+
795
+ const MenuWrapper = styled.div `
796
+ position: relative; // Ensure this is relative
797
+ display: inline-block;
798
+ `;
799
+ const StyledMoreMenu = styled(MoreMenu) `
800
+ position: absolute; // Changed from fixed to absolute
801
+ top: ${props => props.$top};
802
+ left: ${props => props.$left};
803
+ width: ${props => props.$menuWidth};
804
+ max-height: ${props => props.maxHeight};
805
+ z-index: 10;
806
806
  `;
807
807
  const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'bottomLeft', format = 'primary', menuWidth = '200px', enableHover = true, enableClick = false, show = false, }) => {
808
808
  const [showMenu, toggleMenu] = useState(false);
@@ -876,85 +876,85 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
876
876
  return (React.createElement(MenuWrapper, { onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
877
877
  React.createElement(Button, { disabled: disabled, format: format, icon: mdiDotsHorizontal, small: small }, label),
878
878
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, maxHeight: maxHeight, menuItems: menuItems }))));
879
- };
880
-
881
- const Wrapper$b = styled.label `
882
- border-radius: 4px;
883
- padding: 4px 0px 4px 6px;
884
- margin-left: -6px;
885
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
886
- display: flex;
887
- align-items: center;
888
- font-size: ${FontSizes.DEFAULT};
889
- line-height: 1.6em;
890
- box-sizing: border-box;
891
- position: relative;
892
-
893
- &:focus-within {
894
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
895
- }
879
+ };
880
+
881
+ const Wrapper$b = styled.label `
882
+ border-radius: 4px;
883
+ padding: 4px 0px 4px 6px;
884
+ margin-left: -6px;
885
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
886
+ display: flex;
887
+ align-items: center;
888
+ font-size: ${FontSizes.DEFAULT};
889
+ line-height: 1.6em;
890
+ box-sizing: border-box;
891
+ position: relative;
892
+
893
+ &:focus-within {
894
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
895
+ }
896
896
  `;
897
897
  Wrapper$b.defaultProps = { theme: EditableTheme };
898
- const Input$2 = styled.input `
899
- font-size: 20px;
900
- margin: 0px;
901
- line-height: 1.1em;
902
- box-sizing: border-box;
903
- position: absolute;
904
- opacity: 0;
905
- cursor: pointer;
906
- height: 0;
907
- width: 0;
908
- &:checked + span {
909
- background-color: ${Colors.PRIMARY.Hex};
910
- border-color: ${Colors.PRIMARY.Hex};
911
- }
912
- &:checked:disabled + span {
913
- background-color: ${Colors.MEDIUM_GRAY.Hex};
914
- border-color: ${Colors.MEDIUM_GRAY.Hex};
915
- }
916
- &:disabled + span {
917
- background-color: #d3d3d3;
918
- border-color: #d3d3d3;
919
- }
920
- &:checked + span:after {
921
- display: block;
922
- }
923
- `;
924
- const Check$1 = styled.span `
925
- height: 17px;
926
- width: 17px;
927
- min-width: 17px;
928
- background-color: #fff;
929
- border-width: 2px;
930
- border-style: solid;
931
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
932
- box-sizing: border-box;
933
- position: relative;
934
- &:after {
935
- content: '';
936
- position: absolute;
937
- left: 3px;
938
- top: 0px;
939
- width: 7px;
940
- height: 12px;
941
- border: solid white;
942
- border-width: 0 3px 3px 0;
943
- -webkit-transform: rotate(45deg);
944
- -ms-transform: rotate(45deg);
945
- transform: rotate(45deg);
946
- box-sizing: border-box;
947
- display: none;
948
- }
949
- `;
950
- const Label$3 = styled.span `
951
- font-family: ${FontStyles.DEFAULT};
952
- font-size: ${FontSizes.DEFAULT};
953
- font-weight: 400;
954
- line-height: 1.6em;
955
- color: ${props => props.color || Colors.BLACK.Hex};
956
- margin-left: 6px;
957
- box-sizing: border-box;
898
+ const Input$2 = styled.input `
899
+ font-size: 20px;
900
+ margin: 0px;
901
+ line-height: 1.1em;
902
+ box-sizing: border-box;
903
+ position: absolute;
904
+ opacity: 0;
905
+ cursor: pointer;
906
+ height: 0;
907
+ width: 0;
908
+ &:checked + span {
909
+ background-color: ${Colors.PRIMARY.Hex};
910
+ border-color: ${Colors.PRIMARY.Hex};
911
+ }
912
+ &:checked:disabled + span {
913
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
914
+ border-color: ${Colors.MEDIUM_GRAY.Hex};
915
+ }
916
+ &:disabled + span {
917
+ background-color: #d3d3d3;
918
+ border-color: #d3d3d3;
919
+ }
920
+ &:checked + span:after {
921
+ display: block;
922
+ }
923
+ `;
924
+ const Check$1 = styled.span `
925
+ height: 17px;
926
+ width: 17px;
927
+ min-width: 17px;
928
+ background-color: #fff;
929
+ border-width: 2px;
930
+ border-style: solid;
931
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
932
+ box-sizing: border-box;
933
+ position: relative;
934
+ &:after {
935
+ content: '';
936
+ position: absolute;
937
+ left: 3px;
938
+ top: 0px;
939
+ width: 7px;
940
+ height: 12px;
941
+ border: solid white;
942
+ border-width: 0 3px 3px 0;
943
+ -webkit-transform: rotate(45deg);
944
+ -ms-transform: rotate(45deg);
945
+ transform: rotate(45deg);
946
+ box-sizing: border-box;
947
+ display: none;
948
+ }
949
+ `;
950
+ const Label$3 = styled.span `
951
+ font-family: ${FontStyles.DEFAULT};
952
+ font-size: ${FontSizes.DEFAULT};
953
+ font-weight: 400;
954
+ line-height: 1.6em;
955
+ color: ${props => props.color || Colors.BLACK.Hex};
956
+ margin-left: 6px;
957
+ box-sizing: border-box;
958
958
  `;
959
959
  const Checkbox = (_a) => {
960
960
  var { children, color, disabled, checked, onChange, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip"]);
@@ -964,16 +964,16 @@ const Checkbox = (_a) => {
964
964
  children ? (React.createElement(Label$3, { color: color },
965
965
  children,
966
966
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
967
- };
968
-
969
- const SelectAll = styled.div `
970
- padding: 8px 12px;
971
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
972
- box-sizing: border-box;
967
+ };
968
+
969
+ const SelectAll = styled.div `
970
+ padding: 8px 12px;
971
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
972
+ box-sizing: border-box;
973
973
  `;
974
- const Options$1 = styled.div `
975
- padding: 12px;
976
- box-sizing: border-box;
974
+ const Options$1 = styled.div `
975
+ padding: 12px;
976
+ box-sizing: border-box;
977
977
  `;
978
978
  const Checklist = (_a) => {
979
979
  var { disabled, onChange, options, selected = [], showSelectAll } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
@@ -1010,70 +1010,70 @@ const Checklist = (_a) => {
1010
1010
  const checked = selected.includes(option.value);
1011
1011
  return (React.createElement(Checkbox, Object.assign({ key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1012
1012
  }))));
1013
- };
1014
-
1015
- const Wrapper$a = styled.div `
1016
- border-radius: 4px;
1017
- height: 40px;
1018
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1019
- position: relative;
1020
- cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1021
- border-width: 1px;
1022
- border-style: solid;
1023
- border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1024
- border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1025
- flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1026
- box-sizing: border-box;
1027
- padding: 10px 0px;
1028
- display: flex;
1029
- align-items: center;
1030
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1031
-
1032
- &:focus-within {
1033
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1034
- }
1013
+ };
1014
+
1015
+ const Wrapper$a = styled.div `
1016
+ border-radius: 4px;
1017
+ height: 40px;
1018
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1019
+ position: relative;
1020
+ cursor: ${props => (props.$readOnly ? 'default' : 'pointer')};
1021
+ border-width: 1px;
1022
+ border-style: solid;
1023
+ border-color: ${props => (props.$invalid ? Colors.RED.Hex : '#cccccc')};
1024
+ border-radius: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px'};
1025
+ flex-grow: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.flexGrow) || 0};
1026
+ box-sizing: border-box;
1027
+ padding: 10px 0px;
1028
+ display: flex;
1029
+ align-items: center;
1030
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1031
+
1032
+ &:focus-within {
1033
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1034
+ }
1035
1035
  `;
1036
1036
  Wrapper$a.defaultProps = { theme: EditableTheme };
1037
- const Trigger$1 = styled.select `
1038
- appearance: none;
1039
- box-shadow: none;
1040
- outline: none;
1041
- border: none;
1042
- color: ${Colors.BLACK.Hex};
1043
- font-size: ${FontSizes.DEFAULT};
1044
- font-weight: 400;
1045
- font-family: ${FontStyles.DEFAULT};
1046
- line-height: 2.9em;
1047
- background-color: transparent;
1048
- background-image: none;
1049
- width: 100%;
1050
- box-sizing: border-box;
1051
- padding: 0px 30px 0px 10px;
1052
- box-sizing: border-box;
1053
- position: relative;
1054
- z-index: 2;
1055
- `;
1056
- const IconWrapper$2 = styled(Icon) `
1057
- position: absolute;
1058
- right: 9px;
1059
- z-index: 1;
1060
- `;
1061
- const SearchInput$1 = styled.input `
1062
- position: absolute;
1063
- left: 2px;
1064
- top: 2px;
1065
- z-index: 999;
1066
- width: 90%;
1067
- height: 30px;
1068
- border: none;
1069
- outline: none;
1070
- color: ${Colors.BLACK.Hex};
1071
- font-family: ${FontStyles.DEFAULT};
1072
- font-size: ${FontSizes.DEFAULT};
1073
- font-weight: 400;
1074
- line-height: 2.9em;
1075
- overflow: hidden;
1076
- white-space: nowrap;
1037
+ const Trigger$1 = styled.select `
1038
+ appearance: none;
1039
+ box-shadow: none;
1040
+ outline: none;
1041
+ border: none;
1042
+ color: ${Colors.BLACK.Hex};
1043
+ font-size: ${FontSizes.DEFAULT};
1044
+ font-weight: 400;
1045
+ font-family: ${FontStyles.DEFAULT};
1046
+ line-height: 2.9em;
1047
+ background-color: transparent;
1048
+ background-image: none;
1049
+ width: 100%;
1050
+ box-sizing: border-box;
1051
+ padding: 0px 30px 0px 10px;
1052
+ box-sizing: border-box;
1053
+ position: relative;
1054
+ z-index: 2;
1055
+ `;
1056
+ const IconWrapper$2 = styled(Icon) `
1057
+ position: absolute;
1058
+ right: 9px;
1059
+ z-index: 1;
1060
+ `;
1061
+ const SearchInput$1 = styled.input `
1062
+ position: absolute;
1063
+ left: 2px;
1064
+ top: 2px;
1065
+ z-index: 999;
1066
+ width: 90%;
1067
+ height: 30px;
1068
+ border: none;
1069
+ outline: none;
1070
+ color: ${Colors.BLACK.Hex};
1071
+ font-family: ${FontStyles.DEFAULT};
1072
+ font-size: ${FontSizes.DEFAULT};
1073
+ font-weight: 400;
1074
+ line-height: 2.9em;
1075
+ overflow: hidden;
1076
+ white-space: nowrap;
1077
1077
  `;
1078
1078
  const Select = (_a) => {
1079
1079
  var { options, optionGroups, placeholder = '--Select-One--', readOnly, invalid, searchable = false, value: propValue, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style"]);
@@ -1107,15 +1107,15 @@ const Select = (_a) => {
1107
1107
  filteredOptions &&
1108
1108
  filteredOptions.map((option, i) => (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
1109
1109
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' })));
1110
- };
1111
-
1112
- const DatePickerWrapper = styled.div `
1113
- display: flex;
1114
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1110
+ };
1111
+
1112
+ const DatePickerWrapper = styled.div `
1113
+ display: flex;
1114
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1115
1115
  `;
1116
- const Middle = styled.div `
1117
- margin: 0px -1px;
1118
- flex-grow: 1;
1116
+ const Middle = styled.div `
1117
+ margin: 0px -1px;
1118
+ flex-grow: 1;
1119
1119
  `;
1120
1120
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date,
1121
1121
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -1196,66 +1196,66 @@ onChange = () => { }, style, }) => {
1196
1196
  React.createElement(Middle, null,
1197
1197
  React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1198
1198
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, placeholder: 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1199
- };
1200
-
1201
- const Scrim$1 = styled.div `
1202
- position: ${({ $position }) => $position};
1203
- top: 0;
1204
- right: 0;
1205
- bottom: 0;
1206
- left: 0;
1207
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1208
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1209
- `;
1210
- const Container$2 = styled.div `
1211
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1212
- min-width: 400px;
1213
- width: ${({ $width }) => $width || '400px'};
1214
- overflow: hidden;
1215
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1216
- outline: none;
1217
- border: none;
1218
- position: ${({ $position }) => $position};
1219
- top: 0;
1220
- right: 0;
1221
- bottom: 0;
1222
- padding: 0px;
1223
- display: flex;
1224
- flex-direction: column;
1225
- box-sizing: border-box;
1226
- background: #fff;
1227
- `;
1228
- const Header$2 = styled.div `
1229
- padding: 30px 20px;
1230
- display: flex;
1231
- align-items: flex-start;
1232
- box-sizing: border-box;
1233
- flex-shrink: 0;
1234
- background: #fff;
1235
- `;
1236
- const Close$1 = styled.div `
1237
- margin-left: auto;
1238
- display: flex;
1239
- align-items: center;
1240
- padding-left: 20px;
1241
- cursor: pointer;
1242
- `;
1243
- const ContentWrapper$1 = styled.div `
1244
- overflow-x: hidden;
1245
- overflow-y: auto;
1246
- box-sizing: border-box;
1247
- flex: 1;
1248
- background: #fff;
1249
- `;
1250
- const ButtonBar$1 = styled.div `
1251
- padding: 20px;
1252
- display: flex;
1253
- align-items: center;
1254
- justify-content: flex-end;
1255
- box-sizing: border-box;
1256
- gap: 10px;
1257
- flex-shrink: 0;
1258
- background: #fff;
1199
+ };
1200
+
1201
+ const Scrim$1 = styled.div `
1202
+ position: ${({ $position }) => $position};
1203
+ top: 0;
1204
+ right: 0;
1205
+ bottom: 0;
1206
+ left: 0;
1207
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1208
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1209
+ `;
1210
+ const Container$2 = styled.div `
1211
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1212
+ min-width: 400px;
1213
+ width: ${({ $width }) => $width || '400px'};
1214
+ overflow: hidden;
1215
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1216
+ outline: none;
1217
+ border: none;
1218
+ position: ${({ $position }) => $position};
1219
+ top: 0;
1220
+ right: 0;
1221
+ bottom: 0;
1222
+ padding: 0px;
1223
+ display: flex;
1224
+ flex-direction: column;
1225
+ box-sizing: border-box;
1226
+ background: #fff;
1227
+ `;
1228
+ const Header$2 = styled.div `
1229
+ padding: 30px 20px;
1230
+ display: flex;
1231
+ align-items: flex-start;
1232
+ box-sizing: border-box;
1233
+ flex-shrink: 0;
1234
+ background: #fff;
1235
+ `;
1236
+ const Close$1 = styled.div `
1237
+ margin-left: auto;
1238
+ display: flex;
1239
+ align-items: center;
1240
+ padding-left: 20px;
1241
+ cursor: pointer;
1242
+ `;
1243
+ const ContentWrapper$1 = styled.div `
1244
+ overflow-x: hidden;
1245
+ overflow-y: auto;
1246
+ box-sizing: border-box;
1247
+ flex: 1;
1248
+ background: #fff;
1249
+ `;
1250
+ const ButtonBar$1 = styled.div `
1251
+ padding: 20px;
1252
+ display: flex;
1253
+ align-items: center;
1254
+ justify-content: flex-end;
1255
+ box-sizing: border-box;
1256
+ gap: 10px;
1257
+ flex-shrink: 0;
1258
+ background: #fff;
1259
1259
  `;
1260
1260
  const Drawer = (_a) => {
1261
1261
  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"]);
@@ -1283,55 +1283,55 @@ const Drawer = (_a) => {
1283
1283
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
1284
1284
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null),
1285
1285
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1286
- };
1287
-
1286
+ };
1287
+
1288
1288
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1289
- const LabelRow = styled.div `
1290
- display: flex;
1291
- align-items: center;
1292
- justify-content: space-between;
1293
- margin: 0 0 4px 0;
1294
- box-sizing: border-box;
1295
- `;
1296
- const Label$2 = styled.label `
1297
- font-size: ${FontSizes.DEFAULT};
1298
- font-weight: 500;
1299
- line-height: 1.3em;
1300
- font-family: ${FontStyles.DEFAULT};
1301
- color: ${Colors.BLACK.Hex};
1302
- display: flex;
1303
- align-items: center;
1304
- `;
1305
- const Required = styled.span `
1306
- color: ${Colors.RED.Hex};
1307
- margin-left: 4px;
1308
- `;
1309
- const Action = styled.span `
1310
- font-size: ${FontSizes.DEFAULT};
1311
- font-weight: 500;
1312
- line-height: 1em;
1313
- font-family: ${FontStyles.DEFAULT};
1314
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1315
- cursor: pointer;
1289
+ const LabelRow = styled.div `
1290
+ display: flex;
1291
+ align-items: center;
1292
+ justify-content: space-between;
1293
+ margin: 0 0 4px 0;
1294
+ box-sizing: border-box;
1295
+ `;
1296
+ const Label$2 = styled.label `
1297
+ font-size: ${FontSizes.DEFAULT};
1298
+ font-weight: 500;
1299
+ line-height: 1.3em;
1300
+ font-family: ${FontStyles.DEFAULT};
1301
+ color: ${Colors.BLACK.Hex};
1302
+ display: flex;
1303
+ align-items: center;
1304
+ `;
1305
+ const Required = styled.span `
1306
+ color: ${Colors.RED.Hex};
1307
+ margin-left: 4px;
1308
+ `;
1309
+ const Action = styled.span `
1310
+ font-size: ${FontSizes.DEFAULT};
1311
+ font-weight: 500;
1312
+ line-height: 1em;
1313
+ font-family: ${FontStyles.DEFAULT};
1314
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1315
+ cursor: pointer;
1316
1316
  `;
1317
1317
  Action.defaultProps = { theme: EditableTheme };
1318
- const Description = styled.div `
1319
- font-size: ${FontSizes.SMALL};
1320
- font-weight: 400;
1321
- line-height: 1.3em;
1322
- font-family: ${FontStyles.DEFAULT};
1323
- color: ${Colors.BLACK.Hex};
1324
- margin: 0 0 8px 0;
1325
- box-sizing: border-box;
1326
- `;
1327
- const Validation = styled.div `
1328
- font-size: ${FontSizes.SMALL};
1329
- font-weight: 400;
1330
- line-height: 1.3em;
1331
- font-family: ${FontStyles.DEFAULT};
1332
- color: ${Colors.RED.Hex};
1333
- margin: 4px 0 0 0;
1334
- box-sizing: border-box;
1318
+ const Description = styled.div `
1319
+ font-size: ${FontSizes.SMALL};
1320
+ font-weight: 400;
1321
+ line-height: 1.3em;
1322
+ font-family: ${FontStyles.DEFAULT};
1323
+ color: ${Colors.BLACK.Hex};
1324
+ margin: 0 0 8px 0;
1325
+ box-sizing: border-box;
1326
+ `;
1327
+ const Validation = styled.div `
1328
+ font-size: ${FontSizes.SMALL};
1329
+ font-weight: 400;
1330
+ line-height: 1.3em;
1331
+ font-family: ${FontStyles.DEFAULT};
1332
+ color: ${Colors.RED.Hex};
1333
+ margin: 4px 0 0 0;
1334
+ box-sizing: border-box;
1335
1335
  `;
1336
1336
  const Field = (_a) => {
1337
1337
  var { action, children, validationText, label, description, required, htmlFor, style = {}, tooltip } = _a, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style", "tooltip"]);
@@ -1345,113 +1345,113 @@ const Field = (_a) => {
1345
1345
  description ? React.createElement(Description, null, description) : null,
1346
1346
  children,
1347
1347
  validationText ? React.createElement(Validation, null, validationText) : null));
1348
- };
1349
-
1350
- const Wrapper$8 = styled.fieldset `
1351
- margin-inline-start: 0px;
1352
- margin-inline-end: 0px;
1353
- padding-block-start: 0px;
1354
- padding-inline-start: 0px;
1355
- padding-inline-end: 0px;
1356
- padding-block-end: 0px;
1357
- min-inline-size: min-content;
1358
- border-width: 0px;
1359
- border-style: none;
1360
- border-color: transparent;
1361
- border-image: none;
1362
- `;
1363
- const Label$1 = styled.legend `
1364
- padding-inline-start: 0px;
1365
- padding-inline-end: 0px;
1366
-
1367
- color: ${Colors.BLACK.Hex};
1368
- font-family: ${FontStyles.DEFAULT};
1369
- font-size: ${FontSizes.DEFAULT};
1370
- font-weight: 500;
1371
- line-height: 22px;
1372
- margin-bottom: 6px;
1373
- `;
1374
- const Content$1 = styled.div `
1375
- padding: 20px;
1376
- border-radius: 8px;
1377
- background: #fcfcfc;
1348
+ };
1349
+
1350
+ const Wrapper$8 = styled.fieldset `
1351
+ margin-inline-start: 0px;
1352
+ margin-inline-end: 0px;
1353
+ padding-block-start: 0px;
1354
+ padding-inline-start: 0px;
1355
+ padding-inline-end: 0px;
1356
+ padding-block-end: 0px;
1357
+ min-inline-size: min-content;
1358
+ border-width: 0px;
1359
+ border-style: none;
1360
+ border-color: transparent;
1361
+ border-image: none;
1362
+ `;
1363
+ const Label$1 = styled.legend `
1364
+ padding-inline-start: 0px;
1365
+ padding-inline-end: 0px;
1366
+
1367
+ color: ${Colors.BLACK.Hex};
1368
+ font-family: ${FontStyles.DEFAULT};
1369
+ font-size: ${FontSizes.DEFAULT};
1370
+ font-weight: 500;
1371
+ line-height: 22px;
1372
+ margin-bottom: 6px;
1373
+ `;
1374
+ const Content$1 = styled.div `
1375
+ padding: 20px;
1376
+ border-radius: 8px;
1377
+ background: #fcfcfc;
1378
1378
  `;
1379
1379
  const FieldGroup = ({ children, label }) => {
1380
1380
  return (React.createElement(Wrapper$8, null,
1381
1381
  React.createElement(Label$1, null, label),
1382
1382
  React.createElement(Content$1, null, children)));
1383
- };
1384
-
1385
- const Dropzone = styled.div `
1386
- border-radius: 8px;
1387
- border-width: 1px;
1388
- border-style: dashed;
1389
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1390
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1391
- cursor: copy;
1383
+ };
1384
+
1385
+ const Dropzone = styled.div `
1386
+ border-radius: 8px;
1387
+ border-width: 1px;
1388
+ border-style: dashed;
1389
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1390
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1391
+ cursor: copy;
1392
1392
  `;
1393
1393
  Dropzone.defaultProps = { theme: EditableTheme };
1394
- const IconWrapper$1 = styled.div `
1395
- width: 80px;
1396
- height: 80px;
1397
- border-radius: 40px;
1398
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1399
- display: flex;
1400
- align-items: center;
1401
- justify-content: center;
1402
- `;
1403
- const StyledIcon$3 = styled(Icon) `
1404
- width: 40px !important;
1405
- height: 40px !important;
1406
-
1407
- > path {
1408
- fill: ${Colors.GRAY.Hex} !important;
1409
- }
1410
- `;
1411
- const ClickZone = styled.div `
1412
- margin: 40px 20px;
1413
- display: flex;
1414
- flex-direction: column;
1415
- align-items: center;
1416
- gap: 16px;
1417
- `;
1418
- const Content = styled.div `
1419
- display: flex;
1420
- flex-direction: column;
1421
- align-items: center;
1422
- z-index: 99999;
1423
- gap: 2px;
1424
- `;
1425
- const Files = styled.div `
1426
- display: flex;
1427
- flex-direction: column;
1428
- align-self: stretch;
1429
- gap: 10px;
1430
- margin: 20px;
1431
- `;
1432
- const MessageDiv = styled.div `
1433
- display: flex;
1434
- align-items: center;
1435
- justify-content: center;
1436
- `;
1437
- const File = styled.div `
1438
- display: flex;
1439
- padding: 10px;
1440
- align-items: center;
1441
- justify-content: space-between;
1442
- gap: 10px;
1443
- border-radius: 4px;
1444
- border: 1px solid #cccccc;
1445
- background: #ffffff;
1446
- `;
1447
- const Remove = styled(Icon) `
1448
- width: 24px;
1449
- height: 24px;
1450
- cursor: pointer;
1451
-
1452
- > path {
1453
- fill: ${Colors.RED.Hex} !important;
1454
- }
1394
+ const IconWrapper$1 = styled.div `
1395
+ width: 80px;
1396
+ height: 80px;
1397
+ border-radius: 40px;
1398
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1399
+ display: flex;
1400
+ align-items: center;
1401
+ justify-content: center;
1402
+ `;
1403
+ const StyledIcon$3 = styled(Icon) `
1404
+ width: 40px !important;
1405
+ height: 40px !important;
1406
+
1407
+ > path {
1408
+ fill: ${Colors.GRAY.Hex} !important;
1409
+ }
1410
+ `;
1411
+ const ClickZone = styled.div `
1412
+ margin: 40px 20px;
1413
+ display: flex;
1414
+ flex-direction: column;
1415
+ align-items: center;
1416
+ gap: 16px;
1417
+ `;
1418
+ const Content = styled.div `
1419
+ display: flex;
1420
+ flex-direction: column;
1421
+ align-items: center;
1422
+ z-index: 99999;
1423
+ gap: 2px;
1424
+ `;
1425
+ const Files = styled.div `
1426
+ display: flex;
1427
+ flex-direction: column;
1428
+ align-self: stretch;
1429
+ gap: 10px;
1430
+ margin: 20px;
1431
+ `;
1432
+ const MessageDiv = styled.div `
1433
+ display: flex;
1434
+ align-items: center;
1435
+ justify-content: center;
1436
+ `;
1437
+ const File = styled.div `
1438
+ display: flex;
1439
+ padding: 10px;
1440
+ align-items: center;
1441
+ justify-content: space-between;
1442
+ gap: 10px;
1443
+ border-radius: 4px;
1444
+ border: 1px solid #cccccc;
1445
+ background: #ffffff;
1446
+ `;
1447
+ const Remove = styled(Icon) `
1448
+ width: 24px;
1449
+ height: 24px;
1450
+ cursor: pointer;
1451
+
1452
+ > path {
1453
+ fill: ${Colors.RED.Hex} !important;
1454
+ }
1455
1455
  `;
1456
1456
  const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, }) => {
1457
1457
  const inputRef = useRef(null);
@@ -1569,8 +1569,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
1569
1569
  React.createElement(Copy, { align: 'center', color: 'GRAY' }, message),
1570
1570
  tooltipInfo && (React.createElement("span", null,
1571
1571
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1572
- };
1573
-
1572
+ };
1573
+
1574
1574
  const getAgesFromDob = (dob) => {
1575
1575
  let calculated_current_age = null;
1576
1576
  let calculated_nearest_age = null;
@@ -1643,149 +1643,149 @@ const formatAsSsn = (number) => {
1643
1643
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1644
1644
  }
1645
1645
  return formatted_value;
1646
- };
1647
-
1648
- const StyledInput = styled.input `
1649
- border: none !important;
1650
- background: none !important;
1651
- font-size: ${FontSizes.DEFAULT};
1652
- font-weight: 400;
1653
- font-family: ${FontStyles.DEFAULT};
1654
- line-height: 1.28em;
1646
+ };
1647
+
1648
+ const StyledInput = styled.input `
1649
+ border: none !important;
1650
+ background: none !important;
1651
+ font-size: ${FontSizes.DEFAULT};
1652
+ font-weight: 400;
1653
+ font-family: ${FontStyles.DEFAULT};
1654
+ line-height: 1.28em;
1655
1655
  color: ${props => props.$showErrorTextColor && props.$invalid && !props.$readOnly
1656
1656
  ? Colors.RED.Hex
1657
- : Colors.BLACK.Hex};
1658
- position: relative;
1659
- height: ${props => props.$height || 'auto'};
1660
- padding: 10px;
1661
- opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1662
- box-shadow: none;
1663
- outline: none;
1664
- margin: 0px;
1665
- text-indent: 0px;
1666
- --webkit-appearance: none;
1667
- box-sizing: border-box;
1668
- display: block;
1669
- width: 100%;
1670
- `;
1671
- const StyledTextArea = styled.textarea `
1672
- border: none !important;
1673
- background: none !important;
1674
- overflow-y: scroll !important;
1675
- font-size: 14px;
1676
- font-weight: 400;
1677
- height: ${props => props.$height || 'auto'};
1678
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1679
- line-height: 1.28em;
1657
+ : Colors.BLACK.Hex};
1658
+ position: relative;
1659
+ height: ${props => props.$height || 'auto'};
1660
+ padding: 10px;
1661
+ opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1662
+ box-shadow: none;
1663
+ outline: none;
1664
+ margin: 0px;
1665
+ text-indent: 0px;
1666
+ --webkit-appearance: none;
1667
+ box-sizing: border-box;
1668
+ display: block;
1669
+ width: 100%;
1670
+ `;
1671
+ const StyledTextArea = styled.textarea `
1672
+ border: none !important;
1673
+ background: none !important;
1674
+ overflow-y: scroll !important;
1675
+ font-size: 14px;
1676
+ font-weight: 400;
1677
+ height: ${props => props.$height || 'auto'};
1678
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1679
+ line-height: 1.28em;
1680
1680
  color: ${props => props.$showErrorTextColor && props.$invalid && !props.$readOnly
1681
1681
  ? Colors.RED.Hex
1682
- : Colors.BLACK.Hex};
1683
- position: relative;
1684
- padding: 10px;
1685
- opacity: 1;
1686
- box-shadow: none;
1687
- outline: none;
1688
- margin: 0px;
1689
- text-indent: 0px;
1690
- --webkit-appearance: none;
1691
- overflow-wrap: break-word;
1692
- box-sizing: border-box;
1693
- display: block;
1694
- width: 100%;
1682
+ : Colors.BLACK.Hex};
1683
+ position: relative;
1684
+ padding: 10px;
1685
+ opacity: 1;
1686
+ box-shadow: none;
1687
+ outline: none;
1688
+ margin: 0px;
1689
+ text-indent: 0px;
1690
+ --webkit-appearance: none;
1691
+ overflow-wrap: break-word;
1692
+ box-sizing: border-box;
1693
+ display: block;
1694
+ width: 100%;
1695
1695
  ${({ $readOnly }) => $readOnly &&
1696
- `
1697
- background-color: #f0f0f0;
1698
- color: #999999;
1699
- overflow-y: scroll;
1700
- `}
1701
- `;
1702
- const StyledSuffix = styled.div `
1703
- box-sizing: border-box;
1704
- border-radius: 0px 4px 4px 0px;
1705
- display: flex;
1706
- justify-content: center;
1707
- align-items: center;
1708
- padding: 10px;
1709
- height: auto;
1710
- background: #f5f5f5;
1711
- border-width: 0px 0px 0px 1px;
1712
- border-style: solid;
1713
- border-color: #cccccc;
1714
- font-family: ${FontStyles.DEFAULT};
1715
- font-style: normal;
1716
- font-weight: 400;
1717
- font-size: ${FontSizes.DEFAULT};
1718
- color: ${Colors.BLACK.Hex};
1719
- `;
1720
- const StyledWrapper = styled.div `
1721
- display: flex;
1722
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1723
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1724
- position: relative;
1725
- border-width: 1px;
1726
- border-style: solid;
1727
- border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1728
- border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1729
-
1730
- &:focus-within {
1731
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1732
- }
1696
+ `
1697
+ background-color: #f0f0f0;
1698
+ color: #999999;
1699
+ overflow-y: scroll;
1700
+ `}
1701
+ `;
1702
+ const StyledSuffix = styled.div `
1703
+ box-sizing: border-box;
1704
+ border-radius: 0px 4px 4px 0px;
1705
+ display: flex;
1706
+ justify-content: center;
1707
+ align-items: center;
1708
+ padding: 10px;
1709
+ height: auto;
1710
+ background: #f5f5f5;
1711
+ border-width: 0px 0px 0px 1px;
1712
+ border-style: solid;
1713
+ border-color: #cccccc;
1714
+ font-family: ${FontStyles.DEFAULT};
1715
+ font-style: normal;
1716
+ font-weight: 400;
1717
+ font-size: ${FontSizes.DEFAULT};
1718
+ color: ${Colors.BLACK.Hex};
1719
+ `;
1720
+ const StyledWrapper = styled.div `
1721
+ display: flex;
1722
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1723
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1724
+ position: relative;
1725
+ border-width: 1px;
1726
+ border-style: solid;
1727
+ border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1728
+ border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1729
+
1730
+ &:focus-within {
1731
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1732
+ }
1733
1733
  `;
1734
1734
  StyledWrapper.defaultProps = { theme: EditableTheme };
1735
- const SuggestedValues = styled.div `
1736
- background: #fff;
1737
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1738
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1739
- border-radius: 0px 0px 4px 4px;
1740
- border-style: solid;
1741
- border-top: none;
1742
- border-width: 1px;
1743
- left: -1px;
1744
- position: absolute;
1745
- right: -1px;
1746
- top: 39px;
1747
- z-index: 9999;
1748
- max-height: 220px;
1749
- overflow: auto;
1735
+ const SuggestedValues = styled.div `
1736
+ background: #fff;
1737
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1738
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1739
+ border-radius: 0px 0px 4px 4px;
1740
+ border-style: solid;
1741
+ border-top: none;
1742
+ border-width: 1px;
1743
+ left: -1px;
1744
+ position: absolute;
1745
+ right: -1px;
1746
+ top: 39px;
1747
+ z-index: 9999;
1748
+ max-height: 220px;
1749
+ overflow: auto;
1750
1750
  `;
1751
1751
  SuggestedValues.defaultProps = { theme: EditableTheme };
1752
- const SuggestedSummary = styled.div `
1753
- color: ${Colors.MEDIUM_GRAY.Hex};
1754
- font-size: 12px;
1755
- font-family: ${FontStyles.DEFAULT};
1756
- font-weight: 500;
1757
- line-height: 18px;
1758
- padding: 10px 12px;
1759
- border-bottom: 1px solid #e5e5e5;
1760
- background: #fff;
1761
- z-index: 1;
1762
- position: sticky;
1763
- top: 0px;
1764
- `;
1765
- const SuggestedValue = styled.div `
1766
- cursor: pointer;
1767
- padding: 8px 12px;
1768
- font-size: ${FontSizes.DEFAULT};
1769
- font-family: ${FontStyles.DEFAULT};
1770
- font-weight: 400;
1771
- line-height: 1.6em;
1772
- color: ${Colors.BLACK.Hex};
1773
-
1774
- &:hover {
1775
- background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1776
- }
1752
+ const SuggestedSummary = styled.div `
1753
+ color: ${Colors.MEDIUM_GRAY.Hex};
1754
+ font-size: 12px;
1755
+ font-family: ${FontStyles.DEFAULT};
1756
+ font-weight: 500;
1757
+ line-height: 18px;
1758
+ padding: 10px 12px;
1759
+ border-bottom: 1px solid #e5e5e5;
1760
+ background: #fff;
1761
+ z-index: 1;
1762
+ position: sticky;
1763
+ top: 0px;
1764
+ `;
1765
+ const SuggestedValue = styled.div `
1766
+ cursor: pointer;
1767
+ padding: 8px 12px;
1768
+ font-size: ${FontSizes.DEFAULT};
1769
+ font-family: ${FontStyles.DEFAULT};
1770
+ font-weight: 400;
1771
+ line-height: 1.6em;
1772
+ color: ${Colors.BLACK.Hex};
1773
+
1774
+ &:hover {
1775
+ background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1776
+ }
1777
1777
  `;
1778
1778
  SuggestedValue.defaultProps = { theme: EditableTheme };
1779
- const CharacterCount = styled.div `
1780
- font-family: ${FontStyles.DEFAULT};
1781
- font-size: ${FontSizes.SMALL};
1782
- color: ${Colors.MEDIUM_GRAY.Hex};
1783
- padding: 10px;
1779
+ const CharacterCount = styled.div `
1780
+ font-family: ${FontStyles.DEFAULT};
1781
+ font-size: ${FontSizes.SMALL};
1782
+ color: ${Colors.MEDIUM_GRAY.Hex};
1783
+ padding: 10px;
1784
1784
  `;
1785
- const Loader$1 = styled.div `
1786
- padding: 0px 10px;
1787
- display: flex;
1788
- align-items: center;
1785
+ const Loader$1 = styled.div `
1786
+ padding: 0px 10px;
1787
+ display: flex;
1788
+ align-items: center;
1789
1789
  `;
1790
1790
  const Input$1 = (_a) => {
1791
1791
  var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown,
@@ -1909,110 +1909,110 @@ const Input$1 = (_a) => {
1909
1909
  onSuggestedSelect();
1910
1910
  setShowOptions(false);
1911
1911
  } }, suggestedValue))))) : null));
1912
- };
1913
-
1914
- const Wrapper$7 = styled.a `
1915
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1916
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1917
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1918
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1919
- font-weight: 500;
1920
- font-style: normal;
1921
- text-decoration: 'none';
1922
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1923
- margin: 0px;
1924
- padding: 0px;
1925
- box-sizing: border-box;
1926
- cursor: pointer;
1912
+ };
1913
+
1914
+ const Wrapper$7 = styled.a `
1915
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1916
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1917
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1918
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1919
+ font-weight: 500;
1920
+ font-style: normal;
1921
+ text-decoration: 'none';
1922
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1923
+ margin: 0px;
1924
+ padding: 0px;
1925
+ box-sizing: border-box;
1926
+ cursor: pointer;
1927
1927
  `;
1928
1928
  Wrapper$7.defaultProps = { theme: EditableTheme };
1929
1929
  const Link = (_a) => {
1930
1930
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1931
1931
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
1932
- };
1933
-
1934
- const dash = keyframes `
1935
- 0% {
1936
- stroke-dasharray: 1, 160;
1937
- stroke-dashoffset: 0;
1938
- }
1939
- 50% {
1940
- stroke-dasharray: 80, 160;
1941
- stroke-dashoffset: -32;
1942
- }
1943
- 100% {
1944
- stroke-dasharray: 80, 160;
1945
- stroke-dashoffset: -124;
1946
- }
1947
- `;
1948
- const Spinner = styled.svg `
1949
- z-index: 2;
1950
- position: absolute;
1951
- top: 50%;
1952
- left: 50%;
1953
- transform: translate(-50%, -50%);
1954
- margin: 0 auto;
1955
- width: 40px;
1956
- height: 40px;
1957
- `;
1958
- const Path = styled.path `
1959
- stroke: #0193d7;
1960
- stroke-linecap: round;
1961
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1962
- animation: ${dash} 1.1s ease-in-out infinite;
1932
+ };
1933
+
1934
+ const dash = keyframes `
1935
+ 0% {
1936
+ stroke-dasharray: 1, 160;
1937
+ stroke-dashoffset: 0;
1938
+ }
1939
+ 50% {
1940
+ stroke-dasharray: 80, 160;
1941
+ stroke-dashoffset: -32;
1942
+ }
1943
+ 100% {
1944
+ stroke-dasharray: 80, 160;
1945
+ stroke-dashoffset: -124;
1946
+ }
1947
+ `;
1948
+ const Spinner = styled.svg `
1949
+ z-index: 2;
1950
+ position: absolute;
1951
+ top: 50%;
1952
+ left: 50%;
1953
+ transform: translate(-50%, -50%);
1954
+ margin: 0 auto;
1955
+ width: 40px;
1956
+ height: 40px;
1957
+ `;
1958
+ const Path = styled.path `
1959
+ stroke: #0193d7;
1960
+ stroke-linecap: round;
1961
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1962
+ animation: ${dash} 1.1s ease-in-out infinite;
1963
1963
  `;
1964
1964
  const Loader = () => {
1965
1965
  return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
1966
1966
  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' })));
1967
- };
1968
-
1969
- const Steps = styled.div `
1970
- padding: 20px;
1971
- border-bottom: 1px solid #e7e6e6;
1972
- background: #f5f5f5;
1973
- display: flex;
1974
- gap: 30px;
1975
- align-items: center;
1976
- `;
1977
- const Step = styled.div `
1978
- display: flex;
1979
- align-items: center;
1980
- gap: 8px;
1981
- `;
1982
- const StyledIcon$2 = styled(Icon) `
1983
- > path {
1984
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
1985
- }
1967
+ };
1968
+
1969
+ const Steps = styled.div `
1970
+ padding: 20px;
1971
+ border-bottom: 1px solid #e7e6e6;
1972
+ background: #f5f5f5;
1973
+ display: flex;
1974
+ gap: 30px;
1975
+ align-items: center;
1976
+ `;
1977
+ const Step = styled.div `
1978
+ display: flex;
1979
+ align-items: center;
1980
+ gap: 8px;
1981
+ `;
1982
+ const StyledIcon$2 = styled(Icon) `
1983
+ > path {
1984
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
1985
+ }
1986
1986
  `;
1987
1987
  StyledIcon$2.defaultProps = { theme: EditableTheme };
1988
- const StepIndicator = styled.div `
1989
- width: 30px;
1990
- height: 30px;
1991
- border-radius: 15px;
1992
- background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
1993
- color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
1994
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1995
- font-size: 14px;
1996
- font-weight: 500;
1997
- line-height: 1;
1998
- display: flex;
1999
- align-items: center;
2000
- justify-content: center;
2001
- flex-shrink: 0;
1988
+ const StepIndicator = styled.div `
1989
+ width: 30px;
1990
+ height: 30px;
1991
+ border-radius: 15px;
1992
+ background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
1993
+ color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
1994
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1995
+ font-size: 14px;
1996
+ font-weight: 500;
1997
+ line-height: 1;
1998
+ display: flex;
1999
+ align-items: center;
2000
+ justify-content: center;
2001
+ flex-shrink: 0;
2002
2002
  `;
2003
2003
  StepIndicator.defaultProps = { theme: EditableTheme };
2004
- const StepLabel = styled.div `
2005
- color: #000;
2006
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
2007
- font-size: 14px;
2008
- font-weight: 500;
2009
- line-height: 1;
2010
- `;
2011
- const StepLine = styled.div `
2012
- height: 2px;
2013
- flex-grow: 1;
2014
- background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
2015
- transition: background-color 0.5s ease-in-out;
2004
+ const StepLabel = styled.div `
2005
+ color: #000;
2006
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
2007
+ font-size: 14px;
2008
+ font-weight: 500;
2009
+ line-height: 1;
2010
+ `;
2011
+ const StepLine = styled.div `
2012
+ height: 2px;
2013
+ flex-grow: 1;
2014
+ background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
2015
+ transition: background-color 0.5s ease-in-out;
2016
2016
  `;
2017
2017
  const ProgressBar = ({ steps, showStepLine = false }) => {
2018
2018
  return (React.createElement(Steps, null, steps.map((step, i) => {
@@ -2022,78 +2022,78 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
2022
2022
  step.complete ? (React.createElement(StyledIcon$2, { path: mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
2023
2023
  React.createElement(StepLabel, null, step.label))));
2024
2024
  })));
2025
- };
2026
-
2027
- const Wrapper$6 = styled.div `
2028
- position: fixed;
2029
- top: 0;
2030
- right: 0;
2031
- bottom: 0;
2032
- left: 0;
2033
- z-index: 9999;
2034
- background: rgba(0, 0, 0, 0.8);
2035
- display: flex;
2036
- align-items: center;
2037
- justify-content: center;
2038
- `;
2039
- const Container$1 = styled.dialog `
2040
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2041
- max-width: calc(100vw - 80px);
2042
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2043
- max-height: calc(100vh - 80px);
2044
- border-radius: 8px;
2045
- overflow: hidden;
2046
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2047
- outline: none;
2048
- border: none;
2049
- position: relative;
2050
- padding: 0px;
2051
- box-sizing: border-box;
2052
- display: flex;
2053
- flex-direction: column;
2054
- `;
2055
- const Header$1 = styled.div `
2056
- flex-shrink: 0;
2057
- padding: 20px;
2058
- border-bottom: 1px solid #e7e6e6;
2059
- display: flex;
2060
- align-items: center;
2061
- background: #ffffff;
2062
- box-sizing: border-box;
2063
- `;
2064
- const Close = styled.div `
2065
- margin-left: auto;
2066
- display: flex;
2067
- align-items: center;
2068
- padding-left: 20px;
2069
- cursor: pointer;
2070
- `;
2071
- const CloseMsg = styled.span `
2072
- font-size: ${FontSizes.SMALL};
2073
- font-weight: 400;
2074
- font-family: ${FontStyles.DEFAULT};
2075
- line-height: 1em;
2076
- color: ${Colors.MEDIUM_GRAY.Hex};
2077
- `;
2078
- const ContentWrapper = styled.div `
2079
- overflow-x: hidden;
2080
- overflow-y: auto;
2081
- background: #ffffff;
2082
- flex: 1;
2083
- box-sizing: border-box;
2084
- `;
2085
- const ButtonBar = styled.div `
2086
- flex-shrink: 0;
2087
- background: #ffffff;
2088
- padding: 20px;
2089
- border-top: 1px solid #e7e6e6;
2090
- display: flex;
2091
- align-items: center;
2092
- justify-self: flex-end;
2093
- box-sizing: border-box;
2094
- `;
2095
- const ButtonContainer = styled.div `
2096
- margin: 0 10px;
2025
+ };
2026
+
2027
+ const Wrapper$6 = styled.div `
2028
+ position: fixed;
2029
+ top: 0;
2030
+ right: 0;
2031
+ bottom: 0;
2032
+ left: 0;
2033
+ z-index: 9999;
2034
+ background: rgba(0, 0, 0, 0.8);
2035
+ display: flex;
2036
+ align-items: center;
2037
+ justify-content: center;
2038
+ `;
2039
+ const Container$1 = styled.dialog `
2040
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2041
+ max-width: calc(100vw - 80px);
2042
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2043
+ max-height: calc(100vh - 80px);
2044
+ border-radius: 8px;
2045
+ overflow: hidden;
2046
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2047
+ outline: none;
2048
+ border: none;
2049
+ position: relative;
2050
+ padding: 0px;
2051
+ box-sizing: border-box;
2052
+ display: flex;
2053
+ flex-direction: column;
2054
+ `;
2055
+ const Header$1 = styled.div `
2056
+ flex-shrink: 0;
2057
+ padding: 20px;
2058
+ border-bottom: 1px solid #e7e6e6;
2059
+ display: flex;
2060
+ align-items: center;
2061
+ background: #ffffff;
2062
+ box-sizing: border-box;
2063
+ `;
2064
+ const Close = styled.div `
2065
+ margin-left: auto;
2066
+ display: flex;
2067
+ align-items: center;
2068
+ padding-left: 20px;
2069
+ cursor: pointer;
2070
+ `;
2071
+ const CloseMsg = styled.span `
2072
+ font-size: ${FontSizes.SMALL};
2073
+ font-weight: 400;
2074
+ font-family: ${FontStyles.DEFAULT};
2075
+ line-height: 1em;
2076
+ color: ${Colors.MEDIUM_GRAY.Hex};
2077
+ `;
2078
+ const ContentWrapper = styled.div `
2079
+ overflow-x: hidden;
2080
+ overflow-y: auto;
2081
+ background: #ffffff;
2082
+ flex: 1;
2083
+ box-sizing: border-box;
2084
+ `;
2085
+ const ButtonBar = styled.div `
2086
+ flex-shrink: 0;
2087
+ background: #ffffff;
2088
+ padding: 20px;
2089
+ border-top: 1px solid #e7e6e6;
2090
+ display: flex;
2091
+ align-items: center;
2092
+ justify-self: flex-end;
2093
+ box-sizing: border-box;
2094
+ `;
2095
+ const ButtonContainer = styled.div `
2096
+ margin: 0 10px;
2097
2097
  `;
2098
2098
  const Modal = (_a) => {
2099
2099
  var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton, quarternaryButton } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton", "quarternaryButton"]);
@@ -2135,21 +2135,21 @@ const Modal = (_a) => {
2135
2135
  secondaryButton ? (React.createElement(ButtonContainer, null,
2136
2136
  React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' })))) : null,
2137
2137
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2138
- };
2139
-
2140
- const Wrapper$5 = styled.div `
2141
- position: relative;
2142
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2143
- `;
2144
- const Trigger = styled.div `
2145
- box-sizing: border-box;
2146
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2147
- height: 40px;
2148
- padding: 0 10px;
2149
- position: relative;
2150
- cursor: pointer;
2151
- border-width: 1px;
2152
- border-style: solid;
2138
+ };
2139
+
2140
+ const Wrapper$5 = styled.div `
2141
+ position: relative;
2142
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2143
+ `;
2144
+ const Trigger = styled.div `
2145
+ box-sizing: border-box;
2146
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2147
+ height: 40px;
2148
+ padding: 0 10px;
2149
+ position: relative;
2150
+ cursor: pointer;
2151
+ border-width: 1px;
2152
+ border-style: solid;
2153
2153
  border-color: ${props => {
2154
2154
  if (props.$invalid) {
2155
2155
  return Colors.RED.Hex;
@@ -2160,67 +2160,67 @@ const Trigger = styled.div `
2160
2160
  else {
2161
2161
  return '#cccccc';
2162
2162
  }
2163
- }};
2164
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2165
- background-image: none;
2166
- display: flex;
2167
- width: 100%;
2168
- align-items: center;
2169
- justify-content: space-between;
2170
- z-index: 1;
2163
+ }};
2164
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2165
+ background-image: none;
2166
+ display: flex;
2167
+ width: 100%;
2168
+ align-items: center;
2169
+ justify-content: space-between;
2170
+ z-index: 1;
2171
2171
  `;
2172
2172
  Trigger.defaultProps = { theme: EditableTheme };
2173
- const Value = styled.div `
2174
- color: ${Colors.BLACK.Hex};
2175
- font-family: ${FontStyles.DEFAULT};
2176
- font-size: ${FontSizes.DEFAULT};
2177
- font-weight: 400;
2178
- line-height: 2.9em;
2179
- overflow: hidden;
2180
- text-overflow: ellipsis;
2181
- white-space: nowrap;
2182
- width: 100%;
2183
- `;
2184
- const Options = styled.div `
2185
- background: #fff;
2186
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2187
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2188
- border-radius: 0px 0px 4px 4px;
2189
- border-style: solid;
2190
- border-top: none;
2191
- border-width: 1px;
2192
- left: 0;
2193
- position: relative;
2194
- right: 0;
2195
- z-index: 10;
2196
- max-height: 220px;
2197
- overflow: auto;
2173
+ const Value = styled.div `
2174
+ color: ${Colors.BLACK.Hex};
2175
+ font-family: ${FontStyles.DEFAULT};
2176
+ font-size: ${FontSizes.DEFAULT};
2177
+ font-weight: 400;
2178
+ line-height: 2.9em;
2179
+ overflow: hidden;
2180
+ text-overflow: ellipsis;
2181
+ white-space: nowrap;
2182
+ width: 100%;
2183
+ `;
2184
+ const Options = styled.div `
2185
+ background: #fff;
2186
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2187
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2188
+ border-radius: 0px 0px 4px 4px;
2189
+ border-style: solid;
2190
+ border-top: none;
2191
+ border-width: 1px;
2192
+ left: 0;
2193
+ position: relative;
2194
+ right: 0;
2195
+ z-index: 10;
2196
+ max-height: 220px;
2197
+ overflow: auto;
2198
2198
  `;
2199
2199
  Options.defaultProps = { theme: EditableTheme };
2200
- const Scrim = styled.div `
2201
- bottom: 0;
2202
- left: 0;
2203
- position: fixed;
2204
- right: 0;
2205
- top: 0;
2206
- z-index: 9;
2207
- `;
2208
- const SearchInput = styled.input `
2209
- position: absolute;
2210
- left: 2px;
2211
- top: 2px;
2212
- z-index: 999;
2213
- width: 90%;
2214
- height: 30px;
2215
- border: none;
2216
- outline: none;
2217
- color: ${Colors.BLACK.Hex};
2218
- font-family: ${FontStyles.DEFAULT};
2219
- font-size: ${FontSizes.DEFAULT};
2220
- font-weight: 400;
2221
- line-height: 2.9em;
2222
- overflow: hidden;
2223
- white-space: nowrap;
2200
+ const Scrim = styled.div `
2201
+ bottom: 0;
2202
+ left: 0;
2203
+ position: fixed;
2204
+ right: 0;
2205
+ top: 0;
2206
+ z-index: 9;
2207
+ `;
2208
+ const SearchInput = styled.input `
2209
+ position: absolute;
2210
+ left: 2px;
2211
+ top: 2px;
2212
+ z-index: 999;
2213
+ width: 90%;
2214
+ height: 30px;
2215
+ border: none;
2216
+ outline: none;
2217
+ color: ${Colors.BLACK.Hex};
2218
+ font-family: ${FontStyles.DEFAULT};
2219
+ font-size: ${FontSizes.DEFAULT};
2220
+ font-weight: 400;
2221
+ line-height: 2.9em;
2222
+ overflow: hidden;
2223
+ white-space: nowrap;
2224
2224
  `;
2225
2225
  const MultiSelect = (_a) => {
2226
2226
  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"]);
@@ -2239,37 +2239,37 @@ const MultiSelect = (_a) => {
2239
2239
  showOptions ? (React.createElement(Options, null,
2240
2240
  React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2241
2241
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
2242
- };
2243
-
2244
- const Wrapper$4 = styled.div `
2245
- display: flex;
2246
- padding: 16px 30px;
2247
- align-items: center;
2248
- gap: 20px;
2249
- align-self: stretch;
2250
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2251
- `;
2252
- const Title = styled.div `
2253
- display: flex;
2254
- align-items: center;
2255
- gap: 20px;
2256
- `;
2257
- const Info = styled.div `
2258
- display: flex;
2259
- flex-direction: column;
2260
- align-items: flex-start;
2261
- gap: 4px;
2262
- flex: 1 0 0;
2263
- `;
2264
- const Breadcrumbs = styled.div `
2265
- display: flex;
2266
- align-items: center;
2267
- gap: 4px;
2268
- `;
2269
- const Actions = styled.div `
2270
- display: flex;
2271
- align-items: center;
2272
- gap: 8px;
2242
+ };
2243
+
2244
+ const Wrapper$4 = styled.div `
2245
+ display: flex;
2246
+ padding: 16px 30px;
2247
+ align-items: center;
2248
+ gap: 20px;
2249
+ align-self: stretch;
2250
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2251
+ `;
2252
+ const Title = styled.div `
2253
+ display: flex;
2254
+ align-items: center;
2255
+ gap: 20px;
2256
+ `;
2257
+ const Info = styled.div `
2258
+ display: flex;
2259
+ flex-direction: column;
2260
+ align-items: flex-start;
2261
+ gap: 4px;
2262
+ flex: 1 0 0;
2263
+ `;
2264
+ const Breadcrumbs = styled.div `
2265
+ display: flex;
2266
+ align-items: center;
2267
+ gap: 4px;
2268
+ `;
2269
+ const Actions = styled.div `
2270
+ display: flex;
2271
+ align-items: center;
2272
+ gap: 8px;
2273
2273
  `;
2274
2274
  const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2275
2275
  const { format = 'primary', menuItems = [], label = '', enableHover = true, enableClick = false, show = false, } = buttonMenu || {};
@@ -2289,13 +2289,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2289
2289
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
2290
2290
  }),
2291
2291
  menuItems.length ? (React.createElement(ButtonMenu, { enableClick: enableClick, enableHover: enableHover, format: format, label: label, menuItems: menuItems, show: show, small: true })) : null)) : null));
2292
- };
2293
-
2294
- const Wrapper$3 = styled.nav `
2295
- box-sizing: border-box;
2296
- display: flex;
2297
- align-items: center;
2298
- column-gap: 10px;
2292
+ };
2293
+
2294
+ const Wrapper$3 = styled.nav `
2295
+ box-sizing: border-box;
2296
+ display: flex;
2297
+ align-items: center;
2298
+ column-gap: 10px;
2299
2299
  `;
2300
2300
  const Pagination = (_a) => {
2301
2301
  var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
@@ -2324,82 +2324,82 @@ const Pagination = (_a) => {
2324
2324
  value: `${p}`,
2325
2325
  })), value: `${currentPage}` }),
2326
2326
  React.createElement(Button, { disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true })));
2327
- };
2328
-
2329
- const Wrapper$2 = styled.label `
2330
- border-radius: 4px;
2331
- padding: 4px 0px 4px 6px;
2332
- margin-left: -6px;
2333
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2334
- display: flex;
2335
- align-items: center;
2336
- font-size: ${FontSizes.DEFAULT};
2337
- line-height: 1.6em;
2338
- box-sizing: border-box;
2339
- position: relative;
2340
-
2341
- &:focus-within {
2342
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2343
- }
2327
+ };
2328
+
2329
+ const Wrapper$2 = styled.label `
2330
+ border-radius: 4px;
2331
+ padding: 4px 0px 4px 6px;
2332
+ margin-left: -6px;
2333
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2334
+ display: flex;
2335
+ align-items: center;
2336
+ font-size: ${FontSizes.DEFAULT};
2337
+ line-height: 1.6em;
2338
+ box-sizing: border-box;
2339
+ position: relative;
2340
+
2341
+ &:focus-within {
2342
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2343
+ }
2344
2344
  `;
2345
2345
  Wrapper$2.defaultProps = { theme: EditableTheme };
2346
- const Input = styled.input `
2347
- font-size: 20px;
2348
- margin: 0px;
2349
- line-height: 1.6em;
2350
- box-sizing: border-box;
2351
- position: absolute;
2352
- opacity: 0;
2353
- cursor: pointer;
2354
- height: 0;
2355
- width: 0;
2356
- &:checked + span {
2357
- border-color: ${Colors.PRIMARY.Hex};
2358
- }
2359
- &:checked + span:after {
2360
- background-color: ${Colors.PRIMARY.Hex};
2361
- display: block;
2362
- }
2363
- &:disabled + span {
2364
- background-color: #d3d3d3;
2365
- border-color: #d3d3d3;
2366
- }
2367
- &:disabled + span:after {
2368
- background-color: #fff;
2369
- }
2370
- &:checked:disabled + span:after {
2371
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2372
- }
2373
- `;
2374
- const Check = styled.span `
2375
- height: 17px;
2376
- width: 17px;
2377
- border-radius: 50%;
2378
- background-color: #fff;
2379
- border-width: 2px;
2380
- border-style: solid;
2381
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2382
- box-sizing: border-box;
2383
- position: relative;
2384
- &:after {
2385
- content: '';
2386
- position: absolute;
2387
- top: 2px;
2388
- left: 2px;
2389
- width: 9px;
2390
- height: 9px;
2391
- border-radius: 50%;
2392
- box-sizing: border-box;
2393
- display: none;
2394
- }
2395
- `;
2396
- const Label = styled.span `
2397
- font-family: ${FontStyles.DEFAULT};
2398
- font-size: ${FontSizes.DEFAULT};
2399
- font-weight: 400;
2400
- color: ${Colors.BLACK.Hex};
2401
- line-height: 1.6em;
2402
- margin-left: 6px;
2346
+ const Input = styled.input `
2347
+ font-size: 20px;
2348
+ margin: 0px;
2349
+ line-height: 1.6em;
2350
+ box-sizing: border-box;
2351
+ position: absolute;
2352
+ opacity: 0;
2353
+ cursor: pointer;
2354
+ height: 0;
2355
+ width: 0;
2356
+ &:checked + span {
2357
+ border-color: ${Colors.PRIMARY.Hex};
2358
+ }
2359
+ &:checked + span:after {
2360
+ background-color: ${Colors.PRIMARY.Hex};
2361
+ display: block;
2362
+ }
2363
+ &:disabled + span {
2364
+ background-color: #d3d3d3;
2365
+ border-color: #d3d3d3;
2366
+ }
2367
+ &:disabled + span:after {
2368
+ background-color: #fff;
2369
+ }
2370
+ &:checked:disabled + span:after {
2371
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2372
+ }
2373
+ `;
2374
+ const Check = styled.span `
2375
+ height: 17px;
2376
+ width: 17px;
2377
+ border-radius: 50%;
2378
+ background-color: #fff;
2379
+ border-width: 2px;
2380
+ border-style: solid;
2381
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2382
+ box-sizing: border-box;
2383
+ position: relative;
2384
+ &:after {
2385
+ content: '';
2386
+ position: absolute;
2387
+ top: 2px;
2388
+ left: 2px;
2389
+ width: 9px;
2390
+ height: 9px;
2391
+ border-radius: 50%;
2392
+ box-sizing: border-box;
2393
+ display: none;
2394
+ }
2395
+ `;
2396
+ const Label = styled.span `
2397
+ font-family: ${FontStyles.DEFAULT};
2398
+ font-size: ${FontSizes.DEFAULT};
2399
+ font-weight: 400;
2400
+ color: ${Colors.BLACK.Hex};
2401
+ line-height: 1.6em;
2402
+ margin-left: 6px;
2403
2403
  `;
2404
2404
  const Radio = (_a) => {
2405
2405
  var { children, disabled, checked, onChange, value, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip"]);
@@ -2409,77 +2409,77 @@ const Radio = (_a) => {
2409
2409
  React.createElement(Label, null,
2410
2410
  children,
2411
2411
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2412
- };
2413
-
2412
+ };
2413
+
2414
2414
  const RadioList = (_a) => {
2415
2415
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2416
2416
  return (React.createElement(React.Fragment, null, options.map((option) => {
2417
2417
  const label = option.label || option.value;
2418
2418
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2419
2419
  })));
2420
- };
2421
-
2422
- const StyledTable = styled.table `
2423
- width: 100%;
2424
- margin-top: 1px;
2425
- table-layout: ${props => props.$tableLayout || 'auto'};
2426
- border-collapse: collapse;
2427
- text-indent: 0px;
2428
- border-spacing: 0px;
2429
- border-color: none;
2430
- box-sizing: border-box;
2431
- `;
2432
- const Header = styled.th `
2433
- padding: 12px !important;
2434
- text-align: left;
2435
- font-weight: 500;
2436
- border-bottom: 1px solid #e5e5e5;
2437
- border-top: 1px solid #e5e5e5;
2438
- text-transform: uppercase;
2439
- font-size: 12px;
2440
- font-family: ${FontStyles.DEFAULT};
2441
- letter-spacing: 1px;
2442
- white-space: nowrap;
2443
- line-height: 1;
2444
- position: relative;
2445
- box-sizing: border-box;
2446
- width: ${props => props.$width || 'auto'};
2447
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2448
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2420
+ };
2421
+
2422
+ const StyledTable = styled.table `
2423
+ width: 100%;
2424
+ margin-top: 1px;
2425
+ table-layout: ${props => props.$tableLayout || 'auto'};
2426
+ border-collapse: collapse;
2427
+ text-indent: 0px;
2428
+ border-spacing: 0px;
2429
+ border-color: none;
2430
+ box-sizing: border-box;
2431
+ `;
2432
+ const Header = styled.th `
2433
+ padding: 12px !important;
2434
+ text-align: left;
2435
+ font-weight: 500;
2436
+ border-bottom: 1px solid #e5e5e5;
2437
+ border-top: 1px solid #e5e5e5;
2438
+ text-transform: uppercase;
2439
+ font-size: 12px;
2440
+ font-family: ${FontStyles.DEFAULT};
2441
+ letter-spacing: 1px;
2442
+ white-space: nowrap;
2443
+ line-height: 1;
2444
+ position: relative;
2445
+ box-sizing: border-box;
2446
+ width: ${props => props.$width || 'auto'};
2447
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2448
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2449
2449
  `;
2450
2450
  Header.defaultProps = { theme: EditableTheme };
2451
- const Row = styled.tr `
2452
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2453
- transition: all 0.2s;
2454
- background-color: ${props => props.$bgColor};
2455
- box-sizing: border-box;
2456
- &:hover {
2457
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2458
- }
2451
+ const Row = styled.tr `
2452
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2453
+ transition: all 0.2s;
2454
+ background-color: ${props => props.$bgColor};
2455
+ box-sizing: border-box;
2456
+ &:hover {
2457
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2458
+ }
2459
2459
  `;
2460
2460
  Row.defaultProps = { theme: EditableTheme };
2461
- const Column = styled.td `
2462
- padding: 16px 12px !important;
2463
- font-size: ${FontSizes.DEFAULT} !important;
2464
- font-weight: 400 !important;
2465
- font-family: ${FontStyles.DEFAULT};
2466
- border: none !important;
2467
- word-break: break-word;
2468
- line-height: 1.4em;
2469
- box-sizing: border-box;
2470
- text-align: ${props => props.$align || 'left'};
2471
- width: ${props => props.$width || 'auto'};
2472
- `;
2473
- const IconWrapper = styled.span `
2474
- position: absolute;
2475
- top: 50%;
2476
- transform: translateY(-50%);
2477
- margin-left: 2px;
2478
- `;
2479
- const StyledIcon$1 = styled(Icon) `
2480
- > path {
2481
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2482
- }
2461
+ const Column = styled.td `
2462
+ padding: 16px 12px !important;
2463
+ font-size: ${FontSizes.DEFAULT} !important;
2464
+ font-weight: 400 !important;
2465
+ font-family: ${FontStyles.DEFAULT};
2466
+ border: none !important;
2467
+ word-break: break-word;
2468
+ line-height: 1.4em;
2469
+ box-sizing: border-box;
2470
+ text-align: ${props => props.$align || 'left'};
2471
+ width: ${props => props.$width || 'auto'};
2472
+ `;
2473
+ const IconWrapper = styled.span `
2474
+ position: absolute;
2475
+ top: 50%;
2476
+ transform: translateY(-50%);
2477
+ margin-left: 2px;
2478
+ `;
2479
+ const StyledIcon$1 = styled(Icon) `
2480
+ > path {
2481
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2482
+ }
2483
2483
  `;
2484
2484
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2485
2485
  const Table = (_a) => {
@@ -2497,55 +2497,55 @@ const Table = (_a) => {
2497
2497
  return (React.createElement(Column, { "$align": columns[i].align, "$width": columns[i].width, key: i }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2498
2498
  })));
2499
2499
  }))) : null));
2500
- };
2501
-
2502
- const Wrapper$1 = styled.div `
2503
- display: flex;
2504
- box-sizing: border-box;
2505
- align-items: flex-end;
2506
- border-top: 1px solid #e5e5e5;
2507
- border-bottom: 1px solid #e5e5e5;
2508
- flex-shrink: 0;
2509
- align-self: stretch;
2510
- padding: 0;
2511
- margin: 0;
2512
- `;
2513
- const Tab = styled.div `
2514
- display: flex;
2515
- align-items: center;
2516
- gap: 6px;
2517
- font-size: ${FontSizes.DEFAULT};
2518
- font-family: ${FontStyles.DEFAULT};
2519
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2520
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2521
- line-height: 1em;
2522
- padding: 16px 30px 12px;
2523
- margin: 0 0 -1px 0;
2524
- border-bottom-width: 4px;
2525
- border-bottom-style: solid;
2526
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2527
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2528
- box-sizing: border-box;
2529
- &:hover {
2530
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2531
- font-weight: 500;
2532
- }
2500
+ };
2501
+
2502
+ const Wrapper$1 = styled.div `
2503
+ display: flex;
2504
+ box-sizing: border-box;
2505
+ align-items: flex-end;
2506
+ border-top: 1px solid #e5e5e5;
2507
+ border-bottom: 1px solid #e5e5e5;
2508
+ flex-shrink: 0;
2509
+ align-self: stretch;
2510
+ padding: 0;
2511
+ margin: 0;
2512
+ `;
2513
+ const Tab = styled.div `
2514
+ display: flex;
2515
+ align-items: center;
2516
+ gap: 6px;
2517
+ font-size: ${FontSizes.DEFAULT};
2518
+ font-family: ${FontStyles.DEFAULT};
2519
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2520
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2521
+ line-height: 1em;
2522
+ padding: 16px 30px 12px;
2523
+ margin: 0 0 -1px 0;
2524
+ border-bottom-width: 4px;
2525
+ border-bottom-style: solid;
2526
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2527
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2528
+ box-sizing: border-box;
2529
+ &:hover {
2530
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2531
+ font-weight: 500;
2532
+ }
2533
2533
  `;
2534
2534
  Tab.defaultProps = { theme: EditableTheme };
2535
- const Badge = styled.div `
2536
- display: flex;
2537
- width: 18px;
2538
- height: 18px;
2539
- justify-content: center;
2540
- align-items: center;
2541
- border-radius: 9px;
2542
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2543
- color: #fff;
2544
- font-family: ${FontStyles.DEFAULT};
2545
- font-size: 12px;
2546
- font-weight: 500;
2547
- line-height: 1;
2548
- letter-spacing: 1px;
2535
+ const Badge = styled.div `
2536
+ display: flex;
2537
+ width: 18px;
2538
+ height: 18px;
2539
+ justify-content: center;
2540
+ align-items: center;
2541
+ border-radius: 9px;
2542
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2543
+ color: #fff;
2544
+ font-family: ${FontStyles.DEFAULT};
2545
+ font-size: 12px;
2546
+ font-weight: 500;
2547
+ line-height: 1;
2548
+ letter-spacing: 1px;
2549
2549
  `;
2550
2550
  Badge.defaultProps = { theme: EditableTheme };
2551
2551
  const Tabs = (_a) => {
@@ -2557,29 +2557,29 @@ const Tabs = (_a) => {
2557
2557
  label));
2558
2558
  })));
2559
2559
  };
2560
- Tabs.defaultProps = {};
2561
-
2562
- const Track = styled.div `
2563
- height: 24px;
2564
- border-radius: 12px;
2565
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2566
- display: flex;
2567
- align-items: center;
2568
- cursor: pointer;
2569
- width: 40px;
2570
- padding: 2px;
2571
- box-sizing: border-box;
2572
- `;
2573
- const Handle = styled.div `
2574
- width: 20px;
2575
- height: 20px;
2576
- border-radius: 10px;
2577
- background: #ffffff;
2578
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2579
- display: flex;
2580
- align-items: center;
2581
- justify-content: center;
2582
- box-sizing: border-box;
2560
+ Tabs.defaultProps = {};
2561
+
2562
+ const Track = styled.div `
2563
+ height: 24px;
2564
+ border-radius: 12px;
2565
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2566
+ display: flex;
2567
+ align-items: center;
2568
+ cursor: pointer;
2569
+ width: 40px;
2570
+ padding: 2px;
2571
+ box-sizing: border-box;
2572
+ `;
2573
+ const Handle = styled.div `
2574
+ width: 20px;
2575
+ height: 20px;
2576
+ border-radius: 10px;
2577
+ background: #ffffff;
2578
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2579
+ display: flex;
2580
+ align-items: center;
2581
+ justify-content: center;
2582
+ box-sizing: border-box;
2583
2583
  `;
2584
2584
  const Toggle = (_a) => {
2585
2585
  var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
@@ -2588,32 +2588,32 @@ const Toggle = (_a) => {
2588
2588
  React.createElement(Handle, { "$on": on },
2589
2589
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? mdiCheck : mdiClose, size: '16px' }))));
2590
2590
  };
2591
- Toggle.defaultProps = {};
2592
-
2593
- const Container = styled.div `
2594
- width: 100%;
2595
- padding: 40px auto;
2596
- gap: 20px;
2597
- display: flex;
2598
- flex-direction: column;
2599
- justify-items: center;
2600
- align-items: center;
2601
- `;
2602
- const Wrapper = styled.div `
2603
- gap: 10px;
2604
- display: flex;
2605
- flex-direction: column;
2606
- justify-items: center;
2607
- align-items: center;
2608
- `;
2609
- const StyledIcon = styled.div `
2610
- display: flex;
2611
- align-items: center;
2612
- justify-content: center;
2613
- width: 80px;
2614
- height: 80px;
2615
- border-radius: 40px;
2616
- background: #f5f5f5;
2591
+ Toggle.defaultProps = {};
2592
+
2593
+ const Container = styled.div `
2594
+ width: 100%;
2595
+ padding: 40px auto;
2596
+ gap: 20px;
2597
+ display: flex;
2598
+ flex-direction: column;
2599
+ justify-items: center;
2600
+ align-items: center;
2601
+ `;
2602
+ const Wrapper = styled.div `
2603
+ gap: 10px;
2604
+ display: flex;
2605
+ flex-direction: column;
2606
+ justify-items: center;
2607
+ align-items: center;
2608
+ `;
2609
+ const StyledIcon = styled.div `
2610
+ display: flex;
2611
+ align-items: center;
2612
+ justify-content: center;
2613
+ width: 80px;
2614
+ height: 80px;
2615
+ border-radius: 40px;
2616
+ background: #f5f5f5;
2617
2617
  `;
2618
2618
  const ZeroState = (_a) => {
2619
2619
  var { icon, title, description, action } = _a, accessibleProps = __rest(_a, ["icon", "title", "description", "action"]);
@@ -2624,7 +2624,7 @@ const ZeroState = (_a) => {
2624
2624
  React.createElement(Heading, { children: title, type: 'tertiary' }),
2625
2625
  description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
2626
2626
  action && (React.createElement(Button, { children: action.children, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2627
- };
2628
-
2629
- 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 };
2630
- //# sourceMappingURL=index.js.map
2627
+ };
2628
+
2629
+ 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 };
2630
+ //# sourceMappingURL=index.js.map