@thecb/components 11.6.4-beta.0 → 11.6.5-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, HTMLAttributes } from 'react';
2
2
 
3
3
  type Color = string;
4
4
 
@@ -67,6 +67,7 @@ declare const ROYAL_BLUE_VIVID: Color;
67
67
  declare const ASTRAL_BLUE: Color;
68
68
  declare const SAPPHIRE_BLUE: Color;
69
69
  declare const PEACOCK_BLUE: Color;
70
+ declare const HAWKES_BLUE: Color;
70
71
 
71
72
  // GREEN
72
73
  declare const FOREST_GREEN: Color;
@@ -98,6 +99,9 @@ declare const FANTASY_RED: Color;
98
99
  declare const COSMOS_RED: Color;
99
100
  declare const BLUSH_RED: Color;
100
101
 
102
+ // PURPLE
103
+ declare const LUCKY_POINT: Color;
104
+
101
105
  declare const ERROR_COLOR: Color;
102
106
  declare const ERROR_BACKGROUND_COLOR: Color;
103
107
 
@@ -181,6 +185,7 @@ declare const colors_d_ROYAL_BLUE_VIVID: typeof ROYAL_BLUE_VIVID;
181
185
  declare const colors_d_ASTRAL_BLUE: typeof ASTRAL_BLUE;
182
186
  declare const colors_d_SAPPHIRE_BLUE: typeof SAPPHIRE_BLUE;
183
187
  declare const colors_d_PEACOCK_BLUE: typeof PEACOCK_BLUE;
188
+ declare const colors_d_HAWKES_BLUE: typeof HAWKES_BLUE;
184
189
  declare const colors_d_FOREST_GREEN: typeof FOREST_GREEN;
185
190
  declare const colors_d_MEADOW_GREEN: typeof MEADOW_GREEN;
186
191
  declare const colors_d_POLAR_GREEN: typeof POLAR_GREEN;
@@ -203,6 +208,7 @@ declare const colors_d_RASPBERRY: typeof RASPBERRY;
203
208
  declare const colors_d_FANTASY_RED: typeof FANTASY_RED;
204
209
  declare const colors_d_COSMOS_RED: typeof COSMOS_RED;
205
210
  declare const colors_d_BLUSH_RED: typeof BLUSH_RED;
211
+ declare const colors_d_LUCKY_POINT: typeof LUCKY_POINT;
206
212
  declare const colors_d_ERROR_COLOR: typeof ERROR_COLOR;
207
213
  declare const colors_d_ERROR_BACKGROUND_COLOR: typeof ERROR_BACKGROUND_COLOR;
208
214
  declare const colors_d_ALERT_COLORS: typeof ALERT_COLORS;
@@ -261,6 +267,7 @@ declare namespace colors_d {
261
267
  colors_d_ASTRAL_BLUE as ASTRAL_BLUE,
262
268
  colors_d_SAPPHIRE_BLUE as SAPPHIRE_BLUE,
263
269
  colors_d_PEACOCK_BLUE as PEACOCK_BLUE,
270
+ colors_d_HAWKES_BLUE as HAWKES_BLUE,
264
271
  colors_d_FOREST_GREEN as FOREST_GREEN,
265
272
  colors_d_MEADOW_GREEN as MEADOW_GREEN,
266
273
  colors_d_POLAR_GREEN as POLAR_GREEN,
@@ -283,6 +290,7 @@ declare namespace colors_d {
283
290
  colors_d_FANTASY_RED as FANTASY_RED,
284
291
  colors_d_COSMOS_RED as COSMOS_RED,
285
292
  colors_d_BLUSH_RED as BLUSH_RED,
293
+ colors_d_LUCKY_POINT as LUCKY_POINT,
286
294
  colors_d_ERROR_COLOR as ERROR_COLOR,
287
295
  colors_d_ERROR_BACKGROUND_COLOR as ERROR_BACKGROUND_COLOR,
288
296
  colors_d_ALERT_COLORS as ALERT_COLORS,
@@ -595,6 +603,25 @@ interface AlertProps {
595
603
  declare const Alert: React.FC<Expand<AlertProps> &
596
604
  React.HTMLAttributes<HTMLElement>>;
597
605
 
606
+ interface BadgeProps {
607
+ label: string;
608
+ Icon?: JSX.Element;
609
+ iconOnLeft?: boolean;
610
+ variant?:
611
+ | "info"
612
+ | "warn"
613
+ | "primary"
614
+ | "primaryHeadline"
615
+ | "secondary"
616
+ | "secondaryHeadline"
617
+ | "success"
618
+ | "disabled";
619
+ id?: string;
620
+ extraStyles?: string;
621
+ }
622
+
623
+ declare const Badge: React.FC<Expand<BadgeProps> & HTMLAttributes<HTMLElement>>;
624
+
598
625
  interface ButtonWithActionProps {
599
626
  action?: (event: React.ChangeEvent<HTMLInputElement>) => void;
600
627
  disabled?: boolean;
@@ -714,7 +741,7 @@ interface DropdownProps {
714
741
  }
715
742
 
716
743
  declare const Dropdown: React.FC<Expand<DropdownProps> &
717
- React.HTMLAttributes<HTMLElement>>;
744
+ Omit<React.HTMLAttributes<HTMLElement>, "onSelect">>;
718
745
 
719
746
  type SortOrder = "asc" | "desc" | null;
720
747
  interface SortableTableHeadingProps {
@@ -1326,7 +1353,7 @@ interface CollapsibleSectionProps {
1326
1353
  ) => void;
1327
1354
  isMobile?: boolean;
1328
1355
  supportsTouch?: boolean;
1329
- title?: string;
1356
+ title?: string | JSX.Element;
1330
1357
  customPadding?: string;
1331
1358
  initiallyOpen?: boolean;
1332
1359
  openHeight?: string;
@@ -1341,7 +1368,7 @@ interface CollapsibleSectionProps {
1341
1368
  }
1342
1369
 
1343
1370
  declare const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
1344
- React.HTMLAttributes<HTMLElement>>;
1371
+ Omit<React.HTMLAttributes<HTMLElement>, "title">>; // ommitting title prop to avoid conflicts with component's title prop
1345
1372
 
1346
1373
  interface CopyableProps {
1347
1374
  content: string;
@@ -1523,5 +1550,5 @@ interface DefaultPageTemplateProps {
1523
1550
  declare const DefaultPageTemplate: React.FC<Expand<DefaultPageTemplateProps> &
1524
1551
  React.HTMLAttributes<HTMLElement>>;
1525
1552
 
1526
- export { AddValidatorAction, Alert, AlertProps, ArrowDownCircleIconSmall, ArrowDownCircleIconSmallProps, ArrowLeftCircleIconMedium, ArrowLeftCircleIconMediumProps, ArrowLeftCircleIconSmall, ArrowLeftCircleIconSmallProps, ArrowRightCircleIconSmall, ArrowRightCircleIconSmallProps, ArrowUpCircleIconSmall, ArrowUpCircleIconSmallProps, BankIconLarge, BankIconLargeProps, Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, CaretArrowDown, CaretArrowDownProps, CaretArrowUp, CaretArrowUpProps, CashieringImage, Center, CenterProps, ChargebackIconMedium, ChargebackIconMediumProps, ChargebackIconSmall, ChargebackIconSmallProps, ChargebackReversalIconMedium, ChargebackReversalIconMediumProps, ChargebackReversalIconSmall, ChargebackReversalIconSmallProps, ClearAction, CloseIcon, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, Dropdown, DropdownProps, DropdownThemeValues, EditableTable, EditableTableProps, ErrorMessageDictionary, ExternalLink, ExternalLinkProps, Field, FieldActionPayload, FieldActions, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectOption, FormSelectProps, FormTextarea, FormTextareaProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KebabMenuIcon, KioskImage, Loading, LoadingProps, MultiCartIcon, MultipleSelectFilter, MultipleSelectFilterProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PaydotImage, Popover, PopoverProps, PopupMenu, PopupMenuProps, ProfileImage, RadioGroup, RadioGroupProps, ReduxAction, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RemoveValidatorAction, RevenueManagementImage, Search, SearchProps, SearchableSelect, SearchableSelectOption, SearchableSelectProps, SetAction, SortOrder, SortableTableHeading, SortableTableHeadingProps, Spinner, SpinnerProps, Stack, StackProps, StandardCheckoutImage, SuccessfulIconMedium, SuccessfulIconMediumProps, SuccessfulIconSmall, SuccessfulIconSmallProps, Switcher, SwitcherProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeading, TableHeadingProps, TableListItem, TableListItemProps, TableProps, TableRow, TableRowProps, Text, TextProps, Title, TitleProps, ToastNotification, ToastNotificationProps, ToastVariants, TrashIconV2, ValidatorFn, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps, index_d as constants, index as hooks };
1553
+ export { AddValidatorAction, Alert, AlertProps, ArrowDownCircleIconSmall, ArrowDownCircleIconSmallProps, ArrowLeftCircleIconMedium, ArrowLeftCircleIconMediumProps, ArrowLeftCircleIconSmall, ArrowLeftCircleIconSmallProps, ArrowRightCircleIconSmall, ArrowRightCircleIconSmallProps, ArrowUpCircleIconSmall, ArrowUpCircleIconSmallProps, Badge, BadgeProps, BankIconLarge, BankIconLargeProps, Box, BoxProps, ButtonWithAction, ButtonWithActionProps, ButtonWithLink, ButtonWithLinkProps, Card, CardProps, CaretArrowDown, CaretArrowDownProps, CaretArrowUp, CaretArrowUpProps, CashieringImage, Center, CenterProps, ChargebackIconMedium, ChargebackIconMediumProps, ChargebackIconSmall, ChargebackIconSmallProps, ChargebackReversalIconMedium, ChargebackReversalIconMediumProps, ChargebackReversalIconSmall, ChargebackReversalIconSmallProps, ClearAction, CloseIcon, Cluster, ClusterProps, CollapsibleSection, CollapsibleSectionProps, Copyable, CopyableProps, Cover, CoverProps, DefaultPageTemplate, DefaultPageTemplateProps, Dropdown, DropdownProps, DropdownThemeValues, EditableTable, EditableTableProps, ErrorMessageDictionary, ExternalLink, ExternalLinkProps, Field, FieldActionPayload, FieldActions, FooterWithSubfooter, FooterWithSubfooterProps, FormInput, FormInputProps, FormSelect, FormSelectOption, FormSelectProps, FormTextarea, FormTextareaProps, GuidedCheckoutImage, HistoryIconSmall, InternalLink, InternalLinkProps, KebabMenuIcon, KioskImage, Loading, LoadingProps, MultiCartIcon, MultipleSelectFilter, MultipleSelectFilterProps, NavFooter, NavFooterProps, NavHeader, NavHeaderProps, NavTabs, NavTabsProps, Paragraph, ParagraphProps, PaydotImage, Popover, PopoverProps, PopupMenu, PopupMenuProps, ProfileImage, RadioGroup, RadioGroupProps, ReduxAction, RefundIconMedium, RefundIconMediumProps, RefundIconSmall, RefundIconSmallProps, RemoveValidatorAction, RevenueManagementImage, Search, SearchProps, SearchableSelect, SearchableSelectOption, SearchableSelectProps, SetAction, SortOrder, SortableTableHeading, SortableTableHeadingProps, Spinner, SpinnerProps, Stack, StackProps, StandardCheckoutImage, SuccessfulIconMedium, SuccessfulIconMediumProps, SuccessfulIconSmall, SuccessfulIconSmallProps, Switcher, SwitcherProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeading, TableHeadingProps, TableListItem, TableListItemProps, TableProps, TableRow, TableRowProps, Text, TextProps, Title, TitleProps, ToastNotification, ToastNotificationProps, ToastVariants, TrashIconV2, ValidatorFn, XCircleIconMedium, XCircleIconMediumProps, XCircleIconSmall, XCircleIconSmallProps, index_d as constants, index as hooks };
1527
1554
  //# sourceMappingURL=index.d.ts.map
package/dist/index.esm.js CHANGED
@@ -348,6 +348,8 @@ var BORDER_RADIUS = {
348
348
  };
349
349
  var BORDER_THIN = "1px";
350
350
  var FONT_SIZE = {
351
+ XXS: "0.625rem",
352
+ // 10px
351
353
  XS: "0.750rem",
352
354
  // 12px
353
355
  SM: "0.875rem",
@@ -11720,14 +11722,15 @@ var index = /*#__PURE__*/Object.freeze({
11720
11722
 
11721
11723
  var WHITE$1 = WHITE,
11722
11724
  TRANSPARENT$1 = TRANSPARENT,
11723
- SAPPHIRE_BLUE$1 = SAPPHIRE_BLUE,
11724
11725
  PEACOCK_BLUE$1 = PEACOCK_BLUE,
11725
11726
  MANATEE_GREY$1 = MANATEE_GREY,
11726
- MATISSE_BLUE$1 = MATISSE_BLUE,
11727
+ LUCKY_POINT$1 = LUCKY_POINT,
11727
11728
  HINT_GREEN$1 = HINT_GREEN,
11728
11729
  SEA_GREEN$1 = SEA_GREEN,
11729
11730
  RASPBERRY$1 = RASPBERRY,
11730
- ERROR_COLOR$1 = ERROR_COLOR;
11731
+ ERROR_COLOR$1 = ERROR_COLOR,
11732
+ LUCKY_POINT_DARK$1 = LUCKY_POINT_DARK,
11733
+ HAWKES_BLUE$1 = HAWKES_BLUE;
11731
11734
  var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
11732
11735
  var disabledBorderColor = {
11733
11736
  primary: MANATEE_GREY$1,
@@ -11795,13 +11798,13 @@ var padding = {
11795
11798
  };
11796
11799
  var color$2 = {
11797
11800
  primary: WHITE$1,
11798
- secondary: MATISSE_BLUE$1,
11799
- back: MATISSE_BLUE$1,
11801
+ secondary: LUCKY_POINT$1,
11802
+ back: LUCKY_POINT$1,
11800
11803
  smallPrimary: WHITE$1,
11801
- smallSecondary: MATISSE_BLUE$1,
11802
- smallGhost: MATISSE_BLUE$1,
11803
- ghost: MATISSE_BLUE$1,
11804
- tertiary: MATISSE_BLUE$1,
11804
+ smallSecondary: LUCKY_POINT$1,
11805
+ smallGhost: LUCKY_POINT$1,
11806
+ ghost: LUCKY_POINT$1,
11807
+ tertiary: LUCKY_POINT$1,
11805
11808
  danger: WHITE$1,
11806
11809
  dangerSecondary: ERROR_COLOR$1,
11807
11810
  whitePrimary: WHITE$1,
@@ -11890,10 +11893,10 @@ var textDecoration = {
11890
11893
  greenSecondary: "none"
11891
11894
  };
11892
11895
  var backgroundColor = {
11893
- primary: MATISSE_BLUE$1,
11896
+ primary: LUCKY_POINT$1,
11894
11897
  secondary: TRANSPARENT$1,
11895
11898
  back: TRANSPARENT$1,
11896
- smallPrimary: MATISSE_BLUE$1,
11899
+ smallPrimary: LUCKY_POINT$1,
11897
11900
  smallSecondary: TRANSPARENT$1,
11898
11901
  smallGhost: TRANSPARENT$1,
11899
11902
  ghost: TRANSPARENT$1,
@@ -11906,11 +11909,11 @@ var backgroundColor = {
11906
11909
  greenSecondary: TRANSPARENT$1
11907
11910
  };
11908
11911
  var border = {
11909
- primary: "2px solid " + MATISSE_BLUE$1,
11910
- secondary: "2px solid " + MATISSE_BLUE$1,
11911
- back: "2px solid " + MATISSE_BLUE$1,
11912
- smallPrimary: "2px solid " + MATISSE_BLUE$1,
11913
- smallSecondary: "2px solid " + MATISSE_BLUE$1,
11912
+ primary: "2px solid " + LUCKY_POINT$1,
11913
+ secondary: "2px solid " + LUCKY_POINT$1,
11914
+ back: "2px solid " + LUCKY_POINT$1,
11915
+ smallPrimary: "2px solid " + LUCKY_POINT$1,
11916
+ smallSecondary: "2px solid " + LUCKY_POINT$1,
11914
11917
  smallGhost: "none",
11915
11918
  ghost: "none",
11916
11919
  tertiary: "none",
@@ -11922,11 +11925,11 @@ var border = {
11922
11925
  greenSecondary: "2px solid " + SEA_GREEN$1
11923
11926
  };
11924
11927
  var hoverBackgroundColor = {
11925
- primary: SAPPHIRE_BLUE$1,
11926
- secondary: "#DBEAF0",
11928
+ primary: LUCKY_POINT_DARK$1,
11929
+ secondary: HAWKES_BLUE$1,
11927
11930
  back: TRANSPARENT$1,
11928
- smallPrimary: SAPPHIRE_BLUE$1,
11929
- smallSecondary: "#DBEAF0",
11931
+ smallPrimary: LUCKY_POINT_DARK$1,
11932
+ smallSecondary: HAWKES_BLUE$1,
11930
11933
  smallGhost: TRANSPARENT$1,
11931
11934
  ghost: TRANSPARENT$1,
11932
11935
  tertiary: TRANSPARENT$1,
@@ -11938,11 +11941,11 @@ var hoverBackgroundColor = {
11938
11941
  greenSecondary: HINT_GREEN$1
11939
11942
  };
11940
11943
  var hoverBorderColor = {
11941
- primary: SAPPHIRE_BLUE$1,
11942
- secondary: MATISSE_BLUE$1,
11944
+ primary: LUCKY_POINT_DARK$1,
11945
+ secondary: LUCKY_POINT$1,
11943
11946
  back: "#DCEAF1",
11944
- smallPrimary: SAPPHIRE_BLUE$1,
11945
- smallSecondary: MATISSE_BLUE$1,
11947
+ smallPrimary: LUCKY_POINT_DARK$1,
11948
+ smallSecondary: LUCKY_POINT$1,
11946
11949
  smallGhost: TRANSPARENT$1,
11947
11950
  ghost: TRANSPARENT$1,
11948
11951
  tertiary: TRANSPARENT$1,
@@ -11955,13 +11958,13 @@ var hoverBorderColor = {
11955
11958
  };
11956
11959
  var hoverColor = {
11957
11960
  primary: WHITE$1,
11958
- secondary: SAPPHIRE_BLUE$1,
11959
- back: SAPPHIRE_BLUE$1,
11961
+ secondary: LUCKY_POINT$1,
11962
+ back: LUCKY_POINT$1,
11960
11963
  smallPrimary: WHITE$1,
11961
- smallSecondary: SAPPHIRE_BLUE$1,
11962
- smallGhost: SAPPHIRE_BLUE$1,
11963
- ghost: SAPPHIRE_BLUE$1,
11964
- tertiary: SAPPHIRE_BLUE$1,
11964
+ smallSecondary: LUCKY_POINT$1,
11965
+ smallGhost: LUCKY_POINT$1,
11966
+ ghost: LUCKY_POINT$1,
11967
+ tertiary: LUCKY_POINT$1,
11965
11968
  danger: WHITE$1,
11966
11969
  dangerSecondary: "#B10541",
11967
11970
  whitePrimary: WHITE$1,
@@ -11970,11 +11973,11 @@ var hoverColor = {
11970
11973
  greenSecondary: SEA_GREEN$1
11971
11974
  };
11972
11975
  var activeBackgroundColor = {
11973
- primary: PEACOCK_BLUE$1,
11974
- secondary: "#B8D5E1",
11976
+ primary: LUCKY_POINT_DARK$1,
11977
+ secondary: adjustHexColor(HAWKES_BLUE$1, 10, "darken"),
11975
11978
  back: TRANSPARENT$1,
11976
- smallPrimary: PEACOCK_BLUE$1,
11977
- smallSecondary: "#B8D5E1",
11979
+ smallPrimary: LUCKY_POINT_DARK$1,
11980
+ smallSecondary: adjustHexColor(HAWKES_BLUE$1, 10, "darken"),
11978
11981
  smallGhost: TRANSPARENT$1,
11979
11982
  ghost: TRANSPARENT$1,
11980
11983
  tertiary: TRANSPARENT$1,
@@ -11986,11 +11989,11 @@ var activeBackgroundColor = {
11986
11989
  greenSecondary: adjustHexColor(HINT_GREEN$1, 5, "darken")
11987
11990
  };
11988
11991
  var activeBorderColor = {
11989
- primary: PEACOCK_BLUE$1,
11990
- secondary: MATISSE_BLUE$1,
11992
+ primary: adjustHexColor(LUCKY_POINT_DARK$1, 10, "darken"),
11993
+ secondary: LUCKY_POINT$1,
11991
11994
  back: PEACOCK_BLUE$1,
11992
- smallPrimary: PEACOCK_BLUE$1,
11993
- smallSecondary: MATISSE_BLUE$1,
11995
+ smallPrimary: adjustHexColor(LUCKY_POINT_DARK$1, 10, "darken"),
11996
+ smallSecondary: LUCKY_POINT$1,
11994
11997
  smallGhost: TRANSPARENT$1,
11995
11998
  ghost: TRANSPARENT$1,
11996
11999
  tertiary: TRANSPARENT$1,
@@ -12003,7 +12006,7 @@ var activeBorderColor = {
12003
12006
  };
12004
12007
  var activeColor = {
12005
12008
  primary: WHITE$1,
12006
- secondary: MATISSE_BLUE$1,
12009
+ secondary: LUCKY_POINT$1,
12007
12010
  back: PEACOCK_BLUE$1,
12008
12011
  smallPrimary: WHITE$1,
12009
12012
  smallSecondary: PEACOCK_BLUE$1,
@@ -16189,7 +16192,7 @@ var PeriscopeFailedIcon = function PeriscopeFailedIcon() {
16189
16192
  }, /*#__PURE__*/React__default.createElement("g", {
16190
16193
  transform: "translate(288 64)"
16191
16194
  }, /*#__PURE__*/React__default.createElement("path", {
16192
- fill: "#15749D",
16195
+ fill: "#281978",
16193
16196
  fillOpacity: "0.3",
16194
16197
  d: "M302.247 310.746c36.612 0 66.292 6.549 66.292 14.627S338.86 340 302.247 340c-36.613 0-66.292-6.55-66.292-14.627 0-8.078 29.68-14.627 66.292-14.627zM65.904 208.318c6.071 0 11.057 4.655 11.608 10.6a6.983 6.983 0 014.09-1.321c3.885 0 7.034 3.159 7.034 7.055 0 3.818-3.022 6.926-6.798 7.051l-.237.004H49.756c-4.548 0-8.234-3.696-8.234-8.256 0-4.56 3.686-8.257 8.234-8.257 1.848 0 3.549.618 4.923 1.65 1.378-4.919 5.88-8.526 11.225-8.526zm195.894-57.546c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.134 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm80.899 0c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.135 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm-80.899 22.503c-5.514 0-10.317 3.673-12.173 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.658-9.018-12.172-9.018zm80.9 0c-5.515 0-10.318 3.673-12.174 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.659-9.018-12.172-9.018zM519.99 12.426c12.578 0 22.908 9.642 24.048 21.958a14.473 14.473 0 018.471-2.737c8.049 0 14.575 6.544 14.575 14.617 0 7.966-6.358 14.445-14.262 14.612l-.313.003H486.54c-9.42 0-17.057-7.658-17.057-17.106 0-9.446 7.637-17.104 17.057-17.104 3.83 0 7.352 1.281 10.2 3.418 2.855-10.189 12.179-17.66 23.252-17.66zM170.591 0c6.61 0 12.239 4.15 14.476 9.99a6.571 6.571 0 011.792-.252c2.114 0 3.994.996 5.208 2.543a9.767 9.767 0 014.028-.872c5.431 0 9.833 4.414 9.833 9.86 0 5.354-4.254 9.712-9.557 9.858l-.276.004h-42.442c-5.43 0-9.833-4.415-9.833-9.861 0-5.447 4.403-9.861 9.833-9.861.666 0 1.315.068 1.942.194C157.345 4.93 163.386 0 170.59 0z"
16195
16198
  }), /*#__PURE__*/React__default.createElement("path", {
@@ -16207,7 +16210,7 @@ var PeriscopeFailedIcon = function PeriscopeFailedIcon() {
16207
16210
  filter: "url(#periscope-failed-filter-2)",
16208
16211
  xlinkHref: "#periscope-failed-path-1"
16209
16212
  }), /*#__PURE__*/React__default.createElement("use", {
16210
- fill: "#15749D",
16213
+ fill: "#281978",
16211
16214
  xlinkHref: "#periscope-failed-path-1"
16212
16215
  })), /*#__PURE__*/React__default.createElement("g", {
16213
16216
  transform: "translate(0 96.764)"
@@ -19239,7 +19242,7 @@ var AlertInfoIcon = function AlertInfoIcon() {
19239
19242
  xlinkHref: "#path-1"
19240
19243
  })), /*#__PURE__*/React__default.createElement("use", {
19241
19244
  id: "background-2",
19242
- fill: "#15749d",
19245
+ fill: "#281978",
19243
19246
  fillRule: "nonzero",
19244
19247
  xlinkHref: "#path-1"
19245
19248
  })))));
@@ -19390,13 +19393,13 @@ var AlertIcons = {
19390
19393
  };
19391
19394
 
19392
19395
  var background = {
19393
- info: "".concat(INFO_BLUE),
19396
+ info: "".concat(HAWKES_BLUE),
19394
19397
  warn: "".concat(APRICOT_ORANGE),
19395
19398
  error: "".concat(BLUSH_RED),
19396
19399
  success: "".concat(HINT_GREEN)
19397
19400
  };
19398
19401
  var border$1 = {
19399
- info: "".concat(MATISSE_BLUE),
19402
+ info: "".concat(LUCKY_POINT),
19400
19403
  warn: "".concat(ZEST_ORANGE),
19401
19404
  error: "".concat(RAZZMATAZZ_RED),
19402
19405
  success: "".concat(EMERALD_GREEN)
@@ -19715,6 +19718,9 @@ var background$1 = {
19715
19718
  info: "".concat(INFO_BLUE),
19716
19719
  warn: "".concat(HALF_COLONIAL_WHITE),
19717
19720
  primary: "".concat(CORNFLOWER_BLUE),
19721
+ primaryHeadline: "".concat(CORNFLOWER_BLUE),
19722
+ secondary: "".concat(ROYAL_BLUE_VIVID),
19723
+ secondaryHeadline: "".concat(ROYAL_BLUE_VIVID),
19718
19724
  success: "".concat(HINT_GREEN),
19719
19725
  disabled: "".concat(GRECIAN_GREY)
19720
19726
  };
@@ -19722,12 +19728,48 @@ var color$5 = {
19722
19728
  info: "".concat(MATISSE_BLUE),
19723
19729
  warn: "".concat(ZEST_ORANGE),
19724
19730
  primary: "".concat(ROYAL_BLUE_VIVID),
19731
+ primaryHeadline: "".concat(ROYAL_BLUE_VIVID),
19732
+ secondary: "".concat(CORNFLOWER_BLUE),
19733
+ secondaryHeadline: "".concat(CORNFLOWER_BLUE),
19725
19734
  success: "".concat(SEA_GREEN),
19726
19735
  disabled: "".concat(MANATEE_GREY)
19727
19736
  };
19737
+ var fontWeight$1 = {
19738
+ info: FONT_WEIGHT_REGULAR,
19739
+ warn: FONT_WEIGHT_REGULAR,
19740
+ primary: FONT_WEIGHT_REGULAR,
19741
+ primaryHeadline: FONT_WEIGHT_SEMIBOLD,
19742
+ secondary: FONT_WEIGHT_REGULAR,
19743
+ secondaryHeadline: FONT_WEIGHT_SEMIBOLD,
19744
+ success: FONT_WEIGHT_REGULAR,
19745
+ disabled: FONT_WEIGHT_REGULAR
19746
+ };
19747
+ var fontSizeMobile = {
19748
+ info: fallbackValues.fontSize.pXXS,
19749
+ warn: fallbackValues.fontSize.pXXS,
19750
+ primary: fallbackValues.fontSize.pXXS,
19751
+ primaryHeadline: fallbackValues.fontSize.pXS,
19752
+ secondary: fallbackValues.fontSize.pXXS,
19753
+ secondaryHeadline: fallbackValues.fontSize.pXS,
19754
+ success: fallbackValues.fontSize.pXXS,
19755
+ disabled: fallbackValues.fontSize.pXXS
19756
+ };
19757
+ var fontSizeDesktop = {
19758
+ info: fallbackValues.fontSize.pXS,
19759
+ warn: fallbackValues.fontSize.pXS,
19760
+ primary: fallbackValues.fontSize.pXS,
19761
+ primaryHeadline: fallbackValues.fontSize.pS,
19762
+ secondary: fallbackValues.fontSize.pXS,
19763
+ secondaryHeadline: fallbackValues.fontSize.pS,
19764
+ success: fallbackValues.fontSize.pXS,
19765
+ disabled: fallbackValues.fontSize.pXS
19766
+ };
19728
19767
  var fallbackValues$7 = {
19729
19768
  background: background$1,
19730
- color: color$5
19769
+ color: color$5,
19770
+ fontWeight: fontWeight$1,
19771
+ fontSizeMobile: fontSizeMobile,
19772
+ fontSizeDesktop: fontSizeDesktop
19731
19773
  };
19732
19774
 
19733
19775
  var StyledBadgeContainer = styled(Box).withConfig({
@@ -19737,22 +19779,31 @@ var StyledBadgeContainer = styled(Box).withConfig({
19737
19779
  var StyledBadge = styled(Text$1).withConfig({
19738
19780
  displayName: "Badge__StyledBadge",
19739
19781
  componentId: "sc-1g438j-1"
19740
- })(["font-family:\"Public Sans\",sans-serif;font-size:10px;font-style:normal;font-weight:400;line-height:150%;letter-spacing:0.2px;white-space:nowrap;@media screen and (min-width:1049px){font-size:12px;line-height:150%;letter-spacing:0.24px;}"]);
19782
+ })(["line-height:150%;letter-spacing:", ";white-space:nowrap;"], function (props) {
19783
+ return props.isMobile ? "0.2px" : "0.24px";
19784
+ });
19741
19785
  var Badge = function Badge(_ref) {
19742
19786
  var label = _ref.label,
19743
19787
  Icon = _ref.Icon,
19744
19788
  themeValues = _ref.themeValues,
19745
19789
  _ref$iconOnLeft = _ref.iconOnLeft,
19746
19790
  iconOnLeft = _ref$iconOnLeft === void 0 ? true : _ref$iconOnLeft,
19747
- id = _ref.id;
19791
+ id = _ref.id,
19792
+ extraStyles = _ref.extraStyles;
19793
+ var _useContext = useContext(ThemeContext),
19794
+ isMobile = _useContext.isMobile;
19748
19795
  return /*#__PURE__*/React__default.createElement(StyledBadgeContainer, {
19749
19796
  background: themeValues.background,
19750
- id: id
19797
+ id: id,
19798
+ extraStyles: extraStyles
19751
19799
  }, iconOnLeft && Icon && /*#__PURE__*/React__default.createElement(Icon, {
19752
19800
  color: themeValues.color,
19753
19801
  fill: themeValues.color
19754
19802
  }), /*#__PURE__*/React__default.createElement(StyledBadge, {
19755
- color: themeValues.color
19803
+ color: themeValues.color,
19804
+ weight: themeValues.fontWeight,
19805
+ fontSize: isMobile ? themeValues.fontSizeMobile : themeValues.fontSizeDesktop,
19806
+ isMobile: isMobile
19756
19807
  }, label), !iconOnLeft && Icon && /*#__PURE__*/React__default.createElement(Icon, {
19757
19808
  color: themeValues.color,
19758
19809
  fill: themeValues.color
@@ -21128,7 +21179,7 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
21128
21179
  var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
21129
21180
 
21130
21181
  // import theme from "styled-theming";
21131
- var MATISSE_BLUE$2 = MATISSE_BLUE,
21182
+ var MATISSE_BLUE$1 = MATISSE_BLUE,
21132
21183
  STORM_GREY$1 = STORM_GREY;
21133
21184
  var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
21134
21185
 
@@ -21137,12 +21188,12 @@ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
21137
21188
  for colors/values that should be used here instead
21138
21189
  */
21139
21190
 
21140
- var color$6 = "".concat(MATISSE_BLUE$2);
21191
+ var color$6 = "".concat(MATISSE_BLUE$1);
21141
21192
  var activeColor$2 = "".concat(STORM_GREY$1);
21142
21193
  var activeBreadcrumbColor = "".concat(STORM_GREY$1);
21143
21194
  var fontSize$2 = "0.875rem";
21144
21195
  var lineHeight = "1.25rem";
21145
- var fontWeight$1 = "400";
21196
+ var fontWeight$2 = "400";
21146
21197
  var margin = "0.5rem";
21147
21198
  var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
21148
21199
  var fallbackValues$9 = {
@@ -21151,7 +21202,7 @@ var fallbackValues$9 = {
21151
21202
  activeBreadcrumbColor: activeBreadcrumbColor,
21152
21203
  fontSize: fontSize$2,
21153
21204
  lineHeight: lineHeight,
21154
- fontWeight: fontWeight$1,
21205
+ fontWeight: fontWeight$2,
21155
21206
  margin: margin,
21156
21207
  hover: hover
21157
21208
  };
@@ -23645,9 +23696,9 @@ exportTypedArrayMethod$1('at', function at(index) {
23645
23696
  return (k < 0 || k >= len) ? undefined : O[k];
23646
23697
  });
23647
23698
 
23648
- var selectedColor = "".concat(MATISSE_BLUE);
23649
- var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
23650
- var focusColor = "".concat(MATISSE_BLUE_DARK);
23699
+ var selectedColor = "".concat(LUCKY_POINT);
23700
+ var hoverColor$3 = "".concat(HAWKES_BLUE);
23701
+ var focusColor = "".concat(LUCKY_POINT_DARK);
23651
23702
  var fallbackValues$i = {
23652
23703
  selectedColor: selectedColor,
23653
23704
  hoverColor: hoverColor$3,
@@ -24069,15 +24120,15 @@ var SelectField = styled.select.withConfig({
24069
24120
  }, function (_ref3) {
24070
24121
  var themeValues = _ref3.themeValues;
24071
24122
  return themeValues.color && themeValues.color;
24072
- }, MATISSE_BLUE);
24123
+ }, LUCKY_POINT);
24073
24124
  var SelectOption = styled.option.withConfig({
24074
24125
  displayName: "FormSelectstyled__SelectOption",
24075
24126
  componentId: "sc-hkrqrv-2"
24076
24127
  })([""]);
24077
24128
 
24078
24129
  var linkColor$1 = {
24079
- "default": "".concat(MATISSE_BLUE),
24080
- disabled: "".concat(MATISSE_BLUE)
24130
+ "default": "".concat(LUCKY_POINT),
24131
+ disabled: "".concat(LUCKY_POINT)
24081
24132
  };
24082
24133
  var formBackgroundColor = {
24083
24134
  "default": "".concat(WHITE),
@@ -24113,12 +24164,12 @@ var errorFontSize = {
24113
24164
  "default": "0.75rem",
24114
24165
  disabled: "0.75rem"
24115
24166
  };
24116
- var fontWeight$2 = {
24167
+ var fontWeight$3 = {
24117
24168
  "default": "".concat(FONT_WEIGHT_REGULAR),
24118
24169
  disabled: "".concat(FONT_WEIGHT_REGULAR)
24119
24170
  };
24120
24171
  var hoverFocusStyles = {
24121
- "default": "color: #0E506D; outline: none; text-decoration: underline; ",
24172
+ "default": "color: ".concat(LUCKY_POINT_DARK, "; outline: none; text-decoration: underline; "),
24122
24173
  disabled: "color: #6D717E;"
24123
24174
  };
24124
24175
  var fallbackValues$j = {
@@ -24131,7 +24182,7 @@ var fallbackValues$j = {
24131
24182
  lineHeight: lineHeight$1,
24132
24183
  fontSize: fontSize$4,
24133
24184
  errorFontSize: errorFontSize,
24134
- fontWeight: fontWeight$2,
24185
+ fontWeight: fontWeight$3,
24135
24186
  hoverFocusStyles: hoverFocusStyles
24136
24187
  };
24137
24188
 
@@ -25857,7 +25908,7 @@ var errorFontSize$1 = {
25857
25908
  "default": "0.75rem",
25858
25909
  disabled: "0.75rem"
25859
25910
  };
25860
- var fontWeight$3 = {
25911
+ var fontWeight$4 = {
25861
25912
  "default": "".concat(FONT_WEIGHT_REGULAR),
25862
25913
  disabled: "".concat(FONT_WEIGHT_REGULAR)
25863
25914
  };
@@ -25878,7 +25929,7 @@ var fallbackValues$n = {
25878
25929
  lineHeight: lineHeight$2,
25879
25930
  fontSize: fontSize$6,
25880
25931
  errorFontSize: errorFontSize$1,
25881
- fontWeight: fontWeight$3,
25932
+ fontWeight: fontWeight$4,
25882
25933
  hoverFocusStyles: hoverFocusStyles$1,
25883
25934
  formFooterPanel: formFooterPanel
25884
25935
  };
@@ -26842,7 +26893,7 @@ var Jumbo = function Jumbo(_ref) {
26842
26893
  };
26843
26894
  var Jumbo$1 = withWindowSize(Jumbo);
26844
26895
 
26845
- var fontWeight$4 = {
26896
+ var fontWeight$5 = {
26846
26897
  // v1 variants
26847
26898
  "default": "600",
26848
26899
  pS: "600",
@@ -26859,7 +26910,7 @@ var fontWeight$4 = {
26859
26910
  large: "700" // fontsize Title small
26860
26911
  };
26861
26912
  var fallbackValues$t = {
26862
- fontWeight: fontWeight$4
26913
+ fontWeight: fontWeight$5
26863
26914
  };
26864
26915
 
26865
26916
  var LabeledAmountV1 = function LabeledAmountV1(_ref) {
@@ -38937,7 +38988,7 @@ var fontSize$9 = {
38937
38988
  largeTitle: "1.75rem",
38938
38989
  small: "1.25rem"
38939
38990
  };
38940
- var fontWeight$5 = {
38991
+ var fontWeight$6 = {
38941
38992
  "default": "600",
38942
38993
  largeTitle: "700",
38943
38994
  small: "600"
@@ -38984,7 +39035,7 @@ var backgroundColor$7 = {
38984
39035
  };
38985
39036
  var fallbackValues$G = {
38986
39037
  fontSize: fontSize$9,
38987
- fontWeight: fontWeight$5,
39038
+ fontWeight: fontWeight$6,
38988
39039
  fontColor: fontColor,
38989
39040
  lineHeight: lineHeight$3,
38990
39041
  textAlign: textAlign,
@@ -47625,7 +47676,7 @@ var fontSize$a = {
47625
47676
  var lineHeight$4 = {
47626
47677
  "default": "1.5rem"
47627
47678
  };
47628
- var fontWeight$6 = {
47679
+ var fontWeight$7 = {
47629
47680
  "default": FONT_WEIGHT_REGULAR
47630
47681
  };
47631
47682
  var modalLinkHoverFocus = {
@@ -47638,7 +47689,7 @@ var fallbackValues$R = {
47638
47689
  linkColor: linkColor$4,
47639
47690
  fontSize: fontSize$a,
47640
47691
  lineHeight: lineHeight$4,
47641
- fontWeight: fontWeight$6,
47692
+ fontWeight: fontWeight$7,
47642
47693
  modalLinkHoverFocus: modalLinkHoverFocus,
47643
47694
  linkTextDecoration: linkTextDecoration
47644
47695
  };
@@ -47720,7 +47771,7 @@ var lineHeight$5 = {
47720
47771
  "default": "1.5rem",
47721
47772
  footer: "1.25rem"
47722
47773
  };
47723
- var fontWeight$7 = {
47774
+ var fontWeight$8 = {
47724
47775
  "default": FONT_WEIGHT_REGULAR,
47725
47776
  footer: FONT_WEIGHT_SEMIBOLD
47726
47777
  };
@@ -47739,7 +47790,7 @@ var fallbackValues$S = {
47739
47790
  border: border$3,
47740
47791
  fontSize: fontSize$b,
47741
47792
  lineHeight: lineHeight$5,
47742
- fontWeight: fontWeight$7,
47793
+ fontWeight: fontWeight$8,
47743
47794
  modalLinkHoverFocus: modalLinkHoverFocus$1,
47744
47795
  modalLinkTextDecoration: modalLinkTextDecoration
47745
47796
  };
@@ -49596,13 +49647,13 @@ var ToastNotification = function ToastNotification(_ref) {
49596
49647
  }));
49597
49648
  };
49598
49649
 
49599
- var fontWeight$8 = "600";
49650
+ var fontWeight$9 = "600";
49600
49651
  var fontColor$1 = WHITE;
49601
49652
  var textAlign$1 = "left";
49602
49653
  var headerBackgroundColor$1 = BRIGHT_GREY;
49603
49654
  var imageBackgroundColor$1 = MATISSE_BLUE;
49604
49655
  var fallbackValues$Z = {
49605
- fontWeight: fontWeight$8,
49656
+ fontWeight: fontWeight$9,
49606
49657
  fontColor: fontColor$1,
49607
49658
  textAlign: textAlign$1,
49608
49659
  headerBackgroundColor: headerBackgroundColor$1,