@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/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 +19 -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,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
|
|
File without changes
|