arengibook 1.2.0 → 1.3.0

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -1256,7 +1256,7 @@ function styleInject(css, ref) {
1256
1256
  var css_248z = ".storybook-button {\n display: inline-block;\n cursor: pointer;\n border: 0;\n border-radius: 3em;\n font-weight: 700;\n line-height: 1;\n font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n}\n.storybook-button--primary {\n background-color: #555ab9;\n color: white;\n}\n.storybook-button--secondary {\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;\n background-color: transparent;\n color: #333;\n}\n.storybook-button--small {\n padding: 10px 16px;\n font-size: 12px;\n}\n.storybook-button--medium {\n padding: 11px 20px;\n font-size: 14px;\n}\n.storybook-button--large {\n padding: 12px 24px;\n font-size: 16px;\n}\n";
1257
1257
  styleInject(css_248z);
1258
1258
 
1259
- var _excluded = ["primary", "backgroundColor", "borderRadius", "size", "label"];
1259
+ var _excluded = ["primary", "backgroundColor", "borderRadius", "size", "label", "color"];
1260
1260
 
1261
1261
  /** Primary UI component for user interaction */
1262
1262
  var Button$1 = function Button(_ref) {
@@ -1269,6 +1269,7 @@ var Button$1 = function Button(_ref) {
1269
1269
  _ref$size = _ref.size,
1270
1270
  size = _ref$size === void 0 ? 'medium' : _ref$size,
1271
1271
  label = _ref.label,
1272
+ color = _ref.color,
1272
1273
  props = _objectWithoutProperties(_ref, _excluded);
1273
1274
  var mode = primary ? 'storybook-button--primary' : 'storybook-button--secondary';
1274
1275
  return /*#__PURE__*/React__default.createElement("button", _extends$d({
@@ -1278,7 +1279,11 @@ var Button$1 = function Button(_ref) {
1278
1279
  backgroundColor: backgroundColor,
1279
1280
  borderRadius: borderRadius
1280
1281
  }
1281
- }, props), label);
1282
+ }, props), /*#__PURE__*/React__default.createElement("span", {
1283
+ style: {
1284
+ color: color
1285
+ }
1286
+ }, label));
1282
1287
  };
1283
1288
  Button$1.propTypes = {
1284
1289
  /** Is this the principal call to action on the page? */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {
@@ -21,6 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "classnames": "^2.5.1",
24
+ "html-react-parser": "^5.2.3",
24
25
  "primeicons": "^7.0.0",
25
26
  "primereact": "^10.9.4",
26
27
  "react": "^18.2.0",