Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terra-action-footer

Package Overview
Dependencies
Maintainers
10
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-action-footer - npm Package Compare versions

Comparing version 2.36.0 to 2.37.0

5

CHANGELOG.md

@@ -7,2 +7,7 @@ ChangeLog

2.37.0 - (March 31, 2020)
------------------
### Changed
* Minor dependency version bump
2.36.0 - (March 10, 2020)

@@ -9,0 +14,0 @@ ------------------

6

lib/ActionFooter.js

@@ -54,7 +54,7 @@ "use strict";

}, customProps.className]);
return _react.default.createElement(_BlockActionFooter.default, _extends({}, customProps, {
return /*#__PURE__*/_react.default.createElement(_BlockActionFooter.default, _extends({}, customProps, {
className: actionFooterClassnames
}), start && _react.default.createElement("div", {
}), start && /*#__PURE__*/_react.default.createElement("div", {
className: cx('start-actions')
}, start), end && _react.default.createElement("div", {
}, start), end && /*#__PURE__*/_react.default.createElement("div", {
className: cx('end-actions')

@@ -61,0 +61,0 @@ }, end));

@@ -41,3 +41,3 @@ "use strict";

}, customProps.className]);
return _react.default.createElement("div", _extends({}, customProps, {
return /*#__PURE__*/_react.default.createElement("div", _extends({}, customProps, {
className: blockActionFooterClassNames

@@ -44,0 +44,0 @@ }), children);

@@ -43,3 +43,3 @@ "use strict";

var centeredActionFooterClassNames = cx(['centered-action-footer', customProps.className]);
return _react.default.createElement(_BlockActionFooter.default, _extends({}, customProps, {
return /*#__PURE__*/_react.default.createElement(_BlockActionFooter.default, _extends({}, customProps, {
className: centeredActionFooterClassNames

@@ -46,0 +46,0 @@ }), center);

@@ -26,3 +26,3 @@ "use strict";

var children = _ref.children;
return _react.default.createElement("div", {
return /*#__PURE__*/_react.default.createElement("div", {
className: cx('content-wrapper')

@@ -29,0 +29,0 @@ }, children);

@@ -21,8 +21,8 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ExampleTemplate.default, null, _react.default.createElement(_BlockActionFooter.default, null, _react.default.createElement(_terraSpacer.default, {
return /*#__PURE__*/_react.default.createElement(_ExampleTemplate.default, null, /*#__PURE__*/_react.default.createElement(_BlockActionFooter.default, null, /*#__PURE__*/_react.default.createElement(_terraSpacer.default, {
paddingBottom: "medium"
}, _react.default.createElement(_terraButton.default, {
}, /*#__PURE__*/_react.default.createElement(_terraButton.default, {
isBlock: true,
text: "First Action"
})), _react.default.createElement(_terraButton.default, {
})), /*#__PURE__*/_react.default.createElement(_terraButton.default, {
isBlock: true,

@@ -29,0 +29,0 @@ text: "Second Action"

@@ -17,3 +17,3 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ExampleTemplate.default, null, _react.default.createElement(_BlockActionFooter.default, null, _react.default.createElement("a", {
return /*#__PURE__*/_react.default.createElement(_ExampleTemplate.default, null, /*#__PURE__*/_react.default.createElement(_BlockActionFooter.default, null, /*#__PURE__*/_react.default.createElement("a", {
href: "/#/site/action-footer/block"

@@ -20,0 +20,0 @@ }, "A link")));

@@ -21,9 +21,9 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ExampleTemplate.default, null, _react.default.createElement(_CenteredActionFooter.default, {
center: _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_terraSpacer.default, {
return /*#__PURE__*/_react.default.createElement(_ExampleTemplate.default, null, /*#__PURE__*/_react.default.createElement(_CenteredActionFooter.default, {
center: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_terraSpacer.default, {
isInlineBlock: true,
marginRight: "medium"
}, _react.default.createElement(_terraButton.default, {
}, /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Action One"
})), _react.default.createElement(_terraButton.default, {
})), /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Action Two"

@@ -30,0 +30,0 @@ }))

@@ -19,4 +19,4 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ExampleTemplate.default, null, _react.default.createElement(_CenteredActionFooter.default, {
center: _react.default.createElement(_terraHyperlink.default, {
return /*#__PURE__*/_react.default.createElement(_ExampleTemplate.default, null, /*#__PURE__*/_react.default.createElement(_CenteredActionFooter.default, {
center: /*#__PURE__*/_react.default.createElement(_terraHyperlink.default, {
href: "#"

@@ -23,0 +23,0 @@ }, "A link")

@@ -23,13 +23,13 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ExampleTemplate.default, null, _react.default.createElement(_terraActionFooter.default, {
start: _react.default.createElement(_terraHyperlink.default, {
return /*#__PURE__*/_react.default.createElement(_ExampleTemplate.default, null, /*#__PURE__*/_react.default.createElement(_terraActionFooter.default, {
start: /*#__PURE__*/_react.default.createElement(_terraHyperlink.default, {
href: "#"
}, "Start Action"),
end: _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_terraSpacer.default, {
end: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_terraSpacer.default, {
isInlineBlock: true,
marginRight: "medium"
}, _react.default.createElement(_terraButton.default, {
}, /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Submit",
variant: _terraButton.default.Opts.Variants.EMPHASIS
})), _react.default.createElement(_terraButton.default, {
})), /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Cancel"

@@ -36,0 +36,0 @@ }))

@@ -19,4 +19,4 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ExampleTemplate.default, null, _react.default.createElement(_terraActionFooter.default, {
end: _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_ExampleTemplate.default, null, /*#__PURE__*/_react.default.createElement(_terraActionFooter.default, {
end: /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "End Action"

@@ -23,0 +23,0 @@ })

@@ -19,4 +19,4 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ExampleTemplate.default, null, _react.default.createElement(_terraActionFooter.default, {
start: _react.default.createElement(_terraHyperlink.default, {
return /*#__PURE__*/_react.default.createElement(_ExampleTemplate.default, null, /*#__PURE__*/_react.default.createElement(_terraActionFooter.default, {
start: /*#__PURE__*/_react.default.createElement(_terraHyperlink.default, {
href: "#"

@@ -23,0 +23,0 @@ }, "Start Action")

@@ -15,5 +15,5 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ActionFooter.default, null);
return /*#__PURE__*/_react.default.createElement(_ActionFooter.default, null);
};
exports.default = _default;

@@ -15,5 +15,5 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_CenteredActionFooter.default, null);
return /*#__PURE__*/_react.default.createElement(_CenteredActionFooter.default, null);
};
exports.default = _default;

@@ -17,4 +17,4 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_CenteredActionFooter.default, {
center: _react.default.createElement("div", null, "FakeLink Action", _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_CenteredActionFooter.default, {
center: /*#__PURE__*/_react.default.createElement("div", null, "FakeLink Action", /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Button Action"

@@ -21,0 +21,0 @@ }))

@@ -17,6 +17,6 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ActionFooter.default, {
end: _react.default.createElement("div", null, _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_ActionFooter.default, {
end: /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "End Action 1"
}), "FakeLink End Action 2", _react.default.createElement(_terraButton.default, {
}), "FakeLink End Action 2", /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "End Action 3"

@@ -23,0 +23,0 @@ }))

@@ -17,4 +17,4 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ActionFooter.default, {
start: _react.default.createElement("div", null, "FakeLink Start Action 1", _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_ActionFooter.default, {
start: /*#__PURE__*/_react.default.createElement("div", null, "FakeLink Start Action 1", /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Start Action 2"

@@ -21,0 +21,0 @@ }))

@@ -17,7 +17,7 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ActionFooter.default, {
start: _react.default.createElement("div", null, "Start Text", _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_ActionFooter.default, {
start: /*#__PURE__*/_react.default.createElement("div", null, "Start Text", /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Start Action"
})),
end: _react.default.createElement("div", null, "End Text", _react.default.createElement(_terraButton.default, {
end: /*#__PURE__*/_react.default.createElement("div", null, "End Text", /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "End Action"

@@ -24,0 +24,0 @@ }))

@@ -17,4 +17,4 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_CenteredActionFooter.default, {
center: _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_CenteredActionFooter.default, {
center: /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Action"

@@ -21,0 +21,0 @@ })

@@ -15,3 +15,3 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ActionFooter.default, {
return /*#__PURE__*/_react.default.createElement(_ActionFooter.default, {
end: "FakeLink End Action"

@@ -18,0 +18,0 @@ });

@@ -15,3 +15,3 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ActionFooter.default, {
return /*#__PURE__*/_react.default.createElement(_ActionFooter.default, {
start: "FakeLink Start Action"

@@ -18,0 +18,0 @@ });

@@ -17,4 +17,4 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_ActionFooter.default, {
start: _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_ActionFooter.default, {
start: /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Start Action"

@@ -21,0 +21,0 @@ }),

@@ -17,3 +17,3 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_BlockActionFooter.default, null, "FakeLink Action", _react.default.createElement(_terraButton.default, {
return /*#__PURE__*/_react.default.createElement(_BlockActionFooter.default, null, "FakeLink Action", /*#__PURE__*/_react.default.createElement(_terraButton.default, {
text: "Button Action"

@@ -20,0 +20,0 @@ }));

@@ -15,5 +15,5 @@ "use strict";

var _default = function _default() {
return _react.default.createElement(_BlockActionFooter.default, null);
return /*#__PURE__*/_react.default.createElement(_BlockActionFooter.default, null);
};
exports.default = _default;
{
"name": "terra-action-footer",
"main": "lib/ActionFooter.js",
"version": "2.36.0",
"version": "2.37.0",
"description": "The terra-action-footer component is a footer bar that contains sockets for placing actionable items such as buttons and hyperlinks. The default variation contains a start and end socket, while the centered variation has only a center socket. If no actions are provided, the footer bar collapses to a themeable height and maintains the top border.",

@@ -30,5 +30,5 @@ "repository": {

"prop-types": "^15.5.8",
"terra-button": "^3.33.0",
"terra-button": "^3.34.0",
"terra-hyperlink": "^2.30.0",
"terra-spacer": "^3.32.0"
"terra-spacer": "^3.33.0"
},

@@ -48,3 +48,3 @@ "scripts": {

},
"gitHead": "28a1067266d1014f6ddab6f7ee74c82b66de024b"
"gitHead": "53b691e18d215fd8fd10da8cf03a22a0c3876f4e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc