@bitrise/bitkit 12.39.0 → 12.39.1

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": "12.39.0",
4
+ "version": "12.39.1",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -16,7 +16,6 @@ type ColorObj = {
16
16
  type VariantObj = {
17
17
  [key: string]: {
18
18
  borderRadius: string;
19
- boxShadow: string;
20
19
  marginBottom: string;
21
20
  border?: string;
22
21
  };
@@ -67,12 +66,10 @@ const colors: ColorObj = {
67
66
  const variants: VariantObj = {
68
67
  legacy: {
69
68
  borderRadius: '8',
70
- boxShadow: 'small',
71
69
  marginBottom: '16',
72
70
  },
73
71
  flat: {
74
72
  borderRadius: '0',
75
- boxShadow: 'none',
76
73
  marginBottom: '16',
77
74
  },
78
75
  };
@@ -85,7 +82,6 @@ const LegacyBaseStyle: ({ colorScheme, variant }: Pick<StyleFunctionProps, 'colo
85
82
  border: variants[variant].border ?? '1px solid',
86
83
  borderColor: colors[colorScheme].border,
87
84
  borderRadius: variants[variant].borderRadius,
88
- boxShadow: variants[variant].boxShadow,
89
85
  marginBottom: variants[variant].marginBottom,
90
86
  _last: {
91
87
  marginBottom: 0,
@@ -13,6 +13,7 @@ const DefinitionTooltipTheme = defineMultiStyleConfig({
13
13
  trigger: {
14
14
  borderBottom: '1px dotted',
15
15
  borderBottomColor: 'neutral.60',
16
+ width: 'fit-content',
16
17
  _hover: {
17
18
  borderBottomColor: 'purple.50',
18
19
  },