@appquality/unguess-design-system 2.10.3 → 2.10.6
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/CHANGELOG.md +36 -0
- package/build/index.js +34 -29
- package/build/stories/theme/index.d.ts +8 -0
- package/build/stories/theme/palette.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
+
# v2.10.6 (Wed May 04 2022)
|
|
2
|
+
|
|
3
|
+
#### ⚠️ Pushed to `master`
|
|
4
|
+
|
|
5
|
+
- feat(palette): add `water` palette ([@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v2.10.5 (Wed May 04 2022)
|
|
14
|
+
|
|
15
|
+
#### ⚠️ Pushed to `master`
|
|
16
|
+
|
|
17
|
+
- fix(dropdowns-menu): remove width auto for all dropdowns menu ([@marcbon](https://github.com/marcbon))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# v2.10.4 (Tue May 03 2022)
|
|
26
|
+
|
|
27
|
+
#### ⚠️ Pushed to `master`
|
|
28
|
+
|
|
29
|
+
- fix(product-card): add onClick on card body too ([@cannarocks](https://github.com/cannarocks))
|
|
30
|
+
|
|
31
|
+
#### Authors: 1
|
|
32
|
+
|
|
33
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
1
37
|
# v2.10.3 (Tue May 03 2022)
|
|
2
38
|
|
|
3
39
|
#### ⚠️ Pushed to `master`
|
package/build/index.js
CHANGED
|
@@ -102,7 +102,7 @@ var palette = __assign(__assign({}, reactTheming.DEFAULT_THEME.palette), { black
|
|
|
102
102
|
talk: "#efc93d",
|
|
103
103
|
sell: "#c38f00",
|
|
104
104
|
}, grey: {
|
|
105
|
-
"100": "#
|
|
105
|
+
"100": "#F6F6F8",
|
|
106
106
|
"200": "#e9ebed",
|
|
107
107
|
"300": "#d8dcde",
|
|
108
108
|
"400": "#c2c8cc",
|
|
@@ -210,6 +210,13 @@ var palette = __assign(__assign({}, reactTheming.DEFAULT_THEME.palette), { black
|
|
|
210
210
|
"600": "#6a27b8",
|
|
211
211
|
M400: "#b072cc",
|
|
212
212
|
M600: "#9358b0",
|
|
213
|
+
}, water: {
|
|
214
|
+
100: "#D4FFF7",
|
|
215
|
+
200: "#ABEBDF",
|
|
216
|
+
300: "#6FD1BE",
|
|
217
|
+
600: "#2B8473",
|
|
218
|
+
700: "#206E6A",
|
|
219
|
+
800: "#0C4D5E",
|
|
213
220
|
} });
|
|
214
221
|
|
|
215
222
|
var hex2rgba = function (hex, alpha) {
|
|
@@ -236,8 +243,8 @@ var components = __assign(__assign({}, reactTheming.DEFAULT_THEME.components), {
|
|
|
236
243
|
|
|
237
244
|
var theme = __assign(__assign({}, reactTheming.DEFAULT_THEME), { colors: __assign(__assign({}, reactTheming.DEFAULT_THEME.colors), { primaryHue: palette.blue[600] }), palette: palette, fonts: __assign(__assign({}, reactTheming.DEFAULT_THEME.fonts), { system: '"Poppins",sans-serif,Helvetica,Arial,sans-serif' }), fontWeights: __assign(__assign({}, reactTheming.DEFAULT_THEME.fontWeights), { semibold: 500 }), gradients: gradients, borderRadii: __assign(__assign({}, reactTheming.DEFAULT_THEME.borderRadii), { lg: "8px", xl: "16px", xxl: "32px" }), components: components, shadows: __assign(__assign({}, reactTheming.DEFAULT_THEME.shadows), { boxShadow: boxShadow }) });
|
|
238
245
|
|
|
239
|
-
var GlobalStyle = styled.createGlobalStyle(templateObject_1$
|
|
240
|
-
var templateObject_1$
|
|
246
|
+
var GlobalStyle = styled.createGlobalStyle(templateObject_1$T || (templateObject_1$T = __makeTemplateObject(["\n ::-webkit-scrollbar-track:hover {\n border-left: solid 1px ", ";\n border-right: solid 1px ", ";\n }\n\n ::-webkit-scrollbar {\n width: 10px;\n }\n\n ::-webkit-scrollbar-track {\n border: solid 2px transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px ", ";\n border: solid 2px transparent;\n border-radius: 25px;\n }\n\n /* This stuff is for Firefox */\n * {\n scrollbar-color: ", " #FFFFFF;\n scrollbar-width: thin;\n }\n \n body {\n font-family: ", ";\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n\n"], ["\n ::-webkit-scrollbar-track:hover {\n border-left: solid 1px ", ";\n border-right: solid 1px ", ";\n }\n\n ::-webkit-scrollbar {\n width: 10px;\n }\n\n ::-webkit-scrollbar-track {\n border: solid 2px transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px ", ";\n border: solid 2px transparent;\n border-radius: 25px;\n }\n\n /* This stuff is for Firefox */\n * {\n scrollbar-color: ", " #FFFFFF;\n scrollbar-width: thin;\n }\n \n body {\n font-family: ", ";\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n\n"])), theme.palette.grey["200"], theme.palette.grey["200"], theme.palette.blue["200"], theme.palette.blue["200"], theme.fonts.system);
|
|
247
|
+
var templateObject_1$T;
|
|
241
248
|
|
|
242
249
|
/**
|
|
243
250
|
* Accordions are headers that can be expanded to reveal content or collapsed to hide it.
|
|
@@ -253,7 +260,7 @@ Accordion.Label = reactAccordions.Accordion.Label;
|
|
|
253
260
|
Accordion.Panel = reactAccordions.Accordion.Panel;
|
|
254
261
|
|
|
255
262
|
// import useWindowSize from "../../hooks/useWindowSize";
|
|
256
|
-
var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$
|
|
263
|
+
var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
257
264
|
return props.avatarType &&
|
|
258
265
|
props.avatarType !== "image" &&
|
|
259
266
|
"background: ".concat(props.backgroundColor || theme.gradients.dark, ";");
|
|
@@ -278,7 +285,7 @@ var Avatar = function (props) {
|
|
|
278
285
|
return (jsxRuntime.jsx(UgAvatar, __assign({}, props, { badge: fixedBadge, children: wrapChildren(props.avatarType || "text"), size: props.size || "small" })));
|
|
279
286
|
};
|
|
280
287
|
Avatar.Text = UgAvatar.Text;
|
|
281
|
-
var templateObject_1$
|
|
288
|
+
var templateObject_1$S;
|
|
282
289
|
|
|
283
290
|
/**
|
|
284
291
|
* Breadcrumbs mark and communicate a user’s location in the product.
|
|
@@ -299,7 +306,7 @@ var Breadcrumb = function (props) { return jsxRuntime.jsx(reactBreadcrumbs.Bread
|
|
|
299
306
|
*/
|
|
300
307
|
var Anchor = function (props) { return jsxRuntime.jsx(reactButtons.Anchor, __assign({}, props)); };
|
|
301
308
|
|
|
302
|
-
var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$
|
|
309
|
+
var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$R || (templateObject_1$R = __makeTemplateObject([""], [""])));
|
|
303
310
|
/**
|
|
304
311
|
* Buttons let users take action quickly.
|
|
305
312
|
* Use a Button to enable actions or decisions that are important to a user’s workflow.
|
|
@@ -311,7 +318,7 @@ var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$
|
|
|
311
318
|
var Button = function (props) { return jsxRuntime.jsx(UgButton, __assign({}, props)); };
|
|
312
319
|
Button.StartIcon = UgButton.StartIcon;
|
|
313
320
|
Button.EndIcon = UgButton.EndIcon;
|
|
314
|
-
var templateObject_1$
|
|
321
|
+
var templateObject_1$R;
|
|
315
322
|
|
|
316
323
|
/**
|
|
317
324
|
A Button group lets users make a selection from a set of options.
|
|
@@ -364,13 +371,13 @@ var Tag = function (props) { return jsxRuntime.jsx(reactTags.Tag, __assign({}, p
|
|
|
364
371
|
Tag.Avatar = reactTags.Tag.Avatar;
|
|
365
372
|
Tag.Close = reactTags.Tag.Close;
|
|
366
373
|
|
|
367
|
-
var UgLabel$1 = styled__default["default"](reactForms.Label)(templateObject_1$
|
|
374
|
+
var UgLabel$1 = styled__default["default"](reactForms.Label)(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject([""], [""])));
|
|
368
375
|
/**
|
|
369
376
|
* A Label is used to specify a title for an input.
|
|
370
377
|
* <hr>
|
|
371
378
|
**/
|
|
372
379
|
var Label = function (props) { return jsxRuntime.jsx(UgLabel$1, __assign({}, props)); };
|
|
373
|
-
var templateObject_1$
|
|
380
|
+
var templateObject_1$Q;
|
|
374
381
|
|
|
375
382
|
var _g$4, _path$p, _path2$7, _path3$6, _path4$4, _path5$3, _path6$3, _path7$3, _path8$3, _path9$3, _path10$3, _path11$2;
|
|
376
383
|
|
|
@@ -577,7 +584,7 @@ var SvgArrivalStatusRoundIcon = function SvgArrivalStatusRoundIcon(props) {
|
|
|
577
584
|
})));
|
|
578
585
|
};
|
|
579
586
|
|
|
580
|
-
var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$
|
|
587
|
+
var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n"], ["\n background-color: ", ";\n border-radius: ", ";\n"])), function (props) { return props.theme.palette.grey[500]; }, function (props) { return props.theme.borderRadii.xxl; });
|
|
581
588
|
/**
|
|
582
589
|
* A Skeleton loader shows users a blank version of a page or section of a page into which content is gradually loaded. It provides a visual estimate of the space needed.
|
|
583
590
|
* <hr>
|
|
@@ -592,13 +599,13 @@ var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObjec
|
|
|
592
599
|
- To communicate a typing status, use Inline instead
|
|
593
600
|
*/
|
|
594
601
|
var Skeleton = function (props) { return jsxRuntime.jsx(UgSkeleton, __assign({}, props)); };
|
|
595
|
-
var templateObject_1$
|
|
602
|
+
var templateObject_1$P;
|
|
596
603
|
|
|
597
604
|
var CampaignCardSkeleton = function () {
|
|
598
605
|
return (jsxRuntime.jsxs(Wrapper$1, { children: [jsxRuntime.jsx(CardHeader, { children: jsxRuntime.jsx(Skeleton, { width: "30%" }) }), jsxRuntime.jsxs(CardBody$1, { children: [jsxRuntime.jsx(Skeleton, { height: "18px", width: "50%" }), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Skeleton, { height: "26px", style: { backgroundColor: theme.palette.blue[400] } })] }), jsxRuntime.jsx(Divider$1, {}), jsxRuntime.jsxs(CardFooter$1, { children: [jsxRuntime.jsx(Skeleton, { height: "18px", width: "45%" }), " ", jsxRuntime.jsx(Skeleton, { width: "26px", height: "26px", style: { borderRadius: "100%" } })] })] }));
|
|
599
606
|
};
|
|
600
607
|
|
|
601
|
-
var flexCenter = styled.css(templateObject_1$
|
|
608
|
+
var flexCenter = styled.css(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
602
609
|
var flexColumnCenter = styled.css(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n ", ";\n flex-direction: column;\n"], ["\n ", ";\n flex-direction: column;\n"])), flexCenter);
|
|
603
610
|
var flexStart = styled.css(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: ", ";\n"])), function (_a) {
|
|
604
611
|
var theme = _a.theme;
|
|
@@ -617,7 +624,7 @@ var cardStyle = styled.css(templateObject_4$8 || (templateObject_4$8 = __makeTem
|
|
|
617
624
|
var theme = _a.theme;
|
|
618
625
|
return theme.shadows.boxShadow(theme);
|
|
619
626
|
});
|
|
620
|
-
var templateObject_1$
|
|
627
|
+
var templateObject_1$O, templateObject_2$h, templateObject_3$c, templateObject_4$8;
|
|
621
628
|
|
|
622
629
|
var getStatusIcon = function (status) {
|
|
623
630
|
switch (status) {
|
|
@@ -641,7 +648,7 @@ var getTypeDataIcon = function (type) {
|
|
|
641
648
|
return SvgFunctionalTestRoundIcon;
|
|
642
649
|
}
|
|
643
650
|
};
|
|
644
|
-
var Wrapper$1 = styled__default["default"](Card)(templateObject_1$
|
|
651
|
+
var Wrapper$1 = styled__default["default"](Card)(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cardStyle);
|
|
645
652
|
var StyledTag$1 = styled__default["default"](Tag)(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n color: ", ";\n max-width: 75%;\n cursor: pointer;\n"], ["\n color: ", ";\n max-width: 75%;\n cursor: pointer;\n"])), function (_a) {
|
|
646
653
|
var theme = _a.theme;
|
|
647
654
|
return theme.palette.grey["700"];
|
|
@@ -703,9 +710,9 @@ var CampaignCard = function (props) {
|
|
|
703
710
|
}
|
|
704
711
|
return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(Wrapper$1, __assign({}, props, { children: [jsxRuntime.jsxs(CardHeader, { children: [jsxRuntime.jsx(StyledLabel$2, __assign({ isRegular: true }, { children: date })), isNew && (jsxRuntime.jsx(StyledTagNew$1, __assign({ hue: theme.palette.fuschia["600"], isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" })))] }), jsxRuntime.jsxs(CardBody$1, { children: [jsxRuntime.jsx(StyledLabel$2, __assign({ isRegular: true }, { children: projectTitleCut })), jsxRuntime.jsx(StyledTitleLabel$1, __assign({ isRegular: true }, { children: campaignTitleCut }))] }), jsxRuntime.jsx(Divider$1, {}), jsxRuntime.jsxs(CardFooter$1, { children: [props.pillText && (jsxRuntime.jsxs(StyledTag$1, __assign({ size: "large", isPill: true, isRegular: true, hue: theme.palette.grey[100] }, { children: [jsxRuntime.jsx(Tag.Avatar, { children: jsxRuntime.jsx(PillIcon, {}) }), props.pillText] }))), jsxRuntime.jsx(StatusIcon, {})] })] })));
|
|
705
712
|
};
|
|
706
|
-
var templateObject_1$
|
|
713
|
+
var templateObject_1$N, templateObject_2$g, templateObject_3$b, templateObject_4$7, templateObject_5$4, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9;
|
|
707
714
|
|
|
708
|
-
var Wrapper = styled__default["default"](Card)(templateObject_1$
|
|
715
|
+
var Wrapper = styled__default["default"](Card)(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n display: flex;\n flex-direction: column;\n\n &:hover {\n box-shadow: ", ";\n }\n"], ["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n display: flex;\n flex-direction: column;\n\n &:hover {\n box-shadow: ", ";\n }\n"])), function (_a) {
|
|
709
716
|
var theme = _a.theme;
|
|
710
717
|
return theme.borderRadii.lg;
|
|
711
718
|
}, function (_a) {
|
|
@@ -756,7 +763,7 @@ var IconContainer$1 = styled__default["default"].div(templateObject_6$1 || (temp
|
|
|
756
763
|
var theme = _a.theme;
|
|
757
764
|
return theme.components.notification.card.padding;
|
|
758
765
|
});
|
|
759
|
-
var CardBody = styled__default["default"].div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n"])));
|
|
766
|
+
var CardBody = styled__default["default"].div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n cursor: pointer;\n"])));
|
|
760
767
|
var CardFooter = styled__default["default"].div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n"])));
|
|
761
768
|
var ProductCard = function (props) {
|
|
762
769
|
var isNew = props.isNew, productTitle = props.productTitle, labelNew = props.labelNew;
|
|
@@ -764,9 +771,9 @@ var ProductCard = function (props) {
|
|
|
764
771
|
if (productTitle.length > 42) {
|
|
765
772
|
productTitleCut = "".concat(productTitle.substring(0, 39), "...");
|
|
766
773
|
}
|
|
767
|
-
return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(Wrapper, __assign({}, props, { children: [jsxRuntime.jsxs(CardBody, { children: [isNew && (jsxRuntime.jsx(StyledTagNew, __assign({ hue: theme.palette.fuschia["600"], isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" }))), props.icon && jsxRuntime.jsx(IconContainer$1, { children: props.icon }), props.preTitle && (jsxRuntime.jsx(StyledLabel$1, __assign({ isRegular: true }, { children: props.preTitle }))), jsxRuntime.jsx(StyledTitleLabel, __assign({ isRegular: true }, { children: productTitleCut }))] }), jsxRuntime.jsx(Divider, {}), jsxRuntime.jsx(CardFooter, { children: jsxRuntime.jsx(Button, __assign({ isPill: true, isPrimary: true, onClick: props.onCtaClick }, { children: props.ctaLabel })) })] })));
|
|
774
|
+
return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(Wrapper, __assign({}, props, { children: [jsxRuntime.jsxs(CardBody, __assign({ onClick: props.onCtaClick }, { children: [isNew && (jsxRuntime.jsx(StyledTagNew, __assign({ hue: theme.palette.fuschia["600"], isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" }))), props.icon && jsxRuntime.jsx(IconContainer$1, { children: props.icon }), props.preTitle && (jsxRuntime.jsx(StyledLabel$1, __assign({ isRegular: true }, { children: props.preTitle }))), jsxRuntime.jsx(StyledTitleLabel, __assign({ isRegular: true }, { children: productTitleCut }))] })), jsxRuntime.jsx(Divider, {}), jsxRuntime.jsx(CardFooter, { children: jsxRuntime.jsx(Button, __assign({ isPill: true, isPrimary: true, onClick: props.onCtaClick }, { children: props.ctaLabel })) })] })));
|
|
768
775
|
};
|
|
769
|
-
var templateObject_1$
|
|
776
|
+
var templateObject_1$M, templateObject_2$f, templateObject_3$a, templateObject_4$6, templateObject_5$3, templateObject_6$1, templateObject_7, templateObject_8;
|
|
770
777
|
|
|
771
778
|
/**
|
|
772
779
|
* Title is a basic component used to display a title. Often used in card headers.
|
|
@@ -972,7 +979,7 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
|
|
|
972
979
|
})));
|
|
973
980
|
};
|
|
974
981
|
|
|
975
|
-
var StyledTag = styled__default["default"](Tag)(templateObject_1$
|
|
982
|
+
var StyledTag = styled__default["default"](Tag)(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n background-color: transparent;\n pointer-events: none;\n font-weight: ", ";\n ", "\n svg {\n margin-right: ", " !important;\n }\n\n span {\n font-weight: ", ";\n margin-left: ", ";\n color: ", ";\n }\n"], ["\n background-color: transparent;\n pointer-events: none;\n font-weight: ", ";\n ", "\n svg {\n margin-right: ", " !important;\n }\n\n span {\n font-weight: ", ";\n margin-left: ", ";\n color: ", ";\n }\n"])), function (_a) {
|
|
976
983
|
var theme = _a.theme;
|
|
977
984
|
return theme.fontWeights.regular;
|
|
978
985
|
}, function (_a) {
|
|
@@ -1008,7 +1015,7 @@ var Counter = function (props) {
|
|
|
1008
1015
|
return (jsxRuntime.jsxs(StyledTag, __assign({}, props, { size: props.size || "large" }, { children: [jsxRuntime.jsx(StyledTag.Avatar, { children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [status === "completed" && jsxRuntime.jsx(SvgCampaignCompleted, {}), status === "progress" && jsxRuntime.jsx(SvgCampaignProgress, {}), status === "incoming" && jsxRuntime.jsx(SvgCampaignIncoming, {}), status === "functional" && jsxRuntime.jsx(SvgCampaignFunctional, {}), status === "experiential" && jsxRuntime.jsx(SvgCampaignExperiential, {})] }) }), props.children, counter !== undefined && jsxRuntime.jsx("span", { children: counter.toString() })] })));
|
|
1009
1016
|
};
|
|
1010
1017
|
Counter.Avatar = StyledTag.Avatar;
|
|
1011
|
-
var templateObject_1$
|
|
1018
|
+
var templateObject_1$L;
|
|
1012
1019
|
|
|
1013
1020
|
/**
|
|
1014
1021
|
* A Drawer is a container for supplementary content that is anchored to the edge of a page.
|
|
@@ -1024,26 +1031,25 @@ Drawer.Footer = reactModals.DrawerModal.Footer;
|
|
|
1024
1031
|
Drawer.FooterItem = reactModals.DrawerModal.FooterItem;
|
|
1025
1032
|
Drawer.Close = reactModals.DrawerModal.Close;
|
|
1026
1033
|
|
|
1027
|
-
var Field$1 = styled__default["default"](reactDropdowns.Field)(templateObject_1$
|
|
1028
|
-
var templateObject_1$
|
|
1034
|
+
var Field$1 = styled__default["default"](reactDropdowns.Field)(templateObject_1$K || (templateObject_1$K = __makeTemplateObject([""], [""])));
|
|
1035
|
+
var templateObject_1$K;
|
|
1029
1036
|
|
|
1030
1037
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
1031
1038
|
__proto__: null,
|
|
1032
1039
|
Field: Field$1
|
|
1033
1040
|
});
|
|
1034
1041
|
|
|
1035
|
-
var UgItem = styled__default["default"](reactDropdowns.Item)(templateObject_1$
|
|
1042
|
+
var UgItem = styled__default["default"](reactDropdowns.Item)(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n &[disabled] svg {\n opacity: 0.5;\n }\n &:hover {\n background-color: ", ";\n }\n"], ["\n &[disabled] svg {\n opacity: 0.5;\n }\n &:hover {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
1036
1043
|
var theme = _a.theme;
|
|
1037
1044
|
return theme.palette.blue[100];
|
|
1038
1045
|
});
|
|
1039
1046
|
var Item = function (props) { return jsxRuntime.jsx(UgItem, __assign({}, props)); };
|
|
1040
|
-
var templateObject_1$
|
|
1047
|
+
var templateObject_1$J;
|
|
1041
1048
|
|
|
1042
|
-
var UgMenu = styled__default["default"](reactDropdowns.Menu)(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n width: auto !important;\n min-width: 100%;\n"], ["\n width: auto !important;\n min-width: 100%;\n"])));
|
|
1043
1049
|
/**
|
|
1044
1050
|
* A Menu is a wrapper for items elements
|
|
1045
1051
|
**/
|
|
1046
|
-
var Menu = function (props) { return jsxRuntime.jsx(
|
|
1052
|
+
var Menu = function (props) { return jsxRuntime.jsx(reactDropdowns.Menu, __assign({}, props)); };
|
|
1047
1053
|
// Extras
|
|
1048
1054
|
var PreviousItem = function (props) { return jsxRuntime.jsx(reactDropdowns.PreviousItem, __assign({}, props)); };
|
|
1049
1055
|
var Separator = function (props) { return jsxRuntime.jsx(reactDropdowns.Separator, __assign({}, props)); };
|
|
@@ -1051,8 +1057,7 @@ var NextItem = function (props) { return jsxRuntime.jsx(reactDropdowns.NextItem,
|
|
|
1051
1057
|
var ItemMeta = function (props) { return jsxRuntime.jsx(reactDropdowns.ItemMeta, __assign({}, props)); };
|
|
1052
1058
|
var MediaBody = function (props) { return jsxRuntime.jsx(reactDropdowns.MediaBody, __assign({}, props)); };
|
|
1053
1059
|
var MediaFigure = function (props) { return jsxRuntime.jsx(reactDropdowns.MediaFigure, __assign({}, props)); };
|
|
1054
|
-
var MediaItem = function (props) { return jsxRuntime.jsx(reactDropdowns.MediaItem, __assign({}, props)); };
|
|
1055
|
-
var templateObject_1$J;
|
|
1060
|
+
var MediaItem = function (props) { return jsxRuntime.jsx(reactDropdowns.MediaItem, __assign({}, props)); };
|
|
1056
1061
|
|
|
1057
1062
|
/**
|
|
1058
1063
|
* Multiselect lets users select multiple items from a list. Options are dynamically filtered as a user types in the input field and their selections appear as tags in the input field.
|