@thecb/components 11.9.1-beta.1 → 11.9.1-beta.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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/util/formats.js +3 -3
package/package.json
CHANGED
package/src/util/formats.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createFormat } from "formatted-input";
|
|
3
3
|
import Text from "../components/atoms/text";
|
|
4
|
-
import { ASH_GREY, FIRE_YELLOW } from "../constants/colors";
|
|
4
|
+
import { ASH_GREY, FIRE_YELLOW, STORM_GREY } from "../constants/colors";
|
|
5
5
|
export const formatDelimiter = "_";
|
|
6
6
|
|
|
7
7
|
export const phoneFormats = [
|
|
@@ -101,7 +101,7 @@ export const renderCardStatus = (
|
|
|
101
101
|
<Text
|
|
102
102
|
as={as}
|
|
103
103
|
variant="pXS"
|
|
104
|
-
color={
|
|
104
|
+
color={STORM_GREY}
|
|
105
105
|
extraStyles={`text-align: ${textAlign}; margin: ${textMargin};`}
|
|
106
106
|
>
|
|
107
107
|
Exp Date {expireDate}
|
|
@@ -123,7 +123,7 @@ export const renderCardStatus = (
|
|
|
123
123
|
<Text
|
|
124
124
|
as={as}
|
|
125
125
|
variant="pXS"
|
|
126
|
-
color={
|
|
126
|
+
color={STORM_GREY}
|
|
127
127
|
extraStyles={`text-align: ${textAlign}; margin: ${textMargin};`}
|
|
128
128
|
>
|
|
129
129
|
Expired
|