sprint-asia-custom-component 0.1.61 → 0.1.63

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 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,
@@ -47866,15 +47867,15 @@
47866
47867
  }, modeRightButton == "primary" && /*#__PURE__*/React__default["default"].createElement(PrimaryButton, {
47867
47868
  title: titleRightButton,
47868
47869
  onClick: onClickRightButton,
47869
- isActive: true
47870
+ isActive: isActive
47870
47871
  }), modeRightButton == "danger" && /*#__PURE__*/React__default["default"].createElement(DangerButton, {
47871
47872
  title: titleRightButton,
47872
47873
  onClick: onClickRightButton,
47873
- isActive: true
47874
+ isActive: isActive
47874
47875
  }), modeRightButton == "outline" && /*#__PURE__*/React__default["default"].createElement(OutlineButton, {
47875
47876
  title: titleRightButton,
47876
47877
  onClick: onClickRightButton,
47877
- isActive: true
47878
+ isActive: isActive
47878
47879
  }))));
47879
47880
  };
47880
47881
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sprint-asia-custom-component",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.61",
4
+ "version": "0.1.63",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -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,
@@ -53,7 +54,7 @@ const Footer = ({
53
54
  <PrimaryButton
54
55
  title={titleRightButton}
55
56
  onClick={onClickRightButton}
56
- isActive={true}
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={true}
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={true}
73
+ isActive={isActive}
73
74
  />
74
75
  }
75
76
  </div>