@hexure/ui 1.13.21 → 1.13.22

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,48 +679,48 @@ 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
- color: ${({ disabled }) => (disabled ? Colors.LIGHT_GRAY.Hex : 'inherit')};
723
- pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};
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
724
  `;
725
725
  Title$1.defaultProps = {
726
726
  disabled: false,
@@ -733,19 +733,19 @@ const MoreMenu = (_a) => {
733
733
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
734
734
  React.createElement(Title$1, { disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
735
735
  })));
736
- };
737
-
738
- const MenuWrapper = styled.div `
739
- position: relative; // Ensure this is relative
740
- display: inline-block;
741
- `;
742
- const StyledMoreMenu = styled(MoreMenu) `
743
- position: absolute; // Changed from fixed to absolute
744
- top: ${props => props.$top};
745
- left: ${props => props.$left};
746
- width: ${props => props.$menuWidth};
747
- max-height: ${props => props.maxHeight};
748
- z-index: 10;
736
+ };
737
+
738
+ const MenuWrapper = styled.div `
739
+ position: relative; // Ensure this is relative
740
+ display: inline-block;
741
+ `;
742
+ const StyledMoreMenu = styled(MoreMenu) `
743
+ position: absolute; // Changed from fixed to absolute
744
+ top: ${props => props.$top};
745
+ left: ${props => props.$left};
746
+ width: ${props => props.$menuWidth};
747
+ max-height: ${props => props.maxHeight};
748
+ z-index: 10;
749
749
  `;
750
750
  const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'bottomLeft', format = 'primary', menuWidth = '200px', enableHover = true, enableClick = false, show = false, }) => {
751
751
  const [showMenu, toggleMenu] = useState(false);
@@ -819,19 +819,19 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
819
819
  return (React.createElement(MenuWrapper, { onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
820
820
  React.createElement(Button, { disabled: disabled, format: format, icon: mdiDotsHorizontal, small: small }, label),
821
821
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, maxHeight: maxHeight, menuItems: menuItems }))));
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;
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;
835
835
  `;
836
836
  StyledIcon$4.defaultProps = { theme: EditableTheme };
837
837
  const positions = {
@@ -869,85 +869,85 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
869
869
  return (React.createElement(Wrapper$c, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
870
870
  trigger || React.createElement(StyledIcon$4, { path: mdiInformationOutline }),
871
871
  show_content ? (React.createElement(Content$2, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
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
- }
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
+ }
889
889
  `;
890
890
  Wrapper$b.defaultProps = { theme: EditableTheme };
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;
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;
951
951
  `;
952
952
  const Checkbox = (_a) => {
953
953
  var { children, color, disabled, checked, onChange, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip"]);
@@ -957,16 +957,16 @@ const Checkbox = (_a) => {
957
957
  children ? (React.createElement(Label$3, { color: color },
958
958
  children,
959
959
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
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
+ };
961
+
962
+ const SelectAll = styled.div `
963
+ padding: 8px 12px;
964
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
965
+ box-sizing: border-box;
966
966
  `;
967
- const Options$1 = styled.div `
968
- padding: 12px;
969
- box-sizing: border-box;
967
+ const Options$1 = styled.div `
968
+ padding: 12px;
969
+ box-sizing: border-box;
970
970
  `;
971
971
  const Checklist = (_a) => {
972
972
  var { disabled, onChange, options, selected = [], showSelectAll } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
@@ -1003,70 +1003,70 @@ const Checklist = (_a) => {
1003
1003
  const checked = selected.includes(option.value);
1004
1004
  return (React.createElement(Checkbox, Object.assign({ key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1005
1005
  }))));
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
- }
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
+ }
1028
1028
  `;
1029
1029
  Wrapper$a.defaultProps = { theme: EditableTheme };
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;
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;
1070
1070
  `;
1071
1071
  const Select = (_a) => {
1072
1072
  var { options, optionGroups, placeholder = '--Select-One--', readOnly, invalid, searchable = false, value: propValue, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style"]);
@@ -1100,15 +1100,15 @@ const Select = (_a) => {
1100
1100
  filteredOptions &&
1101
1101
  filteredOptions.map((option, i) => (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
1102
1102
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' })));
1103
- };
1104
-
1105
- const DatePickerWrapper = styled.div `
1106
- display: flex;
1107
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1103
+ };
1104
+
1105
+ const DatePickerWrapper = styled.div `
1106
+ display: flex;
1107
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1108
1108
  `;
1109
- const Middle = styled.div `
1110
- margin: 0px -1px;
1111
- flex-grow: 1;
1109
+ const Middle = styled.div `
1110
+ margin: 0px -1px;
1111
+ flex-grow: 1;
1112
1112
  `;
1113
1113
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date,
1114
1114
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -1189,66 +1189,66 @@ onChange = () => { }, style, }) => {
1189
1189
  React.createElement(Middle, null,
1190
1190
  React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1191
1191
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, placeholder: 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1192
- };
1193
-
1194
- const Scrim$1 = styled.div `
1195
- position: ${({ $position }) => $position};
1196
- top: 0;
1197
- right: 0;
1198
- bottom: 0;
1199
- left: 0;
1200
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1201
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1202
- `;
1203
- const Container$2 = styled.div `
1204
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1205
- min-width: 400px;
1206
- width: ${({ $width }) => $width || '400px'};
1207
- overflow: hidden;
1208
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1209
- outline: none;
1210
- border: none;
1211
- position: ${({ $position }) => $position};
1212
- top: 0;
1213
- right: 0;
1214
- bottom: 0;
1215
- padding: 0px;
1216
- display: flex;
1217
- flex-direction: column;
1218
- box-sizing: border-box;
1219
- background: #fff;
1220
- `;
1221
- const Header$2 = styled.div `
1222
- padding: 30px 20px;
1223
- display: flex;
1224
- align-items: flex-start;
1225
- box-sizing: border-box;
1226
- flex-shrink: 0;
1227
- background: #fff;
1228
- `;
1229
- const Close$1 = styled.div `
1230
- margin-left: auto;
1231
- display: flex;
1232
- align-items: center;
1233
- padding-left: 20px;
1234
- cursor: pointer;
1235
- `;
1236
- const ContentWrapper$1 = styled.div `
1237
- overflow-x: hidden;
1238
- overflow-y: auto;
1239
- box-sizing: border-box;
1240
- flex: 1;
1241
- background: #fff;
1242
- `;
1243
- const ButtonBar$1 = styled.div `
1244
- padding: 20px;
1245
- display: flex;
1246
- align-items: center;
1247
- justify-content: flex-end;
1248
- box-sizing: border-box;
1249
- gap: 10px;
1250
- flex-shrink: 0;
1251
- background: #fff;
1192
+ };
1193
+
1194
+ const Scrim$1 = styled.div `
1195
+ position: ${({ $position }) => $position};
1196
+ top: 0;
1197
+ right: 0;
1198
+ bottom: 0;
1199
+ left: 0;
1200
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1201
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1202
+ `;
1203
+ const Container$2 = styled.div `
1204
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1205
+ min-width: 400px;
1206
+ width: ${({ $width }) => $width || '400px'};
1207
+ overflow: hidden;
1208
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1209
+ outline: none;
1210
+ border: none;
1211
+ position: ${({ $position }) => $position};
1212
+ top: 0;
1213
+ right: 0;
1214
+ bottom: 0;
1215
+ padding: 0px;
1216
+ display: flex;
1217
+ flex-direction: column;
1218
+ box-sizing: border-box;
1219
+ background: #fff;
1220
+ `;
1221
+ const Header$2 = styled.div `
1222
+ padding: 30px 20px;
1223
+ display: flex;
1224
+ align-items: flex-start;
1225
+ box-sizing: border-box;
1226
+ flex-shrink: 0;
1227
+ background: #fff;
1228
+ `;
1229
+ const Close$1 = styled.div `
1230
+ margin-left: auto;
1231
+ display: flex;
1232
+ align-items: center;
1233
+ padding-left: 20px;
1234
+ cursor: pointer;
1235
+ `;
1236
+ const ContentWrapper$1 = styled.div `
1237
+ overflow-x: hidden;
1238
+ overflow-y: auto;
1239
+ box-sizing: border-box;
1240
+ flex: 1;
1241
+ background: #fff;
1242
+ `;
1243
+ const ButtonBar$1 = styled.div `
1244
+ padding: 20px;
1245
+ display: flex;
1246
+ align-items: center;
1247
+ justify-content: flex-end;
1248
+ box-sizing: border-box;
1249
+ gap: 10px;
1250
+ flex-shrink: 0;
1251
+ background: #fff;
1252
1252
  `;
1253
1253
  const Drawer = (_a) => {
1254
1254
  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"]);
@@ -1276,55 +1276,55 @@ const Drawer = (_a) => {
1276
1276
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
1277
1277
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null),
1278
1278
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1279
- };
1280
-
1279
+ };
1280
+
1281
1281
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1282
- const LabelRow = styled.div `
1283
- display: flex;
1284
- align-items: center;
1285
- justify-content: space-between;
1286
- margin: 0 0 4px 0;
1287
- box-sizing: border-box;
1288
- `;
1289
- const Label$2 = styled.label `
1290
- font-size: ${FontSizes.DEFAULT};
1291
- font-weight: 500;
1292
- line-height: 1.3em;
1293
- font-family: ${FontStyles.DEFAULT};
1294
- color: ${Colors.BLACK.Hex};
1295
- display: flex;
1296
- align-items: center;
1297
- `;
1298
- const Required = styled.span `
1299
- color: ${Colors.RED.Hex};
1300
- margin-left: 4px;
1301
- `;
1302
- const Action = styled.span `
1303
- font-size: ${FontSizes.DEFAULT};
1304
- font-weight: 500;
1305
- line-height: 1em;
1306
- font-family: ${FontStyles.DEFAULT};
1307
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1308
- cursor: pointer;
1282
+ const LabelRow = styled.div `
1283
+ display: flex;
1284
+ align-items: center;
1285
+ justify-content: space-between;
1286
+ margin: 0 0 4px 0;
1287
+ box-sizing: border-box;
1288
+ `;
1289
+ const Label$2 = styled.label `
1290
+ font-size: ${FontSizes.DEFAULT};
1291
+ font-weight: 500;
1292
+ line-height: 1.3em;
1293
+ font-family: ${FontStyles.DEFAULT};
1294
+ color: ${Colors.BLACK.Hex};
1295
+ display: flex;
1296
+ align-items: center;
1297
+ `;
1298
+ const Required = styled.span `
1299
+ color: ${Colors.RED.Hex};
1300
+ margin-left: 4px;
1301
+ `;
1302
+ const Action = styled.span `
1303
+ font-size: ${FontSizes.DEFAULT};
1304
+ font-weight: 500;
1305
+ line-height: 1em;
1306
+ font-family: ${FontStyles.DEFAULT};
1307
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1308
+ cursor: pointer;
1309
1309
  `;
1310
1310
  Action.defaultProps = { theme: EditableTheme };
1311
- const Description = styled.div `
1312
- font-size: ${FontSizes.SMALL};
1313
- font-weight: 400;
1314
- line-height: 1.3em;
1315
- font-family: ${FontStyles.DEFAULT};
1316
- color: ${Colors.BLACK.Hex};
1317
- margin: 0 0 8px 0;
1318
- box-sizing: border-box;
1319
- `;
1320
- const Validation = styled.div `
1321
- font-size: ${FontSizes.SMALL};
1322
- font-weight: 400;
1323
- line-height: 1.3em;
1324
- font-family: ${FontStyles.DEFAULT};
1325
- color: ${Colors.RED.Hex};
1326
- margin: 4px 0 0 0;
1327
- box-sizing: border-box;
1311
+ const Description = styled.div `
1312
+ font-size: ${FontSizes.SMALL};
1313
+ font-weight: 400;
1314
+ line-height: 1.3em;
1315
+ font-family: ${FontStyles.DEFAULT};
1316
+ color: ${Colors.BLACK.Hex};
1317
+ margin: 0 0 8px 0;
1318
+ box-sizing: border-box;
1319
+ `;
1320
+ const Validation = styled.div `
1321
+ font-size: ${FontSizes.SMALL};
1322
+ font-weight: 400;
1323
+ line-height: 1.3em;
1324
+ font-family: ${FontStyles.DEFAULT};
1325
+ color: ${Colors.RED.Hex};
1326
+ margin: 4px 0 0 0;
1327
+ box-sizing: border-box;
1328
1328
  `;
1329
1329
  const Field = (_a) => {
1330
1330
  var { action, children, validationText, label, description, required, htmlFor, style = {}, tooltip } = _a, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style", "tooltip"]);
@@ -1338,43 +1338,43 @@ const Field = (_a) => {
1338
1338
  description ? React.createElement(Description, null, description) : null,
1339
1339
  children,
1340
1340
  validationText ? React.createElement(Validation, null, validationText) : null));
1341
- };
1342
-
1343
- const Wrapper$8 = styled.fieldset `
1344
- margin-inline-start: 0px;
1345
- margin-inline-end: 0px;
1346
- padding-block-start: 0px;
1347
- padding-inline-start: 0px;
1348
- padding-inline-end: 0px;
1349
- padding-block-end: 0px;
1350
- min-inline-size: min-content;
1351
- border-width: 0px;
1352
- border-style: none;
1353
- border-color: transparent;
1354
- border-image: none;
1355
- `;
1356
- const Label$1 = styled.legend `
1357
- padding-inline-start: 0px;
1358
- padding-inline-end: 0px;
1359
-
1360
- color: ${Colors.BLACK.Hex};
1361
- font-family: ${FontStyles.DEFAULT};
1362
- font-size: ${FontSizes.DEFAULT};
1363
- font-weight: 500;
1364
- line-height: 22px;
1365
- margin-bottom: 6px;
1366
- `;
1367
- const Content$1 = styled.div `
1368
- padding: 20px;
1369
- border-radius: 8px;
1370
- background: #fcfcfc;
1341
+ };
1342
+
1343
+ const Wrapper$8 = styled.fieldset `
1344
+ margin-inline-start: 0px;
1345
+ margin-inline-end: 0px;
1346
+ padding-block-start: 0px;
1347
+ padding-inline-start: 0px;
1348
+ padding-inline-end: 0px;
1349
+ padding-block-end: 0px;
1350
+ min-inline-size: min-content;
1351
+ border-width: 0px;
1352
+ border-style: none;
1353
+ border-color: transparent;
1354
+ border-image: none;
1355
+ `;
1356
+ const Label$1 = styled.legend `
1357
+ padding-inline-start: 0px;
1358
+ padding-inline-end: 0px;
1359
+
1360
+ color: ${Colors.BLACK.Hex};
1361
+ font-family: ${FontStyles.DEFAULT};
1362
+ font-size: ${FontSizes.DEFAULT};
1363
+ font-weight: 500;
1364
+ line-height: 22px;
1365
+ margin-bottom: 6px;
1366
+ `;
1367
+ const Content$1 = styled.div `
1368
+ padding: 20px;
1369
+ border-radius: 8px;
1370
+ background: #fcfcfc;
1371
1371
  `;
1372
1372
  const FieldGroup = ({ children, label }) => {
1373
1373
  return (React.createElement(Wrapper$8, null,
1374
1374
  React.createElement(Label$1, null, label),
1375
1375
  React.createElement(Content$1, null, children)));
1376
- };
1377
-
1376
+ };
1377
+
1378
1378
  const Dropzone = styled.div `
1379
1379
  border-radius: 8px;
1380
1380
  border-width: 1px;
@@ -1562,8 +1562,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
1562
1562
  React.createElement(Copy, { align: 'center', color: 'GRAY' }, message),
1563
1563
  tooltipInfo && (React.createElement("span", null,
1564
1564
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1565
- };
1566
-
1565
+ };
1566
+
1567
1567
  const getAgesFromDob = (dob) => {
1568
1568
  let calculated_current_age = null;
1569
1569
  let calculated_nearest_age = null;
@@ -1636,145 +1636,145 @@ const formatAsSsn = (number) => {
1636
1636
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1637
1637
  }
1638
1638
  return formatted_value;
1639
- };
1640
-
1641
- const StyledInput = styled.input `
1642
- border: none !important;
1643
- background: none !important;
1644
- font-size: ${FontSizes.DEFAULT};
1645
- font-weight: 400;
1646
- font-family: ${FontStyles.DEFAULT};
1647
- line-height: 1.28em;
1648
- color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : Colors.BLACK.Hex)};
1649
- position: relative;
1650
- height: ${props => props.$height || 'auto'};
1651
- padding: 10px;
1652
- opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1653
- box-shadow: none;
1654
- outline: none;
1655
- margin: 0px;
1656
- text-indent: 0px;
1657
- --webkit-appearance: none;
1658
- box-sizing: border-box;
1659
- display: block;
1660
- width: 100%;
1661
- `;
1662
- const StyledTextArea = styled.textarea `
1663
- border: none !important;
1664
- background: none !important;
1665
- overflow-y: scroll !important;
1666
- font-size: 14px;
1667
- font-weight: 400;
1668
- height: ${props => props.$height || 'auto'};
1669
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1670
- line-height: 1.28em;
1671
- color: ${({ $invalid }) => ($invalid ? '#ff0000' : '#000000')};
1672
- position: relative;
1673
- padding: 10px;
1674
- opacity: 1;
1675
- box-shadow: none;
1676
- outline: none;
1677
- margin: 0px;
1678
- text-indent: 0px;
1679
- --webkit-appearance: none;
1680
- overflow-wrap: break-word;
1681
- box-sizing: border-box;
1682
- display: block;
1683
- width: 100%;
1639
+ };
1640
+
1641
+ const StyledInput = styled.input `
1642
+ border: none !important;
1643
+ background: none !important;
1644
+ font-size: ${FontSizes.DEFAULT};
1645
+ font-weight: 400;
1646
+ font-family: ${FontStyles.DEFAULT};
1647
+ line-height: 1.28em;
1648
+ color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : Colors.BLACK.Hex)};
1649
+ position: relative;
1650
+ height: ${props => props.$height || 'auto'};
1651
+ padding: 10px;
1652
+ opacity: ${props => (props.$readOnly ? 0.6 : 1)};
1653
+ box-shadow: none;
1654
+ outline: none;
1655
+ margin: 0px;
1656
+ text-indent: 0px;
1657
+ --webkit-appearance: none;
1658
+ box-sizing: border-box;
1659
+ display: block;
1660
+ width: 100%;
1661
+ `;
1662
+ const StyledTextArea = styled.textarea `
1663
+ border: none !important;
1664
+ background: none !important;
1665
+ overflow-y: scroll !important;
1666
+ font-size: 14px;
1667
+ font-weight: 400;
1668
+ height: ${props => props.$height || 'auto'};
1669
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1670
+ line-height: 1.28em;
1671
+ color: ${({ $invalid }) => ($invalid ? '#ff0000' : '#000000')};
1672
+ position: relative;
1673
+ padding: 10px;
1674
+ opacity: 1;
1675
+ box-shadow: none;
1676
+ outline: none;
1677
+ margin: 0px;
1678
+ text-indent: 0px;
1679
+ --webkit-appearance: none;
1680
+ overflow-wrap: break-word;
1681
+ box-sizing: border-box;
1682
+ display: block;
1683
+ width: 100%;
1684
1684
  ${({ $readOnly }) => $readOnly &&
1685
- `
1686
- background-color: #f0f0f0;
1687
- color: #999999;
1688
- overflow-y: scroll;
1689
- `}
1690
- `;
1691
- const StyledSuffix = styled.div `
1692
- box-sizing: border-box;
1693
- border-radius: 0px 4px 4px 0px;
1694
- display: flex;
1695
- justify-content: center;
1696
- align-items: center;
1697
- padding: 10px;
1698
- height: auto;
1699
- background: #f5f5f5;
1700
- border-width: 0px 0px 0px 1px;
1701
- border-style: solid;
1702
- border-color: #cccccc;
1703
- font-family: ${FontStyles.DEFAULT};
1704
- font-style: normal;
1705
- font-weight: 400;
1706
- font-size: ${FontSizes.DEFAULT};
1707
- color: ${Colors.BLACK.Hex};
1708
- `;
1709
- const StyledWrapper = styled.div `
1710
- display: flex;
1711
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1712
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1713
- position: relative;
1714
- border-width: 1px;
1715
- border-style: solid;
1716
- border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1717
- border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1718
-
1719
- &:focus-within {
1720
- border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1721
- }
1685
+ `
1686
+ background-color: #f0f0f0;
1687
+ color: #999999;
1688
+ overflow-y: scroll;
1689
+ `}
1690
+ `;
1691
+ const StyledSuffix = styled.div `
1692
+ box-sizing: border-box;
1693
+ border-radius: 0px 4px 4px 0px;
1694
+ display: flex;
1695
+ justify-content: center;
1696
+ align-items: center;
1697
+ padding: 10px;
1698
+ height: auto;
1699
+ background: #f5f5f5;
1700
+ border-width: 0px 0px 0px 1px;
1701
+ border-style: solid;
1702
+ border-color: #cccccc;
1703
+ font-family: ${FontStyles.DEFAULT};
1704
+ font-style: normal;
1705
+ font-weight: 400;
1706
+ font-size: ${FontSizes.DEFAULT};
1707
+ color: ${Colors.BLACK.Hex};
1708
+ `;
1709
+ const StyledWrapper = styled.div `
1710
+ display: flex;
1711
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1712
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
1713
+ position: relative;
1714
+ border-width: 1px;
1715
+ border-style: solid;
1716
+ border-color: ${props => (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc')};
1717
+ border-radius: ${props => (props.$suggestions ? '4px 4px 0px 0px' : '4px')};
1718
+
1719
+ &:focus-within {
1720
+ border-color: ${props => (props.$readOnly ? '#cccccc' : props.theme.PRIMARY_COLOR.Hex)};
1721
+ }
1722
1722
  `;
1723
1723
  StyledWrapper.defaultProps = { theme: EditableTheme };
1724
- const SuggestedValues = styled.div `
1725
- background: #fff;
1726
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1727
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1728
- border-radius: 0px 0px 4px 4px;
1729
- border-style: solid;
1730
- border-top: none;
1731
- border-width: 1px;
1732
- left: -1px;
1733
- position: absolute;
1734
- right: -1px;
1735
- top: 39px;
1736
- z-index: 9999;
1737
- max-height: 220px;
1738
- overflow: auto;
1724
+ const SuggestedValues = styled.div `
1725
+ background: #fff;
1726
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
1727
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
1728
+ border-radius: 0px 0px 4px 4px;
1729
+ border-style: solid;
1730
+ border-top: none;
1731
+ border-width: 1px;
1732
+ left: -1px;
1733
+ position: absolute;
1734
+ right: -1px;
1735
+ top: 39px;
1736
+ z-index: 9999;
1737
+ max-height: 220px;
1738
+ overflow: auto;
1739
1739
  `;
1740
1740
  SuggestedValues.defaultProps = { theme: EditableTheme };
1741
- const SuggestedSummary = styled.div `
1742
- color: ${Colors.MEDIUM_GRAY.Hex};
1743
- font-size: 12px;
1744
- font-family: ${FontStyles.DEFAULT};
1745
- font-weight: 500;
1746
- line-height: 18px;
1747
- padding: 10px 12px;
1748
- border-bottom: 1px solid #e5e5e5;
1749
- background: #fff;
1750
- z-index: 1;
1751
- position: sticky;
1752
- top: 0px;
1753
- `;
1754
- const SuggestedValue = styled.div `
1755
- cursor: pointer;
1756
- padding: 8px 12px;
1757
- font-size: ${FontSizes.DEFAULT};
1758
- font-family: ${FontStyles.DEFAULT};
1759
- font-weight: 400;
1760
- line-height: 1.6em;
1761
- color: ${Colors.BLACK.Hex};
1762
-
1763
- &:hover {
1764
- background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1765
- }
1741
+ const SuggestedSummary = styled.div `
1742
+ color: ${Colors.MEDIUM_GRAY.Hex};
1743
+ font-size: 12px;
1744
+ font-family: ${FontStyles.DEFAULT};
1745
+ font-weight: 500;
1746
+ line-height: 18px;
1747
+ padding: 10px 12px;
1748
+ border-bottom: 1px solid #e5e5e5;
1749
+ background: #fff;
1750
+ z-index: 1;
1751
+ position: sticky;
1752
+ top: 0px;
1753
+ `;
1754
+ const SuggestedValue = styled.div `
1755
+ cursor: pointer;
1756
+ padding: 8px 12px;
1757
+ font-size: ${FontSizes.DEFAULT};
1758
+ font-family: ${FontStyles.DEFAULT};
1759
+ font-weight: 400;
1760
+ line-height: 1.6em;
1761
+ color: ${Colors.BLACK.Hex};
1762
+
1763
+ &:hover {
1764
+ background: rgba(${props => props.theme.PRIMARY_COLOR.Rgb}, 0.05);
1765
+ }
1766
1766
  `;
1767
1767
  SuggestedValue.defaultProps = { theme: EditableTheme };
1768
- const CharacterCount = styled.div `
1769
- font-family: ${FontStyles.DEFAULT};
1770
- font-size: ${FontSizes.SMALL};
1771
- color: ${Colors.MEDIUM_GRAY.Hex};
1772
- padding: 10px;
1768
+ const CharacterCount = styled.div `
1769
+ font-family: ${FontStyles.DEFAULT};
1770
+ font-size: ${FontSizes.SMALL};
1771
+ color: ${Colors.MEDIUM_GRAY.Hex};
1772
+ padding: 10px;
1773
1773
  `;
1774
- const Loader$1 = styled.div `
1775
- padding: 0px 10px;
1776
- display: flex;
1777
- align-items: center;
1774
+ const Loader$1 = styled.div `
1775
+ padding: 0px 10px;
1776
+ display: flex;
1777
+ align-items: center;
1778
1778
  `;
1779
1779
  const Input$1 = (_a) => {
1780
1780
  var { format, suffix, height, invalid, loading, max, maxLength, min, onBlur, onChange, onFocus, onKeyDown,
@@ -1783,6 +1783,17 @@ const Input$1 = (_a) => {
1783
1783
  const [show_options, setShowOptions] = useState(false);
1784
1784
  const [internalValue, setInternalValue] = useState(value);
1785
1785
  const [internalSuggestedValues, setInternalSuggestedValues] = useState(suggestedValues || []);
1786
+ useEffect(() => {
1787
+ setInternalValue(value);
1788
+ setInternalSuggestedValues(suggestedValues || []);
1789
+ if (value === null || value === void 0 ? void 0 : value.length) {
1790
+ const newSuggestions = (suggestedValues || []).filter(s => s.toLowerCase().includes(value.toLowerCase()));
1791
+ setInternalSuggestedValues(newSuggestions);
1792
+ }
1793
+ else {
1794
+ setInternalSuggestedValues(suggestedValues || []);
1795
+ }
1796
+ }, [value, suggestedValues]);
1786
1797
  const formatCurrencyDecimal = (value) => {
1787
1798
  const parts = value.toString().split('.');
1788
1799
  const integerPart = parts[0];
@@ -1862,7 +1873,7 @@ const Input$1 = (_a) => {
1862
1873
  onBlur(e);
1863
1874
  setTimeout(() => {
1864
1875
  setShowOptions(false);
1865
- }, 100);
1876
+ }, 200);
1866
1877
  }, onChange: readOnly ? e => e.preventDefault() : handleInputChange, onFocus: readOnly
1867
1878
  ? e => e.preventDefault()
1868
1879
  : e => {
@@ -1887,110 +1898,110 @@ const Input$1 = (_a) => {
1887
1898
  onSuggestedSelect();
1888
1899
  setShowOptions(false);
1889
1900
  } }, suggestedValue))))) : null));
1890
- };
1891
-
1892
- const Wrapper$7 = styled.a `
1893
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1894
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1895
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1896
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1897
- font-weight: 500;
1898
- font-style: normal;
1899
- text-decoration: 'none';
1900
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1901
- margin: 0px;
1902
- padding: 0px;
1903
- box-sizing: border-box;
1904
- cursor: pointer;
1901
+ };
1902
+
1903
+ const Wrapper$7 = styled.a `
1904
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1905
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1906
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1907
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1908
+ font-weight: 500;
1909
+ font-style: normal;
1910
+ text-decoration: 'none';
1911
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1912
+ margin: 0px;
1913
+ padding: 0px;
1914
+ box-sizing: border-box;
1915
+ cursor: pointer;
1905
1916
  `;
1906
1917
  Wrapper$7.defaultProps = { theme: EditableTheme };
1907
1918
  const Link = (_a) => {
1908
1919
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1909
1920
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
1910
- };
1911
-
1912
- const dash = keyframes `
1913
- 0% {
1914
- stroke-dasharray: 1, 160;
1915
- stroke-dashoffset: 0;
1916
- }
1917
- 50% {
1918
- stroke-dasharray: 80, 160;
1919
- stroke-dashoffset: -32;
1920
- }
1921
- 100% {
1922
- stroke-dasharray: 80, 160;
1923
- stroke-dashoffset: -124;
1924
- }
1925
- `;
1926
- const Spinner = styled.svg `
1927
- z-index: 2;
1928
- position: absolute;
1929
- top: 50%;
1930
- left: 50%;
1931
- transform: translate(-50%, -50%);
1932
- margin: 0 auto;
1933
- width: 40px;
1934
- height: 40px;
1935
- `;
1936
- const Path = styled.path `
1937
- stroke: #0193d7;
1938
- stroke-linecap: round;
1939
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1940
- animation: ${dash} 1.1s ease-in-out infinite;
1921
+ };
1922
+
1923
+ const dash = keyframes `
1924
+ 0% {
1925
+ stroke-dasharray: 1, 160;
1926
+ stroke-dashoffset: 0;
1927
+ }
1928
+ 50% {
1929
+ stroke-dasharray: 80, 160;
1930
+ stroke-dashoffset: -32;
1931
+ }
1932
+ 100% {
1933
+ stroke-dasharray: 80, 160;
1934
+ stroke-dashoffset: -124;
1935
+ }
1936
+ `;
1937
+ const Spinner = styled.svg `
1938
+ z-index: 2;
1939
+ position: absolute;
1940
+ top: 50%;
1941
+ left: 50%;
1942
+ transform: translate(-50%, -50%);
1943
+ margin: 0 auto;
1944
+ width: 40px;
1945
+ height: 40px;
1946
+ `;
1947
+ const Path = styled.path `
1948
+ stroke: #0193d7;
1949
+ stroke-linecap: round;
1950
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1951
+ animation: ${dash} 1.1s ease-in-out infinite;
1941
1952
  `;
1942
1953
  const Loader = () => {
1943
1954
  return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
1944
1955
  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' })));
1945
- };
1946
-
1947
- const Steps = styled.div `
1948
- padding: 20px;
1949
- border-bottom: 1px solid #e7e6e6;
1950
- background: #f5f5f5;
1951
- display: flex;
1952
- gap: 30px;
1953
- align-items: center;
1954
- `;
1955
- const Step = styled.div `
1956
- display: flex;
1957
- align-items: center;
1958
- gap: 8px;
1959
- `;
1960
- const StyledIcon$2 = styled(Icon) `
1961
- > path {
1962
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
1963
- }
1956
+ };
1957
+
1958
+ const Steps = styled.div `
1959
+ padding: 20px;
1960
+ border-bottom: 1px solid #e7e6e6;
1961
+ background: #f5f5f5;
1962
+ display: flex;
1963
+ gap: 30px;
1964
+ align-items: center;
1965
+ `;
1966
+ const Step = styled.div `
1967
+ display: flex;
1968
+ align-items: center;
1969
+ gap: 8px;
1970
+ `;
1971
+ const StyledIcon$2 = styled(Icon) `
1972
+ > path {
1973
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
1974
+ }
1964
1975
  `;
1965
1976
  StyledIcon$2.defaultProps = { theme: EditableTheme };
1966
- const StepIndicator = styled.div `
1967
- width: 30px;
1968
- height: 30px;
1969
- border-radius: 15px;
1970
- background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
1971
- color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
1972
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1973
- font-size: 14px;
1974
- font-weight: 500;
1975
- line-height: 1;
1976
- display: flex;
1977
- align-items: center;
1978
- justify-content: center;
1979
- flex-shrink: 0;
1977
+ const StepIndicator = styled.div `
1978
+ width: 30px;
1979
+ height: 30px;
1980
+ border-radius: 15px;
1981
+ background: ${props => (props.$active ? props.theme.PRIMARY_COLOR.Hex : Colors.LIGHT_GRAY.Hex)};
1982
+ color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
1983
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1984
+ font-size: 14px;
1985
+ font-weight: 500;
1986
+ line-height: 1;
1987
+ display: flex;
1988
+ align-items: center;
1989
+ justify-content: center;
1990
+ flex-shrink: 0;
1980
1991
  `;
1981
1992
  StepIndicator.defaultProps = { theme: EditableTheme };
1982
- const StepLabel = styled.div `
1983
- color: #000;
1984
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1985
- font-size: 14px;
1986
- font-weight: 500;
1987
- line-height: 1;
1988
- `;
1989
- const StepLine = styled.div `
1990
- height: 2px;
1991
- flex-grow: 1;
1992
- background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
1993
- transition: background-color 0.5s ease-in-out;
1993
+ const StepLabel = styled.div `
1994
+ color: #000;
1995
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1996
+ font-size: 14px;
1997
+ font-weight: 500;
1998
+ line-height: 1;
1999
+ `;
2000
+ const StepLine = styled.div `
2001
+ height: 2px;
2002
+ flex-grow: 1;
2003
+ background-color: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.MEDIUM_GRAY.Hex)};
2004
+ transition: background-color 0.5s ease-in-out;
1994
2005
  `;
1995
2006
  const ProgressBar = ({ steps, showStepLine = false }) => {
1996
2007
  return (React.createElement(Steps, null, steps.map((step, i) => {
@@ -2000,78 +2011,78 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
2000
2011
  step.complete ? (React.createElement(StyledIcon$2, { path: mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
2001
2012
  React.createElement(StepLabel, null, step.label))));
2002
2013
  })));
2003
- };
2004
-
2005
- const Wrapper$6 = styled.div `
2006
- position: fixed;
2007
- top: 0;
2008
- right: 0;
2009
- bottom: 0;
2010
- left: 0;
2011
- z-index: 9999;
2012
- background: rgba(0, 0, 0, 0.8);
2013
- display: flex;
2014
- align-items: center;
2015
- justify-content: center;
2016
- `;
2017
- const Container$1 = styled.dialog `
2018
- width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2019
- max-width: calc(100vw - 80px);
2020
- height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2021
- max-height: calc(100vh - 80px);
2022
- border-radius: 8px;
2023
- overflow: hidden;
2024
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2025
- outline: none;
2026
- border: none;
2027
- position: relative;
2028
- padding: 0px;
2029
- box-sizing: border-box;
2030
- display: flex;
2031
- flex-direction: column;
2032
- `;
2033
- const Header$1 = styled.div `
2034
- flex-shrink: 0;
2035
- padding: 20px;
2036
- border-bottom: 1px solid #e7e6e6;
2037
- display: flex;
2038
- align-items: center;
2039
- background: #ffffff;
2040
- box-sizing: border-box;
2041
- `;
2042
- const Close = styled.div `
2043
- margin-left: auto;
2044
- display: flex;
2045
- align-items: center;
2046
- padding-left: 20px;
2047
- cursor: pointer;
2048
- `;
2049
- const CloseMsg = styled.span `
2050
- font-size: ${FontSizes.SMALL};
2051
- font-weight: 400;
2052
- font-family: ${FontStyles.DEFAULT};
2053
- line-height: 1em;
2054
- color: ${Colors.MEDIUM_GRAY.Hex};
2055
- `;
2056
- const ContentWrapper = styled.div `
2057
- overflow-x: hidden;
2058
- overflow-y: auto;
2059
- background: #ffffff;
2060
- flex: 1;
2061
- box-sizing: border-box;
2062
- `;
2063
- const ButtonBar = styled.div `
2064
- flex-shrink: 0;
2065
- background: #ffffff;
2066
- padding: 20px;
2067
- border-top: 1px solid #e7e6e6;
2068
- display: flex;
2069
- align-items: center;
2070
- justify-self: flex-end;
2071
- box-sizing: border-box;
2072
- `;
2073
- const ButtonContainer = styled.div `
2074
- margin: 0 10px;
2014
+ };
2015
+
2016
+ const Wrapper$6 = styled.div `
2017
+ position: fixed;
2018
+ top: 0;
2019
+ right: 0;
2020
+ bottom: 0;
2021
+ left: 0;
2022
+ z-index: 9999;
2023
+ background: rgba(0, 0, 0, 0.8);
2024
+ display: flex;
2025
+ align-items: center;
2026
+ justify-content: center;
2027
+ `;
2028
+ const Container$1 = styled.dialog `
2029
+ width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
2030
+ max-width: calc(100vw - 80px);
2031
+ height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
2032
+ max-height: calc(100vh - 80px);
2033
+ border-radius: 8px;
2034
+ overflow: hidden;
2035
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
2036
+ outline: none;
2037
+ border: none;
2038
+ position: relative;
2039
+ padding: 0px;
2040
+ box-sizing: border-box;
2041
+ display: flex;
2042
+ flex-direction: column;
2043
+ `;
2044
+ const Header$1 = styled.div `
2045
+ flex-shrink: 0;
2046
+ padding: 20px;
2047
+ border-bottom: 1px solid #e7e6e6;
2048
+ display: flex;
2049
+ align-items: center;
2050
+ background: #ffffff;
2051
+ box-sizing: border-box;
2052
+ `;
2053
+ const Close = styled.div `
2054
+ margin-left: auto;
2055
+ display: flex;
2056
+ align-items: center;
2057
+ padding-left: 20px;
2058
+ cursor: pointer;
2059
+ `;
2060
+ const CloseMsg = styled.span `
2061
+ font-size: ${FontSizes.SMALL};
2062
+ font-weight: 400;
2063
+ font-family: ${FontStyles.DEFAULT};
2064
+ line-height: 1em;
2065
+ color: ${Colors.MEDIUM_GRAY.Hex};
2066
+ `;
2067
+ const ContentWrapper = styled.div `
2068
+ overflow-x: hidden;
2069
+ overflow-y: auto;
2070
+ background: #ffffff;
2071
+ flex: 1;
2072
+ box-sizing: border-box;
2073
+ `;
2074
+ const ButtonBar = styled.div `
2075
+ flex-shrink: 0;
2076
+ background: #ffffff;
2077
+ padding: 20px;
2078
+ border-top: 1px solid #e7e6e6;
2079
+ display: flex;
2080
+ align-items: center;
2081
+ justify-self: flex-end;
2082
+ box-sizing: border-box;
2083
+ `;
2084
+ const ButtonContainer = styled.div `
2085
+ margin: 0 10px;
2075
2086
  `;
2076
2087
  const Modal = (_a) => {
2077
2088
  var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton, quarternaryButton } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton", "quarternaryButton"]);
@@ -2113,21 +2124,21 @@ const Modal = (_a) => {
2113
2124
  secondaryButton ? (React.createElement(ButtonContainer, null,
2114
2125
  React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' })))) : null,
2115
2126
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2116
- };
2117
-
2118
- const Wrapper$5 = styled.div `
2119
- position: relative;
2120
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2121
- `;
2122
- const Trigger = styled.div `
2123
- box-sizing: border-box;
2124
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2125
- height: 40px;
2126
- padding: 0 10px;
2127
- position: relative;
2128
- cursor: pointer;
2129
- border-width: 1px;
2130
- border-style: solid;
2127
+ };
2128
+
2129
+ const Wrapper$5 = styled.div `
2130
+ position: relative;
2131
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2132
+ `;
2133
+ const Trigger = styled.div `
2134
+ box-sizing: border-box;
2135
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2136
+ height: 40px;
2137
+ padding: 0 10px;
2138
+ position: relative;
2139
+ cursor: pointer;
2140
+ border-width: 1px;
2141
+ border-style: solid;
2131
2142
  border-color: ${props => {
2132
2143
  if (props.$invalid) {
2133
2144
  return Colors.RED.Hex;
@@ -2138,67 +2149,67 @@ const Trigger = styled.div `
2138
2149
  else {
2139
2150
  return '#cccccc';
2140
2151
  }
2141
- }};
2142
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2143
- background-image: none;
2144
- display: flex;
2145
- width: 100%;
2146
- align-items: center;
2147
- justify-content: space-between;
2148
- z-index: 1;
2152
+ }};
2153
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2154
+ background-image: none;
2155
+ display: flex;
2156
+ width: 100%;
2157
+ align-items: center;
2158
+ justify-content: space-between;
2159
+ z-index: 1;
2149
2160
  `;
2150
2161
  Trigger.defaultProps = { theme: EditableTheme };
2151
- const Value = styled.div `
2152
- color: ${Colors.BLACK.Hex};
2153
- font-family: ${FontStyles.DEFAULT};
2154
- font-size: ${FontSizes.DEFAULT};
2155
- font-weight: 400;
2156
- line-height: 2.9em;
2157
- overflow: hidden;
2158
- text-overflow: ellipsis;
2159
- white-space: nowrap;
2160
- width: 100%;
2161
- `;
2162
- const Options = styled.div `
2163
- background: #fff;
2164
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2165
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2166
- border-radius: 0px 0px 4px 4px;
2167
- border-style: solid;
2168
- border-top: none;
2169
- border-width: 1px;
2170
- left: 0;
2171
- position: relative;
2172
- right: 0;
2173
- z-index: 10;
2174
- max-height: 220px;
2175
- overflow: auto;
2162
+ const Value = styled.div `
2163
+ color: ${Colors.BLACK.Hex};
2164
+ font-family: ${FontStyles.DEFAULT};
2165
+ font-size: ${FontSizes.DEFAULT};
2166
+ font-weight: 400;
2167
+ line-height: 2.9em;
2168
+ overflow: hidden;
2169
+ text-overflow: ellipsis;
2170
+ white-space: nowrap;
2171
+ width: 100%;
2172
+ `;
2173
+ const Options = styled.div `
2174
+ background: #fff;
2175
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2176
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2177
+ border-radius: 0px 0px 4px 4px;
2178
+ border-style: solid;
2179
+ border-top: none;
2180
+ border-width: 1px;
2181
+ left: 0;
2182
+ position: relative;
2183
+ right: 0;
2184
+ z-index: 10;
2185
+ max-height: 220px;
2186
+ overflow: auto;
2176
2187
  `;
2177
2188
  Options.defaultProps = { theme: EditableTheme };
2178
- const Scrim = styled.div `
2179
- bottom: 0;
2180
- left: 0;
2181
- position: fixed;
2182
- right: 0;
2183
- top: 0;
2184
- z-index: 9;
2185
- `;
2186
- const SearchInput = styled.input `
2187
- position: absolute;
2188
- left: 2px;
2189
- top: 2px;
2190
- z-index: 999;
2191
- width: 90%;
2192
- height: 30px;
2193
- border: none;
2194
- outline: none;
2195
- color: ${Colors.BLACK.Hex};
2196
- font-family: ${FontStyles.DEFAULT};
2197
- font-size: ${FontSizes.DEFAULT};
2198
- font-weight: 400;
2199
- line-height: 2.9em;
2200
- overflow: hidden;
2201
- white-space: nowrap;
2189
+ const Scrim = styled.div `
2190
+ bottom: 0;
2191
+ left: 0;
2192
+ position: fixed;
2193
+ right: 0;
2194
+ top: 0;
2195
+ z-index: 9;
2196
+ `;
2197
+ const SearchInput = styled.input `
2198
+ position: absolute;
2199
+ left: 2px;
2200
+ top: 2px;
2201
+ z-index: 999;
2202
+ width: 90%;
2203
+ height: 30px;
2204
+ border: none;
2205
+ outline: none;
2206
+ color: ${Colors.BLACK.Hex};
2207
+ font-family: ${FontStyles.DEFAULT};
2208
+ font-size: ${FontSizes.DEFAULT};
2209
+ font-weight: 400;
2210
+ line-height: 2.9em;
2211
+ overflow: hidden;
2212
+ white-space: nowrap;
2202
2213
  `;
2203
2214
  const MultiSelect = (_a) => {
2204
2215
  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"]);
@@ -2217,37 +2228,37 @@ const MultiSelect = (_a) => {
2217
2228
  showOptions ? (React.createElement(Options, null,
2218
2229
  React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2219
2230
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
2220
- };
2221
-
2222
- const Wrapper$4 = styled.div `
2223
- display: flex;
2224
- padding: 16px 30px;
2225
- align-items: center;
2226
- gap: 20px;
2227
- align-self: stretch;
2228
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2229
- `;
2230
- const Title = styled.div `
2231
- display: flex;
2232
- align-items: center;
2233
- gap: 20px;
2234
- `;
2235
- const Info = styled.div `
2236
- display: flex;
2237
- flex-direction: column;
2238
- align-items: flex-start;
2239
- gap: 4px;
2240
- flex: 1 0 0;
2241
- `;
2242
- const Breadcrumbs = styled.div `
2243
- display: flex;
2244
- align-items: center;
2245
- gap: 4px;
2246
- `;
2247
- const Actions = styled.div `
2248
- display: flex;
2249
- align-items: center;
2250
- gap: 8px;
2231
+ };
2232
+
2233
+ const Wrapper$4 = styled.div `
2234
+ display: flex;
2235
+ padding: 16px 30px;
2236
+ align-items: center;
2237
+ gap: 20px;
2238
+ align-self: stretch;
2239
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2240
+ `;
2241
+ const Title = styled.div `
2242
+ display: flex;
2243
+ align-items: center;
2244
+ gap: 20px;
2245
+ `;
2246
+ const Info = styled.div `
2247
+ display: flex;
2248
+ flex-direction: column;
2249
+ align-items: flex-start;
2250
+ gap: 4px;
2251
+ flex: 1 0 0;
2252
+ `;
2253
+ const Breadcrumbs = styled.div `
2254
+ display: flex;
2255
+ align-items: center;
2256
+ gap: 4px;
2257
+ `;
2258
+ const Actions = styled.div `
2259
+ display: flex;
2260
+ align-items: center;
2261
+ gap: 8px;
2251
2262
  `;
2252
2263
  const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2253
2264
  const { format = 'primary', menuItems = [], label = '', enableHover = true, enableClick = false, show = false, } = buttonMenu || {};
@@ -2267,13 +2278,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2267
2278
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
2268
2279
  }),
2269
2280
  menuItems.length ? (React.createElement(ButtonMenu, { enableClick: enableClick, enableHover: enableHover, format: format, label: label, menuItems: menuItems, show: show, small: true })) : null)) : null));
2270
- };
2271
-
2272
- const Wrapper$3 = styled.nav `
2273
- box-sizing: border-box;
2274
- display: flex;
2275
- align-items: center;
2276
- column-gap: 10px;
2281
+ };
2282
+
2283
+ const Wrapper$3 = styled.nav `
2284
+ box-sizing: border-box;
2285
+ display: flex;
2286
+ align-items: center;
2287
+ column-gap: 10px;
2277
2288
  `;
2278
2289
  const Pagination = (_a) => {
2279
2290
  var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
@@ -2302,82 +2313,82 @@ const Pagination = (_a) => {
2302
2313
  value: `${p}`,
2303
2314
  })), value: `${currentPage}` }),
2304
2315
  React.createElement(Button, { disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true })));
2305
- };
2306
-
2307
- const Wrapper$2 = styled.label `
2308
- border-radius: 4px;
2309
- padding: 4px 0px 4px 6px;
2310
- margin-left: -6px;
2311
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2312
- display: flex;
2313
- align-items: center;
2314
- font-size: ${FontSizes.DEFAULT};
2315
- line-height: 1.6em;
2316
- box-sizing: border-box;
2317
- position: relative;
2318
-
2319
- &:focus-within {
2320
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2321
- }
2316
+ };
2317
+
2318
+ const Wrapper$2 = styled.label `
2319
+ border-radius: 4px;
2320
+ padding: 4px 0px 4px 6px;
2321
+ margin-left: -6px;
2322
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2323
+ display: flex;
2324
+ align-items: center;
2325
+ font-size: ${FontSizes.DEFAULT};
2326
+ line-height: 1.6em;
2327
+ box-sizing: border-box;
2328
+ position: relative;
2329
+
2330
+ &:focus-within {
2331
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2332
+ }
2322
2333
  `;
2323
2334
  Wrapper$2.defaultProps = { theme: EditableTheme };
2324
- const Input = styled.input `
2325
- font-size: 20px;
2326
- margin: 0px;
2327
- line-height: 1.6em;
2328
- box-sizing: border-box;
2329
- position: absolute;
2330
- opacity: 0;
2331
- cursor: pointer;
2332
- height: 0;
2333
- width: 0;
2334
- &:checked + span {
2335
- border-color: ${Colors.PRIMARY.Hex};
2336
- }
2337
- &:checked + span:after {
2338
- background-color: ${Colors.PRIMARY.Hex};
2339
- display: block;
2340
- }
2341
- &:disabled + span {
2342
- background-color: #d3d3d3;
2343
- border-color: #d3d3d3;
2344
- }
2345
- &:disabled + span:after {
2346
- background-color: #fff;
2347
- }
2348
- &:checked:disabled + span:after {
2349
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2350
- }
2351
- `;
2352
- const Check = styled.span `
2353
- height: 17px;
2354
- width: 17px;
2355
- border-radius: 50%;
2356
- background-color: #fff;
2357
- border-width: 2px;
2358
- border-style: solid;
2359
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2360
- box-sizing: border-box;
2361
- position: relative;
2362
- &:after {
2363
- content: '';
2364
- position: absolute;
2365
- top: 2px;
2366
- left: 2px;
2367
- width: 9px;
2368
- height: 9px;
2369
- border-radius: 50%;
2370
- box-sizing: border-box;
2371
- display: none;
2372
- }
2373
- `;
2374
- const Label = styled.span `
2375
- font-family: ${FontStyles.DEFAULT};
2376
- font-size: ${FontSizes.DEFAULT};
2377
- font-weight: 400;
2378
- color: ${Colors.BLACK.Hex};
2379
- line-height: 1.6em;
2380
- margin-left: 6px;
2335
+ const Input = styled.input `
2336
+ font-size: 20px;
2337
+ margin: 0px;
2338
+ line-height: 1.6em;
2339
+ box-sizing: border-box;
2340
+ position: absolute;
2341
+ opacity: 0;
2342
+ cursor: pointer;
2343
+ height: 0;
2344
+ width: 0;
2345
+ &:checked + span {
2346
+ border-color: ${Colors.PRIMARY.Hex};
2347
+ }
2348
+ &:checked + span:after {
2349
+ background-color: ${Colors.PRIMARY.Hex};
2350
+ display: block;
2351
+ }
2352
+ &:disabled + span {
2353
+ background-color: #d3d3d3;
2354
+ border-color: #d3d3d3;
2355
+ }
2356
+ &:disabled + span:after {
2357
+ background-color: #fff;
2358
+ }
2359
+ &:checked:disabled + span:after {
2360
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2361
+ }
2362
+ `;
2363
+ const Check = styled.span `
2364
+ height: 17px;
2365
+ width: 17px;
2366
+ border-radius: 50%;
2367
+ background-color: #fff;
2368
+ border-width: 2px;
2369
+ border-style: solid;
2370
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2371
+ box-sizing: border-box;
2372
+ position: relative;
2373
+ &:after {
2374
+ content: '';
2375
+ position: absolute;
2376
+ top: 2px;
2377
+ left: 2px;
2378
+ width: 9px;
2379
+ height: 9px;
2380
+ border-radius: 50%;
2381
+ box-sizing: border-box;
2382
+ display: none;
2383
+ }
2384
+ `;
2385
+ const Label = styled.span `
2386
+ font-family: ${FontStyles.DEFAULT};
2387
+ font-size: ${FontSizes.DEFAULT};
2388
+ font-weight: 400;
2389
+ color: ${Colors.BLACK.Hex};
2390
+ line-height: 1.6em;
2391
+ margin-left: 6px;
2381
2392
  `;
2382
2393
  const Radio = (_a) => {
2383
2394
  var { children, disabled, checked, onChange, value, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip"]);
@@ -2387,77 +2398,77 @@ const Radio = (_a) => {
2387
2398
  React.createElement(Label, null,
2388
2399
  children,
2389
2400
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2390
- };
2391
-
2401
+ };
2402
+
2392
2403
  const RadioList = (_a) => {
2393
2404
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2394
2405
  return (React.createElement(React.Fragment, null, options.map((option) => {
2395
2406
  const label = option.label || option.value;
2396
2407
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2397
2408
  })));
2398
- };
2399
-
2400
- const StyledTable = styled.table `
2401
- width: 100%;
2402
- margin-top: 1px;
2403
- table-layout: ${props => props.$tableLayout || 'auto'};
2404
- border-collapse: collapse;
2405
- text-indent: 0px;
2406
- border-spacing: 0px;
2407
- border-color: none;
2408
- box-sizing: border-box;
2409
- `;
2410
- const Header = styled.th `
2411
- padding: 12px !important;
2412
- text-align: left;
2413
- font-weight: 500;
2414
- border-bottom: 1px solid #e5e5e5;
2415
- border-top: 1px solid #e5e5e5;
2416
- text-transform: uppercase;
2417
- font-size: 12px;
2418
- font-family: ${FontStyles.DEFAULT};
2419
- letter-spacing: 1px;
2420
- white-space: nowrap;
2421
- line-height: 1;
2422
- position: relative;
2423
- box-sizing: border-box;
2424
- width: ${props => props.$width || 'auto'};
2425
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2426
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2409
+ };
2410
+
2411
+ const StyledTable = styled.table `
2412
+ width: 100%;
2413
+ margin-top: 1px;
2414
+ table-layout: ${props => props.$tableLayout || 'auto'};
2415
+ border-collapse: collapse;
2416
+ text-indent: 0px;
2417
+ border-spacing: 0px;
2418
+ border-color: none;
2419
+ box-sizing: border-box;
2420
+ `;
2421
+ const Header = styled.th `
2422
+ padding: 12px !important;
2423
+ text-align: left;
2424
+ font-weight: 500;
2425
+ border-bottom: 1px solid #e5e5e5;
2426
+ border-top: 1px solid #e5e5e5;
2427
+ text-transform: uppercase;
2428
+ font-size: 12px;
2429
+ font-family: ${FontStyles.DEFAULT};
2430
+ letter-spacing: 1px;
2431
+ white-space: nowrap;
2432
+ line-height: 1;
2433
+ position: relative;
2434
+ box-sizing: border-box;
2435
+ width: ${props => props.$width || 'auto'};
2436
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2437
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2427
2438
  `;
2428
2439
  Header.defaultProps = { theme: EditableTheme };
2429
- const Row = styled.tr `
2430
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2431
- transition: all 0.2s;
2432
- background-color: ${props => props.$bgColor};
2433
- box-sizing: border-box;
2434
- &:hover {
2435
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2436
- }
2440
+ const Row = styled.tr `
2441
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2442
+ transition: all 0.2s;
2443
+ background-color: ${props => props.$bgColor};
2444
+ box-sizing: border-box;
2445
+ &:hover {
2446
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2447
+ }
2437
2448
  `;
2438
2449
  Row.defaultProps = { theme: EditableTheme };
2439
- const Column = styled.td `
2440
- padding: 16px 12px !important;
2441
- font-size: ${FontSizes.DEFAULT} !important;
2442
- font-weight: 400 !important;
2443
- font-family: ${FontStyles.DEFAULT};
2444
- border: none !important;
2445
- word-break: break-word;
2446
- line-height: 1.4em;
2447
- box-sizing: border-box;
2448
- text-align: ${props => props.$align || 'left'};
2449
- width: ${props => props.$width || 'auto'};
2450
- `;
2451
- const IconWrapper = styled.span `
2452
- position: absolute;
2453
- top: 50%;
2454
- transform: translateY(-50%);
2455
- margin-left: 2px;
2456
- `;
2457
- const StyledIcon$1 = styled(Icon) `
2458
- > path {
2459
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2460
- }
2450
+ const Column = styled.td `
2451
+ padding: 16px 12px !important;
2452
+ font-size: ${FontSizes.DEFAULT} !important;
2453
+ font-weight: 400 !important;
2454
+ font-family: ${FontStyles.DEFAULT};
2455
+ border: none !important;
2456
+ word-break: break-word;
2457
+ line-height: 1.4em;
2458
+ box-sizing: border-box;
2459
+ text-align: ${props => props.$align || 'left'};
2460
+ width: ${props => props.$width || 'auto'};
2461
+ `;
2462
+ const IconWrapper = styled.span `
2463
+ position: absolute;
2464
+ top: 50%;
2465
+ transform: translateY(-50%);
2466
+ margin-left: 2px;
2467
+ `;
2468
+ const StyledIcon$1 = styled(Icon) `
2469
+ > path {
2470
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2471
+ }
2461
2472
  `;
2462
2473
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2463
2474
  const Table = (_a) => {
@@ -2475,55 +2486,55 @@ const Table = (_a) => {
2475
2486
  return (React.createElement(Column, { "$align": columns[i].align, "$width": columns[i].width, key: i }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2476
2487
  })));
2477
2488
  }))) : null));
2478
- };
2479
-
2480
- const Wrapper$1 = styled.div `
2481
- display: flex;
2482
- box-sizing: border-box;
2483
- align-items: flex-end;
2484
- border-top: 1px solid #e5e5e5;
2485
- border-bottom: 1px solid #e5e5e5;
2486
- flex-shrink: 0;
2487
- align-self: stretch;
2488
- padding: 0;
2489
- margin: 0;
2490
- `;
2491
- const Tab = styled.div `
2492
- display: flex;
2493
- align-items: center;
2494
- gap: 6px;
2495
- font-size: ${FontSizes.DEFAULT};
2496
- font-family: ${FontStyles.DEFAULT};
2497
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2498
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2499
- line-height: 1em;
2500
- padding: 16px 30px 12px;
2501
- margin: 0 0 -1px 0;
2502
- border-bottom-width: 4px;
2503
- border-bottom-style: solid;
2504
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2505
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2506
- box-sizing: border-box;
2507
- &:hover {
2508
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2509
- font-weight: 500;
2510
- }
2489
+ };
2490
+
2491
+ const Wrapper$1 = styled.div `
2492
+ display: flex;
2493
+ box-sizing: border-box;
2494
+ align-items: flex-end;
2495
+ border-top: 1px solid #e5e5e5;
2496
+ border-bottom: 1px solid #e5e5e5;
2497
+ flex-shrink: 0;
2498
+ align-self: stretch;
2499
+ padding: 0;
2500
+ margin: 0;
2501
+ `;
2502
+ const Tab = styled.div `
2503
+ display: flex;
2504
+ align-items: center;
2505
+ gap: 6px;
2506
+ font-size: ${FontSizes.DEFAULT};
2507
+ font-family: ${FontStyles.DEFAULT};
2508
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2509
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2510
+ line-height: 1em;
2511
+ padding: 16px 30px 12px;
2512
+ margin: 0 0 -1px 0;
2513
+ border-bottom-width: 4px;
2514
+ border-bottom-style: solid;
2515
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2516
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2517
+ box-sizing: border-box;
2518
+ &:hover {
2519
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2520
+ font-weight: 500;
2521
+ }
2511
2522
  `;
2512
2523
  Tab.defaultProps = { theme: EditableTheme };
2513
- const Badge = styled.div `
2514
- display: flex;
2515
- width: 18px;
2516
- height: 18px;
2517
- justify-content: center;
2518
- align-items: center;
2519
- border-radius: 9px;
2520
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2521
- color: #fff;
2522
- font-family: ${FontStyles.DEFAULT};
2523
- font-size: 12px;
2524
- font-weight: 500;
2525
- line-height: 1;
2526
- letter-spacing: 1px;
2524
+ const Badge = styled.div `
2525
+ display: flex;
2526
+ width: 18px;
2527
+ height: 18px;
2528
+ justify-content: center;
2529
+ align-items: center;
2530
+ border-radius: 9px;
2531
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2532
+ color: #fff;
2533
+ font-family: ${FontStyles.DEFAULT};
2534
+ font-size: 12px;
2535
+ font-weight: 500;
2536
+ line-height: 1;
2537
+ letter-spacing: 1px;
2527
2538
  `;
2528
2539
  Badge.defaultProps = { theme: EditableTheme };
2529
2540
  const Tabs = (_a) => {
@@ -2535,29 +2546,29 @@ const Tabs = (_a) => {
2535
2546
  label));
2536
2547
  })));
2537
2548
  };
2538
- Tabs.defaultProps = {};
2539
-
2540
- const Track = styled.div `
2541
- height: 24px;
2542
- border-radius: 12px;
2543
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2544
- display: flex;
2545
- align-items: center;
2546
- cursor: pointer;
2547
- width: 40px;
2548
- padding: 2px;
2549
- box-sizing: border-box;
2550
- `;
2551
- const Handle = styled.div `
2552
- width: 20px;
2553
- height: 20px;
2554
- border-radius: 10px;
2555
- background: #ffffff;
2556
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2557
- display: flex;
2558
- align-items: center;
2559
- justify-content: center;
2560
- box-sizing: border-box;
2549
+ Tabs.defaultProps = {};
2550
+
2551
+ const Track = styled.div `
2552
+ height: 24px;
2553
+ border-radius: 12px;
2554
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2555
+ display: flex;
2556
+ align-items: center;
2557
+ cursor: pointer;
2558
+ width: 40px;
2559
+ padding: 2px;
2560
+ box-sizing: border-box;
2561
+ `;
2562
+ const Handle = styled.div `
2563
+ width: 20px;
2564
+ height: 20px;
2565
+ border-radius: 10px;
2566
+ background: #ffffff;
2567
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2568
+ display: flex;
2569
+ align-items: center;
2570
+ justify-content: center;
2571
+ box-sizing: border-box;
2561
2572
  `;
2562
2573
  const Toggle = (_a) => {
2563
2574
  var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
@@ -2566,32 +2577,32 @@ const Toggle = (_a) => {
2566
2577
  React.createElement(Handle, { "$on": on },
2567
2578
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? mdiCheck : mdiClose, size: '16px' }))));
2568
2579
  };
2569
- Toggle.defaultProps = {};
2570
-
2571
- const Container = styled.div `
2572
- width: 100%;
2573
- padding: 40px auto;
2574
- gap: 20px;
2575
- display: flex;
2576
- flex-direction: column;
2577
- justify-items: center;
2578
- align-items: center;
2579
- `;
2580
- const Wrapper = styled.div `
2581
- gap: 10px;
2582
- display: flex;
2583
- flex-direction: column;
2584
- justify-items: center;
2585
- align-items: center;
2586
- `;
2587
- const StyledIcon = styled.div `
2588
- display: flex;
2589
- align-items: center;
2590
- justify-content: center;
2591
- width: 80px;
2592
- height: 80px;
2593
- border-radius: 40px;
2594
- background: #f5f5f5;
2580
+ Toggle.defaultProps = {};
2581
+
2582
+ const Container = styled.div `
2583
+ width: 100%;
2584
+ padding: 40px auto;
2585
+ gap: 20px;
2586
+ display: flex;
2587
+ flex-direction: column;
2588
+ justify-items: center;
2589
+ align-items: center;
2590
+ `;
2591
+ const Wrapper = styled.div `
2592
+ gap: 10px;
2593
+ display: flex;
2594
+ flex-direction: column;
2595
+ justify-items: center;
2596
+ align-items: center;
2597
+ `;
2598
+ const StyledIcon = styled.div `
2599
+ display: flex;
2600
+ align-items: center;
2601
+ justify-content: center;
2602
+ width: 80px;
2603
+ height: 80px;
2604
+ border-radius: 40px;
2605
+ background: #f5f5f5;
2595
2606
  `;
2596
2607
  const ZeroState = (_a) => {
2597
2608
  var { icon, title, description, action } = _a, accessibleProps = __rest(_a, ["icon", "title", "description", "action"]);
@@ -2602,7 +2613,7 @@ const ZeroState = (_a) => {
2602
2613
  React.createElement(Heading, { children: title, type: 'tertiary' }),
2603
2614
  description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
2604
2615
  action && (React.createElement(Button, { children: action.children, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2605
- };
2606
-
2607
- 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 };
2608
- //# sourceMappingURL=index.js.map
2616
+ };
2617
+
2618
+ 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 };
2619
+ //# sourceMappingURL=index.js.map