@hexure/ui 1.13.15 → 1.13.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import React, { useContext, useState, useRef, useEffect } from 'react';
2
- import styled, { ThemeContext, keyframes } from 'styled-components';
3
- import Icon, { Icon as Icon$1 } from '@mdi/react';
4
- import { mdiChevronUp, mdiChevronDown, mdiLoading, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronRight, mdiChevronLeft, mdiDotsHorizontal, mdiMinusCircle, mdiFolderPlusOutline, mdiCheck } from '@mdi/js';
5
- import dayjs from 'dayjs';
6
- import Numeral from 'numeral';
7
- import Moment from 'moment';
8
-
1
+ import React, { useContext, useState, useRef, useEffect } from 'react';
2
+ import styled, { ThemeContext, keyframes } from 'styled-components';
3
+ import Icon, { Icon as Icon$1 } from '@mdi/react';
4
+ import { mdiChevronUp, mdiChevronDown, mdiLoading, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronRight, mdiChevronLeft, mdiDotsHorizontal, mdiMinusCircle, mdiFolderPlusOutline, mdiCheck } from '@mdi/js';
5
+ import dayjs from 'dayjs';
6
+ import Numeral from 'numeral';
7
+ import Moment from 'moment';
8
+
9
9
  /******************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
@@ -19,22 +19,22 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
19
19
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */
23
- /* global Reflect, Promise, SuppressedError, Symbol */
24
-
25
- function __rest(s, e) {
26
- var t = {};
27
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
29
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
30
- }
31
- return t;
32
- }
33
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
- var e = new Error(message);
35
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
- };
37
-
22
+ ***************************************************************************** */
23
+ /* global Reflect, Promise, SuppressedError, Symbol */
24
+
25
+ function __rest(s, e) {
26
+ var t = {};
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
29
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
30
+ }
31
+ return t;
32
+ }
33
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
+ var e = new Error(message);
35
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
+ };
37
+
38
38
  const Colors = {
39
39
  PRIMARY: {
40
40
  Hex: '#0193D7',
@@ -83,26 +83,26 @@ const FontSizes = {
83
83
  };
84
84
  const EditableTheme = {
85
85
  PRIMARY_COLOR: Colors.PRIMARY,
86
- };
87
-
88
- const Header$3 = styled.div `
89
- display: flex;
90
- align-items: center;
91
- justify-content: space-between;
92
- box-sizing: border-box;
93
- background: #f5f5f5;
94
- border: 1px solid #e5e5e5;
95
- padding: 14px 20px;
96
- height: 50px;
97
- cursor: pointer;
98
- `;
99
- const Title$2 = styled.div `
100
- font-size: ${FontSizes.DEFAULT};
101
- font-weight: 400;
102
- color: ${Colors.BLACK.Hex};
103
- line-height: 1.6em;
104
- font-family: ${FontStyles.DEFAULT};
105
- box-sizing: border-box;
86
+ };
87
+
88
+ const Header$3 = styled.div `
89
+ display: flex;
90
+ align-items: center;
91
+ justify-content: space-between;
92
+ box-sizing: border-box;
93
+ background: #f5f5f5;
94
+ border: 1px solid #e5e5e5;
95
+ padding: 14px 20px;
96
+ height: 50px;
97
+ cursor: pointer;
98
+ `;
99
+ const Title$2 = styled.div `
100
+ font-size: ${FontSizes.DEFAULT};
101
+ font-weight: 400;
102
+ color: ${Colors.BLACK.Hex};
103
+ line-height: 1.6em;
104
+ font-family: ${FontStyles.DEFAULT};
105
+ box-sizing: border-box;
106
106
  `;
107
107
  const Accordion = (_a) => {
108
108
  var { title, children, open, onClick } = _a, accessibleProps = __rest(_a, ["title", "children", "open", "onClick"]);
@@ -111,13 +111,13 @@ const Accordion = (_a) => {
111
111
  React.createElement(Title$2, null, title),
112
112
  React.createElement(Icon, { color: Colors.BLACK.Hex, path: open ? mdiChevronUp : mdiChevronDown, size: '24px' })),
113
113
  open ? children : null));
114
- };
115
-
116
- const StyledButton = styled.button `
117
- height: ${props => (props.$small ? '30px' : '40px')};
118
- line-height: 1em;
119
- border-radius: ${props => (props.$small ? '15px' : '20px')};
120
- margin: ${props => props.$margin || '0px'};
114
+ };
115
+
116
+ const StyledButton = styled.button `
117
+ height: ${props => (props.$small ? '30px' : '40px')};
118
+ line-height: 1em;
119
+ border-radius: ${props => (props.$small ? '15px' : '20px')};
120
+ margin: ${props => props.$margin || '0px'};
121
121
  padding: ${props => {
122
122
  if (props.$hasChildren) {
123
123
  if (props.$small) {
@@ -128,9 +128,9 @@ const StyledButton = styled.button `
128
128
  }
129
129
  }
130
130
  return '0px';
131
- }};
132
- outline: none;
133
- background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
131
+ }};
132
+ outline: none;
133
+ background: ${props => props.$bg_color || props.theme.PRIMARY_COLOR.Hex};
134
134
  width: ${props => {
135
135
  if (props.$hasChildren) {
136
136
  return 'auto';
@@ -139,53 +139,53 @@ const StyledButton = styled.button `
139
139
  return '30px';
140
140
  }
141
141
  return '40px';
142
- }};
143
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
144
- display: flex;
145
- align-items: center;
146
- justify-content: center;
147
- opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
148
- border-width: 1px;
149
- border-style: solid;
150
- border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
151
- box-sizing: border-box;
152
-
153
- &:active,
154
- &:focus,
155
- &:hover {
156
- opacity: ${props => (props.$disabled ? 0.6 : 1)};
157
- }
158
- `;
159
- const Label$5 = styled.span `
160
- color: ${props => props.$content_color || '#fff'};
161
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
162
- font-family: ${FontStyles.DEFAULT};
163
- font-weight: 500;
164
- line-height: 1;
165
- `;
166
- const StyledIcon$6 = styled.span `
167
- margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
168
- margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
169
- display: flex;
170
- align-items: center;
171
- box-sizing: border-box;
172
- `;
173
- const Badge$1 = styled.span `
174
- width: ${props => (props.$small ? '20px' : '24px')};
175
- height: ${props => (props.$small ? '20px' : '24px')};
176
- line-height: 1;
177
- display: flex;
178
- align-items: center;
179
- justify-content: center;
180
- border-radius: 100%;
181
- background-color: ${props => props.$bg_color || '#fff'};
182
- color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
183
- font-size: ${props => (props.$small ? '10px' : '12px')};
184
- font-weight: 600;
185
- font-family: ${FontStyles.DEFAULT};
186
- letter-spacing: -1px;
187
- margin-left: ${props => (props.$small ? '5px' : '10px')};
188
- margin-right: ${props => (props.$small ? '-5px' : '-10px')};
142
+ }};
143
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
144
+ display: flex;
145
+ align-items: center;
146
+ justify-content: center;
147
+ opacity: ${props => (props.$disabled ? 0.6 : 0.9)};
148
+ border-width: 1px;
149
+ border-style: solid;
150
+ border-color: ${props => props.$border_color || props.theme.PRIMARY_COLOR.Hex};
151
+ box-sizing: border-box;
152
+
153
+ &:active,
154
+ &:focus,
155
+ &:hover {
156
+ opacity: ${props => (props.$disabled ? 0.6 : 1)};
157
+ }
158
+ `;
159
+ const Label$5 = styled.span `
160
+ color: ${props => props.$content_color || '#fff'};
161
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
162
+ font-family: ${FontStyles.DEFAULT};
163
+ font-weight: 500;
164
+ line-height: 1;
165
+ `;
166
+ const StyledIcon$6 = styled.span `
167
+ margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
168
+ margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
169
+ display: flex;
170
+ align-items: center;
171
+ box-sizing: border-box;
172
+ `;
173
+ const Badge$1 = styled.span `
174
+ width: ${props => (props.$small ? '20px' : '24px')};
175
+ height: ${props => (props.$small ? '20px' : '24px')};
176
+ line-height: 1;
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: center;
180
+ border-radius: 100%;
181
+ background-color: ${props => props.$bg_color || '#fff'};
182
+ color: ${props => props.$content_color || props.theme.PRIMARY_COLOR.Hex};
183
+ font-size: ${props => (props.$small ? '10px' : '12px')};
184
+ font-weight: 600;
185
+ font-family: ${FontStyles.DEFAULT};
186
+ letter-spacing: -1px;
187
+ margin-left: ${props => (props.$small ? '5px' : '10px')};
188
+ margin-right: ${props => (props.$small ? '-5px' : '-10px')};
189
189
  `;
190
190
  const Button = (_a) => {
191
191
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
@@ -227,58 +227,58 @@ const Button = (_a) => {
227
227
  icon && !badge ? (React.createElement(StyledIcon$6, { "$hasChildren": !!has_children },
228
228
  React.createElement(Icon, { color: format ? format_styles.content_color : '#fff', path: loading ? mdiLoading : icon, size: small ? '20px' : '24px', spin: loading }))) : null,
229
229
  badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
230
- };
231
-
232
- const StyledComponent = styled.p `
233
- color: ${props => Colors[props.$color || 'BLACK'].Hex};
234
- font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
235
- line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
236
- letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
237
- font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
238
- font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
239
- text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
240
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
241
- margin: ${props => props.$margin || '0px'};
242
- padding: ${props => props.$padding || '0px'};
243
- text-align: ${props => props.$align || 'left'};
244
- box-sizing: border-box;
230
+ };
231
+
232
+ const StyledComponent = styled.p `
233
+ color: ${props => Colors[props.$color || 'BLACK'].Hex};
234
+ font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
235
+ line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
236
+ letter-spacing: ${props => (props.$type === 'small' ? '1px' : '0px')};
237
+ font-weight: ${props => (props.$type === 'bold' ? '500' : '400')};
238
+ font-style: ${props => (props.$type === 'italic' ? 'italic' : 'normal')};
239
+ text-decoration: ${props => ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none'};
240
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
241
+ margin: ${props => props.$margin || '0px'};
242
+ padding: ${props => props.$padding || '0px'};
243
+ text-align: ${props => props.$align || 'left'};
244
+ box-sizing: border-box;
245
245
  `;
246
246
  const Copy = ({ children, align = '', margin = '', padding = '', type = 'default', color = 'BLACK', }) => {
247
247
  return (React.createElement(StyledComponent, { "$align": align, "$color": color, "$margin": margin, "$padding": padding, "$type": type }, children));
248
248
  };
249
249
  Copy.defaultProps = {
250
250
  type: 'default',
251
- };
252
-
253
- const H1 = styled.h1 `
254
- color: ${Colors.BLACK.Hex};
255
- font-size: 30px;
256
- font-weight: ${props => (props.$bold ? '500' : '400')};
257
- line-height: 1.4em;
258
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
259
- margin: ${props => props.$margin || '0px'};
260
- padding: ${props => props.$padding || '0px'};
261
- box-sizing: border-box;
262
- `;
263
- const H2 = styled.h2 `
264
- color: ${Colors.BLACK.Hex};
265
- font-size: 24px;
266
- font-weight: ${props => (props.$bold ? '500' : '400')};
267
- line-height: 1.33em;
268
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
269
- margin: ${props => props.$margin || '0px'};
270
- padding: ${props => props.$padding || '0px'};
271
- box-sizing: border-box;
272
- `;
273
- const H3 = styled.h3 `
274
- color: ${Colors.BLACK.Hex};
275
- font-size: 18px;
276
- font-weight: ${props => (props.$bold ? '500' : '400')};
277
- line-height: 1.33em;
278
- font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
279
- margin: ${props => props.$margin || '0px'};
280
- padding: ${props => props.$padding || '0px'};
281
- box-sizing: border-box;
251
+ };
252
+
253
+ const H1 = styled.h1 `
254
+ color: ${Colors.BLACK.Hex};
255
+ font-size: 30px;
256
+ font-weight: ${props => (props.$bold ? '500' : '400')};
257
+ line-height: 1.4em;
258
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
259
+ margin: ${props => props.$margin || '0px'};
260
+ padding: ${props => props.$padding || '0px'};
261
+ box-sizing: border-box;
262
+ `;
263
+ const H2 = styled.h2 `
264
+ color: ${Colors.BLACK.Hex};
265
+ font-size: 24px;
266
+ font-weight: ${props => (props.$bold ? '500' : '400')};
267
+ line-height: 1.33em;
268
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
269
+ margin: ${props => props.$margin || '0px'};
270
+ padding: ${props => props.$padding || '0px'};
271
+ box-sizing: border-box;
272
+ `;
273
+ const H3 = styled.h3 `
274
+ color: ${Colors.BLACK.Hex};
275
+ font-size: 18px;
276
+ font-weight: ${props => (props.$bold ? '500' : '400')};
277
+ line-height: 1.33em;
278
+ font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;
279
+ margin: ${props => props.$margin || '0px'};
280
+ padding: ${props => props.$padding || '0px'};
281
+ box-sizing: border-box;
282
282
  `;
283
283
  const Heading = (_a) => {
284
284
  var { bold, children, margin, padding, type } = _a, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type"]);
@@ -297,29 +297,29 @@ const Heading = (_a) => {
297
297
  Heading.defaultProps = {
298
298
  bold: false,
299
299
  type: 'primary',
300
- };
301
-
302
- const Wrapper$h = styled.div `
303
- position: fixed;
304
- top: 0;
305
- right: 0;
306
- bottom: 0;
307
- left: 0;
308
- z-index: 9999;
309
- background: rgba(0, 0, 0, 0.8);
310
- display: flex;
311
- align-items: center;
312
- justify-content: center;
313
- box-sizing: border-box;
300
+ };
301
+
302
+ const Wrapper$h = styled.div `
303
+ position: fixed;
304
+ top: 0;
305
+ right: 0;
306
+ bottom: 0;
307
+ left: 0;
308
+ z-index: 9999;
309
+ background: rgba(0, 0, 0, 0.8);
310
+ display: flex;
311
+ align-items: center;
312
+ justify-content: center;
313
+ box-sizing: border-box;
314
314
  `;
315
315
  const Container$4 = styled.dialog(props => (Object.assign({ maxWidth: '600px', width: 'auto', borderRadius: '8px', overflow: 'hidden', boxShadow: '0px 10px 30px -15px rgba(0, 0, 0, 0.2)', outline: 'none', border: 'none', position: 'relative', padding: '40px', textAlign: 'center', boxSizing: 'border-box', wordWrap: 'break-word' }, props.$customStyle)));
316
- const Buttons$1 = styled.div `
317
- display: flex;
318
- gap: 10px;
319
- align-items: center;
320
- justify-content: center;
321
- margin-top: 30px;
322
- box-sizing: border-box;
316
+ const Buttons$1 = styled.div `
317
+ display: flex;
318
+ gap: 10px;
319
+ align-items: center;
320
+ justify-content: center;
321
+ margin-top: 30px;
322
+ box-sizing: border-box;
323
323
  `;
324
324
  const ActionDialog = (_a) => {
325
325
  var { description, title, primaryButton, secondaryButton, tertiaryButton, style = {} } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton", "style"]);
@@ -331,29 +331,29 @@ const ActionDialog = (_a) => {
331
331
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
332
332
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
333
333
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null)));
334
- };
335
-
336
- const Wrapper$g = styled.div `
337
- border: 1px solid #f1f1f1;
338
- border-radius: 4px;
339
- border-left-width: 4px;
340
- box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
341
- display: flex;
342
- align-items: flex-start;
343
- gap: ${({ $small }) => ($small ? '8px' : '20px')};
344
- padding: ${({ $small }) => ($small ? '11px' : '20px')};
345
- box-sizing: border-box;
346
- `;
347
- const StyledIcon$5 = styled(Icon) `
348
- flex-shrink: 0;
349
- `;
350
- const Action$1 = styled.div `
351
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
352
- font-size: ${FontSizes.DEFAULT};
353
- font-family: ${FontStyles.DEFAULT};
354
- font-weight: 500;
355
- cursor: pointer;
356
- margin-top: 6px;
334
+ };
335
+
336
+ const Wrapper$g = styled.div `
337
+ border: 1px solid #f1f1f1;
338
+ border-radius: 4px;
339
+ border-left-width: 4px;
340
+ box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);
341
+ display: flex;
342
+ align-items: flex-start;
343
+ gap: ${({ $small }) => ($small ? '8px' : '20px')};
344
+ padding: ${({ $small }) => ($small ? '11px' : '20px')};
345
+ box-sizing: border-box;
346
+ `;
347
+ const StyledIcon$5 = styled(Icon) `
348
+ flex-shrink: 0;
349
+ `;
350
+ const Action$1 = styled.div `
351
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
352
+ font-size: ${FontSizes.DEFAULT};
353
+ font-family: ${FontStyles.DEFAULT};
354
+ font-weight: 500;
355
+ cursor: pointer;
356
+ margin-top: 6px;
357
357
  `;
358
358
  Action$1.defaultProps = { theme: EditableTheme };
359
359
  const Alert = (_a) => {
@@ -383,8 +383,8 @@ const Alert = (_a) => {
383
383
  title && !small ? (React.createElement(Heading, { bold: true, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
384
384
  description ? (React.createElement(Copy, { margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
385
385
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
386
- };
387
-
386
+ };
387
+
388
388
  const colorMapping = {
389
389
  black: {
390
390
  fill_1: '#000000',
@@ -425,61 +425,61 @@ const Logo = (_a) => {
425
425
  React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
426
426
  React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
427
427
  }
428
- };
429
-
430
- const Container$3 = styled.header `
431
- width: 100%;
432
- display: flex;
433
- padding: 20px;
434
- box-sizing: border-box;
435
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
436
- background: '#fff';
437
- justify-content: space-between;
438
- `;
439
- const LogoWrapper = styled.div `
440
- display: flex;
441
- align-items: center;
442
- `;
443
- const Image = styled.img `
444
- height: 30px !important;
445
- width: auto !important;
446
- `;
447
- const Buttons = styled.div `
448
- display: flex;
449
- flex-direction: row;
450
- column-gap: 10px;
451
- flex-direction: reverse;
428
+ };
429
+
430
+ const Container$3 = styled.header `
431
+ width: 100%;
432
+ display: flex;
433
+ padding: 20px;
434
+ box-sizing: border-box;
435
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
436
+ background: '#fff';
437
+ justify-content: space-between;
438
+ `;
439
+ const LogoWrapper = styled.div `
440
+ display: flex;
441
+ align-items: center;
442
+ `;
443
+ const Image = styled.img `
444
+ height: 30px !important;
445
+ width: auto !important;
446
+ `;
447
+ const Buttons = styled.div `
448
+ display: flex;
449
+ flex-direction: row;
450
+ column-gap: 10px;
451
+ flex-direction: reverse;
452
452
  `;
453
453
  const AppHeader = ({ logoUrl, buttons = [] }) => {
454
454
  return (React.createElement(Container$3, null,
455
455
  React.createElement(LogoWrapper, null, logoUrl ? React.createElement(Image, { src: logoUrl }) : React.createElement(Logo, { height: '30px' })),
456
456
  React.createElement(Buttons, null, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b)))))));
457
- };
458
-
459
- const Wrapper$f = styled.div `
460
- display: inline-block;
461
- border-radius: 4px;
462
- padding: 4px 6px;
463
- background: ${props => Colors[props.$color].Hex};
464
- color: #ffffff;
465
- box-sizing: border-box;
466
- cursor: ${props => (props.$removable ? 'pointer' : 'default')};
467
- `;
468
- const Content$3 = styled.div `
469
- display: flex;
470
- align-items: center;
471
- `;
472
- const Label$4 = styled.div `
473
- color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
474
- font-size: ${FontSizes.SMALL};
475
- font-weight: 500;
476
- font-family: ${FontStyles.DEFAULT};
477
- line-height: 1.2em;
478
- `;
479
- const Remove$1 = styled.div `
480
- margin-left: 10px;
481
- display: flex;
482
- align-items: center;
457
+ };
458
+
459
+ const Wrapper$f = styled.div `
460
+ display: inline-block;
461
+ border-radius: 4px;
462
+ padding: 4px 6px;
463
+ background: ${props => Colors[props.$color].Hex};
464
+ color: #ffffff;
465
+ box-sizing: border-box;
466
+ cursor: ${props => (props.$removable ? 'pointer' : 'default')};
467
+ `;
468
+ const Content$3 = styled.div `
469
+ display: flex;
470
+ align-items: center;
471
+ `;
472
+ const Label$4 = styled.div `
473
+ color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
474
+ font-size: ${FontSizes.SMALL};
475
+ font-weight: 500;
476
+ font-family: ${FontStyles.DEFAULT};
477
+ line-height: 1.2em;
478
+ `;
479
+ const Remove$1 = styled.div `
480
+ margin-left: 10px;
481
+ display: flex;
482
+ align-items: center;
483
483
  `;
484
484
  const Tag = (_a) => {
485
485
  var { children, color = 'PRIMARY', removable, onClick } = _a, accessibleProps = __rest(_a, ["children", "color", "removable", "onClick"]);
@@ -488,91 +488,91 @@ const Tag = (_a) => {
488
488
  React.createElement(Label$4, { "$color": color }, children),
489
489
  removable ? (React.createElement(Remove$1, null,
490
490
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: mdiClose, size: '15px' }))) : null)));
491
- };
492
-
493
- const SidebarContainer = styled.div `
494
- border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
495
- display: flex;
496
- flex-direction: column;
497
- height: 100%;
498
- padding: 12px 0px;
499
- width: ${props => (props.$isOpen ? props.$width : '60px')};
500
- `;
501
- const MenuWrapper$1 = styled.div `
502
- display: flex;
503
- align-items: center;
504
- border-left-width: 4px;
505
- border-left-style: solid;
506
- border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
507
- cursor: pointer;
508
- height: 40px;
509
-
510
- &:hover > div {
511
- color: ${props => props.$color.Hex};
512
- }
513
-
514
- &:hover > svg > path {
515
- fill: ${Colors.BLACK.Hex} !important;
516
- }
517
- `;
518
- const MenuIcon = styled(Icon) `
519
- width: 20px;
520
- height: 20px;
521
- margin: 0px 16px;
522
- flex-shrink: 0;
523
-
524
- > path {
525
- fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
526
- }
527
- `;
528
- const MenuLabel = styled.div `
529
- color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
530
- flex: 1;
531
- font-size: 12px;
532
- font-style: normal;
533
- font-weight: 600;
534
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
535
- line-height: 16px;
536
- padding: 12px 0px;
537
- letter-spacing: 1px;
538
- `;
539
- const SubMenu = styled.div `
540
- overflow-y: auto;
541
- padding-left: 44px;
542
- padding-right: 20px;
543
- padding-bottom: 10px;
544
- `;
545
- const SubMenuItem = styled.a `
546
- display: block;
547
- padding: 8px 12px;
548
- border-radius: 8px;
549
- font-size: 13px;
550
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
551
- line-height: 20px;
552
- text-decoration: none;
553
- font-weight: ${({ $active }) => ($active ? '500' : '400')};
554
- color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
555
- background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
556
- cursor: pointer;
557
-
558
- &:hover {
559
- color: ${props => props.$color.Hex};
560
- font-weight: 500;
561
- }
562
- `;
563
- const Footer = styled.div `
564
- padding: 20px 14px 0px;
565
- display: flex;
566
- align-items: center;
567
- `;
568
- const FooterInfo = styled.div `
569
- display: flex;
570
- flex-direction: column;
571
- flex: 1;
572
- align-items: flex-start;
573
- `;
574
- const SidebarMenuContainer = styled.div `
575
- flex-grow: 1;
491
+ };
492
+
493
+ const SidebarContainer = styled.div `
494
+ border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
495
+ display: flex;
496
+ flex-direction: column;
497
+ height: 100%;
498
+ padding: 12px 0px;
499
+ width: ${props => (props.$isOpen ? props.$width : '60px')};
500
+ `;
501
+ const MenuWrapper$1 = styled.div `
502
+ display: flex;
503
+ align-items: center;
504
+ border-left-width: 4px;
505
+ border-left-style: solid;
506
+ border-left-color: ${props => (props.$active ? props.$color.Hex : 'transparent')};
507
+ cursor: pointer;
508
+ height: 40px;
509
+
510
+ &:hover > div {
511
+ color: ${props => props.$color.Hex};
512
+ }
513
+
514
+ &:hover > svg > path {
515
+ fill: ${Colors.BLACK.Hex} !important;
516
+ }
517
+ `;
518
+ const MenuIcon = styled(Icon) `
519
+ width: 20px;
520
+ height: 20px;
521
+ margin: 0px 16px;
522
+ flex-shrink: 0;
523
+
524
+ > path {
525
+ fill: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)} !important;
526
+ }
527
+ `;
528
+ const MenuLabel = styled.div `
529
+ color: ${props => (props.$active ? props.$color.Hex : Colors.BLACK.Hex)};
530
+ flex: 1;
531
+ font-size: 12px;
532
+ font-style: normal;
533
+ font-weight: 600;
534
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
535
+ line-height: 16px;
536
+ padding: 12px 0px;
537
+ letter-spacing: 1px;
538
+ `;
539
+ const SubMenu = styled.div `
540
+ overflow-y: auto;
541
+ padding-left: 44px;
542
+ padding-right: 20px;
543
+ padding-bottom: 10px;
544
+ `;
545
+ const SubMenuItem = styled.a `
546
+ display: block;
547
+ padding: 8px 12px;
548
+ border-radius: 8px;
549
+ font-size: 13px;
550
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
551
+ line-height: 20px;
552
+ text-decoration: none;
553
+ font-weight: ${({ $active }) => ($active ? '500' : '400')};
554
+ color: ${({ $active }) => ($active ? Colors.BLACK.Hex : Colors.GRAY.Hex)};
555
+ background: ${props => (props.$active ? `rgba(${props.$color.Rgb}, 0.1)` : '#fff')};
556
+ cursor: pointer;
557
+
558
+ &:hover {
559
+ color: ${props => props.$color.Hex};
560
+ font-weight: 500;
561
+ }
562
+ `;
563
+ const Footer = styled.div `
564
+ padding: 20px 14px 0px;
565
+ display: flex;
566
+ align-items: center;
567
+ `;
568
+ const FooterInfo = styled.div `
569
+ display: flex;
570
+ flex-direction: column;
571
+ flex: 1;
572
+ align-items: flex-start;
573
+ `;
574
+ const SidebarMenuContainer = styled.div `
575
+ flex-grow: 1;
576
576
  `;
577
577
  const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
578
578
  const theme = useContext(ThemeContext) || EditableTheme;
@@ -596,75 +596,75 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
596
596
  e.preventDefault();
597
597
  toggleCollapse(!collapsed);
598
598
  }, small: true }))));
599
- };
600
-
601
- const Wrapper$e = styled.div `
602
- border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
603
- border-radius: 8px;
604
- box-sizing: border-box;
605
- display: flex;
606
- align-items: center;
607
- justify-content: space-between;
608
- padding: 16px 20px;
599
+ };
600
+
601
+ const Wrapper$e = styled.div `
602
+ border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
603
+ border-radius: 8px;
604
+ box-sizing: border-box;
605
+ display: flex;
606
+ align-items: center;
607
+ justify-content: space-between;
608
+ padding: 16px 20px;
609
609
  `;
610
610
  Wrapper$e.defaultProps = { theme: EditableTheme };
611
- const Left = styled.div `
612
- box-sizing: border-box;
613
- display: flex;
614
- align-items: center;
615
- justify-content: space-between;
616
- flex-shrink: 0;
617
- `;
618
- const Info$1 = styled.div `
619
- box-sizing: border-box;
620
- display: flex;
621
- align-items: center;
622
- margin-right: 30px;
623
- `;
624
- const Selected = styled.span `
625
- font-size: 14px;
626
- font-weight: 400;
627
- font-family: ${FontStyles.DEFAULT};
628
- color: ${Colors.BLACK.Hex};
629
- line-height: 1;
630
- `;
631
- const Clear = styled.span `
632
- font-size: 14px;
633
- font-weight: 400;
634
- font-family: ${FontStyles.DEFAULT};
635
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
636
- line-height: 1;
637
- cursor: pointer;
638
- padding-left: 10px;
639
- margin-left: 10px;
640
- border-left: 1px solid #ccc;
611
+ const Left = styled.div `
612
+ box-sizing: border-box;
613
+ display: flex;
614
+ align-items: center;
615
+ justify-content: space-between;
616
+ flex-shrink: 0;
617
+ `;
618
+ const Info$1 = styled.div `
619
+ box-sizing: border-box;
620
+ display: flex;
621
+ align-items: center;
622
+ margin-right: 30px;
623
+ `;
624
+ const Selected = styled.span `
625
+ font-size: 14px;
626
+ font-weight: 400;
627
+ font-family: ${FontStyles.DEFAULT};
628
+ color: ${Colors.BLACK.Hex};
629
+ line-height: 1;
630
+ `;
631
+ const Clear = styled.span `
632
+ font-size: 14px;
633
+ font-weight: 400;
634
+ font-family: ${FontStyles.DEFAULT};
635
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
636
+ line-height: 1;
637
+ cursor: pointer;
638
+ padding-left: 10px;
639
+ margin-left: 10px;
640
+ border-left: 1px solid #ccc;
641
641
  `;
642
642
  Clear.defaultProps = { theme: EditableTheme };
643
- const Actions$1 = styled.div `
644
- box-sizing: border-box;
645
- display: flex;
646
- align-items: center;
647
- column-gap: 10px;
648
- `;
649
- const Error$1 = styled.div `
650
- box-sizing: border-box;
651
- display: flex;
652
- align-items: center;
653
- background: rgba(${Colors.RED.Rgb}, 0.1);
654
- border-radius: 4px;
655
- padding: 6px 8px;
656
- text-overflow: ellipsis;
657
- white-space: nowrap;
658
- overflow: hidden;
659
- margin-left: 30px;
660
- `;
661
- const ErrorMsg = styled.span `
662
- font-size: 14px;
663
- font-weight: 500;
664
- font-family: ${FontStyles.DEFAULT};
665
- line-height: 1em;
666
- color: ${Colors.RED.Hex};
667
- margin-left: 8px;
643
+ const Actions$1 = styled.div `
644
+ box-sizing: border-box;
645
+ display: flex;
646
+ align-items: center;
647
+ column-gap: 10px;
648
+ `;
649
+ const Error$1 = styled.div `
650
+ box-sizing: border-box;
651
+ display: flex;
652
+ align-items: center;
653
+ background: rgba(${Colors.RED.Rgb}, 0.1);
654
+ border-radius: 4px;
655
+ padding: 6px 8px;
656
+ text-overflow: ellipsis;
657
+ white-space: nowrap;
658
+ overflow: hidden;
659
+ margin-left: 30px;
660
+ `;
661
+ const ErrorMsg = styled.span `
662
+ font-size: 14px;
663
+ font-weight: 500;
664
+ font-family: ${FontStyles.DEFAULT};
665
+ line-height: 1em;
666
+ color: ${Colors.RED.Hex};
667
+ margin-left: 8px;
668
668
  `;
669
669
  const BulkActionBar = (_a) => {
670
670
  var { actions = [], errorMsg, onClear, selectedCount = 0 } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
@@ -679,8 +679,8 @@ const BulkActionBar = (_a) => {
679
679
  errorMsg ? (React.createElement(Error$1, null,
680
680
  React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
681
681
  React.createElement(ErrorMsg, null, errorMsg))) : null));
682
- };
683
-
682
+ };
683
+
684
684
  const Wrapper$d = styled.div `
685
685
  background: #fff;
686
686
  border-radius: 8px;
@@ -733,17 +733,14 @@ const MoreMenu = (_a) => {
733
733
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
734
734
  React.createElement(Title$1, { disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
735
735
  })));
736
- };
737
-
736
+ };
737
+
738
738
  const MenuWrapper = styled.div `
739
- position: relative;
739
+ position: relative; // Ensure this is relative
740
740
  display: inline-block;
741
741
  `;
742
742
  const StyledMoreMenu = styled(MoreMenu) `
743
- position: fixed;
744
- top: ${props => props.$top};
745
- left: ${props => props.$left};
746
- position: fixed;
743
+ position: absolute; // Changed from fixed to absolute
747
744
  top: ${props => props.$top};
748
745
  left: ${props => props.$left};
749
746
  width: ${props => props.$menuWidth};
@@ -776,44 +773,44 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
776
773
  if (showMenu && menuWrapperRef.current) {
777
774
  const wrapperRect = menuWrapperRef.current.getBoundingClientRect();
778
775
  const menuWidthInt = parseInt(menuWidth, 10);
779
- let top = wrapperRect.top;
780
- let left = wrapperRect.left;
776
+ let top = 0;
777
+ let left = 0;
781
778
  switch (position) {
782
779
  case 'top':
783
- top = wrapperRect.top - 142; // Menu above the wrapper
784
- left = wrapperRect.left;
780
+ top = -142; // Menu above the wrapper
781
+ left = 0;
785
782
  break;
786
783
  case 'bottom':
787
- top = wrapperRect.bottom; // Menu below the wrapper
788
- left = wrapperRect.left;
784
+ top = wrapperRect.height; // Menu below the wrapper
785
+ left = 0;
789
786
  break;
790
787
  case 'left':
791
- top = wrapperRect.top;
792
- left = wrapperRect.left - menuWidthInt; // Menu to the left of the wrapper
788
+ top = 0;
789
+ left = -menuWidthInt; // Menu to the left of the wrapper
793
790
  break;
794
791
  case 'right':
795
- top = wrapperRect.top;
796
- left = wrapperRect.right; // Menu to the right of the wrapper
792
+ top = 0;
793
+ left = wrapperRect.width; // Menu to the right of the wrapper
797
794
  break;
798
795
  case 'bottomLeft':
799
- top = wrapperRect.bottom;
800
- left = wrapperRect.right - menuWidthInt;
796
+ top = wrapperRect.height;
797
+ left = wrapperRect.width - menuWidthInt;
801
798
  break;
802
799
  case 'bottomRight':
803
- top = wrapperRect.bottom;
804
- left = wrapperRect.left;
800
+ top = wrapperRect.height;
801
+ left = 0;
805
802
  break;
806
803
  case 'topRight':
807
- top = wrapperRect.top - 142;
808
- left = wrapperRect.right - 24;
804
+ top = -142;
805
+ left = wrapperRect.width - 24;
809
806
  break;
810
807
  case 'topLeft':
811
- top = wrapperRect.top - 142;
812
- left = wrapperRect.left - 188;
808
+ top = -142;
809
+ left = -188;
813
810
  break;
814
811
  default:
815
- top = wrapperRect.bottom;
816
- left = wrapperRect.left;
812
+ top = wrapperRect.height;
813
+ left = 0;
817
814
  break;
818
815
  }
819
816
  setMenuPosition({ top: `${top}px`, left: `${left}px` });
@@ -822,19 +819,19 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
822
819
  return (React.createElement(MenuWrapper, { onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
823
820
  React.createElement(Button, { disabled: disabled, format: format, icon: mdiDotsHorizontal, small: small }, label),
824
821
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, maxHeight: maxHeight, menuItems: menuItems }))));
825
- };
826
-
827
- const Wrapper$c = styled.div `
828
- display: inline-block;
829
- position: relative;
830
- height: 16px;
831
- `;
832
- const StyledIcon$4 = styled(Icon) `
833
- width: 16px;
834
- height: 16px;
835
- margin: 0px 6px;
836
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
837
- cursor: pointer;
822
+ };
823
+
824
+ const Wrapper$c = styled.div `
825
+ display: inline-block;
826
+ position: relative;
827
+ height: 16px;
828
+ `;
829
+ const StyledIcon$4 = styled(Icon) `
830
+ width: 16px;
831
+ height: 16px;
832
+ margin: 0px 6px;
833
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
834
+ cursor: pointer;
838
835
  `;
839
836
  StyledIcon$4.defaultProps = { theme: EditableTheme };
840
837
  const positions = {
@@ -872,85 +869,85 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
872
869
  return (React.createElement(Wrapper$c, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
873
870
  trigger || React.createElement(StyledIcon$4, { path: mdiInformationOutline }),
874
871
  show_content ? (React.createElement(Content$2, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
875
- };
876
-
877
- const Wrapper$b = styled.label `
878
- border-radius: 4px;
879
- padding: 4px 0px 4px 6px;
880
- margin-left: -6px;
881
- cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
882
- display: flex;
883
- align-items: center;
884
- font-size: ${FontSizes.DEFAULT};
885
- line-height: 1.6em;
886
- box-sizing: border-box;
887
- position: relative;
888
-
889
- &:focus-within {
890
- background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
891
- }
872
+ };
873
+
874
+ const Wrapper$b = styled.label `
875
+ border-radius: 4px;
876
+ padding: 4px 0px 4px 6px;
877
+ margin-left: -6px;
878
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
879
+ display: flex;
880
+ align-items: center;
881
+ font-size: ${FontSizes.DEFAULT};
882
+ line-height: 1.6em;
883
+ box-sizing: border-box;
884
+ position: relative;
885
+
886
+ &:focus-within {
887
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
888
+ }
892
889
  `;
893
890
  Wrapper$b.defaultProps = { theme: EditableTheme };
894
- const Input$2 = styled.input `
895
- font-size: 20px;
896
- margin: 0px;
897
- line-height: 1.1em;
898
- box-sizing: border-box;
899
- position: absolute;
900
- opacity: 0;
901
- cursor: pointer;
902
- height: 0;
903
- width: 0;
904
- &:checked + span {
905
- background-color: ${Colors.PRIMARY.Hex};
906
- border-color: ${Colors.PRIMARY.Hex};
907
- }
908
- &:checked:disabled + span {
909
- background-color: ${Colors.MEDIUM_GRAY.Hex};
910
- border-color: ${Colors.MEDIUM_GRAY.Hex};
911
- }
912
- &:disabled + span {
913
- background-color: #d3d3d3;
914
- border-color: #d3d3d3;
915
- }
916
- &:checked + span:after {
917
- display: block;
918
- }
919
- `;
920
- const Check$1 = styled.span `
921
- height: 17px;
922
- width: 17px;
923
- min-width: 17px;
924
- background-color: #fff;
925
- border-width: 2px;
926
- border-style: solid;
927
- border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
928
- box-sizing: border-box;
929
- position: relative;
930
- &:after {
931
- content: '';
932
- position: absolute;
933
- left: 3px;
934
- top: 0px;
935
- width: 7px;
936
- height: 12px;
937
- border: solid white;
938
- border-width: 0 3px 3px 0;
939
- -webkit-transform: rotate(45deg);
940
- -ms-transform: rotate(45deg);
941
- transform: rotate(45deg);
942
- box-sizing: border-box;
943
- display: none;
944
- }
945
- `;
946
- const Label$3 = styled.span `
947
- font-family: ${FontStyles.DEFAULT};
948
- font-size: ${FontSizes.DEFAULT};
949
- font-weight: 400;
950
- line-height: 1.6em;
951
- color: ${props => props.color || Colors.BLACK.Hex};
952
- margin-left: 6px;
953
- box-sizing: border-box;
891
+ const Input$2 = styled.input `
892
+ font-size: 20px;
893
+ margin: 0px;
894
+ line-height: 1.1em;
895
+ box-sizing: border-box;
896
+ position: absolute;
897
+ opacity: 0;
898
+ cursor: pointer;
899
+ height: 0;
900
+ width: 0;
901
+ &:checked + span {
902
+ background-color: ${Colors.PRIMARY.Hex};
903
+ border-color: ${Colors.PRIMARY.Hex};
904
+ }
905
+ &:checked:disabled + span {
906
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
907
+ border-color: ${Colors.MEDIUM_GRAY.Hex};
908
+ }
909
+ &:disabled + span {
910
+ background-color: #d3d3d3;
911
+ border-color: #d3d3d3;
912
+ }
913
+ &:checked + span:after {
914
+ display: block;
915
+ }
916
+ `;
917
+ const Check$1 = styled.span `
918
+ height: 17px;
919
+ width: 17px;
920
+ min-width: 17px;
921
+ background-color: #fff;
922
+ border-width: 2px;
923
+ border-style: solid;
924
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
925
+ box-sizing: border-box;
926
+ position: relative;
927
+ &:after {
928
+ content: '';
929
+ position: absolute;
930
+ left: 3px;
931
+ top: 0px;
932
+ width: 7px;
933
+ height: 12px;
934
+ border: solid white;
935
+ border-width: 0 3px 3px 0;
936
+ -webkit-transform: rotate(45deg);
937
+ -ms-transform: rotate(45deg);
938
+ transform: rotate(45deg);
939
+ box-sizing: border-box;
940
+ display: none;
941
+ }
942
+ `;
943
+ const Label$3 = styled.span `
944
+ font-family: ${FontStyles.DEFAULT};
945
+ font-size: ${FontSizes.DEFAULT};
946
+ font-weight: 400;
947
+ line-height: 1.6em;
948
+ color: ${props => props.color || Colors.BLACK.Hex};
949
+ margin-left: 6px;
950
+ box-sizing: border-box;
954
951
  `;
955
952
  const Checkbox = (_a) => {
956
953
  var { children, color, disabled, checked, onChange, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "color", "disabled", "checked", "onChange", "invalid", "tooltip"]);
@@ -960,16 +957,16 @@ const Checkbox = (_a) => {
960
957
  children ? (React.createElement(Label$3, { color: color },
961
958
  children,
962
959
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
963
- };
964
-
965
- const SelectAll = styled.div `
966
- padding: 8px 12px;
967
- border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
968
- box-sizing: border-box;
960
+ };
961
+
962
+ const SelectAll = styled.div `
963
+ padding: 8px 12px;
964
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
965
+ box-sizing: border-box;
969
966
  `;
970
- const Options$1 = styled.div `
971
- padding: 12px;
972
- box-sizing: border-box;
967
+ const Options$1 = styled.div `
968
+ padding: 12px;
969
+ box-sizing: border-box;
973
970
  `;
974
971
  const Checklist = (_a) => {
975
972
  var { disabled, onChange, options, selected = [], showSelectAll } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
@@ -1006,8 +1003,8 @@ const Checklist = (_a) => {
1006
1003
  const checked = selected.includes(option.value);
1007
1004
  return (React.createElement(Checkbox, Object.assign({ key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1008
1005
  }))));
1009
- };
1010
-
1006
+ };
1007
+
1011
1008
  const Wrapper$a = styled.div `
1012
1009
  border-radius: 4px;
1013
1010
  height: 40px;
@@ -1072,48 +1069,42 @@ const SearchInput$1 = styled.input `
1072
1069
  white-space: nowrap;
1073
1070
  `;
1074
1071
  const Select = (_a) => {
1075
- var { options, optionGroups, placeholder, readOnly, invalid, searchable = false, value, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style"]);
1072
+ var { options, optionGroups, placeholder = '--Select-One--', readOnly, invalid, searchable = false, value: propValue, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "searchable", "value", "onChange", "style"]);
1076
1073
  const [searchTerm, setSearchTerm] = useState('');
1074
+ const [value, setValue] = useState(propValue || '');
1077
1075
  const handleSearch = (event) => {
1078
1076
  setSearchTerm(event.target.value);
1079
1077
  };
1080
- const filteredOptions = options === null || options === void 0 ? void 0 : options.filter(option => { var _a; return (_a = option.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchTerm.toLowerCase()); });
1081
- const filteredOptionGroups = optionGroups === null || optionGroups === void 0 ? void 0 : optionGroups.map(group => (Object.assign(Object.assign({}, group), { options: group.options.filter(option => { var _a; return (_a = option.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchTerm.toLowerCase()); }) })));
1078
+ const handleChange = (event) => {
1079
+ setValue(event.target.value);
1080
+ if (onChange) {
1081
+ onChange(event);
1082
+ }
1083
+ };
1084
+ const filteredOptions = searchable
1085
+ ? options === null || options === void 0 ? void 0 : options.filter(option => { var _a; return (_a = option.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchTerm.toLowerCase()); })
1086
+ : options;
1087
+ const filteredOptionGroups = searchable
1088
+ ? optionGroups === null || optionGroups === void 0 ? void 0 : optionGroups.map(group => (Object.assign(Object.assign({}, group), { options: group.options.filter(option => { var _a; return (_a = option.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchTerm.toLowerCase()); }) })))
1089
+ : optionGroups;
1082
1090
  return (React.createElement(Wrapper$a, { "$invalid": invalid, "$readOnly": readOnly, "$style": style },
1083
- searchable && (React.createElement(SearchInput$1, Object.assign({ onChange: handleSearch, placeholder: '--Select-One-', type: 'text', value: searchTerm }, accessibleProps))),
1084
- searchable ? (React.createElement(Trigger$1, Object.assign({ disabled: readOnly, onChange: onChange, placeholder: placeholder, value: value }, accessibleProps),
1085
- placeholder ? (React.createElement("option", { disabled: true, value: '' }, placeholder)) : null,
1091
+ searchable && (React.createElement(SearchInput$1, Object.assign({ onChange: handleSearch, placeholder: placeholder, type: 'text', value: searchTerm }, accessibleProps))),
1092
+ React.createElement(Trigger$1, Object.assign({ disabled: readOnly, onChange: handleChange, placeholder: placeholder, value: value }, accessibleProps),
1093
+ placeholder && !value && (React.createElement("option", { disabled: true, value: '' }, placeholder)),
1086
1094
  filteredOptionGroups &&
1087
- filteredOptionGroups.map((group, i) => {
1088
- return (React.createElement("optgroup", { key: i, label: group.label || `Group ${i}` }, group.options.map((option, i) => {
1089
- return (option.label && (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)));
1090
- })));
1091
- }),
1095
+ filteredOptionGroups.map((group, i) => (React.createElement("optgroup", { key: i, label: group.label || `Group ${i}` }, group.options.map((option, i) => (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))))),
1092
1096
  filteredOptions &&
1093
- filteredOptions.map((option, i) => {
1094
- return (option.label && (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)));
1095
- }))) : (React.createElement(Trigger$1, Object.assign({ disabled: readOnly, onChange: onChange, placeholder: placeholder, value: value }, accessibleProps),
1096
- placeholder ? (React.createElement("option", { disabled: true, value: '' }, placeholder)) : null,
1097
- optionGroups &&
1098
- optionGroups.map((group, i) => {
1099
- return (React.createElement("optgroup", { key: i, label: group.label || `Group ${i}` }, group.options.map((option, i) => {
1100
- return (React.createElement("option", { key: i, value: option.value }, option.label || option.value));
1101
- })));
1102
- }),
1103
- options &&
1104
- options.map((option, i) => {
1105
- return (React.createElement("option", { key: i, value: option.value }, option.label || option.value));
1106
- }))),
1097
+ filteredOptions.map((option, i) => (React.createElement("option", { key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
1107
1098
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' })));
1108
- };
1109
-
1110
- const DatePickerWrapper = styled.div `
1111
- display: flex;
1112
- width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1099
+ };
1100
+
1101
+ const DatePickerWrapper = styled.div `
1102
+ display: flex;
1103
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
1113
1104
  `;
1114
- const Middle = styled.div `
1115
- margin: 0px -1px;
1116
- flex-grow: 1;
1105
+ const Middle = styled.div `
1106
+ margin: 0px -1px;
1107
+ flex-grow: 1;
1117
1108
  `;
1118
1109
  const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate = null, date, onChange, style, }) => {
1119
1110
  const [selectedDay, setSelectedDay] = useState('');
@@ -1195,66 +1186,66 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
1195
1186
  React.createElement(Middle, null,
1196
1187
  React.createElement(Select, { invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1197
1188
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, placeholder: 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1198
- };
1199
-
1200
- const Scrim$1 = styled.div `
1201
- position: ${({ $position }) => $position};
1202
- top: 0;
1203
- right: 0;
1204
- bottom: 0;
1205
- left: 0;
1206
- z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1207
- background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1208
- `;
1209
- const Container$2 = styled.div `
1210
- z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1211
- min-width: 400px;
1212
- width: ${({ $width }) => $width || '400px'};
1213
- overflow: hidden;
1214
- box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1215
- outline: none;
1216
- border: none;
1217
- position: ${({ $position }) => $position};
1218
- top: 0;
1219
- right: 0;
1220
- bottom: 0;
1221
- padding: 0px;
1222
- display: flex;
1223
- flex-direction: column;
1224
- box-sizing: border-box;
1225
- background: #fff;
1226
- `;
1227
- const Header$2 = styled.div `
1228
- padding: 30px 20px;
1229
- display: flex;
1230
- align-items: flex-start;
1231
- box-sizing: border-box;
1232
- flex-shrink: 0;
1233
- background: #fff;
1234
- `;
1235
- const Close$1 = styled.div `
1236
- margin-left: auto;
1237
- display: flex;
1238
- align-items: center;
1239
- padding-left: 20px;
1240
- cursor: pointer;
1241
- `;
1242
- const ContentWrapper$1 = styled.div `
1243
- overflow-x: hidden;
1244
- overflow-y: auto;
1245
- box-sizing: border-box;
1246
- flex: 1;
1247
- background: #fff;
1248
- `;
1249
- const ButtonBar$1 = styled.div `
1250
- padding: 20px;
1251
- display: flex;
1252
- align-items: center;
1253
- justify-content: flex-end;
1254
- box-sizing: border-box;
1255
- gap: 10px;
1256
- flex-shrink: 0;
1257
- background: #fff;
1189
+ };
1190
+
1191
+ const Scrim$1 = styled.div `
1192
+ position: ${({ $position }) => $position};
1193
+ top: 0;
1194
+ right: 0;
1195
+ bottom: 0;
1196
+ left: 0;
1197
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
1198
+ background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
1199
+ `;
1200
+ const Container$2 = styled.div `
1201
+ z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
1202
+ min-width: 400px;
1203
+ width: ${({ $width }) => $width || '400px'};
1204
+ overflow: hidden;
1205
+ box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
1206
+ outline: none;
1207
+ border: none;
1208
+ position: ${({ $position }) => $position};
1209
+ top: 0;
1210
+ right: 0;
1211
+ bottom: 0;
1212
+ padding: 0px;
1213
+ display: flex;
1214
+ flex-direction: column;
1215
+ box-sizing: border-box;
1216
+ background: #fff;
1217
+ `;
1218
+ const Header$2 = styled.div `
1219
+ padding: 30px 20px;
1220
+ display: flex;
1221
+ align-items: flex-start;
1222
+ box-sizing: border-box;
1223
+ flex-shrink: 0;
1224
+ background: #fff;
1225
+ `;
1226
+ const Close$1 = styled.div `
1227
+ margin-left: auto;
1228
+ display: flex;
1229
+ align-items: center;
1230
+ padding-left: 20px;
1231
+ cursor: pointer;
1232
+ `;
1233
+ const ContentWrapper$1 = styled.div `
1234
+ overflow-x: hidden;
1235
+ overflow-y: auto;
1236
+ box-sizing: border-box;
1237
+ flex: 1;
1238
+ background: #fff;
1239
+ `;
1240
+ const ButtonBar$1 = styled.div `
1241
+ padding: 20px;
1242
+ display: flex;
1243
+ align-items: center;
1244
+ justify-content: flex-end;
1245
+ box-sizing: border-box;
1246
+ gap: 10px;
1247
+ flex-shrink: 0;
1248
+ background: #fff;
1258
1249
  `;
1259
1250
  const Drawer = (_a) => {
1260
1251
  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"]);
@@ -1281,56 +1272,56 @@ const Drawer = (_a) => {
1281
1272
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
1282
1273
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
1283
1274
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary' }))) : null)) : null),
1284
- scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1285
- };
1286
-
1287
- const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1288
- const LabelRow = styled.div `
1289
- display: flex;
1290
- align-items: center;
1291
- justify-content: space-between;
1292
- margin: 0 0 4px 0;
1293
- box-sizing: border-box;
1294
- `;
1295
- const Label$2 = styled.label `
1296
- font-size: ${FontSizes.DEFAULT};
1297
- font-weight: 500;
1298
- line-height: 1.3em;
1299
- font-family: ${FontStyles.DEFAULT};
1300
- color: ${Colors.BLACK.Hex};
1301
- display: flex;
1302
- align-items: center;
1303
- `;
1304
- const Required = styled.span `
1305
- color: ${Colors.RED.Hex};
1306
- margin-left: 4px;
1307
- `;
1308
- const Action = styled.span `
1309
- font-size: ${FontSizes.DEFAULT};
1310
- font-weight: 500;
1311
- line-height: 1em;
1312
- font-family: ${FontStyles.DEFAULT};
1313
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1314
- cursor: pointer;
1315
- `;
1316
- Action.defaultProps = { theme: EditableTheme };
1317
- const Description = styled.div `
1318
- font-size: ${FontSizes.SMALL};
1319
- font-weight: 400;
1320
- line-height: 1.3em;
1321
- font-family: ${FontStyles.DEFAULT};
1322
- color: ${Colors.BLACK.Hex};
1323
- margin: 0 0 8px 0;
1324
- box-sizing: border-box;
1325
- `;
1326
- const Validation = styled.div `
1327
- font-size: ${FontSizes.SMALL};
1328
- font-weight: 400;
1329
- line-height: 1.3em;
1330
- font-family: ${FontStyles.DEFAULT};
1331
- color: ${Colors.RED.Hex};
1332
- margin: 4px 0 0 0;
1333
- box-sizing: border-box;
1275
+ scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
1276
+ };
1277
+
1278
+ const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1279
+ const LabelRow = styled.div `
1280
+ display: flex;
1281
+ align-items: center;
1282
+ justify-content: space-between;
1283
+ margin: 0 0 4px 0;
1284
+ box-sizing: border-box;
1285
+ `;
1286
+ const Label$2 = styled.label `
1287
+ font-size: ${FontSizes.DEFAULT};
1288
+ font-weight: 500;
1289
+ line-height: 1.3em;
1290
+ font-family: ${FontStyles.DEFAULT};
1291
+ color: ${Colors.BLACK.Hex};
1292
+ display: flex;
1293
+ align-items: center;
1294
+ `;
1295
+ const Required = styled.span `
1296
+ color: ${Colors.RED.Hex};
1297
+ margin-left: 4px;
1298
+ `;
1299
+ const Action = styled.span `
1300
+ font-size: ${FontSizes.DEFAULT};
1301
+ font-weight: 500;
1302
+ line-height: 1em;
1303
+ font-family: ${FontStyles.DEFAULT};
1304
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1305
+ cursor: pointer;
1306
+ `;
1307
+ Action.defaultProps = { theme: EditableTheme };
1308
+ const Description = styled.div `
1309
+ font-size: ${FontSizes.SMALL};
1310
+ font-weight: 400;
1311
+ line-height: 1.3em;
1312
+ font-family: ${FontStyles.DEFAULT};
1313
+ color: ${Colors.BLACK.Hex};
1314
+ margin: 0 0 8px 0;
1315
+ box-sizing: border-box;
1316
+ `;
1317
+ const Validation = styled.div `
1318
+ font-size: ${FontSizes.SMALL};
1319
+ font-weight: 400;
1320
+ line-height: 1.3em;
1321
+ font-family: ${FontStyles.DEFAULT};
1322
+ color: ${Colors.RED.Hex};
1323
+ margin: 4px 0 0 0;
1324
+ box-sizing: border-box;
1334
1325
  `;
1335
1326
  const Field = (_a) => {
1336
1327
  var { action, children, validationText, label, description, required, htmlFor, style = {}, tooltip } = _a, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style", "tooltip"]);
@@ -1344,112 +1335,112 @@ const Field = (_a) => {
1344
1335
  description ? React.createElement(Description, null, description) : null,
1345
1336
  children,
1346
1337
  validationText ? React.createElement(Validation, null, validationText) : null));
1347
- };
1348
-
1349
- const Wrapper$8 = styled.fieldset `
1350
- margin-inline-start: 0px;
1351
- margin-inline-end: 0px;
1352
- padding-block-start: 0px;
1353
- padding-inline-start: 0px;
1354
- padding-inline-end: 0px;
1355
- padding-block-end: 0px;
1356
- min-inline-size: min-content;
1357
- border-width: 0px;
1358
- border-style: none;
1359
- border-color: transparent;
1360
- border-image: none;
1361
- `;
1362
- const Label$1 = styled.legend `
1363
- padding-inline-start: 0px;
1364
- padding-inline-end: 0px;
1365
-
1366
- color: ${Colors.BLACK.Hex};
1367
- font-family: ${FontStyles.DEFAULT};
1368
- font-size: ${FontSizes.DEFAULT};
1369
- font-weight: 500;
1370
- line-height: 22px;
1371
- margin-bottom: 6px;
1372
- `;
1373
- const Content$1 = styled.div `
1374
- padding: 20px;
1375
- border-radius: 8px;
1376
- background: #fcfcfc;
1338
+ };
1339
+
1340
+ const Wrapper$8 = styled.fieldset `
1341
+ margin-inline-start: 0px;
1342
+ margin-inline-end: 0px;
1343
+ padding-block-start: 0px;
1344
+ padding-inline-start: 0px;
1345
+ padding-inline-end: 0px;
1346
+ padding-block-end: 0px;
1347
+ min-inline-size: min-content;
1348
+ border-width: 0px;
1349
+ border-style: none;
1350
+ border-color: transparent;
1351
+ border-image: none;
1352
+ `;
1353
+ const Label$1 = styled.legend `
1354
+ padding-inline-start: 0px;
1355
+ padding-inline-end: 0px;
1356
+
1357
+ color: ${Colors.BLACK.Hex};
1358
+ font-family: ${FontStyles.DEFAULT};
1359
+ font-size: ${FontSizes.DEFAULT};
1360
+ font-weight: 500;
1361
+ line-height: 22px;
1362
+ margin-bottom: 6px;
1363
+ `;
1364
+ const Content$1 = styled.div `
1365
+ padding: 20px;
1366
+ border-radius: 8px;
1367
+ background: #fcfcfc;
1377
1368
  `;
1378
1369
  const FieldGroup = ({ children, label }) => {
1379
1370
  return (React.createElement(Wrapper$8, null,
1380
1371
  React.createElement(Label$1, null, label),
1381
1372
  React.createElement(Content$1, null, children)));
1382
- };
1383
-
1384
- const Dropzone = styled.div `
1385
- border-radius: 8px;
1386
- border-width: 1px;
1387
- border-style: dashed;
1388
- border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1389
- background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1390
- cursor: copy;
1373
+ };
1374
+
1375
+ const Dropzone = styled.div `
1376
+ border-radius: 8px;
1377
+ border-width: 1px;
1378
+ border-style: dashed;
1379
+ border-color: ${props => (props.$dragging ? props.theme.PRIMARY_COLOR.Hex : '#cccccc')};
1380
+ background: ${props => props.$dragging ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)` : '#ffffff'};
1381
+ cursor: copy;
1391
1382
  `;
1392
1383
  Dropzone.defaultProps = { theme: EditableTheme };
1393
- const IconWrapper$1 = styled.div `
1394
- width: 80px;
1395
- height: 80px;
1396
- border-radius: 40px;
1397
- background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1398
- display: flex;
1399
- align-items: center;
1400
- justify-content: center;
1401
- `;
1402
- const StyledIcon$3 = styled(Icon) `
1403
- width: 40px !important;
1404
- height: 40px !important;
1405
-
1406
- > path {
1407
- fill: ${Colors.GRAY.Hex} !important;
1408
- }
1409
- `;
1410
- const ClickZone = styled.div `
1411
- margin: 40px 20px;
1412
- display: flex;
1413
- flex-direction: column;
1414
- align-items: center;
1415
- gap: 16px;
1416
- `;
1417
- const Content = styled.div `
1418
- display: flex;
1419
- flex-direction: column;
1420
- align-items: center;
1421
- gap: 2px;
1422
- `;
1423
- const Files = styled.div `
1424
- display: flex;
1425
- flex-direction: column;
1426
- align-self: stretch;
1427
- gap: 10px;
1428
- margin: 20px;
1429
- `;
1430
- const MessageDiv = styled.div `
1431
- display: flex;
1432
- align-items: center;
1433
- justify-content: center;
1434
- `;
1435
- const File = styled.div `
1436
- display: flex;
1437
- padding: 10px;
1438
- align-items: center;
1439
- justify-content: space-between;
1440
- gap: 10px;
1441
- border-radius: 4px;
1442
- border: 1px solid #cccccc;
1443
- background: #ffffff;
1444
- `;
1445
- const Remove = styled(Icon) `
1446
- width: 24px;
1447
- height: 24px;
1448
- cursor: pointer;
1449
-
1450
- > path {
1451
- fill: ${Colors.RED.Hex} !important;
1452
- }
1384
+ const IconWrapper$1 = styled.div `
1385
+ width: 80px;
1386
+ height: 80px;
1387
+ border-radius: 40px;
1388
+ background: ${props => (props.$dragging ? '#ffffff' : '#f5f5f5')};
1389
+ display: flex;
1390
+ align-items: center;
1391
+ justify-content: center;
1392
+ `;
1393
+ const StyledIcon$3 = styled(Icon) `
1394
+ width: 40px !important;
1395
+ height: 40px !important;
1396
+
1397
+ > path {
1398
+ fill: ${Colors.GRAY.Hex} !important;
1399
+ }
1400
+ `;
1401
+ const ClickZone = styled.div `
1402
+ margin: 40px 20px;
1403
+ display: flex;
1404
+ flex-direction: column;
1405
+ align-items: center;
1406
+ gap: 16px;
1407
+ `;
1408
+ const Content = styled.div `
1409
+ display: flex;
1410
+ flex-direction: column;
1411
+ align-items: center;
1412
+ gap: 2px;
1413
+ `;
1414
+ const Files = styled.div `
1415
+ display: flex;
1416
+ flex-direction: column;
1417
+ align-self: stretch;
1418
+ gap: 10px;
1419
+ margin: 20px;
1420
+ `;
1421
+ const MessageDiv = styled.div `
1422
+ display: flex;
1423
+ align-items: center;
1424
+ justify-content: center;
1425
+ `;
1426
+ const File = styled.div `
1427
+ display: flex;
1428
+ padding: 10px;
1429
+ align-items: center;
1430
+ justify-content: space-between;
1431
+ gap: 10px;
1432
+ border-radius: 4px;
1433
+ border: 1px solid #cccccc;
1434
+ background: #ffffff;
1435
+ `;
1436
+ const Remove = styled(Icon) `
1437
+ width: 24px;
1438
+ height: 24px;
1439
+ cursor: pointer;
1440
+
1441
+ > path {
1442
+ fill: ${Colors.RED.Hex} !important;
1443
+ }
1453
1444
  `;
1454
1445
  const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, value = [], message, tooltipInfo = '', validateFile, }) => {
1455
1446
  const inputRef = useRef(null);
@@ -1567,8 +1558,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
1567
1558
  React.createElement(Copy, { align: 'center', color: 'GRAY' }, message),
1568
1559
  tooltipInfo && (React.createElement("span", null,
1569
1560
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1570
- };
1571
-
1561
+ };
1562
+
1572
1563
  const getAgesFromDob = (dob) => {
1573
1564
  let calculated_current_age = null;
1574
1565
  let calculated_nearest_age = null;
@@ -1641,8 +1632,8 @@ const formatAsSsn = (number) => {
1641
1632
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1642
1633
  }
1643
1634
  return formatted_value;
1644
- };
1645
-
1635
+ };
1636
+
1646
1637
  const StyledInput = styled.input `
1647
1638
  border: none !important;
1648
1639
  background: none !important;
@@ -1738,7 +1729,7 @@ const SuggestedValues = styled.div `
1738
1729
  position: absolute;
1739
1730
  right: -1px;
1740
1731
  top: 39px;
1741
- z-index: 10;
1732
+ z-index: 9999;
1742
1733
  max-height: 220px;
1743
1734
  overflow: auto;
1744
1735
  `;
@@ -1892,63 +1883,63 @@ const Input$1 = (_a) => {
1892
1883
  onSuggestedSelect();
1893
1884
  setShowOptions(false);
1894
1885
  } }, suggestedValue))))) : null));
1895
- };
1896
-
1897
- const Wrapper$7 = styled.a `
1898
- color: ${props => props.theme.PRIMARY_COLOR.Hex};
1899
- font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1900
- line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1901
- letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1902
- font-weight: 500;
1903
- font-style: normal;
1904
- text-decoration: 'none';
1905
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
1906
- margin: 0px;
1907
- padding: 0px;
1908
- box-sizing: border-box;
1909
- cursor: pointer;
1886
+ };
1887
+
1888
+ const Wrapper$7 = styled.a `
1889
+ color: ${props => props.theme.PRIMARY_COLOR.Hex};
1890
+ font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1891
+ line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
1892
+ letter-spacing: ${props => (props.$small ? '1px' : '0px')};
1893
+ font-weight: 500;
1894
+ font-style: normal;
1895
+ text-decoration: 'none';
1896
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
1897
+ margin: 0px;
1898
+ padding: 0px;
1899
+ box-sizing: border-box;
1900
+ cursor: pointer;
1910
1901
  `;
1911
1902
  Wrapper$7.defaultProps = { theme: EditableTheme };
1912
1903
  const Link = (_a) => {
1913
1904
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1914
1905
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
1915
- };
1916
-
1917
- const dash = keyframes `
1918
- 0% {
1919
- stroke-dasharray: 1, 160;
1920
- stroke-dashoffset: 0;
1921
- }
1922
- 50% {
1923
- stroke-dasharray: 80, 160;
1924
- stroke-dashoffset: -32;
1925
- }
1926
- 100% {
1927
- stroke-dasharray: 80, 160;
1928
- stroke-dashoffset: -124;
1929
- }
1930
- `;
1931
- const Spinner = styled.svg `
1932
- z-index: 2;
1933
- position: absolute;
1934
- top: 50%;
1935
- left: 50%;
1936
- transform: translate(-50%, -50%);
1937
- margin: 0 auto;
1938
- width: 40px;
1939
- height: 40px;
1940
- `;
1941
- const Path = styled.path `
1942
- stroke: #0193d7;
1943
- stroke-linecap: round;
1944
- -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1945
- animation: ${dash} 1.1s ease-in-out infinite;
1906
+ };
1907
+
1908
+ const dash = keyframes `
1909
+ 0% {
1910
+ stroke-dasharray: 1, 160;
1911
+ stroke-dashoffset: 0;
1912
+ }
1913
+ 50% {
1914
+ stroke-dasharray: 80, 160;
1915
+ stroke-dashoffset: -32;
1916
+ }
1917
+ 100% {
1918
+ stroke-dasharray: 80, 160;
1919
+ stroke-dashoffset: -124;
1920
+ }
1921
+ `;
1922
+ const Spinner = styled.svg `
1923
+ z-index: 2;
1924
+ position: absolute;
1925
+ top: 50%;
1926
+ left: 50%;
1927
+ transform: translate(-50%, -50%);
1928
+ margin: 0 auto;
1929
+ width: 40px;
1930
+ height: 40px;
1931
+ `;
1932
+ const Path = styled.path `
1933
+ stroke: #0193d7;
1934
+ stroke-linecap: round;
1935
+ -webkit-animation: ${dash} 1.1s ease-in-out infinite;
1936
+ animation: ${dash} 1.1s ease-in-out infinite;
1946
1937
  `;
1947
1938
  const Loader = () => {
1948
1939
  return (React.createElement(Spinner, { viewBox: '0 0 16 18' },
1949
1940
  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' })));
1950
- };
1951
-
1941
+ };
1942
+
1952
1943
  const Steps = styled.div `
1953
1944
  padding: 20px;
1954
1945
  border-bottom: 1px solid #e7e6e6;
@@ -2005,8 +1996,8 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
2005
1996
  step.complete ? (React.createElement(StyledIcon$2, { path: mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
2006
1997
  React.createElement(StepLabel, null, step.label))));
2007
1998
  })));
2008
- };
2009
-
1999
+ };
2000
+
2010
2001
  const Wrapper$6 = styled.div `
2011
2002
  position: fixed;
2012
2003
  top: 0;
@@ -2076,7 +2067,7 @@ const ButtonBar = styled.div `
2076
2067
  box-sizing: border-box;
2077
2068
  `;
2078
2069
  const Modal = (_a) => {
2079
- var { children, title, onClose, maxWidth, fullscreen, steps, primaryButton, secondaryButton, tertiaryButton } = _a, accessibleProps = __rest(_a, ["children", "title", "onClose", "maxWidth", "fullscreen", "steps", "primaryButton", "secondaryButton", "tertiaryButton"]);
2070
+ 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"]);
2080
2071
  useEffect(() => {
2081
2072
  document.onkeydown = e => {
2082
2073
  if (e.key === 'Escape') {
@@ -2096,8 +2087,15 @@ const Modal = (_a) => {
2096
2087
  React.createElement(Icon, { color: Colors.BLACK.Hex, path: mdiClose, size: '24px' }))),
2097
2088
  steps ? React.createElement(ProgressBar, { steps: steps }) : null,
2098
2089
  React.createElement(ContentWrapper, null, children),
2099
- primaryButton || secondaryButton || tertiaryButton ? (React.createElement(ButtonBar, null,
2100
- tertiaryButton ? React.createElement(Button, Object.assign({}, tertiaryButton, { format: 'secondary' })) : null,
2090
+ primaryButton || secondaryButton || tertiaryButton || quarternaryButton ? (React.createElement(ButtonBar, null,
2091
+ tertiaryButton || quarternaryButton ? (React.createElement("div", { style: {
2092
+ marginRight: 'auto',
2093
+ paddingRight: 40,
2094
+ display: 'flex',
2095
+ alignItems: 'center',
2096
+ } },
2097
+ tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary' }))) : null,
2098
+ quarternaryButton ? (React.createElement(Button, Object.assign({}, quarternaryButton, { format: quarternaryButton.format || 'secondary' }))) : null)) : null,
2101
2099
  primaryButton || secondaryButton ? (React.createElement("div", { style: {
2102
2100
  marginLeft: 'auto',
2103
2101
  paddingLeft: 40,
@@ -2106,21 +2104,21 @@ const Modal = (_a) => {
2106
2104
  } },
2107
2105
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary' }))) : null,
2108
2106
  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;
2107
+ };
2108
+
2109
+ const Wrapper$5 = styled.div `
2110
+ position: relative;
2111
+ width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2112
+ `;
2113
+ const Trigger = styled.div `
2114
+ box-sizing: border-box;
2115
+ border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
2116
+ height: 40px;
2117
+ padding: 0 10px;
2118
+ position: relative;
2119
+ cursor: pointer;
2120
+ border-width: 1px;
2121
+ border-style: solid;
2124
2122
  border-color: ${props => {
2125
2123
  if (props.$invalid) {
2126
2124
  return Colors.RED.Hex;
@@ -2131,67 +2129,67 @@ const Trigger = styled.div `
2131
2129
  else {
2132
2130
  return '#cccccc';
2133
2131
  }
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;
2132
+ }};
2133
+ background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
2134
+ background-image: none;
2135
+ display: flex;
2136
+ width: 100%;
2137
+ align-items: center;
2138
+ justify-content: space-between;
2139
+ z-index: 1;
2142
2140
  `;
2143
2141
  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;
2142
+ const Value = styled.div `
2143
+ color: ${Colors.BLACK.Hex};
2144
+ font-family: ${FontStyles.DEFAULT};
2145
+ font-size: ${FontSizes.DEFAULT};
2146
+ font-weight: 400;
2147
+ line-height: 2.9em;
2148
+ overflow: hidden;
2149
+ text-overflow: ellipsis;
2150
+ white-space: nowrap;
2151
+ width: 100%;
2152
+ `;
2153
+ const Options = styled.div `
2154
+ background: #fff;
2155
+ box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
2156
+ border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
2157
+ border-radius: 0px 0px 4px 4px;
2158
+ border-style: solid;
2159
+ border-top: none;
2160
+ border-width: 1px;
2161
+ left: 0;
2162
+ position: relative;
2163
+ right: 0;
2164
+ z-index: 10;
2165
+ max-height: 220px;
2166
+ overflow: auto;
2169
2167
  `;
2170
2168
  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;
2169
+ const Scrim = styled.div `
2170
+ bottom: 0;
2171
+ left: 0;
2172
+ position: fixed;
2173
+ right: 0;
2174
+ top: 0;
2175
+ z-index: 9;
2176
+ `;
2177
+ const SearchInput = styled.input `
2178
+ position: absolute;
2179
+ left: 2px;
2180
+ top: 2px;
2181
+ z-index: 999;
2182
+ width: 90%;
2183
+ height: 30px;
2184
+ border: none;
2185
+ outline: none;
2186
+ color: ${Colors.BLACK.Hex};
2187
+ font-family: ${FontStyles.DEFAULT};
2188
+ font-size: ${FontSizes.DEFAULT};
2189
+ font-weight: 400;
2190
+ line-height: 2.9em;
2191
+ overflow: hidden;
2192
+ white-space: nowrap;
2195
2193
  `;
2196
2194
  const MultiSelect = (_a) => {
2197
2195
  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 +2208,8 @@ const MultiSelect = (_a) => {
2210
2208
  showOptions ? (React.createElement(Options, null,
2211
2209
  React.createElement(Checklist, { onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2212
2210
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
2213
- };
2214
-
2211
+ };
2212
+
2215
2213
  const Wrapper$4 = styled.div `
2216
2214
  display: flex;
2217
2215
  padding: 16px 30px;
@@ -2260,13 +2258,13 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2260
2258
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
2261
2259
  }),
2262
2260
  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;
2261
+ };
2262
+
2263
+ const Wrapper$3 = styled.nav `
2264
+ box-sizing: border-box;
2265
+ display: flex;
2266
+ align-items: center;
2267
+ column-gap: 10px;
2270
2268
  `;
2271
2269
  const Pagination = (_a) => {
2272
2270
  var { currentPage = 1, onClick, pageCount = 0 } = _a, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
@@ -2295,82 +2293,82 @@ const Pagination = (_a) => {
2295
2293
  value: `${p}`,
2296
2294
  })), value: `${currentPage}` }),
2297
2295
  React.createElement(Button, { disabled: is_last_page, icon: 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
- }
2296
+ };
2297
+
2298
+ const Wrapper$2 = styled.label `
2299
+ border-radius: 4px;
2300
+ padding: 4px 0px 4px 6px;
2301
+ margin-left: -6px;
2302
+ cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2303
+ display: flex;
2304
+ align-items: center;
2305
+ font-size: ${FontSizes.DEFAULT};
2306
+ line-height: 1.6em;
2307
+ box-sizing: border-box;
2308
+ position: relative;
2309
+
2310
+ &:focus-within {
2311
+ background: ${props => `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.05)`};
2312
+ }
2315
2313
  `;
2316
2314
  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;
2315
+ const Input = styled.input `
2316
+ font-size: 20px;
2317
+ margin: 0px;
2318
+ line-height: 1.6em;
2319
+ box-sizing: border-box;
2320
+ position: absolute;
2321
+ opacity: 0;
2322
+ cursor: pointer;
2323
+ height: 0;
2324
+ width: 0;
2325
+ &:checked + span {
2326
+ border-color: ${Colors.PRIMARY.Hex};
2327
+ }
2328
+ &:checked + span:after {
2329
+ background-color: ${Colors.PRIMARY.Hex};
2330
+ display: block;
2331
+ }
2332
+ &:disabled + span {
2333
+ background-color: #d3d3d3;
2334
+ border-color: #d3d3d3;
2335
+ }
2336
+ &:disabled + span:after {
2337
+ background-color: #fff;
2338
+ }
2339
+ &:checked:disabled + span:after {
2340
+ background-color: ${Colors.MEDIUM_GRAY.Hex};
2341
+ }
2342
+ `;
2343
+ const Check = styled.span `
2344
+ height: 17px;
2345
+ width: 17px;
2346
+ border-radius: 50%;
2347
+ background-color: #fff;
2348
+ border-width: 2px;
2349
+ border-style: solid;
2350
+ border-color: ${props => (props.$invalid ? `${Colors.RED.Hex}` : `${Colors.GRAY.Hex}`)};
2351
+ box-sizing: border-box;
2352
+ position: relative;
2353
+ &:after {
2354
+ content: '';
2355
+ position: absolute;
2356
+ top: 2px;
2357
+ left: 2px;
2358
+ width: 9px;
2359
+ height: 9px;
2360
+ border-radius: 50%;
2361
+ box-sizing: border-box;
2362
+ display: none;
2363
+ }
2364
+ `;
2365
+ const Label = styled.span `
2366
+ font-family: ${FontStyles.DEFAULT};
2367
+ font-size: ${FontSizes.DEFAULT};
2368
+ font-weight: 400;
2369
+ color: ${Colors.BLACK.Hex};
2370
+ line-height: 1.6em;
2371
+ margin-left: 6px;
2374
2372
  `;
2375
2373
  const Radio = (_a) => {
2376
2374
  var { children, disabled, checked, onChange, value, invalid, tooltip } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange", "value", "invalid", "tooltip"]);
@@ -2380,77 +2378,77 @@ const Radio = (_a) => {
2380
2378
  React.createElement(Label, null,
2381
2379
  children,
2382
2380
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2383
- };
2384
-
2381
+ };
2382
+
2385
2383
  const RadioList = (_a) => {
2386
2384
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2387
2385
  return (React.createElement(React.Fragment, null, options.map((option) => {
2388
2386
  const label = option.label || option.value;
2389
2387
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2390
2388
  })));
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)};
2389
+ };
2390
+
2391
+ const StyledTable = styled.table `
2392
+ width: 100%;
2393
+ margin-top: 1px;
2394
+ table-layout: ${props => props.$tableLayout || 'auto'};
2395
+ border-collapse: collapse;
2396
+ text-indent: 0px;
2397
+ border-spacing: 0px;
2398
+ border-color: none;
2399
+ box-sizing: border-box;
2400
+ `;
2401
+ const Header = styled.th `
2402
+ padding: 12px !important;
2403
+ text-align: left;
2404
+ font-weight: 500;
2405
+ border-bottom: 1px solid #e5e5e5;
2406
+ border-top: 1px solid #e5e5e5;
2407
+ text-transform: uppercase;
2408
+ font-size: 12px;
2409
+ font-family: ${FontStyles.DEFAULT};
2410
+ letter-spacing: 1px;
2411
+ white-space: nowrap;
2412
+ line-height: 1;
2413
+ position: relative;
2414
+ box-sizing: border-box;
2415
+ width: ${props => props.$width || 'auto'};
2416
+ cursor: ${props => (props.$isSortable ? 'pointer' : 'default')};
2417
+ color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
2420
2418
  `;
2421
2419
  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
- }
2420
+ const Row = styled.tr `
2421
+ cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
2422
+ transition: all 0.2s;
2423
+ background-color: ${props => props.$bgColor};
2424
+ box-sizing: border-box;
2425
+ &:hover {
2426
+ background-color: ${props => props.$isClickable ? `rgba(${props.theme.PRIMARY_COLOR.Rgb}, 0.1)` : props.$bgColor};
2427
+ }
2430
2428
  `;
2431
2429
  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
- }
2430
+ const Column = styled.td `
2431
+ padding: 16px 12px !important;
2432
+ font-size: ${FontSizes.DEFAULT} !important;
2433
+ font-weight: 400 !important;
2434
+ font-family: ${FontStyles.DEFAULT};
2435
+ border: none !important;
2436
+ word-break: break-word;
2437
+ line-height: 1.4em;
2438
+ box-sizing: border-box;
2439
+ text-align: ${props => props.$align || 'left'};
2440
+ width: ${props => props.$width || 'auto'};
2441
+ `;
2442
+ const IconWrapper = styled.span `
2443
+ position: absolute;
2444
+ top: 50%;
2445
+ transform: translateY(-50%);
2446
+ margin-left: 2px;
2447
+ `;
2448
+ const StyledIcon$1 = styled(Icon) `
2449
+ > path {
2450
+ fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
2451
+ }
2454
2452
  `;
2455
2453
  StyledIcon$1.defaultProps = { theme: EditableTheme };
2456
2454
  const Table = (_a) => {
@@ -2468,55 +2466,55 @@ const Table = (_a) => {
2468
2466
  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
2467
  })));
2470
2468
  }))) : 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
- }
2469
+ };
2470
+
2471
+ const Wrapper$1 = styled.div `
2472
+ display: flex;
2473
+ box-sizing: border-box;
2474
+ align-items: flex-end;
2475
+ border-top: 1px solid #e5e5e5;
2476
+ border-bottom: 1px solid #e5e5e5;
2477
+ flex-shrink: 0;
2478
+ align-self: stretch;
2479
+ padding: 0;
2480
+ margin: 0;
2481
+ `;
2482
+ const Tab = styled.div `
2483
+ display: flex;
2484
+ align-items: center;
2485
+ gap: 6px;
2486
+ font-size: ${FontSizes.DEFAULT};
2487
+ font-family: ${FontStyles.DEFAULT};
2488
+ font-weight: ${props => (props.$isActive ? 500 : 400)};
2489
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex)};
2490
+ line-height: 1em;
2491
+ padding: 16px 30px 12px;
2492
+ margin: 0 0 -1px 0;
2493
+ border-bottom-width: 4px;
2494
+ border-bottom-style: solid;
2495
+ border-bottom-color: ${props => props.$isActive ? props.theme.PRIMARY_COLOR.Hex : 'transparent'};
2496
+ cursor: ${props => (props.$isActive ? 'default' : 'pointer')};
2497
+ box-sizing: border-box;
2498
+ &:hover {
2499
+ color: ${props => (props.$isActive ? Colors.BLACK.Hex : props.theme.PRIMARY_COLOR.Hex)};
2500
+ font-weight: 500;
2501
+ }
2504
2502
  `;
2505
2503
  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;
2504
+ const Badge = styled.div `
2505
+ display: flex;
2506
+ width: 18px;
2507
+ height: 18px;
2508
+ justify-content: center;
2509
+ align-items: center;
2510
+ border-radius: 9px;
2511
+ background: ${props => (props.$isError ? Colors.RED.Hex : props.theme.PRIMARY_COLOR.Hex)};
2512
+ color: #fff;
2513
+ font-family: ${FontStyles.DEFAULT};
2514
+ font-size: 12px;
2515
+ font-weight: 500;
2516
+ line-height: 1;
2517
+ letter-spacing: 1px;
2520
2518
  `;
2521
2519
  Badge.defaultProps = { theme: EditableTheme };
2522
2520
  const Tabs = (_a) => {
@@ -2528,29 +2526,29 @@ const Tabs = (_a) => {
2528
2526
  label));
2529
2527
  })));
2530
2528
  };
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;
2529
+ Tabs.defaultProps = {};
2530
+
2531
+ const Track = styled.div `
2532
+ height: 24px;
2533
+ border-radius: 12px;
2534
+ background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
2535
+ display: flex;
2536
+ align-items: center;
2537
+ cursor: pointer;
2538
+ width: 40px;
2539
+ padding: 2px;
2540
+ box-sizing: border-box;
2541
+ `;
2542
+ const Handle = styled.div `
2543
+ width: 20px;
2544
+ height: 20px;
2545
+ border-radius: 10px;
2546
+ background: #ffffff;
2547
+ margin-left: ${props => (props.$on ? 'auto' : '0px')};
2548
+ display: flex;
2549
+ align-items: center;
2550
+ justify-content: center;
2551
+ box-sizing: border-box;
2554
2552
  `;
2555
2553
  const Toggle = (_a) => {
2556
2554
  var { onClick, on } = _a, accessibleProps = __rest(_a, ["onClick", "on"]);
@@ -2559,8 +2557,8 @@ const Toggle = (_a) => {
2559
2557
  React.createElement(Handle, { "$on": on },
2560
2558
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? mdiCheck : mdiClose, size: '16px' }))));
2561
2559
  };
2562
- Toggle.defaultProps = {};
2563
-
2560
+ Toggle.defaultProps = {};
2561
+
2564
2562
  const Container = styled.div `
2565
2563
  width: 100%;
2566
2564
  padding: 40px auto;
@@ -2595,7 +2593,7 @@ const ZeroState = (_a) => {
2595
2593
  React.createElement(Heading, { children: title, type: 'tertiary' }),
2596
2594
  description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
2597
2595
  action && (React.createElement(Button, { children: action.children, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
2598
- };
2599
-
2600
- export { Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
2601
- //# sourceMappingURL=index.js.map
2596
+ };
2597
+
2598
+ export { Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
2599
+ //# sourceMappingURL=index.js.map