@sendoutcards/quantum-design-ui 1.7.83 → 1.7.84

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
@@ -24287,7 +24287,8 @@ var StackedCardHead = function (_a) {
24287
24287
  var cardImage = _a.cardImage,
24288
24288
  cardOrientation = _a.cardOrientation,
24289
24289
  quantity = _a.quantity,
24290
- quantityDescription = _a.quantityDescription;
24290
+ quantityDescription = _a.quantityDescription,
24291
+ secondaryAction = _a.secondaryAction;
24291
24292
  return jsx(VStack, {
24292
24293
  gap: "x2"
24293
24294
  }, jsx(StackedCards, {
@@ -24295,7 +24296,7 @@ var StackedCardHead = function (_a) {
24295
24296
  height: cardOrientation === 'vertical' ? 285 : 200,
24296
24297
  stackBackgroundColor: "background",
24297
24298
  backgroundImage: cardImage
24298
- }), jsx(Text, {
24299
+ }), secondaryAction && secondaryAction, jsx(Text, {
24299
24300
  type: "largeBody",
24300
24301
  weight: "bold",
24301
24302
  color: "primaryHeading",
@@ -24312,14 +24313,16 @@ var CardQuantitySlider = function (props) {
24312
24313
  var cardOrientation = props.cardOrientation,
24313
24314
  cardImage = props.cardImage,
24314
24315
  quantityDescription = props.quantityDescription,
24315
- rest = __rest(props, ["cardOrientation", "cardImage", "quantityDescription"]);
24316
+ secondaryAction = props.secondaryAction,
24317
+ rest = __rest(props, ["cardOrientation", "cardImage", "quantityDescription", "secondaryAction"]);
24316
24318
 
24317
24319
  return jsx(React.Fragment, null, jsx(QuantitySlider, _extends({}, rest, {
24318
24320
  head: jsx(StackedCardHead, {
24319
24321
  cardOrientation: cardOrientation,
24320
24322
  quantity: rest.quantity,
24321
24323
  quantityDescription: quantityDescription,
24322
- cardImage: cardImage
24324
+ cardImage: cardImage,
24325
+ secondaryAction: secondaryAction
24323
24326
  })
24324
24327
  })));
24325
24328
  };
@@ -24345,7 +24348,8 @@ var BulkSend = function (_a) {
24345
24348
  isConfigurable = _a.isConfigurable,
24346
24349
  disableMessage = _a.disableMessage,
24347
24350
  sliderOrientation = _a.sliderOrientation,
24348
- sliderImage = _a.sliderImage;
24351
+ sliderImage = _a.sliderImage,
24352
+ secondaryAction = _a.secondaryAction;
24349
24353
 
24350
24354
  var _b = React.useState(false),
24351
24355
  isAddDialogOpen = _b[0],
@@ -24576,7 +24580,8 @@ var BulkSend = function (_a) {
24576
24580
  sliderFill: sliderFill,
24577
24581
  hasIncrement: hasIncrement,
24578
24582
  cardImage: sliderImage,
24579
- cardOrientation: sliderOrientation
24583
+ cardOrientation: sliderOrientation,
24584
+ secondaryAction: secondaryAction
24580
24585
  }), jsx(Flex, {
24581
24586
  outset: {
24582
24587
  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.83",
3
+ "version": "1.7.84",
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",