baseui 0.0.0-next-6871a3f → 0.0.0-next-bbefdbc
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.
|
@@ -40,11 +40,11 @@ export const StyledStar = styled('li', ({
|
|
|
40
40
|
let prePartialStarFill;
|
|
41
41
|
|
|
42
42
|
if ($isActive) {
|
|
43
|
-
starStroke = starFill = $theme.colors.
|
|
43
|
+
starStroke = starFill = $theme.colors.primary;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
if ($isPartialActive && !$isActive) {
|
|
47
|
-
prePartialStarStroke = prePartialStarFill = $theme.colors.
|
|
47
|
+
prePartialStarStroke = prePartialStarFill = $theme.colors.primary;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
const styles = {
|
|
@@ -38,11 +38,11 @@ export var StyledStar = styled('li', function (_ref2) {
|
|
|
38
38
|
var prePartialStarFill;
|
|
39
39
|
|
|
40
40
|
if ($isActive) {
|
|
41
|
-
starStroke = starFill = $theme.colors.
|
|
41
|
+
starStroke = starFill = $theme.colors.primary;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
if ($isPartialActive && !$isActive) {
|
|
45
|
-
prePartialStarStroke = prePartialStarFill = $theme.colors.
|
|
45
|
+
prePartialStarStroke = prePartialStarFill = $theme.colors.primary;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
var styles = {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ export declare type ProgressStepsProps = {
|
|
|
15
15
|
overrides?: ProgressStepsOverrides;
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
/** Defines the current active step index. */
|
|
18
|
-
current
|
|
18
|
+
current?: number;
|
|
19
19
|
};
|
|
20
20
|
export declare type StepOverrides = {
|
|
21
21
|
Root?: Override;
|
|
@@ -31,11 +31,11 @@ export declare type StepProps = {
|
|
|
31
31
|
/** The title of the Step. */
|
|
32
32
|
title?: ReactNode;
|
|
33
33
|
/** Defines if the step is completed. Overriden by ProgressSteps, if used. */
|
|
34
|
-
isCompleted
|
|
34
|
+
isCompleted?: boolean;
|
|
35
35
|
/** Defines if the step is currently active. */
|
|
36
36
|
isActive?: boolean;
|
|
37
37
|
/** Defines if the step is the last item displayed. Overriden by ProgressSteps, if used. */
|
|
38
|
-
isLast
|
|
38
|
+
isLast?: boolean;
|
|
39
39
|
overrides?: StepOverrides;
|
|
40
40
|
children?: ReactNode;
|
|
41
41
|
};
|
|
@@ -53,18 +53,18 @@ export declare type NumberedStepProps = {
|
|
|
53
53
|
/** The title of the Step. */
|
|
54
54
|
title?: string;
|
|
55
55
|
/** Defines if the step is completed. */
|
|
56
|
-
isCompleted
|
|
56
|
+
isCompleted?: boolean;
|
|
57
57
|
/** Defines if the step is currently active. */
|
|
58
58
|
isActive?: boolean;
|
|
59
59
|
/** Defines if the step is the last item displayed. */
|
|
60
|
-
isLast
|
|
60
|
+
isLast?: boolean;
|
|
61
61
|
overrides?: NumberedStepOverrides;
|
|
62
62
|
children?: ReactNode;
|
|
63
63
|
/** The number displayed as the step number */
|
|
64
64
|
step?: ReactNode;
|
|
65
65
|
};
|
|
66
66
|
export declare type StyleProps = {
|
|
67
|
-
$isActive
|
|
68
|
-
$isCompleted
|
|
69
|
-
$disabled
|
|
67
|
+
$isActive?: boolean;
|
|
68
|
+
$isCompleted?: boolean;
|
|
69
|
+
$disabled?: boolean;
|
|
70
70
|
};
|
|
@@ -48,11 +48,11 @@ var StyledStar = (0, _styles.styled)('li', function (_ref2) {
|
|
|
48
48
|
var prePartialStarFill;
|
|
49
49
|
|
|
50
50
|
if ($isActive) {
|
|
51
|
-
starStroke = starFill = $theme.colors.
|
|
51
|
+
starStroke = starFill = $theme.colors.primary;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
if ($isPartialActive && !$isActive) {
|
|
55
|
-
prePartialStarStroke = prePartialStarFill = $theme.colors.
|
|
55
|
+
prePartialStarStroke = prePartialStarFill = $theme.colors.primary;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
var styles = {
|