@appquality/unguess-design-system 2.10.20 → 2.10.23

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 CHANGED
@@ -1,3 +1,42 @@
1
+ # v2.10.23 (Thu May 12 2022)
2
+
3
+ #### ⚠️ Pushed to `master`
4
+
5
+ - feat(counter): update counter behaviour based on screen size ([@cannarocks](https://github.com/cannarocks))
6
+
7
+ #### Authors: 1
8
+
9
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
10
+
11
+ ---
12
+
13
+ # v2.10.22 (Thu May 12 2022)
14
+
15
+ #### ⚠️ Pushed to `master`
16
+
17
+ - Merge branch 'master' of github.com:AppQuality/unguess-design-system ([@cannarocks](https://github.com/cannarocks))
18
+ - fix(app-header): fix stories type error ([@cannarocks](https://github.com/cannarocks))
19
+
20
+ #### Authors: 1
21
+
22
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
23
+
24
+ ---
25
+
26
+ # v2.10.21 (Thu May 12 2022)
27
+
28
+ #### ⚠️ Pushed to `master`
29
+
30
+ - Merge branch 'master' of github.com:AppQuality/unguess-design-system ([@cannarocks](https://github.com/cannarocks))
31
+ - fix(tables): fix borders for grouped tables + fix story for virtual scrolling tables" ([@marcbon](https://github.com/marcbon))
32
+
33
+ #### Authors: 2
34
+
35
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
36
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
37
+
38
+ ---
39
+
1
40
  # v2.10.20 (Thu May 12 2022)
2
41
 
3
42
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -15,9 +15,9 @@ var reactTags = require('@zendeskgarden/react-tags');
15
15
  var reactForms = require('@zendeskgarden/react-forms');
16
16
  var React = require('react');
17
17
  var reactLoaders = require('@zendeskgarden/react-loaders');
18
+ var reactTypography = require('@zendeskgarden/react-typography');
18
19
  var reactModals = require('@zendeskgarden/react-modals');
19
20
  var reactDropdowns = require('@zendeskgarden/react-dropdowns');
20
- var reactTypography = require('@zendeskgarden/react-typography');
21
21
  var reactGrid = require('@zendeskgarden/react-grid');
22
22
  var reactChrome = require('@zendeskgarden/react-chrome');
23
23
  var formik = require('formik');
@@ -385,11 +385,11 @@ var ContentCard = styled__default["default"](reactNotifications.Well)(templateOb
385
385
  - To group related content
386
386
  */
387
387
  var Card = function (props) { return jsxRuntime.jsx(ContentCard, __assign({}, props)); };
388
- var ContainerCard = styled__default["default"](Card)(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), function (_a) {
388
+ var ContainerCard = styled__default["default"](Card)(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), function (_a) {
389
389
  var theme = _a.theme;
390
390
  return theme.borderRadii.xl;
391
391
  });
392
- var templateObject_1$R, templateObject_2$l;
392
+ var templateObject_1$R, templateObject_2$m;
393
393
 
394
394
  /**
395
395
  * Tags let users categorize content using a keyword.
@@ -641,7 +641,7 @@ var CampaignCardSkeleton = function () {
641
641
  };
642
642
 
643
643
  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"])));
644
- var flexColumnCenter = styled.css(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n ", ";\n flex-direction: column;\n"], ["\n ", ";\n flex-direction: column;\n"])), flexCenter);
644
+ var flexColumnCenter = styled.css(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n ", ";\n flex-direction: column;\n"], ["\n ", ";\n flex-direction: column;\n"])), flexCenter);
645
645
  var flexStart = styled.css(templateObject_3$d || (templateObject_3$d = __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) {
646
646
  var theme = _a.theme;
647
647
  return (theme.rtl ? "flex-end" : "flex-start");
@@ -659,7 +659,7 @@ var cardStyle = styled.css(templateObject_4$b || (templateObject_4$b = __makeTem
659
659
  var theme = _a.theme;
660
660
  return theme.shadows.boxShadow(theme);
661
661
  });
662
- var templateObject_1$O, templateObject_2$k, templateObject_3$d, templateObject_4$b;
662
+ var templateObject_1$O, templateObject_2$l, templateObject_3$d, templateObject_4$b;
663
663
 
664
664
  var getStatusIcon = function (status) {
665
665
  switch (status) {
@@ -684,7 +684,7 @@ var getTypeDataIcon = function (type) {
684
684
  }
685
685
  };
686
686
  var Wrapper$1 = styled__default["default"](Card)(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cardStyle);
687
- var StyledTag$1 = styled__default["default"](Tag)(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n color: ", ";\n max-width: 75%;\n cursor: pointer;\n"], ["\n color: ", ";\n max-width: 75%;\n cursor: pointer;\n"])), function (_a) {
687
+ var StyledTag$1 = styled__default["default"](Tag)(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n color: ", ";\n max-width: 75%;\n cursor: pointer;\n"], ["\n color: ", ";\n max-width: 75%;\n cursor: pointer;\n"])), function (_a) {
688
688
  var theme = _a.theme;
689
689
  return theme.palette.grey["700"];
690
690
  });
@@ -745,7 +745,7 @@ var CampaignCard = function (props) {
745
745
  }
746
746
  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, {})] })] })));
747
747
  };
748
- var templateObject_1$N, templateObject_2$j, templateObject_3$c, templateObject_4$a, templateObject_5$5, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9;
748
+ var templateObject_1$N, templateObject_2$k, templateObject_3$c, templateObject_4$a, templateObject_5$5, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9;
749
749
 
750
750
  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) {
751
751
  var theme = _a.theme;
@@ -760,7 +760,7 @@ var Wrapper = styled__default["default"](Card)(templateObject_1$M || (templateOb
760
760
  var theme = _a.theme;
761
761
  return theme.shadows.boxShadow(theme);
762
762
  });
763
- var StyledTagNew = styled__default["default"](Tag)(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n height: ", "px;\n padding: ", "px\n ", "px;\n color: ", ";\n position: absolute;\n right: 16px;\n top: 16px;\n"], ["\n height: ", "px;\n padding: ", "px\n ", "px;\n color: ", ";\n position: absolute;\n right: 16px;\n top: 16px;\n"])), function (_a) {
763
+ var StyledTagNew = styled__default["default"](Tag)(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n height: ", "px;\n padding: ", "px\n ", "px;\n color: ", ";\n position: absolute;\n right: 16px;\n top: 16px;\n"], ["\n height: ", "px;\n padding: ", "px\n ", "px;\n color: ", ";\n position: absolute;\n right: 16px;\n top: 16px;\n"])), function (_a) {
764
764
  var theme = _a.theme;
765
765
  return theme.space.base * 6;
766
766
  }, function (_a) {
@@ -808,7 +808,7 @@ var ProductCard = function (props) {
808
808
  }
809
809
  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 })) })] })));
810
810
  };
811
- var templateObject_1$M, templateObject_2$i, templateObject_3$b, templateObject_4$9, templateObject_5$4, templateObject_6$1, templateObject_7, templateObject_8;
811
+ var templateObject_1$M, templateObject_2$j, templateObject_3$b, templateObject_4$9, templateObject_5$4, templateObject_6$1, templateObject_7, templateObject_8;
812
812
 
813
813
  /**
814
814
  * Title is a basic component used to display a title. Often used in card headers.
@@ -1014,7 +1014,46 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
1014
1014
  })));
1015
1015
  };
1016
1016
 
1017
- 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) {
1017
+ /**
1018
+ * Use Span to style and format inline text elements.
1019
+ * <hr>
1020
+ * Used for this:
1021
+ - To apply styles to short strings of text
1022
+ - To include icons inline with text
1023
+ * Not for this:
1024
+ - To style an entire block of text, use Paragraph instead
1025
+ */
1026
+ var Span = function (props) { return jsxRuntime.jsx(reactTypography.Span, __assign({}, props)); };
1027
+
1028
+ function debounce(callback, wait) {
1029
+ var timer;
1030
+ return function () {
1031
+ if (typeof timer !== "undefined")
1032
+ clearTimeout(timer);
1033
+ timer = setTimeout(function () {
1034
+ timer = undefined;
1035
+ callback();
1036
+ }, wait);
1037
+ };
1038
+ }
1039
+ function useWindowSize() {
1040
+ var _a = React.useState({
1041
+ width: window.innerWidth,
1042
+ height: window.innerHeight,
1043
+ }), size = _a[0], setSize = _a[1];
1044
+ React.useLayoutEffect(function () {
1045
+ var debounceUpdateSize = debounce(function () {
1046
+ setSize({ width: window.innerWidth, height: window.innerHeight });
1047
+ }, 300);
1048
+ window.addEventListener("resize", debounceUpdateSize);
1049
+ debounceUpdateSize();
1050
+ return function () { return window.removeEventListener("resize", debounceUpdateSize); };
1051
+ }, []);
1052
+ return size;
1053
+ }
1054
+
1055
+ var StyledSpan = styled__default["default"](Span)(templateObject_1$L || (templateObject_1$L = __makeTemplateObject([""], [""])));
1056
+ var StyledTag = styled__default["default"](Tag)(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n background-color: transparent;\n pointer-events: none;\n font-weight: ", ";\n ", "\n svg {\n margin-right: ", " !important;\n }\n\n ", " {\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 ", " {\n font-weight: ", ";\n margin-left: ", ";\n color: ", ";\n }\n"])), function (_a) {
1018
1057
  var theme = _a.theme;
1019
1058
  return theme.fontWeights.regular;
1020
1059
  }, function (_a) {
@@ -1032,7 +1071,7 @@ var StyledTag = styled__default["default"](Tag)(templateObject_1$L || (templateO
1032
1071
  }, function (_a) {
1033
1072
  var theme = _a.theme;
1034
1073
  return theme.space.xxs;
1035
- }, function (_a) {
1074
+ }, StyledSpan, function (_a) {
1036
1075
  var theme = _a.theme;
1037
1076
  return theme.fontWeights.bold;
1038
1077
  }, function (_a) {
@@ -1046,11 +1085,12 @@ var StyledTag = styled__default["default"](Tag)(templateObject_1$L || (templateO
1046
1085
  * Counter let users categorize content using a keyword.
1047
1086
  */
1048
1087
  var Counter = function (props) {
1088
+ var width = useWindowSize().width;
1049
1089
  var status = props.status, counter = props.counter;
1050
- 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() })] })));
1090
+ 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, {})] }) }), width > parseInt(theme.breakpoints.sm) && props.children, counter !== undefined && jsxRuntime.jsx(StyledSpan, { children: counter.toString() })] })));
1051
1091
  };
1052
1092
  Counter.Avatar = StyledTag.Avatar;
1053
- var templateObject_1$L;
1093
+ var templateObject_1$L, templateObject_2$i;
1054
1094
 
1055
1095
  /**
1056
1096
  * A Drawer is a container for supplementary content that is anchored to the edge of a page.
@@ -1603,17 +1643,22 @@ var AppHeader = function (_a) {
1603
1643
  };
1604
1644
  var templateObject_1$q;
1605
1645
 
1606
- var UgNav = styled__default["default"](reactChrome.Nav)(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n border-right: ", ";\n border-color: ", ";\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n padding-left: ", ";\n"], ["\n border-right: ", ";\n border-color: ", ";\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n padding-left: ", ";\n"])), function (_a) {
1646
+ var UgNav = styled__default["default"](reactChrome.Nav)(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n border-right: ", ";\n border-color: ", ";\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n @media (min-width: ", ") {\n padding-left: ", ";\n }\n"], ["\n border-right: ", ";\n border-color: ", ";\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n @media (min-width: ", ") {\n padding-left: ", ";\n }\n"])), function (_a) {
1607
1647
  var theme = _a.theme;
1608
1648
  return theme.borders.sm;
1609
1649
  }, function (_a) {
1610
1650
  var theme = _a.theme;
1611
1651
  return reactTheming.getColor(theme.colors.neutralHue, 300);
1612
1652
  }, function (props) {
1613
- return "\n width: ".concat(props.isExpanded ? props.theme.space.base * 60 : props.theme.space.base * 9, "px;\n @media (max-width: ").concat(props.theme.breakpoints.sm, ") {\n width: ").concat(props.isExpanded ? "100%" : "0", ";\n border-right: none;\n }\n ");
1653
+ return "\n width: ".concat(props.isExpanded
1654
+ ? props.theme.space.base * 60
1655
+ : props.theme.space.base * 9, "px;\n @media (max-width: ").concat(props.theme.breakpoints.sm, ") {\n width: ").concat(props.isExpanded ? "100%" : "0", ";\n border-right: none;\n }\n ");
1614
1656
  }, function (_a) {
1615
1657
  var theme = _a.theme;
1616
1658
  return theme.space.sm;
1659
+ }, function (_a) {
1660
+ var theme = _a.theme;
1661
+ return theme.breakpoints.sm;
1617
1662
  }, function (_a) {
1618
1663
  var theme = _a.theme;
1619
1664
  return theme.space.xs;
@@ -1809,17 +1854,6 @@ var SvgToken = function SvgToken(props) {
1809
1854
  })))));
1810
1855
  };
1811
1856
 
1812
- /**
1813
- * Use Span to style and format inline text elements.
1814
- * <hr>
1815
- * Used for this:
1816
- - To apply styles to short strings of text
1817
- - To include icons inline with text
1818
- * Not for this:
1819
- - To style an entire block of text, use Paragraph instead
1820
- */
1821
- var Span = function (props) { return jsxRuntime.jsx(reactTypography.Span, __assign({}, props)); };
1822
-
1823
1857
  var LoadingSidebar = function () {
1824
1858
  var isExpanded = true;
1825
1859
  return (jsxRuntime.jsxs(Nav, __assign({ style: { width: "250px" } }, { children: [jsxRuntime.jsx(NavToggle, { isExpanded: isExpanded }), jsxRuntime.jsxs(NavItem, __assign({ isExpanded: isExpanded, isCurrent: true }, { children: [jsxRuntime.jsx(NavItemIcon, __assign({ isStyled: true }, { children: jsxRuntime.jsx(Skeleton, { width: "32px", height: "32px", style: { borderRadius: "100%" } }) })), jsxRuntime.jsx(Skeleton, { height: "12px", width: "60%" }), jsxRuntime.jsx(NavItemText, {})] })), jsxRuntime.jsx(NavDivider, { isExpanded: isExpanded }), jsxRuntime.jsxs(NavItemProject, __assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 1), jsxRuntime.jsxs(NavItemProject, __assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 2), jsxRuntime.jsxs(NavItemProject, __assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 3), jsxRuntime.jsxs(NavItemProject, __assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 3), jsxRuntime.jsxs(NavItem, __assign({ isExpanded: isExpanded, hasBrandmark: true, title: "Be smart from the start", style: { pointerEvents: "none" } }, { children: [jsxRuntime.jsx(NavItemIcon, { children: jsxRuntime.jsx(Skeleton, { width: "32px", height: "32px", style: { borderRadius: "100%" } }) }), jsxRuntime.jsx(NavItemText, { children: "UNGUESS" })] }))] })));
@@ -2227,33 +2261,6 @@ var UserMenu = function (props) {
2227
2261
  };
2228
2262
  var templateObject_1$6;
2229
2263
 
2230
- function debounce(callback, wait) {
2231
- var timer;
2232
- return function () {
2233
- if (typeof timer !== "undefined")
2234
- clearTimeout(timer);
2235
- timer = setTimeout(function () {
2236
- timer = undefined;
2237
- callback();
2238
- }, wait);
2239
- };
2240
- }
2241
- function useWindowSize() {
2242
- var _a = React.useState({
2243
- width: window.innerWidth,
2244
- height: window.innerHeight,
2245
- }), size = _a[0], setSize = _a[1];
2246
- React.useLayoutEffect(function () {
2247
- var debounceUpdateSize = debounce(function () {
2248
- setSize({ width: window.innerWidth, height: window.innerHeight });
2249
- }, 300);
2250
- window.addEventListener("resize", debounceUpdateSize);
2251
- debounceUpdateSize();
2252
- return function () { return window.removeEventListener("resize", debounceUpdateSize); };
2253
- }, []);
2254
- return size;
2255
- }
2256
-
2257
2264
  var StyledModal = styled__default["default"](Modal)(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n margin: 0;\n left: auto;\n right: auto;\n top: auto;\n bottom: auto;\n\n max-height: calc(100vh - ", ");\n\n @media (min-width: ", ") {\n margin-top: calc(\n ", "\n );\n margin-right: ", "px;\n }\n"], ["\n margin: 0;\n left: auto;\n right: auto;\n top: auto;\n bottom: auto;\n\n max-height: calc(100vh - ", ");\n\n @media (min-width: ", ") {\n margin-top: calc(\n ", "\n );\n margin-right: ", "px;\n }\n"])), function (_a) {
2258
2265
  var theme = _a.theme;
2259
2266
  return theme.space.xxl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.10.20",
3
+ "version": "2.10.23",
4
4
  "dependencies": {
5
5
  "@zendeskgarden/css-bedrock": "^9.0.0",
6
6
  "@zendeskgarden/react-accordions": "^8.49.0",