@appquality/unguess-design-system 2.12.86 → 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 +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +606 -792
- 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/helpMenuItem.d.ts +1 -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 +82 -42
- 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,28 +278,67 @@ 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" });
|
|
277
282
|
|
|
278
|
-
|
|
279
|
-
const
|
|
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));
|
|
319
|
+
|
|
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, }) => {
|
|
280
324
|
const svgCss = {
|
|
281
325
|
marginTop: "-1px",
|
|
282
326
|
};
|
|
283
327
|
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (type === "success" &&
|
|
284
328
|
isPrimary && {
|
|
285
|
-
backgroundColor:
|
|
329
|
+
backgroundColor: getColor(colors.successHue, 700),
|
|
286
330
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
287
331
|
})), (type === "warning" &&
|
|
288
332
|
isPrimary && {
|
|
289
|
-
backgroundColor:
|
|
333
|
+
backgroundColor: getColor(colors.warningHue, 700),
|
|
290
334
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
291
335
|
})), (type === "error" &&
|
|
292
336
|
isPrimary && {
|
|
293
|
-
backgroundColor:
|
|
337
|
+
backgroundColor: getColor(colors.dangerHue, 700),
|
|
294
338
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
295
339
|
})), (type === "info" &&
|
|
296
340
|
isPrimary && {
|
|
297
|
-
backgroundColor:
|
|
341
|
+
backgroundColor: getColor(colors.infoHue, 700),
|
|
298
342
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
299
343
|
})), !isPrimary && {
|
|
300
344
|
svg: svgCss,
|
|
@@ -353,15 +397,9 @@ const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.co
|
|
|
353
397
|
thumbSize: "60px",
|
|
354
398
|
}, "tabs.tab": ({ isSelected }) => {
|
|
355
399
|
return isSelected ? { fontWeight: fontWeights.semibold } : undefined;
|
|
356
|
-
}, "forms.input": ({ isFocused }) => {
|
|
357
|
-
return isFocused
|
|
358
|
-
? {
|
|
359
|
-
boxShadow: `0 0 0 3px ${palette.kale[200]}}`,
|
|
360
|
-
}
|
|
361
|
-
: undefined;
|
|
362
400
|
}, "dropdowns.item": (_a) => {
|
|
363
401
|
var { addable, checked } = _a; __rest(_a, ["addable", "checked"]);
|
|
364
|
-
return Object.assign(Object.assign(
|
|
402
|
+
return Object.assign(Object.assign({}, (addable
|
|
365
403
|
? {
|
|
366
404
|
color: colors.primaryHue,
|
|
367
405
|
cursor: "pointer",
|
|
@@ -370,46 +408,104 @@ const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.co
|
|
|
370
408
|
? {
|
|
371
409
|
fontWeight: fontWeights.semibold,
|
|
372
410
|
}
|
|
373
|
-
: {}))
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
return {};
|
|
379
|
-
return Object.assign(Object.assign(Object.assign({}, (isBasic && {
|
|
380
|
-
backgroundColor: palette.white,
|
|
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),
|
|
381
416
|
"&:hover": {
|
|
382
|
-
|
|
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),
|
|
428
|
+
"&:hover": {
|
|
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",
|
|
383
446
|
},
|
|
384
447
|
})), (isBright && {
|
|
385
448
|
backgroundColor: "transparent",
|
|
386
449
|
color: "white",
|
|
450
|
+
border: "none",
|
|
387
451
|
"&:hover": {
|
|
388
452
|
backgroundColor: palette.grey[500],
|
|
389
|
-
color: palette.kale[100],
|
|
390
453
|
},
|
|
391
454
|
"&:active": {
|
|
392
455
|
backgroundColor: palette.grey[600],
|
|
393
|
-
color: palette.kale[200],
|
|
394
456
|
},
|
|
395
457
|
})), (disabled && { pointerEvents: "none" }));
|
|
396
|
-
}, "buttons.button": ({
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
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
|
+
}));
|
|
413
509
|
} });
|
|
414
510
|
|
|
415
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: {
|
|
@@ -481,6 +577,9 @@ const UgAlert = styled__default["default"](reactNotifications.Alert) `
|
|
|
481
577
|
color: ${({ theme }) => theme.palette.grey[700]};
|
|
482
578
|
border-width: 2px;
|
|
483
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)};
|
|
484
583
|
`;
|
|
485
584
|
const UgAlertTitle = styled__default["default"](reactNotifications.Title) `
|
|
486
585
|
font-size: ${({ theme }) => theme.fontSizes.md};
|
|
@@ -571,16 +670,6 @@ const Breadcrumb = (_a) => {
|
|
|
571
670
|
*/
|
|
572
671
|
const Anchor = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.Anchor, Object.assign({ ref: ref }, props)));
|
|
573
672
|
|
|
574
|
-
let customTheme = Object.assign({}, theme);
|
|
575
|
-
// Define theme override
|
|
576
|
-
const getThemeStyle = (props) => {
|
|
577
|
-
const { themeColor } = props;
|
|
578
|
-
if (themeColor) {
|
|
579
|
-
customTheme = Object.assign(Object.assign({}, theme), { colors: Object.assign(Object.assign({}, theme.colors), { primaryHue: themeColor }) });
|
|
580
|
-
return customTheme;
|
|
581
|
-
}
|
|
582
|
-
return theme;
|
|
583
|
-
};
|
|
584
673
|
const UgButton = styled__default["default"](reactButtons.Button) ``;
|
|
585
674
|
/**
|
|
586
675
|
* Buttons let users take action quickly.
|
|
@@ -591,11 +680,7 @@ const UgButton = styled__default["default"](reactButtons.Button) ``;
|
|
|
591
680
|
- To draw attention to relevant actions in a user's workflow
|
|
592
681
|
*/
|
|
593
682
|
const ButtonComponent = React.forwardRef((props, ref) => {
|
|
594
|
-
|
|
595
|
-
const currentTheme = getThemeStyle(props);
|
|
596
|
-
return jsxRuntime.jsx(UgButton, Object.assign({}, props, { ref: ref, theme: currentTheme }));
|
|
597
|
-
}
|
|
598
|
-
return jsxRuntime.jsx(UgButton, Object.assign({ ref: ref }, props));
|
|
683
|
+
return jsxRuntime.jsx(UgButton, Object.assign({ ref: ref, isPill: true }, props));
|
|
599
684
|
});
|
|
600
685
|
const Button = ButtonComponent;
|
|
601
686
|
Button.StartIcon = UgButton.StartIcon;
|
|
@@ -629,37 +714,6 @@ Used for this:
|
|
|
629
714
|
**/
|
|
630
715
|
const SplitButton = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.SplitButton, Object.assign({ ref: ref }, props)));
|
|
631
716
|
|
|
632
|
-
const UgCard = styled__default["default"](reactNotifications.Well) `
|
|
633
|
-
border-radius: ${({ theme }) => theme.borderRadii.lg};
|
|
634
|
-
padding: ${({ theme }) => theme.space.xxl};
|
|
635
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
636
|
-
cursor: pointer;
|
|
637
|
-
|
|
638
|
-
${({ isFloating, theme }) => !isFloating &&
|
|
639
|
-
`
|
|
640
|
-
&:hover {
|
|
641
|
-
box-shadow: ${theme.shadows.boxShadow(theme)};
|
|
642
|
-
}`}
|
|
643
|
-
`;
|
|
644
|
-
/**
|
|
645
|
-
* A Card is a container that groups related content.
|
|
646
|
-
* <hr>
|
|
647
|
-
* Used for this:
|
|
648
|
-
- To group related content
|
|
649
|
-
*/
|
|
650
|
-
const Card = (props) => jsxRuntime.jsx(UgCard, Object.assign({}, props));
|
|
651
|
-
const UgContainerCard = styled__default["default"](reactNotifications.Well) `
|
|
652
|
-
border-radius: ${({ theme }) => theme.borderRadii.xl};
|
|
653
|
-
padding: ${({ theme }) => theme.space.xxl};
|
|
654
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
655
|
-
cursor: default;
|
|
656
|
-
|
|
657
|
-
@media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
|
|
658
|
-
padding: ${({ theme }) => `${theme.space.xl} ${theme.space.md}`};
|
|
659
|
-
}
|
|
660
|
-
`;
|
|
661
|
-
const ContainerCard = (props) => jsxRuntime.jsx(UgContainerCard, Object.assign({}, props));
|
|
662
|
-
|
|
663
717
|
/**
|
|
664
718
|
* Use Span to style and format inline text elements.
|
|
665
719
|
* <hr>
|
|
@@ -731,270 +785,191 @@ Tag.Avatar = StyledAvatar;
|
|
|
731
785
|
Tag.Close = StyledClose;
|
|
732
786
|
Tag.SecondaryText = StyledSpan;
|
|
733
787
|
|
|
734
|
-
var _path$
|
|
788
|
+
var _path$D;
|
|
735
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); }
|
|
736
790
|
var SvgUgSquare = function SvgUgSquare(props) {
|
|
737
791
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
792
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
738
793
|
width: 24,
|
|
739
794
|
height: 24,
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
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",
|
|
745
|
-
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"
|
|
746
799
|
})));
|
|
747
800
|
};
|
|
748
801
|
|
|
749
|
-
var _path$
|
|
802
|
+
var _path$C;
|
|
750
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); }
|
|
751
804
|
var SvgUgCircle = function SvgUgCircle(props) {
|
|
752
805
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
806
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
753
807
|
width: 24,
|
|
754
808
|
height: 24,
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
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",
|
|
760
|
-
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"
|
|
761
813
|
})));
|
|
762
814
|
};
|
|
763
815
|
|
|
764
|
-
var _path$
|
|
816
|
+
var _path$B;
|
|
765
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); }
|
|
766
818
|
var SvgUgTriangle = function SvgUgTriangle(props) {
|
|
767
819
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
820
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
768
821
|
width: 24,
|
|
769
822
|
height: 24,
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
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",
|
|
775
|
-
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"
|
|
776
827
|
})));
|
|
777
828
|
};
|
|
778
829
|
|
|
779
|
-
var _rect$4, _path$
|
|
830
|
+
var _rect$4, _path$A, _path2$e, _path3$5;
|
|
780
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); }
|
|
781
832
|
var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
|
|
782
833
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
834
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
783
835
|
width: 24,
|
|
784
836
|
height: 24,
|
|
785
|
-
|
|
786
|
-
fill: "none",
|
|
787
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
837
|
+
fill: "none"
|
|
788
838
|
}, props), _rect$4 || (_rect$4 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
789
839
|
width: 24,
|
|
790
840
|
height: 24,
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
})), _path$
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
})), _path2$
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
})), _path3$
|
|
800
|
-
|
|
801
|
-
|
|
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"
|
|
802
852
|
})));
|
|
803
853
|
};
|
|
804
854
|
|
|
805
|
-
var _rect$3, _path$
|
|
855
|
+
var _rect$3, _path$z, _path2$d;
|
|
806
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); }
|
|
807
857
|
var SvgCampaignLocked = function SvgCampaignLocked(props) {
|
|
808
858
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
859
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
809
860
|
width: 24,
|
|
810
861
|
height: 24,
|
|
811
|
-
|
|
812
|
-
fill: "none",
|
|
813
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
862
|
+
fill: "none"
|
|
814
863
|
}, props), _rect$3 || (_rect$3 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
815
864
|
width: 24,
|
|
816
865
|
height: 24,
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
})), _path$
|
|
866
|
+
fill: "#F6F6F8",
|
|
867
|
+
rx: 12
|
|
868
|
+
})), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
869
|
+
fill: "#D1820A",
|
|
820
870
|
fillRule: "evenodd",
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
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",
|
|
825
875
|
fillRule: "evenodd",
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
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"
|
|
829
878
|
})));
|
|
830
879
|
};
|
|
831
880
|
|
|
832
|
-
var _rect$2, _path$
|
|
881
|
+
var _rect$2, _path$y, _path2$c;
|
|
833
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); }
|
|
834
883
|
var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
|
|
835
884
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
885
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
836
886
|
width: 24,
|
|
837
887
|
height: 24,
|
|
838
|
-
|
|
839
|
-
fill: "none",
|
|
840
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
888
|
+
fill: "none"
|
|
841
889
|
}, props), _rect$2 || (_rect$2 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
842
890
|
width: 24,
|
|
843
891
|
height: 24,
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
})), _path$
|
|
847
|
-
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", {
|
|
848
895
|
stroke: "#024780",
|
|
849
|
-
strokeWidth: 1.5,
|
|
850
896
|
strokeLinecap: "round",
|
|
851
|
-
strokeLinejoin: "round"
|
|
852
|
-
})), _path2$9 || (_path2$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
853
|
-
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",
|
|
854
|
-
stroke: "#53AFFA",
|
|
897
|
+
strokeLinejoin: "round",
|
|
855
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",
|
|
856
902
|
strokeLinecap: "round",
|
|
857
|
-
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"
|
|
858
906
|
})));
|
|
859
907
|
};
|
|
860
908
|
|
|
861
|
-
var _rect$1, _path$
|
|
909
|
+
var _rect$1, _path$x, _path2$b, _path3$4;
|
|
862
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); }
|
|
863
911
|
var SvgCampaignProgress = function SvgCampaignProgress(props) {
|
|
864
912
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
913
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
865
914
|
width: 24,
|
|
866
915
|
height: 24,
|
|
867
|
-
|
|
868
|
-
fill: "none",
|
|
869
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
916
|
+
fill: "none"
|
|
870
917
|
}, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
871
918
|
width: 24,
|
|
872
919
|
height: 24,
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
})), _path$
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
})), _path2$
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
})), _path3$
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
})), _path4$1 || (_path4$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
885
|
-
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",
|
|
886
|
-
fill: "#D1820A"
|
|
887
|
-
})), _path5$1 || (_path5$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
888
|
-
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",
|
|
889
|
-
fill: "#FFD7A4"
|
|
890
|
-
})), _path6$1 || (_path6$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
891
|
-
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",
|
|
892
|
-
fill: "#FFD7A4"
|
|
893
|
-
})), _path7$1 || (_path7$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
894
|
-
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",
|
|
895
|
-
fill: "#FFB65A"
|
|
896
|
-
})), _path8$1 || (_path8$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
897
|
-
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",
|
|
898
|
-
fill: "#FFB65A"
|
|
899
|
-
})), _path9$1 || (_path9$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
900
|
-
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",
|
|
901
|
-
fill: "#FFB65A"
|
|
902
|
-
})), _path10$1 || (_path10$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
903
|
-
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",
|
|
904
|
-
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"
|
|
905
931
|
})));
|
|
906
932
|
};
|
|
907
933
|
|
|
908
|
-
var
|
|
934
|
+
var _path$w, _path2$a, _path3$3;
|
|
909
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); }
|
|
910
936
|
var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
|
|
911
937
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
938
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
912
939
|
width: 24,
|
|
913
940
|
height: 24,
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
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",
|
|
918
945
|
opacity: 0.3
|
|
919
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
920
|
-
opacity: 0.3,
|
|
921
|
-
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",
|
|
922
|
-
fill: "#50BF95"
|
|
923
|
-
}))), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
924
|
-
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", {
|
|
925
947
|
fill: "#2B8473",
|
|
926
|
-
stroke: "#2B8473"
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
d: "M6.39343 10.7683V10.1215H8.06761V10.7683H6.39343Z",
|
|
931
|
-
fill: "#ECF4F2"
|
|
932
|
-
})), _path3$2 || (_path3$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
933
|
-
fillRule: "evenodd",
|
|
934
|
-
clipRule: "evenodd",
|
|
935
|
-
d: "M7.29937 13.6065L6.98608 13.0473L8.43487 12.1845L8.74815 12.7437L7.29937 13.6065Z",
|
|
936
|
-
fill: "#ECF4F2"
|
|
937
|
-
})), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
938
|
-
fillRule: "evenodd",
|
|
939
|
-
clipRule: "evenodd",
|
|
940
|
-
d: "M8.43609 8.70399L6.9873 7.84261L7.30059 7.28345L8.74937 8.14483L8.43609 8.70399Z",
|
|
941
|
-
fill: "#ECF4F2"
|
|
942
|
-
})), _path5 || (_path5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
943
|
-
fillRule: "evenodd",
|
|
944
|
-
clipRule: "evenodd",
|
|
945
|
-
d: "M16.6807 7.28345L16.994 7.84261L15.5452 8.70399L15.2319 8.14483L16.6807 7.28345Z",
|
|
946
|
-
fill: "#ECF4F2"
|
|
947
|
-
})), _path6 || (_path6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
948
|
-
fillRule: "evenodd",
|
|
949
|
-
clipRule: "evenodd",
|
|
950
|
-
d: "M11.677 4.68039H12.305V6.4046H11.677V4.68039Z",
|
|
951
|
-
fill: "#ECF4F2"
|
|
952
|
-
})), _path7 || (_path7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
953
|
-
fillRule: "evenodd",
|
|
954
|
-
clipRule: "evenodd",
|
|
955
|
-
d: "M9.46389 5.29071L10.3017 6.78279L9.75875 7.10544L8.92236 5.61336L9.46389 5.29071Z",
|
|
956
|
-
fill: "#ECF4F2"
|
|
957
|
-
})), _path8 || (_path8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
958
|
-
fillRule: "evenodd",
|
|
959
|
-
clipRule: "evenodd",
|
|
960
|
-
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",
|
|
961
|
-
fill: "#ECF4F2"
|
|
962
|
-
})), _path9 || (_path9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
963
|
-
fillRule: "evenodd",
|
|
964
|
-
clipRule: "evenodd",
|
|
965
|
-
d: "M14.2243 7.10672L13.6814 6.78407L14.5178 5.29199L15.0607 5.61464L14.2243 7.10672Z",
|
|
966
|
-
fill: "#ECF4F2"
|
|
967
|
-
})), _path10 || (_path10 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
968
|
-
fillRule: "evenodd",
|
|
969
|
-
clipRule: "evenodd",
|
|
970
|
-
d: "M16.6807 13.6065L15.2319 12.7437L15.5452 12.1845L16.994 13.0474L16.6807 13.6065Z",
|
|
971
|
-
fill: "#ECF4F2"
|
|
972
|
-
})), _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",
|
|
973
952
|
fillRule: "evenodd",
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
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"
|
|
977
955
|
})));
|
|
978
956
|
};
|
|
979
957
|
|
|
980
|
-
var
|
|
958
|
+
var _path$v, _path2$9;
|
|
981
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); }
|
|
982
960
|
var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
|
|
983
961
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
962
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
984
963
|
width: 24,
|
|
985
964
|
height: 24,
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
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",
|
|
990
969
|
opacity: 0.3
|
|
991
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
992
|
-
|
|
993
|
-
d: "
|
|
994
|
-
fill: "#003A57"
|
|
995
|
-
}))), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
996
|
-
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",
|
|
997
|
-
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"
|
|
998
973
|
})));
|
|
999
974
|
};
|
|
1000
975
|
|
|
@@ -1079,7 +1054,7 @@ const Label$2 = styled__default["default"](SM) `
|
|
|
1079
1054
|
color: ${({ theme }) => theme.palette.grey[500]};
|
|
1080
1055
|
`;
|
|
1081
1056
|
const Title$2 = styled__default["default"](LG) `
|
|
1082
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
1057
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
1083
1058
|
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
1084
1059
|
margin-top: ${({ theme }) => theme.space.xxs};
|
|
1085
1060
|
`;
|
|
@@ -1132,7 +1107,6 @@ const CardFooter = (props) => (jsxRuntime.jsxs(Footer$3, { children: [!props.noD
|
|
|
1132
1107
|
const UgContentCard = styled__default["default"](reactNotifications.Well) `
|
|
1133
1108
|
border-radius: ${({ theme }) => theme.borderRadii.lg};
|
|
1134
1109
|
padding: ${({ theme }) => `${theme.space.sm} ${theme.space.base * 4}px`};
|
|
1135
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
1136
1110
|
height: 100%;
|
|
1137
1111
|
display: flex;
|
|
1138
1112
|
flex-direction: column;
|
|
@@ -1149,6 +1123,7 @@ const UgContentCard = styled__default["default"](reactNotifications.Well) `
|
|
|
1149
1123
|
pointer-events: none;
|
|
1150
1124
|
opacity: 0.7;
|
|
1151
1125
|
`}
|
|
1126
|
+
${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
|
|
1152
1127
|
`;
|
|
1153
1128
|
/**
|
|
1154
1129
|
* A SpecialCard is a spefic type of card with an opinionated set of default spaces and subcomponents order.
|
|
@@ -1224,7 +1199,7 @@ const StyledTagNew = styled__default["default"](Tag) `
|
|
|
1224
1199
|
`;
|
|
1225
1200
|
const ProductCard = (props) => {
|
|
1226
1201
|
const { isNew, productTitle, labelNew } = props;
|
|
1227
|
-
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 })) }))] })));
|
|
1228
1203
|
};
|
|
1229
1204
|
|
|
1230
1205
|
const ServiceSubtitle = styled__default["default"](SM) `
|
|
@@ -1325,27 +1300,27 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1325
1300
|
annotations: {
|
|
1326
1301
|
text: {
|
|
1327
1302
|
fontSize: Number(theme.fontSizes.sm),
|
|
1328
|
-
fill: theme.colors.primaryHue,
|
|
1303
|
+
fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1329
1304
|
outlineWidth: 2,
|
|
1330
1305
|
outlineColor: theme.palette.white,
|
|
1331
1306
|
outlineOpacity: 1,
|
|
1332
1307
|
},
|
|
1333
1308
|
link: {
|
|
1334
|
-
stroke: theme.colors.primaryHue,
|
|
1309
|
+
stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1335
1310
|
strokeWidth: 1,
|
|
1336
1311
|
outlineWidth: 2,
|
|
1337
1312
|
outlineColor: theme.palette.white,
|
|
1338
1313
|
outlineOpacity: 1,
|
|
1339
1314
|
},
|
|
1340
1315
|
outline: {
|
|
1341
|
-
stroke: theme.colors.primaryHue,
|
|
1316
|
+
stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1342
1317
|
strokeWidth: 2,
|
|
1343
1318
|
outlineWidth: 2,
|
|
1344
1319
|
outlineColor: theme.palette.white,
|
|
1345
1320
|
outlineOpacity: 1,
|
|
1346
1321
|
},
|
|
1347
1322
|
symbol: {
|
|
1348
|
-
fill: theme.colors.primaryHue,
|
|
1323
|
+
fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1349
1324
|
outlineWidth: 2,
|
|
1350
1325
|
outlineColor: theme.palette.white,
|
|
1351
1326
|
outlineOpacity: 1,
|
|
@@ -1444,7 +1419,7 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1444
1419
|
tooltip: {
|
|
1445
1420
|
container: {
|
|
1446
1421
|
background: theme.palette.white,
|
|
1447
|
-
color: theme.colors.primaryHue,
|
|
1422
|
+
color: getColor(theme.colors.primaryHue, 600),
|
|
1448
1423
|
fontSize: Number(theme.fontSizes.sm),
|
|
1449
1424
|
},
|
|
1450
1425
|
basic: {},
|
|
@@ -1455,12 +1430,6 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1455
1430
|
},
|
|
1456
1431
|
};
|
|
1457
1432
|
const CHARTS_COLOR_PALETTE = {
|
|
1458
|
-
darkPine: "#02807A",
|
|
1459
|
-
lightGrey: theme.palette.grey[200],
|
|
1460
|
-
darkGrey: theme.palette.grey[600],
|
|
1461
|
-
mattone: "#800208",
|
|
1462
|
-
gubbioLight: "#C78430",
|
|
1463
|
-
blueRoyal: "#024780",
|
|
1464
1433
|
greenLight: "#5FA41C",
|
|
1465
1434
|
blue: "#020880",
|
|
1466
1435
|
fucsia: "#CE2A7A",
|
|
@@ -1469,42 +1438,23 @@ const CHARTS_COLOR_PALETTE = {
|
|
|
1469
1438
|
sky: "#3392CE",
|
|
1470
1439
|
};
|
|
1471
1440
|
const CHARTS_COLOR_SCHEME_MONO = [
|
|
1472
|
-
|
|
1473
|
-
|
|
1441
|
+
theme.palette.teal[700],
|
|
1442
|
+
theme.palette.grey[200],
|
|
1474
1443
|
];
|
|
1475
1444
|
[
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
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]
|
|
1481
1450
|
];
|
|
1482
|
-
[
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
]
|
|
1489
|
-
const CHARTS_COLOR_SCHEME_CATEGORICAL_8_A = [
|
|
1490
|
-
CHARTS_COLOR_PALETTE.darkPine,
|
|
1491
|
-
CHARTS_COLOR_PALETTE.fucsia,
|
|
1492
|
-
CHARTS_COLOR_PALETTE.violet,
|
|
1493
|
-
CHARTS_COLOR_PALETTE.greenLight,
|
|
1494
|
-
CHARTS_COLOR_PALETTE.mattone,
|
|
1495
|
-
CHARTS_COLOR_PALETTE.sky,
|
|
1496
|
-
CHARTS_COLOR_PALETTE.orchidea,
|
|
1497
|
-
CHARTS_COLOR_PALETTE.blue, // Blue 900
|
|
1498
|
-
];
|
|
1499
|
-
[
|
|
1500
|
-
CHARTS_COLOR_PALETTE.sky,
|
|
1501
|
-
CHARTS_COLOR_PALETTE.orchidea,
|
|
1502
|
-
CHARTS_COLOR_PALETTE.blue,
|
|
1503
|
-
CHARTS_COLOR_PALETTE.darkPine,
|
|
1504
|
-
CHARTS_COLOR_PALETTE.fucsia,
|
|
1505
|
-
CHARTS_COLOR_PALETTE.violet,
|
|
1506
|
-
CHARTS_COLOR_PALETTE.greenLight,
|
|
1507
|
-
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],
|
|
1508
1458
|
];
|
|
1509
1459
|
|
|
1510
1460
|
const ChartContainer = styled__default["default"].div `
|
|
@@ -1563,7 +1513,7 @@ const DEFAULT_CHART_MARGINS = { top: 0, right: 0, bottom: 30, left: 30 };
|
|
|
1563
1513
|
const BarChart = ({ data, width, height, padding, margin, axisLeftLabel, axisBottomLabel, colors, tooltip, legend, }) => {
|
|
1564
1514
|
const theme = React.useContext(styled.ThemeContext);
|
|
1565
1515
|
const keys = [...new Set(data.map(({ keys }) => Object.keys(keys)).flat())];
|
|
1566
|
-
const actualColors = colors !== null && colors !== void 0 ? colors :
|
|
1516
|
+
const actualColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
|
|
1567
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) => {
|
|
1568
1518
|
const { keys } = d, rest = __rest(d, ["keys"]);
|
|
1569
1519
|
return Object.assign(Object.assign({}, rest), keys);
|
|
@@ -1622,7 +1572,7 @@ const CustomBulletChartMarkers = ({ x, y, size, animatedProps: { color, transfor
|
|
|
1622
1572
|
return (jsxRuntime.jsx(web.animated.circle, { transform: transform, cx: x, cy: y, fill: color, stroke: color, r: size }));
|
|
1623
1573
|
};
|
|
1624
1574
|
|
|
1625
|
-
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] }));
|
|
1626
1576
|
|
|
1627
1577
|
const CustomTooltip = ({ v0, v1, color }) => {
|
|
1628
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 }));
|
|
@@ -1633,7 +1583,7 @@ const UgBulletChart = styled__default["default"](bullet.ResponsiveBullet) `
|
|
|
1633
1583
|
height: 100%;
|
|
1634
1584
|
`;
|
|
1635
1585
|
const BulletChart = ({ width, height, ranges, values }) => {
|
|
1636
|
-
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: [
|
|
1637
1587
|
{
|
|
1638
1588
|
id: "",
|
|
1639
1589
|
title: "",
|
|
@@ -1641,10 +1591,10 @@ const BulletChart = ({ width, height, ranges, values }) => {
|
|
|
1641
1591
|
measures: values,
|
|
1642
1592
|
markers: values,
|
|
1643
1593
|
},
|
|
1644
|
-
], animate: false, measureComponent: CustomMeasure, markerColors:
|
|
1594
|
+
], animate: false, measureComponent: CustomMeasure, markerColors: theme.palette.teal[700], markerComponent: (_a) => {
|
|
1645
1595
|
var markerProps = __rest(_a, ["size"]);
|
|
1646
1596
|
return (jsxRuntime.jsx(CustomBulletChartMarkers, Object.assign({}, markerProps, { size: 4 })));
|
|
1647
|
-
}, tooltip: CustomTooltip, rangeColors:
|
|
1597
|
+
}, tooltip: CustomTooltip, rangeColors: theme.palette.grey[200], rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 5, bottom: -1, left: 0 } }) })) })));
|
|
1648
1598
|
};
|
|
1649
1599
|
|
|
1650
1600
|
const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeMultiplier, }) => {
|
|
@@ -1665,7 +1615,7 @@ const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeM
|
|
|
1665
1615
|
const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tooltip, legend, arcLinkLabelsSkipAngle, labelFormatter, }) => {
|
|
1666
1616
|
var _a;
|
|
1667
1617
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1668
|
-
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
|
|
1669
1619
|
? labelFormatter({
|
|
1670
1620
|
label: d.label,
|
|
1671
1621
|
id: d.id,
|
|
@@ -1689,7 +1639,7 @@ const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tool
|
|
|
1689
1639
|
(props) => (jsxRuntime.jsx(CenteredItem, Object.assign({}, props, { theme: themeContext, label: centerItem.label, value: centerItem.value, fontSizeMultiplier: centerItem.fontSizeMultiplier }))),
|
|
1690
1640
|
]
|
|
1691
1641
|
: []),
|
|
1692
|
-
], 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
|
|
1693
1643
|
? labelFormatter({
|
|
1694
1644
|
label: d.label,
|
|
1695
1645
|
id: d.id,
|
|
@@ -1711,7 +1661,7 @@ const AbsoluteChartContainer = styled__default["default"](ChartContainer) `
|
|
|
1711
1661
|
`;
|
|
1712
1662
|
const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }) => {
|
|
1713
1663
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1714
|
-
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: [
|
|
1715
1665
|
"arcs",
|
|
1716
1666
|
...(showArcLinks
|
|
1717
1667
|
? ["arcLabels", "arcLinkLabels"]
|
|
@@ -1721,7 +1671,7 @@ const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMo
|
|
|
1721
1671
|
|
|
1722
1672
|
const HalfPieChart = ({ theme, colors, width, height, data, margin, showArcLinks, }) => {
|
|
1723
1673
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1724
|
-
const activeColors = colors !== null && colors !== void 0 ? colors :
|
|
1674
|
+
const activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
|
|
1725
1675
|
while (activeColors.length < data.length) {
|
|
1726
1676
|
activeColors.push(...activeColors);
|
|
1727
1677
|
}
|
|
@@ -1798,7 +1748,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1798
1748
|
padding: 0,
|
|
1799
1749
|
} }) }) : DEFAULT_CHARTS_THEME, colors: currentColor
|
|
1800
1750
|
? () => currentColor
|
|
1801
|
-
: colors !== null && colors !== void 0 ? colors :
|
|
1751
|
+
: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, borderWidth: 4, cornerRadius: 4, onMouseEnter: (node) => {
|
|
1802
1752
|
if (node.data.children) {
|
|
1803
1753
|
setIsHovering(true);
|
|
1804
1754
|
}
|
|
@@ -1828,7 +1778,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1828
1778
|
} })),
|
|
1829
1779
|
]
|
|
1830
1780
|
: []),
|
|
1831
|
-
], 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) => {
|
|
1832
1782
|
const foundObject = findChildrenByName(currentData, clickedData.id.toString());
|
|
1833
1783
|
if (foundObject && foundObject.children) {
|
|
1834
1784
|
changeDataSlice({
|
|
@@ -1836,7 +1786,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1836
1786
|
color: clickedData.color,
|
|
1837
1787
|
});
|
|
1838
1788
|
}
|
|
1839
|
-
} }) })), 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 }))] }));
|
|
1840
1790
|
};
|
|
1841
1791
|
|
|
1842
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 => {
|
|
@@ -2045,11 +1995,11 @@ Dropdown.Separator = Separator;
|
|
|
2045
1995
|
const StyledAutocomplete = styled__default["default"](Autocomplete) `
|
|
2046
1996
|
${(props) => props.hasSelectedItems &&
|
|
2047
1997
|
`
|
|
2048
|
-
border-color: ${
|
|
2049
|
-
background-color: ${
|
|
1998
|
+
border-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
1999
|
+
background-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
2050
2000
|
color: white;
|
|
2051
2001
|
& > input, & > svg {
|
|
2052
|
-
color: white;
|
|
2002
|
+
color: ${props.theme.palette.white};
|
|
2053
2003
|
}
|
|
2054
2004
|
`}
|
|
2055
2005
|
`;
|
|
@@ -2340,31 +2290,27 @@ const editorStyle = styled.css `
|
|
|
2340
2290
|
}
|
|
2341
2291
|
`;
|
|
2342
2292
|
|
|
2343
|
-
var _path$
|
|
2293
|
+
var _path$u;
|
|
2344
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); }
|
|
2345
2295
|
var SvgBoldFill = function SvgBoldFill(props) {
|
|
2346
2296
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
2347
2297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2348
2298
|
width: 16,
|
|
2349
|
-
height: 16
|
|
2350
|
-
|
|
2351
|
-
viewBox: "0 0 16 16"
|
|
2352
|
-
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2299
|
+
height: 16
|
|
2300
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2353
2301
|
fill: "currentColor",
|
|
2354
|
-
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"
|
|
2355
2303
|
})));
|
|
2356
2304
|
};
|
|
2357
2305
|
|
|
2358
|
-
var _path$
|
|
2306
|
+
var _path$t;
|
|
2359
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); }
|
|
2360
2308
|
var SvgItalicFill = function SvgItalicFill(props) {
|
|
2361
2309
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
2362
2310
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2363
2311
|
width: 16,
|
|
2364
|
-
height: 16
|
|
2365
|
-
|
|
2366
|
-
viewBox: "0 0 16 16"
|
|
2367
|
-
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2312
|
+
height: 16
|
|
2313
|
+
}, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2368
2314
|
fill: "none",
|
|
2369
2315
|
stroke: "currentColor",
|
|
2370
2316
|
strokeLinecap: "round",
|
|
@@ -2373,19 +2319,17 @@ var SvgItalicFill = function SvgItalicFill(props) {
|
|
|
2373
2319
|
})));
|
|
2374
2320
|
};
|
|
2375
2321
|
|
|
2376
|
-
var _path$
|
|
2322
|
+
var _path$s, _path2$8;
|
|
2377
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); }
|
|
2378
2324
|
var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
2379
2325
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
2380
2326
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2381
2327
|
width: 16,
|
|
2382
|
-
height: 16
|
|
2383
|
-
|
|
2384
|
-
viewBox: "0 0 16 16"
|
|
2385
|
-
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2328
|
+
height: 16
|
|
2329
|
+
}, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2386
2330
|
fill: "currentColor",
|
|
2387
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"
|
|
2388
|
-
})), _path2$
|
|
2332
|
+
})), _path2$8 || (_path2$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2389
2333
|
fill: "none",
|
|
2390
2334
|
stroke: "currentColor",
|
|
2391
2335
|
strokeLinecap: "round",
|
|
@@ -2394,94 +2338,70 @@ var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
|
2394
2338
|
})));
|
|
2395
2339
|
};
|
|
2396
2340
|
|
|
2397
|
-
var
|
|
2341
|
+
var _path$r, _path2$7, _path3$2;
|
|
2398
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); }
|
|
2399
2343
|
var SvgH1Fill = function SvgH1Fill(props) {
|
|
2400
2344
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
2401
2345
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2402
2346
|
width: 16,
|
|
2403
|
-
height: 16
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2409
|
-
width: 16,
|
|
2410
|
-
height: 16,
|
|
2411
|
-
transform: "translate(464 332)",
|
|
2412
|
-
fill: "none"
|
|
2413
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2414
|
-
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2415
|
-
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", {
|
|
2416
2352
|
fill: "none",
|
|
2417
2353
|
stroke: "currentColor",
|
|
2418
2354
|
strokeLinecap: "round",
|
|
2419
|
-
strokeWidth: 2
|
|
2420
|
-
|
|
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", {
|
|
2421
2358
|
fill: "currentColor",
|
|
2422
|
-
d: "
|
|
2423
|
-
|
|
2424
|
-
}))));
|
|
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
|
+
})));
|
|
2425
2361
|
};
|
|
2426
2362
|
|
|
2427
|
-
var
|
|
2363
|
+
var _path$q, _path2$6, _path3$1;
|
|
2428
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); }
|
|
2429
2365
|
var SvgH2Fill = function SvgH2Fill(props) {
|
|
2430
2366
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
2431
2367
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2432
2368
|
width: 16,
|
|
2433
|
-
height: 16
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2439
|
-
width: 16,
|
|
2440
|
-
height: 16,
|
|
2441
|
-
transform: "translate(464 332)",
|
|
2442
|
-
fill: "none"
|
|
2443
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2444
|
-
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2445
|
-
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", {
|
|
2446
2374
|
fill: "none",
|
|
2447
2375
|
stroke: "currentColor",
|
|
2448
2376
|
strokeLinecap: "round",
|
|
2449
|
-
strokeWidth: 2
|
|
2450
|
-
|
|
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", {
|
|
2451
2380
|
fill: "currentColor",
|
|
2452
|
-
d: "
|
|
2453
|
-
|
|
2454
|
-
}))));
|
|
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
|
+
})));
|
|
2455
2383
|
};
|
|
2456
2384
|
|
|
2457
|
-
var
|
|
2385
|
+
var _path$p, _path2$5, _path3;
|
|
2458
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); }
|
|
2459
2387
|
var SvgH3Fill = function SvgH3Fill(props) {
|
|
2460
2388
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
2461
2389
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2462
2390
|
width: 16,
|
|
2463
|
-
height: 16
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2469
|
-
width: 16,
|
|
2470
|
-
height: 16,
|
|
2471
|
-
transform: "translate(464 332)",
|
|
2472
|
-
fill: "none"
|
|
2473
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2474
|
-
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2475
|
-
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", {
|
|
2476
2396
|
fill: "none",
|
|
2477
2397
|
stroke: "currentColor",
|
|
2478
2398
|
strokeLinecap: "round",
|
|
2479
|
-
strokeWidth: 2
|
|
2480
|
-
|
|
2399
|
+
strokeWidth: 2,
|
|
2400
|
+
d: "M1 2.5v11.273M9.052 2.5v11.273M1 8.136h8.052"
|
|
2401
|
+
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2481
2402
|
fill: "currentColor",
|
|
2482
|
-
d: "M15.
|
|
2483
|
-
|
|
2484
|
-
}))));
|
|
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
|
+
})));
|
|
2485
2405
|
};
|
|
2486
2406
|
|
|
2487
2407
|
const StyledIconButton = styled__default["default"](IconButton) ``;
|
|
@@ -2521,16 +2441,16 @@ const Header$1 = styled__default["default"].div `
|
|
|
2521
2441
|
const Title$1 = styled__default["default"](MD) `
|
|
2522
2442
|
${({ validation, theme }) => {
|
|
2523
2443
|
if (validation === "success") {
|
|
2524
|
-
return `color: ${theme.colors.successHue};`;
|
|
2444
|
+
return `color: ${getColor(theme.colors.successHue)};`;
|
|
2525
2445
|
}
|
|
2526
2446
|
else if (validation === "warning") {
|
|
2527
|
-
return `color: ${theme.colors.warningHue};`;
|
|
2447
|
+
return `color: ${getColor(theme.colors.warningHue)};`;
|
|
2528
2448
|
}
|
|
2529
2449
|
else if (validation === "error") {
|
|
2530
|
-
return `color: ${theme.
|
|
2450
|
+
return `color: ${getColor(theme.colors.dangerHue)};`;
|
|
2531
2451
|
}
|
|
2532
2452
|
else {
|
|
2533
|
-
return `color: ${theme.colors.primaryHue};`;
|
|
2453
|
+
return `color: ${getColor(theme.colors.primaryHue, 600)};`;
|
|
2534
2454
|
}
|
|
2535
2455
|
}}
|
|
2536
2456
|
`;
|
|
@@ -2552,29 +2472,8 @@ const EditorFooter = ({ saveText }) => {
|
|
|
2552
2472
|
return jsxRuntime.jsxs(Footer$2, { children: [jsxRuntime.jsxs(Tag, { children: [isMac() ? "Cmd" : "Ctrl", "+enter"] }), "\u00A0", jsxRuntime.jsx(Text, { children: saveText || "to save" })] });
|
|
2553
2473
|
};
|
|
2554
2474
|
|
|
2555
|
-
const EditorContainer = styled__default["default"].
|
|
2556
|
-
|
|
2557
|
-
border-radius: ${({ theme }) => theme.borderRadii.md};
|
|
2558
|
-
&:focus-within {
|
|
2559
|
-
outline: ${({ theme }) => theme.palette.blue["300"]};
|
|
2560
|
-
outline-style: solid;
|
|
2561
|
-
}
|
|
2562
|
-
|
|
2563
|
-
${({ validation, theme }) => {
|
|
2564
|
-
if (validation === "success") {
|
|
2565
|
-
return `border-color: ${theme.colors.successHue};`;
|
|
2566
|
-
}
|
|
2567
|
-
else if (validation === "warning") {
|
|
2568
|
-
return `border-color: ${theme.colors.warningHue};`;
|
|
2569
|
-
}
|
|
2570
|
-
else if (validation === "error") {
|
|
2571
|
-
return `border-color: ${theme.colors.dangerHue};`;
|
|
2572
|
-
}
|
|
2573
|
-
else {
|
|
2574
|
-
return `border-color: ${theme.colors.primaryHue};`;
|
|
2575
|
-
}
|
|
2576
|
-
}}
|
|
2577
|
-
|
|
2475
|
+
const EditorContainer = styled__default["default"](reactForms.FauxInput) `
|
|
2476
|
+
|
|
2578
2477
|
${({ editable }) => !editable &&
|
|
2579
2478
|
`
|
|
2580
2479
|
border: none;
|
|
@@ -2672,7 +2571,7 @@ const CheckboxCard = (props) => {
|
|
|
2672
2571
|
setChecked(!checked);
|
|
2673
2572
|
props.onToggle && props.onToggle(!checked);
|
|
2674
2573
|
};
|
|
2675
|
-
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 })) })) }))] })));
|
|
2676
2575
|
};
|
|
2677
2576
|
|
|
2678
2577
|
const UgField = styled__default["default"](reactForms.Field) ``;
|
|
@@ -2704,18 +2603,16 @@ var SvgNotesStroke = function SvgNotesStroke(props) {
|
|
|
2704
2603
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
2705
2604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2706
2605
|
width: 16,
|
|
2707
|
-
height: 16
|
|
2708
|
-
focusable: "false",
|
|
2709
|
-
viewBox: "0 0 16 16"
|
|
2606
|
+
height: 16
|
|
2710
2607
|
}, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
2711
2608
|
fill: "none",
|
|
2712
2609
|
stroke: "currentColor"
|
|
2713
2610
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2714
2611
|
strokeLinejoin: "round",
|
|
2715
|
-
d: "
|
|
2612
|
+
d: "m10.51 8.4-3.01.1.1-3.01L12.59.5l2.91 2.91-4.99 4.99z"
|
|
2716
2613
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2717
2614
|
strokeLinecap: "round",
|
|
2718
|
-
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"
|
|
2719
2616
|
}))));
|
|
2720
2617
|
};
|
|
2721
2618
|
|
|
@@ -2824,15 +2721,14 @@ var _path$o;
|
|
|
2824
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); }
|
|
2825
2722
|
var SvgCheckLg = function SvgCheckLg(props) {
|
|
2826
2723
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
2724
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2827
2725
|
width: 16,
|
|
2828
2726
|
height: 16,
|
|
2829
|
-
|
|
2830
|
-
fill: "#68737D",
|
|
2831
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
2727
|
+
fill: "#68737D"
|
|
2832
2728
|
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2833
2729
|
fillRule: "evenodd",
|
|
2834
|
-
|
|
2835
|
-
|
|
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"
|
|
2836
2732
|
})));
|
|
2837
2733
|
};
|
|
2838
2734
|
|
|
@@ -2851,7 +2747,7 @@ const Circle = styled__default["default"].div `
|
|
|
2851
2747
|
height: ${({ theme }) => theme.space.base * 6}px;
|
|
2852
2748
|
padding: ${({ theme }) => theme.space.base * 1.25}px;
|
|
2853
2749
|
border-radius: 50%;
|
|
2854
|
-
background-color: ${({ theme }) => theme.colors.primaryHue};
|
|
2750
|
+
background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
2855
2751
|
display: flex;
|
|
2856
2752
|
flex-direction: column;
|
|
2857
2753
|
justify-content: center;
|
|
@@ -2868,7 +2764,7 @@ const RadioCard = (_a) => {
|
|
|
2868
2764
|
var { card, icon, iconActive } = _a, props = __rest(_a, ["card", "icon", "iconActive"]);
|
|
2869
2765
|
return (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: props.label }, card, props, { className: props.checked ? "card-active" : "", onClick: () => {
|
|
2870
2766
|
props.onChecked && props.onChecked(props.value);
|
|
2871
|
-
} }, { 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 })) }))] })));
|
|
2872
2768
|
};
|
|
2873
2769
|
|
|
2874
2770
|
const UgTextarea = styled__default["default"](reactForms.Textarea) ``;
|
|
@@ -3010,7 +2906,7 @@ const Spinner = (props) => jsxRuntime.jsx(UgSpinner, Object.assign({}, props));
|
|
|
3010
2906
|
const Dots = (props) => jsxRuntime.jsx(reactLoaders.Dots, Object.assign({}, props));
|
|
3011
2907
|
|
|
3012
2908
|
const UgBody = styled__default["default"](reactChrome.Body) `
|
|
3013
|
-
background-color: ${({ theme }) => theme.palette.
|
|
2909
|
+
background-color: ${({ theme }) => theme.palette.red[600]};
|
|
3014
2910
|
`;
|
|
3015
2911
|
/**
|
|
3016
2912
|
* A Body defines the main content of an HTML document which displays on the browser
|
|
@@ -3028,12 +2924,10 @@ var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
|
|
|
3028
2924
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
3029
2925
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3030
2926
|
width: 16,
|
|
3031
|
-
height: 16
|
|
3032
|
-
focusable: "false",
|
|
3033
|
-
viewBox: "0 0 16 16"
|
|
2927
|
+
height: 16
|
|
3034
2928
|
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3035
2929
|
fill: "currentColor",
|
|
3036
|
-
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"
|
|
3037
2931
|
})));
|
|
3038
2932
|
};
|
|
3039
2933
|
|
|
@@ -3085,9 +2979,7 @@ var SvgMenuStroke = function SvgMenuStroke(props) {
|
|
|
3085
2979
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
3086
2980
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3087
2981
|
width: 16,
|
|
3088
|
-
height: 16
|
|
3089
|
-
focusable: "false",
|
|
3090
|
-
viewBox: "0 0 16 16"
|
|
2982
|
+
height: 16
|
|
3091
2983
|
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3092
2984
|
fill: "none",
|
|
3093
2985
|
stroke: "currentColor",
|
|
@@ -3109,7 +3001,7 @@ const WorkspacesDropdown = (props) => {
|
|
|
3109
3001
|
props.onWorkspaceChange && props.onWorkspaceChange(workspace);
|
|
3110
3002
|
}, downshiftProps: {
|
|
3111
3003
|
itemToString: (item) => item && item.company,
|
|
3112
|
-
} }, { 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
|
|
3113
3005
|
? selectedWorkspace.company + "'s workspace"
|
|
3114
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 }))))] })] })));
|
|
3115
3007
|
};
|
|
@@ -3129,7 +3021,7 @@ const LogoIconContainer = styled__default["default"](reactChrome.HeaderItem) `
|
|
|
3129
3021
|
const BrandName = styled__default["default"](reactChrome.HeaderItem) `
|
|
3130
3022
|
margin-right: auto;
|
|
3131
3023
|
margin-left: -8px;
|
|
3132
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3024
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3133
3025
|
pointer-events: none;
|
|
3134
3026
|
font-family: ${({ theme }) => theme.fonts.system};
|
|
3135
3027
|
@media (max-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
@@ -3139,7 +3031,7 @@ const BrandName = styled__default["default"](reactChrome.HeaderItem) `
|
|
|
3139
3031
|
const DropdownItem = styled__default["default"](reactChrome.HeaderItem) `
|
|
3140
3032
|
margin-right: auto;
|
|
3141
3033
|
margin-left: -8px;
|
|
3142
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3034
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3143
3035
|
font-family: ${({ theme }) => theme.fonts.system};
|
|
3144
3036
|
z-index: 2;
|
|
3145
3037
|
@media (max-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
@@ -3147,7 +3039,7 @@ const DropdownItem = styled__default["default"](reactChrome.HeaderItem) `
|
|
|
3147
3039
|
}
|
|
3148
3040
|
`;
|
|
3149
3041
|
const MenuItem$1 = styled__default["default"](reactChrome.HeaderItem) `
|
|
3150
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3042
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3151
3043
|
position: absolute;
|
|
3152
3044
|
left: 0;
|
|
3153
3045
|
@media (min-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
@@ -3198,7 +3090,7 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
|
|
|
3198
3090
|
|
|
3199
3091
|
@media (min-width: ${p => p.theme.breakpoints.md}) {
|
|
3200
3092
|
border-right: ${({ theme }) => theme.borders.sm};
|
|
3201
|
-
border-color: ${({ theme }) =>
|
|
3093
|
+
border-color: ${({ theme }) => getColor(theme.colors.neutralHue, 300)};
|
|
3202
3094
|
width: ${p => p.theme.components.chrome.nav.openWidth}px;
|
|
3203
3095
|
margin-left: ${p => p.isExpanded
|
|
3204
3096
|
? 0
|
|
@@ -3216,7 +3108,7 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
|
|
|
3216
3108
|
const Nav = (props) => jsxRuntime.jsx(UgNav, Object.assign({}, props));
|
|
3217
3109
|
|
|
3218
3110
|
const SelectedItemStyle = styled.css `
|
|
3219
|
-
background-color: ${({ theme }) => theme.
|
|
3111
|
+
background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
3220
3112
|
`;
|
|
3221
3113
|
const UgNavItem$2 = styled__default["default"](reactChrome.NavItem) `
|
|
3222
3114
|
border-top-left-radius: ${(props) => props.theme.space.base * 6}px;
|
|
@@ -3225,13 +3117,13 @@ const UgNavItem$2 = styled__default["default"](reactChrome.NavItem) `
|
|
|
3225
3117
|
${sidebarNavItemExpanded}
|
|
3226
3118
|
${(props) => !props.isExpanded && sidebarNavItemHidden}
|
|
3227
3119
|
${(props) => props.isCurrent && SelectedItemStyle}
|
|
3228
|
-
&:focus {
|
|
3120
|
+
&:focus, &:hover {
|
|
3229
3121
|
${SelectedItemStyle}
|
|
3230
3122
|
}
|
|
3231
|
-
&:
|
|
3232
|
-
background-color: ${({ theme }) => theme.
|
|
3123
|
+
&:active {
|
|
3124
|
+
background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600, undefined, 0.2)};
|
|
3233
3125
|
}
|
|
3234
|
-
color: ${(props) => props.theme.colors.primaryHue};
|
|
3126
|
+
color: ${(props) => getColor(props.theme.colors.primaryHue, 600)};
|
|
3235
3127
|
font-weight: ${(props) => props.theme.fontWeights.medium};
|
|
3236
3128
|
${(props) => props.isCurrent &&
|
|
3237
3129
|
`
|
|
@@ -3253,12 +3145,10 @@ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
|
|
|
3253
3145
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
3254
3146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3255
3147
|
width: 16,
|
|
3256
|
-
height: 16
|
|
3257
|
-
focusable: "false",
|
|
3258
|
-
viewBox: "0 0 16 16"
|
|
3148
|
+
height: 16
|
|
3259
3149
|
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3260
3150
|
fill: "currentColor",
|
|
3261
|
-
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"
|
|
3262
3152
|
})));
|
|
3263
3153
|
};
|
|
3264
3154
|
|
|
@@ -3268,12 +3158,10 @@ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
|
|
|
3268
3158
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
3269
3159
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3270
3160
|
width: 16,
|
|
3271
|
-
height: 16
|
|
3272
|
-
focusable: "false",
|
|
3273
|
-
viewBox: "0 0 16 16"
|
|
3161
|
+
height: 16
|
|
3274
3162
|
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3275
3163
|
fill: "currentColor",
|
|
3276
|
-
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"
|
|
3277
3165
|
})));
|
|
3278
3166
|
};
|
|
3279
3167
|
|
|
@@ -3346,12 +3234,10 @@ var SvgHomeFill = function SvgHomeFill(props) {
|
|
|
3346
3234
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
3347
3235
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3348
3236
|
width: 26,
|
|
3349
|
-
height: 26
|
|
3350
|
-
focusable: "false",
|
|
3351
|
-
viewBox: "0 0 26 26"
|
|
3237
|
+
height: 26
|
|
3352
3238
|
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3353
3239
|
fill: "currentColor",
|
|
3354
|
-
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"
|
|
3355
3241
|
})));
|
|
3356
3242
|
};
|
|
3357
3243
|
|
|
@@ -3361,22 +3247,18 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
|
|
|
3361
3247
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
3362
3248
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3363
3249
|
width: 26,
|
|
3364
|
-
height: 26
|
|
3365
|
-
focusable: "false",
|
|
3366
|
-
viewBox: "0 0 26 26"
|
|
3250
|
+
height: 26
|
|
3367
3251
|
}, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3368
|
-
id: "
|
|
3252
|
+
id: "home-fill-styled_svg__a"
|
|
3369
3253
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3370
|
-
className: "
|
|
3371
|
-
offset: "11.98%"
|
|
3372
|
-
stopColor: "#70c38a"
|
|
3254
|
+
className: "home-fill-styled_svg__stop1",
|
|
3255
|
+
offset: "11.98%"
|
|
3373
3256
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3374
|
-
className: "
|
|
3375
|
-
offset: "100%"
|
|
3376
|
-
stopColor: "#001825"
|
|
3257
|
+
className: "home-fill-styled_svg__stop3",
|
|
3258
|
+
offset: "100%"
|
|
3377
3259
|
}))), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3378
|
-
fill: "url(#
|
|
3379
|
-
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"
|
|
3380
3262
|
})));
|
|
3381
3263
|
};
|
|
3382
3264
|
|
|
@@ -3384,38 +3266,37 @@ var _g$1, _defs$2;
|
|
|
3384
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); }
|
|
3385
3267
|
var SvgToken = function SvgToken(props) {
|
|
3386
3268
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
3269
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3387
3270
|
fill: "none",
|
|
3388
|
-
viewBox: "0 0 32 32"
|
|
3389
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3271
|
+
viewBox: "0 0 32 32"
|
|
3390
3272
|
}, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
3391
|
-
clipPath: "url(#
|
|
3273
|
+
clipPath: "url(#token_svg__a)"
|
|
3392
3274
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
3393
|
-
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",
|
|
3394
|
-
clipRule: "evenodd",
|
|
3395
3275
|
fill: "#9FD7B1",
|
|
3396
|
-
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"
|
|
3397
3279
|
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
3398
|
-
x: 4.129,
|
|
3399
|
-
y: 4.129,
|
|
3400
3280
|
width: 23.742,
|
|
3401
3281
|
height: 23.742,
|
|
3402
|
-
|
|
3403
|
-
|
|
3282
|
+
x: 4.129,
|
|
3283
|
+
y: 4.129,
|
|
3284
|
+
fill: "#003A57",
|
|
3285
|
+
rx: 11.871
|
|
3404
3286
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3405
|
-
|
|
3406
|
-
|
|
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"
|
|
3407
3289
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3408
|
-
|
|
3409
|
-
|
|
3290
|
+
fill: "#54C38A",
|
|
3291
|
+
d: "M13.367 10.545h-2.352v2.352h2.352v-2.352z"
|
|
3410
3292
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3411
|
-
|
|
3412
|
-
|
|
3293
|
+
fill: "#fff",
|
|
3294
|
+
d: "M20.986 10.545h-2.381v2.381h2.381v-2.381z"
|
|
3413
3295
|
}))), _defs$2 || (_defs$2 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
3414
|
-
id: "
|
|
3415
|
-
}, /*#__PURE__*/React__namespace.createElement("
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
fill: "#fff"
|
|
3296
|
+
id: "token_svg__a"
|
|
3297
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
3298
|
+
fill: "#fff",
|
|
3299
|
+
d: "M0 0h32v32H0z"
|
|
3419
3300
|
})))));
|
|
3420
3301
|
};
|
|
3421
3302
|
|
|
@@ -3423,15 +3304,14 @@ var _path$h;
|
|
|
3423
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); }
|
|
3424
3305
|
var SvgFolderIcon = function SvgFolderIcon(props) {
|
|
3425
3306
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
3307
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3426
3308
|
width: 12,
|
|
3427
|
-
height: 12
|
|
3428
|
-
viewBox: "0 0 12 12",
|
|
3429
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3309
|
+
height: 12
|
|
3430
3310
|
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3311
|
+
fill: "currentColor",
|
|
3431
3312
|
fillRule: "evenodd",
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
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"
|
|
3435
3315
|
})));
|
|
3436
3316
|
};
|
|
3437
3317
|
|
|
@@ -3439,22 +3319,21 @@ var _path$g, _defs$1;
|
|
|
3439
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); }
|
|
3440
3320
|
var SvgTemplates = function SvgTemplates(props) {
|
|
3441
3321
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
3322
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3442
3323
|
width: 26,
|
|
3443
3324
|
height: 26,
|
|
3444
|
-
|
|
3445
|
-
fill: "none",
|
|
3446
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3325
|
+
fill: "none"
|
|
3447
3326
|
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3327
|
+
fill: "url(#templates_svg__a)",
|
|
3448
3328
|
fillRule: "evenodd",
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
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"
|
|
3452
3331
|
})), _defs$1 || (_defs$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3453
|
-
id: "
|
|
3332
|
+
id: "templates_svg__a",
|
|
3454
3333
|
x1: 3,
|
|
3334
|
+
x2: 23.277,
|
|
3455
3335
|
y1: 5,
|
|
3456
|
-
|
|
3457
|
-
y2: 5.35853,
|
|
3336
|
+
y2: 5.359,
|
|
3458
3337
|
gradientUnits: "userSpaceOnUse"
|
|
3459
3338
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3460
3339
|
stopColor: "#001825"
|
|
@@ -3468,25 +3347,24 @@ var _path$f, _defs;
|
|
|
3468
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); }
|
|
3469
3348
|
var SvgTemplatesActive = function SvgTemplatesActive(props) {
|
|
3470
3349
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
3350
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3471
3351
|
width: 26,
|
|
3472
3352
|
height: 26,
|
|
3473
|
-
|
|
3474
|
-
fill: "none",
|
|
3475
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3353
|
+
fill: "none"
|
|
3476
3354
|
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3355
|
+
fill: "url(#templates-active_svg__a)",
|
|
3477
3356
|
fillRule: "evenodd",
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
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"
|
|
3481
3359
|
})), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3482
|
-
id: "
|
|
3360
|
+
id: "templates-active_svg__a",
|
|
3483
3361
|
x1: 3,
|
|
3362
|
+
x2: 23.277,
|
|
3484
3363
|
y1: 5,
|
|
3485
|
-
|
|
3486
|
-
y2: 5.35853,
|
|
3364
|
+
y2: 5.359,
|
|
3487
3365
|
gradientUnits: "userSpaceOnUse"
|
|
3488
3366
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3489
|
-
offset: 0.
|
|
3367
|
+
offset: 0.12,
|
|
3490
3368
|
stopColor: "#003A57"
|
|
3491
3369
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3492
3370
|
offset: 1,
|
|
@@ -3521,10 +3399,6 @@ const AccordionItemHeader = styled__default["default"](Accordion.Header) `
|
|
|
3521
3399
|
svg {
|
|
3522
3400
|
width: 26px;
|
|
3523
3401
|
}
|
|
3524
|
-
|
|
3525
|
-
&:hover {
|
|
3526
|
-
background-color: ${(props) => props.theme.palette.kale["200"]};
|
|
3527
|
-
}
|
|
3528
3402
|
`;
|
|
3529
3403
|
const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
|
|
3530
3404
|
max-height: 180px;
|
|
@@ -3539,8 +3413,8 @@ const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
|
|
|
3539
3413
|
const AccordionItemLabel = styled__default["default"](Accordion.Label) `
|
|
3540
3414
|
padding: 12px 9px;
|
|
3541
3415
|
${({ theme }) => `
|
|
3542
|
-
color: ${theme.colors.primaryHue};
|
|
3543
|
-
fill: ${theme.colors.primaryHue};
|
|
3416
|
+
color: ${getColor(theme.colors.primaryHue, 600)};
|
|
3417
|
+
fill: ${getColor(theme.colors.primaryHue, 600)};
|
|
3544
3418
|
font-weight: ${theme.fontWeights.medium};
|
|
3545
3419
|
`}
|
|
3546
3420
|
`;
|
|
@@ -3713,7 +3587,7 @@ const LoginForm = (props) => {
|
|
|
3713
3587
|
? true
|
|
3714
3588
|
: isSubmitting
|
|
3715
3589
|
? true
|
|
3716
|
-
: 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 })) })))] })));
|
|
3717
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"] })))] }));
|
|
3718
3592
|
};
|
|
3719
3593
|
|
|
@@ -3721,16 +3595,15 @@ var _path$e;
|
|
|
3721
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); }
|
|
3722
3596
|
var SvgPlus = function SvgPlus(props) {
|
|
3723
3597
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
3598
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3724
3599
|
width: 16,
|
|
3725
3600
|
height: 16,
|
|
3726
|
-
|
|
3727
|
-
fill: "none",
|
|
3728
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3601
|
+
fill: "none"
|
|
3729
3602
|
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3603
|
+
fill: "#68737D",
|
|
3730
3604
|
fillRule: "evenodd",
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
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"
|
|
3734
3607
|
})));
|
|
3735
3608
|
};
|
|
3736
3609
|
|
|
@@ -3926,7 +3799,7 @@ const MainOverline = styled__default["default"](MD) `
|
|
|
3926
3799
|
margin-bottom: ${({ theme }) => theme.space.md};
|
|
3927
3800
|
`;
|
|
3928
3801
|
const MainTitle = styled__default["default"].h1 `
|
|
3929
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3802
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
3930
3803
|
font-size: ${({ theme }) => theme.fontSizes.xxxl};
|
|
3931
3804
|
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
3932
3805
|
line-height: ${({ theme }) => theme.lineHeights.xxxl};
|
|
@@ -4036,12 +3909,10 @@ var SvgPlayFill = function SvgPlayFill(props) {
|
|
|
4036
3909
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
4037
3910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4038
3911
|
width: 16,
|
|
4039
|
-
height: 16
|
|
4040
|
-
focusable: "false",
|
|
4041
|
-
viewBox: "0 0 16 16"
|
|
3912
|
+
height: 16
|
|
4042
3913
|
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4043
3914
|
fill: "currentColor",
|
|
4044
|
-
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"
|
|
4045
3916
|
})));
|
|
4046
3917
|
};
|
|
4047
3918
|
|
|
@@ -4051,9 +3922,7 @@ var SvgPauseFill = function SvgPauseFill(props) {
|
|
|
4051
3922
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
4052
3923
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4053
3924
|
width: 16,
|
|
4054
|
-
height: 16
|
|
4055
|
-
focusable: "false",
|
|
4056
|
-
viewBox: "0 0 16 16"
|
|
3925
|
+
height: 16
|
|
4057
3926
|
}, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4058
3927
|
fill: "currentColor"
|
|
4059
3928
|
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
@@ -4073,67 +3942,55 @@ var SvgPauseFill = function SvgPauseFill(props) {
|
|
|
4073
3942
|
}))));
|
|
4074
3943
|
};
|
|
4075
3944
|
|
|
4076
|
-
var _path$c, _path2$
|
|
3945
|
+
var _path$c, _path2$4;
|
|
4077
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); }
|
|
4078
3947
|
var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
|
|
4079
3948
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
3949
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4080
3950
|
width: 16,
|
|
4081
3951
|
height: 16,
|
|
4082
|
-
|
|
4083
|
-
fill: "none",
|
|
4084
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3952
|
+
fill: "none"
|
|
4085
3953
|
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3954
|
+
fill: "currentColor",
|
|
4086
3955
|
fillRule: "evenodd",
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
d: "M5.5 7.
|
|
4092
|
-
fill: "currentColor"
|
|
4093
|
-
})), _path3$1 || (_path3$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4094
|
-
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",
|
|
4095
|
-
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"
|
|
4096
3961
|
})));
|
|
4097
3962
|
};
|
|
4098
3963
|
|
|
4099
|
-
var _path$b, _path2$
|
|
3964
|
+
var _path$b, _path2$3;
|
|
4100
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); }
|
|
4101
3966
|
var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
|
|
4102
3967
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
3968
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4103
3969
|
width: 16,
|
|
4104
3970
|
height: 16,
|
|
4105
|
-
|
|
4106
|
-
fill: "none",
|
|
4107
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3971
|
+
fill: "none"
|
|
4108
3972
|
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3973
|
+
fill: "currentColor",
|
|
4109
3974
|
fillRule: "evenodd",
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
d: "M5.5 7.
|
|
4115
|
-
fill: "currentColor"
|
|
4116
|
-
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4117
|
-
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",
|
|
4118
|
-
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"
|
|
4119
3980
|
})));
|
|
4120
3981
|
};
|
|
4121
3982
|
|
|
4122
|
-
var _path$a
|
|
3983
|
+
var _path$a;
|
|
4123
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); }
|
|
4124
3985
|
var SvgPreviousFill = function SvgPreviousFill(props) {
|
|
4125
3986
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
4126
3987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4127
3988
|
width: 16,
|
|
4128
3989
|
height: 16,
|
|
4129
|
-
focusable: "false",
|
|
4130
3990
|
viewBox: "0 0 24 24"
|
|
4131
3991
|
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4135
|
-
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",
|
|
4136
|
-
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"
|
|
4137
3994
|
})));
|
|
4138
3995
|
};
|
|
4139
3996
|
|
|
@@ -4235,16 +4092,14 @@ var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
|
|
|
4235
4092
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
4236
4093
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4237
4094
|
width: 16,
|
|
4238
|
-
height: 16
|
|
4239
|
-
focusable: "false",
|
|
4240
|
-
viewBox: "0 0 16 16"
|
|
4095
|
+
height: 16
|
|
4241
4096
|
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4242
4097
|
stroke: "currentColor",
|
|
4243
4098
|
strokeLinecap: "round",
|
|
4244
|
-
d: "
|
|
4099
|
+
d: "m11.5 10 4-4m-4 0 4 4"
|
|
4245
4100
|
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4246
4101
|
fill: "currentColor",
|
|
4247
|
-
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"
|
|
4248
4103
|
})));
|
|
4249
4104
|
};
|
|
4250
4105
|
|
|
@@ -4254,12 +4109,10 @@ var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
|
|
|
4254
4109
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
4255
4110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4256
4111
|
width: 16,
|
|
4257
|
-
height: 16
|
|
4258
|
-
focusable: "false",
|
|
4259
|
-
viewBox: "0 0 16 16"
|
|
4112
|
+
height: 16
|
|
4260
4113
|
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4261
4114
|
fill: "currentColor",
|
|
4262
|
-
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"
|
|
4263
4116
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4264
4117
|
fill: "none",
|
|
4265
4118
|
stroke: "currentColor",
|
|
@@ -4315,12 +4168,10 @@ var SvgMaximizeFill = function SvgMaximizeFill(props) {
|
|
|
4315
4168
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
4316
4169
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4317
4170
|
width: 16,
|
|
4318
|
-
height: 16
|
|
4319
|
-
focusable: "false",
|
|
4320
|
-
viewBox: "0 0 16 16"
|
|
4171
|
+
height: 16
|
|
4321
4172
|
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4322
4173
|
fill: "currentColor",
|
|
4323
|
-
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"
|
|
4324
4175
|
})));
|
|
4325
4176
|
};
|
|
4326
4177
|
|
|
@@ -4376,7 +4227,7 @@ const ControlsWrapper = styled__default["default"].div `
|
|
|
4376
4227
|
const StyledProgress = styled__default["default"](Progress) `
|
|
4377
4228
|
width: 100%;
|
|
4378
4229
|
border-radius: 0;
|
|
4379
|
-
color: ${({ theme }) => theme.palette.kale[
|
|
4230
|
+
color: ${({ theme }) => theme.palette.kale[700]};
|
|
4380
4231
|
cursor: pointer;
|
|
4381
4232
|
> div {
|
|
4382
4233
|
border-radius: 0;
|
|
@@ -4594,12 +4445,10 @@ var SvgExit = function SvgExit(props) {
|
|
|
4594
4445
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
4595
4446
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4596
4447
|
width: 16,
|
|
4597
|
-
height: 16
|
|
4598
|
-
focusable: "false",
|
|
4599
|
-
viewBox: "0 0 16 16"
|
|
4448
|
+
height: 16
|
|
4600
4449
|
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4601
4450
|
fill: "currentColor",
|
|
4602
|
-
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"
|
|
4603
4452
|
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4604
4453
|
fill: "none",
|
|
4605
4454
|
stroke: "currentColor",
|
|
@@ -4612,16 +4461,15 @@ var _path$5;
|
|
|
4612
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); }
|
|
4613
4462
|
var SvgThumbsUp = function SvgThumbsUp(props) {
|
|
4614
4463
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
4464
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4615
4465
|
width: 16,
|
|
4616
4466
|
height: 16,
|
|
4617
|
-
|
|
4618
|
-
fill: "none",
|
|
4619
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4467
|
+
fill: "none"
|
|
4620
4468
|
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4469
|
+
fill: "#68737D",
|
|
4621
4470
|
fillRule: "evenodd",
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
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"
|
|
4625
4473
|
})));
|
|
4626
4474
|
};
|
|
4627
4475
|
|
|
@@ -4631,9 +4479,7 @@ var SvgLockLockedFill = function SvgLockLockedFill(props) {
|
|
|
4631
4479
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
4632
4480
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4633
4481
|
width: 16,
|
|
4634
|
-
height: 16
|
|
4635
|
-
focusable: "false",
|
|
4636
|
-
viewBox: "0 0 16 16"
|
|
4482
|
+
height: 16
|
|
4637
4483
|
}, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
4638
4484
|
width: 12,
|
|
4639
4485
|
height: 9,
|
|
@@ -4645,7 +4491,7 @@ var SvgLockLockedFill = function SvgLockLockedFill(props) {
|
|
|
4645
4491
|
})), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4646
4492
|
fill: "none",
|
|
4647
4493
|
stroke: "currentColor",
|
|
4648
|
-
d: "M4.5 7.5V4a3.5 3.5 0
|
|
4494
|
+
d: "M4.5 7.5V4a3.5 3.5 0 0 1 7 0v3.5"
|
|
4649
4495
|
})));
|
|
4650
4496
|
};
|
|
4651
4497
|
|
|
@@ -4724,7 +4570,7 @@ const StyledItem = styled__default["default"].li `
|
|
|
4724
4570
|
&:hover,
|
|
4725
4571
|
&:focus,
|
|
4726
4572
|
&:active {
|
|
4727
|
-
background-color: ${theme.
|
|
4573
|
+
background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
4728
4574
|
color: ${props.isDanger ? theme.palette.red[500] : theme.palette.grey[800]};
|
|
4729
4575
|
}`};
|
|
4730
4576
|
|
|
@@ -4758,15 +4604,14 @@ var _path$3;
|
|
|
4758
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); }
|
|
4759
4605
|
var SvgQuestionMark = function SvgQuestionMark(props) {
|
|
4760
4606
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
4607
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4761
4608
|
width: 16,
|
|
4762
4609
|
height: 16,
|
|
4763
|
-
|
|
4764
|
-
fill: "currentColor",
|
|
4765
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4610
|
+
fill: "currentColor"
|
|
4766
4611
|
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4767
4612
|
fillRule: "evenodd",
|
|
4768
|
-
|
|
4769
|
-
|
|
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"
|
|
4770
4615
|
})));
|
|
4771
4616
|
};
|
|
4772
4617
|
|
|
@@ -4774,16 +4619,15 @@ var _path$2;
|
|
|
4774
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); }
|
|
4775
4620
|
var SvgCopy = function SvgCopy(props) {
|
|
4776
4621
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
4622
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4777
4623
|
width: 12,
|
|
4778
4624
|
height: 16,
|
|
4779
|
-
|
|
4780
|
-
fill: "none",
|
|
4781
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4625
|
+
fill: "none"
|
|
4782
4626
|
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4627
|
+
fill: "#003A57",
|
|
4783
4628
|
fillRule: "evenodd",
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
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"
|
|
4787
4631
|
})));
|
|
4788
4632
|
};
|
|
4789
4633
|
|
|
@@ -4791,33 +4635,24 @@ var _path$1;
|
|
|
4791
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); }
|
|
4792
4636
|
var SvgInfoFill = function SvgInfoFill(props) {
|
|
4793
4637
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
4638
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4794
4639
|
width: 16,
|
|
4795
4640
|
height: 16,
|
|
4796
|
-
|
|
4797
|
-
fill: "currentColor",
|
|
4798
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4641
|
+
fill: "currentColor"
|
|
4799
4642
|
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4800
4643
|
fillRule: "evenodd",
|
|
4801
|
-
|
|
4802
|
-
|
|
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"
|
|
4803
4646
|
})));
|
|
4804
4647
|
};
|
|
4805
4648
|
|
|
4806
|
-
const StyledButton$
|
|
4649
|
+
const StyledButton$1 = styled__default["default"](Button) `
|
|
4807
4650
|
color: ${(props) => props.theme.palette.grey[800]};
|
|
4808
4651
|
font-weight: ${(props) => props.theme.fontWeights.semibold};
|
|
4809
4652
|
padding-left: 0;
|
|
4810
4653
|
justify-content: flex-start;
|
|
4811
|
-
|
|
4812
|
-
${(props) => `
|
|
4813
|
-
&:hover,
|
|
4814
|
-
&:focus,
|
|
4815
|
-
&:active {
|
|
4816
|
-
background-color: ${props.theme.palette.kale[100]};
|
|
4817
|
-
color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
|
|
4818
|
-
}`};
|
|
4819
4654
|
`;
|
|
4820
|
-
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] })));
|
|
4821
4656
|
|
|
4822
4657
|
const UgParagraph = styled__default["default"](reactTypography.Paragraph) ``;
|
|
4823
4658
|
/**
|
|
@@ -4831,18 +4666,18 @@ const getInitials = (name) => {
|
|
|
4831
4666
|
return initials;
|
|
4832
4667
|
};
|
|
4833
4668
|
|
|
4834
|
-
const StyledButton
|
|
4669
|
+
const StyledButton = styled__default["default"](Button) `
|
|
4835
4670
|
${(props) => `
|
|
4836
4671
|
&:hover,
|
|
4837
4672
|
&:focus,
|
|
4838
4673
|
&:active {
|
|
4839
|
-
background-color: ${props.theme.
|
|
4674
|
+
background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
4840
4675
|
color: ${props.isDanger
|
|
4841
4676
|
? props.theme.palette.red[500]
|
|
4842
4677
|
: props.theme.palette.grey[800]};
|
|
4843
4678
|
}`};
|
|
4844
4679
|
`;
|
|
4845
|
-
const StyledFooterButton = styled__default["default"](StyledButton
|
|
4680
|
+
const StyledFooterButton = styled__default["default"](StyledButton) `
|
|
4846
4681
|
color: ${(props) => props.theme.palette.grey[800]};
|
|
4847
4682
|
padding-left: 0;
|
|
4848
4683
|
justify-content: flex-start;
|
|
@@ -4879,22 +4714,21 @@ const HelpItem = (props) => {
|
|
|
4879
4714
|
if (email.length > 24) {
|
|
4880
4715
|
csmEmailCut = `${email.substring(0, 21)}...`;
|
|
4881
4716
|
}
|
|
4882
|
-
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: () => {
|
|
4883
4718
|
var _a;
|
|
4884
4719
|
copyToClipBoard();
|
|
4885
4720
|
(_a = props.onCopyEmail) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
4886
|
-
}, size: "small"
|
|
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"] }))] }))] }));
|
|
4887
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 })) }));
|
|
4888
4723
|
};
|
|
4889
4724
|
|
|
4890
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); }
|
|
4891
4726
|
var SvgEmpty = function SvgEmpty(props) {
|
|
4892
4727
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
4728
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4893
4729
|
width: 16,
|
|
4894
4730
|
height: 16,
|
|
4895
|
-
|
|
4896
|
-
fill: "#68737D",
|
|
4897
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4731
|
+
fill: "#68737D"
|
|
4898
4732
|
}, props));
|
|
4899
4733
|
};
|
|
4900
4734
|
|
|
@@ -4902,15 +4736,14 @@ var _path;
|
|
|
4902
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); }
|
|
4903
4737
|
var SvgTranslationExists = function SvgTranslationExists(props) {
|
|
4904
4738
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
4739
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4905
4740
|
width: 16,
|
|
4906
4741
|
height: 16,
|
|
4907
|
-
|
|
4908
|
-
fill: "#68737D",
|
|
4909
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
4742
|
+
fill: "#68737D"
|
|
4910
4743
|
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4911
4744
|
fillRule: "evenodd",
|
|
4912
|
-
|
|
4913
|
-
|
|
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"
|
|
4914
4747
|
})));
|
|
4915
4748
|
};
|
|
4916
4749
|
|
|
@@ -4924,18 +4757,9 @@ const StyledButtonContainer = styled__default["default"].div `
|
|
|
4924
4757
|
justify-content: flex-start;
|
|
4925
4758
|
}
|
|
4926
4759
|
`;
|
|
4927
|
-
const StyledButton = styled__default["default"](Button) `
|
|
4928
|
-
${(props) => `
|
|
4929
|
-
&:hover,
|
|
4930
|
-
&:focus,
|
|
4931
|
-
&:active {
|
|
4932
|
-
background-color: ${props.theme.palette.kale[100]};
|
|
4933
|
-
color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
|
|
4934
|
-
}`};
|
|
4935
|
-
`;
|
|
4936
4760
|
const LanguageItem = (props) => {
|
|
4937
4761
|
var _a;
|
|
4938
|
-
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 }))] })))) }) })] }));
|
|
4939
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] }))] }) })) }));
|
|
4940
4764
|
};
|
|
4941
4765
|
|
|
@@ -4948,7 +4772,7 @@ const CompanyHolder = styled__default["default"](SM) `
|
|
|
4948
4772
|
text-transform: uppercase;
|
|
4949
4773
|
margin-top: ${({ theme }) => theme.space.base * 2}px;
|
|
4950
4774
|
margin-bottom: ${({ theme }) => theme.space.base * 4}px;
|
|
4951
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
4775
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
4952
4776
|
`;
|
|
4953
4777
|
const UserDetails = styled__default["default"].div `
|
|
4954
4778
|
margin-top: ${({ theme }) => theme.space.base * 4}px;
|
|
@@ -4964,11 +4788,6 @@ const StyledList = styled__default["default"].ul `
|
|
|
4964
4788
|
padding: 0;
|
|
4965
4789
|
margin: 0;
|
|
4966
4790
|
`;
|
|
4967
|
-
styled__default["default"](Anchor) `
|
|
4968
|
-
&:hover {
|
|
4969
|
-
text-decoration: none;
|
|
4970
|
-
}
|
|
4971
|
-
`;
|
|
4972
4791
|
const UserMenu = (props) => {
|
|
4973
4792
|
var _a;
|
|
4974
4793
|
const [item, setActiveItem] = React.useState("");
|
|
@@ -5078,7 +4897,7 @@ const StyledTag = styled__default["default"](Tag) `
|
|
|
5078
4897
|
const StyledSM = styled__default["default"](SM) `
|
|
5079
4898
|
color: ${({ theme }) => theme.palette.grey[600]};
|
|
5080
4899
|
span {
|
|
5081
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
4900
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
5082
4901
|
}
|
|
5083
4902
|
`;
|
|
5084
4903
|
const SliderCounter = ({ current, total, }) => {
|
|
@@ -5319,7 +5138,7 @@ const Row = (props) => jsxRuntime.jsx(UgRow, Object.assign({}, props));
|
|
|
5319
5138
|
const Cell = (props) => jsxRuntime.jsx(UgCell, Object.assign({}, props));
|
|
5320
5139
|
const Caption = (props) => (jsxRuntime.jsx(reactTables.Caption, Object.assign({}, props)));
|
|
5321
5140
|
|
|
5322
|
-
const StyledAnimatedToggle = styled__default["default"]
|
|
5141
|
+
const StyledAnimatedToggle = styled__default["default"].div `
|
|
5323
5142
|
display: inline-block;
|
|
5324
5143
|
float: right;
|
|
5325
5144
|
`;
|
|
@@ -5356,16 +5175,8 @@ const UgGroupRow = styled__default["default"](reactTables.GroupRow) `
|
|
|
5356
5175
|
`;
|
|
5357
5176
|
const GroupRow = (props) => jsxRuntime.jsx(UgGroupRow, Object.assign({}, props));
|
|
5358
5177
|
const GroupRowComponent = (props) => {
|
|
5359
|
-
const toggleIconAnimation = reactSpring.useSpring({
|
|
5360
|
-
config: { duration: 120 },
|
|
5361
|
-
transform: props.group.items.length > 0
|
|
5362
|
-
? props.open
|
|
5363
|
-
? "rotate(180deg)"
|
|
5364
|
-
: "rotate(0deg)"
|
|
5365
|
-
: "rotate(0deg)",
|
|
5366
|
-
});
|
|
5367
5178
|
return (jsxRuntime.jsx(GroupRow, Object.assign({}, (props && props.group.items.length === 0 && { className: "empty" }), (props &&
|
|
5368
|
-
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, {}) }))] })) })));
|
|
5369
5180
|
};
|
|
5370
5181
|
const AnimatedRow = styled__default["default"](Row) `
|
|
5371
5182
|
&.render {
|
|
@@ -5403,10 +5214,10 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
|
|
|
5403
5214
|
|
|
5404
5215
|
${({ theme, isSelected }) => isSelected &&
|
|
5405
5216
|
`
|
|
5406
|
-
color: ${theme.colors.primaryHue};
|
|
5217
|
+
color: ${getColor(theme.colors.primaryHue, 600)};
|
|
5407
5218
|
background-color: transparent;
|
|
5408
5219
|
|
|
5409
|
-
border-color: ${theme.colors.primaryHue};
|
|
5220
|
+
border-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
5410
5221
|
font-weight: ${theme.fontWeights.semibold};
|
|
5411
5222
|
`}
|
|
5412
5223
|
|
|
@@ -5418,7 +5229,7 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
|
|
|
5418
5229
|
|
|
5419
5230
|
&:hover {
|
|
5420
5231
|
background-color: transparent;
|
|
5421
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
5232
|
+
color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
5422
5233
|
}
|
|
5423
5234
|
`;
|
|
5424
5235
|
const StyledTabList = styled__default["default"].div `
|
|
@@ -5539,7 +5350,7 @@ const TooltipComponent = (props) => {
|
|
|
5539
5350
|
return jsxRuntime.jsx(reactTooltips.Tooltip, Object.assign({}, props, { zIndex: (_a = props.zIndex) !== null && _a !== void 0 ? _a : theme.levels.front }));
|
|
5540
5351
|
};
|
|
5541
5352
|
const Tooltip = styled__default["default"](TooltipComponent) `
|
|
5542
|
-
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))};
|
|
5543
5354
|
`;
|
|
5544
5355
|
|
|
5545
5356
|
const StyledTooltipModal = styled__default["default"](reactModals.TooltipModal) `
|
|
@@ -5605,6 +5416,7 @@ exports.Breadcrumb = Breadcrumb;
|
|
|
5605
5416
|
exports.BulletChart = BulletChart;
|
|
5606
5417
|
exports.Button = Button;
|
|
5607
5418
|
exports.ButtonGroup = ButtonGroup;
|
|
5419
|
+
exports.CARD_COMPONENT_ID = CARD_COMPONENT_ID;
|
|
5608
5420
|
exports.CHARTS_COLOR_PALETTE = CHARTS_COLOR_PALETTE;
|
|
5609
5421
|
exports.CampaignCard = CampaignCard;
|
|
5610
5422
|
exports.CampaignExperientialIcon = SvgCampaignExperiential;
|
|
@@ -5728,5 +5540,7 @@ exports.WaffleChart = WaffleChart;
|
|
|
5728
5540
|
exports.XL = XL;
|
|
5729
5541
|
exports.XXL = XXL;
|
|
5730
5542
|
exports.XXXL = XXXL;
|
|
5543
|
+
exports.cardCmponentStyle = cardCmponentStyle;
|
|
5544
|
+
exports.getColor = getColor;
|
|
5731
5545
|
exports.theme = theme;
|
|
5732
5546
|
exports.useToast = useToast;
|