@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/dist/index.cjs.js +540 -2014
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +19 -212
- package/dist/index.esm.js +539 -1988
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/colors.js +23 -0
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- /package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
package/package.json
CHANGED
package/src/constants/colors.js
CHANGED
|
@@ -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
|
|
File without changes
|