mautourco-components 0.2.137 → 0.2.138

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.
@@ -4,6 +4,6 @@ export function PaxChips(props) {
4
4
  var pax = props.pax;
5
5
  return (_jsx("div", { className: "flex flex-wrap gap-2", children: Object.entries(pax).map(function (_a) {
6
6
  var key = _a[0], value = _a[1];
7
- return (_jsx(Chip, { label: "".concat(key, " ").concat(value), size: "sm", color: "accent", type: value > 0 ? 'filled' : 'outline' }, key));
7
+ return (_jsx(Chip, { label: "".concat(key, " ").concat(value), size: "sm", color: "accent", className: "capitalize", type: value > 0 ? 'filled' : 'outline' }, key));
8
8
  }) }));
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mautourco-components",
3
- "version": "0.2.137",
3
+ "version": "0.2.138",
4
4
  "private": false,
5
5
  "description": "Bibliothèque de composants Mautourco pour le redesign",
6
6
  "main": "dist/index.js",
@@ -21,6 +21,7 @@ export function PaxChips(props: PaxChipsProps) {
21
21
  label={`${key} ${value}`}
22
22
  size="sm"
23
23
  color="accent"
24
+ className="capitalize"
24
25
  type={value > 0 ? 'filled' : 'outline'}
25
26
  />
26
27
  ))}