@appquality/unguess-design-system 2.12.85 → 3.0.0-colors
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 +4 -4
- package/.github/workflows/storybook.yml +2 -2
- package/CHANGELOG.md +14 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +630 -814
- package/build/stories/accordions/index.stories.d.ts +5 -11
- package/build/stories/alerts/index.d.ts +2 -2
- package/build/stories/alerts/index.stories.d.ts +2 -8
- package/build/stories/avatar/index.d.ts +1 -1
- package/build/stories/avatar/index.stories.d.ts +3 -8
- package/build/stories/breadcrumbs/index.d.ts +1 -1
- package/build/stories/breadcrumbs/index.stories.d.ts +4 -5
- package/build/stories/buttons/anchor/index.d.ts +2 -2
- package/build/stories/buttons/anchor/index.stories.d.ts +5 -6
- package/build/stories/buttons/button/_types.d.ts +2 -29
- package/build/stories/buttons/button/index.d.ts +1 -1
- package/build/stories/buttons/button/index.stories.d.ts +6 -16
- package/build/stories/buttons/button-group/index.d.ts +2 -2
- package/build/stories/buttons/button-group/index.stories.d.ts +10 -12
- package/build/stories/buttons/icon-button/_types.d.ts +2 -16
- package/build/stories/buttons/icon-button/index.stories.d.ts +5 -6
- package/build/stories/buttons/split-button/index.stories.d.ts +2 -3
- package/build/stories/buttons/utils.d.ts +12 -0
- package/build/stories/campaign-cards/index.d.ts +1 -1
- package/build/stories/campaign-cards/index.stories.d.ts +3 -4
- package/build/stories/campaign-cards/skeleton.d.ts +1 -1
- package/build/stories/cards/container.stories.d.ts +2 -3
- package/build/stories/cards/index.d.ts +8 -2
- package/build/stories/cards/index.stories.d.ts +3 -4
- package/build/stories/charts/ChartContainer.d.ts +1 -1
- package/build/stories/charts/Legend.d.ts +2 -2
- package/build/stories/charts/_types.d.ts +1 -1
- package/build/stories/charts/bar/_types.d.ts +1 -1
- package/build/stories/charts/bar/index.d.ts +1 -1
- package/build/stories/charts/bar/index.stories.d.ts +3 -4
- package/build/stories/charts/bullet/CustomBulletChartMarker.d.ts +1 -1
- package/build/stories/charts/bullet/CustomBulletChartMeasure.d.ts +1 -1
- package/build/stories/charts/bullet/CustomTooltip.d.ts +1 -1
- package/build/stories/charts/bullet/index.d.ts +1 -1
- package/build/stories/charts/bullet/index.stories.d.ts +3 -4
- package/build/stories/charts/halfPie/HalfPieChartComponent.d.ts +1 -1
- package/build/stories/charts/halfPie/index.d.ts +1 -1
- package/build/stories/charts/halfPie/index.stories.d.ts +2 -3
- package/build/stories/charts/pie/_types.d.ts +2 -2
- package/build/stories/charts/pie/index.d.ts +1 -1
- package/build/stories/charts/pie/index.stories.d.ts +4 -5
- package/build/stories/charts/pieCenteredItem.d.ts +1 -1
- package/build/stories/charts/sunburst/ResetButton.d.ts +1 -1
- package/build/stories/charts/sunburst/index.d.ts +1 -1
- package/build/stories/charts/sunburst/index.stories.d.ts +3 -4
- package/build/stories/charts/waffle/CustomCell.d.ts +1 -1
- package/build/stories/charts/waffle/index.d.ts +1 -1
- package/build/stories/charts/waffle/index.stories.d.ts +3 -4
- package/build/stories/close/index.d.ts +1 -1
- package/build/stories/close/index.stories.d.ts +2 -3
- package/build/stories/drawers/index.d.ts +1 -1
- package/build/stories/drawers/index.stories.d.ts +2 -11
- package/build/stories/drawers/loremIpsum.d.ts +1 -1
- package/build/stories/dropdowns/autocomplete/index.d.ts +1 -1
- package/build/stories/dropdowns/autocomplete/index.stories.d.ts +3 -4
- package/build/stories/dropdowns/countermultiselect/index.d.ts +1 -1
- package/build/stories/dropdowns/countermultiselect/index.stories.d.ts +2 -3
- package/build/stories/dropdowns/field/index.d.ts +1 -1
- package/build/stories/dropdowns/item/index.d.ts +1 -1
- package/build/stories/dropdowns/item-content/index.d.ts +1 -1
- package/build/stories/dropdowns/menu/index.d.ts +8 -8
- package/build/stories/dropdowns/menu/index.stories.d.ts +3 -4
- package/build/stories/dropdowns/menuheader/index.d.ts +1 -1
- package/build/stories/dropdowns/select/index.d.ts +5 -5
- package/build/stories/dropdowns/select/index.stories.d.ts +4 -8
- package/build/stories/editor/_types.d.ts +1 -1
- package/build/stories/editor/editorFooter.d.ts +1 -1
- package/build/stories/editor/editorHeader.d.ts +1 -1
- package/build/stories/editor/editorStyle.d.ts +1 -1
- package/build/stories/editor/floatingMenu.d.ts +1 -1
- package/build/stories/editor/index.d.ts +1 -1
- package/build/stories/editor/index.stories.d.ts +8 -8
- package/build/stories/forms/checkbox/cards/index.d.ts +1 -1
- package/build/stories/forms/checkbox/cards/index.stories.d.ts +3 -4
- package/build/stories/forms/checkbox/index.d.ts +1 -1
- package/build/stories/forms/checkbox/index.stories.d.ts +2 -3
- package/build/stories/forms/field/index.d.ts +1 -1
- package/build/stories/forms/input/index.d.ts +1 -1
- package/build/stories/forms/input/index.stories.d.ts +5 -6
- package/build/stories/forms/input-toggle/_types.d.ts +1 -1
- package/build/stories/forms/input-toggle/index.d.ts +3 -3
- package/build/stories/forms/input-toggle/index.stories.d.ts +6 -11
- package/build/stories/forms/mediaInput/index.d.ts +1 -1
- package/build/stories/forms/mediaInput/index.stories.d.ts +5 -6
- package/build/stories/forms/radio/cards/index.d.ts +1 -1
- package/build/stories/forms/radio/cards/index.stories.d.ts +3 -4
- package/build/stories/forms/radio/index.d.ts +1 -1
- package/build/stories/forms/radio/index.stories.d.ts +3 -4
- package/build/stories/forms/textarea/index.d.ts +1 -1
- package/build/stories/forms/textarea/index.stories.d.ts +4 -5
- package/build/stories/forms/toggle/index.d.ts +1 -1
- package/build/stories/forms/toggle/index.stories.d.ts +2 -3
- package/build/stories/grid/col/index.d.ts +1 -1
- package/build/stories/grid/col/index.stories.d.ts +4 -5
- package/build/stories/grid/grid/index.d.ts +1 -1
- package/build/stories/grid/grid/index.stories.d.ts +4 -5
- package/build/stories/grid/row/index.d.ts +1 -1
- package/build/stories/grid/row/index.stories.d.ts +2 -3
- package/build/stories/icons/index.d.ts +1 -1
- package/build/stories/icons/index.stories.d.ts +2 -3
- package/build/stories/info-cards/index.d.ts +1 -1
- package/build/stories/info-cards/index.stories.d.ts +3 -4
- package/build/stories/label/index.d.ts +2 -2
- package/build/stories/label/index.stories.d.ts +3 -4
- package/build/stories/lightbox/index.stories.d.ts +2 -12
- package/build/stories/lightbox/parts/body.d.ts +3 -3
- package/build/stories/lightbox/parts/footer.d.ts +1 -1
- package/build/stories/loaders/dots/index.d.ts +1 -1
- package/build/stories/loaders/dots/index.stories.d.ts +2 -3
- package/build/stories/loaders/progress/index.stories.d.ts +2 -3
- package/build/stories/loaders/skeleton/index.d.ts +1 -1
- package/build/stories/loaders/skeleton/index.stories.d.ts +3 -4
- package/build/stories/loaders/spinner/index.d.ts +1 -1
- package/build/stories/loaders/spinner/index.stories.d.ts +2 -3
- package/build/stories/login-form/index.d.ts +1 -1
- package/build/stories/login-form/index.stories.d.ts +3 -4
- package/build/stories/logo/index.d.ts +1 -1
- package/build/stories/logo/index.stories.d.ts +2 -3
- package/build/stories/modals/fullscreen/index.d.ts +5 -5
- package/build/stories/modals/fullscreen/index.stories.d.ts +2 -11
- package/build/stories/modals/index.d.ts +1 -1
- package/build/stories/modals/index.stories.d.ts +5 -10
- package/build/stories/multiselect/AddableItem.d.ts +1 -1
- package/build/stories/multiselect/Item.d.ts +2 -2
- package/build/stories/multiselect/_types.d.ts +2 -2
- package/build/stories/multiselect/index.d.ts +1 -1
- package/build/stories/multiselect/index.stories.d.ts +3 -4
- package/build/stories/navigation/app-header/index.d.ts +1 -1
- package/build/stories/navigation/app-header/index.stories.d.ts +3 -4
- package/build/stories/navigation/app-header/skeleton.d.ts +1 -1
- package/build/stories/navigation/body/index.d.ts +1 -1
- package/build/stories/navigation/chrome/index.d.ts +1 -1
- package/build/stories/navigation/content/index.d.ts +1 -1
- package/build/stories/navigation/header/header-item/brandItem.d.ts +2 -2
- package/build/stories/navigation/header/header-item/headerItem.d.ts +2 -2
- package/build/stories/navigation/header/header-item/headerItemIcon.d.ts +1 -1
- package/build/stories/navigation/header/header-item/headerItemText.d.ts +1 -1
- package/build/stories/navigation/header/header-item/workspacesDropdown.d.ts +1 -1
- package/build/stories/navigation/header/index.d.ts +4 -4
- package/build/stories/navigation/main/index.d.ts +1 -1
- package/build/stories/navigation/nav/index.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navDivider.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navItemIcon.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navItemText.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navToggle.d.ts +1 -1
- package/build/stories/navigation/page-header/index.d.ts +8 -8
- package/build/stories/navigation/page-header/index.stories.d.ts +5 -17
- package/build/stories/navigation/page-header/styled/main.d.ts +5 -5
- package/build/stories/navigation/sidebar/index.d.ts +1 -1
- package/build/stories/navigation/sidebar/index.stories.d.ts +6 -7
- package/build/stories/navigation/sidebar/skeleton.d.ts +1 -1
- package/build/stories/notifications/index.d.ts +2 -2
- package/build/stories/notifications/index.stories.d.ts +3 -4
- package/build/stories/page/pageLoader.d.ts +1 -1
- package/build/stories/pagination/index.d.ts +1 -1
- package/build/stories/pagination/index.stories.d.ts +3 -4
- package/build/stories/player/index.stories.d.ts +2 -3
- package/build/stories/player/parts/audioButton.d.ts +1 -1
- package/build/stories/player/parts/container.d.ts +1 -1
- package/build/stories/player/parts/controls.d.ts +3 -3
- package/build/stories/player/parts/controlsCenterGroup.d.ts +1 -1
- package/build/stories/player/parts/floatingControls.d.ts +2 -2
- package/build/stories/player/parts/fullScreenButton.d.ts +1 -1
- package/build/stories/player/parts/spinner.d.ts +1 -1
- package/build/stories/player/parts/timeLabel.d.ts +1 -1
- package/build/stories/player/parts/tooltip.d.ts +1 -1
- package/build/stories/player/parts/video.d.ts +1 -1
- package/build/stories/product-cards/index.d.ts +1 -1
- package/build/stories/product-cards/index.stories.d.ts +3 -4
- package/build/stories/profile-modal/UserContainer.d.ts +1 -1
- package/build/stories/profile-modal/_types.d.ts +2 -0
- package/build/stories/profile-modal/helpMenuItem.d.ts +3 -1
- package/build/stories/profile-modal/index.d.ts +1 -1
- package/build/stories/profile-modal/index.stories.d.ts +2 -3
- package/build/stories/profile-modal/languageMenuItem.d.ts +1 -1
- package/build/stories/profile-modal/menuItem.d.ts +2 -2
- package/build/stories/profile-modal/menuItemIcon.d.ts +2 -2
- package/build/stories/profile-modal/previousMenuButton.d.ts +1 -1
- package/build/stories/profile-modal/userMenu.d.ts +1 -1
- package/build/stories/service-cards/index.d.ts +1 -1
- package/build/stories/service-cards/index.stories.d.ts +3 -4
- package/build/stories/slider/index.d.ts +2 -2
- package/build/stories/slider/index.stories.d.ts +3 -8
- package/build/stories/slider/parts/buttons.d.ts +2 -2
- package/build/stories/slider/parts/container.d.ts +1 -1
- package/build/stories/slider/parts/counter.d.ts +1 -1
- package/build/stories/slider/parts/slickSlider.d.ts +1 -1
- package/build/stories/slider/parts/slide.d.ts +1 -1
- package/build/stories/slider/parts/sliderContext.d.ts +1 -1
- package/build/stories/special-cards/index.d.ts +8 -8
- package/build/stories/special-cards/index.stories.d.ts +2 -14
- package/build/stories/special-cards/styled/footer.d.ts +1 -1
- package/build/stories/special-cards/styled/header.d.ts +4 -4
- package/build/stories/special-cards/styled/meta.d.ts +1 -1
- package/build/stories/special-cards/styled/thumbnail.d.ts +1 -1
- package/build/stories/stepper/index.d.ts +4 -4
- package/build/stories/stepper/index.stories.d.ts +3 -10
- package/build/stories/table/_types.d.ts +1 -1
- package/build/stories/table/grouped.d.ts +2 -2
- package/build/stories/table/index.d.ts +9 -9
- package/build/stories/table/index.stories.d.ts +11 -12
- package/build/stories/tabs/index.d.ts +2 -2
- package/build/stories/tabs/index.stories.d.ts +3 -7
- package/build/stories/tags/index.d.ts +4 -4
- package/build/stories/tags/index.stories.d.ts +6 -18
- package/build/stories/theme/charts.d.ts +1 -9
- package/build/stories/theme/colors.d.ts +6 -5
- package/build/stories/theme/components.d.ts +86 -47
- package/build/stories/theme/gradients.d.ts +0 -1
- package/build/stories/theme/index.d.ts +130 -90
- package/build/stories/theme/mixins.d.ts +2 -2
- package/build/stories/theme/palette.d.ts +35 -36
- package/build/stories/theme/palette.stories.d.ts +20 -7
- package/build/stories/theme/utils.d.ts +6 -2
- package/build/stories/tiles/index.d.ts +1 -1
- package/build/stories/tiles/index.stories.d.ts +4 -11
- package/build/stories/timeline/index.d.ts +3 -3
- package/build/stories/timeline/index.stories.d.ts +4 -9
- package/build/stories/title/index.d.ts +1 -1
- package/build/stories/title/index.stories.d.ts +2 -3
- package/build/stories/tooltip/index.d.ts +1 -1
- package/build/stories/tooltip/index.stories.d.ts +11 -3
- package/build/stories/tooltip-modal/_types.d.ts +1 -1
- package/build/stories/tooltip-modal/index.d.ts +1 -1
- package/build/stories/tooltip-modal/index.stories.d.ts +2 -11
- package/build/stories/trigger/index.d.ts +1 -1
- package/build/stories/typography/block-quote/index.d.ts +1 -1
- package/build/stories/typography/block-quote/index.stories.d.ts +2 -3
- package/build/stories/typography/code/index.d.ts +1 -1
- package/build/stories/typography/code/index.stories.d.ts +4 -5
- package/build/stories/typography/ellipsis/index.d.ts +1 -1
- package/build/stories/typography/ellipsis/index.stories.d.ts +2 -3
- package/build/stories/typography/lists/index.d.ts +2 -2
- package/build/stories/typography/lists/ordered.stories.d.ts +2 -7
- package/build/stories/typography/lists/unordered.stories.d.ts +2 -7
- package/build/stories/typography/paragraph/index.d.ts +1 -1
- package/build/stories/typography/paragraph/index.stories.d.ts +2 -3
- package/build/stories/typography/span/index.d.ts +1 -1
- package/build/stories/typography/span/index.stories.d.ts +2 -3
- package/build/stories/typography/typescale/anchortag/index.stories.d.ts +2 -3
- package/build/stories/typography/typescale/index.d.ts +6 -6
- package/build/stories/typography/typescale/index.stories.d.ts +2 -3
- package/package.json +62 -67
- package/yarn-error.log +17994 -0
- package/build/stories/buttons/anchor/_types.d.ts +0 -11
- package/build/stories/buttons/button-group/_types.d.ts +0 -5
- package/build/stories/buttons/utils/useButtonVariant.d.ts +0 -5
- package/generate-story.sh +0 -61
package/build/index.js
CHANGED
|
@@ -7,9 +7,9 @@ require('@zendeskgarden/css-bedrock');
|
|
|
7
7
|
var reactTheming = require('@zendeskgarden/react-theming');
|
|
8
8
|
var UAParser = require('ua-parser-js');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
|
+
var reactNotifications = require('@zendeskgarden/react-notifications');
|
|
10
11
|
var reactAccordions = require('@zendeskgarden/react-accordions');
|
|
11
12
|
var React = require('react');
|
|
12
|
-
var reactNotifications = require('@zendeskgarden/react-notifications');
|
|
13
13
|
var reactAvatars = require('@zendeskgarden/react-avatars');
|
|
14
14
|
var reactBreadcrumbs = require('@zendeskgarden/react-breadcrumbs');
|
|
15
15
|
var reactButtons = require('@zendeskgarden/react-buttons');
|
|
@@ -37,7 +37,6 @@ var formik = require('formik');
|
|
|
37
37
|
var reactPagination = require('@zendeskgarden/react-pagination');
|
|
38
38
|
var SlickSlider = require('react-slick');
|
|
39
39
|
var reactTables = require('@zendeskgarden/react-tables');
|
|
40
|
-
var reactSpring = require('react-spring');
|
|
41
40
|
var reactTooltips = require('@zendeskgarden/react-tooltips');
|
|
42
41
|
|
|
43
42
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -70,26 +69,31 @@ var Placeholder__default = /*#__PURE__*/_interopDefaultLegacy(Placeholder);
|
|
|
70
69
|
var CharacterCount__default = /*#__PURE__*/_interopDefaultLegacy(CharacterCount);
|
|
71
70
|
var SlickSlider__default = /*#__PURE__*/_interopDefaultLegacy(SlickSlider);
|
|
72
71
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
72
|
+
/*
|
|
73
|
+
* Design principles https://garden.zendesk.com/design/color (accessed 28 apr 2023)
|
|
74
|
+
* Full DEFAULT_THEME.palette copied here to force the type, reference https://garden.zendesk.com/components/palette (accessed 28 apr 2023)
|
|
75
|
+
*/
|
|
76
|
+
const palette = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.palette), { "black": "#000000", "white": "#FFFFFF", "product": {
|
|
77
|
+
"support": "#00a656",
|
|
78
|
+
"message": "#37b8af",
|
|
79
|
+
"explore": "#30aabc",
|
|
80
|
+
"gather": "#f6c8be",
|
|
81
|
+
"guide": "#ff6224",
|
|
82
|
+
"connect": "#ff6224",
|
|
83
|
+
"chat": "#f79a3e",
|
|
84
|
+
"talk": "#efc93d",
|
|
85
|
+
"sell": "#c38f00"
|
|
86
|
+
}, "grey": {
|
|
87
|
+
"100": "#f8f9f9",
|
|
85
88
|
"200": "#e9ebed",
|
|
86
89
|
"300": "#d8dcde",
|
|
87
90
|
"400": "#c2c8cc",
|
|
88
91
|
"500": "#87929d",
|
|
89
92
|
"600": "#68737d",
|
|
90
93
|
"700": "#49545c",
|
|
91
|
-
"800": "#2f3941"
|
|
92
|
-
}, blue: {
|
|
94
|
+
"800": "#2f3941"
|
|
95
|
+
}, "blue": {
|
|
96
|
+
"50": "#F0F3F5",
|
|
93
97
|
"100": "#E6EBEE",
|
|
94
98
|
"200": "#B0C2CB",
|
|
95
99
|
"300": "#8AA4B2",
|
|
@@ -98,116 +102,118 @@ const palette = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.palet
|
|
|
98
102
|
"600": "#003A57",
|
|
99
103
|
"700": "#00293E",
|
|
100
104
|
"800": "#001825",
|
|
101
|
-
}, red: {
|
|
102
|
-
"100": "#
|
|
103
|
-
"200": "#
|
|
104
|
-
"300": "#
|
|
105
|
-
"400": "#
|
|
106
|
-
"500": "#
|
|
107
|
-
"600": "#
|
|
108
|
-
"700": "#
|
|
109
|
-
"800": "#
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
|
|
105
|
+
}, "red": {
|
|
106
|
+
"100": "#FBEAEB",
|
|
107
|
+
"200": "#F2C1C3",
|
|
108
|
+
"300": "#E9979B",
|
|
109
|
+
"400": "#E06D73",
|
|
110
|
+
"500": "#D7444B",
|
|
111
|
+
"600": "#D22F37",
|
|
112
|
+
"700": "#BD2A32",
|
|
113
|
+
"800": "#A8262C",
|
|
114
|
+
"900": "#932127",
|
|
115
|
+
}, "yellow": {
|
|
116
|
+
"100": "#FFF7EE",
|
|
117
|
+
"200": "#FFE7C9",
|
|
118
|
+
"300": "#FFD7A4",
|
|
119
|
+
"400": "#FFD7A4",
|
|
120
|
+
"500": "#FFB65A",
|
|
121
|
+
"600": "#C57F12",
|
|
122
|
+
"700": "#955F1B",
|
|
123
|
+
"800": "#845418",
|
|
124
|
+
"900": "#734A15",
|
|
125
|
+
}, "green": {
|
|
126
|
+
"50": "#B3E8D9",
|
|
127
|
+
"100": "#80D9C0",
|
|
128
|
+
"200": "#66D1B3",
|
|
129
|
+
"300": "#4DC9A6",
|
|
130
|
+
"400": "#00B280",
|
|
131
|
+
"500": "#00A073",
|
|
132
|
+
"600": "#007D5A",
|
|
133
|
+
"700": "#006B4D",
|
|
134
|
+
"800": "#005940",
|
|
135
|
+
}, "azure": {
|
|
136
|
+
"100": "#E3F2F9",
|
|
137
|
+
"200": "#BBDDF2",
|
|
138
|
+
"300": "#92C9EB",
|
|
139
|
+
"400": "#6AB4E2",
|
|
140
|
+
"500": "#4CA4DE",
|
|
141
|
+
"600": "#1466A9",
|
|
142
|
+
"700": "#125C98",
|
|
143
|
+
"800": "#105287",
|
|
144
|
+
"900": "#0E4776",
|
|
145
|
+
}, "kale": {
|
|
146
|
+
"100": "#D4FFF7",
|
|
147
|
+
"200": "#ABEBDF",
|
|
148
|
+
"300": "#6FD1BE",
|
|
149
|
+
"600": "#2B8473",
|
|
150
|
+
"700": "#206E6A",
|
|
151
|
+
"800": "#0C4D5E",
|
|
152
|
+
}, "pink": {
|
|
153
|
+
"600": "#d81e57",
|
|
154
|
+
"700": "#c31a53",
|
|
155
|
+
"800": "#ae1550",
|
|
156
|
+
"900": "#8A0C49",
|
|
157
|
+
}, "crimson": {
|
|
158
|
+
"200": "#e69b96",
|
|
159
|
+
"300": "#d9776f",
|
|
160
|
+
"400": "#e05b4b",
|
|
161
|
+
"500": "#e34f32",
|
|
162
|
+
}, "fuschia": {
|
|
138
163
|
"400": "#d653c2",
|
|
139
164
|
"600": "#a81897",
|
|
140
|
-
M400: "#cf62a8",
|
|
141
|
-
M600: "#a8458c",
|
|
142
|
-
},
|
|
143
|
-
"400": "#
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
},
|
|
148
|
-
"400": "#
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
},
|
|
165
|
+
"M400": "#cf62a8",
|
|
166
|
+
"M600": "#a8458c",
|
|
167
|
+
}, "lemon": {
|
|
168
|
+
"400": "#ddda49",
|
|
169
|
+
"500": "#d8d427",
|
|
170
|
+
"600": "#d7c21f",
|
|
171
|
+
"700": "#D6AD13",
|
|
172
|
+
}, "teal": {
|
|
173
|
+
"400": "#28adaa",
|
|
174
|
+
"500": "#029e99",
|
|
175
|
+
"600": "#02908b",
|
|
176
|
+
"700": "#02807a",
|
|
177
|
+
}, "royal": {
|
|
178
|
+
"600": "#3c3695",
|
|
179
|
+
"700": "#342c8a",
|
|
180
|
+
"800": "#2d227e",
|
|
181
|
+
"900": "#1F0F69",
|
|
182
|
+
}, "purple": {
|
|
183
|
+
"200": "#b5a5fe",
|
|
184
|
+
"300": "#957fff",
|
|
185
|
+
"400": "#7761fe",
|
|
186
|
+
"500": "#5847f6",
|
|
187
|
+
}, "lime": {
|
|
188
|
+
"400": '#43b324',
|
|
189
|
+
"600": '#2e8200',
|
|
190
|
+
"M400": '#519e2d',
|
|
191
|
+
"M600": '#47782c'
|
|
192
|
+
}, "mint": {
|
|
193
|
+
"400": '#00a656',
|
|
194
|
+
"600": '#058541',
|
|
195
|
+
"M400": '#299c66',
|
|
196
|
+
"M600": '#2e8057'
|
|
197
|
+
}, "orange": {
|
|
153
198
|
"400": "#de701d",
|
|
154
199
|
"600": "#bf5000",
|
|
155
|
-
M400: "#d4772c",
|
|
156
|
-
M600: "#b35827",
|
|
157
|
-
}, lemon: {
|
|
158
|
-
"400": "#ffd424",
|
|
159
|
-
"600": "#ffbb10",
|
|
160
|
-
M400: "#e7a500",
|
|
161
|
-
M600: "#c38f00",
|
|
162
|
-
}, lime: {
|
|
163
|
-
"400": "#43b324",
|
|
164
|
-
"600": "#2e8200",
|
|
165
|
-
M400: "#519e2d",
|
|
166
|
-
M600: "#47782c",
|
|
167
|
-
}, mint: {
|
|
168
|
-
"400": "#00a656",
|
|
169
|
-
"600": "#058541",
|
|
170
|
-
M400: "#299c66",
|
|
171
|
-
M600: "#2e8057",
|
|
172
|
-
}, teal: {
|
|
173
|
-
"400": "#02a191",
|
|
174
|
-
"600": "#028079",
|
|
175
|
-
M400: "#2d9e8f",
|
|
176
|
-
M600: "#3c7873",
|
|
177
|
-
}, azure: {
|
|
178
|
-
"400": "#3091ec",
|
|
179
|
-
"600": "#1371d6",
|
|
180
|
-
M400: "#5f8dcf",
|
|
181
|
-
M600: "#3a70b2",
|
|
182
|
-
}, royal: {
|
|
183
|
-
"400": "#5d7df5",
|
|
184
|
-
"600": "#3353e2",
|
|
185
|
-
M400: "#7986d8",
|
|
186
|
-
M600: "#4b61c3",
|
|
187
|
-
}, purple: {
|
|
188
|
-
"400": "#b552e2",
|
|
189
|
-
"600": "#6a27b8",
|
|
190
|
-
M400: "#b072cc",
|
|
191
|
-
M600: "#9358b0",
|
|
192
|
-
}, water: {
|
|
193
|
-
100: "#D4FFF7",
|
|
194
|
-
200: "#ABEBDF",
|
|
195
|
-
300: "#6FD1BE",
|
|
196
|
-
600: "#2B8473",
|
|
197
|
-
700: "#206E6A",
|
|
198
|
-
800: "#0C4D5E",
|
|
200
|
+
"M400": "#d4772c",
|
|
201
|
+
"M600": "#b35827",
|
|
199
202
|
} });
|
|
200
203
|
|
|
204
|
+
const getColor = (hue, shade, theme$1 = theme, transparency) => {
|
|
205
|
+
return reactTheming.getColor(hue, shade, theme$1, transparency);
|
|
206
|
+
};
|
|
201
207
|
const hex2rgba = (hex, alpha = 1) => {
|
|
202
208
|
const rgb = hex.match(/\w\w/g);
|
|
203
209
|
const [r, g, b] = rgb ? rgb.map((x) => parseInt(x, 16)) : [0, 0, 0];
|
|
204
210
|
return `rgba(${r},${g},${b},${alpha})`;
|
|
205
211
|
};
|
|
206
|
-
const boxShadow = (theme) => {
|
|
207
|
-
const { space, shadows, palette } = theme;
|
|
212
|
+
const boxShadow = (theme$1) => {
|
|
213
|
+
const { space, shadows, palette } = theme$1;
|
|
208
214
|
const offsetY = `${space.base}px`;
|
|
209
215
|
const blurRadius = `${space.base * 2}px`;
|
|
210
|
-
const shadowColor =
|
|
216
|
+
const shadowColor = getColor(palette.grey, 800, theme, 0.15);
|
|
211
217
|
return shadows.lg(offsetY, blurRadius, shadowColor);
|
|
212
218
|
};
|
|
213
219
|
const isMac = () => {
|
|
@@ -230,7 +236,6 @@ const sidebarNavItemHidden = styled.css `
|
|
|
230
236
|
`;
|
|
231
237
|
|
|
232
238
|
const gradients = {
|
|
233
|
-
horizontal: `linear-gradient(90.81deg, ${hex2rgba(palette.blue[600])} 11.98%, ${hex2rgba(palette.kale[400])} 100%);`,
|
|
234
239
|
dark: `linear-gradient(90.81deg, ${hex2rgba(palette.blue[800])} 0%, ${hex2rgba(palette.blue[600])} 100%);`,
|
|
235
240
|
};
|
|
236
241
|
|
|
@@ -273,37 +278,71 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
273
278
|
|
|
274
279
|
const fontWeights = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.fontWeights), { semibold: 500 });
|
|
275
280
|
|
|
276
|
-
const colors = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.colors), { primaryHue:
|
|
281
|
+
const colors = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.colors), { base: "light", background: "#fff", foreground: "#2f3941", primaryHue: "blue", dangerHue: "red", warningHue: "yellow", successHue: "green", neutralHue: "grey", infoHue: "azure", chromeHue: "blue", accentHue: "kale" });
|
|
282
|
+
|
|
283
|
+
const CARD_COMPONENT_ID = "cards.card";
|
|
284
|
+
const cardCmponentStyle = {
|
|
285
|
+
[CARD_COMPONENT_ID]: {
|
|
286
|
+
border: `1px solid ${palette.grey["200"]};`,
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
const UgCard = styled__default["default"](reactNotifications.Well) `
|
|
290
|
+
border-radius: ${({ theme }) => theme.borderRadii.lg};
|
|
291
|
+
padding: ${({ theme }) => theme.space.xxl};
|
|
292
|
+
cursor: pointer;
|
|
293
|
+
|
|
294
|
+
${({ isFloating, theme }) => !isFloating &&
|
|
295
|
+
`
|
|
296
|
+
&:hover {
|
|
297
|
+
box-shadow: ${theme.shadows.boxShadow(theme)};
|
|
298
|
+
}`}
|
|
299
|
+
${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
|
|
300
|
+
`;
|
|
301
|
+
/**
|
|
302
|
+
* A Card is a container that groups related content.
|
|
303
|
+
* <hr>
|
|
304
|
+
* Used for this:
|
|
305
|
+
- To group related content
|
|
306
|
+
*/
|
|
307
|
+
const Card = (props) => jsxRuntime.jsx(UgCard, Object.assign({}, props));
|
|
308
|
+
const UgContainerCard = styled__default["default"](reactNotifications.Well) `
|
|
309
|
+
border-radius: ${({ theme }) => theme.borderRadii.xl};
|
|
310
|
+
padding: ${({ theme }) => theme.space.xxl};
|
|
311
|
+
cursor: default;
|
|
312
|
+
|
|
313
|
+
@media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
|
|
314
|
+
padding: ${({ theme }) => `${theme.space.xl} ${theme.space.md}`};
|
|
315
|
+
}
|
|
316
|
+
${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
|
|
317
|
+
`;
|
|
318
|
+
const ContainerCard = (props) => jsxRuntime.jsx(UgContainerCard, Object.assign({}, props));
|
|
277
319
|
|
|
278
|
-
var _a, _b, _c, _d, _e, _f, _g$
|
|
279
|
-
const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.components), { chrome: Object.assign(Object.assign({}, (_a = reactTheming.DEFAULT_THEME.components) === null || _a === void 0 ? void 0 : _a.chrome), { header: Object.assign(Object.assign({}, (_c = (_b = reactTheming.DEFAULT_THEME.components) === null || _b === void 0 ? void 0 : _b.chrome) === null || _c === void 0 ? void 0 : _c.header), { height: "64px" }), nav: Object.assign(Object.assign({}, (_e = (_d = reactTheming.DEFAULT_THEME.components) === null || _d === void 0 ? void 0 : _d.chrome) === null || _e === void 0 ? void 0 : _e.nav), { openWidth: 240, closedWidth: 36, workspaceDropdownWidth: 192 }) }), notification: Object.assign(Object.assign({}, (_f = reactTheming.DEFAULT_THEME.components) === null || _f === void 0 ? void 0 : _f.notification), { card: Object.assign(Object.assign({}, (_h = (_g$
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
320
|
+
var _a, _b, _c, _d, _e, _f, _g$3, _h;
|
|
321
|
+
const components = Object.assign(Object.assign(Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.components), { chrome: Object.assign(Object.assign({}, (_a = reactTheming.DEFAULT_THEME.components) === null || _a === void 0 ? void 0 : _a.chrome), { header: Object.assign(Object.assign({}, (_c = (_b = reactTheming.DEFAULT_THEME.components) === null || _b === void 0 ? void 0 : _b.chrome) === null || _c === void 0 ? void 0 : _c.header), { height: "64px" }), nav: Object.assign(Object.assign({}, (_e = (_d = reactTheming.DEFAULT_THEME.components) === null || _d === void 0 ? void 0 : _d.chrome) === null || _e === void 0 ? void 0 : _e.nav), { openWidth: 240, closedWidth: 36, workspaceDropdownWidth: 192 }) }), notification: Object.assign(Object.assign({}, (_f = reactTheming.DEFAULT_THEME.components) === null || _f === void 0 ? void 0 : _f.notification), { card: Object.assign(Object.assign({}, (_h = (_g$3 = reactTheming.DEFAULT_THEME.components) === null || _g$3 === void 0 ? void 0 : _g$3.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }) }), cardCmponentStyle), { "border.neutral": () => `border: 1px solid ${getColor(colors.neutralHue, 300)}`, "background.neutral": () => `background-color: ${palette.white}`, "background.primary.accent": () => `background-color: ${getColor(colors.accentHue, 700)}`, "background.primary.accent.hover": () => `background-color: ${getColor(colors.accentHue, 800)}`, "background.primary.accent.active": () => `background-color: ${palette.blue[100]}`, "text.neutral": () => `color: ${getColor(colors.neutralHue, 700)}`, "text.neutral.bold": () => `color: ${getColor(colors.neutralHue, 800)}`, "text.neutral.light": () => `color: ${getColor(colors.neutralHue, 500)}`, "colors.danger": () => `${getColor(colors.accentHue, 700)}`, "colors.danger.hover": () => `${getColor(colors.accentHue, 800)}`, "colors.danger.active": () => `${getColor(colors.accentHue, 900)}`, "text.color.accent.hover": () => `
|
|
322
|
+
color: ${getColor(colors.accentHue, 800)}
|
|
323
|
+
`, "notifications.notification": ({ type, isPrimary, }) => {
|
|
324
|
+
const svgCss = {
|
|
325
|
+
marginTop: "-1px",
|
|
326
|
+
};
|
|
327
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (type === "success" &&
|
|
283
328
|
isPrimary && {
|
|
284
|
-
backgroundColor:
|
|
285
|
-
svg: {
|
|
286
|
-
color: palette.white,
|
|
287
|
-
},
|
|
329
|
+
backgroundColor: getColor(colors.successHue, 700),
|
|
330
|
+
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
288
331
|
})), (type === "warning" &&
|
|
289
332
|
isPrimary && {
|
|
290
|
-
backgroundColor:
|
|
291
|
-
svg: {
|
|
292
|
-
color: palette.white,
|
|
293
|
-
},
|
|
333
|
+
backgroundColor: getColor(colors.warningHue, 700),
|
|
334
|
+
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
294
335
|
})), (type === "error" &&
|
|
295
336
|
isPrimary && {
|
|
296
|
-
backgroundColor:
|
|
297
|
-
svg: {
|
|
298
|
-
color: palette.white,
|
|
299
|
-
},
|
|
337
|
+
backgroundColor: getColor(colors.dangerHue, 700),
|
|
338
|
+
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
300
339
|
})), (type === "info" &&
|
|
301
340
|
isPrimary && {
|
|
302
|
-
backgroundColor:
|
|
303
|
-
svg: {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
})
|
|
341
|
+
backgroundColor: getColor(colors.infoHue, 700),
|
|
342
|
+
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
343
|
+
})), !isPrimary && {
|
|
344
|
+
svg: svgCss,
|
|
345
|
+
});
|
|
307
346
|
}, "notifications.notification.close": ({ type, isPrimary, }) => {
|
|
308
347
|
return Object.assign(Object.assign(Object.assign(Object.assign({ cursor: "pointer" }, (type === "success" &&
|
|
309
348
|
isPrimary && {
|
|
@@ -332,11 +371,11 @@ const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.co
|
|
|
332
371
|
}));
|
|
333
372
|
}, "notifications.notification.close-icon": () => {
|
|
334
373
|
return {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
374
|
+
position: "relative",
|
|
375
|
+
top: "unset",
|
|
376
|
+
right: "unset",
|
|
377
|
+
width: "auto",
|
|
378
|
+
height: "auto",
|
|
340
379
|
};
|
|
341
380
|
}, "notifications.notification.title": ({ type, isPrimary, }) => {
|
|
342
381
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, (type === "success" &&
|
|
@@ -358,15 +397,9 @@ const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.co
|
|
|
358
397
|
thumbSize: "60px",
|
|
359
398
|
}, "tabs.tab": ({ isSelected }) => {
|
|
360
399
|
return isSelected ? { fontWeight: fontWeights.semibold } : undefined;
|
|
361
|
-
}, "forms.input": ({ isFocused }) => {
|
|
362
|
-
return isFocused
|
|
363
|
-
? {
|
|
364
|
-
boxShadow: `0 0 0 3px ${palette.kale[200]}}`,
|
|
365
|
-
}
|
|
366
|
-
: undefined;
|
|
367
400
|
}, "dropdowns.item": (_a) => {
|
|
368
401
|
var { addable, checked } = _a; __rest(_a, ["addable", "checked"]);
|
|
369
|
-
return Object.assign(Object.assign(
|
|
402
|
+
return Object.assign(Object.assign({}, (addable
|
|
370
403
|
? {
|
|
371
404
|
color: colors.primaryHue,
|
|
372
405
|
cursor: "pointer",
|
|
@@ -375,46 +408,104 @@ const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.co
|
|
|
375
408
|
? {
|
|
376
409
|
fontWeight: fontWeights.semibold,
|
|
377
410
|
}
|
|
378
|
-
: {}))
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
411
|
+
: {}));
|
|
412
|
+
}, "buttons.icon_button": ({ disabled, isBright, isAccent, isPrimary, isBasic, }) => {
|
|
413
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (isAccent && !isPrimary && !isBasic && {
|
|
414
|
+
borderColor: getColor(colors.accentHue, 700),
|
|
415
|
+
color: getColor(colors.accentHue, 700),
|
|
416
|
+
"&:hover": {
|
|
417
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
418
|
+
color: getColor(colors.accentHue, 800),
|
|
419
|
+
backgroundColor: palette.blue[50],
|
|
420
|
+
},
|
|
421
|
+
"&:active": {
|
|
422
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
423
|
+
color: getColor(colors.accentHue, 800),
|
|
424
|
+
backgroundColor: palette.blue[100],
|
|
425
|
+
},
|
|
426
|
+
})), (isAccent && isBasic && {
|
|
427
|
+
color: getColor(colors.accentHue, 700),
|
|
386
428
|
"&:hover": {
|
|
387
|
-
backgroundColor: palette.
|
|
429
|
+
backgroundColor: palette.blue[50],
|
|
430
|
+
color: getColor(colors.accentHue, 800),
|
|
431
|
+
},
|
|
432
|
+
"&:active": {
|
|
433
|
+
backgroundColor: palette.blue[100],
|
|
434
|
+
color: getColor(colors.accentHue, 800),
|
|
435
|
+
},
|
|
436
|
+
})), (isAccent && isPrimary && {
|
|
437
|
+
backgroundColor: getColor(colors.accentHue, 600),
|
|
438
|
+
color: "white",
|
|
439
|
+
"&:hover": {
|
|
440
|
+
backgroundColor: getColor(colors.accentHue, 700),
|
|
441
|
+
color: "white",
|
|
442
|
+
},
|
|
443
|
+
"&:active": {
|
|
444
|
+
backgroundColor: getColor(colors.accentHue, 800),
|
|
445
|
+
color: "white",
|
|
388
446
|
},
|
|
389
447
|
})), (isBright && {
|
|
390
448
|
backgroundColor: "transparent",
|
|
391
449
|
color: "white",
|
|
450
|
+
border: "none",
|
|
392
451
|
"&:hover": {
|
|
393
452
|
backgroundColor: palette.grey[500],
|
|
394
|
-
color: palette.kale[100],
|
|
395
453
|
},
|
|
396
454
|
"&:active": {
|
|
397
455
|
backgroundColor: palette.grey[600],
|
|
398
|
-
color: palette.kale[200],
|
|
399
456
|
},
|
|
400
457
|
})), (disabled && { pointerEvents: "none" }));
|
|
401
|
-
}, "buttons.button": ({
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
458
|
+
}, "buttons.button": ({ isAccent, isBright, isPrimary, isBasic, isLink, }) => {
|
|
459
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (isAccent && !isPrimary && !isBasic && !isLink && {
|
|
460
|
+
borderColor: getColor(colors.accentHue, 700),
|
|
461
|
+
color: getColor(colors.accentHue, 700),
|
|
462
|
+
"&:hover": {
|
|
463
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
464
|
+
color: getColor(colors.accentHue, 800),
|
|
465
|
+
backgroundColor: palette.blue[50],
|
|
466
|
+
},
|
|
467
|
+
"&:active": {
|
|
468
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
469
|
+
color: getColor(colors.accentHue, 800),
|
|
470
|
+
backgroundColor: palette.blue[100],
|
|
471
|
+
},
|
|
472
|
+
})), (isAccent && isPrimary && {
|
|
473
|
+
backgroundColor: getColor(colors.accentHue, 600),
|
|
474
|
+
"&:hover": {
|
|
475
|
+
backgroundColor: getColor(colors.accentHue, 700),
|
|
476
|
+
},
|
|
477
|
+
"&:active": {
|
|
478
|
+
backgroundColor: getColor(colors.accentHue, 800),
|
|
479
|
+
},
|
|
480
|
+
})), (isAccent && isBasic && {
|
|
481
|
+
color: getColor(colors.accentHue, 700),
|
|
482
|
+
"&:hover": {
|
|
483
|
+
backgroundColor: palette.blue[50],
|
|
484
|
+
color: getColor(colors.accentHue, 800),
|
|
485
|
+
},
|
|
486
|
+
"&:active": {
|
|
487
|
+
backgroundColor: palette.blue[100],
|
|
488
|
+
color: getColor(colors.accentHue, 800),
|
|
489
|
+
},
|
|
490
|
+
})), (isAccent && isLink && {
|
|
491
|
+
color: getColor(colors.accentHue, 700),
|
|
492
|
+
"&:hover": {
|
|
493
|
+
color: getColor(colors.accentHue, 800),
|
|
494
|
+
},
|
|
495
|
+
"&:active": {
|
|
496
|
+
color: getColor(colors.accentHue, 800),
|
|
497
|
+
},
|
|
498
|
+
})), (isBright && {
|
|
499
|
+
backgroundColor: "transparent",
|
|
500
|
+
color: "white",
|
|
501
|
+
border: "none",
|
|
502
|
+
"&:hover": {
|
|
503
|
+
backgroundColor: palette.grey[500],
|
|
504
|
+
},
|
|
505
|
+
"&:active": {
|
|
506
|
+
backgroundColor: palette.grey[600],
|
|
507
|
+
},
|
|
508
|
+
}));
|
|
418
509
|
} });
|
|
419
510
|
|
|
420
511
|
const theme = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME), { breakpoints: Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.breakpoints), { xxl: "1440px" }), colors, palette: palette, fonts: Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.fonts), { system: '"Poppins",sans-serif,Helvetica,Arial,sans-serif' }), fontWeights: fontWeights, gradients: gradients, borderRadii: Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.borderRadii), { lg: "8px", xl: "16px", xxl: "32px" }), lineHeights: Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.lineHeights), { xs: "16px" }), components: components, shadows: Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.shadows), { boxShadow: boxShadow }), levels: {
|
|
@@ -486,6 +577,9 @@ const UgAlert = styled__default["default"](reactNotifications.Alert) `
|
|
|
486
577
|
color: ${({ theme }) => theme.palette.grey[700]};
|
|
487
578
|
border-width: 2px;
|
|
488
579
|
font-size: ${({ theme }) => theme.fontSizes.sm};
|
|
580
|
+
${props => reactTheming.retrieveComponentStyles('borders.neutral', props)};
|
|
581
|
+
${props => reactTheming.retrieveComponentStyles('backgrounds.primary.accent', props)};
|
|
582
|
+
${props => reactTheming.retrieveComponentStyles('backgrounds.primary.accent.hover', props)};
|
|
489
583
|
`;
|
|
490
584
|
const UgAlertTitle = styled__default["default"](reactNotifications.Title) `
|
|
491
585
|
font-size: ${({ theme }) => theme.fontSizes.md};
|
|
@@ -576,16 +670,6 @@ const Breadcrumb = (_a) => {
|
|
|
576
670
|
*/
|
|
577
671
|
const Anchor = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.Anchor, Object.assign({ ref: ref }, props)));
|
|
578
672
|
|
|
579
|
-
let customTheme = Object.assign({}, theme);
|
|
580
|
-
// Define theme override
|
|
581
|
-
const getThemeStyle = (props) => {
|
|
582
|
-
const { themeColor } = props;
|
|
583
|
-
if (themeColor) {
|
|
584
|
-
customTheme = Object.assign(Object.assign({}, theme), { colors: Object.assign(Object.assign({}, theme.colors), { primaryHue: themeColor }) });
|
|
585
|
-
return customTheme;
|
|
586
|
-
}
|
|
587
|
-
return theme;
|
|
588
|
-
};
|
|
589
673
|
const UgButton = styled__default["default"](reactButtons.Button) ``;
|
|
590
674
|
/**
|
|
591
675
|
* Buttons let users take action quickly.
|
|
@@ -596,11 +680,7 @@ const UgButton = styled__default["default"](reactButtons.Button) ``;
|
|
|
596
680
|
- To draw attention to relevant actions in a user's workflow
|
|
597
681
|
*/
|
|
598
682
|
const ButtonComponent = React.forwardRef((props, ref) => {
|
|
599
|
-
|
|
600
|
-
const currentTheme = getThemeStyle(props);
|
|
601
|
-
return jsxRuntime.jsx(UgButton, Object.assign({}, props, { ref: ref, theme: currentTheme }));
|
|
602
|
-
}
|
|
603
|
-
return jsxRuntime.jsx(UgButton, Object.assign({ ref: ref }, props));
|
|
683
|
+
return jsxRuntime.jsx(UgButton, Object.assign({ ref: ref, isPill: true }, props));
|
|
604
684
|
});
|
|
605
685
|
const Button = ButtonComponent;
|
|
606
686
|
Button.StartIcon = UgButton.StartIcon;
|
|
@@ -634,37 +714,6 @@ Used for this:
|
|
|
634
714
|
**/
|
|
635
715
|
const SplitButton = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.SplitButton, Object.assign({ ref: ref }, props)));
|
|
636
716
|
|
|
637
|
-
const UgCard = styled__default["default"](reactNotifications.Well) `
|
|
638
|
-
border-radius: ${({ theme }) => theme.borderRadii.lg};
|
|
639
|
-
padding: ${({ theme }) => theme.space.xxl};
|
|
640
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
641
|
-
cursor: pointer;
|
|
642
|
-
|
|
643
|
-
${({ isFloating, theme }) => !isFloating &&
|
|
644
|
-
`
|
|
645
|
-
&:hover {
|
|
646
|
-
box-shadow: ${theme.shadows.boxShadow(theme)};
|
|
647
|
-
}`}
|
|
648
|
-
`;
|
|
649
|
-
/**
|
|
650
|
-
* A Card is a container that groups related content.
|
|
651
|
-
* <hr>
|
|
652
|
-
* Used for this:
|
|
653
|
-
- To group related content
|
|
654
|
-
*/
|
|
655
|
-
const Card = (props) => jsxRuntime.jsx(UgCard, Object.assign({}, props));
|
|
656
|
-
const UgContainerCard = styled__default["default"](reactNotifications.Well) `
|
|
657
|
-
border-radius: ${({ theme }) => theme.borderRadii.xl};
|
|
658
|
-
padding: ${({ theme }) => theme.space.xxl};
|
|
659
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
660
|
-
cursor: default;
|
|
661
|
-
|
|
662
|
-
@media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
|
|
663
|
-
padding: ${({ theme }) => `${theme.space.xl} ${theme.space.md}`};
|
|
664
|
-
}
|
|
665
|
-
`;
|
|
666
|
-
const ContainerCard = (props) => jsxRuntime.jsx(UgContainerCard, Object.assign({}, props));
|
|
667
|
-
|
|
668
717
|
/**
|
|
669
718
|
* Use Span to style and format inline text elements.
|
|
670
719
|
* <hr>
|
|
@@ -736,270 +785,191 @@ Tag.Avatar = StyledAvatar;
|
|
|
736
785
|
Tag.Close = StyledClose;
|
|
737
786
|
Tag.SecondaryText = StyledSpan;
|
|
738
787
|
|
|
739
|
-
var _path$
|
|
788
|
+
var _path$D;
|
|
740
789
|
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); }
|
|
741
790
|
var SvgUgSquare = function SvgUgSquare(props) {
|
|
742
791
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
792
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
743
793
|
width: 24,
|
|
744
794
|
height: 24,
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
d: "M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19Z",
|
|
750
|
-
fill: "#E80C7A"
|
|
795
|
+
fill: "none"
|
|
796
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
797
|
+
fill: "#E80C7A",
|
|
798
|
+
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1Z"
|
|
751
799
|
})));
|
|
752
800
|
};
|
|
753
801
|
|
|
754
|
-
var _path$
|
|
802
|
+
var _path$C;
|
|
755
803
|
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); }
|
|
756
804
|
var SvgUgCircle = function SvgUgCircle(props) {
|
|
757
805
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
806
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
758
807
|
width: 24,
|
|
759
808
|
height: 24,
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
d: "M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
|
|
765
|
-
fill: "#FFCD1A"
|
|
809
|
+
fill: "none"
|
|
810
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
811
|
+
fill: "#FFCD1A",
|
|
812
|
+
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Z"
|
|
766
813
|
})));
|
|
767
814
|
};
|
|
768
815
|
|
|
769
|
-
var _path$
|
|
816
|
+
var _path$B;
|
|
770
817
|
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); }
|
|
771
818
|
var SvgUgTriangle = function SvgUgTriangle(props) {
|
|
772
819
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
820
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
773
821
|
width: 24,
|
|
774
822
|
height: 24,
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
d: "M11.9993 7.32625L18.3893 17.5563H5.60929L11.9993 7.32625ZM11.1493 4.91625L2.94929 18.0262C2.53929 18.6962 3.01929 19.5563 3.79929 19.5563H20.1993C20.9893 19.5563 21.4593 18.6962 21.0493 18.0262L12.8493 4.91625C12.4593 4.28625 11.5393 4.28625 11.1493 4.91625Z",
|
|
780
|
-
fill: "#7B0DFF"
|
|
823
|
+
fill: "none"
|
|
824
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
|
|
825
|
+
fill: "#7B0DFF",
|
|
826
|
+
d: "m12 7.326 6.39 10.23H5.61L12 7.326Zm-.85-2.41-8.2 13.11c-.41.67.07 1.53.85 1.53h16.4a1 1 0 0 0 .85-1.53l-8.2-13.11a1 1 0 0 0-1.7 0Z"
|
|
781
827
|
})));
|
|
782
828
|
};
|
|
783
829
|
|
|
784
|
-
var _rect$4, _path$
|
|
830
|
+
var _rect$4, _path$A, _path2$e, _path3$5;
|
|
785
831
|
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); }
|
|
786
832
|
var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
|
|
787
833
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
834
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
788
835
|
width: 24,
|
|
789
836
|
height: 24,
|
|
790
|
-
|
|
791
|
-
fill: "none",
|
|
792
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
837
|
+
fill: "none"
|
|
793
838
|
}, props), _rect$4 || (_rect$4 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
794
839
|
width: 24,
|
|
795
840
|
height: 24,
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
})), _path$
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
})), _path2$
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
})), _path3$
|
|
805
|
-
|
|
806
|
-
|
|
841
|
+
fill: "#F6F6F8",
|
|
842
|
+
rx: 12
|
|
843
|
+
})), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
844
|
+
fill: "#50BF95",
|
|
845
|
+
d: "M20.695 5.739a.818.818 0 0 0-1.157-1.157L11.88 12.24l-1.795-2.28a.818.818 0 0 0-1.286 1.012l2.365 3.004a.818.818 0 0 0 1.222.073l8.31-8.31Z"
|
|
846
|
+
})), _path2$e || (_path2$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
847
|
+
fill: "#50BF95",
|
|
848
|
+
d: "M3 12a9 9 0 0 1 12.81-8.156.818.818 0 1 1-.693 1.482 7.364 7.364 0 1 0 4.015 4.832.818.818 0 0 1 1.585-.407A9 9 0 1 1 3 12Z"
|
|
849
|
+
})), _path3$5 || (_path3$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
850
|
+
fill: "#007345",
|
|
851
|
+
d: "M20.695 5.739a.818.818 0 0 0-1.157-1.157L11.88 12.24l-1.795-2.28a.818.818 0 0 0-1.286 1.012l2.365 3.004a.818.818 0 0 0 1.222.073l8.31-8.31Z"
|
|
807
852
|
})));
|
|
808
853
|
};
|
|
809
854
|
|
|
810
|
-
var _rect$3, _path$
|
|
855
|
+
var _rect$3, _path$z, _path2$d;
|
|
811
856
|
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); }
|
|
812
857
|
var SvgCampaignLocked = function SvgCampaignLocked(props) {
|
|
813
858
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
859
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
814
860
|
width: 24,
|
|
815
861
|
height: 24,
|
|
816
|
-
|
|
817
|
-
fill: "none",
|
|
818
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
862
|
+
fill: "none"
|
|
819
863
|
}, props), _rect$3 || (_rect$3 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
820
864
|
width: 24,
|
|
821
865
|
height: 24,
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
})), _path$
|
|
866
|
+
fill: "#F6F6F8",
|
|
867
|
+
rx: 12
|
|
868
|
+
})), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
869
|
+
fill: "#D1820A",
|
|
825
870
|
fillRule: "evenodd",
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
871
|
+
d: "M13.55 19.087c.7.7 1.556 1.05 2.569 1.05 1.012 0 1.869-.35 2.569-1.05.7-.7 1.05-1.556 1.05-2.568 0-1.013-.35-1.869-1.05-2.569-.7-.7-1.557-1.05-2.57-1.05-1.012 0-1.868.35-2.568 1.05-.7.7-1.05 1.556-1.05 2.569 0 1.012.35 1.869 1.05 2.569Zm3.956-.806a.373.373 0 0 1-.244-.093l-1.518-1.407c-.063-.112-.094-.181-.094-.206V14.55a.382.382 0 0 1 .394-.394.381.381 0 0 1 .393.394v1.931l1.294 1.181a.33.33 0 0 1 .122.244.328.328 0 0 1-.103.263.34.34 0 0 1-.244.112Z",
|
|
872
|
+
clipRule: "evenodd"
|
|
873
|
+
})), _path2$d || (_path2$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
874
|
+
fill: "#F4AC1A",
|
|
830
875
|
fillRule: "evenodd",
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
fill: "#F4AC1A"
|
|
876
|
+
d: "M6.125 19.5c-.313 0-.578-.11-.797-.328A1.085 1.085 0 0 1 5 18.375v-8.137c0-.313.11-.579.328-.797.219-.22.484-.329.797-.329h1.313V7.37c0-1 .346-1.853 1.04-2.56A3.404 3.404 0 0 1 11 3.75c.988 0 1.828.353 2.522 1.06.694.706 1.04 1.559 1.04 2.559v1.744h1.313c.313 0 .578.109.797.328.219.218.328.484.328.796v1.632a2.937 2.937 0 0 0-.563-.094 4.223 4.223 0 0 0-.562 0c-1.275.05-2.344.534-3.206 1.453-.863.919-1.294 2.016-1.294 3.29 0 .55.094 1.079.281 1.585.188.506.45.972.788 1.397H6.125Zm7.313-10.387H8.561V7.369c0-.688.238-1.275.713-1.763A2.32 2.32 0 0 1 11 4.875c.675 0 1.25.244 1.725.731.475.488.713 1.075.713 1.763v1.744Z",
|
|
877
|
+
clipRule: "evenodd"
|
|
834
878
|
})));
|
|
835
879
|
};
|
|
836
880
|
|
|
837
|
-
var _rect$2, _path$
|
|
881
|
+
var _rect$2, _path$y, _path2$c;
|
|
838
882
|
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); }
|
|
839
883
|
var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
|
|
840
884
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
885
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
841
886
|
width: 24,
|
|
842
887
|
height: 24,
|
|
843
|
-
|
|
844
|
-
fill: "none",
|
|
845
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
888
|
+
fill: "none"
|
|
846
889
|
}, props), _rect$2 || (_rect$2 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
847
890
|
width: 24,
|
|
848
891
|
height: 24,
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
})), _path$
|
|
852
|
-
d: "M11.2266 13.0313H14.997M11.2266 9.26075V13.0313V9.26075ZM11.2266 13.0313L20.121 5.03906L11.2266 13.0313Z",
|
|
892
|
+
fill: "#F6F6F8",
|
|
893
|
+
rx: 12
|
|
894
|
+
})), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
853
895
|
stroke: "#024780",
|
|
854
|
-
strokeWidth: 1.5,
|
|
855
896
|
strokeLinecap: "round",
|
|
856
|
-
strokeLinejoin: "round"
|
|
857
|
-
})), _path2$9 || (_path2$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
858
|
-
d: "M15.4918 4.52347C14.4312 4.02725 13.2477 3.75003 11.9995 3.75003C7.44316 3.75003 3.74951 7.44368 3.74951 12C3.74951 16.5564 7.44316 20.25 11.9995 20.25C16.5558 20.25 20.2495 16.5564 20.2495 12C20.2495 11.2878 20.1593 10.5968 19.9896 9.93753",
|
|
859
|
-
stroke: "#53AFFA",
|
|
897
|
+
strokeLinejoin: "round",
|
|
860
898
|
strokeWidth: 1.5,
|
|
899
|
+
d: "M11.227 13.031h3.77m-3.77-3.77v3.77-3.77Zm0 3.77L20.12 5.04l-8.894 7.992Z"
|
|
900
|
+
})), _path2$c || (_path2$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
901
|
+
stroke: "#53AFFA",
|
|
861
902
|
strokeLinecap: "round",
|
|
862
|
-
strokeLinejoin: "round"
|
|
903
|
+
strokeLinejoin: "round",
|
|
904
|
+
strokeWidth: 1.5,
|
|
905
|
+
d: "M15.492 4.523a8.25 8.25 0 1 0 4.498 5.414"
|
|
863
906
|
})));
|
|
864
907
|
};
|
|
865
908
|
|
|
866
|
-
var _rect$1, _path$
|
|
909
|
+
var _rect$1, _path$x, _path2$b, _path3$4;
|
|
867
910
|
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); }
|
|
868
911
|
var SvgCampaignProgress = function SvgCampaignProgress(props) {
|
|
869
912
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
913
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
870
914
|
width: 24,
|
|
871
915
|
height: 24,
|
|
872
|
-
|
|
873
|
-
fill: "none",
|
|
874
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
916
|
+
fill: "none"
|
|
875
917
|
}, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
876
918
|
width: 24,
|
|
877
919
|
height: 24,
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
})), _path$
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
})), _path2$
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
})), _path3$
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
})), _path4$1 || (_path4$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
890
|
-
d: "M9.38105 14.6183C9.79455 15.0318 9.79455 15.7022 9.38105 16.1157L7.1337 18.3631C6.7202 18.7766 6.04979 18.7766 5.63629 18.3631C5.2228 17.9496 5.2228 17.2792 5.63629 16.8657L7.88365 14.6183C8.29714 14.2048 8.96756 14.2048 9.38105 14.6183Z",
|
|
891
|
-
fill: "#D1820A"
|
|
892
|
-
})), _path5$1 || (_path5$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
893
|
-
d: "M16.1149 14.6183C15.7014 14.2048 15.031 14.2048 14.6175 14.6183C14.204 15.0318 14.204 15.7022 14.6175 16.1157L16.8649 18.3631C17.2783 18.7766 17.9488 18.7766 18.3623 18.3631C18.7757 17.9496 18.7757 17.2792 18.3623 16.8657L16.1149 14.6183Z",
|
|
894
|
-
fill: "#FFD7A4"
|
|
895
|
-
})), _path6$1 || (_path6$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
896
|
-
d: "M16.7649 10.9412C16.1802 10.9412 15.7061 11.4152 15.7061 12C15.7061 12.5848 16.1802 13.0588 16.7649 13.0588H19.9414C20.5262 13.0588 21.0002 12.5848 21.0002 12C21.0002 11.4152 20.5262 10.9412 19.9414 10.9412H16.7649Z",
|
|
897
|
-
fill: "#FFD7A4"
|
|
898
|
-
})), _path7$1 || (_path7$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
899
|
-
d: "M12 3C12.5848 3 13.0588 3.47405 13.0588 4.05882V7.23529C13.0588 7.82007 12.5848 8.29412 12 8.29412C11.4152 8.29412 10.9412 7.82007 10.9412 7.23529V4.05882C10.9412 3.47405 11.4152 3 12 3Z",
|
|
900
|
-
fill: "#FFB65A"
|
|
901
|
-
})), _path8$1 || (_path8$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
902
|
-
d: "M5.63607 5.63685C6.04957 5.22335 6.71998 5.22335 7.13348 5.63685L9.38083 7.8842C9.79433 8.2977 9.79433 8.96811 9.38083 9.3816C8.96734 9.7951 8.29693 9.7951 7.88343 9.38161L5.63608 7.13425C5.22258 6.72076 5.22258 6.05035 5.63607 5.63685Z",
|
|
903
|
-
fill: "#FFB65A"
|
|
904
|
-
})), _path9$1 || (_path9$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
905
|
-
d: "M3 12C3 11.4152 3.47405 10.9412 4.05882 10.9412H7.23529C7.82007 10.9412 8.29412 11.4152 8.29412 12C8.29412 12.5848 7.82007 13.0588 7.23529 13.0588H4.05882C3.47405 13.0588 3 12.5848 3 12Z",
|
|
906
|
-
fill: "#FFB65A"
|
|
907
|
-
})), _path10$1 || (_path10$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
908
|
-
d: "M18.362 7.13425C18.7755 6.72076 18.7755 6.05035 18.362 5.63685C17.9485 5.22335 17.2781 5.22335 16.8646 5.63685L14.6173 7.8842C14.2038 8.2977 14.2038 8.96811 14.6173 9.3816C15.0308 9.7951 15.7012 9.7951 16.1147 9.38161L18.362 7.13425Z",
|
|
909
|
-
fill: "#FFB65A"
|
|
920
|
+
fill: "#F6F6F8",
|
|
921
|
+
rx: 12
|
|
922
|
+
})), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
923
|
+
fill: "#D1820A",
|
|
924
|
+
d: "M13.059 16.765a1.059 1.059 0 1 0-2.118 0v3.176a1.059 1.059 0 0 0 2.118 0v-3.176ZM16.115 14.618a1.059 1.059 0 1 0-1.497 1.498l2.247 2.247a1.059 1.059 0 1 0 1.497-1.497l-2.247-2.248ZM16.765 10.941a1.059 1.059 0 0 0 0 2.118h3.176a1.059 1.059 0 1 0 0-2.118h-3.176ZM9.381 14.618a1.059 1.059 0 0 1 0 1.498l-2.247 2.247a1.059 1.059 0 0 1-1.498-1.497l2.248-2.248a1.059 1.059 0 0 1 1.497 0Z"
|
|
925
|
+
})), _path2$b || (_path2$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
926
|
+
fill: "#FFD7A4",
|
|
927
|
+
d: "M16.115 14.618a1.059 1.059 0 1 0-1.497 1.498l2.247 2.247a1.059 1.059 0 1 0 1.497-1.497l-2.247-2.248ZM16.765 10.941a1.059 1.059 0 0 0 0 2.118h3.176a1.059 1.059 0 1 0 0-2.118h-3.176Z"
|
|
928
|
+
})), _path3$4 || (_path3$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
929
|
+
fill: "#FFB65A",
|
|
930
|
+
d: "M12 3c.585 0 1.059.474 1.059 1.059v3.176a1.059 1.059 0 1 1-2.118 0V4.06C10.941 3.474 11.415 3 12 3ZM5.636 5.637a1.059 1.059 0 0 1 1.497 0l2.248 2.247a1.059 1.059 0 1 1-1.498 1.498L5.636 7.134a1.059 1.059 0 0 1 0-1.497ZM3 12c0-.585.474-1.059 1.059-1.059h3.176a1.059 1.059 0 1 1 0 2.118H4.06A1.059 1.059 0 0 1 3 12ZM18.362 7.134a1.059 1.059 0 1 0-1.497-1.497l-2.248 2.247a1.059 1.059 0 1 0 1.498 1.498l2.247-2.248Z"
|
|
910
931
|
})));
|
|
911
932
|
};
|
|
912
933
|
|
|
913
|
-
var
|
|
934
|
+
var _path$w, _path2$a, _path3$3;
|
|
914
935
|
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); }
|
|
915
936
|
var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
|
|
916
937
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
938
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
917
939
|
width: 24,
|
|
918
940
|
height: 24,
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
941
|
+
fill: "none"
|
|
942
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
943
|
+
fill: "#50BF95",
|
|
944
|
+
d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z",
|
|
923
945
|
opacity: 0.3
|
|
924
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
925
|
-
opacity: 0.3,
|
|
926
|
-
d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",
|
|
927
|
-
fill: "#50BF95"
|
|
928
|
-
}))), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
929
|
-
d: "M12.487 3.19652C8.68003 3.19652 5.59895 6.27761 5.59895 10.0846C5.59895 10.2597 5.59895 10.4348 5.62438 10.5855C5.29857 11.1863 4.82307 12.013 4.24678 12.514C3.82117 12.8897 3.92096 13.2908 3.97085 13.4405C4.09609 13.7663 4.44635 14.0413 5.02265 14.2418C5.22322 14.3172 5.44825 14.3671 5.64883 14.417L5.67427 16.8464C5.67427 17.7984 6.47559 18.6251 7.45304 18.6251L8.93044 18.1496L9.08111 19.0263C9.18091 19.6026 9.68185 20.0282 10.2836 20.0282C10.3589 20.0282 10.4343 20.0282 10.5086 20.0028L15.1424 19.177C15.8185 19.0517 16.2441 18.4256 16.1443 17.7495L15.8185 16.1214C17.9974 14.9189 19.375 12.5892 19.375 10.0845C19.375 6.30279 16.2696 3.19641 12.4869 3.19641L12.487 3.19652Z",
|
|
946
|
+
})), _path2$a || (_path2$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
930
947
|
fill: "#2B8473",
|
|
931
|
-
stroke: "#2B8473"
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
d: "M6.39343 10.7683V10.1215H8.06761V10.7683H6.39343Z",
|
|
936
|
-
fill: "#ECF4F2"
|
|
937
|
-
})), _path3$2 || (_path3$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
938
|
-
fillRule: "evenodd",
|
|
939
|
-
clipRule: "evenodd",
|
|
940
|
-
d: "M7.29937 13.6065L6.98608 13.0473L8.43487 12.1845L8.74815 12.7437L7.29937 13.6065Z",
|
|
941
|
-
fill: "#ECF4F2"
|
|
942
|
-
})), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
943
|
-
fillRule: "evenodd",
|
|
944
|
-
clipRule: "evenodd",
|
|
945
|
-
d: "M8.43609 8.70399L6.9873 7.84261L7.30059 7.28345L8.74937 8.14483L8.43609 8.70399Z",
|
|
946
|
-
fill: "#ECF4F2"
|
|
947
|
-
})), _path5 || (_path5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
948
|
-
fillRule: "evenodd",
|
|
949
|
-
clipRule: "evenodd",
|
|
950
|
-
d: "M16.6807 7.28345L16.994 7.84261L15.5452 8.70399L15.2319 8.14483L16.6807 7.28345Z",
|
|
951
|
-
fill: "#ECF4F2"
|
|
952
|
-
})), _path6 || (_path6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
953
|
-
fillRule: "evenodd",
|
|
954
|
-
clipRule: "evenodd",
|
|
955
|
-
d: "M11.677 4.68039H12.305V6.4046H11.677V4.68039Z",
|
|
956
|
-
fill: "#ECF4F2"
|
|
957
|
-
})), _path7 || (_path7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
958
|
-
fillRule: "evenodd",
|
|
959
|
-
clipRule: "evenodd",
|
|
960
|
-
d: "M9.46389 5.29071L10.3017 6.78279L9.75875 7.10544L8.92236 5.61336L9.46389 5.29071Z",
|
|
961
|
-
fill: "#ECF4F2"
|
|
962
|
-
})), _path8 || (_path8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
963
|
-
fillRule: "evenodd",
|
|
964
|
-
clipRule: "evenodd",
|
|
965
|
-
d: "M13.3026 12.9977V14.6227H12.7313L12.7328 15.2505H11.2486L11.2471 14.6227H10.6787V12.9977C9.80547 12.5057 9.24976 11.5524 9.24976 10.5246C9.24976 8.96969 10.4802 7.70245 11.99 7.70245C13.5025 7.70245 14.733 8.96969 14.733 10.5246C14.7316 11.5509 14.1745 12.5043 13.3027 12.9977H13.3026Z",
|
|
966
|
-
fill: "#ECF4F2"
|
|
967
|
-
})), _path9 || (_path9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
968
|
-
fillRule: "evenodd",
|
|
969
|
-
clipRule: "evenodd",
|
|
970
|
-
d: "M14.2243 7.10672L13.6814 6.78407L14.5178 5.29199L15.0607 5.61464L14.2243 7.10672Z",
|
|
971
|
-
fill: "#ECF4F2"
|
|
972
|
-
})), _path10 || (_path10 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
973
|
-
fillRule: "evenodd",
|
|
974
|
-
clipRule: "evenodd",
|
|
975
|
-
d: "M16.6807 13.6065L15.2319 12.7437L15.5452 12.1845L16.994 13.0474L16.6807 13.6065Z",
|
|
976
|
-
fill: "#ECF4F2"
|
|
977
|
-
})), _path11 || (_path11 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
948
|
+
stroke: "#2B8473",
|
|
949
|
+
d: "M12.487 3.197a6.884 6.884 0 0 0-6.888 6.888c0 .175 0 .35.025.5-.325.601-.8 1.428-1.377 1.929-.426.376-.326.777-.276.927.125.325.475.6 1.052.8.2.076.425.126.626.176l.025 2.43c0 .951.802 1.778 1.779 1.778l1.477-.475.151.876c.1.577.6 1.002 1.203 1.002.075 0 .15 0 .225-.025l4.633-.826c.677-.125 1.102-.751 1.002-1.427l-.325-1.629a6.923 6.923 0 0 0 3.556-6.036c0-3.782-3.105-6.889-6.888-6.889Z"
|
|
950
|
+
})), _path3$3 || (_path3$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
951
|
+
fill: "#ECF4F2",
|
|
978
952
|
fillRule: "evenodd",
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
fill: "#ECF4F2"
|
|
953
|
+
d: "M6.393 10.768v-.647h1.675v.647H6.393ZM7.3 13.607l-.314-.56 1.449-.863.313.56-1.449.863ZM8.436 8.704l-1.449-.861.314-.56 1.448.862-.313.559ZM16.68 7.283l.314.56-1.449.861-.313-.56 1.449-.86ZM11.677 4.68h.628v1.725h-.628V4.68ZM9.464 5.29l.838 1.493-.543.322-.837-1.492.542-.322ZM13.303 12.998v1.625h-.572l.002.628h-1.484l-.002-.628h-.568v-1.625a2.847 2.847 0 0 1-1.43-2.473c0-1.555 1.231-2.823 2.741-2.823 1.512 0 2.743 1.268 2.743 2.823a2.858 2.858 0 0 1-1.43 2.473ZM14.224 7.107l-.543-.323.837-1.492.543.323-.837 1.492ZM16.68 13.607l-1.448-.863.313-.56 1.449.863-.313.56ZM17.587 10.768h-1.675v-.646h1.675v.646Z",
|
|
954
|
+
clipRule: "evenodd"
|
|
982
955
|
})));
|
|
983
956
|
};
|
|
984
957
|
|
|
985
|
-
var
|
|
958
|
+
var _path$v, _path2$9;
|
|
986
959
|
function _extends$z() { _extends$z = 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$z.apply(this, arguments); }
|
|
987
960
|
var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
|
|
988
961
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
962
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
989
963
|
width: 24,
|
|
990
964
|
height: 24,
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
965
|
+
fill: "none"
|
|
966
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
967
|
+
fill: "#003A57",
|
|
968
|
+
d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z",
|
|
995
969
|
opacity: 0.3
|
|
996
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
997
|
-
|
|
998
|
-
d: "
|
|
999
|
-
fill: "#003A57"
|
|
1000
|
-
}))), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1001
|
-
d: "M17.9983 7.16705C17.5188 6.58566 17.1422 6.73039 17.1422 6.73039C17.1422 6.73039 16.406 7.02453 16.0401 7.16303C15.6742 7.30153 15.2408 7.17357 15.2408 7.17357L14.7579 6.8851C14.7579 6.8851 14.4296 6.56554 14.3656 6.18067C14.3123 5.78958 14.1888 5.00269 14.1888 5.00269C14.1888 5.00269 14.1356 4.61159 13.3938 4.47257C12.652 4.33356 12.4678 4.68715 12.4678 4.68715C12.4678 4.68715 12.0932 5.38344 11.9091 5.73703C11.7249 6.09062 11.3114 6.27118 11.3114 6.27118L10.7639 6.36908C10.7639 6.36908 10.3144 6.33771 10.0176 6.07271L9.12712 5.27769C9.12712 5.27769 8.8303 5.01268 8.18313 5.38632C7.53595 5.75997 7.61705 6.14953 7.61705 6.14953L7.86033 7.3182C7.94143 7.70776 7.74381 8.11275 7.74381 8.11275L7.38528 8.53794C7.38528 8.53794 7.02217 8.80577 6.62387 8.78845C6.22557 8.77114 5.43527 8.7474 5.43527 8.7474C5.43527 8.7474 5.03697 8.73009 4.78646 9.44201C4.53595 10.1539 4.84804 10.3956 4.84804 10.3956C4.84804 10.3956 5.46774 10.896 5.77983 11.1376C6.09192 11.3793 6.19373 11.8296 6.19373 11.8296L6.20207 12.3921C6.20207 12.3921 6.09618 12.8314 5.79331 13.079C5.49043 13.3266 4.86759 13.8171 4.86759 13.8171C4.86759 13.8171 4.56471 14.0647 4.81769 14.7769C5.08144 15.4828 5.46713 15.4783 5.46713 15.4783C5.46713 15.4783 6.26012 15.4569 6.64582 15.4524C7.03152 15.4479 7.40116 15.7145 7.40116 15.7145L7.76458 16.1447C7.76458 16.1447 7.96976 16.5499 7.89441 16.9425C7.81907 17.3351 7.66208 18.1094 7.66208 18.1094C7.66208 18.1094 7.58674 18.502 8.23785 18.8824C8.88895 19.2629 9.18553 19.0044 9.18553 19.0044C9.18553 19.0044 9.7724 18.4765 10.069 18.218C10.3655 17.9595 10.8115 17.9347 10.8115 17.9347L11.3609 18.0394C11.3609 18.0394 11.77 18.225 11.9608 18.5803C12.1516 18.9356 12.5268 19.6354 12.5268 19.6354C12.5268 19.6354 12.7176 19.9907 13.4583 19.8539C14.1946 19.7343 14.2529 19.337 14.2529 19.337C14.2529 19.337 14.3586 18.5487 14.4232 18.1623C14.4814 17.765 14.8086 17.4598 14.8086 17.4598L15.2939 17.1796C15.2939 17.1796 15.7281 17.0598 16.095 17.1971C16.4682 17.3453 17.1975 17.637 17.1975 17.637C17.1975 17.637 17.5707 17.7851 18.0424 17.2073C18.5142 16.6295 18.3189 16.2913 18.3189 16.2913C18.3189 16.2913 17.9006 15.6164 17.6882 15.2736C17.4759 14.9307 17.5197 14.4836 17.5197 14.4836L17.7038 13.9555C17.7038 13.9555 17.9482 13.5816 18.3203 13.454C18.6925 13.3264 19.4431 13.0822 19.4431 13.0822C19.4431 13.0822 19.8153 12.9546 19.8113 12.2005C19.8074 11.4464 19.4297 11.3153 19.4297 11.3153C19.4297 11.3153 18.6807 11.0641 18.303 10.9331C17.9253 10.802 17.677 10.4217 17.677 10.4217L17.4861 9.8919C17.4861 9.8919 17.4293 9.4447 17.6368 9.1067C17.8443 8.7687 18.2486 8.09891 18.2486 8.09891C18.2486 8.09891 18.4778 7.74844 17.9983 7.16707L17.9983 7.16705ZM9.33902 8.38466L10.6176 10.5992C10.0433 11.149 9.82793 11.9715 10.0567 12.7413L7.86713 14.0054C6.98868 12.0106 7.60355 9.66286 9.33905 8.38457L9.33902 8.38466ZM13.9748 16.414C11.9998 17.2778 9.65918 16.6363 8.37099 14.8783L10.5605 13.6141C11.1128 14.1971 11.9329 14.4219 12.6961 14.1994L13.9748 16.414ZM12.6552 13.132C12.1159 13.4434 11.4325 13.2561 11.1176 12.7107C10.8027 12.1652 10.9822 11.4797 11.5215 11.1684C12.0608 10.857 12.7441 11.0443 13.0591 11.5897C13.374 12.1352 13.1945 12.8207 12.6552 13.132ZM14.8376 15.9158L13.5591 13.7012C14.1333 13.1515 14.3487 12.3289 14.12 11.5591L16.3095 10.295C17.188 12.2898 16.5731 14.6376 14.8376 15.9159L14.8376 15.9158ZM13.6161 10.6863C13.0638 10.1034 12.2437 9.87862 11.4805 10.1011L10.2019 7.88652C12.1769 7.02266 14.5112 7.65314 15.8057 9.42223L13.6161 10.6863Z",
|
|
1002
|
-
fill: "#003A57"
|
|
970
|
+
})), _path2$9 || (_path2$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
971
|
+
fill: "#003A57",
|
|
972
|
+
d: "M17.998 7.167c-.48-.581-.856-.437-.856-.437s-.736.295-1.102.433c-.366.139-.8.01-.8.01l-.482-.288s-.328-.32-.392-.704c-.054-.391-.177-1.178-.177-1.178s-.053-.391-.795-.53c-.742-.14-.926.214-.926.214s-.375.696-.559 1.05c-.184.354-.598.534-.598.534l-.547.098s-.45-.031-.746-.296l-.89-.795s-.298-.265-.945.108c-.647.374-.566.764-.566.764l.243 1.168c.081.39-.116.795-.116.795l-.359.425s-.363.268-.761.25c-.398-.017-1.189-.04-1.189-.04s-.398-.018-.649.694c-.25.712.062.954.062.954s.62.5.932.742c.312.241.414.692.414.692l.008.562s-.106.44-.409.687c-.303.248-.925.738-.925.738s-.303.248-.05.96c.263.706.65.701.65.701s.792-.021 1.178-.026c.386-.004.755.262.755.262l.364.43s.205.406.13.799c-.076.392-.233 1.166-.233 1.166s-.075.393.576.773c.65.38.948.122.948.122s.586-.527.883-.786c.296-.259.742-.283.742-.283l.55.104s.409.186.6.541l.566 1.055s.19.356.931.219c.737-.12.795-.517.795-.517s.106-.788.17-1.175c.058-.397.386-.702.386-.702l.485-.28s.434-.12.801.017l1.103.44s.373.148.844-.43c.472-.578.277-.916.277-.916l-.63-1.017c-.213-.343-.17-.79-.17-.79l.185-.528s.244-.374.616-.502 1.123-.372 1.123-.372.372-.127.368-.882c-.004-.754-.381-.885-.381-.885s-.75-.25-1.127-.382c-.378-.131-.626-.511-.626-.511l-.19-.53s-.058-.447.15-.785c.207-.338.612-1.008.612-1.008s.229-.35-.25-.932ZM9.34 8.385l1.279 2.214a2.12 2.12 0 0 0-.561 2.142l-2.19 1.264c-.878-1.994-.263-4.342 1.472-5.62Zm4.636 8.029c-1.975.864-4.316.222-5.604-1.536l2.19-1.264a2.12 2.12 0 0 0 2.135.585l1.279 2.215Zm-1.32-3.282a1.123 1.123 0 0 1-1.537-.421 1.123 1.123 0 0 1 .403-1.543 1.123 1.123 0 0 1 1.538.422 1.123 1.123 0 0 1-.404 1.542Zm2.183 2.784L13.559 13.7a2.12 2.12 0 0 0 .561-2.142l2.19-1.264c.878 1.995.263 4.343-1.472 5.62Zm-1.222-5.23a2.12 2.12 0 0 0-2.136-.585l-1.278-2.214c1.975-.864 4.31-.234 5.604 1.535l-2.19 1.264Z"
|
|
1003
973
|
})));
|
|
1004
974
|
};
|
|
1005
975
|
|
|
@@ -1084,7 +1054,7 @@ const Label$2 = styled__default["default"](SM) `
|
|
|
1084
1054
|
color: ${({ theme }) => theme.palette.grey[500]};
|
|
1085
1055
|
`;
|
|
1086
1056
|
const Title$2 = styled__default["default"](LG) `
|
|
1087
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
1057
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
1088
1058
|
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
1089
1059
|
margin-top: ${({ theme }) => theme.space.xxs};
|
|
1090
1060
|
`;
|
|
@@ -1137,7 +1107,6 @@ const CardFooter = (props) => (jsxRuntime.jsxs(Footer$3, { children: [!props.noD
|
|
|
1137
1107
|
const UgContentCard = styled__default["default"](reactNotifications.Well) `
|
|
1138
1108
|
border-radius: ${({ theme }) => theme.borderRadii.lg};
|
|
1139
1109
|
padding: ${({ theme }) => `${theme.space.sm} ${theme.space.base * 4}px`};
|
|
1140
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
1141
1110
|
height: 100%;
|
|
1142
1111
|
display: flex;
|
|
1143
1112
|
flex-direction: column;
|
|
@@ -1154,6 +1123,7 @@ const UgContentCard = styled__default["default"](reactNotifications.Well) `
|
|
|
1154
1123
|
pointer-events: none;
|
|
1155
1124
|
opacity: 0.7;
|
|
1156
1125
|
`}
|
|
1126
|
+
${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
|
|
1157
1127
|
`;
|
|
1158
1128
|
/**
|
|
1159
1129
|
* A SpecialCard is a spefic type of card with an opinionated set of default spaces and subcomponents order.
|
|
@@ -1229,7 +1199,7 @@ const StyledTagNew = styled__default["default"](Tag) `
|
|
|
1229
1199
|
`;
|
|
1230
1200
|
const ProductCard = (props) => {
|
|
1231
1201
|
const { isNew, productTitle, labelNew } = props;
|
|
1232
|
-
return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: productTitle }, props, { children: [jsxRuntime.jsx(SpecialCard.Meta, { children: isNew && (jsxRuntime.jsx(StyledTagNew, Object.assign({ hue: theme.palette.fuschia["600"], isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" }))) }), props.icon && jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ align: "center" }, { children: props.icon })), jsxRuntime.jsxs(SpecialCard.Header, Object.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, Object.assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(Button, Object.assign({ isPill: true, isPrimary: true, onClick: props.onCtaClick,
|
|
1202
|
+
return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: productTitle }, props, { children: [jsxRuntime.jsx(SpecialCard.Meta, { children: isNew && (jsxRuntime.jsx(StyledTagNew, Object.assign({ hue: theme.palette.fuschia["600"], isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" }))) }), props.icon && jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ align: "center" }, { children: props.icon })), jsxRuntime.jsxs(SpecialCard.Header, Object.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, Object.assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(Button, Object.assign({ isPill: true, isPrimary: true, onClick: props.onCtaClick, isAccent: true, size: "small" }, { children: props.ctaLabel })) }))] })));
|
|
1233
1203
|
};
|
|
1234
1204
|
|
|
1235
1205
|
const ServiceSubtitle = styled__default["default"](SM) `
|
|
@@ -1330,27 +1300,27 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1330
1300
|
annotations: {
|
|
1331
1301
|
text: {
|
|
1332
1302
|
fontSize: Number(theme.fontSizes.sm),
|
|
1333
|
-
fill: theme.colors.primaryHue,
|
|
1303
|
+
fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1334
1304
|
outlineWidth: 2,
|
|
1335
1305
|
outlineColor: theme.palette.white,
|
|
1336
1306
|
outlineOpacity: 1,
|
|
1337
1307
|
},
|
|
1338
1308
|
link: {
|
|
1339
|
-
stroke: theme.colors.primaryHue,
|
|
1309
|
+
stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1340
1310
|
strokeWidth: 1,
|
|
1341
1311
|
outlineWidth: 2,
|
|
1342
1312
|
outlineColor: theme.palette.white,
|
|
1343
1313
|
outlineOpacity: 1,
|
|
1344
1314
|
},
|
|
1345
1315
|
outline: {
|
|
1346
|
-
stroke: theme.colors.primaryHue,
|
|
1316
|
+
stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1347
1317
|
strokeWidth: 2,
|
|
1348
1318
|
outlineWidth: 2,
|
|
1349
1319
|
outlineColor: theme.palette.white,
|
|
1350
1320
|
outlineOpacity: 1,
|
|
1351
1321
|
},
|
|
1352
1322
|
symbol: {
|
|
1353
|
-
fill: theme.colors.primaryHue,
|
|
1323
|
+
fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1354
1324
|
outlineWidth: 2,
|
|
1355
1325
|
outlineColor: theme.palette.white,
|
|
1356
1326
|
outlineOpacity: 1,
|
|
@@ -1449,7 +1419,7 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1449
1419
|
tooltip: {
|
|
1450
1420
|
container: {
|
|
1451
1421
|
background: theme.palette.white,
|
|
1452
|
-
color: theme.colors.primaryHue,
|
|
1422
|
+
color: getColor(theme.colors.primaryHue, 600),
|
|
1453
1423
|
fontSize: Number(theme.fontSizes.sm),
|
|
1454
1424
|
},
|
|
1455
1425
|
basic: {},
|
|
@@ -1460,12 +1430,6 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1460
1430
|
},
|
|
1461
1431
|
};
|
|
1462
1432
|
const CHARTS_COLOR_PALETTE = {
|
|
1463
|
-
darkPine: "#02807A",
|
|
1464
|
-
lightGrey: theme.palette.grey[200],
|
|
1465
|
-
darkGrey: theme.palette.grey[600],
|
|
1466
|
-
mattone: "#800208",
|
|
1467
|
-
gubbioLight: "#C78430",
|
|
1468
|
-
blueRoyal: "#024780",
|
|
1469
1433
|
greenLight: "#5FA41C",
|
|
1470
1434
|
blue: "#020880",
|
|
1471
1435
|
fucsia: "#CE2A7A",
|
|
@@ -1474,42 +1438,23 @@ const CHARTS_COLOR_PALETTE = {
|
|
|
1474
1438
|
sky: "#3392CE",
|
|
1475
1439
|
};
|
|
1476
1440
|
const CHARTS_COLOR_SCHEME_MONO = [
|
|
1477
|
-
|
|
1478
|
-
|
|
1441
|
+
theme.palette.teal[700],
|
|
1442
|
+
theme.palette.grey[200],
|
|
1479
1443
|
];
|
|
1480
1444
|
[
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1445
|
+
theme.palette.red[900],
|
|
1446
|
+
theme.palette.yellow[700],
|
|
1447
|
+
theme.palette.azure[900],
|
|
1448
|
+
theme.palette.teal[700],
|
|
1449
|
+
theme.palette.grey[200]
|
|
1486
1450
|
];
|
|
1487
|
-
[
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
]
|
|
1494
|
-
const CHARTS_COLOR_SCHEME_CATEGORICAL_8_A = [
|
|
1495
|
-
CHARTS_COLOR_PALETTE.darkPine,
|
|
1496
|
-
CHARTS_COLOR_PALETTE.fucsia,
|
|
1497
|
-
CHARTS_COLOR_PALETTE.violet,
|
|
1498
|
-
CHARTS_COLOR_PALETTE.greenLight,
|
|
1499
|
-
CHARTS_COLOR_PALETTE.mattone,
|
|
1500
|
-
CHARTS_COLOR_PALETTE.sky,
|
|
1501
|
-
CHARTS_COLOR_PALETTE.orchidea,
|
|
1502
|
-
CHARTS_COLOR_PALETTE.blue, // Blue 900
|
|
1503
|
-
];
|
|
1504
|
-
[
|
|
1505
|
-
CHARTS_COLOR_PALETTE.sky,
|
|
1506
|
-
CHARTS_COLOR_PALETTE.orchidea,
|
|
1507
|
-
CHARTS_COLOR_PALETTE.blue,
|
|
1508
|
-
CHARTS_COLOR_PALETTE.darkPine,
|
|
1509
|
-
CHARTS_COLOR_PALETTE.fucsia,
|
|
1510
|
-
CHARTS_COLOR_PALETTE.violet,
|
|
1511
|
-
CHARTS_COLOR_PALETTE.greenLight,
|
|
1512
|
-
CHARTS_COLOR_PALETTE.mattone, // Mattone 900
|
|
1451
|
+
const CHARTS_COLOR_SCHEME_CATEGORICAL = [
|
|
1452
|
+
theme.palette.teal[700],
|
|
1453
|
+
theme.palette.pink[900],
|
|
1454
|
+
theme.palette.purple[300],
|
|
1455
|
+
theme.palette.crimson[500],
|
|
1456
|
+
theme.palette.royal[900],
|
|
1457
|
+
theme.palette.lemon[700],
|
|
1513
1458
|
];
|
|
1514
1459
|
|
|
1515
1460
|
const ChartContainer = styled__default["default"].div `
|
|
@@ -1568,7 +1513,7 @@ const DEFAULT_CHART_MARGINS = { top: 0, right: 0, bottom: 30, left: 30 };
|
|
|
1568
1513
|
const BarChart = ({ data, width, height, padding, margin, axisLeftLabel, axisBottomLabel, colors, tooltip, legend, }) => {
|
|
1569
1514
|
const theme = React.useContext(styled.ThemeContext);
|
|
1570
1515
|
const keys = [...new Set(data.map(({ keys }) => Object.keys(keys)).flat())];
|
|
1571
|
-
const actualColors = colors !== null && colors !== void 0 ? colors :
|
|
1516
|
+
const actualColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
|
|
1572
1517
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: height }, { children: jsxRuntime.jsx(bar.ResponsiveBar, Object.assign({ data: data.map((d) => {
|
|
1573
1518
|
const { keys } = d, rest = __rest(d, ["keys"]);
|
|
1574
1519
|
return Object.assign(Object.assign({}, rest), keys);
|
|
@@ -1627,7 +1572,7 @@ const CustomBulletChartMarkers = ({ x, y, size, animatedProps: { color, transfor
|
|
|
1627
1572
|
return (jsxRuntime.jsx(web.animated.circle, { transform: transform, cx: x, cy: y, fill: color, stroke: color, r: size }));
|
|
1628
1573
|
};
|
|
1629
1574
|
|
|
1630
|
-
const CustomMeasure = ({ x, y, width, height }) => (jsxRuntime.jsx(web.animated.rect, { x: x + 2, y: y + 2, width: width - 4, height: height - 4, fill:
|
|
1575
|
+
const CustomMeasure = ({ x, y, width, height }) => (jsxRuntime.jsx(web.animated.rect, { x: x + 2, y: y + 2, width: width - 4, height: height - 4, fill: theme.palette.grey[600] }));
|
|
1631
1576
|
|
|
1632
1577
|
const CustomTooltip = ({ v0, v1, color }) => {
|
|
1633
1578
|
return (jsxRuntime.jsx(tooltip.BasicTooltip, { id: v1 ? (jsxRuntime.jsxs("span", { children: [jsxRuntime.jsx("strong", { children: v0 }), "-", jsxRuntime.jsx("strong", { children: v1 }), "%"] })) : (jsxRuntime.jsx("strong", { children: v0 })), enableChip: true, color: color }));
|
|
@@ -1638,7 +1583,7 @@ const UgBulletChart = styled__default["default"](bullet.ResponsiveBullet) `
|
|
|
1638
1583
|
height: 100%;
|
|
1639
1584
|
`;
|
|
1640
1585
|
const BulletChart = ({ width, height, ranges, values }) => {
|
|
1641
|
-
return (jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: height }, { children: jsxRuntime.jsx("div", Object.assign({ style: { width: "100%", height: height } }, { children: jsxRuntime.jsx(UgBulletChart, {
|
|
1586
|
+
return (jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: height }, { children: jsxRuntime.jsx("div", Object.assign({ style: { width: "100%", height: height } }, { children: jsxRuntime.jsx(UgBulletChart, { data: [
|
|
1642
1587
|
{
|
|
1643
1588
|
id: "",
|
|
1644
1589
|
title: "",
|
|
@@ -1646,10 +1591,10 @@ const BulletChart = ({ width, height, ranges, values }) => {
|
|
|
1646
1591
|
measures: values,
|
|
1647
1592
|
markers: values,
|
|
1648
1593
|
},
|
|
1649
|
-
], animate: false, measureComponent: CustomMeasure, markerColors:
|
|
1594
|
+
], animate: false, measureComponent: CustomMeasure, markerColors: theme.palette.teal[700], markerComponent: (_a) => {
|
|
1650
1595
|
var markerProps = __rest(_a, ["size"]);
|
|
1651
1596
|
return (jsxRuntime.jsx(CustomBulletChartMarkers, Object.assign({}, markerProps, { size: 4 })));
|
|
1652
|
-
}, tooltip: CustomTooltip, rangeColors:
|
|
1597
|
+
}, tooltip: CustomTooltip, rangeColors: theme.palette.grey[200], rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 5, bottom: -1, left: 0 } }) })) })));
|
|
1653
1598
|
};
|
|
1654
1599
|
|
|
1655
1600
|
const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeMultiplier, }) => {
|
|
@@ -1670,7 +1615,7 @@ const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeM
|
|
|
1670
1615
|
const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tooltip, legend, arcLinkLabelsSkipAngle, labelFormatter, }) => {
|
|
1671
1616
|
var _a;
|
|
1672
1617
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1673
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: height }, { children: jsxRuntime.jsx(pie.ResponsivePie, { theme: Object.assign({}, Object.assign(Object.assign(Object.assign({}, DEFAULT_CHARTS_THEME), theme), { labels: Object.assign(Object.assign({}, theme === null || theme === void 0 ? void 0 : theme.labels), { text: Object.assign({ fontWeight: themeContext.fontWeights.semibold, fill: themeContext.palette.grey[800] }, (_a = theme === null || theme === void 0 ? void 0 : theme.labels) === null || _a === void 0 ? void 0 : _a.text) }) })), colors: colors !== null && colors !== void 0 ? colors :
|
|
1618
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: height }, { children: jsxRuntime.jsx(pie.ResponsivePie, { theme: Object.assign({}, Object.assign(Object.assign(Object.assign({}, DEFAULT_CHARTS_THEME), theme), { labels: Object.assign(Object.assign({}, theme === null || theme === void 0 ? void 0 : theme.labels), { text: Object.assign({ fontWeight: themeContext.fontWeights.semibold, fill: themeContext.palette.grey[800] }, (_a = theme === null || theme === void 0 ? void 0 : theme.labels) === null || _a === void 0 ? void 0 : _a.text) }) })), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, enableArcLabels: false, arcLinkLabelsColor: { from: "color" }, arcLinkLabelsSkipAngle: arcLinkLabelsSkipAngle !== null && arcLinkLabelsSkipAngle !== void 0 ? arcLinkLabelsSkipAngle : 10, arcLinkLabelsThickness: 2, arcLinkLabel: (d) => labelFormatter
|
|
1674
1619
|
? labelFormatter({
|
|
1675
1620
|
label: d.label,
|
|
1676
1621
|
id: d.id,
|
|
@@ -1694,7 +1639,7 @@ const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tool
|
|
|
1694
1639
|
(props) => (jsxRuntime.jsx(CenteredItem, Object.assign({}, props, { theme: themeContext, label: centerItem.label, value: centerItem.value, fontSizeMultiplier: centerItem.fontSizeMultiplier }))),
|
|
1695
1640
|
]
|
|
1696
1641
|
: []),
|
|
1697
|
-
], activeOuterRadiusOffset: 12 }) })), jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: "auto" }, { children: legend ? (jsxRuntime.jsx(Legend, Object.assign({ colors: colors !== null && colors !== void 0 ? colors :
|
|
1642
|
+
], activeOuterRadiusOffset: 12 }) })), jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: "auto" }, { children: legend ? (jsxRuntime.jsx(Legend, Object.assign({ colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, data: data.map((d) => labelFormatter
|
|
1698
1643
|
? labelFormatter({
|
|
1699
1644
|
label: d.label,
|
|
1700
1645
|
id: d.id,
|
|
@@ -1716,7 +1661,7 @@ const AbsoluteChartContainer = styled__default["default"](ChartContainer) `
|
|
|
1716
1661
|
`;
|
|
1717
1662
|
const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }) => {
|
|
1718
1663
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1719
|
-
return (jsxRuntime.jsx(AbsoluteChartContainer, Object.assign({ mode: mode, height: height }, { children: jsxRuntime.jsx(pie.ResponsivePie, { theme: Object.assign(Object.assign(Object.assign({}, DEFAULT_CHARTS_THEME), theme), { background: mode === "front" ? "transparent" : undefined }), colors: colors !== null && colors !== void 0 ? colors :
|
|
1664
|
+
return (jsxRuntime.jsx(AbsoluteChartContainer, Object.assign({ mode: mode, height: height }, { children: jsxRuntime.jsx(pie.ResponsivePie, { theme: Object.assign(Object.assign(Object.assign({}, DEFAULT_CHARTS_THEME), theme), { background: mode === "front" ? "transparent" : undefined }), colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, 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: [
|
|
1720
1665
|
"arcs",
|
|
1721
1666
|
...(showArcLinks
|
|
1722
1667
|
? ["arcLabels", "arcLinkLabels"]
|
|
@@ -1726,7 +1671,7 @@ const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMo
|
|
|
1726
1671
|
|
|
1727
1672
|
const HalfPieChart = ({ theme, colors, width, height, data, margin, showArcLinks, }) => {
|
|
1728
1673
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1729
|
-
const activeColors = colors !== null && colors !== void 0 ? colors :
|
|
1674
|
+
const activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
|
|
1730
1675
|
while (activeColors.length < data.length) {
|
|
1731
1676
|
activeColors.push(...activeColors);
|
|
1732
1677
|
}
|
|
@@ -1803,7 +1748,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1803
1748
|
padding: 0,
|
|
1804
1749
|
} }) }) : DEFAULT_CHARTS_THEME, colors: currentColor
|
|
1805
1750
|
? () => currentColor
|
|
1806
|
-
: colors !== null && colors !== void 0 ? colors :
|
|
1751
|
+
: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, borderWidth: 4, cornerRadius: 4, onMouseEnter: (node) => {
|
|
1807
1752
|
if (node.data.children) {
|
|
1808
1753
|
setIsHovering(true);
|
|
1809
1754
|
}
|
|
@@ -1833,7 +1778,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1833
1778
|
} })),
|
|
1834
1779
|
]
|
|
1835
1780
|
: []),
|
|
1836
|
-
], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.
|
|
1781
|
+
], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.6]] }, onClick: (clickedData) => {
|
|
1837
1782
|
const foundObject = findChildrenByName(currentData, clickedData.id.toString());
|
|
1838
1783
|
if (foundObject && foundObject.children) {
|
|
1839
1784
|
changeDataSlice({
|
|
@@ -1841,7 +1786,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1841
1786
|
color: clickedData.color,
|
|
1842
1787
|
});
|
|
1843
1788
|
}
|
|
1844
|
-
} }) })), jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: "auto" }, { children: legend ? (jsxRuntime.jsx(Legend, Object.assign({ colors: colors !== null && colors !== void 0 ? colors :
|
|
1789
|
+
} }) })), jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: "auto" }, { children: legend ? (jsxRuntime.jsx(Legend, Object.assign({ colors: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, data: data.children.map((d) => d.label || d.name) }, (typeof legend === "object" && legend)))) : undefined }))] }));
|
|
1845
1790
|
};
|
|
1846
1791
|
|
|
1847
1792
|
const CustomCell = ({ position, size, x, y, color, fill, opacity, borderWidth, borderColor, data, onHover, onLeave, onClick, }) => (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: event => {
|
|
@@ -2050,11 +1995,11 @@ Dropdown.Separator = Separator;
|
|
|
2050
1995
|
const StyledAutocomplete = styled__default["default"](Autocomplete) `
|
|
2051
1996
|
${(props) => props.hasSelectedItems &&
|
|
2052
1997
|
`
|
|
2053
|
-
border-color: ${
|
|
2054
|
-
background-color: ${
|
|
1998
|
+
border-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
1999
|
+
background-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
2055
2000
|
color: white;
|
|
2056
2001
|
& > input, & > svg {
|
|
2057
|
-
color: white;
|
|
2002
|
+
color: ${props.theme.palette.white};
|
|
2058
2003
|
}
|
|
2059
2004
|
`}
|
|
2060
2005
|
`;
|
|
@@ -2345,31 +2290,27 @@ const editorStyle = styled.css `
|
|
|
2345
2290
|
}
|
|
2346
2291
|
`;
|
|
2347
2292
|
|
|
2348
|
-
var _path$
|
|
2293
|
+
var _path$u;
|
|
2349
2294
|
function _extends$y() { _extends$y = 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$y.apply(this, arguments); }
|
|
2350
2295
|
var SvgBoldFill = function SvgBoldFill(props) {
|
|
2351
2296
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
2352
2297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2353
2298
|
width: 16,
|
|
2354
|
-
height: 16
|
|
2355
|
-
|
|
2356
|
-
viewBox: "0 0 16 16"
|
|
2357
|
-
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2299
|
+
height: 16
|
|
2300
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2358
2301
|
fill: "currentColor",
|
|
2359
|
-
d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0
|
|
2302
|
+
d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0 0 1-1.27 3.108C12.078 8.39 13 9.855 13 11.5c0 2.452-2.048 4.5-4.5 4.5H4a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h3.5zM5 14h3.5c1.348 0 2.5-1.152 2.5-2.5S9.848 9 8.5 9H5v5zM7.5 2H5v5h2.5C8.848 7 10 5.848 10 4.5S8.848 2 7.5 2z"
|
|
2360
2303
|
})));
|
|
2361
2304
|
};
|
|
2362
2305
|
|
|
2363
|
-
var _path$
|
|
2306
|
+
var _path$t;
|
|
2364
2307
|
function _extends$x() { _extends$x = 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$x.apply(this, arguments); }
|
|
2365
2308
|
var SvgItalicFill = function SvgItalicFill(props) {
|
|
2366
2309
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
2367
2310
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2368
2311
|
width: 16,
|
|
2369
|
-
height: 16
|
|
2370
|
-
|
|
2371
|
-
viewBox: "0 0 16 16"
|
|
2372
|
-
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2312
|
+
height: 16
|
|
2313
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2373
2314
|
fill: "none",
|
|
2374
2315
|
stroke: "currentColor",
|
|
2375
2316
|
strokeLinecap: "round",
|
|
@@ -2378,19 +2319,17 @@ var SvgItalicFill = function SvgItalicFill(props) {
|
|
|
2378
2319
|
})));
|
|
2379
2320
|
};
|
|
2380
2321
|
|
|
2381
|
-
var _path$
|
|
2322
|
+
var _path$s, _path2$8;
|
|
2382
2323
|
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); }
|
|
2383
2324
|
var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
2384
2325
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
2385
2326
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2386
2327
|
width: 16,
|
|
2387
|
-
height: 16
|
|
2388
|
-
|
|
2389
|
-
viewBox: "0 0 16 16"
|
|
2390
|
-
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2328
|
+
height: 16
|
|
2329
|
+
}, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2391
2330
|
fill: "currentColor",
|
|
2392
2331
|
d: "M7 8H4c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1zm6 0h-3c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1z"
|
|
2393
|
-
})), _path2$
|
|
2332
|
+
})), _path2$8 || (_path2$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2394
2333
|
fill: "none",
|
|
2395
2334
|
stroke: "currentColor",
|
|
2396
2335
|
strokeLinecap: "round",
|
|
@@ -2399,94 +2338,70 @@ var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
|
2399
2338
|
})));
|
|
2400
2339
|
};
|
|
2401
2340
|
|
|
2402
|
-
var
|
|
2341
|
+
var _path$r, _path2$7, _path3$2;
|
|
2403
2342
|
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); }
|
|
2404
2343
|
var SvgH1Fill = function SvgH1Fill(props) {
|
|
2405
2344
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
2406
2345
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2407
2346
|
width: 16,
|
|
2408
|
-
height: 16
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2414
|
-
width: 16,
|
|
2415
|
-
height: 16,
|
|
2416
|
-
transform: "translate(464 332)",
|
|
2417
|
-
fill: "none"
|
|
2418
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2419
|
-
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2420
|
-
transform: "translate(462 333.5)",
|
|
2347
|
+
height: 16
|
|
2348
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2349
|
+
fill: "none",
|
|
2350
|
+
d: "M0 0h16v16H0z"
|
|
2351
|
+
})), _path2$7 || (_path2$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2421
2352
|
fill: "none",
|
|
2422
2353
|
stroke: "currentColor",
|
|
2423
2354
|
strokeLinecap: "round",
|
|
2424
|
-
strokeWidth: 2
|
|
2425
|
-
|
|
2355
|
+
strokeWidth: 2,
|
|
2356
|
+
d: "M1 2.5v11.273M9.052 2.5v11.273M1 8.136h8.052"
|
|
2357
|
+
})), _path3$2 || (_path3$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2426
2358
|
fill: "currentColor",
|
|
2427
|
-
d: "
|
|
2428
|
-
|
|
2429
|
-
}))));
|
|
2359
|
+
d: "M12.224 14a.731.731 0 0 1-.755-.625.7.7 0 0 1 .617-.739l.136-.011h.757V5.346l-.22.2a.81.81 0 0 1-1.018.043.646.646 0 0 1-.137-.92l.086-.1L13.2 3.2l.063-.051.094-.058.091-.041.094-.028.082-.016.045-.006h.082a.734.734 0 0 1 .094.007L13.734 3h.08l.113.019.1.028.115.055.083.055.044.043.056.056.063.085.045.082.03.085.023.113v9h.755a.731.731 0 0 1 .753.625.7.7 0 0 1-.617.739l-.133.015Z"
|
|
2360
|
+
})));
|
|
2430
2361
|
};
|
|
2431
2362
|
|
|
2432
|
-
var
|
|
2363
|
+
var _path$q, _path2$6, _path3$1;
|
|
2433
2364
|
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); }
|
|
2434
2365
|
var SvgH2Fill = function SvgH2Fill(props) {
|
|
2435
2366
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
2436
2367
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2437
2368
|
width: 16,
|
|
2438
|
-
height: 16
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2444
|
-
width: 16,
|
|
2445
|
-
height: 16,
|
|
2446
|
-
transform: "translate(464 332)",
|
|
2447
|
-
fill: "none"
|
|
2448
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2449
|
-
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2450
|
-
transform: "translate(462 333.5)",
|
|
2369
|
+
height: 16
|
|
2370
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2371
|
+
fill: "none",
|
|
2372
|
+
d: "M0 0h16v16H0z"
|
|
2373
|
+
})), _path2$6 || (_path2$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2451
2374
|
fill: "none",
|
|
2452
2375
|
stroke: "currentColor",
|
|
2453
2376
|
strokeLinecap: "round",
|
|
2454
|
-
strokeWidth: 2
|
|
2455
|
-
|
|
2377
|
+
strokeWidth: 2,
|
|
2378
|
+
d: "M1 2.5v11.273M9.052 2.5v11.273M1 8.136h8.052"
|
|
2379
|
+
})), _path3$1 || (_path3$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2456
2380
|
fill: "currentColor",
|
|
2457
|
-
d: "
|
|
2458
|
-
|
|
2459
|
-
}))));
|
|
2381
|
+
d: "M10.859 5.75a2.576 2.576 0 1 1 5.141 0 4.961 4.961 0 0 1-1.1 3l-.256.348-1 1.291a8.564 8.564 0 0 0-1.222 2.047l-.071.191h3.008a.656.656 0 0 1 .632.564l.01.124a.677.677 0 0 1-.527.676l-.115.009h-3.857a.627.627 0 0 1-.5-.252.723.723 0 0 1-.133-.57 8.183 8.183 0 0 1 1.753-3.637l.977-1.249.085-.111a3.975 3.975 0 0 0 1.03-2.431 1.288 1.288 0 1 0-2.57 0 .644.644 0 1 1-1.285 0Z"
|
|
2382
|
+
})));
|
|
2460
2383
|
};
|
|
2461
2384
|
|
|
2462
|
-
var
|
|
2385
|
+
var _path$p, _path2$5, _path3;
|
|
2463
2386
|
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); }
|
|
2464
2387
|
var SvgH3Fill = function SvgH3Fill(props) {
|
|
2465
2388
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
2466
2389
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2467
2390
|
width: 16,
|
|
2468
|
-
height: 16
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2474
|
-
width: 16,
|
|
2475
|
-
height: 16,
|
|
2476
|
-
transform: "translate(464 332)",
|
|
2477
|
-
fill: "none"
|
|
2478
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2479
|
-
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2480
|
-
transform: "translate(462 333.5)",
|
|
2391
|
+
height: 16
|
|
2392
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2393
|
+
fill: "none",
|
|
2394
|
+
d: "M0 0h16v16H0z"
|
|
2395
|
+
})), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2481
2396
|
fill: "none",
|
|
2482
2397
|
stroke: "currentColor",
|
|
2483
2398
|
strokeLinecap: "round",
|
|
2484
|
-
strokeWidth: 2
|
|
2485
|
-
|
|
2399
|
+
strokeWidth: 2,
|
|
2400
|
+
d: "M1 2.5v11.273M9.052 2.5v11.273M1 8.136h8.052"
|
|
2401
|
+
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2486
2402
|
fill: "currentColor",
|
|
2487
|
-
d: "M15.
|
|
2488
|
-
|
|
2489
|
-
}))));
|
|
2403
|
+
d: "M15.376 3a.658.658 0 0 1 .625.688 3.531 3.531 0 0 1-.744 1.665l-.3.44-.171.238-.384.514-.438.568-.136.168.145.043a2.839 2.839 0 0 1 1.95 2.5l.031.225.015.151.021.294.01.334v.424a3.323 3.323 0 0 1-.3 1.339A2.286 2.286 0 0 1 13.501 14c-1.6 0-2.5-1-2.5-2.75a.628.628 0 1 1 1.25 0c0 1 .345 1.375 1.25 1.375a1.053 1.053 0 0 0 1.081-.652 1.9 1.9 0 0 0 .169-.723v-.378l-.015-.415-.021-.238c-.134-1.172-.653-1.719-2.149-1.719a.625.625 0 0 1-.571-.407.741.741 0 0 1 .106-.739l.494-.61.446-.564.4-.518.347-.465.3-.41.282-.411h-2.744a.645.645 0 0 1-.615-.564l-.01-.124a.673.673 0 0 1 .512-.676L11.626 3Z"
|
|
2404
|
+
})));
|
|
2490
2405
|
};
|
|
2491
2406
|
|
|
2492
2407
|
const StyledIconButton = styled__default["default"](IconButton) ``;
|
|
@@ -2526,16 +2441,16 @@ const Header$1 = styled__default["default"].div `
|
|
|
2526
2441
|
const Title$1 = styled__default["default"](MD) `
|
|
2527
2442
|
${({ validation, theme }) => {
|
|
2528
2443
|
if (validation === "success") {
|
|
2529
|
-
return `color: ${theme.colors.successHue};`;
|
|
2444
|
+
return `color: ${getColor(theme.colors.successHue)};`;
|
|
2530
2445
|
}
|
|
2531
2446
|
else if (validation === "warning") {
|
|
2532
|
-
return `color: ${theme.colors.warningHue};`;
|
|
2447
|
+
return `color: ${getColor(theme.colors.warningHue)};`;
|
|
2533
2448
|
}
|
|
2534
2449
|
else if (validation === "error") {
|
|
2535
|
-
return `color: ${theme.
|
|
2450
|
+
return `color: ${getColor(theme.colors.dangerHue)};`;
|
|
2536
2451
|
}
|
|
2537
2452
|
else {
|
|
2538
|
-
return `color: ${theme.colors.primaryHue};`;
|
|
2453
|
+
return `color: ${getColor(theme.colors.primaryHue, 600)};`;
|
|
2539
2454
|
}
|
|
2540
2455
|
}}
|
|
2541
2456
|
`;
|
|
@@ -2557,29 +2472,8 @@ const EditorFooter = ({ saveText }) => {
|
|
|
2557
2472
|
return jsxRuntime.jsxs(Footer$2, { children: [jsxRuntime.jsxs(Tag, { children: [isMac() ? "Cmd" : "Ctrl", "+enter"] }), "\u00A0", jsxRuntime.jsx(Text, { children: saveText || "to save" })] });
|
|
2558
2473
|
};
|
|
2559
2474
|
|
|
2560
|
-
const EditorContainer = styled__default["default"].
|
|
2561
|
-
|
|
2562
|
-
border-radius: ${({ theme }) => theme.borderRadii.md};
|
|
2563
|
-
&:focus-within {
|
|
2564
|
-
outline: ${({ theme }) => theme.palette.blue["300"]};
|
|
2565
|
-
outline-style: solid;
|
|
2566
|
-
}
|
|
2567
|
-
|
|
2568
|
-
${({ validation, theme }) => {
|
|
2569
|
-
if (validation === "success") {
|
|
2570
|
-
return `border-color: ${theme.colors.successHue};`;
|
|
2571
|
-
}
|
|
2572
|
-
else if (validation === "warning") {
|
|
2573
|
-
return `border-color: ${theme.colors.warningHue};`;
|
|
2574
|
-
}
|
|
2575
|
-
else if (validation === "error") {
|
|
2576
|
-
return `border-color: ${theme.colors.dangerHue};`;
|
|
2577
|
-
}
|
|
2578
|
-
else {
|
|
2579
|
-
return `border-color: ${theme.colors.primaryHue};`;
|
|
2580
|
-
}
|
|
2581
|
-
}}
|
|
2582
|
-
|
|
2475
|
+
const EditorContainer = styled__default["default"](reactForms.FauxInput) `
|
|
2476
|
+
|
|
2583
2477
|
${({ editable }) => !editable &&
|
|
2584
2478
|
`
|
|
2585
2479
|
border: none;
|
|
@@ -2677,7 +2571,7 @@ const CheckboxCard = (props) => {
|
|
|
2677
2571
|
setChecked(!checked);
|
|
2678
2572
|
props.onToggle && props.onToggle(!checked);
|
|
2679
2573
|
};
|
|
2680
|
-
return (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: props.label }, cardArgs, (props && !props.disabled && { onClick: handleToggle }), { className: checked ? "card-active" : "" }, { children: [jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ isStretched: true }, { children: props.iconActive && checked ? props.iconActive : props.icon })), jsxRuntime.jsx(SpecialCard.Header, Object.assign({ align: "center" }, { children: jsxRuntime.jsx(SpecialCard.Header.Text, { children: jsxRuntime.jsx(MD, Object.assign({ isBold: true, style: checked ? { color: theme.colors.primaryHue } : {} }, { children: props.label })) }) })), jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ direction: "column", justifyContent: "center", noDivider: true }, { children: jsxRuntime.jsx(Checkbox, Object.assign({}, props, { checked: checked, value: checked ? 1 : 0, onClick: (e) => e.stopPropagation() }, { children: jsxRuntime.jsx(StyledLabel$1, Object.assign({ hidden: true }, { children: props.label })) })) }))] })));
|
|
2574
|
+
return (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: props.label }, cardArgs, (props && !props.disabled && { onClick: handleToggle }), { className: checked ? "card-active" : "" }, { children: [jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ isStretched: true }, { children: props.iconActive && checked ? props.iconActive : props.icon })), jsxRuntime.jsx(SpecialCard.Header, Object.assign({ align: "center" }, { children: jsxRuntime.jsx(SpecialCard.Header.Text, { children: jsxRuntime.jsx(MD, Object.assign({ isBold: true, style: checked ? { color: getColor(theme.colors.primaryHue, 600) } : {} }, { children: props.label })) }) })), jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ direction: "column", justifyContent: "center", noDivider: true }, { children: jsxRuntime.jsx(Checkbox, Object.assign({}, props, { checked: checked, value: checked ? 1 : 0, onClick: (e) => e.stopPropagation() }, { children: jsxRuntime.jsx(StyledLabel$1, Object.assign({ hidden: true }, { children: props.label })) })) }))] })));
|
|
2681
2575
|
};
|
|
2682
2576
|
|
|
2683
2577
|
const UgField = styled__default["default"](reactForms.Field) ``;
|
|
@@ -2709,18 +2603,16 @@ var SvgNotesStroke = function SvgNotesStroke(props) {
|
|
|
2709
2603
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
2710
2604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2711
2605
|
width: 16,
|
|
2712
|
-
height: 16
|
|
2713
|
-
focusable: "false",
|
|
2714
|
-
viewBox: "0 0 16 16"
|
|
2606
|
+
height: 16
|
|
2715
2607
|
}, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
2716
2608
|
fill: "none",
|
|
2717
2609
|
stroke: "currentColor"
|
|
2718
2610
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2719
2611
|
strokeLinejoin: "round",
|
|
2720
|
-
d: "
|
|
2612
|
+
d: "m10.51 8.4-3.01.1.1-3.01L12.59.5l2.91 2.91-4.99 4.99z"
|
|
2721
2613
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2722
2614
|
strokeLinecap: "round",
|
|
2723
|
-
d: "M7.41 1.5H2.09a.58.58 0
|
|
2615
|
+
d: "M7.41 1.5H2.09a.58.58 0 0 0-.59.59v11.82a.58.58 0 0 0 .59.59h11.82a.58.58 0 0 0 .59-.59V8.59"
|
|
2724
2616
|
}))));
|
|
2725
2617
|
};
|
|
2726
2618
|
|
|
@@ -2829,15 +2721,14 @@ var _path$o;
|
|
|
2829
2721
|
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); }
|
|
2830
2722
|
var SvgCheckLg = function SvgCheckLg(props) {
|
|
2831
2723
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
2724
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2832
2725
|
width: 16,
|
|
2833
2726
|
height: 16,
|
|
2834
|
-
|
|
2835
|
-
fill: "#68737D",
|
|
2836
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
2727
|
+
fill: "#68737D"
|
|
2837
2728
|
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2838
2729
|
fillRule: "evenodd",
|
|
2839
|
-
|
|
2840
|
-
|
|
2730
|
+
d: "M14.646 2.646a.5.5 0 0 1 .708.708l-10 10a.5.5 0 0 1-.708 0l-4-4a.5.5 0 1 1 .708-.708L5 12.293l9.646-9.647Z",
|
|
2731
|
+
clipRule: "evenodd"
|
|
2841
2732
|
})));
|
|
2842
2733
|
};
|
|
2843
2734
|
|
|
@@ -2856,7 +2747,7 @@ const Circle = styled__default["default"].div `
|
|
|
2856
2747
|
height: ${({ theme }) => theme.space.base * 6}px;
|
|
2857
2748
|
padding: ${({ theme }) => theme.space.base * 1.25}px;
|
|
2858
2749
|
border-radius: 50%;
|
|
2859
|
-
background-color: ${({ theme }) => theme.colors.primaryHue};
|
|
2750
|
+
background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
2860
2751
|
display: flex;
|
|
2861
2752
|
flex-direction: column;
|
|
2862
2753
|
justify-content: center;
|
|
@@ -2873,7 +2764,7 @@ const RadioCard = (_a) => {
|
|
|
2873
2764
|
var { card, icon, iconActive } = _a, props = __rest(_a, ["card", "icon", "iconActive"]);
|
|
2874
2765
|
return (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: props.label }, card, props, { className: props.checked ? "card-active" : "", onClick: () => {
|
|
2875
2766
|
props.onChecked && props.onChecked(props.value);
|
|
2876
|
-
} }, { children: [jsxRuntime.jsx(SpecialCard.Meta, Object.assign({ justifyContent: "end" }, { children: jsxRuntime.jsx(Circle, Object.assign({ checked: (_b = props.checked) !== null && _b !== void 0 ? _b : false }, { children: jsxRuntime.jsx(SvgCheckLg, { fill: "white" }) })) })), jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ isStretched: true }, { children: iconActive && props.checked ? iconActive : icon })), jsxRuntime.jsx("input", { hidden: true, type: "radio", value: props.value, name: props.name, checked: props.checked }), jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(StyledText, Object.assign({ style: props.checked ? { color: theme.colors.primaryHue } : {} }, { children: props.label })) }))] })));
|
|
2767
|
+
} }, { children: [jsxRuntime.jsx(SpecialCard.Meta, Object.assign({ justifyContent: "end" }, { children: jsxRuntime.jsx(Circle, Object.assign({ checked: (_b = props.checked) !== null && _b !== void 0 ? _b : false }, { children: jsxRuntime.jsx(SvgCheckLg, { fill: "white" }) })) })), jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ isStretched: true }, { children: iconActive && props.checked ? iconActive : icon })), jsxRuntime.jsx("input", { hidden: true, type: "radio", value: props.value, name: props.name, checked: props.checked }), jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(StyledText, Object.assign({ style: props.checked ? { color: getColor(theme.colors.primaryHue, 600) } : {} }, { children: props.label })) }))] })));
|
|
2877
2768
|
};
|
|
2878
2769
|
|
|
2879
2770
|
const UgTextarea = styled__default["default"](reactForms.Textarea) ``;
|
|
@@ -3015,7 +2906,7 @@ const Spinner = (props) => jsxRuntime.jsx(UgSpinner, Object.assign({}, props));
|
|
|
3015
2906
|
const Dots = (props) => jsxRuntime.jsx(reactLoaders.Dots, Object.assign({}, props));
|
|
3016
2907
|
|
|
3017
2908
|
const UgBody = styled__default["default"](reactChrome.Body) `
|
|
3018
|
-
background-color: ${({ theme }) => theme.palette.
|
|
2909
|
+
background-color: ${({ theme }) => theme.palette.red[600]};
|
|
3019
2910
|
`;
|
|
3020
2911
|
/**
|
|
3021
2912
|
* A Body defines the main content of an HTML document which displays on the browser
|
|
@@ -3033,12 +2924,10 @@ var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
|
|
|
3033
2924
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
3034
2925
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3035
2926
|
width: 16,
|
|
3036
|
-
height: 16
|
|
3037
|
-
focusable: "false",
|
|
3038
|
-
viewBox: "0 0 16 16"
|
|
2927
|
+
height: 16
|
|
3039
2928
|
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3040
2929
|
fill: "currentColor",
|
|
3041
|
-
d: "M12.688 5.61a.5.5 0
|
|
2930
|
+
d: "M12.688 5.61a.5.5 0 0 1 .69.718l-.066.062-5 4a.5.5 0 0 1-.542.054l-.082-.054-5-4a.5.5 0 0 1 .55-.83l.074.05L8 9.359l4.688-3.75z"
|
|
3042
2931
|
})));
|
|
3043
2932
|
};
|
|
3044
2933
|
|
|
@@ -3090,9 +2979,7 @@ var SvgMenuStroke = function SvgMenuStroke(props) {
|
|
|
3090
2979
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
3091
2980
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3092
2981
|
width: 16,
|
|
3093
|
-
height: 16
|
|
3094
|
-
focusable: "false",
|
|
3095
|
-
viewBox: "0 0 16 16"
|
|
2982
|
+
height: 16
|
|
3096
2983
|
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3097
2984
|
fill: "none",
|
|
3098
2985
|
stroke: "currentColor",
|
|
@@ -3114,7 +3001,7 @@ const WorkspacesDropdown = (props) => {
|
|
|
3114
3001
|
props.onWorkspaceChange && props.onWorkspaceChange(workspace);
|
|
3115
3002
|
}, downshiftProps: {
|
|
3116
3003
|
itemToString: (item) => item && item.company,
|
|
3117
|
-
} }, { children: [jsxRuntime.jsx(reactDropdowns.Field, { children: jsxRuntime.jsx(Select, Object.assign({ style: { color: theme.colors.primaryHue } }, { children: jsxRuntime.jsx(StyledEllipsis, Object.assign({ isCompact: props.isCompact }, { children: selectedWorkspace
|
|
3004
|
+
} }, { children: [jsxRuntime.jsx(reactDropdowns.Field, { children: jsxRuntime.jsx(Select, Object.assign({ style: { color: getColor(theme.colors.primaryHue, 600) } }, { children: jsxRuntime.jsx(StyledEllipsis, Object.assign({ isCompact: props.isCompact }, { children: selectedWorkspace
|
|
3118
3005
|
? selectedWorkspace.company + "'s workspace"
|
|
3119
3006
|
: "Select workspace" })) })) }), jsxRuntime.jsxs(Menu, { children: [jsxRuntime.jsx(MenuHeaderItem, { children: jsxRuntime.jsx(MD, Object.assign({ isBold: true, style: { color: theme.palette.grey[800] } }, { children: props.workspacesLabel || "Workspaces" })) }), jsxRuntime.jsx(Separator, {}), props.workspaces && props.workspaces.map((item) => (jsxRuntime.jsx(Item$1, Object.assign({ value: item }, { children: item.company }))))] })] })));
|
|
3120
3007
|
};
|
|
@@ -3134,7 +3021,7 @@ const LogoIconContainer = styled__default["default"](reactChrome.HeaderItem) `
|
|
|
3134
3021
|
const BrandName = styled__default["default"](reactChrome.HeaderItem) `
|
|
3135
3022
|
margin-right: auto;
|
|
3136
3023
|
margin-left: -8px;
|
|
3137
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3024
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3138
3025
|
pointer-events: none;
|
|
3139
3026
|
font-family: ${({ theme }) => theme.fonts.system};
|
|
3140
3027
|
@media (max-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
@@ -3144,7 +3031,7 @@ const BrandName = styled__default["default"](reactChrome.HeaderItem) `
|
|
|
3144
3031
|
const DropdownItem = styled__default["default"](reactChrome.HeaderItem) `
|
|
3145
3032
|
margin-right: auto;
|
|
3146
3033
|
margin-left: -8px;
|
|
3147
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3034
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3148
3035
|
font-family: ${({ theme }) => theme.fonts.system};
|
|
3149
3036
|
z-index: 2;
|
|
3150
3037
|
@media (max-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
@@ -3152,7 +3039,7 @@ const DropdownItem = styled__default["default"](reactChrome.HeaderItem) `
|
|
|
3152
3039
|
}
|
|
3153
3040
|
`;
|
|
3154
3041
|
const MenuItem$1 = styled__default["default"](reactChrome.HeaderItem) `
|
|
3155
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3042
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3156
3043
|
position: absolute;
|
|
3157
3044
|
left: 0;
|
|
3158
3045
|
@media (min-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
@@ -3203,7 +3090,7 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
|
|
|
3203
3090
|
|
|
3204
3091
|
@media (min-width: ${p => p.theme.breakpoints.md}) {
|
|
3205
3092
|
border-right: ${({ theme }) => theme.borders.sm};
|
|
3206
|
-
border-color: ${({ theme }) =>
|
|
3093
|
+
border-color: ${({ theme }) => getColor(theme.colors.neutralHue, 300)};
|
|
3207
3094
|
width: ${p => p.theme.components.chrome.nav.openWidth}px;
|
|
3208
3095
|
margin-left: ${p => p.isExpanded
|
|
3209
3096
|
? 0
|
|
@@ -3221,7 +3108,7 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
|
|
|
3221
3108
|
const Nav = (props) => jsxRuntime.jsx(UgNav, Object.assign({}, props));
|
|
3222
3109
|
|
|
3223
3110
|
const SelectedItemStyle = styled.css `
|
|
3224
|
-
background-color: ${({ theme }) => theme.
|
|
3111
|
+
background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
3225
3112
|
`;
|
|
3226
3113
|
const UgNavItem$2 = styled__default["default"](reactChrome.NavItem) `
|
|
3227
3114
|
border-top-left-radius: ${(props) => props.theme.space.base * 6}px;
|
|
@@ -3230,13 +3117,13 @@ const UgNavItem$2 = styled__default["default"](reactChrome.NavItem) `
|
|
|
3230
3117
|
${sidebarNavItemExpanded}
|
|
3231
3118
|
${(props) => !props.isExpanded && sidebarNavItemHidden}
|
|
3232
3119
|
${(props) => props.isCurrent && SelectedItemStyle}
|
|
3233
|
-
&:focus {
|
|
3120
|
+
&:focus, &:hover {
|
|
3234
3121
|
${SelectedItemStyle}
|
|
3235
3122
|
}
|
|
3236
|
-
&:
|
|
3237
|
-
background-color: ${({ theme }) => theme.
|
|
3123
|
+
&:active {
|
|
3124
|
+
background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600, undefined, 0.2)};
|
|
3238
3125
|
}
|
|
3239
|
-
color: ${(props) => props.theme.colors.primaryHue};
|
|
3126
|
+
color: ${(props) => getColor(props.theme.colors.primaryHue, 600)};
|
|
3240
3127
|
font-weight: ${(props) => props.theme.fontWeights.medium};
|
|
3241
3128
|
${(props) => props.isCurrent &&
|
|
3242
3129
|
`
|
|
@@ -3258,12 +3145,10 @@ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
|
|
|
3258
3145
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
3259
3146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3260
3147
|
width: 16,
|
|
3261
|
-
height: 16
|
|
3262
|
-
focusable: "false",
|
|
3263
|
-
viewBox: "0 0 16 16"
|
|
3148
|
+
height: 16
|
|
3264
3149
|
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3265
3150
|
fill: "currentColor",
|
|
3266
|
-
d: "M5.61 3.312a.5.5 0
|
|
3151
|
+
d: "M5.61 3.312a.5.5 0 0 1 .718-.69l.062.066 4 5a.5.5 0 0 1 .054.542l-.054.082-4 5a.5.5 0 0 1-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
|
|
3267
3152
|
})));
|
|
3268
3153
|
};
|
|
3269
3154
|
|
|
@@ -3273,12 +3158,10 @@ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
|
|
|
3273
3158
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
3274
3159
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3275
3160
|
width: 16,
|
|
3276
|
-
height: 16
|
|
3277
|
-
focusable: "false",
|
|
3278
|
-
viewBox: "0 0 16 16"
|
|
3161
|
+
height: 16
|
|
3279
3162
|
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3280
3163
|
fill: "currentColor",
|
|
3281
|
-
d: "M10.39 12.688a.5.5 0
|
|
3164
|
+
d: "M10.39 12.688a.5.5 0 0 1-.718.69l-.062-.066-4-5a.5.5 0 0 1-.054-.542l.054-.082 4-5a.5.5 0 0 1 .83.55l-.05.074L6.641 8l3.75 4.688z"
|
|
3282
3165
|
})));
|
|
3283
3166
|
};
|
|
3284
3167
|
|
|
@@ -3351,12 +3234,10 @@ var SvgHomeFill = function SvgHomeFill(props) {
|
|
|
3351
3234
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
3352
3235
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3353
3236
|
width: 26,
|
|
3354
|
-
height: 26
|
|
3355
|
-
focusable: "false",
|
|
3356
|
-
viewBox: "0 0 26 26"
|
|
3237
|
+
height: 26
|
|
3357
3238
|
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3358
3239
|
fill: "currentColor",
|
|
3359
|
-
d: "
|
|
3240
|
+
d: "m23.885 13.2-1.328 1.639a.522.522 0 0 1-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 0 0-.716-1.732 2.448 2.448 0 0 0-1.74-.714 2.45 2.45 0 0 0-1.739.714 2.43 2.43 0 0 0-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 0 1-.737-.084L2.115 13.2a.52.52 0 0 1 .084-.735l10.474-8.348a.51.51 0 0 1 .654 0L23.8 12.466a.52.52 0 0 1 .084.735"
|
|
3360
3241
|
})));
|
|
3361
3242
|
};
|
|
3362
3243
|
|
|
@@ -3366,22 +3247,18 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
|
|
|
3366
3247
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
3367
3248
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3368
3249
|
width: 26,
|
|
3369
|
-
height: 26
|
|
3370
|
-
focusable: "false",
|
|
3371
|
-
viewBox: "0 0 26 26"
|
|
3250
|
+
height: 26
|
|
3372
3251
|
}, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3373
|
-
id: "
|
|
3252
|
+
id: "home-fill-styled_svg__a"
|
|
3374
3253
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3375
|
-
className: "
|
|
3376
|
-
offset: "11.98%"
|
|
3377
|
-
stopColor: "#70c38a"
|
|
3254
|
+
className: "home-fill-styled_svg__stop1",
|
|
3255
|
+
offset: "11.98%"
|
|
3378
3256
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3379
|
-
className: "
|
|
3380
|
-
offset: "100%"
|
|
3381
|
-
stopColor: "#001825"
|
|
3257
|
+
className: "home-fill-styled_svg__stop3",
|
|
3258
|
+
offset: "100%"
|
|
3382
3259
|
}))), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3383
|
-
fill: "url(#
|
|
3384
|
-
d: "
|
|
3260
|
+
fill: "url(#home-fill-styled_svg__a)",
|
|
3261
|
+
d: "m23.885 13.2-1.328 1.639a.522.522 0 0 1-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 0 0-.716-1.732 2.448 2.448 0 0 0-1.74-.714 2.45 2.45 0 0 0-1.739.714 2.43 2.43 0 0 0-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 0 1-.737-.084L2.115 13.2a.52.52 0 0 1 .084-.735l10.474-8.348a.51.51 0 0 1 .654 0L23.8 12.466a.52.52 0 0 1 .084.735"
|
|
3385
3262
|
})));
|
|
3386
3263
|
};
|
|
3387
3264
|
|
|
@@ -3389,38 +3266,37 @@ var _g$1, _defs$2;
|
|
|
3389
3266
|
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); }
|
|
3390
3267
|
var SvgToken = function SvgToken(props) {
|
|
3391
3268
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
3269
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3392
3270
|
fill: "none",
|
|
3393
|
-
viewBox: "0 0 32 32"
|
|
3394
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3271
|
+
viewBox: "0 0 32 32"
|
|
3395
3272
|
}, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
3396
|
-
clipPath: "url(#
|
|
3273
|
+
clipPath: "url(#token_svg__a)"
|
|
3397
3274
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
3398
|
-
d: "m32 16c0 8.8363-7.1635 16-16 16-8.8369 0-16-7.1635-16-16 0-8.8367 7.1632-16 16-16 8.8364 0 16 7.1632 16 16z",
|
|
3399
|
-
clipRule: "evenodd",
|
|
3400
3275
|
fill: "#9FD7B1",
|
|
3401
|
-
fillRule: "evenodd"
|
|
3276
|
+
fillRule: "evenodd",
|
|
3277
|
+
d: "M32 16c0 8.836-7.163 16-16 16S0 24.837 0 16 7.163 0 16 0c8.836 0 16 7.163 16 16z",
|
|
3278
|
+
clipRule: "evenodd"
|
|
3402
3279
|
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
3403
|
-
x: 4.129,
|
|
3404
|
-
y: 4.129,
|
|
3405
3280
|
width: 23.742,
|
|
3406
3281
|
height: 23.742,
|
|
3407
|
-
|
|
3408
|
-
|
|
3282
|
+
x: 4.129,
|
|
3283
|
+
y: 4.129,
|
|
3284
|
+
fill: "#003A57",
|
|
3285
|
+
rx: 11.871
|
|
3409
3286
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3410
|
-
|
|
3411
|
-
|
|
3287
|
+
fill: "#fff",
|
|
3288
|
+
d: "M18.662 16.433v1.154h-.014c-.101 1.674-1.025 2.627-2.569 2.627-1.645 0-2.626-.953-2.727-2.627h-.015v-1.154H11v1.169c.13 2.915 2.092 4.776 5.065 4.776 2.943 0 4.805-1.818 4.935-4.776v-1.169h-2.338z"
|
|
3412
3289
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3413
|
-
|
|
3414
|
-
|
|
3290
|
+
fill: "#54C38A",
|
|
3291
|
+
d: "M13.367 10.545h-2.352v2.352h2.352v-2.352z"
|
|
3415
3292
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3416
|
-
|
|
3417
|
-
|
|
3293
|
+
fill: "#fff",
|
|
3294
|
+
d: "M20.986 10.545h-2.381v2.381h2.381v-2.381z"
|
|
3418
3295
|
}))), _defs$2 || (_defs$2 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
3419
|
-
id: "
|
|
3420
|
-
}, /*#__PURE__*/React__namespace.createElement("
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
fill: "#fff"
|
|
3296
|
+
id: "token_svg__a"
|
|
3297
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
3298
|
+
fill: "#fff",
|
|
3299
|
+
d: "M0 0h32v32H0z"
|
|
3424
3300
|
})))));
|
|
3425
3301
|
};
|
|
3426
3302
|
|
|
@@ -3428,15 +3304,14 @@ var _path$h;
|
|
|
3428
3304
|
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); }
|
|
3429
3305
|
var SvgFolderIcon = function SvgFolderIcon(props) {
|
|
3430
3306
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
3307
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3431
3308
|
width: 12,
|
|
3432
|
-
height: 12
|
|
3433
|
-
viewBox: "0 0 12 12",
|
|
3434
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3309
|
+
height: 12
|
|
3435
3310
|
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3311
|
+
fill: "currentColor",
|
|
3436
3312
|
fillRule: "evenodd",
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
fill: "currentColor"
|
|
3313
|
+
d: "M10 4H7v-.5C7 2.624 6.376 2 5.5 2h-3C1.624 2 1 2.624 1 3.5V6H.5a.5.5 0 0 0-.485.621l1 4A.5.5 0 0 0 1.5 11h9a.5.5 0 0 0 .485-.379l1-4A.5.5 0 0 0 11.5 6H11V5c0-.576-.424-1-1-1Zm.86 3H1.14l.75 3h8.22l.75-3ZM2 6h8V5H6V3.5c0-.324-.176-.5-.5-.5h-3c-.324 0-.5.176-.5.5V6Z",
|
|
3314
|
+
clipRule: "evenodd"
|
|
3440
3315
|
})));
|
|
3441
3316
|
};
|
|
3442
3317
|
|
|
@@ -3444,22 +3319,21 @@ var _path$g, _defs$1;
|
|
|
3444
3319
|
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); }
|
|
3445
3320
|
var SvgTemplates = function SvgTemplates(props) {
|
|
3446
3321
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
3322
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3447
3323
|
width: 26,
|
|
3448
3324
|
height: 26,
|
|
3449
|
-
|
|
3450
|
-
fill: "none",
|
|
3451
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3325
|
+
fill: "none"
|
|
3452
3326
|
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3327
|
+
fill: "url(#templates_svg__a)",
|
|
3453
3328
|
fillRule: "evenodd",
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
fill: "url(#paint0_linear_342_21583)"
|
|
3329
|
+
d: "M8 5H3.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5H7c3 0 4 2 4 2h1V7c0-.1-1-2-4-2Zm1 10H6c-.5 0-1-.5-1-1s.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1Zm0-4H6c-.5 0-1-.5-1-1s.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1Zm5-4v14h1s1-2 4-2h3.5c.3 0 .5-.2.5-.5v-13c0-.3-.2-.5-.5-.5H18c-3 0-4 1.9-4 2Zm2 7c0-.5.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1h-3c-.5 0-1-.5-1-1Zm0-4c0-.5.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1h-3c-.5 0-1-.5-1-1Z",
|
|
3330
|
+
clipRule: "evenodd"
|
|
3457
3331
|
})), _defs$1 || (_defs$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3458
|
-
id: "
|
|
3332
|
+
id: "templates_svg__a",
|
|
3459
3333
|
x1: 3,
|
|
3334
|
+
x2: 23.277,
|
|
3460
3335
|
y1: 5,
|
|
3461
|
-
|
|
3462
|
-
y2: 5.35853,
|
|
3336
|
+
y2: 5.359,
|
|
3463
3337
|
gradientUnits: "userSpaceOnUse"
|
|
3464
3338
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3465
3339
|
stopColor: "#001825"
|
|
@@ -3473,25 +3347,24 @@ var _path$f, _defs;
|
|
|
3473
3347
|
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); }
|
|
3474
3348
|
var SvgTemplatesActive = function SvgTemplatesActive(props) {
|
|
3475
3349
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
3350
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3476
3351
|
width: 26,
|
|
3477
3352
|
height: 26,
|
|
3478
|
-
|
|
3479
|
-
fill: "none",
|
|
3480
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3353
|
+
fill: "none"
|
|
3481
3354
|
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3355
|
+
fill: "url(#templates-active_svg__a)",
|
|
3482
3356
|
fillRule: "evenodd",
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
fill: "url(#paint0_linear_342_4104)"
|
|
3357
|
+
d: "M8 5H3.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5H7c3 0 4 2 4 2h1V7c0-.1-1-2-4-2Zm1 10H6c-.5 0-1-.5-1-1s.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1Zm0-4H6c-.5 0-1-.5-1-1s.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1Zm5-4v14h1s1-2 4-2h3.5c.3 0 .5-.2.5-.5v-13c0-.3-.2-.5-.5-.5H18c-3 0-4 1.9-4 2Zm2 7c0-.5.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1h-3c-.5 0-1-.5-1-1Zm0-4c0-.5.5-1 1-1h3c.5 0 1 .5 1 1s-.5 1-1 1h-3c-.5 0-1-.5-1-1Z",
|
|
3358
|
+
clipRule: "evenodd"
|
|
3486
3359
|
})), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3487
|
-
id: "
|
|
3360
|
+
id: "templates-active_svg__a",
|
|
3488
3361
|
x1: 3,
|
|
3362
|
+
x2: 23.277,
|
|
3489
3363
|
y1: 5,
|
|
3490
|
-
|
|
3491
|
-
y2: 5.35853,
|
|
3364
|
+
y2: 5.359,
|
|
3492
3365
|
gradientUnits: "userSpaceOnUse"
|
|
3493
3366
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3494
|
-
offset: 0.
|
|
3367
|
+
offset: 0.12,
|
|
3495
3368
|
stopColor: "#003A57"
|
|
3496
3369
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3497
3370
|
offset: 1,
|
|
@@ -3526,10 +3399,6 @@ const AccordionItemHeader = styled__default["default"](Accordion.Header) `
|
|
|
3526
3399
|
svg {
|
|
3527
3400
|
width: 26px;
|
|
3528
3401
|
}
|
|
3529
|
-
|
|
3530
|
-
&:hover {
|
|
3531
|
-
background-color: ${(props) => props.theme.palette.kale["200"]};
|
|
3532
|
-
}
|
|
3533
3402
|
`;
|
|
3534
3403
|
const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
|
|
3535
3404
|
max-height: 180px;
|
|
@@ -3544,8 +3413,8 @@ const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
|
|
|
3544
3413
|
const AccordionItemLabel = styled__default["default"](Accordion.Label) `
|
|
3545
3414
|
padding: 12px 9px;
|
|
3546
3415
|
${({ theme }) => `
|
|
3547
|
-
color: ${theme.colors.primaryHue};
|
|
3548
|
-
fill: ${theme.colors.primaryHue};
|
|
3416
|
+
color: ${getColor(theme.colors.primaryHue, 600)};
|
|
3417
|
+
fill: ${getColor(theme.colors.primaryHue, 600)};
|
|
3549
3418
|
font-weight: ${theme.fontWeights.medium};
|
|
3550
3419
|
`}
|
|
3551
3420
|
`;
|
|
@@ -3718,7 +3587,7 @@ const LoginForm = (props) => {
|
|
|
3718
3587
|
? true
|
|
3719
3588
|
: isSubmitting
|
|
3720
3589
|
? true
|
|
3721
|
-
: false, isPrimary: true,
|
|
3590
|
+
: false, isPrimary: true, isAccent: true, style: { marginBottom: theme.space.md } }, { children: props.buttonText })), status && (jsxRuntime.jsx("div", Object.assign({ style: { textAlign: "center" } }, { children: jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: status.message })) })))] })));
|
|
3722
3591
|
} }))] })), props.onBackClick && (jsxRuntime.jsxs(Button, Object.assign({ onClick: props.onBackClick, isBasic: true, style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.backToLabel || "Back to UNGUESS"] })))] }));
|
|
3723
3592
|
};
|
|
3724
3593
|
|
|
@@ -3726,16 +3595,15 @@ var _path$e;
|
|
|
3726
3595
|
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); }
|
|
3727
3596
|
var SvgPlus = function SvgPlus(props) {
|
|
3728
3597
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
3598
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3729
3599
|
width: 16,
|
|
3730
3600
|
height: 16,
|
|
3731
|
-
|
|
3732
|
-
fill: "none",
|
|
3733
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3601
|
+
fill: "none"
|
|
3734
3602
|
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3603
|
+
fill: "#68737D",
|
|
3735
3604
|
fillRule: "evenodd",
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
fill: "#68737D"
|
|
3605
|
+
d: "M7.5 2a.5.5 0 0 0-.5.5V8H1.5a.5.5 0 0 0 0 1H7v5.5a.5.5 0 0 0 1 0V9h5.5a.5.5 0 0 0 0-1H8V2.5a.5.5 0 0 0-.5-.5Z",
|
|
3606
|
+
clipRule: "evenodd"
|
|
3739
3607
|
})));
|
|
3740
3608
|
};
|
|
3741
3609
|
|
|
@@ -3865,6 +3733,7 @@ const UgNotification = styled__default["default"](reactNotifications.Notificatio
|
|
|
3865
3733
|
display: flex;
|
|
3866
3734
|
align-items: center;
|
|
3867
3735
|
justify-content: space-between;
|
|
3736
|
+
padding-right: ${({ theme }) => theme.space.md};
|
|
3868
3737
|
|
|
3869
3738
|
${UgAnchor} {
|
|
3870
3739
|
flex-shrink: 0;
|
|
@@ -3930,7 +3799,7 @@ const MainOverline = styled__default["default"](MD) `
|
|
|
3930
3799
|
margin-bottom: ${({ theme }) => theme.space.md};
|
|
3931
3800
|
`;
|
|
3932
3801
|
const MainTitle = styled__default["default"].h1 `
|
|
3933
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3802
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3934
3803
|
font-size: ${({ theme }) => theme.fontSizes.xxxl};
|
|
3935
3804
|
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
3936
3805
|
line-height: ${({ theme }) => theme.lineHeights.xxxl};
|
|
@@ -4040,12 +3909,10 @@ var SvgPlayFill = function SvgPlayFill(props) {
|
|
|
4040
3909
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
4041
3910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4042
3911
|
width: 16,
|
|
4043
|
-
height: 16
|
|
4044
|
-
focusable: "false",
|
|
4045
|
-
viewBox: "0 0 16 16"
|
|
3912
|
+
height: 16
|
|
4046
3913
|
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4047
3914
|
fill: "currentColor",
|
|
4048
|
-
d: "M6 15.79c-.13 0-.26-.03-.38-.08a.977.977 0
|
|
3915
|
+
d: "M6 15.79c-.13 0-.26-.03-.38-.08a.977.977 0 0 1-.62-.92V1.21a1 1 0 0 1 .62-.93C6 .12 6.42.21 6.71.5l6.44 6.44c.58.58.58 1.54 0 2.12L6.71 15.5c-.19.19-.45.29-.71.29z"
|
|
4049
3916
|
})));
|
|
4050
3917
|
};
|
|
4051
3918
|
|
|
@@ -4055,9 +3922,7 @@ var SvgPauseFill = function SvgPauseFill(props) {
|
|
|
4055
3922
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
4056
3923
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4057
3924
|
width: 16,
|
|
4058
|
-
height: 16
|
|
4059
|
-
focusable: "false",
|
|
4060
|
-
viewBox: "0 0 16 16"
|
|
3925
|
+
height: 16
|
|
4061
3926
|
}, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4062
3927
|
fill: "currentColor"
|
|
4063
3928
|
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
@@ -4077,67 +3942,55 @@ var SvgPauseFill = function SvgPauseFill(props) {
|
|
|
4077
3942
|
}))));
|
|
4078
3943
|
};
|
|
4079
3944
|
|
|
4080
|
-
var _path$c, _path2$
|
|
3945
|
+
var _path$c, _path2$4;
|
|
4081
3946
|
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); }
|
|
4082
3947
|
var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
|
|
4083
3948
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
3949
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4084
3950
|
width: 16,
|
|
4085
3951
|
height: 16,
|
|
4086
|
-
|
|
4087
|
-
fill: "none",
|
|
4088
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3952
|
+
fill: "none"
|
|
4089
3953
|
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3954
|
+
fill: "currentColor",
|
|
4090
3955
|
fillRule: "evenodd",
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
d: "M5.5 7.
|
|
4096
|
-
fill: "currentColor"
|
|
4097
|
-
})), _path3$1 || (_path3$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4098
|
-
d: "M7.56085 8.98383C7.56085 8.36208 7.67013 7.87691 7.88868 7.5283C8.111 7.1761 8.49158 7 9.03042 7C9.56927 7 9.94797 7.1761 10.1665 7.5283C10.3888 7.87691 10.5 8.36208 10.5 8.98383C10.5 9.61276 10.3888 10.1051 10.1665 10.4609C9.94797 10.8131 9.56927 10.9892 9.03042 10.9892C8.49158 10.9892 8.111 10.8131 7.88868 10.4609C7.67013 10.1051 7.56085 9.61276 7.56085 8.98383ZM9.86695 8.98383C9.86695 8.69272 9.84623 8.44654 9.80478 8.24528C9.7671 8.04403 9.68797 7.8805 9.56738 7.75472C9.4468 7.62534 9.26782 7.56065 9.03042 7.56065C8.79303 7.56065 8.61405 7.62534 8.49346 7.75472C8.37288 7.8805 8.29187 8.04403 8.25042 8.24528C8.21274 8.44654 8.1939 8.69272 8.1939 8.98383C8.1939 9.28571 8.21274 9.53908 8.25042 9.74394C8.2881 9.94879 8.36723 10.1141 8.48781 10.2399C8.61216 10.3657 8.79303 10.4286 9.03042 10.4286C9.26782 10.4286 9.4468 10.3657 9.56738 10.2399C9.69173 10.1141 9.77275 9.94879 9.81043 9.74394C9.84811 9.53908 9.86695 9.28571 9.86695 8.98383Z",
|
|
4099
|
-
fill: "currentColor"
|
|
3956
|
+
d: "M11.659 3.5c-.918-.64-2.008-1-3.159-1A5.487 5.487 0 0 0 3 8c0 3.048 2.452 5.5 5.5 5.5 1.702 0 3.246-.783 4.32-2.125a1 1 0 1 1 1.56 1.25C12.938 14.429 10.827 15.5 8.5 15.5A7.487 7.487 0 0 1 1 8C1 3.848 4.348.5 8.5.5c1.656 0 3.217.545 4.5 1.501V1a1 1 0 1 1 2 0v3c0 .852-.648 1.5-1.5 1.5h-3a1 1 0 1 1 0-2h1.159Z",
|
|
3957
|
+
clipRule: "evenodd"
|
|
3958
|
+
})), _path2$4 || (_path2$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3959
|
+
fill: "currentColor",
|
|
3960
|
+
d: "M5.5 7.63v-.56h1.176V11h-.65V7.63H5.5ZM7.56 8.984c0-.622.11-1.107.329-1.456C8.11 7.176 8.492 7 9.03 7c.54 0 .918.176 1.136.528.223.349.334.834.334 1.456 0 .629-.111 1.121-.334 1.477-.218.352-.597.528-1.136.528-.538 0-.919-.176-1.141-.528-.219-.356-.328-.848-.328-1.477Zm2.307 0c0-.291-.02-.537-.062-.739a.94.94 0 0 0-.238-.49c-.12-.13-.3-.194-.537-.194-.237 0-.416.064-.537.194a.975.975 0 0 0-.243.49 4.093 4.093 0 0 0-.056.739c0 .302.019.555.056.76.038.205.117.37.238.496.124.126.305.189.542.189.238 0 .417-.063.537-.19a.922.922 0 0 0 .243-.495c.038-.205.057-.458.057-.76Z"
|
|
4100
3961
|
})));
|
|
4101
3962
|
};
|
|
4102
3963
|
|
|
4103
|
-
var _path$b, _path2$
|
|
3964
|
+
var _path$b, _path2$3;
|
|
4104
3965
|
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); }
|
|
4105
3966
|
var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
|
|
4106
3967
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
3968
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4107
3969
|
width: 16,
|
|
4108
3970
|
height: 16,
|
|
4109
|
-
|
|
4110
|
-
fill: "none",
|
|
4111
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3971
|
+
fill: "none"
|
|
4112
3972
|
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3973
|
+
fill: "currentColor",
|
|
4113
3974
|
fillRule: "evenodd",
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
d: "M5.5 7.
|
|
4119
|
-
fill: "currentColor"
|
|
4120
|
-
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4121
|
-
d: "M7.56085 8.98383C7.56085 8.36208 7.67013 7.87691 7.88868 7.5283C8.111 7.1761 8.49158 7 9.03042 7C9.56927 7 9.94797 7.1761 10.1665 7.5283C10.3888 7.87691 10.5 8.36208 10.5 8.98383C10.5 9.61276 10.3888 10.1051 10.1665 10.4609C9.94797 10.8131 9.56927 10.9892 9.03042 10.9892C8.49158 10.9892 8.111 10.8131 7.88868 10.4609C7.67013 10.1051 7.56085 9.61276 7.56085 8.98383ZM9.86695 8.98383C9.86695 8.69272 9.84623 8.44654 9.80478 8.24528C9.7671 8.04403 9.68797 7.8805 9.56738 7.75472C9.4468 7.62534 9.26782 7.56065 9.03042 7.56065C8.79303 7.56065 8.61405 7.62534 8.49346 7.75472C8.37288 7.8805 8.29187 8.04403 8.25042 8.24528C8.21274 8.44654 8.1939 8.69272 8.1939 8.98383C8.1939 9.28571 8.21274 9.53908 8.25042 9.74394C8.2881 9.94879 8.36723 10.1141 8.48781 10.2399C8.61216 10.3657 8.79303 10.4286 9.03042 10.4286C9.26782 10.4286 9.4468 10.3657 9.56738 10.2399C9.69173 10.1141 9.77275 9.94879 9.81043 9.74394C9.84811 9.53908 9.86695 9.28571 9.86695 8.98383Z",
|
|
4122
|
-
fill: "currentColor"
|
|
3975
|
+
d: "M4.341 3.5c.918-.64 2.008-1 3.159-1C10.548 2.5 13 4.952 13 8s-2.452 5.5-5.5 5.5c-1.702 0-3.246-.783-4.32-2.125a1 1 0 1 0-1.56 1.25C3.062 14.429 5.173 15.5 7.5 15.5c4.152 0 7.5-3.348 7.5-7.5S11.652.5 7.5.5A7.507 7.507 0 0 0 3 2.001V1a1 1 0 1 0-2 0v3c0 .852.648 1.5 1.5 1.5h3a1 1 0 1 0 0-2H4.341Z",
|
|
3976
|
+
clipRule: "evenodd"
|
|
3977
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3978
|
+
fill: "currentColor",
|
|
3979
|
+
d: "M5.5 7.63v-.56h1.176V11h-.65V7.63H5.5ZM7.56 8.984c0-.622.11-1.107.329-1.456C8.11 7.176 8.492 7 9.03 7c.54 0 .918.176 1.136.528.223.349.334.834.334 1.456 0 .629-.111 1.121-.334 1.477-.218.352-.597.528-1.136.528-.538 0-.919-.176-1.141-.528-.219-.356-.328-.848-.328-1.477Zm2.307 0c0-.291-.02-.537-.062-.739a.94.94 0 0 0-.238-.49c-.12-.13-.3-.194-.537-.194-.237 0-.416.064-.537.194a.975.975 0 0 0-.243.49 4.093 4.093 0 0 0-.056.739c0 .302.019.555.056.76.038.205.117.37.238.496.124.126.305.189.542.189.238 0 .417-.063.537-.19a.922.922 0 0 0 .243-.495c.038-.205.057-.458.057-.76Z"
|
|
4123
3980
|
})));
|
|
4124
3981
|
};
|
|
4125
3982
|
|
|
4126
|
-
var _path$a
|
|
3983
|
+
var _path$a;
|
|
4127
3984
|
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); }
|
|
4128
3985
|
var SvgPreviousFill = function SvgPreviousFill(props) {
|
|
4129
3986
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
4130
3987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4131
3988
|
width: 16,
|
|
4132
3989
|
height: 16,
|
|
4133
|
-
focusable: "false",
|
|
4134
3990
|
viewBox: "0 0 24 24"
|
|
4135
3991
|
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4139
|
-
d: "M20.75 19.0526C20.75 20.4774 19.1383 21.305 17.9803 20.4748L7.51062 12.9682C6.50574 12.2477 6.54467 10.7407 7.5854 10.073L18.0551 3.35665C19.2198 2.60946 20.75 3.44583 20.75 4.82961L20.75 19.0526Z",
|
|
4140
|
-
fill: "currentColor"
|
|
3992
|
+
fill: "currentColor",
|
|
3993
|
+
d: "M2.75 20a1 1 0 1 0 2 0V4a1 1 0 1 0-2 0v16ZM20.75 19.053c0 1.424-1.612 2.252-2.77 1.422L7.51 12.968a1.75 1.75 0 0 1 .075-2.895l10.47-6.716c1.165-.748 2.695.089 2.695 1.473v14.223Z"
|
|
4141
3994
|
})));
|
|
4142
3995
|
};
|
|
4143
3996
|
|
|
@@ -4239,16 +4092,14 @@ var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
|
|
|
4239
4092
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
4240
4093
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4241
4094
|
width: 16,
|
|
4242
|
-
height: 16
|
|
4243
|
-
focusable: "false",
|
|
4244
|
-
viewBox: "0 0 16 16"
|
|
4095
|
+
height: 16
|
|
4245
4096
|
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4246
4097
|
stroke: "currentColor",
|
|
4247
4098
|
strokeLinecap: "round",
|
|
4248
|
-
d: "
|
|
4099
|
+
d: "m11.5 10 4-4m-4 0 4 4"
|
|
4249
4100
|
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4250
4101
|
fill: "currentColor",
|
|
4251
|
-
d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0
|
|
4102
|
+
d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0 0 1 1.71.71V14.3a.986.986 0 0 1-1 .99z"
|
|
4252
4103
|
})));
|
|
4253
4104
|
};
|
|
4254
4105
|
|
|
@@ -4258,12 +4109,10 @@ var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
|
|
|
4258
4109
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
4259
4110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4260
4111
|
width: 16,
|
|
4261
|
-
height: 16
|
|
4262
|
-
focusable: "false",
|
|
4263
|
-
viewBox: "0 0 16 16"
|
|
4112
|
+
height: 16
|
|
4264
4113
|
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4265
4114
|
fill: "currentColor",
|
|
4266
|
-
d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0
|
|
4115
|
+
d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0 0 1 1.71.71V14.3a.986.986 0 0 1-1 .99z"
|
|
4267
4116
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4268
4117
|
fill: "none",
|
|
4269
4118
|
stroke: "currentColor",
|
|
@@ -4319,12 +4168,10 @@ var SvgMaximizeFill = function SvgMaximizeFill(props) {
|
|
|
4319
4168
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
4320
4169
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4321
4170
|
width: 16,
|
|
4322
|
-
height: 16
|
|
4323
|
-
focusable: "false",
|
|
4324
|
-
viewBox: "0 0 16 16"
|
|
4171
|
+
height: 16
|
|
4325
4172
|
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4326
4173
|
fill: "currentColor",
|
|
4327
|
-
d: "M16 4.29V1c0-.55-.45-1-1-1h-3.29c-.45 0-.67.54-.35.85l3.79 3.79c.31.32.85.1.85-.35zM0 11.71V15c0 .55.45 1 1 1h3.29c.45 0 .67-.54.35-.85L.85 11.36a.495.495 0
|
|
4174
|
+
d: "M16 4.29V1c0-.55-.45-1-1-1h-3.29c-.45 0-.67.54-.35.85l3.79 3.79c.31.32.85.1.85-.35zM0 11.71V15c0 .55.45 1 1 1h3.29c.45 0 .67-.54.35-.85L.85 11.36a.495.495 0 0 0-.85.35zm0-7.42V1c0-.55.45-1 1-1h3.29c.45 0 .67.54.35.85L.85 4.65A.5.5 0 0 1 0 4.29zm16 7.42V15c0 .55-.45 1-1 1h-3.29c-.45 0-.67-.54-.35-.85l3.79-3.79c.31-.32.85-.1.85.35z"
|
|
4328
4175
|
})));
|
|
4329
4176
|
};
|
|
4330
4177
|
|
|
@@ -4380,7 +4227,7 @@ const ControlsWrapper = styled__default["default"].div `
|
|
|
4380
4227
|
const StyledProgress = styled__default["default"](Progress) `
|
|
4381
4228
|
width: 100%;
|
|
4382
4229
|
border-radius: 0;
|
|
4383
|
-
color: ${({ theme }) => theme.palette.kale[
|
|
4230
|
+
color: ${({ theme }) => theme.palette.kale[700]};
|
|
4384
4231
|
cursor: pointer;
|
|
4385
4232
|
> div {
|
|
4386
4233
|
border-radius: 0;
|
|
@@ -4598,12 +4445,10 @@ var SvgExit = function SvgExit(props) {
|
|
|
4598
4445
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
4599
4446
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4600
4447
|
width: 16,
|
|
4601
|
-
height: 16
|
|
4602
|
-
focusable: "false",
|
|
4603
|
-
viewBox: "0 0 16 16"
|
|
4448
|
+
height: 16
|
|
4604
4449
|
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4605
4450
|
fill: "currentColor",
|
|
4606
|
-
d: "M3 15.93c-.23 0-.45-.08-.64-.23l-2-1.67a.987.987 0
|
|
4451
|
+
d: "M3 15.93c-.23 0-.45-.08-.64-.23l-2-1.67a.987.987 0 0 1-.36-.76V2.73c0-.3.13-.58.36-.77l2-1.67c.3-.24.71-.29 1.06-.13a1 1 0 0 1 .58.91v13.87a1 1 0 0 1-.58.91c-.13.05-.28.08-.42.08zM12 11V5c0-.45.54-.67.85-.35L15.5 7.3c.39.39.39 1.02 0 1.41l-2.65 2.65A.5.5 0 0 1 12 11z"
|
|
4607
4452
|
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4608
4453
|
fill: "none",
|
|
4609
4454
|
stroke: "currentColor",
|
|
@@ -4616,16 +4461,15 @@ var _path$5;
|
|
|
4616
4461
|
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); }
|
|
4617
4462
|
var SvgThumbsUp = function SvgThumbsUp(props) {
|
|
4618
4463
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
4464
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4619
4465
|
width: 16,
|
|
4620
4466
|
height: 16,
|
|
4621
|
-
|
|
4622
|
-
fill: "none",
|
|
4623
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4467
|
+
fill: "none"
|
|
4624
4468
|
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4469
|
+
fill: "#68737D",
|
|
4625
4470
|
fillRule: "evenodd",
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
fill: "#68737D"
|
|
4471
|
+
d: "M13.5 15c.783 0 1.32-3.172 1.5-7.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 1-.5-.5V2a1 1 0 1 0-2 0c0 2.973-.8 4.46-1.973 4.845C5.01 6.855 5 6.872 5 6.9L4.999 15H13.5ZM10 6h4.5c.828 0 1.5.672 1.5 1.52-.23 5.529-.73 8.48-2.5 8.48l-8.467-.001a.97.97 0 0 1-.75-.282A.95.95 0 0 1 4 15V6.91c-.007-.402.215-.773.642-.984C5.416 5.667 6 4.584 6 2a2 2 0 1 1 4 0v4ZM1 7v8h1V7H1Zm0-1h1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z",
|
|
4472
|
+
clipRule: "evenodd"
|
|
4629
4473
|
})));
|
|
4630
4474
|
};
|
|
4631
4475
|
|
|
@@ -4635,9 +4479,7 @@ var SvgLockLockedFill = function SvgLockLockedFill(props) {
|
|
|
4635
4479
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
4636
4480
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4637
4481
|
width: 16,
|
|
4638
|
-
height: 16
|
|
4639
|
-
focusable: "false",
|
|
4640
|
-
viewBox: "0 0 16 16"
|
|
4482
|
+
height: 16
|
|
4641
4483
|
}, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
4642
4484
|
width: 12,
|
|
4643
4485
|
height: 9,
|
|
@@ -4649,7 +4491,7 @@ var SvgLockLockedFill = function SvgLockLockedFill(props) {
|
|
|
4649
4491
|
})), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4650
4492
|
fill: "none",
|
|
4651
4493
|
stroke: "currentColor",
|
|
4652
|
-
d: "M4.5 7.5V4a3.5 3.5 0
|
|
4494
|
+
d: "M4.5 7.5V4a3.5 3.5 0 0 1 7 0v3.5"
|
|
4653
4495
|
})));
|
|
4654
4496
|
};
|
|
4655
4497
|
|
|
@@ -4728,7 +4570,7 @@ const StyledItem = styled__default["default"].li `
|
|
|
4728
4570
|
&:hover,
|
|
4729
4571
|
&:focus,
|
|
4730
4572
|
&:active {
|
|
4731
|
-
background-color: ${theme.
|
|
4573
|
+
background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
4732
4574
|
color: ${props.isDanger ? theme.palette.red[500] : theme.palette.grey[800]};
|
|
4733
4575
|
}`};
|
|
4734
4576
|
|
|
@@ -4762,15 +4604,14 @@ var _path$3;
|
|
|
4762
4604
|
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); }
|
|
4763
4605
|
var SvgQuestionMark = function SvgQuestionMark(props) {
|
|
4764
4606
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
4607
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4765
4608
|
width: 16,
|
|
4766
4609
|
height: 16,
|
|
4767
|
-
|
|
4768
|
-
fill: "currentColor",
|
|
4769
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4610
|
+
fill: "currentColor"
|
|
4770
4611
|
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4771
4612
|
fillRule: "evenodd",
|
|
4772
|
-
|
|
4773
|
-
|
|
4613
|
+
d: "M8 11.5a1 1 0 0 0 1-1V9.4c0-.562.334-1.08.93-1.452 1.45-.788 2.318-2.413 2.058-4.1C11.716 2.214 10.386.884 8.764.614c-2.02-.38-3.953.749-4.52 2.592a1 1 0 0 0 1.912.588c.264-.858 1.207-1.408 2.26-1.211.798.133 1.468.803 1.598 1.581.125.816-.311 1.632-1.093 2.058C7.726 6.967 7 8.092 7 9.4v1.1a1 1 0 0 0 1 1Zm0 4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",
|
|
4614
|
+
clipRule: "evenodd"
|
|
4774
4615
|
})));
|
|
4775
4616
|
};
|
|
4776
4617
|
|
|
@@ -4778,16 +4619,15 @@ var _path$2;
|
|
|
4778
4619
|
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); }
|
|
4779
4620
|
var SvgCopy = function SvgCopy(props) {
|
|
4780
4621
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
4622
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4781
4623
|
width: 12,
|
|
4782
4624
|
height: 16,
|
|
4783
|
-
|
|
4784
|
-
fill: "none",
|
|
4785
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4625
|
+
fill: "none"
|
|
4786
4626
|
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4627
|
+
fill: "#003A57",
|
|
4787
4628
|
fillRule: "evenodd",
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
fill: "#003A57"
|
|
4629
|
+
d: "M2.625 10c.207 0 .375.224.375.5s-.168.5-.375.5H.75C.336 11 0 10.552 0 10V1c0-.552.336-1 .75-1H7.5c.414 0 .75.448.75 1v2.5c0 .276-.168.5-.375.5S7.5 3.776 7.5 3.5V1H.75v9h1.875ZM4.5 6v9h6.75V6H4.5Zm0-1h6.75c.414 0 .75.448.75 1v9c0 .552-.336 1-.75 1H4.5c-.414 0-.75-.448-.75-1V6c0-.552.336-1 .75-1Z",
|
|
4630
|
+
clipRule: "evenodd"
|
|
4791
4631
|
})));
|
|
4792
4632
|
};
|
|
4793
4633
|
|
|
@@ -4795,33 +4635,24 @@ var _path$1;
|
|
|
4795
4635
|
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); }
|
|
4796
4636
|
var SvgInfoFill = function SvgInfoFill(props) {
|
|
4797
4637
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
4638
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4798
4639
|
width: 16,
|
|
4799
4640
|
height: 16,
|
|
4800
|
-
|
|
4801
|
-
fill: "currentColor",
|
|
4802
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4641
|
+
fill: "currentColor"
|
|
4803
4642
|
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4804
4643
|
fillRule: "evenodd",
|
|
4805
|
-
|
|
4806
|
-
|
|
4644
|
+
d: "M7.5 16C3.36 16 0 12.64 0 8.5 0 4.36 3.36 1 7.5 1 11.64 1 15 4.36 15 8.5c0 4.14-3.36 7.5-7.5 7.5ZM7 12.5c0 .28.22.5.5.5s.5-.22.5-.5V8c0-.28-.22-.5-.5-.5S7 7.72 7 8v4.5ZM7.5 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1Z",
|
|
4645
|
+
clipRule: "evenodd"
|
|
4807
4646
|
})));
|
|
4808
4647
|
};
|
|
4809
4648
|
|
|
4810
|
-
const StyledButton$
|
|
4649
|
+
const StyledButton$1 = styled__default["default"](Button) `
|
|
4811
4650
|
color: ${(props) => props.theme.palette.grey[800]};
|
|
4812
4651
|
font-weight: ${(props) => props.theme.fontWeights.semibold};
|
|
4813
4652
|
padding-left: 0;
|
|
4814
4653
|
justify-content: flex-start;
|
|
4815
|
-
|
|
4816
|
-
${(props) => `
|
|
4817
|
-
&:hover,
|
|
4818
|
-
&:focus,
|
|
4819
|
-
&:active {
|
|
4820
|
-
background-color: ${props.theme.palette.kale[100]};
|
|
4821
|
-
color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
|
|
4822
|
-
}`};
|
|
4823
4654
|
`;
|
|
4824
|
-
const PreviousButton = (props) => (jsxRuntime.jsxs(StyledButton$
|
|
4655
|
+
const PreviousButton = (props) => (jsxRuntime.jsxs(StyledButton$1, Object.assign({}, props, { isStretched: true }, { children: [jsxRuntime.jsx(StyledButton$1.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.children] })));
|
|
4825
4656
|
|
|
4826
4657
|
const UgParagraph = styled__default["default"](reactTypography.Paragraph) ``;
|
|
4827
4658
|
/**
|
|
@@ -4835,16 +4666,18 @@ const getInitials = (name) => {
|
|
|
4835
4666
|
return initials;
|
|
4836
4667
|
};
|
|
4837
4668
|
|
|
4838
|
-
const StyledButton
|
|
4669
|
+
const StyledButton = styled__default["default"](Button) `
|
|
4839
4670
|
${(props) => `
|
|
4840
4671
|
&:hover,
|
|
4841
4672
|
&:focus,
|
|
4842
4673
|
&:active {
|
|
4843
|
-
background-color: ${props.theme.
|
|
4844
|
-
color: ${props.isDanger
|
|
4674
|
+
background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
4675
|
+
color: ${props.isDanger
|
|
4676
|
+
? props.theme.palette.red[500]
|
|
4677
|
+
: props.theme.palette.grey[800]};
|
|
4845
4678
|
}`};
|
|
4846
4679
|
`;
|
|
4847
|
-
const StyledFooterButton = styled__default["default"](StyledButton
|
|
4680
|
+
const StyledFooterButton = styled__default["default"](StyledButton) `
|
|
4848
4681
|
color: ${(props) => props.theme.palette.grey[800]};
|
|
4849
4682
|
padding-left: 0;
|
|
4850
4683
|
justify-content: flex-start;
|
|
@@ -4881,18 +4714,21 @@ const HelpItem = (props) => {
|
|
|
4881
4714
|
if (email.length > 24) {
|
|
4882
4715
|
csmEmailCut = `${email.substring(0, 21)}...`;
|
|
4883
4716
|
}
|
|
4884
|
-
const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledBody$2, { children: [jsxRuntime.jsx(Paragraph, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: jsxRuntime.jsx(SM, { children: props.contactLabel }) })), jsxRuntime.jsx(StyledParagraph, { children: jsxRuntime.jsx(Avatar, { children: (_a = props.csm.picture) !== null && _a !== void 0 ? _a : getInitials(props.csm.name), avatarType: props.csm.picture ? "image" : "text", size: "large" }) }), jsxRuntime.jsxs(StyledParagraph, { children: [jsxRuntime.jsx(MD, Object.assign({ isBold: true }, { children: props.csm.name })), jsxRuntime.jsxs(Description, { children: [jsxRuntime.jsx(Anchor, Object.assign({ href: `mailto:${props.csm.email}`, style: { color: theme.palette.grey[600] } }, { children: csmEmailCut })), jsxRuntime.jsxs(StyledButton
|
|
4717
|
+
const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledBody$2, { children: [jsxRuntime.jsx(Paragraph, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: jsxRuntime.jsx(SM, { children: props.contactLabel }) })), jsxRuntime.jsx(StyledParagraph, { children: jsxRuntime.jsx(Avatar, { children: (_a = props.csm.picture) !== null && _a !== void 0 ? _a : getInitials(props.csm.name), avatarType: props.csm.picture ? "image" : "text", size: "large" }) }), jsxRuntime.jsxs(StyledParagraph, { children: [jsxRuntime.jsx(MD, Object.assign({ isBold: true }, { children: props.csm.name })), jsxRuntime.jsxs(Description, { children: [jsxRuntime.jsx(Anchor, Object.assign({ href: `mailto:${props.csm.email}`, style: { color: theme.palette.grey[600] } }, { children: csmEmailCut })), jsxRuntime.jsxs(StyledButton, Object.assign({ isBasic: true, onClick: () => {
|
|
4718
|
+
var _a;
|
|
4719
|
+
copyToClipBoard();
|
|
4720
|
+
(_a = props.onCopyEmail) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
4721
|
+
}, size: "small" }, { children: [jsxRuntime.jsx(StyledButton.StartIcon, { children: jsxRuntime.jsx(SvgCopy, {}) }), (_b = props.copyLabel) !== null && _b !== void 0 ? _b : "Copy"] }))] })] })] }), props.chatSupport && (jsxRuntime.jsxs(Footer, { children: [jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledFooterButton, Object.assign({ isStretched: true, isBasic: true, onClick: props.toggleChat, style: { paddingLeft: theme.space.xxs } }, { children: [jsxRuntime.jsx(StyledFooterButton.StartIcon, { children: jsxRuntime.jsx(SvgInfoFill, { color: theme.palette.blue[600] }) }), (_c = props.chatSupportLabel) !== null && _c !== void 0 ? _c : "Report a technical issue"] }))] }))] }));
|
|
4885
4722
|
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MenuItem, Object.assign({ content: content, value: props.value, selectedItem: props.selectedItem, setActive: props.setActive, icon: jsxRuntime.jsx(SvgQuestionMark, { color: theme.palette.blue[600] }) }, { children: props.title })) }));
|
|
4886
4723
|
};
|
|
4887
4724
|
|
|
4888
4725
|
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); }
|
|
4889
4726
|
var SvgEmpty = function SvgEmpty(props) {
|
|
4890
4727
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
4728
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4891
4729
|
width: 16,
|
|
4892
4730
|
height: 16,
|
|
4893
|
-
|
|
4894
|
-
fill: "#68737D",
|
|
4895
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4731
|
+
fill: "#68737D"
|
|
4896
4732
|
}, props));
|
|
4897
4733
|
};
|
|
4898
4734
|
|
|
@@ -4900,15 +4736,14 @@ var _path;
|
|
|
4900
4736
|
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); }
|
|
4901
4737
|
var SvgTranslationExists = function SvgTranslationExists(props) {
|
|
4902
4738
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
4739
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4903
4740
|
width: 16,
|
|
4904
4741
|
height: 16,
|
|
4905
|
-
|
|
4906
|
-
fill: "#68737D",
|
|
4907
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4742
|
+
fill: "#68737D"
|
|
4908
4743
|
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4909
4744
|
fillRule: "evenodd",
|
|
4910
|
-
|
|
4911
|
-
|
|
4745
|
+
d: "M6 8.31a.496.496 0 0 1-.67.49c-.33-.12-.62-.3-.88-.49C3.9 8.73 3.26 9 2.5 9c-.28 0-.5-.22-.5-.5s.22-.5.5-.5c.44 0 .84-.14 1.19-.37-.79-.9-1.14-1.91-1.16-1.97-.09-.26.05-.55.31-.63.26-.09.55.05.63.31 0 .01.31.87.96 1.61.76-.91 1.21-2.2 1.43-2.95H2.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5H4v-.5c0-.28.22-.5.5-.5s.5.22.5.5V3h1.5c.15 0 .29.07.39.18.09.12.13.27.1.42-.01.05-.08.38-.22.83C7.11 4.17 7.53 4 8 4h1V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1v9c0 .55.45 1 1 1h5V8.31Zm-.33-.45c.19.07.32.24.33.43V6.35c-.23.44-.5.87-.82 1.26.15.1.31.18.49.25ZM15 5H8c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1Zm-1.3 7.96a.51.51 0 0 1-.66-.26l-.31-.7h-2.46l-.31.7c-.11.25-.41.37-.66.25a.497.497 0 0 1-.25-.66l2-4.5c.16-.36.75-.36.91 0l2 4.5c.11.26 0 .55-.26.67ZM10.71 11h1.58l-.79-1.77-.79 1.77Z",
|
|
4746
|
+
clipRule: "evenodd"
|
|
4912
4747
|
})));
|
|
4913
4748
|
};
|
|
4914
4749
|
|
|
@@ -4922,18 +4757,9 @@ const StyledButtonContainer = styled__default["default"].div `
|
|
|
4922
4757
|
justify-content: flex-start;
|
|
4923
4758
|
}
|
|
4924
4759
|
`;
|
|
4925
|
-
const StyledButton = styled__default["default"](Button) `
|
|
4926
|
-
${(props) => `
|
|
4927
|
-
&:hover,
|
|
4928
|
-
&:focus,
|
|
4929
|
-
&:active {
|
|
4930
|
-
background-color: ${props.theme.palette.kale[100]};
|
|
4931
|
-
color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
|
|
4932
|
-
}`};
|
|
4933
|
-
`;
|
|
4934
4760
|
const LanguageItem = (props) => {
|
|
4935
4761
|
var _a;
|
|
4936
|
-
const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(StyledBody$1, { children: jsxRuntime.jsx(StyledButtonContainer, { children: Object.keys(props.languages).map((key) => (jsxRuntime.jsxs(
|
|
4762
|
+
const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(StyledBody$1, { children: jsxRuntime.jsx(StyledButtonContainer, { children: Object.keys(props.languages).map((key) => (jsxRuntime.jsxs(Button, Object.assign({ isBasic: true, isStretched: true, value: key, onClick: () => props.onSelectLanguage(key) }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: props.currentLanguage === key ? jsxRuntime.jsx(SvgCheckLg, {}) : jsxRuntime.jsx(SvgEmpty, {}) }), jsxRuntime.jsx(Span, Object.assign({ isBold: props.currentLanguage === key }, { children: props.languages[key].label }))] })))) }) })] }));
|
|
4937
4763
|
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MenuItem, Object.assign({ content: content, value: props.value, selectedItem: props.selectedItem, setActive: props.setActive, icon: jsxRuntime.jsx(SvgTranslationExists, { fill: theme.palette.blue[600] }) }, { children: jsxRuntime.jsxs(MenuItemBody, { children: [props.title, jsxRuntime.jsxs(MD, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: [(_a = props.currentLanguageLabel) !== null && _a !== void 0 ? _a : "Now:", " " + props.languages[props.currentLanguage].label] }))] }) })) }));
|
|
4938
4764
|
};
|
|
4939
4765
|
|
|
@@ -4946,7 +4772,7 @@ const CompanyHolder = styled__default["default"](SM) `
|
|
|
4946
4772
|
text-transform: uppercase;
|
|
4947
4773
|
margin-top: ${({ theme }) => theme.space.base * 2}px;
|
|
4948
4774
|
margin-bottom: ${({ theme }) => theme.space.base * 4}px;
|
|
4949
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
4775
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
4950
4776
|
`;
|
|
4951
4777
|
const UserDetails = styled__default["default"].div `
|
|
4952
4778
|
margin-top: ${({ theme }) => theme.space.base * 4}px;
|
|
@@ -4962,11 +4788,6 @@ const StyledList = styled__default["default"].ul `
|
|
|
4962
4788
|
padding: 0;
|
|
4963
4789
|
margin: 0;
|
|
4964
4790
|
`;
|
|
4965
|
-
styled__default["default"](Anchor) `
|
|
4966
|
-
&:hover {
|
|
4967
|
-
text-decoration: none;
|
|
4968
|
-
}
|
|
4969
|
-
`;
|
|
4970
4791
|
const UserMenu = (props) => {
|
|
4971
4792
|
var _a;
|
|
4972
4793
|
const [item, setActiveItem] = React.useState("");
|
|
@@ -4975,7 +4796,7 @@ const UserMenu = (props) => {
|
|
|
4975
4796
|
};
|
|
4976
4797
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [item === "" && jsxRuntime.jsx(UserContainer, Object.assign({}, props.user)), jsxRuntime.jsxs(StyledList, { children: [item === "" && props.onFeedbackClick && jsxRuntime.jsx(Separator, {}), props.onFeedbackClick && (jsxRuntime.jsx(MenuItem, Object.assign({ selectedItem: item, icon: jsxRuntime.jsx(SvgThumbsUp, {}), setActive: () => props.onFeedbackClick
|
|
4977
4798
|
? props.onFeedbackClick()
|
|
4978
|
-
: console.log("feedback fired") }, { children: jsxRuntime.jsxs(MenuItemBody, { children: [props.feedbackTitle || "Give us your feedback", jsxRuntime.jsx(MD, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: props.feedbackSubTitle || "Help us improve UNGUESS!" }))] }) }))), item === "" && jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(HelpItem, { value: "csm", selectedItem: item, setActive: (i) => toggleItem(i), title: props.csmTitle || "Need Help?", contactLabel: props.csmContactLabel || "Contact your CSM", csm: props.csm, toggleChat: props.onToggleChat, chatSupportLabel: props === null || props === void 0 ? void 0 : props.chatSupportLabel, copyLabel: props === null || props === void 0 ? void 0 : props.copyLabel }), jsxRuntime.jsx(LanguageItem, { title: props.languageTitle || "Change Language", value: "language-selector", selectedItem: item, setActive: (i) => toggleItem(i), languages: props.languages, currentLanguage: props.currentLanguage, currentLanguageLabel: props.currentLanguageLabel, onSelectLanguage: (lang) => props.onSelectLanguage(lang) }), jsxRuntime.jsx(MenuItem, Object.assign({ selectedItem: item, icon: jsxRuntime.jsx(SvgLockLockedFill, { color: theme.palette.blue[600] }), setActive: () => {
|
|
4799
|
+
: console.log("feedback fired") }, { children: jsxRuntime.jsxs(MenuItemBody, { children: [props.feedbackTitle || "Give us your feedback", jsxRuntime.jsx(MD, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: props.feedbackSubTitle || "Help us improve UNGUESS!" }))] }) }))), item === "" && jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(HelpItem, { value: "csm", selectedItem: item, setActive: (i) => toggleItem(i), title: props.csmTitle || "Need Help?", contactLabel: props.csmContactLabel || "Contact your CSM", csm: props.csm, toggleChat: props.onToggleChat, chatSupportLabel: props === null || props === void 0 ? void 0 : props.chatSupportLabel, copyLabel: props === null || props === void 0 ? void 0 : props.copyLabel, onCopyEmail: props === null || props === void 0 ? void 0 : props.onCopyEmail, chatSupport: props === null || props === void 0 ? void 0 : props.chatSupport }), jsxRuntime.jsx(LanguageItem, { title: props.languageTitle || "Change Language", value: "language-selector", selectedItem: item, setActive: (i) => toggleItem(i), languages: props.languages, currentLanguage: props.currentLanguage, currentLanguageLabel: props.currentLanguageLabel, onSelectLanguage: (lang) => props.onSelectLanguage(lang) }), jsxRuntime.jsx(MenuItem, Object.assign({ selectedItem: item, icon: jsxRuntime.jsx(SvgLockLockedFill, { color: theme.palette.blue[600] }), setActive: () => {
|
|
4979
4800
|
if (document.querySelector(".iubenda-cs-preferences-link")) {
|
|
4980
4801
|
const iubendaBtn = document.querySelector(".iubenda-cs-preferences-link");
|
|
4981
4802
|
if (iubendaBtn) {
|
|
@@ -5076,7 +4897,7 @@ const StyledTag = styled__default["default"](Tag) `
|
|
|
5076
4897
|
const StyledSM = styled__default["default"](SM) `
|
|
5077
4898
|
color: ${({ theme }) => theme.palette.grey[600]};
|
|
5078
4899
|
span {
|
|
5079
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
4900
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
5080
4901
|
}
|
|
5081
4902
|
`;
|
|
5082
4903
|
const SliderCounter = ({ current, total, }) => {
|
|
@@ -5317,7 +5138,7 @@ const Row = (props) => jsxRuntime.jsx(UgRow, Object.assign({}, props));
|
|
|
5317
5138
|
const Cell = (props) => jsxRuntime.jsx(UgCell, Object.assign({}, props));
|
|
5318
5139
|
const Caption = (props) => (jsxRuntime.jsx(reactTables.Caption, Object.assign({}, props)));
|
|
5319
5140
|
|
|
5320
|
-
const StyledAnimatedToggle = styled__default["default"]
|
|
5141
|
+
const StyledAnimatedToggle = styled__default["default"].div `
|
|
5321
5142
|
display: inline-block;
|
|
5322
5143
|
float: right;
|
|
5323
5144
|
`;
|
|
@@ -5354,16 +5175,8 @@ const UgGroupRow = styled__default["default"](reactTables.GroupRow) `
|
|
|
5354
5175
|
`;
|
|
5355
5176
|
const GroupRow = (props) => jsxRuntime.jsx(UgGroupRow, Object.assign({}, props));
|
|
5356
5177
|
const GroupRowComponent = (props) => {
|
|
5357
|
-
const toggleIconAnimation = reactSpring.useSpring({
|
|
5358
|
-
config: { duration: 120 },
|
|
5359
|
-
transform: props.group.items.length > 0
|
|
5360
|
-
? props.open
|
|
5361
|
-
? "rotate(180deg)"
|
|
5362
|
-
: "rotate(0deg)"
|
|
5363
|
-
: "rotate(0deg)",
|
|
5364
|
-
});
|
|
5365
5178
|
return (jsxRuntime.jsx(GroupRow, Object.assign({}, (props && props.group.items.length === 0 && { className: "empty" }), (props &&
|
|
5366
|
-
props.group.items.length > 0 && { onClick: props.handleToggle }), props, { children: jsxRuntime.jsxs(Cell, Object.assign({ colSpan: props.colSpan, className: props.open ? "open" : "closed" }, { children: [props.group.groupIcon && (jsxRuntime.jsx(StyledUgIcon, { size: 12, type: props.group.groupIcon })), jsxRuntime.jsxs(Label, Object.assign({ isRegular: true, className: "title" }, { children: [props.group.groupName, " ", jsxRuntime.jsxs("b", { children: ["(", props.group.items.length, ")"] })] })), jsxRuntime.jsx(StyledAnimatedToggle, Object.assign({ style:
|
|
5179
|
+
props.group.items.length > 0 && { onClick: props.handleToggle }), props, { children: jsxRuntime.jsxs(Cell, Object.assign({ colSpan: props.colSpan, className: props.open ? "open" : "closed" }, { children: [props.group.groupIcon && (jsxRuntime.jsx(StyledUgIcon, { size: 12, type: props.group.groupIcon })), jsxRuntime.jsxs(Label, Object.assign({ isRegular: true, className: "title" }, { children: [props.group.groupName, " ", jsxRuntime.jsxs("b", { children: ["(", props.group.items.length, ")"] })] })), jsxRuntime.jsx(StyledAnimatedToggle, Object.assign({ style: { transform: props.open ? "rotate(180deg)" : "none" } }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] })) })));
|
|
5367
5180
|
};
|
|
5368
5181
|
const AnimatedRow = styled__default["default"](Row) `
|
|
5369
5182
|
&.render {
|
|
@@ -5401,10 +5214,10 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
|
|
|
5401
5214
|
|
|
5402
5215
|
${({ theme, isSelected }) => isSelected &&
|
|
5403
5216
|
`
|
|
5404
|
-
color: ${theme.colors.primaryHue};
|
|
5217
|
+
color: ${getColor(theme.colors.primaryHue, 600)};
|
|
5405
5218
|
background-color: transparent;
|
|
5406
5219
|
|
|
5407
|
-
border-color: ${theme.colors.primaryHue};
|
|
5220
|
+
border-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
5408
5221
|
font-weight: ${theme.fontWeights.semibold};
|
|
5409
5222
|
`}
|
|
5410
5223
|
|
|
@@ -5416,7 +5229,7 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
|
|
|
5416
5229
|
|
|
5417
5230
|
&:hover {
|
|
5418
5231
|
background-color: transparent;
|
|
5419
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
5232
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
5420
5233
|
}
|
|
5421
5234
|
`;
|
|
5422
5235
|
const StyledTabList = styled__default["default"].div `
|
|
@@ -5537,7 +5350,7 @@ const TooltipComponent = (props) => {
|
|
|
5537
5350
|
return jsxRuntime.jsx(reactTooltips.Tooltip, Object.assign({}, props, { zIndex: (_a = props.zIndex) !== null && _a !== void 0 ? _a : theme.levels.front }));
|
|
5538
5351
|
};
|
|
5539
5352
|
const Tooltip = styled__default["default"](TooltipComponent) `
|
|
5540
|
-
box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`,
|
|
5353
|
+
box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`, getColor("neutralHue", 600, theme, 0.15))};
|
|
5541
5354
|
`;
|
|
5542
5355
|
|
|
5543
5356
|
const StyledTooltipModal = styled__default["default"](reactModals.TooltipModal) `
|
|
@@ -5603,6 +5416,7 @@ exports.Breadcrumb = Breadcrumb;
|
|
|
5603
5416
|
exports.BulletChart = BulletChart;
|
|
5604
5417
|
exports.Button = Button;
|
|
5605
5418
|
exports.ButtonGroup = ButtonGroup;
|
|
5419
|
+
exports.CARD_COMPONENT_ID = CARD_COMPONENT_ID;
|
|
5606
5420
|
exports.CHARTS_COLOR_PALETTE = CHARTS_COLOR_PALETTE;
|
|
5607
5421
|
exports.CampaignCard = CampaignCard;
|
|
5608
5422
|
exports.CampaignExperientialIcon = SvgCampaignExperiential;
|
|
@@ -5726,5 +5540,7 @@ exports.WaffleChart = WaffleChart;
|
|
|
5726
5540
|
exports.XL = XL;
|
|
5727
5541
|
exports.XXL = XXL;
|
|
5728
5542
|
exports.XXXL = XXXL;
|
|
5543
|
+
exports.cardCmponentStyle = cardCmponentStyle;
|
|
5544
|
+
exports.getColor = getColor;
|
|
5729
5545
|
exports.theme = theme;
|
|
5730
5546
|
exports.useToast = useToast;
|