@appquality/unguess-design-system 3.0.12-alpha → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +78 -0
- package/build/index.d.ts +1 -1
- package/build/index.js +835 -673
- package/build/stories/alerts/index.d.ts +1 -1
- package/build/stories/breadcrumbs/index.stories.d.ts +2 -2
- package/build/stories/buttons/anchor/index.d.ts +2 -2
- package/build/stories/buttons/anchor/index.stories.d.ts +5 -5
- 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 +5 -1216
- package/build/stories/buttons/button-group/index.d.ts +2 -2
- package/build/stories/buttons/button-group/index.stories.d.ts +10 -11
- package/build/stories/buttons/icon-button/_types.d.ts +2 -16
- package/build/stories/buttons/icon-button/index.stories.d.ts +2 -2
- package/build/stories/buttons/utils.d.ts +12 -0
- package/build/stories/cards/index.d.ts +6 -0
- package/build/stories/charts/ChartContainer.d.ts +1 -1
- package/build/stories/dropdowns/field/index.d.ts +1 -1
- package/build/stories/dropdowns/select/index.d.ts +1 -1
- package/build/stories/editor/editorStyle.d.ts +1 -1
- package/build/stories/forms/input/index.d.ts +1 -1
- package/build/stories/forms/input-toggle/index.d.ts +1 -1
- package/build/stories/label/index.d.ts +1 -1
- package/build/stories/lightbox/parts/body.d.ts +3 -3
- package/build/stories/lightbox/parts/footer.d.ts +1 -1
- package/build/stories/modals/fullscreen/index.d.ts +4 -4
- package/build/stories/modals/index.d.ts +1 -1
- package/build/stories/navigation/header/header-item/brandItem.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +1 -1
- package/build/stories/navigation/page-header/index.d.ts +8 -4
- package/build/stories/navigation/page-header/styled/main.d.ts +9 -4
- package/build/stories/player/parts/container.d.ts +1 -1
- package/build/stories/player/parts/controls.d.ts +2 -2
- package/build/stories/player/parts/floatingControls.d.ts +1 -1
- package/build/stories/player/parts/video.d.ts +1 -1
- package/build/stories/profile-modal/menuItem.d.ts +1 -1
- package/build/stories/profile-modal/menuItemIcon.d.ts +1 -1
- package/build/stories/slider/index.d.ts +2 -0
- package/build/stories/slider/parts/container.d.ts +1 -1
- package/build/stories/slider/parts/slickSlider.d.ts +1 -1
- package/build/stories/special-cards/index.d.ts +12 -5
- package/build/stories/special-cards/styled/header.d.ts +10 -3
- 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 +3 -3
- package/build/stories/tags/index.d.ts +3 -3
- package/build/stories/theme/charts.d.ts +1 -17
- package/build/stories/theme/colors.d.ts +5 -10
- package/build/stories/theme/components.d.ts +116 -42
- package/build/stories/theme/gradients.d.ts +0 -1
- package/build/stories/theme/index.d.ts +158 -85
- 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 +19 -5
- package/build/stories/theme/utils.d.ts +6 -2
- package/build/stories/timeline/index.d.ts +2 -2
- package/build/stories/tooltip/index.d.ts +1 -1
- package/build/stories/tooltip/index.stories.d.ts +1 -1
- package/build/stories/typography/paragraph/index.d.ts +2 -2
- package/build/stories/typography/paragraph/index.stories.d.ts +3 -3
- package/build/stories/typography/typescale/anchortag/index.stories.d.ts +10 -1
- package/build/stories/typography/typescale/index.d.ts +26 -8
- package/build/stories/typography/typescale/index.stories.d.ts +10 -1
- package/package.json +2 -4
- package/.babelrc.json +0 -3
- 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/build/stories/typography/paragraph/_types.d.ts +0 -5
- package/build/stories/typography/typescale/_types.d.ts +0 -43
- package/yarn-error.log +0 -13958
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');
|
|
@@ -69,26 +69,31 @@ var Placeholder__default = /*#__PURE__*/_interopDefaultLegacy(Placeholder);
|
|
|
69
69
|
var CharacterCount__default = /*#__PURE__*/_interopDefaultLegacy(CharacterCount);
|
|
70
70
|
var SlickSlider__default = /*#__PURE__*/_interopDefaultLegacy(SlickSlider);
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
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",
|
|
84
88
|
"200": "#e9ebed",
|
|
85
89
|
"300": "#d8dcde",
|
|
86
90
|
"400": "#c2c8cc",
|
|
87
91
|
"500": "#87929d",
|
|
88
92
|
"600": "#68737d",
|
|
89
93
|
"700": "#49545c",
|
|
90
|
-
"800": "#2f3941"
|
|
91
|
-
}, blue: {
|
|
94
|
+
"800": "#2f3941"
|
|
95
|
+
}, "blue": {
|
|
96
|
+
"50": "#F0F3F5",
|
|
92
97
|
"100": "#E6EBEE",
|
|
93
98
|
"200": "#B0C2CB",
|
|
94
99
|
"300": "#8AA4B2",
|
|
@@ -97,116 +102,118 @@ const palette = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.palet
|
|
|
97
102
|
"600": "#003A57",
|
|
98
103
|
"700": "#00293E",
|
|
99
104
|
"800": "#001825",
|
|
100
|
-
}, red: {
|
|
101
|
-
"100": "#
|
|
102
|
-
"200": "#
|
|
103
|
-
"300": "#
|
|
104
|
-
"400": "#
|
|
105
|
-
"500": "#
|
|
106
|
-
"600": "#
|
|
107
|
-
"700": "#
|
|
108
|
-
"800": "#
|
|
109
|
-
|
|
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
|
-
|
|
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": {
|
|
137
163
|
"400": "#d653c2",
|
|
138
164
|
"600": "#a81897",
|
|
139
|
-
M400: "#cf62a8",
|
|
140
|
-
M600: "#a8458c",
|
|
141
|
-
},
|
|
142
|
-
"400": "#
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
},
|
|
147
|
-
"400": "#
|
|
148
|
-
"
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
},
|
|
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": {
|
|
152
198
|
"400": "#de701d",
|
|
153
199
|
"600": "#bf5000",
|
|
154
|
-
M400: "#d4772c",
|
|
155
|
-
M600: "#b35827",
|
|
156
|
-
}, lemon: {
|
|
157
|
-
"400": "#ffd424",
|
|
158
|
-
"600": "#ffbb10",
|
|
159
|
-
M400: "#e7a500",
|
|
160
|
-
M600: "#c38f00",
|
|
161
|
-
}, lime: {
|
|
162
|
-
"400": "#43b324",
|
|
163
|
-
"600": "#2e8200",
|
|
164
|
-
M400: "#519e2d",
|
|
165
|
-
M600: "#47782c",
|
|
166
|
-
}, mint: {
|
|
167
|
-
"400": "#00a656",
|
|
168
|
-
"600": "#058541",
|
|
169
|
-
M400: "#299c66",
|
|
170
|
-
M600: "#2e8057",
|
|
171
|
-
}, teal: {
|
|
172
|
-
"400": "#02a191",
|
|
173
|
-
"600": "#028079",
|
|
174
|
-
M400: "#2d9e8f",
|
|
175
|
-
M600: "#3c7873",
|
|
176
|
-
}, azure: {
|
|
177
|
-
"400": "#3091ec",
|
|
178
|
-
"600": "#1371d6",
|
|
179
|
-
M400: "#5f8dcf",
|
|
180
|
-
M600: "#3a70b2",
|
|
181
|
-
}, royal: {
|
|
182
|
-
"400": "#5d7df5",
|
|
183
|
-
"600": "#3353e2",
|
|
184
|
-
M400: "#7986d8",
|
|
185
|
-
M600: "#4b61c3",
|
|
186
|
-
}, purple: {
|
|
187
|
-
"400": "#b552e2",
|
|
188
|
-
"600": "#6a27b8",
|
|
189
|
-
M400: "#b072cc",
|
|
190
|
-
M600: "#9358b0",
|
|
191
|
-
}, water: {
|
|
192
|
-
100: "#D4FFF7",
|
|
193
|
-
200: "#ABEBDF",
|
|
194
|
-
300: "#6FD1BE",
|
|
195
|
-
600: "#2B8473",
|
|
196
|
-
700: "#206E6A",
|
|
197
|
-
800: "#0C4D5E",
|
|
200
|
+
"M400": "#d4772c",
|
|
201
|
+
"M600": "#b35827",
|
|
198
202
|
} });
|
|
199
203
|
|
|
204
|
+
const getColor = (hue, shade, theme$1 = theme, transparency) => {
|
|
205
|
+
return reactTheming.getColor(hue, shade, theme$1, transparency);
|
|
206
|
+
};
|
|
200
207
|
const hex2rgba = (hex, alpha = 1) => {
|
|
201
208
|
const rgb = hex.match(/\w\w/g);
|
|
202
209
|
const [r, g, b] = rgb ? rgb.map((x) => parseInt(x, 16)) : [0, 0, 0];
|
|
203
210
|
return `rgba(${r},${g},${b},${alpha})`;
|
|
204
211
|
};
|
|
205
|
-
const boxShadow = (theme) => {
|
|
206
|
-
const { space, shadows, palette } = theme;
|
|
212
|
+
const boxShadow = (theme$1) => {
|
|
213
|
+
const { space, shadows, palette } = theme$1;
|
|
207
214
|
const offsetY = `${space.base}px`;
|
|
208
215
|
const blurRadius = `${space.base * 2}px`;
|
|
209
|
-
const shadowColor =
|
|
216
|
+
const shadowColor = getColor(palette.grey, 800, theme, 0.15);
|
|
210
217
|
return shadows.lg(offsetY, blurRadius, shadowColor);
|
|
211
218
|
};
|
|
212
219
|
const isMac = () => {
|
|
@@ -229,7 +236,6 @@ const sidebarNavItemHidden = styled.css `
|
|
|
229
236
|
`;
|
|
230
237
|
|
|
231
238
|
const gradients = {
|
|
232
|
-
horizontal: `linear-gradient(90.81deg, ${hex2rgba(palette.blue[600])} 11.98%, ${hex2rgba(palette.kale[400])} 100%);`,
|
|
233
239
|
dark: `linear-gradient(90.81deg, ${hex2rgba(palette.blue[800])} 0%, ${hex2rgba(palette.blue[600])} 100%);`,
|
|
234
240
|
};
|
|
235
241
|
|
|
@@ -272,28 +278,89 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
272
278
|
|
|
273
279
|
const fontWeights = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.fontWeights), { semibold: 500 });
|
|
274
280
|
|
|
275
|
-
const colors = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.colors), {
|
|
281
|
+
const colors = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.colors), { base: 'light', background: "#fff", foreground: palette.grey[800], primaryHue: "blue", dangerHue: "red", warningHue: "yellow", successHue: "green", neutralHue: "grey", infoHue: "azure", chromeHue: "blue", accentHue: "kale" });
|
|
276
282
|
|
|
277
|
-
|
|
278
|
-
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$8, _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$8 = reactTheming.DEFAULT_THEME.components) === null || _g$8 === void 0 ? void 0 : _g$8.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }) }), cardCmponentStyle), { "text.primary": () => ({
|
|
322
|
+
color: getColor(colors.primaryHue, 600),
|
|
323
|
+
}), "text.success": () => ({
|
|
324
|
+
color: getColor(colors.successHue, 700),
|
|
325
|
+
}), "text.warning": () => ({
|
|
326
|
+
color: getColor(colors.warningHue, 700),
|
|
327
|
+
}), "text.danger": () => ({
|
|
328
|
+
color: getColor(colors.dangerHue, 700),
|
|
329
|
+
}), "navigation.hoverableItem": ({ isCurrent }) => {
|
|
330
|
+
return Object.assign({ "border-top-left-radius": "24px", "border-bottom-left-radius": "24px", color: getColor(colors.primaryHue, 600), "font-weight": fontWeights.medium, "&:hover, &.hover": {
|
|
331
|
+
"background-color": getColor(colors.primaryHue, 600, undefined, 0.08),
|
|
332
|
+
color: getColor(colors.primaryHue, 700),
|
|
333
|
+
}, "&:active, &.active": {
|
|
334
|
+
"background-color": getColor(colors.primaryHue, 600, undefined, 0.2),
|
|
335
|
+
color: getColor(colors.primaryHue, 700),
|
|
336
|
+
}, "&.isCurrent": {
|
|
337
|
+
color: getColor(colors.primaryHue, 700),
|
|
338
|
+
"font-weight": fontWeights.semibold,
|
|
339
|
+
"background-color": getColor(colors.primaryHue, 600, undefined, 0.08),
|
|
340
|
+
} }, (isCurrent && {
|
|
341
|
+
color: getColor(colors.primaryHue, 700),
|
|
342
|
+
"font-weight": fontWeights.semibold,
|
|
343
|
+
"background-color": getColor(colors.primaryHue, 600, undefined, 0.08),
|
|
344
|
+
}));
|
|
345
|
+
}, "notifications.notification": ({ type, isPrimary, }) => {
|
|
279
346
|
const svgCss = {
|
|
280
347
|
marginTop: "-1px",
|
|
281
348
|
};
|
|
282
349
|
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (type === "success" &&
|
|
283
350
|
isPrimary && {
|
|
284
|
-
backgroundColor:
|
|
351
|
+
backgroundColor: getColor(colors.successHue, 700),
|
|
285
352
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
286
353
|
})), (type === "warning" &&
|
|
287
354
|
isPrimary && {
|
|
288
|
-
backgroundColor:
|
|
355
|
+
backgroundColor: getColor(colors.warningHue, 700),
|
|
289
356
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
290
357
|
})), (type === "error" &&
|
|
291
358
|
isPrimary && {
|
|
292
|
-
backgroundColor:
|
|
359
|
+
backgroundColor: getColor(colors.dangerHue, 700),
|
|
293
360
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
294
361
|
})), (type === "info" &&
|
|
295
362
|
isPrimary && {
|
|
296
|
-
backgroundColor:
|
|
363
|
+
backgroundColor: getColor(colors.infoHue, 700),
|
|
297
364
|
svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
|
|
298
365
|
})), !isPrimary && {
|
|
299
366
|
svg: svgCss,
|
|
@@ -352,63 +419,123 @@ const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.co
|
|
|
352
419
|
thumbSize: "60px",
|
|
353
420
|
}, "tabs.tab": ({ isSelected }) => {
|
|
354
421
|
return isSelected ? { fontWeight: fontWeights.semibold } : undefined;
|
|
355
|
-
}, "forms.input": ({ isFocused }) => {
|
|
356
|
-
return isFocused
|
|
357
|
-
? {
|
|
358
|
-
boxShadow: `0 0 0 3px ${palette.kale[200]}}`,
|
|
359
|
-
}
|
|
360
|
-
: undefined;
|
|
361
422
|
}, "dropdowns.item": (_a) => {
|
|
362
423
|
var { addable, checked } = _a; __rest(_a, ["addable", "checked"]);
|
|
363
|
-
return Object.assign(Object.assign(
|
|
424
|
+
return Object.assign(Object.assign({}, (addable
|
|
364
425
|
? {
|
|
365
|
-
color: colors.primaryHue,
|
|
426
|
+
color: getColor(colors.primaryHue, 600),
|
|
366
427
|
cursor: "pointer",
|
|
367
428
|
}
|
|
368
429
|
: {})), (checked
|
|
369
430
|
? {
|
|
370
431
|
fontWeight: fontWeights.semibold,
|
|
371
432
|
}
|
|
372
|
-
: {}))
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
433
|
+
: {}));
|
|
434
|
+
}, "buttons.icon_button": ({ disabled, isBright, isAccent, isPrimary, isBasic, }) => {
|
|
435
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (isAccent && !isPrimary && !isBasic && {
|
|
436
|
+
borderColor: getColor(colors.accentHue, 700),
|
|
437
|
+
color: getColor(colors.accentHue, 700),
|
|
438
|
+
"&:hover": {
|
|
439
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
440
|
+
color: getColor(colors.accentHue, 800),
|
|
441
|
+
backgroundColor: palette.blue[50],
|
|
442
|
+
},
|
|
443
|
+
"&:active": {
|
|
444
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
445
|
+
color: getColor(colors.accentHue, 800),
|
|
446
|
+
backgroundColor: palette.blue[100],
|
|
447
|
+
},
|
|
448
|
+
})), (isAccent && isBasic && {
|
|
449
|
+
color: getColor(colors.accentHue, 700),
|
|
450
|
+
"&:hover": {
|
|
451
|
+
backgroundColor: palette.blue[50],
|
|
452
|
+
color: getColor(colors.accentHue, 800),
|
|
453
|
+
},
|
|
454
|
+
"&:active": {
|
|
455
|
+
backgroundColor: palette.blue[100],
|
|
456
|
+
color: getColor(colors.accentHue, 800),
|
|
457
|
+
},
|
|
458
|
+
})), (isAccent && isPrimary && {
|
|
459
|
+
backgroundColor: getColor(colors.accentHue, 600),
|
|
460
|
+
color: "white",
|
|
380
461
|
"&:hover": {
|
|
381
|
-
backgroundColor:
|
|
462
|
+
backgroundColor: getColor(colors.accentHue, 700),
|
|
463
|
+
color: "white",
|
|
464
|
+
},
|
|
465
|
+
"&:active": {
|
|
466
|
+
backgroundColor: getColor(colors.accentHue, 800),
|
|
467
|
+
color: "white",
|
|
382
468
|
},
|
|
383
469
|
})), (isBright && {
|
|
384
470
|
backgroundColor: "transparent",
|
|
385
471
|
color: "white",
|
|
472
|
+
border: "none",
|
|
386
473
|
"&:hover": {
|
|
387
474
|
backgroundColor: palette.grey[500],
|
|
388
|
-
color:
|
|
475
|
+
color: "white",
|
|
476
|
+
"& svg": {
|
|
477
|
+
color: "white",
|
|
478
|
+
},
|
|
389
479
|
},
|
|
390
480
|
"&:active": {
|
|
391
481
|
backgroundColor: palette.grey[600],
|
|
392
|
-
color: palette.kale[200],
|
|
393
|
-
},
|
|
394
|
-
})), (disabled && { pointerEvents: "none" }));
|
|
395
|
-
}, "buttons.button": ({ isDanger, isPrimary, isHovered, isNeutral, isBright, }) => {
|
|
396
|
-
if (isBright) {
|
|
397
|
-
return {
|
|
398
|
-
backgroundColor: "transparent",
|
|
399
482
|
color: "white",
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
backgroundColor: palette.grey[500],
|
|
403
|
-
color: palette.kale[100],
|
|
483
|
+
"& svg": {
|
|
484
|
+
color: "white",
|
|
404
485
|
},
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
486
|
+
},
|
|
487
|
+
})), (disabled && { pointerEvents: "none" }));
|
|
488
|
+
}, "buttons.button": ({ isAccent, isBright, isPrimary, isBasic, isLink, }) => {
|
|
489
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (isAccent && !isPrimary && !isBasic && !isLink && {
|
|
490
|
+
borderColor: getColor(colors.accentHue, 700),
|
|
491
|
+
color: getColor(colors.accentHue, 700),
|
|
492
|
+
"&:hover": {
|
|
493
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
494
|
+
color: getColor(colors.accentHue, 800),
|
|
495
|
+
backgroundColor: palette.blue[50],
|
|
496
|
+
},
|
|
497
|
+
"&:active": {
|
|
498
|
+
borderColor: getColor(colors.accentHue, 800),
|
|
499
|
+
color: getColor(colors.accentHue, 800),
|
|
500
|
+
backgroundColor: palette.blue[100],
|
|
501
|
+
},
|
|
502
|
+
})), (isAccent && isPrimary && {
|
|
503
|
+
backgroundColor: getColor(colors.accentHue, 600),
|
|
504
|
+
"&:hover": {
|
|
505
|
+
backgroundColor: getColor(colors.accentHue, 700),
|
|
506
|
+
},
|
|
507
|
+
"&:active": {
|
|
508
|
+
backgroundColor: getColor(colors.accentHue, 800),
|
|
509
|
+
},
|
|
510
|
+
})), (isAccent && isBasic && {
|
|
511
|
+
color: getColor(colors.accentHue, 700),
|
|
512
|
+
"&:hover": {
|
|
513
|
+
backgroundColor: palette.blue[50],
|
|
514
|
+
color: getColor(colors.accentHue, 800),
|
|
515
|
+
},
|
|
516
|
+
"&:active": {
|
|
517
|
+
backgroundColor: palette.blue[100],
|
|
518
|
+
color: getColor(colors.accentHue, 800),
|
|
519
|
+
},
|
|
520
|
+
})), (isAccent && isLink && {
|
|
521
|
+
color: getColor(colors.accentHue, 700),
|
|
522
|
+
"&:hover": {
|
|
523
|
+
color: getColor(colors.accentHue, 800),
|
|
524
|
+
},
|
|
525
|
+
"&:active": {
|
|
526
|
+
color: getColor(colors.accentHue, 800),
|
|
527
|
+
},
|
|
528
|
+
})), (isBright && {
|
|
529
|
+
backgroundColor: "transparent",
|
|
530
|
+
color: "white",
|
|
531
|
+
border: "none",
|
|
532
|
+
"&:hover": {
|
|
533
|
+
backgroundColor: palette.grey[500],
|
|
534
|
+
},
|
|
535
|
+
"&:active": {
|
|
536
|
+
backgroundColor: palette.grey[600],
|
|
537
|
+
},
|
|
538
|
+
}));
|
|
412
539
|
} });
|
|
413
540
|
|
|
414
541
|
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: {
|
|
@@ -570,16 +697,6 @@ const Breadcrumb = (_a) => {
|
|
|
570
697
|
*/
|
|
571
698
|
const Anchor = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.Anchor, Object.assign({ ref: ref }, props)));
|
|
572
699
|
|
|
573
|
-
let customTheme = Object.assign({}, theme);
|
|
574
|
-
// Define theme override
|
|
575
|
-
const getThemeStyle = (props) => {
|
|
576
|
-
const { themeColor } = props;
|
|
577
|
-
if (themeColor) {
|
|
578
|
-
customTheme = Object.assign(Object.assign({}, theme), { colors: Object.assign(Object.assign({}, theme.colors), { primaryHue: themeColor }) });
|
|
579
|
-
return customTheme;
|
|
580
|
-
}
|
|
581
|
-
return theme;
|
|
582
|
-
};
|
|
583
700
|
const UgButton = styled__default["default"](reactButtons.Button) ``;
|
|
584
701
|
/**
|
|
585
702
|
* Buttons let users take action quickly.
|
|
@@ -590,11 +707,7 @@ const UgButton = styled__default["default"](reactButtons.Button) ``;
|
|
|
590
707
|
- To draw attention to relevant actions in a user's workflow
|
|
591
708
|
*/
|
|
592
709
|
const ButtonComponent = React.forwardRef((props, ref) => {
|
|
593
|
-
|
|
594
|
-
const currentTheme = getThemeStyle(props);
|
|
595
|
-
return jsxRuntime.jsx(UgButton, Object.assign({}, props, { ref: ref, theme: currentTheme }));
|
|
596
|
-
}
|
|
597
|
-
return jsxRuntime.jsx(UgButton, Object.assign({ ref: ref }, props));
|
|
710
|
+
return jsxRuntime.jsx(UgButton, Object.assign({ ref: ref, isPill: true }, props));
|
|
598
711
|
});
|
|
599
712
|
const Button = ButtonComponent;
|
|
600
713
|
Button.StartIcon = UgButton.StartIcon;
|
|
@@ -628,37 +741,6 @@ Used for this:
|
|
|
628
741
|
**/
|
|
629
742
|
const SplitButton = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.SplitButton, Object.assign({ ref: ref }, props)));
|
|
630
743
|
|
|
631
|
-
const UgCard = styled__default["default"](reactNotifications.Well) `
|
|
632
|
-
border-radius: ${({ theme }) => theme.borderRadii.lg};
|
|
633
|
-
padding: ${({ theme }) => theme.space.xxl};
|
|
634
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
635
|
-
cursor: pointer;
|
|
636
|
-
|
|
637
|
-
${({ isFloating, theme }) => !isFloating &&
|
|
638
|
-
`
|
|
639
|
-
&:hover {
|
|
640
|
-
box-shadow: ${theme.shadows.boxShadow(theme)};
|
|
641
|
-
}`}
|
|
642
|
-
`;
|
|
643
|
-
/**
|
|
644
|
-
* A Card is a container that groups related content.
|
|
645
|
-
* <hr>
|
|
646
|
-
* Used for this:
|
|
647
|
-
- To group related content
|
|
648
|
-
*/
|
|
649
|
-
const Card = (props) => jsxRuntime.jsx(UgCard, Object.assign({}, props));
|
|
650
|
-
const UgContainerCard = styled__default["default"](reactNotifications.Well) `
|
|
651
|
-
border-radius: ${({ theme }) => theme.borderRadii.xl};
|
|
652
|
-
padding: ${({ theme }) => theme.space.xxl};
|
|
653
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
654
|
-
cursor: default;
|
|
655
|
-
|
|
656
|
-
@media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
|
|
657
|
-
padding: ${({ theme }) => `${theme.space.xl} ${theme.space.md}`};
|
|
658
|
-
}
|
|
659
|
-
`;
|
|
660
|
-
const ContainerCard = (props) => jsxRuntime.jsx(UgContainerCard, Object.assign({}, props));
|
|
661
|
-
|
|
662
744
|
/**
|
|
663
745
|
* Use Span to style and format inline text elements.
|
|
664
746
|
* <hr>
|
|
@@ -730,191 +812,270 @@ Tag.Avatar = StyledAvatar;
|
|
|
730
812
|
Tag.Close = StyledClose;
|
|
731
813
|
Tag.SecondaryText = StyledSpan;
|
|
732
814
|
|
|
733
|
-
var _path$
|
|
815
|
+
var _path$A;
|
|
734
816
|
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); }
|
|
735
817
|
var SvgUgSquare = function SvgUgSquare(props) {
|
|
736
818
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
737
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
738
819
|
width: 24,
|
|
739
820
|
height: 24,
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
821
|
+
viewBox: "0 0 24 24",
|
|
822
|
+
fill: "none",
|
|
823
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
824
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
825
|
+
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",
|
|
826
|
+
fill: "#E80C7A"
|
|
744
827
|
})));
|
|
745
828
|
};
|
|
746
829
|
|
|
747
|
-
var _path$
|
|
830
|
+
var _path$z;
|
|
748
831
|
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); }
|
|
749
832
|
var SvgUgCircle = function SvgUgCircle(props) {
|
|
750
833
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
751
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
752
834
|
width: 24,
|
|
753
835
|
height: 24,
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
836
|
+
viewBox: "0 0 24 24",
|
|
837
|
+
fill: "none",
|
|
838
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
839
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
840
|
+
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",
|
|
841
|
+
fill: "#FFCD1A"
|
|
758
842
|
})));
|
|
759
843
|
};
|
|
760
844
|
|
|
761
|
-
var _path$
|
|
845
|
+
var _path$y;
|
|
762
846
|
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); }
|
|
763
847
|
var SvgUgTriangle = function SvgUgTriangle(props) {
|
|
764
848
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
765
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
766
849
|
width: 24,
|
|
767
850
|
height: 24,
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
851
|
+
viewBox: "0 0 24 24",
|
|
852
|
+
fill: "none",
|
|
853
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
854
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
855
|
+
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",
|
|
856
|
+
fill: "#7B0DFF"
|
|
772
857
|
})));
|
|
773
858
|
};
|
|
774
859
|
|
|
775
|
-
var _rect$4, _path$
|
|
860
|
+
var _rect$4, _path$x, _path2$b, _path3$4;
|
|
776
861
|
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); }
|
|
777
862
|
var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
|
|
778
863
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
779
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
780
864
|
width: 24,
|
|
781
865
|
height: 24,
|
|
782
|
-
|
|
866
|
+
viewBox: "0 0 24 24",
|
|
867
|
+
fill: "none",
|
|
868
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
783
869
|
}, props), _rect$4 || (_rect$4 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
784
870
|
width: 24,
|
|
785
871
|
height: 24,
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
})), _path$
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
})), _path2$
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
})), _path3$
|
|
795
|
-
|
|
796
|
-
|
|
872
|
+
rx: 12,
|
|
873
|
+
fill: "#F6F6F8"
|
|
874
|
+
})), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
875
|
+
d: "M20.6953 5.73905C21.0148 5.41953 21.0148 4.90149 20.6953 4.58197C20.3758 4.26245 19.8577 4.26245 19.5382 4.58197L11.88 12.2402L10.0849 9.95981C9.80539 9.60476 9.29098 9.54352 8.93593 9.82303C8.58088 10.1025 8.51963 10.6169 8.79914 10.972L11.1642 13.9763C11.3089 14.16 11.5252 14.2731 11.7586 14.2869C11.9921 14.3008 12.2203 14.2141 12.3856 14.0487L20.6953 5.73905Z",
|
|
876
|
+
fill: "#50BF95"
|
|
877
|
+
})), _path2$b || (_path2$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
878
|
+
d: "M3 12C3 7.02944 7.02944 3 12 3C13.3602 3 14.6521 3.3023 15.8102 3.84415C16.2195 4.03565 16.396 4.52268 16.2045 4.93196C16.013 5.34125 15.526 5.5178 15.1167 5.3263C14.1712 4.88391 13.1156 4.63636 12 4.63636C7.93318 4.63636 4.63636 7.93318 4.63636 12C4.63636 16.0668 7.93318 19.3636 12 19.3636C16.0668 19.3636 19.3636 16.0668 19.3636 12C19.3636 11.3631 19.283 10.7462 19.1317 10.1585C19.0191 9.72084 19.2826 9.27479 19.7202 9.16218C20.1578 9.04957 20.6038 9.31303 20.7165 9.75064C20.9017 10.4705 21 11.2243 21 12C21 16.9705 16.9705 21 12 21C7.02944 21 3 16.9705 3 12Z",
|
|
879
|
+
fill: "#50BF95"
|
|
880
|
+
})), _path3$4 || (_path3$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
881
|
+
d: "M20.6953 5.73905C21.0148 5.41953 21.0148 4.90149 20.6953 4.58197C20.3758 4.26245 19.8577 4.26245 19.5382 4.58197L11.88 12.2402L10.0849 9.95981C9.80539 9.60476 9.29098 9.54352 8.93593 9.82303C8.58088 10.1025 8.51963 10.6169 8.79914 10.972L11.1642 13.9763C11.3089 14.16 11.5252 14.2731 11.7586 14.2869C11.9921 14.3008 12.2203 14.2141 12.3856 14.0487L20.6953 5.73905Z",
|
|
882
|
+
fill: "#007345"
|
|
797
883
|
})));
|
|
798
884
|
};
|
|
799
885
|
|
|
800
|
-
var _rect$3, _path$
|
|
886
|
+
var _rect$3, _path$w, _path2$a;
|
|
801
887
|
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); }
|
|
802
888
|
var SvgCampaignLocked = function SvgCampaignLocked(props) {
|
|
803
889
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
804
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
805
890
|
width: 24,
|
|
806
891
|
height: 24,
|
|
807
|
-
|
|
892
|
+
viewBox: "0 0 24 24",
|
|
893
|
+
fill: "none",
|
|
894
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
808
895
|
}, props), _rect$3 || (_rect$3 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
809
896
|
width: 24,
|
|
810
897
|
height: 24,
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
})), _path$
|
|
814
|
-
fill: "#D1820A",
|
|
898
|
+
rx: 12,
|
|
899
|
+
fill: "#F6F6F8"
|
|
900
|
+
})), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
815
901
|
fillRule: "evenodd",
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
902
|
+
clipRule: "evenodd",
|
|
903
|
+
d: "M13.55 19.0875C14.25 19.7875 15.1063 20.1375 16.1188 20.1375C17.1313 20.1375 17.9875 19.7875 18.6875 19.0875C19.3875 18.3875 19.7375 17.5312 19.7375 16.5187C19.7375 15.5062 19.3875 14.65 18.6875 13.95C17.9875 13.25 17.1313 12.9 16.1188 12.9C15.1063 12.9 14.25 13.25 13.55 13.95C12.85 14.65 12.5 15.5062 12.5 16.5187C12.5 17.5312 12.85 18.3875 13.55 19.0875ZM17.5062 18.2812C17.4187 18.2812 17.3375 18.25 17.2625 18.1875L15.7438 16.7812C15.6813 16.6687 15.65 16.6 15.65 16.575V14.55C15.65 14.4375 15.6875 14.3437 15.7625 14.2687C15.8375 14.1937 15.9313 14.1562 16.0438 14.1562C16.1563 14.1562 16.25 14.1937 16.325 14.2687C16.4 14.3437 16.4375 14.4375 16.4375 14.55V16.4813L17.7313 17.6625C17.8063 17.725 17.8469 17.8062 17.8531 17.9062C17.8594 18.0063 17.825 18.0938 17.75 18.1688C17.675 18.2438 17.5937 18.2812 17.5062 18.2812Z",
|
|
904
|
+
fill: "#D1820A"
|
|
905
|
+
})), _path2$a || (_path2$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
820
906
|
fillRule: "evenodd",
|
|
821
|
-
|
|
822
|
-
|
|
907
|
+
clipRule: "evenodd",
|
|
908
|
+
d: "M6.125 19.5C5.8125 19.5 5.54688 19.3906 5.32812 19.1719C5.10938 18.9531 5 18.6875 5 18.375V10.2375C5 9.925 5.10938 9.65937 5.32812 9.44062C5.54688 9.22187 5.8125 9.1125 6.125 9.1125H7.4375V7.36875C7.4375 6.36875 7.78437 5.51562 8.47812 4.80937C9.17188 4.10312 10.0125 3.75 11 3.75C11.9875 3.75 12.8281 4.10312 13.5219 4.80937C14.2156 5.51562 14.5625 6.36875 14.5625 7.36875V9.1125H15.875C16.1875 9.1125 16.4531 9.22187 16.6719 9.44062C16.8906 9.65937 17 9.925 17 10.2375V11.8687C16.8125 11.8187 16.625 11.7875 16.4375 11.775C16.25 11.7625 16.0625 11.7625 15.875 11.775C14.6 11.825 13.5312 12.3094 12.6688 13.2281C11.8063 14.1469 11.375 15.2437 11.375 16.5187C11.375 17.0687 11.4688 17.5969 11.6562 18.1031C11.8438 18.6094 12.1063 19.075 12.4438 19.5H6.125ZM13.4375 9.1125H8.5625V7.36875C8.5625 6.68125 8.8 6.09375 9.275 5.60625C9.75 5.11875 10.325 4.875 11 4.875C11.675 4.875 12.25 5.11875 12.725 5.60625C13.2 6.09375 13.4375 6.68125 13.4375 7.36875V9.1125Z",
|
|
909
|
+
fill: "#F4AC1A"
|
|
823
910
|
})));
|
|
824
911
|
};
|
|
825
912
|
|
|
826
|
-
var _rect$2, _path$
|
|
913
|
+
var _rect$2, _path$v, _path2$9;
|
|
827
914
|
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); }
|
|
828
915
|
var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
|
|
829
916
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
830
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
831
917
|
width: 24,
|
|
832
918
|
height: 24,
|
|
833
|
-
|
|
919
|
+
viewBox: "0 0 24 24",
|
|
920
|
+
fill: "none",
|
|
921
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
834
922
|
}, props), _rect$2 || (_rect$2 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
835
923
|
width: 24,
|
|
836
924
|
height: 24,
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
})), _path$
|
|
925
|
+
rx: 12,
|
|
926
|
+
fill: "#F6F6F8"
|
|
927
|
+
})), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
928
|
+
d: "M11.2266 13.0313H14.997M11.2266 9.26075V13.0313V9.26075ZM11.2266 13.0313L20.121 5.03906L11.2266 13.0313Z",
|
|
840
929
|
stroke: "#024780",
|
|
841
|
-
strokeLinecap: "round",
|
|
842
|
-
strokeLinejoin: "round",
|
|
843
930
|
strokeWidth: 1.5,
|
|
844
|
-
d: "M11.227 13.031h3.77m-3.77-3.77v3.77-3.77Zm0 3.77L20.12 5.04l-8.894 7.992Z"
|
|
845
|
-
})), _path2$c || (_path2$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
846
|
-
stroke: "#53AFFA",
|
|
847
931
|
strokeLinecap: "round",
|
|
848
|
-
strokeLinejoin: "round"
|
|
932
|
+
strokeLinejoin: "round"
|
|
933
|
+
})), _path2$9 || (_path2$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
934
|
+
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",
|
|
935
|
+
stroke: "#53AFFA",
|
|
849
936
|
strokeWidth: 1.5,
|
|
850
|
-
|
|
937
|
+
strokeLinecap: "round",
|
|
938
|
+
strokeLinejoin: "round"
|
|
851
939
|
})));
|
|
852
940
|
};
|
|
853
941
|
|
|
854
|
-
var _rect$1, _path$
|
|
942
|
+
var _rect$1, _path$u, _path2$8, _path3$3, _path4$1, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1;
|
|
855
943
|
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); }
|
|
856
944
|
var SvgCampaignProgress = function SvgCampaignProgress(props) {
|
|
857
945
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
858
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
859
946
|
width: 24,
|
|
860
947
|
height: 24,
|
|
861
|
-
|
|
948
|
+
viewBox: "0 0 24 24",
|
|
949
|
+
fill: "none",
|
|
950
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
862
951
|
}, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
863
952
|
width: 24,
|
|
864
953
|
height: 24,
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
})), _path$
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
})), _path2$
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
})), _path3$
|
|
874
|
-
|
|
875
|
-
|
|
954
|
+
rx: 12,
|
|
955
|
+
fill: "#F6F6F8"
|
|
956
|
+
})), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
957
|
+
d: "M13.059 16.7647C13.059 16.1799 12.585 15.7059 12.0002 15.7059C11.4154 15.7059 10.9414 16.1799 10.9414 16.7647V19.9412C10.9414 20.5259 11.4154 21 12.0002 21C12.585 21 13.059 20.5259 13.059 19.9412V16.7647Z",
|
|
958
|
+
fill: "#D1820A"
|
|
959
|
+
})), _path2$8 || (_path2$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
960
|
+
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",
|
|
961
|
+
fill: "#D1820A"
|
|
962
|
+
})), _path3$3 || (_path3$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
963
|
+
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",
|
|
964
|
+
fill: "#D1820A"
|
|
965
|
+
})), _path4$1 || (_path4$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
966
|
+
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",
|
|
967
|
+
fill: "#D1820A"
|
|
968
|
+
})), _path5$1 || (_path5$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
969
|
+
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",
|
|
970
|
+
fill: "#FFD7A4"
|
|
971
|
+
})), _path6$1 || (_path6$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
972
|
+
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",
|
|
973
|
+
fill: "#FFD7A4"
|
|
974
|
+
})), _path7$1 || (_path7$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
975
|
+
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",
|
|
976
|
+
fill: "#FFB65A"
|
|
977
|
+
})), _path8$1 || (_path8$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
978
|
+
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",
|
|
979
|
+
fill: "#FFB65A"
|
|
980
|
+
})), _path9$1 || (_path9$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
981
|
+
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",
|
|
982
|
+
fill: "#FFB65A"
|
|
983
|
+
})), _path10$1 || (_path10$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
984
|
+
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",
|
|
985
|
+
fill: "#FFB65A"
|
|
876
986
|
})));
|
|
877
987
|
};
|
|
878
988
|
|
|
879
|
-
var _path$
|
|
989
|
+
var _g$7, _path$t, _path2$7, _path3$2, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11;
|
|
880
990
|
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); }
|
|
881
991
|
var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
|
|
882
992
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
883
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
884
993
|
width: 24,
|
|
885
994
|
height: 24,
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
995
|
+
viewBox: "0 0 24 24",
|
|
996
|
+
fill: "none",
|
|
997
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
998
|
+
}, props), _g$7 || (_g$7 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
890
999
|
opacity: 0.3
|
|
891
|
-
}
|
|
1000
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1001
|
+
opacity: 0.3,
|
|
1002
|
+
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",
|
|
1003
|
+
fill: "#50BF95"
|
|
1004
|
+
}))), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1005
|
+
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",
|
|
892
1006
|
fill: "#2B8473",
|
|
893
|
-
stroke: "#2B8473"
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
1007
|
+
stroke: "#2B8473"
|
|
1008
|
+
})), _path2$7 || (_path2$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1009
|
+
fillRule: "evenodd",
|
|
1010
|
+
clipRule: "evenodd",
|
|
1011
|
+
d: "M6.39343 10.7683V10.1215H8.06761V10.7683H6.39343Z",
|
|
1012
|
+
fill: "#ECF4F2"
|
|
1013
|
+
})), _path3$2 || (_path3$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1014
|
+
fillRule: "evenodd",
|
|
1015
|
+
clipRule: "evenodd",
|
|
1016
|
+
d: "M7.29937 13.6065L6.98608 13.0473L8.43487 12.1845L8.74815 12.7437L7.29937 13.6065Z",
|
|
1017
|
+
fill: "#ECF4F2"
|
|
1018
|
+
})), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
897
1019
|
fillRule: "evenodd",
|
|
898
|
-
|
|
899
|
-
|
|
1020
|
+
clipRule: "evenodd",
|
|
1021
|
+
d: "M8.43609 8.70399L6.9873 7.84261L7.30059 7.28345L8.74937 8.14483L8.43609 8.70399Z",
|
|
1022
|
+
fill: "#ECF4F2"
|
|
1023
|
+
})), _path5 || (_path5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1024
|
+
fillRule: "evenodd",
|
|
1025
|
+
clipRule: "evenodd",
|
|
1026
|
+
d: "M16.6807 7.28345L16.994 7.84261L15.5452 8.70399L15.2319 8.14483L16.6807 7.28345Z",
|
|
1027
|
+
fill: "#ECF4F2"
|
|
1028
|
+
})), _path6 || (_path6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1029
|
+
fillRule: "evenodd",
|
|
1030
|
+
clipRule: "evenodd",
|
|
1031
|
+
d: "M11.677 4.68039H12.305V6.4046H11.677V4.68039Z",
|
|
1032
|
+
fill: "#ECF4F2"
|
|
1033
|
+
})), _path7 || (_path7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1034
|
+
fillRule: "evenodd",
|
|
1035
|
+
clipRule: "evenodd",
|
|
1036
|
+
d: "M9.46389 5.29071L10.3017 6.78279L9.75875 7.10544L8.92236 5.61336L9.46389 5.29071Z",
|
|
1037
|
+
fill: "#ECF4F2"
|
|
1038
|
+
})), _path8 || (_path8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1039
|
+
fillRule: "evenodd",
|
|
1040
|
+
clipRule: "evenodd",
|
|
1041
|
+
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",
|
|
1042
|
+
fill: "#ECF4F2"
|
|
1043
|
+
})), _path9 || (_path9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1044
|
+
fillRule: "evenodd",
|
|
1045
|
+
clipRule: "evenodd",
|
|
1046
|
+
d: "M14.2243 7.10672L13.6814 6.78407L14.5178 5.29199L15.0607 5.61464L14.2243 7.10672Z",
|
|
1047
|
+
fill: "#ECF4F2"
|
|
1048
|
+
})), _path10 || (_path10 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1049
|
+
fillRule: "evenodd",
|
|
1050
|
+
clipRule: "evenodd",
|
|
1051
|
+
d: "M16.6807 13.6065L15.2319 12.7437L15.5452 12.1845L16.994 13.0474L16.6807 13.6065Z",
|
|
1052
|
+
fill: "#ECF4F2"
|
|
1053
|
+
})), _path11 || (_path11 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1054
|
+
fillRule: "evenodd",
|
|
1055
|
+
clipRule: "evenodd",
|
|
1056
|
+
d: "M17.5865 10.7684H15.9124V10.1216H17.5865V10.7684Z",
|
|
1057
|
+
fill: "#ECF4F2"
|
|
900
1058
|
})));
|
|
901
1059
|
};
|
|
902
1060
|
|
|
903
|
-
var
|
|
1061
|
+
var _g$6, _path$s;
|
|
904
1062
|
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); }
|
|
905
1063
|
var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
|
|
906
1064
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
907
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
908
1065
|
width: 24,
|
|
909
1066
|
height: 24,
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
1067
|
+
viewBox: "0 0 24 24",
|
|
1068
|
+
fill: "none",
|
|
1069
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1070
|
+
}, props), _g$6 || (_g$6 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
914
1071
|
opacity: 0.3
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
d: "
|
|
1072
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1073
|
+
opacity: 0.3,
|
|
1074
|
+
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",
|
|
1075
|
+
fill: "#003A57"
|
|
1076
|
+
}))), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1077
|
+
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",
|
|
1078
|
+
fill: "#003A57"
|
|
918
1079
|
})));
|
|
919
1080
|
};
|
|
920
1081
|
|
|
@@ -988,18 +1149,39 @@ CardThumbnail.defaultProps = {
|
|
|
988
1149
|
/**
|
|
989
1150
|
* Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
|
|
990
1151
|
*/
|
|
991
|
-
const SM = (
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
const
|
|
995
|
-
|
|
996
|
-
|
|
1152
|
+
const SM = styled__default["default"](reactTypography.SM) `
|
|
1153
|
+
${p => p.color && `color: ${p.color}`};
|
|
1154
|
+
`;
|
|
1155
|
+
const MD = styled__default["default"](reactTypography.MD) `
|
|
1156
|
+
${p => p.color && `color: ${p.color}`};
|
|
1157
|
+
`;
|
|
1158
|
+
const LG = styled__default["default"](reactTypography.LG) `
|
|
1159
|
+
${p => p.color && `color: ${p.color}`};
|
|
1160
|
+
`;
|
|
1161
|
+
const XL = styled__default["default"](reactTypography.XL) `
|
|
1162
|
+
${p => p.color && `color: ${p.color}`};
|
|
1163
|
+
`;
|
|
1164
|
+
const XXL = styled__default["default"](reactTypography.XXL) `
|
|
1165
|
+
${p => p.color && `color: ${p.color}`};
|
|
1166
|
+
`;
|
|
1167
|
+
const XXXL = styled__default["default"](reactTypography.XXXL) `
|
|
1168
|
+
color: ${p => p.color || p.theme.palette.blue[600]};
|
|
1169
|
+
`;
|
|
1170
|
+
const TextLabel = styled__default["default"](reactTypography.SM) `
|
|
1171
|
+
color: ${p => p.theme.palette.grey[600]};
|
|
1172
|
+
`;
|
|
1173
|
+
const TextDescription = (_a) => {
|
|
1174
|
+
var { isSmall } = _a, props = __rest(_a, ["isSmall"]);
|
|
1175
|
+
return ({ isSmall }
|
|
1176
|
+
? jsxRuntime.jsx(SM, Object.assign({ color: theme.palette.grey[700] }, props))
|
|
1177
|
+
: jsxRuntime.jsx(MD, Object.assign({ color: theme.palette.grey[700] }, props)));
|
|
1178
|
+
};
|
|
997
1179
|
|
|
998
1180
|
const Label$2 = styled__default["default"](SM) `
|
|
999
1181
|
color: ${({ theme }) => theme.palette.grey[500]};
|
|
1000
1182
|
`;
|
|
1001
1183
|
const Title$2 = styled__default["default"](LG) `
|
|
1002
|
-
|
|
1184
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
1003
1185
|
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
1004
1186
|
margin-top: ${({ theme }) => theme.space.xxs};
|
|
1005
1187
|
`;
|
|
@@ -1052,7 +1234,6 @@ const CardFooter = (props) => (jsxRuntime.jsxs(Footer$3, { children: [!props.noD
|
|
|
1052
1234
|
const UgContentCard = styled__default["default"](reactNotifications.Well) `
|
|
1053
1235
|
border-radius: ${({ theme }) => theme.borderRadii.lg};
|
|
1054
1236
|
padding: ${({ theme }) => `${theme.space.sm} ${theme.space.base * 4}px`};
|
|
1055
|
-
border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
|
|
1056
1237
|
height: 100%;
|
|
1057
1238
|
display: flex;
|
|
1058
1239
|
flex-direction: column;
|
|
@@ -1069,6 +1250,7 @@ const UgContentCard = styled__default["default"](reactNotifications.Well) `
|
|
|
1069
1250
|
pointer-events: none;
|
|
1070
1251
|
opacity: 0.7;
|
|
1071
1252
|
`}
|
|
1253
|
+
${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
|
|
1072
1254
|
`;
|
|
1073
1255
|
/**
|
|
1074
1256
|
* A SpecialCard is a spefic type of card with an opinionated set of default spaces and subcomponents order.
|
|
@@ -1144,7 +1326,7 @@ const StyledTagNew = styled__default["default"](Tag) `
|
|
|
1144
1326
|
`;
|
|
1145
1327
|
const ProductCard = (props) => {
|
|
1146
1328
|
const { isNew, productTitle, labelNew } = props;
|
|
1147
|
-
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,
|
|
1329
|
+
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 })) }))] })));
|
|
1148
1330
|
};
|
|
1149
1331
|
|
|
1150
1332
|
const ServiceSubtitle = styled__default["default"](SM) `
|
|
@@ -1245,27 +1427,27 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1245
1427
|
annotations: {
|
|
1246
1428
|
text: {
|
|
1247
1429
|
fontSize: Number(theme.fontSizes.sm),
|
|
1248
|
-
fill: theme.colors.primaryHue,
|
|
1430
|
+
fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1249
1431
|
outlineWidth: 2,
|
|
1250
1432
|
outlineColor: theme.palette.white,
|
|
1251
1433
|
outlineOpacity: 1,
|
|
1252
1434
|
},
|
|
1253
1435
|
link: {
|
|
1254
|
-
stroke: theme.colors.primaryHue,
|
|
1436
|
+
stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1255
1437
|
strokeWidth: 1,
|
|
1256
1438
|
outlineWidth: 2,
|
|
1257
1439
|
outlineColor: theme.palette.white,
|
|
1258
1440
|
outlineOpacity: 1,
|
|
1259
1441
|
},
|
|
1260
1442
|
outline: {
|
|
1261
|
-
stroke: theme.colors.primaryHue,
|
|
1443
|
+
stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1262
1444
|
strokeWidth: 2,
|
|
1263
1445
|
outlineWidth: 2,
|
|
1264
1446
|
outlineColor: theme.palette.white,
|
|
1265
1447
|
outlineOpacity: 1,
|
|
1266
1448
|
},
|
|
1267
1449
|
symbol: {
|
|
1268
|
-
fill: theme.colors.primaryHue,
|
|
1450
|
+
fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
|
|
1269
1451
|
outlineWidth: 2,
|
|
1270
1452
|
outlineColor: theme.palette.white,
|
|
1271
1453
|
outlineOpacity: 1,
|
|
@@ -1364,7 +1546,7 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1364
1546
|
tooltip: {
|
|
1365
1547
|
container: {
|
|
1366
1548
|
background: theme.palette.white,
|
|
1367
|
-
color: theme.colors.primaryHue,
|
|
1549
|
+
color: getColor(theme.colors.primaryHue, 600),
|
|
1368
1550
|
fontSize: Number(theme.fontSizes.sm),
|
|
1369
1551
|
},
|
|
1370
1552
|
basic: {},
|
|
@@ -1374,57 +1556,24 @@ const DEFAULT_CHARTS_THEME = {
|
|
|
1374
1556
|
tableCellValue: {},
|
|
1375
1557
|
},
|
|
1376
1558
|
};
|
|
1377
|
-
const CHARTS_COLOR_PALETTE = {
|
|
1378
|
-
darkPine: "#02807A",
|
|
1379
|
-
lightGrey: theme.palette.grey[200],
|
|
1380
|
-
darkGrey: theme.palette.grey[600],
|
|
1381
|
-
mattone: "#800208",
|
|
1382
|
-
gubbioLight: "#C78430",
|
|
1383
|
-
blueRoyal: "#024780",
|
|
1384
|
-
greenLight: "#5FA41C",
|
|
1385
|
-
blue: "#020880",
|
|
1386
|
-
fucsia: "#CE2A7A",
|
|
1387
|
-
violet: "#573ECF",
|
|
1388
|
-
orchidea: "#B75CAD",
|
|
1389
|
-
sky: "#3392CE",
|
|
1390
|
-
};
|
|
1391
1559
|
const CHARTS_COLOR_SCHEME_MONO = [
|
|
1392
|
-
|
|
1393
|
-
|
|
1560
|
+
theme.palette.teal[700],
|
|
1561
|
+
theme.palette.grey[200],
|
|
1394
1562
|
];
|
|
1395
1563
|
[
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1564
|
+
theme.palette.red[900],
|
|
1565
|
+
theme.palette.yellow[700],
|
|
1566
|
+
theme.palette.azure[900],
|
|
1567
|
+
theme.palette.teal[700],
|
|
1568
|
+
theme.palette.grey[200]
|
|
1401
1569
|
];
|
|
1402
|
-
[
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
]
|
|
1409
|
-
const CHARTS_COLOR_SCHEME_CATEGORICAL_8_A = [
|
|
1410
|
-
CHARTS_COLOR_PALETTE.darkPine,
|
|
1411
|
-
CHARTS_COLOR_PALETTE.fucsia,
|
|
1412
|
-
CHARTS_COLOR_PALETTE.violet,
|
|
1413
|
-
CHARTS_COLOR_PALETTE.greenLight,
|
|
1414
|
-
CHARTS_COLOR_PALETTE.mattone,
|
|
1415
|
-
CHARTS_COLOR_PALETTE.sky,
|
|
1416
|
-
CHARTS_COLOR_PALETTE.orchidea,
|
|
1417
|
-
CHARTS_COLOR_PALETTE.blue, // Blue 900
|
|
1418
|
-
];
|
|
1419
|
-
[
|
|
1420
|
-
CHARTS_COLOR_PALETTE.sky,
|
|
1421
|
-
CHARTS_COLOR_PALETTE.orchidea,
|
|
1422
|
-
CHARTS_COLOR_PALETTE.blue,
|
|
1423
|
-
CHARTS_COLOR_PALETTE.darkPine,
|
|
1424
|
-
CHARTS_COLOR_PALETTE.fucsia,
|
|
1425
|
-
CHARTS_COLOR_PALETTE.violet,
|
|
1426
|
-
CHARTS_COLOR_PALETTE.greenLight,
|
|
1427
|
-
CHARTS_COLOR_PALETTE.mattone, // Mattone 900
|
|
1570
|
+
const CHARTS_COLOR_SCHEME_CATEGORICAL = [
|
|
1571
|
+
theme.palette.teal[700],
|
|
1572
|
+
theme.palette.pink[900],
|
|
1573
|
+
theme.palette.purple[300],
|
|
1574
|
+
theme.palette.crimson[500],
|
|
1575
|
+
theme.palette.royal[900],
|
|
1576
|
+
theme.palette.lemon[700],
|
|
1428
1577
|
];
|
|
1429
1578
|
|
|
1430
1579
|
const ChartContainer = styled__default["default"].div `
|
|
@@ -1483,7 +1632,7 @@ const DEFAULT_CHART_MARGINS = { top: 0, right: 0, bottom: 30, left: 30 };
|
|
|
1483
1632
|
const BarChart = ({ data, width, height, padding, margin, axisLeftLabel, axisBottomLabel, colors, tooltip, legend, }) => {
|
|
1484
1633
|
const theme = React.useContext(styled.ThemeContext);
|
|
1485
1634
|
const keys = [...new Set(data.map(({ keys }) => Object.keys(keys)).flat())];
|
|
1486
|
-
const actualColors = colors !== null && colors !== void 0 ? colors :
|
|
1635
|
+
const actualColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
|
|
1487
1636
|
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) => {
|
|
1488
1637
|
const { keys } = d, rest = __rest(d, ["keys"]);
|
|
1489
1638
|
return Object.assign(Object.assign({}, rest), keys);
|
|
@@ -1542,7 +1691,7 @@ const CustomBulletChartMarkers = ({ x, y, size, animatedProps: { color, transfor
|
|
|
1542
1691
|
return (jsxRuntime.jsx(web.animated.circle, { transform: transform, cx: x, cy: y, fill: color, stroke: color, r: size }));
|
|
1543
1692
|
};
|
|
1544
1693
|
|
|
1545
|
-
const CustomMeasure = ({ x, y, width, height }) => (jsxRuntime.jsx(web.animated.rect, { x: x + 2, y: y + 2, width: width - 4, height: height - 4, fill:
|
|
1694
|
+
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] }));
|
|
1546
1695
|
|
|
1547
1696
|
const CustomTooltip = ({ v0, v1, color }) => {
|
|
1548
1697
|
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 }));
|
|
@@ -1553,7 +1702,7 @@ const UgBulletChart = styled__default["default"](bullet.ResponsiveBullet) `
|
|
|
1553
1702
|
height: 100%;
|
|
1554
1703
|
`;
|
|
1555
1704
|
const BulletChart = ({ width, height, ranges, values }) => {
|
|
1556
|
-
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, {
|
|
1705
|
+
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: [
|
|
1557
1706
|
{
|
|
1558
1707
|
id: "",
|
|
1559
1708
|
title: "",
|
|
@@ -1561,10 +1710,10 @@ const BulletChart = ({ width, height, ranges, values }) => {
|
|
|
1561
1710
|
measures: values,
|
|
1562
1711
|
markers: values,
|
|
1563
1712
|
},
|
|
1564
|
-
], animate: false, measureComponent: CustomMeasure, markerColors:
|
|
1713
|
+
], animate: false, measureComponent: CustomMeasure, markerColors: theme.palette.teal[700], markerComponent: (_a) => {
|
|
1565
1714
|
var markerProps = __rest(_a, ["size"]);
|
|
1566
1715
|
return (jsxRuntime.jsx(CustomBulletChartMarkers, Object.assign({}, markerProps, { size: 4 })));
|
|
1567
|
-
}, tooltip: CustomTooltip, rangeColors:
|
|
1716
|
+
}, tooltip: CustomTooltip, rangeColors: theme.palette.grey[200], rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 5, bottom: -1, left: 0 } }) })) })));
|
|
1568
1717
|
};
|
|
1569
1718
|
|
|
1570
1719
|
const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeMultiplier, }) => {
|
|
@@ -1585,7 +1734,7 @@ const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeM
|
|
|
1585
1734
|
const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tooltip, legend, arcLinkLabelsSkipAngle, labelFormatter, }) => {
|
|
1586
1735
|
var _a;
|
|
1587
1736
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1588
|
-
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 :
|
|
1737
|
+
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
|
|
1589
1738
|
? labelFormatter({
|
|
1590
1739
|
label: d.label,
|
|
1591
1740
|
id: d.id,
|
|
@@ -1609,7 +1758,7 @@ const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tool
|
|
|
1609
1758
|
(props) => (jsxRuntime.jsx(CenteredItem, Object.assign({}, props, { theme: themeContext, label: centerItem.label, value: centerItem.value, fontSizeMultiplier: centerItem.fontSizeMultiplier }))),
|
|
1610
1759
|
]
|
|
1611
1760
|
: []),
|
|
1612
|
-
], 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 :
|
|
1761
|
+
], 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
|
|
1613
1762
|
? labelFormatter({
|
|
1614
1763
|
label: d.label,
|
|
1615
1764
|
id: d.id,
|
|
@@ -1631,7 +1780,7 @@ const AbsoluteChartContainer = styled__default["default"](ChartContainer) `
|
|
|
1631
1780
|
`;
|
|
1632
1781
|
const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }) => {
|
|
1633
1782
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1634
|
-
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 :
|
|
1783
|
+
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: [
|
|
1635
1784
|
"arcs",
|
|
1636
1785
|
...(showArcLinks
|
|
1637
1786
|
? ["arcLabels", "arcLinkLabels"]
|
|
@@ -1641,7 +1790,7 @@ const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMo
|
|
|
1641
1790
|
|
|
1642
1791
|
const HalfPieChart = ({ theme, colors, width, height, data, margin, showArcLinks, }) => {
|
|
1643
1792
|
const themeContext = React.useContext(styled.ThemeContext);
|
|
1644
|
-
const activeColors = colors !== null && colors !== void 0 ? colors :
|
|
1793
|
+
const activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
|
|
1645
1794
|
while (activeColors.length < data.length) {
|
|
1646
1795
|
activeColors.push(...activeColors);
|
|
1647
1796
|
}
|
|
@@ -1718,7 +1867,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1718
1867
|
padding: 0,
|
|
1719
1868
|
} }) }) : DEFAULT_CHARTS_THEME, colors: currentColor
|
|
1720
1869
|
? () => currentColor
|
|
1721
|
-
: colors !== null && colors !== void 0 ? colors :
|
|
1870
|
+
: colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, borderWidth: 4, cornerRadius: 4, onMouseEnter: (node) => {
|
|
1722
1871
|
if (node.data.children) {
|
|
1723
1872
|
setIsHovering(true);
|
|
1724
1873
|
}
|
|
@@ -1748,7 +1897,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1748
1897
|
} })),
|
|
1749
1898
|
]
|
|
1750
1899
|
: []),
|
|
1751
|
-
], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.
|
|
1900
|
+
], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.6]] }, onClick: (clickedData) => {
|
|
1752
1901
|
const foundObject = findChildrenByName(currentData, clickedData.id.toString());
|
|
1753
1902
|
if (foundObject && foundObject.children) {
|
|
1754
1903
|
changeDataSlice({
|
|
@@ -1756,7 +1905,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
|
|
|
1756
1905
|
color: clickedData.color,
|
|
1757
1906
|
});
|
|
1758
1907
|
}
|
|
1759
|
-
} }) })), jsxRuntime.jsx(ChartContainer, Object.assign({ width: width, height: "auto" }, { children: legend ? (jsxRuntime.jsx(Legend, Object.assign({ colors: colors !== null && colors !== void 0 ? colors :
|
|
1908
|
+
} }) })), 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 }))] }));
|
|
1760
1909
|
};
|
|
1761
1910
|
|
|
1762
1911
|
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 => {
|
|
@@ -1965,11 +2114,11 @@ Dropdown.Separator = Separator;
|
|
|
1965
2114
|
const StyledAutocomplete = styled__default["default"](Autocomplete) `
|
|
1966
2115
|
${(props) => props.hasSelectedItems &&
|
|
1967
2116
|
`
|
|
1968
|
-
border-color: ${
|
|
1969
|
-
background-color: ${
|
|
2117
|
+
border-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
2118
|
+
background-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
1970
2119
|
color: white;
|
|
1971
2120
|
& > input, & > svg {
|
|
1972
|
-
color: white;
|
|
2121
|
+
color: ${props.theme.palette.white};
|
|
1973
2122
|
}
|
|
1974
2123
|
`}
|
|
1975
2124
|
`;
|
|
@@ -2260,27 +2409,31 @@ const editorStyle = styled.css `
|
|
|
2260
2409
|
}
|
|
2261
2410
|
`;
|
|
2262
2411
|
|
|
2263
|
-
var _path$
|
|
2412
|
+
var _path$r;
|
|
2264
2413
|
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); }
|
|
2265
2414
|
var SvgBoldFill = function SvgBoldFill(props) {
|
|
2266
2415
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
2267
2416
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2268
2417
|
width: 16,
|
|
2269
|
-
height: 16
|
|
2270
|
-
|
|
2418
|
+
height: 16,
|
|
2419
|
+
focusable: "false",
|
|
2420
|
+
viewBox: "0 0 16 16"
|
|
2421
|
+
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2271
2422
|
fill: "currentColor",
|
|
2272
|
-
d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0
|
|
2423
|
+
d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0 01-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 01-1-1V1a1 1 0 011-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"
|
|
2273
2424
|
})));
|
|
2274
2425
|
};
|
|
2275
2426
|
|
|
2276
|
-
var _path$
|
|
2427
|
+
var _path$q;
|
|
2277
2428
|
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); }
|
|
2278
2429
|
var SvgItalicFill = function SvgItalicFill(props) {
|
|
2279
2430
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
2280
2431
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2281
2432
|
width: 16,
|
|
2282
|
-
height: 16
|
|
2283
|
-
|
|
2433
|
+
height: 16,
|
|
2434
|
+
focusable: "false",
|
|
2435
|
+
viewBox: "0 0 16 16"
|
|
2436
|
+
}, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2284
2437
|
fill: "none",
|
|
2285
2438
|
stroke: "currentColor",
|
|
2286
2439
|
strokeLinecap: "round",
|
|
@@ -2289,17 +2442,19 @@ var SvgItalicFill = function SvgItalicFill(props) {
|
|
|
2289
2442
|
})));
|
|
2290
2443
|
};
|
|
2291
2444
|
|
|
2292
|
-
var _path$
|
|
2445
|
+
var _path$p, _path2$6;
|
|
2293
2446
|
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); }
|
|
2294
2447
|
var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
2295
2448
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
2296
2449
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2297
2450
|
width: 16,
|
|
2298
|
-
height: 16
|
|
2299
|
-
|
|
2451
|
+
height: 16,
|
|
2452
|
+
focusable: "false",
|
|
2453
|
+
viewBox: "0 0 16 16"
|
|
2454
|
+
}, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2300
2455
|
fill: "currentColor",
|
|
2301
2456
|
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"
|
|
2302
|
-
})), _path2$
|
|
2457
|
+
})), _path2$6 || (_path2$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2303
2458
|
fill: "none",
|
|
2304
2459
|
stroke: "currentColor",
|
|
2305
2460
|
strokeLinecap: "round",
|
|
@@ -2308,70 +2463,94 @@ var SvgQuoteFill = function SvgQuoteFill(props) {
|
|
|
2308
2463
|
})));
|
|
2309
2464
|
};
|
|
2310
2465
|
|
|
2311
|
-
var
|
|
2466
|
+
var _g$5;
|
|
2312
2467
|
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); }
|
|
2313
2468
|
var SvgH1Fill = function SvgH1Fill(props) {
|
|
2314
2469
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
2315
2470
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2316
2471
|
width: 16,
|
|
2317
|
-
height: 16
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2472
|
+
height: 16,
|
|
2473
|
+
focusable: "false",
|
|
2474
|
+
viewBox: "0 0 16 16"
|
|
2475
|
+
}, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
2476
|
+
transform: "translate(-464 -332)"
|
|
2477
|
+
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2478
|
+
width: 16,
|
|
2479
|
+
height: 16,
|
|
2480
|
+
transform: "translate(464 332)",
|
|
2481
|
+
fill: "none"
|
|
2482
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2483
|
+
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2484
|
+
transform: "translate(462 333.5)",
|
|
2322
2485
|
fill: "none",
|
|
2323
2486
|
stroke: "currentColor",
|
|
2324
2487
|
strokeLinecap: "round",
|
|
2325
|
-
strokeWidth: 2
|
|
2326
|
-
|
|
2327
|
-
})), _path3$2 || (_path3$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2488
|
+
strokeWidth: 2
|
|
2489
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2328
2490
|
fill: "currentColor",
|
|
2329
|
-
d: "
|
|
2330
|
-
|
|
2491
|
+
d: "M1.755,15A.731.731,0,0,1,1,14.375a.7.7,0,0,1,.617-.739l.136-.011H2.51V6.346l-.22.2a.81.81,0,0,1-1.018.043.646.646,0,0,1-.137-.92l.086-.1L2.731,4.2l.063-.051.094-.058.091-.041.094-.028.082-.016L3.2,4l.082,0a.734.734,0,0,1,.094.007L3.265,4l.08,0,.113.019.1.028.115.055.083.055L3.8,4.2l.056.056.063.085.045.082.03.085.023.113,0,.063v8.937h.755a.731.731,0,0,1,.753.625.7.7,0,0,1-.617.739L4.775,15Z",
|
|
2492
|
+
transform: "translate(474.469 331)"
|
|
2493
|
+
}))));
|
|
2331
2494
|
};
|
|
2332
2495
|
|
|
2333
|
-
var
|
|
2496
|
+
var _g$4;
|
|
2334
2497
|
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); }
|
|
2335
2498
|
var SvgH2Fill = function SvgH2Fill(props) {
|
|
2336
2499
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
|
|
2337
2500
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2338
2501
|
width: 16,
|
|
2339
|
-
height: 16
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2502
|
+
height: 16,
|
|
2503
|
+
focusable: "false",
|
|
2504
|
+
viewBox: "0 0 16 16"
|
|
2505
|
+
}, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
2506
|
+
transform: "translate(-464 -332)"
|
|
2507
|
+
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2508
|
+
width: 16,
|
|
2509
|
+
height: 16,
|
|
2510
|
+
transform: "translate(464 332)",
|
|
2511
|
+
fill: "none"
|
|
2512
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2513
|
+
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2514
|
+
transform: "translate(462 333.5)",
|
|
2344
2515
|
fill: "none",
|
|
2345
2516
|
stroke: "currentColor",
|
|
2346
2517
|
strokeLinecap: "round",
|
|
2347
|
-
strokeWidth: 2
|
|
2348
|
-
|
|
2349
|
-
})), _path3$1 || (_path3$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2518
|
+
strokeWidth: 2
|
|
2519
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2350
2520
|
fill: "currentColor",
|
|
2351
|
-
d: "
|
|
2352
|
-
|
|
2521
|
+
d: "M5.5,6.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.191H10a.656.656,0,0,1,.632.564l.01.124a.677.677,0,0,1-.527.676L10,15H6.143a.627.627,0,0,1-.5-.252.723.723,0,0,1-.133-.57,8.183,8.183,0,0,1,1.753-3.637L8.24,9.292l.085-.111A3.975,3.975,0,0,0,9.355,6.75a1.288,1.288,0,1,0-2.57,0,.644.644,0,1,1-1.285,0Z",
|
|
2522
|
+
transform: "translate(469.359 331)"
|
|
2523
|
+
}))));
|
|
2353
2524
|
};
|
|
2354
2525
|
|
|
2355
|
-
var
|
|
2526
|
+
var _g$3;
|
|
2356
2527
|
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); }
|
|
2357
2528
|
var SvgH3Fill = function SvgH3Fill(props) {
|
|
2358
2529
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
|
|
2359
2530
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2360
2531
|
width: 16,
|
|
2361
|
-
height: 16
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2532
|
+
height: 16,
|
|
2533
|
+
focusable: "false",
|
|
2534
|
+
viewBox: "0 0 16 16"
|
|
2535
|
+
}, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
2536
|
+
transform: "translate(-464 -332)"
|
|
2537
|
+
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2538
|
+
width: 16,
|
|
2539
|
+
height: 16,
|
|
2540
|
+
transform: "translate(464 332)",
|
|
2541
|
+
fill: "none"
|
|
2542
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2543
|
+
d: "M3,1V12.273M11.052,1V12.273M3,6.636h8.052",
|
|
2544
|
+
transform: "translate(462 333.5)",
|
|
2366
2545
|
fill: "none",
|
|
2367
2546
|
stroke: "currentColor",
|
|
2368
2547
|
strokeLinecap: "round",
|
|
2369
|
-
strokeWidth: 2
|
|
2370
|
-
|
|
2371
|
-
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2548
|
+
strokeWidth: 2
|
|
2549
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2372
2550
|
fill: "currentColor",
|
|
2373
|
-
d: "M15.
|
|
2374
|
-
|
|
2551
|
+
d: "M15.375,4A.658.658,0,0,1,16,4.688a3.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.334,0,.424a3.323,3.323,0,0,1-.3,1.339A2.286,2.286,0,0,1,13.5,15c-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-.723l0-.378-.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-.411H11.625a.645.645,0,0,1-.615-.564L11,4.688a.673.673,0,0,1,.512-.676L11.625,4Z",
|
|
2552
|
+
transform: "translate(464.001 331)"
|
|
2553
|
+
}))));
|
|
2375
2554
|
};
|
|
2376
2555
|
|
|
2377
2556
|
const StyledIconButton = styled__default["default"](IconButton) ``;
|
|
@@ -2409,20 +2588,10 @@ const Header$1 = styled__default["default"].div `
|
|
|
2409
2588
|
border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
|
|
2410
2589
|
`;
|
|
2411
2590
|
const Title$1 = styled__default["default"](MD) `
|
|
2412
|
-
${(
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
else if (validation === "warning") {
|
|
2417
|
-
return `color: ${theme.colors.warningHue};`;
|
|
2418
|
-
}
|
|
2419
|
-
else if (validation === "error") {
|
|
2420
|
-
return `color: ${theme.palette.dangerHue};`;
|
|
2421
|
-
}
|
|
2422
|
-
else {
|
|
2423
|
-
return `color: ${theme.colors.primaryHue};`;
|
|
2424
|
-
}
|
|
2425
|
-
}}
|
|
2591
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
2592
|
+
${props => props.validation === "success" && reactTheming.retrieveComponentStyles("text.success", props)}
|
|
2593
|
+
${props => props.validation === "warning" && reactTheming.retrieveComponentStyles("text.warning", props)}
|
|
2594
|
+
${props => props.validation === "error" && reactTheming.retrieveComponentStyles("text.danger", props)}
|
|
2426
2595
|
`;
|
|
2427
2596
|
const EditorHeader = (props) => {
|
|
2428
2597
|
const { title, validation } = props;
|
|
@@ -2442,29 +2611,8 @@ const EditorFooter = ({ saveText }) => {
|
|
|
2442
2611
|
return jsxRuntime.jsxs(Footer$2, { children: [jsxRuntime.jsxs(Tag, { children: [isMac() ? "Cmd" : "Ctrl", "+enter"] }), "\u00A0", jsxRuntime.jsx(Text, { children: saveText || "to save" })] });
|
|
2443
2612
|
};
|
|
2444
2613
|
|
|
2445
|
-
const EditorContainer = styled__default["default"].
|
|
2446
|
-
|
|
2447
|
-
border-radius: ${({ theme }) => theme.borderRadii.md};
|
|
2448
|
-
&:focus-within {
|
|
2449
|
-
outline: ${({ theme }) => theme.palette.blue["300"]};
|
|
2450
|
-
outline-style: solid;
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
|
-
${({ validation, theme }) => {
|
|
2454
|
-
if (validation === "success") {
|
|
2455
|
-
return `border-color: ${theme.colors.successHue};`;
|
|
2456
|
-
}
|
|
2457
|
-
else if (validation === "warning") {
|
|
2458
|
-
return `border-color: ${theme.colors.warningHue};`;
|
|
2459
|
-
}
|
|
2460
|
-
else if (validation === "error") {
|
|
2461
|
-
return `border-color: ${theme.colors.dangerHue};`;
|
|
2462
|
-
}
|
|
2463
|
-
else {
|
|
2464
|
-
return `border-color: ${theme.colors.primaryHue};`;
|
|
2465
|
-
}
|
|
2466
|
-
}}
|
|
2467
|
-
|
|
2614
|
+
const EditorContainer = styled__default["default"](reactForms.FauxInput) `
|
|
2615
|
+
|
|
2468
2616
|
${({ editable }) => !editable &&
|
|
2469
2617
|
`
|
|
2470
2618
|
border: none;
|
|
@@ -2562,7 +2710,7 @@ const CheckboxCard = (props) => {
|
|
|
2562
2710
|
setChecked(!checked);
|
|
2563
2711
|
props.onToggle && props.onToggle(!checked);
|
|
2564
2712
|
};
|
|
2565
|
-
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 })) })) }))] })));
|
|
2713
|
+
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 })) })) }))] })));
|
|
2566
2714
|
};
|
|
2567
2715
|
|
|
2568
2716
|
const UgField = styled__default["default"](reactForms.Field) ``;
|
|
@@ -2594,16 +2742,18 @@ var SvgNotesStroke = function SvgNotesStroke(props) {
|
|
|
2594
2742
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
|
|
2595
2743
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2596
2744
|
width: 16,
|
|
2597
|
-
height: 16
|
|
2745
|
+
height: 16,
|
|
2746
|
+
focusable: "false",
|
|
2747
|
+
viewBox: "0 0 16 16"
|
|
2598
2748
|
}, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
2599
2749
|
fill: "none",
|
|
2600
2750
|
stroke: "currentColor"
|
|
2601
2751
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2602
2752
|
strokeLinejoin: "round",
|
|
2603
|
-
d: "
|
|
2753
|
+
d: "M10.51 8.4l-3.01.1.1-3.01L12.59.5l2.91 2.91-4.99 4.99z"
|
|
2604
2754
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2605
2755
|
strokeLinecap: "round",
|
|
2606
|
-
d: "M7.41 1.5H2.09a.58.58 0
|
|
2756
|
+
d: "M7.41 1.5H2.09a.58.58 0 00-.59.59v11.82a.58.58 0 00.59.59h11.82a.58.58 0 00.59-.59V8.59"
|
|
2607
2757
|
}))));
|
|
2608
2758
|
};
|
|
2609
2759
|
|
|
@@ -2680,7 +2830,7 @@ const InputItem = (props) => {
|
|
|
2680
2830
|
input.focus();
|
|
2681
2831
|
}
|
|
2682
2832
|
}, [isEditing, input]);
|
|
2683
|
-
return isEditing ? (jsxRuntime.jsx(StyledInput, Object.assign({ ref: setInput }, props, { style: Object.assign(Object.assign({ fontWeight: 500 }, size), style) }))) : (jsxRuntime.jsxs(StyledText$1, Object.assign({ isBold: true, style: Object.assign(Object.assign({ fontWeight: 500 }, size), style) }, { children: [!value ? placeholder : value, " ", jsxRuntime.jsx(SvgNotesStroke, {
|
|
2833
|
+
return isEditing ? (jsxRuntime.jsx(StyledInput, Object.assign({ ref: setInput }, props, { style: Object.assign(Object.assign({ fontWeight: 500 }, size), style) }))) : (jsxRuntime.jsxs(StyledText$1, Object.assign({ isBold: true, style: Object.assign(Object.assign({ fontWeight: 500 }, size), style) }, { children: [!value ? placeholder : value, " ", jsxRuntime.jsx(SvgNotesStroke, {})] })));
|
|
2684
2834
|
};
|
|
2685
2835
|
InputToggle.Item = InputItem;
|
|
2686
2836
|
InputToggle.Label = StyledLabel;
|
|
@@ -2712,14 +2862,15 @@ var _path$o;
|
|
|
2712
2862
|
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); }
|
|
2713
2863
|
var SvgCheckLg = function SvgCheckLg(props) {
|
|
2714
2864
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
2715
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2716
2865
|
width: 16,
|
|
2717
2866
|
height: 16,
|
|
2718
|
-
|
|
2867
|
+
viewBox: "0 0 16 16",
|
|
2868
|
+
fill: "#68737D",
|
|
2869
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2719
2870
|
}, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2720
2871
|
fillRule: "evenodd",
|
|
2721
|
-
|
|
2722
|
-
|
|
2872
|
+
clipRule: "evenodd",
|
|
2873
|
+
d: "M14.6464 2.64645C14.8417 2.45118 15.1583 2.45118 15.3536 2.64645C15.5488 2.84171 15.5488 3.15829 15.3536 3.35355L5.35355 13.3536C5.15829 13.5488 4.84171 13.5488 4.64645 13.3536L0.646447 9.35355C0.451184 9.15829 0.451184 8.84171 0.646447 8.64645C0.841709 8.45118 1.15829 8.45118 1.35355 8.64645L5 12.2929L14.6464 2.64645Z"
|
|
2723
2874
|
})));
|
|
2724
2875
|
};
|
|
2725
2876
|
|
|
@@ -2738,7 +2889,7 @@ const Circle = styled__default["default"].div `
|
|
|
2738
2889
|
height: ${({ theme }) => theme.space.base * 6}px;
|
|
2739
2890
|
padding: ${({ theme }) => theme.space.base * 1.25}px;
|
|
2740
2891
|
border-radius: 50%;
|
|
2741
|
-
background-color: ${({ theme }) => theme.colors.primaryHue};
|
|
2892
|
+
background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
|
|
2742
2893
|
display: flex;
|
|
2743
2894
|
flex-direction: column;
|
|
2744
2895
|
justify-content: center;
|
|
@@ -2755,7 +2906,7 @@ const RadioCard = (_a) => {
|
|
|
2755
2906
|
var { card, icon, iconActive } = _a, props = __rest(_a, ["card", "icon", "iconActive"]);
|
|
2756
2907
|
return (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: props.label }, card, props, { className: props.checked ? "card-active" : "", onClick: () => {
|
|
2757
2908
|
props.onChecked && props.onChecked(props.value);
|
|
2758
|
-
} }, { 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 })) }))] })));
|
|
2909
|
+
} }, { 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 })) }))] })));
|
|
2759
2910
|
};
|
|
2760
2911
|
|
|
2761
2912
|
const UgTextarea = styled__default["default"](reactForms.Textarea) ``;
|
|
@@ -2915,10 +3066,12 @@ var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
|
|
|
2915
3066
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
|
|
2916
3067
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2917
3068
|
width: 16,
|
|
2918
|
-
height: 16
|
|
3069
|
+
height: 16,
|
|
3070
|
+
focusable: "false",
|
|
3071
|
+
viewBox: "0 0 16 16"
|
|
2919
3072
|
}, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2920
3073
|
fill: "currentColor",
|
|
2921
|
-
d: "M12.688 5.61a.5.5 0
|
|
3074
|
+
d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
|
|
2922
3075
|
})));
|
|
2923
3076
|
};
|
|
2924
3077
|
|
|
@@ -2970,7 +3123,9 @@ var SvgMenuStroke = function SvgMenuStroke(props) {
|
|
|
2970
3123
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
|
|
2971
3124
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2972
3125
|
width: 16,
|
|
2973
|
-
height: 16
|
|
3126
|
+
height: 16,
|
|
3127
|
+
focusable: "false",
|
|
3128
|
+
viewBox: "0 0 16 16"
|
|
2974
3129
|
}, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2975
3130
|
fill: "none",
|
|
2976
3131
|
stroke: "currentColor",
|
|
@@ -2992,7 +3147,7 @@ const WorkspacesDropdown = (props) => {
|
|
|
2992
3147
|
props.onWorkspaceChange && props.onWorkspaceChange(workspace);
|
|
2993
3148
|
}, downshiftProps: {
|
|
2994
3149
|
itemToString: (item) => item && item.company,
|
|
2995
|
-
} }, { 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
|
|
3150
|
+
} }, { 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
|
|
2996
3151
|
? selectedWorkspace.company + "'s workspace"
|
|
2997
3152
|
: "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 }))))] })] })));
|
|
2998
3153
|
};
|
|
@@ -3012,30 +3167,30 @@ const LogoIconContainer = styled__default["default"](reactChrome.HeaderItem) `
|
|
|
3012
3167
|
const BrandName = styled__default["default"](reactChrome.HeaderItem) `
|
|
3013
3168
|
margin-right: auto;
|
|
3014
3169
|
margin-left: -8px;
|
|
3015
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3016
3170
|
pointer-events: none;
|
|
3017
3171
|
font-family: ${({ theme }) => theme.fonts.system};
|
|
3018
3172
|
@media (max-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
3019
3173
|
display: none;
|
|
3020
3174
|
}
|
|
3175
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
3021
3176
|
`;
|
|
3022
3177
|
const DropdownItem = styled__default["default"](reactChrome.HeaderItem) `
|
|
3023
3178
|
margin-right: auto;
|
|
3024
3179
|
margin-left: -8px;
|
|
3025
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3026
3180
|
font-family: ${({ theme }) => theme.fonts.system};
|
|
3027
3181
|
z-index: 2;
|
|
3028
3182
|
@media (max-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
3029
3183
|
display: none;
|
|
3030
3184
|
}
|
|
3185
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
3031
3186
|
`;
|
|
3032
3187
|
const MenuItem$1 = styled__default["default"](reactChrome.HeaderItem) `
|
|
3033
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3034
3188
|
position: absolute;
|
|
3035
3189
|
left: 0;
|
|
3036
3190
|
@media (min-width: ${({ theme }) => theme.breakpoints.md}) {
|
|
3037
3191
|
display: none;
|
|
3038
3192
|
}
|
|
3193
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
3039
3194
|
`;
|
|
3040
3195
|
const BrandItem = (props) => {
|
|
3041
3196
|
const { menuLabel, toggleMenu } = props, rest = __rest(props, ["menuLabel", "toggleMenu"]);
|
|
@@ -3081,7 +3236,7 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
|
|
|
3081
3236
|
|
|
3082
3237
|
@media (min-width: ${p => p.theme.breakpoints.md}) {
|
|
3083
3238
|
border-right: ${({ theme }) => theme.borders.sm};
|
|
3084
|
-
border-color: ${({ theme }) =>
|
|
3239
|
+
border-color: ${({ theme }) => getColor(theme.colors.neutralHue, 300)};
|
|
3085
3240
|
width: ${p => p.theme.components.chrome.nav.openWidth}px;
|
|
3086
3241
|
margin-left: ${p => p.isExpanded
|
|
3087
3242
|
? 0
|
|
@@ -3098,30 +3253,11 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
|
|
|
3098
3253
|
*/
|
|
3099
3254
|
const Nav = (props) => jsxRuntime.jsx(UgNav, Object.assign({}, props));
|
|
3100
3255
|
|
|
3101
|
-
const SelectedItemStyle = styled.css `
|
|
3102
|
-
background-color: ${({ theme }) => theme.palette.kale["100"]};
|
|
3103
|
-
`;
|
|
3104
3256
|
const UgNavItem$2 = styled__default["default"](reactChrome.NavItem) `
|
|
3105
|
-
border-top-left-radius: ${(props) => props.theme.space.base * 6}px;
|
|
3106
|
-
border-bottom-left-radius: ${(props) => props.theme.space.base * 6}px;
|
|
3107
|
-
font-family: ${({ theme }) => theme.fonts.system};
|
|
3108
3257
|
${sidebarNavItemExpanded}
|
|
3109
3258
|
${(props) => !props.isExpanded && sidebarNavItemHidden}
|
|
3110
|
-
${(props) => props.isCurrent && SelectedItemStyle}
|
|
3111
|
-
&:focus {
|
|
3112
|
-
${SelectedItemStyle}
|
|
3113
|
-
}
|
|
3114
|
-
&:hover {
|
|
3115
|
-
background-color: ${({ theme }) => theme.palette.kale["200"]};
|
|
3116
|
-
}
|
|
3117
|
-
color: ${(props) => props.theme.colors.primaryHue};
|
|
3118
|
-
font-weight: ${(props) => props.theme.fontWeights.medium};
|
|
3119
|
-
${(props) => props.isCurrent &&
|
|
3120
|
-
`
|
|
3121
|
-
color: ${props.theme.palette.blue["700"]};
|
|
3122
|
-
font-weight: ${props.theme.fontWeights.semibold};
|
|
3123
|
-
`}
|
|
3124
3259
|
margin: ${({ theme }) => theme.space.xs} 0;
|
|
3260
|
+
${(props) => reactTheming.retrieveComponentStyles("navigation.hoverableItem", props)};
|
|
3125
3261
|
`;
|
|
3126
3262
|
const NavItem = React.forwardRef((props, ref) => jsxRuntime.jsx(UgNavItem$2, Object.assign({ ref: ref }, props)));
|
|
3127
3263
|
|
|
@@ -3136,10 +3272,12 @@ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
|
|
|
3136
3272
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
|
|
3137
3273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3138
3274
|
width: 16,
|
|
3139
|
-
height: 16
|
|
3275
|
+
height: 16,
|
|
3276
|
+
focusable: "false",
|
|
3277
|
+
viewBox: "0 0 16 16"
|
|
3140
3278
|
}, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3141
3279
|
fill: "currentColor",
|
|
3142
|
-
d: "M5.61 3.312a.5.5 0
|
|
3280
|
+
d: "M5.61 3.312a.5.5 0 01.718-.69l.062.066 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
|
|
3143
3281
|
})));
|
|
3144
3282
|
};
|
|
3145
3283
|
|
|
@@ -3149,10 +3287,12 @@ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
|
|
|
3149
3287
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
3150
3288
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3151
3289
|
width: 16,
|
|
3152
|
-
height: 16
|
|
3290
|
+
height: 16,
|
|
3291
|
+
focusable: "false",
|
|
3292
|
+
viewBox: "0 0 16 16"
|
|
3153
3293
|
}, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3154
3294
|
fill: "currentColor",
|
|
3155
|
-
d: "M10.39 12.688a.5.5 0
|
|
3295
|
+
d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
|
|
3156
3296
|
})));
|
|
3157
3297
|
};
|
|
3158
3298
|
|
|
@@ -3171,7 +3311,7 @@ const StyledToggle = styled__default["default"](IconButton) `
|
|
|
3171
3311
|
}
|
|
3172
3312
|
`;
|
|
3173
3313
|
const NavToggle = (props) => {
|
|
3174
|
-
return (jsxRuntime.jsx(StyledToggle, Object.assign({}, props, { className: "toggle-navigation", isPrimary: true, size: "small" }, { children: props.isExpanded ? (jsxRuntime.jsx(SvgChevronLeftStroke, {
|
|
3314
|
+
return (jsxRuntime.jsx(StyledToggle, Object.assign({}, props, { className: "toggle-navigation", isPrimary: true, size: "small" }, { children: props.isExpanded ? (jsxRuntime.jsx(SvgChevronLeftStroke, {})) : (jsxRuntime.jsx(SvgChevronRightStroke, {})) })));
|
|
3175
3315
|
};
|
|
3176
3316
|
|
|
3177
3317
|
const UgNavItem$1 = styled__default["default"](reactChrome.NavItem) `
|
|
@@ -3225,10 +3365,12 @@ var SvgHomeFill = function SvgHomeFill(props) {
|
|
|
3225
3365
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
3226
3366
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3227
3367
|
width: 26,
|
|
3228
|
-
height: 26
|
|
3368
|
+
height: 26,
|
|
3369
|
+
focusable: "false",
|
|
3370
|
+
viewBox: "0 0 26 26"
|
|
3229
3371
|
}, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3230
3372
|
fill: "currentColor",
|
|
3231
|
-
d: "
|
|
3373
|
+
d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.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 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.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 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
|
|
3232
3374
|
})));
|
|
3233
3375
|
};
|
|
3234
3376
|
|
|
@@ -3238,18 +3380,22 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
|
|
|
3238
3380
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
3239
3381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3240
3382
|
width: 26,
|
|
3241
|
-
height: 26
|
|
3383
|
+
height: 26,
|
|
3384
|
+
focusable: "false",
|
|
3385
|
+
viewBox: "0 0 26 26"
|
|
3242
3386
|
}, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3243
|
-
id: "
|
|
3387
|
+
id: "unguessIconGradient"
|
|
3244
3388
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3245
|
-
className: "
|
|
3246
|
-
offset: "11.98%"
|
|
3389
|
+
className: "stop1",
|
|
3390
|
+
offset: "11.98%",
|
|
3391
|
+
stopColor: "#70c38a"
|
|
3247
3392
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3248
|
-
className: "
|
|
3249
|
-
offset: "100%"
|
|
3393
|
+
className: "stop3",
|
|
3394
|
+
offset: "100%",
|
|
3395
|
+
stopColor: "#001825"
|
|
3250
3396
|
}))), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3251
|
-
fill: "url(#
|
|
3252
|
-
d: "
|
|
3397
|
+
fill: "url(#unguessIconGradient)",
|
|
3398
|
+
d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.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 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.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 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
|
|
3253
3399
|
})));
|
|
3254
3400
|
};
|
|
3255
3401
|
|
|
@@ -3257,37 +3403,38 @@ var _g$1, _defs$2;
|
|
|
3257
3403
|
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); }
|
|
3258
3404
|
var SvgToken = function SvgToken(props) {
|
|
3259
3405
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
3260
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3261
3406
|
fill: "none",
|
|
3262
|
-
viewBox: "0 0 32 32"
|
|
3407
|
+
viewBox: "0 0 32 32",
|
|
3408
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3263
3409
|
}, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
3264
|
-
clipPath: "url(#
|
|
3410
|
+
clipPath: "url(#a)"
|
|
3265
3411
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
3412
|
+
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",
|
|
3413
|
+
clipRule: "evenodd",
|
|
3266
3414
|
fill: "#9FD7B1",
|
|
3267
|
-
fillRule: "evenodd"
|
|
3268
|
-
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",
|
|
3269
|
-
clipRule: "evenodd"
|
|
3415
|
+
fillRule: "evenodd"
|
|
3270
3416
|
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
3271
|
-
width: 23.742,
|
|
3272
|
-
height: 23.742,
|
|
3273
3417
|
x: 4.129,
|
|
3274
3418
|
y: 4.129,
|
|
3275
|
-
|
|
3276
|
-
|
|
3419
|
+
width: 23.742,
|
|
3420
|
+
height: 23.742,
|
|
3421
|
+
rx: 11.871,
|
|
3422
|
+
fill: "#003A57"
|
|
3277
3423
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3278
|
-
|
|
3279
|
-
|
|
3424
|
+
d: "m18.662 16.433v1.1544h-0.0144c-0.1011 1.6739-1.0246 2.6263-2.5686 2.6263-1.645 0-2.6263-0.9524-2.7273-2.6263h-0.0144v-1.1544h-2.3377v1.1688c0.1299 2.9149 2.0924 4.7764 5.065 4.7764 2.9437 0 4.8052-1.8182 4.9351-4.7764v-1.1688h-2.3377z",
|
|
3425
|
+
fill: "#fff"
|
|
3280
3426
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3281
|
-
|
|
3282
|
-
|
|
3427
|
+
d: "m13.367 10.545h-2.3522v2.3521h2.3522v-2.3521z",
|
|
3428
|
+
fill: "#54C38A"
|
|
3283
3429
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
3284
|
-
|
|
3285
|
-
|
|
3430
|
+
d: "m20.986 10.545h-2.381v2.381h2.381v-2.381z",
|
|
3431
|
+
fill: "#fff"
|
|
3286
3432
|
}))), _defs$2 || (_defs$2 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
3287
|
-
id: "
|
|
3288
|
-
}, /*#__PURE__*/React__namespace.createElement("
|
|
3289
|
-
|
|
3290
|
-
|
|
3433
|
+
id: "a"
|
|
3434
|
+
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
3435
|
+
width: 32,
|
|
3436
|
+
height: 32,
|
|
3437
|
+
fill: "#fff"
|
|
3291
3438
|
})))));
|
|
3292
3439
|
};
|
|
3293
3440
|
|
|
@@ -3295,14 +3442,15 @@ var _path$h;
|
|
|
3295
3442
|
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); }
|
|
3296
3443
|
var SvgFolderIcon = function SvgFolderIcon(props) {
|
|
3297
3444
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
3298
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3299
3445
|
width: 12,
|
|
3300
|
-
height: 12
|
|
3446
|
+
height: 12,
|
|
3447
|
+
viewBox: "0 0 12 12",
|
|
3448
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3301
3449
|
}, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3302
|
-
fill: "currentColor",
|
|
3303
3450
|
fillRule: "evenodd",
|
|
3304
|
-
|
|
3305
|
-
|
|
3451
|
+
clipRule: "evenodd",
|
|
3452
|
+
d: "M9.99976 4H6.99976V3.5C6.99976 2.62386 6.3759 2 5.49976 2H2.49976C1.62362 2 0.999758 2.62386 0.999758 3.5V6H0.499758C0.174472 6 -0.0642066 6.30569 0.0146868 6.62127L1.01469 10.6213C1.07033 10.8439 1.27032 11 1.49976 11H10.4998C10.7292 11 10.9292 10.8439 10.9848 10.6213L11.9848 6.62127C12.0637 6.30569 11.825 6 11.4998 6H10.9998V5C10.9998 4.42386 10.5759 4 9.99976 4ZM10.8594 7H1.14015L1.89015 10H10.1094L10.8594 7ZM1.99976 6H9.99976V5H5.99976V3.5C5.99976 3.17614 5.82362 3 5.49976 3H2.49976C2.1759 3 1.99976 3.17614 1.99976 3.5V6Z",
|
|
3453
|
+
fill: "currentColor"
|
|
3306
3454
|
})));
|
|
3307
3455
|
};
|
|
3308
3456
|
|
|
@@ -3310,21 +3458,22 @@ var _path$g, _defs$1;
|
|
|
3310
3458
|
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); }
|
|
3311
3459
|
var SvgTemplates = function SvgTemplates(props) {
|
|
3312
3460
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
3313
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3314
3461
|
width: 26,
|
|
3315
3462
|
height: 26,
|
|
3316
|
-
|
|
3463
|
+
viewBox: "0 0 26 26",
|
|
3464
|
+
fill: "none",
|
|
3465
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3317
3466
|
}, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3318
|
-
fill: "url(#templates_svg__a)",
|
|
3319
3467
|
fillRule: "evenodd",
|
|
3320
|
-
|
|
3321
|
-
|
|
3468
|
+
clipRule: "evenodd",
|
|
3469
|
+
d: "M8 5H3.5C3.2 5 3 5.2 3 5.5V18.5C3 18.8 3.2 19 3.5 19H7C10 19 11 21 11 21H12V7C12 6.9 11 5 8 5ZM9 15H6C5.5 15 5 14.5 5 14C5 13.5 5.5 13 6 13H9C9.5 13 10 13.5 10 14C10 14.5 9.5 15 9 15ZM9 11H6C5.5 11 5 10.5 5 10C5 9.5 5.5 9 6 9H9C9.5 9 10 9.5 10 10C10 10.5 9.5 11 9 11ZM14 7V21H15C15 21 16 19 19 19H22.5C22.8 19 23 18.8 23 18.5V5.5C23 5.2 22.8 5 22.5 5H18C15 5 14 6.9 14 7ZM16 14C16 13.5 16.5 13 17 13H20C20.5 13 21 13.5 21 14C21 14.5 20.5 15 20 15H17C16.5 15 16 14.5 16 14ZM16 10C16 9.5 16.5 9 17 9H20C20.5 9 21 9.5 21 10C21 10.5 20.5 11 20 11H17C16.5 11 16 10.5 16 10Z",
|
|
3470
|
+
fill: "url(#paint0_linear_342_21583)"
|
|
3322
3471
|
})), _defs$1 || (_defs$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3323
|
-
id: "
|
|
3472
|
+
id: "paint0_linear_342_21583",
|
|
3324
3473
|
x1: 3,
|
|
3325
|
-
x2: 23.277,
|
|
3326
3474
|
y1: 5,
|
|
3327
|
-
|
|
3475
|
+
x2: 23.2766,
|
|
3476
|
+
y2: 5.35853,
|
|
3328
3477
|
gradientUnits: "userSpaceOnUse"
|
|
3329
3478
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3330
3479
|
stopColor: "#001825"
|
|
@@ -3338,24 +3487,25 @@ var _path$f, _defs;
|
|
|
3338
3487
|
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); }
|
|
3339
3488
|
var SvgTemplatesActive = function SvgTemplatesActive(props) {
|
|
3340
3489
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
3341
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3342
3490
|
width: 26,
|
|
3343
3491
|
height: 26,
|
|
3344
|
-
|
|
3492
|
+
viewBox: "0 0 26 26",
|
|
3493
|
+
fill: "none",
|
|
3494
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3345
3495
|
}, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3346
|
-
fill: "url(#templates-active_svg__a)",
|
|
3347
3496
|
fillRule: "evenodd",
|
|
3348
|
-
|
|
3349
|
-
|
|
3497
|
+
clipRule: "evenodd",
|
|
3498
|
+
d: "M8 5H3.5C3.2 5 3 5.2 3 5.5V18.5C3 18.8 3.2 19 3.5 19H7C10 19 11 21 11 21H12V7C12 6.9 11 5 8 5ZM9 15H6C5.5 15 5 14.5 5 14C5 13.5 5.5 13 6 13H9C9.5 13 10 13.5 10 14C10 14.5 9.5 15 9 15ZM9 11H6C5.5 11 5 10.5 5 10C5 9.5 5.5 9 6 9H9C9.5 9 10 9.5 10 10C10 10.5 9.5 11 9 11ZM14 7V21H15C15 21 16 19 19 19H22.5C22.8 19 23 18.8 23 18.5V5.5C23 5.2 22.8 5 22.5 5H18C15 5 14 6.9 14 7ZM16 14C16 13.5 16.5 13 17 13H20C20.5 13 21 13.5 21 14C21 14.5 20.5 15 20 15H17C16.5 15 16 14.5 16 14ZM16 10C16 9.5 16.5 9 17 9H20C20.5 9 21 9.5 21 10C21 10.5 20.5 11 20 11H17C16.5 11 16 10.5 16 10Z",
|
|
3499
|
+
fill: "url(#paint0_linear_342_4104)"
|
|
3350
3500
|
})), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
3351
|
-
id: "
|
|
3501
|
+
id: "paint0_linear_342_4104",
|
|
3352
3502
|
x1: 3,
|
|
3353
|
-
x2: 23.277,
|
|
3354
3503
|
y1: 5,
|
|
3355
|
-
|
|
3504
|
+
x2: 23.2766,
|
|
3505
|
+
y2: 5.35853,
|
|
3356
3506
|
gradientUnits: "userSpaceOnUse"
|
|
3357
3507
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3358
|
-
offset: 0.
|
|
3508
|
+
offset: 0.119792,
|
|
3359
3509
|
stopColor: "#003A57"
|
|
3360
3510
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
3361
3511
|
offset: 1,
|
|
@@ -3390,10 +3540,6 @@ const AccordionItemHeader = styled__default["default"](Accordion.Header) `
|
|
|
3390
3540
|
svg {
|
|
3391
3541
|
width: 26px;
|
|
3392
3542
|
}
|
|
3393
|
-
|
|
3394
|
-
&:hover {
|
|
3395
|
-
background-color: ${(props) => props.theme.palette.kale["200"]};
|
|
3396
|
-
}
|
|
3397
3543
|
`;
|
|
3398
3544
|
const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
|
|
3399
3545
|
max-height: 180px;
|
|
@@ -3408,10 +3554,10 @@ const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
|
|
|
3408
3554
|
const AccordionItemLabel = styled__default["default"](Accordion.Label) `
|
|
3409
3555
|
padding: 12px 9px;
|
|
3410
3556
|
${({ theme }) => `
|
|
3411
|
-
|
|
3412
|
-
fill: ${theme.colors.primaryHue};
|
|
3557
|
+
fill: ${getColor(theme.colors.primaryHue, 600)};
|
|
3413
3558
|
font-weight: ${theme.fontWeights.medium};
|
|
3414
3559
|
`}
|
|
3560
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
3415
3561
|
`;
|
|
3416
3562
|
AccordionItem.Panel = AccordionItemPanel;
|
|
3417
3563
|
AccordionItem.Header = AccordionItemHeader;
|
|
@@ -3582,7 +3728,7 @@ const LoginForm = (props) => {
|
|
|
3582
3728
|
? true
|
|
3583
3729
|
: isSubmitting
|
|
3584
3730
|
? true
|
|
3585
|
-
: false, isPrimary: true,
|
|
3731
|
+
: 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 })) })))] })));
|
|
3586
3732
|
} }))] })), 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"] })))] }));
|
|
3587
3733
|
};
|
|
3588
3734
|
|
|
@@ -3590,15 +3736,16 @@ var _path$e;
|
|
|
3590
3736
|
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); }
|
|
3591
3737
|
var SvgPlus = function SvgPlus(props) {
|
|
3592
3738
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
3593
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3594
3739
|
width: 16,
|
|
3595
3740
|
height: 16,
|
|
3596
|
-
|
|
3741
|
+
viewBox: "0 0 16 16",
|
|
3742
|
+
fill: "none",
|
|
3743
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3597
3744
|
}, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3598
|
-
fill: "#68737D",
|
|
3599
3745
|
fillRule: "evenodd",
|
|
3600
|
-
|
|
3601
|
-
|
|
3746
|
+
clipRule: "evenodd",
|
|
3747
|
+
d: "M7.5 2C7.22386 2 7 2.22386 7 2.5V8H1.5C1.22386 8 1 8.22386 1 8.5C1 8.77614 1.22386 9 1.5 9H7V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V9H13.5C13.7761 9 14 8.77614 14 8.5C14 8.22386 13.7761 8 13.5 8H8V2.5C8 2.22386 7.77614 2 7.5 2Z",
|
|
3748
|
+
fill: "#68737D"
|
|
3602
3749
|
})));
|
|
3603
3750
|
};
|
|
3604
3751
|
|
|
@@ -3794,12 +3941,12 @@ const MainOverline = styled__default["default"](MD) `
|
|
|
3794
3941
|
margin-bottom: ${({ theme }) => theme.space.md};
|
|
3795
3942
|
`;
|
|
3796
3943
|
const MainTitle = styled__default["default"].h1 `
|
|
3797
|
-
color: ${({ theme }) => theme.colors.primaryHue};
|
|
3798
3944
|
font-size: ${({ theme }) => theme.fontSizes.xxxl};
|
|
3799
3945
|
font-weight: ${({ theme }) => theme.fontWeights.semibold};
|
|
3800
3946
|
line-height: ${({ theme }) => theme.lineHeights.xxxl};
|
|
3801
3947
|
width: 100%;
|
|
3802
3948
|
margin-bottom: ${({ theme }) => theme.space.sm};
|
|
3949
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
3803
3950
|
`;
|
|
3804
3951
|
const MainDescription = styled__default["default"](LG) `
|
|
3805
3952
|
color: ${({ theme }) => theme.palette.grey[600]};
|
|
@@ -3904,10 +4051,12 @@ var SvgPlayFill = function SvgPlayFill(props) {
|
|
|
3904
4051
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
3905
4052
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3906
4053
|
width: 16,
|
|
3907
|
-
height: 16
|
|
4054
|
+
height: 16,
|
|
4055
|
+
focusable: "false",
|
|
4056
|
+
viewBox: "0 0 16 16"
|
|
3908
4057
|
}, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3909
4058
|
fill: "currentColor",
|
|
3910
|
-
d: "M6 15.79c-.13 0-.26-.03-.38-.08a.977.977 0
|
|
4059
|
+
d: "M6 15.79c-.13 0-.26-.03-.38-.08a.977.977 0 01-.62-.92V1.21a1 1 0 01.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"
|
|
3911
4060
|
})));
|
|
3912
4061
|
};
|
|
3913
4062
|
|
|
@@ -3917,7 +4066,9 @@ var SvgPauseFill = function SvgPauseFill(props) {
|
|
|
3917
4066
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
3918
4067
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3919
4068
|
width: 16,
|
|
3920
|
-
height: 16
|
|
4069
|
+
height: 16,
|
|
4070
|
+
focusable: "false",
|
|
4071
|
+
viewBox: "0 0 16 16"
|
|
3921
4072
|
}, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
3922
4073
|
fill: "currentColor"
|
|
3923
4074
|
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
@@ -3937,55 +4088,67 @@ var SvgPauseFill = function SvgPauseFill(props) {
|
|
|
3937
4088
|
}))));
|
|
3938
4089
|
};
|
|
3939
4090
|
|
|
3940
|
-
var _path$c, _path2$
|
|
4091
|
+
var _path$c, _path2$5, _path3$1;
|
|
3941
4092
|
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); }
|
|
3942
4093
|
var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
|
|
3943
4094
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
3944
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3945
4095
|
width: 16,
|
|
3946
4096
|
height: 16,
|
|
3947
|
-
|
|
4097
|
+
viewBox: "0 0 16 16",
|
|
4098
|
+
fill: "none",
|
|
4099
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3948
4100
|
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3949
|
-
fill: "currentColor",
|
|
3950
4101
|
fillRule: "evenodd",
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
d: "M5.5 7.
|
|
4102
|
+
clipRule: "evenodd",
|
|
4103
|
+
d: "M11.659 3.5C10.7411 2.85974 9.65081 2.5 8.5 2.5C5.45228 2.5 3 4.95228 3 8C3 11.0477 5.45228 13.5 8.5 13.5C10.2023 13.5 11.7457 12.7171 12.8191 11.3753C13.1641 10.944 13.7934 10.8741 14.2247 11.2191C14.656 11.5641 14.7259 12.1934 14.3809 12.6247C12.9372 14.4292 10.8263 15.5 8.5 15.5C4.34772 15.5 1 12.1523 1 8C1 3.84772 4.34772 0.5 8.5 0.5C10.1564 0.5 11.7168 1.04496 13 2.00147V1C13 0.447715 13.4477 0 14 0C14.5523 0 15 0.447715 15 1V4C15 4.85228 14.3523 5.5 13.5 5.5H10.5C9.94771 5.5 9.5 5.05228 9.5 4.5C9.5 3.94772 9.94771 3.5 10.5 3.5H11.659Z",
|
|
4104
|
+
fill: "currentColor"
|
|
4105
|
+
})), _path2$5 || (_path2$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4106
|
+
d: "M5.5 7.63073V7.07008H6.67566V11H6.02566V7.63073H5.5Z",
|
|
4107
|
+
fill: "currentColor"
|
|
4108
|
+
})), _path3$1 || (_path3$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4109
|
+
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",
|
|
4110
|
+
fill: "currentColor"
|
|
3956
4111
|
})));
|
|
3957
4112
|
};
|
|
3958
4113
|
|
|
3959
|
-
var _path$b, _path2$
|
|
4114
|
+
var _path$b, _path2$4, _path3;
|
|
3960
4115
|
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); }
|
|
3961
4116
|
var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
|
|
3962
4117
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
3963
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3964
4118
|
width: 16,
|
|
3965
4119
|
height: 16,
|
|
3966
|
-
|
|
4120
|
+
viewBox: "0 0 16 16",
|
|
4121
|
+
fill: "none",
|
|
4122
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3967
4123
|
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3968
|
-
fill: "currentColor",
|
|
3969
4124
|
fillRule: "evenodd",
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
d: "M5.5 7.
|
|
4125
|
+
clipRule: "evenodd",
|
|
4126
|
+
d: "M4.34099 3.5C5.25886 2.85974 6.34919 2.5 7.5 2.5C10.5477 2.5 13 4.95228 13 8C13 11.0477 10.5477 13.5 7.5 13.5C5.79771 13.5 4.25432 12.7171 3.18087 11.3753C2.83586 10.944 2.20657 10.8741 1.7753 11.2191C1.34404 11.5641 1.27412 12.1934 1.61913 12.6247C3.06275 14.4292 5.17372 15.5 7.5 15.5C11.6523 15.5 15 12.1523 15 8C15 3.84772 11.6523 0.5 7.5 0.5C5.84359 0.5 4.28318 1.04496 3 2.00147V1C3 0.447715 2.55229 0 2 0C1.44771 0 1 0.447715 1 1V4C1 4.85228 1.64772 5.5 2.5 5.5H5.5C6.05229 5.5 6.5 5.05228 6.5 4.5C6.5 3.94772 6.05229 3.5 5.5 3.5H4.34099Z",
|
|
4127
|
+
fill: "currentColor"
|
|
4128
|
+
})), _path2$4 || (_path2$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4129
|
+
d: "M5.5 7.63073V7.07008H6.67566V11H6.02566V7.63073H5.5Z",
|
|
4130
|
+
fill: "currentColor"
|
|
4131
|
+
})), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4132
|
+
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",
|
|
4133
|
+
fill: "currentColor"
|
|
3975
4134
|
})));
|
|
3976
4135
|
};
|
|
3977
4136
|
|
|
3978
|
-
var _path$a;
|
|
4137
|
+
var _path$a, _path2$3;
|
|
3979
4138
|
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); }
|
|
3980
4139
|
var SvgPreviousFill = function SvgPreviousFill(props) {
|
|
3981
4140
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
3982
4141
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3983
4142
|
width: 16,
|
|
3984
4143
|
height: 16,
|
|
4144
|
+
focusable: "false",
|
|
3985
4145
|
viewBox: "0 0 24 24"
|
|
3986
4146
|
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3987
|
-
|
|
3988
|
-
|
|
4147
|
+
d: "M2.75 20C2.75 20.5523 3.19772 21 3.75 21C4.30228 21 4.75 20.5523 4.75 20L4.75 4C4.75 3.44772 4.30229 3 3.75 3C3.19772 3 2.75 3.44772 2.75 4V20Z",
|
|
4148
|
+
fill: "currentColor"
|
|
4149
|
+
})), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4150
|
+
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",
|
|
4151
|
+
fill: "currentColor"
|
|
3989
4152
|
})));
|
|
3990
4153
|
};
|
|
3991
4154
|
|
|
@@ -4058,7 +4221,7 @@ const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
|
|
|
4058
4221
|
} }, { children: jsxRuntime.jsx(SvgBackSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, size: "large", onClick: handlePlay }, { children: isPlaying ? (jsxRuntime.jsx(SvgPauseFill, { style: { width: "24px", height: "24px" } })) : (jsxRuntime.jsx(SvgPlayFill, { style: { width: "24px", height: "24px" } })) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
|
|
4059
4222
|
onForward();
|
|
4060
4223
|
e.stopPropagation();
|
|
4061
|
-
} }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(
|
|
4224
|
+
} }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, isPill: true, onClick: (e) => {
|
|
4062
4225
|
const newSpeed = getNextPlaybackRate(playBackRate);
|
|
4063
4226
|
if (videoRef === null || videoRef === void 0 ? void 0 : videoRef.playbackRate) {
|
|
4064
4227
|
setPlayBackRate(newSpeed);
|
|
@@ -4087,14 +4250,16 @@ var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
|
|
|
4087
4250
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
4088
4251
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4089
4252
|
width: 16,
|
|
4090
|
-
height: 16
|
|
4253
|
+
height: 16,
|
|
4254
|
+
focusable: "false",
|
|
4255
|
+
viewBox: "0 0 16 16"
|
|
4091
4256
|
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4092
4257
|
stroke: "currentColor",
|
|
4093
4258
|
strokeLinecap: "round",
|
|
4094
|
-
d: "
|
|
4259
|
+
d: "M11.5 10l4-4m-4 0l4 4"
|
|
4095
4260
|
})), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4096
4261
|
fill: "currentColor",
|
|
4097
|
-
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
|
|
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 011.71.71V14.3a.986.986 0 01-1 .99z"
|
|
4098
4263
|
})));
|
|
4099
4264
|
};
|
|
4100
4265
|
|
|
@@ -4104,10 +4269,12 @@ var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
|
|
|
4104
4269
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
4105
4270
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4106
4271
|
width: 16,
|
|
4107
|
-
height: 16
|
|
4272
|
+
height: 16,
|
|
4273
|
+
focusable: "false",
|
|
4274
|
+
viewBox: "0 0 16 16"
|
|
4108
4275
|
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4109
4276
|
fill: "currentColor",
|
|
4110
|
-
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
|
|
4277
|
+
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 011.71.71V14.3a.986.986 0 01-1 .99z"
|
|
4111
4278
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4112
4279
|
fill: "none",
|
|
4113
4280
|
stroke: "currentColor",
|
|
@@ -4163,10 +4330,12 @@ var SvgMaximizeFill = function SvgMaximizeFill(props) {
|
|
|
4163
4330
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
4164
4331
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4165
4332
|
width: 16,
|
|
4166
|
-
height: 16
|
|
4333
|
+
height: 16,
|
|
4334
|
+
focusable: "false",
|
|
4335
|
+
viewBox: "0 0 16 16"
|
|
4167
4336
|
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4168
4337
|
fill: "currentColor",
|
|
4169
|
-
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
|
|
4338
|
+
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 00-.85.35zm0-7.42V1c0-.55.45-1 1-1h3.29c.45 0 .67.54.35.85L.85 4.65A.5.5 0 010 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"
|
|
4170
4339
|
})));
|
|
4171
4340
|
};
|
|
4172
4341
|
|
|
@@ -4222,7 +4391,7 @@ const ControlsWrapper = styled__default["default"].div `
|
|
|
4222
4391
|
const StyledProgress = styled__default["default"](Progress) `
|
|
4223
4392
|
width: 100%;
|
|
4224
4393
|
border-radius: 0;
|
|
4225
|
-
color: ${({ theme }) => theme.palette.kale[
|
|
4394
|
+
color: ${({ theme }) => theme.palette.kale[700]};
|
|
4226
4395
|
cursor: pointer;
|
|
4227
4396
|
> div {
|
|
4228
4397
|
border-radius: 0;
|
|
@@ -4440,10 +4609,12 @@ var SvgExit = function SvgExit(props) {
|
|
|
4440
4609
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
4441
4610
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4442
4611
|
width: 16,
|
|
4443
|
-
height: 16
|
|
4612
|
+
height: 16,
|
|
4613
|
+
focusable: "false",
|
|
4614
|
+
viewBox: "0 0 16 16"
|
|
4444
4615
|
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4445
4616
|
fill: "currentColor",
|
|
4446
|
-
d: "M3 15.93c-.23 0-.45-.08-.64-.23l-2-1.67a.987.987 0
|
|
4617
|
+
d: "M3 15.93c-.23 0-.45-.08-.64-.23l-2-1.67a.987.987 0 01-.36-.76V2.73c0-.3.13-.58.36-.77l2-1.67c.3-.24.71-.29 1.06-.13a1 1 0 01.58.91v13.87a1 1 0 01-.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 0112 11z"
|
|
4447
4618
|
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4448
4619
|
fill: "none",
|
|
4449
4620
|
stroke: "currentColor",
|
|
@@ -4456,15 +4627,16 @@ var _path$5;
|
|
|
4456
4627
|
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); }
|
|
4457
4628
|
var SvgThumbsUp = function SvgThumbsUp(props) {
|
|
4458
4629
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
4459
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4460
4630
|
width: 16,
|
|
4461
4631
|
height: 16,
|
|
4462
|
-
|
|
4632
|
+
viewBox: "0 0 16 16",
|
|
4633
|
+
fill: "none",
|
|
4634
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4463
4635
|
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4464
|
-
fill: "#68737D",
|
|
4465
4636
|
fillRule: "evenodd",
|
|
4466
|
-
|
|
4467
|
-
|
|
4637
|
+
clipRule: "evenodd",
|
|
4638
|
+
d: "M13.5 15C14.2828 15 14.8192 11.8284 15 7.5C15 7.22386 14.7761 7 14.5 7H9.5C9.22386 7 9 6.77614 9 6.5V2C9 1.44772 8.55229 1 8 1C7.44772 1 7 1.44772 7 2C7 4.97341 6.19918 6.46065 5.02719 6.8454C5.01015 6.85409 4.99957 6.87174 5 6.9L4.99891 15C4.99927 15 13.5 15 13.5 15ZM10 6H14.5C15.3284 6 16 6.67157 15.9996 7.52082C15.7692 13.0486 15.2701 16 13.5 16L5.03301 15.9989C4.75408 16.0174 4.48075 15.9146 4.28308 15.7169C4.08542 15.5193 3.98264 15.2459 4 15L4.00008 6.90914C3.99274 6.50762 4.21507 6.13707 4.64189 5.92566C5.41645 5.66747 6 4.58373 6 2C6 0.89543 6.89543 0 8 0C9.10457 0 10 0.89543 10 2V6ZM1 7V15H2V7H1ZM1 6H2C2.55228 6 3 6.44772 3 7V15C3 15.5523 2.55228 16 2 16H1C0.447715 16 0 15.5523 0 15V7C0 6.44772 0.447715 6 1 6Z",
|
|
4639
|
+
fill: "#68737D"
|
|
4468
4640
|
})));
|
|
4469
4641
|
};
|
|
4470
4642
|
|
|
@@ -4474,7 +4646,9 @@ var SvgLockLockedFill = function SvgLockLockedFill(props) {
|
|
|
4474
4646
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
4475
4647
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4476
4648
|
width: 16,
|
|
4477
|
-
height: 16
|
|
4649
|
+
height: 16,
|
|
4650
|
+
focusable: "false",
|
|
4651
|
+
viewBox: "0 0 16 16"
|
|
4478
4652
|
}, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
|
|
4479
4653
|
width: 12,
|
|
4480
4654
|
height: 9,
|
|
@@ -4486,7 +4660,7 @@ var SvgLockLockedFill = function SvgLockLockedFill(props) {
|
|
|
4486
4660
|
})), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4487
4661
|
fill: "none",
|
|
4488
4662
|
stroke: "currentColor",
|
|
4489
|
-
d: "M4.5 7.5V4a3.5 3.5 0
|
|
4663
|
+
d: "M4.5 7.5V4a3.5 3.5 0 017 0v3.5"
|
|
4490
4664
|
})));
|
|
4491
4665
|
};
|
|
4492
4666
|
|
|
@@ -4565,7 +4739,7 @@ const StyledItem = styled__default["default"].li `
|
|
|
4565
4739
|
&:hover,
|
|
4566
4740
|
&:focus,
|
|
4567
4741
|
&:active {
|
|
4568
|
-
background-color: ${theme.
|
|
4742
|
+
background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
4569
4743
|
color: ${props.isDanger ? theme.palette.red[500] : theme.palette.grey[800]};
|
|
4570
4744
|
}`};
|
|
4571
4745
|
|
|
@@ -4599,14 +4773,15 @@ var _path$3;
|
|
|
4599
4773
|
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); }
|
|
4600
4774
|
var SvgQuestionMark = function SvgQuestionMark(props) {
|
|
4601
4775
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
4602
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4603
4776
|
width: 16,
|
|
4604
4777
|
height: 16,
|
|
4605
|
-
|
|
4778
|
+
viewBox: "0 0 16 16",
|
|
4779
|
+
fill: "currentColor",
|
|
4780
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4606
4781
|
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4607
4782
|
fillRule: "evenodd",
|
|
4608
|
-
|
|
4609
|
-
|
|
4783
|
+
clipRule: "evenodd",
|
|
4784
|
+
d: "M7.99997 11.5C8.55226 11.5 8.99997 11.0523 8.99997 10.5V9.4C8.99997 8.83787 9.33361 8.32072 9.92997 7.948C11.3791 7.15957 12.2479 5.53522 11.9883 3.84794C11.7161 2.21413 10.3858 0.883851 8.76437 0.613605C6.74482 0.234732 4.81137 1.36258 4.24419 3.20591C4.08177 3.73378 4.37802 4.29336 4.90589 4.45578C5.43375 4.6182 5.99333 4.32195 6.15575 3.79409C6.41982 2.93586 7.36323 2.38554 8.41568 2.58287C9.2141 2.71615 9.88382 3.38587 10.0136 4.1644C10.139 4.98036 9.70294 5.79565 8.92112 6.2221C7.72579 6.96712 6.99997 8.09213 6.99997 9.4V10.5C6.99997 11.0523 7.44769 11.5 7.99997 11.5ZM7.99997 15.5C8.8284 15.5 9.49997 14.8284 9.49997 14C9.49997 13.1716 8.8284 12.5 7.99997 12.5C7.17155 12.5 6.49997 13.1716 6.49997 14C6.49997 14.8284 7.17155 15.5 7.99997 15.5Z"
|
|
4610
4785
|
})));
|
|
4611
4786
|
};
|
|
4612
4787
|
|
|
@@ -4614,15 +4789,16 @@ var _path$2;
|
|
|
4614
4789
|
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); }
|
|
4615
4790
|
var SvgCopy = function SvgCopy(props) {
|
|
4616
4791
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
4617
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4618
4792
|
width: 12,
|
|
4619
4793
|
height: 16,
|
|
4620
|
-
|
|
4794
|
+
viewBox: "0 0 12 16",
|
|
4795
|
+
fill: "none",
|
|
4796
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4621
4797
|
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4622
|
-
fill: "#003A57",
|
|
4623
4798
|
fillRule: "evenodd",
|
|
4624
|
-
|
|
4625
|
-
|
|
4799
|
+
clipRule: "evenodd",
|
|
4800
|
+
d: "M2.625 10C2.83211 10 3 10.2239 3 10.5C3 10.7761 2.83211 11 2.625 11H0.75C0.335786 11 0 10.5523 0 10V1C0 0.447715 0.335786 0 0.75 0H7.5C7.91421 0 8.25 0.447715 8.25 1V3.5C8.25 3.77614 8.08211 4 7.875 4C7.66789 4 7.5 3.77614 7.5 3.5V1H0.75V10H2.625ZM4.5 6V15H11.25V6H4.5ZM4.5 5H11.25C11.6642 5 12 5.44772 12 6V15C12 15.5523 11.6642 16 11.25 16H4.5C4.08579 16 3.75 15.5523 3.75 15V6C3.75 5.44772 4.08579 5 4.5 5Z",
|
|
4801
|
+
fill: "#003A57"
|
|
4626
4802
|
})));
|
|
4627
4803
|
};
|
|
4628
4804
|
|
|
@@ -4630,34 +4806,33 @@ var _path$1;
|
|
|
4630
4806
|
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); }
|
|
4631
4807
|
var SvgInfoFill = function SvgInfoFill(props) {
|
|
4632
4808
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
4633
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4634
4809
|
width: 16,
|
|
4635
4810
|
height: 16,
|
|
4636
|
-
|
|
4811
|
+
viewBox: "0 0 16 16",
|
|
4812
|
+
fill: "currentColor",
|
|
4813
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4637
4814
|
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4638
4815
|
fillRule: "evenodd",
|
|
4639
|
-
|
|
4640
|
-
|
|
4816
|
+
clipRule: "evenodd",
|
|
4817
|
+
d: "M7.5 16C3.36 16 0 12.64 0 8.5C0 4.36 3.36 1 7.5 1C11.64 1 15 4.36 15 8.5C15 12.64 11.64 16 7.5 16ZM7 12.5C7 12.78 7.22 13 7.5 13C7.78 13 8 12.78 8 12.5V8C8 7.72 7.78 7.5 7.5 7.5C7.22 7.5 7 7.72 7 8V12.5ZM7.5 4C6.95 4 6.5 4.45 6.5 5C6.5 5.55 6.95 6 7.5 6C8.05 6 8.5 5.55 8.5 5C8.5 4.45 8.05 4 7.5 4Z"
|
|
4641
4818
|
})));
|
|
4642
4819
|
};
|
|
4643
4820
|
|
|
4644
|
-
const StyledButton$
|
|
4821
|
+
const StyledButton$1 = styled__default["default"](Button) `
|
|
4645
4822
|
color: ${(props) => props.theme.palette.grey[800]};
|
|
4646
4823
|
font-weight: ${(props) => props.theme.fontWeights.semibold};
|
|
4647
4824
|
padding-left: 0;
|
|
4648
4825
|
justify-content: flex-start;
|
|
4649
|
-
|
|
4650
|
-
${(props) => `
|
|
4651
|
-
&:hover,
|
|
4652
|
-
&:focus,
|
|
4653
|
-
&:active {
|
|
4654
|
-
background-color: ${props.theme.palette.kale[100]};
|
|
4655
|
-
color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
|
|
4656
|
-
}`};
|
|
4657
4826
|
`;
|
|
4658
|
-
const PreviousButton = (props) => (jsxRuntime.jsxs(StyledButton$
|
|
4827
|
+
const PreviousButton = (props) => (jsxRuntime.jsxs(StyledButton$1, Object.assign({}, props, { isStretched: true }, { children: [jsxRuntime.jsx(StyledButton$1.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.children] })));
|
|
4659
4828
|
|
|
4660
|
-
const UgParagraph = styled__default["default"](reactTypography.Paragraph)
|
|
4829
|
+
const UgParagraph = styled__default["default"](reactTypography.Paragraph) `
|
|
4830
|
+
${p => p.color && `
|
|
4831
|
+
> div {
|
|
4832
|
+
color: ${p.color};
|
|
4833
|
+
}
|
|
4834
|
+
`};
|
|
4835
|
+
`;
|
|
4661
4836
|
/**
|
|
4662
4837
|
* Use Paragraph to render blocks of text with Garden styling.
|
|
4663
4838
|
*/
|
|
@@ -4669,18 +4844,18 @@ const getInitials = (name) => {
|
|
|
4669
4844
|
return initials;
|
|
4670
4845
|
};
|
|
4671
4846
|
|
|
4672
|
-
const StyledButton
|
|
4847
|
+
const StyledButton = styled__default["default"](Button) `
|
|
4673
4848
|
${(props) => `
|
|
4674
4849
|
&:hover,
|
|
4675
4850
|
&:focus,
|
|
4676
4851
|
&:active {
|
|
4677
|
-
background-color: ${props.theme.
|
|
4852
|
+
background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
|
|
4678
4853
|
color: ${props.isDanger
|
|
4679
4854
|
? props.theme.palette.red[500]
|
|
4680
4855
|
: props.theme.palette.grey[800]};
|
|
4681
4856
|
}`};
|
|
4682
4857
|
`;
|
|
4683
|
-
const StyledFooterButton = styled__default["default"](StyledButton
|
|
4858
|
+
const StyledFooterButton = styled__default["default"](StyledButton) `
|
|
4684
4859
|
color: ${(props) => props.theme.palette.grey[800]};
|
|
4685
4860
|
padding-left: 0;
|
|
4686
4861
|
justify-content: flex-start;
|
|
@@ -4717,21 +4892,22 @@ const HelpItem = (props) => {
|
|
|
4717
4892
|
if (email.length > 24) {
|
|
4718
4893
|
csmEmailCut = `${email.substring(0, 21)}...`;
|
|
4719
4894
|
}
|
|
4720
|
-
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
|
|
4895
|
+
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: () => {
|
|
4721
4896
|
var _a;
|
|
4722
4897
|
copyToClipBoard();
|
|
4723
4898
|
(_a = props.onCopyEmail) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
4724
|
-
}, size: "small"
|
|
4899
|
+
}, 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"] }))] }))] }));
|
|
4725
4900
|
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 })) }));
|
|
4726
4901
|
};
|
|
4727
4902
|
|
|
4728
4903
|
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); }
|
|
4729
4904
|
var SvgEmpty = function SvgEmpty(props) {
|
|
4730
4905
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
4731
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4732
4906
|
width: 16,
|
|
4733
4907
|
height: 16,
|
|
4734
|
-
|
|
4908
|
+
viewBox: "0 0 16 16",
|
|
4909
|
+
fill: "#68737D",
|
|
4910
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4735
4911
|
}, props));
|
|
4736
4912
|
};
|
|
4737
4913
|
|
|
@@ -4739,14 +4915,15 @@ var _path;
|
|
|
4739
4915
|
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); }
|
|
4740
4916
|
var SvgTranslationExists = function SvgTranslationExists(props) {
|
|
4741
4917
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
4742
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4743
4918
|
width: 16,
|
|
4744
4919
|
height: 16,
|
|
4745
|
-
|
|
4920
|
+
viewBox: "0 0 16 16",
|
|
4921
|
+
fill: "#68737D",
|
|
4922
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4746
4923
|
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4747
4924
|
fillRule: "evenodd",
|
|
4748
|
-
|
|
4749
|
-
|
|
4925
|
+
clipRule: "evenodd",
|
|
4926
|
+
d: "M6 8.31C6.0087 8.47711 5.93254 8.63735 5.79747 8.73613C5.6624 8.83491 5.48662 8.85893 5.33 8.8C5 8.68 4.71 8.5 4.45 8.31C3.9 8.73 3.26 9 2.5 9C2.22 9 2 8.78 2 8.5C2 8.22 2.22 8 2.5 8C2.94 8 3.34 7.86 3.69 7.63C2.9 6.73 2.55 5.72 2.53 5.66C2.44 5.4 2.58 5.11 2.84 5.03C3.1 4.94 3.39 5.08 3.47 5.34C3.47 5.35 3.78 6.21 4.43 6.95C5.19 6.04 5.64 4.75 5.86 4H2.5C2.22 4 2 3.78 2 3.5C2 3.22 2.22 3 2.5 3H4V2.5C4 2.22 4.22 2 4.5 2C4.78 2 5 2.22 5 2.5V3H6.5C6.65 3 6.79 3.07 6.89 3.18C6.98 3.3 7.02 3.45 6.99 3.6C6.98 3.65 6.91 3.98 6.77 4.43C7.11 4.17 7.53 4 8 4H9V1C9 0.45 8.55 0 8 0H1C0.45 0 0 0.45 0 1V10C0 10.55 0.45 11 1 11H6V8.31ZM5.67 7.86C5.86 7.93 5.99 8.1 6 8.29V6.35C5.77 6.79 5.5 7.22 5.18 7.61C5.33 7.71 5.49 7.79 5.67 7.86ZM15 5H8C7.45 5 7 5.45 7 6V15C7 15.55 7.45 16 8 16H15C15.55 16 16 15.55 16 15V6C16 5.45 15.55 5 15 5ZM13.7 12.96C13.4459 13.0656 13.1538 12.9505 13.04 12.7L12.73 12H10.27L9.96 12.7C9.85 12.95 9.55 13.07 9.3 12.95C9.05 12.83 8.93 12.54 9.05 12.29L11.05 7.79C11.21 7.43 11.8 7.43 11.96 7.79L13.96 12.29C14.07 12.55 13.96 12.84 13.7 12.96ZM10.71 11H12.29L11.5 9.23L10.71 11Z"
|
|
4750
4927
|
})));
|
|
4751
4928
|
};
|
|
4752
4929
|
|
|
@@ -4760,18 +4937,9 @@ const StyledButtonContainer = styled__default["default"].div `
|
|
|
4760
4937
|
justify-content: flex-start;
|
|
4761
4938
|
}
|
|
4762
4939
|
`;
|
|
4763
|
-
const StyledButton = styled__default["default"](Button) `
|
|
4764
|
-
${(props) => `
|
|
4765
|
-
&:hover,
|
|
4766
|
-
&:focus,
|
|
4767
|
-
&:active {
|
|
4768
|
-
background-color: ${props.theme.palette.kale[100]};
|
|
4769
|
-
color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
|
|
4770
|
-
}`};
|
|
4771
|
-
`;
|
|
4772
4940
|
const LanguageItem = (props) => {
|
|
4773
4941
|
var _a;
|
|
4774
|
-
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(
|
|
4942
|
+
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 }))] })))) }) })] }));
|
|
4775
4943
|
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] }))] }) })) }));
|
|
4776
4944
|
};
|
|
4777
4945
|
|
|
@@ -4784,7 +4952,7 @@ const CompanyHolder = styled__default["default"](SM) `
|
|
|
4784
4952
|
text-transform: uppercase;
|
|
4785
4953
|
margin-top: ${({ theme }) => theme.space.base * 2}px;
|
|
4786
4954
|
margin-bottom: ${({ theme }) => theme.space.base * 4}px;
|
|
4787
|
-
|
|
4955
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
4788
4956
|
`;
|
|
4789
4957
|
const UserDetails = styled__default["default"].div `
|
|
4790
4958
|
margin-top: ${({ theme }) => theme.space.base * 4}px;
|
|
@@ -4800,11 +4968,6 @@ const StyledList = styled__default["default"].ul `
|
|
|
4800
4968
|
padding: 0;
|
|
4801
4969
|
margin: 0;
|
|
4802
4970
|
`;
|
|
4803
|
-
styled__default["default"](Anchor) `
|
|
4804
|
-
&:hover {
|
|
4805
|
-
text-decoration: none;
|
|
4806
|
-
}
|
|
4807
|
-
`;
|
|
4808
4971
|
const UserMenu = (props) => {
|
|
4809
4972
|
var _a;
|
|
4810
4973
|
const [item, setActiveItem] = React.useState("");
|
|
@@ -4914,7 +5077,7 @@ const StyledTag = styled__default["default"](Tag) `
|
|
|
4914
5077
|
const StyledSM = styled__default["default"](SM) `
|
|
4915
5078
|
color: ${({ theme }) => theme.palette.grey[600]};
|
|
4916
5079
|
span {
|
|
4917
|
-
|
|
5080
|
+
${props => reactTheming.retrieveComponentStyles("text.primary", props)}
|
|
4918
5081
|
}
|
|
4919
5082
|
`;
|
|
4920
5083
|
const SliderCounter = ({ current, total, }) => {
|
|
@@ -5052,7 +5215,9 @@ const Slider = (props) => {
|
|
|
5052
5215
|
}, [current]);
|
|
5053
5216
|
return (jsxRuntime.jsxs(SliderContextProvider, { children: [settings.counter && jsxRuntime.jsx(SliderCounter, { current: current, total: slides }), jsxRuntime.jsx(StyledSlick, Object.assign({}, settings, { beforeChange: updateSlide }))] }));
|
|
5054
5217
|
};
|
|
5055
|
-
Slider.Slide = Slide;
|
|
5218
|
+
Slider.Slide = Slide;
|
|
5219
|
+
Slider.PrevButton = PrevButton;
|
|
5220
|
+
Slider.NextButton = NextButton;
|
|
5056
5221
|
|
|
5057
5222
|
const UgStep = styled__default["default"](reactAccordions.Stepper.Step) `
|
|
5058
5223
|
svg {
|
|
@@ -5155,7 +5320,7 @@ const Row = (props) => jsxRuntime.jsx(UgRow, Object.assign({}, props));
|
|
|
5155
5320
|
const Cell = (props) => jsxRuntime.jsx(UgCell, Object.assign({}, props));
|
|
5156
5321
|
const Caption = (props) => (jsxRuntime.jsx(reactTables.Caption, Object.assign({}, props)));
|
|
5157
5322
|
|
|
5158
|
-
const StyledAnimatedToggle = styled__default["default"]
|
|
5323
|
+
const StyledAnimatedToggle = styled__default["default"].div `
|
|
5159
5324
|
display: inline-block;
|
|
5160
5325
|
float: right;
|
|
5161
5326
|
`;
|
|
@@ -5192,16 +5357,8 @@ const UgGroupRow = styled__default["default"](reactTables.GroupRow) `
|
|
|
5192
5357
|
`;
|
|
5193
5358
|
const GroupRow = (props) => jsxRuntime.jsx(UgGroupRow, Object.assign({}, props));
|
|
5194
5359
|
const GroupRowComponent = (props) => {
|
|
5195
|
-
const toggleIconAnimation = web.useSpring({
|
|
5196
|
-
config: { duration: 120 },
|
|
5197
|
-
transform: props.group.items.length > 0
|
|
5198
|
-
? props.open
|
|
5199
|
-
? "rotate(180deg)"
|
|
5200
|
-
: "rotate(0deg)"
|
|
5201
|
-
: "rotate(0deg)",
|
|
5202
|
-
});
|
|
5203
5360
|
return (jsxRuntime.jsx(GroupRow, Object.assign({}, (props && props.group.items.length === 0 && { className: "empty" }), (props &&
|
|
5204
|
-
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:
|
|
5361
|
+
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, {}) }))] })) })));
|
|
5205
5362
|
};
|
|
5206
5363
|
const AnimatedRow = styled__default["default"](Row) `
|
|
5207
5364
|
&.render {
|
|
@@ -5239,10 +5396,10 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
|
|
|
5239
5396
|
|
|
5240
5397
|
${({ theme, isSelected }) => isSelected &&
|
|
5241
5398
|
`
|
|
5242
|
-
color: ${theme.colors.primaryHue};
|
|
5399
|
+
color: ${getColor(theme.colors.primaryHue, 600)};
|
|
5243
5400
|
background-color: transparent;
|
|
5244
5401
|
|
|
5245
|
-
border-color: ${theme.colors.primaryHue};
|
|
5402
|
+
border-color: ${getColor(theme.colors.primaryHue, 600)};
|
|
5246
5403
|
font-weight: ${theme.fontWeights.semibold};
|
|
5247
5404
|
`}
|
|
5248
5405
|
|
|
@@ -5254,7 +5411,7 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
|
|
|
5254
5411
|
|
|
5255
5412
|
&:hover {
|
|
5256
5413
|
background-color: transparent;
|
|
5257
|
-
|
|
5414
|
+
$
|
|
5258
5415
|
}
|
|
5259
5416
|
`;
|
|
5260
5417
|
const StyledTabList = styled__default["default"].div `
|
|
@@ -5265,6 +5422,7 @@ const StyledTabPanel = styled__default["default"].div `
|
|
|
5265
5422
|
display: ${({ hidden }) => (hidden ? "none" : "block")};
|
|
5266
5423
|
height: 100%;
|
|
5267
5424
|
overflow-y: auto;
|
|
5425
|
+
overflow-x: hidden;
|
|
5268
5426
|
`;
|
|
5269
5427
|
const TabPanel = (_a) => {
|
|
5270
5428
|
var { hidden, children } = _a, rest = __rest(_a, ["hidden", "children"]);
|
|
@@ -5375,7 +5533,7 @@ const TooltipComponent = (props) => {
|
|
|
5375
5533
|
return jsxRuntime.jsx(reactTooltips.Tooltip, Object.assign({}, props, { zIndex: (_a = props.zIndex) !== null && _a !== void 0 ? _a : theme.levels.front }));
|
|
5376
5534
|
};
|
|
5377
5535
|
const Tooltip = styled__default["default"](TooltipComponent) `
|
|
5378
|
-
box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`,
|
|
5536
|
+
box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`, getColor("neutralHue", 600, theme, 0.15))};
|
|
5379
5537
|
`;
|
|
5380
5538
|
|
|
5381
5539
|
const StyledTooltipModal = styled__default["default"](reactModals.TooltipModal) `
|
|
@@ -5441,7 +5599,7 @@ exports.Breadcrumb = Breadcrumb;
|
|
|
5441
5599
|
exports.BulletChart = BulletChart;
|
|
5442
5600
|
exports.Button = Button;
|
|
5443
5601
|
exports.ButtonGroup = ButtonGroup;
|
|
5444
|
-
exports.
|
|
5602
|
+
exports.CARD_COMPONENT_ID = CARD_COMPONENT_ID;
|
|
5445
5603
|
exports.CampaignCard = CampaignCard;
|
|
5446
5604
|
exports.CampaignExperientialIcon = SvgCampaignExperiential;
|
|
5447
5605
|
exports.CampaignFunctionalIcon = SvgCampaignFunctional;
|
|
@@ -5550,6 +5708,8 @@ exports.TableHead = Head;
|
|
|
5550
5708
|
exports.TableRow = Row;
|
|
5551
5709
|
exports.Tabs = Tabs;
|
|
5552
5710
|
exports.Tag = Tag;
|
|
5711
|
+
exports.TextDescription = TextDescription;
|
|
5712
|
+
exports.TextLabel = TextLabel;
|
|
5553
5713
|
exports.Textarea = Textarea;
|
|
5554
5714
|
exports.Tiles = Tiles;
|
|
5555
5715
|
exports.Timeline = Timeline;
|
|
@@ -5564,5 +5724,7 @@ exports.WaffleChart = WaffleChart;
|
|
|
5564
5724
|
exports.XL = XL;
|
|
5565
5725
|
exports.XXL = XXL;
|
|
5566
5726
|
exports.XXXL = XXXL;
|
|
5727
|
+
exports.cardCmponentStyle = cardCmponentStyle;
|
|
5728
|
+
exports.getColor = getColor;
|
|
5567
5729
|
exports.theme = theme;
|
|
5568
5730
|
exports.useToast = useToast;
|