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