styled-hairomin 0.3.4 → 0.3.6

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.cjs.js CHANGED
@@ -289,7 +289,8 @@ const GradientRating = styled.div`
289
289
  `;
290
290
  function CardVariant({
291
291
  variant = "elevated",
292
- data
292
+ data,
293
+ actionButton
293
294
  }) {
294
295
  switch (variant) {
295
296
  case "elevated":
@@ -331,6 +332,11 @@ function CardVariant({
331
332
  }), /*#__PURE__*/jsxRuntime.jsxs(Rating, {
332
333
  children: [/*#__PURE__*/jsxRuntime.jsx(fa.FaStar, {}), " ", data.rating]
333
334
  })]
335
+ }), actionButton && /*#__PURE__*/jsxRuntime.jsx("div", {
336
+ style: {
337
+ marginTop: '1rem'
338
+ },
339
+ children: actionButton
334
340
  })]
335
341
  })]
336
342
  });
package/dist/index.esm.js CHANGED
@@ -287,7 +287,8 @@ const GradientRating = styled.div`
287
287
  `;
288
288
  function CardVariant({
289
289
  variant = "elevated",
290
- data
290
+ data,
291
+ actionButton
291
292
  }) {
292
293
  switch (variant) {
293
294
  case "elevated":
@@ -329,6 +330,11 @@ function CardVariant({
329
330
  }), /*#__PURE__*/jsxs(Rating, {
330
331
  children: [/*#__PURE__*/jsx(FaStar, {}), " ", data.rating]
331
332
  })]
333
+ }), actionButton && /*#__PURE__*/jsx("div", {
334
+ style: {
335
+ marginTop: '1rem'
336
+ },
337
+ children: actionButton
332
338
  })]
333
339
  })]
334
340
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styled-hairomin",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",
@@ -61,4 +61,4 @@
61
61
  ],
62
62
  "author": "",
63
63
  "license": "ISC"
64
- }
64
+ }