@artsy/palette-mobile 13.2.14 → 13.2.16
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.
|
@@ -48,7 +48,7 @@ const Checkbox = ({ checked: checkedProp, disabled, error, onPress, text, subtit
|
|
|
48
48
|
? disabledCheckboxStyle
|
|
49
49
|
: checkboxStyles[error ? "error" : "default"][isChecked ? "checked" : "unchecked"];
|
|
50
50
|
const textColor = error ? color("red100") : disabled ? color("black30") : color("black100");
|
|
51
|
-
const subtitleColor = error ? color("red100") : color("black30");
|
|
51
|
+
const subtitleColor = error ? color("red100") : disabled ? color("black30") : color("black60");
|
|
52
52
|
return ((0, jsx_runtime_1.jsx)(react_native_1.TouchableWithoutFeedback, { onPress: (event) => {
|
|
53
53
|
if (disabled) {
|
|
54
54
|
return;
|
package/dist/tokens.d.ts
CHANGED
|
@@ -40,9 +40,11 @@ export declare const COLOR_LAYER_NAME: {
|
|
|
40
40
|
black10: string;
|
|
41
41
|
black5: string;
|
|
42
42
|
white100: string;
|
|
43
|
+
blue200: string;
|
|
43
44
|
blue150: string;
|
|
44
45
|
blue100: string;
|
|
45
46
|
brand: string;
|
|
47
|
+
blue15: string;
|
|
46
48
|
blue10: string;
|
|
47
49
|
green150: string;
|
|
48
50
|
green100: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export type ColorCSS = string & {};
|
|
|
13
13
|
export type ColorDSValue = ColorLayerName | ColorLayerRole;
|
|
14
14
|
export type Color = ColorLayerName | ColorLayerRole | ColorCSS;
|
|
15
15
|
export declare const isRoleLayer: (name: Color) => name is "background" | "onBackground" | "onBackgroundHigh" | "onBackgroundMedium" | "onBackgroundLow" | "surface" | "onSurface" | "onSurfaceHigh" | "onSurfaceMedium" | "onSurfaceLow" | "primary" | "onPrimaryHigh" | "onPrimaryMedium" | "onPrimaryLow" | "secondary" | "onSecondaryHigh" | "onSecondaryMedium" | "onSecondaryLow" | "brand" | "onBrand";
|
|
16
|
-
export declare const isNameLayer: (name: Color) => name is "brand" | "devpurple" | "black100" | "black60" | "black30" | "black15" | "black10" | "black5" | "white100" | "blue150" | "blue100" | "blue10" | "green150" | "green100" | "green10" | "yellow150" | "yellow100" | "yellow10" | "orange150" | "orange100" | "orange10" | "red150" | "red100" | "red10";
|
|
16
|
+
export declare const isNameLayer: (name: Color) => name is "brand" | "devpurple" | "black100" | "black60" | "black30" | "black15" | "black10" | "black5" | "white100" | "blue200" | "blue150" | "blue100" | "blue15" | "blue10" | "green150" | "green100" | "green10" | "yellow150" | "yellow100" | "yellow10" | "orange150" | "orange100" | "orange10" | "red150" | "red100" | "red10";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/palette-mobile",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.16",
|
|
4
4
|
"description": "Artsy's design system for React Native",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"android": "RCT_METRO_PORT=8082 react-native run-android --port 8082",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"FOR DEPS NEEDED FOR THE STORYBOOK APP, ADD THEM AS DEV DEPS BELOW."
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@artsy/palette-tokens": "^
|
|
36
|
+
"@artsy/palette-tokens": "^6.0.3",
|
|
37
37
|
"@shopify/flash-list": "^1.6.4",
|
|
38
38
|
"@styled-system/core": "^5.1.2",
|
|
39
39
|
"@styled-system/theme-get": "^5.1.2",
|