@appquality/unguess-design-system 3.1.1-nav-beta → 3.1.2-beta.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 (73) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/build/index.d.ts +1 -1
  3. package/build/index.js +457 -453
  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 +3 -3
  30. package/build/stories/navigation/nav/nav-item/index.d.ts +2 -1
  31. package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +1 -1
  32. package/build/stories/navigation/page-header/index.d.ts +8 -4
  33. package/build/stories/navigation/page-header/styled/main.d.ts +9 -4
  34. package/build/stories/navigation/sidebar/index.stories.d.ts +0 -4
  35. package/build/stories/player/parts/container.d.ts +1 -1
  36. package/build/stories/player/parts/controls.d.ts +2 -2
  37. package/build/stories/player/parts/floatingControls.d.ts +1 -1
  38. package/build/stories/player/parts/video.d.ts +1 -1
  39. package/build/stories/profile-modal/menuItem.d.ts +1 -1
  40. package/build/stories/profile-modal/menuItemIcon.d.ts +1 -1
  41. package/build/stories/slider/index.d.ts +2 -0
  42. package/build/stories/slider/parts/container.d.ts +1 -1
  43. package/build/stories/slider/parts/slickSlider.d.ts +1 -1
  44. package/build/stories/special-cards/index.d.ts +12 -5
  45. package/build/stories/special-cards/styled/header.d.ts +10 -3
  46. package/build/stories/special-cards/styled/meta.d.ts +1 -1
  47. package/build/stories/special-cards/styled/thumbnail.d.ts +1 -1
  48. package/build/stories/stepper/index.d.ts +3 -3
  49. package/build/stories/tags/index.d.ts +3 -3
  50. package/build/stories/theme/charts.d.ts +1 -17
  51. package/build/stories/theme/colors.d.ts +5 -10
  52. package/build/stories/theme/components.d.ts +112 -43
  53. package/build/stories/theme/gradients.d.ts +0 -1
  54. package/build/stories/theme/index.d.ts +137 -85
  55. package/build/stories/theme/mixins.d.ts +2 -2
  56. package/build/stories/theme/palette.d.ts +35 -36
  57. package/build/stories/theme/palette.stories.d.ts +19 -5
  58. package/build/stories/theme/utils.d.ts +6 -2
  59. package/build/stories/timeline/index.d.ts +2 -2
  60. package/build/stories/tooltip/index.d.ts +1 -1
  61. package/build/stories/tooltip/index.stories.d.ts +1 -1
  62. package/build/stories/typography/paragraph/index.d.ts +2 -2
  63. package/build/stories/typography/paragraph/index.stories.d.ts +3 -3
  64. package/build/stories/typography/typescale/anchortag/index.stories.d.ts +11 -1
  65. package/build/stories/typography/typescale/index.d.ts +26 -8
  66. package/build/stories/typography/typescale/index.stories.d.ts +11 -1
  67. package/package.json +3 -2
  68. package/yarn-error.log +10059 -6023
  69. package/build/stories/buttons/anchor/_types.d.ts +0 -11
  70. package/build/stories/buttons/button-group/_types.d.ts +0 -5
  71. package/build/stories/buttons/utils/useButtonVariant.d.ts +0 -5
  72. package/build/stories/typography/paragraph/_types.d.ts +0 -5
  73. 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');
@@ -28,6 +28,7 @@ var reactDropdowns = require('@zendeskgarden/react-dropdowns');
28
28
  var reactForms = require('@zendeskgarden/react-forms');
29
29
  var react = require('@tiptap/react');
30
30
  var Typography = require('@tiptap/extension-typography');
31
+ var Link = require('@tiptap/extension-link');
31
32
  var StarterKit = require('@tiptap/starter-kit');
32
33
  var Placeholder = require('@tiptap/extension-placeholder');
33
34
  var CharacterCount = require('@tiptap/extension-character-count');
@@ -64,31 +65,37 @@ var UAParser__default = /*#__PURE__*/_interopDefaultLegacy(UAParser);
64
65
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
65
66
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
66
67
  var Typography__default = /*#__PURE__*/_interopDefaultLegacy(Typography);
68
+ var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
67
69
  var StarterKit__default = /*#__PURE__*/_interopDefaultLegacy(StarterKit);
68
70
  var Placeholder__default = /*#__PURE__*/_interopDefaultLegacy(Placeholder);
69
71
  var CharacterCount__default = /*#__PURE__*/_interopDefaultLegacy(CharacterCount);
70
72
  var SlickSlider__default = /*#__PURE__*/_interopDefaultLegacy(SlickSlider);
71
73
 
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",
74
+ /*
75
+ * Design principles https://garden.zendesk.com/design/color (accessed 28 apr 2023)
76
+ * Full DEFAULT_THEME.palette copied here to force the type, reference https://garden.zendesk.com/components/palette (accessed 28 apr 2023)
77
+ */
78
+ const palette = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.palette), { "black": "#000000", "white": "#FFFFFF", "product": {
79
+ "support": "#00a656",
80
+ "message": "#37b8af",
81
+ "explore": "#30aabc",
82
+ "gather": "#f6c8be",
83
+ "guide": "#ff6224",
84
+ "connect": "#ff6224",
85
+ "chat": "#f79a3e",
86
+ "talk": "#efc93d",
87
+ "sell": "#c38f00"
88
+ }, "grey": {
89
+ "100": "#f8f9f9",
84
90
  "200": "#e9ebed",
85
91
  "300": "#d8dcde",
86
92
  "400": "#c2c8cc",
87
93
  "500": "#87929d",
88
94
  "600": "#68737d",
89
95
  "700": "#49545c",
90
- "800": "#2f3941",
91
- }, blue: {
96
+ "800": "#2f3941"
97
+ }, "blue": {
98
+ "50": "#F0F3F5",
92
99
  "100": "#E6EBEE",
93
100
  "200": "#B0C2CB",
94
101
  "300": "#8AA4B2",
@@ -97,116 +104,118 @@ const palette = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.palet
97
104
  "600": "#003A57",
98
105
  "700": "#00293E",
99
106
  "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: {
107
+ }, "red": {
108
+ "100": "#FBEAEB",
109
+ "200": "#F2C1C3",
110
+ "300": "#E9979B",
111
+ "400": "#E06D73",
112
+ "500": "#D7444B",
113
+ "600": "#D22F37",
114
+ "700": "#BD2A32",
115
+ "800": "#A8262C",
116
+ "900": "#932127",
117
+ }, "yellow": {
118
+ "100": "#FFF7EE",
119
+ "200": "#FFE7C9",
120
+ "300": "#FFD7A4",
121
+ "400": "#FFD7A4",
122
+ "500": "#FFB65A",
123
+ "600": "#C57F12",
124
+ "700": "#955F1B",
125
+ "800": "#845418",
126
+ "900": "#734A15",
127
+ }, "green": {
128
+ "50": "#B3E8D9",
129
+ "100": "#80D9C0",
130
+ "200": "#66D1B3",
131
+ "300": "#4DC9A6",
132
+ "400": "#00B280",
133
+ "500": "#00A073",
134
+ "600": "#007D5A",
135
+ "700": "#006B4D",
136
+ "800": "#005940",
137
+ }, "azure": {
138
+ "100": "#E3F2F9",
139
+ "200": "#BBDDF2",
140
+ "300": "#92C9EB",
141
+ "400": "#6AB4E2",
142
+ "500": "#4CA4DE",
143
+ "600": "#1466A9",
144
+ "700": "#125C98",
145
+ "800": "#105287",
146
+ "900": "#0E4776",
147
+ }, "kale": {
148
+ "100": "#D4FFF7",
149
+ "200": "#ABEBDF",
150
+ "300": "#6FD1BE",
151
+ "600": "#2B8473",
152
+ "700": "#206E6A",
153
+ "800": "#0C4D5E",
154
+ }, "pink": {
155
+ "600": "#d81e57",
156
+ "700": "#c31a53",
157
+ "800": "#ae1550",
158
+ "900": "#8A0C49",
159
+ }, "crimson": {
160
+ "200": "#e69b96",
161
+ "300": "#d9776f",
162
+ "400": "#e05b4b",
163
+ "500": "#e34f32",
164
+ }, "fuschia": {
137
165
  "400": "#d653c2",
138
166
  "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: {
167
+ "M400": "#cf62a8",
168
+ "M600": "#a8458c",
169
+ }, "lemon": {
170
+ "400": "#ddda49",
171
+ "500": "#d8d427",
172
+ "600": "#d7c21f",
173
+ "700": "#D6AD13",
174
+ }, "teal": {
175
+ "400": "#28adaa",
176
+ "500": "#029e99",
177
+ "600": "#02908b",
178
+ "700": "#02807a",
179
+ }, "royal": {
180
+ "600": "#3c3695",
181
+ "700": "#342c8a",
182
+ "800": "#2d227e",
183
+ "900": "#1F0F69",
184
+ }, "purple": {
185
+ "200": "#b5a5fe",
186
+ "300": "#957fff",
187
+ "400": "#7761fe",
188
+ "500": "#5847f6",
189
+ }, "lime": {
190
+ "400": '#43b324',
191
+ "600": '#2e8200',
192
+ "M400": '#519e2d',
193
+ "M600": '#47782c'
194
+ }, "mint": {
195
+ "400": '#00a656',
196
+ "600": '#058541',
197
+ "M400": '#299c66',
198
+ "M600": '#2e8057'
199
+ }, "orange": {
152
200
  "400": "#de701d",
153
201
  "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",
202
+ "M400": "#d4772c",
203
+ "M600": "#b35827",
198
204
  } });
199
205
 
206
+ const getColor = (hue, shade, theme$1 = theme, transparency) => {
207
+ return reactTheming.getColor(hue, shade, theme$1, transparency);
208
+ };
200
209
  const hex2rgba = (hex, alpha = 1) => {
201
210
  const rgb = hex.match(/\w\w/g);
202
211
  const [r, g, b] = rgb ? rgb.map((x) => parseInt(x, 16)) : [0, 0, 0];
203
212
  return `rgba(${r},${g},${b},${alpha})`;
204
213
  };
205
- const boxShadow = (theme) => {
206
- const { space, shadows, palette } = theme;
214
+ const boxShadow = (theme$1) => {
215
+ const { space, shadows, palette } = theme$1;
207
216
  const offsetY = `${space.base}px`;
208
217
  const blurRadius = `${space.base * 2}px`;
209
- const shadowColor = reactTheming.getColor(palette.grey, 800, theme, 0.15);
218
+ const shadowColor = getColor(palette.grey, 800, theme, 0.15);
210
219
  return shadows.lg(offsetY, blurRadius, shadowColor);
211
220
  };
212
221
  const isMac = () => {
@@ -229,7 +238,6 @@ const sidebarNavItemHidden = styled.css `
229
238
  `;
230
239
 
231
240
  const gradients = {
232
- horizontal: `linear-gradient(90.81deg, ${hex2rgba(palette.blue[600])} 11.98%, ${hex2rgba(palette.kale[400])} 100%);`,
233
241
  dark: `linear-gradient(90.81deg, ${hex2rgba(palette.blue[800])} 0%, ${hex2rgba(palette.blue[600])} 100%);`,
234
242
  };
235
243
 
@@ -272,28 +280,89 @@ function __awaiter(thisArg, _arguments, P, generator) {
272
280
 
273
281
  const fontWeights = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.fontWeights), { semibold: 500 });
274
282
 
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] });
283
+ 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" });
284
+
285
+ const CARD_COMPONENT_ID = "cards.card";
286
+ const cardCmponentStyle = {
287
+ [CARD_COMPONENT_ID]: {
288
+ border: `1px solid ${palette.grey["200"]};`,
289
+ }
290
+ };
291
+ const UgCard = styled__default["default"](reactNotifications.Well) `
292
+ border-radius: ${({ theme }) => theme.borderRadii.lg};
293
+ padding: ${({ theme }) => theme.space.xxl};
294
+ cursor: pointer;
295
+
296
+ ${({ isFloating, theme }) => !isFloating &&
297
+ `
298
+ &:hover {
299
+ box-shadow: ${theme.shadows.boxShadow(theme)};
300
+ }`}
301
+ ${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
302
+ `;
303
+ /**
304
+ * A Card is a container that groups related content.
305
+ * <hr>
306
+ * Used for this:
307
+ - To group related content
308
+ */
309
+ const Card = (props) => jsxRuntime.jsx(UgCard, Object.assign({}, props));
310
+ const UgContainerCard = styled__default["default"](reactNotifications.Well) `
311
+ border-radius: ${({ theme }) => theme.borderRadii.xl};
312
+ padding: ${({ theme }) => theme.space.xxl};
313
+ cursor: default;
314
+
315
+ @media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
316
+ padding: ${({ theme }) => `${theme.space.xl} ${theme.space.md}`};
317
+ }
318
+ ${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
319
+ `;
320
+ const ContainerCard = (props) => jsxRuntime.jsx(UgContainerCard, Object.assign({}, props));
276
321
 
277
322
  var _a, _b, _c, _d, _e, _f, _g$8, _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$8 = reactTheming.DEFAULT_THEME.components) === null || _g$8 === void 0 ? void 0 : _g$8.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }), "notifications.notification": ({ type, isPrimary, }) => {
323
+ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.components), { chrome: Object.assign(Object.assign({}, (_a = reactTheming.DEFAULT_THEME.components) === null || _a === void 0 ? void 0 : _a.chrome), { header: Object.assign(Object.assign({}, (_c = (_b = reactTheming.DEFAULT_THEME.components) === null || _b === void 0 ? void 0 : _b.chrome) === null || _c === void 0 ? void 0 : _c.header), { height: "64px" }), nav: Object.assign(Object.assign({}, (_e = (_d = reactTheming.DEFAULT_THEME.components) === null || _d === void 0 ? void 0 : _d.chrome) === null || _e === void 0 ? void 0 : _e.nav), { openWidth: 240, closedWidth: 36, workspaceDropdownWidth: 192 }) }), notification: Object.assign(Object.assign({}, (_f = reactTheming.DEFAULT_THEME.components) === null || _f === void 0 ? void 0 : _f.notification), { card: Object.assign(Object.assign({}, (_h = (_g$8 = reactTheming.DEFAULT_THEME.components) === null || _g$8 === void 0 ? void 0 : _g$8.notification) === null || _h === void 0 ? void 0 : _h.well), { padding: "16px" }) }) }), cardCmponentStyle), { "text.primary": () => ({
324
+ color: getColor(colors.primaryHue, 600),
325
+ }), "text.success": () => ({
326
+ color: getColor(colors.successHue, 700),
327
+ }), "text.warning": () => ({
328
+ color: getColor(colors.warningHue, 700),
329
+ }), "text.danger": () => ({
330
+ color: getColor(colors.dangerHue, 700),
331
+ }), "navigation.hoverableItem": ({ isCurrent }) => {
332
+ return Object.assign({ "border-top-left-radius": "24px", "border-bottom-left-radius": "24px", color: getColor(colors.primaryHue, 600), "font-weight": fontWeights.medium, "&:hover, &.hover": {
333
+ "background-color": getColor(colors.primaryHue, 600, undefined, 0.08),
334
+ color: getColor(colors.primaryHue, 700),
335
+ }, "&:active, &.active": {
336
+ "background-color": getColor(colors.primaryHue, 600, undefined, 0.2),
337
+ color: getColor(colors.primaryHue, 700),
338
+ }, "&.isCurrent": {
339
+ color: getColor(colors.primaryHue, 700),
340
+ "font-weight": fontWeights.semibold,
341
+ "background-color": getColor(colors.primaryHue, 600, undefined, 0.08),
342
+ } }, (isCurrent && {
343
+ color: getColor(colors.primaryHue, 700),
344
+ "font-weight": fontWeights.semibold,
345
+ "background-color": getColor(colors.primaryHue, 600, undefined, 0.08),
346
+ }));
347
+ }, "notifications.notification": ({ type, isPrimary, }) => {
279
348
  const svgCss = {
280
349
  marginTop: "-1px",
281
350
  };
282
351
  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (type === "success" &&
283
352
  isPrimary && {
284
- backgroundColor: palette.green[700],
353
+ backgroundColor: getColor(colors.successHue, 700),
285
354
  svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
286
355
  })), (type === "warning" &&
287
356
  isPrimary && {
288
- backgroundColor: palette.yellow[700],
357
+ backgroundColor: getColor(colors.warningHue, 700),
289
358
  svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
290
359
  })), (type === "error" &&
291
360
  isPrimary && {
292
- backgroundColor: palette.red[700],
361
+ backgroundColor: getColor(colors.dangerHue, 700),
293
362
  svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
294
363
  })), (type === "info" &&
295
364
  isPrimary && {
296
- backgroundColor: palette.blue[700],
365
+ backgroundColor: getColor(colors.infoHue, 700),
297
366
  svg: Object.assign(Object.assign({}, svgCss), { color: palette.white }),
298
367
  })), !isPrimary && {
299
368
  svg: svgCss,
@@ -352,63 +421,123 @@ const components = Object.assign(Object.assign({}, reactTheming.DEFAULT_THEME.co
352
421
  thumbSize: "60px",
353
422
  }, "tabs.tab": ({ isSelected }) => {
354
423
  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
424
  }, "dropdowns.item": (_a) => {
362
425
  var { addable, checked } = _a; __rest(_a, ["addable", "checked"]);
363
- return Object.assign(Object.assign(Object.assign({}, (addable
426
+ return Object.assign(Object.assign({}, (addable
364
427
  ? {
365
- color: colors.primaryHue,
428
+ color: getColor(colors.primaryHue, 600),
366
429
  cursor: "pointer",
367
430
  }
368
431
  : {})), (checked
369
432
  ? {
370
433
  fontWeight: fontWeights.semibold,
371
434
  }
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,
435
+ : {}));
436
+ }, "buttons.icon_button": ({ disabled, isBright, isAccent, isPrimary, isBasic, }) => {
437
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (isAccent && !isPrimary && !isBasic && {
438
+ borderColor: getColor(colors.accentHue, 700),
439
+ color: getColor(colors.accentHue, 700),
380
440
  "&:hover": {
381
- backgroundColor: palette.kale[200],
441
+ borderColor: getColor(colors.accentHue, 800),
442
+ color: getColor(colors.accentHue, 800),
443
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
444
+ },
445
+ "&:active": {
446
+ borderColor: getColor(colors.accentHue, 800),
447
+ color: getColor(colors.accentHue, 800),
448
+ backgroundColor: palette.blue[100],
449
+ },
450
+ })), (isAccent && isBasic && {
451
+ color: getColor(colors.accentHue, 700),
452
+ "&:hover": {
453
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
454
+ color: getColor(colors.accentHue, 800),
455
+ },
456
+ "&:active": {
457
+ backgroundColor: palette.blue[100],
458
+ color: getColor(colors.accentHue, 800),
459
+ },
460
+ })), (isAccent && isPrimary && {
461
+ backgroundColor: getColor(colors.accentHue, 600),
462
+ color: "white",
463
+ "&:hover": {
464
+ backgroundColor: getColor(colors.accentHue, 700),
465
+ color: "white",
466
+ },
467
+ "&:active": {
468
+ backgroundColor: getColor(colors.accentHue, 800),
469
+ color: "white",
382
470
  },
383
471
  })), (isBright && {
384
472
  backgroundColor: "transparent",
385
473
  color: "white",
474
+ border: "none",
386
475
  "&:hover": {
387
476
  backgroundColor: palette.grey[500],
388
- color: palette.kale[100],
477
+ color: "white",
478
+ "& svg": {
479
+ color: "white",
480
+ },
389
481
  },
390
482
  "&:active": {
391
483
  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
484
  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],
485
+ "& svg": {
486
+ color: "white",
408
487
  },
409
- };
410
- }
411
- return {};
488
+ },
489
+ })), (disabled && { pointerEvents: "none" }));
490
+ }, "buttons.button": ({ isAccent, isBright, isPrimary, isBasic, isLink, }) => {
491
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (isAccent && !isPrimary && !isBasic && !isLink && {
492
+ borderColor: getColor(colors.accentHue, 700),
493
+ color: getColor(colors.accentHue, 700),
494
+ "&:hover": {
495
+ borderColor: getColor(colors.accentHue, 800),
496
+ color: getColor(colors.accentHue, 800),
497
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
498
+ },
499
+ "&:active": {
500
+ borderColor: getColor(colors.accentHue, 800),
501
+ color: getColor(colors.accentHue, 800),
502
+ backgroundColor: palette.blue[100],
503
+ },
504
+ })), (isAccent && isPrimary && {
505
+ backgroundColor: getColor(colors.accentHue, 600),
506
+ "&:hover": {
507
+ backgroundColor: getColor(colors.accentHue, 700),
508
+ },
509
+ "&:active": {
510
+ backgroundColor: getColor(colors.accentHue, 800),
511
+ },
512
+ })), (isAccent && isBasic && {
513
+ color: getColor(colors.accentHue, 700),
514
+ "&:hover": {
515
+ backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
516
+ color: getColor(colors.accentHue, 800),
517
+ },
518
+ "&:active": {
519
+ backgroundColor: palette.blue[100],
520
+ color: getColor(colors.accentHue, 800),
521
+ },
522
+ })), (isAccent && isLink && {
523
+ color: getColor(colors.accentHue, 700),
524
+ "&:hover": {
525
+ color: getColor(colors.accentHue, 800),
526
+ },
527
+ "&:active": {
528
+ color: getColor(colors.accentHue, 800),
529
+ },
530
+ })), (isBright && {
531
+ backgroundColor: "transparent",
532
+ color: "white",
533
+ border: "none",
534
+ "&:hover": {
535
+ backgroundColor: palette.grey[500],
536
+ },
537
+ "&:active": {
538
+ backgroundColor: palette.grey[600],
539
+ },
540
+ }));
412
541
  } });
413
542
 
414
543
  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 +699,6 @@ const Breadcrumb = (_a) => {
570
699
  */
571
700
  const Anchor = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.Anchor, Object.assign({ ref: ref }, props)));
572
701
 
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
702
  const UgButton = styled__default["default"](reactButtons.Button) ``;
584
703
  /**
585
704
  * Buttons let users take action quickly.
@@ -590,11 +709,7 @@ const UgButton = styled__default["default"](reactButtons.Button) ``;
590
709
  - To draw attention to relevant actions in a user's workflow
591
710
  */
592
711
  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));
712
+ return jsxRuntime.jsx(UgButton, Object.assign({ ref: ref, isPill: true }, props));
598
713
  });
599
714
  const Button = ButtonComponent;
600
715
  Button.StartIcon = UgButton.StartIcon;
@@ -628,37 +743,6 @@ Used for this:
628
743
  **/
629
744
  const SplitButton = React.forwardRef((props, ref) => jsxRuntime.jsx(reactButtons.SplitButton, Object.assign({ ref: ref }, props)));
630
745
 
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
746
  /**
663
747
  * Use Span to style and format inline text elements.
664
748
  * <hr>
@@ -1067,18 +1151,39 @@ CardThumbnail.defaultProps = {
1067
1151
  /**
1068
1152
  * Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
1069
1153
  */
1070
- const SM = (props) => jsxRuntime.jsx(reactTypography.SM, Object.assign({ style: props.isMonospace ? { lineHeight: theme.lineHeights.sm } : {} }, props));
1071
- const MD = (props) => jsxRuntime.jsx(reactTypography.MD, Object.assign({ style: props.isMonospace ? { lineHeight: theme.lineHeights.md } : {} }, props));
1072
- const LG = (props) => jsxRuntime.jsx(reactTypography.LG, Object.assign({ style: props.isMonospace ? { lineHeight: theme.lineHeights.lg } : {} }, props));
1073
- const XL = (props) => jsxRuntime.jsx(reactTypography.XL, Object.assign({}, props));
1074
- const XXL = (props) => jsxRuntime.jsx(reactTypography.XXL, Object.assign({}, props));
1075
- const XXXL = (props) => jsxRuntime.jsx(reactTypography.XXXL, Object.assign({}, props));
1154
+ const SM = styled__default["default"](reactTypography.SM) `
1155
+ ${p => p.color && `color: ${p.color}`};
1156
+ `;
1157
+ const MD = styled__default["default"](reactTypography.MD) `
1158
+ ${p => p.color && `color: ${p.color}`};
1159
+ `;
1160
+ const LG = styled__default["default"](reactTypography.LG) `
1161
+ ${p => p.color && `color: ${p.color}`};
1162
+ `;
1163
+ const XL = styled__default["default"](reactTypography.XL) `
1164
+ ${p => p.color && `color: ${p.color}`};
1165
+ `;
1166
+ const XXL = styled__default["default"](reactTypography.XXL) `
1167
+ ${p => p.color && `color: ${p.color}`};
1168
+ `;
1169
+ const XXXL = styled__default["default"](reactTypography.XXXL) `
1170
+ color: ${p => p.color || p.theme.palette.blue[600]};
1171
+ `;
1172
+ const TextLabel = styled__default["default"](reactTypography.SM) `
1173
+ color: ${p => p.theme.palette.grey[600]};
1174
+ `;
1175
+ const TextDescription = (_a) => {
1176
+ var { isSmall } = _a, props = __rest(_a, ["isSmall"]);
1177
+ return ({ isSmall }
1178
+ ? jsxRuntime.jsx(SM, Object.assign({ color: theme.palette.grey[700] }, props))
1179
+ : jsxRuntime.jsx(MD, Object.assign({ color: theme.palette.grey[700] }, props)));
1180
+ };
1076
1181
 
1077
1182
  const Label$2 = styled__default["default"](SM) `
1078
1183
  color: ${({ theme }) => theme.palette.grey[500]};
1079
1184
  `;
1080
1185
  const Title$2 = styled__default["default"](LG) `
1081
- color: ${({ theme }) => theme.colors.primaryHue};
1186
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
1082
1187
  font-weight: ${({ theme }) => theme.fontWeights.semibold};
1083
1188
  margin-top: ${({ theme }) => theme.space.xxs};
1084
1189
  `;
@@ -1131,7 +1236,6 @@ const CardFooter = (props) => (jsxRuntime.jsxs(Footer$3, { children: [!props.noD
1131
1236
  const UgContentCard = styled__default["default"](reactNotifications.Well) `
1132
1237
  border-radius: ${({ theme }) => theme.borderRadii.lg};
1133
1238
  padding: ${({ theme }) => `${theme.space.sm} ${theme.space.base * 4}px`};
1134
- border: 1px solid ${({ theme }) => theme.palette.grey["200"]};
1135
1239
  height: 100%;
1136
1240
  display: flex;
1137
1241
  flex-direction: column;
@@ -1148,6 +1252,7 @@ const UgContentCard = styled__default["default"](reactNotifications.Well) `
1148
1252
  pointer-events: none;
1149
1253
  opacity: 0.7;
1150
1254
  `}
1255
+ ${(props) => reactTheming.retrieveComponentStyles(CARD_COMPONENT_ID, props)};
1151
1256
  `;
1152
1257
  /**
1153
1258
  * A SpecialCard is a spefic type of card with an opinionated set of default spaces and subcomponents order.
@@ -1223,7 +1328,7 @@ const StyledTagNew = styled__default["default"](Tag) `
1223
1328
  `;
1224
1329
  const ProductCard = (props) => {
1225
1330
  const { isNew, productTitle, labelNew } = props;
1226
- 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 })) }))] })));
1331
+ 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 })) }))] })));
1227
1332
  };
1228
1333
 
1229
1334
  const ServiceSubtitle = styled__default["default"](SM) `
@@ -1324,27 +1429,27 @@ const DEFAULT_CHARTS_THEME = {
1324
1429
  annotations: {
1325
1430
  text: {
1326
1431
  fontSize: Number(theme.fontSizes.sm),
1327
- fill: theme.colors.primaryHue,
1432
+ fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1328
1433
  outlineWidth: 2,
1329
1434
  outlineColor: theme.palette.white,
1330
1435
  outlineOpacity: 1,
1331
1436
  },
1332
1437
  link: {
1333
- stroke: theme.colors.primaryHue,
1438
+ stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1334
1439
  strokeWidth: 1,
1335
1440
  outlineWidth: 2,
1336
1441
  outlineColor: theme.palette.white,
1337
1442
  outlineOpacity: 1,
1338
1443
  },
1339
1444
  outline: {
1340
- stroke: theme.colors.primaryHue,
1445
+ stroke: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1341
1446
  strokeWidth: 2,
1342
1447
  outlineWidth: 2,
1343
1448
  outlineColor: theme.palette.white,
1344
1449
  outlineOpacity: 1,
1345
1450
  },
1346
1451
  symbol: {
1347
- fill: theme.colors.primaryHue,
1452
+ fill: getColor(theme.colors.primaryHue, 600) || theme.palette.blue[600],
1348
1453
  outlineWidth: 2,
1349
1454
  outlineColor: theme.palette.white,
1350
1455
  outlineOpacity: 1,
@@ -1443,7 +1548,7 @@ const DEFAULT_CHARTS_THEME = {
1443
1548
  tooltip: {
1444
1549
  container: {
1445
1550
  background: theme.palette.white,
1446
- color: theme.colors.primaryHue,
1551
+ color: getColor(theme.colors.primaryHue, 600),
1447
1552
  fontSize: Number(theme.fontSizes.sm),
1448
1553
  },
1449
1554
  basic: {},
@@ -1453,57 +1558,24 @@ const DEFAULT_CHARTS_THEME = {
1453
1558
  tableCellValue: {},
1454
1559
  },
1455
1560
  };
1456
- const CHARTS_COLOR_PALETTE = {
1457
- darkPine: "#02807A",
1458
- lightGrey: theme.palette.grey[200],
1459
- darkGrey: theme.palette.grey[600],
1460
- mattone: "#800208",
1461
- gubbioLight: "#C78430",
1462
- blueRoyal: "#024780",
1463
- greenLight: "#5FA41C",
1464
- blue: "#020880",
1465
- fucsia: "#CE2A7A",
1466
- violet: "#573ECF",
1467
- orchidea: "#B75CAD",
1468
- sky: "#3392CE",
1469
- };
1470
1561
  const CHARTS_COLOR_SCHEME_MONO = [
1471
- CHARTS_COLOR_PALETTE.darkPine,
1472
- CHARTS_COLOR_PALETTE.lightGrey,
1562
+ theme.palette.teal[700],
1563
+ theme.palette.grey[200],
1473
1564
  ];
1474
1565
  [
1475
- CHARTS_COLOR_PALETTE.mattone,
1476
- CHARTS_COLOR_PALETTE.gubbioLight,
1477
- CHARTS_COLOR_PALETTE.blueRoyal,
1478
- CHARTS_COLOR_PALETTE.darkPine,
1479
- CHARTS_COLOR_PALETTE.lightGrey,
1566
+ theme.palette.red[900],
1567
+ theme.palette.yellow[700],
1568
+ theme.palette.azure[900],
1569
+ theme.palette.teal[700],
1570
+ theme.palette.grey[200]
1480
1571
  ];
1481
- [
1482
- CHARTS_COLOR_PALETTE.greenLight,
1483
- CHARTS_COLOR_PALETTE.blue,
1484
- CHARTS_COLOR_PALETTE.fucsia,
1485
- CHARTS_COLOR_PALETTE.violet,
1486
- CHARTS_COLOR_PALETTE.orchidea, // Orchidea 300
1487
- ];
1488
- const CHARTS_COLOR_SCHEME_CATEGORICAL_8_A = [
1489
- CHARTS_COLOR_PALETTE.darkPine,
1490
- CHARTS_COLOR_PALETTE.fucsia,
1491
- CHARTS_COLOR_PALETTE.violet,
1492
- CHARTS_COLOR_PALETTE.greenLight,
1493
- CHARTS_COLOR_PALETTE.mattone,
1494
- CHARTS_COLOR_PALETTE.sky,
1495
- CHARTS_COLOR_PALETTE.orchidea,
1496
- CHARTS_COLOR_PALETTE.blue, // Blue 900
1497
- ];
1498
- [
1499
- CHARTS_COLOR_PALETTE.sky,
1500
- CHARTS_COLOR_PALETTE.orchidea,
1501
- CHARTS_COLOR_PALETTE.blue,
1502
- CHARTS_COLOR_PALETTE.darkPine,
1503
- CHARTS_COLOR_PALETTE.fucsia,
1504
- CHARTS_COLOR_PALETTE.violet,
1505
- CHARTS_COLOR_PALETTE.greenLight,
1506
- CHARTS_COLOR_PALETTE.mattone, // Mattone 900
1572
+ const CHARTS_COLOR_SCHEME_CATEGORICAL = [
1573
+ theme.palette.teal[700],
1574
+ theme.palette.pink[900],
1575
+ theme.palette.purple[300],
1576
+ theme.palette.crimson[500],
1577
+ theme.palette.royal[900],
1578
+ theme.palette.lemon[700],
1507
1579
  ];
1508
1580
 
1509
1581
  const ChartContainer = styled__default["default"].div `
@@ -1562,7 +1634,7 @@ const DEFAULT_CHART_MARGINS = { top: 0, right: 0, bottom: 30, left: 30 };
1562
1634
  const BarChart = ({ data, width, height, padding, margin, axisLeftLabel, axisBottomLabel, colors, tooltip, legend, }) => {
1563
1635
  const theme = React.useContext(styled.ThemeContext);
1564
1636
  const keys = [...new Set(data.map(({ keys }) => Object.keys(keys)).flat())];
1565
- const actualColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A;
1637
+ const actualColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
1566
1638
  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) => {
1567
1639
  const { keys } = d, rest = __rest(d, ["keys"]);
1568
1640
  return Object.assign(Object.assign({}, rest), keys);
@@ -1621,7 +1693,7 @@ const CustomBulletChartMarkers = ({ x, y, size, animatedProps: { color, transfor
1621
1693
  return (jsxRuntime.jsx(web.animated.circle, { transform: transform, cx: x, cy: y, fill: color, stroke: color, r: size }));
1622
1694
  };
1623
1695
 
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: CHARTS_COLOR_PALETTE.darkGrey }));
1696
+ 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] }));
1625
1697
 
1626
1698
  const CustomTooltip = ({ v0, v1, color }) => {
1627
1699
  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 }));
@@ -1632,7 +1704,7 @@ const UgBulletChart = styled__default["default"](bullet.ResponsiveBullet) `
1632
1704
  height: 100%;
1633
1705
  `;
1634
1706
  const BulletChart = ({ width, height, ranges, values }) => {
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, { theme: DEFAULT_CHARTS_THEME, data: [
1707
+ 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: [
1636
1708
  {
1637
1709
  id: "",
1638
1710
  title: "",
@@ -1640,10 +1712,10 @@ const BulletChart = ({ width, height, ranges, values }) => {
1640
1712
  measures: values,
1641
1713
  markers: values,
1642
1714
  },
1643
- ], animate: false, measureComponent: CustomMeasure, markerColors: CHARTS_COLOR_PALETTE.darkPine, markerComponent: (_a) => {
1715
+ ], animate: false, measureComponent: CustomMeasure, markerColors: theme.palette.teal[700], markerComponent: (_a) => {
1644
1716
  var markerProps = __rest(_a, ["size"]);
1645
1717
  return (jsxRuntime.jsx(CustomBulletChartMarkers, Object.assign({}, markerProps, { size: 4 })));
1646
- }, tooltip: CustomTooltip, rangeColors: CHARTS_COLOR_PALETTE.lightGrey, rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 5, bottom: -1, left: 0 } }) })) })));
1718
+ }, tooltip: CustomTooltip, rangeColors: theme.palette.grey[200], rangeBorderColor: "white", rangeBorderWidth: 2, margin: { top: 0, right: 5, bottom: -1, left: 0 } }) })) })));
1647
1719
  };
1648
1720
 
1649
1721
  const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeMultiplier, }) => {
@@ -1664,7 +1736,7 @@ const CenteredItem = ({ centerX, centerY, theme, radius, label, value, fontSizeM
1664
1736
  const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tooltip, legend, arcLinkLabelsSkipAngle, labelFormatter, }) => {
1665
1737
  var _a;
1666
1738
  const themeContext = React.useContext(styled.ThemeContext);
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_8_A, enableArcLabels: false, arcLinkLabelsColor: { from: "color" }, arcLinkLabelsSkipAngle: arcLinkLabelsSkipAngle !== null && arcLinkLabelsSkipAngle !== void 0 ? arcLinkLabelsSkipAngle : 10, arcLinkLabelsThickness: 2, arcLinkLabel: (d) => labelFormatter
1739
+ 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
1668
1740
  ? labelFormatter({
1669
1741
  label: d.label,
1670
1742
  id: d.id,
@@ -1688,7 +1760,7 @@ const PieChart = ({ theme, colors, width, height, data, centerItem, margin, tool
1688
1760
  (props) => (jsxRuntime.jsx(CenteredItem, Object.assign({}, props, { theme: themeContext, label: centerItem.label, value: centerItem.value, fontSizeMultiplier: centerItem.fontSizeMultiplier }))),
1689
1761
  ]
1690
1762
  : []),
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_8_A, data: data.map((d) => labelFormatter
1763
+ ], 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
1692
1764
  ? labelFormatter({
1693
1765
  label: d.label,
1694
1766
  id: d.id,
@@ -1710,7 +1782,7 @@ const AbsoluteChartContainer = styled__default["default"](ChartContainer) `
1710
1782
  `;
1711
1783
  const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }) => {
1712
1784
  const themeContext = React.useContext(styled.ThemeContext);
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_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: [
1785
+ 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: [
1714
1786
  "arcs",
1715
1787
  ...(showArcLinks
1716
1788
  ? ["arcLabels", "arcLinkLabels"]
@@ -1720,7 +1792,7 @@ const HalfPieChartComponent = ({ theme, colors, height, data, onMouseEnter, onMo
1720
1792
 
1721
1793
  const HalfPieChart = ({ theme, colors, width, height, data, margin, showArcLinks, }) => {
1722
1794
  const themeContext = React.useContext(styled.ThemeContext);
1723
- const activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A;
1795
+ const activeColors = colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL;
1724
1796
  while (activeColors.length < data.length) {
1725
1797
  activeColors.push(...activeColors);
1726
1798
  }
@@ -1797,7 +1869,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
1797
1869
  padding: 0,
1798
1870
  } }) }) : DEFAULT_CHARTS_THEME, colors: currentColor
1799
1871
  ? () => currentColor
1800
- : colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL_8_A, borderWidth: 4, cornerRadius: 4, onMouseEnter: (node) => {
1872
+ : colors !== null && colors !== void 0 ? colors : CHARTS_COLOR_SCHEME_CATEGORICAL, borderWidth: 4, cornerRadius: 4, onMouseEnter: (node) => {
1801
1873
  if (node.data.children) {
1802
1874
  setIsHovering(true);
1803
1875
  }
@@ -1827,7 +1899,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
1827
1899
  } })),
1828
1900
  ]
1829
1901
  : []),
1830
- ], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.5]] }, onClick: (clickedData) => {
1902
+ ], id: "name", value: "value", margin: Object.assign({ top: 40, bottom: 40 }, margin), data: currentData, childColor: { from: "color", modifiers: [["brighter", 0.6]] }, onClick: (clickedData) => {
1831
1903
  const foundObject = findChildrenByName(currentData, clickedData.id.toString());
1832
1904
  if (foundObject && foundObject.children) {
1833
1905
  changeDataSlice({
@@ -1835,7 +1907,7 @@ const SunburstChart = ({ colors, width, height, data, centerItem, margin, onChan
1835
1907
  color: clickedData.color,
1836
1908
  });
1837
1909
  }
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_8_A, data: data.children.map((d) => d.label || d.name) }, (typeof legend === "object" && legend)))) : undefined }))] }));
1910
+ } }) })), 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 }))] }));
1839
1911
  };
1840
1912
 
1841
1913
  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 => {
@@ -2044,11 +2116,11 @@ Dropdown.Separator = Separator;
2044
2116
  const StyledAutocomplete = styled__default["default"](Autocomplete) `
2045
2117
  ${(props) => props.hasSelectedItems &&
2046
2118
  `
2047
- border-color: ${props.theme.colors.primaryHue};
2048
- background-color: ${props.theme.colors.primaryHue};
2119
+ border-color: ${getColor(theme.colors.primaryHue, 600)};
2120
+ background-color: ${getColor(theme.colors.primaryHue, 600)};
2049
2121
  color: white;
2050
2122
  & > input, & > svg {
2051
- color: white;
2123
+ color: ${props.theme.palette.white};
2052
2124
  }
2053
2125
  `}
2054
2126
  `;
@@ -2518,20 +2590,10 @@ const Header$1 = styled__default["default"].div `
2518
2590
  border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
2519
2591
  `;
2520
2592
  const Title$1 = styled__default["default"](MD) `
2521
- ${({ validation, theme }) => {
2522
- if (validation === "success") {
2523
- return `color: ${theme.colors.successHue};`;
2524
- }
2525
- else if (validation === "warning") {
2526
- return `color: ${theme.colors.warningHue};`;
2527
- }
2528
- else if (validation === "error") {
2529
- return `color: ${theme.palette.dangerHue};`;
2530
- }
2531
- else {
2532
- return `color: ${theme.colors.primaryHue};`;
2533
- }
2534
- }}
2593
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
2594
+ ${props => props.validation === "success" && reactTheming.retrieveComponentStyles("text.success", props)}
2595
+ ${props => props.validation === "warning" && reactTheming.retrieveComponentStyles("text.warning", props)}
2596
+ ${props => props.validation === "error" && reactTheming.retrieveComponentStyles("text.danger", props)}
2535
2597
  `;
2536
2598
  const EditorHeader = (props) => {
2537
2599
  const { title, validation } = props;
@@ -2551,29 +2613,8 @@ const EditorFooter = ({ saveText }) => {
2551
2613
  return jsxRuntime.jsxs(Footer$2, { children: [jsxRuntime.jsxs(Tag, { children: [isMac() ? "Cmd" : "Ctrl", "+enter"] }), "\u00A0", jsxRuntime.jsx(Text, { children: saveText || "to save" })] });
2552
2614
  };
2553
2615
 
2554
- const EditorContainer = styled__default["default"].div `
2555
- border: 2px solid;
2556
- border-radius: ${({ theme }) => theme.borderRadii.md};
2557
- &:focus-within {
2558
- outline: ${({ theme }) => theme.palette.blue["300"]};
2559
- outline-style: solid;
2560
- }
2561
-
2562
- ${({ validation, theme }) => {
2563
- if (validation === "success") {
2564
- return `border-color: ${theme.colors.successHue};`;
2565
- }
2566
- else if (validation === "warning") {
2567
- return `border-color: ${theme.colors.warningHue};`;
2568
- }
2569
- else if (validation === "error") {
2570
- return `border-color: ${theme.colors.dangerHue};`;
2571
- }
2572
- else {
2573
- return `border-color: ${theme.colors.primaryHue};`;
2574
- }
2575
- }}
2576
-
2616
+ const EditorContainer = styled__default["default"](reactForms.FauxInput) `
2617
+
2577
2618
  ${({ editable }) => !editable &&
2578
2619
  `
2579
2620
  border: none;
@@ -2624,6 +2665,7 @@ const Editor = (_a) => {
2624
2665
  };
2625
2666
  const ed = react.useEditor(Object.assign({ extensions: [
2626
2667
  Typography__default["default"],
2668
+ Link__default["default"],
2627
2669
  StarterKit__default["default"],
2628
2670
  Placeholder__default["default"].configure(Object.assign({ placeholder: ({ node }) => {
2629
2671
  if (node.type.name === "heading") {
@@ -2671,7 +2713,7 @@ const CheckboxCard = (props) => {
2671
2713
  setChecked(!checked);
2672
2714
  props.onToggle && props.onToggle(!checked);
2673
2715
  };
2674
- 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 })) })) }))] })));
2716
+ 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 })) })) }))] })));
2675
2717
  };
2676
2718
 
2677
2719
  const UgField = styled__default["default"](reactForms.Field) ``;
@@ -2750,7 +2792,6 @@ const Wrapper$1 = styled__default["default"].div `
2750
2792
 
2751
2793
  svg {
2752
2794
  margin-left: ${({ theme }) => theme.space.xs};
2753
- flex-shrink: 0;
2754
2795
  }
2755
2796
  }
2756
2797
  `;
@@ -2851,7 +2892,7 @@ const Circle = styled__default["default"].div `
2851
2892
  height: ${({ theme }) => theme.space.base * 6}px;
2852
2893
  padding: ${({ theme }) => theme.space.base * 1.25}px;
2853
2894
  border-radius: 50%;
2854
- background-color: ${({ theme }) => theme.colors.primaryHue};
2895
+ background-color: ${({ theme }) => getColor(theme.colors.primaryHue, 600)};
2855
2896
  display: flex;
2856
2897
  flex-direction: column;
2857
2898
  justify-content: center;
@@ -2868,7 +2909,7 @@ const RadioCard = (_a) => {
2868
2909
  var { card, icon, iconActive } = _a, props = __rest(_a, ["card", "icon", "iconActive"]);
2869
2910
  return (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: props.label }, card, props, { className: props.checked ? "card-active" : "", onClick: () => {
2870
2911
  props.onChecked && props.onChecked(props.value);
2871
- } }, { children: [jsxRuntime.jsx(SpecialCard.Meta, Object.assign({ justifyContent: "end" }, { children: jsxRuntime.jsx(Circle, Object.assign({ checked: (_b = props.checked) !== null && _b !== void 0 ? _b : false }, { children: jsxRuntime.jsx(SvgCheckLg, { fill: "white" }) })) })), jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ isStretched: true }, { children: iconActive && props.checked ? iconActive : icon })), jsxRuntime.jsx("input", { hidden: true, type: "radio", value: props.value, name: props.name, checked: props.checked }), jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(StyledText, Object.assign({ style: props.checked ? { color: theme.colors.primaryHue } : {} }, { children: props.label })) }))] })));
2912
+ } }, { children: [jsxRuntime.jsx(SpecialCard.Meta, Object.assign({ justifyContent: "end" }, { children: jsxRuntime.jsx(Circle, Object.assign({ checked: (_b = props.checked) !== null && _b !== void 0 ? _b : false }, { children: jsxRuntime.jsx(SvgCheckLg, { fill: "white" }) })) })), jsxRuntime.jsx(SpecialCard.Thumb, Object.assign({ isStretched: true }, { children: iconActive && props.checked ? iconActive : icon })), jsxRuntime.jsx("input", { hidden: true, type: "radio", value: props.value, name: props.name, checked: props.checked }), jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ direction: "column", justifyContent: "center" }, { children: jsxRuntime.jsx(StyledText, Object.assign({ style: props.checked ? { color: getColor(theme.colors.primaryHue, 600) } : {} }, { children: props.label })) }))] })));
2872
2913
  };
2873
2914
 
2874
2915
  const UgTextarea = styled__default["default"](reactForms.Textarea) ``;
@@ -3109,7 +3150,7 @@ const WorkspacesDropdown = (props) => {
3109
3150
  props.onWorkspaceChange && props.onWorkspaceChange(workspace);
3110
3151
  }, downshiftProps: {
3111
3152
  itemToString: (item) => item && item.company,
3112
- } }, { children: [jsxRuntime.jsx(reactDropdowns.Field, { children: jsxRuntime.jsx(Select, Object.assign({ style: { color: theme.colors.primaryHue } }, { children: jsxRuntime.jsx(StyledEllipsis, Object.assign({ isCompact: props.isCompact }, { children: selectedWorkspace
3153
+ } }, { children: [jsxRuntime.jsx(reactDropdowns.Field, { children: jsxRuntime.jsx(Select, Object.assign({ style: { color: getColor(theme.colors.primaryHue, 600) } }, { children: jsxRuntime.jsx(StyledEllipsis, Object.assign({ isCompact: props.isCompact }, { children: selectedWorkspace
3113
3154
  ? selectedWorkspace.company + "'s workspace"
3114
3155
  : "Select workspace" })) })) }), jsxRuntime.jsxs(Menu, { children: [jsxRuntime.jsx(MenuHeaderItem, { children: jsxRuntime.jsx(MD, Object.assign({ isBold: true, style: { color: theme.palette.grey[800] } }, { children: props.workspacesLabel || "Workspaces" })) }), jsxRuntime.jsx(Separator, {}), props.workspaces && props.workspaces.map((item) => (jsxRuntime.jsx(Item$1, Object.assign({ value: item }, { children: item.company }))))] })] })));
3115
3156
  };
@@ -3129,30 +3170,30 @@ const LogoIconContainer = styled__default["default"](reactChrome.HeaderItem) `
3129
3170
  const BrandName = styled__default["default"](reactChrome.HeaderItem) `
3130
3171
  margin-right: auto;
3131
3172
  margin-left: -8px;
3132
- color: ${({ theme }) => theme.colors.primaryHue};
3133
3173
  pointer-events: none;
3134
3174
  font-family: ${({ theme }) => theme.fonts.system};
3135
3175
  @media (max-width: ${({ theme }) => theme.breakpoints.md}) {
3136
3176
  display: none;
3137
3177
  }
3178
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3138
3179
  `;
3139
3180
  const DropdownItem = styled__default["default"](reactChrome.HeaderItem) `
3140
3181
  margin-right: auto;
3141
3182
  margin-left: -8px;
3142
- color: ${({ theme }) => theme.colors.primaryHue};
3143
3183
  font-family: ${({ theme }) => theme.fonts.system};
3144
3184
  z-index: 2;
3145
3185
  @media (max-width: ${({ theme }) => theme.breakpoints.md}) {
3146
3186
  display: none;
3147
3187
  }
3188
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3148
3189
  `;
3149
3190
  const MenuItem$1 = styled__default["default"](reactChrome.HeaderItem) `
3150
- color: ${({ theme }) => theme.colors.primaryHue};
3151
3191
  position: absolute;
3152
3192
  left: 0;
3153
3193
  @media (min-width: ${({ theme }) => theme.breakpoints.md}) {
3154
3194
  display: none;
3155
3195
  }
3196
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3156
3197
  `;
3157
3198
  const BrandItem = (props) => {
3158
3199
  const { menuLabel, toggleMenu } = props, rest = __rest(props, ["menuLabel", "toggleMenu"]);
@@ -3198,7 +3239,7 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
3198
3239
 
3199
3240
  @media (min-width: ${p => p.theme.breakpoints.md}) {
3200
3241
  border-right: ${({ theme }) => theme.borders.sm};
3201
- border-color: ${({ theme }) => reactTheming.getColor(theme.colors.neutralHue, 300)};
3242
+ border-color: ${({ theme }) => getColor(theme.colors.neutralHue, 300)};
3202
3243
  width: ${p => p.theme.components.chrome.nav.openWidth}px;
3203
3244
  margin-left: ${p => p.isExpanded
3204
3245
  ? 0
@@ -3215,30 +3256,11 @@ const UgNav = styled__default["default"](reactChrome.Nav) `
3215
3256
  */
3216
3257
  const Nav = (props) => jsxRuntime.jsx(UgNav, Object.assign({}, props));
3217
3258
 
3218
- const SelectedItemStyle = styled.css `
3219
- background-color: ${({ theme }) => theme.palette.kale["100"]};
3220
- `;
3221
3259
  const UgNavItem$2 = styled__default["default"](reactChrome.NavItem) `
3222
- border-top-left-radius: ${(props) => props.theme.space.base * 6}px;
3223
- border-bottom-left-radius: ${(props) => props.theme.space.base * 6}px;
3224
- font-family: ${({ theme }) => theme.fonts.system};
3225
3260
  ${sidebarNavItemExpanded}
3226
3261
  ${(props) => !props.isExpanded && sidebarNavItemHidden}
3227
- ${(props) => props.isCurrent && SelectedItemStyle}
3228
- &:focus {
3229
- ${SelectedItemStyle}
3230
- }
3231
- &:hover {
3232
- background-color: ${({ theme }) => theme.palette.kale["200"]};
3233
- }
3234
- color: ${(props) => props.theme.colors.primaryHue};
3235
- font-weight: ${(props) => props.theme.fontWeights.medium};
3236
- ${(props) => props.isCurrent &&
3237
- `
3238
- color: ${props.theme.palette.blue["700"]};
3239
- font-weight: ${props.theme.fontWeights.semibold};
3240
- `}
3241
3262
  margin: ${({ theme }) => theme.space.xs} 0;
3263
+ ${(props) => reactTheming.retrieveComponentStyles("navigation.hoverableItem", props)};
3242
3264
  `;
3243
3265
  const NavItem = React.forwardRef((props, ref) => jsxRuntime.jsx(UgNavItem$2, Object.assign({ ref: ref }, props)));
3244
3266
 
@@ -3329,29 +3351,62 @@ const UgProjectSubtitle = styled__default["default"](NavItemText) `
3329
3351
  font-size: ${(props) => props.theme.fontSizes.sm};
3330
3352
  `;
3331
3353
  const UgNavItem = styled__default["default"](NavItem) `
3354
+ display: flex;
3332
3355
  flex-flow: column;
3333
- align-items: flex-start;
3334
- padding: 12px 8px;
3335
- opacity: 1;
3336
- padding-left: ${({ theme }) => theme.space.xxl}; //Accordion Alingment
3356
+ width: 100%;
3357
+ overflow: hidden;
3358
+ padding: ${({ theme }) => theme.space.sm} ${({ theme }) => theme.space.xs};
3359
+ padding-left: ${({ theme }) => theme.space.xxl};
3337
3360
  `;
3338
3361
  const NavItemComponent = React.forwardRef((props, ref) => jsxRuntime.jsx(UgNavItem, Object.assign({ ref: ref }, props)));
3339
3362
  const NavItemProject = NavItemComponent;
3340
3363
  NavItemProject.Title = NavItemText;
3341
3364
  NavItemProject.SubTitle = UgProjectSubtitle;
3342
3365
 
3366
+ const NavAccordionItem = styled__default["default"](Accordion) `
3367
+ ${sidebarNavItemExpanded}
3368
+ ${props => !props.isExpanded && sidebarNavItemHidden}
3369
+ order: 1;
3370
+ margin: ${({ theme }) => theme.space.xs} 0;
3371
+ padding-left: 8.5px;
3372
+ `;
3373
+ const AccordionItemHeader = styled__default["default"](Accordion.Header) `
3374
+ > svg {
3375
+ flex-shrink: 0;
3376
+
3377
+ &:first-of-type {
3378
+ margin: 0 8.5px;
3379
+ }
3380
+ }
3381
+ `;
3382
+ const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
3383
+ max-height: 180px;
3384
+ overflow-y: auto;
3385
+ `;
3386
+ const AccordionItemLabel = styled__default["default"](Accordion.Label) `
3387
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3388
+ font-weight: ${({ theme }) => theme.fontWeights.regular};
3389
+ padding: 0;
3390
+ margin: 0 8.5px;
3391
+ `;
3392
+ NavAccordionItem.Panel = AccordionItemPanel;
3393
+ NavAccordionItem.Header = AccordionItemHeader;
3394
+ NavAccordionItem.Label = AccordionItemLabel;
3395
+
3343
3396
  var _path$j;
3344
3397
  function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
3345
3398
  var SvgHomeFill = function SvgHomeFill(props) {
3346
3399
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
3347
- xmlns: "http://www.w3.org/2000/svg",
3348
3400
  width: 26,
3349
3401
  height: 26,
3350
- focusable: "false",
3351
- viewBox: "0 0 26 26"
3402
+ viewBox: "0 0 26 26",
3403
+ fill: "none",
3404
+ xmlns: "http://www.w3.org/2000/svg"
3352
3405
  }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
3353
- fill: "currentColor",
3354
- d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
3406
+ fillRule: "evenodd",
3407
+ clipRule: "evenodd",
3408
+ d: "M11.027 21H5.973C5.436 21 5 20.523 5 19.935V17.065C5 16.475 5.436 16 5.973 16H11.027C11.564 16 12 16.476 12 17.065V19.935C12 20.523 11.564 21 11.027 21ZM11.024 14H5.977C5.437 14 5 13.577 5 13.055V5.945C5 5.425 5.438 5 5.977 5H11.024C11.564 5 12 5.424 12 5.946V13.056C12 13.577 11.563 14 11.024 14ZM14.979 5H20.021C20.561 5 21 5.478 21 6.069V8.932C21 9.522 20.561 10 20.021 10H14.979C14.439 10 14 9.522 14 8.932V6.07C14 5.48 14.439 5.001 14.979 5.001M14.972 12H20.028C20.565 12 21 12.42 21 12.94V20.06C21 20.579 20.565 21 20.028 21H14.972C14.435 21 14 20.579 14 20.06V12.94C14 12.42 14.435 12 14.972 12Z",
3409
+ fill: "#336179"
3355
3410
  })));
3356
3411
  };
3357
3412
 
@@ -3359,11 +3414,11 @@ var _linearGradient, _path$i;
3359
3414
  function _extends$l() { _extends$l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$l.apply(this, arguments); }
3360
3415
  var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3361
3416
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
3362
- xmlns: "http://www.w3.org/2000/svg",
3363
3417
  width: 26,
3364
3418
  height: 26,
3365
- focusable: "false",
3366
- viewBox: "0 0 26 26"
3419
+ viewBox: "0 0 26 26",
3420
+ fill: "none",
3421
+ xmlns: "http://www.w3.org/2000/svg"
3367
3422
  }, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
3368
3423
  id: "unguessIconGradient"
3369
3424
  }, /*#__PURE__*/React__namespace.createElement("stop", {
@@ -3376,7 +3431,9 @@ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
3376
3431
  stopColor: "#001825"
3377
3432
  }))), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
3378
3433
  fill: "url(#unguessIconGradient)",
3379
- d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
3434
+ fillRule: "evenodd",
3435
+ clipRule: "evenodd",
3436
+ d: "M11.027 21H5.973C5.436 21 5 20.523 5 19.935V17.065C5 16.475 5.436 16 5.973 16H11.027C11.564 16 12 16.476 12 17.065V19.935C12 20.523 11.564 21 11.027 21ZM11.024 14H5.977C5.437 14 5 13.577 5 13.055V5.945C5 5.425 5.438 5 5.977 5H11.024C11.564 5 12 5.424 12 5.946V13.056C12 13.577 11.563 14 11.024 14ZM14.979 5H20.021C20.561 5 21 5.478 21 6.069V8.932C21 9.522 20.561 10 20.021 10H14.979C14.439 10 14 9.522 14 8.932V6.07C14 5.48 14.439 5.001 14.979 5.001M14.972 12H20.028C20.565 12 21 12.42 21 12.94V20.06C21 20.579 20.565 21 20.028 21H14.972C14.435 21 14 20.579 14 20.06V12.94C14 12.42 14.435 12 14.972 12Z"
3380
3437
  })));
3381
3438
  };
3382
3439
 
@@ -3421,17 +3478,19 @@ var SvgToken = function SvgToken(props) {
3421
3478
 
3422
3479
  var _path$h;
3423
3480
  function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
3424
- var SvgFolderIcon = function SvgFolderIcon(props) {
3481
+ var SvgProjectsIcon = function SvgProjectsIcon(props) {
3425
3482
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
3426
- width: 12,
3427
- height: 12,
3428
- viewBox: "0 0 12 12",
3483
+ width: 26,
3484
+ height: 26,
3485
+ viewBox: "0 0 26 26",
3486
+ fill: "none",
3429
3487
  xmlns: "http://www.w3.org/2000/svg"
3430
3488
  }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
3431
3489
  fillRule: "evenodd",
3432
3490
  clipRule: "evenodd",
3433
- d: "M9.99976 4H6.99976V3.5C6.99976 2.62386 6.3759 2 5.49976 2H2.49976C1.62362 2 0.999758 2.62386 0.999758 3.5V6H0.499758C0.174472 6 -0.0642066 6.30569 0.0146868 6.62127L1.01469 10.6213C1.07033 10.8439 1.27032 11 1.49976 11H10.4998C10.7292 11 10.9292 10.8439 10.9848 10.6213L11.9848 6.62127C12.0637 6.30569 11.825 6 11.4998 6H10.9998V5C10.9998 4.42386 10.5759 4 9.99976 4ZM10.8594 7H1.14015L1.89015 10H10.1094L10.8594 7ZM1.99976 6H9.99976V5H5.99976V3.5C5.99976 3.17614 5.82362 3 5.49976 3H2.49976C2.1759 3 1.99976 3.17614 1.99976 3.5V6Z",
3434
- fill: "currentColor"
3491
+ d: "M20.5 8H14.25V7.375C14.25 6.34232 13.4077 5.5 12.375 5.5H6.125C5.09232 5.5 4.25 6.34232 4.25 7.375V13.005C3.53426 13.0685 3.01354 13.7329 3.1335 14.4527L4.171 20.7027C4.27098 21.3026 4.79293 21.75 5.4 21.75H20.6C21.2071 21.75 21.729 21.3026 21.829 20.7027L22.8666 14.4523C22.9865 13.7329 22.4657 13.0685 21.75 13.005V9.25C21.75 8.55482 21.1952 8 20.5 8ZM21.633 14.25H4.36695L5.404 20.4973C5.40404 20.4974 20.6 20.5 20.6 20.5C20.5929 20.5 21.633 14.25 21.633 14.25ZM5.5 13H20.5V9.25H13V7.375C13 7.03268 12.7173 6.75 12.375 6.75H6.125C5.78268 6.75 5.5 7.03268 5.5 7.375V13Z",
3492
+ fill: "#336179",
3493
+ stroke: "#336179"
3435
3494
  })));
3436
3495
  };
3437
3496
 
@@ -3502,52 +3561,6 @@ const LoadingSidebar = (props) => {
3502
3561
  return (jsxRuntime.jsxs(StyledNav, Object.assign({}, props, { isExpanded: isExpanded }, { children: [jsxRuntime.jsx(NavToggle, { isExpanded: isExpanded }), jsxRuntime.jsxs(NavItem, Object.assign({ isExpanded: isExpanded, isCurrent: true }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: jsxRuntime.jsx(Skeleton, { width: "32px", height: "32px", style: { borderRadius: "100%" } }) })), jsxRuntime.jsx(Skeleton, { height: "12px", width: "60%" }), jsxRuntime.jsx(NavItemText, {})] })), jsxRuntime.jsx(NavDivider, { isExpanded: isExpanded }), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 1), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 2), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 3), jsxRuntime.jsxs(NavItemProject, Object.assign({ isExpanded: isExpanded, isCurrent: false }, { children: [jsxRuntime.jsx(Skeleton, { width: "60%", style: { marginBottom: "6px" } }), jsxRuntime.jsx(Skeleton, { height: "12px", width: "80%" })] }), 4), jsxRuntime.jsxs(NavItem, Object.assign({ isExpanded: isExpanded, hasBrandmark: true, title: "Be smart from the start", style: { pointerEvents: "none" } }, { children: [jsxRuntime.jsx(NavItemIcon, { children: jsxRuntime.jsx(Skeleton, { width: "32px", height: "32px", style: { borderRadius: "100%" } }) }), jsxRuntime.jsx(NavItemText, { children: "UNGUESS" })] }))] })));
3503
3562
  };
3504
3563
 
3505
- const AccordionItem = styled__default["default"](Accordion) `
3506
- opacity: 1;
3507
- ${sidebarNavItemExpanded}
3508
- ${(props) => !props.isExpanded && sidebarNavItemHidden}
3509
- order: 1;
3510
- margin-top: ${({ theme }) => theme.space.xs}px;
3511
- `;
3512
- const AccordionItemHeader = styled__default["default"](Accordion.Header) `
3513
- flex-direction: row-reverse;
3514
- border-top-left-radius: ${({ theme }) => theme.space.base * 6}px;
3515
- border-bottom-left-radius: ${({ theme }) => theme.space.base * 6}px;
3516
-
3517
- > button {
3518
- padding-left: 2px;
3519
- }
3520
-
3521
- svg {
3522
- width: 26px;
3523
- }
3524
-
3525
- &:hover {
3526
- background-color: ${(props) => props.theme.palette.kale["200"]};
3527
- }
3528
- `;
3529
- const AccordionItemPanel = styled__default["default"](Accordion.Panel) `
3530
- max-height: 180px;
3531
- padding: 0;
3532
- padding-left: 5px;
3533
- overflow-y: hidden;
3534
- opacity: 1;
3535
- &:hover {
3536
- overflow-y: auto;
3537
- }
3538
- `;
3539
- const AccordionItemLabel = styled__default["default"](Accordion.Label) `
3540
- padding: 12px 9px;
3541
- ${({ theme }) => `
3542
- color: ${theme.colors.primaryHue};
3543
- fill: ${theme.colors.primaryHue};
3544
- font-weight: ${theme.fontWeights.medium};
3545
- `}
3546
- `;
3547
- AccordionItem.Panel = AccordionItemPanel;
3548
- AccordionItem.Header = AccordionItemHeader;
3549
- AccordionItem.Label = AccordionItemLabel;
3550
-
3551
3564
  const TokenContainer = styled__default["default"].div `
3552
3565
  display: flex;
3553
3566
  align-items: center;
@@ -3616,7 +3629,7 @@ const Sidebar = (_a) => {
3616
3629
  }, [props.isExpanded]);
3617
3630
  return props.isLoading ? (jsxRuntime.jsx(LoadingSidebar, Object.assign({}, props))) : (jsxRuntime.jsxs(Nav, Object.assign({}, props, { children: [jsxRuntime.jsxs(ScrollingContainer, { children: [jsxRuntime.jsx(NavToggle, { onClick: toggleNav, isExpanded: props.isExpanded }), showWorkspacesDropdown &&
3618
3631
  props.workspaces &&
3619
- props.workspaces.length > 1 && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(StyledNavItem, Object.assign({ title: "Workspaces", hasLogo: true, isExpanded: props.isExpanded, style: padding }, { children: jsxRuntime.jsx(WorkspacesDropdown, { workspaces: props.workspaces, workspacesLabel: props.workspacesLabel, activeWorkspace: props.activeWorkspace, onWorkspaceChange: props.onWorkspaceChange, isCompact: true }) })) })), props.tokens && (jsxRuntime.jsx(SidebarLabel, Object.assign({ isExpanded: props.isExpanded }, { children: props.activityLabel || "My activity" }))), jsxRuntime.jsxs(NavItem, Object.assign({ className: "sidebar-first-level-item", title: "Home", isExpanded: props.isExpanded, isCurrent: nav === "home", onClick: () => navigate("home") }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: nav === "home" ? jsxRuntime.jsx(SvgHomeFillStyled, {}) : jsxRuntime.jsx(SvgHomeFill, {}) })), jsxRuntime.jsx(NavItemText, { children: props.homeItemLabel || "My Campaigns" })] })), projects && projects.length ? (jsxRuntime.jsx(AccordionItem, Object.assign({ className: "sidebar-project-accordion-first-item", level: 4, defaultExpandedSections: defaultAccordionPanels, isExpanded: props.isExpanded, isAnimated: false }, { children: jsxRuntime.jsxs(AccordionItem.Section, { children: [jsxRuntime.jsx(AccordionItem.Header, { children: jsxRuntime.jsxs(AccordionItem.Label, { children: [props.dividerLabel || "", " ", jsxRuntime.jsx(SvgFolderIcon, { style: { marginLeft: theme.space.xs } })] }) }), jsxRuntime.jsx(AccordionItem.Panel, { children: projects.map((project) => (jsxRuntime.jsxs(NavItemProject, Object.assign({ className: "sidebar-project-item", isExpanded: props.isExpanded, isCurrent: nav === `projects/${project.id}` }, (nav === `projects/${project.id}` && { ref: prjRef }), { onClick: () => navigate("projects", project.id) }, { children: [jsxRuntime.jsx(NavItemProject.Title, { title: project.title, children: project.title }), jsxRuntime.jsx(NavItemProject.SubTitle, { children: project.campaigns })] }), project.id))) })] }) }))) : null, jsxRuntime.jsx(NavDivider, { isExpanded: props.isExpanded }), jsxRuntime.jsxs(NavItem, Object.assign({ className: "sidebar-first-level-item", title: "Services", isExpanded: props.isExpanded, isCurrent: nav === "services", onClick: () => navigate("services"), style: { marginBottom: "16px" } }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: nav === "services" ? jsxRuntime.jsx(SvgTemplatesActive, {}) : jsxRuntime.jsx(SvgTemplates, {}) })), jsxRuntime.jsx(NavItemText, { children: props.servicesItemLabel || "Services" })] })), props.tokens && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(SidebarLabel, Object.assign({ isExpanded: props.isExpanded }, { children: props.walletLabel || "Wallet" })), jsxRuntime.jsx(StyledNavItem, Object.assign({ title: "Tokens", isExpanded: props.isExpanded, style: { pointerEvents: "none", paddingTop: 0 } }, { children: jsxRuntime.jsx(Card, Object.assign({ style: { padding: theme.space.sm } }, { children: jsxRuntime.jsxs(TokenContainer, { children: [jsxRuntime.jsx(SvgToken, { width: 32 }), jsxRuntime.jsx(Span, Object.assign({ isBold: true, style: {
3632
+ props.workspaces.length > 1 && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(StyledNavItem, Object.assign({ title: "Workspaces", hasLogo: true, isExpanded: props.isExpanded, style: padding }, { children: jsxRuntime.jsx(WorkspacesDropdown, { workspaces: props.workspaces, workspacesLabel: props.workspacesLabel, activeWorkspace: props.activeWorkspace, onWorkspaceChange: props.onWorkspaceChange, isCompact: true }) })) })), props.tokens && (jsxRuntime.jsx(SidebarLabel, Object.assign({ isExpanded: props.isExpanded }, { children: props.activityLabel || "My activity" }))), jsxRuntime.jsxs(NavItem, Object.assign({ className: "sidebar-first-level-item", title: "Home", isExpanded: props.isExpanded, isCurrent: nav === "home", onClick: () => navigate("home") }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: nav === "home" ? jsxRuntime.jsx(SvgHomeFillStyled, {}) : jsxRuntime.jsx(SvgHomeFill, {}) })), jsxRuntime.jsx(NavItemText, { children: props.homeItemLabel || "My Campaigns" })] })), projects && projects.length ? (jsxRuntime.jsx(NavAccordionItem, Object.assign({ className: "sidebar-project-accordion-first-item", level: 4, defaultExpandedSections: defaultAccordionPanels, isExpanded: props.isExpanded, isAnimated: false }, { children: jsxRuntime.jsxs(NavAccordionItem.Section, { children: [jsxRuntime.jsxs(NavAccordionItem.Header, { children: [jsxRuntime.jsx(SvgProjectsIcon, {}), jsxRuntime.jsxs(NavAccordionItem.Label, { children: [props.dividerLabel || "", " "] })] }), jsxRuntime.jsx(NavAccordionItem.Panel, Object.assign({ style: { padding: 0 } }, { children: projects.map((project) => (jsxRuntime.jsxs(NavItemProject, Object.assign({ className: "sidebar-project-item", isExpanded: props.isExpanded, isCurrent: nav === `projects/${project.id}` }, (nav === `projects/${project.id}` && { ref: prjRef }), { onClick: () => navigate("projects", project.id) }, { children: [jsxRuntime.jsx(NavItemProject.Title, { title: project.title, children: project.title }), jsxRuntime.jsx(NavItemProject.SubTitle, { children: project.campaigns })] }), project.id))) }))] }) }))) : null, jsxRuntime.jsx(NavDivider, { isExpanded: props.isExpanded }), jsxRuntime.jsxs(NavItem, Object.assign({ className: "sidebar-first-level-item", title: "Services", isExpanded: props.isExpanded, isCurrent: nav === "services", onClick: () => navigate("services"), style: { marginBottom: "16px" } }, { children: [jsxRuntime.jsx(NavItemIcon, Object.assign({ isStyled: true }, { children: nav === "services" ? jsxRuntime.jsx(SvgTemplatesActive, {}) : jsxRuntime.jsx(SvgTemplates, {}) })), jsxRuntime.jsx(NavItemText, { children: props.servicesItemLabel || "Services" })] })), props.tokens && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(SidebarLabel, Object.assign({ isExpanded: props.isExpanded }, { children: props.walletLabel || "Wallet" })), jsxRuntime.jsx(StyledNavItem, Object.assign({ title: "Tokens", isExpanded: props.isExpanded, style: { pointerEvents: "none", paddingTop: 0 } }, { children: jsxRuntime.jsx(Card, Object.assign({ style: { padding: theme.space.sm } }, { children: jsxRuntime.jsxs(TokenContainer, { children: [jsxRuntime.jsx(SvgToken, { width: 32 }), jsxRuntime.jsx(Span, Object.assign({ isBold: true, style: {
3620
3633
  marginLeft: theme.space.xs,
3621
3634
  color: theme.palette.grey[800],
3622
3635
  } }, { children: props.tokens + " " + (props.tokensLabel || "tokens") }))] }) })) }))] }))] }), jsxRuntime.jsxs(NavItem, Object.assign({ isExpanded: props.isExpanded, hasBrandmark: true, title: "Be smart from the start", style: { pointerEvents: "none", paddingBottom: theme.space.md } }, { children: [jsxRuntime.jsx(NavItemIcon, { children: jsxRuntime.jsx(Logo, { type: "icon", size: 150 }) }), jsxRuntime.jsx(NavItemText, { children: "UNGUESS" })] }))] })));
@@ -3713,7 +3726,7 @@ const LoginForm = (props) => {
3713
3726
  ? true
3714
3727
  : isSubmitting
3715
3728
  ? true
3716
- : 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 })) })))] })));
3729
+ : false, isPrimary: true, isAccent: true, style: { marginBottom: theme.space.md } }, { children: props.buttonText })), status && (jsxRuntime.jsx("div", Object.assign({ style: { textAlign: "center" } }, { children: jsxRuntime.jsx(Message, Object.assign({ validation: "error" }, { children: status.message })) })))] })));
3717
3730
  } }))] })), props.onBackClick && (jsxRuntime.jsxs(Button, Object.assign({ onClick: props.onBackClick, isBasic: true, style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.backToLabel || "Back to UNGUESS"] })))] }));
3718
3731
  };
3719
3732
 
@@ -3926,12 +3939,12 @@ const MainOverline = styled__default["default"](MD) `
3926
3939
  margin-bottom: ${({ theme }) => theme.space.md};
3927
3940
  `;
3928
3941
  const MainTitle = styled__default["default"].h1 `
3929
- color: ${({ theme }) => theme.colors.primaryHue};
3930
3942
  font-size: ${({ theme }) => theme.fontSizes.xxxl};
3931
3943
  font-weight: ${({ theme }) => theme.fontWeights.semibold};
3932
3944
  line-height: ${({ theme }) => theme.lineHeights.xxxl};
3933
3945
  width: 100%;
3934
3946
  margin-bottom: ${({ theme }) => theme.space.sm};
3947
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
3935
3948
  `;
3936
3949
  const MainDescription = styled__default["default"](LG) `
3937
3950
  color: ${({ theme }) => theme.palette.grey[600]};
@@ -4206,7 +4219,7 @@ const ControlsGroupCenter = ({ videoRef, isPlaying, onPlayChange, }) => {
4206
4219
  } }, { 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) => {
4207
4220
  onForward();
4208
4221
  e.stopPropagation();
4209
- } }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(Button, Object.assign({ isBright: true, isPill: true, onClick: (e) => {
4222
+ } }, { children: jsxRuntime.jsx(SvgForwardSecondsFill, {}) })), jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, isPill: true, onClick: (e) => {
4210
4223
  const newSpeed = getNextPlaybackRate(playBackRate);
4211
4224
  if (videoRef === null || videoRef === void 0 ? void 0 : videoRef.playbackRate) {
4212
4225
  setPlayBackRate(newSpeed);
@@ -4376,7 +4389,7 @@ const ControlsWrapper = styled__default["default"].div `
4376
4389
  const StyledProgress = styled__default["default"](Progress) `
4377
4390
  width: 100%;
4378
4391
  border-radius: 0;
4379
- color: ${({ theme }) => theme.palette.kale[400]};
4392
+ color: ${({ theme }) => theme.palette.kale[700]};
4380
4393
  cursor: pointer;
4381
4394
  > div {
4382
4395
  border-radius: 0;
@@ -4724,7 +4737,7 @@ const StyledItem = styled__default["default"].li `
4724
4737
  &:hover,
4725
4738
  &:focus,
4726
4739
  &:active {
4727
- background-color: ${theme.palette.kale[100]};
4740
+ background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
4728
4741
  color: ${props.isDanger ? theme.palette.red[500] : theme.palette.grey[800]};
4729
4742
  }`};
4730
4743
 
@@ -4803,23 +4816,21 @@ var SvgInfoFill = function SvgInfoFill(props) {
4803
4816
  })));
4804
4817
  };
4805
4818
 
4806
- const StyledButton$2 = styled__default["default"](Button) `
4819
+ const StyledButton$1 = styled__default["default"](Button) `
4807
4820
  color: ${(props) => props.theme.palette.grey[800]};
4808
4821
  font-weight: ${(props) => props.theme.fontWeights.semibold};
4809
4822
  padding-left: 0;
4810
4823
  justify-content: flex-start;
4811
-
4812
- ${(props) => `
4813
- &:hover,
4814
- &:focus,
4815
- &:active {
4816
- background-color: ${props.theme.palette.kale[100]};
4817
- color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
4818
- }`};
4819
4824
  `;
4820
- const PreviousButton = (props) => (jsxRuntime.jsxs(StyledButton$2, Object.assign({}, props, { isStretched: true }, { children: [jsxRuntime.jsx(StyledButton$2.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.children] })));
4825
+ const PreviousButton = (props) => (jsxRuntime.jsxs(StyledButton$1, Object.assign({}, props, { isStretched: true }, { children: [jsxRuntime.jsx(StyledButton$1.StartIcon, { children: jsxRuntime.jsx(SvgChevronLeftStroke, {}) }), props.children] })));
4821
4826
 
4822
- const UgParagraph = styled__default["default"](reactTypography.Paragraph) ``;
4827
+ const UgParagraph = styled__default["default"](reactTypography.Paragraph) `
4828
+ ${p => p.color && `
4829
+ > div {
4830
+ color: ${p.color};
4831
+ }
4832
+ `};
4833
+ `;
4823
4834
  /**
4824
4835
  * Use Paragraph to render blocks of text with Garden styling.
4825
4836
  */
@@ -4831,18 +4842,18 @@ const getInitials = (name) => {
4831
4842
  return initials;
4832
4843
  };
4833
4844
 
4834
- const StyledButton$1 = styled__default["default"](Button) `
4845
+ const StyledButton = styled__default["default"](Button) `
4835
4846
  ${(props) => `
4836
4847
  &:hover,
4837
4848
  &:focus,
4838
4849
  &:active {
4839
- background-color: ${props.theme.palette.kale[100]};
4850
+ background-color: ${getColor(props.theme.colors.primaryHue, 600, undefined, 0.08)};
4840
4851
  color: ${props.isDanger
4841
4852
  ? props.theme.palette.red[500]
4842
4853
  : props.theme.palette.grey[800]};
4843
4854
  }`};
4844
4855
  `;
4845
- const StyledFooterButton = styled__default["default"](StyledButton$1) `
4856
+ const StyledFooterButton = styled__default["default"](StyledButton) `
4846
4857
  color: ${(props) => props.theme.palette.grey[800]};
4847
4858
  padding-left: 0;
4848
4859
  justify-content: flex-start;
@@ -4879,11 +4890,11 @@ const HelpItem = (props) => {
4879
4890
  if (email.length > 24) {
4880
4891
  csmEmailCut = `${email.substring(0, 21)}...`;
4881
4892
  }
4882
- const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledBody$2, { children: [jsxRuntime.jsx(Paragraph, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: jsxRuntime.jsx(SM, { children: props.contactLabel }) })), jsxRuntime.jsx(StyledParagraph, { children: jsxRuntime.jsx(Avatar, { children: (_a = props.csm.picture) !== null && _a !== void 0 ? _a : getInitials(props.csm.name), avatarType: props.csm.picture ? "image" : "text", size: "large" }) }), jsxRuntime.jsxs(StyledParagraph, { children: [jsxRuntime.jsx(MD, Object.assign({ isBold: true }, { children: props.csm.name })), jsxRuntime.jsxs(Description, { children: [jsxRuntime.jsx(Anchor, Object.assign({ href: `mailto:${props.csm.email}`, style: { color: theme.palette.grey[600] } }, { children: csmEmailCut })), jsxRuntime.jsxs(StyledButton$1, Object.assign({ isBasic: true, onClick: () => {
4893
+ const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledBody$2, { children: [jsxRuntime.jsx(Paragraph, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: jsxRuntime.jsx(SM, { children: props.contactLabel }) })), jsxRuntime.jsx(StyledParagraph, { children: jsxRuntime.jsx(Avatar, { children: (_a = props.csm.picture) !== null && _a !== void 0 ? _a : getInitials(props.csm.name), avatarType: props.csm.picture ? "image" : "text", size: "large" }) }), jsxRuntime.jsxs(StyledParagraph, { children: [jsxRuntime.jsx(MD, Object.assign({ isBold: true }, { children: props.csm.name })), jsxRuntime.jsxs(Description, { children: [jsxRuntime.jsx(Anchor, Object.assign({ href: `mailto:${props.csm.email}`, style: { color: theme.palette.grey[600] } }, { children: csmEmailCut })), jsxRuntime.jsxs(StyledButton, Object.assign({ isBasic: true, onClick: () => {
4883
4894
  var _a;
4884
4895
  copyToClipBoard();
4885
4896
  (_a = props.onCopyEmail) === null || _a === void 0 ? void 0 : _a.call(props);
4886
- }, 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"] }))] }))] }));
4897
+ }, size: "small" }, { children: [jsxRuntime.jsx(StyledButton.StartIcon, { children: jsxRuntime.jsx(SvgCopy, {}) }), (_b = props.copyLabel) !== null && _b !== void 0 ? _b : "Copy"] }))] })] })] }), props.chatSupport && (jsxRuntime.jsxs(Footer, { children: [jsxRuntime.jsx(Separator, {}), jsxRuntime.jsxs(StyledFooterButton, Object.assign({ isStretched: true, isBasic: true, onClick: props.toggleChat, style: { paddingLeft: theme.space.xxs } }, { children: [jsxRuntime.jsx(StyledFooterButton.StartIcon, { children: jsxRuntime.jsx(SvgInfoFill, { color: theme.palette.blue[600] }) }), (_c = props.chatSupportLabel) !== null && _c !== void 0 ? _c : "Report a technical issue"] }))] }))] }));
4887
4898
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MenuItem, Object.assign({ content: content, value: props.value, selectedItem: props.selectedItem, setActive: props.setActive, icon: jsxRuntime.jsx(SvgQuestionMark, { color: theme.palette.blue[600] }) }, { children: props.title })) }));
4888
4899
  };
4889
4900
 
@@ -4924,18 +4935,9 @@ const StyledButtonContainer = styled__default["default"].div `
4924
4935
  justify-content: flex-start;
4925
4936
  }
4926
4937
  `;
4927
- const StyledButton = styled__default["default"](Button) `
4928
- ${(props) => `
4929
- &:hover,
4930
- &:focus,
4931
- &:active {
4932
- background-color: ${props.theme.palette.kale[100]};
4933
- color: ${props.isDanger ? props.theme.palette.red[500] : props.theme.palette.grey[800]};
4934
- }`};
4935
- `;
4936
4938
  const LanguageItem = (props) => {
4937
4939
  var _a;
4938
- const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(StyledBody$1, { children: jsxRuntime.jsx(StyledButtonContainer, { children: Object.keys(props.languages).map((key) => (jsxRuntime.jsxs(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 }))] })))) }) })] }));
4940
+ const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(PreviousButton, Object.assign({ onClick: () => props.setActive(""), isBasic: true }, { children: props.title })), jsxRuntime.jsx(Separator, {}), jsxRuntime.jsx(StyledBody$1, { children: jsxRuntime.jsx(StyledButtonContainer, { children: Object.keys(props.languages).map((key) => (jsxRuntime.jsxs(Button, Object.assign({ isBasic: true, isStretched: true, value: key, onClick: () => props.onSelectLanguage(key) }, { children: [jsxRuntime.jsx(Button.StartIcon, { children: props.currentLanguage === key ? jsxRuntime.jsx(SvgCheckLg, {}) : jsxRuntime.jsx(SvgEmpty, {}) }), jsxRuntime.jsx(Span, Object.assign({ isBold: props.currentLanguage === key }, { children: props.languages[key].label }))] })))) }) })] }));
4939
4941
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MenuItem, Object.assign({ content: content, value: props.value, selectedItem: props.selectedItem, setActive: props.setActive, icon: jsxRuntime.jsx(SvgTranslationExists, { fill: theme.palette.blue[600] }) }, { children: jsxRuntime.jsxs(MenuItemBody, { children: [props.title, jsxRuntime.jsxs(MD, Object.assign({ style: { color: theme.palette.grey[600] } }, { children: [(_a = props.currentLanguageLabel) !== null && _a !== void 0 ? _a : "Now:", " " + props.languages[props.currentLanguage].label] }))] }) })) }));
4940
4942
  };
4941
4943
 
@@ -4948,7 +4950,7 @@ const CompanyHolder = styled__default["default"](SM) `
4948
4950
  text-transform: uppercase;
4949
4951
  margin-top: ${({ theme }) => theme.space.base * 2}px;
4950
4952
  margin-bottom: ${({ theme }) => theme.space.base * 4}px;
4951
- color: ${({ theme }) => theme.colors.primaryHue};
4953
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
4952
4954
  `;
4953
4955
  const UserDetails = styled__default["default"].div `
4954
4956
  margin-top: ${({ theme }) => theme.space.base * 4}px;
@@ -4964,11 +4966,6 @@ const StyledList = styled__default["default"].ul `
4964
4966
  padding: 0;
4965
4967
  margin: 0;
4966
4968
  `;
4967
- styled__default["default"](Anchor) `
4968
- &:hover {
4969
- text-decoration: none;
4970
- }
4971
- `;
4972
4969
  const UserMenu = (props) => {
4973
4970
  var _a;
4974
4971
  const [item, setActiveItem] = React.useState("");
@@ -5078,7 +5075,7 @@ const StyledTag = styled__default["default"](Tag) `
5078
5075
  const StyledSM = styled__default["default"](SM) `
5079
5076
  color: ${({ theme }) => theme.palette.grey[600]};
5080
5077
  span {
5081
- color: ${({ theme }) => theme.colors.primaryHue};
5078
+ ${props => reactTheming.retrieveComponentStyles("text.primary", props)}
5082
5079
  }
5083
5080
  `;
5084
5081
  const SliderCounter = ({ current, total, }) => {
@@ -5216,7 +5213,9 @@ const Slider = (props) => {
5216
5213
  }, [current]);
5217
5214
  return (jsxRuntime.jsxs(SliderContextProvider, { children: [settings.counter && jsxRuntime.jsx(SliderCounter, { current: current, total: slides }), jsxRuntime.jsx(StyledSlick, Object.assign({}, settings, { beforeChange: updateSlide }))] }));
5218
5215
  };
5219
- Slider.Slide = Slide;
5216
+ Slider.Slide = Slide;
5217
+ Slider.PrevButton = PrevButton;
5218
+ Slider.NextButton = NextButton;
5220
5219
 
5221
5220
  const UgStep = styled__default["default"](reactAccordions.Stepper.Step) `
5222
5221
  svg {
@@ -5395,10 +5394,10 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
5395
5394
 
5396
5395
  ${({ theme, isSelected }) => isSelected &&
5397
5396
  `
5398
- color: ${theme.colors.primaryHue};
5397
+ color: ${getColor(theme.colors.primaryHue, 600)};
5399
5398
  background-color: transparent;
5400
5399
 
5401
- border-color: ${theme.colors.primaryHue};
5400
+ border-color: ${getColor(theme.colors.primaryHue, 600)};
5402
5401
  font-weight: ${theme.fontWeights.semibold};
5403
5402
  `}
5404
5403
 
@@ -5410,7 +5409,7 @@ const StyledNavButton = styled__default["default"](reactButtons.Button) `
5410
5409
 
5411
5410
  &:hover {
5412
5411
  background-color: transparent;
5413
- color: ${({ theme }) => theme.colors.primaryHue};
5412
+ $
5414
5413
  }
5415
5414
  `;
5416
5415
  const StyledTabList = styled__default["default"].div `
@@ -5532,7 +5531,7 @@ const TooltipComponent = (props) => {
5532
5531
  return jsxRuntime.jsx(reactTooltips.Tooltip, Object.assign({}, props, { zIndex: (_a = props.zIndex) !== null && _a !== void 0 ? _a : theme.levels.front }));
5533
5532
  };
5534
5533
  const Tooltip = styled__default["default"](TooltipComponent) `
5535
- box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`, reactTheming.getColor("neutralHue", 600, theme, 0.15))};
5534
+ box-shadow: ${({ theme }) => theme.shadows.lg(`${theme.space.base * 3}px`, `${theme.space.base * 5}px`, getColor("neutralHue", 600, theme, 0.15))};
5536
5535
  `;
5537
5536
 
5538
5537
  const StyledTooltipModal = styled__default["default"](reactModals.TooltipModal) `
@@ -5598,7 +5597,7 @@ exports.Breadcrumb = Breadcrumb;
5598
5597
  exports.BulletChart = BulletChart;
5599
5598
  exports.Button = Button;
5600
5599
  exports.ButtonGroup = ButtonGroup;
5601
- exports.CHARTS_COLOR_PALETTE = CHARTS_COLOR_PALETTE;
5600
+ exports.CARD_COMPONENT_ID = CARD_COMPONENT_ID;
5602
5601
  exports.CampaignCard = CampaignCard;
5603
5602
  exports.CampaignExperientialIcon = SvgCampaignExperiential;
5604
5603
  exports.CampaignFunctionalIcon = SvgCampaignFunctional;
@@ -5660,6 +5659,7 @@ exports.Modal = Modal;
5660
5659
  exports.ModalFullScreen = ModalFullScreen;
5661
5660
  exports.MultiSelect = MultiSelect;
5662
5661
  exports.Nav = Nav;
5662
+ exports.NavAccordionItem = NavAccordionItem;
5663
5663
  exports.NavDivider = NavDivider;
5664
5664
  exports.NavItem = NavItem;
5665
5665
  exports.NavItemIcon = NavItemIcon;
@@ -5707,6 +5707,8 @@ exports.TableHead = Head;
5707
5707
  exports.TableRow = Row;
5708
5708
  exports.Tabs = Tabs;
5709
5709
  exports.Tag = Tag;
5710
+ exports.TextDescription = TextDescription;
5711
+ exports.TextLabel = TextLabel;
5710
5712
  exports.Textarea = Textarea;
5711
5713
  exports.Tiles = Tiles;
5712
5714
  exports.Timeline = Timeline;
@@ -5721,5 +5723,7 @@ exports.WaffleChart = WaffleChart;
5721
5723
  exports.XL = XL;
5722
5724
  exports.XXL = XXL;
5723
5725
  exports.XXXL = XXXL;
5726
+ exports.cardCmponentStyle = cardCmponentStyle;
5727
+ exports.getColor = getColor;
5724
5728
  exports.theme = theme;
5725
5729
  exports.useToast = useToast;