@hexure/ui 1.13.16 → 1.13.17

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,8 +681,8 @@ 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
-
684
+ };
685
+
686
686
  const Wrapper$d = styled.div `
687
687
  background: #fff;
688
688
  border-radius: 8px;
@@ -735,8 +735,8 @@ 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
-
738
+ };
739
+
740
740
  const MenuWrapper = styled.div `
741
741
  position: relative; // Ensure this is relative
742
742
  display: inline-block;
@@ -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,8 +1005,8 @@ 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
-
1008
+ };
1009
+
1010
1010
  const Wrapper$a = styled.div `
1011
1011
  border-radius: 4px;
1012
1012
  height: 40px;
@@ -1074,6 +1074,10 @@ 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"]);
1075
1075
  const [searchTerm, setSearchTerm] = React.useState('');
1076
1076
  const [value, setValue] = React.useState(propValue || '');
1077
+ // Update the value when the prop changes
1078
+ React.useEffect(() => {
1079
+ setValue(propValue || '');
1080
+ }, [propValue]);
1077
1081
  const handleSearch = (event) => {
1078
1082
  setSearchTerm(event.target.value);
1079
1083
  };
@@ -1098,15 +1102,15 @@ const Select = (_a) => {
1098
1102
  filteredOptions &&
1099
1103
  filteredOptions.map((option, i) => (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
1100
1104
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: js.mdiChevronDown, size: '22px' })));
1101
- };
1102
-
1103
- const DatePickerWrapper = styled.div `
1104
- display: flex;
1105
- 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'};
1106
1110
  `;
1107
- const Middle = styled.div `
1108
- margin: 0px -1px;
1109
- flex-grow: 1;
1111
+ const Middle = styled.div `
1112
+ margin: 0px -1px;
1113
+ flex-grow: 1;
1110
1114
  `;
1111
1115
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date, onChange, style, }) => {
1112
1116
  const [selectedDay, setSelectedDay] = React.useState('');
@@ -1188,66 +1192,66 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
1188
1192
  React.createElement(Middle, null,
1189
1193
  React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1190
1194
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, placeholder: 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1191
- };
1192
-
1193
- const Scrim$1 = styled.div `
1194
- position: ${({ $position }) => $position};
1195
- top: 0;
1196
- right: 0;
1197
- bottom: 0;
1198
- left: 0;
1199
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1200
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1201
- `;
1202
- const Container$2 = styled.div `
1203
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1204
- min-width: 400px;
1205
- width: ${({ $width }) => $width || '400px'};
1206
- overflow: hidden;
1207
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1208
- outline: none;
1209
- border: none;
1210
- position: ${({ $position }) => $position};
1211
- top: 0;
1212
- right: 0;
1213
- bottom: 0;
1214
- padding: 0px;
1215
- display: flex;
1216
- flex-direction: column;
1217
- box-sizing: border-box;
1218
- background: #fff;
1219
- `;
1220
- const Header$2 = styled.div `
1221
- padding: 30px 20px;
1222
- display: flex;
1223
- align-items: flex-start;
1224
- box-sizing: border-box;
1225
- flex-shrink: 0;
1226
- background: #fff;
1227
- `;
1228
- const Close$1 = styled.div `
1229
- margin-left: auto;
1230
- display: flex;
1231
- align-items: center;
1232
- padding-left: 20px;
1233
- cursor: pointer;
1234
- `;
1235
- const ContentWrapper$1 = styled.div `
1236
- overflow-x: hidden;
1237
- overflow-y: auto;
1238
- box-sizing: border-box;
1239
- flex: 1;
1240
- background: #fff;
1241
- `;
1242
- const ButtonBar$1 = styled.div `
1243
- padding: 20px;
1244
- display: flex;
1245
- align-items: center;
1246
- justify-content: flex-end;
1247
- box-sizing: border-box;
1248
- gap: 10px;
1249
- flex-shrink: 0;
1250
- background: #fff;
1195
+ };
1196
+
1197
+ const Scrim$1 = styled.div `
1198
+ position: ${({ $position }) => $position};
1199
+ top: 0;
1200
+ right: 0;
1201
+ bottom: 0;
1202
+ left: 0;
1203
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1204
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1205
+ `;
1206
+ const Container$2 = styled.div `
1207
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1208
+ min-width: 400px;
1209
+ width: ${({ $width }) => $width || '400px'};
1210
+ overflow: hidden;
1211
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1212
+ outline: none;
1213
+ border: none;
1214
+ position: ${({ $position }) => $position};
1215
+ top: 0;
1216
+ right: 0;
1217
+ bottom: 0;
1218
+ padding: 0px;
1219
+ display: flex;
1220
+ flex-direction: column;
1221
+ box-sizing: border-box;
1222
+ background: #fff;
1223
+ `;
1224
+ const Header$2 = styled.div `
1225
+ padding: 30px 20px;
1226
+ display: flex;
1227
+ align-items: flex-start;
1228
+ box-sizing: border-box;
1229
+ flex-shrink: 0;
1230
+ background: #fff;
1231
+ `;
1232
+ const Close$1 = styled.div `
1233
+ margin-left: auto;
1234
+ display: flex;
1235
+ align-items: center;
1236
+ padding-left: 20px;
1237
+ cursor: pointer;
1238
+ `;
1239
+ const ContentWrapper$1 = styled.div `
1240
+ overflow-x: hidden;
1241
+ overflow-y: auto;
1242
+ box-sizing: border-box;
1243
+ flex: 1;
1244
+ background: #fff;
1245
+ `;
1246
+ const ButtonBar$1 = styled.div `
1247
+ padding: 20px;
1248
+ display: flex;
1249
+ align-items: center;
1250
+ justify-content: flex-end;
1251
+ box-sizing: border-box;
1252
+ gap: 10px;
1253
+ flex-shrink: 0;
1254
+ background: #fff;
1251
1255
  `;
1252
1256
  const Drawer = (_a) => {
1253
1257
  var { children, description, title, onClose, primaryButton, position = 'fixed', secondaryButton, tertiaryButton, scrim = 'dark', width } = _a, accessibleProps = __rest(_a, ["children", "description", "title", "onClose", "primaryButton", "position", "secondaryButton", "tertiaryButton", "scrim", "width"]);
@@ -1275,55 +1279,55 @@ const Drawer = (_a) => {
1275
1279
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
1276
1280
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null),
1277
1281
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1278
- };
1279
-
1282
+ };
1283
+
1280
1284
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1281
- const LabelRow = styled.div `
1282
- display: flex;
1283
- align-items: center;
1284
- justify-content: space-between;
1285
- margin: 0 0 4px 0;
1286
- box-sizing: border-box;
1287
- `;
1288
- const Label$2 = styled.label `
1289
- font-size: ${FontSizes.DEFAULT};
1290
- font-weight: 500;
1291
- line-height: 1.3em;
1292
- font-family: ${FontStyles.DEFAULT};
1293
- color: ${Colors.BLACK.Hex};
1294
- display: flex;
1295
- align-items: center;
1296
- `;
1297
- const Required = styled.span `
1298
- color: ${Colors.RED.Hex};
1299
- margin-left: 4px;
1300
- `;
1301
- const Action = styled.span `
1302
- font-size: ${FontSizes.DEFAULT};
1303
- font-weight: 500;
1304
- line-height: 1em;
1305
- font-family: ${FontStyles.DEFAULT};
1306
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1307
- cursor: pointer;
1285
+ const LabelRow = styled.div `
1286
+ display: flex;
1287
+ align-items: center;
1288
+ justify-content: space-between;
1289
+ margin: 0 0 4px 0;
1290
+ box-sizing: border-box;
1291
+ `;
1292
+ const Label$2 = styled.label `
1293
+ font-size: ${FontSizes.DEFAULT};
1294
+ font-weight: 500;
1295
+ line-height: 1.3em;
1296
+ font-family: ${FontStyles.DEFAULT};
1297
+ color: ${Colors.BLACK.Hex};
1298
+ display: flex;
1299
+ align-items: center;
1300
+ `;
1301
+ const Required = styled.span `
1302
+ color: ${Colors.RED.Hex};
1303
+ margin-left: 4px;
1304
+ `;
1305
+ const Action = styled.span `
1306
+ font-size: ${FontSizes.DEFAULT};
1307
+ font-weight: 500;
1308
+ line-height: 1em;
1309
+ font-family: ${FontStyles.DEFAULT};
1310
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1311
+ cursor: pointer;
1312
+ `;
1313
+ Action.defaultProps = { theme: EditableTheme };
1314
+ const Description = styled.div `
1315
+ font-size: ${FontSizes.SMALL};
1316
+ font-weight: 400;
1317
+ line-height: 1.3em;
1318
+ font-family: ${FontStyles.DEFAULT};
1319
+ color: ${Colors.BLACK.Hex};
1320
+ margin: 0 0 8px 0;
1321
+ box-sizing: border-box;
1308
1322
  `;
1309
- Action.defaultProps = { theme: EditableTheme };
1310
- const Description = styled.div `
1311
- font-size: ${FontSizes.SMALL};
1312
- font-weight: 400;
1313
- line-height: 1.3em;
1314
- font-family: ${FontStyles.DEFAULT};
1315
- color: ${Colors.BLACK.Hex};
1316
- margin: 0 0 8px 0;
1317
- box-sizing: border-box;
1318
- `;
1319
- const Validation = styled.div `
1320
- font-size: ${FontSizes.SMALL};
1321
- font-weight: 400;
1322
- line-height: 1.3em;
1323
- font-family: ${FontStyles.DEFAULT};
1324
- color: ${Colors.RED.Hex};
1325
- margin: 4px 0 0 0;
1326
- box-sizing: border-box;
1323
+ const Validation = styled.div `
1324
+ font-size: ${FontSizes.SMALL};
1325
+ font-weight: 400;
1326
+ line-height: 1.3em;
1327
+ font-family: ${FontStyles.DEFAULT};
1328
+ color: ${Colors.RED.Hex};
1329
+ margin: 4px 0 0 0;
1330
+ box-sizing: border-box;
1327
1331
  `;
1328
1332
  const Field = (_a) => {
1329
1333
  var { action, children, validationText, label, description, required, htmlFor, style = {}, tooltip } = _a, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style", "tooltip"]);
@@ -1337,112 +1341,112 @@ const Field = (_a) => {
1337
1341
  description ? React.createElement(Description, null, description) : null,
1338
1342
  children,
1339
1343
  validationText ? React.createElement(Validation, null, validationText) : null));
1340
- };
1341
-
1342
- const Wrapper$8 = styled.fieldset `
1343
- margin-inline-start: 0px;
1344
- margin-inline-end: 0px;
1345
- padding-block-start: 0px;
1346
- padding-inline-start: 0px;
1347
- padding-inline-end: 0px;
1348
- padding-block-end: 0px;
1349
- min-inline-size: min-content;
1350
- border-width: 0px;
1351
- border-style: none;
1352
- border-color: transparent;
1353
- border-image: none;
1354
- `;
1355
- const Label$1 = styled.legend `
1356
- padding-inline-start: 0px;
1357
- padding-inline-end: 0px;
1358
-
1359
- color: ${Colors.BLACK.Hex};
1360
- font-family: ${FontStyles.DEFAULT};
1361
- font-size: ${FontSizes.DEFAULT};
1362
- font-weight: 500;
1363
- line-height: 22px;
1364
- margin-bottom: 6px;
1365
- `;
1366
- const Content$1 = styled.div `
1367
- padding: 20px;
1368
- border-radius: 8px;
1369
- background: #fcfcfc;
1344
+ };
1345
+
1346
+ const Wrapper$8 = styled.fieldset `
1347
+ margin-inline-start: 0px;
1348
+ margin-inline-end: 0px;
1349
+ padding-block-start: 0px;
1350
+ padding-inline-start: 0px;
1351
+ padding-inline-end: 0px;
1352
+ padding-block-end: 0px;
1353
+ min-inline-size: min-content;
1354
+ border-width: 0px;
1355
+ border-style: none;
1356
+ border-color: transparent;
1357
+ border-image: none;
1358
+ `;
1359
+ const Label$1 = styled.legend `
1360
+ padding-inline-start: 0px;
1361
+ padding-inline-end: 0px;
1362
+
1363
+ color: ${Colors.BLACK.Hex};
1364
+ font-family: ${FontStyles.DEFAULT};
1365
+ font-size: ${FontSizes.DEFAULT};
1366
+ font-weight: 500;
1367
+ line-height: 22px;
1368
+ margin-bottom: 6px;
1369
+ `;
1370
+ const Content$1 = styled.div `
1371
+ padding: 20px;
1372
+ border-radius: 8px;
1373
+ background: #fcfcfc;
1370
1374
  `;
1371
1375
  const FieldGroup = ({ children, label }) => {
1372
1376
  return (React.createElement(Wrapper$8, null,
1373
1377
  React.createElement(Label$1, null, label),
1374
1378
  React.createElement(Content$1, null, children)));
1375
- };
1376
-
1377
- const Dropzone = styled.div `
1378
- border-radius: 8px;
1379
- border-width: 1px;
1380
- border-style: dashed;
1381
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1382
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1383
- cursor: copy;
1379
+ };
1380
+
1381
+ const Dropzone = styled.div `
1382
+ border-radius: 8px;
1383
+ border-width: 1px;
1384
+ border-style: dashed;
1385
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1386
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1387
+ cursor: copy;
1384
1388
  `;
1385
1389
  Dropzone.defaultProps = { theme: EditableTheme };
1386
- const IconWrapper$1 = styled.div `
1387
- width: 80px;
1388
- height: 80px;
1389
- border-radius: 40px;
1390
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1391
- display: flex;
1392
- align-items: center;
1393
- justify-content: center;
1394
- `;
1395
- const StyledIcon$3 = styled(Icon) `
1396
- width: 40px !important;
1397
- height: 40px !important;
1398
-
1399
- > path {
1400
- fill: ${Colors.GRAY.Hex} !important;
1401
- }
1402
- `;
1403
- const ClickZone = styled.div `
1404
- margin: 40px 20px;
1405
- display: flex;
1406
- flex-direction: column;
1407
- align-items: center;
1408
- gap: 16px;
1409
- `;
1410
- const Content = styled.div `
1411
- display: flex;
1412
- flex-direction: column;
1413
- align-items: center;
1414
- gap: 2px;
1415
- `;
1416
- const Files = styled.div `
1417
- display: flex;
1418
- flex-direction: column;
1419
- align-self: stretch;
1420
- gap: 10px;
1421
- margin: 20px;
1422
- `;
1423
- const MessageDiv = styled.div `
1424
- display: flex;
1425
- align-items: center;
1426
- justify-content: center;
1427
- `;
1428
- const File = styled.div `
1429
- display: flex;
1430
- padding: 10px;
1431
- align-items: center;
1432
- justify-content: space-between;
1433
- gap: 10px;
1434
- border-radius: 4px;
1435
- border: 1px solid #cccccc;
1436
- background: #ffffff;
1437
- `;
1438
- const Remove = styled(Icon) `
1439
- width: 24px;
1440
- height: 24px;
1441
- cursor: pointer;
1442
-
1443
- > path {
1444
- fill: ${Colors.RED.Hex} !important;
1445
- }
1390
+ const IconWrapper$1 = styled.div `
1391
+ width: 80px;
1392
+ height: 80px;
1393
+ border-radius: 40px;
1394
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1395
+ display: flex;
1396
+ align-items: center;
1397
+ justify-content: center;
1398
+ `;
1399
+ const StyledIcon$3 = styled(Icon) `
1400
+ width: 40px !important;
1401
+ height: 40px !important;
1402
+
1403
+ > path {
1404
+ fill: ${Colors.GRAY.Hex} !important;
1405
+ }
1406
+ `;
1407
+ const ClickZone = styled.div `
1408
+ margin: 40px 20px;
1409
+ display: flex;
1410
+ flex-direction: column;
1411
+ align-items: center;
1412
+ gap: 16px;
1413
+ `;
1414
+ const Content = styled.div `
1415
+ display: flex;
1416
+ flex-direction: column;
1417
+ align-items: center;
1418
+ gap: 2px;
1419
+ `;
1420
+ const Files = styled.div `
1421
+ display: flex;
1422
+ flex-direction: column;
1423
+ align-self: stretch;
1424
+ gap: 10px;
1425
+ margin: 20px;
1426
+ `;
1427
+ const MessageDiv = styled.div `
1428
+ display: flex;
1429
+ align-items: center;
1430
+ justify-content: center;
1431
+ `;
1432
+ const File = styled.div `
1433
+ display: flex;
1434
+ padding: 10px;
1435
+ align-items: center;
1436
+ justify-content: space-between;
1437
+ gap: 10px;
1438
+ border-radius: 4px;
1439
+ border: 1px solid #cccccc;
1440
+ background: #ffffff;
1441
+ `;
1442
+ const Remove = styled(Icon) `
1443
+ width: 24px;
1444
+ height: 24px;
1445
+ cursor: pointer;
1446
+
1447
+ > path {
1448
+ fill: ${Colors.RED.Hex} !important;
1449
+ }
1446
1450
  `;
1447
1451
  const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, }) => {
1448
1452
  const inputRef = React.useRef(null);
@@ -1560,8 +1564,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
1560
1564
  React.createElement(Copy, { align: 'center', color: 'GRAY' }, message),
1561
1565
  tooltipInfo && (React.createElement("span", null,
1562
1566
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1563
- };
1564
-
1567
+ };
1568
+
1565
1569
  const getAgesFromDob = (dob) => {
1566
1570
  let calculated_current_age = null;
1567
1571
  let calculated_nearest_age = null;
@@ -1634,8 +1638,8 @@ const formatAsSsn = (number) => {
1634
1638
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1635
1639
  }
1636
1640
  return formatted_value;
1637
- };
1638
-
1641
+ };
1642
+
1639
1643
  const StyledInput = styled.input `
1640
1644
  border: none !important;
1641
1645
  background: none !important;
@@ -1885,63 +1889,63 @@ const Input$1 = (_a) => {
1885
1889
  onSuggestedSelect();
1886
1890
  setShowOptions(false);
1887
1891
  } }, suggestedValue))))) : null));
1888
- };
1889
-
1890
- const Wrapper$7 = styled.a `
1891
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1892
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1893
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1894
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1895
- font-weight: 500;
1896
- font-style: normal;
1897
- text-decoration: 'none';
1898
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1899
- margin: 0px;
1900
- padding: 0px;
1901
- box-sizing: border-box;
1902
- cursor: pointer;
1892
+ };
1893
+
1894
+ const Wrapper$7 = styled.a `
1895
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1896
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1897
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1898
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1899
+ font-weight: 500;
1900
+ font-style: normal;
1901
+ text-decoration: 'none';
1902
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1903
+ margin: 0px;
1904
+ padding: 0px;
1905
+ box-sizing: border-box;
1906
+ cursor: pointer;
1903
1907
  `;
1904
1908
  Wrapper$7.defaultProps = { theme: EditableTheme };
1905
1909
  const Link = (_a) => {
1906
1910
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1907
1911
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
1908
- };
1909
-
1910
- const dash = styled.keyframes `
1911
- 0% {
1912
- stroke-dasharray: 1, 160;
1913
- stroke-dashoffset: 0;
1914
- }
1915
- 50% {
1916
- stroke-dasharray: 80, 160;
1917
- stroke-dashoffset: -32;
1918
- }
1919
- 100% {
1920
- stroke-dasharray: 80, 160;
1921
- stroke-dashoffset: -124;
1922
- }
1923
- `;
1924
- const Spinner = styled.svg `
1925
- z-index: 2;
1926
- position: absolute;
1927
- top: 50%;
1928
- left: 50%;
1929
- transform: translate(-50%, -50%);
1930
- margin: 0 auto;
1931
- width: 40px;
1932
- height: 40px;
1933
- `;
1934
- const Path = styled.path `
1935
- stroke: #0193d7;
1936
- stroke-linecap: round;
1937
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1938
- animation: ${dash} 1.1s ease-in-out infinite;
1912
+ };
1913
+
1914
+ const dash = styled.keyframes `
1915
+ 0% {
1916
+ stroke-dasharray: 1, 160;
1917
+ stroke-dashoffset: 0;
1918
+ }
1919
+ 50% {
1920
+ stroke-dasharray: 80, 160;
1921
+ stroke-dashoffset: -32;
1922
+ }
1923
+ 100% {
1924
+ stroke-dasharray: 80, 160;
1925
+ stroke-dashoffset: -124;
1926
+ }
1927
+ `;
1928
+ const Spinner = styled.svg `
1929
+ z-index: 2;
1930
+ position: absolute;
1931
+ top: 50%;
1932
+ left: 50%;
1933
+ transform: translate(-50%, -50%);
1934
+ margin: 0 auto;
1935
+ width: 40px;
1936
+ height: 40px;
1937
+ `;
1938
+ const Path = styled.path `
1939
+ stroke: #0193d7;
1940
+ stroke-linecap: round;
1941
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1942
+ animation: ${dash} 1.1s ease-in-out infinite;
1939
1943
  `;
1940
1944
  const Loader = () => {
1941
1945
  return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
1942
1946
  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' })));
1943
- };
1944
-
1947
+ };
1948
+
1945
1949
  const Steps = styled.div `
1946
1950
  padding: 20px;
1947
1951
  border-bottom: 1px solid #e7e6e6;
@@ -1998,8 +2002,8 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
1998
2002
  step.complete ? (React.createElement(StyledIcon$2, { path: js.mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
1999
2003
  React.createElement(StepLabel, null, step.label))));
2000
2004
  })));
2001
- };
2002
-
2005
+ };
2006
+
2003
2007
  const Wrapper$6 = styled.div `
2004
2008
  position: fixed;
2005
2009
  top: 0;
@@ -2068,6 +2072,9 @@ const ButtonBar = styled.div `
2068
2072
  justify-self: flex-end;
2069
2073
  box-sizing: border-box;
2070
2074
  `;
2075
+ const ButtonContainer = styled.div `
2076
+ margin: 0 10px;
2077
+ `;
2071
2078
  const Modal = (_a) => {
2072
2079
  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"]);
2073
2080
  React.useEffect(() => {
@@ -2097,30 +2104,32 @@ const Modal = (_a) => {
2097
2104
  alignItems: 'center',
2098
2105
  } },
2099
2106
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
2100
- quarternaryButton ? (React.createElement(Button, Object.assign({}, quarternaryButton, { format: quarternaryButton.format || 'secondary' }))) : null)) : null,
2107
+ quarternaryButton ? (React.createElement(ButtonContainer, null,
2108
+ React.createElement(Button, Object.assign({}, quarternaryButton, { format: quarternaryButton.format || 'secondary' })))) : null)) : null,
2101
2109
  primaryButton || secondaryButton ? (React.createElement("div", { style: {
2102
2110
  marginLeft: 'auto',
2103
2111
  paddingLeft: 40,
2104
2112
  display: 'flex',
2105
2113
  alignItems: 'center',
2106
2114
  } },
2107
- secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
2115
+ secondaryButton ? (React.createElement(ButtonContainer, null,
2116
+ React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' })))) : null,
2108
2117
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)) : null)));
2109
- };
2110
-
2111
- const Wrapper$5 = styled.div `
2112
- position: relative;
2113
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2114
- `;
2115
- const Trigger = styled.div `
2116
- box-sizing: border-box;
2117
- border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2118
- height: 40px;
2119
- padding: 0 10px;
2120
- position: relative;
2121
- cursor: pointer;
2122
- border-width: 1px;
2123
- border-style: solid;
2118
+ };
2119
+
2120
+ const Wrapper$5 = styled.div `
2121
+ position: relative;
2122
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2123
+ `;
2124
+ const Trigger = styled.div `
2125
+ box-sizing: border-box;
2126
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2127
+ height: 40px;
2128
+ padding: 0 10px;
2129
+ position: relative;
2130
+ cursor: pointer;
2131
+ border-width: 1px;
2132
+ border-style: solid;
2124
2133
  border-color: ${props => {
2125
2134
  if (props.$invalid) {
2126
2135
  return Colors.RED.Hex;
@@ -2131,67 +2140,67 @@ const Trigger = styled.div `
2131
2140
  else {
2132
2141
  return '#cccccc';
2133
2142
  }
2134
- }};
2135
- background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2136
- background-image: none;
2137
- display: flex;
2138
- width: 100%;
2139
- align-items: center;
2140
- justify-content: space-between;
2141
- z-index: 1;
2143
+ }};
2144
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2145
+ background-image: none;
2146
+ display: flex;
2147
+ width: 100%;
2148
+ align-items: center;
2149
+ justify-content: space-between;
2150
+ z-index: 1;
2142
2151
  `;
2143
2152
  Trigger.defaultProps = { theme: EditableTheme };
2144
- const Value = styled.div `
2145
- color: ${Colors.BLACK.Hex};
2146
- font-family: ${FontStyles.DEFAULT};
2147
- font-size: ${FontSizes.DEFAULT};
2148
- font-weight: 400;
2149
- line-height: 2.9em;
2150
- overflow: hidden;
2151
- text-overflow: ellipsis;
2152
- white-space: nowrap;
2153
- width: 100%;
2154
- `;
2155
- const Options = styled.div `
2156
- background: #fff;
2157
- box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2158
- border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2159
- border-radius: 0px 0px 4px 4px;
2160
- border-style: solid;
2161
- border-top: none;
2162
- border-width: 1px;
2163
- left: 0;
2164
- position: relative;
2165
- right: 0;
2166
- z-index: 10;
2167
- max-height: 220px;
2168
- overflow: auto;
2153
+ const Value = styled.div `
2154
+ color: ${Colors.BLACK.Hex};
2155
+ font-family: ${FontStyles.DEFAULT};
2156
+ font-size: ${FontSizes.DEFAULT};
2157
+ font-weight: 400;
2158
+ line-height: 2.9em;
2159
+ overflow: hidden;
2160
+ text-overflow: ellipsis;
2161
+ white-space: nowrap;
2162
+ width: 100%;
2163
+ `;
2164
+ const Options = styled.div `
2165
+ background: #fff;
2166
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2167
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2168
+ border-radius: 0px 0px 4px 4px;
2169
+ border-style: solid;
2170
+ border-top: none;
2171
+ border-width: 1px;
2172
+ left: 0;
2173
+ position: relative;
2174
+ right: 0;
2175
+ z-index: 10;
2176
+ max-height: 220px;
2177
+ overflow: auto;
2169
2178
  `;
2170
2179
  Options.defaultProps = { theme: EditableTheme };
2171
- const Scrim = styled.div `
2172
- bottom: 0;
2173
- left: 0;
2174
- position: fixed;
2175
- right: 0;
2176
- top: 0;
2177
- z-index: 9;
2178
- `;
2179
- const SearchInput = styled.input `
2180
- position: absolute;
2181
- left: 2px;
2182
- top: 2px;
2183
- z-index: 999;
2184
- width: 90%;
2185
- height: 30px;
2186
- border: none;
2187
- outline: none;
2188
- color: ${Colors.BLACK.Hex};
2189
- font-family: ${FontStyles.DEFAULT};
2190
- font-size: ${FontSizes.DEFAULT};
2191
- font-weight: 400;
2192
- line-height: 2.9em;
2193
- overflow: hidden;
2194
- white-space: nowrap;
2180
+ const Scrim = styled.div `
2181
+ bottom: 0;
2182
+ left: 0;
2183
+ position: fixed;
2184
+ right: 0;
2185
+ top: 0;
2186
+ z-index: 9;
2187
+ `;
2188
+ const SearchInput = styled.input `
2189
+ position: absolute;
2190
+ left: 2px;
2191
+ top: 2px;
2192
+ z-index: 999;
2193
+ width: 90%;
2194
+ height: 30px;
2195
+ border: none;
2196
+ outline: none;
2197
+ color: ${Colors.BLACK.Hex};
2198
+ font-family: ${FontStyles.DEFAULT};
2199
+ font-size: ${FontSizes.DEFAULT};
2200
+ font-weight: 400;
2201
+ line-height: 2.9em;
2202
+ overflow: hidden;
2203
+ white-space: nowrap;
2195
2204
  `;
2196
2205
  const MultiSelect = (_a) => {
2197
2206
  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"]);
@@ -2210,8 +2219,8 @@ const MultiSelect = (_a) => {
2210
2219
  showOptions ? (React.createElement(Options, null,
2211
2220
  React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2212
2221
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
2213
- };
2214
-
2222
+ };
2223
+
2215
2224
  const Wrapper$4 = styled.div `
2216
2225
  display: flex;
2217
2226
  padding: 16px 30px;
@@ -2260,13 +2269,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2260
2269
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
2261
2270
  }),
2262
2271
  menuItems.length ? (React.createElement(ButtonMenu, { enableClick: enableClick, enableHover: enableHover, format: format, label: label, menuItems: menuItems, show: show, small: true })) : null)) : null));
2263
- };
2264
-
2265
- const Wrapper$3 = styled.nav `
2266
- box-sizing: border-box;
2267
- display: flex;
2268
- align-items: center;
2269
- column-gap: 10px;
2272
+ };
2273
+
2274
+ const Wrapper$3 = styled.nav `
2275
+ box-sizing: border-box;
2276
+ display: flex;
2277
+ align-items: center;
2278
+ column-gap: 10px;
2270
2279
  `;
2271
2280
  const Pagination = (_a) => {
2272
2281
  var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
@@ -2295,82 +2304,82 @@ const Pagination = (_a) => {
2295
2304
  value: `${p}`,
2296
2305
  })), value: `${currentPage}` }),
2297
2306
  React.createElement(Button, { disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true })));
2298
- };
2299
-
2300
- const Wrapper$2 = styled.label `
2301
- border-radius: 4px;
2302
- padding: 4px 0px 4px 6px;
2303
- margin-left: -6px;
2304
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2305
- display: flex;
2306
- align-items: center;
2307
- font-size: ${FontSizes.DEFAULT};
2308
- line-height: 1.6em;
2309
- box-sizing: border-box;
2310
- position: relative;
2311
-
2312
- &:focus-within {
2313
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2314
- }
2307
+ };
2308
+
2309
+ const Wrapper$2 = styled.label `
2310
+ border-radius: 4px;
2311
+ padding: 4px 0px 4px 6px;
2312
+ margin-left: -6px;
2313
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2314
+ display: flex;
2315
+ align-items: center;
2316
+ font-size: ${FontSizes.DEFAULT};
2317
+ line-height: 1.6em;
2318
+ box-sizing: border-box;
2319
+ position: relative;
2320
+
2321
+ &:focus-within {
2322
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2323
+ }
2315
2324
  `;
2316
2325
  Wrapper$2.defaultProps = { theme: EditableTheme };
2317
- const Input = styled.input `
2318
- font-size: 20px;
2319
- margin: 0px;
2320
- line-height: 1.6em;
2321
- box-sizing: border-box;
2322
- position: absolute;
2323
- opacity: 0;
2324
- cursor: pointer;
2325
- height: 0;
2326
- width: 0;
2327
- &:checked + span {
2328
- border-color: ${Colors.PRIMARY.Hex};
2329
- }
2330
- &:checked + span:after {
2331
- background-color: ${Colors.PRIMARY.Hex};
2332
- display: block;
2333
- }
2334
- &:disabled + span {
2335
- background-color: #d3d3d3;
2336
- border-color: #d3d3d3;
2337
- }
2338
- &:disabled + span:after {
2339
- background-color: #fff;
2340
- }
2341
- &:checked:disabled + span:after {
2342
- background-color: ${Colors.MEDIUM_GRAY.Hex};
2343
- }
2344
- `;
2345
- const Check = styled.span `
2346
- height: 17px;
2347
- width: 17px;
2348
- border-radius: 50%;
2349
- background-color: #fff;
2350
- border-width: 2px;
2351
- border-style: solid;
2352
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2353
- box-sizing: border-box;
2354
- position: relative;
2355
- &:after {
2356
- content: '';
2357
- position: absolute;
2358
- top: 2px;
2359
- left: 2px;
2360
- width: 9px;
2361
- height: 9px;
2362
- border-radius: 50%;
2363
- box-sizing: border-box;
2364
- display: none;
2365
- }
2366
- `;
2367
- const Label = styled.span `
2368
- font-family: ${FontStyles.DEFAULT};
2369
- font-size: ${FontSizes.DEFAULT};
2370
- font-weight: 400;
2371
- color: ${Colors.BLACK.Hex};
2372
- line-height: 1.6em;
2373
- margin-left: 6px;
2326
+ const Input = styled.input `
2327
+ font-size: 20px;
2328
+ margin: 0px;
2329
+ line-height: 1.6em;
2330
+ box-sizing: border-box;
2331
+ position: absolute;
2332
+ opacity: 0;
2333
+ cursor: pointer;
2334
+ height: 0;
2335
+ width: 0;
2336
+ &:checked + span {
2337
+ border-color: ${Colors.PRIMARY.Hex};
2338
+ }
2339
+ &:checked + span:after {
2340
+ background-color: ${Colors.PRIMARY.Hex};
2341
+ display: block;
2342
+ }
2343
+ &:disabled + span {
2344
+ background-color: #d3d3d3;
2345
+ border-color: #d3d3d3;
2346
+ }
2347
+ &:disabled + span:after {
2348
+ background-color: #fff;
2349
+ }
2350
+ &:checked:disabled + span:after {
2351
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2352
+ }
2353
+ `;
2354
+ const Check = styled.span `
2355
+ height: 17px;
2356
+ width: 17px;
2357
+ border-radius: 50%;
2358
+ background-color: #fff;
2359
+ border-width: 2px;
2360
+ border-style: solid;
2361
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2362
+ box-sizing: border-box;
2363
+ position: relative;
2364
+ &:after {
2365
+ content: '';
2366
+ position: absolute;
2367
+ top: 2px;
2368
+ left: 2px;
2369
+ width: 9px;
2370
+ height: 9px;
2371
+ border-radius: 50%;
2372
+ box-sizing: border-box;
2373
+ display: none;
2374
+ }
2375
+ `;
2376
+ const Label = styled.span `
2377
+ font-family: ${FontStyles.DEFAULT};
2378
+ font-size: ${FontSizes.DEFAULT};
2379
+ font-weight: 400;
2380
+ color: ${Colors.BLACK.Hex};
2381
+ line-height: 1.6em;
2382
+ margin-left: 6px;
2374
2383
  `;
2375
2384
  const Radio = (_a) => {
2376
2385
  var { children, disabled, checked, onChange, value, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip"]);
@@ -2380,77 +2389,77 @@ const Radio = (_a) => {
2380
2389
  React.createElement(Label, null,
2381
2390
  children,
2382
2391
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2383
- };
2384
-
2392
+ };
2393
+
2385
2394
  const RadioList = (_a) => {
2386
2395
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2387
2396
  return (React.createElement(React.Fragment, null, options.map((option) => {
2388
2397
  const label = option.label || option.value;
2389
2398
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2390
2399
  })));
2391
- };
2392
-
2393
- const StyledTable = styled.table `
2394
- width: 100%;
2395
- margin-top: 1px;
2396
- table-layout: ${props => props.$tableLayout || 'auto'};
2397
- border-collapse: collapse;
2398
- text-indent: 0px;
2399
- border-spacing: 0px;
2400
- border-color: none;
2401
- box-sizing: border-box;
2402
- `;
2403
- const Header = styled.th `
2404
- padding: 12px !important;
2405
- text-align: left;
2406
- font-weight: 500;
2407
- border-bottom: 1px solid #e5e5e5;
2408
- border-top: 1px solid #e5e5e5;
2409
- text-transform: uppercase;
2410
- font-size: 12px;
2411
- font-family: ${FontStyles.DEFAULT};
2412
- letter-spacing: 1px;
2413
- white-space: nowrap;
2414
- line-height: 1;
2415
- position: relative;
2416
- box-sizing: border-box;
2417
- width: ${props => props.$width || 'auto'};
2418
- cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2419
- color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2400
+ };
2401
+
2402
+ const StyledTable = styled.table `
2403
+ width: 100%;
2404
+ margin-top: 1px;
2405
+ table-layout: ${props => props.$tableLayout || 'auto'};
2406
+ border-collapse: collapse;
2407
+ text-indent: 0px;
2408
+ border-spacing: 0px;
2409
+ border-color: none;
2410
+ box-sizing: border-box;
2411
+ `;
2412
+ const Header = styled.th `
2413
+ padding: 12px !important;
2414
+ text-align: left;
2415
+ font-weight: 500;
2416
+ border-bottom: 1px solid #e5e5e5;
2417
+ border-top: 1px solid #e5e5e5;
2418
+ text-transform: uppercase;
2419
+ font-size: 12px;
2420
+ font-family: ${FontStyles.DEFAULT};
2421
+ letter-spacing: 1px;
2422
+ white-space: nowrap;
2423
+ line-height: 1;
2424
+ position: relative;
2425
+ box-sizing: border-box;
2426
+ width: ${props => props.$width || 'auto'};
2427
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2428
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2420
2429
  `;
2421
2430
  Header.defaultProps = { theme: EditableTheme };
2422
- const Row = styled.tr `
2423
- cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2424
- transition: all 0.2s;
2425
- background-color: ${props => props.$bgColor};
2426
- box-sizing: border-box;
2427
- &:hover {
2428
- background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2429
- }
2431
+ const Row = styled.tr `
2432
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2433
+ transition: all 0.2s;
2434
+ background-color: ${props => props.$bgColor};
2435
+ box-sizing: border-box;
2436
+ &:hover {
2437
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2438
+ }
2430
2439
  `;
2431
2440
  Row.defaultProps = { theme: EditableTheme };
2432
- const Column = styled.td `
2433
- padding: 16px 12px !important;
2434
- font-size: ${FontSizes.DEFAULT} !important;
2435
- font-weight: 400 !important;
2436
- font-family: ${FontStyles.DEFAULT};
2437
- border: none !important;
2438
- word-break: break-word;
2439
- line-height: 1.4em;
2440
- box-sizing: border-box;
2441
- text-align: ${props => props.$align || 'left'};
2442
- width: ${props => props.$width || 'auto'};
2443
- `;
2444
- const IconWrapper = styled.span `
2445
- position: absolute;
2446
- top: 50%;
2447
- transform: translateY(-50%);
2448
- margin-left: 2px;
2449
- `;
2450
- const StyledIcon$1 = styled(Icon) `
2451
- > path {
2452
- fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2453
- }
2441
+ const Column = styled.td `
2442
+ padding: 16px 12px !important;
2443
+ font-size: ${FontSizes.DEFAULT} !important;
2444
+ font-weight: 400 !important;
2445
+ font-family: ${FontStyles.DEFAULT};
2446
+ border: none !important;
2447
+ word-break: break-word;
2448
+ line-height: 1.4em;
2449
+ box-sizing: border-box;
2450
+ text-align: ${props => props.$align || 'left'};
2451
+ width: ${props => props.$width || 'auto'};
2452
+ `;
2453
+ const IconWrapper = styled.span `
2454
+ position: absolute;
2455
+ top: 50%;
2456
+ transform: translateY(-50%);
2457
+ margin-left: 2px;
2458
+ `;
2459
+ const StyledIcon$1 = styled(Icon) `
2460
+ > path {
2461
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2462
+ }
2454
2463
  `;
2455
2464
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2456
2465
  const Table = (_a) => {
@@ -2468,55 +2477,55 @@ const Table = (_a) => {
2468
2477
  return (React.createElement(Column, { "$align": columns[i].align, "$width": columns[i].width, key: i }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2469
2478
  })));
2470
2479
  }))) : null));
2471
- };
2472
-
2473
- const Wrapper$1 = styled.div `
2474
- display: flex;
2475
- box-sizing: border-box;
2476
- align-items: flex-end;
2477
- border-top: 1px solid #e5e5e5;
2478
- border-bottom: 1px solid #e5e5e5;
2479
- flex-shrink: 0;
2480
- align-self: stretch;
2481
- padding: 0;
2482
- margin: 0;
2483
- `;
2484
- const Tab = styled.div `
2485
- display: flex;
2486
- align-items: center;
2487
- gap: 6px;
2488
- font-size: ${FontSizes.DEFAULT};
2489
- font-family: ${FontStyles.DEFAULT};
2490
- font-weight: ${props => (props.$isActive ? 500 : 400)};
2491
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2492
- line-height: 1em;
2493
- padding: 16px 30px 12px;
2494
- margin: 0 0 -1px 0;
2495
- border-bottom-width: 4px;
2496
- border-bottom-style: solid;
2497
- border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2498
- cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2499
- box-sizing: border-box;
2500
- &:hover {
2501
- color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2502
- font-weight: 500;
2503
- }
2480
+ };
2481
+
2482
+ const Wrapper$1 = styled.div `
2483
+ display: flex;
2484
+ box-sizing: border-box;
2485
+ align-items: flex-end;
2486
+ border-top: 1px solid #e5e5e5;
2487
+ border-bottom: 1px solid #e5e5e5;
2488
+ flex-shrink: 0;
2489
+ align-self: stretch;
2490
+ padding: 0;
2491
+ margin: 0;
2492
+ `;
2493
+ const Tab = styled.div `
2494
+ display: flex;
2495
+ align-items: center;
2496
+ gap: 6px;
2497
+ font-size: ${FontSizes.DEFAULT};
2498
+ font-family: ${FontStyles.DEFAULT};
2499
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2500
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2501
+ line-height: 1em;
2502
+ padding: 16px 30px 12px;
2503
+ margin: 0 0 -1px 0;
2504
+ border-bottom-width: 4px;
2505
+ border-bottom-style: solid;
2506
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2507
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2508
+ box-sizing: border-box;
2509
+ &:hover {
2510
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2511
+ font-weight: 500;
2512
+ }
2504
2513
  `;
2505
2514
  Tab.defaultProps = { theme: EditableTheme };
2506
- const Badge = styled.div `
2507
- display: flex;
2508
- width: 18px;
2509
- height: 18px;
2510
- justify-content: center;
2511
- align-items: center;
2512
- border-radius: 9px;
2513
- background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2514
- color: #fff;
2515
- font-family: ${FontStyles.DEFAULT};
2516
- font-size: 12px;
2517
- font-weight: 500;
2518
- line-height: 1;
2519
- letter-spacing: 1px;
2515
+ const Badge = styled.div `
2516
+ display: flex;
2517
+ width: 18px;
2518
+ height: 18px;
2519
+ justify-content: center;
2520
+ align-items: center;
2521
+ border-radius: 9px;
2522
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2523
+ color: #fff;
2524
+ font-family: ${FontStyles.DEFAULT};
2525
+ font-size: 12px;
2526
+ font-weight: 500;
2527
+ line-height: 1;
2528
+ letter-spacing: 1px;
2520
2529
  `;
2521
2530
  Badge.defaultProps = { theme: EditableTheme };
2522
2531
  const Tabs = (_a) => {
@@ -2528,29 +2537,29 @@ const Tabs = (_a) => {
2528
2537
  label));
2529
2538
  })));
2530
2539
  };
2531
- Tabs.defaultProps = {};
2532
-
2533
- const Track = styled.div `
2534
- height: 24px;
2535
- border-radius: 12px;
2536
- background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2537
- display: flex;
2538
- align-items: center;
2539
- cursor: pointer;
2540
- width: 40px;
2541
- padding: 2px;
2542
- box-sizing: border-box;
2543
- `;
2544
- const Handle = styled.div `
2545
- width: 20px;
2546
- height: 20px;
2547
- border-radius: 10px;
2548
- background: #ffffff;
2549
- margin-left: ${props => (props.$on ? 'auto' : '0px')};
2550
- display: flex;
2551
- align-items: center;
2552
- justify-content: center;
2553
- box-sizing: border-box;
2540
+ Tabs.defaultProps = {};
2541
+
2542
+ const Track = styled.div `
2543
+ height: 24px;
2544
+ border-radius: 12px;
2545
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2546
+ display: flex;
2547
+ align-items: center;
2548
+ cursor: pointer;
2549
+ width: 40px;
2550
+ padding: 2px;
2551
+ box-sizing: border-box;
2552
+ `;
2553
+ const Handle = styled.div `
2554
+ width: 20px;
2555
+ height: 20px;
2556
+ border-radius: 10px;
2557
+ background: #ffffff;
2558
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2559
+ display: flex;
2560
+ align-items: center;
2561
+ justify-content: center;
2562
+ box-sizing: border-box;
2554
2563
  `;
2555
2564
  const Toggle = (_a) => {
2556
2565
  var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
@@ -2559,8 +2568,8 @@ const Toggle = (_a) => {
2559
2568
  React.createElement(Handle, { "$on": on },
2560
2569
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? js.mdiCheck : js.mdiClose, size: '16px' }))));
2561
2570
  };
2562
- Toggle.defaultProps = {};
2563
-
2571
+ Toggle.defaultProps = {};
2572
+
2564
2573
  const Container = styled.div `
2565
2574
  width: 100%;
2566
2575
  padding: 40px auto;
@@ -2595,53 +2604,53 @@ const ZeroState = (_a) => {
2595
2604
  React.createElement(Heading, { children: title, type: 'tertiary' }),
2596
2605
  description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
2597
2606
  action && (React.createElement(Button, { children: action.children, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2598
- };
2599
-
2600
- exports.Accordion = Accordion;
2601
- exports.ActionDialog = ActionDialog;
2602
- exports.Alert = Alert;
2603
- exports.AppHeader = AppHeader;
2604
- exports.AppMenu = AppMenu;
2605
- exports.BulkActionBar = BulkActionBar;
2606
- exports.Button = Button;
2607
- exports.ButtonMenu = ButtonMenu;
2608
- exports.Checkbox = Checkbox;
2609
- exports.Checklist = Checklist;
2610
- exports.Colors = Colors;
2611
- exports.Copy = Copy;
2612
- exports.DatePicker = DatePicker;
2613
- exports.Drawer = Drawer;
2614
- exports.EditableTheme = EditableTheme;
2615
- exports.Field = Field;
2616
- exports.FieldGroup = FieldGroup;
2617
- exports.FileUpload = FileUpload;
2618
- exports.FontSizes = FontSizes;
2619
- exports.FontStyles = FontStyles;
2620
- exports.Heading = Heading;
2621
- exports.Input = Input$1;
2622
- exports.Link = Link;
2623
- exports.Loader = Loader;
2624
- exports.Logo = Logo;
2625
- exports.Modal = Modal;
2626
- exports.MoreMenu = MoreMenu;
2627
- exports.MultiSelect = MultiSelect;
2628
- exports.PageHeader = PageHeader;
2629
- exports.Pagination = Pagination;
2630
- exports.ProgressBar = ProgressBar;
2631
- exports.Radio = Radio;
2632
- exports.RadioList = RadioList;
2633
- exports.Select = Select;
2634
- exports.Table = Table;
2635
- exports.Tabs = Tabs;
2636
- exports.Tag = Tag;
2637
- exports.Toggle = Toggle;
2638
- exports.Tooltip = Tooltip;
2639
- exports.ZeroState = ZeroState;
2640
- exports.formatAsPhone = formatAsPhone;
2641
- exports.formatAsSsn = formatAsSsn;
2642
- exports.getAgesFromDob = getAgesFromDob;
2643
- exports.getDaysForMonth = getDaysForMonth;
2644
- exports.getYears = getYears;
2645
- exports.validateEmail = validateEmail;
2646
- exports.validatePhone = validatePhone;
2647
- //# sourceMappingURL=index.js.map
2607
+ };
2608
+
2609
+ exports.Accordion = Accordion;
2610
+ exports.ActionDialog = ActionDialog;
2611
+ exports.Alert = Alert;
2612
+ exports.AppHeader = AppHeader;
2613
+ exports.AppMenu = AppMenu;
2614
+ exports.BulkActionBar = BulkActionBar;
2615
+ exports.Button = Button;
2616
+ exports.ButtonMenu = ButtonMenu;
2617
+ exports.Checkbox = Checkbox;
2618
+ exports.Checklist = Checklist;
2619
+ exports.Colors = Colors;
2620
+ exports.Copy = Copy;
2621
+ exports.DatePicker = DatePicker;
2622
+ exports.Drawer = Drawer;
2623
+ exports.EditableTheme = EditableTheme;
2624
+ exports.Field = Field;
2625
+ exports.FieldGroup = FieldGroup;
2626
+ exports.FileUpload = FileUpload;
2627
+ exports.FontSizes = FontSizes;
2628
+ exports.FontStyles = FontStyles;
2629
+ exports.Heading = Heading;
2630
+ exports.Input = Input$1;
2631
+ exports.Link = Link;
2632
+ exports.Loader = Loader;
2633
+ exports.Logo = Logo;
2634
+ exports.Modal = Modal;
2635
+ exports.MoreMenu = MoreMenu;
2636
+ exports.MultiSelect = MultiSelect;
2637
+ exports.PageHeader = PageHeader;
2638
+ exports.Pagination = Pagination;
2639
+ exports.ProgressBar = ProgressBar;
2640
+ exports.Radio = Radio;
2641
+ exports.RadioList = RadioList;
2642
+ exports.Select = Select;
2643
+ exports.Table = Table;
2644
+ exports.Tabs = Tabs;
2645
+ exports.Tag = Tag;
2646
+ exports.Toggle = Toggle;
2647
+ exports.Tooltip = Tooltip;
2648
+ exports.ZeroState = ZeroState;
2649
+ exports.formatAsPhone = formatAsPhone;
2650
+ exports.formatAsSsn = formatAsSsn;
2651
+ exports.getAgesFromDob = getAgesFromDob;
2652
+ exports.getDaysForMonth = getDaysForMonth;
2653
+ exports.getYears = getYears;
2654
+ exports.validateEmail = validateEmail;
2655
+ exports.validatePhone = validatePhone;
2656
+ //# sourceMappingURL=index.js.map