@bitrise/bitkit 13.8.0 → 13.10.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.
|
|
4
|
+
"version": "13.10.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.18",
|
|
40
40
|
"@fontsource/source-code-pro": "^5.0.16",
|
|
41
|
-
"framer-motion": "^11.0.
|
|
41
|
+
"framer-motion": "^11.0.8",
|
|
42
42
|
"luxon": "^3.4.4",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"react-dom": "^18.2.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"react-dom": "^18.2.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.
|
|
55
|
-
"@babel/preset-env": "^7.
|
|
54
|
+
"@babel/core": "^7.24.0",
|
|
55
|
+
"@babel/preset-env": "^7.24.0",
|
|
56
56
|
"@babel/preset-react": "^7.23.3",
|
|
57
57
|
"@babel/preset-typescript": "^7.23.3",
|
|
58
58
|
"@bitrise/eslint-plugin": "^2.7.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
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.
|
|
76
|
+
"@types/react": "^18.2.61",
|
|
77
77
|
"@types/react-dom": "^18.2.19",
|
|
78
78
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
79
79
|
"@typescript-eslint/parser": "^7.1.0",
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ComponentStyleConfig } from '@chakra-ui/theme';
|
|
2
|
+
|
|
3
|
+
const AccordionTheme: ComponentStyleConfig = {
|
|
4
|
+
baseStyle: {
|
|
5
|
+
button: {
|
|
6
|
+
_hover: {
|
|
7
|
+
background: 'background/hover',
|
|
8
|
+
},
|
|
9
|
+
_active: {
|
|
10
|
+
background: 'background/active',
|
|
11
|
+
},
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
display: 'flex',
|
|
14
|
+
justifyContent: 'space-between',
|
|
15
|
+
padding: '16',
|
|
16
|
+
width: '100%',
|
|
17
|
+
},
|
|
18
|
+
icon: {
|
|
19
|
+
height: '24',
|
|
20
|
+
marginLeft: '16',
|
|
21
|
+
width: '24',
|
|
22
|
+
},
|
|
23
|
+
item: {
|
|
24
|
+
borderTop: '1px solid',
|
|
25
|
+
borderTopColor: 'border/regular',
|
|
26
|
+
},
|
|
27
|
+
panel: {
|
|
28
|
+
padding: '16',
|
|
29
|
+
},
|
|
30
|
+
root: {
|
|
31
|
+
borderBottom: '1px solid',
|
|
32
|
+
borderBottomColor: 'border/regular',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default AccordionTheme;
|
|
@@ -183,7 +183,7 @@ const Filter = (props: FilterProps) => {
|
|
|
183
183
|
{showSearch && (
|
|
184
184
|
<>
|
|
185
185
|
<Divider flexShrink="0" orientation="vertical" size="1" variant="solid" />
|
|
186
|
-
<FilterSearch onChange={onFilterChange} value={(cleanState.
|
|
186
|
+
<FilterSearch onChange={onFilterChange} value={(cleanState.search && cleanState.search[0]) || ''} />
|
|
187
187
|
</>
|
|
188
188
|
)}
|
|
189
189
|
</Box>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { forwardRef, Icon, IconProps } from '@chakra-ui/react';
|
|
2
2
|
|
|
3
3
|
const LockOpen = forwardRef<IconProps, 'svg'>((props, ref) => (
|
|
4
|
-
<Icon ref={ref} viewBox="0 0 16
|
|
5
|
-
<path d="M7.25 11.5V9.5H8.75V11.5H7.25Z" fill="
|
|
4
|
+
<Icon ref={ref} viewBox="0 0 16 16" {...props}>
|
|
5
|
+
<path d="M7.25 11.5V9.5H8.75V11.5H7.25Z" fill="currentColor" />
|
|
6
6
|
<path
|
|
7
7
|
clipRule="evenodd"
|
|
8
8
|
d="M6.25 4.5C6.25 3.5335 7.0335 2.75 8 2.75C8.9665 2.75 9.75 3.5335 9.75 4.5V6H4C3.17157 6 2.5 6.67157 2.5 7.5V13.5C2.5 14.3284 3.17157 15 4 15H11.985C12.8193 15 13.4932 14.3193 13.485 13.4851L13.4254 7.48511C13.4172 6.66253 12.7481 6 11.9255 6H11.25V4.5C11.25 2.70507 9.79493 1.25 8 1.25C6.20507 1.25 4.75 2.70507 4.75 4.5H6.25ZM4 7.5L4 13.5L11.985 13.5L11.9255 7.5L4 7.5Z"
|
|
9
|
-
fill="
|
|
9
|
+
fill="currentColor"
|
|
10
10
|
fillRule="evenodd"
|
|
11
11
|
/>
|
|
12
12
|
</Icon>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Alert from './Alert/Alert.theme';
|
|
2
|
+
import Accordion from './Accordion/Accordion.theme';
|
|
2
3
|
import Avatar from './Avatar/Avatar.theme';
|
|
3
4
|
import Badge from './Badge/Badge.theme';
|
|
4
5
|
import Breadcrumb from './Breadcrumb/Breadcrumb.theme';
|
|
@@ -48,6 +49,7 @@ import FilterSwitch from './Filter/FilterSwitch/FilterSwitch.theme';
|
|
|
48
49
|
import TagsInput from './Form/TagsInput/TagsInput.theme';
|
|
49
50
|
|
|
50
51
|
const components = {
|
|
52
|
+
Accordion,
|
|
51
53
|
Avatar,
|
|
52
54
|
Badge,
|
|
53
55
|
Breadcrumb,
|