@bitrise/bitkit 12.20.3 → 12.21.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 +1 -1
- package/src/Components/Icons/16x16/GoogleColor.tsx +32 -0
- package/src/Components/Icons/16x16/index.ts +1 -0
- package/src/Components/Icons/24x24/GoogleColor.tsx +32 -0
- package/src/Components/Icons/24x24/index.ts +1 -0
- package/src/Components/Notification/Notification.tsx +6 -4
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
|
|
2
|
+
|
|
3
|
+
const GoogleColor = forwardRef<IconProps, 'svg'>((props, ref) => (
|
|
4
|
+
<Icon ref={ref} viewBox="0 0 18 24" fill="none" {...props}>
|
|
5
|
+
<path
|
|
6
|
+
fillRule="evenodd"
|
|
7
|
+
clipRule="evenodd"
|
|
8
|
+
d="M21.0399 12.2046C21.0399 11.5664 20.9826 10.9527 20.8763 10.3636H12.3999V13.845H17.2435C17.0349 14.97 16.4008 15.9232 15.4476 16.5614V18.8196H18.3563C20.0581 17.2527 21.0399 14.9455 21.0399 12.2046Z"
|
|
9
|
+
fill="#4285F4"
|
|
10
|
+
/>
|
|
11
|
+
<path
|
|
12
|
+
fillRule="evenodd"
|
|
13
|
+
clipRule="evenodd"
|
|
14
|
+
d="M12.3999 21C14.8299 21 16.8672 20.1941 18.3563 18.8195L15.4476 16.5613C14.6417 17.1013 13.6108 17.4204 12.3999 17.4204C10.0558 17.4204 8.07172 15.8372 7.364 13.71H4.35718V16.0418C5.83809 18.9831 8.88172 21 12.3999 21Z"
|
|
15
|
+
fill="#34A853"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
fillRule="evenodd"
|
|
19
|
+
clipRule="evenodd"
|
|
20
|
+
d="M7.36399 13.7099C7.18399 13.1699 7.08172 12.5931 7.08172 11.9999C7.08172 11.4068 7.18399 10.8299 7.36399 10.2899V7.95813H4.35718C3.74763 9.17313 3.3999 10.5477 3.3999 11.9999C3.3999 13.4522 3.74763 14.8268 4.35718 16.0418L7.36399 13.7099Z"
|
|
21
|
+
fill="#FBBC05"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
fillRule="evenodd"
|
|
25
|
+
clipRule="evenodd"
|
|
26
|
+
d="M12.3999 6.57955C13.7213 6.57955 14.9076 7.03364 15.8404 7.92545L18.4217 5.34409C16.8631 3.89182 14.8258 3 12.3999 3C8.88172 3 5.83809 5.01682 4.35718 7.95818L7.364 10.29C8.07172 8.16273 10.0558 6.57955 12.3999 6.57955Z"
|
|
27
|
+
fill="#EA4335"
|
|
28
|
+
/>
|
|
29
|
+
</Icon>
|
|
30
|
+
));
|
|
31
|
+
|
|
32
|
+
export default GoogleColor;
|
|
@@ -89,6 +89,7 @@ export { default as GitlabPlain } from './GitlabPlain';
|
|
|
89
89
|
export { default as GitlabShadedWhite } from './GitlabShadedWhite';
|
|
90
90
|
export { default as Globe } from './Globe';
|
|
91
91
|
export { default as Go } from './Go';
|
|
92
|
+
export { default as GoogleColor } from './GoogleColor';
|
|
92
93
|
export { default as Group } from './Group';
|
|
93
94
|
export { default as Heart } from './Heart';
|
|
94
95
|
export { default as HidePassword } from './HidePassword';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Icon, IconProps, forwardRef } from '@chakra-ui/react';
|
|
2
|
+
|
|
3
|
+
const GoogleColor = forwardRef<IconProps, 'svg'>((props, ref) => (
|
|
4
|
+
<Icon ref={ref} viewBox="0 0 24 24" fill="none" {...props}>
|
|
5
|
+
<path
|
|
6
|
+
fillRule="evenodd"
|
|
7
|
+
clipRule="evenodd"
|
|
8
|
+
d="M21.0399 12.2046C21.0399 11.5664 20.9826 10.9527 20.8763 10.3636H12.3999V13.845H17.2435C17.0349 14.97 16.4008 15.9232 15.4476 16.5614V18.8196H18.3563C20.0581 17.2527 21.0399 14.9455 21.0399 12.2046Z"
|
|
9
|
+
fill="#4285F4"
|
|
10
|
+
/>
|
|
11
|
+
<path
|
|
12
|
+
fillRule="evenodd"
|
|
13
|
+
clipRule="evenodd"
|
|
14
|
+
d="M12.3999 21C14.8299 21 16.8672 20.1941 18.3563 18.8195L15.4476 16.5613C14.6417 17.1013 13.6108 17.4204 12.3999 17.4204C10.0558 17.4204 8.07172 15.8372 7.364 13.71H4.35718V16.0418C5.83809 18.9831 8.88172 21 12.3999 21Z"
|
|
15
|
+
fill="#34A853"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
fillRule="evenodd"
|
|
19
|
+
clipRule="evenodd"
|
|
20
|
+
d="M7.36399 13.7099C7.18399 13.1699 7.08172 12.5931 7.08172 11.9999C7.08172 11.4068 7.18399 10.8299 7.36399 10.2899V7.95813H4.35718C3.74763 9.17313 3.3999 10.5477 3.3999 11.9999C3.3999 13.4522 3.74763 14.8268 4.35718 16.0418L7.36399 13.7099Z"
|
|
21
|
+
fill="#FBBC05"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
fillRule="evenodd"
|
|
25
|
+
clipRule="evenodd"
|
|
26
|
+
d="M12.3999 6.57955C13.7213 6.57955 14.9076 7.03364 15.8404 7.92545L18.4217 5.34409C16.8631 3.89182 14.8258 3 12.3999 3C8.88172 3 5.83809 5.01682 4.35718 7.95818L7.364 10.29C8.07172 8.16273 10.0558 6.57955 12.3999 6.57955Z"
|
|
27
|
+
fill="#EA4335"
|
|
28
|
+
/>
|
|
29
|
+
</Icon>
|
|
30
|
+
));
|
|
31
|
+
|
|
32
|
+
export default GoogleColor;
|
|
@@ -89,6 +89,7 @@ export { default as GitlabPlain } from './GitlabPlain';
|
|
|
89
89
|
export { default as GitlabShadedWhite } from './GitlabShadedWhite';
|
|
90
90
|
export { default as Globe } from './Globe';
|
|
91
91
|
export { default as Go } from './Go';
|
|
92
|
+
export { default as GoogleColor } from './GoogleColor';
|
|
92
93
|
export { default as Group } from './Group';
|
|
93
94
|
export { default as Heart } from './Heart';
|
|
94
95
|
export { default as HidePassword } from './HidePassword';
|
|
@@ -66,7 +66,7 @@ const Notification = forwardRef<NotificationProps, 'div'>((props, ref) => {
|
|
|
66
66
|
let actionButton;
|
|
67
67
|
const actionPlacement = action?.placement ?? 'end';
|
|
68
68
|
if (action) {
|
|
69
|
-
actionButton = <NotificationAction marginRight="12" {...action} alignSelf=
|
|
69
|
+
actionButton = <NotificationAction marginRight="12" {...action} alignSelf={['start', 'center']} />;
|
|
70
70
|
}
|
|
71
71
|
const actionContext = useMemo(() => ({ colorScheme }), [colorScheme]);
|
|
72
72
|
// This is needed when the actionButton is rendered with a one-liner text.
|
|
@@ -76,10 +76,12 @@ const Notification = forwardRef<NotificationProps, 'div'>((props, ref) => {
|
|
|
76
76
|
<ChakraAlert ref={ref} {...rest} colorScheme={colorScheme}>
|
|
77
77
|
<ActionContext.Provider value={actionContext}>
|
|
78
78
|
{showIcon && cloneElement(icon, { flexShrink: 0, marginTop })}
|
|
79
|
-
<Box
|
|
80
|
-
{
|
|
79
|
+
<Box display="flex" justifyContent="start" flexDirection={['column', 'row']} gap={16} flexGrow={1}>
|
|
80
|
+
<Box wordBreak="break-word" flexGrow={actionPlacement === 'end' ? 1 : undefined} marginTop={marginTop}>
|
|
81
|
+
{children}
|
|
82
|
+
</Box>
|
|
83
|
+
{actionButton}
|
|
81
84
|
</Box>
|
|
82
|
-
{actionButton}
|
|
83
85
|
{onClose && (
|
|
84
86
|
<CloseButton
|
|
85
87
|
flexShrink={0}
|