@bitrise/bitkit 10.3.0-alpha-cleanup.1 → 10.3.0-alpha-cleanup.2
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": "10.3.0-alpha-cleanup.
|
|
4
|
+
"version": "10.3.0-alpha-cleanup.2",
|
|
5
5
|
"repository": "git@github.com:bitrise-io/bitkit.git",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"license": "UNLICENSED",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Props as BaseProps } from '../Base/Base';
|
|
3
|
-
import Text from '
|
|
3
|
+
import Text from '../Text/Text';
|
|
4
4
|
|
|
5
5
|
export interface Props extends BaseProps {
|
|
6
6
|
/**
|
|
@@ -62,7 +62,7 @@ const ProgressBitbot: React.FunctionComponent<Props> = (props: Props) => {
|
|
|
62
62
|
const { content, size, ...rest } = props;
|
|
63
63
|
|
|
64
64
|
return (
|
|
65
|
-
<Text {...rest} align="
|
|
65
|
+
<Text {...rest} align="middle">
|
|
66
66
|
<svg fill="currentColor" height={size} viewBox="0 0 24 24" width={size}>
|
|
67
67
|
<g fill="currentColor" fillRule="evenodd" stroke="none" strokeWidth="1">
|
|
68
68
|
<path d={dot0}>
|
|
@@ -159,7 +159,7 @@ const ProgressBitbot: React.FunctionComponent<Props> = (props: Props) => {
|
|
|
159
159
|
</svg>
|
|
160
160
|
|
|
161
161
|
{content && (
|
|
162
|
-
<Text align="
|
|
162
|
+
<Text align="middle" letterSpacing="x5" size="1" uppercase>
|
|
163
163
|
{content}
|
|
164
164
|
</Text>
|
|
165
165
|
)}
|