@sendoutcards/quantum-design-ui 1.7.30 → 1.7.31
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
|
@@ -13519,8 +13519,7 @@ var Input = function (_a) {
|
|
|
13519
13519
|
isMaxLengthHit = _a.isMaxLengthHit,
|
|
13520
13520
|
onMaxLengthCap = _a.onMaxLengthCap,
|
|
13521
13521
|
id = _a.id,
|
|
13522
|
-
onBlur = _a.onBlur
|
|
13523
|
-
title = _a.title;
|
|
13522
|
+
onBlur = _a.onBlur;
|
|
13524
13523
|
|
|
13525
13524
|
var _m = useState(0),
|
|
13526
13525
|
longPressTime = _m[0],
|
|
@@ -13769,9 +13768,7 @@ var Input = function (_a) {
|
|
|
13769
13768
|
}), type === 'number' && jsx(Div, {
|
|
13770
13769
|
css: styles$v.numberInputButtons(isDisabled),
|
|
13771
13770
|
zIndex: 1
|
|
13772
|
-
}, jsx(Div, _extends({
|
|
13773
|
-
id: title ? title.toLowerCase() + "-up" : undefined
|
|
13774
|
-
}, incrementEvent, {
|
|
13771
|
+
}, jsx(Div, _extends({}, incrementEvent, {
|
|
13775
13772
|
display: "flex",
|
|
13776
13773
|
alignItems: "center",
|
|
13777
13774
|
cursor: isDisabled ? 'not-allowed' : 'pointer'
|
|
@@ -13780,9 +13777,7 @@ var Input = function (_a) {
|
|
|
13780
13777
|
orientation: "up",
|
|
13781
13778
|
primaryColor: 'primaryBodyText',
|
|
13782
13779
|
size: 'xSmall'
|
|
13783
|
-
})), jsx(Div, _extends({
|
|
13784
|
-
id: title ? title.toLowerCase() + "-down" : undefined
|
|
13785
|
-
}, decrementEvent, {
|
|
13780
|
+
})), jsx(Div, _extends({}, decrementEvent, {
|
|
13786
13781
|
display: "flex",
|
|
13787
13782
|
alignItems: "center",
|
|
13788
13783
|
cursor: isDisabled ? 'not-allowed' : 'pointer'
|
|
@@ -13897,8 +13892,7 @@ var Dialog = function (_a) {
|
|
|
13897
13892
|
maxWidth = _c === void 0 ? '552px' : _c,
|
|
13898
13893
|
maxHeight = _a.maxHeight,
|
|
13899
13894
|
children = _a.children,
|
|
13900
|
-
bgElementSelector = _a.bgElementSelector
|
|
13901
|
-
title = _a.title;
|
|
13895
|
+
bgElementSelector = _a.bgElementSelector;
|
|
13902
13896
|
var dialog = useEntities().dialog;
|
|
13903
13897
|
var dialogVariants = {
|
|
13904
13898
|
open: {
|
|
@@ -13940,7 +13934,6 @@ var Dialog = function (_a) {
|
|
|
13940
13934
|
maxWidth: maxWidth,
|
|
13941
13935
|
maxHeight: maxHeight
|
|
13942
13936
|
}, children, onClose && jsx(CloseButton, {
|
|
13943
|
-
title: title,
|
|
13944
13937
|
onClose: onClose
|
|
13945
13938
|
}))));
|
|
13946
13939
|
};
|
|
@@ -14553,10 +14546,8 @@ var CloseButton = function (_a) {
|
|
|
14553
14546
|
fill = _a.fill,
|
|
14554
14547
|
top = _a.top,
|
|
14555
14548
|
right = _a.right,
|
|
14556
|
-
size = _a.size
|
|
14557
|
-
title = _a.title;
|
|
14549
|
+
size = _a.size;
|
|
14558
14550
|
return jsx(Span, {
|
|
14559
|
-
id: title ? title.toLowerCase() + "-close-button" : undefined,
|
|
14560
14551
|
onClick: onClose,
|
|
14561
14552
|
css: styles$p.closeButtonContainer(top, right),
|
|
14562
14553
|
display: "flex",
|
|
@@ -18892,7 +18883,6 @@ var IncrementSetting = function (_a) {
|
|
|
18892
18883
|
orientation: "horizontal",
|
|
18893
18884
|
space: layout === 'inline' ? 'x3' : 'x0'
|
|
18894
18885
|
}), jsx(Input, {
|
|
18895
|
-
title: title,
|
|
18896
18886
|
type: "number",
|
|
18897
18887
|
value: value.toString(),
|
|
18898
18888
|
onChange: function (value) {
|
|
@@ -20949,7 +20939,6 @@ var ReleaseNoteDialog = function (_a) {
|
|
|
20949
20939
|
_d = _a.maxHeight,
|
|
20950
20940
|
maxHeight = _d === void 0 ? 500 : _d;
|
|
20951
20941
|
return jsx(Dialog, {
|
|
20952
|
-
title: versionTitle,
|
|
20953
20942
|
isOpen: isOpen,
|
|
20954
20943
|
onClose: onClose
|
|
20955
20944
|
}, jsx(Flex, {
|
|
@@ -7,6 +7,5 @@ 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
|
-
title?: string;
|
|
11
10
|
};
|
|
12
11
|
export declare const Dialog: FC<DialogProps>;
|