@gympass/yoga 7.141.0 → 7.143.0

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.
@@ -41,7 +41,7 @@ const CheckboxSwitch = ({
41
41
  backgroundColor: colors.primary
42
42
  },
43
43
  disabled: {
44
- backgroundColor: colors.elements.backgroundAndDisabled
44
+ backgroundColor: colors.steady
45
45
  }
46
46
  },
47
47
  thumb: {
@@ -162,16 +162,17 @@ const Dropdown = ({
162
162
  disabled: {
163
163
  selector: {
164
164
  border: {
165
- color: colors.elements.backgroundAndDisabled
165
+ color: colors.steady
166
166
  }
167
167
  },
168
168
  input: {
169
169
  font: {
170
- color: colors.text.disabled
170
+ color: colors.steady
171
171
  }
172
172
  },
173
173
  arrow: {
174
- fill: colors.elements.lineAndBorders
174
+ fill: colors.steady,
175
+ disabled: colors.steady
175
176
  }
176
177
  },
177
178
  selected: {
@@ -273,7 +273,7 @@ const ArrowIcon = (0, import_styled_components.default)((_a) => {
273
273
  }
274
274
  }) => `
275
275
  fill: ${dropdown.arrow.fill};
276
- ${disabled ? `fill: ${dropdown.disabled.arrow.fill};` : ""};
276
+ ${disabled ? `fill: ${dropdown.disabled.arrow.disabled};` : ""};
277
277
  ${selected && !disabled ? `fill: ${dropdown.selected.arrow.fill};` : ""};
278
278
  transform: rotate(${isOpen ? "180deg" : "0"});
279
279
  `}
@@ -18,7 +18,7 @@ const CheckboxSwitch = ({
18
18
  backgroundColor: colors.primary
19
19
  },
20
20
  disabled: {
21
- backgroundColor: colors.elements.backgroundAndDisabled
21
+ backgroundColor: colors.steady
22
22
  }
23
23
  },
24
24
  thumb: {
@@ -139,16 +139,17 @@ const Dropdown = ({
139
139
  disabled: {
140
140
  selector: {
141
141
  border: {
142
- color: colors.elements.backgroundAndDisabled
142
+ color: colors.steady
143
143
  }
144
144
  },
145
145
  input: {
146
146
  font: {
147
- color: colors.text.disabled
147
+ color: colors.steady
148
148
  }
149
149
  },
150
150
  arrow: {
151
- fill: colors.elements.lineAndBorders
151
+ fill: colors.steady,
152
+ disabled: colors.steady
152
153
  }
153
154
  },
154
155
  selected: {
@@ -250,7 +250,7 @@ const ArrowIcon = styled((_a) => {
250
250
  }
251
251
  }) => `
252
252
  fill: ${dropdown.arrow.fill};
253
- ${disabled ? `fill: ${dropdown.disabled.arrow.fill};` : ""};
253
+ ${disabled ? `fill: ${dropdown.disabled.arrow.disabled};` : ""};
254
254
  ${selected && !disabled ? `fill: ${dropdown.selected.arrow.fill};` : ""};
255
255
  transform: rotate(${isOpen ? "180deg" : "0"});
256
256
  `}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gympass/yoga",
3
- "version": "7.141.0",
3
+ "version": "7.143.0",
4
4
  "description": "Gympass component library",
5
5
  "main": "./cjs",
6
6
  "types": "./typings/index.d.ts",
@@ -59,7 +59,7 @@
59
59
  "react-native": "0.72.3",
60
60
  "styled-components": "^4.4.0"
61
61
  },
62
- "gitHead": "469252db0b93fed37bf5de82866ea0dfd2ad9fc6",
62
+ "gitHead": "f0df4d17ff81d6df8fa194f984a94d1cca880c23",
63
63
  "module": "./esm",
64
64
  "private": false,
65
65
  "react-native": "./cjs/index.native.js"
@@ -787,6 +787,7 @@ declare const composeTheme: (tokens: typeof yogaTokens, customTheming?: {}) => {
787
787
  };
788
788
  arrow: {
789
789
  fill: any;
790
+ disabled: any;
790
791
  };
791
792
  };
792
793
  selected: {