@appquality/unguess-design-system 2.12.16 → 2.12.18
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/.github/workflows/release.yml +2 -2
- package/CHANGELOG.md +41 -0
- package/build/index.d.ts +7 -0
- package/build/index.js +366 -97
- package/build/stories/charts/ChartContainer.d.ts +6 -0
- package/build/stories/charts/bar/_types.d.ts +6 -0
- package/build/stories/charts/bar/index.d.ts +3 -0
- package/build/stories/charts/bar/index.stories.d.ts +5 -0
- package/build/stories/charts/bullet/CustomBulletChartMarker.d.ts +9 -0
- package/build/stories/charts/bullet/CustomBulletChartRange.d.ts +8 -0
- package/build/stories/charts/bullet/_types.d.ts +19 -0
- package/build/stories/charts/bullet/index.d.ts +3 -0
- package/build/stories/charts/bullet/index.stories.d.ts +6 -0
- package/build/stories/charts/halfPie/HalfPieChartComponent.d.ts +7 -0
- package/build/stories/charts/halfPie/_types.d.ts +14 -0
- package/build/stories/charts/halfPie/index.d.ts +3 -0
- package/build/stories/charts/halfPie/index.stories.d.ts +5 -0
- package/build/stories/charts/pie/CenteredItem.d.ts +10 -0
- package/build/stories/charts/pie/_types.d.ts +17 -0
- package/build/stories/charts/pie/index.d.ts +3 -0
- package/build/stories/charts/pie/index.stories.d.ts +5 -0
- package/build/stories/charts/stream/_types.d.ts +6 -0
- package/build/stories/charts/stream/index.d.ts +3 -0
- package/build/stories/charts/stream/index.stories.d.ts +5 -0
- package/build/stories/charts/sunburst/_types.d.ts +12 -0
- package/build/stories/charts/sunburst/index.d.ts +3 -0
- package/build/stories/charts/sunburst/index.stories.d.ts +5 -0
- package/build/stories/charts/waffle/CustomCell.d.ts +16 -0
- package/build/stories/charts/waffle/_types.d.ts +6 -0
- package/build/stories/charts/waffle/index.d.ts +3 -0
- package/build/stories/charts/waffle/index.stories.d.ts +5 -0
- package/build/stories/drawers/index.d.ts +1 -1
- package/build/stories/drawers/index.stories.d.ts +1 -1
- package/build/stories/theme/charts.d.ts +24 -0
- package/build/stories/tooltip/_types.d.ts +3 -0
- package/build/stories/tooltip/index.d.ts +13 -0
- package/build/stories/tooltip/index.stories.d.ts +5 -0
- package/build/stories/tooltip-modal/index.d.ts +1 -1
- package/build/stories/tooltip-modal/index.stories.d.ts +1 -1
- package/package.json +11 -2
package/build/index.js
CHANGED
|
@@ -16,6 +16,12 @@ var reactButtons = require('@zendeskgarden/react-buttons');
|
|
|
16
16
|
var reactTags = require('@zendeskgarden/react-tags');
|
|
17
17
|
var reactLoaders = require('@zendeskgarden/react-loaders');
|
|
18
18
|
var reactTypography = require('@zendeskgarden/react-typography');
|
|
19
|
+
var bar = require('@nivo/bar');
|
|
20
|
+
var bullet = require('@nivo/bullet');
|
|
21
|
+
var pie = require('@nivo/pie');
|
|
22
|
+
var stream = require('@nivo/stream');
|
|
23
|
+
var sunburst = require('@nivo/sunburst');
|
|
24
|
+
var waffle = require('@nivo/waffle');
|
|
19
25
|
var reactModals = require('@zendeskgarden/react-modals');
|
|
20
26
|
var reactDropdowns = require('@zendeskgarden/react-dropdowns');
|
|
21
27
|
var react = require('@tiptap/react');
|
|
@@ -97,6 +103,16 @@ function __rest(s, e) {
|
|
|
97
103
|
return t;
|
|
98
104
|
}
|
|
99
105
|
|
|
106
|
+
function __spreadArray(to, from, pack) {
|
|
107
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
108
|
+
if (ar || !(i in from)) {
|
|
109
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
110
|
+
ar[i] = from[i];
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
114
|
+
}
|
|
115
|
+
|
|
100
116
|
function __makeTemplateObject(cooked, raw) {
|
|
101
117
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
102
118
|
return cooked;
|
|
@@ -248,10 +264,10 @@ var isMac = function () {
|
|
|
248
264
|
var os = parser.getOS().name;
|
|
249
265
|
return os && /Mac OS|iOS/.test(os);
|
|
250
266
|
};
|
|
251
|
-
styled.css(templateObject_1$
|
|
267
|
+
styled.css(templateObject_1$1k || (templateObject_1$1k = __makeTemplateObject(["\n transition: opacity 0.2s ease;\n"], ["\n transition: opacity 0.2s ease;\n"])));
|
|
252
268
|
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"])));
|
|
253
269
|
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"])));
|
|
254
|
-
var templateObject_1$
|
|
270
|
+
var templateObject_1$1k, templateObject_2$y, templateObject_3$l;
|
|
255
271
|
|
|
256
272
|
var gradients = {
|
|
257
273
|
horizontal: "linear-gradient(90.81deg, ".concat(hex2rgba(palette.blue[600]), " 11.98%, ").concat(hex2rgba(palette.kale[400]), " 100%);"),
|
|
@@ -268,8 +284,8 @@ var components = __assign(__assign({}, reactTheming.DEFAULT_THEME.components), {
|
|
|
268
284
|
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
|
|
269
285
|
}), components: components, shadows: __assign(__assign({}, reactTheming.DEFAULT_THEME.shadows), { boxShadow: boxShadow }) });
|
|
270
286
|
|
|
271
|
-
var GlobalStyle = styled.createGlobalStyle(templateObject_1$
|
|
272
|
-
var templateObject_1$
|
|
287
|
+
var GlobalStyle = styled.createGlobalStyle(templateObject_1$1j || (templateObject_1$1j = __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);
|
|
288
|
+
var templateObject_1$1j;
|
|
273
289
|
|
|
274
290
|
/**
|
|
275
291
|
* Accordions are headers that can be expanded to reveal content or collapsed to hide it.
|
|
@@ -285,7 +301,7 @@ Accordion.Header = reactAccordions.Accordion.Header;
|
|
|
285
301
|
Accordion.Label = reactAccordions.Accordion.Label;
|
|
286
302
|
Accordion.Panel = reactAccordions.Accordion.Panel;
|
|
287
303
|
|
|
288
|
-
var UgAlert = styled__default["default"](reactNotifications.Alert)(templateObject_1$
|
|
304
|
+
var UgAlert = styled__default["default"](reactNotifications.Alert)(templateObject_1$1i || (templateObject_1$1i = __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) {
|
|
289
305
|
var theme = _a.theme;
|
|
290
306
|
return theme.palette.grey[700];
|
|
291
307
|
}, function (_a) {
|
|
@@ -306,9 +322,9 @@ var UgAlertTitle = styled__default["default"](reactNotifications.Title)(template
|
|
|
306
322
|
var Alert = function (props) { return jsxRuntime.jsx(UgAlert, __assign({}, props)); };
|
|
307
323
|
Alert.Title = UgAlertTitle;
|
|
308
324
|
Alert.Close = reactNotifications.Close;
|
|
309
|
-
var templateObject_1$
|
|
325
|
+
var templateObject_1$1i, templateObject_2$x;
|
|
310
326
|
|
|
311
|
-
var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$
|
|
327
|
+
var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$1h || (templateObject_1$1h = __makeTemplateObject(["\n text-transform: uppercase;\n\n ", "\n"], ["\n text-transform: uppercase;\n\n ", "\n"])), function (props) {
|
|
312
328
|
return props.avatarType &&
|
|
313
329
|
props.avatarType !== "image" &&
|
|
314
330
|
"background: ".concat(props.backgroundColor || theme.gradients.dark, ";");
|
|
@@ -332,7 +348,7 @@ var Avatar = function (props) {
|
|
|
332
348
|
return (jsxRuntime.jsx(UgAvatar, __assign({}, props, { badge: fixedBadge, children: wrapChildren(props.avatarType || "text"), size: props.size || "small" })));
|
|
333
349
|
};
|
|
334
350
|
Avatar.Text = UgAvatar.Text;
|
|
335
|
-
var templateObject_1$
|
|
351
|
+
var templateObject_1$1h;
|
|
336
352
|
|
|
337
353
|
/**
|
|
338
354
|
* Breadcrumbs mark and communicate a user’s location in the product.
|
|
@@ -363,7 +379,7 @@ var getThemeStyle = function (props) {
|
|
|
363
379
|
}
|
|
364
380
|
return theme;
|
|
365
381
|
};
|
|
366
|
-
var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$
|
|
382
|
+
var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$1g || (templateObject_1$1g = __makeTemplateObject([""], [""])));
|
|
367
383
|
/**
|
|
368
384
|
* Buttons let users take action quickly.
|
|
369
385
|
* Use a Button to enable actions or decisions that are important to a user’s workflow.
|
|
@@ -382,7 +398,7 @@ var ButtonComponent = React.forwardRef(function (props, ref) {
|
|
|
382
398
|
var Button = ButtonComponent;
|
|
383
399
|
Button.StartIcon = UgButton.StartIcon;
|
|
384
400
|
Button.EndIcon = UgButton.EndIcon;
|
|
385
|
-
var templateObject_1$
|
|
401
|
+
var templateObject_1$1g;
|
|
386
402
|
|
|
387
403
|
/**
|
|
388
404
|
A Button group lets users make a selection from a set of options.
|
|
@@ -412,7 +428,7 @@ Used for this:
|
|
|
412
428
|
**/
|
|
413
429
|
var SplitButton = React.forwardRef(function (props, ref) { return jsxRuntime.jsx(reactButtons.SplitButton, __assign({ ref: ref }, props)); });
|
|
414
430
|
|
|
415
|
-
var UgCard = styled__default["default"](reactNotifications.Well)(templateObject_1$
|
|
431
|
+
var UgCard = styled__default["default"](reactNotifications.Well)(templateObject_1$1f || (templateObject_1$1f = __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) {
|
|
416
432
|
var theme = _a.theme;
|
|
417
433
|
return theme.borderRadii.lg;
|
|
418
434
|
}, function (_a) {
|
|
@@ -450,7 +466,7 @@ var UgContainerCard = styled__default["default"](reactNotifications.Well)(templa
|
|
|
450
466
|
return "".concat(theme.space.xl, " ").concat(theme.space.md);
|
|
451
467
|
});
|
|
452
468
|
var ContainerCard = function (props) { return jsxRuntime.jsx(UgContainerCard, __assign({}, props)); };
|
|
453
|
-
var templateObject_1$
|
|
469
|
+
var templateObject_1$1f, templateObject_2$w;
|
|
454
470
|
|
|
455
471
|
/**
|
|
456
472
|
* Tags let users categorize content using a keyword.
|
|
@@ -468,9 +484,7 @@ Tag.Avatar = reactTags.Tag.Avatar;
|
|
|
468
484
|
Tag.Close = reactTags.Tag.Close;
|
|
469
485
|
|
|
470
486
|
var _g$6, _path$q;
|
|
471
|
-
|
|
472
487
|
function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$w.apply(this, arguments); }
|
|
473
|
-
|
|
474
488
|
var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
|
|
475
489
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
476
490
|
width: 24,
|
|
@@ -491,9 +505,7 @@ var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
|
|
|
491
505
|
};
|
|
492
506
|
|
|
493
507
|
var _g$5, _path$p, _path2$4, _path3$3, _path4$2, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1, _path11$1;
|
|
494
|
-
|
|
495
508
|
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
496
|
-
|
|
497
509
|
var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
|
|
498
510
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
499
511
|
width: 25,
|
|
@@ -564,9 +576,7 @@ var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
|
|
|
564
576
|
};
|
|
565
577
|
|
|
566
578
|
var _path$o, _path2$3, _path3$2, _path4$1;
|
|
567
|
-
|
|
568
579
|
function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$u.apply(this, arguments); }
|
|
569
|
-
|
|
570
580
|
var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
|
|
571
581
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
572
582
|
width: 24,
|
|
@@ -590,9 +600,7 @@ var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
|
|
|
590
600
|
};
|
|
591
601
|
|
|
592
602
|
var _path$n, _path2$2, _path3$1, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
|
|
593
|
-
|
|
594
603
|
function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
|
|
595
|
-
|
|
596
604
|
var SvgCampaignProgress = function SvgCampaignProgress(props) {
|
|
597
605
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
598
606
|
width: 24,
|
|
@@ -637,9 +645,7 @@ var SvgCampaignProgress = function SvgCampaignProgress(props) {
|
|
|
637
645
|
};
|
|
638
646
|
|
|
639
647
|
var _path$m, _path2$1, _path3;
|
|
640
|
-
|
|
641
648
|
function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$s.apply(this, arguments); }
|
|
642
|
-
|
|
643
649
|
var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
|
|
644
650
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
645
651
|
width: 24,
|
|
@@ -665,7 +671,7 @@ var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
|
|
|
665
671
|
})));
|
|
666
672
|
};
|
|
667
673
|
|
|
668
|
-
var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$
|
|
674
|
+
var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$1e || (templateObject_1$1e = __makeTemplateObject(["\n border-radius: ", ";\n ", "\n"], ["\n border-radius: ", ";\n ", "\n"])), function (props) { return props.theme.borderRadii.xxl; }, function (props) {
|
|
669
675
|
return props.isLight ?
|
|
670
676
|
"\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 ");
|
|
671
677
|
});
|
|
@@ -683,22 +689,22 @@ var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObjec
|
|
|
683
689
|
- To communicate a typing status, use Inline instead
|
|
684
690
|
*/
|
|
685
691
|
var Skeleton = function (props) { return jsxRuntime.jsx(UgSkeleton, __assign({}, props)); };
|
|
686
|
-
var templateObject_1$
|
|
692
|
+
var templateObject_1$1e;
|
|
687
693
|
|
|
688
|
-
var CardMeta = styled__default["default"].div(templateObject_1$
|
|
694
|
+
var CardMeta = styled__default["default"].div(templateObject_1$1d || (templateObject_1$1d = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
689
695
|
var theme = _a.theme, direction = _a.direction, justifyContent = _a.justifyContent;
|
|
690
696
|
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 ");
|
|
691
697
|
});
|
|
692
|
-
var templateObject_1$
|
|
698
|
+
var templateObject_1$1d;
|
|
693
699
|
|
|
694
|
-
var CardThumbnail = styled__default["default"].div(templateObject_1$
|
|
700
|
+
var CardThumbnail = styled__default["default"].div(templateObject_1$1c || (templateObject_1$1c = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
695
701
|
var theme = _a.theme, align = _a.align, isStretched = _a.isStretched;
|
|
696
702
|
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 ");
|
|
697
703
|
});
|
|
698
704
|
CardThumbnail.defaultProps = {
|
|
699
705
|
align: "left"
|
|
700
706
|
};
|
|
701
|
-
var templateObject_1$
|
|
707
|
+
var templateObject_1$1c;
|
|
702
708
|
|
|
703
709
|
/**
|
|
704
710
|
* Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
|
|
@@ -710,7 +716,7 @@ var XL = function (props) { return jsxRuntime.jsx(reactTypography.XL, __assign({
|
|
|
710
716
|
var XXL = function (props) { return jsxRuntime.jsx(reactTypography.XXL, __assign({}, props)); };
|
|
711
717
|
var XXXL = function (props) { return jsxRuntime.jsx(reactTypography.XXXL, __assign({}, props)); };
|
|
712
718
|
|
|
713
|
-
var Label$2 = styled__default["default"](SM)(templateObject_1$
|
|
719
|
+
var Label$2 = styled__default["default"](SM)(templateObject_1$1b || (templateObject_1$1b = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
714
720
|
var theme = _a.theme;
|
|
715
721
|
return theme.palette.grey[500];
|
|
716
722
|
});
|
|
@@ -739,9 +745,9 @@ var CardHeader = function (props) { return jsxRuntime.jsx(Container$2, __assign(
|
|
|
739
745
|
CardHeader.Label = Label$2;
|
|
740
746
|
CardHeader.Title = Title$2;
|
|
741
747
|
CardHeader.Text = Description$2;
|
|
742
|
-
var templateObject_1$
|
|
748
|
+
var templateObject_1$1b, templateObject_2$v, templateObject_3$k, templateObject_4$f;
|
|
743
749
|
|
|
744
|
-
var Divider = styled__default["default"].div(templateObject_1$
|
|
750
|
+
var Divider = styled__default["default"].div(templateObject_1$1a || (templateObject_1$1a = __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) {
|
|
745
751
|
var theme = _a.theme;
|
|
746
752
|
return theme.space.base * 3;
|
|
747
753
|
}, function (_a) {
|
|
@@ -757,9 +763,9 @@ var Container$1 = styled__default["default"].div(templateObject_3$j || (template
|
|
|
757
763
|
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 ");
|
|
758
764
|
});
|
|
759
765
|
var CardFooter = function (props) { return (jsxRuntime.jsxs(Footer$2, { children: [!props.noDivider && jsxRuntime.jsx(Divider, {}), jsxRuntime.jsx(Container$1, __assign({}, props, { children: props.children }))] })); };
|
|
760
|
-
var templateObject_1$
|
|
766
|
+
var templateObject_1$1a, templateObject_2$u, templateObject_3$j;
|
|
761
767
|
|
|
762
|
-
var UgContentCard = styled__default["default"](reactNotifications.Well)(templateObject_1$
|
|
768
|
+
var UgContentCard = styled__default["default"](reactNotifications.Well)(templateObject_1$19 || (templateObject_1$19 = __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) {
|
|
763
769
|
var theme = _a.theme;
|
|
764
770
|
return theme.borderRadii.lg;
|
|
765
771
|
}, function (_a) {
|
|
@@ -789,7 +795,7 @@ SpecialCard.Meta = CardMeta;
|
|
|
789
795
|
SpecialCard.Thumb = CardThumbnail;
|
|
790
796
|
SpecialCard.Header = CardHeader;
|
|
791
797
|
SpecialCard.Footer = CardFooter;
|
|
792
|
-
var templateObject_1$
|
|
798
|
+
var templateObject_1$19;
|
|
793
799
|
|
|
794
800
|
var CampaignCardSkeleton = function () {
|
|
795
801
|
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%" } })] })] }));
|
|
@@ -822,7 +828,7 @@ var getTypeDataIcon = function (type) {
|
|
|
822
828
|
return SvgCampaignFunctional;
|
|
823
829
|
}
|
|
824
830
|
};
|
|
825
|
-
var StyledTag$2 = styled__default["default"](Tag)(templateObject_1$
|
|
831
|
+
var StyledTag$2 = styled__default["default"](Tag)(templateObject_1$18 || (templateObject_1$18 = __makeTemplateObject(["\n color: ", ";\n cursor: pointer;\n"], ["\n color: ", ";\n cursor: pointer;\n"])), function (_a) {
|
|
826
832
|
var theme = _a.theme;
|
|
827
833
|
return theme.palette.grey["700"];
|
|
828
834
|
});
|
|
@@ -849,9 +855,9 @@ var CampaignCard = function (_a) {
|
|
|
849
855
|
var PillIcon = getTypeDataIcon(type);
|
|
850
856
|
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, {})] })] })));
|
|
851
857
|
};
|
|
852
|
-
var templateObject_1$
|
|
858
|
+
var templateObject_1$18, templateObject_2$t, templateObject_3$i;
|
|
853
859
|
|
|
854
|
-
var StyledTagNew = styled__default["default"](Tag)(templateObject_1$
|
|
860
|
+
var StyledTagNew = styled__default["default"](Tag)(templateObject_1$17 || (templateObject_1$17 = __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) {
|
|
855
861
|
var theme = _a.theme;
|
|
856
862
|
return theme.space.base * 6;
|
|
857
863
|
}, function (_a) {
|
|
@@ -868,9 +874,9 @@ var ProductCard = function (props) {
|
|
|
868
874
|
var isNew = props.isNew, productTitle = props.productTitle, labelNew = props.labelNew;
|
|
869
875
|
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 })) }))] })));
|
|
870
876
|
};
|
|
871
|
-
var templateObject_1$
|
|
877
|
+
var templateObject_1$17;
|
|
872
878
|
|
|
873
|
-
var ServiceSubtitle = styled__default["default"](SM)(templateObject_1$
|
|
879
|
+
var ServiceSubtitle = styled__default["default"](SM)(templateObject_1$16 || (templateObject_1$16 = __makeTemplateObject(["\n color: ", ";\n margin-bottom: ", "px;\n"], ["\n color: ", ";\n margin-bottom: ", "px;\n"])), function (_a) {
|
|
874
880
|
var theme = _a.theme;
|
|
875
881
|
return theme.palette.grey[500];
|
|
876
882
|
}, function (_a) {
|
|
@@ -922,14 +928,325 @@ var ServiceCard = function (props) {
|
|
|
922
928
|
var serviceIcon = props.serviceIcon, serviceTitle = props.serviceTitle, serviceSubtitle = props.serviceSubtitle;
|
|
923
929
|
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)); }) })))] })] })));
|
|
924
930
|
};
|
|
925
|
-
var templateObject_1$
|
|
931
|
+
var templateObject_1$16, templateObject_2$s, templateObject_3$h, templateObject_4$e, templateObject_5$6, templateObject_6$2, templateObject_7$1, templateObject_8$1;
|
|
926
932
|
|
|
927
|
-
var ButtonsWrap = styled__default["default"].div(templateObject_1$
|
|
933
|
+
var ButtonsWrap = styled__default["default"].div(templateObject_1$15 || (templateObject_1$15 = __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"])));
|
|
928
934
|
var InfoCard = function (props) {
|
|
929
935
|
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; }) }) })))] })));
|
|
930
936
|
};
|
|
937
|
+
var templateObject_1$15;
|
|
938
|
+
|
|
939
|
+
var DEFAULT_CHARTS_THEME = {
|
|
940
|
+
background: theme.palette.white,
|
|
941
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
942
|
+
fontFamily: theme.fonts.system,
|
|
943
|
+
textColor: theme.palette.grey[600],
|
|
944
|
+
annotations: {
|
|
945
|
+
text: {
|
|
946
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
947
|
+
fill: theme.colors.primaryHue,
|
|
948
|
+
outlineWidth: 2,
|
|
949
|
+
outlineColor: theme.palette.white,
|
|
950
|
+
outlineOpacity: 1,
|
|
951
|
+
},
|
|
952
|
+
link: {
|
|
953
|
+
stroke: theme.colors.primaryHue,
|
|
954
|
+
strokeWidth: 1,
|
|
955
|
+
outlineWidth: 2,
|
|
956
|
+
outlineColor: theme.palette.white,
|
|
957
|
+
outlineOpacity: 1,
|
|
958
|
+
},
|
|
959
|
+
outline: {
|
|
960
|
+
stroke: theme.colors.primaryHue,
|
|
961
|
+
strokeWidth: 2,
|
|
962
|
+
outlineWidth: 2,
|
|
963
|
+
outlineColor: theme.palette.white,
|
|
964
|
+
outlineOpacity: 1,
|
|
965
|
+
},
|
|
966
|
+
symbol: {
|
|
967
|
+
fill: theme.colors.primaryHue,
|
|
968
|
+
outlineWidth: 2,
|
|
969
|
+
outlineColor: theme.palette.white,
|
|
970
|
+
outlineOpacity: 1,
|
|
971
|
+
},
|
|
972
|
+
},
|
|
973
|
+
axis: {
|
|
974
|
+
domain: {
|
|
975
|
+
line: {
|
|
976
|
+
stroke: theme.palette.grey[600],
|
|
977
|
+
strokeWidth: 2,
|
|
978
|
+
},
|
|
979
|
+
},
|
|
980
|
+
legend: {
|
|
981
|
+
text: {
|
|
982
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
983
|
+
fill: theme.palette.grey[600],
|
|
984
|
+
},
|
|
985
|
+
},
|
|
986
|
+
ticks: {
|
|
987
|
+
line: {
|
|
988
|
+
stroke: theme.palette.grey[600],
|
|
989
|
+
strokeWidth: 3,
|
|
990
|
+
},
|
|
991
|
+
text: {
|
|
992
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
993
|
+
fill: theme.palette.grey[600],
|
|
994
|
+
},
|
|
995
|
+
},
|
|
996
|
+
},
|
|
997
|
+
crosshair: {
|
|
998
|
+
line: {
|
|
999
|
+
stroke: theme.palette.grey[600],
|
|
1000
|
+
strokeWidth: 1,
|
|
1001
|
+
strokeOpacity: 0.75,
|
|
1002
|
+
strokeDasharray: "6 6",
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
1005
|
+
dots: {
|
|
1006
|
+
text: {
|
|
1007
|
+
fill: theme.palette.grey[600],
|
|
1008
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
1009
|
+
fontFamily: theme.fonts.system,
|
|
1010
|
+
},
|
|
1011
|
+
},
|
|
1012
|
+
grid: {
|
|
1013
|
+
line: {
|
|
1014
|
+
stroke: theme.palette.grey[600],
|
|
1015
|
+
strokeWidth: .5,
|
|
1016
|
+
},
|
|
1017
|
+
},
|
|
1018
|
+
labels: {
|
|
1019
|
+
text: {
|
|
1020
|
+
fill: theme.palette.grey[600],
|
|
1021
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
1022
|
+
fontFamily: theme.fonts.system,
|
|
1023
|
+
},
|
|
1024
|
+
},
|
|
1025
|
+
legends: {
|
|
1026
|
+
hidden: {
|
|
1027
|
+
symbol: {
|
|
1028
|
+
fill: theme.palette.grey[600],
|
|
1029
|
+
opacity: 0.5,
|
|
1030
|
+
},
|
|
1031
|
+
text: {
|
|
1032
|
+
opacity: 1,
|
|
1033
|
+
},
|
|
1034
|
+
},
|
|
1035
|
+
title: {
|
|
1036
|
+
text: {
|
|
1037
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
1038
|
+
fill: theme.palette.grey[600],
|
|
1039
|
+
},
|
|
1040
|
+
},
|
|
1041
|
+
text: {
|
|
1042
|
+
fontWeight: theme.fontWeights.bold,
|
|
1043
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
1044
|
+
fill: theme.palette.grey[600],
|
|
1045
|
+
},
|
|
1046
|
+
ticks: {
|
|
1047
|
+
line: {},
|
|
1048
|
+
text: {
|
|
1049
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
1050
|
+
fill: theme.palette.grey[600],
|
|
1051
|
+
},
|
|
1052
|
+
},
|
|
1053
|
+
},
|
|
1054
|
+
markers: {
|
|
1055
|
+
lineColor: theme.palette.grey[600],
|
|
1056
|
+
lineStrokeWidth: 1,
|
|
1057
|
+
textColor: theme.palette.grey[600],
|
|
1058
|
+
fontSize: theme.fontSizes.sm,
|
|
1059
|
+
text: {
|
|
1060
|
+
fontFamily: theme.fonts.system,
|
|
1061
|
+
},
|
|
1062
|
+
},
|
|
1063
|
+
tooltip: {
|
|
1064
|
+
container: {
|
|
1065
|
+
background: theme.palette.white,
|
|
1066
|
+
color: theme.colors.primaryHue,
|
|
1067
|
+
fontSize: Number(theme.fontSizes.sm),
|
|
1068
|
+
},
|
|
1069
|
+
basic: {},
|
|
1070
|
+
chip: {},
|
|
1071
|
+
table: {},
|
|
1072
|
+
tableCell: {},
|
|
1073
|
+
tableCellValue: {},
|
|
1074
|
+
},
|
|
1075
|
+
};
|
|
1076
|
+
var chartColors = {
|
|
1077
|
+
darkPine: "#02807A",
|
|
1078
|
+
lightGrey: theme.palette.grey[200],
|
|
1079
|
+
darkGrey: theme.palette.grey[600],
|
|
1080
|
+
mattone: "#800208",
|
|
1081
|
+
gubbioLight: "#C78430",
|
|
1082
|
+
blueRoyal: "#024780",
|
|
1083
|
+
greenLight: "#5FA41C",
|
|
1084
|
+
blue: "#020880",
|
|
1085
|
+
fucsia: "#CE2A7A",
|
|
1086
|
+
violet: "#573ECF",
|
|
1087
|
+
orchidea: "#B75CAD",
|
|
1088
|
+
sky: "#3392CE",
|
|
1089
|
+
};
|
|
1090
|
+
var CHARTS_COLOR_SCHEME_CATEGORICAL_5 = [
|
|
1091
|
+
chartColors.greenLight,
|
|
1092
|
+
chartColors.blue,
|
|
1093
|
+
chartColors.fucsia,
|
|
1094
|
+
chartColors.violet,
|
|
1095
|
+
chartColors.orchidea, // Orchidea 300
|
|
1096
|
+
];
|
|
1097
|
+
var CHARTS_COLOR_SCHEME_CATEGORICAL_8_A = [
|
|
1098
|
+
chartColors.darkPine,
|
|
1099
|
+
chartColors.fucsia,
|
|
1100
|
+
chartColors.violet,
|
|
1101
|
+
chartColors.greenLight,
|
|
1102
|
+
chartColors.mattone,
|
|
1103
|
+
chartColors.sky,
|
|
1104
|
+
chartColors.orchidea,
|
|
1105
|
+
chartColors.blue, // Blue 900
|
|
1106
|
+
];
|
|
1107
|
+
|
|
1108
|
+
var ChartContainer = styled__default["default"].div(templateObject_1$14 || (templateObject_1$14 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n"], ["\n height: ", ";\n width: ", ";\n"])), function (_a) {
|
|
1109
|
+
var height = _a.height;
|
|
1110
|
+
return height || "300px";
|
|
1111
|
+
}, function (_a) {
|
|
1112
|
+
var width = _a.width;
|
|
1113
|
+
return width || "100%";
|
|
1114
|
+
});
|
|
931
1115
|
var templateObject_1$14;
|
|
932
1116
|
|
|
1117
|
+
var BarChart = function (_a) {
|
|
1118
|
+
var theme = _a.theme, colors = _a.colors, width = _a.width, height = _a.height, props = __rest(_a, ["theme", "colors", "width", "height"]);
|
|
1119
|
+
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)) })));
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
var CustomBulletChartMarker = function (_a) {
|
|
1123
|
+
var x = _a.x, y = _a.y, bulletRadius = _a.bulletRadius, fill = _a.fill, size = _a.size;
|
|
1124
|
+
return (jsxRuntime.jsx("circle", { r: bulletRadius, fill: fill, transform: "translate(".concat(x, ",").concat(y, ") scale(").concat(size, ")") }));
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
var CustomBulletChartRange = function (_a) {
|
|
1128
|
+
var x = _a.x, y = _a.y, width = _a.width, height = _a.height, fill = _a.fill;
|
|
1129
|
+
return (jsxRuntime.jsx("rect", { x: x, y: y, width: width - 2, height: height, fill: fill }));
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
var BulletChart = function (_a) {
|
|
1133
|
+
var theme = _a.theme, width = _a.width, height = _a.height, data = _a.data, markerColor = _a.markerColor, markerSize = _a.markerSize, rangeColor = _a.rangeColor, measureSize = _a.measureSize, measureColor = _a.measureColor;
|
|
1134
|
+
var rangesCount = data[0].ranges.length;
|
|
1135
|
+
return (jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(bullet.ResponsiveBullet, { data: data, theme: __assign(__assign({}, DEFAULT_CHARTS_THEME), theme), measureColors: measureColor !== null && measureColor !== void 0 ? measureColor : chartColors.darkGrey, measureSize: measureSize !== null && measureSize !== void 0 ? measureSize : 0.2, markerComponent: function (_a) {
|
|
1136
|
+
_a.size; var markerProps = __rest(_a, ["size"]);
|
|
1137
|
+
return (jsxRuntime.jsx(CustomBulletChartMarker, __assign({ bulletRadius: 4, fill: markerColor !== null && markerColor !== void 0 ? markerColor : chartColors.darkPine, size: markerSize !== null && markerSize !== void 0 ? markerSize : 0.2 }, markerProps)));
|
|
1138
|
+
}, rangeComponent: function (_a) {
|
|
1139
|
+
var index = _a.index, rangeProps = __rest(_a, ["index"]);
|
|
1140
|
+
return (jsxRuntime.jsx(CustomBulletChartRange, __assign({ fill: rangeColor !== null && rangeColor !== void 0 ? rangeColor : chartColors.lightGrey }, rangeProps, (index + 1 === rangesCount
|
|
1141
|
+
? { width: rangeProps.width + 2 }
|
|
1142
|
+
: { width: rangeProps.width }))));
|
|
1143
|
+
}, margin: { top: 0, right: 10, bottom: -1, left: 10 } }) })));
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
var CenteredItem = function (_a) {
|
|
1147
|
+
var centerX = _a.centerX, centerY = _a.centerY, theme = _a.theme, radius = _a.radius, label = _a.label, value = _a.value;
|
|
1148
|
+
var parameter = 6;
|
|
1149
|
+
var fontSizeFactor = radius / (14 * parameter);
|
|
1150
|
+
var spacing = radius / (parameter * 0.9);
|
|
1151
|
+
var shift = -radius / (parameter * 2.5);
|
|
1152
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [label && (jsxRuntime.jsx("g", __assign({ transform: "translate(".concat(centerX, ",").concat(centerY, ")") }, { children: jsxRuntime.jsx("text", __assign({ textAnchor: "middle", baselineShift: shift + (value ? spacing : spacing / 2), fill: theme.palette.grey[600], style: {
|
|
1153
|
+
fontSize: parseInt(theme.fontSizes.md.replace("px", "")) * fontSizeFactor,
|
|
1154
|
+
} }, { children: label })) }))), value && (jsxRuntime.jsx("g", __assign({ transform: "translate(".concat(centerX, ",").concat(centerY, ")") }, { children: jsxRuntime.jsx("text", __assign({ textAnchor: "middle", baselineShift: shift - (label ? spacing : spacing / 2), fill: theme.palette.blue[600], style: {
|
|
1155
|
+
fontSize: parseInt(theme.fontSizes.xxl.replace("px", "")) *
|
|
1156
|
+
fontSizeFactor,
|
|
1157
|
+
fontWeight: theme.fontWeights.semibold,
|
|
1158
|
+
} }, { children: value })) })))] }));
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
var PieChart = function (_a) {
|
|
1162
|
+
var theme = _a.theme, colors = _a.colors, width = _a.width, height = _a.height, data = _a.data, centerItem = _a.centerItem, margin = _a.margin;
|
|
1163
|
+
var themeContext = React.useContext(styled.ThemeContext);
|
|
1164
|
+
return (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(pie.ResponsivePie, { theme: __assign(__assign({}, DEFAULT_CHARTS_THEME), theme), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, enableArcLabels: false, arcLinkLabelsColor: { from: "color" }, padAngle: 1, data: data, margin: __assign({ top: 40, bottom: 40 }, margin), innerRadius: 0.8, arcLinkLabelsThickness: 2, arcLinkLabelsTextColor: themeContext.palette.grey[600], layers: __spreadArray([
|
|
1165
|
+
"arcs",
|
|
1166
|
+
"arcLabels",
|
|
1167
|
+
"arcLinkLabels"
|
|
1168
|
+
], (centerItem
|
|
1169
|
+
? [
|
|
1170
|
+
function (props) { return (jsxRuntime.jsx(CenteredItem, __assign({}, props, { theme: themeContext, label: centerItem.label, value: centerItem.value }))); },
|
|
1171
|
+
]
|
|
1172
|
+
: []), true), activeOuterRadiusOffset: 12 }) })) }));
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
var HalfPieChartComponent = function (_a) {
|
|
1176
|
+
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;
|
|
1177
|
+
var themeContext = React.useContext(styled.ThemeContext);
|
|
1178
|
+
return (jsxRuntime.jsx("div", __assign({ style: {
|
|
1179
|
+
position: "absolute",
|
|
1180
|
+
left: "0",
|
|
1181
|
+
right: "0",
|
|
1182
|
+
top: "0",
|
|
1183
|
+
bottom: "0",
|
|
1184
|
+
zIndex: mode === "front" ? 1 : undefined,
|
|
1185
|
+
pointerEvents: mode === "front" ? "none" : undefined,
|
|
1186
|
+
} }, { 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([
|
|
1187
|
+
"arcs"
|
|
1188
|
+
], (showArcLinks
|
|
1189
|
+
? ["arcLabels", "arcLinkLabels"]
|
|
1190
|
+
: []), true), startAngle: -90, endAngle: 90, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, animate: false }) })) })));
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
var HalfPieChart = function (_a) {
|
|
1194
|
+
var theme = _a.theme, colors = _a.colors, width = _a.width, height = _a.height, data = _a.data, margin = _a.margin, showArcLinks = _a.showArcLinks;
|
|
1195
|
+
var themeContext = React.useContext(styled.ThemeContext);
|
|
1196
|
+
var activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A;
|
|
1197
|
+
while (activeColors.length < data.length) {
|
|
1198
|
+
activeColors.push.apply(activeColors, activeColors);
|
|
1199
|
+
}
|
|
1200
|
+
var numberOfColors = activeColors.length;
|
|
1201
|
+
var grayOutColors = function (index) {
|
|
1202
|
+
var newColors = Array(numberOfColors).fill(themeContext.palette.grey[200]);
|
|
1203
|
+
newColors[index] = activeColors[index];
|
|
1204
|
+
return newColors;
|
|
1205
|
+
};
|
|
1206
|
+
var _b = React.useState(grayOutColors(0)), currentColors = _b[0], setCurrentColors = _b[1];
|
|
1207
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(HalfPieChartComponent, { theme: theme, colors: currentColors, width: width, height: height, data: data, onMouseEnter: function (data) {
|
|
1208
|
+
setCurrentColors(grayOutColors(data.arc.index));
|
|
1209
|
+
}, onMouseLeave: function () {
|
|
1210
|
+
setCurrentColors(grayOutColors(0));
|
|
1211
|
+
}, 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) {
|
|
1212
|
+
setCurrentColors(grayOutColors(data.arc.index));
|
|
1213
|
+
}, onMouseLeave: function () {
|
|
1214
|
+
setCurrentColors(grayOutColors(0));
|
|
1215
|
+
}, mode: "back" })] }));
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
var StreamChart = function (_a) {
|
|
1219
|
+
var theme = _a.theme, colors = _a.colors, height = _a.height, width = _a.width, props = __rest(_a, ["theme", "colors", "height", "width"]);
|
|
1220
|
+
return (jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(stream.ResponsiveStream, __assign({ theme: __assign(__assign({}, DEFAULT_CHARTS_THEME), theme), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_5 }, props)) })));
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
var SunburstChart = function (_a) {
|
|
1224
|
+
var theme = _a.theme, colors = _a.colors, width = _a.width, height = _a.height, props = __rest(_a, ["theme", "colors", "width", "height"]);
|
|
1225
|
+
return (jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(sunburst.ResponsiveSunburst, __assign({ theme: __assign(__assign({}, DEFAULT_CHARTS_THEME), theme), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, childColor: {
|
|
1226
|
+
from: 'color',
|
|
1227
|
+
modifiers: [
|
|
1228
|
+
[
|
|
1229
|
+
'brighter',
|
|
1230
|
+
0.5
|
|
1231
|
+
]
|
|
1232
|
+
]
|
|
1233
|
+
} }, props)) })));
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
var CustomCell = function (_a) {
|
|
1237
|
+
var position = _a.position, size = _a.size, x = _a.x, y = _a.y, color = _a.color, fill = _a.fill, opacity = _a.opacity, borderWidth = _a.borderWidth, borderColor = _a.borderColor, data = _a.data, onHover = _a.onHover, onLeave = _a.onLeave, onClick = _a.onClick;
|
|
1238
|
+
return (jsxRuntime.jsx("circle", { r: size / 2, cx: x + size / 2, cy: y + size / 2, fill: fill || color, strokeWidth: borderWidth, stroke: borderColor, opacity: opacity, onMouseEnter: onHover, onMouseMove: onHover, onMouseLeave: onLeave, onClick: function (event) {
|
|
1239
|
+
onClick({ position: position, color: color, x: x, y: y, data: data }, event);
|
|
1240
|
+
} }));
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
var WaffleChart = function (_a) {
|
|
1244
|
+
var theme = _a.theme, colors = _a.colors, height = _a.height, width = _a.width, props = __rest(_a, ["theme", "colors", "height", "width"]);
|
|
1245
|
+
return (jsxRuntime.jsx(ChartContainer, __assign({ width: width, height: height }, { children: jsxRuntime.jsx(waffle.ResponsiveWaffle, __assign({ theme: __assign(__assign({}, DEFAULT_CHARTS_THEME), theme), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_5, motionStiffness: 90, motionDamping: 11,
|
|
1246
|
+
// @ts-ignore property cellComponent does not exist, but it does
|
|
1247
|
+
cellComponent: CustomCell }, props)) })));
|
|
1248
|
+
};
|
|
1249
|
+
|
|
933
1250
|
var UgClose = styled__default["default"](reactNotifications.Close)(templateObject_1$13 || (templateObject_1$13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n"])), function (_a) {
|
|
934
1251
|
var theme = _a.theme;
|
|
935
1252
|
return theme.space.xl;
|
|
@@ -1152,9 +1469,7 @@ var editorStyle = styled.css(templateObject_1$Y || (templateObject_1$Y = __makeT
|
|
|
1152
1469
|
var templateObject_1$Y;
|
|
1153
1470
|
|
|
1154
1471
|
var _path$l;
|
|
1155
|
-
|
|
1156
1472
|
function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
|
|
1157
|
-
|
|
1158
1473
|
var SvgBoldFill = function SvgBoldFill(props) {
|
|
1159
1474
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
1160
1475
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1169,9 +1484,7 @@ var SvgBoldFill = function SvgBoldFill(props) {
|
|
|
1169
1484
|
};
|
|
1170
1485
|
|
|
1171
1486
|
var _path$k;
|
|
1172
|
-
|
|
1173
1487
|
function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
|
|
1174
|
-
|
|
1175
1488
|
var SvgItalicFill = function SvgItalicFill(props) {
|
|
1176
1489
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
1177
1490
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1189,9 +1502,7 @@ var SvgItalicFill = function SvgItalicFill(props) {
|
|
|
1189
1502
|
};
|
|
1190
1503
|
|
|
1191
1504
|
var _path$j, _path2;
|
|
1192
|
-
|
|
1193
1505
|
function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
|
|
1194
|
-
|
|
1195
1506
|
var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
1196
1507
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
1197
1508
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1212,9 +1523,7 @@ var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
|
1212
1523
|
};
|
|
1213
1524
|
|
|
1214
1525
|
var _g$4;
|
|
1215
|
-
|
|
1216
1526
|
function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
|
|
1217
|
-
|
|
1218
1527
|
var SvgH1Fill = function SvgH1Fill(props) {
|
|
1219
1528
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
1220
1529
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1244,9 +1553,7 @@ var SvgH1Fill = function SvgH1Fill(props) {
|
|
|
1244
1553
|
};
|
|
1245
1554
|
|
|
1246
1555
|
var _g$3;
|
|
1247
|
-
|
|
1248
1556
|
function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
|
|
1249
|
-
|
|
1250
1557
|
var SvgH2Fill = function SvgH2Fill(props) {
|
|
1251
1558
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
1252
1559
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1276,9 +1583,7 @@ var SvgH2Fill = function SvgH2Fill(props) {
|
|
|
1276
1583
|
};
|
|
1277
1584
|
|
|
1278
1585
|
var _g$2;
|
|
1279
|
-
|
|
1280
1586
|
function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
|
|
1281
|
-
|
|
1282
1587
|
var SvgH3Fill = function SvgH3Fill(props) {
|
|
1283
1588
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
1284
1589
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1521,9 +1826,7 @@ var Input = React.forwardRef(function (props, ref) { return jsxRuntime.jsx(UgInp
|
|
|
1521
1826
|
var templateObject_1$P, templateObject_2$m;
|
|
1522
1827
|
|
|
1523
1828
|
var _g$1;
|
|
1524
|
-
|
|
1525
1829
|
function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
|
|
1526
|
-
|
|
1527
1830
|
var SvgNotesStroke = function SvgNotesStroke(props) {
|
|
1528
1831
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
1529
1832
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1630,9 +1933,7 @@ var Radio = function (props) { return jsxRuntime.jsx(UgRadio, __assign({}, props
|
|
|
1630
1933
|
var templateObject_1$M;
|
|
1631
1934
|
|
|
1632
1935
|
var _path$i;
|
|
1633
|
-
|
|
1634
1936
|
function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
1635
|
-
|
|
1636
1937
|
var SvgCheckLg = function SvgCheckLg(props) {
|
|
1637
1938
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
1638
1939
|
width: 16,
|
|
@@ -1721,9 +2022,7 @@ var Row$1 = function (props) { return jsxRuntime.jsx(reactGrid.Row, __assign({},
|
|
|
1721
2022
|
var Grid = function (props) { return jsxRuntime.jsx(reactGrid.Grid, __assign({}, props)); };
|
|
1722
2023
|
|
|
1723
2024
|
var _path$h;
|
|
1724
|
-
|
|
1725
2025
|
function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
|
|
1726
|
-
|
|
1727
2026
|
var SvgUgSquare = function SvgUgSquare(props) {
|
|
1728
2027
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
1729
2028
|
width: 24,
|
|
@@ -1738,9 +2037,7 @@ var SvgUgSquare = function SvgUgSquare(props) {
|
|
|
1738
2037
|
};
|
|
1739
2038
|
|
|
1740
2039
|
var _path$g;
|
|
1741
|
-
|
|
1742
2040
|
function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
|
|
1743
|
-
|
|
1744
2041
|
var SvgUgCircle = function SvgUgCircle(props) {
|
|
1745
2042
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
1746
2043
|
width: 24,
|
|
@@ -1755,9 +2052,7 @@ var SvgUgCircle = function SvgUgCircle(props) {
|
|
|
1755
2052
|
};
|
|
1756
2053
|
|
|
1757
2054
|
var _path$f;
|
|
1758
|
-
|
|
1759
2055
|
function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
1760
|
-
|
|
1761
2056
|
var SvgUgTriangle = function SvgUgTriangle(props) {
|
|
1762
2057
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
1763
2058
|
width: 24,
|
|
@@ -1820,9 +2115,7 @@ var templateObject_1$E;
|
|
|
1820
2115
|
var Content = function (props) { return jsxRuntime.jsx(reactChrome.Content, __assign({}, props)); };
|
|
1821
2116
|
|
|
1822
2117
|
var _path$e;
|
|
1823
|
-
|
|
1824
2118
|
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
1825
|
-
|
|
1826
2119
|
var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
|
|
1827
2120
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
1828
2121
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1883,9 +2176,7 @@ var Logo = function (props) {
|
|
|
1883
2176
|
};
|
|
1884
2177
|
|
|
1885
2178
|
var _path$d;
|
|
1886
|
-
|
|
1887
2179
|
function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
1888
|
-
|
|
1889
2180
|
var SvgMenuStroke = function SvgMenuStroke(props) {
|
|
1890
2181
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
1891
2182
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2041,9 +2332,7 @@ var templateObject_1$v;
|
|
|
2041
2332
|
var NavItemText = function (props) { return (jsxRuntime.jsx(reactChrome.NavItemText, __assign({}, props, { children: jsxRuntime.jsx(Ellipsis, __assign({ style: { width: "158px" } }, { children: props.children })) }))); };
|
|
2042
2333
|
|
|
2043
2334
|
var _path$c;
|
|
2044
|
-
|
|
2045
2335
|
function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
2046
|
-
|
|
2047
2336
|
var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
|
|
2048
2337
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
2049
2338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2058,9 +2347,7 @@ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
|
|
|
2058
2347
|
};
|
|
2059
2348
|
|
|
2060
2349
|
var _path$b;
|
|
2061
|
-
|
|
2062
2350
|
function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
2063
|
-
|
|
2064
2351
|
var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
|
|
2065
2352
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
2066
2353
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2117,9 +2404,7 @@ NavItemProject.SubTitle = UgProjectSubtitle;
|
|
|
2117
2404
|
var templateObject_1$s, templateObject_2$g;
|
|
2118
2405
|
|
|
2119
2406
|
var _path$a;
|
|
2120
|
-
|
|
2121
2407
|
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
2122
|
-
|
|
2123
2408
|
var SvgHomeFill = function SvgHomeFill(props) {
|
|
2124
2409
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
2125
2410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2134,9 +2419,7 @@ var SvgHomeFill = function SvgHomeFill(props) {
|
|
|
2134
2419
|
};
|
|
2135
2420
|
|
|
2136
2421
|
var _linearGradient, _path$9;
|
|
2137
|
-
|
|
2138
2422
|
function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
2139
|
-
|
|
2140
2423
|
var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
|
|
2141
2424
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
2142
2425
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2161,9 +2444,7 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
|
|
|
2161
2444
|
};
|
|
2162
2445
|
|
|
2163
2446
|
var _g, _defs$2;
|
|
2164
|
-
|
|
2165
2447
|
function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
2166
|
-
|
|
2167
2448
|
var SvgToken = function SvgToken(props) {
|
|
2168
2449
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
2169
2450
|
fill: "none",
|
|
@@ -2202,9 +2483,7 @@ var SvgToken = function SvgToken(props) {
|
|
|
2202
2483
|
};
|
|
2203
2484
|
|
|
2204
2485
|
var _path$8;
|
|
2205
|
-
|
|
2206
2486
|
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
2207
|
-
|
|
2208
2487
|
var SvgFolderIcon = function SvgFolderIcon(props) {
|
|
2209
2488
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
2210
2489
|
width: 12,
|
|
@@ -2220,9 +2499,7 @@ var SvgFolderIcon = function SvgFolderIcon(props) {
|
|
|
2220
2499
|
};
|
|
2221
2500
|
|
|
2222
2501
|
var _path$7, _defs$1;
|
|
2223
|
-
|
|
2224
2502
|
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
2225
|
-
|
|
2226
2503
|
var SvgTemplates = function SvgTemplates(props) {
|
|
2227
2504
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
2228
2505
|
width: 26,
|
|
@@ -2251,9 +2528,7 @@ var SvgTemplates = function SvgTemplates(props) {
|
|
|
2251
2528
|
};
|
|
2252
2529
|
|
|
2253
2530
|
var _path$6, _defs;
|
|
2254
|
-
|
|
2255
2531
|
function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
2256
|
-
|
|
2257
2532
|
var SvgTemplatesActive = function SvgTemplatesActive(props) {
|
|
2258
2533
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
2259
2534
|
width: 26,
|
|
@@ -2288,7 +2563,7 @@ var StyledNav = styled__default["default"](Nav)(templateObject_1$r || (templateO
|
|
|
2288
2563
|
});
|
|
2289
2564
|
var LoadingSidebar = function (props) {
|
|
2290
2565
|
var isExpanded = props.isExpanded;
|
|
2291
|
-
return (jsxRuntime.jsxs(StyledNav, __assign({}, props, { isExpanded: isExpanded }, { 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%" })] }),
|
|
2566
|
+
return (jsxRuntime.jsxs(StyledNav, __assign({}, props, { isExpanded: isExpanded }, { 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%" })] }), 4), 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" })] }))] })));
|
|
2292
2567
|
};
|
|
2293
2568
|
var templateObject_1$r;
|
|
2294
2569
|
|
|
@@ -2636,9 +2911,7 @@ PageHeader.Counters = MainCounters;
|
|
|
2636
2911
|
var templateObject_1$h, templateObject_2$b, templateObject_3$9, templateObject_4$6;
|
|
2637
2912
|
|
|
2638
2913
|
var _path$5;
|
|
2639
|
-
|
|
2640
2914
|
function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
2641
|
-
|
|
2642
2915
|
var SvgExit = function SvgExit(props) {
|
|
2643
2916
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
2644
2917
|
width: 12,
|
|
@@ -2654,9 +2927,7 @@ var SvgExit = function SvgExit(props) {
|
|
|
2654
2927
|
};
|
|
2655
2928
|
|
|
2656
2929
|
var _path$4;
|
|
2657
|
-
|
|
2658
2930
|
function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
|
2659
|
-
|
|
2660
2931
|
var SvgThumbsUp = function SvgThumbsUp(props) {
|
|
2661
2932
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
2662
2933
|
width: 16,
|
|
@@ -2723,9 +2994,7 @@ var MenuItem = function (_a) {
|
|
|
2723
2994
|
var templateObject_1$e, templateObject_2$9, templateObject_3$7, templateObject_4$4;
|
|
2724
2995
|
|
|
2725
2996
|
var _path$3;
|
|
2726
|
-
|
|
2727
2997
|
function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
2728
|
-
|
|
2729
2998
|
var SvgQuestionMark = function SvgQuestionMark(props) {
|
|
2730
2999
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
2731
3000
|
width: 16,
|
|
@@ -2741,9 +3010,7 @@ var SvgQuestionMark = function SvgQuestionMark(props) {
|
|
|
2741
3010
|
};
|
|
2742
3011
|
|
|
2743
3012
|
var _path$2;
|
|
2744
|
-
|
|
2745
3013
|
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
2746
|
-
|
|
2747
3014
|
var SvgCopy = function SvgCopy(props) {
|
|
2748
3015
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
2749
3016
|
width: 12,
|
|
@@ -2760,9 +3027,7 @@ var SvgCopy = function SvgCopy(props) {
|
|
|
2760
3027
|
};
|
|
2761
3028
|
|
|
2762
3029
|
var _path$1;
|
|
2763
|
-
|
|
2764
3030
|
function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
2765
|
-
|
|
2766
3031
|
var SvgInfoFill = function SvgInfoFill(props) {
|
|
2767
3032
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
2768
3033
|
width: 16,
|
|
@@ -2826,7 +3091,6 @@ var HelpItem = function (props) {
|
|
|
2826
3091
|
var templateObject_1$b, templateObject_2$8, templateObject_3$6, templateObject_4$3, templateObject_5$2, templateObject_6;
|
|
2827
3092
|
|
|
2828
3093
|
function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
2829
|
-
|
|
2830
3094
|
var SvgEmpty = function SvgEmpty(props) {
|
|
2831
3095
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
2832
3096
|
width: 16,
|
|
@@ -2838,9 +3102,7 @@ var SvgEmpty = function SvgEmpty(props) {
|
|
|
2838
3102
|
};
|
|
2839
3103
|
|
|
2840
3104
|
var _path;
|
|
2841
|
-
|
|
2842
3105
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2843
|
-
|
|
2844
3106
|
var SvgTranslationExists = function SvgTranslationExists(props) {
|
|
2845
3107
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2846
3108
|
width: 16,
|
|
@@ -3164,10 +3426,12 @@ exports.Anchor = Anchor;
|
|
|
3164
3426
|
exports.AppHeader = AppHeader;
|
|
3165
3427
|
exports.Autocomplete = Autocomplete;
|
|
3166
3428
|
exports.Avatar = Avatar;
|
|
3429
|
+
exports.BarChart = BarChart;
|
|
3167
3430
|
exports.Blockquote = Blockquote;
|
|
3168
3431
|
exports.Body = Body$1;
|
|
3169
3432
|
exports.BrandItem = BrandItem;
|
|
3170
3433
|
exports.Breadcrumb = Breadcrumb;
|
|
3434
|
+
exports.BulletChart = BulletChart;
|
|
3171
3435
|
exports.Button = Button;
|
|
3172
3436
|
exports.ButtonGroup = ButtonGroup;
|
|
3173
3437
|
exports.CampaignCard = CampaignCard;
|
|
@@ -3194,6 +3458,7 @@ exports.GlobalStyle = GlobalStyle;
|
|
|
3194
3458
|
exports.Grid = Grid;
|
|
3195
3459
|
exports.GroupRow = GroupRow;
|
|
3196
3460
|
exports.GroupedTable = GroupedTable;
|
|
3461
|
+
exports.HalfPieChart = HalfPieChart;
|
|
3197
3462
|
exports.Header = Header;
|
|
3198
3463
|
exports.HeaderCell = HeaderCell;
|
|
3199
3464
|
exports.HeaderItem = HeaderItem;
|
|
@@ -3239,6 +3504,7 @@ exports.PageHeader = PageHeader;
|
|
|
3239
3504
|
exports.PageLoader = PageLoader;
|
|
3240
3505
|
exports.Pagination = Pagination;
|
|
3241
3506
|
exports.Paragraph = Paragraph;
|
|
3507
|
+
exports.PieChart = PieChart;
|
|
3242
3508
|
exports.PreviousItem = PreviousItem;
|
|
3243
3509
|
exports.ProductCard = ProductCard;
|
|
3244
3510
|
exports.ProfileModal = ProfileModal;
|
|
@@ -3257,6 +3523,8 @@ exports.SpecialCard = SpecialCard;
|
|
|
3257
3523
|
exports.Spinner = Spinner;
|
|
3258
3524
|
exports.SplitButton = SplitButton;
|
|
3259
3525
|
exports.Stepper = Stepper;
|
|
3526
|
+
exports.StreamChart = StreamChart;
|
|
3527
|
+
exports.SunburstChart = SunburstChart;
|
|
3260
3528
|
exports.Table = Table;
|
|
3261
3529
|
exports.TableBody = Body;
|
|
3262
3530
|
exports.TableCell = Cell;
|
|
@@ -3272,6 +3540,7 @@ exports.Toggle = Toggle;
|
|
|
3272
3540
|
exports.TooltipModal = TooltipModal;
|
|
3273
3541
|
exports.Trigger = Trigger;
|
|
3274
3542
|
exports.UnorderedList = UnorderedList;
|
|
3543
|
+
exports.WaffleChart = WaffleChart;
|
|
3275
3544
|
exports.XL = XL;
|
|
3276
3545
|
exports.XXL = XXL;
|
|
3277
3546
|
exports.XXXL = XXXL;
|