@lucca-front/ng 22.0.5 → 22.0.6-rc.1

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 (264) hide show
  1. package/README.md +6 -0
  2. package/fesm2022/lucca-front-ng-approbation-inbox.mjs +5 -4
  3. package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
  4. package/fesm2022/lucca-front-ng-dialog.mjs +22 -15
  5. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  6. package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
  7. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  8. package/fesm2022/lucca-front-ng-scroll.mjs +2 -3
  9. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  10. package/llms/SKILL.md +248 -0
  11. package/llms/references/components/activity-feed/activity-feed.component.md +292 -0
  12. package/llms/references/components/activity-feed/activity-feed.md +90 -0
  13. package/llms/references/components/animations/animations.component.md +11 -0
  14. package/llms/references/components/animations/animations.md +7 -0
  15. package/llms/references/components/api-select/api-select.md +40 -0
  16. package/llms/references/components/app-layout/app-layout.component.md +65 -0
  17. package/llms/references/components/app-layout/app-layout.md +81 -0
  18. package/llms/references/components/approbation-inbox/approbation-inbox.component.md +960 -0
  19. package/llms/references/components/approbation-inbox/approbation-inbox.md +135 -0
  20. package/llms/references/components/avatar/avatar.component.md +563 -0
  21. package/llms/references/components/avatar/avatar.md +93 -0
  22. package/llms/references/components/box/box.component.md +119 -0
  23. package/llms/references/components/box/box.md +88 -0
  24. package/llms/references/components/breadcrumbs/breadcrumbs.component.md +59 -0
  25. package/llms/references/components/breadcrumbs/breadcrumbs.md +87 -0
  26. package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
  27. package/llms/references/components/bubble-icon/bubble-icon.md +72 -0
  28. package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
  29. package/llms/references/components/bubble-illustration/bubble-illustration.md +77 -0
  30. package/llms/references/components/button/button.component.md +252 -0
  31. package/llms/references/components/button/button.md +124 -0
  32. package/llms/references/components/calendar/calendar.component.md +708 -0
  33. package/llms/references/components/calendar/calendar.md +104 -0
  34. package/llms/references/components/calendar2/calendar2.md +64 -0
  35. package/llms/references/components/callout/callout.component.md +237 -0
  36. package/llms/references/components/callout/callout.md +243 -0
  37. package/llms/references/components/callout-disclosure/callout-disclosure.component.md +230 -0
  38. package/llms/references/components/callout-disclosure/callout-disclosure.md +196 -0
  39. package/llms/references/components/callout-popover/callout-popover.component.md +170 -0
  40. package/llms/references/components/callout-popover/callout-popover.md +201 -0
  41. package/llms/references/components/card/card.component.md +62 -0
  42. package/llms/references/components/card/card.md +8 -0
  43. package/llms/references/components/checkbox/checkbox.component.md +50 -0
  44. package/llms/references/components/checkbox/checkbox.md +74 -0
  45. package/llms/references/components/chip/chip.component.md +131 -0
  46. package/llms/references/components/chip/chip.md +95 -0
  47. package/llms/references/components/clear/clear.component.md +38 -0
  48. package/llms/references/components/clear/clear.md +79 -0
  49. package/llms/references/components/code/code.component.md +33 -0
  50. package/llms/references/components/code/code.md +47 -0
  51. package/llms/references/components/color/color.md +32 -0
  52. package/llms/references/components/color-input/color-input.md +33 -0
  53. package/llms/references/components/color-picker/color-picker.component.md +29 -0
  54. package/llms/references/components/color-picker/color-picker.md +25 -0
  55. package/llms/references/components/comment/comment.component.md +436 -0
  56. package/llms/references/components/comment/comment.md +125 -0
  57. package/llms/references/components/container/container.component.md +41 -0
  58. package/llms/references/components/container/container.md +74 -0
  59. package/llms/references/components/core-select-department/core-select-department.md +37 -0
  60. package/llms/references/components/core-select-establishment/core-select-establishment.md +40 -0
  61. package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
  62. package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
  63. package/llms/references/components/core-select-user/core-select-user.md +75 -0
  64. package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
  65. package/llms/references/components/data-presentation/data-presentation.md +49 -0
  66. package/llms/references/components/data-table/data-table.component.md +1603 -0
  67. package/llms/references/components/data-table/data-table.md +290 -0
  68. package/llms/references/components/date/date.component.md +31 -0
  69. package/llms/references/components/date/date.md +140 -0
  70. package/llms/references/components/dateinput/dateinput.component.md +99 -0
  71. package/llms/references/components/dateinput/dateinput.md +198 -0
  72. package/llms/references/components/daterangeinput/daterangeinput.component.md +49 -0
  73. package/llms/references/components/daterangeinput/daterangeinput.md +186 -0
  74. package/llms/references/components/departmentselect/departmentselect.component.md +43 -0
  75. package/llms/references/components/departmentselect/departmentselect.md +43 -0
  76. package/llms/references/components/dialog/dialog.component.md +462 -0
  77. package/llms/references/components/dialog/dialog.md +335 -0
  78. package/llms/references/components/divider/divider.component.md +35 -0
  79. package/llms/references/components/divider/divider.md +88 -0
  80. package/llms/references/components/dropdown/dropdown.component.md +272 -0
  81. package/llms/references/components/dropdown/dropdown.md +172 -0
  82. package/llms/references/components/duration-picker/duration-picker.md +155 -0
  83. package/llms/references/components/empty-state/empty-state.component.md +226 -0
  84. package/llms/references/components/empty-state/empty-state.md +62 -0
  85. package/llms/references/components/errorpage/errorpage.component.md +57 -0
  86. package/llms/references/components/errorpage/errorpage.md +75 -0
  87. package/llms/references/components/establishmentselect/establishmentselect.component.md +30 -0
  88. package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
  89. package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
  90. package/llms/references/components/fancy-dialog/fancy-dialog.md +107 -0
  91. package/llms/references/components/fancybox/fancybox.component.md +48 -0
  92. package/llms/references/components/fancybox/fancybox.md +75 -0
  93. package/llms/references/components/fieldset/fieldset.component.md +86 -0
  94. package/llms/references/components/fieldset/fieldset.md +119 -0
  95. package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
  96. package/llms/references/components/filedropzone/filedropzone.md +61 -0
  97. package/llms/references/components/fileentry/fileentry.component.md +58 -0
  98. package/llms/references/components/fileentry/fileentry.md +246 -0
  99. package/llms/references/components/fileupload/fileupload.component.md +91 -0
  100. package/llms/references/components/fileupload/fileupload.md +246 -0
  101. package/llms/references/components/filterbar/filterbar.component.md +302 -0
  102. package/llms/references/components/filterbar/filterbar.md +134 -0
  103. package/llms/references/components/filterpills/filterpills.component.md +60 -0
  104. package/llms/references/components/filterpills/filterpills.md +180 -0
  105. package/llms/references/components/footer/footer.component.md +66 -0
  106. package/llms/references/components/footer/footer.md +115 -0
  107. package/llms/references/components/form/form.md +37 -0
  108. package/llms/references/components/form-field/form-field.component.md +46 -0
  109. package/llms/references/components/form-field/form-field.md +231 -0
  110. package/llms/references/components/form-header/form-header.md +29 -0
  111. package/llms/references/components/form-label/form-label.component.md +106 -0
  112. package/llms/references/components/form-label/form-label.md +98 -0
  113. package/llms/references/components/gauge/gauge.component.md +55 -0
  114. package/llms/references/components/gauge/gauge.md +73 -0
  115. package/llms/references/components/grid/grid.component.md +15 -0
  116. package/llms/references/components/grid/grid.md +112 -0
  117. package/llms/references/components/highlight-data/highlight-data.component.md +279 -0
  118. package/llms/references/components/highlight-data/highlight-data.md +115 -0
  119. package/llms/references/components/highlight-section/highlight-section.component.md +185 -0
  120. package/llms/references/components/highlight-section/highlight-section.md +48 -0
  121. package/llms/references/components/highlight-text/highlight-text.component.md +49 -0
  122. package/llms/references/components/highlight-text/highlight-text.md +29 -0
  123. package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +232 -0
  124. package/llms/references/components/horizontalnavigation/horizontalnavigation.md +95 -0
  125. package/llms/references/components/icons/icons.component.md +59 -0
  126. package/llms/references/components/icons/icons.md +185 -0
  127. package/llms/references/components/impersonation/impersonation.component.md +52 -0
  128. package/llms/references/components/impersonation/impersonation.md +52 -0
  129. package/llms/references/components/index-table/index-table.component.md +2528 -0
  130. package/llms/references/components/index-table/index-table.md +243 -0
  131. package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
  132. package/llms/references/components/inlinemessage/inlinemessage.md +57 -0
  133. package/llms/references/components/input-framed/input-framed.component.md +714 -0
  134. package/llms/references/components/input-framed/input-framed.md +50 -0
  135. package/llms/references/components/link/link.component.md +153 -0
  136. package/llms/references/components/link/link.md +124 -0
  137. package/llms/references/components/listbox/listbox.component.md +11 -0
  138. package/llms/references/components/listbox/listbox.md +101 -0
  139. package/llms/references/components/listing/listing.component.md +366 -0
  140. package/llms/references/components/listing/listing.md +105 -0
  141. package/llms/references/components/loading/loading.component.md +37 -0
  142. package/llms/references/components/loading/loading.md +91 -0
  143. package/llms/references/components/main-layout/main-layout.component.md +146 -0
  144. package/llms/references/components/main-layout/main-layout.md +78 -0
  145. package/llms/references/components/mobile-push/mobile-push.component.md +62 -0
  146. package/llms/references/components/mobile-push/mobile-push.md +70 -0
  147. package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
  148. package/llms/references/components/mobileheader/mobileheader.md +8 -0
  149. package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
  150. package/llms/references/components/mobilenavigation/mobilenavigation.md +8 -0
  151. package/llms/references/components/modal/modal.component.md +37 -0
  152. package/llms/references/components/modal/modal.md +61 -0
  153. package/llms/references/components/multi-select/multi-select.component.md +39 -0
  154. package/llms/references/components/multi-select/multi-select.md +426 -0
  155. package/llms/references/components/multilanguagefield/multilanguagefield.component.md +84 -0
  156. package/llms/references/components/multilanguagefield/multilanguagefield.md +362 -0
  157. package/llms/references/components/newbadge/newbadge.component.md +23 -0
  158. package/llms/references/components/newbadge/newbadge.md +38 -0
  159. package/llms/references/components/number-format-input/number-format-input.md +46 -0
  160. package/llms/references/components/number-input/number-input.md +49 -0
  161. package/llms/references/components/numbers/numbers.component.md +46 -0
  162. package/llms/references/components/numbers/numbers.md +7 -0
  163. package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
  164. package/llms/references/components/numericbadge/numericbadge.md +84 -0
  165. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
  166. package/llms/references/components/pageheader/pageheader.component.md +389 -0
  167. package/llms/references/components/pageheader/pageheader.md +144 -0
  168. package/llms/references/components/pagination/pagination.component.md +96 -0
  169. package/llms/references/components/pagination/pagination.md +107 -0
  170. package/llms/references/components/phonenumberfield/phonenumberfield.component.md +35 -0
  171. package/llms/references/components/phonenumberfield/phonenumberfield.md +131 -0
  172. package/llms/references/components/plg-push/plg-push.component.md +91 -0
  173. package/llms/references/components/plg-push/plg-push.md +82 -0
  174. package/llms/references/components/popover/popover.component.md +130 -0
  175. package/llms/references/components/popover/popover.md +235 -0
  176. package/llms/references/components/popover2/popover2.component.md +103 -0
  177. package/llms/references/components/popover2/popover2.md +89 -0
  178. package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
  179. package/llms/references/components/progress-bar/progress-bar.md +51 -0
  180. package/llms/references/components/progress-stepper/progress-stepper.component.md +281 -0
  181. package/llms/references/components/progress-stepper/progress-stepper.md +70 -0
  182. package/llms/references/components/radiofield/radiofield.component.md +295 -0
  183. package/llms/references/components/radiofield/radiofield.md +122 -0
  184. package/llms/references/components/readmore/readmore.component.md +60 -0
  185. package/llms/references/components/readmore/readmore.md +88 -0
  186. package/llms/references/components/resource-card/resource-card.component.md +216 -0
  187. package/llms/references/components/resource-card/resource-card.md +106 -0
  188. package/llms/references/components/richtextinput/richtextinput.component.md +298 -0
  189. package/llms/references/components/richtextinput/richtextinput.md +275 -0
  190. package/llms/references/components/scroll/scroll.md +45 -0
  191. package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
  192. package/llms/references/components/scrollbox/scrollbox.md +49 -0
  193. package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
  194. package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
  195. package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +50 -0
  196. package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +198 -0
  197. package/llms/references/components/segmentedcontrol/segmentedcontrol.md +108 -0
  198. package/llms/references/components/select/select.component.md +237 -0
  199. package/llms/references/components/select/select.md +57 -0
  200. package/llms/references/components/select-templating/select-templating.md +117 -0
  201. package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
  202. package/llms/references/components/sidepanel/sidepanel.md +7 -0
  203. package/llms/references/components/simple-select/simple-select.component.md +39 -0
  204. package/llms/references/components/simple-select/simple-select.md +291 -0
  205. package/llms/references/components/skeleton/skeleton.component.md +133 -0
  206. package/llms/references/components/skeleton/skeleton.md +212 -0
  207. package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
  208. package/llms/references/components/skiplinks/skiplinks.md +73 -0
  209. package/llms/references/components/software-icon/software-icon.component.md +61 -0
  210. package/llms/references/components/software-icon/software-icon.md +107 -0
  211. package/llms/references/components/sortable-list/sortable-list.component.md +141 -0
  212. package/llms/references/components/sortable-list/sortable-list.md +84 -0
  213. package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
  214. package/llms/references/components/statusbadge/statusbadge.md +63 -0
  215. package/llms/references/components/switchfield/switchfield.component.md +114 -0
  216. package/llms/references/components/switchfield/switchfield.md +56 -0
  217. package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
  218. package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
  219. package/llms/references/components/tags/tags.component.md +112 -0
  220. package/llms/references/components/tags/tags.md +115 -0
  221. package/llms/references/components/text-flow/text-flow.component.md +71 -0
  222. package/llms/references/components/text-flow/text-flow.md +63 -0
  223. package/llms/references/components/textareafield/textareafield.component.md +69 -0
  224. package/llms/references/components/textareafield/textareafield.md +113 -0
  225. package/llms/references/components/textfield/textfield.component.md +617 -0
  226. package/llms/references/components/textfield/textfield.md +161 -0
  227. package/llms/references/components/tile/tile.component.md +91 -0
  228. package/llms/references/components/tile/tile.md +92 -0
  229. package/llms/references/components/time/time.component.md +270 -0
  230. package/llms/references/components/time/time.md +127 -0
  231. package/llms/references/components/time-picker/time-picker.md +63 -0
  232. package/llms/references/components/timelines/timelines.component.md +159 -0
  233. package/llms/references/components/timelines/timelines.md +8 -0
  234. package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
  235. package/llms/references/components/title-and-text/title-and-text.md +60 -0
  236. package/llms/references/components/toasts/toasts.component.md +54 -0
  237. package/llms/references/components/toasts/toasts.md +112 -0
  238. package/llms/references/components/tooltip/tooltip.component.md +86 -0
  239. package/llms/references/components/tooltip/tooltip.md +217 -0
  240. package/llms/references/components/treeselect/treeselect.component.md +62 -0
  241. package/llms/references/components/treeselect/treeselect.md +58 -0
  242. package/llms/references/components/user-select/user-select.md +52 -0
  243. package/llms/references/components/userpopover/userpopover.component.md +50 -0
  244. package/llms/references/components/userpopover/userpopover.md +136 -0
  245. package/llms/references/components/verticalnavigation/verticalnavigation.component.md +236 -0
  246. package/llms/references/components/verticalnavigation/verticalnavigation.md +115 -0
  247. package/llms/references/migrations.md +32 -0
  248. package/llms/references/tools/angular-api.md +337 -0
  249. package/llms/references/tools/animations.md +173 -0
  250. package/llms/references/tools/mixins.md +106 -0
  251. package/llms/references/tools/numbers.md +81 -0
  252. package/llms/references/tools/scrollbox.md +59 -0
  253. package/llms/references/tools/utilitaires.md +951 -0
  254. package/llms/references/types/BubbleIllustration.md +5 -0
  255. package/llms/references/types/DecorativePalette.md +5 -0
  256. package/llms/references/types/Gap.md +5 -0
  257. package/llms/references/types/HighlightDataIllustration.md +5 -0
  258. package/llms/references/types/HighlightSectionIllustration.md +5 -0
  259. package/llms/references/types/LuccaIcon.md +5 -0
  260. package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
  261. package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
  262. package/llms.txt +221 -0
  263. package/package.json +12 -6
  264. package/types/lucca-front-ng-approbation-inbox.d.ts +3 -3
@@ -0,0 +1,112 @@
1
+ # grid
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { GridColumnComponent, GridComponent } from '@lucca-front/ng/grid';
7
+ ```
8
+
9
+ ## API Reference
10
+
11
+ ### GridColumnComponent (component)
12
+
13
+ **Selectors:** `lu-grid-column`, `[lu-grid-column]`
14
+
15
+ #### Inputs
16
+
17
+ | Property | Binding name | Type | Default | Required | Transform | Description |
18
+ |----------|-------------|------|---------|----------|-----------|-------------|
19
+ | `colspan` | `colspan` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
20
+ | `rowspan` | `rowspan` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
21
+ | `column` | `column` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
22
+ | `row` | `row` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
23
+ | `align` | `align` | `GridColumnAlignment \| null` | `null` | — | — | — |
24
+ | `justify` | `justify` | `GridColumnAlignment \| null` | `null` | — | — | — |
25
+ | `responsive` | `responsive` | `ResponsiveConfig<GridColumnResponsive, number>` | — | — | — | — |
26
+
27
+ ### GridComponent (component)
28
+
29
+ **Selectors:** `lu-grid`, `[lu-grid]`
30
+
31
+ #### Inputs
32
+
33
+ | Property | Binding name | Type | Default | Required | Transform | Description |
34
+ |----------|-------------|------|---------|----------|-----------|-------------|
35
+ | `container` | `container` | `boolean` | `false` | — | `luBooleanAttribute` | — |
36
+ | `columns` | `columns` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
37
+ | `colspan` | `colspan` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
38
+ | `rowspan` | `rowspan` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
39
+ | `mode` | `mode` | `GridMode \| null` | `null` | — | — | — |
40
+ | `gap` | `gap` | `Gap \| null` | `null` | — | — | — |
41
+ | `columnGap` | `columnGap` | `Gap \| null` | `null` | — | — | — |
42
+ | `rowGap` | `rowGap` | `Gap \| null` | `null` | — | — | — |
43
+
44
+ ## Type definitions
45
+
46
+ - [`Gap`](../../types/Gap.md) — 13 available values
47
+
48
+ ## Related files
49
+
50
+ - 📝 [Code & implementation](./grid.component.md)
51
+
52
+ ## Changelog
53
+
54
+ > Diff structurel de l'API (selectors, inputs, outputs, models) entre versions stables, depuis `v21.4.2` jusqu'à `v22.0.0`. Les versions sans changement d'API sont omises.
55
+
56
+ ### 22.0.0
57
+
58
+ `GridColumnComponent` :
59
+ ~ `colspan` : transform numberAttribute → luNullableNumberAttribute
60
+ ~ `rowspan` : transform numberAttribute → luNullableNumberAttribute
61
+ ~ `column` : transform numberAttribute → luNullableNumberAttribute
62
+ ~ `row` : transform numberAttribute → luNullableNumberAttribute
63
+ `GridComponent` :
64
+ ~ `container` : transform booleanAttribute → luBooleanAttribute
65
+ ~ `columns` : transform numberAttribute → luNullableNumberAttribute
66
+ ~ `colspan` : transform numberAttribute → luNullableNumberAttribute
67
+ ~ `rowspan` : transform numberAttribute → luNullableNumberAttribute
68
+
69
+ ### Notes de release (ZeroHeight)
70
+
71
+ #### 21.3.0
72
+
73
+ ##### Added
74
+
75
+ - `GRID_GAP`, `GRID_MODE`, `GRID_COLUMN_ALIGNMENT` and `GRID_COLUMN_RESPONSIVE` constants, together with the `Gap`, `GridMode`, `GridColumnAlignment` and `GridColumnResponsive` types, are now publicly exported and used to type the grid inputs.
76
+
77
+ #### 21.0.0
78
+
79
+ ##### Added
80
+
81
+ - `colspan` and `rowspan` inputs on `lu-grid-column`.
82
+
83
+ #### 20.3.2
84
+
85
+ ##### Changed
86
+
87
+ - `lu-grid` and `lu-grid-column` can now be used as attribute selectors (`[lu-grid]`, `[lu-grid-column]`) to keep a semantic host element.
88
+
89
+ #### 20.3.1
90
+
91
+ ##### Fixed
92
+
93
+ - `responsive` input parsing for responsive column definitions.
94
+
95
+ #### 20.3.0
96
+
97
+ ##### Added
98
+
99
+ - `lu-grid` component (`grid`) with the `columns`, `mode`, `gap`, `columnGap`, `rowGap`, `container`, `align` and `justify` inputs, and the `LU_GRID_INSTANCE` injection token.
100
+ - `lu-grid-column` component with the `column`, `row` and `responsive` inputs.
101
+
102
+ #### 18.3.0
103
+
104
+ ##### Changed
105
+
106
+ - Reverted the grid width management introduced earlier and fixed the grid `max-inline-size`.
107
+
108
+ #### 18.1.1
109
+
110
+ ##### Changed
111
+
112
+ - Default grid gap set to the `150` spacing token.
@@ -0,0 +1,279 @@
1
+ # highlight-data — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-structure-highlight-data-angular-basic--docs)
4
+
5
+ ## Angular
6
+
7
+ Component selector : `lu-highlight-data`
8
+
9
+ ### Basic
10
+
11
+ ```js
12
+ import { provideRouter } from '@angular/router';
13
+ import { ButtonComponent } from '@lucca-front/ng/button';
14
+ import { HIGHLIGHT_DATA_BUBBLE, HIGHLIGHT_DATA_ILLUSTRATION, HIGHLIGHT_DATA_PALETTE, HIGHLIGHT_DATA_SIZE, HIGHLIGHT_DATA_THEME, HighlightDataComponent } from '@lucca-front/ng/highlight-data';
15
+ import { LinkComponent } from '@lucca-front/ng/link';
16
+ ```
17
+
18
+ ```html
19
+ <lu-highlight-data heading="Title" value="Content" bubble="1" illustration="piggy-bank"></lu-highlight-data>
20
+ ```
21
+
22
+ ## HTML/CSS
23
+
24
+ Classe CSS : `.highlightData`
25
+
26
+ ### Action illustration
27
+
28
+ ```css
29
+ @forward '@lucca-front/scss/src/components/highlightData';
30
+ @forward '@lucca-front/scss/src/components/button';
31
+ ```
32
+
33
+ ```html
34
+ <div class="highlightData">
35
+ <dl class="highlightData-content">
36
+ <dt class="highlightData-content-title">Title</dt>
37
+ <dd class="highlightData-content-value">Content</dd>
38
+ <dd class="highlightData-content-action"><button type="button" class="button mod-outlined">Action</button></dd>
39
+ </dl>
40
+ <div class="highlightData-illustrations">
41
+ <img
42
+ alt=""
43
+ class="highlightData-illustrations-back"
44
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
45
+ />
46
+ <img
47
+ alt=""
48
+ class="highlightData-illustrations-front"
49
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/polaroid-male.svg"
50
+ />
51
+ </div>
52
+ </div>
53
+ ```
54
+
55
+ ### Action
56
+
57
+ ```css
58
+ @forward '@lucca-front/scss/src/components/highlightData';
59
+ @forward '@lucca-front/scss/src/components/button';
60
+ ```
61
+
62
+ ```html
63
+ <div class="highlightData">
64
+ <dl class="highlightData-content">
65
+ <dt class="highlightData-content-title">Title</dt>
66
+ <dd class="highlightData-content-value">Content</dd>
67
+ <dd class="highlightData-content-action"><button type="button" class="button mod-outlined">Action</button></dd>
68
+ </dl>
69
+ </div>
70
+ ```
71
+
72
+ ### Basic
73
+
74
+ ```css
75
+ @forward '@lucca-front/scss/src/components/highlightData';
76
+ ```
77
+
78
+ ```html
79
+ <div class="highlightData">
80
+ <dl class="highlightData-content">
81
+ <dt class="highlightData-content-title">Title</dt>
82
+ <dd class="highlightData-content-value">Content</dd>
83
+ </dl>
84
+ <div class="highlightData-illustrations">
85
+ <img
86
+ alt=""
87
+ class="highlightData-illustrations-back"
88
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
89
+ />
90
+ <img
91
+ alt=""
92
+ class="highlightData-illustrations-front"
93
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/piggy-bank.svg"
94
+ />
95
+ </div>
96
+ </div>
97
+ ```
98
+
99
+ ### Infos
100
+
101
+ ```css
102
+ @forward '@lucca-front/scss/src/components/highlightData';
103
+ ```
104
+
105
+ ```html
106
+ <div class="highlightData mod-valueFirst">
107
+ <dl class="highlightData-content">
108
+ <dt class="highlightData-content-title">Title</dt>
109
+ <dd class="highlightData-content-value">Content</dd>
110
+ </dl>
111
+ <div class="highlightData-illustrations">
112
+ <img
113
+ alt=""
114
+ class="highlightData-illustrations-back"
115
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
116
+ />
117
+ <img
118
+ alt=""
119
+ class="highlightData-illustrations-front"
120
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/piggy-bank.svg"
121
+ />
122
+ </div>
123
+ </div>
124
+ ```
125
+
126
+ ### Nested
127
+
128
+ ```css
129
+ @forward '@lucca-front/scss/src/components/highlightData';
130
+ ```
131
+
132
+ ```html
133
+ <div class="highlightData mod-nested">
134
+ <dl class="highlightData-content">
135
+ <dt class="highlightData-content-title">Title</dt>
136
+ <dd class="highlightData-content-value">Content</dd>
137
+ </dl>
138
+ <div class="highlightData-illustrations">
139
+ <img
140
+ alt=""
141
+ class="highlightData-illustrations-back"
142
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
143
+ />
144
+ <img
145
+ alt=""
146
+ class="highlightData-illustrations-front"
147
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/piggy-bank.svg"
148
+ />
149
+ </div>
150
+ </div>
151
+ ```
152
+
153
+ ### No illustration
154
+
155
+ ```css
156
+ @forward '@lucca-front/scss/src/components/highlightData';
157
+ ```
158
+
159
+ ```html
160
+ <div class="highlightData">
161
+ <dl class="highlightData-content">
162
+ <dt class="highlightData-content-title">Title</dt>
163
+ <dd class="highlightData-content-value">Content</dd>
164
+ </dl>
165
+ </div>
166
+ ```
167
+
168
+ ### Bubble
169
+
170
+ ```css
171
+ @forward '@lucca-front/scss/src/components/highlightData';
172
+ ```
173
+
174
+ ```html
175
+ <div class="highlightData">
176
+ <dl class="highlightData-content">
177
+ <dt class="highlightData-content-title">Title</dt>
178
+ <dd class="highlightData-content-value">Content</dd>
179
+ </dl>
180
+ <div class="highlightData-illustrations">
181
+ <img
182
+ alt=""
183
+ class="highlightData-illustrations-back"
184
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
185
+ />
186
+ </div>
187
+ </div>
188
+ ```
189
+
190
+ ### Sizes
191
+
192
+ ```css
193
+ @forward '@lucca-front/scss/src/components/highlightData';
194
+ ```
195
+
196
+ ```html
197
+ <div class="highlightData mod-S">
198
+ <dl class="highlightData-content">
199
+ <dt class="highlightData-content-title">Title</dt>
200
+ <dd class="highlightData-content-value">Content</dd>
201
+ </dl>
202
+ <div class="highlightData-illustrations">
203
+ <img
204
+ alt=""
205
+ class="highlightData-illustrations-back"
206
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
207
+ />
208
+ <img
209
+ alt=""
210
+ class="highlightData-illustrations-front"
211
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/piggy-bank.svg"
212
+ />
213
+ </div>
214
+ </div>
215
+ <div class="highlightData mod-XS">
216
+ <dl class="highlightData-content">
217
+ <dt class="highlightData-content-title">Title</dt>
218
+ <dd class="highlightData-content-value">Content</dd>
219
+ </dl>
220
+ <div class="highlightData-illustrations">
221
+ <img
222
+ alt=""
223
+ class="highlightData-illustrations-back"
224
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
225
+ />
226
+ <img
227
+ alt=""
228
+ class="highlightData-illustrations-front"
229
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/piggy-bank.svg"
230
+ />
231
+ </div>
232
+ </div>
233
+ ```
234
+
235
+ ### Themes
236
+
237
+ ```css
238
+ @forward '@lucca-front/scss/src/components/highlightData';
239
+ ```
240
+
241
+ ```html
242
+ <div class="highlightData mod-light">
243
+ <dl class="highlightData-content">
244
+ <dt class="highlightData-content-title">Title</dt>
245
+ <dd class="highlightData-content-value">Content</dd>
246
+ </dl>
247
+ <div class="highlightData-illustrations">
248
+ <img
249
+ alt=""
250
+ class="highlightData-illustrations-back"
251
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-light-1.svg"
252
+ />
253
+ <img
254
+ alt=""
255
+ class="highlightData-illustrations-front"
256
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/piggy-bank.svg"
257
+ />
258
+ </div>
259
+ </div>
260
+
261
+ <div class="highlightData mod-dark">
262
+ <dl class="highlightData-content">
263
+ <dt class="highlightData-content-title">Title</dt>
264
+ <dd class="highlightData-content-value">Content</dd>
265
+ </dl>
266
+ <div class="highlightData-illustrations">
267
+ <img
268
+ alt=""
269
+ class="highlightData-illustrations-back"
270
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/lucca/bubbles-dark-1.svg"
271
+ />
272
+ <img
273
+ alt=""
274
+ class="highlightData-illustrations-front"
275
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-data/generic/piggy-bank.svg"
276
+ />
277
+ </div>
278
+ </div>
279
+ ```
@@ -0,0 +1,115 @@
1
+ # highlight-data
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { HighlightDataComponent } from '@lucca-front/ng/highlight-data';
7
+ ```
8
+
9
+ ## Basic Usage
10
+
11
+ ```html
12
+ <lu-highlight-data heading="Title" value="Content" bubble="1" illustration="piggy-bank"></lu-highlight-data>
13
+ ```
14
+
15
+ ## API Reference
16
+
17
+ ### HighlightDataComponent (component)
18
+
19
+ **Selector:** `lu-highlight-data`
20
+
21
+ #### Inputs
22
+
23
+ | Property | Binding name | Type | Default | Required | Transform | Description |
24
+ |----------|-------------|------|---------|----------|-----------|-------------|
25
+ | `heading` | `heading` | `PortalContent` | — | ✅ | — | Titre du composant. [PortalContent] |
26
+ | `value` | `value` | `PortalContent` | — | ✅ | — | Valeur affichée. [PortalContent] |
27
+ | `subText` | `subText` | `PortalContent` | — | — | — | Texte secondaire. [PortalContent] |
28
+ | `bubble` | `bubble` | `HighlightDataBubble \| number` | `undefined` | — | `luOptionalNumberAttribute` | — |
29
+ | `theme` | `theme` | `'white' \| 'light' \| 'dark'` | `'white'` | — | — | — |
30
+ | `palette` | `palette` | `HighlightDataPalette \| string` | `'lucca'` | — | — | La palette influençant également la couleur du SVG des bubbles et donc l’URL associée, il est nécessaire de renseigner l… |
31
+ | `illustration` | `illustration` | `HighlightDataIllustration \| string` | — | — | — | Il est également possible de renseigner une URL. |
32
+ | `size` | `size` | `HighlightDataSize \| null` | `null` | — | — | — |
33
+ | `valueFirst` | `valueFirst` | `boolean` | `false` | — | `luBooleanAttribute` | — |
34
+ | `nested` | `nested` | `boolean` | `false` | — | `luBooleanAttribute` | — |
35
+
36
+ ## Type definitions
37
+
38
+ - [`HighlightDataIllustration`](../../types/HighlightDataIllustration.md) — 14 available values
39
+
40
+ ## Related files
41
+
42
+ - 📝 [Code & implementation](./highlight-data.component.md)
43
+ - 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/highlight-data/highlight-data.design.md)
44
+ - 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/highlight-data/highlight-data.figma.md)
45
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-structure-highlight-data-angular-basic--docs)
46
+
47
+ ## Changelog
48
+
49
+ > Diff structurel de l'API (selectors, inputs, outputs, models) entre versions stables, depuis `v21.4.2` jusqu'à `v22.0.0`. Les versions sans changement d'API sont omises.
50
+
51
+ ### 22.0.0
52
+
53
+ ~ `bubble` : défaut ∅ → undefined, transform ∅ → luOptionalNumberAttribute
54
+ ~ `valueFirst` : transform booleanAttribute → luBooleanAttribute
55
+ ~ `nested` : transform booleanAttribute → luBooleanAttribute
56
+
57
+ ### Notes de release (ZeroHeight)
58
+
59
+ #### 21.3.1
60
+
61
+ ##### Added
62
+
63
+ - `post-it-success` and `post-it-warning` values for the `illustration` input.
64
+
65
+ #### 21.3.0
66
+
67
+ ##### Added
68
+
69
+ - `HIGHLIGHT_DATA_THEME`, `HIGHLIGHT_DATA_PALETTE`, `HIGHLIGHT_DATA_SIZE`, `HIGHLIGHT_DATA_BUBBLE` and `HIGHLIGHT_DATA_ILLUSTRATION` constants, together with their matching types, are now publicly exported and used to type the component inputs.
70
+
71
+ #### 21.1.3
72
+
73
+ ##### Fixed
74
+
75
+ - Typos in some `illustration` values.
76
+
77
+ #### 21.0.4
78
+
79
+ ##### Fixed
80
+
81
+ - Default color of the component.
82
+
83
+ #### 21.0.3
84
+
85
+ ##### Fixed
86
+
87
+ - `subText` position when no `illustration` is provided.
88
+
89
+ #### 20.3.2
90
+
91
+ ##### Fixed
92
+
93
+ - Spacing between the actions.
94
+
95
+ #### 20.2.0
96
+
97
+ ##### Added
98
+
99
+ - `nested` input to display the highlight inside another surface.
100
+
101
+ #### 19.3.3
102
+
103
+ ##### Added
104
+
105
+ - `heading`, `value` and `subText` inputs now also accept a `PortalContent`.
106
+
107
+ ##### Fixed
108
+
109
+ - Rendering without `illustration` and with `valueFirst` enabled.
110
+
111
+ #### 19.3.0
112
+
113
+ ##### Added
114
+
115
+ - `lu-highlight-data` component (`highlightData`) with the `heading`, `value`, `subText`, `illustration`, `bubble`, `palette`, `size`, `theme` and `valueFirst` inputs.
@@ -0,0 +1,185 @@
1
+ # highlight-section — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-structure-highlight-section-angular-basic--docs)
4
+
5
+ ## Angular
6
+
7
+ ### Basic
8
+
9
+ ```js
10
+ import { HIGHLIGHT_SECTION_BUBBLE, HIGHLIGHT_SECTION_ILLUSTRATION, HIGHLIGHT_SECTION_PALETTE, HIGHLIGHT_SECTION_THEME, HighlightSectionComponent } from '@lucca-front/ng/highlight-section';
11
+ ```
12
+
13
+ ```html
14
+ <lu-highlight-section theme="light">Content</lu-highlight-section>
15
+ ```
16
+
17
+ ## HTML/CSS
18
+
19
+ ### Basic
20
+
21
+ ```css
22
+ @forward '@lucca-front/scss/src/components/highlightSection';
23
+ ```
24
+
25
+ ```html
26
+ <div class="highlightSection mod-light">
27
+ <div
28
+ class="highlightSection-bubbleStart"
29
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
30
+ ></div>
31
+ <div
32
+ class="highlightSection-bubbleEnd"
33
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
34
+ ></div>
35
+ <div class="highlightSection-content">
36
+ <div class="highlightSection-content-slot">
37
+ <p class="pr-u-fontWeightSemiBold">Créez des politiques de frais pour ces unités légales</p>
38
+ <p class="pr-u-bodyS">Allemagne : Lucca Deutschland — Suisse : Lucca Switzerland — Royaume-Uni : Lucca UK.</p>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ ```
43
+
44
+ ### Illustration
45
+
46
+ ```css
47
+ @forward '@lucca-front/scss/src/components/highlightSection';
48
+ @forward '@lucca-front/scss/src/components/link';
49
+ ```
50
+
51
+ ```html
52
+ <div class="highlightSection mod-light">
53
+ <div
54
+ class="highlightSection-bubbleStart"
55
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
56
+ ></div>
57
+ <div class="highlightSection-content">
58
+ <div class="highlightSection-content-slot">
59
+ <p class="pr-u-fontWeightSemiBold">Baromètre express</p>
60
+ <p class="pr-u-bodyS">
61
+ 8 questions – Identifiez rapidement les grandes tendances et les priorités d’action de votre organisation avec
62
+ ce modèle.
63
+ </p>
64
+ <p><a class="link" href="#">Utiliser le modèle</a></p>
65
+ </div>
66
+ <img
67
+ alt=""
68
+ class="highlightSection-content-illustration"
69
+ src="https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/pola.svg"
70
+ />
71
+ </div>
72
+ </div>
73
+ ```
74
+
75
+ ### Ornaments
76
+
77
+ ```css
78
+ @forward '@lucca-front/scss/src/components/highlightSection';
79
+ ```
80
+
81
+ ```html
82
+ <div class="highlightSection mod-light">
83
+ <div
84
+ class="highlightSection-bubbleStart"
85
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
86
+ ></div>
87
+ <div
88
+ class="highlightSection-bubbleEnd"
89
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
90
+ ></div>
91
+ <div class="highlightSection-content">
92
+ <div class="highlightSection-content-slot">
93
+ <p class="pr-u-fontWeightSemiBold">Both</p>
94
+ </div>
95
+ </div>
96
+ </div>
97
+
98
+ <div class="highlightSection mod-light">
99
+ <div
100
+ class="highlightSection-bubbleStart"
101
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
102
+ ></div>
103
+ <div class="highlightSection-content">
104
+ <div class="highlightSection-content-slot">
105
+ <p class="pr-u-fontWeightSemiBold">Start</p>
106
+ </div>
107
+ </div>
108
+ </div>
109
+
110
+ <div class="highlightSection mod-light">
111
+ <div
112
+ class="highlightSection-bubbleEnd"
113
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
114
+ ></div>
115
+ <div class="highlightSection-content">
116
+ <div class="highlightSection-content-slot">
117
+ <p class="pr-u-fontWeightSemiBold">End</p>
118
+ </div>
119
+ </div>
120
+ </div>
121
+
122
+ <div class="highlightSection mod-light">
123
+ <div class="highlightSection-content">
124
+ <div class="highlightSection-content-slot">
125
+ <p class="pr-u-fontWeightSemiBold">None</p>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ ```
130
+
131
+ ### Themes
132
+
133
+ ```css
134
+ @forward '@lucca-front/scss/src/components/highlightSection';
135
+ ```
136
+
137
+ ```html
138
+ <div class="highlightSection">
139
+ <div
140
+ class="highlightSection-bubbleStart"
141
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
142
+ ></div>
143
+ <div
144
+ class="highlightSection-bubbleEnd"
145
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
146
+ ></div>
147
+ <div class="highlightSection-content">
148
+ <div class="highlightSection-content-slot">
149
+ <p class="pr-u-fontWeightSemiBold">White</p>
150
+ </div>
151
+ </div>
152
+ </div>
153
+
154
+ <div class="highlightSection mod-light">
155
+ <div
156
+ class="highlightSection-bubbleStart"
157
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
158
+ ></div>
159
+ <div
160
+ class="highlightSection-bubbleEnd"
161
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
162
+ ></div>
163
+ <div class="highlightSection-content">
164
+ <div class="highlightSection-content-slot">
165
+ <p class="pr-u-fontWeightSemiBold">Light</p>
166
+ </div>
167
+ </div>
168
+ </div>
169
+
170
+ <div class="highlightSection mod-dark">
171
+ <div
172
+ class="highlightSection-bubbleStart"
173
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
174
+ ></div>
175
+ <div
176
+ class="highlightSection-bubbleEnd"
177
+ [innerHtml]="'https://cdn.lucca.fr/transverse/prisme/visuals/highlight-section/bubbles-1.svg' | luSafeExternalSvg"
178
+ ></div>
179
+ <div class="highlightSection-content">
180
+ <div class="highlightSection-content-slot">
181
+ <p class="pr-u-fontWeightSemiBold">Dark</p>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ ```