@sendoutcards/quantum-design-ui 1.7.56 → 1.7.59
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 +134 -43
- package/dist/src/atoms/iconography/icons/usertag.d.ts +3 -0
- package/dist/src/atoms/iconography/types/index.d.ts +1 -1
- package/dist/src/molecules/select/components/option.d.ts +6 -6
- package/dist/src/molecules/uploadButton/uploadButton.d.ts +6 -5
- package/dist/src/organisms/promotionWidget/promotionWidget.d.ts +4 -0
- package/dist/src/stories/atoms/Icons.stories.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect, useCallback, useState, useMemo, useRef, useLayoutEffect, useContext } from 'react';
|
|
1
|
+
import React, { useEffect, useCallback, useState, useMemo, useRef, useLayoutEffect, useContext, useImperativeHandle } from 'react';
|
|
2
2
|
import { ThemeProvider, useTheme } from 'emotion-theming';
|
|
3
3
|
import { jsx, Global, css } from '@emotion/core';
|
|
4
4
|
import Color$1 from 'color';
|
|
@@ -10699,6 +10699,28 @@ var SquareCheck = function (_a) {
|
|
|
10699
10699
|
}));
|
|
10700
10700
|
};
|
|
10701
10701
|
|
|
10702
|
+
var UserTag = function (_a) {
|
|
10703
|
+
var primaryColor = _a.primaryColor,
|
|
10704
|
+
onClick = _a.onClick,
|
|
10705
|
+
size = _a.size,
|
|
10706
|
+
entity = _a.entity;
|
|
10707
|
+
return jsx("svg", {
|
|
10708
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10709
|
+
width: getIconSize(size, entity),
|
|
10710
|
+
height: getIconSize(size, entity),
|
|
10711
|
+
onClick: onClick && function () {
|
|
10712
|
+
return onClick();
|
|
10713
|
+
},
|
|
10714
|
+
viewBox: "0 0 24 24"
|
|
10715
|
+
}, jsx("path", {
|
|
10716
|
+
d: "M 12 22.75 C 11.3 22.75 10.59 22.48 10.06 21.95 L 8.35 20.26 C 7.93 19.84 7.35 19.61 6.76 19.61 L 6 19.61 C 3.93 19.61 2.25 17.94 2.25 15.89 L 2.25 4.98 C 2.25 2.93 3.93 1.26 6 1.26 L 18 1.26 C 20.07 1.26 21.75 2.93 21.75 4.98 L 21.75 15.89 C 21.75 17.94 20.07 19.61 18 19.61 L 17.24 19.61 C 16.646 19.613 16.076 19.846 15.65 20.26 L 13.94 21.95 C 13.41 22.48 12.7 22.75 12 22.75 Z M 6 2.75 C 4.76 2.75 3.75 3.75 3.75 4.97 L 3.75 15.88 C 3.75 17.11 4.76 18.1 6 18.1 L 6.76 18.1 C 7.75 18.1 8.71 18.5 9.41 19.19 L 11.12 20.88 C 11.61 21.36 12.4 21.36 12.89 20.88 L 14.6 19.19 C 15.3 18.5 16.26 18.1 17.25 18.1 L 18 18.1 C 19.24 18.1 20.25 17.1 20.25 15.88 L 20.25 4.97 C 20.25 3.74 19.24 2.75 18 2.75 Z",
|
|
10717
|
+
fill: getIconColor(primaryColor, entity)
|
|
10718
|
+
}), jsx("path", {
|
|
10719
|
+
d: "M 12 10.75 C 10.3 10.75 8.92 9.37 8.92 7.67 C 8.963 6 10.329 4.667 12 4.667 C 13.671 4.667 15.037 6 15.08 7.67 C 15.08 9.37 13.7 10.75 12 10.75 Z M 12 6.09 C 11.13 6.09 10.42 6.8 10.42 7.67 C 10.42 8.54 11.13 9.25 12 9.25 C 12.87 9.25 13.58 8.54 13.58 7.67 C 13.58 6.8 12.87 6.09 12 6.09 Z M 16 16.41 C 15.59 16.41 15.25 16.07 15.25 15.66 C 15.25 14.28 13.79 13.15 12 13.15 C 10.21 13.15 8.75 14.28 8.75 15.66 C 8.75 16.07 8.41 16.41 8 16.41 C 7.59 16.41 7.25 16.07 7.25 15.66 C 7.25 13.45 9.38 11.65 12 11.65 C 14.62 11.65 16.75 13.45 16.75 15.66 C 16.75 16.07 16.41 16.41 16 16.41 Z",
|
|
10720
|
+
fill: getIconColor(primaryColor, entity)
|
|
10721
|
+
}));
|
|
10722
|
+
};
|
|
10723
|
+
|
|
10702
10724
|
var Icon = function (_a) {
|
|
10703
10725
|
var primaryColor = _a.primaryColor,
|
|
10704
10726
|
secondaryColor = _a.secondaryColor,
|
|
@@ -11072,6 +11094,9 @@ var Icon = function (_a) {
|
|
|
11072
11094
|
|
|
11073
11095
|
case 'squareCheck':
|
|
11074
11096
|
return jsx(SquareCheck, props);
|
|
11097
|
+
|
|
11098
|
+
case 'userTag':
|
|
11099
|
+
return jsx(UserTag, props);
|
|
11075
11100
|
}
|
|
11076
11101
|
};
|
|
11077
11102
|
|
|
@@ -17496,7 +17521,8 @@ var Banner = function (_a) {
|
|
|
17496
17521
|
children = _a.children,
|
|
17497
17522
|
_b = _a.outlined,
|
|
17498
17523
|
outlined = _b === void 0 ? true : _b;
|
|
17499
|
-
return jsx(
|
|
17524
|
+
return jsx(Flex, {
|
|
17525
|
+
width: "100%",
|
|
17500
17526
|
backgroundColor: {
|
|
17501
17527
|
swatch: status === 'success' ? 'success' : status === 'warning' ? 'warning' : 'danger',
|
|
17502
17528
|
shade: outlined ? '_1000' : 'base'
|
|
@@ -17507,23 +17533,19 @@ var Banner = function (_a) {
|
|
|
17507
17533
|
swatch: status === 'success' ? 'success' : status === 'warning' ? 'warning' : 'danger',
|
|
17508
17534
|
shade: 'base'
|
|
17509
17535
|
} : undefined,
|
|
17510
|
-
width: "100%",
|
|
17511
17536
|
inset: {
|
|
17512
17537
|
vertical: 'x2',
|
|
17513
17538
|
horizontal: 'x1'
|
|
17514
17539
|
},
|
|
17515
17540
|
borderRadius: "default",
|
|
17516
|
-
|
|
17517
|
-
justifyContent: "space-between"
|
|
17518
|
-
}, jsx(Div, {
|
|
17519
|
-
display: 'flex'
|
|
17520
|
-
}, icon && jsx(Span, {
|
|
17521
|
-
inset: {
|
|
17522
|
-
right: 'x1'
|
|
17523
|
-
},
|
|
17524
|
-
display: "flex",
|
|
17525
|
-
justifyContent: "center",
|
|
17541
|
+
justifyContent: "flex-start",
|
|
17526
17542
|
alignItems: "center"
|
|
17543
|
+
}, jsx(Flex, null, icon && jsx(Flex, {
|
|
17544
|
+
justifyContent: "center",
|
|
17545
|
+
alignItems: "center",
|
|
17546
|
+
inset: {
|
|
17547
|
+
horizontal: 'x1'
|
|
17548
|
+
}
|
|
17527
17549
|
}, jsx(Icon, {
|
|
17528
17550
|
name: icon,
|
|
17529
17551
|
size: "small",
|
|
@@ -21290,6 +21312,7 @@ var PromotionWidget = function (_a) {
|
|
|
21290
21312
|
capsuleTitle = _a.capsuleTitle,
|
|
21291
21313
|
description = _a.description,
|
|
21292
21314
|
primaryAction = _a.primaryAction,
|
|
21315
|
+
secondaryAction = _a.secondaryAction,
|
|
21293
21316
|
_b = _a.minWidth,
|
|
21294
21317
|
minWidth = _b === void 0 ? '320px' : _b,
|
|
21295
21318
|
_c = _a.width,
|
|
@@ -21335,7 +21358,17 @@ var PromotionWidget = function (_a) {
|
|
|
21335
21358
|
onClick: function () {
|
|
21336
21359
|
return primaryAction.onClick();
|
|
21337
21360
|
}
|
|
21338
|
-
}, primaryAction.title),
|
|
21361
|
+
}, primaryAction.title), secondaryAction && jsx(Flex, {
|
|
21362
|
+
alignItems: "center",
|
|
21363
|
+
inset: {
|
|
21364
|
+
left: 'x3'
|
|
21365
|
+
}
|
|
21366
|
+
}, jsx(Anchor, {
|
|
21367
|
+
href: secondaryAction.href,
|
|
21368
|
+
title: secondaryAction.title,
|
|
21369
|
+
size: 'small',
|
|
21370
|
+
color: 'primaryBody'
|
|
21371
|
+
})), children)));
|
|
21339
21372
|
};
|
|
21340
21373
|
|
|
21341
21374
|
var FeatureAnnouncement = function (_a) {
|
|
@@ -22089,14 +22122,18 @@ var UpsaleOptions = function (_a) {
|
|
|
22089
22122
|
size: "small",
|
|
22090
22123
|
color: "primaryBody",
|
|
22091
22124
|
outset: "0 auto"
|
|
22092
|
-
}), submitAction && jsx(
|
|
22125
|
+
}), submitAction && jsx(Flex, {
|
|
22126
|
+
width: "100%",
|
|
22127
|
+
justifyContent: "center",
|
|
22128
|
+
alignItems: "center"
|
|
22129
|
+
}, jsx(Button, {
|
|
22093
22130
|
title: submitAction.title,
|
|
22094
22131
|
type: submitAction.type,
|
|
22095
22132
|
onClick: submitAction.onClick,
|
|
22096
22133
|
fullWidth: submitAction.isFullWidth,
|
|
22097
22134
|
disabled: submitAction.isDisabled,
|
|
22098
22135
|
size: "large"
|
|
22099
|
-
}))));
|
|
22136
|
+
})))));
|
|
22100
22137
|
};
|
|
22101
22138
|
|
|
22102
22139
|
var SOC_FRONT_Z_INDEX = 103;
|
|
@@ -22727,25 +22764,51 @@ var ComparisonItem = function (_a) {
|
|
|
22727
22764
|
})));
|
|
22728
22765
|
};
|
|
22729
22766
|
|
|
22730
|
-
var UploadButton = function (
|
|
22731
|
-
var
|
|
22732
|
-
|
|
22733
|
-
|
|
22734
|
-
|
|
22735
|
-
|
|
22736
|
-
|
|
22737
|
-
|
|
22738
|
-
|
|
22739
|
-
|
|
22740
|
-
|
|
22741
|
-
|
|
22742
|
-
|
|
22743
|
-
|
|
22744
|
-
|
|
22767
|
+
var UploadButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
22768
|
+
var onUpload = props.onUpload,
|
|
22769
|
+
title = props.title,
|
|
22770
|
+
width = props.width,
|
|
22771
|
+
height = props.height,
|
|
22772
|
+
boxShadow = props.boxShadow,
|
|
22773
|
+
borderRadius = props.borderRadius,
|
|
22774
|
+
backgroundColor = props.backgroundColor;
|
|
22775
|
+
var inputRef = useRef(null);
|
|
22776
|
+
|
|
22777
|
+
var _a = useState(),
|
|
22778
|
+
preview = _a[0],
|
|
22779
|
+
setPreview = _a[1];
|
|
22780
|
+
|
|
22781
|
+
var handleUpload = function (event) {
|
|
22782
|
+
event.preventDefault();
|
|
22783
|
+
|
|
22784
|
+
if (event.target.files == null) {
|
|
22785
|
+
return;
|
|
22786
|
+
}
|
|
22787
|
+
|
|
22788
|
+
var file = event.target.files[0];
|
|
22789
|
+
|
|
22790
|
+
if (!!onUpload) {
|
|
22791
|
+
onUpload(file);
|
|
22792
|
+
var reader_1 = new FileReader();
|
|
22793
|
+
|
|
22794
|
+
reader_1.onloadend = function () {
|
|
22795
|
+
setPreview(reader_1.result);
|
|
22796
|
+
};
|
|
22797
|
+
|
|
22798
|
+
reader_1.readAsDataURL(file);
|
|
22799
|
+
} else {
|
|
22800
|
+
setPreview(null);
|
|
22801
|
+
}
|
|
22802
|
+
};
|
|
22803
|
+
|
|
22804
|
+
useImperativeHandle(ref, function () {
|
|
22805
|
+
return {
|
|
22806
|
+
clearPreview: function () {
|
|
22807
|
+
setPreview(null);
|
|
22808
|
+
}
|
|
22809
|
+
};
|
|
22810
|
+
});
|
|
22745
22811
|
return jsx(Flex, {
|
|
22746
|
-
onClick: function () {
|
|
22747
|
-
return onUpload(hasUpload);
|
|
22748
|
-
},
|
|
22749
22812
|
backgroundColor: backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : 'foreground',
|
|
22750
22813
|
boxShadow: boxShadow,
|
|
22751
22814
|
borderRadius: borderRadius,
|
|
@@ -22753,8 +22816,21 @@ var UploadButton = function (_a) {
|
|
|
22753
22816
|
height: height,
|
|
22754
22817
|
alignItems: "center",
|
|
22755
22818
|
inset: "x_5",
|
|
22756
|
-
cursor: "pointer"
|
|
22757
|
-
|
|
22819
|
+
cursor: "pointer",
|
|
22820
|
+
onClick: function () {
|
|
22821
|
+
var _a;
|
|
22822
|
+
|
|
22823
|
+
return (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.click();
|
|
22824
|
+
}
|
|
22825
|
+
}, jsx("input", {
|
|
22826
|
+
type: "file",
|
|
22827
|
+
accept: "image/*",
|
|
22828
|
+
style: {
|
|
22829
|
+
display: 'none'
|
|
22830
|
+
},
|
|
22831
|
+
ref: inputRef,
|
|
22832
|
+
onChange: handleUpload
|
|
22833
|
+
}), jsx(Div, {
|
|
22758
22834
|
width: "35px",
|
|
22759
22835
|
height: "35px",
|
|
22760
22836
|
display: "flex",
|
|
@@ -22765,20 +22841,28 @@ var UploadButton = function (_a) {
|
|
|
22765
22841
|
borderStyle: "solid",
|
|
22766
22842
|
borderColor: "gray",
|
|
22767
22843
|
borderWidth: "thin",
|
|
22768
|
-
inset: !
|
|
22769
|
-
}, !
|
|
22844
|
+
inset: !preview ? 'x_5' : 'x0'
|
|
22845
|
+
}, !preview ? jsx(Icon, {
|
|
22770
22846
|
name: "upload",
|
|
22771
22847
|
size: "xSmall",
|
|
22772
22848
|
primaryColor: "primaryHeadingText"
|
|
22773
|
-
}) :
|
|
22849
|
+
}) : jsx(Image$1, {
|
|
22850
|
+
width: "35px",
|
|
22851
|
+
height: "35px",
|
|
22852
|
+
isActive: true,
|
|
22853
|
+
image: {
|
|
22854
|
+
url: preview
|
|
22855
|
+
},
|
|
22856
|
+
backgroundSize: "cover"
|
|
22857
|
+
})), jsx(Text, {
|
|
22774
22858
|
type: "caption",
|
|
22775
|
-
content:
|
|
22859
|
+
content: title,
|
|
22776
22860
|
color: "primaryHeading",
|
|
22777
22861
|
inset: {
|
|
22778
22862
|
left: 'x1'
|
|
22779
22863
|
}
|
|
22780
22864
|
}));
|
|
22781
|
-
};
|
|
22865
|
+
});
|
|
22782
22866
|
|
|
22783
22867
|
var _emotionSourceMap$1 = process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHd0IiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgX19tYWtlVGVtcGxhdGVPYmplY3QgfSBmcm9tIFwidHNsaWJcIjtcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuICAgIHRodW1ibmFpbENvbnRhaW5lcjogY3NzKHRlbXBsYXRlT2JqZWN0XzEgfHwgKHRlbXBsYXRlT2JqZWN0XzEgPSBfX21ha2VUZW1wbGF0ZU9iamVjdChbXCJcIl0sIFtcIlwiXSkpKSxcclxufTtcclxudmFyIHRlbXBsYXRlT2JqZWN0XzE7XHJcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPXN0eWxlcy5qcy5tYXAiXX0= */";
|
|
22784
22868
|
var styles$1 = {
|
|
@@ -23117,6 +23201,10 @@ var AffiliateUpsalePromotionWidget = function (_a) {
|
|
|
23117
23201
|
title: getContent(type).buttonTitle,
|
|
23118
23202
|
onClick: getContent(type).buttonOnclick
|
|
23119
23203
|
},
|
|
23204
|
+
secondaryAction: {
|
|
23205
|
+
title: 'Learn More',
|
|
23206
|
+
href: 'https://streamvirtualassistant.com/'
|
|
23207
|
+
},
|
|
23120
23208
|
capsuleTitle: "New",
|
|
23121
23209
|
width: width,
|
|
23122
23210
|
minWidth: minWidth,
|
|
@@ -23611,8 +23699,11 @@ var SubscriptionUpsaleDialog = function (_a) {
|
|
|
23611
23699
|
insetOverride = _a.insetOverride,
|
|
23612
23700
|
handleSelectedOption = _a.handleSelectedOption,
|
|
23613
23701
|
sponsorId = _a.sponsorId;
|
|
23702
|
+
_a.upsaleContent;
|
|
23703
|
+
var rest = __rest(_a, ["title", "description", "checkoutTitle", "checkoutDescription", "selectableOptions", "upsaleContentTitle", "isOpen", "setIsDialogOpen", "optionFormLocation", "children", "selectedOption", "removeSelectedOption", "successComponent", "insetOverride", "handleSelectedOption", "sponsorId", "upsaleContent"]);
|
|
23704
|
+
|
|
23614
23705
|
var device = useWindowSize().width;
|
|
23615
|
-
return jsx("div", null, jsx(UpsaleDialog, {
|
|
23706
|
+
return jsx("div", null, jsx(UpsaleDialog, _extends({
|
|
23616
23707
|
sponsorId: sponsorId,
|
|
23617
23708
|
title: title,
|
|
23618
23709
|
description: description,
|
|
@@ -23638,7 +23729,7 @@ var SubscriptionUpsaleDialog = function (_a) {
|
|
|
23638
23729
|
successComponent: successComponent,
|
|
23639
23730
|
insetOverride: insetOverride,
|
|
23640
23731
|
maxWidth: '1500px'
|
|
23641
|
-
}, children));
|
|
23732
|
+
}, rest), children));
|
|
23642
23733
|
};
|
|
23643
23734
|
|
|
23644
23735
|
var useColorSwatch = function () {
|
|
@@ -11,7 +11,7 @@ export declare type SVGProps = {
|
|
|
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' | 'imageSwap' | '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' | 'clearPanel' | 'viewCarousel' | 'viewSinglePanel' | 'editorText' | 'layout' | 'background' | 'save' | 'signaturePen' | 'size' | 'variable' | 'imageUpload' | 'squareCheck';
|
|
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' | 'imageSwap' | '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' | 'clearPanel' | 'viewCarousel' | 'viewSinglePanel' | 'editorText' | 'layout' | 'background' | 'save' | 'signaturePen' | 'size' | 'variable' | 'imageUpload' | 'squareCheck' | 'userTag';
|
|
15
15
|
export declare type IconProps = {
|
|
16
16
|
name: IconType;
|
|
17
17
|
} & Omit<SVGProps, 'entity'>;
|
|
@@ -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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | "userTag" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | "userTag" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | "userTag" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | "userTag" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | "userTag" | 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" | "imageSwap" | "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" | "clearPanel" | "viewCarousel" | "viewSinglePanel" | "editorText" | "layout" | "background" | "save" | "signaturePen" | "size" | "variable" | "imageUpload" | "squareCheck" | "userTag" | undefined;
|
|
50
50
|
id: number;
|
|
51
51
|
} & IconTextLabelProps & React.RefAttributes<HTMLDivElement>)>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { BackgroundColor, Width, Height, BorderRadius } from "../../helpers/hoc-types/hocBaseUnion";
|
|
3
3
|
import { Shadows } from "../../helpers/hoc-types/entityValueTypes";
|
|
4
|
+
export declare type UploadButtonRef = {
|
|
5
|
+
clearPreview: () => void;
|
|
6
|
+
};
|
|
4
7
|
export declare type UploadButtonProps = {
|
|
5
|
-
|
|
6
|
-
onUpload: (hasUpload: boolean) => void;
|
|
8
|
+
onUpload: (upload: File | null) => void;
|
|
7
9
|
title: string;
|
|
8
10
|
backgroundColor?: BackgroundColor;
|
|
9
|
-
indicator: React.ReactNode;
|
|
10
11
|
width?: Width;
|
|
11
12
|
height?: Height;
|
|
12
13
|
boxShadow?: Shadows;
|
|
13
14
|
borderRadius?: BorderRadius;
|
|
14
15
|
};
|
|
15
|
-
export declare const UploadButton:
|
|
16
|
+
export declare const UploadButton: React.ForwardRefExoticComponent<UploadButtonProps & React.RefAttributes<unknown>>;
|
|
@@ -100,6 +100,7 @@ export declare const Text: any;
|
|
|
100
100
|
export declare const TextBox: any;
|
|
101
101
|
export declare const Twitter: any;
|
|
102
102
|
export declare const Undo: any;
|
|
103
|
+
export declare const UserTag: any;
|
|
103
104
|
export declare const Upload: any;
|
|
104
105
|
export declare const UppercaseText: any;
|
|
105
106
|
export declare const User: any;
|