mautourco-components 0.2.125 → 0.2.127

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.
@@ -5,7 +5,7 @@ export function priceFormatter(amount, currency) {
5
5
  amount = parseFloat(amount);
6
6
  }
7
7
  // Format with space as thousand separator and 2 decimal places
8
- var formattedAmount = amount.toLocaleString('fr-FR', {
8
+ var formattedAmount = amount.toLocaleString('en-US', {
9
9
  minimumFractionDigits: 2,
10
10
  maximumFractionDigits: 2,
11
11
  });
@@ -10,10 +10,12 @@
10
10
  }
11
11
 
12
12
  .round-trip__content {
13
- display: flex;
14
- width: 100%;
15
- flex-wrap: wrap;
13
+ display: grid;
14
+ grid-template-columns: repeat(2, minmax(0, 1fr));
16
15
  gap: 0.5rem;
16
+ @media (width >= 1280px) {
17
+ display: flex;
18
+ }
17
19
  }
18
20
 
19
21
  /* Field containers */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mautourco-components",
3
- "version": "0.2.125",
3
+ "version": "0.2.127",
4
4
  "private": false,
5
5
  "description": "Bibliothèque de composants Mautourco pour le redesign",
6
6
  "main": "dist/index.js",
@@ -6,7 +6,10 @@
6
6
  }
7
7
 
8
8
  .round-trip__content {
9
- @apply flex gap-2 flex-wrap w-full;
9
+ @apply gap-2 grid grid-cols-2;
10
+ @media (width >= 1280px) {
11
+ display: flex;
12
+ }
10
13
  }
11
14
 
12
15
  /* Field containers */
@@ -18,7 +21,6 @@
18
21
  @apply leading-5;
19
22
  }
20
23
 
21
-
22
24
  .round-trip__field-label {
23
25
  @apply text-[var(--color-neutral-800)] text-sm font-normal;
24
26
  line-height: 20px; /* Matches other label styles */
@@ -89,5 +91,5 @@
89
91
  }
90
92
 
91
93
  .round-trip__date-picker--input {
92
- @apply !h-11;
93
- }
94
+ @apply !h-11;
95
+ }