@thecb/components 7.10.4 → 7.10.5-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.10.4",
3
+ "version": "7.10.5-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -14,6 +14,7 @@ const ALABASTER_WHITE = "#F7F7F7";
14
14
  const AQUA_HAZE_WHITE = "#F7F9FA";
15
15
  const BLEACH_WHITE = "#FEF4d7";
16
16
  const CATSKILL_WHITE = "#EAF2F6";
17
+ const HALF_COLONIAL_WHITE = "#FDF4D2";
17
18
  // GREY
18
19
  const ATHENS_GREY = "#F6F6F9"; // CBS-100
19
20
  const ALTO_GREY = "#d1d1d1";
@@ -116,6 +117,26 @@ const ALERT_COLORS = {
116
117
  link: SCIENCE_BLUE
117
118
  };
118
119
 
120
+ // These pill colors match the current CityBase design and are grouped for convenience.
121
+ const PILL_COLORS = {
122
+ danger: {
123
+ background: RAZZMATAZZ_RED,
124
+ text: BLUSH_RED
125
+ },
126
+ neutral: {
127
+ background: GRECIAN_GREY,
128
+ text: CHARADE_GREY
129
+ },
130
+ success: {
131
+ background: HINT_GREEN,
132
+ text: SEA_GREEN
133
+ },
134
+ warning: {
135
+ background: ZEST_ORANGE,
136
+ text: HALF_COLONIAL_WHITE
137
+ }
138
+ };
139
+
119
140
  export {
120
141
  BLACK,
121
142
  TRANSPARENT,
@@ -177,6 +198,7 @@ export {
177
198
  SELECTIVE_YELLOW,
178
199
  MUSTARD_YELLOW,
179
200
  FIRE_YELLOW,
201
+ HALF_COLONIAL_WHITE,
180
202
  CARROT_ORANGE,
181
203
  ZEST_ORANGE,
182
204
  APRICOT_ORANGE,
@@ -189,5 +211,6 @@ export {
189
211
  BLUSH_RED,
190
212
  RASPBERRY,
191
213
  ALERT_COLORS,
214
+ PILL_COLORS,
192
215
  ERROR_COLOR
193
216
  };
package/src/.DS_Store DELETED
Binary file
Binary file
Binary file