@bitrise/bitkit 13.209.0 → 13.210.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "13.209.0",
4
+ "version": "13.210.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -1,3 +1,6 @@
1
+ const checkboxButtonSize = 24;
2
+ const checkboxButtonLabelGap = 8;
3
+
1
4
  const CheckboxTheme = {
2
5
  baseStyle: {
3
6
  container: {
@@ -49,6 +52,8 @@ const CheckboxTheme = {
49
52
  alignItems: 'center',
50
53
  display: 'flex',
51
54
  gap: '4',
55
+ marginLeft: -checkboxButtonSize,
56
+ paddingLeft: checkboxButtonSize + checkboxButtonLabelGap,
52
57
  userSelect: 'none',
53
58
  },
54
59
  },
@@ -1,3 +1,6 @@
1
+ const radioButtonSize = 24;
2
+ const radioButtonLabelGap = 8;
3
+
1
4
  const RadioTheme = {
2
5
  baseStyle: {
3
6
  container: {
@@ -45,14 +48,16 @@ const RadioTheme = {
45
48
  borderColor: 'neutral.90',
46
49
  borderRadius: '12',
47
50
  boxShadow: 'inner',
48
- height: '24',
49
- width: '24',
51
+ height: radioButtonSize,
52
+ width: radioButtonSize,
50
53
  },
51
54
  icon: {
52
55
  color: 'neutral.100',
53
56
  },
54
57
  label: {
55
58
  _disabled: { color: 'neutral.60' },
59
+ marginLeft: -radioButtonSize,
60
+ paddingLeft: radioButtonSize + radioButtonLabelGap,
56
61
  userSelect: 'none',
57
62
  },
58
63
  },