@egen-civitas/esm-styleguide 4.1.0 → 5.0.0

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.
Files changed (286) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +1 -1
  3. package/dist/cards/card-header.component.d.ts.map +1 -1
  4. package/dist/cards/card-header.component.js +4 -6
  5. package/dist/cards/card-header.stories.js +11 -7
  6. package/dist/cards/decorated-card/card-decorations.js +1 -1
  7. package/dist/cards/decorated-card/decorated-card.component.js +1 -1
  8. package/dist/cards/decorated-card/{decorated-card.module.scss → decorated-card.module.css} +45 -70
  9. package/dist/carousel/circular-gallery/circular-gallery.component.js +1 -1
  10. package/dist/carousel/circular-gallery/circular-gallery.module.css +140 -0
  11. package/dist/carousel/circular-gallery/gallery-image.component.js +1 -1
  12. package/dist/carousel/circular-gallery/gallery-tabs.component.js +1 -1
  13. package/dist/carousel/image-swiper/image-swiper.component.js +1 -1
  14. package/dist/carousel/image-swiper/image-swiper.module.css +31 -0
  15. package/dist/carousel/slider/carousel.component.js +1 -1
  16. package/dist/carousel/slider/slider-container.component.js +1 -1
  17. package/dist/carousel/slider/slider-dot-button.component.js +1 -1
  18. package/dist/carousel/slider/slider.component.js +1 -1
  19. package/dist/carousel/slider/slider.module.css +133 -0
  20. package/dist/carousel/slider/thumbs-slider.component.js +1 -1
  21. package/dist/carousel/testimonial-card/testimonial-card-stack.component.js +1 -1
  22. package/dist/carousel/testimonial-card/testimonial-card-stack.module.css +5 -0
  23. package/dist/carousel/testimonial-card/testimonial-card.component.js +1 -1
  24. package/dist/carousel/testimonial-card/testimonial-card.module.css +51 -0
  25. package/dist/cascading-nav-dropdown/cascading-nav-dropdown.component.js +1 -1
  26. package/dist/cascading-nav-dropdown/{cascading-nav-dropdown.module.scss → cascading-nav-dropdown.module.css} +27 -52
  27. package/dist/cascading-nav-dropdown/column-with-search.component.js +1 -1
  28. package/dist/classification-tags/classification-tags.component.d.ts +0 -19
  29. package/dist/classification-tags/classification-tags.component.d.ts.map +1 -1
  30. package/dist/classification-tags/classification-tags.component.js +20 -5
  31. package/dist/config-schema.d.ts +3 -3
  32. package/dist/config-schema.d.ts.map +1 -1
  33. package/dist/config-schema.js +3 -3
  34. package/dist/containers/folder-gallery/folder-gallery.component.js +1 -1
  35. package/dist/containers/folder-gallery/{folder-gallery.module.scss → folder-gallery.module.css} +4 -32
  36. package/dist/containers/layout-grid/layout-grid.component.js +1 -1
  37. package/dist/containers/layout-grid/layout-grid.module.css +105 -0
  38. package/dist/content-section/content-section.component.js +1 -1
  39. package/dist/custom-overflow-menu/custom-overflow-menu.component.d.ts +26 -8
  40. package/dist/custom-overflow-menu/custom-overflow-menu.component.d.ts.map +1 -1
  41. package/dist/custom-overflow-menu/custom-overflow-menu.component.js +66 -29
  42. package/dist/custom-overflow-menu/custom-overflow-menu.module.css +82 -0
  43. package/dist/data-table-batch-actions/data-table-batch-actions.component.d.ts +14 -1
  44. package/dist/data-table-batch-actions/data-table-batch-actions.component.d.ts.map +1 -1
  45. package/dist/data-table-batch-actions/data-table-batch-actions.component.js +42 -20
  46. package/dist/datepicker/auto-close-dialog.component.js +1 -1
  47. package/dist/datepicker/calendar-popover.component.js +3 -3
  48. package/dist/datepicker/date-picker-input.component.d.ts +1 -1
  49. package/dist/datepicker/date-picker-input.component.js +1 -1
  50. package/dist/datepicker/datepicker.module.css +540 -0
  51. package/dist/datepicker/egen-date-picker.component.d.ts +1 -1
  52. package/dist/datepicker/egen-date-picker.component.d.ts.map +1 -1
  53. package/dist/datepicker/egen-date-picker.component.js +13 -10
  54. package/dist/datepicker/egen-date-range-picker.component.d.ts +1 -1
  55. package/dist/datepicker/egen-date-range-picker.component.d.ts.map +1 -1
  56. package/dist/datepicker/egen-date-range-picker.component.js +15 -11
  57. package/dist/datepicker/month-year.component.d.ts +1 -1
  58. package/dist/datepicker/month-year.component.js +1 -1
  59. package/dist/dialogs/card-modal/card-modal.component.js +1 -1
  60. package/dist/dialogs/card-modal/{card-modal.module.scss → card-modal.module.css} +10 -32
  61. package/dist/dialogs/card-modal/card-modal.warp-glow.js +1 -1
  62. package/dist/empty-card/empty-card.component.d.ts.map +1 -1
  63. package/dist/empty-card/empty-card.component.js +6 -7
  64. package/dist/error-state/error-state.component.d.ts.map +1 -1
  65. package/dist/error-state/error-state.component.js +5 -5
  66. package/dist/fields/dynamic-field.component.js +1 -1
  67. package/dist/fields/{dynamic-field.module.scss → dynamic-field.module.css} +60 -107
  68. package/dist/fields/dynamic-field.types.d.ts +1 -1
  69. package/dist/fields/dynamic-field.types.d.ts.map +1 -1
  70. package/dist/fields/field-icon.component.js +1 -1
  71. package/dist/fields/kinetic-label.component.js +1 -1
  72. package/dist/fields/validation-icon.component.js +1 -1
  73. package/dist/glass-card/liquid-glass-card.component.js +1 -1
  74. package/dist/glass-card/liquid-glass-card.module.css +121 -0
  75. package/dist/hero-mosaic/hero-mosaic.component.js +1 -1
  76. package/dist/hero-mosaic/{hero-mosaic.module.scss → hero-mosaic.module.css} +32 -28
  77. package/dist/hero-mosaic/hero-tile-card.component.js +1 -1
  78. package/dist/icons/error-filled.icon.d.ts +1 -2
  79. package/dist/icons/error-filled.icon.d.ts.map +1 -1
  80. package/dist/icons/error-filled.icon.js +1 -2
  81. package/dist/icons/icons.js +1 -1
  82. package/dist/icons/icons.module.css +3 -0
  83. package/dist/master-detail/entity-detail-browser/entity-detail-browser.component.js +1 -1
  84. package/dist/master-detail/entity-detail-browser/{entity-detail-browser.module.scss → entity-detail-browser.module.css} +74 -66
  85. package/dist/master-detail/entity-detail-browser/gradient-blur.component.js +1 -1
  86. package/dist/modals/index.d.ts.map +1 -1
  87. package/dist/modals/index.js +24 -1
  88. package/dist/notifications/actionable-notification.component.d.ts.map +1 -1
  89. package/dist/notifications/actionable-notification.component.js +6 -9
  90. package/dist/notifications/notification.component.d.ts.map +1 -1
  91. package/dist/notifications/notification.component.js +5 -7
  92. package/dist/page-background/page-background.utils.d.ts +3 -5
  93. package/dist/page-background/page-background.utils.d.ts.map +1 -1
  94. package/dist/page-background/page-background.utils.js +3 -7
  95. package/dist/page-header/page-header.component.js +1 -1
  96. package/dist/page-header/page-header.module.css +28 -0
  97. package/dist/pagination/pagination.component.d.ts +6 -3
  98. package/dist/pagination/pagination.component.d.ts.map +1 -1
  99. package/dist/pagination/pagination.component.js +98 -33
  100. package/dist/pictograms/pictograms.js +1 -1
  101. package/dist/pictograms/pictograms.module.css +3 -0
  102. package/dist/public.d.ts +1 -0
  103. package/dist/public.d.ts.map +1 -1
  104. package/dist/public.js +1 -0
  105. package/dist/responsive-wrapper/responsive-wrapper.component.d.ts +1 -1
  106. package/dist/responsive-wrapper/responsive-wrapper.component.js +3 -2
  107. package/dist/responsive-wrapper/responsive-wrapper.stories.js +3 -3
  108. package/dist/selections/interactive-selector/interactive-selector.component.js +1 -1
  109. package/dist/selections/interactive-selector/{interactive-selector.module.scss → interactive-selector.module.css} +15 -49
  110. package/dist/selections/select-popover/select-avatar.component.js +1 -1
  111. package/dist/selections/select-popover/select-content.component.js +1 -1
  112. package/dist/selections/select-popover/{select-popover.module.scss → select-popover.module.css} +22 -34
  113. package/dist/selections/select-popover/select-trigger.component.js +1 -1
  114. package/dist/sheet/sheet-content.component.js +1 -1
  115. package/dist/sheet/sheet-overlay.component.js +1 -1
  116. package/dist/sheet/sheet-parts.component.js +1 -1
  117. package/dist/sheet/sheet-trigger.component.js +1 -1
  118. package/dist/sheet/{sheet.module.scss → sheet.module.css} +12 -31
  119. package/dist/snackbars/snackbar.component.d.ts.map +1 -1
  120. package/dist/snackbars/snackbar.component.js +8 -10
  121. package/dist/snackbars/{snackbar.module.scss → snackbar.module.css} +0 -2
  122. package/dist/styles.css +1364 -0
  123. package/dist/toasts/toast-progress-bar.component.js +1 -1
  124. package/dist/toasts/toast.component.js +1 -1
  125. package/dist/toasts/{toast.module.scss → toast.module.css} +27 -34
  126. package/dist/top-bar/top-bar.component.d.ts +1 -1
  127. package/dist/top-bar/top-bar.component.d.ts.map +1 -1
  128. package/dist/ui/alert.d.ts +10 -0
  129. package/dist/ui/alert.d.ts.map +1 -0
  130. package/dist/ui/alert.js +47 -0
  131. package/dist/ui/app-header.d.ts +10 -0
  132. package/dist/ui/app-header.d.ts.map +1 -0
  133. package/dist/ui/app-header.js +36 -0
  134. package/dist/ui/badge.d.ts +10 -0
  135. package/dist/ui/badge.d.ts.map +1 -0
  136. package/dist/ui/badge.js +34 -0
  137. package/dist/ui/button.d.ts +11 -0
  138. package/dist/ui/button.d.ts.map +1 -0
  139. package/dist/ui/button.js +48 -0
  140. package/dist/ui/cn.d.ts +7 -0
  141. package/dist/ui/cn.d.ts.map +1 -0
  142. package/dist/ui/cn.js +8 -0
  143. package/dist/ui/dialog.d.ts +18 -0
  144. package/dist/ui/dialog.d.ts.map +1 -0
  145. package/dist/ui/dialog.js +105 -0
  146. package/dist/ui/dropdown-menu.d.ts +26 -0
  147. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  148. package/dist/ui/dropdown-menu.js +143 -0
  149. package/dist/ui/icon-button.d.ts +17 -0
  150. package/dist/ui/icon-button.d.ts.map +1 -0
  151. package/dist/ui/icon-button.js +30 -0
  152. package/dist/ui/index.d.ts +23 -0
  153. package/dist/ui/index.d.ts.map +1 -0
  154. package/dist/ui/index.js +25 -0
  155. package/dist/ui/inline-loading.d.ts +11 -0
  156. package/dist/ui/inline-loading.d.ts.map +1 -0
  157. package/dist/ui/inline-loading.js +34 -0
  158. package/dist/ui/input.d.ts +4 -0
  159. package/dist/ui/input.d.ts.map +1 -0
  160. package/dist/ui/input.js +14 -0
  161. package/dist/ui/label.d.ts +5 -0
  162. package/dist/ui/label.d.ts.map +1 -0
  163. package/dist/ui/label.js +14 -0
  164. package/dist/ui/layer.d.ts +8 -0
  165. package/dist/ui/layer.d.ts.map +1 -0
  166. package/dist/ui/layer.js +14 -0
  167. package/dist/ui/link.d.ts +11 -0
  168. package/dist/ui/link.d.ts.map +1 -0
  169. package/dist/ui/link.js +15 -0
  170. package/dist/ui/modal.d.ts +14 -0
  171. package/dist/ui/modal.d.ts.map +1 -0
  172. package/dist/ui/modal.js +48 -0
  173. package/dist/ui/notification-banner.d.ts +19 -0
  174. package/dist/ui/notification-banner.d.ts.map +1 -0
  175. package/dist/ui/notification-banner.js +75 -0
  176. package/dist/ui/separator.d.ts +5 -0
  177. package/dist/ui/separator.d.ts.map +1 -0
  178. package/dist/ui/separator.js +16 -0
  179. package/dist/ui/spinner.d.ts +4 -0
  180. package/dist/ui/spinner.d.ts.map +1 -0
  181. package/dist/ui/spinner.js +15 -0
  182. package/dist/ui/switch.d.ts +7 -0
  183. package/dist/ui/switch.d.ts.map +1 -0
  184. package/dist/ui/switch.js +19 -0
  185. package/dist/ui/table.d.ts +11 -0
  186. package/dist/ui/table.d.ts.map +1 -0
  187. package/dist/ui/table.js +66 -0
  188. package/dist/ui/tabs.d.ts +12 -0
  189. package/dist/ui/tabs.d.ts.map +1 -0
  190. package/dist/ui/tabs.js +52 -0
  191. package/dist/ui/text-input.d.ts +19 -0
  192. package/dist/ui/text-input.d.ts.map +1 -0
  193. package/dist/ui/text-input.js +35 -0
  194. package/dist/ui/tile.d.ts +10 -0
  195. package/dist/ui/tile.d.ts.map +1 -0
  196. package/dist/ui/tile.js +55 -0
  197. package/dist/ui/tooltip.d.ts +8 -0
  198. package/dist/ui/tooltip.d.ts.map +1 -0
  199. package/dist/ui/tooltip.js +42 -0
  200. package/dist/utils.d.ts +3 -4
  201. package/dist/utils.d.ts.map +1 -1
  202. package/dist/utils.js +2 -3
  203. package/dist/workbench/section-nav-panel.component.js +1 -1
  204. package/dist/workbench/{section-nav-panel.module.scss → section-nav-panel.module.css} +14 -20
  205. package/dist/workbench/splitter.component.js +1 -1
  206. package/dist/workbench/tool-window-rail.component.js +1 -1
  207. package/dist/workbench/tool-window-zone.component.js +1 -1
  208. package/dist/workbench/workbench.module.css +363 -0
  209. package/dist/workspaces/action-menu-button/action-menu-button.component.d.ts.map +1 -1
  210. package/dist/workspaces/action-menu-button/action-menu-button.component.js +5 -10
  211. package/dist/workspaces/action-menu-button/action-menu-button.module.css +94 -0
  212. package/dist/workspaces/container/action-menu.component.js +1 -1
  213. package/dist/workspaces/container/action-menu.module.css +68 -0
  214. package/dist/workspaces/container/workspace-container.component.d.ts.map +1 -1
  215. package/dist/workspaces/container/workspace-container.component.js +13 -14
  216. package/dist/workspaces/container/workspace-renderer.component.js +2 -2
  217. package/dist/workspaces/container/workspace.module.css +204 -0
  218. package/dist/workspaces/notification/workspace-notification.component.d.ts.map +1 -1
  219. package/dist/workspaces/notification/workspace-notification.component.js +32 -28
  220. package/dist/workspaces2/action-menu2/action-menu-button2.component.d.ts.map +1 -1
  221. package/dist/workspaces2/action-menu2/action-menu-button2.component.js +5 -10
  222. package/dist/workspaces2/action-menu2/action-menu-button2.module.css +93 -0
  223. package/dist/workspaces2/action-menu2/action-menu2.component.d.ts.map +1 -1
  224. package/dist/workspaces2/action-menu2/action-menu2.component.js +4 -5
  225. package/dist/workspaces2/action-menu2/action-menu2.module.css +70 -0
  226. package/dist/workspaces2/active-workspace-window.component.js +2 -2
  227. package/dist/workspaces2/workspace-windows-and-menu.component.js +1 -1
  228. package/dist/workspaces2/workspace-windows-and-menu.module.css +27 -0
  229. package/dist/workspaces2/workspace2-close-prompt.modal.d.ts.map +1 -1
  230. package/dist/workspaces2/workspace2-close-prompt.modal.js +7 -6
  231. package/dist/workspaces2/workspace2.component.js +11 -12
  232. package/dist/workspaces2/workspace2.module.css +163 -0
  233. package/package.json +11 -11
  234. package/dist/_all.scss +0 -31
  235. package/dist/_carbon-bridge.scss +0 -194
  236. package/dist/_glass.scss +0 -75
  237. package/dist/_overrides.scss +0 -731
  238. package/dist/_panel.scss +0 -123
  239. package/dist/_vars.scss +0 -111
  240. package/dist/animations/_animations.scss +0 -102
  241. package/dist/animations/_index.scss +0 -5
  242. package/dist/animations/_keyframes.scss +0 -135
  243. package/dist/animations/_mixins.scss +0 -16
  244. package/dist/animations/_tokens.scss +0 -16
  245. package/dist/animations/_workbench-motion.scss +0 -36
  246. package/dist/cards/card-header.module.scss +0 -45
  247. package/dist/cards/decorated-card/_decoration-bleed.scss +0 -26
  248. package/dist/carousel/circular-gallery/circular-gallery.module.scss +0 -165
  249. package/dist/carousel/image-swiper/image-swiper.module.scss +0 -43
  250. package/dist/carousel/slider/slider.module.scss +0 -176
  251. package/dist/carousel/testimonial-card/testimonial-card-stack.module.scss +0 -18
  252. package/dist/carousel/testimonial-card/testimonial-card.module.scss +0 -73
  253. package/dist/components/_breadcrumbs.scss +0 -11
  254. package/dist/components/_canvas.scss +0 -19
  255. package/dist/components/_general.scss +0 -337
  256. package/dist/components/_main-content.scss +0 -28
  257. package/dist/components/_panel-overrides.scss +0 -130
  258. package/dist/containers/layout-grid/layout-grid.module.scss +0 -143
  259. package/dist/custom-overflow-menu/custom-overflow-menu.module.scss +0 -38
  260. package/dist/datepicker/datepicker.module.scss +0 -502
  261. package/dist/empty-card/empty-card.module.scss +0 -27
  262. package/dist/error-state/error-state.module.scss +0 -21
  263. package/dist/glass-card/liquid-glass-card.module.scss +0 -154
  264. package/dist/icons/icons.module.scss +0 -5
  265. package/dist/modals/_modals.scss +0 -13
  266. package/dist/notifications/_actionable-notifications.scss +0 -23
  267. package/dist/notifications/_notifications.scss +0 -22
  268. package/dist/page-header/page-header.module.scss +0 -28
  269. package/dist/pagination/pagination.module.scss +0 -66
  270. package/dist/pictograms/pictograms.module.scss +0 -5
  271. package/dist/snackbars/_snackbars.scss +0 -31
  272. package/dist/spinner/_loader.scss +0 -94
  273. package/dist/spinner/_spinner.scss +0 -1
  274. package/dist/toasts/_toasts.scss +0 -22
  275. package/dist/workbench/workbench.module.scss +0 -439
  276. package/dist/workspaces/action-menu-button/action-menu-button.module.scss +0 -111
  277. package/dist/workspaces/container/action-menu.module.scss +0 -90
  278. package/dist/workspaces/container/workspace.module.scss +0 -276
  279. package/dist/workspaces/notification/workspace-notification.module.scss +0 -5
  280. package/dist/workspaces2/action-menu2/action-menu-button2.module.scss +0 -113
  281. package/dist/workspaces2/action-menu2/action-menu2.module.scss +0 -87
  282. package/dist/workspaces2/workspace-windows-and-menu.module.scss +0 -32
  283. package/dist/workspaces2/workspace2-close-prompt.module.scss +0 -8
  284. package/dist/workspaces2/workspace2.module.scss +0 -228
  285. package/src/_vars.scss +0 -111
  286. /package/dist/content-section/{content-section.module.scss → content-section.module.css} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @egen-civitas/esm-styleguide
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - aa66db3: **Retrait complet de Carbon et de SCSS.** Tailwind v4 est le seul système de style ; les composants de base sont les nôtres (`esm-styleguide/src/ui`, copiés de shadcn/ui et Radix, MIT).
8
+
9
+ - `@egen-civitas/esm-styleguide` : plus de `@carbon/react`, `@carbon/charts` ni `sass`. Nouveaux composants exportés : `Button`, `IconButton`, `Link`, `Badge`, `Separator`, `Label`, `Input`, `TextInput`, `Switch`, `Spinner`, `InlineLoading`, `Layer`, `Tooltip`, `Tile*`, `Alert*`, `NotificationBanner`, `Dialog*`, `DropdownMenu*`, `Tabs*`, `Table*`, `ModalHeader` / `ModalBody` / `ModalFooter`, `AppHeader*`. `cn` utilise désormais `tailwind-merge`. Le type `CarbonTagColor` devient `TagColor` (et `carbonTagColors` → `tagColors`). Les composants du framework qui reposaient sur Carbon (modales, notifications, snackbars, tags, pagination, menu déroulant, barre d'actions par lots, sélecteur de dates, fenêtres d'espace de travail) sont réécrits sans lui.
10
+ - Feuille globale : `@egen-civitas/esm-styleguide/styles` pointe sur un **fichier CSS standard** (`dist/styles.css`) ; l'export SCSS `./src/vars` et tous les partiels `.scss` disparaissent. Les modules `*.module.scss` sont devenus `*.module.css` (mêmes noms de classes). Les jetons `--cds-*` sont renommés `--ui-*`.
11
+ - `@egen-civitas/rspack-config`, `@egen-civitas/webpack-config` : plus de règle `sass-loader`, `scssRuleConfig` supprimé, `.scss` retiré des extensions résolues.
12
+ - `@egen-civitas/esm-app-shell` : la feuille globale est lue telle quelle (plus de compilation Sass) ; `@carbon/react` n'est plus une dépendance partagée ; la page d'erreur et le fil d'Ariane n'utilisent plus de classes Carbon.
13
+ - `@egen-civitas/tailwind-preset` : importe `tw-animate-css` (animations des composants).
14
+ - `@egen-civitas/esm-ai-tools` : l'identité des composants vient du `data-slot` des composants EGEN (`source: 'slot'`, champ `slot`) à la place du bloc Carbon (`source: 'carbon'`, champ `carbon`) ; `theme.carbonTheme` est supprimé.
15
+ - `@egen-civitas/egen` : les dépendances `sass*` ne sont plus fournies.
16
+
17
+ Guide de migration : `docs/MIGRATION-CARBON.md`.
18
+
19
+ ### Minor Changes
20
+
21
+ - ad4ee68: Retrait de Carbon, phase 2 : composants à comportement 100 % Tailwind (copiés de shadcn/ui, MIT ; accessibilité via Radix) : `Dialog` (+ `DialogTrigger`, `DialogContent`, `DialogHeader`, `DialogFooter`, `DialogTitle`, `DialogDescription`…), `DropdownMenu` (+ items, cases, radios, sous-menus), `Tabs`, `Table` et `Alert` (+ `AlertTitle`, `AlertDescription`, variantes d'état `info` / `success` / `warning` / `error` ajoutées pour les notifications). Chacun est testé (ouverture, fermeture avec Échap, clavier, rôles ARIA).
22
+ - 3e0ab01: Premiers composants de base 100 % Tailwind, sans Carbon ni SCSS (chantier de retrait de Carbon, phase 0 et 1) : `Button`, `IconButton`, `Link`, `Badge`, `Separator`, `Label`, `Input`, `TextInput`, `Switch`, `Spinner`, `InlineLoading`, `Layer`, `Tooltip` et `Tile` (+ `TileHeader`, `TileTitle`, `TileDescription`, `TileAction`, `TileContent`, `TileFooter`), exportés par `@egen-civitas/esm-styleguide`, avec l'utilitaire `cn` (clsx + tailwind-merge). Code copié de shadcn/ui (MIT, avis dans `THIRD_PARTY_NOTICES.md`) puis adapté ; comportements accessibles via Radix. Ils lisent les jetons de thème existants (`bg-primary`, `bg-card`, `border-input`…), donc suivent le moteur de thème.
23
+
24
+ `@egen-civitas/tailwind-preset` importe désormais `tw-animate-css` (classes `animate-in`, `fade-in-0`, `zoom-in-95`…, requises par les infobulles et bientôt les menus et modales).
25
+
26
+ Garde-fou : un test d'architecture (`zero-carbon.architecture.test.ts`) interdit tout nouvel import Carbon ou fichier `.scss` ; sa liste blanche (`carbon-scss-allowlist.json`, 88 fichiers) ne peut que rétrécir.
27
+
3
28
  ## 4.1.0
4
29
 
5
30
  ### Minor Changes
package/README.md CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  The styleguide for Egen.
4
4
 
5
- All our frontend UI development is based on [Carbon Design System](https://www.carbondesignsystem.com/).
5
+ Our frontend UI is built with [Tailwind CSS](https://tailwindcss.com/) and our own base components (`src/ui`, adapted from [shadcn/ui](https://ui.shadcn.com/) and [Radix](https://www.radix-ui.com/)).
6
6
 
7
7
  Check out the [full, detailed styleguide in Zeplin here](https://egen.alpha.vercel.com/design-system) (let us know if you require an invitation) and our design documentation.
@@ -1 +1 @@
1
- {"version":3,"file":"card-header.component.d.ts","sourceRoot":"","sources":["../../src/cards/card-header.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,eAAe,qBAc9D"}
1
+ {"version":3,"file":"card-header.component.d.ts","sourceRoot":"","sources":["../../src/cards/card-header.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,eAAe,qBAuB9D"}
@@ -1,19 +1,17 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
- import classNames from "classnames";
4
3
  import { useLayoutType } from "@egen-civitas/esm-react-utils";
5
- import styles from "./card-header.module.scss";
4
+ import { cn } from "../ui/cn.js";
6
5
  /**
7
6
  * Re-usable header component for O3-style cards, like those found on the entity chart
8
7
  */ export function CardHeader({ title, children }) {
9
8
  const isTablet = useLayoutType() === 'tablet';
10
9
  return /*#__PURE__*/ _jsxs("div", {
11
- className: classNames({
12
- [styles.tabletHeader]: isTablet,
13
- [styles.desktopHeader]: !isTablet
14
- }),
10
+ className: cn('flex items-center justify-between bg-background py-3 pr-0 pl-4 rtl:pr-4 rtl:pl-0 rtl:text-right', isTablet ? 'h-[4.5rem]' : 'h-12'),
15
11
  children: [
16
12
  /*#__PURE__*/ _jsx("h4", {
13
+ className: cn('text-muted-foreground', isTablet ? 'text-xl' : 'text-sm font-semibold', // Liseré de marque sous le titre (couleur `--brand-03` du thème).
14
+ "after:block after:w-8 after:border-b-[0.375rem] after:border-[var(--brand-03)] after:pt-[0.188rem] after:content-['']"),
17
15
  children: title
18
16
  }),
19
17
  children
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
- import { Button } from "@carbon/react";
4
3
  import { CardHeader } from "./card-header.component.js";
5
4
  import { AddIcon } from "../icons/index.js";
5
+ import { Button } from "../ui/index.js";
6
6
  const meta = {
7
7
  title: 'Components/CardHeader',
8
8
  component: CardHeader,
@@ -22,11 +22,15 @@ export const WithAction = {
22
22
  },
23
23
  render: (args)=>/*#__PURE__*/ _jsx(CardHeader, {
24
24
  ...args,
25
- children: /*#__PURE__*/ _jsx(Button, {
26
- kind: "ghost",
27
- renderIcon: AddIcon,
28
- iconDescription: "Add document",
29
- children: "Add"
25
+ children: /*#__PURE__*/ _jsxs(Button, {
26
+ variant: "ghost",
27
+ children: [
28
+ /*#__PURE__*/ _jsx(AddIcon, {
29
+ size: 16,
30
+ "aria-hidden": "true"
31
+ }),
32
+ "Add"
33
+ ]
30
34
  })
31
35
  })
32
36
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /** @category DecoratedCard */ import React from "react";
3
- import styles from "./decorated-card.module.scss";
3
+ import styles from "./decorated-card.module.css";
4
4
  export const DotsPattern = ({ dotsColor })=>/*#__PURE__*/ _jsxs(_Fragment, {
5
5
  children: [
6
6
  /*#__PURE__*/ _jsx("div", {
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /** @category DecoratedCard */ import React, { forwardRef } from "react";
3
3
  import classNames from "classnames";
4
4
  import { CornerBrackets, DotsPattern, GradientLines, PlusIcons } from "./card-decorations.js";
5
- import styles from "./decorated-card.module.scss";
5
+ import styles from "./decorated-card.module.css";
6
6
  /**
7
7
  * `DecoratedCard` — carte prête à l'emploi avec 8 traitements décoratifs de
8
8
  * bordure (`variant`). Ne pose AUCUNE taille fixe — `width`/`height` ne sont
@@ -1,17 +1,3 @@
1
- // ============================================================================
2
- // EGEN — DecoratedCard
3
- // ============================================================================
4
- // 8 variantes décoratives, zéro taille imposée (le contenu dicte la taille),
5
- // 100% tokens du thème. Astuce notable : les ombres "dures" (neubrutalism,
6
- // lifted) utilisent color-mix() sur --colors-surface-foreground plutôt que
7
- // deux règles dupliquées clair/sombre (rgba(0,0,0,..) / rgba(255,255,255,..))
8
- // — --colors-surface-foreground est déjà sombre en thème clair et clair en
9
- // thème sombre, donc la couleur d'ombre s'adapte automatiquement.
10
- // ============================================================================
11
-
12
- @use '../../glass' as glass;
13
- @use './decoration-bleed' as bleed;
14
-
15
1
  .card {
16
2
  position: relative;
17
3
  width: 100%;
@@ -33,16 +19,12 @@
33
19
  color: var(--colors-surface-muted-foreground);
34
20
  }
35
21
 
36
- // ── default ──────────────────────────────────────────────────────────────────
37
-
38
22
  .card--default {
39
23
  border: 1px solid var(--colors-border-default, transparent);
40
24
  border-radius: var(--border-radius-lg);
41
25
  background: var(--colors-surface-card);
42
26
  }
43
27
 
44
- // ── dots ─────────────────────────────────────────────────────────────────────
45
-
46
28
  .card--dots {
47
29
  padding: 0 clamp(1rem, 3vw, 2rem);
48
30
  }
@@ -96,8 +78,6 @@
96
78
  z-index: 20;
97
79
  }
98
80
 
99
- // ── gradient ─────────────────────────────────────────────────────────────────
100
-
101
81
  .card--gradient {
102
82
  padding: 0 clamp(1rem, 3vw, 2rem);
103
83
  }
@@ -143,8 +123,6 @@
143
123
  z-index: 20;
144
124
  }
145
125
 
146
- // ── plus ─────────────────────────────────────────────────────────────────────
147
-
148
126
  .card--plus {
149
127
  border: 1px dashed var(--colors-border-default, transparent);
150
128
  }
@@ -155,27 +133,25 @@
155
133
  }
156
134
 
157
135
  .plusIcon--topLeft {
158
- top: -#{bleed.$decoration-bleed};
159
- left: -#{bleed.$decoration-bleed};
136
+ top: -0.75rem;
137
+ left: -0.75rem;
160
138
  }
161
139
 
162
140
  .plusIcon--topRight {
163
- top: -#{bleed.$decoration-bleed};
164
- right: -#{bleed.$decoration-bleed};
141
+ top: -0.75rem;
142
+ right: -0.75rem;
165
143
  }
166
144
 
167
145
  .plusIcon--bottomLeft {
168
- bottom: -#{bleed.$decoration-bleed};
169
- left: -#{bleed.$decoration-bleed};
146
+ bottom: -0.75rem;
147
+ left: -0.75rem;
170
148
  }
171
149
 
172
150
  .plusIcon--bottomRight {
173
- bottom: -#{bleed.$decoration-bleed};
174
- right: -#{bleed.$decoration-bleed};
151
+ bottom: -0.75rem;
152
+ right: -0.75rem;
175
153
  }
176
154
 
177
- // ── neubrutalism ─────────────────────────────────────────────────────────────
178
-
179
155
  .card--neubrutalism {
180
156
  border: 1px solid var(--colors-border-default, transparent);
181
157
  border-radius: var(--border-radius-md);
@@ -183,8 +159,6 @@
183
159
  box-shadow: 4px 4px 0 0 color-mix(in srgb, var(--colors-surface-foreground) 100%, transparent);
184
160
  }
185
161
 
186
- // ── inner ────────────────────────────────────────────────────────────────────
187
-
188
162
  .card--inner {
189
163
  border: 1px solid var(--colors-border-default, transparent);
190
164
  border-radius: var(--border-radius-sm);
@@ -198,8 +172,6 @@
198
172
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--colors-surface-foreground) 10%, transparent);
199
173
  }
200
174
 
201
- // ── lifted ───────────────────────────────────────────────────────────────────
202
-
203
175
  .card--lifted {
204
176
  border: 1px solid var(--colors-border-default, transparent);
205
177
  border-radius: var(--border-radius-xl);
@@ -207,8 +179,6 @@
207
179
  box-shadow: 0 5px 0 0 color-mix(in srgb, var(--colors-surface-foreground) 70%, transparent);
208
180
  }
209
181
 
210
- // ── corners ──────────────────────────────────────────────────────────────────
211
-
212
182
  .card--corners {
213
183
  border: 2px solid var(--colors-border-default, transparent);
214
184
  border-radius: var(--border-radius-md);
@@ -255,24 +225,44 @@
255
225
  border-bottom-right-radius: var(--border-radius-md);
256
226
  }
257
227
 
258
- // ── glass ────────────────────────────────────────────────────────────────────
259
- // Glassmorphisme du LiquidGlassButton d'origine, porté tel quel dans le
260
- // thème central (effects.glass.* — voir theme.default.json) et consommé ici
261
- // via le mixin partagé glass.glass-surface (packages/framework/esm-styleguide/
262
- // src/_glass.scss). Design non retouché — seul le conteneur passe de bouton
263
- // à carte (border-radius plus généreux, fond opaque de base, padding hérité
264
- // du .content standard du DecoratedCard).
265
228
  .card--glass {
266
229
  border-radius: var(--border-radius-xl);
267
230
  background: var(--colors-surface-card);
268
- @include glass.glass-surface;
231
+ position: relative;
232
+ isolation: isolate;
233
+ }
234
+ .card--glass::before {
235
+ content: "";
236
+ position: absolute;
237
+ inset: 0;
238
+ z-index: 0;
239
+ border-radius: inherit;
240
+ pointer-events: none;
241
+ background: var(--effects-glass-specular-background);
242
+ background-image: var(--effects-glass-specular-highlight);
243
+ backdrop-filter: var(--effects-glass-specular-backdrop-filter);
244
+ -webkit-backdrop-filter: var(--effects-glass-specular-backdrop-filter-webkit);
245
+ box-shadow: var(--effects-glass-bevel-shadow-light), var(--effects-glass-bevel-shadow-dark), var(--effects-glass-bevel-shadow-outer);
246
+ }
247
+ .card--glass::after {
248
+ content: "";
249
+ position: absolute;
250
+ inset: 0;
251
+ z-index: 1;
252
+ border-radius: inherit;
253
+ padding: 1px;
254
+ pointer-events: none;
255
+ background: var(--effects-glass-rim-gradient);
256
+ opacity: var(--effects-glass-rim-opacity);
257
+ -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
258
+ -webkit-mask-composite: xor;
259
+ mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
260
+ mask-composite: exclude;
261
+ }
262
+ .card--glass > * {
263
+ position: relative;
264
+ z-index: 2;
269
265
  }
270
-
271
- // ── mirror ───────────────────────────────────────────────────────────────────
272
- // Effet "miroir" : PAS de backdrop-filter (contrairement à 'glass') — le
273
- // relief vient uniquement d'un dégradé de surface + reflets internes +
274
- // une ombre portée floutée, posée en couche séparée derrière la carte
275
- // (comme l'original : un <div> "shadow" distinct du bouton lui-même).
276
266
 
277
267
  .card--mirror {
278
268
  position: relative;
@@ -282,25 +272,14 @@
282
272
  position: relative;
283
273
  z-index: 1;
284
274
  border-radius: var(--border-radius-xl);
285
- background: linear-gradient(
286
- to bottom,
287
- color-mix(in srgb, var(--colors-surface-card) 100%, var(--colors-surface-translucent) 40%),
288
- var(--colors-surface-card)
289
- );
275
+ background: linear-gradient(to bottom, color-mix(in srgb, var(--colors-surface-card) 100%, var(--colors-surface-translucent) 40%), var(--colors-surface-card));
290
276
  border: 1px solid var(--colors-surface-translucent-border, rgba(255, 255, 255, 0.8));
291
- box-shadow:
292
- inset 0 1px 0 0 color-mix(in srgb, var(--colors-surface-translucent) 80%, transparent),
293
- inset 0 -1px 0 0 color-mix(in srgb, var(--colors-surface-foreground) 6%, transparent),
294
- 0 1px 2px 0 color-mix(in srgb, var(--colors-surface-foreground) 8%, transparent);
277
+ box-shadow: inset 0 1px 0 0 color-mix(in srgb, var(--colors-surface-translucent) 80%, transparent), inset 0 -1px 0 0 color-mix(in srgb, var(--colors-surface-foreground) 6%, transparent), 0 1px 2px 0 color-mix(in srgb, var(--colors-surface-foreground) 8%, transparent);
295
278
  transition: var(--transitions-default);
296
279
  }
297
280
 
298
281
  .card--mirror:hover .mirrorSurface {
299
- background: linear-gradient(
300
- to bottom,
301
- color-mix(in srgb, var(--colors-surface-card) 100%, var(--colors-surface-translucent) 55%),
302
- var(--colors-surface-card)
303
- );
282
+ background: linear-gradient(to bottom, color-mix(in srgb, var(--colors-surface-card) 100%, var(--colors-surface-translucent) 55%), var(--colors-surface-card));
304
283
  }
305
284
 
306
285
  .mirrorShadow {
@@ -316,10 +295,6 @@
316
295
  pointer-events: none;
317
296
  }
318
297
 
319
- // ── Sous-variantes de taille/forme (mirror uniquement) ──────────────────────
320
- // Pilotent le padding du .content porté par .mirrorSurface. 'icon' est une
321
- // forme distincte : badge carré compact, circulaire, contenu centré.
322
-
323
298
  .mirrorSurface--sm .content {
324
299
  padding: 0.5rem 1rem;
325
300
  }
@@ -4,7 +4,7 @@ import classNames from "classnames";
4
4
  import { ChevronLeftIcon, ChevronRightIcon } from "../../icons/index.js";
5
5
  import { GalleryImage } from "./gallery-image.component.js";
6
6
  import { GalleryTabs } from "./gallery-tabs.component.js";
7
- import styles from "./circular-gallery.module.scss";
7
+ import styles from "./circular-gallery.module.css";
8
8
  /**
9
9
  * `CircularGallery` — galerie où chaque image est une petite pastille
10
10
  * circulaire (rangée d'onglets en bas) qui se déploie en plein cadre au
@@ -0,0 +1,140 @@
1
+ .root {
2
+ position: relative;
3
+ display: inline-block;
4
+ }
5
+
6
+ .frame {
7
+ position: relative;
8
+ height: 80vmin;
9
+ width: 80vmin;
10
+ max-height: 600px;
11
+ max-width: 600px;
12
+ overflow: hidden;
13
+ border-radius: 20px;
14
+ box-shadow: 0 2.8px 2.2px color-mix(in srgb, var(--colors-surface-foreground) 2%, transparent), 0 6.7px 5.3px color-mix(in srgb, var(--colors-surface-foreground) 2.8%, transparent), 0 12.5px 10px color-mix(in srgb, var(--colors-surface-foreground) 3.5%, transparent), 0 22.3px 17.9px color-mix(in srgb, var(--colors-surface-foreground) 4.2%, transparent), 0 41.8px 33.4px color-mix(in srgb, var(--colors-surface-foreground) 5%, transparent), 0 100px 80px color-mix(in srgb, var(--colors-surface-foreground) 7%, transparent);
15
+ }
16
+
17
+ .imageLayer {
18
+ position: absolute;
19
+ left: 0;
20
+ top: 0;
21
+ height: 100%;
22
+ width: 100%;
23
+ }
24
+
25
+ .tabsLayer {
26
+ position: absolute;
27
+ left: 0;
28
+ top: 0;
29
+ z-index: 100;
30
+ height: 100%;
31
+ width: 100%;
32
+ pointer-events: none;
33
+ }
34
+
35
+ .galleryImageSvg {
36
+ height: 100%;
37
+ width: 100%;
38
+ }
39
+
40
+ .pointerNone {
41
+ pointer-events: none;
42
+ }
43
+
44
+ .tabGroup {
45
+ pointer-events: auto;
46
+ }
47
+
48
+ .tabCircle {
49
+ cursor: pointer;
50
+ fill: transparent;
51
+ stroke: color-mix(in srgb, var(--colors-neutral-50) 70%, transparent);
52
+ transition: var(--transitions-colors);
53
+ }
54
+ .tabCircle:hover {
55
+ stroke: var(--colors-neutral-50);
56
+ }
57
+
58
+ .navButton {
59
+ position: absolute;
60
+ top: 50%;
61
+ z-index: 101;
62
+ display: flex;
63
+ height: 3.5rem;
64
+ width: 3.5rem;
65
+ transform: translateY(-50%);
66
+ align-items: center;
67
+ justify-content: center;
68
+ border-radius: var(--border-radius-full, 9999px);
69
+ border: 2px solid color-mix(in srgb, var(--colors-neutral-50) 20%, transparent);
70
+ background: color-mix(in srgb, var(--colors-neutral-50) 95%, transparent);
71
+ color: var(--colors-neutral-900);
72
+ box-shadow: 0 8px 32px color-mix(in srgb, var(--colors-neutral-950) 12%, transparent);
73
+ cursor: pointer;
74
+ outline: none;
75
+ transition: var(--transitions-default);
76
+ }
77
+ .navButton:hover:not(:disabled) {
78
+ transform: translateY(-50%) scale(1.1);
79
+ background: var(--colors-neutral-50);
80
+ border-color: color-mix(in srgb, var(--colors-neutral-50) 40%, transparent);
81
+ box-shadow: 0 12px 48px color-mix(in srgb, var(--colors-neutral-950) 18%, transparent);
82
+ }
83
+ .navButton:active:not(:disabled) {
84
+ transform: translateY(-50%) scale(0.95);
85
+ }
86
+ .navButton:focus-visible {
87
+ box-shadow: 0 0 0 4px color-mix(in srgb, var(--colors-neutral-50) 50%, transparent);
88
+ }
89
+ .navButton:disabled {
90
+ opacity: 0.4;
91
+ cursor: not-allowed;
92
+ }
93
+ .navButton:disabled:hover {
94
+ transform: translateY(-50%) scale(1);
95
+ }
96
+ @media (min-width: 40rem) {
97
+ .navButton {
98
+ height: 4rem;
99
+ width: 4rem;
100
+ }
101
+ }
102
+
103
+ .navButton--prev {
104
+ left: calc(50% - 40vmin - 40px);
105
+ transform: translateY(-50%) translateX(-50%);
106
+ }
107
+ .navButton--prev:hover:not(:disabled) {
108
+ transform: translateY(-50%) translateX(-50%) scale(1.1);
109
+ }
110
+ .navButton--prev:active:not(:disabled) {
111
+ transform: translateY(-50%) translateX(-50%) scale(0.95);
112
+ }
113
+ @media (min-width: 40rem) {
114
+ .navButton--prev {
115
+ left: calc(50% - 300px - 50px);
116
+ }
117
+ }
118
+
119
+ .navButton--next {
120
+ right: calc(50% - 40vmin - 40px);
121
+ transform: translateY(-50%) translateX(50%);
122
+ }
123
+ .navButton--next:hover:not(:disabled) {
124
+ transform: translateY(-50%) translateX(50%) scale(1.1);
125
+ }
126
+ .navButton--next:active:not(:disabled) {
127
+ transform: translateY(-50%) translateX(50%) scale(0.95);
128
+ }
129
+ @media (min-width: 40rem) {
130
+ .navButton--next {
131
+ right: calc(50% - 300px - 50px);
132
+ }
133
+ }
134
+
135
+ @media (prefers-reduced-motion: reduce) {
136
+ .navButton,
137
+ .tabCircle {
138
+ transition: none;
139
+ }
140
+ }
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /** @category CircularGallery */ import React, { useEffect, useRef, useState } from "react";
3
3
  import { gsap } from "gsap";
4
4
  import { MotionPathPlugin } from "gsap/MotionPathPlugin";
5
- import styles from "./circular-gallery.module.scss";
5
+ import styles from "./circular-gallery.module.css";
6
6
  gsap.registerPlugin(MotionPathPlugin);
7
7
  /**
8
8
  * Animation reprise à l'identique de l'original : un cercle miniature (dans
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /** @category CircularGallery */ import React from "react";
3
- import styles from "./circular-gallery.module.scss";
3
+ import styles from "./circular-gallery.module.css";
4
4
  export const GalleryTabs = ({ images, onSelect })=>{
5
5
  const gap = 10;
6
6
  const circleRadius = 7;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /** @category ImageSwiper */ import React, { useCallback, useEffect, useRef, useState } from "react";
3
3
  import classNames from "classnames";
4
- import styles from "./image-swiper.module.scss";
4
+ import styles from "./image-swiper.module.css";
5
5
  /**
6
6
  * `ImageSwiper` — pile de cartes en 3D (façon Tinder), qu'on swipe à la
7
7
  * souris/au doigt pour faire défiler. La carte swipée repasse en dernière
@@ -0,0 +1,31 @@
1
+ .stack {
2
+ position: relative;
3
+ display: grid;
4
+ place-content: center;
5
+ user-select: none;
6
+ touch-action: none;
7
+ transform-style: preserve-3d;
8
+ }
9
+
10
+ .imageCard {
11
+ position: absolute;
12
+ place-self: center;
13
+ cursor: grab;
14
+ border: 1px solid var(--colors-border-default, transparent);
15
+ border-radius: var(--border-radius-lg);
16
+ box-shadow: var(--shadows-md);
17
+ overflow: hidden;
18
+ will-change: transform;
19
+ transform: perspective(var(--card-perspective)) translateZ(calc(-1 * var(--card-z-offset) * var(--i))) translateY(calc(var(--card-y-offset) * var(--i))) translateX(var(--swipe-x, 0px)) rotateY(var(--swipe-rotate, 0deg));
20
+ }
21
+ .imageCard:active {
22
+ cursor: grabbing;
23
+ }
24
+
25
+ .image {
26
+ width: 100%;
27
+ height: 100%;
28
+ object-fit: cover;
29
+ user-select: none;
30
+ pointer-events: none;
31
+ }
@@ -4,7 +4,7 @@ import classNames from "classnames";
4
4
  import useEmblaCarousel from "embla-carousel-react";
5
5
  import { CarouselContext } from "./slider.context.js";
6
6
  import { SliderContainer } from "./slider-container.component.js";
7
- import styles from "./slider.module.scss";
7
+ import styles from "./slider.module.css";
8
8
  /**
9
9
  * Extrait la liste des `thumbnailSrc` déclarés par les `<Slider>` imbriqués
10
10
  * dans le `<SliderContainer>` enfant de `<Carousel>`, sans registre d'état
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /** @category Carousel */ import React from "react";
3
3
  import classNames from "classnames";
4
4
  import { useCarouselContext } from "./slider.context.js";
5
- import styles from "./slider.module.scss";
5
+ import styles from "./slider.module.css";
6
6
  /**
7
7
  * `SliderContainer` — fenêtre visible (viewport, `overflow: hidden`, porte
8
8
  * la ref embla) et piste (container flex, translatée par embla) des slides
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /** @category Carousel */ import React from "react";
3
3
  import classNames from "classnames";
4
4
  import { useCarouselContext } from "./slider.context.js";
5
- import styles from "./slider.module.scss";
5
+ import styles from "./slider.module.css";
6
6
  /**
7
7
  * `SliderDotButton` — navigation par puces, alternative compacte à
8
8
  * `ThumbsSlider` quand aucune vignette n'est nécessaire. Fait partie de
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /** @category Carousel */ import React from "react";
3
3
  import classNames from "classnames";
4
4
  import { useCarouselContext } from "./slider.context.js";
5
- import styles from "./slider.module.scss";
5
+ import styles from "./slider.module.css";
6
6
  /**
7
7
  * `Slider` — un slide individuel. `thumbnailSrc` n'est PAS consommé ici :
8
8
  * il est lu par `Carousel` via introspection de ses enfants pour peupler