@appquality/unguess-design-system 3.0.11-alpha → 3.1.0

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/build/index.d.ts +1 -1
  3. package/build/index.js +556 -512
  4. package/build/stories/alerts/index.d.ts +1 -1
  5. package/build/stories/breadcrumbs/index.stories.d.ts +2 -2
  6. package/build/stories/buttons/anchor/index.d.ts +2 -2
  7. package/build/stories/buttons/anchor/index.stories.d.ts +5 -5
  8. package/build/stories/buttons/button/_types.d.ts +2 -29
  9. package/build/stories/buttons/button/index.d.ts +1 -1
  10. package/build/stories/buttons/button/index.stories.d.ts +5 -1216
  11. package/build/stories/buttons/button-group/index.d.ts +2 -2
  12. package/build/stories/buttons/button-group/index.stories.d.ts +10 -11
  13. package/build/stories/buttons/icon-button/_types.d.ts +2 -16
  14. package/build/stories/buttons/icon-button/index.stories.d.ts +2 -2
  15. package/build/stories/buttons/utils.d.ts +12 -0
  16. package/build/stories/cards/index.d.ts +6 -0
  17. package/build/stories/charts/ChartContainer.d.ts +1 -1
  18. package/build/stories/dropdowns/field/index.d.ts +1 -1
  19. package/build/stories/dropdowns/select/index.d.ts +1 -1
  20. package/build/stories/editor/editorStyle.d.ts +1 -1
  21. package/build/stories/forms/input/index.d.ts +1 -1
  22. package/build/stories/forms/input-toggle/index.d.ts +1 -1
  23. package/build/stories/label/index.d.ts +1 -1
  24. package/build/stories/lightbox/parts/body.d.ts +3 -3
  25. package/build/stories/lightbox/parts/footer.d.ts +1 -1
  26. package/build/stories/modals/fullscreen/index.d.ts +4 -4
  27. package/build/stories/modals/index.d.ts +1 -1
  28. package/build/stories/navigation/header/header-item/brandItem.d.ts +1 -1
  29. package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +1 -1
  30. package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +1 -1
  31. package/build/stories/navigation/page-header/index.d.ts +8 -4
  32. package/build/stories/navigation/page-header/styled/main.d.ts +9 -4
  33. package/build/stories/player/parts/container.d.ts +1 -1
  34. package/build/stories/player/parts/controls.d.ts +2 -2
  35. package/build/stories/player/parts/floatingControls.d.ts +1 -1
  36. package/build/stories/player/parts/video.d.ts +1 -1
  37. package/build/stories/profile-modal/menuItem.d.ts +1 -1
  38. package/build/stories/profile-modal/menuItemIcon.d.ts +1 -1
  39. package/build/stories/slider/index.d.ts +2 -0
  40. package/build/stories/slider/parts/container.d.ts +1 -1
  41. package/build/stories/slider/parts/slickSlider.d.ts +1 -1
  42. package/build/stories/special-cards/index.d.ts +12 -5
  43. package/build/stories/special-cards/styled/header.d.ts +10 -3
  44. package/build/stories/special-cards/styled/meta.d.ts +1 -1
  45. package/build/stories/special-cards/styled/thumbnail.d.ts +1 -1
  46. package/build/stories/stepper/index.d.ts +3 -3
  47. package/build/stories/tags/index.d.ts +3 -3
  48. package/build/stories/theme/charts.d.ts +1 -17
  49. package/build/stories/theme/colors.d.ts +5 -10
  50. package/build/stories/theme/components.d.ts +116 -42
  51. package/build/stories/theme/gradients.d.ts +0 -1
  52. package/build/stories/theme/index.d.ts +137 -85
  53. package/build/stories/theme/mixins.d.ts +2 -2
  54. package/build/stories/theme/palette.d.ts +35 -36
  55. package/build/stories/theme/palette.stories.d.ts +19 -5
  56. package/build/stories/theme/utils.d.ts +6 -2
  57. package/build/stories/timeline/index.d.ts +2 -2
  58. package/build/stories/tooltip/index.d.ts +1 -1
  59. package/build/stories/tooltip/index.stories.d.ts +1 -1
  60. package/build/stories/typography/paragraph/index.d.ts +2 -2
  61. package/build/stories/typography/paragraph/index.stories.d.ts +3 -3
  62. package/build/stories/typography/typescale/anchortag/index.stories.d.ts +11 -1
  63. package/build/stories/typography/typescale/index.d.ts +26 -8
  64. package/build/stories/typography/typescale/index.stories.d.ts +11 -1
  65. package/package.json +2 -2
  66. package/yarn-error.log +17994 -0
  67. package/build/stories/buttons/anchor/_types.d.ts +0 -11
  68. package/build/stories/buttons/button-group/_types.d.ts +0 -5
  69. package/build/stories/buttons/utils/useButtonVariant.d.ts +0 -5
  70. package/build/stories/typography/paragraph/_types.d.ts +0 -5
  71. package/build/stories/typography/typescale/_types.d.ts +0 -43
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
- const palette = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.palette), { black: "#000", white: "#fff", product: {
73
- support: "#00a656",
74
- message: "#37b8af",
75
- explore: "#30aabc",
76
- gather: "#f6c8be",
77
- guide: "#ff6224",
78
- connect: "#ff6224",
79
- chat: "#f79a3e",
80
- talk: "#efc93d",
81
- sell: "#c38f00",
82
- }, grey: {
83
- "100": "#F6F6F8",
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": "#F9E2E1",
102
- "200": "#F3C5C4",
103
- "300": "#EA9B99",
104
- "400": "#E2716F",
105
- "500": "#DB4D50",
106
- "600": "#D53032",
107
- "700": "#A92329",
108
- "800": "#771823",
109
- }, yellow: {
110
- "100": "#FEF6E7",
111
- "200": "#FDEDCE",
112
- "300": "#FBE1AC",
113
- "400": "#F9CF7B",
114
- "500": "#F7BF50",
115
- "600": "#F4AC1A",
116
- "700": "#D1820A",
117
- "800": "#A15908",
118
- }, green: {
119
- "100": "#D7F9E5",
120
- "200": "#ABF2C7",
121
- "300": "#7FEBAA",
122
- "400": "#53E48D",
123
- "500": "#27DD70",
124
- "600": "#1CB559",
125
- "700": "#158944",
126
- "800": "#0E5D2E",
127
- }, kale: {
128
- "100": "#f1f9f3",
129
- "200": "#d3ecdb",
130
- "300": "#9fd7b1",
131
- "400": "#70c38a",
132
- "500": "#66b17e",
133
- "600": "#508a62",
134
- "700": "#3e6b4c",
135
- "800": "#2f523a",
136
- }, fuschia: {
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
- }, pink: {
142
- "400": "#ec4d63",
143
- "600": "#d42054",
144
- M400: "#d57287",
145
- M600: "#b23a5d",
146
- }, crimson: {
147
- "400": "#e34f32",
148
- "600": "#c72a1c",
149
- M400: "#cc6c5b",
150
- M600: "#b24a3c",
151
- }, orange: {
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 = reactTheming.getColor(palette.grey, 800, theme, 0.15);
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), { primaryHue: palette.blue[600], warningHue: palette.yellow[600], successHue: palette.teal["M600"], dangerHue: palette.red[600], accentHue: palette.water[600] });
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" });
282
+
283
+ const CARD_COMPONENT_ID = "cards.card";
284
+ const cardCmponentStyle = {
285
+ [CARD_COMPONENT_ID]: {
286
+ border: `1px solid ${palette.grey["200"]};`,
287
+ }
288
+ };
289
+ const UgCard = styled__default["default"](reactNotifications.Well) `
290
+ border-radius: ${({ theme }) => theme.borderRadii.lg};
291
+ padding: ${({ theme }) => theme.space.xxl};
292
+ cursor: pointer;
293
+
294
+ ${({ isFloating, theme }) => !isFloating &&
295
+ `
296
+ &:hover {
297
+ box-shadow: ${theme.shadows.boxShadow(theme)};
298
+ }`}
299
+ ${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
300
+ `;
301
+ /**
302
+ * A Card is a container that groups related content.
303
+ * <hr>
304
+ * Used for this:
305
+ - To group related content
306
+ */
307
+ const Card = (props) => jsxRuntime.jsx(UgCard, Object.assign({}, props));
308
+ const UgContainerCard = styled__default["default"](reactNotifications.Well) `
309
+ border-radius: ${({ theme }) => theme.borderRadii.xl};
310
+ padding: ${({ theme }) => theme.space.xxl};
311
+ cursor: default;
312
+
313
+ @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
314
+ padding: ${({ theme }) => `${theme.space.xl} ${theme.space.md}`};
315
+ }
316
+ ${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
317
+ `;
318
+ const ContainerCard = (props) => jsxRuntime.jsx(UgContainerCard, Object.assign({}, props));
276
319
 
277
320
  var _a, _b, _c, _d, _e, _f, _g$3, _h;
278
- const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.components), { chrome: Object.assign(Object.assign({}, (_a = reactTheming.DEFAULT_THEME.components) === null || _a === void 0 ? void 0 : _a.chrome), { header: Object.assign(Object.assign({}, (_c = (_b = reactTheming.DEFAULT_THEME.components) === null || _b === void 0 ? void 0 : _b.chrome) === null || _c === void 0 ? void 0 : _c.header), { height: "64px" }), nav: Object.assign(Object.assign({}, (_e = (_d = reactTheming.DEFAULT_THEME.components) === null || _d === void 0 ? void 0 : _d.chrome) === null || _e === void 0 ? void 0 : _e.nav), { openWidth: 240, closedWidth: 36, workspaceDropdownWidth: 192 }) }), notification: Object.assign(Object.assign({}, (_f = reactTheming.DEFAULT_THEME.components) === null || _f === void 0 ? void 0 : _f.notification), { card: Object.assign(Object.assign({}, (_h = (_g$3 = reactTheming.DEFAULT_THEME.components) === null || _g$3 === void 0 ? void 0 : _g$3.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }), "notifications.notification": ({ type, isPrimary, }) => {
321
+ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.components), { chrome: Object.assign(Object.assign({}, (_a = reactTheming.DEFAULT_THEME.components) === null || _a === void 0 ? void 0 : _a.chrome), { header: Object.assign(Object.assign({}, (_c = (_b = reactTheming.DEFAULT_THEME.components) === null || _b === void 0 ? void 0 : _b.chrome) === null || _c === void 0 ? void 0 : _c.header), { height: "64px" }), nav: Object.assign(Object.assign({}, (_e = (_d = reactTheming.DEFAULT_THEME.components) === null || _d === void 0 ? void 0 : _d.chrome) === null || _e === void 0 ? void 0 : _e.nav), { openWidth: 240, closedWidth: 36, workspaceDropdownWidth: 192 }) }), notification: Object.assign(Object.assign({}, (_f = reactTheming.DEFAULT_THEME.components) === null || _f === void 0 ? void 0 : _f.notification), { card: Object.assign(Object.assign({}, (_h = (_g$3 = reactTheming.DEFAULT_THEME.components) === null || _g$3 === void 0 ? void 0 : _g$3.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }) }), cardCmponentStyle), { "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: palette.green[700],
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: palette.yellow[700],
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: palette.red[700],
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: palette.blue[700],
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(Object.assign({}, (addable
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
- : {})), { "&:hover": {
373
- backgroundColor: palette.kale[100],
374
- } });
375
- }, "buttons.icon_button": ({ isDanger, isBasic, isPrimary, isHovered, isNeutral, isBright, disabled, }) => {
376
- if (isNeutral || isPrimary || isDanger)
377
- return {};
378
- return Object.assign(Object.assign(Object.assign({}, (isBasic && {
379
- backgroundColor: palette.white,
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),
380
438
  "&:hover": {
381
- backgroundColor: palette.kale[200],
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",
461
+ "&:hover": {
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: palette.kale[100],
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
- border: "none",
401
- "&:hover": {
402
- backgroundColor: palette.grey[500],
403
- color: palette.kale[100],
404
- },
405
- "&:active": {
406
- backgroundColor: palette.grey[600],
407
- color: palette.kale[200],
483
+ "& svg": {
484
+ color: "white",
408
485
  },
409
- };
410
- }
411
- return {};
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
- if (props.themeColor) {
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>
@@ -735,9 +817,10 @@ function _extends$H() { _extends$H = Object.assign ? Object.assign.bind() : func
735
817
  var SvgUgSquare = function SvgUgSquare(props) {
736
818
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
737
819
  xmlns: "http://www.w3.org/2000/svg",
738
- width: 24,
739
- height: 24,
740
- fill: "none"
820
+ width: "1em",
821
+ height: "1em",
822
+ fill: "none",
823
+ viewBox: "0 0 24 24"
741
824
  }, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
742
825
  fill: "#E80C7A",
743
826
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1Z"
@@ -749,9 +832,10 @@ function _extends$G() { _extends$G = Object.assign ? Object.assign.bind() : func
749
832
  var SvgUgCircle = function SvgUgCircle(props) {
750
833
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
751
834
  xmlns: "http://www.w3.org/2000/svg",
752
- width: 24,
753
- height: 24,
754
- fill: "none"
835
+ width: "1em",
836
+ height: "1em",
837
+ fill: "none",
838
+ viewBox: "0 0 24 24"
755
839
  }, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
756
840
  fill: "#FFCD1A",
757
841
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Z"
@@ -763,9 +847,10 @@ function _extends$F() { _extends$F = Object.assign ? Object.assign.bind() : func
763
847
  var SvgUgTriangle = function SvgUgTriangle(props) {
764
848
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
765
849
  xmlns: "http://www.w3.org/2000/svg",
766
- width: 24,
767
- height: 24,
768
- fill: "none"
850
+ width: "1em",
851
+ height: "1em",
852
+ fill: "none",
853
+ viewBox: "0 0 24 24"
769
854
  }, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
770
855
  fill: "#7B0DFF",
771
856
  d: "m12 7.326 6.39 10.23H5.61L12 7.326Zm-.85-2.41-8.2 13.11c-.41.67.07 1.53.85 1.53h16.4a1 1 0 0 0 .85-1.53l-8.2-13.11a1 1 0 0 0-1.7 0Z"
@@ -777,9 +862,10 @@ function _extends$E() { _extends$E = Object.assign ? Object.assign.bind() : func
777
862
  var SvgCampaignCompleted = function SvgCampaignCompleted(props) {
778
863
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
779
864
  xmlns: "http://www.w3.org/2000/svg",
780
- width: 24,
781
- height: 24,
782
- fill: "none"
865
+ width: "1em",
866
+ height: "1em",
867
+ fill: "none",
868
+ viewBox: "0 0 24 24"
783
869
  }, props), _rect$4 || (_rect$4 = /*#__PURE__*/React__namespace.createElement("rect", {
784
870
  width: 24,
785
871
  height: 24,
@@ -802,9 +888,10 @@ function _extends$D() { _extends$D = Object.assign ? Object.assign.bind() : func
802
888
  var SvgCampaignLocked = function SvgCampaignLocked(props) {
803
889
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
804
890
  xmlns: "http://www.w3.org/2000/svg",
805
- width: 24,
806
- height: 24,
807
- fill: "none"
891
+ width: "1em",
892
+ height: "1em",
893
+ fill: "none",
894
+ viewBox: "0 0 24 24"
808
895
  }, props), _rect$3 || (_rect$3 = /*#__PURE__*/React__namespace.createElement("rect", {
809
896
  width: 24,
810
897
  height: 24,
@@ -828,9 +915,10 @@ function _extends$C() { _extends$C = Object.assign ? Object.assign.bind() : func
828
915
  var SvgCampaignIncoming = function SvgCampaignIncoming(props) {
829
916
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
830
917
  xmlns: "http://www.w3.org/2000/svg",
831
- width: 24,
832
- height: 24,
833
- fill: "none"
918
+ width: "1em",
919
+ height: "1em",
920
+ fill: "none",
921
+ viewBox: "0 0 24 24"
834
922
  }, props), _rect$2 || (_rect$2 = /*#__PURE__*/React__namespace.createElement("rect", {
835
923
  width: 24,
836
924
  height: 24,
@@ -856,9 +944,10 @@ function _extends$B() { _extends$B = Object.assign ? Object.assign.bind() : func
856
944
  var SvgCampaignProgress = function SvgCampaignProgress(props) {
857
945
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
858
946
  xmlns: "http://www.w3.org/2000/svg",
859
- width: 24,
860
- height: 24,
861
- fill: "none"
947
+ width: "1em",
948
+ height: "1em",
949
+ fill: "none",
950
+ viewBox: "0 0 24 24"
862
951
  }, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
863
952
  width: 24,
864
953
  height: 24,
@@ -881,9 +970,10 @@ function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : func
881
970
  var SvgCampaignExperiential = function SvgCampaignExperiential(props) {
882
971
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
883
972
  xmlns: "http://www.w3.org/2000/svg",
884
- width: 24,
885
- height: 24,
886
- fill: "none"
973
+ width: "1em",
974
+ height: "1em",
975
+ fill: "none",
976
+ viewBox: "0 0 24 24"
887
977
  }, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
888
978
  fill: "#50BF95",
889
979
  d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z",
@@ -905,9 +995,10 @@ function _extends$z() { _extends$z = Object.assign ? Object.assign.bind() : func
905
995
  var SvgCampaignFunctional = function SvgCampaignFunctional(props) {
906
996
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
907
997
  xmlns: "http://www.w3.org/2000/svg",
908
- width: 24,
909
- height: 24,
910
- fill: "none"
998
+ width: "1em",
999
+ height: "1em",
1000
+ fill: "none",
1001
+ viewBox: "0 0 24 24"
911
1002
  }, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
912
1003
  fill: "#003A57",
913
1004
  d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z",
@@ -988,18 +1079,39 @@ CardThumbnail.defaultProps = {
988
1079
  /**
989
1080
  * Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
990
1081
  */
991
- const SM = (props) => jsxRuntime.jsx(reactTypography.SM, Object.assign({ style: props.isMonospace ? { lineHeight: theme.lineHeights.sm } : {} }, props));
992
- const MD = (props) => jsxRuntime.jsx(reactTypography.MD, Object.assign({ style: props.isMonospace ? { lineHeight: theme.lineHeights.md } : {} }, props));
993
- const LG = (props) => jsxRuntime.jsx(reactTypography.LG, Object.assign({ style: props.isMonospace ? { lineHeight: theme.lineHeights.lg } : {} }, props));
994
- const XL = (props) => jsxRuntime.jsx(reactTypography.XL, Object.assign({}, props));
995
- const XXL = (props) => jsxRuntime.jsx(reactTypography.XXL, Object.assign({}, props));
996
- const XXXL = (props) => jsxRuntime.jsx(reactTypography.XXXL, Object.assign({}, props));
1082
+ const SM = styled__default["default"](reactTypography.SM) `
1083
+ ${p => p.color && `color: ${p.color}`};
1084
+ `;
1085
+ const MD = styled__default["default"](reactTypography.MD) `
1086
+ ${p => p.color && `color: ${p.color}`};
1087
+ `;
1088
+ const LG = styled__default["default"](reactTypography.LG) `
1089
+ ${p => p.color && `color: ${p.color}`};
1090
+ `;
1091
+ const XL = styled__default["default"](reactTypography.XL) `
1092
+ ${p => p.color && `color: ${p.color}`};
1093
+ `;
1094
+ const XXL = styled__default["default"](reactTypography.XXL) `
1095
+ ${p => p.color && `color: ${p.color}`};
1096
+ `;
1097
+ const XXXL = styled__default["default"](reactTypography.XXXL) `
1098
+ color: ${p => p.color || p.theme.palette.blue[600]};
1099
+ `;
1100
+ const TextLabel = styled__default["default"](reactTypography.SM) `
1101
+ color: ${p => p.theme.palette.grey[600]};
1102
+ `;
1103
+ const TextDescription = (_a) => {
1104
+ var { isSmall } = _a, props = __rest(_a, ["isSmall"]);
1105
+ return ({ isSmall }
1106
+ ? jsxRuntime.jsx(SM, Object.assign({ color: theme.palette.grey[700] }, props))
1107
+ : jsxRuntime.jsx(MD, Object.assign({ color: theme.palette.grey[700] }, props)));
1108
+ };
997
1109
 
998
1110
  const Label$2 = styled__default["default"](SM) `
999
1111
  color: ${({ theme }) => theme.palette.grey[500]};
1000
1112
  `;
1001
1113
  const Title$2 = styled__default["default"](LG) `
1002
- color: ${({ theme }) => theme.colors.primaryHue};
1114
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
1003
1115
  font-weight: ${({ theme }) => theme.fontWeights.semibold};
1004
1116
  margin-top: ${({ theme }) => theme.space.xxs};
1005
1117
  `;
@@ -1052,7 +1164,6 @@ const CardFooter = (props) => (jsxRuntime.jsxs(Footer$3, { children: [!props.noD
1052
1164
  const UgContentCard = styled__default["default"](reactNotifications.Well) `
1053
1165
  border-radius: ${({ theme }) => theme.borderRadii.lg};
1054
1166
  padding: ${({ theme }) => `${theme.space.sm} ${theme.space.base * 4}px`};
1055
- border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
1056
1167
  height: 100%;
1057
1168
  display: flex;
1058
1169
  flex-direction: column;
@@ -1069,6 +1180,7 @@ const UgContentCard = styled__default["default"](reactNotifications.Well) `
1069
1180
  pointer-events: none;
1070
1181
  opacity: 0.7;
1071
1182
  `}
1183
+ ${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
1072
1184
  `;
1073
1185
  /**
1074
1186
  * A SpecialCard is a spefic type of card with an opinionated set of default spaces and subcomponents order.
@@ -1144,7 +1256,7 @@ const StyledTagNew = styled__default["default"](Tag) `
1144
1256
  `;
1145
1257
  const ProductCard = (props) => {
1146
1258
  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, themeColor: theme.colors.accentHue, size: "small" }, { children: props.ctaLabel })) }))] })));
1259
+ 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
1260
  };
1149
1261
 
1150
1262
  const ServiceSubtitle = styled__default["default"](SM) `
@@ -1245,27 +1357,27 @@ const DEFAULT_CHARTS_THEME = {
1245
1357
  annotations: {
1246
1358
  text: {
1247
1359
  fontSize: Number(theme.fontSizes.sm),
1248
- fill: theme.colors.primaryHue,
1360
+ fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1249
1361
  outlineWidth: 2,
1250
1362
  outlineColor: theme.palette.white,
1251
1363
  outlineOpacity: 1,
1252
1364
  },
1253
1365
  link: {
1254
- stroke: theme.colors.primaryHue,
1366
+ stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1255
1367
  strokeWidth: 1,
1256
1368
  outlineWidth: 2,
1257
1369
  outlineColor: theme.palette.white,
1258
1370
  outlineOpacity: 1,
1259
1371
  },
1260
1372
  outline: {
1261
- stroke: theme.colors.primaryHue,
1373
+ stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1262
1374
  strokeWidth: 2,
1263
1375
  outlineWidth: 2,
1264
1376
  outlineColor: theme.palette.white,
1265
1377
  outlineOpacity: 1,
1266
1378
  },
1267
1379
  symbol: {
1268
- fill: theme.colors.primaryHue,
1380
+ fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1269
1381
  outlineWidth: 2,
1270
1382
  outlineColor: theme.palette.white,
1271
1383
  outlineOpacity: 1,
@@ -1364,7 +1476,7 @@ const DEFAULT_CHARTS_THEME = {
1364
1476
  tooltip: {
1365
1477
  container: {
1366
1478
  background: theme.palette.white,
1367
- color: theme.colors.primaryHue,
1479
+ color: getColor(theme.colors.primaryHue, 600),
1368
1480
  fontSize: Number(theme.fontSizes.sm),
1369
1481
  },
1370
1482
  basic: {},
@@ -1374,57 +1486,24 @@ const DEFAULT_CHARTS_THEME = {
1374
1486
  tableCellValue: {},
1375
1487
  },
1376
1488
  };
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
1489
  const CHARTS_COLOR_SCHEME_MONO = [
1392
- CHARTS_COLOR_PALETTE.darkPine,
1393
- CHARTS_COLOR_PALETTE.lightGrey,
1490
+ theme.palette.teal[700],
1491
+ theme.palette.grey[200],
1394
1492
  ];
1395
1493
  [
1396
- CHARTS_COLOR_PALETTE.mattone,
1397
- CHARTS_COLOR_PALETTE.gubbioLight,
1398
- CHARTS_COLOR_PALETTE.blueRoyal,
1399
- CHARTS_COLOR_PALETTE.darkPine,
1400
- CHARTS_COLOR_PALETTE.lightGrey,
1401
- ];
1402
- [
1403
- CHARTS_COLOR_PALETTE.greenLight,
1404
- CHARTS_COLOR_PALETTE.blue,
1405
- CHARTS_COLOR_PALETTE.fucsia,
1406
- CHARTS_COLOR_PALETTE.violet,
1407
- CHARTS_COLOR_PALETTE.orchidea, // Orchidea 300
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
1494
+ theme.palette.red[900],
1495
+ theme.palette.yellow[700],
1496
+ theme.palette.azure[900],
1497
+ theme.palette.teal[700],
1498
+ theme.palette.grey[200]
1418
1499
  ];
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
1500
+ const CHARTS_COLOR_SCHEME_CATEGORICAL = [
1501
+ theme.palette.teal[700],
1502
+ theme.palette.pink[900],
1503
+ theme.palette.purple[300],
1504
+ theme.palette.crimson[500],
1505
+ theme.palette.royal[900],
1506
+ theme.palette.lemon[700],
1428
1507
  ];
1429
1508
 
1430
1509
  const ChartContainer = styled__default["default"].div `
@@ -1483,7 +1562,7 @@ const DEFAULT_CHART_MARGINS = { top: 0, right: 0, bottom: 30, left: 30 };
1483
1562
  const BarChart = ({ data, width, height, padding, margin, axisLeftLabel, axisBottomLabel, colors, tooltip, legend, }) => {
1484
1563
  const theme = React.useContext(styled.ThemeContext);
1485
1564
  const keys = [...new Set(data.map(({ keys }) => Object.keys(keys)).flat())];
1486
- const actualColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A;
1565
+ const actualColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
1487
1566
  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
1567
  const { keys } = d, rest = __rest(d, ["keys"]);
1489
1568
  return Object.assign(Object.assign({}, rest), keys);
@@ -1542,7 +1621,7 @@ const CustomBulletChartMarkers = ({ x, y, size, animatedProps: { color, transfor
1542
1621
  return (jsxRuntime.jsx(web.animated.circle, { transform: transform, cx: x, cy: y, fill: color, stroke: color, r: size }));
1543
1622
  };
1544
1623
 
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: CHARTS_COLOR_PALETTE.darkGrey }));
1624
+ 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
1625
 
1547
1626
  const CustomTooltip = ({ v0, v1, color }) => {
1548
1627
  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 +1632,7 @@ const UgBulletChart = styled__default["default"](bullet.ResponsiveBullet) `
1553
1632
  height: 100%;
1554
1633
  `;
1555
1634
  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, { theme: DEFAULT_CHARTS_THEME, data: [
1635
+ 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
1636
  {
1558
1637
  id: "",
1559
1638
  title: "",
@@ -1561,10 +1640,10 @@ const BulletChart = ({ width, height, ranges, values }) => {
1561
1640
  measures: values,
1562
1641
  markers: values,
1563
1642
  },
1564
- ], animate: false, measureComponent: CustomMeasure, markerColors: CHARTS_COLOR_PALETTE.darkPine, markerComponent: (_a) => {
1643
+ ], animate: false, measureComponent: CustomMeasure, markerColors: theme.palette.teal[700], markerComponent: (_a) => {
1565
1644
  var markerProps = __rest(_a, ["size"]);
1566
1645
  return (jsxRuntime.jsx(CustomBulletChartMarkers, Object.assign({}, markerProps, { size: 4 })));
1567
- }, tooltip: CustomTooltip, rangeColors: CHARTS_COLOR_PALETTE.lightGrey, rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 5, bottom: -1, left: 0 } }) })) })));
1646
+ }, tooltip: CustomTooltip, rangeColors: theme.palette.grey[200], rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 5, bottom: -1, left: 0 } }) })) })));
1568
1647
  };
1569
1648
 
1570
1649
  const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeMultiplier, }) => {
@@ -1585,7 +1664,7 @@ const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeM
1585
1664
  const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tooltip, legend, arcLinkLabelsSkipAngle, labelFormatter, }) => {
1586
1665
  var _a;
1587
1666
  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 : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, enableArcLabels: false, arcLinkLabelsColor: { from: "color" }, arcLinkLabelsSkipAngle: arcLinkLabelsSkipAngle !== null && arcLinkLabelsSkipAngle !== void 0 ? arcLinkLabelsSkipAngle : 10, arcLinkLabelsThickness: 2, arcLinkLabel: (d) => labelFormatter
1667
+ 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
1668
  ? labelFormatter({
1590
1669
  label: d.label,
1591
1670
  id: d.id,
@@ -1609,7 +1688,7 @@ const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tool
1609
1688
  (props) => (jsxRuntime.jsx(CenteredItem, Object.assign({}, props, { theme: themeContext, label: centerItem.label, value: centerItem.value, fontSizeMultiplier: centerItem.fontSizeMultiplier }))),
1610
1689
  ]
1611
1690
  : []),
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 : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, data: data.map((d) => labelFormatter
1691
+ ], 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
1692
  ? labelFormatter({
1614
1693
  label: d.label,
1615
1694
  id: d.id,
@@ -1631,7 +1710,7 @@ const AbsoluteChartContainer = styled__default["default"](ChartContainer) `
1631
1710
  `;
1632
1711
  const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }) => {
1633
1712
  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 : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, enableArcLabels: false, arcLinkLabelsColor: { from: "color" }, padAngle: 2, data: data, margin: margin, innerRadius: mode === "front" ? 0.835 : 0.8, arcLinkLabelsThickness: 2, arcLinkLabelsTextColor: themeContext.palette.grey[600], layers: [
1713
+ 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
1714
  "arcs",
1636
1715
  ...(showArcLinks
1637
1716
  ? ["arcLabels", "arcLinkLabels"]
@@ -1641,7 +1720,7 @@ const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMo
1641
1720
 
1642
1721
  const HalfPieChart = ({ theme, colors, width, height, data, margin, showArcLinks, }) => {
1643
1722
  const themeContext = React.useContext(styled.ThemeContext);
1644
- const activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A;
1723
+ const activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
1645
1724
  while (activeColors.length < data.length) {
1646
1725
  activeColors.push(...activeColors);
1647
1726
  }
@@ -1718,7 +1797,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
1718
1797
  padding: 0,
1719
1798
  } }) }) : DEFAULT_CHARTS_THEME, colors: currentColor
1720
1799
  ? () => currentColor
1721
- : colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, borderWidth: 4, cornerRadius: 4, onMouseEnter: (node) => {
1800
+ : colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, borderWidth: 4, cornerRadius: 4, onMouseEnter: (node) => {
1722
1801
  if (node.data.children) {
1723
1802
  setIsHovering(true);
1724
1803
  }
@@ -1748,7 +1827,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
1748
1827
  } })),
1749
1828
  ]
1750
1829
  : []),
1751
- ], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.5]] }, onClick: (clickedData) => {
1830
+ ], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.6]] }, onClick: (clickedData) => {
1752
1831
  const foundObject = findChildrenByName(currentData, clickedData.id.toString());
1753
1832
  if (foundObject && foundObject.children) {
1754
1833
  changeDataSlice({
@@ -1756,7 +1835,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
1756
1835
  color: clickedData.color,
1757
1836
  });
1758
1837
  }
1759
- } }) })), 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_8_A, data: data.children.map((d) => d.label || d.name) }, (typeof legend === "object" && legend)))) : undefined }))] }));
1838
+ } }) })), 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
1839
  };
1761
1840
 
1762
1841
  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 +2044,11 @@ Dropdown.Separator = Separator;
1965
2044
  const StyledAutocomplete = styled__default["default"](Autocomplete) `
1966
2045
  ${(props) => props.hasSelectedItems &&
1967
2046
  `
1968
- border-color: ${props.theme.colors.primaryHue};
1969
- background-color: ${props.theme.colors.primaryHue};
2047
+ border-color: ${getColor(theme.colors.primaryHue, 600)};
2048
+ background-color: ${getColor(theme.colors.primaryHue, 600)};
1970
2049
  color: white;
1971
2050
  & > input, & > svg {
1972
- color: white;
2051
+ color: ${props.theme.palette.white};
1973
2052
  }
1974
2053
  `}
1975
2054
  `;
@@ -2265,8 +2344,9 @@ function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : func
2265
2344
  var SvgBoldFill = function SvgBoldFill(props) {
2266
2345
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
2267
2346
  xmlns: "http://www.w3.org/2000/svg",
2268
- width: 16,
2269
- height: 16
2347
+ width: "1em",
2348
+ height: "1em",
2349
+ viewBox: "0 0 16 16"
2270
2350
  }, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
2271
2351
  fill: "currentColor",
2272
2352
  d: "M7.5 0C9.952 0 12 2.048 12 4.5a4.483 4.483 0 0 1-1.27 3.108C12.078 8.39 13 9.855 13 11.5c0 2.452-2.048 4.5-4.5 4.5H4a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h3.5zM5 14h3.5c1.348 0 2.5-1.152 2.5-2.5S9.848 9 8.5 9H5v5zM7.5 2H5v5h2.5C8.848 7 10 5.848 10 4.5S8.848 2 7.5 2z"
@@ -2278,8 +2358,9 @@ function _extends$x() { _extends$x = Object.assign ? Object.assign.bind() : func
2278
2358
  var SvgItalicFill = function SvgItalicFill(props) {
2279
2359
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
2280
2360
  xmlns: "http://www.w3.org/2000/svg",
2281
- width: 16,
2282
- height: 16
2361
+ width: "1em",
2362
+ height: "1em",
2363
+ viewBox: "0 0 16 16"
2283
2364
  }, props), _path$t || (_path$t = /*#__PURE__*/React__namespace.createElement("path", {
2284
2365
  fill: "none",
2285
2366
  stroke: "currentColor",
@@ -2294,8 +2375,9 @@ function _extends$w() { _extends$w = Object.assign ? Object.assign.bind() : func
2294
2375
  var SvgQuoteFill = function SvgQuoteFill(props) {
2295
2376
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
2296
2377
  xmlns: "http://www.w3.org/2000/svg",
2297
- width: 16,
2298
- height: 16
2378
+ width: "1em",
2379
+ height: "1em",
2380
+ viewBox: "0 0 16 16"
2299
2381
  }, props), _path$s || (_path$s = /*#__PURE__*/React__namespace.createElement("path", {
2300
2382
  fill: "currentColor",
2301
2383
  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"
@@ -2313,8 +2395,9 @@ function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : func
2313
2395
  var SvgH1Fill = function SvgH1Fill(props) {
2314
2396
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
2315
2397
  xmlns: "http://www.w3.org/2000/svg",
2316
- width: 16,
2317
- height: 16
2398
+ width: "1em",
2399
+ height: "1em",
2400
+ viewBox: "0 0 16 16"
2318
2401
  }, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
2319
2402
  fill: "none",
2320
2403
  d: "M0 0h16v16H0z"
@@ -2335,8 +2418,9 @@ function _extends$u() { _extends$u = Object.assign ? Object.assign.bind() : func
2335
2418
  var SvgH2Fill = function SvgH2Fill(props) {
2336
2419
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$u({
2337
2420
  xmlns: "http://www.w3.org/2000/svg",
2338
- width: 16,
2339
- height: 16
2421
+ width: "1em",
2422
+ height: "1em",
2423
+ viewBox: "0 0 16 16"
2340
2424
  }, props), _path$q || (_path$q = /*#__PURE__*/React__namespace.createElement("path", {
2341
2425
  fill: "none",
2342
2426
  d: "M0 0h16v16H0z"
@@ -2357,8 +2441,9 @@ function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : func
2357
2441
  var SvgH3Fill = function SvgH3Fill(props) {
2358
2442
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
2359
2443
  xmlns: "http://www.w3.org/2000/svg",
2360
- width: 16,
2361
- height: 16
2444
+ width: "1em",
2445
+ height: "1em",
2446
+ viewBox: "0 0 16 16"
2362
2447
  }, props), _path$p || (_path$p = /*#__PURE__*/React__namespace.createElement("path", {
2363
2448
  fill: "none",
2364
2449
  d: "M0 0h16v16H0z"
@@ -2409,20 +2494,10 @@ const Header$1 = styled__default["default"].div `
2409
2494
  border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
2410
2495
  `;
2411
2496
  const Title$1 = styled__default["default"](MD) `
2412
- ${({ validation, theme }) => {
2413
- if (validation === "success") {
2414
- return `color: ${theme.colors.successHue};`;
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
- }}
2497
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
2498
+ ${props => props.validation === "success" && reactTheming.retrieveComponentStyles("text.success", props)}
2499
+ ${props => props.validation === "warning" && reactTheming.retrieveComponentStyles("text.warning", props)}
2500
+ ${props => props.validation === "error" && reactTheming.retrieveComponentStyles("text.danger", props)}
2426
2501
  `;
2427
2502
  const EditorHeader = (props) => {
2428
2503
  const { title, validation } = props;
@@ -2442,29 +2517,8 @@ const EditorFooter = ({ saveText }) => {
2442
2517
  return jsxRuntime.jsxs(Footer$2, { children: [jsxRuntime.jsxs(Tag, { children: [isMac() ? "Cmd" : "Ctrl", "+enter"] }), "\u00A0", jsxRuntime.jsx(Text, { children: saveText || "to save" })] });
2443
2518
  };
2444
2519
 
2445
- const EditorContainer = styled__default["default"].div `
2446
- border: 2px solid;
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
-
2520
+ const EditorContainer = styled__default["default"](reactForms.FauxInput) `
2521
+
2468
2522
  ${({ editable }) => !editable &&
2469
2523
  `
2470
2524
  border: none;
@@ -2562,7 +2616,7 @@ const CheckboxCard = (props) => {
2562
2616
  setChecked(!checked);
2563
2617
  props.onToggle && props.onToggle(!checked);
2564
2618
  };
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 })) })) }))] })));
2619
+ 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
2620
  };
2567
2621
 
2568
2622
  const UgField = styled__default["default"](reactForms.Field) ``;
@@ -2593,8 +2647,9 @@ function _extends$s() { _extends$s = Object.assign ? Object.assign.bind() : func
2593
2647
  var SvgNotesStroke = function SvgNotesStroke(props) {
2594
2648
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$s({
2595
2649
  xmlns: "http://www.w3.org/2000/svg",
2596
- width: 16,
2597
- height: 16
2650
+ width: "1em",
2651
+ height: "1em",
2652
+ viewBox: "0 0 16 16"
2598
2653
  }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
2599
2654
  fill: "none",
2600
2655
  stroke: "currentColor"
@@ -2639,6 +2694,7 @@ const Wrapper$1 = styled__default["default"].div `
2639
2694
 
2640
2695
  svg {
2641
2696
  margin-left: ${({ theme }) => theme.space.xs};
2697
+ flex-shrink: 0;
2642
2698
  }
2643
2699
  }
2644
2700
  `;
@@ -2680,7 +2736,7 @@ const InputItem = (props) => {
2680
2736
  input.focus();
2681
2737
  }
2682
2738
  }, [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, { width: 50 })] })));
2739
+ 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
2740
  };
2685
2741
  InputToggle.Item = InputItem;
2686
2742
  InputToggle.Label = StyledLabel;
@@ -2713,9 +2769,10 @@ function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : func
2713
2769
  var SvgCheckLg = function SvgCheckLg(props) {
2714
2770
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
2715
2771
  xmlns: "http://www.w3.org/2000/svg",
2716
- width: 16,
2717
- height: 16,
2718
- fill: "#68737D"
2772
+ width: "1em",
2773
+ height: "1em",
2774
+ fill: "#68737D",
2775
+ viewBox: "0 0 16 16"
2719
2776
  }, props), _path$o || (_path$o = /*#__PURE__*/React__namespace.createElement("path", {
2720
2777
  fillRule: "evenodd",
2721
2778
  d: "M14.646 2.646a.5.5 0 0 1 .708.708l-10 10a.5.5 0 0 1-.708 0l-4-4a.5.5 0 1 1 .708-.708L5 12.293l9.646-9.647Z",
@@ -2738,7 +2795,7 @@ const Circle = styled__default["default"].div `
2738
2795
  height: ${({ theme }) => theme.space.base * 6}px;
2739
2796
  padding: ${({ theme }) => theme.space.base * 1.25}px;
2740
2797
  border-radius: 50%;
2741
- background-color: ${({ theme }) => theme.colors.primaryHue};
2798
+ background-color: ${({ theme }) => theme.palette.blue[600]};
2742
2799
  display: flex;
2743
2800
  flex-direction: column;
2744
2801
  justify-content: center;
@@ -2755,7 +2812,7 @@ const RadioCard = (_a) => {
2755
2812
  var { card, icon, iconActive } = _a, props = __rest(_a, ["card", "icon", "iconActive"]);
2756
2813
  return (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: props.label }, card, props, { className: props.checked ? "card-active" : "", onClick: () => {
2757
2814
  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 })) }))] })));
2815
+ } }, { 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
2816
  };
2760
2817
 
2761
2818
  const UgTextarea = styled__default["default"](reactForms.Textarea) ``;
@@ -2914,8 +2971,9 @@ function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : func
2914
2971
  var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
2915
2972
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
2916
2973
  xmlns: "http://www.w3.org/2000/svg",
2917
- width: 16,
2918
- height: 16
2974
+ width: "1em",
2975
+ height: "1em",
2976
+ viewBox: "0 0 16 16"
2919
2977
  }, props), _path$n || (_path$n = /*#__PURE__*/React__namespace.createElement("path", {
2920
2978
  fill: "currentColor",
2921
2979
  d: "M12.688 5.61a.5.5 0 0 1 .69.718l-.066.062-5 4a.5.5 0 0 1-.542.054l-.082-.054-5-4a.5.5 0 0 1 .55-.83l.074.05L8 9.359l4.688-3.75z"
@@ -2969,8 +3027,9 @@ function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : func
2969
3027
  var SvgMenuStroke = function SvgMenuStroke(props) {
2970
3028
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
2971
3029
  xmlns: "http://www.w3.org/2000/svg",
2972
- width: 16,
2973
- height: 16
3030
+ width: "1em",
3031
+ height: "1em",
3032
+ viewBox: "0 0 16 16"
2974
3033
  }, props), _path$m || (_path$m = /*#__PURE__*/React__namespace.createElement("path", {
2975
3034
  fill: "none",
2976
3035
  stroke: "currentColor",
@@ -2992,7 +3051,7 @@ const WorkspacesDropdown = (props) => {
2992
3051
  props.onWorkspaceChange && props.onWorkspaceChange(workspace);
2993
3052
  }, downshiftProps: {
2994
3053
  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
3054
+ } }, { 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
3055
  ? selectedWorkspace.company + "'s workspace"
2997
3056
  : "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
3057
  };
@@ -3012,30 +3071,30 @@ const LogoIconContainer = styled__default["default"](reactChrome.HeaderItem) `
3012
3071
  const BrandName = styled__default["default"](reactChrome.HeaderItem) `
3013
3072
  margin-right: auto;
3014
3073
  margin-left: -8px;
3015
- color: ${({ theme }) => theme.colors.primaryHue};
3016
3074
  pointer-events: none;
3017
3075
  font-family: ${({ theme }) => theme.fonts.system};
3018
3076
  @media (max-width: ${({ theme }) => theme.breakpoints.md}) {
3019
3077
  display: none;
3020
3078
  }
3079
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3021
3080
  `;
3022
3081
  const DropdownItem = styled__default["default"](reactChrome.HeaderItem) `
3023
3082
  margin-right: auto;
3024
3083
  margin-left: -8px;
3025
- color: ${({ theme }) => theme.colors.primaryHue};
3026
3084
  font-family: ${({ theme }) => theme.fonts.system};
3027
3085
  z-index: 2;
3028
3086
  @media (max-width: ${({ theme }) => theme.breakpoints.md}) {
3029
3087
  display: none;
3030
3088
  }
3089
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3031
3090
  `;
3032
3091
  const MenuItem$1 = styled__default["default"](reactChrome.HeaderItem) `
3033
- color: ${({ theme }) => theme.colors.primaryHue};
3034
3092
  position: absolute;
3035
3093
  left: 0;
3036
3094
  @media (min-width: ${({ theme }) => theme.breakpoints.md}) {
3037
3095
  display: none;
3038
3096
  }
3097
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3039
3098
  `;
3040
3099
  const BrandItem = (props) => {
3041
3100
  const { menuLabel, toggleMenu } = props, rest = __rest(props, ["menuLabel", "toggleMenu"]);
@@ -3081,7 +3140,7 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
3081
3140
 
3082
3141
  @media (min-width: ${p => p.theme.breakpoints.md}) {
3083
3142
  border-right: ${({ theme }) => theme.borders.sm};
3084
- border-color: ${({ theme }) => reactTheming.getColor(theme.colors.neutralHue, 300)};
3143
+ border-color: ${({ theme }) => getColor(theme.colors.neutralHue, 300)};
3085
3144
  width: ${p => p.theme.components.chrome.nav.openWidth}px;
3086
3145
  margin-left: ${p => p.isExpanded
3087
3146
  ? 0
@@ -3098,30 +3157,11 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
3098
3157
  */
3099
3158
  const Nav = (props) => jsxRuntime.jsx(UgNav, Object.assign({}, props));
3100
3159
 
3101
- const SelectedItemStyle = styled.css `
3102
- background-color: ${({ theme }) => theme.palette.kale["100"]};
3103
- `;
3104
3160
  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
3161
  ${sidebarNavItemExpanded}
3109
3162
  ${(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
3163
  margin: ${({ theme }) => theme.space.xs} 0;
3164
+ ${(props) => reactTheming.retrieveComponentStyles("navigation.hoverableItem", props)};
3125
3165
  `;
3126
3166
  const NavItem = React.forwardRef((props, ref) => jsxRuntime.jsx(UgNavItem$2, Object.assign({ ref: ref }, props)));
3127
3167
 
@@ -3135,8 +3175,9 @@ function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : func
3135
3175
  var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
3136
3176
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
3137
3177
  xmlns: "http://www.w3.org/2000/svg",
3138
- width: 16,
3139
- height: 16
3178
+ width: "1em",
3179
+ height: "1em",
3180
+ viewBox: "0 0 16 16"
3140
3181
  }, props), _path$l || (_path$l = /*#__PURE__*/React__namespace.createElement("path", {
3141
3182
  fill: "currentColor",
3142
3183
  d: "M5.61 3.312a.5.5 0 0 1 .718-.69l.062.066 4 5a.5.5 0 0 1 .054.542l-.054.082-4 5a.5.5 0 0 1-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
@@ -3148,8 +3189,9 @@ function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : func
3148
3189
  var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
3149
3190
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
3150
3191
  xmlns: "http://www.w3.org/2000/svg",
3151
- width: 16,
3152
- height: 16
3192
+ width: "1em",
3193
+ height: "1em",
3194
+ viewBox: "0 0 16 16"
3153
3195
  }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
3154
3196
  fill: "currentColor",
3155
3197
  d: "M10.39 12.688a.5.5 0 0 1-.718.69l-.062-.066-4-5a.5.5 0 0 1-.054-.542l.054-.082 4-5a.5.5 0 0 1 .83.55l-.05.074L6.641 8l3.75 4.688z"
@@ -3171,7 +3213,7 @@ const StyledToggle = styled__default["default"](IconButton) `
3171
3213
  }
3172
3214
  `;
3173
3215
  const NavToggle = (props) => {
3174
- return (jsxRuntime.jsx(StyledToggle, Object.assign({}, props, { className: "toggle-navigation", isPrimary: true, size: "small" }, { children: props.isExpanded ? (jsxRuntime.jsx(SvgChevronLeftStroke, { style: { width: "100%" } })) : (jsxRuntime.jsx(SvgChevronRightStroke, { style: { width: "100%" } })) })));
3216
+ return (jsxRuntime.jsx(StyledToggle, Object.assign({}, props, { className: "toggle-navigation", isPrimary: true, size: "small" }, { children: props.isExpanded ? (jsxRuntime.jsx(SvgChevronLeftStroke, {})) : (jsxRuntime.jsx(SvgChevronRightStroke, {})) })));
3175
3217
  };
3176
3218
 
3177
3219
  const UgNavItem$1 = styled__default["default"](reactChrome.NavItem) `
@@ -3224,8 +3266,9 @@ function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : func
3224
3266
  var SvgHomeFill = function SvgHomeFill(props) {
3225
3267
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3226
3268
  xmlns: "http://www.w3.org/2000/svg",
3227
- width: 26,
3228
- height: 26
3269
+ width: "1em",
3270
+ height: "1em",
3271
+ viewBox: "0 0 26 26"
3229
3272
  }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3230
3273
  fill: "currentColor",
3231
3274
  d: "m23.885 13.2-1.328 1.639a.522.522 0 0 1-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 0 0-.716-1.732 2.448 2.448 0 0 0-1.74-.714 2.45 2.45 0 0 0-1.739.714 2.43 2.43 0 0 0-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 0 1-.737-.084L2.115 13.2a.52.52 0 0 1 .084-.735l10.474-8.348a.51.51 0 0 1 .654 0L23.8 12.466a.52.52 0 0 1 .084.735"
@@ -3237,8 +3280,9 @@ function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : func
3237
3280
  var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3238
3281
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3239
3282
  xmlns: "http://www.w3.org/2000/svg",
3240
- width: 26,
3241
- height: 26
3283
+ width: "1em",
3284
+ height: "1em",
3285
+ viewBox: "0 0 26 26"
3242
3286
  }, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
3243
3287
  id: "home-fill-styled_svg__a"
3244
3288
  }, /*#__PURE__*/React__namespace.createElement("stop", {
@@ -3259,7 +3303,9 @@ var SvgToken = function SvgToken(props) {
3259
3303
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
3260
3304
  xmlns: "http://www.w3.org/2000/svg",
3261
3305
  fill: "none",
3262
- viewBox: "0 0 32 32"
3306
+ viewBox: "0 0 32 32",
3307
+ width: "1em",
3308
+ height: "1em"
3263
3309
  }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
3264
3310
  clipPath: "url(#token_svg__a)"
3265
3311
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -3296,8 +3342,9 @@ function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : func
3296
3342
  var SvgFolderIcon = function SvgFolderIcon(props) {
3297
3343
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3298
3344
  xmlns: "http://www.w3.org/2000/svg",
3299
- width: 12,
3300
- height: 12
3345
+ width: "1em",
3346
+ height: "1em",
3347
+ viewBox: "0 0 12 12"
3301
3348
  }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3302
3349
  fill: "currentColor",
3303
3350
  fillRule: "evenodd",
@@ -3311,9 +3358,10 @@ function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : func
3311
3358
  var SvgTemplates = function SvgTemplates(props) {
3312
3359
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
3313
3360
  xmlns: "http://www.w3.org/2000/svg",
3314
- width: 26,
3315
- height: 26,
3316
- fill: "none"
3361
+ width: "1em",
3362
+ height: "1em",
3363
+ fill: "none",
3364
+ viewBox: "0 0 26 26"
3317
3365
  }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
3318
3366
  fill: "url(#templates_svg__a)",
3319
3367
  fillRule: "evenodd",
@@ -3339,9 +3387,10 @@ function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : func
3339
3387
  var SvgTemplatesActive = function SvgTemplatesActive(props) {
3340
3388
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
3341
3389
  xmlns: "http://www.w3.org/2000/svg",
3342
- width: 26,
3343
- height: 26,
3344
- fill: "none"
3390
+ width: "1em",
3391
+ height: "1em",
3392
+ fill: "none",
3393
+ viewBox: "0 0 26 26"
3345
3394
  }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
3346
3395
  fill: "url(#templates-active_svg__a)",
3347
3396
  fillRule: "evenodd",
@@ -3390,10 +3439,6 @@ const AccordionItemHeader = styled__default["default"](Accordion.Header) `
3390
3439
  svg {
3391
3440
  width: 26px;
3392
3441
  }
3393
-
3394
- &:hover {
3395
- background-color: ${(props) => props.theme.palette.kale["200"]};
3396
- }
3397
3442
  `;
3398
3443
  const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
3399
3444
  max-height: 180px;
@@ -3408,10 +3453,10 @@ const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
3408
3453
  const AccordionItemLabel = styled__default["default"](Accordion.Label) `
3409
3454
  padding: 12px 9px;
3410
3455
  ${({ theme }) => `
3411
- color: ${theme.colors.primaryHue};
3412
- fill: ${theme.colors.primaryHue};
3456
+ fill: ${getColor(theme.colors.primaryHue, 600)};
3413
3457
  font-weight: ${theme.fontWeights.medium};
3414
3458
  `}
3459
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3415
3460
  `;
3416
3461
  AccordionItem.Panel = AccordionItemPanel;
3417
3462
  AccordionItem.Header = AccordionItemHeader;
@@ -3582,7 +3627,7 @@ const LoginForm = (props) => {
3582
3627
  ? true
3583
3628
  : isSubmitting
3584
3629
  ? true
3585
- : false, isPrimary: true, isPill: true, themeColor: theme.colors.accentHue, 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 })) })))] })));
3630
+ : 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
3631
  } }))] })), 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
3632
  };
3588
3633
 
@@ -3591,9 +3636,10 @@ function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : func
3591
3636
  var SvgPlus = function SvgPlus(props) {
3592
3637
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
3593
3638
  xmlns: "http://www.w3.org/2000/svg",
3594
- width: 16,
3595
- height: 16,
3596
- fill: "none"
3639
+ width: "1em",
3640
+ height: "1em",
3641
+ fill: "none",
3642
+ viewBox: "0 0 16 16"
3597
3643
  }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
3598
3644
  fill: "#68737D",
3599
3645
  fillRule: "evenodd",
@@ -3794,12 +3840,12 @@ const MainOverline = styled__default["default"](MD) `
3794
3840
  margin-bottom: ${({ theme }) => theme.space.md};
3795
3841
  `;
3796
3842
  const MainTitle = styled__default["default"].h1 `
3797
- color: ${({ theme }) => theme.colors.primaryHue};
3798
3843
  font-size: ${({ theme }) => theme.fontSizes.xxxl};
3799
3844
  font-weight: ${({ theme }) => theme.fontWeights.semibold};
3800
3845
  line-height: ${({ theme }) => theme.lineHeights.xxxl};
3801
3846
  width: 100%;
3802
3847
  margin-bottom: ${({ theme }) => theme.space.sm};
3848
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3803
3849
  `;
3804
3850
  const MainDescription = styled__default["default"](LG) `
3805
3851
  color: ${({ theme }) => theme.palette.grey[600]};
@@ -3903,8 +3949,9 @@ function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : func
3903
3949
  var SvgPlayFill = function SvgPlayFill(props) {
3904
3950
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
3905
3951
  xmlns: "http://www.w3.org/2000/svg",
3906
- width: 16,
3907
- height: 16
3952
+ width: "1em",
3953
+ height: "1em",
3954
+ viewBox: "0 0 16 16"
3908
3955
  }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
3909
3956
  fill: "currentColor",
3910
3957
  d: "M6 15.79c-.13 0-.26-.03-.38-.08a.977.977 0 0 1-.62-.92V1.21a1 1 0 0 1 .62-.93C6 .12 6.42.21 6.71.5l6.44 6.44c.58.58.58 1.54 0 2.12L6.71 15.5c-.19.19-.45.29-.71.29z"
@@ -3916,8 +3963,9 @@ function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : func
3916
3963
  var SvgPauseFill = function SvgPauseFill(props) {
3917
3964
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
3918
3965
  xmlns: "http://www.w3.org/2000/svg",
3919
- width: 16,
3920
- height: 16
3966
+ width: "1em",
3967
+ height: "1em",
3968
+ viewBox: "0 0 16 16"
3921
3969
  }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
3922
3970
  fill: "currentColor"
3923
3971
  }, /*#__PURE__*/React__namespace.createElement("rect", {
@@ -3942,9 +3990,10 @@ function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : func
3942
3990
  var SvgForwardSecondsFill = function SvgForwardSecondsFill(props) {
3943
3991
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
3944
3992
  xmlns: "http://www.w3.org/2000/svg",
3945
- width: 16,
3946
- height: 16,
3947
- fill: "none"
3993
+ width: "1em",
3994
+ height: "1em",
3995
+ fill: "none",
3996
+ viewBox: "0 0 16 16"
3948
3997
  }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
3949
3998
  fill: "currentColor",
3950
3999
  fillRule: "evenodd",
@@ -3961,9 +4010,10 @@ function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : func
3961
4010
  var SvgBackSecondsFill = function SvgBackSecondsFill(props) {
3962
4011
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
3963
4012
  xmlns: "http://www.w3.org/2000/svg",
3964
- width: 16,
3965
- height: 16,
3966
- fill: "none"
4013
+ width: "1em",
4014
+ height: "1em",
4015
+ fill: "none",
4016
+ viewBox: "0 0 16 16"
3967
4017
  }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
3968
4018
  fill: "currentColor",
3969
4019
  fillRule: "evenodd",
@@ -3980,8 +4030,8 @@ function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : func
3980
4030
  var SvgPreviousFill = function SvgPreviousFill(props) {
3981
4031
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
3982
4032
  xmlns: "http://www.w3.org/2000/svg",
3983
- width: 16,
3984
- height: 16,
4033
+ width: "1em",
4034
+ height: "1em",
3985
4035
  viewBox: "0 0 24 24"
3986
4036
  }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
3987
4037
  fill: "currentColor",
@@ -4058,7 +4108,7 @@ const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4058
4108
  } }, { 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
4109
  onForward();
4060
4110
  e.stopPropagation();
4061
- } }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(Button, Object.assign({ isBright: true, isPill: true, onClick: (e) => {
4111
+ } }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, isPill: true, onClick: (e) => {
4062
4112
  const newSpeed = getNextPlaybackRate(playBackRate);
4063
4113
  if (videoRef === null || videoRef === void 0 ? void 0 : videoRef.playbackRate) {
4064
4114
  setPlayBackRate(newSpeed);
@@ -4086,8 +4136,9 @@ function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : func
4086
4136
  var SvgVolumeMutedFill = function SvgVolumeMutedFill(props) {
4087
4137
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
4088
4138
  xmlns: "http://www.w3.org/2000/svg",
4089
- width: 16,
4090
- height: 16
4139
+ width: "1em",
4140
+ height: "1em",
4141
+ viewBox: "0 0 16 16"
4091
4142
  }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
4092
4143
  stroke: "currentColor",
4093
4144
  strokeLinecap: "round",
@@ -4103,8 +4154,9 @@ function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : func
4103
4154
  var SvgVolumeUnmutedFill = function SvgVolumeUnmutedFill(props) {
4104
4155
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
4105
4156
  xmlns: "http://www.w3.org/2000/svg",
4106
- width: 16,
4107
- height: 16
4157
+ width: "1em",
4158
+ height: "1em",
4159
+ viewBox: "0 0 16 16"
4108
4160
  }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
4109
4161
  fill: "currentColor",
4110
4162
  d: "M9 15.29c-.26 0-.51-.1-.71-.29l-4-4H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h3.29l4-4a1.002 1.002 0 0 1 1.71.71V14.3a.986.986 0 0 1-1 .99z"
@@ -4162,8 +4214,9 @@ function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : func
4162
4214
  var SvgMaximizeFill = function SvgMaximizeFill(props) {
4163
4215
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
4164
4216
  xmlns: "http://www.w3.org/2000/svg",
4165
- width: 16,
4166
- height: 16
4217
+ width: "1em",
4218
+ height: "1em",
4219
+ viewBox: "0 0 16 16"
4167
4220
  }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
4168
4221
  fill: "currentColor",
4169
4222
  d: "M16 4.29V1c0-.55-.45-1-1-1h-3.29c-.45 0-.67.54-.35.85l3.79 3.79c.31.32.85.1.85-.35zM0 11.71V15c0 .55.45 1 1 1h3.29c.45 0 .67-.54.35-.85L.85 11.36a.495.495 0 0 0-.85.35zm0-7.42V1c0-.55.45-1 1-1h3.29c.45 0 .67.54.35.85L.85 4.65A.5.5 0 0 1 0 4.29zm16 7.42V15c0 .55-.45 1-1 1h-3.29c-.45 0-.67-.54-.35-.85l3.79-3.79c.31-.32.85-.1.85.35z"
@@ -4222,7 +4275,7 @@ const ControlsWrapper = styled__default["default"].div `
4222
4275
  const StyledProgress = styled__default["default"](Progress) `
4223
4276
  width: 100%;
4224
4277
  border-radius: 0;
4225
- color: ${({ theme }) => theme.palette.kale[400]};
4278
+ color: ${({ theme }) => theme.palette.kale[700]};
4226
4279
  cursor: pointer;
4227
4280
  > div {
4228
4281
  border-radius: 0;
@@ -4439,8 +4492,9 @@ function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : func
4439
4492
  var SvgExit = function SvgExit(props) {
4440
4493
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
4441
4494
  xmlns: "http://www.w3.org/2000/svg",
4442
- width: 16,
4443
- height: 16
4495
+ width: "1em",
4496
+ height: "1em",
4497
+ viewBox: "0 0 16 16"
4444
4498
  }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
4445
4499
  fill: "currentColor",
4446
4500
  d: "M3 15.93c-.23 0-.45-.08-.64-.23l-2-1.67a.987.987 0 0 1-.36-.76V2.73c0-.3.13-.58.36-.77l2-1.67c.3-.24.71-.29 1.06-.13a1 1 0 0 1 .58.91v13.87a1 1 0 0 1-.58.91c-.13.05-.28.08-.42.08zM12 11V5c0-.45.54-.67.85-.35L15.5 7.3c.39.39.39 1.02 0 1.41l-2.65 2.65A.5.5 0 0 1 12 11z"
@@ -4457,9 +4511,10 @@ function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : func
4457
4511
  var SvgThumbsUp = function SvgThumbsUp(props) {
4458
4512
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
4459
4513
  xmlns: "http://www.w3.org/2000/svg",
4460
- width: 16,
4461
- height: 16,
4462
- fill: "none"
4514
+ width: "1em",
4515
+ height: "1em",
4516
+ fill: "none",
4517
+ viewBox: "0 0 16 16"
4463
4518
  }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
4464
4519
  fill: "#68737D",
4465
4520
  fillRule: "evenodd",
@@ -4473,8 +4528,9 @@ function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : func
4473
4528
  var SvgLockLockedFill = function SvgLockLockedFill(props) {
4474
4529
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
4475
4530
  xmlns: "http://www.w3.org/2000/svg",
4476
- width: 16,
4477
- height: 16
4531
+ width: "1em",
4532
+ height: "1em",
4533
+ viewBox: "0 0 16 16"
4478
4534
  }, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
4479
4535
  width: 12,
4480
4536
  height: 9,
@@ -4565,7 +4621,7 @@ const StyledItem = styled__default["default"].li `
4565
4621
  &:hover,
4566
4622
  &:focus,
4567
4623
  &:active {
4568
- background-color: ${theme.palette.kale[100]};
4624
+ background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
4569
4625
  color: ${props.isDanger ? theme.palette.red[500] : theme.palette.grey[800]};
4570
4626
  }`};
4571
4627
 
@@ -4600,9 +4656,10 @@ function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : func
4600
4656
  var SvgQuestionMark = function SvgQuestionMark(props) {
4601
4657
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
4602
4658
  xmlns: "http://www.w3.org/2000/svg",
4603
- width: 16,
4604
- height: 16,
4605
- fill: "currentColor"
4659
+ width: "1em",
4660
+ height: "1em",
4661
+ fill: "currentColor",
4662
+ viewBox: "0 0 16 16"
4606
4663
  }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
4607
4664
  fillRule: "evenodd",
4608
4665
  d: "M8 11.5a1 1 0 0 0 1-1V9.4c0-.562.334-1.08.93-1.452 1.45-.788 2.318-2.413 2.058-4.1C11.716 2.214 10.386.884 8.764.614c-2.02-.38-3.953.749-4.52 2.592a1 1 0 0 0 1.912.588c.264-.858 1.207-1.408 2.26-1.211.798.133 1.468.803 1.598 1.581.125.816-.311 1.632-1.093 2.058C7.726 6.967 7 8.092 7 9.4v1.1a1 1 0 0 0 1 1Zm0 4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",
@@ -4615,9 +4672,10 @@ function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : func
4615
4672
  var SvgCopy = function SvgCopy(props) {
4616
4673
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
4617
4674
  xmlns: "http://www.w3.org/2000/svg",
4618
- width: 12,
4619
- height: 16,
4620
- fill: "none"
4675
+ width: "1em",
4676
+ height: "1em",
4677
+ fill: "none",
4678
+ viewBox: "0 0 12 16"
4621
4679
  }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
4622
4680
  fill: "#003A57",
4623
4681
  fillRule: "evenodd",
@@ -4631,9 +4689,10 @@ function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : func
4631
4689
  var SvgInfoFill = function SvgInfoFill(props) {
4632
4690
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
4633
4691
  xmlns: "http://www.w3.org/2000/svg",
4634
- width: 16,
4635
- height: 16,
4636
- fill: "currentColor"
4692
+ width: "1em",
4693
+ height: "1em",
4694
+ fill: "currentColor",
4695
+ viewBox: "0 0 16 16"
4637
4696
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
4638
4697
  fillRule: "evenodd",
4639
4698
  d: "M7.5 16C3.36 16 0 12.64 0 8.5 0 4.36 3.36 1 7.5 1 11.64 1 15 4.36 15 8.5c0 4.14-3.36 7.5-7.5 7.5ZM7 12.5c0 .28.22.5.5.5s.5-.22.5-.5V8c0-.28-.22-.5-.5-.5S7 7.72 7 8v4.5ZM7.5 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1Z",
@@ -4641,23 +4700,21 @@ var SvgInfoFill = function SvgInfoFill(props) {
4641
4700
  })));
4642
4701
  };
4643
4702
 
4644
- const StyledButton$2 = styled__default["default"](Button) `
4703
+ const StyledButton$1 = styled__default["default"](Button) `
4645
4704
  color: ${(props) => props.theme.palette.grey[800]};
4646
4705
  font-weight: ${(props) => props.theme.fontWeights.semibold};
4647
4706
  padding-left: 0;
4648
4707
  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
4708
  `;
4658
- const PreviousButton = (props) => (jsxRuntime.jsxs(StyledButton$2, Object.assign({}, props, { isStretched: true }, { children: [jsxRuntime.jsx(StyledButton$2.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.children] })));
4709
+ 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
4710
 
4660
- const UgParagraph = styled__default["default"](reactTypography.Paragraph) ``;
4711
+ const UgParagraph = styled__default["default"](reactTypography.Paragraph) `
4712
+ ${p => p.color && `
4713
+ > div {
4714
+ color: ${p.color};
4715
+ }
4716
+ `};
4717
+ `;
4661
4718
  /**
4662
4719
  * Use Paragraph to render blocks of text with Garden styling.
4663
4720
  */
@@ -4669,18 +4726,18 @@ const getInitials = (name) => {
4669
4726
  return initials;
4670
4727
  };
4671
4728
 
4672
- const StyledButton$1 = styled__default["default"](Button) `
4729
+ const StyledButton = styled__default["default"](Button) `
4673
4730
  ${(props) => `
4674
4731
  &:hover,
4675
4732
  &:focus,
4676
4733
  &:active {
4677
- background-color: ${props.theme.palette.kale[100]};
4734
+ background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
4678
4735
  color: ${props.isDanger
4679
4736
  ? props.theme.palette.red[500]
4680
4737
  : props.theme.palette.grey[800]};
4681
4738
  }`};
4682
4739
  `;
4683
- const StyledFooterButton = styled__default["default"](StyledButton$1) `
4740
+ const StyledFooterButton = styled__default["default"](StyledButton) `
4684
4741
  color: ${(props) => props.theme.palette.grey[800]};
4685
4742
  padding-left: 0;
4686
4743
  justify-content: flex-start;
@@ -4717,11 +4774,11 @@ const HelpItem = (props) => {
4717
4774
  if (email.length > 24) {
4718
4775
  csmEmailCut = `${email.substring(0, 21)}...`;
4719
4776
  }
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$1, Object.assign({ isBasic: true, onClick: () => {
4777
+ 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
4778
  var _a;
4722
4779
  copyToClipBoard();
4723
4780
  (_a = props.onCopyEmail) === null || _a === void 0 ? void 0 : _a.call(props);
4724
- }, size: "small", variant: "isBasic" }, { children: [jsxRuntime.jsx(StyledButton$1.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"] }))] }))] }));
4781
+ }, 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
4782
  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
4783
  };
4727
4784
 
@@ -4729,9 +4786,10 @@ function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : func
4729
4786
  var SvgEmpty = function SvgEmpty(props) {
4730
4787
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
4731
4788
  xmlns: "http://www.w3.org/2000/svg",
4732
- width: 16,
4733
- height: 16,
4734
- fill: "#68737D"
4789
+ width: "1em",
4790
+ height: "1em",
4791
+ fill: "#68737D",
4792
+ viewBox: "0 0 16 16"
4735
4793
  }, props));
4736
4794
  };
4737
4795
 
@@ -4740,9 +4798,10 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4740
4798
  var SvgTranslationExists = function SvgTranslationExists(props) {
4741
4799
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
4742
4800
  xmlns: "http://www.w3.org/2000/svg",
4743
- width: 16,
4744
- height: 16,
4745
- fill: "#68737D"
4801
+ width: "1em",
4802
+ height: "1em",
4803
+ fill: "#68737D",
4804
+ viewBox: "0 0 16 16"
4746
4805
  }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
4747
4806
  fillRule: "evenodd",
4748
4807
  d: "M6 8.31a.496.496 0 0 1-.67.49c-.33-.12-.62-.3-.88-.49C3.9 8.73 3.26 9 2.5 9c-.28 0-.5-.22-.5-.5s.22-.5.5-.5c.44 0 .84-.14 1.19-.37-.79-.9-1.14-1.91-1.16-1.97-.09-.26.05-.55.31-.63.26-.09.55.05.63.31 0 .01.31.87.96 1.61.76-.91 1.21-2.2 1.43-2.95H2.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5H4v-.5c0-.28.22-.5.5-.5s.5.22.5.5V3h1.5c.15 0 .29.07.39.18.09.12.13.27.1.42-.01.05-.08.38-.22.83C7.11 4.17 7.53 4 8 4h1V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1v9c0 .55.45 1 1 1h5V8.31Zm-.33-.45c.19.07.32.24.33.43V6.35c-.23.44-.5.87-.82 1.26.15.1.31.18.49.25ZM15 5H8c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1Zm-1.3 7.96a.51.51 0 0 1-.66-.26l-.31-.7h-2.46l-.31.7c-.11.25-.41.37-.66.25a.497.497 0 0 1-.25-.66l2-4.5c.16-.36.75-.36.91 0l2 4.5c.11.26 0 .55-.26.67ZM10.71 11h1.58l-.79-1.77-.79 1.77Z",
@@ -4760,18 +4819,9 @@ const StyledButtonContainer = styled__default["default"].div `
4760
4819
  justify-content: flex-start;
4761
4820
  }
4762
4821
  `;
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
4822
  const LanguageItem = (props) => {
4773
4823
  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(StyledButton, Object.assign({ isBasic: true, isStretched: true, value: key, onClick: () => props.onSelectLanguage(key) }, { children: [jsxRuntime.jsx(StyledButton.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 }))] })))) }) })] }));
4824
+ 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
4825
  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
4826
  };
4777
4827
 
@@ -4784,7 +4834,7 @@ const CompanyHolder = styled__default["default"](SM) `
4784
4834
  text-transform: uppercase;
4785
4835
  margin-top: ${({ theme }) => theme.space.base * 2}px;
4786
4836
  margin-bottom: ${({ theme }) => theme.space.base * 4}px;
4787
- color: ${({ theme }) => theme.colors.primaryHue};
4837
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
4788
4838
  `;
4789
4839
  const UserDetails = styled__default["default"].div `
4790
4840
  margin-top: ${({ theme }) => theme.space.base * 4}px;
@@ -4800,11 +4850,6 @@ const StyledList = styled__default["default"].ul `
4800
4850
  padding: 0;
4801
4851
  margin: 0;
4802
4852
  `;
4803
- styled__default["default"](Anchor) `
4804
- &:hover {
4805
- text-decoration: none;
4806
- }
4807
- `;
4808
4853
  const UserMenu = (props) => {
4809
4854
  var _a;
4810
4855
  const [item, setActiveItem] = React.useState("");
@@ -4914,7 +4959,7 @@ const StyledTag = styled__default["default"](Tag) `
4914
4959
  const StyledSM = styled__default["default"](SM) `
4915
4960
  color: ${({ theme }) => theme.palette.grey[600]};
4916
4961
  span {
4917
- color: ${({ theme }) => theme.colors.primaryHue};
4962
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
4918
4963
  }
4919
4964
  `;
4920
4965
  const SliderCounter = ({ current, total, }) => {
@@ -5052,7 +5097,9 @@ const Slider = (props) => {
5052
5097
  }, [current]);
5053
5098
  return (jsxRuntime.jsxs(SliderContextProvider, { children: [settings.counter && jsxRuntime.jsx(SliderCounter, { current: current, total: slides }), jsxRuntime.jsx(StyledSlick, Object.assign({}, settings, { beforeChange: updateSlide }))] }));
5054
5099
  };
5055
- Slider.Slide = Slide;
5100
+ Slider.Slide = Slide;
5101
+ Slider.PrevButton = PrevButton;
5102
+ Slider.NextButton = NextButton;
5056
5103
 
5057
5104
  const UgStep = styled__default["default"](reactAccordions.Stepper.Step) `
5058
5105
  svg {
@@ -5155,7 +5202,7 @@ const Row = (props) => jsxRuntime.jsx(UgRow, Object.assign({}, props));
5155
5202
  const Cell = (props) => jsxRuntime.jsx(UgCell, Object.assign({}, props));
5156
5203
  const Caption = (props) => (jsxRuntime.jsx(reactTables.Caption, Object.assign({}, props)));
5157
5204
 
5158
- const StyledAnimatedToggle = styled__default["default"](web.animated.div) `
5205
+ const StyledAnimatedToggle = styled__default["default"].div `
5159
5206
  display: inline-block;
5160
5207
  float: right;
5161
5208
  `;
@@ -5192,16 +5239,8 @@ const UgGroupRow = styled__default["default"](reactTables.GroupRow) `
5192
5239
  `;
5193
5240
  const GroupRow = (props) => jsxRuntime.jsx(UgGroupRow, Object.assign({}, props));
5194
5241
  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
5242
  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: toggleIconAnimation }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] })) })));
5243
+ 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
5244
  };
5206
5245
  const AnimatedRow = styled__default["default"](Row) `
5207
5246
  &.render {
@@ -5239,10 +5278,10 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
5239
5278
 
5240
5279
  ${({ theme, isSelected }) => isSelected &&
5241
5280
  `
5242
- color: ${theme.colors.primaryHue};
5281
+ color: ${getColor(theme.colors.primaryHue, 600)};
5243
5282
  background-color: transparent;
5244
5283
 
5245
- border-color: ${theme.colors.primaryHue};
5284
+ border-color: ${getColor(theme.colors.primaryHue, 600)};
5246
5285
  font-weight: ${theme.fontWeights.semibold};
5247
5286
  `}
5248
5287
 
@@ -5254,7 +5293,7 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
5254
5293
 
5255
5294
  &:hover {
5256
5295
  background-color: transparent;
5257
- color: ${({ theme }) => theme.colors.primaryHue};
5296
+ $
5258
5297
  }
5259
5298
  `;
5260
5299
  const StyledTabList = styled__default["default"].div `
@@ -5265,6 +5304,7 @@ const StyledTabPanel = styled__default["default"].div `
5265
5304
  display: ${({ hidden }) => (hidden ? "none" : "block")};
5266
5305
  height: 100%;
5267
5306
  overflow-y: auto;
5307
+ overflow-x: hidden;
5268
5308
  `;
5269
5309
  const TabPanel = (_a) => {
5270
5310
  var { hidden, children } = _a, rest = __rest(_a, ["hidden", "children"]);
@@ -5375,7 +5415,7 @@ const TooltipComponent = (props) => {
5375
5415
  return jsxRuntime.jsx(reactTooltips.Tooltip, Object.assign({}, props, { zIndex: (_a = props.zIndex) !== null && _a !== void 0 ? _a : theme.levels.front }));
5376
5416
  };
5377
5417
  const Tooltip = styled__default["default"](TooltipComponent) `
5378
- box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`, reactTheming.getColor("neutralHue", 600, theme, 0.15))};
5418
+ box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`, getColor("neutralHue", 600, theme, 0.15))};
5379
5419
  `;
5380
5420
 
5381
5421
  const StyledTooltipModal = styled__default["default"](reactModals.TooltipModal) `
@@ -5441,7 +5481,7 @@ exports.Breadcrumb = Breadcrumb;
5441
5481
  exports.BulletChart = BulletChart;
5442
5482
  exports.Button = Button;
5443
5483
  exports.ButtonGroup = ButtonGroup;
5444
- exports.CHARTS_COLOR_PALETTE = CHARTS_COLOR_PALETTE;
5484
+ exports.CARD_COMPONENT_ID = CARD_COMPONENT_ID;
5445
5485
  exports.CampaignCard = CampaignCard;
5446
5486
  exports.CampaignExperientialIcon = SvgCampaignExperiential;
5447
5487
  exports.CampaignFunctionalIcon = SvgCampaignFunctional;
@@ -5550,6 +5590,8 @@ exports.TableHead = Head;
5550
5590
  exports.TableRow = Row;
5551
5591
  exports.Tabs = Tabs;
5552
5592
  exports.Tag = Tag;
5593
+ exports.TextDescription = TextDescription;
5594
+ exports.TextLabel = TextLabel;
5553
5595
  exports.Textarea = Textarea;
5554
5596
  exports.Tiles = Tiles;
5555
5597
  exports.Timeline = Timeline;
@@ -5564,5 +5606,7 @@ exports.WaffleChart = WaffleChart;
5564
5606
  exports.XL = XL;
5565
5607
  exports.XXL = XXL;
5566
5608
  exports.XXXL = XXXL;
5609
+ exports.cardCmponentStyle = cardCmponentStyle;
5610
+ exports.getColor = getColor;
5567
5611
  exports.theme = theme;
5568
5612
  exports.useToast = useToast;