@ultraviolet/ui 1.3.2 → 1.4.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.
package/dist/index.d.ts CHANGED
@@ -260,6 +260,7 @@ declare const extendTheme: (extendedTheme: RecursivePartial<SCWUITheme>) => {
260
260
  backgroundStrongHover: string;
261
261
  backgroundStronger: string;
262
262
  backgroundStrongerDisabled: string;
263
+ backgroundStrongerHover: string;
263
264
  backgroundWeak: string;
264
265
  backgroundWeakDisabled: string;
265
266
  backgroundWeakElevated: string;
@@ -272,6 +273,7 @@ declare const extendTheme: (extendedTheme: RecursivePartial<SCWUITheme>) => {
272
273
  borderStrongHover: string;
273
274
  borderStronger: string;
274
275
  borderStrongerDisabled: string;
276
+ borderStrongerHover: string;
275
277
  borderWeak: string;
276
278
  borderWeakDisabled: string;
277
279
  borderWeakHover: string;
@@ -283,6 +285,7 @@ declare const extendTheme: (extendedTheme: RecursivePartial<SCWUITheme>) => {
283
285
  iconStrongHover: string;
284
286
  iconStronger: string;
285
287
  iconStrongerDisabled: string;
288
+ iconStrongerHover: string;
286
289
  iconWeak: string;
287
290
  iconWeakDisabled: string;
288
291
  iconWeakHover: string;
@@ -294,6 +297,7 @@ declare const extendTheme: (extendedTheme: RecursivePartial<SCWUITheme>) => {
294
297
  textStrongHover: string;
295
298
  textStronger: string;
296
299
  textStrongerDisabled: string;
300
+ textStrongerHover: string;
297
301
  textWeak: string;
298
302
  textWeakDisabled: string;
299
303
  textWeakHover: string;
@@ -321,14 +325,16 @@ declare const extendTheme: (extendedTheme: RecursivePartial<SCWUITheme>) => {
321
325
  };
322
326
  gradients: {
323
327
  background: {
328
+ accent: string;
324
329
  aqua: string;
325
330
  blue: string;
331
+ emerald: string;
326
332
  fuschia: string;
327
- green: string;
328
- orange: string;
329
- pink: string;
333
+ gold: string;
334
+ magenta: string;
330
335
  primary: string;
331
336
  purple: string;
337
+ strong: string;
332
338
  };
333
339
  };
334
340
  icon: {
@@ -406,7 +412,42 @@ declare const extendTheme: (extendedTheme: RecursivePartial<SCWUITheme>) => {
406
412
  textWeakHover: string;
407
413
  };
408
414
  secondary: {
415
+ background: string;
416
+ backgroundDisabled: string;
417
+ backgroundHover: string;
409
418
  backgroundStrong: string;
419
+ backgroundStrongDisabled: string;
420
+ backgroundStrongHover: string;
421
+ backgroundWeak: string;
422
+ backgroundWeakDisabled: string;
423
+ backgroundWeakHover: string;
424
+ border: string;
425
+ borderDisabled: string;
426
+ borderHover: string;
427
+ borderStrong: string;
428
+ borderStrongDisabled: string;
429
+ borderStrongHover: string;
430
+ borderWeak: string;
431
+ borderWeakDisabled: string;
432
+ borderWeakHover: string;
433
+ icon: string;
434
+ iconDisabled: string;
435
+ iconHover: string;
436
+ iconStrong: string;
437
+ iconStrongDisabled: string;
438
+ iconStrongHover: string;
439
+ iconWeak: string;
440
+ iconWeakDisabled: string;
441
+ iconWeakHover: string;
442
+ text: string;
443
+ textDisabled: string;
444
+ textHover: string;
445
+ textStrong: string;
446
+ textStrongDisabled: string;
447
+ textStrongHover: string;
448
+ textWeak: string;
449
+ textWeakDisabled: string;
450
+ textWeakHover: string;
410
451
  };
411
452
  success: {
412
453
  background: string;
@@ -505,7 +546,10 @@ declare const extendTheme: (extendedTheme: RecursivePartial<SCWUITheme>) => {
505
546
  focusSuccess: string;
506
547
  focusWarning: string;
507
548
  hoverDanger: string;
549
+ hoverInfo: string;
550
+ hoverNeutral: string;
508
551
  hoverPrimary: string;
552
+ hoverSuccess: string;
509
553
  hoverWarning: string;
510
554
  menu: string;
511
555
  modal: string;
@@ -759,7 +803,7 @@ type IconName = keyof typeof ICONS;
759
803
  declare const Icon: react.ForwardRefExoticComponent<{
760
804
  size?: string | number | undefined;
761
805
  name?: "filter" | "view" | "sort" | "id" | "alert" | "search" | "anchor" | "arrow-down" | "arrow-left" | "arrow-left-double" | "arrow-right" | "arrow-right-bottom" | "arrow-right-double" | "arrow-up" | "asterisk" | "auto-fix" | "bullhorn" | "burger" | "book-open-outline" | "calculator" | "calendar-range" | "cancel" | "check" | "checkbox-circle-outline" | "clock-outline" | "close" | "close-circle-outline" | "copy-content" | "credentials" | "credit-card" | "delete" | "detach" | "doc" | "dots-horizontal" | "dots-vertical" | "download" | "drag-variant" | "drag-vertical" | "east" | "email-outline" | "expand" | "eye" | "eye-off" | "github" | "help-circle-outline" | "information-outline" | "lock" | "logout" | "members" | "minus" | "moon" | "open-in-new" | "organization" | "pencil" | "play-circle-outline" | "plus" | "privacy" | "profile" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rocket" | "send" | "settings" | "sun" | "support" | "switch_orga" | "unlock" | "upload" | "weather-night" | "attach" | "phone" | "earth" | "email-remove-outline" | undefined;
762
- prominence?: "default" | "strong" | "stronger" | "weak" | undefined;
806
+ prominence?: "strong" | "default" | "stronger" | "weak" | undefined;
763
807
  color?: Color | undefined;
764
808
  'data-testid'?: string | undefined;
765
809
  disabled?: boolean | undefined;
@@ -937,19 +981,19 @@ type AvatarProps = {
937
981
  ]>;
938
982
  declare const Avatar: ({ image, size, text, textBgColor, textColor, textSize, lock, className, "data-testid": dataTestId, }: AvatarProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
939
983
 
940
- declare const SIZES$1: {
984
+ declare const SIZES: {
941
985
  large: number;
942
986
  medium: number;
943
987
  small: number;
944
988
  };
945
- declare const PROMINENCES$2: {
989
+ declare const PROMINENCES$3: {
946
990
  default: string;
947
991
  strong: string;
948
992
  };
949
993
  type BadgeProps = {
950
994
  sentiment?: Color;
951
- size?: keyof typeof SIZES$1;
952
- prominence?: keyof typeof PROMINENCES$2;
995
+ size?: keyof typeof SIZES;
996
+ prominence?: keyof typeof PROMINENCES$3;
953
997
  /**
954
998
  * Defines icon to display on left side of badge. **Only available on medium and large sizes**.
955
999
  */
@@ -1065,42 +1109,26 @@ type BreadcrumbsType = ((props: BreadcrumbsProps) => JSX.Element) & {
1065
1109
  };
1066
1110
  declare const Breadcrumbs: BreadcrumbsType;
1067
1111
 
1068
- declare const sentiments$1: {
1069
- readonly danger: ({ theme }: {
1070
- theme: Theme;
1071
- }) => string;
1072
- readonly neutral: ({ theme }: {
1073
- theme: Theme;
1074
- }) => string;
1075
- readonly disabled: ({ theme }: {
1076
- theme: Theme;
1077
- }) => string;
1078
- readonly info: ({ theme }: {
1079
- theme: Theme;
1080
- }) => string;
1081
- readonly primary: ({ theme }: {
1082
- theme: Theme;
1083
- }) => string;
1084
- readonly success: ({ theme }: {
1085
- theme: Theme;
1086
- }) => string;
1087
- readonly warning: ({ theme }: {
1088
- theme: Theme;
1089
- }) => string;
1112
+ declare const PROMINENCES$2: {
1113
+ default: string;
1114
+ strong: string;
1090
1115
  };
1091
- type BulletSentiment = keyof typeof sentiments$1;
1116
+ type ProminenceType = keyof typeof PROMINENCES$2;
1117
+ declare const BULLET_SENTIMENTS: string[];
1118
+ type BulletSentiment = (typeof BULLET_SENTIMENTS)[number];
1092
1119
  declare const sizes: {
1093
1120
  readonly medium: "\n width: 32px;\n height: 32px;\n font-size: 16px;\n ";
1094
1121
  readonly small: "\n width: 24px;\n height: 24px;\n font-size: 14px;\n ";
1095
1122
  };
1096
1123
  type BulletSize = keyof typeof sizes;
1097
- type ContentProps$1 = {
1098
- icon: ComponentProps<typeof Icon>['name'];
1099
- text?: never;
1100
- } | {
1101
- icon?: never;
1102
- text: string;
1103
- };
1124
+ type ContentProps$1 = XOR<[
1125
+ {
1126
+ icon: ComponentProps<typeof Icon>['name'];
1127
+ },
1128
+ {
1129
+ text: string;
1130
+ }
1131
+ ]>;
1104
1132
  type BulletProps = {
1105
1133
  className?: string;
1106
1134
  size?: BulletSize;
@@ -1108,8 +1136,9 @@ type BulletProps = {
1108
1136
  tooltipBaseId?: string;
1109
1137
  sentiment?: BulletSentiment;
1110
1138
  'data-testid'?: string;
1139
+ prominence?: ProminenceType;
1111
1140
  } & ContentProps$1;
1112
- declare const Bullet: ({ className, sentiment, size, icon, text, tooltip, tooltipBaseId, "data-testid": dataTestId, }: BulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1141
+ declare const Bullet: ({ className, sentiment, size, icon, text, tooltip, tooltipBaseId, "data-testid": dataTestId, prominence, }: BulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1113
1142
 
1114
1143
  type CardProps = {
1115
1144
  children: ReactNode;
@@ -1163,12 +1192,8 @@ type CheckboxProps = {
1163
1192
  ]>;
1164
1193
  declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
1165
1194
 
1166
- declare const SIZES: {
1167
- readonly small: 32;
1168
- readonly large: 48;
1169
- };
1170
1195
  type CopyButtonProps = {
1171
- size?: keyof typeof SIZES;
1196
+ size?: 'small' | 'large';
1172
1197
  value: string;
1173
1198
  copyText?: string;
1174
1199
  copiedText?: string;
@@ -12,28 +12,23 @@ const StyledDiv = /*#__PURE__*/_styled("div", {
12
12
  theme
13
13
  } = _ref;
14
14
  return theme.colors.neutral.backgroundWeakElevated;
15
- }, ";border:1px solid ", _ref2 => {
15
+ }, ";border-radius:", _ref2 => {
16
16
  let {
17
17
  theme
18
18
  } = _ref2;
19
- return theme.colors.neutral.border;
20
- }, ";border-radius:", _ref3 => {
21
- let {
22
- theme
23
- } = _ref3;
24
19
  return theme.radii.default;
25
- }, ";bottom:", _ref4 => {
20
+ }, ";bottom:", _ref3 => {
26
21
  let {
27
22
  rank
28
- } = _ref4;
23
+ } = _ref3;
29
24
  return SPACING + rank * (HEIGHT + SPACING);
30
- }, "px;box-shadow:", _ref5 => {
25
+ }, "px;box-shadow:", _ref4 => {
31
26
  let {
32
27
  theme
33
- } = _ref5;
28
+ } = _ref4;
34
29
  return theme.shadows.defaultShadow;
35
30
  }, ";height:", HEIGHT, "px;left:50%;position:fixed;transform:translate(-50%, 0);width:600px;animation:", fadeIn, " 0.2s ease-in-out;");
36
- const ActionBar = _ref6 => {
31
+ const ActionBar = _ref5 => {
37
32
  let {
38
33
  children,
39
34
  role = 'dialog',
@@ -41,7 +36,7 @@ const ActionBar = _ref6 => {
41
36
  'aria-modal': ariaModal = 'true',
42
37
  className,
43
38
  'data-testid': dataTestId
44
- } = _ref6;
39
+ } = _ref5;
45
40
  return /*#__PURE__*/createPortal(jsx(StyledDiv, {
46
41
  rank: rank,
47
42
  role: role,
@@ -14,7 +14,7 @@ const alertStyles = _ref => {
14
14
  sentiment
15
15
  } = _ref;
16
16
  const sentimentColor = theme.colors[sentiment];
17
- return /*#__PURE__*/css("background-color:", sentimentColor.background, ";color:", sentimentColor.text, ";border-left:4px solid ", sentimentColor.borderWeak, ";");
17
+ return /*#__PURE__*/css("background-color:", sentimentColor.background, ";color:", sentimentColor.text, ";border-left:4px solid ", sentimentColor.border, ";");
18
18
  };
19
19
  const typesDefaultIcons = {
20
20
  warning: 'alert',
@@ -60,9 +60,9 @@ const generateStyles = _ref2 => {
60
60
  border: none;
61
61
  `,
62
62
  neutral: `
63
- color: ${prominence === PROMINENCES.strong ? theme.colors.neutral[text] : theme.colors.neutral.textWeak};
64
- background: ${theme.colors.neutral.backgroundStrong};
65
- border: 1px solid ${theme.colors.neutral.borderStrong};
63
+ color: ${prominence === PROMINENCES.strong ? theme.colors.neutral.textStronger : theme.colors.neutral.text};
64
+ background: ${prominence === PROMINENCES.strong ? theme.colors.neutral.backgroundStronger : theme.colors.neutral.backgroundWeak};
65
+ border: 1px solid ${prominence === PROMINENCES.strong ? theme.colors.neutral.borderStronger : theme.colors.neutral.border};
66
66
  `
67
67
  };
68
68
  };
@@ -1,74 +1,13 @@
1
1
  import _styled from '@emotion/styled/base';
2
+ import { SENTIMENTS_WITHOUT_NEUTRAL } from '../../theme/index.js';
3
+ import capitalize from '../../utils/capitalize.js';
2
4
  import { Icon } from '../Icon/index.js';
3
5
  import { Tooltip } from '../Tooltip/index.js';
4
6
  import { jsx } from '@emotion/react/jsx-runtime';
5
7
 
6
- const sentiments = {
7
- danger: _ref => {
8
- let {
9
- theme
10
- } = _ref;
11
- return `
12
- background-color: ${theme.colors.danger.background};
13
- color: ${theme.colors.danger.text};
14
- `;
15
- },
16
- neutral: _ref2 => {
17
- let {
18
- theme
19
- } = _ref2;
20
- return `
21
- border: 1px solid ${theme.colors.neutral.borderWeak};
22
- background-color: ${theme.colors.neutral.background};
23
- color: ${theme.colors.neutral.text};
24
- `;
25
- },
26
- disabled: _ref3 => {
27
- let {
28
- theme
29
- } = _ref3;
30
- return `
31
- border: 1px solid ${theme.colors.neutral.borderWeak};
32
- background-color: ${theme.colors.neutral.background};
33
- color: ${theme.colors.neutral.textWeak};
34
- `;
35
- },
36
- info: _ref4 => {
37
- let {
38
- theme
39
- } = _ref4;
40
- return `
41
- background-color: ${theme.colors.info.background};
42
- color: ${theme.colors.info.text};
43
- `;
44
- },
45
- primary: _ref5 => {
46
- let {
47
- theme
48
- } = _ref5;
49
- return `
50
- background-color: ${theme.colors.primary.background};
51
- color: ${theme.colors.primary.text};
52
- `;
53
- },
54
- success: _ref6 => {
55
- let {
56
- theme
57
- } = _ref6;
58
- return `
59
- background-color: ${theme.colors.success.background};
60
- color: ${theme.colors.success.text};
61
- `;
62
- },
63
- warning: _ref7 => {
64
- let {
65
- theme
66
- } = _ref7;
67
- return `
68
- background-color: ${theme.colors.warning.background};
69
- color: ${theme.colors.warning.text};
70
- `;
71
- }
8
+ const PROMINENCES = {
9
+ default: 'default',
10
+ strong: 'strong'
72
11
  };
73
12
  const sizes = {
74
13
  medium: `
@@ -82,32 +21,60 @@ const sizes = {
82
21
  font-size: 14px;
83
22
  `
84
23
  };
85
- const sentimentStyles = _ref8 => {
24
+ const sentimentStyles = _ref => {
86
25
  let {
87
- sentiment
88
- } = _ref8;
89
- return sentiments[sentiment];
26
+ theme,
27
+ prominence
28
+ } = _ref;
29
+ const definedProminence = prominence === PROMINENCES.strong ? capitalize(PROMINENCES.strong) : '';
30
+ const text = `text${definedProminence}`;
31
+ const background = `background${definedProminence}`;
32
+ return {
33
+ ...SENTIMENTS_WITHOUT_NEUTRAL.reduce((reducer, sentiment) => ({
34
+ ...reducer,
35
+ [sentiment]: `
36
+ color: ${theme.colors[sentiment][text]};
37
+ background: ${theme.colors[sentiment][background]};
38
+ border: 1px solid ${theme.colors[sentiment][background]};
39
+ `
40
+ }), {}),
41
+ neutral: `
42
+ color: ${prominence === PROMINENCES.strong ? theme.colors.neutral[text] : theme.colors.neutral.text};
43
+ background: ${theme.colors.neutral.background};
44
+ border: 1px solid ${theme.colors.neutral.border};
45
+ `,
46
+ disabled: `
47
+ color: ${theme.colors.neutral.textWeak};
48
+ background: ${theme.colors.neutral.backgroundStrong};
49
+ border: none;
50
+ `
51
+ };
90
52
  };
91
- const sizeStyles = _ref9 => {
53
+ const sizeStyles = _ref2 => {
92
54
  let {
93
55
  size
94
- } = _ref9;
56
+ } = _ref2;
95
57
  return sizes[size];
96
58
  };
97
59
  const StyledContainer = /*#__PURE__*/_styled('div', {
98
60
  target: "e11loam60"
99
- })("display:inline-flex;border-radius:", _ref10 => {
61
+ })("display:inline-flex;border-radius:", _ref3 => {
100
62
  let {
101
63
  theme
102
- } = _ref10;
64
+ } = _ref3;
103
65
  return theme.radii.circle;
104
- }, ";justify-content:center;align-items:center;font-weight:", _ref11 => {
66
+ }, ";justify-content:center;align-items:center;", _ref4 => {
105
67
  let {
106
- theme
107
- } = _ref11;
108
- return theme.typography.bodyStrong.weight;
109
- }, ";", sentimentStyles, " ", sizeStyles, ";");
110
- const Bullet = _ref12 => {
68
+ theme,
69
+ prominence,
70
+ sentiment
71
+ } = _ref4;
72
+ return sentimentStyles({
73
+ theme,
74
+ prominence
75
+ })[sentiment];
76
+ }, " ", sizeStyles, ";");
77
+ const Bullet = _ref5 => {
111
78
  let {
112
79
  className,
113
80
  sentiment = 'neutral',
@@ -116,8 +83,9 @@ const Bullet = _ref12 => {
116
83
  text,
117
84
  tooltip,
118
85
  tooltipBaseId,
119
- 'data-testid': dataTestId
120
- } = _ref12;
86
+ 'data-testid': dataTestId,
87
+ prominence = 'default'
88
+ } = _ref5;
121
89
  return jsx(Tooltip, {
122
90
  id: tooltipBaseId,
123
91
  text: tooltip,
@@ -126,6 +94,7 @@ const Bullet = _ref12 => {
126
94
  size: size,
127
95
  className: className,
128
96
  "data-testid": dataTestId,
97
+ prominence: prominence,
129
98
  children: icon ? jsx(Icon, {
130
99
  name: icon,
131
100
  size: "50%"
@@ -134,4 +103,4 @@ const Bullet = _ref12 => {
134
103
  });
135
104
  };
136
105
 
137
- export { Bullet };
106
+ export { Bullet, PROMINENCES };
@@ -103,7 +103,7 @@ const StyledFilledButton = /*#__PURE__*/_styled('button', {
103
103
  theme,
104
104
  sentiment
105
105
  } = _ref3;
106
- return theme.colors[sentiment][sentiment === 'neutral' ? 'text' : 'textStrong'];
106
+ return theme.colors[sentiment].textStrong;
107
107
  }, ";", _ref4 => {
108
108
  let {
109
109
  theme,
@@ -113,13 +113,13 @@ const StyledFilledButton = /*#__PURE__*/_styled('button', {
113
113
  return disabled ? `
114
114
  background: ${theme.colors[sentiment].backgroundStrongDisabled};
115
115
  color:
116
- ${theme.colors[sentiment][sentiment === 'neutral' ? 'textDisabled' : 'textStrongDisabled']};
116
+ ${theme.colors[sentiment].textStrongDisabled};
117
117
  ` : `
118
118
  &:hover, &:active
119
119
  {
120
120
  background: ${theme.colors[sentiment].backgroundStrongHover};
121
121
  color:
122
- ${theme.colors[sentiment][sentiment === 'neutral' ? 'textHover' : 'textStrongHover']};
122
+ ${theme.colors[sentiment].textStrongHover};
123
123
  }
124
124
  `;
125
125
  }, ";");
@@ -152,7 +152,7 @@ const StyledOutlinedButton = /*#__PURE__*/_styled('button', {
152
152
  ` : `
153
153
  &:hover, &:active
154
154
  {
155
- background: ${theme.colors[sentiment].backgroundWeakHover};
155
+ background: ${theme.colors[sentiment].backgroundHover};
156
156
  color:
157
157
  ${theme.colors[sentiment][sentiment === 'neutral' ? 'textHover' : 'textWeakHover']};
158
158
  border: 1px solid ${theme.colors[sentiment][sentiment === 'neutral' ? 'borderStrongHover' : 'borderWeakHover']};
@@ -181,7 +181,7 @@ const StyledGhostButton = /*#__PURE__*/_styled('button', {
181
181
  ` : `
182
182
  &:hover, &:active
183
183
  {
184
- background: ${theme.colors[sentiment].backgroundWeakHover};
184
+ background: ${theme.colors[sentiment].backgroundHover};
185
185
  color:
186
186
  ${theme.colors[sentiment][sentiment === 'neutral' ? 'textHover' : 'textWeakHover']};
187
187
  }
@@ -19,74 +19,77 @@ const StyledBeforeScroll = /*#__PURE__*/_styled("span", {
19
19
  let {
20
20
  theme
21
21
  } = _ref;
22
- return theme.colors.neutral.backgroundWeak;
22
+ return theme.colors.neutral.background;
23
23
  }, "\n );cursor:w-resize;z-index:auto;");
24
24
  const StyledScrollableWrapper = /*#__PURE__*/_styled("div", {
25
25
  target: "e1id70w02"
26
- })(process.env.NODE_ENV === "production" ? {
27
- name: "1td2787",
28
- styles: "overflow-x:scroll;overflow-y:hidden;white-space:nowrap;padding-left:100px;padding-right:100px;padding-bottom:16px;>*:not(:last-child){margin-right:16px;}"
29
- } : {
30
- name: "1td2787",
31
- styles: "overflow-x:scroll;overflow-y:hidden;white-space:nowrap;padding-left:100px;padding-right:100px;padding-bottom:16px;>*:not(:last-child){margin-right:16px;}",
32
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
33
- });
26
+ })("overflow-x:scroll;overflow-y:hidden;white-space:nowrap;padding:", _ref2 => {
27
+ let {
28
+ theme
29
+ } = _ref2;
30
+ return theme.space['2'];
31
+ }, " 100px;>*:not(:last-child){margin-right:", _ref3 => {
32
+ let {
33
+ theme
34
+ } = _ref3;
35
+ return theme.space['2'];
36
+ }, ";}");
34
37
  const StyledAfterScroll = /*#__PURE__*/_styled("span", {
35
38
  target: "e1id70w01"
36
- })("position:absolute;bottom:0;right:0;width:100px;height:100%;content:'';cursor:e-resize;z-index:auto;background:linear-gradient(\n -90deg,\n ", _ref2 => {
39
+ })("position:absolute;bottom:0;right:0;width:100px;height:100%;content:'';cursor:e-resize;z-index:auto;background:linear-gradient(\n -90deg,\n ", _ref4 => {
37
40
  let {
38
41
  theme
39
- } = _ref2;
42
+ } = _ref4;
40
43
  return theme.colors.neutral.backgroundWeak;
41
44
  }, ",\n rgba(255, 255, 255, 0)\n );");
42
45
  const StyledBorderWrapper = /*#__PURE__*/_styled("div", {
43
46
  target: "e1id70w00"
44
- })("display:inline-block;border-radius:", _ref3 => {
47
+ })("display:inline-block;border-radius:", _ref5 => {
45
48
  let {
46
49
  theme
47
- } = _ref3;
50
+ } = _ref5;
48
51
  return theme.radii.default;
49
- }, ";border:1px solid ", _ref4 => {
52
+ }, ";border:1px solid ", _ref6 => {
50
53
  let {
51
54
  theme
52
- } = _ref4;
55
+ } = _ref6;
53
56
  return theme.colors.neutral.borderWeak;
54
- }, ";height:261px;width:248px;max-width:240px;overflow-wrap:break-word;white-space:normal;cursor:grab;&:hover,&:active,&:focus{border:1px solid ", _ref5 => {
57
+ }, ";height:261px;width:248px;max-width:240px;overflow-wrap:break-word;white-space:normal;cursor:grab;&:hover,&:active,&:focus{border:1px solid ", _ref7 => {
55
58
  let {
56
59
  theme
57
- } = _ref5;
60
+ } = _ref7;
58
61
  return theme.colors.primary.border;
59
- }, ";transition:box-shadow 0.2s ease;box-shadow:", _ref6 => {
62
+ }, ";transition:box-shadow 0.2s ease;box-shadow:", _ref8 => {
60
63
  let {
61
64
  theme
62
- } = _ref6;
65
+ } = _ref8;
63
66
  return theme.shadows.focusPrimary;
64
- }, ";}img{border-radius:", _ref7 => {
67
+ }, ";}img{border-radius:", _ref9 => {
65
68
  let {
66
69
  theme
67
- } = _ref7;
70
+ } = _ref9;
68
71
  return theme.radii.default;
69
- }, " ", _ref8 => {
72
+ }, " ", _ref10 => {
70
73
  let {
71
74
  theme
72
- } = _ref8;
75
+ } = _ref10;
73
76
  return theme.radii.default;
74
77
  }, " 0 0;}");
75
- const CarouselItem = _ref9 => {
78
+ const CarouselItem = _ref11 => {
76
79
  let {
77
80
  children
78
- } = _ref9;
81
+ } = _ref11;
79
82
  return jsx(StyledBorderWrapper, {
80
83
  draggable: "true",
81
84
  children: children
82
85
  });
83
86
  };
84
- const Carousel = _ref10 => {
87
+ const Carousel = _ref12 => {
85
88
  let {
86
89
  children,
87
90
  className,
88
91
  'data-testid': dataTestId = 'scrollbar'
89
- } = _ref10;
92
+ } = _ref12;
90
93
  const scrollRef = useRef(null);
91
94
  let intervalLeft;
92
95
  let intervalRight;
@@ -18,7 +18,7 @@ const InnerCheckbox = /*#__PURE__*/_styled("rect", {
18
18
  let {
19
19
  theme
20
20
  } = _ref2;
21
- return theme.colors.neutral.textWeak;
21
+ return theme.colors.neutral.borderStrong;
22
22
  }, ";");
23
23
  const CheckMark = /*#__PURE__*/_styled("rect", {
24
24
  target: "eqr7bqq6"
@@ -168,12 +168,12 @@ const CheckboxContainer = /*#__PURE__*/_styled("div", {
168
168
  let {
169
169
  theme
170
170
  } = _ref26;
171
- return theme.colors.neutral.textDisabled;
171
+ return theme.colors.neutral.borderStrongDisabled;
172
172
  }, ";", InnerCheckbox, "{stroke:", _ref27 => {
173
173
  let {
174
174
  theme
175
175
  } = _ref27;
176
- return theme.colors.neutral.textDisabled;
176
+ return theme.colors.neutral.borderStrongDisabled;
177
177
  }, ";fill:", _ref28 => {
178
178
  let {
179
179
  theme