@hexure/ui 1.13.5 → 1.13.6

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