sprint-asia-custom-component 0.1.61 → 0.1.62
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/dist/index.js +7 -6
- package/package.json +1 -1
- package/src/components/footer/index.js +7 -6
package/dist/index.js
CHANGED
|
@@ -47838,6 +47838,7 @@
|
|
|
47838
47838
|
titleRightButton = "Edit",
|
|
47839
47839
|
isActiveLeftButton,
|
|
47840
47840
|
isActiveRightButton,
|
|
47841
|
+
isActive,
|
|
47841
47842
|
modeLeftButton = "danger",
|
|
47842
47843
|
modeRightButton = "outline",
|
|
47843
47844
|
onClickLeftButton,
|
|
@@ -47852,29 +47853,29 @@
|
|
|
47852
47853
|
}, modeLeftButton == "primary" && /*#__PURE__*/React__default["default"].createElement(PrimaryButton, {
|
|
47853
47854
|
title: titleLeftButton,
|
|
47854
47855
|
onClick: onClickLeftButton,
|
|
47855
|
-
isActive:
|
|
47856
|
+
isActive: isActive
|
|
47856
47857
|
}), modeLeftButton == "danger" && /*#__PURE__*/React__default["default"].createElement(DangerButton, {
|
|
47857
47858
|
title: titleLeftButton,
|
|
47858
47859
|
onClick: onClickLeftButton,
|
|
47859
|
-
isActive:
|
|
47860
|
+
isActive: isActive
|
|
47860
47861
|
}), modeLeftButton == "outline" && /*#__PURE__*/React__default["default"].createElement(OutlineButton, {
|
|
47861
47862
|
title: titleLeftButton,
|
|
47862
47863
|
onClick: onClickLeftButton,
|
|
47863
|
-
isActive:
|
|
47864
|
+
isActive: isActive
|
|
47864
47865
|
})), isActiveRightButton && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47865
47866
|
className: "m-1"
|
|
47866
47867
|
}, modeRightButton == "primary" && /*#__PURE__*/React__default["default"].createElement(PrimaryButton, {
|
|
47867
47868
|
title: titleRightButton,
|
|
47868
47869
|
onClick: onClickRightButton,
|
|
47869
|
-
isActive:
|
|
47870
|
+
isActive: isActive
|
|
47870
47871
|
}), modeRightButton == "danger" && /*#__PURE__*/React__default["default"].createElement(DangerButton, {
|
|
47871
47872
|
title: titleRightButton,
|
|
47872
47873
|
onClick: onClickRightButton,
|
|
47873
|
-
isActive:
|
|
47874
|
+
isActive: isActive
|
|
47874
47875
|
}), modeRightButton == "outline" && /*#__PURE__*/React__default["default"].createElement(OutlineButton, {
|
|
47875
47876
|
title: titleRightButton,
|
|
47876
47877
|
onClick: onClickRightButton,
|
|
47877
|
-
isActive:
|
|
47878
|
+
isActive: isActive
|
|
47878
47879
|
}))));
|
|
47879
47880
|
};
|
|
47880
47881
|
|
package/package.json
CHANGED
|
@@ -8,6 +8,7 @@ const Footer = ({
|
|
|
8
8
|
titleRightButton = "Edit",
|
|
9
9
|
isActiveLeftButton,
|
|
10
10
|
isActiveRightButton,
|
|
11
|
+
isActive,
|
|
11
12
|
modeLeftButton = "danger",
|
|
12
13
|
modeRightButton = "outline",
|
|
13
14
|
onClickLeftButton,
|
|
@@ -24,7 +25,7 @@ const Footer = ({
|
|
|
24
25
|
<PrimaryButton
|
|
25
26
|
title={titleLeftButton}
|
|
26
27
|
onClick={onClickLeftButton}
|
|
27
|
-
isActive={
|
|
28
|
+
isActive={isActive}
|
|
28
29
|
/>
|
|
29
30
|
}
|
|
30
31
|
{
|
|
@@ -32,7 +33,7 @@ const Footer = ({
|
|
|
32
33
|
<DangerButton
|
|
33
34
|
title={titleLeftButton}
|
|
34
35
|
onClick={onClickLeftButton}
|
|
35
|
-
isActive={
|
|
36
|
+
isActive={isActive}
|
|
36
37
|
/>
|
|
37
38
|
}
|
|
38
39
|
{
|
|
@@ -40,7 +41,7 @@ const Footer = ({
|
|
|
40
41
|
<OutlineButton
|
|
41
42
|
title={titleLeftButton}
|
|
42
43
|
onClick={onClickLeftButton}
|
|
43
|
-
isActive={
|
|
44
|
+
isActive={isActive}
|
|
44
45
|
/>
|
|
45
46
|
}
|
|
46
47
|
</div>
|
|
@@ -53,7 +54,7 @@ const Footer = ({
|
|
|
53
54
|
<PrimaryButton
|
|
54
55
|
title={titleRightButton}
|
|
55
56
|
onClick={onClickRightButton}
|
|
56
|
-
isActive={
|
|
57
|
+
isActive={isActive}
|
|
57
58
|
/>
|
|
58
59
|
}
|
|
59
60
|
{
|
|
@@ -61,7 +62,7 @@ const Footer = ({
|
|
|
61
62
|
<DangerButton
|
|
62
63
|
title={titleRightButton}
|
|
63
64
|
onClick={onClickRightButton}
|
|
64
|
-
isActive={
|
|
65
|
+
isActive={isActive}
|
|
65
66
|
/>
|
|
66
67
|
}
|
|
67
68
|
{
|
|
@@ -69,7 +70,7 @@ const Footer = ({
|
|
|
69
70
|
<OutlineButton
|
|
70
71
|
title={titleRightButton}
|
|
71
72
|
onClick={onClickRightButton}
|
|
72
|
-
isActive={
|
|
73
|
+
isActive={isActive}
|
|
73
74
|
/>
|
|
74
75
|
}
|
|
75
76
|
</div>
|