@sendoutcards/quantum-design-ui 1.7.5 → 1.7.9
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 +677 -345
- package/dist/src/atoms/iconography/icons/imageSwap.d.ts +3 -0
- package/dist/src/atoms/iconography/icons/stickers.d.ts +3 -0
- package/dist/src/atoms/iconography/types/index.d.ts +3 -3
- package/dist/src/customThemes/sendOutCards/entities.d.ts +82 -68
- package/dist/src/exports/molecules.d.ts +1 -0
- package/dist/src/exports/organisms.d.ts +2 -0
- package/dist/src/helpers/hoc-types/hocBasePropTypes.d.ts +1 -1
- package/dist/src/helpers/style-functions/getIconProperties.d.ts +1 -1
- package/dist/src/hooks/useEntities.d.ts +42 -35
- package/dist/src/molecules/button/button.d.ts +5 -3
- package/dist/src/molecules/imageThumbnail/imageThumbnail.d.ts +8 -0
- package/dist/src/molecules/quantitySlider/components/stackedCardHead.d.ts +1 -1
- package/dist/src/molecules/select/components/option.d.ts +6 -6
- package/dist/src/organisms/imageUploader/imageUploader.d.ts +16 -0
- package/dist/src/organisms/settingInput/settingInput.d.ts +10 -0
- package/dist/src/organisms/staticNavigation/components/navigationLink.d.ts +2 -0
- package/dist/src/organisms/staticNavigation/staticNavigation.d.ts +2 -0
- package/dist/src/portfolios/soc/components/bulkSend/cardQuantitySlider.d.ts +1 -1
- package/dist/src/stories/atoms/Icons.stories.d.ts +1 -0
- package/dist/src/stories/molecules/Button.stories.d.ts +1 -0
- package/dist/src/stories/molecules/ImageThumbnail.stories.d.ts +5 -0
- package/dist/src/stories/organisms/ImageUploader.stories.d.ts +5 -0
- package/dist/src/stories/organisms/SettingInput.stories.d.ts +7 -0
- package/dist/src/theme/theming/entities.d.ts +84 -70
- package/package.json +2 -1
|
@@ -5,13 +5,13 @@ export declare type IconColors = keyof typeof entities.icons.colors;
|
|
|
5
5
|
export declare type orientation = 'up' | 'down' | 'left' | 'right';
|
|
6
6
|
export declare type SVGProps = {
|
|
7
7
|
size: LiteralUnion<SizeType> | number;
|
|
8
|
-
primaryColor: IconColors
|
|
9
|
-
secondaryColor?: IconColors
|
|
8
|
+
primaryColor: LiteralUnion<IconColors>;
|
|
9
|
+
secondaryColor?: LiteralUnion<IconColors>;
|
|
10
10
|
onClick?: () => void;
|
|
11
11
|
entity: IconsEntity;
|
|
12
12
|
orientation?: orientation;
|
|
13
13
|
};
|
|
14
|
-
export declare type IconType = 'catalog' | 'socLogo' | 'campaigns' | 'gift' | 'plus' | 'minus' | 'tenDoor' | 'rightChevron' | 'close' | 'award' | 'contact' | 'multipleUsers2x' | 'multipleUsers3x' | 'information' | 'hamburger' | 'leftChevron' | 'chevron' | 'information' | 'filterBy' | 'groups' | 'idCard' | 'plusSquare' | 'star' | 'search' | 'cart' | 'priceTag' | 'layer' | 'loading' | 'play' | 'lock' | 'user' | 'noUsers' | 'add' | 'check' | 'exclamation' | 'envelope' | 'userSuccess' | 'image' | 'text' | 'color' | 'template' | 'redo' | 'undo' | 'copy' | 'drag' | 'delete' | 'crop' | 'alignLeft' | 'alignRight' | 'alignCenter' | 'allPanel' | 'fullBleed' | 'fullBleedLandscape' | 'fullBleedPortrait' | 'sliderHorizontal' | 'sliderVertical' | 'cropRotate' | 'frame' | 'cut' | 'wand' | 'layerAdd' | 'layerRemove' | 'layerDisabled' | 'signature' | 'shadows' | 'rotateLeft' | 'rotateRight' | 'colorPalette' | 'dropper' | 'textBox' | 'fontSize' | 'flipHorizontal' | 'flipVertical' | 'filter' | 'brightness' | 'aText' | 'frameWidth' | 'frameHeight' | 'layerUp' | 'layerDown' | 'capitalizedText' | 'uppercaseText' | 'lowercaseText' | 'fullBleedImage' | 'fullBleedText' | 'panelMode' | 'viewPanels' | 'rotate' | 'view' | 'replaceImage' | 'quotation' | 'facebook' | 'instagram' | 'twitter' | 'linkedIn' | 'youtube' | 'pinterest' | 'visible' | 'invisible' | 'elementIcon' | 'complete' | 'download' | 'closeCircle' | 'backgroundSettings' | 'upload';
|
|
14
|
+
export declare type IconType = 'catalog' | 'socLogo' | 'campaigns' | 'gift' | 'plus' | 'minus' | 'tenDoor' | 'rightChevron' | 'close' | 'award' | 'contact' | 'multipleUsers2x' | 'multipleUsers3x' | 'information' | 'hamburger' | 'leftChevron' | 'chevron' | 'information' | 'filterBy' | 'groups' | 'idCard' | 'plusSquare' | 'star' | 'search' | 'cart' | 'priceTag' | 'layer' | 'loading' | 'play' | 'lock' | 'user' | 'noUsers' | 'add' | 'check' | 'exclamation' | 'envelope' | 'userSuccess' | 'image' | 'text' | 'color' | 'template' | 'redo' | 'undo' | 'copy' | 'drag' | 'delete' | 'crop' | 'alignLeft' | 'alignRight' | 'alignCenter' | 'allPanel' | 'fullBleed' | 'fullBleedLandscape' | 'fullBleedPortrait' | 'sliderHorizontal' | 'sliderVertical' | 'cropRotate' | 'frame' | 'cut' | 'wand' | 'layerAdd' | 'layerRemove' | 'layerDisabled' | 'signature' | 'shadows' | 'rotateLeft' | 'rotateRight' | 'colorPalette' | 'dropper' | 'textBox' | 'fontSize' | 'flipHorizontal' | 'flipVertical' | 'filter' | 'brightness' | 'aText' | 'frameWidth' | 'frameHeight' | 'layerUp' | 'layerDown' | 'capitalizedText' | 'uppercaseText' | 'lowercaseText' | 'fullBleedImage' | 'fullBleedText' | 'panelMode' | 'viewPanels' | 'rotate' | 'view' | 'replaceImage' | 'quotation' | 'facebook' | 'instagram' | 'twitter' | 'linkedIn' | 'youtube' | 'pinterest' | 'visible' | 'invisible' | 'elementIcon' | 'complete' | 'download' | 'closeCircle' | 'backgroundSettings' | 'upload' | 'stickers';
|
|
15
15
|
export declare type IconProps = {
|
|
16
16
|
name: IconType;
|
|
17
17
|
} & Omit<SVGProps, 'entity'>;
|
|
@@ -231,40 +231,47 @@ declare const buttons: {
|
|
|
231
231
|
borderRadius: string;
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
234
|
+
types: {
|
|
235
|
+
primary: {
|
|
236
|
+
backgroundColor: string;
|
|
237
|
+
fontColor: string;
|
|
238
|
+
fontFamily: string;
|
|
239
|
+
};
|
|
240
|
+
secondary: {
|
|
241
|
+
backgroundColor: string;
|
|
242
|
+
fontColor: string;
|
|
243
|
+
fontFamily: string;
|
|
244
|
+
};
|
|
245
|
+
warning: {
|
|
246
|
+
backgroundColor: string;
|
|
247
|
+
fontColor: string;
|
|
248
|
+
fontFamily: string;
|
|
249
|
+
};
|
|
250
|
+
success: {
|
|
251
|
+
backgroundColor: string;
|
|
252
|
+
fontColor: string;
|
|
253
|
+
fontFamily: string;
|
|
254
|
+
};
|
|
255
|
+
danger: {
|
|
256
|
+
backgroundColor: string;
|
|
257
|
+
fontColor: string;
|
|
258
|
+
fontFamily: string;
|
|
259
|
+
};
|
|
260
|
+
shadow: {
|
|
261
|
+
backgroundColor: string;
|
|
262
|
+
fontColor: string;
|
|
263
|
+
fontFamily: string;
|
|
264
|
+
};
|
|
265
|
+
accent: {
|
|
266
|
+
backgroundColor: string;
|
|
267
|
+
fontColor: string;
|
|
268
|
+
fontFamily: string;
|
|
269
|
+
};
|
|
270
|
+
smoke: {
|
|
271
|
+
backgroundColor: string;
|
|
272
|
+
fontColor: string;
|
|
273
|
+
fontFamily: string;
|
|
274
|
+
};
|
|
268
275
|
};
|
|
269
276
|
};
|
|
270
277
|
declare const inputs: {
|
|
@@ -702,40 +709,47 @@ export declare const entities: {
|
|
|
702
709
|
borderRadius: string;
|
|
703
710
|
};
|
|
704
711
|
};
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
712
|
+
types: {
|
|
713
|
+
primary: {
|
|
714
|
+
backgroundColor: string;
|
|
715
|
+
fontColor: string;
|
|
716
|
+
fontFamily: string;
|
|
717
|
+
};
|
|
718
|
+
secondary: {
|
|
719
|
+
backgroundColor: string;
|
|
720
|
+
fontColor: string;
|
|
721
|
+
fontFamily: string;
|
|
722
|
+
};
|
|
723
|
+
warning: {
|
|
724
|
+
backgroundColor: string;
|
|
725
|
+
fontColor: string;
|
|
726
|
+
fontFamily: string;
|
|
727
|
+
};
|
|
728
|
+
success: {
|
|
729
|
+
backgroundColor: string;
|
|
730
|
+
fontColor: string;
|
|
731
|
+
fontFamily: string;
|
|
732
|
+
};
|
|
733
|
+
danger: {
|
|
734
|
+
backgroundColor: string;
|
|
735
|
+
fontColor: string;
|
|
736
|
+
fontFamily: string;
|
|
737
|
+
};
|
|
738
|
+
shadow: {
|
|
739
|
+
backgroundColor: string;
|
|
740
|
+
fontColor: string;
|
|
741
|
+
fontFamily: string;
|
|
742
|
+
};
|
|
743
|
+
accent: {
|
|
744
|
+
backgroundColor: string;
|
|
745
|
+
fontColor: string;
|
|
746
|
+
fontFamily: string;
|
|
747
|
+
};
|
|
748
|
+
smoke: {
|
|
749
|
+
backgroundColor: string;
|
|
750
|
+
fontColor: string;
|
|
751
|
+
fontFamily: string;
|
|
752
|
+
};
|
|
739
753
|
};
|
|
740
754
|
};
|
|
741
755
|
inputs: {
|
|
@@ -58,3 +58,4 @@ export * from "../molecules/configurationCard/configurationCard";
|
|
|
58
58
|
export * from "../molecules/quantitySlider/quantitySlider";
|
|
59
59
|
export * from "../molecules/featureBadge/featureBadge";
|
|
60
60
|
export * from "../molecules/titledList/titledList";
|
|
61
|
+
export * from "../molecules/imageThumbnail/imageThumbnail";
|
|
@@ -37,4 +37,6 @@ export * from "../organisms/radioOptionList/radioOptionList";
|
|
|
37
37
|
export * from "../organisms/inviteCard/inviteCard";
|
|
38
38
|
export * from "../organisms/promotionWidget/promotionWidget";
|
|
39
39
|
export * from "../organisms/featureAnnouncement/featureAnnouncement";
|
|
40
|
+
export * from "../organisms/settingInput/settingInput";
|
|
40
41
|
export * from "../organisms/releaseNote/releaseNote";
|
|
42
|
+
export * from "../organisms/imageUploader/imageUploader";
|
|
@@ -11,7 +11,7 @@ export declare type HOCBaseProps = {
|
|
|
11
11
|
borderStyle?: BorderStyleDirection | BorderStyles;
|
|
12
12
|
borderColor?: ColorSelection | LiteralUnion<HOCColorKeys>;
|
|
13
13
|
backgroundColor?: BackgroundColor;
|
|
14
|
-
color?: TextColor
|
|
14
|
+
color?: LiteralUnion<TextColor>;
|
|
15
15
|
boxShadow?: Shadows;
|
|
16
16
|
height?: Height;
|
|
17
17
|
width?: Width;
|
|
@@ -2,5 +2,5 @@ import { IconsEntity } from "../../theme/theming/entities";
|
|
|
2
2
|
import { SizeType } from "../../types/global";
|
|
3
3
|
import { IconColors } from "../../exports/atoms";
|
|
4
4
|
import { LiteralUnion } from '../hoc-types/entityValueTypes';
|
|
5
|
-
export declare const getIconColor: (color: IconColors
|
|
5
|
+
export declare const getIconColor: (color: LiteralUnion<IconColors>, entity: IconsEntity) => any;
|
|
6
6
|
export declare const getIconSize: (size: LiteralUnion<SizeType> | number, entity: IconsEntity) => any;
|
|
@@ -180,6 +180,48 @@ export declare const useEntities: () => {
|
|
|
180
180
|
x9: string;
|
|
181
181
|
};
|
|
182
182
|
buttons: {
|
|
183
|
+
types: {
|
|
184
|
+
primary: {
|
|
185
|
+
backgroundColor: string;
|
|
186
|
+
fontColor: string;
|
|
187
|
+
fontFamily: string;
|
|
188
|
+
};
|
|
189
|
+
secondary: {
|
|
190
|
+
backgroundColor: string;
|
|
191
|
+
fontColor: string;
|
|
192
|
+
fontFamily: string;
|
|
193
|
+
};
|
|
194
|
+
warning: {
|
|
195
|
+
backgroundColor: string;
|
|
196
|
+
fontColor: string;
|
|
197
|
+
fontFamily: string;
|
|
198
|
+
};
|
|
199
|
+
success: {
|
|
200
|
+
backgroundColor: string;
|
|
201
|
+
fontColor: string;
|
|
202
|
+
fontFamily: string;
|
|
203
|
+
};
|
|
204
|
+
danger: {
|
|
205
|
+
backgroundColor: string;
|
|
206
|
+
fontColor: string;
|
|
207
|
+
fontFamily: string;
|
|
208
|
+
};
|
|
209
|
+
shadow: {
|
|
210
|
+
backgroundColor: string;
|
|
211
|
+
fontColor: string;
|
|
212
|
+
fontFamily: string;
|
|
213
|
+
};
|
|
214
|
+
accent: {
|
|
215
|
+
backgroundColor: string;
|
|
216
|
+
fontColor: string;
|
|
217
|
+
fontFamily: string;
|
|
218
|
+
};
|
|
219
|
+
smoke: {
|
|
220
|
+
backgroundColor: string;
|
|
221
|
+
fontColor: string;
|
|
222
|
+
fontFamily: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
183
225
|
boxShadow: (shadow: "dark" | "mediumDark" | "mediumLight" | "light" | "xLight", color?: string | undefined, reverseOffset?: boolean | undefined) => string;
|
|
184
226
|
borderSize: string;
|
|
185
227
|
outlinedBackgroundColor: string;
|
|
@@ -231,41 +273,6 @@ export declare const useEntities: () => {
|
|
|
231
273
|
borderRadius: string;
|
|
232
274
|
};
|
|
233
275
|
};
|
|
234
|
-
primary: {
|
|
235
|
-
backgroundColor: string;
|
|
236
|
-
fontColor: string;
|
|
237
|
-
fontFamily: string;
|
|
238
|
-
};
|
|
239
|
-
secondary: {
|
|
240
|
-
backgroundColor: string;
|
|
241
|
-
fontColor: string;
|
|
242
|
-
fontFamily: string;
|
|
243
|
-
};
|
|
244
|
-
warning: {
|
|
245
|
-
backgroundColor: string;
|
|
246
|
-
fontColor: string;
|
|
247
|
-
fontFamily: string;
|
|
248
|
-
};
|
|
249
|
-
success: {
|
|
250
|
-
backgroundColor: string;
|
|
251
|
-
fontColor: string;
|
|
252
|
-
fontFamily: string;
|
|
253
|
-
};
|
|
254
|
-
danger: {
|
|
255
|
-
backgroundColor: string;
|
|
256
|
-
fontColor: string;
|
|
257
|
-
fontFamily: string;
|
|
258
|
-
};
|
|
259
|
-
shadow: {
|
|
260
|
-
backgroundColor: string;
|
|
261
|
-
fontColor: string;
|
|
262
|
-
fontFamily: string;
|
|
263
|
-
};
|
|
264
|
-
accent: {
|
|
265
|
-
backgroundColor: string;
|
|
266
|
-
fontColor: string;
|
|
267
|
-
fontFamily: string;
|
|
268
|
-
};
|
|
269
276
|
};
|
|
270
277
|
inputs: {
|
|
271
278
|
checkbox: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { TextColor } from "../../atoms/typography/text";
|
|
3
|
-
import { SizeType, OnMouseEvent
|
|
3
|
+
import { SizeType, OnMouseEvent } from "../../types/global";
|
|
4
4
|
import { entities } from "../../theme/theming/entities";
|
|
5
|
+
import { IconType } from "../../exports/atoms";
|
|
5
6
|
import { DirectionType } from '../tooltip/tooltip';
|
|
6
|
-
export declare type ButtonType =
|
|
7
|
+
export declare type ButtonType = keyof typeof entities.buttons.types;
|
|
7
8
|
export declare type ButtonProps = {
|
|
8
9
|
title?: string;
|
|
9
10
|
type?: ButtonType;
|
|
@@ -18,6 +19,7 @@ export declare type ButtonProps = {
|
|
|
18
19
|
disabledCaption?: string;
|
|
19
20
|
disabledDirection?: DirectionType;
|
|
20
21
|
id?: string;
|
|
22
|
+
icon?: IconType;
|
|
21
23
|
};
|
|
22
|
-
export declare type ButtonStyle = typeof entities.buttons.primary;
|
|
24
|
+
export declare type ButtonStyle = typeof entities.buttons.types.primary;
|
|
23
25
|
export declare const Button: FC<ButtonProps>;
|
|
@@ -31,21 +31,21 @@ export declare const Option: React.ForwardRefExoticComponent<({
|
|
|
31
31
|
alignment?: "left" | "center" | "right" | undefined;
|
|
32
32
|
onClick?: ((id: number) => void) | undefined;
|
|
33
33
|
isSelected: boolean;
|
|
34
|
-
graphic?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | undefined;
|
|
35
|
-
icon?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | undefined;
|
|
34
|
+
graphic?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | "stickers" | undefined;
|
|
35
|
+
icon?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | "stickers" | undefined;
|
|
36
36
|
id: number;
|
|
37
37
|
} & TextLabelProps & React.RefAttributes<HTMLDivElement>) | ({
|
|
38
38
|
alignment?: "left" | "center" | "right" | undefined;
|
|
39
39
|
onClick?: ((id: number) => void) | undefined;
|
|
40
40
|
isSelected: boolean;
|
|
41
|
-
graphic?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | undefined;
|
|
42
|
-
icon?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | undefined;
|
|
41
|
+
graphic?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | "stickers" | undefined;
|
|
42
|
+
icon?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | "stickers" | undefined;
|
|
43
43
|
id: number;
|
|
44
44
|
} & IconLabelProps & React.RefAttributes<HTMLDivElement>) | ({
|
|
45
45
|
alignment?: "left" | "center" | "right" | undefined;
|
|
46
46
|
onClick?: ((id: number) => void) | undefined;
|
|
47
47
|
isSelected: boolean;
|
|
48
|
-
graphic?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | undefined;
|
|
49
|
-
icon?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | undefined;
|
|
48
|
+
graphic?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | "stickers" | undefined;
|
|
49
|
+
icon?: "catalog" | "socLogo" | "campaigns" | "gift" | "plus" | "minus" | "tenDoor" | "rightChevron" | "close" | "award" | "contact" | "multipleUsers2x" | "multipleUsers3x" | "information" | "hamburger" | "leftChevron" | "chevron" | "filterBy" | "groups" | "idCard" | "plusSquare" | "star" | "search" | "cart" | "priceTag" | "layer" | "loading" | "play" | "lock" | "user" | "noUsers" | "add" | "check" | "exclamation" | "envelope" | "userSuccess" | "image" | "text" | "color" | "template" | "redo" | "undo" | "copy" | "drag" | "delete" | "crop" | "alignLeft" | "alignRight" | "alignCenter" | "allPanel" | "fullBleed" | "fullBleedLandscape" | "fullBleedPortrait" | "sliderHorizontal" | "sliderVertical" | "cropRotate" | "frame" | "cut" | "wand" | "layerAdd" | "layerRemove" | "layerDisabled" | "signature" | "shadows" | "rotateLeft" | "rotateRight" | "colorPalette" | "dropper" | "textBox" | "fontSize" | "flipHorizontal" | "flipVertical" | "filter" | "brightness" | "aText" | "frameWidth" | "frameHeight" | "layerUp" | "layerDown" | "capitalizedText" | "uppercaseText" | "lowercaseText" | "fullBleedImage" | "fullBleedText" | "panelMode" | "viewPanels" | "rotate" | "view" | "replaceImage" | "quotation" | "facebook" | "instagram" | "twitter" | "linkedIn" | "youtube" | "pinterest" | "visible" | "invisible" | "elementIcon" | "complete" | "download" | "closeCircle" | "backgroundSettings" | "upload" | "stickers" | undefined;
|
|
50
50
|
id: number;
|
|
51
51
|
} & IconTextLabelProps & React.RefAttributes<HTMLDivElement>)>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FileRejection } from 'react-dropzone';
|
|
3
|
+
declare type AcceptedFileType = 'jpg' | 'png' | 'gif' | 'jpeg';
|
|
4
|
+
export declare type ImageUploaderProps = {
|
|
5
|
+
onUpload: (files: {
|
|
6
|
+
accepted: File[];
|
|
7
|
+
rejected: FileRejection[];
|
|
8
|
+
}) => void;
|
|
9
|
+
acceptedFiles: AcceptedFileType[];
|
|
10
|
+
hasMultiupload?: boolean;
|
|
11
|
+
maxFileSize?: number;
|
|
12
|
+
maxAcceptedFiles?: number;
|
|
13
|
+
uploadTitle?: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const ImageUploader: (props: ImageUploaderProps) => JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export declare type SettingInputProps = {
|
|
3
|
+
value: string | null;
|
|
4
|
+
settingsType: 'color' | 'image';
|
|
5
|
+
inactiveTitle: string;
|
|
6
|
+
onRemove: () => void;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
onMouseEvent?: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const SettingInput: FC<SettingInputProps>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { Target } from "../../..";
|
|
2
3
|
import { TextColor } from "../../../atoms/typography/text";
|
|
3
4
|
declare type NavigationLinkProps = {
|
|
4
5
|
title: string;
|
|
5
6
|
isActive: boolean;
|
|
6
7
|
linkTitleColor?: TextColor;
|
|
7
8
|
href?: string;
|
|
9
|
+
target?: Target;
|
|
8
10
|
};
|
|
9
11
|
export declare const NavigationLink: FC<NavigationLinkProps>;
|
|
10
12
|
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import { TextColor, IconType } from "../../exports/atoms";
|
|
3
3
|
import { BrandTypes, LogoColorTypes } from "../../exports/molecules";
|
|
4
|
+
export declare type Target = '_self' | '_blank' | '_parent' | '_top' | undefined;
|
|
4
5
|
export declare type Link = {
|
|
5
6
|
title: string;
|
|
6
7
|
href: string;
|
|
7
8
|
onClick?: () => void;
|
|
8
9
|
icon?: IconType;
|
|
10
|
+
target?: Target;
|
|
9
11
|
};
|
|
10
12
|
export declare type LinkColumnType = {
|
|
11
13
|
title: string;
|
|
@@ -3,6 +3,6 @@ import { QuantitySliderProps } from "../../../../exports/molecules";
|
|
|
3
3
|
export declare type CardQuantitySliderProps = {
|
|
4
4
|
cardImage?: string;
|
|
5
5
|
cardOrientation?: 'vertical' | 'horizontal';
|
|
6
|
-
quantityDescription
|
|
6
|
+
quantityDescription: string;
|
|
7
7
|
} & QuantitySliderProps;
|
|
8
8
|
export declare const CardQuantitySlider: FC<CardQuantitySliderProps>;
|
|
@@ -85,6 +85,7 @@ export declare const SliderHorizontal: any;
|
|
|
85
85
|
export declare const SliderVertical: any;
|
|
86
86
|
export declare const SOCLogo: any;
|
|
87
87
|
export declare const Star: any;
|
|
88
|
+
export declare const Stickers: any;
|
|
88
89
|
export declare const Template: any;
|
|
89
90
|
export declare const TenDoor: any;
|
|
90
91
|
export declare const Text: any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ImageThumbnailProps } from "../../exports/molecules";
|
|
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<ImageThumbnailProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ImageUploaderProps } from "../../exports/organisms";
|
|
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<ImageUploaderProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SettingInputProps } from "../../exports/organisms";
|
|
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 ColorSettings: Story<SettingInputProps>;
|
|
6
|
+
export declare const ImageSetting: any;
|
|
7
|
+
export declare const ColorSetting: any;
|