Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8de950c402 |
@@ -30,3 +30,5 @@ Liste des évolutions de la librairie Malio layer UI
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
* Hauteur des boutons de pagination du datatable alignée sur le select (40px)
|
||||||
|
* Distribution de `tailwind.config.ts` aux projets consommateurs avec paths `content` absolus
|
||||||
|
|||||||
@@ -35,6 +35,6 @@
|
|||||||
--m-site-yellow: 243 203 0; /* #F3CB00 - Jaune Saint-Jean */
|
--m-site-yellow: 243 203 0; /* #F3CB00 - Jaune Saint-Jean */
|
||||||
--m-site-green: 116 191 4; /* #74BF04 - Vert Pommevic */
|
--m-site-green: 116 191 4; /* #74BF04 - Vert Pommevic */
|
||||||
|
|
||||||
--m-radius: 8px;
|
--m-radius: 6px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
variant="tertiary"
|
variant="tertiary"
|
||||||
label="Prev"
|
label="Prev"
|
||||||
:disabled="page <= 1"
|
:disabled="page <= 1"
|
||||||
button-class="h-8 w-auto min-w-0 px-3 text-sm"
|
button-class="h-10 w-auto min-w-0 px-3 text-sm"
|
||||||
aria-label="Page précédente"
|
aria-label="Page précédente"
|
||||||
data-test="prev-button"
|
data-test="prev-button"
|
||||||
@click="goToPage(page - 1)"
|
@click="goToPage(page - 1)"
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
<button
|
<button
|
||||||
v-else
|
v-else
|
||||||
type="button"
|
type="button"
|
||||||
class="h-8 min-w-[2rem] rounded px-2 text-sm transition-colors"
|
class="h-10 min-w-[2.5rem] rounded px-2 text-sm transition-colors"
|
||||||
:class="p === page
|
:class="p === page
|
||||||
? 'bg-m-btn-primary text-white font-semibold'
|
? 'bg-m-btn-primary text-white font-semibold'
|
||||||
: 'text-m-text hover:bg-m-bg'"
|
: 'text-m-text hover:bg-m-bg'"
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
variant="tertiary"
|
variant="tertiary"
|
||||||
label="Next"
|
label="Next"
|
||||||
:disabled="page >= totalPages"
|
:disabled="page >= totalPages"
|
||||||
button-class="h-8 w-auto min-w-0 px-3 text-sm"
|
button-class="h-10 w-auto min-w-0 px-3 text-sm"
|
||||||
aria-label="Page suivante"
|
aria-label="Page suivante"
|
||||||
data-test="next-button"
|
data-test="next-button"
|
||||||
@click="goToPage(page + 1)"
|
@click="goToPage(page + 1)"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"app/**",
|
"app/**",
|
||||||
"nuxt.config.ts",
|
"nuxt.config.ts",
|
||||||
|
"tailwind.config.ts",
|
||||||
"README.md",
|
"README.md",
|
||||||
"COMPONENTS.md"
|
"COMPONENTS.md"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,12 +1,16 @@
|
|||||||
import type {Config} from 'tailwindcss'
|
import type {Config} from 'tailwindcss'
|
||||||
|
import {fileURLToPath} from 'node:url'
|
||||||
|
import {dirname, join} from 'node:path'
|
||||||
|
|
||||||
|
const dir = dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
content: [
|
content: [
|
||||||
'./app/**/*.{vue,js,ts}',
|
join(dir, 'app/**/*.{vue,js,ts}'),
|
||||||
'./app/**/*.story.{vue,js,ts}',
|
join(dir, 'app/**/*.story.{vue,js,ts}'),
|
||||||
'./.playground/**/*.{vue,js,ts}',
|
join(dir, '.playground/**/*.{vue,js,ts}'),
|
||||||
'./histoire.setup.ts',
|
join(dir, 'histoire.setup.ts'),
|
||||||
'./histoire.config.ts',
|
join(dir, 'histoire.config.ts'),
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
@@ -39,7 +43,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ['"Inter"', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif'],
|
sans: ['"Helvetica Neue"', 'Helvetica', 'Arial', 'sans-serif'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user