sag_components 2.0.0-beta274 → 2.0.0-beta276
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 +11 -11
- package/dist/index.esm.js +118 -116
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +118 -116
- package/dist/index.js.map +1 -1
- package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +11 -11
- package/dist/types/components/OverlayDropdown/OverlayDropdown.stories.d.ts +215 -79
- package/dist/types/components/Table/Table.stories.d.ts +12 -0
- package/dist/types/components/Table/TableBody.styles.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1578,29 +1578,29 @@ declare function ModalDrawer({ open, height, onClose, children, widthPercent }:
|
|
|
1578
1578
|
widthPercent?: number;
|
|
1579
1579
|
}): react_jsx_runtime.JSX.Element;
|
|
1580
1580
|
|
|
1581
|
-
declare function OverlayDropdown({ data, value, onSelectClick,
|
|
1581
|
+
declare function OverlayDropdown({ data, value, onSelectClick, label, labelEmptyValue, showLabelOnTop, labelColor, placeHolder, placeHolderColor, required, disabled, isDarkerBackground, editableDigitalCoupon, selectedColor, hoverColor, width, minWidth, dropdownWidth, dropdownMaxHeight, height, margin, ...props }: {
|
|
1582
1582
|
[x: string]: any;
|
|
1583
1583
|
data?: any[];
|
|
1584
1584
|
value: any;
|
|
1585
1585
|
onSelectClick: any;
|
|
1586
|
+
label: any;
|
|
1587
|
+
labelEmptyValue: any;
|
|
1588
|
+
showLabelOnTop: any;
|
|
1589
|
+
labelColor: any;
|
|
1590
|
+
placeHolder: any;
|
|
1591
|
+
placeHolderColor: any;
|
|
1592
|
+
required?: boolean;
|
|
1586
1593
|
disabled?: boolean;
|
|
1587
1594
|
isDarkerBackground?: boolean;
|
|
1588
|
-
|
|
1595
|
+
editableDigitalCoupon?: boolean;
|
|
1589
1596
|
selectedColor?: string;
|
|
1590
1597
|
hoverColor?: string;
|
|
1591
|
-
dropdownMaxHeight?: string;
|
|
1592
1598
|
width?: string;
|
|
1593
1599
|
minWidth?: string;
|
|
1600
|
+
dropdownWidth?: string;
|
|
1601
|
+
dropdownMaxHeight?: string;
|
|
1594
1602
|
height?: string;
|
|
1595
|
-
label: any;
|
|
1596
|
-
labelEmptyValue: any;
|
|
1597
|
-
showLabelOnTop: any;
|
|
1598
|
-
placeHolder: any;
|
|
1599
|
-
labelColor: any;
|
|
1600
|
-
placeHolderColor: any;
|
|
1601
1603
|
margin?: string;
|
|
1602
|
-
dropdownWidth?: string;
|
|
1603
|
-
editableDigitalCoupon?: boolean;
|
|
1604
1604
|
}): react_jsx_runtime.JSX.Element;
|
|
1605
1605
|
|
|
1606
1606
|
declare function MessageBox({ isOpen, isDisabled, onClose, onConfirm, title, primaryText, secondaryText, width, height, color, hoverColor, opacity, secondaryColor, seperateSectionBorder, children, tooltipContent, }: {
|
package/dist/index.esm.js
CHANGED
|
@@ -9292,7 +9292,6 @@ const Label$7 = styled.label`
|
|
|
9292
9292
|
return props.isFocused || props.hasValue ? '0px' : `${height / 2 - 4}px`;
|
|
9293
9293
|
}};
|
|
9294
9294
|
left: ${props => props.isFocused || props.hasValue ? '23px' : '10px'};
|
|
9295
|
-
font-family: Poppins;
|
|
9296
9295
|
transform: translateY(-50%);
|
|
9297
9296
|
transition: ${props => props.showLabelOnTop ? 'top 0.3s ease, font-size 0.3s ease, color 0.3s ease' : ''} ;
|
|
9298
9297
|
display: flex;
|
|
@@ -10581,23 +10580,24 @@ const QuarterPopupPicker = ({
|
|
|
10581
10580
|
};
|
|
10582
10581
|
|
|
10583
10582
|
/* 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
|
-
|
|
10583
|
+
const QuarterPicker = _ref => {
|
|
10584
|
+
let {
|
|
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
|
+
} = _ref;
|
|
10601
10601
|
const [isFocused, setIsFocused] = useState(false);
|
|
10602
10602
|
const [isOpen, setIsOpen] = useState(false);
|
|
10603
10603
|
const [value, setValue] = useState('');
|
|
@@ -11039,22 +11039,23 @@ const MonthPopupPicker = ({
|
|
|
11039
11039
|
};
|
|
11040
11040
|
|
|
11041
11041
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11042
|
-
const MonthPicker =
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11042
|
+
const MonthPicker = _ref => {
|
|
11043
|
+
let {
|
|
11044
|
+
availableMonths,
|
|
11045
|
+
label,
|
|
11046
|
+
onChange,
|
|
11047
|
+
borderRadius,
|
|
11048
|
+
required,
|
|
11049
|
+
width,
|
|
11050
|
+
height,
|
|
11051
|
+
placeholder,
|
|
11052
|
+
disabled,
|
|
11053
|
+
borderColor,
|
|
11054
|
+
borderColorFocus,
|
|
11055
|
+
textColor,
|
|
11056
|
+
selectedValue,
|
|
11057
|
+
startYear
|
|
11058
|
+
} = _ref;
|
|
11058
11059
|
const [isFocused, setIsFocused] = useState(false);
|
|
11059
11060
|
const [isOpen, setIsOpen] = useState(false);
|
|
11060
11061
|
const [value, setValue] = useState('');
|
|
@@ -24165,21 +24166,22 @@ const DeleteIcon = styled.div`
|
|
|
24165
24166
|
position: absolute;
|
|
24166
24167
|
`;
|
|
24167
24168
|
|
|
24168
|
-
const QuickFilterDropdownSingle =
|
|
24169
|
-
|
|
24170
|
-
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24169
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24170
|
+
let {
|
|
24171
|
+
label,
|
|
24172
|
+
hoverColor,
|
|
24173
|
+
options,
|
|
24174
|
+
selectedValue,
|
|
24175
|
+
placeHolder,
|
|
24176
|
+
onChange,
|
|
24177
|
+
disabled,
|
|
24178
|
+
width,
|
|
24179
|
+
error,
|
|
24180
|
+
errorMessage,
|
|
24181
|
+
xIconShow,
|
|
24182
|
+
labelColor,
|
|
24183
|
+
showLabelOnTop
|
|
24184
|
+
} = _ref;
|
|
24183
24185
|
const [isFocused, setIsFocused] = useState(false);
|
|
24184
24186
|
const [showOptions, setShowOptions] = useState(false);
|
|
24185
24187
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24540,7 +24542,6 @@ const OptionsContainer$1 = styled.div`
|
|
|
24540
24542
|
width: 100%;
|
|
24541
24543
|
background-color: #fff;
|
|
24542
24544
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
24543
|
-
|
|
24544
24545
|
`;
|
|
24545
24546
|
const OptionsSubContainer = styled.ul`
|
|
24546
24547
|
list-style: none;
|
|
@@ -24552,7 +24553,6 @@ const OptionsSubContainer = styled.ul`
|
|
|
24552
24553
|
left: 0;
|
|
24553
24554
|
z-index: 101;
|
|
24554
24555
|
width: calc(100% - 23px);
|
|
24555
|
-
font-family: Poppins;
|
|
24556
24556
|
border-radius: 4px;
|
|
24557
24557
|
background-color: #fff;
|
|
24558
24558
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
@@ -24563,13 +24563,10 @@ const OptionsSubContainer = styled.ul`
|
|
|
24563
24563
|
const OptionItem = styled.li`
|
|
24564
24564
|
display: flex;
|
|
24565
24565
|
align-items: center;
|
|
24566
|
-
gap: 8px;
|
|
24567
24566
|
padding: 10px;
|
|
24568
24567
|
cursor: pointer;
|
|
24569
24568
|
color: #212121;
|
|
24570
|
-
font-family: Poppins;
|
|
24571
24569
|
font-size: 14px;
|
|
24572
|
-
font-style: normal;
|
|
24573
24570
|
font-weight: 400;
|
|
24574
24571
|
transition: background-color 0.3s;
|
|
24575
24572
|
|
|
@@ -24584,7 +24581,6 @@ const ErrorMessage$1 = styled.div`
|
|
|
24584
24581
|
`;
|
|
24585
24582
|
const SelectedOptionsContainer = styled.div`
|
|
24586
24583
|
display: flex;
|
|
24587
|
-
flex-direction: row;
|
|
24588
24584
|
align-items: center;
|
|
24589
24585
|
gap: 4px;
|
|
24590
24586
|
flex-wrap: nowrap;
|
|
@@ -24633,28 +24629,30 @@ const SelectedOptionCount = styled.div`
|
|
|
24633
24629
|
const IconContainer$2 = styled.div`
|
|
24634
24630
|
display: flex;
|
|
24635
24631
|
padding: 2px;
|
|
24636
|
-
|
|
24632
|
+
margin-right: 8px;
|
|
24633
|
+
cursor: pointer;
|
|
24637
24634
|
`;
|
|
24638
24635
|
|
|
24639
|
-
const QuickFilterDropdownMultiSelection =
|
|
24640
|
-
|
|
24641
|
-
|
|
24642
|
-
|
|
24643
|
-
|
|
24644
|
-
|
|
24645
|
-
|
|
24646
|
-
|
|
24647
|
-
|
|
24648
|
-
|
|
24649
|
-
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24657
|
-
|
|
24636
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24637
|
+
let {
|
|
24638
|
+
label,
|
|
24639
|
+
labelEmptyValue,
|
|
24640
|
+
options,
|
|
24641
|
+
selectedValue,
|
|
24642
|
+
placeHolder,
|
|
24643
|
+
onChange,
|
|
24644
|
+
required,
|
|
24645
|
+
disabled,
|
|
24646
|
+
width,
|
|
24647
|
+
height,
|
|
24648
|
+
error,
|
|
24649
|
+
errorMessage,
|
|
24650
|
+
labelColor,
|
|
24651
|
+
xIconShow,
|
|
24652
|
+
checkBoxColor,
|
|
24653
|
+
showLabelOnTop,
|
|
24654
|
+
dropdownHeight
|
|
24655
|
+
} = _ref;
|
|
24658
24656
|
const [isFocused, setIsFocused] = useState(false);
|
|
24659
24657
|
const [showOptions, setShowOptions] = useState(false);
|
|
24660
24658
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -35683,7 +35681,7 @@ const Label$3 = styled.label`
|
|
|
35683
35681
|
if (props.multiline) {
|
|
35684
35682
|
return props.isFocused || props.hasValue ? '0px' : '20px';
|
|
35685
35683
|
}
|
|
35686
|
-
return props.isFocused || props.hasValue ? '0px' : props.size === 'medium' ? '
|
|
35684
|
+
return props.isFocused || props.hasValue ? '0px' : props.size === 'medium' ? '50%' : '17px';
|
|
35687
35685
|
}};
|
|
35688
35686
|
left: ${props => {
|
|
35689
35687
|
if (props.multiline) {
|
|
@@ -35691,7 +35689,6 @@ const Label$3 = styled.label`
|
|
|
35691
35689
|
}
|
|
35692
35690
|
return props.isFocused || props.hasValue ? '23px' : props.leftIcon && props.leftIcon !== 'none' ? '42px' : '16px';
|
|
35693
35691
|
}};
|
|
35694
|
-
font-family: Poppins;
|
|
35695
35692
|
transform: translateY(-50%);
|
|
35696
35693
|
transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
|
|
35697
35694
|
display: flex;
|
|
@@ -36171,9 +36168,9 @@ const ToggleSlider = styled.span`
|
|
|
36171
36168
|
}
|
|
36172
36169
|
`;
|
|
36173
36170
|
|
|
36174
|
-
/**
|
|
36175
|
-
* ToggleSwitch component for on/off states.
|
|
36176
|
-
* Supports small/large sizes and disabled state.
|
|
36171
|
+
/**
|
|
36172
|
+
* ToggleSwitch component for on/off states.
|
|
36173
|
+
* Supports small/large sizes and disabled state.
|
|
36177
36174
|
*/
|
|
36178
36175
|
function ToggleSwitch(_ref) {
|
|
36179
36176
|
let {
|
|
@@ -37415,8 +37412,8 @@ const ColumnContent = styled.div`
|
|
|
37415
37412
|
min-height: 20px;
|
|
37416
37413
|
`;
|
|
37417
37414
|
const ColumnCheckbox = styled.input`
|
|
37418
|
-
width:
|
|
37419
|
-
height:
|
|
37415
|
+
width: 18px;
|
|
37416
|
+
height: 18px;
|
|
37420
37417
|
cursor: pointer;
|
|
37421
37418
|
margin: 0;
|
|
37422
37419
|
`;
|
|
@@ -40400,6 +40397,7 @@ const Radio = styled.input`
|
|
|
40400
40397
|
`;
|
|
40401
40398
|
const Actions$1 = styled.div`
|
|
40402
40399
|
display: flex;
|
|
40400
|
+
align-items: center;
|
|
40403
40401
|
justify-content: space-between;
|
|
40404
40402
|
padding-top: 12px;
|
|
40405
40403
|
`;
|
|
@@ -41305,14 +41303,7 @@ const TableHeader = ({
|
|
|
41305
41303
|
onChange: e => handleHeaderCheckboxClick(column.key, e),
|
|
41306
41304
|
"data-column": column.key,
|
|
41307
41305
|
style: {
|
|
41308
|
-
|
|
41309
|
-
height: '18px',
|
|
41310
|
-
marginLeft: '10px',
|
|
41311
|
-
cursor: 'pointer',
|
|
41312
|
-
accentColor: '#066768',
|
|
41313
|
-
display: 'flex',
|
|
41314
|
-
alignItems: 'center',
|
|
41315
|
-
justifyContent: 'center'
|
|
41306
|
+
accentColor: '#066768'
|
|
41316
41307
|
}
|
|
41317
41308
|
}), column.title && /*#__PURE__*/React$1.createElement(ColumnLabel, null, column.title), (column.filter || column.sort) && /*#__PURE__*/React$1.createElement(ColumnActions, null, column.sort && /*#__PURE__*/React$1.createElement(IconButton, {
|
|
41318
41309
|
ref: el => iconRefs.current[`sort-${column.key}`] = el,
|
|
@@ -42070,6 +42061,18 @@ styled.div`
|
|
|
42070
42061
|
}
|
|
42071
42062
|
`}
|
|
42072
42063
|
`;
|
|
42064
|
+
const CheckboxInput = styled.input`
|
|
42065
|
+
width: 18px;
|
|
42066
|
+
height: 18px;
|
|
42067
|
+
margin: 0;
|
|
42068
|
+
accent-color: ${props => props.buttonColor || '#066768'};
|
|
42069
|
+
cursor: pointer;
|
|
42070
|
+
|
|
42071
|
+
&:disabled {
|
|
42072
|
+
cursor: not-allowed;
|
|
42073
|
+
opacity: 0.5;
|
|
42074
|
+
}
|
|
42075
|
+
`;
|
|
42073
42076
|
const HeroButton = styled.button`
|
|
42074
42077
|
display: flex;
|
|
42075
42078
|
align-items: center;
|
|
@@ -42713,6 +42716,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
42713
42716
|
onDropdownSelected = () => {},
|
|
42714
42717
|
onCheckboxClick = () => {},
|
|
42715
42718
|
onHeaderCheckboxClick = () => {},
|
|
42719
|
+
disableCheckboxTooltipText = "",
|
|
42716
42720
|
onHeroClick = () => {},
|
|
42717
42721
|
onEditableClick = () => {},
|
|
42718
42722
|
isEditMode = false,
|
|
@@ -43116,12 +43120,12 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
43116
43120
|
hoverTextColor: "#B1B1B1",
|
|
43117
43121
|
hoverBackgroundColor: "#E6F0F0",
|
|
43118
43122
|
hoverBorderColor: "#D9D9D9",
|
|
43123
|
+
disabled: true,
|
|
43119
43124
|
disabledTextColor: "#B1B1B1",
|
|
43120
|
-
disabledBackgroundColor: focusedRowIndex === rowIndex ? "#D1E7E7" : hoveredRowIndex === rowIndex ? "#E6F0F0" : "#FFF",
|
|
43121
43125
|
disabledBorderColor: "#D9D9D9",
|
|
43126
|
+
disabledBackgroundColor: focusedRowIndex === rowIndex ? "#D1E7E7" : hoveredRowIndex === rowIndex ? "#E6F0F0" : "#FFF",
|
|
43122
43127
|
width: "100px",
|
|
43123
|
-
height: "32px"
|
|
43124
|
-
disabled: true
|
|
43128
|
+
height: "32px"
|
|
43125
43129
|
}));
|
|
43126
43130
|
} else if (lowerValue === "draft") {
|
|
43127
43131
|
return /*#__PURE__*/React$1.createElement(ButtonWrapper, {
|
|
@@ -43343,24 +43347,15 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
43343
43347
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
43344
43348
|
style: {
|
|
43345
43349
|
display: "flex",
|
|
43346
|
-
alignItems: "center"
|
|
43347
|
-
justifyContent: "center",
|
|
43348
|
-
width: "100%",
|
|
43349
|
-
height: "100%"
|
|
43350
|
+
alignItems: "center"
|
|
43350
43351
|
}
|
|
43351
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
43352
|
+
}, /*#__PURE__*/React$1.createElement(CheckboxInput, {
|
|
43352
43353
|
type: "checkbox",
|
|
43353
43354
|
checked: isChecked,
|
|
43354
43355
|
disabled: isDisabled,
|
|
43356
|
+
buttonColor: buttonColor,
|
|
43355
43357
|
onChange: e => handleCheckboxClick(row, column.key, e),
|
|
43356
|
-
onClick: e => e.stopPropagation()
|
|
43357
|
-
style: {
|
|
43358
|
-
width: "18px",
|
|
43359
|
-
height: "18px",
|
|
43360
|
-
cursor: isDisabled ? "not-allowed" : "pointer",
|
|
43361
|
-
accentColor: buttonColor,
|
|
43362
|
-
opacity: isDisabled ? 0.5 : 1
|
|
43363
|
-
}
|
|
43358
|
+
onClick: e => e.stopPropagation()
|
|
43364
43359
|
}));
|
|
43365
43360
|
} catch (e) {
|
|
43366
43361
|
console.warn('Error formatting checkbox:', e);
|
|
@@ -46990,6 +46985,7 @@ const Table = props => {
|
|
|
46990
46985
|
onCheckboxClick = () => {},
|
|
46991
46986
|
onHeaderCheckboxClick = () => {},
|
|
46992
46987
|
headerCheckboxStates = {},
|
|
46988
|
+
disableCheckboxTooltipText = "",
|
|
46993
46989
|
onHeroClick = () => {},
|
|
46994
46990
|
dotIndicatorColor = '#34D399',
|
|
46995
46991
|
onEditableClick = () => {},
|
|
@@ -47134,6 +47130,7 @@ const Table = props => {
|
|
|
47134
47130
|
onDropdownSelected: onDropdownSelected,
|
|
47135
47131
|
onCheckboxClick: onCheckboxClick,
|
|
47136
47132
|
onHeaderCheckboxClick: onHeaderCheckboxClick,
|
|
47133
|
+
disableCheckboxTooltipText: disableCheckboxTooltipText,
|
|
47137
47134
|
onHeroClick: onHeroClick,
|
|
47138
47135
|
onEditableClick: onEditableClick,
|
|
47139
47136
|
isEditMode: isEditMode,
|
|
@@ -57762,27 +57759,32 @@ OverlayTemplateDialog.propTypes = {
|
|
|
57762
57759
|
// Main Component
|
|
57763
57760
|
const OverlayDropdown = _ref => {
|
|
57764
57761
|
let {
|
|
57762
|
+
// Data / selection
|
|
57765
57763
|
data = [],
|
|
57766
57764
|
value,
|
|
57767
57765
|
onSelectClick,
|
|
57766
|
+
// Label / placeholder
|
|
57767
|
+
label,
|
|
57768
|
+
labelEmptyValue,
|
|
57769
|
+
showLabelOnTop,
|
|
57770
|
+
labelColor,
|
|
57771
|
+
placeHolder,
|
|
57772
|
+
placeHolderColor,
|
|
57773
|
+
// Behavior
|
|
57774
|
+
required = false,
|
|
57768
57775
|
disabled = false,
|
|
57769
57776
|
isDarkerBackground = false,
|
|
57770
|
-
|
|
57777
|
+
editableDigitalCoupon = false,
|
|
57778
|
+
// Appearance
|
|
57771
57779
|
selectedColor = "#066768",
|
|
57772
57780
|
hoverColor = "#E6F0F0",
|
|
57773
|
-
|
|
57781
|
+
// Sizing
|
|
57774
57782
|
width = "100%",
|
|
57775
57783
|
minWidth = "unset",
|
|
57784
|
+
dropdownWidth = "100%",
|
|
57785
|
+
dropdownMaxHeight = "600px",
|
|
57776
57786
|
height = "auto",
|
|
57777
|
-
label,
|
|
57778
|
-
labelEmptyValue,
|
|
57779
|
-
showLabelOnTop,
|
|
57780
|
-
placeHolder,
|
|
57781
|
-
labelColor,
|
|
57782
|
-
placeHolderColor,
|
|
57783
57787
|
margin = "8px",
|
|
57784
|
-
dropdownWidth = "100%",
|
|
57785
|
-
editableDigitalCoupon = false,
|
|
57786
57788
|
...props
|
|
57787
57789
|
} = _ref;
|
|
57788
57790
|
const [open, setOpen] = useState(false);
|