@sendoutcards/quantum-design-ui 1.7.32 → 1.7.33
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.es.js
CHANGED
|
@@ -13768,7 +13768,9 @@ var Input = function (_a) {
|
|
|
13768
13768
|
}), type === 'number' && jsx(Div, {
|
|
13769
13769
|
css: styles$u.numberInputButtons(isDisabled),
|
|
13770
13770
|
zIndex: 1
|
|
13771
|
-
}, jsx(Div, _extends({
|
|
13771
|
+
}, jsx(Div, _extends({
|
|
13772
|
+
id: id ? id.toLowerCase() + "-up" : undefined
|
|
13773
|
+
}, incrementEvent, {
|
|
13772
13774
|
display: "flex",
|
|
13773
13775
|
alignItems: "center",
|
|
13774
13776
|
cursor: isDisabled ? 'not-allowed' : 'pointer'
|
|
@@ -13777,7 +13779,9 @@ var Input = function (_a) {
|
|
|
13777
13779
|
orientation: "up",
|
|
13778
13780
|
primaryColor: 'primaryBodyText',
|
|
13779
13781
|
size: 'xSmall'
|
|
13780
|
-
})), jsx(Div, _extends({
|
|
13782
|
+
})), jsx(Div, _extends({
|
|
13783
|
+
id: id ? id.toLowerCase() + "-down" : undefined
|
|
13784
|
+
}, decrementEvent, {
|
|
13781
13785
|
display: "flex",
|
|
13782
13786
|
alignItems: "center",
|
|
13783
13787
|
cursor: isDisabled ? 'not-allowed' : 'pointer'
|
|
@@ -13892,7 +13896,8 @@ var Dialog = function (_a) {
|
|
|
13892
13896
|
maxWidth = _c === void 0 ? '552px' : _c,
|
|
13893
13897
|
maxHeight = _a.maxHeight,
|
|
13894
13898
|
children = _a.children,
|
|
13895
|
-
bgElementSelector = _a.bgElementSelector
|
|
13899
|
+
bgElementSelector = _a.bgElementSelector,
|
|
13900
|
+
closeButtonId = _a.closeButtonId;
|
|
13896
13901
|
var dialog = useEntities().dialog;
|
|
13897
13902
|
var dialogVariants = {
|
|
13898
13903
|
open: {
|
|
@@ -13934,6 +13939,7 @@ var Dialog = function (_a) {
|
|
|
13934
13939
|
maxWidth: maxWidth,
|
|
13935
13940
|
maxHeight: maxHeight
|
|
13936
13941
|
}, children, onClose && jsx(CloseButton, {
|
|
13942
|
+
id: closeButtonId,
|
|
13937
13943
|
onClose: onClose
|
|
13938
13944
|
}))));
|
|
13939
13945
|
};
|
|
@@ -14546,8 +14552,10 @@ var CloseButton = function (_a) {
|
|
|
14546
14552
|
fill = _a.fill,
|
|
14547
14553
|
top = _a.top,
|
|
14548
14554
|
right = _a.right,
|
|
14549
|
-
size = _a.size
|
|
14555
|
+
size = _a.size,
|
|
14556
|
+
id = _a.id;
|
|
14550
14557
|
return jsx(Span, {
|
|
14558
|
+
id: id ? id.toLowerCase() + "-close-button" : undefined,
|
|
14551
14559
|
onClick: onClose,
|
|
14552
14560
|
css: styles$o.closeButtonContainer(top, right),
|
|
14553
14561
|
display: "flex",
|
|
@@ -20928,6 +20936,7 @@ var ReleaseNoteDialog = function (_a) {
|
|
|
20928
20936
|
_d = _a.maxHeight,
|
|
20929
20937
|
maxHeight = _d === void 0 ? 500 : _d;
|
|
20930
20938
|
return jsx(Dialog, {
|
|
20939
|
+
closeButtonId: versionTitle,
|
|
20931
20940
|
isOpen: isOpen,
|
|
20932
20941
|
onClose: onClose
|
|
20933
20942
|
}, jsx(Flex, {
|
|
@@ -7,5 +7,6 @@ export declare type DialogProps = {
|
|
|
7
7
|
maxWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
8
8
|
maxHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
9
9
|
bgElementSelector?: string;
|
|
10
|
+
closeButtonId?: string;
|
|
10
11
|
};
|
|
11
12
|
export declare const Dialog: FC<DialogProps>;
|