@thecb/components 7.10.4 → 7.10.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/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.1",
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,22 @@ 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
+ success: {
127
+ background: HINT_GREEN,
128
+ text: SEA_GREEN
129
+ },
130
+ warning: {
131
+ background: ZEST_ORANGE,
132
+ text: HALF_COLONIAL_WHITE
133
+ }
134
+ };
135
+
119
136
  export {
120
137
  BLACK,
121
138
  TRANSPARENT,
@@ -177,6 +194,7 @@ export {
177
194
  SELECTIVE_YELLOW,
178
195
  MUSTARD_YELLOW,
179
196
  FIRE_YELLOW,
197
+ HALF_COLONIAL_WHITE,
180
198
  CARROT_ORANGE,
181
199
  ZEST_ORANGE,
182
200
  APRICOT_ORANGE,
@@ -189,5 +207,6 @@ export {
189
207
  BLUSH_RED,
190
208
  RASPBERRY,
191
209
  ALERT_COLORS,
210
+ PILL_COLORS,
192
211
  ERROR_COLOR
193
212
  };
package/src/.DS_Store DELETED
Binary file
Binary file
Binary file