odaptos_design_system 1.4.32 → 1.4.34
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/DatePicker/DatePicker.d.ts +32 -0
- package/dist/Icons/Interaction/FilterIcon.d.ts +3 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Table/TableFooter.d.ts +3 -2
- package/dist/Table/index.d.ts +3 -2
- package/dist/TimePicker/TimePicker.d.ts +25 -0
- package/dist/odaptos_design_system.cjs.development.js +70 -62
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +70 -63
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +3 -1
- package/src/DatePicker/DatePicker.modules.scss +68 -0
- package/src/DatePicker/DatePicker.tsx +237 -0
- package/src/Icons/Interaction/FilterIcon.tsx +42 -0
- package/src/Icons/index.ts +1 -0
- package/src/MultiSelect/MultiSelect.tsx +6 -6
- package/src/SingleSelect/SingleSelect.tsx +7 -6
- package/src/Table/TableFooter.modules.scss +1 -1
- package/src/Table/TableFooter.tsx +12 -46
- package/src/Table/index.tsx +10 -5
- package/src/Table/rows.modules.scss +2 -0
- package/src/TextInput/TextInput.modules.scss +1 -1
- package/src/TextInput/TextInput.tsx +8 -8
- package/src/TimePicker/TimePicker.modules.scss +67 -0
- package/src/TimePicker/TimePicker.tsx +210 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import 'dayjs/locale/en';
|
|
4
|
+
import 'dayjs/locale/en-gb';
|
|
5
|
+
import 'dayjs/locale/fr';
|
|
6
|
+
import 'dayjs/locale/it';
|
|
7
|
+
import 'dayjs/locale/de';
|
|
8
|
+
import 'dayjs/locale/es';
|
|
9
|
+
export interface DatePickerProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
value?: Date | Dayjs | null;
|
|
13
|
+
openTo?: 'day' | 'month' | 'year';
|
|
14
|
+
format?: string;
|
|
15
|
+
helperText?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
disableFuture?: boolean;
|
|
18
|
+
disablePast?: boolean;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
locale?: string | 'en' | 'en-gb' | 'fr' | 'it' | 'de' | 'es';
|
|
21
|
+
maxDate?: Date | Dayjs | undefined;
|
|
22
|
+
minDate?: Date | Dayjs | undefined;
|
|
23
|
+
timezone?: string;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
required?: boolean;
|
|
26
|
+
error?: boolean;
|
|
27
|
+
errorText?: string;
|
|
28
|
+
renderLoading?: () => React.ReactNode;
|
|
29
|
+
onChange?: (date: Date | Dayjs | null) => void;
|
|
30
|
+
}
|
|
31
|
+
declare const DatePicker: React.FC<DatePickerProps>;
|
|
32
|
+
export default DatePicker;
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -108,5 +108,6 @@ export { default as TestIcon } from './Miscellaneous/TestIcon';
|
|
|
108
108
|
export { default as UnmoderatedIcon } from './Miscellaneous/UnmoderatedIcon';
|
|
109
109
|
export { default as AlamBellIdleIcon } from './Notifications/AlamBellIdleIcon';
|
|
110
110
|
export { default as AlarmBellStatusIcon } from './Notifications/AlarmBellStatusIcon';
|
|
111
|
+
export { default as FilterIcon } from './Interaction/FilterIcon';
|
|
111
112
|
export { default as NotifAlertIcon } from './Notifications/NotifAlertIcon';
|
|
112
113
|
export { default as AngryIntervieweeFemale } from './Illustrations/AngryIntervieweeFemale';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface TableRowsProps {
|
|
3
|
+
footerIconRight?: JSX.Element;
|
|
3
4
|
footerText?: string;
|
|
4
|
-
|
|
5
|
+
footerAction?: () => void;
|
|
5
6
|
}
|
|
6
|
-
export declare const TableFooter: ({ footerText,
|
|
7
|
+
export declare const TableFooter: ({ footerText, footerIconRight, footerAction, }: TableRowsProps) => React.JSX.Element;
|
|
7
8
|
export {};
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -17,10 +17,11 @@ interface TableProps {
|
|
|
17
17
|
rowsClassName?: string;
|
|
18
18
|
selectAll?: () => void;
|
|
19
19
|
footerText?: string;
|
|
20
|
-
|
|
20
|
+
footerAction?: () => void;
|
|
21
|
+
footerIconRight?: JSX.Element;
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=1262-39999&mode=dev
|
|
24
25
|
*/
|
|
25
|
-
export declare const Table: ({ headers, rows, isSelectable, className, id, rowsClassName, areAllSelected, footerText,
|
|
26
|
+
export declare const Table: ({ headers, rows, isSelectable, className, id, rowsClassName, areAllSelected, footerText, footerAction, footerIconRight, selectAll, }: TableProps) => React.JSX.Element;
|
|
26
27
|
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import 'dayjs/locale/en';
|
|
4
|
+
import 'dayjs/locale/en-gb';
|
|
5
|
+
import 'dayjs/locale/fr';
|
|
6
|
+
import 'dayjs/locale/it';
|
|
7
|
+
import 'dayjs/locale/de';
|
|
8
|
+
import 'dayjs/locale/es';
|
|
9
|
+
export interface TimePickerProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
value?: Date | Dayjs | null;
|
|
13
|
+
format?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
locale?: string | 'en' | 'en-gb' | 'fr' | 'it' | 'de' | 'es';
|
|
16
|
+
timezone?: string;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
error?: boolean;
|
|
20
|
+
errorText?: string;
|
|
21
|
+
helperText?: string;
|
|
22
|
+
onChange?: (date: Date | Dayjs | null) => void;
|
|
23
|
+
}
|
|
24
|
+
declare const TimePicker: React.FC<TimePickerProps>;
|
|
25
|
+
export default TimePicker;
|
|
@@ -16,10 +16,9 @@ var MuiModal = _interopDefault(require('@mui/material/Modal'));
|
|
|
16
16
|
var Fade = _interopDefault(require('@mui/material/Fade'));
|
|
17
17
|
var system = require('@mui/system');
|
|
18
18
|
var Tooltip$1 = require('@mui/material/Tooltip');
|
|
19
|
-
var ClickAwayListener = _interopDefault(require('@mui/material/ClickAwayListener'));
|
|
20
|
-
var Popover$1 = _interopDefault(require('@mui/material/Popover'));
|
|
21
19
|
var Tab = _interopDefault(require('@mui/material/Tab'));
|
|
22
20
|
var Tabs$1 = _interopDefault(require('@mui/material/Tabs'));
|
|
21
|
+
var Popover$1 = _interopDefault(require('@mui/material/Popover'));
|
|
23
22
|
|
|
24
23
|
function styleInject(css, ref) {
|
|
25
24
|
if ( ref === void 0 ) ref = {};
|
|
@@ -4047,6 +4046,39 @@ function AlarmBellStatusIcon({
|
|
|
4047
4046
|
}))));
|
|
4048
4047
|
}
|
|
4049
4048
|
|
|
4049
|
+
function FilterIcon({
|
|
4050
|
+
stroke,
|
|
4051
|
+
strokeWidth,
|
|
4052
|
+
fill,
|
|
4053
|
+
...rest
|
|
4054
|
+
}) {
|
|
4055
|
+
return /*#__PURE__*/React__default.createElement(material.SvgIcon, Object.assign({
|
|
4056
|
+
strokeWidth: strokeWidth ?? 0.1,
|
|
4057
|
+
stroke: stroke ? stroke : 'currentColor'
|
|
4058
|
+
}, rest), /*#__PURE__*/React__default.createElement("svg", {
|
|
4059
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4060
|
+
width: "16",
|
|
4061
|
+
height: "16",
|
|
4062
|
+
viewBox: "0 0 16 16",
|
|
4063
|
+
fill: "none"
|
|
4064
|
+
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
4065
|
+
id: "mask0_484_4303",
|
|
4066
|
+
maskUnits: "userSpaceOnUse",
|
|
4067
|
+
x: "0",
|
|
4068
|
+
y: "0",
|
|
4069
|
+
width: "16",
|
|
4070
|
+
height: "16"
|
|
4071
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4072
|
+
d: "M16 0H0V16H16V0Z",
|
|
4073
|
+
fill: "white"
|
|
4074
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
4075
|
+
mask: "url(#mask0_484_4303)"
|
|
4076
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4077
|
+
d: "M7 15.7333C6.86667 15.7333 6.73333 15.7333 6.6 15.6667C6.4 15.6 6.26667 15.4667 6.2 15.2667C6.06667 15.1333 6 14.9333 6 14.7333V8.53333C4.46667 8.2 3 7.33333 2 6.13333C0.866667 4.79999 0.133333 3.13333 0 1.39999C0 1.26666 0 1.13333 0.0666667 0.999995C0.133333 0.866662 0.2 0.733328 0.266667 0.666662C0.333333 0.533328 0.466667 0.466662 0.6 0.399995C0.733333 0.333328 0.866667 0.333328 1 0.333328H15C15.1333 0.333328 15.2667 0.333328 15.4 0.399995C15.5333 0.466662 15.6667 0.533328 15.7333 0.666662C15.8 0.733328 15.8667 0.866662 15.9333 0.999995C16 1.13333 16 1.26666 16 1.39999C15.8667 3.13333 15.2 4.79999 14 6.13333C12.9333 7.33333 11.5333 8.2 10 8.59999V13.1333C10 13.2667 10 13.4 9.93333 13.5333C9.86667 13.6667 9.8 13.8 9.66667 13.8667L7.66667 15.5333C7.53333 15.6667 7.33333 15.7333 7.13333 15.7333C7.06667 15.7333 7 15.7333 7 15.7333ZM15 1.33333H1C1.13333 2.86666 1.73333 4.33333 2.73333 5.46666C3.73333 6.6 5.13333 7.4 6.6 7.73333C6.8 7.8 7 8 7 8.2V14.8L9 13.1333V8.2C9 7.93333 9.2 7.73333 9.4 7.73333C10.8667 7.4 12.2667 6.66666 13.2667 5.46666C14.2667 4.33333 14.8667 2.86666 15 1.33333Z",
|
|
4078
|
+
fill: fill
|
|
4079
|
+
}))));
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4050
4082
|
function NotifAlertIcon({
|
|
4051
4083
|
stroke,
|
|
4052
4084
|
strokeWidth,
|
|
@@ -4270,12 +4302,12 @@ styleInject(css_248z$4);
|
|
|
4270
4302
|
const CssTextField = /*#__PURE__*/styles$F.styled(material.TextField)({
|
|
4271
4303
|
'& .MuiInputBase-input': {
|
|
4272
4304
|
color: '#26292E',
|
|
4273
|
-
fontFamily: '
|
|
4305
|
+
fontFamily: 'Open Sans !important',
|
|
4274
4306
|
fontSize: '1rem'
|
|
4275
4307
|
},
|
|
4276
4308
|
'& .MuiInputBase-input.Mui-disabled': {
|
|
4277
4309
|
color: '#26292E',
|
|
4278
|
-
fontFamily: '
|
|
4310
|
+
fontFamily: 'Open Sans !important',
|
|
4279
4311
|
fontSize: '1rem'
|
|
4280
4312
|
},
|
|
4281
4313
|
'& .Mui-error': {
|
|
@@ -4299,25 +4331,25 @@ const CssTextField = /*#__PURE__*/styles$F.styled(material.TextField)({
|
|
|
4299
4331
|
},
|
|
4300
4332
|
'& label': {
|
|
4301
4333
|
color: '#26292E',
|
|
4302
|
-
fontFamily: '
|
|
4334
|
+
fontFamily: 'Open Sans !important',
|
|
4303
4335
|
fontSize: '1rem'
|
|
4304
4336
|
},
|
|
4305
4337
|
'& label.Mui-disabled.Mui-error': {
|
|
4306
4338
|
color: '#26292E',
|
|
4307
4339
|
opacity: 0.5,
|
|
4308
|
-
fontFamily: '
|
|
4340
|
+
fontFamily: 'Open Sans !important',
|
|
4309
4341
|
fontSize: '1rem'
|
|
4310
4342
|
},
|
|
4311
4343
|
'& label.Mui-focused': {
|
|
4312
4344
|
color: '#26292E',
|
|
4313
|
-
fontFamily: '
|
|
4345
|
+
fontFamily: 'Open Sans',
|
|
4314
4346
|
fontSize: '1rem',
|
|
4315
4347
|
backgroundColor: '#fff',
|
|
4316
4348
|
marginRight: 5,
|
|
4317
4349
|
paddingRight: 5
|
|
4318
4350
|
},
|
|
4319
4351
|
'& .MuiOutlinedInput-root': {
|
|
4320
|
-
fontFamily: '
|
|
4352
|
+
fontFamily: 'Open Sans',
|
|
4321
4353
|
'& fieldset': {
|
|
4322
4354
|
borderColor: '#96989A'
|
|
4323
4355
|
},
|
|
@@ -4421,6 +4453,7 @@ const SingleSelect = ({
|
|
|
4421
4453
|
},
|
|
4422
4454
|
renderInput: params => /*#__PURE__*/React__default.createElement(CssTextField, Object.assign({}, params, {
|
|
4423
4455
|
variant: "outlined",
|
|
4456
|
+
fullWidth: true,
|
|
4424
4457
|
label: label,
|
|
4425
4458
|
placeholder: placeholder,
|
|
4426
4459
|
size: "small",
|
|
@@ -4565,12 +4598,12 @@ styleInject(css_248z$6);
|
|
|
4565
4598
|
const CssTextField$1 = /*#__PURE__*/styles$F.styled(TextField)({
|
|
4566
4599
|
'& .MuiInputBase-input': {
|
|
4567
4600
|
color: '#26292E',
|
|
4568
|
-
fontFamily: '
|
|
4601
|
+
fontFamily: 'Open Sans !important',
|
|
4569
4602
|
fontSize: '1rem'
|
|
4570
4603
|
},
|
|
4571
4604
|
'& .MuiInputBase-input.Mui-disabled': {
|
|
4572
4605
|
color: '#26292E',
|
|
4573
|
-
fontFamily: '
|
|
4606
|
+
fontFamily: 'Open Sans !important',
|
|
4574
4607
|
fontSize: '1rem'
|
|
4575
4608
|
},
|
|
4576
4609
|
'& .Mui-error': {
|
|
@@ -4594,25 +4627,25 @@ const CssTextField$1 = /*#__PURE__*/styles$F.styled(TextField)({
|
|
|
4594
4627
|
},
|
|
4595
4628
|
'& label': {
|
|
4596
4629
|
color: '#26292E',
|
|
4597
|
-
fontFamily: '
|
|
4630
|
+
fontFamily: 'Open Sans !important',
|
|
4598
4631
|
fontSize: '1rem'
|
|
4599
4632
|
},
|
|
4600
4633
|
'& label.Mui-disabled.Mui-error': {
|
|
4601
4634
|
color: '#26292E',
|
|
4602
4635
|
opacity: 0.5,
|
|
4603
|
-
fontFamily: '
|
|
4636
|
+
fontFamily: 'Open Sans !important',
|
|
4604
4637
|
fontSize: '1rem'
|
|
4605
4638
|
},
|
|
4606
4639
|
'& label.Mui-focused': {
|
|
4607
4640
|
color: '#26292E',
|
|
4608
|
-
fontFamily: '
|
|
4641
|
+
fontFamily: 'Open Sans',
|
|
4609
4642
|
fontSize: '1rem',
|
|
4610
4643
|
backgroundColor: '#fff',
|
|
4611
4644
|
marginRight: 5,
|
|
4612
4645
|
paddingRight: 5
|
|
4613
4646
|
},
|
|
4614
4647
|
'& .MuiOutlinedInput-root': {
|
|
4615
|
-
fontFamily: '
|
|
4648
|
+
fontFamily: 'Open Sans',
|
|
4616
4649
|
'& fieldset': {
|
|
4617
4650
|
borderColor: '#96989A'
|
|
4618
4651
|
},
|
|
@@ -5775,7 +5808,7 @@ const TableHeader = ({
|
|
|
5775
5808
|
}), header.icon && header.icon)));
|
|
5776
5809
|
};
|
|
5777
5810
|
|
|
5778
|
-
var css_248z$n = ".rows-modules_rows__2uSRy{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;width:100%}.rows-modules_rows__2uSRy .rows-modules_row__FcChg{align-items:center;align-self:stretch;background:var(--color-neutral-basics-white,#fff);border-bottom:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-left:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-right:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);display:flex;flex-shrink:0;height:3.5rem;padding:0 .5rem}";
|
|
5811
|
+
var css_248z$n = ".rows-modules_rows__2uSRy{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;max-height:65vh;overflow-y:scroll;width:100%}.rows-modules_rows__2uSRy .rows-modules_row__FcChg{align-items:center;align-self:stretch;background:var(--color-neutral-basics-white,#fff);border-bottom:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-left:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-right:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);display:flex;flex-shrink:0;height:3.5rem;padding:0 .5rem}";
|
|
5779
5812
|
var styles$n = {"rows":"rows-modules_rows__2uSRy","row":"rows-modules_row__FcChg"};
|
|
5780
5813
|
styleInject(css_248z$n);
|
|
5781
5814
|
|
|
@@ -5840,24 +5873,15 @@ const TableRows = ({
|
|
|
5840
5873
|
}));
|
|
5841
5874
|
};
|
|
5842
5875
|
|
|
5843
|
-
var css_248z$p = ".TableFooter-modules_footer__-M8S3{align-items:center;background:var(--color-neutral-basics-white,#fff);border-bottom:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-left:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-radius:0 0 .375rem .375rem;border-right:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);display:flex;flex-shrink:0;height:3.5rem;justify-content:flex-end;padding:0 .5rem 0 3rem;width:
|
|
5876
|
+
var css_248z$p = ".TableFooter-modules_footer__-M8S3{align-items:center;background:var(--color-neutral-basics-white,#fff);border-bottom:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-left:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-radius:0 0 .375rem .375rem;border-right:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);display:flex;flex-shrink:0;height:3.5rem;justify-content:flex-end;padding:0 .5rem 0 3rem;width:100%}.TableFooter-modules_footer__-M8S3 .TableFooter-modules_footer_content__CJ9Uj{align-items:center;display:flex;flex:1 0 0;gap:.75rem;height:2.75rem;justify-content:space-between;padding:.5rem}.TableFooter-modules_footer__-M8S3 .TableFooter-modules_footer_content__CJ9Uj .TableFooter-modules_footerText__Nntc4{text-align:center;width:100%}.TableFooter-modules_footer__-M8S3 .TableFooter-modules_footer_content__CJ9Uj .TableFooter-modules_actionsBtn__F3Lx-{margin-left:auto}.TableFooter-modules_popoverContent__X-677{display:flex;flex-direction:column;padding:.25rem}.TableFooter-modules_popoverContent__X-677 .TableFooter-modules_item__cRsB5{align-items:center;align-self:stretch;border-radius:.25rem;cursor:pointer;display:flex;flex-direction:row;gap:.5rem;padding:.25rem}.TableFooter-modules_popoverContent__X-677 .TableFooter-modules_item__cRsB5 a{text-decoration:none}.TableFooter-modules_popoverContent__X-677 .TableFooter-modules_item__cRsB5:hover{background:#eee}.TableFooter-modules_popoverContent__X-677 .TableFooter-modules_item__cRsB5 svg{height:1rem;width:1rem}";
|
|
5844
5877
|
var styles$p = {"footer":"TableFooter-modules_footer__-M8S3","footer_content":"TableFooter-modules_footer_content__CJ9Uj","footerText":"TableFooter-modules_footerText__Nntc4","actionsBtn":"TableFooter-modules_actionsBtn__F3Lx-","popoverContent":"TableFooter-modules_popoverContent__X-677","item":"TableFooter-modules_item__cRsB5"};
|
|
5845
5878
|
styleInject(css_248z$p);
|
|
5846
5879
|
|
|
5847
5880
|
const TableFooter = ({
|
|
5848
5881
|
footerText,
|
|
5849
|
-
|
|
5882
|
+
footerIconRight,
|
|
5883
|
+
footerAction
|
|
5850
5884
|
}) => {
|
|
5851
|
-
// Popover logic
|
|
5852
|
-
const [anchorEl, setAnchorEl] = React.useState(null);
|
|
5853
|
-
const openOptionsMenu = event => {
|
|
5854
|
-
setAnchorEl(event.currentTarget);
|
|
5855
|
-
};
|
|
5856
|
-
const closeOptionsMenu = () => {
|
|
5857
|
-
setAnchorEl(null);
|
|
5858
|
-
};
|
|
5859
|
-
const open = Boolean(anchorEl);
|
|
5860
|
-
const popoverId = open ? 'simple-popover' : undefined;
|
|
5861
5885
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
5862
5886
|
className: `${styles$p.footer}`
|
|
5863
5887
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -5867,32 +5891,13 @@ const TableFooter = ({
|
|
|
5867
5891
|
text: footerText,
|
|
5868
5892
|
color: colors.neutral_600,
|
|
5869
5893
|
className: styles$p.footerText
|
|
5870
|
-
}),
|
|
5871
|
-
icon:
|
|
5894
|
+
}), footerIconRight && /*#__PURE__*/React__default.createElement(IconButton, {
|
|
5895
|
+
icon: footerIconRight,
|
|
5872
5896
|
variant: "tertiary",
|
|
5873
5897
|
size: "xxs",
|
|
5874
|
-
onClick:
|
|
5898
|
+
onClick: footerAction,
|
|
5875
5899
|
className: styles$p.actionsBtn
|
|
5876
|
-
})))
|
|
5877
|
-
id: popoverId,
|
|
5878
|
-
open: open,
|
|
5879
|
-
anchorEl: anchorEl,
|
|
5880
|
-
onClose: closeOptionsMenu,
|
|
5881
|
-
anchorOrigin: {
|
|
5882
|
-
vertical: 'bottom',
|
|
5883
|
-
horizontal: 'right'
|
|
5884
|
-
}
|
|
5885
|
-
}, /*#__PURE__*/React__default.createElement(ClickAwayListener, {
|
|
5886
|
-
onClickAway: closeOptionsMenu
|
|
5887
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
5888
|
-
className: styles$p.popoverContent
|
|
5889
|
-
}, footerItems.map((item, index) => /*#__PURE__*/React__default.createElement("div", {
|
|
5890
|
-
className: styles$p.item,
|
|
5891
|
-
key: `footer-item-${index}`
|
|
5892
|
-
}, item.icon, /*#__PURE__*/React__default.createElement(Text, {
|
|
5893
|
-
text: item.label,
|
|
5894
|
-
size: "sm"
|
|
5895
|
-
})))))));
|
|
5900
|
+
}))));
|
|
5896
5901
|
};
|
|
5897
5902
|
|
|
5898
5903
|
var css_248z$q = ".Table-modules_table__Wa7EU{align-items:flex-start;border-radius:.375rem;display:flex;flex-direction:column}";
|
|
@@ -5911,7 +5916,8 @@ const Table = ({
|
|
|
5911
5916
|
rowsClassName,
|
|
5912
5917
|
areAllSelected,
|
|
5913
5918
|
footerText,
|
|
5914
|
-
|
|
5919
|
+
footerAction,
|
|
5920
|
+
footerIconRight,
|
|
5915
5921
|
selectAll
|
|
5916
5922
|
}) => {
|
|
5917
5923
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -5926,8 +5932,9 @@ const Table = ({
|
|
|
5926
5932
|
id: id,
|
|
5927
5933
|
rowsClassName: rowsClassName,
|
|
5928
5934
|
headers: headers
|
|
5929
|
-
}),
|
|
5930
|
-
|
|
5935
|
+
}), /*#__PURE__*/React__default.createElement(TableFooter, {
|
|
5936
|
+
footerAction: footerAction,
|
|
5937
|
+
footerIconRight: footerIconRight,
|
|
5931
5938
|
footerText: footerText
|
|
5932
5939
|
}));
|
|
5933
5940
|
};
|
|
@@ -6062,19 +6069,19 @@ const TabsUnderline = ({
|
|
|
6062
6069
|
})));
|
|
6063
6070
|
};
|
|
6064
6071
|
|
|
6065
|
-
var css_248z$t = ".TextInput-modules_input__3djVU{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdTypoTextNoDecorationRegularBase);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;text-align:left;width:100%}.TextInput-modules_input__3djVU svg{height:.75rem;width:.75rem}input{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdTypoTextNoDecorationRegularBase);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;text-align:left}input.TextInput-modules_input__3djVU{height:1rem}.TextInput-modules_MuiInputBase-root-MuiOutlinedInput-root__RL51v{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdTypoTextNoDecorationRegularBase);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;text-align:left}.TextInput-modules_input_top_label__JRakx{margin-bottom:.625rem}.TextInput-modules_input__3djVU .TextInput-modules_MuiInputBase-input__P8rMx{color:var(--gray-black);font-family:
|
|
6072
|
+
var css_248z$t = ".TextInput-modules_input__3djVU{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdTypoTextNoDecorationRegularBase);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;text-align:left;width:100%}.TextInput-modules_input__3djVU svg{height:.75rem;width:.75rem}input{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdTypoTextNoDecorationRegularBase);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;text-align:left}input.TextInput-modules_input__3djVU{height:1rem}.TextInput-modules_MuiInputBase-root-MuiOutlinedInput-root__RL51v{font-family:var(--sdFontFamilyOpenSans);font-size:var(--sdTypoTextNoDecorationRegularBase);font-style:normal;font-weight:var(--sdFontWeightRegular);letter-spacing:var(--sdLetterSpacingButtons);line-height:var(--sdLineHeight130);margin:unset;text-align:left}.TextInput-modules_input_top_label__JRakx{margin-bottom:.625rem}.TextInput-modules_input__3djVU .TextInput-modules_MuiInputBase-input__P8rMx{color:var(--gray-black);font-family:Open Sans;font-size:1rem;padding:.375rem .75rem}.TextInput-modules_text_below__lGHF-{margin:.25rem .5rem .25rem .75rem}";
|
|
6066
6073
|
var styles$t = {"input":"TextInput-modules_input__3djVU","MuiInputBase-root-MuiOutlinedInput-root":"TextInput-modules_MuiInputBase-root-MuiOutlinedInput-root__RL51v","input_top_label":"TextInput-modules_input_top_label__JRakx","MuiInputBase-input":"TextInput-modules_MuiInputBase-input__P8rMx","text_below":"TextInput-modules_text_below__lGHF-"};
|
|
6067
6074
|
styleInject(css_248z$t);
|
|
6068
6075
|
|
|
6069
6076
|
const CssTextField$2 = /*#__PURE__*/styles$F.styled(material.TextField)({
|
|
6070
6077
|
'& .MuiInputBase-input': {
|
|
6071
6078
|
color: '#26292E',
|
|
6072
|
-
fontFamily: '
|
|
6079
|
+
fontFamily: 'Open Sans !important',
|
|
6073
6080
|
fontSize: '1rem'
|
|
6074
6081
|
},
|
|
6075
6082
|
'& .MuiInputBase-input.Mui-disabled': {
|
|
6076
6083
|
color: '#26292E',
|
|
6077
|
-
fontFamily: '
|
|
6084
|
+
fontFamily: 'Open Sans !important',
|
|
6078
6085
|
fontSize: '1rem'
|
|
6079
6086
|
},
|
|
6080
6087
|
'& .Mui-error': {
|
|
@@ -6098,25 +6105,25 @@ const CssTextField$2 = /*#__PURE__*/styles$F.styled(material.TextField)({
|
|
|
6098
6105
|
},
|
|
6099
6106
|
'& label': {
|
|
6100
6107
|
color: '#26292E',
|
|
6101
|
-
fontFamily: '
|
|
6108
|
+
fontFamily: 'Open Sans !important',
|
|
6102
6109
|
fontSize: '1rem'
|
|
6103
6110
|
},
|
|
6104
6111
|
'& label.Mui-disabled.Mui-error': {
|
|
6105
6112
|
color: '#26292E',
|
|
6106
6113
|
opacity: 0.5,
|
|
6107
|
-
fontFamily: '
|
|
6114
|
+
fontFamily: 'Open Sans !important',
|
|
6108
6115
|
fontSize: '1rem'
|
|
6109
6116
|
},
|
|
6110
6117
|
'& label.Mui-focused': {
|
|
6111
6118
|
color: '#26292E',
|
|
6112
|
-
fontFamily: '
|
|
6119
|
+
fontFamily: 'Open Sans',
|
|
6113
6120
|
fontSize: '1rem',
|
|
6114
6121
|
backgroundColor: '#fff',
|
|
6115
6122
|
marginRight: 5,
|
|
6116
6123
|
paddingRight: 5
|
|
6117
6124
|
},
|
|
6118
6125
|
'& .MuiOutlinedInput-root': {
|
|
6119
|
-
fontFamily: '
|
|
6126
|
+
fontFamily: 'Open Sans',
|
|
6120
6127
|
'& fieldset': {
|
|
6121
6128
|
borderColor: '#96989A'
|
|
6122
6129
|
},
|
|
@@ -6201,13 +6208,13 @@ const TextInput = props => {
|
|
|
6201
6208
|
endAdornment,
|
|
6202
6209
|
startAdornment,
|
|
6203
6210
|
style: {
|
|
6204
|
-
fontFamily: '
|
|
6211
|
+
fontFamily: 'Open Sans',
|
|
6205
6212
|
fontSize: '1rem'
|
|
6206
6213
|
}
|
|
6207
6214
|
},
|
|
6208
6215
|
InputLabelProps: {
|
|
6209
6216
|
style: {
|
|
6210
|
-
fontFamily: '
|
|
6217
|
+
fontFamily: 'Open Sans',
|
|
6211
6218
|
fontSize: '1rem'
|
|
6212
6219
|
},
|
|
6213
6220
|
...InputLabelProps
|
|
@@ -6893,6 +6900,7 @@ exports.FaceCenterIcon = FaceCenterIcon;
|
|
|
6893
6900
|
exports.FaceRecognitionIcon = FaceRecognitionIcon;
|
|
6894
6901
|
exports.FilesIcon = FilesIcon;
|
|
6895
6902
|
exports.FillRecordIcon = FillRecordIcon;
|
|
6903
|
+
exports.FilterIcon = FilterIcon;
|
|
6896
6904
|
exports.FolderIcon = FolderIcon;
|
|
6897
6905
|
exports.GoBack = GoBack;
|
|
6898
6906
|
exports.GoogleIcon = GoogleIcon;
|