mautourco-components 0.2.96 → 0.2.97

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.
@@ -32,5 +32,5 @@ export function DetailsAction(props) {
32
32
  onAction === null || onAction === void 0 ? void 0 : onAction(ActionDropdownType.DELETE_QUOTE);
33
33
  },
34
34
  },
35
- ], children: _jsxs("div", { className: cn('button button--outline-secondary button--sm w-[144px] !justify-between !px-[14px] cursor-pointer', buttonClassName), children: [buttonLabel, _jsx("span", { className: "button__icon button__icon--trailing", children: _jsx(Icon, { name: "chevron-down" }) })] }) }));
35
+ ], children: _jsxs("div", { className: cn("button button--".concat(buttonVariant, " button--sm w-[144px] !justify-between !px-[14px] cursor-pointer"), buttonClassName), children: [buttonLabel, _jsx("span", { className: "button__icon button__icon--trailing", children: _jsx(Icon, { name: "chevron-down" }) })] }) }));
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mautourco-components",
3
- "version": "0.2.96",
3
+ "version": "0.2.97",
4
4
  "private": false,
5
5
  "description": "Bibliothèque de composants Mautourco pour le redesign",
6
6
  "main": "dist/index.js",
@@ -58,7 +58,7 @@ export function DetailsAction(props: DetailsActionProps) {
58
58
  }>
59
59
  <div
60
60
  className={cn(
61
- 'button button--outline-secondary button--sm w-[144px] !justify-between !px-[14px] cursor-pointer',
61
+ `button button--${buttonVariant} button--sm w-[144px] !justify-between !px-[14px] cursor-pointer`,
62
62
  buttonClassName
63
63
  )}>
64
64
  {buttonLabel}