@sendoutcards/quantum-design-ui 1.7.62 → 1.7.63

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
@@ -19354,6 +19354,7 @@ var ConfirmDialog = function (_a) {
19354
19354
  }, jsx(Flex, {
19355
19355
  flexDirection: "column"
19356
19356
  }, jsx(Text, {
19357
+ weight: "semiBold",
19357
19358
  color: 'primaryHeading',
19358
19359
  type: "largeBody",
19359
19360
  content: title,
@@ -19402,6 +19403,7 @@ var ConfirmDialog = function (_a) {
19402
19403
  horizontal: 'x2'
19403
19404
  }
19404
19405
  }, jsx(Button, {
19406
+ id: accept.id,
19405
19407
  type: isPrimaryAccept ? 'primary' : 'shadow',
19406
19408
  outlined: isPrimaryAccept ? true : false,
19407
19409
  onClick: accept.onClick,
@@ -19410,6 +19412,7 @@ var ConfirmDialog = function (_a) {
19410
19412
  hover: isPrimaryAccept ? false : true,
19411
19413
  disabled: requireScroll ? isPrimaryAccept ? hasScrolled ? false : true : false : false
19412
19414
  })), decline && jsx(Button, {
19415
+ id: decline.id,
19413
19416
  onClick: decline.onClick,
19414
19417
  size: "small",
19415
19418
  title: decline.title,
@@ -5,10 +5,12 @@ export declare type ConfirmDialogProps = {
5
5
  accept: {
6
6
  title: string;
7
7
  onClick: () => void;
8
+ id?: string;
8
9
  };
9
10
  decline?: {
10
11
  title: string;
11
12
  onClick: () => void;
13
+ id?: string;
12
14
  };
13
15
  title: string;
14
16
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "1.7.62",
3
+ "version": "1.7.63",
4
4
  "description": "UI component library for Quantum Design System",
5
5
  "module": "dist/index.es.js",
6
6
  "jsnext:main": "dist/index.es.js",