@xqmsg/ui-core 0.16.0 → 0.16.2
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/components/input/StackedInput/StackedInput.d.ts +2 -0
- package/dist/components/input/components/dropdown/index.d.ts +1 -0
- package/dist/components/input/components/label/index.d.ts +1 -0
- package/dist/components/input/index.d.ts +4 -1
- package/dist/ui-core.cjs.development.js +285 -303
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +288 -306
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/input/Input.stories.tsx +0 -1
- package/src/components/input/StackedInput/StackedInput.tsx +14 -3
- package/src/components/input/StackedMultiSelect/index.tsx +113 -21
- package/src/components/input/StackedPilledInput/index.tsx +27 -26
- package/src/components/input/StackedSelect/index.tsx +117 -18
- package/src/components/input/components/dropdown/index.tsx +10 -3
- package/src/components/input/components/label/index.tsx +14 -3
- package/src/components/input/index.tsx +17 -1
- package/src/theme/customXQChakraTheme.ts +0 -2
- package/dist/theme/components/modal.d.ts +0 -242
- package/src/theme/components/modal.ts +0 -216
|
@@ -461,7 +461,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
461
461
|
return target;
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
-
var _excluded = ["type", "isRequired"];
|
|
464
|
+
var _excluded = ["type", "isRequired", "rightElement", "leftElement"];
|
|
465
465
|
/**
|
|
466
466
|
* A functional React component utilized to render the `StackedInput` component.
|
|
467
467
|
*/
|
|
@@ -470,13 +470,16 @@ var StackedInput = /*#__PURE__*/React__default.forwardRef(function (_ref2, _ref)
|
|
|
470
470
|
var _ref2$type = _ref2.type,
|
|
471
471
|
type = _ref2$type === void 0 ? 'text' : _ref2$type,
|
|
472
472
|
isRequired = _ref2.isRequired,
|
|
473
|
+
rightElement = _ref2.rightElement,
|
|
474
|
+
leftElement = _ref2.leftElement,
|
|
473
475
|
props = _objectWithoutPropertiesLoose(_ref2, _excluded);
|
|
474
476
|
|
|
475
|
-
return /*#__PURE__*/React__default.createElement(react.Input, Object.assign({
|
|
476
|
-
ref: _ref,
|
|
477
|
+
return /*#__PURE__*/React__default.createElement(react.InputGroup, null, leftElement && leftElement, /*#__PURE__*/React__default.createElement(react.Input, Object.assign({
|
|
477
478
|
type: type,
|
|
478
479
|
isRequired: isRequired
|
|
479
|
-
}, props
|
|
480
|
+
}, props, {
|
|
481
|
+
ref: _ref
|
|
482
|
+
})), rightElement && rightElement);
|
|
480
483
|
});
|
|
481
484
|
|
|
482
485
|
/**
|
|
@@ -513,7 +516,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
513
516
|
var onSelectItem = _ref.onSelectItem,
|
|
514
517
|
options = _ref.options,
|
|
515
518
|
dropdownRef = _ref.dropdownRef,
|
|
516
|
-
position = _ref.position
|
|
519
|
+
position = _ref.position,
|
|
520
|
+
optionIndex = _ref.optionIndex;
|
|
517
521
|
var DropdownContent = React.useMemo(function () {
|
|
518
522
|
return options.map(function (option, idx) {
|
|
519
523
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, option.value === 'section_header' && options[idx + 1] && options[idx + 1].value !== 'section_header' && /*#__PURE__*/React__default.createElement(react.Box, {
|
|
@@ -540,18 +544,19 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
540
544
|
px: "8px",
|
|
541
545
|
py: "4px",
|
|
542
546
|
width: "100%",
|
|
543
|
-
color: colors.label.primary.light,
|
|
547
|
+
color: optionIndex === idx ? colors.label.primary.dark : colors.label.primary.light,
|
|
544
548
|
_hover: {
|
|
545
549
|
color: colors.label.primary.dark,
|
|
546
550
|
bg: colors.fill.action,
|
|
547
551
|
borderRadius: '4px',
|
|
548
552
|
width: '100%'
|
|
549
553
|
},
|
|
550
|
-
bg:
|
|
551
|
-
whiteSpace: "nowrap"
|
|
554
|
+
bg: optionIndex === idx ? colors.fill.action : 'inherit',
|
|
555
|
+
whiteSpace: "nowrap",
|
|
556
|
+
id: option.value
|
|
552
557
|
}, option.label));
|
|
553
558
|
});
|
|
554
|
-
}, [onSelectItem, options]);
|
|
559
|
+
}, [onSelectItem, optionIndex, options]);
|
|
555
560
|
return /*#__PURE__*/React__default.createElement(react.Flex, {
|
|
556
561
|
flexDirection: "column",
|
|
557
562
|
ref: dropdownRef,
|
|
@@ -640,9 +645,21 @@ var StackedSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2, _ref
|
|
|
640
645
|
selectedOption = _useState2[0],
|
|
641
646
|
setSelectedOption = _useState2[1];
|
|
642
647
|
|
|
643
|
-
var _useState3 = React.useState(
|
|
644
|
-
|
|
645
|
-
|
|
648
|
+
var _useState3 = React.useState(null),
|
|
649
|
+
optionIndex = _useState3[0],
|
|
650
|
+
setOptionIndex = _useState3[1];
|
|
651
|
+
|
|
652
|
+
var _useState4 = React.useState('top'),
|
|
653
|
+
position = _useState4[0],
|
|
654
|
+
setPosition = _useState4[1];
|
|
655
|
+
|
|
656
|
+
var _useState5 = React.useState(''),
|
|
657
|
+
searchValue = _useState5[0],
|
|
658
|
+
setSearchValue = _useState5[1];
|
|
659
|
+
|
|
660
|
+
var _useState6 = React.useState(''),
|
|
661
|
+
debouncedSearchValue = _useState6[0],
|
|
662
|
+
setDebouncedSearchValue = _useState6[1];
|
|
646
663
|
|
|
647
664
|
var boundingClientRect = (_dropdownRef$current = dropdownRef.current) == null ? void 0 : _dropdownRef$current.getBoundingClientRect();
|
|
648
665
|
React.useEffect(function () {
|
|
@@ -677,6 +694,92 @@ var StackedSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2, _ref
|
|
|
677
694
|
setIsFocussed(false);
|
|
678
695
|
};
|
|
679
696
|
|
|
697
|
+
var handleOnKeyDown = function handleOnKeyDown(e) {
|
|
698
|
+
var initialOptionIndex = options[0].value === 'section_header' ? 1 : 0;
|
|
699
|
+
|
|
700
|
+
if (!isFocussed && (e.key === 'Enter' || e.key === 'ArrowUp' || e.key === 'ArrowDown')) {
|
|
701
|
+
setIsFocussed(true);
|
|
702
|
+
return setOptionIndex(initialOptionIndex);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
if (isFocussed) {
|
|
706
|
+
if (optionIndex === null && (e.key === 'Enter' || e.key === 'ArrowUp' || e.key === 'ArrowDown')) {
|
|
707
|
+
return setOptionIndex(initialOptionIndex);
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
if (e.key === 'ArrowUp' && optionIndex !== null && optionIndex > 0) {
|
|
711
|
+
var _dropdownMenuRef$curr;
|
|
712
|
+
|
|
713
|
+
var incrementValue = options[optionIndex - 1] && options[optionIndex - 1].value === 'section_header' ? 2 : 1;
|
|
714
|
+
setOptionIndex(optionIndex - incrementValue);
|
|
715
|
+
return (_dropdownMenuRef$curr = dropdownMenuRef.current) == null ? void 0 : _dropdownMenuRef$curr.scrollTo({
|
|
716
|
+
top: optionIndex * 24,
|
|
717
|
+
behavior: 'smooth'
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
if (e.key === 'ArrowDown' && optionIndex !== null && optionIndex < options.length) {
|
|
722
|
+
var _dropdownMenuRef$curr2;
|
|
723
|
+
|
|
724
|
+
var _incrementValue = options[optionIndex + 1] && options[optionIndex + 1].value === 'section_header' ? 2 : 1;
|
|
725
|
+
|
|
726
|
+
setOptionIndex(optionIndex + _incrementValue);
|
|
727
|
+
return (_dropdownMenuRef$curr2 = dropdownMenuRef.current) == null ? void 0 : _dropdownMenuRef$curr2.scrollTo({
|
|
728
|
+
top: optionIndex * 24,
|
|
729
|
+
behavior: 'smooth'
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
if (e.key === 'Enter' && optionIndex !== null) {
|
|
734
|
+
var option = options.find(function (_, idx) {
|
|
735
|
+
return optionIndex === idx;
|
|
736
|
+
});
|
|
737
|
+
if (!option) return;
|
|
738
|
+
|
|
739
|
+
if (handleOnChange) {
|
|
740
|
+
handleOnChange(option.value);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
setSelectedOption(option == null ? void 0 : option.label);
|
|
744
|
+
setValue(name, option.value, {
|
|
745
|
+
shouldDirty: true,
|
|
746
|
+
shouldValidate: true
|
|
747
|
+
});
|
|
748
|
+
return setIsFocussed(false);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
if (e.key === 'Tab') {
|
|
752
|
+
return setIsFocussed(false);
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
React.useEffect(function () {
|
|
758
|
+
if (searchValue.length) {
|
|
759
|
+
var _dropdownMenuRef$curr3;
|
|
760
|
+
|
|
761
|
+
var idx = options.findIndex(function (option) {
|
|
762
|
+
return option.label.substring(0, searchValue.length).toLowerCase() === searchValue.toLowerCase();
|
|
763
|
+
});
|
|
764
|
+
(_dropdownMenuRef$curr3 = dropdownMenuRef.current) == null ? void 0 : _dropdownMenuRef$curr3.scrollTo({
|
|
765
|
+
top: idx * 24,
|
|
766
|
+
behavior: 'smooth'
|
|
767
|
+
});
|
|
768
|
+
setSearchValue('');
|
|
769
|
+
setDebouncedSearchValue('');
|
|
770
|
+
}
|
|
771
|
+
}, [options, searchValue]);
|
|
772
|
+
var updateSearchValue = React.useMemo(function () {
|
|
773
|
+
return lodash.debounce(function (val) {
|
|
774
|
+
setSearchValue(val);
|
|
775
|
+
}, 1000);
|
|
776
|
+
}, []);
|
|
777
|
+
|
|
778
|
+
var update = function update(value) {
|
|
779
|
+
updateSearchValue(value);
|
|
780
|
+
setDebouncedSearchValue(value);
|
|
781
|
+
};
|
|
782
|
+
|
|
680
783
|
return /*#__PURE__*/React__default.createElement(react.Box, {
|
|
681
784
|
ref: dropdownRef,
|
|
682
785
|
position: "relative"
|
|
@@ -694,24 +797,10 @@ var StackedSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2, _ref
|
|
|
694
797
|
value: selectedOption,
|
|
695
798
|
disabled: disabled,
|
|
696
799
|
autoComplete: "off",
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
if (e.key === 'Tab') {
|
|
702
|
-
return setIsFocussed(false);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
var idx = options.findIndex(function (option) {
|
|
706
|
-
return option.label[0].toLocaleLowerCase() === e.key;
|
|
707
|
-
});
|
|
708
|
-
console.log(idx);
|
|
709
|
-
(_dropdownMenuRef$curr = dropdownMenuRef.current) == null ? void 0 : _dropdownMenuRef$curr.scrollTo({
|
|
710
|
-
top: idx * 27,
|
|
711
|
-
behavior: 'smooth'
|
|
712
|
-
});
|
|
713
|
-
}
|
|
714
|
-
}
|
|
800
|
+
onChange: function onChange(e) {
|
|
801
|
+
return update(debouncedSearchValue.concat(e.target.value));
|
|
802
|
+
},
|
|
803
|
+
onKeyDown: handleOnKeyDown
|
|
715
804
|
})), /*#__PURE__*/React__default.createElement(react.InputRightElement, {
|
|
716
805
|
cursor: disabled ? 'not-allowed' : 'pointer',
|
|
717
806
|
onClick: function onClick() {
|
|
@@ -727,7 +816,8 @@ var StackedSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2, _ref
|
|
|
727
816
|
onSelectItem: function onSelectItem(option) {
|
|
728
817
|
return handleOnSelectItem(option);
|
|
729
818
|
},
|
|
730
|
-
options: options
|
|
819
|
+
options: options,
|
|
820
|
+
optionIndex: optionIndex
|
|
731
821
|
}));
|
|
732
822
|
});
|
|
733
823
|
|
|
@@ -833,10 +923,26 @@ var StackedMultiSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2,
|
|
|
833
923
|
shouldSideScroll = _useState4[0],
|
|
834
924
|
setShouldSideScroll = _useState4[1];
|
|
835
925
|
|
|
836
|
-
var _useState5 = React.useState(
|
|
837
|
-
|
|
838
|
-
|
|
926
|
+
var _useState5 = React.useState(null),
|
|
927
|
+
optionIndex = _useState5[0],
|
|
928
|
+
setOptionIndex = _useState5[1];
|
|
929
|
+
|
|
930
|
+
var _useState6 = React.useState('top'),
|
|
931
|
+
position = _useState6[0],
|
|
932
|
+
setPosition = _useState6[1];
|
|
933
|
+
|
|
934
|
+
var _useState7 = React.useState(''),
|
|
935
|
+
searchValue = _useState7[0],
|
|
936
|
+
setSearchValue = _useState7[1];
|
|
839
937
|
|
|
938
|
+
var _useState8 = React.useState(''),
|
|
939
|
+
debouncedSearchValue = _useState8[0],
|
|
940
|
+
setDebouncedSearchValue = _useState8[1];
|
|
941
|
+
|
|
942
|
+
console.log({
|
|
943
|
+
searchValue: searchValue,
|
|
944
|
+
debouncedSearchValue: debouncedSearchValue
|
|
945
|
+
});
|
|
840
946
|
var boundingClientRect = (_dropdownRef$current = dropdownRef.current) == null ? void 0 : _dropdownRef$current.getBoundingClientRect();
|
|
841
947
|
React.useEffect(function () {
|
|
842
948
|
if (window.innerHeight - ((boundingClientRect == null ? void 0 : boundingClientRect.y) + 240) >= 0) {
|
|
@@ -916,26 +1022,89 @@ var StackedMultiSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2,
|
|
|
916
1022
|
});
|
|
917
1023
|
};
|
|
918
1024
|
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
position: "relative",
|
|
922
|
-
onKeyDown: function onKeyDown(e) {
|
|
923
|
-
if (isFocussed) {
|
|
924
|
-
var _dropdownMenuRef$curr;
|
|
1025
|
+
var handleOnKeyDown = function handleOnKeyDown(e) {
|
|
1026
|
+
var initialOptionIndex = options[0].value === 'section_header' ? 1 : 0;
|
|
925
1027
|
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1028
|
+
if (!isFocussed && (e.key === 'Enter' || e.key === 'ArrowUp' || e.key === 'ArrowDown')) {
|
|
1029
|
+
setIsFocussed(true);
|
|
1030
|
+
return setOptionIndex(initialOptionIndex);
|
|
1031
|
+
}
|
|
929
1032
|
|
|
930
|
-
|
|
931
|
-
|
|
1033
|
+
if (isFocussed) {
|
|
1034
|
+
if (optionIndex === null && (e.key === 'Enter' || e.key === 'ArrowUp' || e.key === 'ArrowDown')) {
|
|
1035
|
+
return setOptionIndex(initialOptionIndex);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
if (e.key === 'ArrowUp' && optionIndex !== null && optionIndex > 0) {
|
|
1039
|
+
var _dropdownMenuRef$curr;
|
|
1040
|
+
|
|
1041
|
+
var incrementValue = localOptions[optionIndex - 1] && localOptions[optionIndex - 1].value === 'section_header' ? 2 : 1;
|
|
1042
|
+
setOptionIndex(optionIndex - incrementValue);
|
|
1043
|
+
return (_dropdownMenuRef$curr = dropdownMenuRef.current) == null ? void 0 : _dropdownMenuRef$curr.scrollTo({
|
|
1044
|
+
top: optionIndex * 24,
|
|
1045
|
+
behavior: 'smooth'
|
|
932
1046
|
});
|
|
933
|
-
|
|
934
|
-
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
if (e.key === 'ArrowDown' && optionIndex !== null && optionIndex < localOptions.length) {
|
|
1050
|
+
var _dropdownMenuRef$curr2;
|
|
1051
|
+
|
|
1052
|
+
var _incrementValue = localOptions[optionIndex + 1] && localOptions[optionIndex + 1].value === 'section_header' ? 2 : 1;
|
|
1053
|
+
|
|
1054
|
+
setOptionIndex(optionIndex + _incrementValue);
|
|
1055
|
+
return (_dropdownMenuRef$curr2 = dropdownMenuRef.current) == null ? void 0 : _dropdownMenuRef$curr2.scrollTo({
|
|
1056
|
+
top: optionIndex * 24,
|
|
935
1057
|
behavior: 'smooth'
|
|
936
1058
|
});
|
|
937
1059
|
}
|
|
1060
|
+
|
|
1061
|
+
if (e.key === 'Enter' && optionIndex !== null) {
|
|
1062
|
+
var option = localOptions.find(function (_, idx) {
|
|
1063
|
+
return optionIndex === idx;
|
|
1064
|
+
});
|
|
1065
|
+
if (!option) return;
|
|
1066
|
+
handleChange(option);
|
|
1067
|
+
return setIsFocussed(false);
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
if (e.key === 'Tab') {
|
|
1071
|
+
return setIsFocussed(false);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
return update(debouncedSearchValue.concat(e.key));
|
|
938
1075
|
}
|
|
1076
|
+
};
|
|
1077
|
+
|
|
1078
|
+
React.useEffect(function () {
|
|
1079
|
+
if (searchValue.length) {
|
|
1080
|
+
var _dropdownMenuRef$curr3;
|
|
1081
|
+
|
|
1082
|
+
var idx = options.findIndex(function (option) {
|
|
1083
|
+
return option.label.substring(0, searchValue.length).toLowerCase() === searchValue.toLowerCase();
|
|
1084
|
+
});
|
|
1085
|
+
(_dropdownMenuRef$curr3 = dropdownMenuRef.current) == null ? void 0 : _dropdownMenuRef$curr3.scrollTo({
|
|
1086
|
+
top: idx * 24,
|
|
1087
|
+
behavior: 'smooth'
|
|
1088
|
+
});
|
|
1089
|
+
setSearchValue('');
|
|
1090
|
+
setDebouncedSearchValue('');
|
|
1091
|
+
}
|
|
1092
|
+
}, [options, searchValue]);
|
|
1093
|
+
var updateSearchValue = React.useMemo(function () {
|
|
1094
|
+
return lodash.debounce(function (val) {
|
|
1095
|
+
setSearchValue(val);
|
|
1096
|
+
}, 1000);
|
|
1097
|
+
}, []);
|
|
1098
|
+
|
|
1099
|
+
var update = function update(value) {
|
|
1100
|
+
updateSearchValue(value);
|
|
1101
|
+
setDebouncedSearchValue(value);
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
return /*#__PURE__*/React__default.createElement(react.Box, {
|
|
1105
|
+
ref: dropdownRef,
|
|
1106
|
+
position: "relative",
|
|
1107
|
+
onKeyDown: handleOnKeyDown
|
|
939
1108
|
}, /*#__PURE__*/React__default.createElement(react.Flex, {
|
|
940
1109
|
fontSize: "13px",
|
|
941
1110
|
h: "26px",
|
|
@@ -1018,7 +1187,8 @@ var StackedMultiSelect = /*#__PURE__*/React__default.forwardRef(function (_ref2,
|
|
|
1018
1187
|
return handleChange(option);
|
|
1019
1188
|
},
|
|
1020
1189
|
options: localOptions,
|
|
1021
|
-
position: position
|
|
1190
|
+
position: position,
|
|
1191
|
+
optionIndex: optionIndex
|
|
1022
1192
|
}));
|
|
1023
1193
|
});
|
|
1024
1194
|
|
|
@@ -1244,10 +1414,10 @@ var StackedPilledInput = /*#__PURE__*/React__default.forwardRef(function (_ref2,
|
|
|
1244
1414
|
onRemoveTag(index);
|
|
1245
1415
|
}
|
|
1246
1416
|
}));
|
|
1247
|
-
}) : /*#__PURE__*/React__default.createElement(react.Text, {
|
|
1417
|
+
}) : null, !lastestFormValueToArray.length && !isFocussed ? /*#__PURE__*/React__default.createElement(react.Text, {
|
|
1248
1418
|
color: colors.label.secondary.light,
|
|
1249
1419
|
fontSize: "13px"
|
|
1250
|
-
}, placeholder)), /*#__PURE__*/React__default.createElement(react.Flex, {
|
|
1420
|
+
}, placeholder) : null), /*#__PURE__*/React__default.createElement(react.Flex, {
|
|
1251
1421
|
flex: 1,
|
|
1252
1422
|
minWidth: isFocussed ? '20%' : 0
|
|
1253
1423
|
}, /*#__PURE__*/React__default.createElement(react.Input, {
|
|
@@ -1307,12 +1477,22 @@ var StackedSwitch = /*#__PURE__*/React__default.forwardRef(function (_ref2, _ref
|
|
|
1307
1477
|
*/
|
|
1308
1478
|
|
|
1309
1479
|
var Label$1 = function Label(_ref) {
|
|
1310
|
-
var
|
|
1480
|
+
var tooltipText = _ref.tooltipText,
|
|
1481
|
+
isRequired = _ref.isRequired,
|
|
1311
1482
|
label = _ref.label;
|
|
1312
|
-
return /*#__PURE__*/React__default.createElement(react.FormLabel,
|
|
1483
|
+
return /*#__PURE__*/React__default.createElement(react.FormLabel, {
|
|
1484
|
+
display: "flex",
|
|
1485
|
+
alignItems: "center"
|
|
1486
|
+
}, label, isRequired && /*#__PURE__*/React__default.createElement(react.Box, {
|
|
1313
1487
|
ml: 1,
|
|
1314
1488
|
color: colors.label.error
|
|
1315
|
-
}, "*")
|
|
1489
|
+
}, "*"), !!tooltipText && /*#__PURE__*/React__default.createElement(react.Tooltip, {
|
|
1490
|
+
label: tooltipText,
|
|
1491
|
+
placement: "top"
|
|
1492
|
+
}, /*#__PURE__*/React__default.createElement(icons.QuestionOutlineIcon, {
|
|
1493
|
+
boxSize: "13px",
|
|
1494
|
+
ml: "8px"
|
|
1495
|
+
})));
|
|
1316
1496
|
};
|
|
1317
1497
|
|
|
1318
1498
|
/**
|
|
@@ -1329,6 +1509,7 @@ function Input(_ref) {
|
|
|
1329
1509
|
name = _ref.name,
|
|
1330
1510
|
helperText = _ref.helperText,
|
|
1331
1511
|
options = _ref.options,
|
|
1512
|
+
tooltipText = _ref.tooltipText,
|
|
1332
1513
|
isInvalid = _ref.isInvalid,
|
|
1333
1514
|
errorText = _ref.errorText,
|
|
1334
1515
|
isRequired = _ref.isRequired,
|
|
@@ -1336,6 +1517,8 @@ function Input(_ref) {
|
|
|
1336
1517
|
defaultValue = _ref.defaultValue,
|
|
1337
1518
|
control = _ref.control,
|
|
1338
1519
|
disabled = _ref.disabled,
|
|
1520
|
+
rightElement = _ref.rightElement,
|
|
1521
|
+
leftElement = _ref.leftElement,
|
|
1339
1522
|
onChange = _ref.onChange,
|
|
1340
1523
|
setValue = _ref.setValue,
|
|
1341
1524
|
setError = _ref.setError,
|
|
@@ -1356,6 +1539,8 @@ function Input(_ref) {
|
|
|
1356
1539
|
onChange: onChange,
|
|
1357
1540
|
onBlur: onBlur,
|
|
1358
1541
|
ref: ref,
|
|
1542
|
+
rightElement: rightElement,
|
|
1543
|
+
leftElement: leftElement,
|
|
1359
1544
|
disabled: disabled,
|
|
1360
1545
|
value: value
|
|
1361
1546
|
});
|
|
@@ -1398,6 +1583,7 @@ function Input(_ref) {
|
|
|
1398
1583
|
className: "input-" + inputType + " " + (className != null ? className : ''),
|
|
1399
1584
|
name: name,
|
|
1400
1585
|
id: name,
|
|
1586
|
+
placeholder: placeholder,
|
|
1401
1587
|
maxLength: maxLength,
|
|
1402
1588
|
isInvalid: isInvalid,
|
|
1403
1589
|
onChange: onChange,
|
|
@@ -1453,6 +1639,7 @@ function Input(_ref) {
|
|
|
1453
1639
|
ref: ref,
|
|
1454
1640
|
disabled: disabled,
|
|
1455
1641
|
value: value,
|
|
1642
|
+
placeholder: placeholder,
|
|
1456
1643
|
setValue: setValue,
|
|
1457
1644
|
setError: setError,
|
|
1458
1645
|
clearErrors: clearErrors,
|
|
@@ -1499,6 +1686,7 @@ function Input(_ref) {
|
|
|
1499
1686
|
position: "relative",
|
|
1500
1687
|
py: label || helperText || isInvalid ? 6 : 0
|
|
1501
1688
|
}, label && /*#__PURE__*/React__default.createElement(Label$1, {
|
|
1689
|
+
tooltipText: tooltipText,
|
|
1502
1690
|
label: label,
|
|
1503
1691
|
isRequired: isRequired
|
|
1504
1692
|
}), selectedInputField(onChange ? onChange : fieldOnChange, onBlur, ref, value), isInvalid ? /*#__PURE__*/React__default.createElement(react.FormErrorMessage, null, errorText) : helperText && /*#__PURE__*/React__default.createElement(react.FormHelperText, null, helperText));
|
|
@@ -2382,214 +2570,9 @@ var Link = {
|
|
|
2382
2570
|
variants: variants$5
|
|
2383
2571
|
};
|
|
2384
2572
|
|
|
2385
|
-
var
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
zIndex: 'modal'
|
|
2389
|
-
};
|
|
2390
|
-
|
|
2391
|
-
function baseStyleDialogContainer(props) {
|
|
2392
|
-
var scrollBehavior = props.scrollBehavior;
|
|
2393
|
-
return {
|
|
2394
|
-
display: 'flex',
|
|
2395
|
-
zIndex: 'modal',
|
|
2396
|
-
justifyContent: 'center',
|
|
2397
|
-
alignItems: 'flex-start',
|
|
2398
|
-
overflow: scrollBehavior === 'inside' ? 'hidden' : 'auto',
|
|
2399
|
-
WebkitOverflowScrolling: 'touch'
|
|
2400
|
-
};
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
function baseStyleDialog(props) {
|
|
2404
|
-
var isCentered = props.isCentered,
|
|
2405
|
-
scrollBehavior = props.scrollBehavior;
|
|
2406
|
-
return {
|
|
2407
|
-
borderRadius: 'lg',
|
|
2408
|
-
bg: themeTools.mode('white', 'gray.700')(props),
|
|
2409
|
-
color: 'inherit',
|
|
2410
|
-
mt: isCentered ? {
|
|
2411
|
-
base: 8,
|
|
2412
|
-
md: 'auto'
|
|
2413
|
-
} : '3.75rem',
|
|
2414
|
-
mb: isCentered ? {
|
|
2415
|
-
base: 20,
|
|
2416
|
-
md: 'auto'
|
|
2417
|
-
} : '3.75rem',
|
|
2418
|
-
mx: 4,
|
|
2419
|
-
zIndex: 'modal',
|
|
2420
|
-
maxH: scrollBehavior === 'inside' ? 'calc(100vh - 7.5rem)' : undefined,
|
|
2421
|
-
boxShadow: themeTools.mode('xl', 'dark-lg')(props)
|
|
2422
|
-
};
|
|
2423
|
-
}
|
|
2424
|
-
|
|
2425
|
-
var baseStyleHeader = {
|
|
2426
|
-
px: 6,
|
|
2427
|
-
py: 4,
|
|
2428
|
-
minHeight: 20,
|
|
2429
|
-
fontSize: 'xl',
|
|
2430
|
-
display: 'flex',
|
|
2431
|
-
alignItems: 'center',
|
|
2432
|
-
fontWeight: 'bold',
|
|
2433
|
-
bg: 'primary.900',
|
|
2434
|
-
color: 'white',
|
|
2435
|
-
userSelect: 'none'
|
|
2436
|
-
};
|
|
2437
|
-
var baseStyleCloseButton = {
|
|
2438
|
-
position: 'absolute',
|
|
2439
|
-
top: 2,
|
|
2440
|
-
right: 3
|
|
2441
|
-
};
|
|
2442
|
-
|
|
2443
|
-
function baseStyleBody(props) {
|
|
2444
|
-
var scrollBehavior = props.scrollBehavior;
|
|
2445
|
-
return {
|
|
2446
|
-
px: [6, null, 20],
|
|
2447
|
-
py: 10,
|
|
2448
|
-
flex: 1,
|
|
2449
|
-
overflow: scrollBehavior === 'inside' ? 'auto' : undefined
|
|
2450
|
-
};
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
|
-
var baseStyleFooter = {
|
|
2454
|
-
px: [6, null, 20],
|
|
2455
|
-
pt: 5,
|
|
2456
|
-
pb: 16
|
|
2457
|
-
};
|
|
2458
|
-
|
|
2459
|
-
var baseStyle$9 = function baseStyle(props) {
|
|
2460
|
-
return {
|
|
2461
|
-
overlay: baseStyleOverlay,
|
|
2462
|
-
dialogContainer: baseStyleDialogContainer(props),
|
|
2463
|
-
dialog: baseStyleDialog(props),
|
|
2464
|
-
header: baseStyleHeader,
|
|
2465
|
-
closeButton: baseStyleCloseButton,
|
|
2466
|
-
body: baseStyleBody(props),
|
|
2467
|
-
footer: baseStyleFooter
|
|
2468
|
-
};
|
|
2469
|
-
};
|
|
2470
|
-
/**
|
|
2471
|
-
* Since the `maxWidth` prop references theme.sizes internally,
|
|
2472
|
-
* we can leverage that to size our modals.
|
|
2473
|
-
*/
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
function getSize(value) {
|
|
2477
|
-
var commonBodyFooterStyles = {
|
|
2478
|
-
xs: {
|
|
2479
|
-
px: 8,
|
|
2480
|
-
pb: 8
|
|
2481
|
-
},
|
|
2482
|
-
sm: {
|
|
2483
|
-
px: 8,
|
|
2484
|
-
pb: 8
|
|
2485
|
-
},
|
|
2486
|
-
md: {
|
|
2487
|
-
px: 8,
|
|
2488
|
-
pb: 8
|
|
2489
|
-
},
|
|
2490
|
-
lg: {
|
|
2491
|
-
px: 10,
|
|
2492
|
-
pb: 10
|
|
2493
|
-
},
|
|
2494
|
-
xl: {
|
|
2495
|
-
px: 12,
|
|
2496
|
-
pb: 10
|
|
2497
|
-
}
|
|
2498
|
-
};
|
|
2499
|
-
var bodyStyles = {
|
|
2500
|
-
xs: {
|
|
2501
|
-
py: 6
|
|
2502
|
-
},
|
|
2503
|
-
sm: {
|
|
2504
|
-
py: 6
|
|
2505
|
-
},
|
|
2506
|
-
md: {
|
|
2507
|
-
py: 6
|
|
2508
|
-
},
|
|
2509
|
-
lg: {
|
|
2510
|
-
py: 8
|
|
2511
|
-
},
|
|
2512
|
-
xl: {
|
|
2513
|
-
py: 8
|
|
2514
|
-
}
|
|
2515
|
-
};
|
|
2516
|
-
var footerStyles = {
|
|
2517
|
-
xs: {
|
|
2518
|
-
pb: 8
|
|
2519
|
-
},
|
|
2520
|
-
sm: {
|
|
2521
|
-
pb: 8
|
|
2522
|
-
},
|
|
2523
|
-
md: {
|
|
2524
|
-
pb: 8
|
|
2525
|
-
},
|
|
2526
|
-
lg: {
|
|
2527
|
-
pb: 10
|
|
2528
|
-
},
|
|
2529
|
-
xl: {
|
|
2530
|
-
pb: 10
|
|
2531
|
-
}
|
|
2532
|
-
};
|
|
2533
|
-
|
|
2534
|
-
if (value === 'full') {
|
|
2535
|
-
return {
|
|
2536
|
-
content: {
|
|
2537
|
-
maxW: '100vw',
|
|
2538
|
-
h: '100vh'
|
|
2539
|
-
}
|
|
2540
|
-
};
|
|
2541
|
-
}
|
|
2542
|
-
|
|
2543
|
-
return {
|
|
2544
|
-
content: {
|
|
2545
|
-
maxW: value
|
|
2546
|
-
},
|
|
2547
|
-
body: _extends({}, commonBodyFooterStyles[value], bodyStyles[value]),
|
|
2548
|
-
footer: _extends({}, commonBodyFooterStyles[value], footerStyles[value])
|
|
2549
|
-
};
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
var sizes = {
|
|
2553
|
-
xs: /*#__PURE__*/getSize('xs'),
|
|
2554
|
-
sm: /*#__PURE__*/getSize('sm'),
|
|
2555
|
-
md: /*#__PURE__*/getSize('md'),
|
|
2556
|
-
lg: /*#__PURE__*/getSize('lg'),
|
|
2557
|
-
xl: /*#__PURE__*/getSize('xl'),
|
|
2558
|
-
'2xl': /*#__PURE__*/getSize('2xl'),
|
|
2559
|
-
'3xl': /*#__PURE__*/getSize('3xl'),
|
|
2560
|
-
'4xl': /*#__PURE__*/getSize('4xl'),
|
|
2561
|
-
'5xl': /*#__PURE__*/getSize('5xl'),
|
|
2562
|
-
'6xl': /*#__PURE__*/getSize('6xl'),
|
|
2563
|
-
full: /*#__PURE__*/getSize('full')
|
|
2564
|
-
};
|
|
2565
|
-
|
|
2566
|
-
var warningVariant = function warningVariant() {
|
|
2567
|
-
return {
|
|
2568
|
-
header: {
|
|
2569
|
-
bg: 'warning.300',
|
|
2570
|
-
color: 'black'
|
|
2571
|
-
}
|
|
2572
|
-
};
|
|
2573
|
-
};
|
|
2574
|
-
|
|
2575
|
-
var variants$6 = {
|
|
2576
|
-
warning: warningVariant
|
|
2577
|
-
};
|
|
2578
|
-
var defaultProps$5 = {
|
|
2579
|
-
size: 'lg',
|
|
2580
|
-
isCentered: true
|
|
2581
|
-
};
|
|
2582
|
-
var Modal = {
|
|
2583
|
-
parts: parts$4,
|
|
2584
|
-
baseStyle: baseStyle$9,
|
|
2585
|
-
sizes: sizes,
|
|
2586
|
-
variants: variants$6,
|
|
2587
|
-
defaultProps: defaultProps$5
|
|
2588
|
-
};
|
|
2589
|
-
|
|
2590
|
-
var defaultProps$6 = Input$1.defaultProps,
|
|
2591
|
-
variants$7 = Input$1.variants;
|
|
2592
|
-
var parts$5 = ['field', 'icon'];
|
|
2573
|
+
var defaultProps$5 = Input$1.defaultProps,
|
|
2574
|
+
variants$6 = Input$1.variants;
|
|
2575
|
+
var parts$4 = ['field', 'icon'];
|
|
2593
2576
|
|
|
2594
2577
|
function baseStyleField() {
|
|
2595
2578
|
return _extends({}, Input$1.baseStyle.field, {
|
|
@@ -2610,7 +2593,7 @@ var baseStyleInput = {
|
|
|
2610
2593
|
}
|
|
2611
2594
|
};
|
|
2612
2595
|
|
|
2613
|
-
var baseStyle$
|
|
2596
|
+
var baseStyle$9 = function baseStyle() {
|
|
2614
2597
|
return {
|
|
2615
2598
|
field: baseStyleField(),
|
|
2616
2599
|
icon: baseStyleInput
|
|
@@ -2618,13 +2601,13 @@ var baseStyle$a = function baseStyle() {
|
|
|
2618
2601
|
};
|
|
2619
2602
|
|
|
2620
2603
|
var Select = {
|
|
2621
|
-
parts: parts$
|
|
2622
|
-
baseStyle: baseStyle$
|
|
2623
|
-
variants: variants$
|
|
2624
|
-
defaultProps: defaultProps$
|
|
2604
|
+
parts: parts$4,
|
|
2605
|
+
baseStyle: baseStyle$9,
|
|
2606
|
+
variants: variants$6,
|
|
2607
|
+
defaultProps: defaultProps$5
|
|
2625
2608
|
};
|
|
2626
2609
|
|
|
2627
|
-
var parts$
|
|
2610
|
+
var parts$5 = ['track', 'thumb'];
|
|
2628
2611
|
|
|
2629
2612
|
function baseStyleTrack(props) {
|
|
2630
2613
|
var c = props.colorScheme,
|
|
@@ -2657,14 +2640,14 @@ var baseStyleThumb = {
|
|
|
2657
2640
|
transform: 'translateX(0)'
|
|
2658
2641
|
};
|
|
2659
2642
|
|
|
2660
|
-
var baseStyle$
|
|
2643
|
+
var baseStyle$a = function baseStyle(props) {
|
|
2661
2644
|
return {
|
|
2662
2645
|
track: baseStyleTrack(props),
|
|
2663
2646
|
thumb: baseStyleThumb
|
|
2664
2647
|
};
|
|
2665
2648
|
};
|
|
2666
2649
|
|
|
2667
|
-
var sizes
|
|
2650
|
+
var sizes = {
|
|
2668
2651
|
sm: {
|
|
2669
2652
|
track: {
|
|
2670
2653
|
w: '1.375rem',
|
|
@@ -2705,19 +2688,19 @@ var sizes$1 = {
|
|
|
2705
2688
|
}
|
|
2706
2689
|
}
|
|
2707
2690
|
};
|
|
2708
|
-
var defaultProps$
|
|
2691
|
+
var defaultProps$6 = {
|
|
2709
2692
|
size: 'md',
|
|
2710
2693
|
colorScheme: 'blue'
|
|
2711
2694
|
};
|
|
2712
2695
|
var Switch = {
|
|
2713
|
-
parts: parts$
|
|
2714
|
-
baseStyle: baseStyle$
|
|
2715
|
-
sizes: sizes
|
|
2716
|
-
defaultProps: defaultProps$
|
|
2696
|
+
parts: parts$5,
|
|
2697
|
+
baseStyle: baseStyle$a,
|
|
2698
|
+
sizes: sizes,
|
|
2699
|
+
defaultProps: defaultProps$6
|
|
2717
2700
|
};
|
|
2718
2701
|
|
|
2719
|
-
var parts$
|
|
2720
|
-
var baseStyle$
|
|
2702
|
+
var parts$6 = ['th', 'td', 'tr', 'body', 'thead'];
|
|
2703
|
+
var baseStyle$b = {
|
|
2721
2704
|
thead: {
|
|
2722
2705
|
bg: colors.label.primary.dark
|
|
2723
2706
|
},
|
|
@@ -2753,11 +2736,11 @@ var baseStyle$c = {
|
|
|
2753
2736
|
}
|
|
2754
2737
|
};
|
|
2755
2738
|
var Table$1 = {
|
|
2756
|
-
parts: parts$
|
|
2757
|
-
baseStyle: baseStyle$
|
|
2739
|
+
parts: parts$6,
|
|
2740
|
+
baseStyle: baseStyle$b
|
|
2758
2741
|
};
|
|
2759
2742
|
|
|
2760
|
-
var parts$
|
|
2743
|
+
var parts$7 = ['root', 'tablist', 'tab', 'tabpanel', 'indicator'];
|
|
2761
2744
|
|
|
2762
2745
|
function baseStyleRoot(props) {
|
|
2763
2746
|
var orientation = props.orientation;
|
|
@@ -2797,7 +2780,7 @@ var baseStyleTabpanel = {
|
|
|
2797
2780
|
p: 4
|
|
2798
2781
|
};
|
|
2799
2782
|
|
|
2800
|
-
var baseStyle$
|
|
2783
|
+
var baseStyle$c = function baseStyle(props) {
|
|
2801
2784
|
return {
|
|
2802
2785
|
root: baseStyleRoot(props),
|
|
2803
2786
|
tab: baseStyleTab(props),
|
|
@@ -2806,7 +2789,7 @@ var baseStyle$d = function baseStyle(props) {
|
|
|
2806
2789
|
};
|
|
2807
2790
|
};
|
|
2808
2791
|
|
|
2809
|
-
var sizes$
|
|
2792
|
+
var sizes$1 = {
|
|
2810
2793
|
sm: {
|
|
2811
2794
|
tab: {
|
|
2812
2795
|
py: '0.25rem',
|
|
@@ -2976,7 +2959,7 @@ var variantSimple = {
|
|
|
2976
2959
|
}
|
|
2977
2960
|
}
|
|
2978
2961
|
};
|
|
2979
|
-
var variants$
|
|
2962
|
+
var variants$7 = {
|
|
2980
2963
|
line: variantLine,
|
|
2981
2964
|
enclosed: variantEnclosed,
|
|
2982
2965
|
'enclosed-colored': variantEnclosedColored,
|
|
@@ -2985,20 +2968,20 @@ var variants$8 = {
|
|
|
2985
2968
|
unstyled: variantUnstyled,
|
|
2986
2969
|
simple: variantSimple
|
|
2987
2970
|
};
|
|
2988
|
-
var defaultProps$
|
|
2971
|
+
var defaultProps$7 = {
|
|
2989
2972
|
size: 'md',
|
|
2990
2973
|
variant: 'line',
|
|
2991
2974
|
colorScheme: 'blue'
|
|
2992
2975
|
};
|
|
2993
2976
|
var Tabs = {
|
|
2994
|
-
parts: parts$
|
|
2995
|
-
baseStyle: baseStyle$
|
|
2996
|
-
sizes: sizes$
|
|
2997
|
-
variants: variants$
|
|
2998
|
-
defaultProps: defaultProps$
|
|
2977
|
+
parts: parts$7,
|
|
2978
|
+
baseStyle: baseStyle$c,
|
|
2979
|
+
sizes: sizes$1,
|
|
2980
|
+
variants: variants$7,
|
|
2981
|
+
defaultProps: defaultProps$7
|
|
2999
2982
|
};
|
|
3000
2983
|
|
|
3001
|
-
var baseStyle$
|
|
2984
|
+
var baseStyle$d = /*#__PURE__*/_extends({}, Input$1.baseStyle.field, {
|
|
3002
2985
|
fontSize: '13px',
|
|
3003
2986
|
display: 'block',
|
|
3004
2987
|
paddingY: '8px',
|
|
@@ -3007,16 +2990,16 @@ var baseStyle$e = /*#__PURE__*/_extends({}, Input$1.baseStyle.field, {
|
|
|
3007
2990
|
lineHeight: 'short'
|
|
3008
2991
|
});
|
|
3009
2992
|
|
|
3010
|
-
var defaultProps$
|
|
2993
|
+
var defaultProps$8 = {
|
|
3011
2994
|
variant: 'default'
|
|
3012
2995
|
};
|
|
3013
2996
|
var Textarea = {
|
|
3014
|
-
baseStyle: baseStyle$
|
|
3015
|
-
defaultProps: defaultProps$
|
|
2997
|
+
baseStyle: baseStyle$d,
|
|
2998
|
+
defaultProps: defaultProps$8
|
|
3016
2999
|
};
|
|
3017
3000
|
|
|
3018
|
-
var defaultProps$
|
|
3019
|
-
var baseStyle$
|
|
3001
|
+
var defaultProps$9 = react.Text.defaultProps;
|
|
3002
|
+
var baseStyle$e = {
|
|
3020
3003
|
fontWeight: typography.fontWeights.normal,
|
|
3021
3004
|
fontFamily: typography.fonts.base,
|
|
3022
3005
|
fontSize: typography.fontSizes.sm,
|
|
@@ -3025,7 +3008,7 @@ var baseStyle$f = {
|
|
|
3025
3008
|
};
|
|
3026
3009
|
|
|
3027
3010
|
function variantHeader() {
|
|
3028
|
-
return _extends({}, baseStyle$
|
|
3011
|
+
return _extends({}, baseStyle$e, {
|
|
3029
3012
|
fontWeight: typography.fontWeights.bold,
|
|
3030
3013
|
fontSize: typography.fontSizes['3xl'],
|
|
3031
3014
|
lineHeight: typography.lineHeights[8],
|
|
@@ -3034,7 +3017,7 @@ function variantHeader() {
|
|
|
3034
3017
|
}
|
|
3035
3018
|
|
|
3036
3019
|
function variantSubheader() {
|
|
3037
|
-
return _extends({}, baseStyle$
|
|
3020
|
+
return _extends({}, baseStyle$e, {
|
|
3038
3021
|
fontWeight: typography.fontWeights.semibold,
|
|
3039
3022
|
fontSize: typography.fontSizes['lg'],
|
|
3040
3023
|
lineHeight: typography.lineHeights[5],
|
|
@@ -3043,19 +3026,19 @@ function variantSubheader() {
|
|
|
3043
3026
|
}
|
|
3044
3027
|
|
|
3045
3028
|
function variantParagraph() {
|
|
3046
|
-
return baseStyle$
|
|
3029
|
+
return baseStyle$e;
|
|
3047
3030
|
}
|
|
3048
3031
|
|
|
3049
|
-
var variants$
|
|
3032
|
+
var variants$8 = {
|
|
3050
3033
|
header: variantHeader,
|
|
3051
3034
|
subheader: variantSubheader,
|
|
3052
3035
|
paragraph: variantParagraph
|
|
3053
3036
|
};
|
|
3054
3037
|
var Text$1 = {
|
|
3055
|
-
baseStyle: baseStyle$
|
|
3056
|
-
variants: variants$
|
|
3057
|
-
defaultProps: /*#__PURE__*/_extends({}, defaultProps$
|
|
3058
|
-
variant: variants$
|
|
3038
|
+
baseStyle: baseStyle$e,
|
|
3039
|
+
variants: variants$8,
|
|
3040
|
+
defaultProps: /*#__PURE__*/_extends({}, defaultProps$9, {
|
|
3041
|
+
variant: variants$8.paragraph
|
|
3059
3042
|
})
|
|
3060
3043
|
};
|
|
3061
3044
|
|
|
@@ -3095,7 +3078,6 @@ var customXQChakraTheme = /*#__PURE__*/react.extendTheme( /*#__PURE__*/_extends(
|
|
|
3095
3078
|
FormLabel: FormLabel,
|
|
3096
3079
|
Input: Input$1,
|
|
3097
3080
|
Link: Link,
|
|
3098
|
-
Modal: Modal,
|
|
3099
3081
|
Select: Select,
|
|
3100
3082
|
Switch: Switch,
|
|
3101
3083
|
Table: Table$1,
|