@bitrise/bitkit 12.11.3 → 12.11.5
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.11.
|
|
4
|
+
"version": "12.11.5",
|
|
5
5
|
"repository": "git@github.com:bitrise-io/bitkit.git",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"license": "UNLICENSED",
|
|
@@ -23,10 +23,13 @@
|
|
|
23
23
|
"@chakra-ui/react": "^2.3.7",
|
|
24
24
|
"@chakra-ui/react-utils": "^2.0.8",
|
|
25
25
|
"@chakra-ui/styled-system": "^2.3.4",
|
|
26
|
+
"@chakra-ui/theme": "^2.2.4",
|
|
27
|
+
"@chakra-ui/theme-tools": "^2.0.16",
|
|
26
28
|
"@chakra-ui/utils": "^2.0.11",
|
|
27
29
|
"@emotion/react": "^11.10.5",
|
|
28
30
|
"@emotion/styled": "^11.10.5",
|
|
29
31
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
32
|
+
"ast-types": "npm:@gkz/ast-types",
|
|
30
33
|
"framer-motion": "^7.6.5",
|
|
31
34
|
"luxon": "^3.1.0",
|
|
32
35
|
"react": "^18.2.0",
|
|
@@ -46,16 +49,16 @@
|
|
|
46
49
|
"@semantic-release/changelog": "^6.0.1",
|
|
47
50
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
48
51
|
"@semantic-release/git": "^10.0.1",
|
|
49
|
-
"@storybook/addon-actions": "^6.5.
|
|
50
|
-
"@storybook/addon-essentials": "^6.5.
|
|
51
|
-
"@storybook/addon-interactions": "^6.5.
|
|
52
|
-
"@storybook/addon-links": "^6.5.
|
|
53
|
-
"@storybook/addons": "^6.5.
|
|
54
|
-
"@storybook/builder-webpack5": "^6.5.
|
|
55
|
-
"@storybook/manager-webpack5": "^6.5.
|
|
56
|
-
"@storybook/react": "^6.5.
|
|
52
|
+
"@storybook/addon-actions": "^6.5.15",
|
|
53
|
+
"@storybook/addon-essentials": "^6.5.15",
|
|
54
|
+
"@storybook/addon-interactions": "^6.5.15",
|
|
55
|
+
"@storybook/addon-links": "^6.5.15",
|
|
56
|
+
"@storybook/addons": "^6.5.15",
|
|
57
|
+
"@storybook/builder-webpack5": "^6.5.15",
|
|
58
|
+
"@storybook/manager-webpack5": "^6.5.15",
|
|
59
|
+
"@storybook/react": "^6.5.15",
|
|
57
60
|
"@storybook/testing-library": "^0.0.13",
|
|
58
|
-
"@storybook/theming": "^6.5.
|
|
61
|
+
"@storybook/theming": "^6.5.15",
|
|
59
62
|
"@testing-library/dom": "^8.19.0",
|
|
60
63
|
"@testing-library/jest-dom": "^5.16.5",
|
|
61
64
|
"@testing-library/react": "^13.4.0",
|
|
@@ -74,7 +77,7 @@
|
|
|
74
77
|
"eslint-plugin-prettier": "^4.2.1",
|
|
75
78
|
"eslint-plugin-react": "^7.31.10",
|
|
76
79
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
77
|
-
"eslint-plugin-storybook": "^0.6.
|
|
80
|
+
"eslint-plugin-storybook": "^0.6.10",
|
|
78
81
|
"eslint-plugin-testing-library": "^5.9.1",
|
|
79
82
|
"glob": "^8.0.3",
|
|
80
83
|
"husky": "^7.0.4",
|
|
@@ -2,10 +2,12 @@ import { Children } from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Accordion as ChakraAccordion,
|
|
4
4
|
AccordionProps as ChakraAccordionProps,
|
|
5
|
-
|
|
5
|
+
UseAccordionProps,
|
|
6
6
|
usePrefersReducedMotion,
|
|
7
7
|
} from '@chakra-ui/react';
|
|
8
8
|
|
|
9
|
+
type ExpandedIndex = NonNullable<UseAccordionProps['index']>;
|
|
10
|
+
|
|
9
11
|
export interface LegacyAccordionProps extends Omit<ChakraAccordionProps, 'onChange'> {
|
|
10
12
|
colorScheme?: 'white' | 'gray' | 'orange';
|
|
11
13
|
variant?: 'flat' | 'legacy';
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from '@chakra-ui/react';
|
|
6
6
|
import CloseButtonTheme from './CloseButton.theme';
|
|
7
7
|
|
|
8
|
-
type ThemeArguments = Parameters<typeof CloseButtonTheme['baseStyle']>[0];
|
|
8
|
+
type ThemeArguments = Parameters<(typeof CloseButtonTheme)['baseStyle']>[0];
|
|
9
9
|
export interface CloseButtonProps extends ChakraCloseButtonProps {
|
|
10
10
|
size?: ThemeArguments['size'];
|
|
11
11
|
colorScheme: ThemeArguments['colorScheme'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableContainer as ChakraTableContainer, TableContainerProps, forwardRef } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
|
-
const TableContainer = forwardRef<TableContainerProps, '
|
|
3
|
+
const TableContainer = forwardRef<TableContainerProps, 'div'>((props, ref) => {
|
|
4
4
|
return <ChakraTableContainer {...props} ref={ref} />;
|
|
5
5
|
});
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tbody as ChakraTbody, TableBodyProps, forwardRef } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
|
-
const Tbody = forwardRef<TableBodyProps, '
|
|
3
|
+
const Tbody = forwardRef<TableBodyProps, 'tbody'>((props, ref) => {
|
|
4
4
|
return <ChakraTbody {...props} ref={ref} />;
|
|
5
5
|
});
|
|
6
6
|
|