@bitrise/bitkit 13.32.0 → 13.34.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.32.0",
4
+ "version": "13.34.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -38,7 +38,7 @@
38
38
  "@floating-ui/react-dom-interactions": "^0.8.1",
39
39
  "@fontsource/figtree": "^5.0.19",
40
40
  "@fontsource/source-code-pro": "^5.0.17",
41
- "framer-motion": "^11.0.14",
41
+ "framer-motion": "^11.0.18",
42
42
  "luxon": "^3.4.4",
43
43
  "react": "^18.2.0",
44
44
  "react-dom": "^18.2.0",
@@ -51,32 +51,32 @@
51
51
  "react-dom": "^18.2.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@babel/core": "^7.24.0",
55
- "@babel/preset-env": "^7.24.0",
56
- "@babel/preset-react": "^7.23.3",
57
- "@babel/preset-typescript": "^7.23.3",
54
+ "@babel/core": "^7.24.3",
55
+ "@babel/preset-env": "^7.24.3",
56
+ "@babel/preset-react": "^7.24.1",
57
+ "@babel/preset-typescript": "^7.24.1",
58
58
  "@bitrise/eslint-plugin": "^2.10.0",
59
59
  "@chakra-ui/cli": "^2.4.1",
60
- "@google-cloud/storage": "^7.8.0",
61
- "@storybook/addon-actions": "^8.0.0",
62
- "@storybook/addon-essentials": "^8.0.0",
63
- "@storybook/addon-interactions": "^8.0.0",
64
- "@storybook/addon-links": "^8.0.0",
60
+ "@google-cloud/storage": "^7.9.0",
61
+ "@storybook/addon-actions": "^8.0.2",
62
+ "@storybook/addon-essentials": "^8.0.2",
63
+ "@storybook/addon-interactions": "^8.0.2",
64
+ "@storybook/addon-links": "^8.0.2",
65
65
  "@storybook/addon-webpack5-compiler-swc": "^1.0.2",
66
- "@storybook/blocks": "^8.0.0",
67
- "@storybook/react": "^8.0.0",
68
- "@storybook/react-webpack5": "^8.0.0",
69
- "@storybook/theming": "^8.0.0",
66
+ "@storybook/blocks": "^8.0.2",
67
+ "@storybook/react": "^8.0.2",
68
+ "@storybook/react-webpack5": "^8.0.2",
69
+ "@storybook/theming": "^8.0.2",
70
70
  "@testing-library/dom": "^9.3.4",
71
71
  "@testing-library/jest-dom": "^6.4.2",
72
- "@testing-library/react": "^14.2.1",
72
+ "@testing-library/react": "^14.2.2",
73
73
  "@testing-library/user-event": "^14.5.2",
74
74
  "@types/jest": "^29.5.12",
75
75
  "@types/luxon": "^3.4.2",
76
- "@types/react": "^18.2.66",
76
+ "@types/react": "^18.2.67",
77
77
  "@types/react-dom": "^18.2.22",
78
- "@typescript-eslint/eslint-plugin": "^7.2.0",
79
- "@typescript-eslint/parser": "^7.2.0",
78
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
79
+ "@typescript-eslint/parser": "^7.3.1",
80
80
  "axios": "^1.6.8",
81
81
  "eslint": "^8.57.0",
82
82
  "glob": "^10.3.10",
@@ -86,7 +86,7 @@
86
86
  "prettier": "^3.2.5",
87
87
  "react-hook-form": "^7.51.1",
88
88
  "release-it": "^17.1.1",
89
- "storybook": "^8.0.0",
89
+ "storybook": "^8.0.2",
90
90
  "ts-jest": "^29.1.2",
91
91
  "typescript": "^5.4.2"
92
92
  },
@@ -14,10 +14,10 @@ const baseStyle = defineStyle((props) => {
14
14
  borderLeftRadius: '4',
15
15
  },
16
16
  // Selects the last .chakra-button item even is there an another element after that (eg menu)
17
- '&:not(:has(~ .chakra-button))': {
17
+ ':not(:has(~ .chakra-button))': {
18
18
  borderRightRadius: '4',
19
19
  },
20
- [`&:not(:first-child)${ignoreSsrWarning}`]: {
20
+ [`:not(:first-child)${ignoreSsrWarning}`]: {
21
21
  ...(props.variant.includes('primary')
22
22
  ? {
23
23
  _before: {
@@ -27,11 +27,12 @@ const baseStyle = defineStyle((props) => {
27
27
  top: `-${rem(1)}`,
28
28
  bottom: `-${rem(1)}`,
29
29
  width: rem(1),
30
- backgroundColor: 'background/primary',
30
+ backgroundColor: 'border/on-contrast',
31
+ zIndex: 1,
31
32
  },
32
33
  }
33
34
  : {}),
34
- ...(props.variant.includes('secondary') ? { marginInlineStart: `-${rem(1)}` } : {}),
35
+ marginInlineStart: `-${rem(1)}`,
35
36
  },
36
37
  },
37
38
  };
@@ -96,6 +97,7 @@ const variants = (
96
97
  backgroundColor: `button/${variant}/bg-hover`,
97
98
  borderColor: variant?.includes('secondary') ? `button/${variant}/border-hover` : `button/${variant}/bg-hover`,
98
99
  color: `button/${variant}/fg-hover`,
100
+ zIndex: 1,
99
101
  },
100
102
  _active: {
101
103
  backgroundColor: `button/${variant}/bg-active`,