sag_components 2.0.0-beta271 → 2.0.0-beta273
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/index.d.ts
CHANGED
|
@@ -1590,7 +1590,7 @@ declare function OverlayDropdown({ data, value, onSelectClick, disabled, isDarke
|
|
|
1590
1590
|
hoverColor?: string;
|
|
1591
1591
|
dropdownMaxHeight?: string;
|
|
1592
1592
|
width?: string;
|
|
1593
|
-
minWidth
|
|
1593
|
+
minWidth?: string;
|
|
1594
1594
|
height?: string;
|
|
1595
1595
|
label: any;
|
|
1596
1596
|
labelEmptyValue: any;
|
package/dist/index.esm.js
CHANGED
|
@@ -10581,24 +10581,23 @@ const QuarterPopupPicker = ({
|
|
|
10581
10581
|
};
|
|
10582
10582
|
|
|
10583
10583
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10584
|
-
const QuarterPicker =
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
} = _ref;
|
|
10584
|
+
const QuarterPicker = ({
|
|
10585
|
+
availableQuarters,
|
|
10586
|
+
// ["Q1-2024"]
|
|
10587
|
+
label,
|
|
10588
|
+
onChange,
|
|
10589
|
+
borderRadius,
|
|
10590
|
+
required,
|
|
10591
|
+
width,
|
|
10592
|
+
height,
|
|
10593
|
+
placeholder,
|
|
10594
|
+
disabled,
|
|
10595
|
+
borderColor,
|
|
10596
|
+
borderColorFocus,
|
|
10597
|
+
textColor,
|
|
10598
|
+
selectedValue,
|
|
10599
|
+
startYear
|
|
10600
|
+
}) => {
|
|
10602
10601
|
const [isFocused, setIsFocused] = useState(false);
|
|
10603
10602
|
const [isOpen, setIsOpen] = useState(false);
|
|
10604
10603
|
const [value, setValue] = useState('');
|
|
@@ -11040,23 +11039,22 @@ const MonthPopupPicker = ({
|
|
|
11040
11039
|
};
|
|
11041
11040
|
|
|
11042
11041
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11043
|
-
const MonthPicker =
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
} = _ref;
|
|
11042
|
+
const MonthPicker = ({
|
|
11043
|
+
availableMonths,
|
|
11044
|
+
label,
|
|
11045
|
+
onChange,
|
|
11046
|
+
borderRadius,
|
|
11047
|
+
required,
|
|
11048
|
+
width,
|
|
11049
|
+
height,
|
|
11050
|
+
placeholder,
|
|
11051
|
+
disabled,
|
|
11052
|
+
borderColor,
|
|
11053
|
+
borderColorFocus,
|
|
11054
|
+
textColor,
|
|
11055
|
+
selectedValue,
|
|
11056
|
+
startYear
|
|
11057
|
+
}) => {
|
|
11060
11058
|
const [isFocused, setIsFocused] = useState(false);
|
|
11061
11059
|
const [isOpen, setIsOpen] = useState(false);
|
|
11062
11060
|
const [value, setValue] = useState('');
|
|
@@ -36086,7 +36084,7 @@ Input$2.defaultProps = {
|
|
|
36086
36084
|
labelColor: "#066768",
|
|
36087
36085
|
required: true,
|
|
36088
36086
|
width: "300px",
|
|
36089
|
-
minWidth: "
|
|
36087
|
+
minWidth: "unset",
|
|
36090
36088
|
disabled: false,
|
|
36091
36089
|
error: false,
|
|
36092
36090
|
errorMessage: "",
|
|
@@ -43061,11 +43059,13 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
43061
43059
|
case "editable":
|
|
43062
43060
|
try {
|
|
43063
43061
|
const isDefine = value === null || value === undefined;
|
|
43062
|
+
const isDisabled = column?.disable || false;
|
|
43064
43063
|
return /*#__PURE__*/React$1.createElement(EditableCell, null, /*#__PURE__*/React$1.createElement("span", {
|
|
43065
43064
|
style: {
|
|
43066
43065
|
color: isDefine ? "#8B8989" : "inherit"
|
|
43067
43066
|
}
|
|
43068
43067
|
}, value ? `$${value}` : "Define"), /*#__PURE__*/React$1.createElement(PencilButton, {
|
|
43068
|
+
disabled: isDisabled,
|
|
43069
43069
|
onClick: e => {
|
|
43070
43070
|
e.stopPropagation();
|
|
43071
43071
|
handleEditableClick(row, column.key, value, rowIndex);
|
|
@@ -57772,7 +57772,7 @@ const OverlayDropdown = _ref => {
|
|
|
57772
57772
|
hoverColor = "#E6F0F0",
|
|
57773
57773
|
dropdownMaxHeight = "600px",
|
|
57774
57774
|
width = "100%",
|
|
57775
|
-
minWidth,
|
|
57775
|
+
minWidth = "unset",
|
|
57776
57776
|
height = "auto",
|
|
57777
57777
|
label,
|
|
57778
57778
|
labelEmptyValue,
|