@sendoutcards/quantum-design-ui 1.7.99 → 1.8.0
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 +191 -13
- package/dist/src/exports/organisms.d.ts +1 -0
- package/dist/src/organisms/banner/banner.d.ts +2 -1
- package/dist/src/organisms/imageGrid/imageGrid.d.ts +26 -0
- package/dist/src/stories/organisms/Banner.stories.d.ts +3 -0
- package/dist/src/stories/organisms/ImageGrid.stories.d.ts +5 -0
- package/package.json +1 -1
- package/dist/src/atoms/bar/styles.d.ts +0 -0
- package/dist/src/atoms/companion/companion.d.ts +0 -17
- package/dist/src/customThemes/sendOutCards/tokens/strokeWidth.d.ts +0 -0
- package/dist/src/molecules/stackedCards/styles.d.ts +0 -4
- package/dist/src/theme/tokens/strokeWidth.d.ts +0 -0
package/dist/index.es.js
CHANGED
|
@@ -15210,9 +15210,9 @@ var Select = function (props) {
|
|
|
15210
15210
|
var openOrCloseAndFocus = function (shouldOpen) {
|
|
15211
15211
|
setIsOpen(shouldOpen);
|
|
15212
15212
|
if (shouldOpen) {
|
|
15213
|
-
if (
|
|
15213
|
+
if (selectedOptionIndex !== undefined) {
|
|
15214
15214
|
setTimeout(function () {
|
|
15215
|
-
focusCurrentSelection(
|
|
15215
|
+
focusCurrentSelection(selectedOptionIndex);
|
|
15216
15216
|
}, 100);
|
|
15217
15217
|
}
|
|
15218
15218
|
}
|
|
@@ -15280,8 +15280,8 @@ var Select = function (props) {
|
|
|
15280
15280
|
css: styles$v.selectBody(hocs, focusColor, selectHeight, selectWidth),
|
|
15281
15281
|
onClick: function () {
|
|
15282
15282
|
openOrCloseAndFocus(!isOpen);
|
|
15283
|
-
if (
|
|
15284
|
-
applyCurrentSelection();
|
|
15283
|
+
if (currentSelection !== selectedOptionIndex) {
|
|
15284
|
+
isOpen ? applyCurrentSelection() : setCurrentSelection(selectedOptionIndex);
|
|
15285
15285
|
}
|
|
15286
15286
|
},
|
|
15287
15287
|
borderRadius: "default",
|
|
@@ -17607,7 +17607,7 @@ var ArticleCard = function (_a) {
|
|
|
17607
17607
|
};
|
|
17608
17608
|
var templateObject_1$o;
|
|
17609
17609
|
|
|
17610
|
-
var _emotionSourceMap$n = process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
17610
|
+
var _emotionSourceMap$n = process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHeUIiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgX19tYWtlVGVtcGxhdGVPYmplY3QgfSBmcm9tIFwidHNsaWJcIjtcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuICAgIGxpbmtDb2x1bW5Db250YWluZXI6IGNzcyh0ZW1wbGF0ZU9iamVjdF8xIHx8ICh0ZW1wbGF0ZU9iamVjdF8xID0gX19tYWtlVGVtcGxhdGVPYmplY3QoW1wiXCJdLCBbXCJcIl0pKSksXHJcbn07XHJcbnZhciB0ZW1wbGF0ZU9iamVjdF8xO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1zdHlsZXMuanMubWFwIl19 */";
|
|
17611
17611
|
var styles$m = {
|
|
17612
17612
|
linkColumnContainer: /*#__PURE__*/css(templateObject_1$n || (templateObject_1$n = __makeTemplateObject([";label:linkColumnContainer;" + _emotionSourceMap$n], [";label:linkColumnContainer;" + _emotionSourceMap$n])))
|
|
17613
17613
|
};
|
|
@@ -18185,7 +18185,13 @@ var Banner = function (_a) {
|
|
|
18185
18185
|
status = _a.status,
|
|
18186
18186
|
children = _a.children,
|
|
18187
18187
|
_b = _a.outlined,
|
|
18188
|
-
outlined = _b === void 0 ? true : _b
|
|
18188
|
+
outlined = _b === void 0 ? true : _b,
|
|
18189
|
+
onClose = _a.onClose;
|
|
18190
|
+
var _c = useState(false),
|
|
18191
|
+
isHovering = _c[0],
|
|
18192
|
+
setIsHovering = _c[1];
|
|
18193
|
+
var device = useDeviceSize().device;
|
|
18194
|
+
var isMobile = device === 'xSmall' ? true : false;
|
|
18189
18195
|
return jsx(Flex, {
|
|
18190
18196
|
width: "100%",
|
|
18191
18197
|
backgroundColor: {
|
|
@@ -18205,7 +18211,9 @@ var Banner = function (_a) {
|
|
|
18205
18211
|
borderRadius: "default",
|
|
18206
18212
|
justifyContent: "flex-start",
|
|
18207
18213
|
alignItems: "center"
|
|
18208
|
-
}, jsx(Flex,
|
|
18214
|
+
}, jsx(Flex, {
|
|
18215
|
+
width: "100%"
|
|
18216
|
+
}, icon && jsx(Flex, {
|
|
18209
18217
|
justifyContent: "center",
|
|
18210
18218
|
alignItems: "center",
|
|
18211
18219
|
inset: {
|
|
@@ -18215,17 +18223,45 @@ var Banner = function (_a) {
|
|
|
18215
18223
|
name: icon,
|
|
18216
18224
|
size: "small",
|
|
18217
18225
|
primaryColor: outlined ? 'primaryBodyText' : 'inverseHeadingText'
|
|
18218
|
-
})), message && jsx(
|
|
18226
|
+
})), message && jsx(Flex, {
|
|
18227
|
+
width: "100%"
|
|
18228
|
+
}, jsx(Text, {
|
|
18219
18229
|
content: message,
|
|
18220
18230
|
color: outlined ? 'primaryBody' : 'inverseHeading',
|
|
18221
18231
|
type: {
|
|
18222
18232
|
xSmall: 'footnote',
|
|
18223
18233
|
small: 'caption'
|
|
18224
18234
|
}
|
|
18225
|
-
})), jsx(
|
|
18226
|
-
|
|
18235
|
+
}))), children && jsx(Flex, {
|
|
18236
|
+
width: "100%",
|
|
18227
18237
|
alignItems: "center"
|
|
18228
|
-
}, children)
|
|
18238
|
+
}, children), onClose && jsx(Flex, {
|
|
18239
|
+
justifyContent: "flex-end",
|
|
18240
|
+
alignItems: "center",
|
|
18241
|
+
outset: {
|
|
18242
|
+
right: isMobile ? 'x0' : 'x2',
|
|
18243
|
+
left: 'x4'
|
|
18244
|
+
},
|
|
18245
|
+
onHoverStart: function () {
|
|
18246
|
+
return setIsHovering(true);
|
|
18247
|
+
},
|
|
18248
|
+
onHoverEnd: function () {
|
|
18249
|
+
return setIsHovering(false);
|
|
18250
|
+
}
|
|
18251
|
+
}, jsx(Flex, {
|
|
18252
|
+
onClick: onClose,
|
|
18253
|
+
width: "40px",
|
|
18254
|
+
height: "40px",
|
|
18255
|
+
justifyContent: "center",
|
|
18256
|
+
alignItems: "center",
|
|
18257
|
+
cursor: "pointer",
|
|
18258
|
+
backgroundColor: isHovering ? 'foreground' : undefined,
|
|
18259
|
+
borderRadius: "default"
|
|
18260
|
+
}, jsx(Icon, {
|
|
18261
|
+
primaryColor: "default",
|
|
18262
|
+
size: "xSmall",
|
|
18263
|
+
name: "close"
|
|
18264
|
+
}))));
|
|
18229
18265
|
};
|
|
18230
18266
|
|
|
18231
18267
|
var _emotionSourceMap2$a = process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJYSIsImZpbGUiOiJzdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBfX21ha2VUZW1wbGF0ZU9iamVjdCB9IGZyb20gXCJ0c2xpYlwiO1xyXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcclxuZXhwb3J0IGRlZmF1bHQge1xyXG4gICAgY2lyY2xlTWVudUNvbnRhaW5lcjogY3NzKHRlbXBsYXRlT2JqZWN0XzEgfHwgKHRlbXBsYXRlT2JqZWN0XzEgPSBfX21ha2VUZW1wbGF0ZU9iamVjdChbXCJcXG4gICAgY3Vyc29yOiBwb2ludGVyO1xcbiAgICA+IGRpdiA+IHN2ZyB7XFxuICAgICAgdHJhbnNmb3JtOiBzY2FsZSgxLjUpO1xcbiAgICB9XFxuICBcIl0sIFtcIlxcbiAgICBjdXJzb3I6IHBvaW50ZXI7XFxuICAgID4gZGl2ID4gc3ZnIHtcXG4gICAgICB0cmFuc2Zvcm06IHNjYWxlKDEuNSk7XFxuICAgIH1cXG4gIFwiXSkpKSxcclxuICAgIHRyaWdnZXI6IGNzcyh0ZW1wbGF0ZU9iamVjdF8yIHx8ICh0ZW1wbGF0ZU9iamVjdF8yID0gX19tYWtlVGVtcGxhdGVPYmplY3QoW1wiXFxuICAgIGRpc3BsYXk6IG5vbmU7XFxuICBcIl0sIFtcIlxcbiAgICBkaXNwbGF5OiBub25lO1xcbiAgXCJdKSkpLFxyXG59O1xyXG52YXIgdGVtcGxhdGVPYmplY3RfMSwgdGVtcGxhdGVPYmplY3RfMjtcclxuLy8jIHNvdXJjZU1hcHBpbmdVUkw9c3R5bGVzLmpzLm1hcCJdfQ== */";
|
|
@@ -22612,6 +22648,148 @@ var ComparisonIncludesList = function (_a) {
|
|
|
22612
22648
|
}))));
|
|
22613
22649
|
};
|
|
22614
22650
|
|
|
22651
|
+
var ImageGrid = function (_a) {
|
|
22652
|
+
var images = _a.images,
|
|
22653
|
+
width = _a.width,
|
|
22654
|
+
_b = _a.borderRadius,
|
|
22655
|
+
borderRadius = _b === void 0 ? '8px' : _b,
|
|
22656
|
+
_c = _a.gap,
|
|
22657
|
+
gap = _c === void 0 ? '10px' : _c;
|
|
22658
|
+
var imageStyles = {
|
|
22659
|
+
backgroundSize: 'cover',
|
|
22660
|
+
backgroundPosition: 'center',
|
|
22661
|
+
borderRadius: borderRadius
|
|
22662
|
+
};
|
|
22663
|
+
return jsx(Div, {
|
|
22664
|
+
position: "relative",
|
|
22665
|
+
overflow: "hidden",
|
|
22666
|
+
width: "100%",
|
|
22667
|
+
height: "100%"
|
|
22668
|
+
}, jsx(Flex, {
|
|
22669
|
+
width: width,
|
|
22670
|
+
height: "100%",
|
|
22671
|
+
columnGap: gap,
|
|
22672
|
+
rowGap: gap,
|
|
22673
|
+
position: "absolute",
|
|
22674
|
+
transform: "translate(-50%, -50%)",
|
|
22675
|
+
top: "50%",
|
|
22676
|
+
left: "50%"
|
|
22677
|
+
}, jsx(Flex, {
|
|
22678
|
+
id: "left_column",
|
|
22679
|
+
width: "100%",
|
|
22680
|
+
height: "100%",
|
|
22681
|
+
justifyContent: "center",
|
|
22682
|
+
columnGap: gap
|
|
22683
|
+
}, jsx(Flex, {
|
|
22684
|
+
flexDirection: "column",
|
|
22685
|
+
width: "100%",
|
|
22686
|
+
flexGrow: 1,
|
|
22687
|
+
rowGap: gap
|
|
22688
|
+
}, jsx(Flex, {
|
|
22689
|
+
flexGrow: 1,
|
|
22690
|
+
backgroundImage: images.leftColumn.topLeft,
|
|
22691
|
+
style: imageStyles
|
|
22692
|
+
}), jsx(Flex, {
|
|
22693
|
+
id: "bottom_image",
|
|
22694
|
+
width: "100%",
|
|
22695
|
+
flexGrow: 2
|
|
22696
|
+
}, jsx(Flex, {
|
|
22697
|
+
flexGrow: 1,
|
|
22698
|
+
backgroundImage: images.leftColumn.bottomLeft,
|
|
22699
|
+
style: imageStyles
|
|
22700
|
+
}))), jsx(Flex, {
|
|
22701
|
+
flexDirection: "column",
|
|
22702
|
+
width: "100%",
|
|
22703
|
+
flexGrow: 1,
|
|
22704
|
+
rowGap: gap
|
|
22705
|
+
}, jsx(Flex, {
|
|
22706
|
+
flexGrow: 2,
|
|
22707
|
+
backgroundImage: images.leftColumn.topRight,
|
|
22708
|
+
style: imageStyles
|
|
22709
|
+
}), jsx(Flex, {
|
|
22710
|
+
id: "bottom_image",
|
|
22711
|
+
width: "100%",
|
|
22712
|
+
flexGrow: 1
|
|
22713
|
+
}, jsx(Flex, {
|
|
22714
|
+
flexGrow: 1,
|
|
22715
|
+
backgroundImage: images.leftColumn.bottomRight,
|
|
22716
|
+
style: imageStyles
|
|
22717
|
+
})))), jsx(Flex, {
|
|
22718
|
+
id: "center_column",
|
|
22719
|
+
width: "100%",
|
|
22720
|
+
height: "100%",
|
|
22721
|
+
justifyContent: "center",
|
|
22722
|
+
alignItems: "center" // Add this line
|
|
22723
|
+
,
|
|
22724
|
+
flexDirection: "column",
|
|
22725
|
+
rowGap: gap
|
|
22726
|
+
}, jsx(Flex, {
|
|
22727
|
+
id: "center_top_images",
|
|
22728
|
+
width: "100%",
|
|
22729
|
+
flexGrow: 1,
|
|
22730
|
+
columnGap: gap
|
|
22731
|
+
}, jsx(Flex, {
|
|
22732
|
+
flexGrow: 1,
|
|
22733
|
+
backgroundImage: images.centerColumn.topLeft,
|
|
22734
|
+
style: imageStyles
|
|
22735
|
+
}), jsx(Flex, {
|
|
22736
|
+
flexGrow: 1,
|
|
22737
|
+
backgroundImage: images.centerColumn.topRight,
|
|
22738
|
+
style: imageStyles
|
|
22739
|
+
})), jsx(Flex, {
|
|
22740
|
+
id: "bottom_image",
|
|
22741
|
+
width: "100%",
|
|
22742
|
+
flexGrow: 2
|
|
22743
|
+
}, jsx(Flex, {
|
|
22744
|
+
flexGrow: 1,
|
|
22745
|
+
backgroundImage: images.centerColumn.mainImage,
|
|
22746
|
+
backgroundRepeat: "no-repeat",
|
|
22747
|
+
backgroundSize: "cover",
|
|
22748
|
+
backgroundPosition: "center top",
|
|
22749
|
+
borderRadius: borderRadius
|
|
22750
|
+
}))), jsx(Flex, {
|
|
22751
|
+
id: "right_column",
|
|
22752
|
+
width: "100%",
|
|
22753
|
+
height: "100%",
|
|
22754
|
+
justifyContent: "center",
|
|
22755
|
+
columnGap: gap
|
|
22756
|
+
}, jsx(Flex, {
|
|
22757
|
+
flexDirection: "column",
|
|
22758
|
+
width: "100%",
|
|
22759
|
+
flexGrow: 1,
|
|
22760
|
+
rowGap: gap
|
|
22761
|
+
}, jsx(Flex, {
|
|
22762
|
+
flexGrow: 2,
|
|
22763
|
+
backgroundImage: images.rightColumn.topLeft,
|
|
22764
|
+
style: imageStyles
|
|
22765
|
+
}), jsx(Flex, {
|
|
22766
|
+
id: "bottom_image",
|
|
22767
|
+
width: "100%",
|
|
22768
|
+
flexGrow: 1
|
|
22769
|
+
}, jsx(Flex, {
|
|
22770
|
+
flexGrow: 1,
|
|
22771
|
+
backgroundImage: images.rightColumn.bottomLeft,
|
|
22772
|
+
style: imageStyles
|
|
22773
|
+
}))), jsx(Flex, {
|
|
22774
|
+
flexDirection: "column",
|
|
22775
|
+
width: "100%",
|
|
22776
|
+
flexGrow: 1,
|
|
22777
|
+
rowGap: gap
|
|
22778
|
+
}, jsx(Flex, {
|
|
22779
|
+
flexGrow: 1,
|
|
22780
|
+
backgroundImage: images.rightColumn.topRight,
|
|
22781
|
+
style: imageStyles
|
|
22782
|
+
}), jsx(Flex, {
|
|
22783
|
+
id: "bottom_image",
|
|
22784
|
+
width: "100%",
|
|
22785
|
+
flexGrow: 2
|
|
22786
|
+
}, jsx(Flex, {
|
|
22787
|
+
flexGrow: 1,
|
|
22788
|
+
backgroundImage: images.rightColumn.bottomRight,
|
|
22789
|
+
style: imageStyles
|
|
22790
|
+
}))))));
|
|
22791
|
+
};
|
|
22792
|
+
|
|
22615
22793
|
var QuantitySlider = function (_a) {
|
|
22616
22794
|
var quantity = _a.quantity,
|
|
22617
22795
|
min = _a.min,
|
|
@@ -24463,7 +24641,7 @@ var UpsaleDialog = function (_a) {
|
|
|
24463
24641
|
outlined: true,
|
|
24464
24642
|
hover: true,
|
|
24465
24643
|
size: "medium",
|
|
24466
|
-
title: "Send a Free
|
|
24644
|
+
title: "Send a Free Card",
|
|
24467
24645
|
onClick: function () {
|
|
24468
24646
|
return window.open("https://www.sendoutcards.com/" + sponsorId + "/send/");
|
|
24469
24647
|
}
|
|
@@ -24496,4 +24674,4 @@ var useColorSwatch = function () {
|
|
|
24496
24674
|
};
|
|
24497
24675
|
};
|
|
24498
24676
|
|
|
24499
|
-
export { Accordion, AccordionBody, AccordionHeading, AccountMenu, AffiliateShareWidget, Anchor, AnimatedCheckMark, AnimatedGrid, ArticleCard, Aside, Avatar, AwardCard, AwardGroupLabel, Badge, Banner, Bar, BlockQuote, BulkSend, Button, ButtonWithMenu, Capsule, Card, CardEntryDialog, CardQuantitySlider, Checkbox, Circle, CircleMenu, Clipboard, CloseButton, ColorOption, ColorThumbnail, ComparisonIncludesList, ComparisonItem, ConfigurationCard, ConfirmDialog, Content, ContentPusher, ContextBar, CountdownTimer, Dialog, DisplayCard, Div, DownloadButton, DragBar, DragBox, Drawer, DropDownMenu, ExpandedAwardCard, FeatureAnnouncement, FeatureBadge, Flex, Grid, GridItem, HStack, Icon, IconLink, Image$1 as Image, ImageThumbnail, ImageUploadWidget, ImageUploader, IncrementSetting, InfiniteScroller, InfoBlock, Input, InviteCard, LinkColumn, List, ListItem, Loader, LoadingSpinner, Logo, MasonryGrid, Menu, MenuItem, MenuSection, Navigation, NavigationPill, Option, OrderCard, Overlay, Page, PaperTypeModal, PhoneInput, Pill, PinInput, PricingTile, Progress, PromotionWidget, QDSChrome, QuantitySlider, QuantumColorPicker, QuantumThemeWrapper, QuickLink, RadioOptionCard, RadioOptionList, ReleaseNote, ReleaseNoteDialog, RevealingContent, RowItem, Scrollable, ScrollingIndicator, Section, Select, SelectableCard, SelectableList, Separator, SettingInput, Sheet, Sidebar, Slider, SnapPoint, Spacer, Span, Sphere, StackedCards, StaticNavigation, Stepper, Stoplight, SubNavigation, SubscriptionUpsaleDialog, Tab, Table, TableRow, Tabs, Text, TitledList, Todo, Toggle, Tooltip, Transition, UploadButton, UpsaleDialog, UpsaleSheet, UserCard, UserCardLoader, VStack, VideoPlayer, Zoom, entities$6 as bellaCadaeuxTheme, entities$5 as blue42Theme, getSize, entities$7 as greenerStillTheme, entities$4 as promptingUTheme, entities as promptingsTheme, entities$1 as sendOutCardsTheme, entities$8 as sendogoTheme, entities$3 as streamMarketingTheme, entities$2 as streamVATheme, useColorSwatch };
|
|
24677
|
+
export { Accordion, AccordionBody, AccordionHeading, AccountMenu, AffiliateShareWidget, Anchor, AnimatedCheckMark, AnimatedGrid, ArticleCard, Aside, Avatar, AwardCard, AwardGroupLabel, Badge, Banner, Bar, BlockQuote, BulkSend, Button, ButtonWithMenu, Capsule, Card, CardEntryDialog, CardQuantitySlider, Checkbox, Circle, CircleMenu, Clipboard, CloseButton, ColorOption, ColorThumbnail, ComparisonIncludesList, ComparisonItem, ConfigurationCard, ConfirmDialog, Content, ContentPusher, ContextBar, CountdownTimer, Dialog, DisplayCard, Div, DownloadButton, DragBar, DragBox, Drawer, DropDownMenu, ExpandedAwardCard, FeatureAnnouncement, FeatureBadge, Flex, Grid, GridItem, HStack, Icon, IconLink, Image$1 as Image, ImageGrid, ImageThumbnail, ImageUploadWidget, ImageUploader, IncrementSetting, InfiniteScroller, InfoBlock, Input, InviteCard, LinkColumn, List, ListItem, Loader, LoadingSpinner, Logo, MasonryGrid, Menu, MenuItem, MenuSection, Navigation, NavigationPill, Option, OrderCard, Overlay, Page, PaperTypeModal, PhoneInput, Pill, PinInput, PricingTile, Progress, PromotionWidget, QDSChrome, QuantitySlider, QuantumColorPicker, QuantumThemeWrapper, QuickLink, RadioOptionCard, RadioOptionList, ReleaseNote, ReleaseNoteDialog, RevealingContent, RowItem, Scrollable, ScrollingIndicator, Section, Select, SelectableCard, SelectableList, Separator, SettingInput, Sheet, Sidebar, Slider, SnapPoint, Spacer, Span, Sphere, StackedCards, StaticNavigation, Stepper, Stoplight, SubNavigation, SubscriptionUpsaleDialog, Tab, Table, TableRow, Tabs, Text, TitledList, Todo, Toggle, Tooltip, Transition, UploadButton, UpsaleDialog, UpsaleSheet, UserCard, UserCardLoader, VStack, VideoPlayer, Zoom, entities$6 as bellaCadaeuxTheme, entities$5 as blue42Theme, getSize, entities$7 as greenerStillTheme, entities$4 as promptingUTheme, entities as promptingsTheme, entities$1 as sendOutCardsTheme, entities$8 as sendogoTheme, entities$3 as streamMarketingTheme, entities$2 as streamVATheme, useColorSwatch };
|
|
@@ -43,3 +43,4 @@ export * from "../organisms/imageUploader/imageUploader";
|
|
|
43
43
|
export * from "../organisms/imageUploadWidget/imageUploadWidget";
|
|
44
44
|
export * from "../organisms/configurationCard/configurationCard";
|
|
45
45
|
export * from "../organisms/comparisonIncludesList/comparisonIncludesList";
|
|
46
|
+
export * from "../organisms/imageGrid/imageGrid";
|
|
@@ -6,6 +6,7 @@ export declare type BannerProps = {
|
|
|
6
6
|
status: StatusType;
|
|
7
7
|
outlined?: boolean;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
|
+
onClose?: () => void;
|
|
9
10
|
};
|
|
10
11
|
export declare type StatusType = 'success' | 'warning' | 'danger';
|
|
11
|
-
export declare const Banner: ({ icon, message, status, children, outlined, }: BannerProps) => JSX.Element;
|
|
12
|
+
export declare const Banner: ({ icon, message, status, children, outlined, onClose, }: BannerProps) => JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export declare type ImageGridProps = {
|
|
3
|
+
images: {
|
|
4
|
+
leftColumn: {
|
|
5
|
+
topLeft: string;
|
|
6
|
+
bottomLeft: string;
|
|
7
|
+
topRight: string;
|
|
8
|
+
bottomRight: string;
|
|
9
|
+
};
|
|
10
|
+
centerColumn: {
|
|
11
|
+
topLeft: string;
|
|
12
|
+
topRight: string;
|
|
13
|
+
mainImage: string;
|
|
14
|
+
};
|
|
15
|
+
rightColumn: {
|
|
16
|
+
topLeft: string;
|
|
17
|
+
bottomLeft: string;
|
|
18
|
+
topRight: string;
|
|
19
|
+
bottomRight: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
width: string;
|
|
23
|
+
borderRadius?: string;
|
|
24
|
+
gap?: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const ImageGrid: FC<ImageGridProps>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { Story } from '@storybook/react/types-6-0';
|
|
2
|
+
import { BannerProps } from "../../exports/organisms";
|
|
1
3
|
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
2
4
|
export default _default;
|
|
5
|
+
export declare const DismissibleBanner: Story<BannerProps>;
|
|
3
6
|
export declare const Success: any;
|
|
4
7
|
export declare const Warning: any;
|
|
5
8
|
export declare const Danger: any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ImageGridProps } from "../../exports/organisms";
|
|
2
|
+
import { Story } from '@storybook/react/types-6-0';
|
|
3
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const StoryName: Story<ImageGridProps>;
|
package/package.json
CHANGED
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HOCBaseProps } from "../../helpers/hoc-types/hocBasePropTypes";
|
|
3
|
-
import { HOCMotionProps } from "../../helpers/hoc-types/hocMotionTypes";
|
|
4
|
-
export declare type DivProps = {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
outsideClick?: () => void;
|
|
7
|
-
clickElementBypass?: string;
|
|
8
|
-
} & HOCBaseProps & HOCMotionProps;
|
|
9
|
-
export declare const Companion: React.ForwardRefExoticComponent<{
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
outsideClick?: (() => void) | undefined;
|
|
12
|
-
clickElementBypass?: string | undefined;
|
|
13
|
-
} & HOCBaseProps & {
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
motionKey?: string | number | undefined;
|
|
16
|
-
id?: string | undefined;
|
|
17
|
-
} & import("framer-motion").MotionProps & React.RefAttributes<HTMLDivElement>>;
|
|
File without changes
|
|
File without changes
|