@sendoutcards/quantum-design-ui 1.7.61 → 1.7.64

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.
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+ import { SpacingDirection, LiteralUnion, HOCSpacingKeys } from "../../helpers/hoc-types/entityValueTypes";
3
+ export declare type ColorThumbnailProps = {
4
+ backgroundColor: string;
5
+ isSelected: boolean;
6
+ isRounded?: boolean;
7
+ thumbnailSize?: string;
8
+ outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
9
+ onSelect: (fill: string) => void;
10
+ };
11
+ export declare const ColorThumbnail: FC<ColorThumbnailProps>;
@@ -21,3 +21,4 @@ export * from "../atoms/vStack/vStack";
21
21
  export * from "../atoms/hStack/hStack";
22
22
  export * from "../atoms/card/card";
23
23
  export * from "../atoms/capsule/capsule";
24
+ export * from "../atoms/colorThumbnail/colorThumbnail";
@@ -1,7 +1,6 @@
1
1
  export * from "../portfolios/soc/components/orderCard/orderCard";
2
2
  export * from "../portfolios/soc/components/upsaleSheet/upsaleSheet";
3
3
  export * from "../portfolios/soc/components/cardEntryDialog/cardEntryDialog";
4
- export * from "../portfolios/soc/affiliateUpsalePromotionWidget/affiliateUpsalePromotionWidget";
5
4
  export * from "../portfolios/soc/affiliateShareWidget/affiliateShareWidget";
6
5
  export * from "../portfolios/soc/components/bulkSend/bulkSend";
7
6
  export * from "../portfolios/soc/components/bulkSend/cardQuantitySlider";
@@ -6,6 +6,7 @@ declare type GridItemProps = {
6
6
  gridRowStart?: number;
7
7
  gridColStart?: number;
8
8
  borderRadius?: BorderRadiusDirection | LiteralUnion<HOCBorderRadiusKeys>;
9
+ aspectRatio?: string;
9
10
  };
10
11
  export declare const GridItem: FC<GridItemProps>;
11
12
  export {};
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
2
  grid: (gap: number, columnSize: number, rowSize: number, maxWidth?: number | undefined, height?: string | undefined, overflow?: string | undefined, isDense?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
3
- gridItem: (gridRowSpan?: number | undefined, gridColSpan?: number | undefined, gridRowStart?: number | undefined, gridColStart?: number | undefined) => import("@emotion/utils").SerializedStyles;
3
+ gridItem: (gridRowSpan?: number | undefined, gridColSpan?: number | undefined, gridRowStart?: number | undefined, gridColStart?: number | undefined, aspectRatio?: string | undefined) => import("@emotion/utils").SerializedStyles;
4
4
  };
5
5
  export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ wrapper: import("@emotion/utils").SerializedStyles;
3
+ container: import("@emotion/utils").SerializedStyles;
4
+ upload: import("@emotion/utils").SerializedStyles;
5
+ loading: import("@emotion/utils").SerializedStyles;
6
+ loadingBar: import("@emotion/utils").SerializedStyles;
7
+ done: import("@emotion/utils").SerializedStyles;
8
+ };
9
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BackgroundColor, Width, Height, BorderRadius } from "../../helpers/hoc-types/hocBaseUnion";
2
+ import { BackgroundColor, Width, Height } from "../../helpers/hoc-types/hocBaseUnion";
3
3
  import { Shadows } from "../../helpers/hoc-types/entityValueTypes";
4
4
  export declare type UploadButtonRef = {
5
5
  clearPreview: () => void;
@@ -11,6 +11,5 @@ export declare type UploadButtonProps = {
11
11
  width?: Width;
12
12
  height?: Height;
13
13
  boxShadow?: Shadows;
14
- borderRadius?: BorderRadius;
15
14
  };
16
15
  export declare const UploadButton: React.ForwardRefExoticComponent<UploadButtonProps & React.RefAttributes<unknown>>;
@@ -14,6 +14,7 @@ export declare type AccordionProps = {
14
14
  setActiveIndexes: (activeIndexes: (string | number)[]) => void;
15
15
  };
16
16
  inset?: HOCSpacingKeys;
17
+ insetBody?: HOCSpacingKeys;
17
18
  };
18
19
  export declare type AccordionSection = {
19
20
  key: number | string;
@@ -1,6 +1,8 @@
1
1
  import { FC } from 'react';
2
+ import { HOCSpacingKeys } from "../../../helpers/hoc-types/entityValueTypes";
2
3
  export declare type AccordionBodyProps = {
3
4
  eventKey: number | string;
4
5
  onAnimationComplete?: () => void;
6
+ insetBody?: HOCSpacingKeys;
5
7
  };
6
8
  export declare const AccordionBody: FC<AccordionBodyProps>;
@@ -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;
@@ -1,10 +1,11 @@
1
1
  import { FC } from 'react';
2
+ import { TextProps } from "../../exports/atoms";
2
3
  import { SliderOriginType, SliderProgressColor } from "../../molecules/slider/slider";
3
4
  import { SpacingDirection, LiteralUnion, HOCSpacingKeys } from "../../helpers/hoc-types/entityValueTypes";
4
5
  export declare type IncrementSettingProps = {
5
6
  value: number;
6
7
  setValue: (value: number) => void;
7
- title: string;
8
+ title: string | TextProps;
8
9
  min: number;
9
10
  max: number;
10
11
  isDisabled?: boolean;
@@ -10,6 +10,7 @@ export declare type QuantumColorPickerProps = {
10
10
  convertedColorCallback?: (color: ConvertedColorType) => void;
11
11
  convertedColorType?: 'hex' | 'rgb' | 'hsl';
12
12
  showEyeDropper?: boolean;
13
- palettes?: string[];
13
+ palettes?: QuantumHex[];
14
+ paletteTitle?: string;
14
15
  };
15
16
  export declare const QuantumColorPicker: FC<QuantumColorPickerProps>;
@@ -0,0 +1,5 @@
1
+ import { ColorThumbnailProps } from "../../exports/atoms";
2
+ import { Meta, Story } from '@storybook/react/types-6-0';
3
+ declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
+ export default _default;
5
+ export declare const StoryName: Story<ColorThumbnailProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "1.7.61",
3
+ "version": "1.7.64",
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",
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- export declare type ColorThumbnailProps = {
3
- backgroundColor: string;
4
- isSelected: boolean;
5
- onSelect: (fill: string) => void;
6
- };
7
- export declare const ColorThumbnail: FC<ColorThumbnailProps>;
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- export declare type AffiliateUpsalePromotionWidgetProps = {
3
- type: 'customer' | 'freeAffiliate' | 'proAffiliate';
4
- width?: string;
5
- minWidth?: string;
6
- buttonOnclick?: () => void;
7
- };
8
- export declare const AffiliateUpsalePromotionWidget: FC<AffiliateUpsalePromotionWidgetProps>;
@@ -1,5 +0,0 @@
1
- import { AffiliateUpsalePromotionWidgetProps } from "../../../exports/socPortfolio";
2
- import { Meta, Story } from '@storybook/react/types-6-0';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
- export default _default;
5
- export declare const AffiliatePromoWidget: Story<AffiliateUpsalePromotionWidgetProps>;