@bitrise/bitkit 13.286.0 → 13.287.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
|
@@ -51,7 +51,7 @@ const LabeledData = ({
|
|
|
51
51
|
let dataSkeletonPaddingY;
|
|
52
52
|
switch (size) {
|
|
53
53
|
case 'lg':
|
|
54
|
-
dataSkeletonHeight = '
|
|
54
|
+
dataSkeletonHeight = '30';
|
|
55
55
|
dataSkeletonPaddingY = '5';
|
|
56
56
|
break;
|
|
57
57
|
case 'md':
|
|
@@ -98,8 +98,8 @@ const LabeledData = ({
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
return (
|
|
101
|
-
<Box as={as} display="flex" flexDirection="column" {...rest}>
|
|
102
|
-
<Label as="dt" color={labelColor} tooltip={tooltip}>
|
|
101
|
+
<Box as={as} display="flex" flexDirection="column" gap="4" {...rest}>
|
|
102
|
+
<Label as="dt" color={labelColor} marginBlockEnd={0} tooltip={tooltip}>
|
|
103
103
|
{label}
|
|
104
104
|
</Label>
|
|
105
105
|
{isLoading ? (
|
|
@@ -108,7 +108,7 @@ const LabeledData = ({
|
|
|
108
108
|
{skeletonVariant === 'double' && <SkeletonBox height="14" width="120px" marginY="3" />}
|
|
109
109
|
</Skeleton>
|
|
110
110
|
) : (
|
|
111
|
-
|
|
111
|
+
<>
|
|
112
112
|
{data && (
|
|
113
113
|
<Box as="dd" display="flex" alignItems="center" gap="4" color="text/body" textStyle={`comp/data/${size}`}>
|
|
114
114
|
{data}
|
|
@@ -116,14 +116,7 @@ const LabeledData = ({
|
|
|
116
116
|
</Box>
|
|
117
117
|
)}
|
|
118
118
|
{placeholder && (
|
|
119
|
-
<Box
|
|
120
|
-
as="dd"
|
|
121
|
-
display="flex"
|
|
122
|
-
alignItems="center"
|
|
123
|
-
gap="4"
|
|
124
|
-
color="text/tertiary"
|
|
125
|
-
textStyle={`comp/data/${size}`}
|
|
126
|
-
>
|
|
119
|
+
<Box as="dd" gap="4" color="text/tertiary" textStyle={`comp/data/${size}`}>
|
|
127
120
|
{placeholder}
|
|
128
121
|
</Box>
|
|
129
122
|
)}
|
|
@@ -142,7 +135,7 @@ const LabeledData = ({
|
|
|
142
135
|
)}
|
|
143
136
|
</Box>
|
|
144
137
|
)}
|
|
145
|
-
|
|
138
|
+
</>
|
|
146
139
|
)}
|
|
147
140
|
</Box>
|
|
148
141
|
);
|