@cerebruminc/cerebellum 17.1.0 → 17.1.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# react-component-lib-boilerplate
|
|
2
2
|
|
|
3
|
+
## [17.1.2](https://github.com/cerebruminc/cerebellum/compare/v17.1.1...v17.1.2) (2026-05-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** update dependency react-dropzone to v14.4.1 ([1bc330f](https://github.com/cerebruminc/cerebellum/commit/1bc330f3c89a5a73c8e1a6225e811635850f13f1))
|
|
9
|
+
|
|
10
|
+
## [17.1.1](https://github.com/cerebruminc/cerebellum/compare/v17.1.0...v17.1.1) (2026-05-22)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **image-picker:** move alternate action text into theme ([fb5b4de](https://github.com/cerebruminc/cerebellum/commit/fb5b4de517eaaa553bbb2c53b5d9f9e1fbe540dd))
|
|
16
|
+
|
|
3
17
|
## [17.1.0](https://github.com/cerebruminc/cerebellum/compare/v17.0.2...v17.1.0) (2026-05-19)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -113,6 +113,7 @@ export interface ThemeOverride {
|
|
|
113
113
|
addButtonsGap?: number;
|
|
114
114
|
bgColor?: string;
|
|
115
115
|
bottomPadding?: number;
|
|
116
|
+
buttonShadow?: boolean;
|
|
116
117
|
cancelButtonColorFamily?: ButtonColorFamilyEnum;
|
|
117
118
|
clearButtonColorFamily?: ButtonColorFamilyEnum;
|
|
118
119
|
removeButtonColorFamily?: ButtonColorFamilyEnum;
|
|
@@ -201,8 +201,8 @@ export const ActionTextBox = styled.div<ActionTextBoxProps>`
|
|
|
201
201
|
`;
|
|
202
202
|
|
|
203
203
|
export const FakeTextLink = styled.span<FakeTextLinkProps>`
|
|
204
|
-
border-bottom: 1px solid ${({ $themeOverride }) => $themeOverride?.actionTextColor ||
|
|
205
|
-
color: ${({ $themeOverride }) => $themeOverride?.actionTextColor ||
|
|
204
|
+
border-bottom: 1px solid ${({ $themeOverride, theme }) => $themeOverride?.actionTextColor || theme.imagePicker.actionTextColor};
|
|
205
|
+
color: ${({ $themeOverride, theme }) => $themeOverride?.actionTextColor || theme.imagePicker.actionTextColor};
|
|
206
206
|
padding-bottom: 4px;
|
|
207
207
|
position: relative;
|
|
208
208
|
`;
|
|
@@ -210,7 +210,7 @@ export const FakeTextLink = styled.span<FakeTextLinkProps>`
|
|
|
210
210
|
export const AlternatePickerText = styled(BodyXSPrimary)<AlternatePickerTextProps>`
|
|
211
211
|
margin-top: ${({ $noTopMargin }) => ($noTopMargin ? 0 : 16)}px;
|
|
212
212
|
text-align: center;
|
|
213
|
-
color: ${
|
|
213
|
+
color: ${({ theme }) => theme.imagePicker.helperTextColor};
|
|
214
214
|
`;
|
|
215
215
|
|
|
216
216
|
export const HiddenButton = styled.button<ImageInputProps>`
|
package/src/theme.ts
CHANGED
|
@@ -224,6 +224,7 @@ interface IconTileTheme {
|
|
|
224
224
|
}
|
|
225
225
|
interface ImagePickerTheme {
|
|
226
226
|
actionButtonGap: number;
|
|
227
|
+
actionTextColor: string;
|
|
227
228
|
asteriskColor: string;
|
|
228
229
|
borderColor: string;
|
|
229
230
|
borderRadius: number;
|
|
@@ -979,6 +980,7 @@ export const cerebellumTheme: DefaultTheme = {
|
|
|
979
980
|
},
|
|
980
981
|
imagePicker: {
|
|
981
982
|
actionButtonGap: 6,
|
|
983
|
+
actionTextColor: colors.BLUE_100,
|
|
982
984
|
asteriskColor: colors.BLUE_70,
|
|
983
985
|
borderColor: colors.COOL_GREY_25,
|
|
984
986
|
borderRadius: 5,
|
|
@@ -1560,6 +1562,7 @@ export const highContrastTheme: DefaultTheme = {
|
|
|
1560
1562
|
imagePicker: {
|
|
1561
1563
|
...cerebellumTheme.imagePicker,
|
|
1562
1564
|
asteriskColor: colors.BLACK,
|
|
1565
|
+
actionTextColor: colors.BLACK,
|
|
1563
1566
|
borderColor: colors.BLACK,
|
|
1564
1567
|
failColor: colors.RED_130,
|
|
1565
1568
|
helperTextColor: colors.BLACK,
|