@thecb/components 5.9.1 → 5.9.3

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 (41) hide show
  1. package/dist/index.cjs.js +2071 -297
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +2072 -298
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +11 -11
  6. package/src/.DS_Store +0 -0
  7. package/src/components/atoms/amount-callout/AmountCallout.theme.js +1 -1
  8. package/src/components/atoms/button-with-action/ButtonWithAction.js +2 -0
  9. package/src/components/atoms/button-with-link/ButtonWithLink.js +10 -1
  10. package/src/components/atoms/icons/AutopayOnIcon.js +4 -10
  11. package/src/components/atoms/layouts/Box.styled.js +3 -5
  12. package/src/components/atoms/layouts/Cluster.js +1 -1
  13. package/src/components/atoms/layouts/Cluster.styled.js +1 -1
  14. package/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.js +5 -12
  15. package/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.js +2 -6
  16. package/src/components/atoms/layouts/examples/grid-example/GridExample.stories.js +3 -6
  17. package/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.js +3 -6
  18. package/src/components/atoms/layouts/examples/stack-example/StackExample.stories.js +5 -12
  19. package/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.js +4 -9
  20. package/src/components/atoms/link/ExternalLink.js +2 -0
  21. package/src/components/atoms/link/InternalLink.js +2 -0
  22. package/src/components/atoms/placeholder/Placeholder.js +1 -1
  23. package/src/components/atoms/text/Text.js +2 -0
  24. package/src/components/atoms/text/Text.styled.js +1 -0
  25. package/src/components/molecules/obligation/Obligation.js +46 -16
  26. package/src/components/molecules/obligation/modules/AmountModule.js +1 -0
  27. package/src/components/molecules/obligation/modules/AutopayModalModule.js +80 -47
  28. package/src/components/molecules/obligation/modules/InactiveControlsModule.js +20 -10
  29. package/src/components/molecules/obligation/modules/InactiveTitleModule.js +2 -2
  30. package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +8 -9
  31. package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +62 -0
  32. package/src/components/molecules/obligation/modules/index.js +3 -1
  33. package/src/components/molecules/tab-sidebar/TabSidebar.js +3 -2
  34. package/src/components/molecules/workflow-tile/WorkflowTile.js +1 -0
  35. package/src/components/templates/center-single/CenterSingle.js +2 -1
  36. package/src/components/templates/center-stack/CenterStack.js +2 -1
  37. package/src/components/templates/default-page-template/DefaultPageTemplate.js +2 -1
  38. package/src/components/templates/sidebar-single-content/SidebarSingleContent.js +2 -1
  39. package/src/components/templates/sidebar-stack-content/SidebarStackContent.js +2 -1
  40. package/src/components/templates/templates.theme.js +1 -1
  41. package/src/constants/colors.js +10 -8
@@ -16,13 +16,16 @@ const AutopayModal = ({
16
16
  modalOpen,
17
17
  deactivatePaymentSchedule,
18
18
  navigateToSettings,
19
- buttonLinkType,
19
+ controlType = "tertiary",
20
20
  isMobile,
21
21
  themeValues,
22
22
  isPaymentPlan,
23
- nextAutopayDate
23
+ nextAutopayDate,
24
+ dueDate,
25
+ inactive
24
26
  }) => {
25
27
  const planType = isPaymentPlan ? "Payment Plan" : "Autopay";
28
+ const nextDate = dueDate || nextAutopayDate;
26
29
  const modalExtraProps = {
27
30
  modalHeaderText: autoPayActive
28
31
  ? `Deactivate ${planType}`
@@ -30,7 +33,11 @@ const AutopayModal = ({
30
33
  modalBodyText: autoPayActive
31
34
  ? `Are you sure you want to deactivate ${
32
35
  isPaymentPlan ? "your payment plan" : "autopay"
33
- }? You will need to manually make your next payment.`
36
+ }? ${
37
+ !inactive && nextDate
38
+ ? `Your next payment will be due on ${nextDate}.`
39
+ : ""
40
+ }`
34
41
  : `To set up ${
35
42
  isPaymentPlan ? "a payment plan" : "autopay"
36
43
  } you must save a payment method and address in your profile. Do you want to save these now?`,
@@ -62,6 +69,75 @@ const AutopayModal = ({
62
69
  const defaultStyles = `
63
70
  .autopayIcon { fill: ${themeValues.color}; text-decoration: underline; }
64
71
  `;
72
+ const renderAutoPayControl = () => {
73
+ switch (controlType) {
74
+ case "secondary": {
75
+ return (
76
+ <ButtonWithAction
77
+ text={autoPayActive ? `Turn off ${planType}` : `Set Up ${planType}`}
78
+ variant="secondary"
79
+ action={() => {
80
+ toggleModal(true);
81
+ }}
82
+ dataQa="Turn off Autopay"
83
+ extraStyles={
84
+ isMobile
85
+ ? `flex-grow: 1; width: 100%; margin: 0;`
86
+ : `flex-grow: 1; min-width: 165px;`
87
+ }
88
+ />
89
+ );
90
+ }
91
+ case "tertiary": {
92
+ return (
93
+ <ButtonWithAction
94
+ text={autoPayActive ? `Manage ${planType}` : `Set Up ${planType}`}
95
+ variant="tertiary"
96
+ action={() => {
97
+ toggleModal(true);
98
+ }}
99
+ dataQa="Manage Autopay"
100
+ extraStyles={isMobile && `flex-grow: 1; width: 100%;`}
101
+ />
102
+ );
103
+ }
104
+ case "link": {
105
+ return (
106
+ <Box
107
+ padding="0"
108
+ onClick={() => {
109
+ toggleModal(true);
110
+ }}
111
+ hoverStyles={hoverStyles}
112
+ activeStyles={activeStyles}
113
+ extraStyles={defaultStyles}
114
+ >
115
+ <Cluster
116
+ justify={isMobile ? "flex-start" : "flex-end"}
117
+ align="center"
118
+ >
119
+ <AutopayOnIcon />
120
+ <Text
121
+ variant="pS"
122
+ onClick={() => toggleModal(true)}
123
+ onKeyPress={e => {
124
+ e.key === "Enter" && toggleModal(true);
125
+ }}
126
+ tabIndex="0"
127
+ dataQa={`${planType} On`}
128
+ color={SEA_GREEN}
129
+ weight={themeValues.fontWeight}
130
+ hoverStyles={themeValues.modalLinkHoverFocus}
131
+ extraStyles={`padding-left: 0.25rem;`}
132
+ >
133
+ {`${planType} ${nextAutopayDate}`}
134
+ </Text>
135
+ </Cluster>
136
+ </Box>
137
+ );
138
+ }
139
+ }
140
+ };
65
141
  return (
66
142
  <Modal
67
143
  showModal={() => toggleModal(true)}
@@ -69,50 +145,7 @@ const AutopayModal = ({
69
145
  modalOpen={modalOpen}
70
146
  {...modalExtraProps}
71
147
  >
72
- {buttonLinkType ? (
73
- <ButtonWithAction
74
- text={autoPayActive ? `Manage ${planType}` : `Set Up ${planType}`}
75
- variant="tertiary"
76
- action={() => {
77
- toggleModal(true);
78
- }}
79
- dataQa="Manage Autopay"
80
- extraStyles={isMobile && `flex-grow: 1; width: 100%;`}
81
- />
82
- ) : (
83
- <Box
84
- padding="0"
85
- onClick={() => {
86
- toggleModal(true);
87
- }}
88
- hoverStyles={hoverStyles}
89
- activeStyles={activeStyles}
90
- extraStyles={defaultStyles}
91
- >
92
- <Cluster
93
- justify={isMobile ? "flex-start" : "flex-end"}
94
- align="center"
95
- >
96
- <AutopayOnIcon />
97
- <Text
98
- variant="pS"
99
- onClick={() => toggleModal(true)}
100
- onKeyPress={e => {
101
- console.log({ e });
102
- e.key === "Enter" && toggleModal(true);
103
- }}
104
- tabIndex="0"
105
- dataQa={`${planType} On`}
106
- color={SEA_GREEN}
107
- weight={themeValues.fontWeight}
108
- hoverStyles={themeValues.modalLinkHoverFocus}
109
- extraStyles={`padding-left: 0.25rem;`}
110
- >
111
- {`${planType} ${nextAutopayDate}`}
112
- </Text>
113
- </Cluster>
114
- </Box>
115
- )}
148
+ {renderAutoPayControl()}
116
149
  </Modal>
117
150
  );
118
151
  };
@@ -3,6 +3,7 @@ import { GHOST_GREY } from "../../../../constants/colors";
3
3
  import ButtonWithAction from "../../../atoms/button-with-action";
4
4
  import { Box, Cluster } from "../../../atoms/layouts";
5
5
  import { AutopayModalModule } from "./AutopayModalModule";
6
+ import RemoveAccountModalModule from "./RemoveAccountModalModule";
6
7
 
7
8
  const InactiveControlsModule = ({
8
9
  autoPayEnabled,
@@ -14,18 +15,26 @@ const InactiveControlsModule = ({
14
15
  isPaymentPlan,
15
16
  nextAutopayDate,
16
17
  obligationAssocID,
18
+ dueDate,
19
+ agencyName,
20
+ configType,
17
21
  actions
18
22
  }) => {
19
23
  const [modalOpen, toggleModal] = useState(false);
20
- const { removeAccount } = actions;
21
- const handleRemoveAccount = () => removeAccount(obligationAssocID);
24
+ const { deleteObligationAssoc } = actions;
25
+ const handleRemoveAccount = () => deleteObligationAssoc(obligationAssocID);
22
26
  return (
23
27
  <Box
24
28
  padding={isMobile ? "18px 0 0 0" : "0"}
25
29
  border={isMobile ? `1px solid ${GHOST_GREY}` : `0px`}
26
30
  borderWidthOverride={isMobile ? `1px 0 0 0` : `0px`}
27
31
  >
28
- <Cluster childGap={isMobile ? `8px` : `18px`}>
32
+ <Cluster
33
+ childGap={autoPayEnabled ? `8px` : "0"}
34
+ nowrap
35
+ justify={isMobile && autoPayEnabled && "center"}
36
+ align={isMobile && autoPayEnabled && "center"}
37
+ >
29
38
  {autoPayEnabled && (
30
39
  <Box padding="0" extraStyles={`flex-grow: 1;`}>
31
40
  <AutopayModalModule
@@ -35,22 +44,23 @@ const InactiveControlsModule = ({
35
44
  modalOpen={modalOpen}
36
45
  navigateToSettings={navigateToSettings}
37
46
  deactivatePaymentSchedule={deactivatePaymentSchedule}
38
- buttonLinkType
39
47
  isMobile={isMobile}
40
48
  paymentPlanSchedule={paymentPlanSchedule}
41
49
  isPaymentPlan={isPaymentPlan}
42
50
  nextAutopayDate={nextAutopayDate}
43
51
  obligationAssocID={obligationAssocID}
52
+ dueDate={dueDate}
53
+ controlType="secondary"
54
+ inactive
44
55
  />
45
56
  </Box>
46
57
  )}
47
58
  <Box padding="0" extraStyles={`flex-grow: 1;`}>
48
- <ButtonWithAction
49
- variant="tertiary"
50
- text="Remove"
51
- action={handleRemoveAccount}
52
- dataQa="Remove Account"
53
- extraStyles={isMobile && `flex-grow: 1; width: 100%;`}
59
+ <RemoveAccountModalModule
60
+ agencyName={agencyName}
61
+ removeAccount={handleRemoveAccount}
62
+ accountType={configType === "ACCOUNT" ? "Account" : "Property"}
63
+ isMobile={isMobile}
54
64
  />
55
65
  </Box>
56
66
  </Cluster>
@@ -28,9 +28,9 @@ const InactiveTitleModule = ({ title, subtitle, autoPayEnabled }) => (
28
28
  Unable to load account details
29
29
  </Detail>
30
30
  <Detail variant="extraSmall" as="p" color={BLACK}>
31
- {`This may mean that the account has been paid off or there was an error loading it. If you have questions about this account, please contact us.${
31
+ {`This may mean that the balance has been paid, or there was an error loading it.${
32
32
  autoPayEnabled
33
- ? " You may disable Autopay for this account by pressing the Turn off Autopay button."
33
+ ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button."
34
34
  : ""
35
35
  }`}
36
36
  </Detail>
@@ -18,7 +18,9 @@ const PaymentDetailsActions = ({
18
18
  autoPaySchedule,
19
19
  paymentPlanSchedule,
20
20
  isPaymentPlan,
21
- nextAutopayDate
21
+ nextAutopayDate,
22
+ obligationAssocID,
23
+ dueDate
22
24
  }) => {
23
25
  const planType = isPaymentPlan ? "Payment Plan" : "Autopay";
24
26
  const [isLoading, setIsLoading] = useState(false);
@@ -38,7 +40,7 @@ const PaymentDetailsActions = ({
38
40
  createPaymentFromProfile(obligations, config);
39
41
  };
40
42
  const handleDetailsClick = () => {
41
- setDetailedObligation(obligations, config);
43
+ setDetailedObligation(obligations, config, obligationAssocID);
42
44
  navigateToDetailedObligation(detailsSlug);
43
45
  };
44
46
  return (
@@ -120,26 +122,23 @@ const PaymentDetailsActions = ({
120
122
  modalOpen={modalOpen}
121
123
  navigateToSettings={navigateToSettings}
122
124
  deactivatePaymentSchedule={deactivatePaymentSchedule}
123
- buttonLinkType
125
+ controlType="tertiary"
124
126
  isMobile={isMobile}
125
127
  paymentPlanSchedule={paymentPlanSchedule}
126
128
  isPaymentPlan={isPaymentPlan}
127
129
  nextAutopayDate={nextAutopayDate}
130
+ dueDate={dueDate}
128
131
  />
129
132
  )}
130
133
  </Box>
131
134
  {!isMobile && (
132
- <Box
133
- padding={isMobile ? "0 0 0 8px" : "0"}
134
- extraStyles={isMobile && `flex-grow: 1;`}
135
- >
135
+ <Box padding={"0"}>
136
136
  <ButtonWithAction
137
137
  isLoading={isLoading}
138
138
  action={() => handleClick(obligations)}
139
139
  text="Pay Now"
140
140
  variant={isMobile ? "smallSecondary" : "secondary"}
141
141
  dataQa="Pay Now"
142
- extraStyles={isMobile && `flex-grow: 1; width: 100%;`}
143
142
  />
144
143
  </Box>
145
144
  )}
@@ -152,7 +151,7 @@ const PaymentDetailsActions = ({
152
151
  text="Pay Now"
153
152
  variant={isMobile ? "smallSecondary" : "secondary"}
154
153
  dataQa="Pay Now"
155
- extraStyles={isMobile && `flex-grow: 1; width: 100%;`}
154
+ extraStyles={isMobile && `flex-grow: 1; width: 100%; margin: 0;`}
156
155
  />
157
156
  </Box>
158
157
  )}
@@ -0,0 +1,62 @@
1
+ import React, { useState } from "react";
2
+ import Modal from "../../modal";
3
+ import ButtonWithAction from "../../../atoms/button-with-action";
4
+ import { Box } from "../../../atoms/layouts";
5
+
6
+ const RemoveAccountModalModule = ({
7
+ agencyName,
8
+ obligations = [],
9
+ removeAccount,
10
+ accountType,
11
+ isMobile
12
+ }) => {
13
+ const [modalIsOpen, setModalIsOpen] = useState(false);
14
+ const lastItem = [...obligations].pop();
15
+ const accounts = obligations.length
16
+ ? obligations.reduce((acc, curr) => {
17
+ const account = curr.details.description;
18
+ const formattedAccount =
19
+ curr !== lastItem ? `${account} and ` : `${account}`;
20
+ return formattedAccount === agencyName
21
+ ? agencyName
22
+ : acc + formattedAccount;
23
+ }, `${agencyName} - `)
24
+ : "";
25
+ const identifier =
26
+ accountType === "Account" && obligations.length > 1
27
+ ? "accounts"
28
+ : accountType === "Property" && obligations.length > 1
29
+ ? "properties"
30
+ : accountType.toLowerCase();
31
+
32
+ return (
33
+ <Modal
34
+ showModal={() => setModalIsOpen(true)}
35
+ hideModal={() => setModalIsOpen(false)}
36
+ modalOpen={modalIsOpen}
37
+ modalHeaderText={`Remove ${accountType}`}
38
+ modalBodyText={`Are you sure you want to remove the ${identifier} ${accounts} from your profile? Any autopay scheduled against ${
39
+ obligations.length > 1 ? "them" : "it"
40
+ } will be deactivated.`}
41
+ continueButtonText="Remove"
42
+ continueAction={() => {
43
+ removeAccount();
44
+ setModalIsOpen(false);
45
+ }}
46
+ useDangerButton
47
+ >
48
+ <Box padding="0" extraStyles={`flex-grow: 1;`}>
49
+ <ButtonWithAction
50
+ text="Remove"
51
+ variant="secondary"
52
+ action={() => setModalIsOpen(true)}
53
+ dataQa="Remove Account"
54
+ extraStyles={
55
+ isMobile ? `flex-grow: 1; width: 100%; margin: 0;` : `flex-grow: 1;`
56
+ }
57
+ />
58
+ </Box>
59
+ </Modal>
60
+ );
61
+ };
62
+ export default RemoveAccountModalModule;
@@ -4,6 +4,7 @@ import AmountModule from "./AmountModule";
4
4
  import PaymentDetailsActions from "./PaymentDetailsActions";
5
5
  import InactiveControlsModule from "./InactiveControlsModule";
6
6
  import InactiveTitleModule from "./InactiveTitleModule";
7
+ import RemoveAccountModalModule from "./RemoveAccountModalModule";
7
8
 
8
9
  export {
9
10
  IconModule,
@@ -11,5 +12,6 @@ export {
11
12
  AmountModule,
12
13
  PaymentDetailsActions,
13
14
  InactiveControlsModule,
14
- InactiveTitleModule
15
+ InactiveTitleModule,
16
+ RemoveAccountModalModule
15
17
  };
@@ -4,7 +4,8 @@ import {
4
4
  BRIGHT_GREY,
5
5
  GHOST_GREY,
6
6
  ATHENS_GREY,
7
- TRANSPARENT
7
+ TRANSPARENT,
8
+ COOL_GREY_05
8
9
  } from "../../../constants/colors";
9
10
  import Text from "../../atoms/text";
10
11
  import { InternalLink } from "../../atoms/link";
@@ -18,7 +19,7 @@ import { fallbackValues } from "./TabSidebar.theme";
18
19
  const TabSidebar = ({ links, isMobile, themeValues }) => (
19
20
  <Box
20
21
  padding="0"
21
- background={ATHENS_GREY}
22
+ background={COOL_GREY_05}
22
23
  minHeight="100%"
23
24
  role="region"
24
25
  aria-label="Profile tabs"
@@ -51,6 +51,7 @@ const WorkflowTile = ({
51
51
  url={`/service/${slug}`}
52
52
  extraStyles={`width: 100%;`}
53
53
  linkExtraStyles={`justify-content: center;`}
54
+ dataQa={slug}
54
55
  />
55
56
  </Box>
56
57
  </Stack>
@@ -4,6 +4,7 @@ import { fallbackValues } from "../templates.theme";
4
4
  import { themeComponent } from "../../../util/themeUtils";
5
5
  import withWindowResize from "../../withWindowSize";
6
6
  import { Box, Center, Cover } from "../../atoms/layouts";
7
+ import { COOL_GREY_05 } from "../../../constants/colors";
7
8
 
8
9
  const CenterSingle = ({
9
10
  header,
@@ -23,7 +24,7 @@ const CenterSingle = ({
23
24
  <Box
24
25
  padding="0"
25
26
  minWidth="100%"
26
- background={themeValues.pageBackground}
27
+ background={COOL_GREY_05}
27
28
  extraStyles="flex-grow: 1;"
28
29
  >
29
30
  <Cover centerOverride={isMobile && !centeredMobileContent}>
@@ -4,6 +4,7 @@ import { fallbackValues } from "../templates.theme";
4
4
  import { themeComponent } from "../../../util/themeUtils";
5
5
  import withWindowResize from "../../withWindowSize";
6
6
  import { Box, Center, Cover, Stack } from "../../atoms/layouts";
7
+ import { COOL_GREY_05 } from "../../../constants/colors";
7
8
 
8
9
  const CenterStack = ({
9
10
  header,
@@ -23,7 +24,7 @@ const CenterStack = ({
23
24
  <Box
24
25
  padding="0"
25
26
  minWidth="100%"
26
- background={themeValues.pageBackground}
27
+ background={COOL_GREY_05}
27
28
  extraStyles="flex-grow: 1;"
28
29
  >
29
30
  <Cover>
@@ -4,6 +4,7 @@ import { fallbackValues } from "../templates.theme";
4
4
  import { themeComponent } from "../../../util/themeUtils";
5
5
  import withWindowResize from "../../withWindowSize";
6
6
  import { Box, Center, Cover } from "../../atoms/layouts";
7
+ import { COOL_GREY_05 } from "../../../constants/colors";
7
8
 
8
9
  const CenterSingle = ({
9
10
  header,
@@ -22,7 +23,7 @@ const CenterSingle = ({
22
23
  <Box
23
24
  padding="0"
24
25
  minWidth="100%"
25
- background={themeValues.pageBackground}
26
+ background={COOL_GREY_05}
26
27
  extraStyles="flex-grow: 1;"
27
28
  >
28
29
  <Cover childGap="0" fillCenter>
@@ -4,6 +4,7 @@ import { fallbackValues } from "../templates.theme";
4
4
  import { themeComponent } from "../../../util/themeUtils";
5
5
  import withWindowResize from "../../withWindowSize";
6
6
  import { Box, Center, Cover, Sidebar } from "../../atoms/layouts";
7
+ import { COOL_GREY_05 } from "../../../constants/colors";
7
8
 
8
9
  const SidebarSingleContent = ({
9
10
  header,
@@ -28,7 +29,7 @@ const SidebarSingleContent = ({
28
29
  <Box
29
30
  padding="0"
30
31
  minWidth="100%"
31
- background={themeValues.pageBackground}
32
+ background={COOL_GREY_05}
32
33
  extraStyles="flex-grow: 1;"
33
34
  >
34
35
  <Cover centerOverride={!sidebarVerticalCenter}>
@@ -4,6 +4,7 @@ import { fallbackValues } from "../templates.theme";
4
4
  import { themeComponent } from "../../../util/themeUtils";
5
5
  import withWindowResize from "../../withWindowSize";
6
6
  import { Box, Center, Cover, Sidebar, Stack } from "../../atoms/layouts";
7
+ import { COOL_GREY_05 } from "../../../constants/colors";
7
8
 
8
9
  const SidebarStackContent = ({
9
10
  header,
@@ -29,7 +30,7 @@ const SidebarStackContent = ({
29
30
  <Box
30
31
  padding="0"
31
32
  minWidth="100%"
32
- background={themeValues.pageBackground}
33
+ background={COOL_GREY_05}
33
34
  key="page-bg"
34
35
  extraStyles="flex-grow: 1;"
35
36
  >
@@ -1,4 +1,4 @@
1
- const pageBackground = "#F6F6F9";
1
+ const pageBackground = "#FBFCFD";
2
2
 
3
3
  export const fallbackValues = {
4
4
  pageBackground
@@ -15,25 +15,26 @@ const AQUA_HAZE_WHITE = "#F7F9FA";
15
15
  const BLEACH_WHITE = "#FEF4d7";
16
16
  const CATSKILL_WHITE = "#EAF2F6";
17
17
  // GREY
18
- const ATHENS_GREY = "#F6F6F9";
18
+ const ATHENS_GREY = "#F6F6F9"; // CBS-100
19
19
  const ALTO_GREY = "#d1d1d1";
20
20
  const SILVER_GREY = "#cdcdcd";
21
21
  const PEWTER_GREY = "#DFE1E4";
22
22
  const ASH_GREY = "#979797";
23
23
  const IRON_GREY = "#d5d8dc";
24
- const GHOST_GREY = "#CACED8";
24
+ const GHOST_GREY = "#CACED8"; // CBS-300
25
25
  const DUSTY_GREY = "#9B9B9B";
26
26
  const REGENT_GREY = "#959EA7";
27
- const STORM_GREY = "#6D717E";
27
+ const STORM_GREY = "#6D717E"; // CBS-700
28
28
  const TROUT_GREY = "#515660";
29
29
  const MINESHAFT_GREY = "#333333";
30
30
  const SOOT_GREY = "#999999";
31
31
  const FIREFLY_GREY = "#091325";
32
- const BRIGHT_GREY = "#3B414D";
33
- const CHARADE_GREY = "#292A33";
34
- const GRECIAN_GREY = "#E5E7EC";
32
+ const BRIGHT_GREY = "#3B414D"; // CBS-800
33
+ const CHARADE_GREY = "#292A33"; // CBS-900
34
+ const GRECIAN_GREY = "#E5E7EC"; // CBS-200
35
35
  const BLACK_SQUEEZE = "#EAF2F7";
36
- const GREY_CHATEAU = "#959CA8";
36
+ const GREY_CHATEAU = "#959CA8"; // CBS-500
37
+ const COOL_GREY_05 = "#fbfcfd"; // CBS-050
37
38
  // BLUE
38
39
  const CLOUDBURST_BLUE = "#26395c";
39
40
  const ZODIAC_BLUE = "#14284b";
@@ -67,7 +68,7 @@ const MUSTARD_YELLOW = "#FFD459";
67
68
  const FIRE_YELLOW = "#B34A00";
68
69
  // ORANGE
69
70
  const CARROT_ORANGE = "#ED9620";
70
- const ZEST_ORANGE = "#F47820";
71
+ const ZEST_ORANGE = "#B84A00";
71
72
  const APRICOT_ORANGE = "#FFE8D8";
72
73
  // RED
73
74
  const RED = "#FF0000";
@@ -138,6 +139,7 @@ export {
138
139
  BRIGHT_GREY,
139
140
  CHARADE_GREY,
140
141
  GRECIAN_GREY,
142
+ COOL_GREY_05,
141
143
  BLACK_SQUEEZE,
142
144
  GREY_CHATEAU,
143
145
  CLOUDBURST_BLUE,