glints-aries 4.0.309 → 4.0.310
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/es/@next/Bar/Bar.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ComponentAction } from '../../types/componentAction';
|
|
|
3
3
|
export declare type BarProps = {
|
|
4
4
|
heading: React.ReactNode;
|
|
5
5
|
subheading?: React.ReactNode;
|
|
6
|
-
primaryAction
|
|
6
|
+
primaryAction?: ComponentAction;
|
|
7
7
|
secondaryAction?: ComponentAction;
|
|
8
8
|
tertiaryAction?: ComponentAction;
|
|
9
9
|
position?: 'top' | 'bottom';
|
package/es/@next/Bar/Bar.js
CHANGED
|
@@ -52,7 +52,7 @@ export var Bar = /*#__PURE__*/React.forwardRef(function Bar(_ref, ref) {
|
|
|
52
52
|
}, tertiaryAction.label), secondaryAction && /*#__PURE__*/React.createElement(Button, {
|
|
53
53
|
onClick: secondaryAction.action,
|
|
54
54
|
size: buttonSize
|
|
55
|
-
}, secondaryAction.label), /*#__PURE__*/React.createElement(PrimaryButton, {
|
|
55
|
+
}, secondaryAction.label), primaryAction && /*#__PURE__*/React.createElement(PrimaryButton, {
|
|
56
56
|
onClick: primaryAction.action,
|
|
57
57
|
size: buttonSize
|
|
58
58
|
}, primaryAction.label)))));
|
package/lib/@next/Bar/Bar.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ComponentAction } from '../../types/componentAction';
|
|
|
3
3
|
export declare type BarProps = {
|
|
4
4
|
heading: React.ReactNode;
|
|
5
5
|
subheading?: React.ReactNode;
|
|
6
|
-
primaryAction
|
|
6
|
+
primaryAction?: ComponentAction;
|
|
7
7
|
secondaryAction?: ComponentAction;
|
|
8
8
|
tertiaryAction?: ComponentAction;
|
|
9
9
|
position?: 'top' | 'bottom';
|
package/lib/@next/Bar/Bar.js
CHANGED
|
@@ -57,7 +57,7 @@ var Bar = /*#__PURE__*/_react["default"].forwardRef(function Bar(_ref, ref) {
|
|
|
57
57
|
}, tertiaryAction.label), secondaryAction && /*#__PURE__*/_react["default"].createElement(_Button.Button, {
|
|
58
58
|
onClick: secondaryAction.action,
|
|
59
59
|
size: buttonSize
|
|
60
|
-
}, secondaryAction.label), /*#__PURE__*/_react["default"].createElement(_Button.PrimaryButton, {
|
|
60
|
+
}, secondaryAction.label), primaryAction && /*#__PURE__*/_react["default"].createElement(_Button.PrimaryButton, {
|
|
61
61
|
onClick: primaryAction.action,
|
|
62
62
|
size: buttonSize
|
|
63
63
|
}, primaryAction.label)))));
|