@appquality/unguess-design-system 2.12.29 → 2.12.31

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,28 @@
1
+ # v2.12.31 (Tue Nov 15 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - fix(bullet chart): tooltip & theme [#105](https://github.com/AppQuality/unguess-design-system/pull/105) ([@iacopolea](https://github.com/iacopolea) [@marcbon](https://github.com/marcbon))
6
+
7
+ #### Authors: 2
8
+
9
+ - Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
10
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
11
+
12
+ ---
13
+
14
+ # v2.12.30 (Tue Nov 15 2022)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - fix(halfpie): Make toplevel component relative instead of absolute [#106](https://github.com/AppQuality/unguess-design-system/pull/106) ([@d-beezee](https://github.com/d-beezee))
19
+
20
+ #### Authors: 1
21
+
22
+ - [@d-beezee](https://github.com/d-beezee)
23
+
24
+ ---
25
+
1
26
  # v2.12.29 (Tue Nov 15 2022)
2
27
 
3
28
  #### ⚠️ Pushed to `master`
package/build/index.js CHANGED
@@ -18,6 +18,7 @@ var reactLoaders = require('@zendeskgarden/react-loaders');
18
18
  var reactTypography = require('@zendeskgarden/react-typography');
19
19
  var bar = require('@nivo/bar');
20
20
  var bullet = require('@nivo/bullet');
21
+ var web = require('@react-spring/web');
21
22
  var pie = require('@nivo/pie');
22
23
  var stream = require('@nivo/stream');
23
24
  var sunburst = require('@nivo/sunburst');
@@ -265,10 +266,10 @@ var isMac = function () {
265
266
  var os = parser.getOS().name;
266
267
  return os && /Mac OS|iOS/.test(os);
267
268
  };
268
- styled.css(templateObject_1$1l || (templateObject_1$1l = __makeTemplateObject(["\n transition: opacity 0.2s ease;\n"], ["\n transition: opacity 0.2s ease;\n"])));
269
+ styled.css(templateObject_1$1m || (templateObject_1$1m = __makeTemplateObject(["\n transition: opacity 0.2s ease;\n"], ["\n transition: opacity 0.2s ease;\n"])));
269
270
  var sidebarNavItemExpanded = styled.css(templateObject_2$y || (templateObject_2$y = __makeTemplateObject(["\n visibility: visible;\n opacity: 1;\n // transition: opacity 0.2s ease;\n"], ["\n visibility: visible;\n opacity: 1;\n // transition: opacity 0.2s ease;\n"])));
270
271
  var sidebarNavItemHidden = styled.css(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n visibility: hidden;\n pointer-events: none;\n color: transparent;\n"], ["\n visibility: hidden;\n pointer-events: none;\n color: transparent;\n"])));
271
- var templateObject_1$1l, templateObject_2$y, templateObject_3$l;
272
+ var templateObject_1$1m, templateObject_2$y, templateObject_3$l;
272
273
 
273
274
  var gradients = {
274
275
  horizontal: "linear-gradient(90.81deg, ".concat(hex2rgba(palette.blue[600]), " 11.98%, ").concat(hex2rgba(palette.kale[400]), " 100%);"),
@@ -285,8 +286,8 @@ var components = __assign(__assign({}, reactTheming.DEFAULT_THEME.components), {
285
286
  var theme = __assign(__assign({}, reactTheming.DEFAULT_THEME), { breakpoints: __assign(__assign({}, reactTheming.DEFAULT_THEME.breakpoints), { xxl: "1440px" }), colors: __assign(__assign({}, reactTheming.DEFAULT_THEME.colors), { primaryHue: palette.blue[600], warningHue: palette.yellow[600], successHue: palette.teal["M600"], dangerHue: palette.red[600], accentHue: palette.water[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" }), lineHeights: __assign(__assign({}, reactTheming.DEFAULT_THEME.lineHeights), { xs: '16px' // same as sm
286
287
  }), components: components, shadows: __assign(__assign({}, reactTheming.DEFAULT_THEME.shadows), { boxShadow: boxShadow }) });
287
288
 
288
- var GlobalStyle = styled.createGlobalStyle(templateObject_1$1k || (templateObject_1$1k = __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 html {\n overflow-y: auto;\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 html {\n overflow-y: auto;\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);
289
- var templateObject_1$1k;
289
+ var GlobalStyle = styled.createGlobalStyle(templateObject_1$1l || (templateObject_1$1l = __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 html {\n overflow-y: auto;\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 html {\n overflow-y: auto;\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);
290
+ var templateObject_1$1l;
290
291
 
291
292
  /**
292
293
  * Accordions are headers that can be expanded to reveal content or collapsed to hide it.
@@ -302,7 +303,7 @@ Accordion.Header = reactAccordions.Accordion.Header;
302
303
  Accordion.Label = reactAccordions.Accordion.Label;
303
304
  Accordion.Panel = reactAccordions.Accordion.Panel;
304
305
 
305
- var UgAlert = styled__default["default"](reactNotifications.Alert)(templateObject_1$1j || (templateObject_1$1j = __makeTemplateObject(["\n background-color: white;\n color: ", ";\n border-width: 2px;\n font-size: ", ";\n"], ["\n background-color: white;\n color: ", ";\n border-width: 2px;\n font-size: ", ";\n"])), function (_a) {
306
+ var UgAlert = styled__default["default"](reactNotifications.Alert)(templateObject_1$1k || (templateObject_1$1k = __makeTemplateObject(["\n background-color: white;\n color: ", ";\n border-width: 2px;\n font-size: ", ";\n"], ["\n background-color: white;\n color: ", ";\n border-width: 2px;\n font-size: ", ";\n"])), function (_a) {
306
307
  var theme = _a.theme;
307
308
  return theme.palette.grey[700];
308
309
  }, function (_a) {
@@ -323,9 +324,9 @@ var UgAlertTitle = styled__default["default"](reactNotifications.Title)(template
323
324
  var Alert = function (props) { return jsxRuntime.jsx(UgAlert, __assign({}, props)); };
324
325
  Alert.Title = UgAlertTitle;
325
326
  Alert.Close = reactNotifications.Close;
326
- var templateObject_1$1j, templateObject_2$x;
327
+ var templateObject_1$1k, templateObject_2$x;
327
328
 
328
- var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$1i || (templateObject_1$1i = __makeTemplateObject(["\n text-transform: uppercase;\n\n ", "\n"], ["\n text-transform: uppercase;\n\n ", "\n"])), function (props) {
329
+ var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$1j || (templateObject_1$1j = __makeTemplateObject(["\n text-transform: uppercase;\n\n ", "\n"], ["\n text-transform: uppercase;\n\n ", "\n"])), function (props) {
329
330
  return props.avatarType &&
330
331
  props.avatarType !== "image" &&
331
332
  "background: ".concat(props.backgroundColor || theme.gradients.dark, ";");
@@ -349,7 +350,7 @@ var Avatar = function (props) {
349
350
  return (jsxRuntime.jsx(UgAvatar, __assign({}, props, { badge: fixedBadge, children: wrapChildren(props.avatarType || "text"), size: props.size || "small" })));
350
351
  };
351
352
  Avatar.Text = UgAvatar.Text;
352
- var templateObject_1$1i;
353
+ var templateObject_1$1j;
353
354
 
354
355
  /**
355
356
  * Breadcrumbs mark and communicate a user’s location in the product.
@@ -380,7 +381,7 @@ var getThemeStyle = function (props) {
380
381
  }
381
382
  return theme;
382
383
  };
383
- var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$1h || (templateObject_1$1h = __makeTemplateObject([""], [""])));
384
+ var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$1i || (templateObject_1$1i = __makeTemplateObject([""], [""])));
384
385
  /**
385
386
  * Buttons let users take action quickly.
386
387
  * Use a Button to enable actions or decisions that are important to a user’s workflow.
@@ -399,7 +400,7 @@ var ButtonComponent = React.forwardRef(function (props, ref) {
399
400
  var Button = ButtonComponent;
400
401
  Button.StartIcon = UgButton.StartIcon;
401
402
  Button.EndIcon = UgButton.EndIcon;
402
- var templateObject_1$1h;
403
+ var templateObject_1$1i;
403
404
 
404
405
  /**
405
406
  A Button group lets users make a selection from a set of options.
@@ -429,7 +430,7 @@ Used for this:
429
430
  **/
430
431
  var SplitButton = React.forwardRef(function (props, ref) { return jsxRuntime.jsx(reactButtons.SplitButton, __assign({ ref: ref }, props)); });
431
432
 
432
- var UgCard = styled__default["default"](reactNotifications.Well)(templateObject_1$1g || (templateObject_1$1g = __makeTemplateObject(["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n cursor: pointer;\n\n ", "\n"], ["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n cursor: pointer;\n\n ", "\n"])), function (_a) {
433
+ var UgCard = styled__default["default"](reactNotifications.Well)(templateObject_1$1h || (templateObject_1$1h = __makeTemplateObject(["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n cursor: pointer;\n\n ", "\n"], ["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n cursor: pointer;\n\n ", "\n"])), function (_a) {
433
434
  var theme = _a.theme;
434
435
  return theme.borderRadii.lg;
435
436
  }, function (_a) {
@@ -467,7 +468,7 @@ var UgContainerCard = styled__default["default"](reactNotifications.Well)(templa
467
468
  return "".concat(theme.space.xl, " ").concat(theme.space.md);
468
469
  });
469
470
  var ContainerCard = function (props) { return jsxRuntime.jsx(UgContainerCard, __assign({}, props)); };
470
- var templateObject_1$1g, templateObject_2$w;
471
+ var templateObject_1$1h, templateObject_2$w;
471
472
 
472
473
  /**
473
474
  * Tags let users categorize content using a keyword.
@@ -672,7 +673,7 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
672
673
  })));
673
674
  };
674
675
 
675
- var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$1f || (templateObject_1$1f = __makeTemplateObject(["\n border-radius: ", ";\n ", "\n"], ["\n border-radius: ", ";\n ", "\n"])), function (props) { return props.theme.borderRadii.xxl; }, function (props) {
676
+ var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$1g || (templateObject_1$1g = __makeTemplateObject(["\n border-radius: ", ";\n ", "\n"], ["\n border-radius: ", ";\n ", "\n"])), function (props) { return props.theme.borderRadii.xxl; }, function (props) {
676
677
  return props.isLight ?
677
678
  "\n &:before {\n background-image: linear-gradient(45deg, transparent, ".concat(props.theme.palette.grey[200], ", transparent);\n }\n ") : "\n background-color: ".concat(props.theme.palette.grey[200], ";\n ");
678
679
  });
@@ -690,22 +691,22 @@ var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObjec
690
691
  - To communicate a typing status, use Inline instead
691
692
  */
692
693
  var Skeleton = function (props) { return jsxRuntime.jsx(UgSkeleton, __assign({}, props)); };
693
- var templateObject_1$1f;
694
+ var templateObject_1$1g;
694
695
 
695
- var CardMeta = styled__default["default"].div(templateObject_1$1e || (templateObject_1$1e = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
696
+ var CardMeta = styled__default["default"].div(templateObject_1$1f || (templateObject_1$1f = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
696
697
  var theme = _a.theme, direction = _a.direction, justifyContent = _a.justifyContent;
697
698
  return "\n display: flex;\n align-items: center;\n flex-direction: ".concat(direction || "row", ";\n justify-content: ").concat(justifyContent || "space-between", ";\n height: ").concat(theme.space.base * 6, "px;\n padding: ").concat(theme.space.xxs, " 0;\n margin-bottom: ").concat(theme.space.xs, ";\n ");
698
699
  });
699
- var templateObject_1$1e;
700
+ var templateObject_1$1f;
700
701
 
701
- var CardThumbnail = styled__default["default"].div(templateObject_1$1d || (templateObject_1$1d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
702
+ var CardThumbnail = styled__default["default"].div(templateObject_1$1e || (templateObject_1$1e = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
702
703
  var theme = _a.theme, align = _a.align, isStretched = _a.isStretched;
703
704
  return "\n display: flex;\n\n ".concat(!isStretched ? "max-width: ".concat(theme.space.base * 16, "px") : "", ";\n max-height: ").concat(isStretched ? '150px' : "".concat(theme.space.base * 16, "px"), ";\n ").concat(align === "left" ? "margin-right: auto;" : '', "\n ").concat(align === "right" ? "margin-left: auto;" : '', "\n ").concat(align === "center" || isStretched ? "margin: auto;" : '', "\n\n padding: ").concat(theme.space.xxs, " 0;\n\n svg {\n width: 100%;\n height: auto;\n }\n ");
704
705
  });
705
706
  CardThumbnail.defaultProps = {
706
707
  align: "left"
707
708
  };
708
- var templateObject_1$1d;
709
+ var templateObject_1$1e;
709
710
 
710
711
  /**
711
712
  * Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
@@ -717,7 +718,7 @@ var XL = function (props) { return jsxRuntime.jsx(reactTypography.XL, __assign({
717
718
  var XXL = function (props) { return jsxRuntime.jsx(reactTypography.XXL, __assign({}, props)); };
718
719
  var XXXL = function (props) { return jsxRuntime.jsx(reactTypography.XXXL, __assign({}, props)); };
719
720
 
720
- var Label$2 = styled__default["default"](SM)(templateObject_1$1c || (templateObject_1$1c = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
721
+ var Label$2 = styled__default["default"](SM)(templateObject_1$1d || (templateObject_1$1d = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
721
722
  var theme = _a.theme;
722
723
  return theme.palette.grey[500];
723
724
  });
@@ -746,9 +747,9 @@ var CardHeader = function (props) { return jsxRuntime.jsx(Container$2, __assign(
746
747
  CardHeader.Label = Label$2;
747
748
  CardHeader.Title = Title$2;
748
749
  CardHeader.Text = Description$2;
749
- var templateObject_1$1c, templateObject_2$v, templateObject_3$k, templateObject_4$f;
750
+ var templateObject_1$1d, templateObject_2$v, templateObject_3$k, templateObject_4$f;
750
751
 
751
- var Divider = styled__default["default"].div(templateObject_1$1b || (templateObject_1$1b = __makeTemplateObject(["\n width: 100%;\n height: 1px;\n margin-top: ", "px;\n margin-bottom: ", ";\n background-color: ", ";\n"], ["\n width: 100%;\n height: 1px;\n margin-top: ", "px;\n margin-bottom: ", ";\n background-color: ", ";\n"])), function (_a) {
752
+ var Divider = styled__default["default"].div(templateObject_1$1c || (templateObject_1$1c = __makeTemplateObject(["\n width: 100%;\n height: 1px;\n margin-top: ", "px;\n margin-bottom: ", ";\n background-color: ", ";\n"], ["\n width: 100%;\n height: 1px;\n margin-top: ", "px;\n margin-bottom: ", ";\n background-color: ", ";\n"])), function (_a) {
752
753
  var theme = _a.theme;
753
754
  return theme.space.base * 3;
754
755
  }, function (_a) {
@@ -764,9 +765,9 @@ var Container$1 = styled__default["default"].div(templateObject_3$j || (template
764
765
  return "\n display: flex;\n align-items: center;\n flex-direction: ".concat(direction || "row", ";\n justify-content: ").concat(justifyContent || "space-between", ";\n padding: ").concat(theme.space.xxs, " 0;\n margin-top: ").concat(theme.space.xs, ";\n ").concat(wrap ? "flex-wrap: wrap;" : "", "\n ");
765
766
  });
766
767
  var CardFooter = function (props) { return (jsxRuntime.jsxs(Footer$2, { children: [!props.noDivider && jsxRuntime.jsx(Divider, {}), jsxRuntime.jsx(Container$1, __assign({}, props, { children: props.children }))] })); };
767
- var templateObject_1$1b, templateObject_2$u, templateObject_3$j;
768
+ var templateObject_1$1c, templateObject_2$u, templateObject_3$j;
768
769
 
769
- var UgContentCard = styled__default["default"](reactNotifications.Well)(templateObject_1$1a || (templateObject_1$1a = __makeTemplateObject(["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n height: 100%;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n\n ", "\n\n ", "\n"], ["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n height: 100%;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n\n ", "\n\n ", "\n"])), function (_a) {
770
+ var UgContentCard = styled__default["default"](reactNotifications.Well)(templateObject_1$1b || (templateObject_1$1b = __makeTemplateObject(["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n height: 100%;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n\n ", "\n\n ", "\n"], ["\n border-radius: ", ";\n padding: ", ";\n border: 1px solid ", ";\n height: 100%;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n\n ", "\n\n ", "\n"])), function (_a) {
770
771
  var theme = _a.theme;
771
772
  return theme.borderRadii.lg;
772
773
  }, function (_a) {
@@ -796,7 +797,7 @@ SpecialCard.Meta = CardMeta;
796
797
  SpecialCard.Thumb = CardThumbnail;
797
798
  SpecialCard.Header = CardHeader;
798
799
  SpecialCard.Footer = CardFooter;
799
- var templateObject_1$1a;
800
+ var templateObject_1$1b;
800
801
 
801
802
  var CampaignCardSkeleton = function () {
802
803
  return (jsxRuntime.jsxs(SpecialCard, { children: [jsxRuntime.jsx(SpecialCard.Meta, { children: jsxRuntime.jsx(Skeleton, { width: "30%" }) }), jsxRuntime.jsxs(SpecialCard.Header, { children: [jsxRuntime.jsx(Skeleton, { height: "18px", width: "50%" }), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Skeleton, { height: "26px", style: { backgroundColor: theme.palette.blue[400] } })] }), jsxRuntime.jsxs(SpecialCard.Footer, { children: [jsxRuntime.jsx(Skeleton, { height: "18px", width: "45%" }), jsxRuntime.jsx(Skeleton, { width: "26px", height: "26px", style: { borderRadius: "100%" } })] })] }));
@@ -829,7 +830,7 @@ var getTypeDataIcon = function (type) {
829
830
  return SvgCampaignFunctional;
830
831
  }
831
832
  };
832
- var StyledTag$2 = styled__default["default"](Tag)(templateObject_1$19 || (templateObject_1$19 = __makeTemplateObject(["\n color: ", ";\n cursor: pointer;\n"], ["\n color: ", ";\n cursor: pointer;\n"])), function (_a) {
833
+ var StyledTag$2 = styled__default["default"](Tag)(templateObject_1$1a || (templateObject_1$1a = __makeTemplateObject(["\n color: ", ";\n cursor: pointer;\n"], ["\n color: ", ";\n cursor: pointer;\n"])), function (_a) {
833
834
  var theme = _a.theme;
834
835
  return theme.palette.grey["700"];
835
836
  });
@@ -856,9 +857,9 @@ var CampaignCard = function (_a) {
856
857
  var PillIcon = getTypeDataIcon(type);
857
858
  return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(SpecialCard, __assign({ title: campaignTitle }, props, { children: [jsxRuntime.jsxs(SpecialCard.Meta, { children: [jsxRuntime.jsx(StyledLabel$2, { 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(SpecialCard.Header, { children: [jsxRuntime.jsx(SpecialCard.Header.Label, { children: projectTitle }), jsxRuntime.jsx(SpecialCard.Header.Title, { children: campaignTitle })] }), jsxRuntime.jsxs(SpecialCard.Footer, { children: [props.pillText && (jsxRuntime.jsxs(StyledTag$2, __assign({ size: "large", isPill: true, isRegular: true, hue: theme.palette.grey[100] }, { children: [jsxRuntime.jsx(Tag.Avatar, { children: jsxRuntime.jsx(PillIcon, {}) }), jsxRuntime.jsx(Ellipsis, __assign({ style: { maxWidth: "180px" } }, { children: props.pillText }))] }))), jsxRuntime.jsx(StatusIcon, {})] })] })));
858
859
  };
859
- var templateObject_1$19, templateObject_2$t, templateObject_3$i;
860
+ var templateObject_1$1a, templateObject_2$t, templateObject_3$i;
860
861
 
861
- var StyledTagNew = styled__default["default"](Tag)(templateObject_1$18 || (templateObject_1$18 = __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) {
862
+ var StyledTagNew = styled__default["default"](Tag)(templateObject_1$19 || (templateObject_1$19 = __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) {
862
863
  var theme = _a.theme;
863
864
  return theme.space.base * 6;
864
865
  }, function (_a) {
@@ -875,9 +876,9 @@ var ProductCard = function (props) {
875
876
  var isNew = props.isNew, productTitle = props.productTitle, labelNew = props.labelNew;
876
877
  return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(SpecialCard, __assign({ title: productTitle }, props, { children: [jsxRuntime.jsx(SpecialCard.Meta, { 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(SpecialCard.Thumb, __assign({ align: "center" }, { children: props.icon })), jsxRuntime.jsxs(SpecialCard.Header, __assign({ onClick: props.onCtaClick, align: "center" }, { children: [props.preTitle && (jsxRuntime.jsx(SpecialCard.Header.Label, { children: props.preTitle })), jsxRuntime.jsx(SpecialCard.Header.Title, { children: productTitle })] })), jsxRuntime.jsx(SpecialCard.Footer, __assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(Button, __assign({ isPill: true, isPrimary: true, onClick: props.onCtaClick, themeColor: theme.colors.accentHue, size: "small" }, { children: props.ctaLabel })) }))] })));
877
878
  };
878
- var templateObject_1$18;
879
+ var templateObject_1$19;
879
880
 
880
- var ServiceSubtitle = styled__default["default"](SM)(templateObject_1$17 || (templateObject_1$17 = __makeTemplateObject(["\n color: ", ";\n margin-bottom: ", "px;\n"], ["\n color: ", ";\n margin-bottom: ", "px;\n"])), function (_a) {
881
+ var ServiceSubtitle = styled__default["default"](SM)(templateObject_1$18 || (templateObject_1$18 = __makeTemplateObject(["\n color: ", ";\n margin-bottom: ", "px;\n"], ["\n color: ", ";\n margin-bottom: ", "px;\n"])), function (_a) {
881
882
  var theme = _a.theme;
882
883
  return theme.palette.grey[500];
883
884
  }, function (_a) {
@@ -929,13 +930,13 @@ var ServiceCard = function (props) {
929
930
  var serviceIcon = props.serviceIcon, serviceTitle = props.serviceTitle, serviceSubtitle = props.serviceSubtitle;
930
931
  return (jsxRuntime.jsxs(StyledCard$1, __assign({}, props, { children: [props.isHoverable && (jsxRuntime.jsxs(HoverBody, { children: [jsxRuntime.jsxs(HoverMetaContainer, { children: [props.hoverTitle && (jsxRuntime.jsx(ServiceTitle, { children: props.hoverTitle })), props.hoverSubtitle && (jsxRuntime.jsx(ServiceSubtitle, { children: props.hoverSubtitle }))] }), props.hoverButtons && (jsxRuntime.jsx(ButtonsWrap$1, { children: props.hoverButtons.map(function (button) { return button; }) }))] })), jsxRuntime.jsxs(CardContent, { children: [jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [serviceIcon && jsxRuntime.jsx(SpecialCard.Thumb, { children: serviceIcon }), jsxRuntime.jsxs(SpecialCard.Header, { children: [jsxRuntime.jsx(SpecialCard.Header.Label, { children: serviceSubtitle }), jsxRuntime.jsx(SpecialCard.Header.Title, { children: serviceTitle })] })] }), props.tags && (jsxRuntime.jsx(SpecialCard.Footer, __assign({ justifyContent: "start", wrap: true }, { children: props.tags.map(function (tag, index) { return (jsxRuntime.jsxs(StyledTag$1, __assign({ size: "large", isPill: true, isRegular: true, hue: theme.palette.grey[100] }, { children: [jsxRuntime.jsx(StyledTag$1.Avatar, { children: tag.icon }), tag.label] }), index)); }) })))] })] })));
931
932
  };
932
- var templateObject_1$17, templateObject_2$s, templateObject_3$h, templateObject_4$e, templateObject_5$6, templateObject_6$2, templateObject_7$1, templateObject_8$1;
933
+ var templateObject_1$18, templateObject_2$s, templateObject_3$h, templateObject_4$e, templateObject_5$6, templateObject_6$2, templateObject_7$1, templateObject_8$1;
933
934
 
934
- var ButtonsWrap = styled__default["default"].div(templateObject_1$16 || (templateObject_1$16 = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: flex-start;\n width: 100%;\n"], ["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: flex-start;\n width: 100%;\n"])));
935
+ var ButtonsWrap = styled__default["default"].div(templateObject_1$17 || (templateObject_1$17 = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: flex-start;\n width: 100%;\n"], ["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: flex-start;\n width: 100%;\n"])));
935
936
  var InfoCard = function (props) {
936
937
  return (jsxRuntime.jsxs(SpecialCard, __assign({}, (props.infoTitle && { title: props.infoTitle }), props, { children: [props.infoImg && (jsxRuntime.jsx(SpecialCard.Thumb, __assign({ isStretched: true }, { children: props.infoImg }))), jsxRuntime.jsxs(SpecialCard.Header, { children: [props.infoSubtitle && (jsxRuntime.jsx(SpecialCard.Header.Label, { children: props.infoSubtitle })), props.infoTitle && (jsxRuntime.jsx(SpecialCard.Header.Title, { children: props.infoTitle }))] }), props.infoButtons && (jsxRuntime.jsx(SpecialCard.Footer, __assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(ButtonsWrap, { children: props.infoButtons.map(function (button) { return button; }) }) })))] })));
937
938
  };
938
- var templateObject_1$16;
939
+ var templateObject_1$17;
939
940
 
940
941
  var DEFAULT_CHARTS_THEME = {
941
942
  background: theme.palette.white,
@@ -1110,50 +1111,55 @@ var CHARTS_COLOR_SCHEME_CATEGORICAL_8_A = [
1110
1111
  chartColors.blue, // Blue 900
1111
1112
  ];
1112
1113
 
1113
- var ChartContainer = styled__default["default"].div(templateObject_1$15 || (templateObject_1$15 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n"], ["\n height: ", ";\n width: ", ";\n"])), function (_a) {
1114
+ var ChartContainer = styled__default["default"].div(templateObject_1$16 || (templateObject_1$16 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n"], ["\n height: ", ";\n width: ", ";\n"])), function (_a) {
1114
1115
  var height = _a.height;
1115
1116
  return height || "300px";
1116
1117
  }, function (_a) {
1117
1118
  var width = _a.width;
1118
1119
  return width || "100%";
1119
1120
  });
1120
- var templateObject_1$15;
1121
+ var templateObject_1$16;
1121
1122
 
1122
1123
  var BarChart = function (_a) {
1123
1124
  var theme = _a.theme, colors = _a.colors, width = _a.width, height = _a.height, props = __rest(_a, ["theme", "colors", "width", "height"]);
1124
1125
  return (jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(bar.ResponsiveBar, __assign({ theme: __assign(__assign({}, DEFAULT_CHARTS_THEME), theme), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_5, enableLabel: false }, props)) })));
1125
1126
  };
1126
1127
 
1127
- var CustomBulletChartMarker = function (_a) {
1128
- var x = _a.x, y = _a.y, bulletRadius = _a.bulletRadius, fill = _a.fill, size = _a.size;
1129
- return (jsxRuntime.jsx("circle", { r: bulletRadius, fill: fill, transform: "translate(".concat(x, ",").concat(y, ") scale(").concat(size, ")") }));
1128
+ var CustomBulletChartMarkers = function (_a) {
1129
+ var x = _a.x, y = _a.y, size = _a.size, _b = _a.animatedProps, color = _b.color, transform = _b.transform, data = _a.data, onMouseEnter = _a.onMouseEnter, onMouseMove = _a.onMouseMove, onMouseLeave = _a.onMouseLeave, onClick = _a.onClick;
1130
+ return (jsxRuntime.jsx(web.animated.circle, { transform: transform, cx: x, cy: y, fill: color, stroke: color, r: size,
1131
+ // @ts-ignore onMouseMove event for circle is not supported, but it works
1132
+ onMouseMove: function (event) { return onMouseMove(data, event); },
1133
+ // @ts-ignore onMouseEnter event for circle is not supported, but it works
1134
+ onMouseEnter: function (event) { return onMouseEnter(data, event); },
1135
+ // @ts-ignore onMouseLeave event for circle is not supported, but it works
1136
+ onMouseLeave: function (event) { return onMouseLeave(data, event); },
1137
+ // @ts-ignore onClick event for circle is not supported, but it works
1138
+ onClick: function (event) { return onClick(data, event); } }));
1130
1139
  };
1131
1140
 
1132
- var CustomBulletChartRange = function (_a) {
1133
- var x = _a.x, y = _a.y, width = _a.width, height = _a.height, fill = _a.fill;
1134
- return (jsxRuntime.jsx("rect", { x: x, y: y, width: width - 2, height: height, fill: fill }));
1141
+ var CustomMeasure = function (_a) {
1142
+ var x = _a.x, y = _a.y, width = _a.width, height = _a.height; _a.color;
1143
+ return (jsxRuntime.jsx("rect", { x: x + 2, y: y + 2, width: width - 4, height: height - 4, fill: chartColors.darkGrey }));
1135
1144
  };
1136
1145
 
1137
- var UgBulletChart = styled__default["default"](bullet.ResponsiveBullet)(templateObject_1$14 || (templateObject_1$14 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
1146
+ var UgBulletChart = styled__default["default"](bullet.ResponsiveBullet)(templateObject_1$15 || (templateObject_1$15 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
1138
1147
  var BulletChart = function (_a) {
1139
- var width = _a.width, height = _a.height, ranges = _a.ranges, values = _a.values, markerColor = _a.markerColor, markerSize = _a.markerSize, rangeColor = _a.rangeColor, measureSize = _a.measureSize, measureColor = _a.measureColor, props = __rest(_a, ["width", "height", "ranges", "values", "markerColor", "markerSize", "rangeColor", "measureSize", "measureColor"]);
1140
- var rangesCount = ranges.length;
1141
- return (jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(UgBulletChart, __assign({ data: [{
1148
+ var width = _a.width, height = _a.height, ranges = _a.ranges, values = _a.values;
1149
+ return (jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height, id: "ciolla" }, { children: jsxRuntime.jsx(UgBulletChart, { theme: DEFAULT_CHARTS_THEME, data: [
1150
+ {
1142
1151
  id: "",
1143
1152
  title: "",
1144
1153
  ranges: ranges,
1145
1154
  measures: values,
1146
1155
  markers: values,
1147
- }], measureColors: measureColor !== null && measureColor !== void 0 ? measureColor : chartColors.darkGrey, measureSize: measureSize !== null && measureSize !== void 0 ? measureSize : 0.2, markerComponent: function (_a) {
1156
+ },
1157
+ ], measureComponent: CustomMeasure, markerColors: chartColors.darkPine, markerComponent: function (_a) {
1148
1158
  _a.size; var markerProps = __rest(_a, ["size"]);
1149
- return (jsxRuntime.jsx(CustomBulletChartMarker, __assign({ bulletRadius: 4, fill: markerColor !== null && markerColor !== void 0 ? markerColor : chartColors.darkPine, size: markerSize !== null && markerSize !== void 0 ? markerSize : 1 }, markerProps)));
1150
- }, rangeComponent: function (_a) {
1151
- var index = _a.index, width = _a.width, rangeProps = __rest(_a, ["index", "width"]);
1152
- var isLast = index === rangesCount - 1;
1153
- return (jsxRuntime.jsx(CustomBulletChartRange, __assign({ fill: rangeColor !== null && rangeColor !== void 0 ? rangeColor : chartColors.lightGrey }, rangeProps, { width: isLast ? width + 2 : width })));
1154
- }, margin: { top: 0, right: 10, bottom: -1, left: 10 } }, props)) })));
1159
+ return (jsxRuntime.jsx(CustomBulletChartMarkers, __assign({}, markerProps, { size: 4 })));
1160
+ }, rangeColors: chartColors.lightGrey, rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 10, bottom: -1, left: 10 } }) })));
1155
1161
  };
1156
- var templateObject_1$14;
1162
+ var templateObject_1$15;
1157
1163
 
1158
1164
  var CenteredItem = function (_a) {
1159
1165
  var centerX = _a.centerX, centerY = _a.centerY, theme = _a.theme, radius = _a.radius, label = _a.label, value = _a.value;
@@ -1184,23 +1190,23 @@ var PieChart = function (_a) {
1184
1190
  : []), true), activeOuterRadiusOffset: 12 }) })) }));
1185
1191
  };
1186
1192
 
1193
+ var AbsoluteChartContainer = styled__default["default"](ChartContainer)(templateObject_1$14 || (templateObject_1$14 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n ", ";\n ", ";\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n ", ";\n ", ";\n"])), function (_a) {
1194
+ var mode = _a.mode;
1195
+ return (mode === "front" ? "z-index: 1;" : "");
1196
+ }, function (_a) {
1197
+ var mode = _a.mode;
1198
+ return (mode === "front" ? "pointer-events: none;" : "");
1199
+ });
1187
1200
  var HalfPieChartComponent = function (_a) {
1188
- var theme = _a.theme, colors = _a.colors, width = _a.width, height = _a.height, data = _a.data, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, mode = _a.mode, showArcLinks = _a.showArcLinks, margin = _a.margin;
1201
+ var theme = _a.theme, colors = _a.colors, height = _a.height, data = _a.data, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, mode = _a.mode, showArcLinks = _a.showArcLinks, margin = _a.margin;
1189
1202
  var themeContext = React.useContext(styled.ThemeContext);
1190
- return (jsxRuntime.jsx("div", __assign({ style: {
1191
- position: "absolute",
1192
- left: "0",
1193
- right: "0",
1194
- top: "0",
1195
- bottom: "0",
1196
- zIndex: mode === "front" ? 1 : undefined,
1197
- pointerEvents: mode === "front" ? "none" : undefined,
1198
- } }, { children: jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(pie.ResponsivePie, { theme: __assign(__assign(__assign({}, DEFAULT_CHARTS_THEME), theme), { background: mode === "front" ? "transparent" : undefined }), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, enableArcLabels: false, arcLinkLabelsColor: { from: "color" }, padAngle: 2, data: data, margin: margin, innerRadius: mode === "front" ? 0.835 : 0.8, arcLinkLabelsThickness: 2, arcLinkLabelsTextColor: themeContext.palette.grey[600], layers: __spreadArray([
1199
- "arcs"
1200
- ], (showArcLinks
1201
- ? ["arcLabels", "arcLinkLabels"]
1202
- : []), true), startAngle: -90, endAngle: 90, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, animate: false }) })) })));
1203
- };
1203
+ return (jsxRuntime.jsx(AbsoluteChartContainer, __assign({ mode: mode, height: height }, { children: jsxRuntime.jsx(pie.ResponsivePie, { theme: __assign(__assign(__assign({}, DEFAULT_CHARTS_THEME), theme), { background: mode === "front" ? "transparent" : undefined }), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, enableArcLabels: false, arcLinkLabelsColor: { from: "color" }, padAngle: 2, data: data, margin: margin, innerRadius: mode === "front" ? 0.835 : 0.8, arcLinkLabelsThickness: 2, arcLinkLabelsTextColor: themeContext.palette.grey[600], layers: __spreadArray([
1204
+ "arcs"
1205
+ ], (showArcLinks
1206
+ ? ["arcLabels", "arcLinkLabels"]
1207
+ : []), true), startAngle: -90, endAngle: 90, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, animate: false }) })));
1208
+ };
1209
+ var templateObject_1$14;
1204
1210
 
1205
1211
  var HalfPieChart = function (_a) {
1206
1212
  var theme = _a.theme, colors = _a.colors, width = _a.width, height = _a.height, data = _a.data, margin = _a.margin, showArcLinks = _a.showArcLinks;
@@ -1216,11 +1222,11 @@ var HalfPieChart = function (_a) {
1216
1222
  return newColors;
1217
1223
  };
1218
1224
  var _b = React.useState(grayOutColors(0)), currentColors = _b[0], setCurrentColors = _b[1];
1219
- return (jsxRuntime.jsxs("div", __assign({ style: { width: width, height: height, position: "relative" } }, { children: [jsxRuntime.jsx(HalfPieChartComponent, { theme: theme, colors: currentColors, width: "100%", height: height, data: data, onMouseEnter: function (data) {
1225
+ return (jsxRuntime.jsxs("div", __assign({ style: { width: width, height: height, position: "relative" } }, { children: [jsxRuntime.jsx(HalfPieChartComponent, { theme: theme, colors: currentColors, height: height, data: data, onMouseEnter: function (data) {
1220
1226
  setCurrentColors(grayOutColors(data.arc.index));
1221
1227
  }, onMouseLeave: function () {
1222
1228
  setCurrentColors(grayOutColors(0));
1223
- }, showArcLinks: showArcLinks, margin: margin, mode: "front" }), jsxRuntime.jsx(HalfPieChartComponent, { theme: theme, colors: activeColors, width: width, height: height, data: data, margin: margin, showArcLinks: showArcLinks, onMouseEnter: function (data) {
1229
+ }, showArcLinks: showArcLinks, margin: margin, mode: "front" }), jsxRuntime.jsx(HalfPieChartComponent, { theme: theme, colors: activeColors, height: height, data: data, margin: margin, showArcLinks: showArcLinks, onMouseEnter: function (data) {
1224
1230
  setCurrentColors(grayOutColors(data.arc.index));
1225
1231
  }, onMouseLeave: function () {
1226
1232
  setCurrentColors(grayOutColors(0));
@@ -1,6 +1,5 @@
1
- interface ChartContainerProps {
1
+ export interface ChartContainerProps {
2
2
  width?: string;
3
3
  height?: string;
4
4
  }
5
5
  export declare const ChartContainer: import("styled-components").StyledComponent<"div", any, ChartContainerProps, never>;
6
- export {};
@@ -1,9 +1,2 @@
1
- interface CustomBulletChartMarkerProps {
2
- x: number;
3
- y: number;
4
- bulletRadius: number;
5
- fill: string;
6
- size: number;
7
- }
8
- export declare const CustomBulletChartMarker: ({ x, y, bulletRadius, fill, size, }: CustomBulletChartMarkerProps) => JSX.Element;
9
- export {};
1
+ import { BulletMarkersItemProps } from "@nivo/bullet";
2
+ export declare const CustomBulletChartMarkers: ({ x, y, size, animatedProps: { color, transform }, data, onMouseEnter, onMouseMove, onMouseLeave, onClick, }: BulletMarkersItemProps) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface CustomBulletChartMeasureProps {
2
+ x: number;
3
+ y: number;
4
+ color: string;
5
+ width: number;
6
+ height: number;
7
+ }
8
+ export declare const CustomMeasure: ({ x, y, width, height, color }: CustomBulletChartMeasureProps) => JSX.Element;
@@ -3,9 +3,4 @@ export interface BulletChartProps {
3
3
  values: number[];
4
4
  width?: string;
5
5
  height?: string;
6
- markerColor?: string;
7
- markerSize?: number;
8
- rangeColor?: string;
9
- measureSize?: number;
10
- measureColor?: string;
11
6
  }
@@ -1,3 +1,3 @@
1
1
  import { BulletChartProps } from "./_types";
2
- declare const BulletChart: ({ width, height, ranges, values, markerColor, markerSize, rangeColor, measureSize, measureColor, ...props }: BulletChartProps) => JSX.Element;
2
+ declare const BulletChart: ({ width, height, ranges, values }: BulletChartProps) => JSX.Element;
3
3
  export { BulletChart };
@@ -2,5 +2,5 @@ import { ComponentMeta, Story } from "@storybook/react";
2
2
  import { BulletChartProps } from "./_types";
3
3
  export declare const Default: Story<BulletChartProps>;
4
4
  export declare const Widget: Story<BulletChartProps>;
5
- declare const _default: ComponentMeta<({ width, height, ranges, values, markerColor, markerSize, rangeColor, measureSize, measureColor, ...props }: BulletChartProps) => JSX.Element>;
5
+ declare const _default: ComponentMeta<({ width, height, ranges, values }: BulletChartProps) => JSX.Element>;
6
6
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { PieChartProps } from "./_types";
2
- declare const HalfPieChartComponent: ({ theme, colors, width, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }: PieChartProps & {
2
+ declare const HalfPieChartComponent: ({ theme, colors, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }: PieChartProps & {
3
3
  onMouseEnter?: ((props: any) => void) | undefined;
4
4
  onMouseLeave?: ((props: any) => void) | undefined;
5
5
  mode: "back" | "front";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.12.29",
3
+ "version": "2.12.31",
4
4
  "dependencies": {
5
5
  "@nivo/bar": "^0.80.0",
6
6
  "@nivo/bullet": "^0.80.0",
@@ -1,8 +0,0 @@
1
- export interface CustomBulletChartRangeProps {
2
- x: number;
3
- y: number;
4
- width: number;
5
- height: number;
6
- fill: string;
7
- }
8
- export declare const CustomBulletChartRange: ({ x, y, width, height, fill }: CustomBulletChartRangeProps) => JSX.Element;