@sendoutcards/quantum-design-ui 1.7.86 → 1.7.87

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
@@ -24312,7 +24312,8 @@ var StackedCardHead = function (_a) {
24312
24312
  var cardImage = _a.cardImage,
24313
24313
  cardOrientation = _a.cardOrientation,
24314
24314
  quantity = _a.quantity,
24315
- quantityDescription = _a.quantityDescription;
24315
+ quantityDescription = _a.quantityDescription,
24316
+ secondaryAction = _a.secondaryAction;
24316
24317
  return jsx(VStack, {
24317
24318
  gap: "x2"
24318
24319
  }, jsx(StackedCards, {
@@ -24320,7 +24321,7 @@ var StackedCardHead = function (_a) {
24320
24321
  height: cardOrientation === 'vertical' ? 285 : 200,
24321
24322
  stackBackgroundColor: "background",
24322
24323
  backgroundImage: cardImage
24323
- }), jsx(Text, {
24324
+ }), secondaryAction && secondaryAction, jsx(Text, {
24324
24325
  type: "largeBody",
24325
24326
  weight: "bold",
24326
24327
  color: "primaryHeading",
@@ -24337,14 +24338,16 @@ var CardQuantitySlider = function (props) {
24337
24338
  var cardOrientation = props.cardOrientation,
24338
24339
  cardImage = props.cardImage,
24339
24340
  quantityDescription = props.quantityDescription,
24340
- rest = __rest(props, ["cardOrientation", "cardImage", "quantityDescription"]);
24341
+ secondaryAction = props.secondaryAction,
24342
+ rest = __rest(props, ["cardOrientation", "cardImage", "quantityDescription", "secondaryAction"]);
24341
24343
 
24342
24344
  return jsx(React.Fragment, null, jsx(QuantitySlider, _extends({}, rest, {
24343
24345
  head: jsx(StackedCardHead, {
24344
24346
  cardOrientation: cardOrientation,
24345
24347
  quantity: rest.quantity,
24346
24348
  quantityDescription: quantityDescription,
24347
- cardImage: cardImage
24349
+ cardImage: cardImage,
24350
+ secondaryAction: secondaryAction
24348
24351
  })
24349
24352
  })));
24350
24353
  };
@@ -24370,7 +24373,8 @@ var BulkSend = function (_a) {
24370
24373
  isConfigurable = _a.isConfigurable,
24371
24374
  disableMessage = _a.disableMessage,
24372
24375
  sliderOrientation = _a.sliderOrientation,
24373
- sliderImage = _a.sliderImage;
24376
+ sliderImage = _a.sliderImage,
24377
+ secondaryAction = _a.secondaryAction;
24374
24378
 
24375
24379
  var _b = React.useState(false),
24376
24380
  isAddDialogOpen = _b[0],
@@ -24601,7 +24605,8 @@ var BulkSend = function (_a) {
24601
24605
  sliderFill: sliderFill,
24602
24606
  hasIncrement: hasIncrement,
24603
24607
  cardImage: sliderImage,
24604
- cardOrientation: sliderOrientation
24608
+ cardOrientation: sliderOrientation,
24609
+ secondaryAction: secondaryAction
24605
24610
  }), jsx(Flex, {
24606
24611
  outset: {
24607
24612
  top: 'x4'
@@ -1,8 +1,9 @@
1
- import { FC } from 'react';
1
+ import React, { FC } from 'react';
2
2
  export declare type StackedCardHeadProps = {
3
3
  cardImage?: string;
4
4
  cardOrientation?: 'vertical' | 'horizontal';
5
5
  quantity: number;
6
6
  quantityDescription: string;
7
+ secondaryAction?: React.ReactNode;
7
8
  };
8
9
  export declare const StackedCardHead: FC<StackedCardHeadProps>;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import React, { FC } from 'react';
2
2
  import { SliderProgressColor } from "../../../../exports/molecules";
3
3
  import { ConfigurationCardProps, ConfirmDialogProps } from "../../../../exports/organisms";
4
4
  export declare type ConfigurationOptionSection = {
@@ -40,6 +40,7 @@ export declare type BulkSendProps = {
40
40
  disableMessage: string;
41
41
  sliderImage?: string;
42
42
  sliderOrientation?: 'vertical' | 'horizontal';
43
+ secondaryAction?: React.ReactNode;
43
44
  };
44
45
  export declare const BulkSend: FC<BulkSendProps>;
45
46
  export {};
@@ -1,8 +1,9 @@
1
- import { FC } from 'react';
1
+ import React, { FC } from 'react';
2
2
  import { QuantitySliderProps } from "../../../../exports/molecules";
3
3
  export declare type CardQuantitySliderProps = {
4
4
  cardImage?: string;
5
5
  cardOrientation?: 'vertical' | 'horizontal';
6
6
  quantityDescription: string;
7
+ secondaryAction?: React.ReactNode;
7
8
  } & QuantitySliderProps;
8
9
  export declare const CardQuantitySlider: FC<CardQuantitySliderProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "1.7.86",
3
+ "version": "1.7.87",
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",