@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,231 @@
1
+ # form-field
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { FormFieldComponent, InputDirective, PresentationDisplayDirective } from '@lucca-front/ng/form-field';
7
+ ```
8
+
9
+ ## API Reference
10
+
11
+ ### FormFieldComponent (component)
12
+
13
+ **Selector:** `lu-form-field`
14
+
15
+ #### Inputs
16
+
17
+ | Property | Binding name | Type | Default | Required | Transform | Description |
18
+ |----------|-------------|------|---------|----------|-----------|-------------|
19
+ | `intl` | `intl` | `unknown` | — | — | — | — |
20
+ | `label` | `label` | `PortalContent` | — | ✅ | — | Modifie le label de l’input. [PortalContent] |
21
+ | `hiddenLabel` | `hiddenLabel` | `boolean` | `false` | — | `luBooleanAttribute` | Masque le label en le conservant dans le DOM pour les lecteurs d’écran |
22
+ | `inline` | `inline` | `boolean` | `false` | — | `luBooleanAttribute` | — |
23
+ | `statusControl` | `statusControl` | `AbstractControl \| null` | `null` | — | — | — |
24
+ | `tooltip` | `tooltip` | `string \| SafeHtml \| null` | `null` | — | — | Affiche une icône (?) associée à une info-bulle. |
25
+ | `tag` | `tag` | `string \| null` | `null` | — | — | — |
26
+ | `AI` | `AI` | `boolean` | `false` | — | `luBooleanAttribute` | — |
27
+ | `iconAItooltip` | `iconAItooltip` | `string \| null` | `null` | — | — | — |
28
+ | `iconAIalt` | `iconAIalt` | `string \| null` | `null` | — | — | — |
29
+ | `width` | `width` | `unknown` | `null` | — | `luNullableNumberAttribute` | — |
30
+ | `invalid` | `invalid` | `unknown` | `null` | — | `luNullableBooleanAttribute` | Applique l’état invalide au champ. |
31
+ | `inlineMessage` | `inlineMessage` | `PortalContent \| null` | `null` | — | — | Ajoute un texte indicatif sous le champ de formulaire. [PortalContent] |
32
+ | `errorInlineMessage` | `errorInlineMessage` | `PortalContent \| null` | `null` | — | — | Ajoute un texte d’erreur sous le champ de formulaire lorsque celui-ci est en erreur. [PortalContent] |
33
+ | `inlineMessageState` | `inlineMessageState` | `InlineMessageState \| null` | `null` | — | — | Modifie l’état de l’inline message. |
34
+ | `size` | `size` | `FormFieldSize \| null` | `null` | — | — | — |
35
+ | `extraDescribedBy` | `extraDescribedBy` | `string` | `''` | — | — | — |
36
+ | `counter` | `counter` | `number` | `0` | — | `luNumberAttribute` | — |
37
+ | `presentation` | `presentation` | `boolean` | `false` | — | `luBooleanAttribute` | — |
38
+
39
+ #### Models (two-way binding)
40
+
41
+ | Property | Type | Required | Notes |
42
+ |----------|------|----------|-------|
43
+ | `rolePresentationLabel` | `unknown` | — | — |
44
+ | `layout` | `FormFieldLayout` | — | — |
45
+
46
+ ### InputDirective (directive)
47
+
48
+ **Selector:** `[luInput]`
49
+
50
+ #### Inputs
51
+
52
+ | Property | Binding name | Type | Default | Required | Transform | Description |
53
+ |----------|-------------|------|---------|----------|-----------|-------------|
54
+ | `standalone` | `luInputStandalone` | `boolean` | `false` | — | `luBooleanAttribute` | — |
55
+
56
+ ### PresentationDisplayDirective (directive)
57
+
58
+ **Selector:** `[luPresentationDisplay]`
59
+
60
+ ### Injection tokens
61
+
62
+ | Token | Type | Description |
63
+ |-------|------|-------------|
64
+ | `FORM_FIELD_INSTANCE` | `FormFieldComponent` | — |
65
+ | `LU_FORM_FIELD_TRANSLATIONS` | `unknown` | — |
66
+ | `INPUT_FRAMED_INSTANCE` | `InputFramedComponent` | — |
67
+
68
+ ## Related files
69
+
70
+ - 📝 [Code & implementation](./form-field.component.md)
71
+
72
+ - 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/form-field/form-field.figma.md)
73
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-fields-form-field--docs)
74
+
75
+ ## Changelog
76
+
77
+ > 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.
78
+
79
+ ### 22.0.0
80
+
81
+ `FormFieldComponent` :
82
+ ~ `hiddenLabel` : transform booleanAttribute → luBooleanAttribute
83
+ ~ `inline` : transform booleanAttribute → luBooleanAttribute
84
+ ~ `AI` : transform booleanAttribute → luBooleanAttribute
85
+ ~ `width` : FormFieldWidth, FormFieldWidth | `${FormFieldWidth}` | null → unknown, transform numberAttribute → luNullableNumberAttribute
86
+ ~ `invalid` : boolean | null, boolean → unknown, transform booleanAttribute → luNullableBooleanAttribute
87
+ ~ `counter` : transform ∅ → luNumberAttribute
88
+ ~ `presentation` : transform booleanAttribute → luBooleanAttribute
89
+ `InputDirective` :
90
+ ~ `luInputStandalone` : transform booleanAttribute → luBooleanAttribute
91
+
92
+ ### Notes de release (ZeroHeight)
93
+
94
+ #### 21.3.0
95
+
96
+ ##### Added
97
+
98
+ - `signal forms` support: required-state detection now accounts for Angular signal-form fields (`@angular/forms/signals`) declared inside the field.
99
+
100
+ #### 21.1.4
101
+
102
+ ##### Fixed
103
+
104
+ - `aria-labelledby`: resolve NG0950 error caused by incorrect label id filtering.
105
+
106
+ #### 21.1.0
107
+
108
+ ##### Added
109
+
110
+ - `presentation`: display fields in a read-only presentation mode through the `presentation` input, the `lu-data-presentation` component, and the `luPresentationDisplay` / `luPresentationDisplayDefault` directives.
111
+ - `intl`: allow overriding the component translations through the `intl` input.
112
+ - `data-presentation`: show an em dash placeholder when the presentation value is empty.
113
+
114
+ #### 21.0.4
115
+
116
+ ##### Fixed
117
+
118
+ - `counter`: correctly detect content input changes for the character counter.
119
+
120
+ #### 21.0.0
121
+
122
+ ##### Added
123
+
124
+ - `size`: new `size` input (`'L'`) on `lu-input-framed`; the former styling is now applied via `mod-L`.
125
+
126
+ ##### Changed
127
+
128
+ - `lu-input-framed`: renamed from `lu-framed-input` (`InputFramedComponent`, formerly `FramedInputComponent`).
129
+
130
+ #### 20.3.0
131
+
132
+ ##### Added
133
+
134
+ - `center`: new `center` input to horizontally center the content of `lu-input-framed`.
135
+
136
+ #### 20.1.0
137
+
138
+ ##### Added
139
+
140
+ - `lu-framed-input`: new framed input component (`FramedInputComponent`) with a `framedPortal` input.
141
+
142
+ ##### Changed
143
+
144
+ - No longer force the inline layout automatically when an arrow is displayed.
145
+
146
+ #### 19.3.4
147
+
148
+ ##### Fixed
149
+
150
+ - Prevent a null reference exception during control detection.
151
+
152
+ #### 19.2.6
153
+
154
+ ##### Added
155
+
156
+ - `extraDescribedBy`: new input to append extra ids to the input's `aria-describedby` attribute.
157
+
158
+ #### 19.2.2
159
+
160
+ ##### Fixed
161
+
162
+ - Improve detection of the required and invalid states.
163
+
164
+ #### 19.2.1
165
+
166
+ ##### Changed
167
+
168
+ - `width`: the `width` input now also accepts string values.
169
+
170
+ ##### Fixed
171
+
172
+ - Correct the handling of the invalid-state override.
173
+
174
+ #### 19.2.0
175
+
176
+ ##### Added
177
+
178
+ - `width`: new `width` input (`20 | 30 | 40 | 50 | 60`) to constrain the field width.
179
+
180
+ #### 19.1.3
181
+
182
+ ##### Fixed
183
+
184
+ - Filter out entries with no control during control detection.
185
+
186
+ #### 19.1.1
187
+
188
+ ##### Fixed
189
+
190
+ - Support asynchronously loaded controls during control detection.
191
+
192
+ #### 18.3.2
193
+
194
+ ##### Fixed
195
+
196
+ - Correct the change detection of the label id.
197
+
198
+ #### 18.3.1
199
+
200
+ ##### Fixed
201
+
202
+ - Only apply the box arrow style when a box is actually present.
203
+
204
+ #### 18.3.0
205
+
206
+ ##### Added
207
+
208
+ - `inline`: new `inline` input to render the field with an inline layout.
209
+
210
+ #### 18.2.0
211
+
212
+ ##### Fixed
213
+
214
+ - `aria-labelledby`: prevent the label id from being appended repeatedly.
215
+
216
+ #### 18.1.4
217
+
218
+ ##### Fixed
219
+
220
+ - `invalid`: correctly handle the invalid-state override input.
221
+ - Avoid emitting a `mod-undefined` class.
222
+
223
+ #### 18.1.0
224
+
225
+ ##### Added
226
+
227
+ - `rolePresentationLabel`: new input to set the label's role to presentation.
228
+
229
+ ##### Fixed
230
+
231
+ - Add a focus-visible outline for the tooltip info icons in labels.
@@ -0,0 +1,29 @@
1
+ # form-header
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { FormHeaderComponent } from '@lucca-front/ng/form-header';
7
+ ```
8
+
9
+ ## API Reference
10
+
11
+ ### FormHeaderComponent (component)
12
+
13
+ **Selector:** `lu-form-header`
14
+
15
+ #### Inputs
16
+
17
+ | Property | Binding name | Type | Default | Required | Transform | Description |
18
+ |----------|-------------|------|---------|----------|-----------|-------------|
19
+ | `headingLevel` | `headingLevel` | `number` | `1` | — | `luNumberAttribute` | — |
20
+
21
+ ## Related files
22
+
23
+ ## Changelog
24
+
25
+ > 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.
26
+
27
+ ### 22.0.0
28
+
29
+ ~ `headingLevel` : 1 | 2 | 3 | 4 | 5 | 6 → number, transform ∅ → luNumberAttribute
@@ -0,0 +1,106 @@
1
+ # form-label — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-form-label-angular-basic--docs)
4
+
5
+ ## Angular
6
+
7
+ Mots-clés : label, legend, intitulé
8
+
9
+ Component selector : `luFormLabel`
10
+
11
+ ### Label basic
12
+
13
+ ```js
14
+ import { LOCALE_ID } from '@angular/core';
15
+ import { FORM_LABEL_SIZE, FormLabelComponent } from '@lucca-front/ng/form-label';
16
+ ```
17
+
18
+ ```html
19
+ <label luFormLabel for="inputID">Label</label>
20
+ ```
21
+
22
+ ## HTML/CSS
23
+
24
+ Classe CSS : `.formLabel`
25
+
26
+ ### Label basic
27
+
28
+ ```css
29
+ @forward '@lucca-front/scss/src/components/formLabel';
30
+ @forward '@lucca-front/scss/src/components/tag';
31
+ ```
32
+
33
+ ```html
34
+ <label class="formLabel">
35
+ Label
36
+ <sup class="formLabel-required" aria-hidden="true">*</sup>
37
+ <span class="formLabel-info">
38
+ <span aria-hidden="true" class="lucca-icon icon-signHelp"></span>
39
+ <span class="pr-u-mask">?</span>
40
+ </span>
41
+ <span class="formLabel-tag tag">Tag</span>
42
+ </label>
43
+ ```
44
+
45
+ ### Label counter
46
+
47
+ ```css
48
+ @forward '@lucca-front/scss/src/components/formLabel';
49
+ ```
50
+
51
+ ```html
52
+ <label class="formLabel mod-counter" id="IDlabel" for="ID">
53
+ Label
54
+ <sup class="formLabel-required" aria-hidden="true">*</sup>
55
+ <span class="formLabel-info">
56
+ <span aria-hidden="true" class="lucca-icon icon-signHelp"></span>
57
+ <span class="pr-u-mask">?</span>
58
+ </span>
59
+ <span class="formLabel-counter" id="IDcounter" aria-live="polite">
60
+ <span aria-hidden="true">7/77</span>
61
+ <span class="pr-u-mask">7 sur 77 caractères autorisés.</span>
62
+ </span>
63
+ </label>
64
+ ```
65
+
66
+ ### Label error
67
+
68
+ ```css
69
+ @forward '@lucca-front/scss/src/components/formLabel';
70
+ ```
71
+
72
+ ```html
73
+ <label class="formLabel is-error">
74
+ Label
75
+ <sup class="formLabel-required" aria-hidden="true">*</sup>
76
+ <span class="formLabel-info">
77
+ <span aria-hidden="true" class="lucca-icon icon-signHelp"></span>
78
+ <span class="pr-u-mask">?</span>
79
+ </span>
80
+ </label>
81
+ ```
82
+
83
+ ### Label size
84
+
85
+ ```css
86
+ @forward '@lucca-front/scss/src/components/formLabel';
87
+ ```
88
+
89
+ ```html
90
+ <label class="formLabel mod-S">
91
+ Label
92
+ <sup class="formLabel-required" aria-hidden="true">*</sup>
93
+ <span class="formLabel-info">
94
+ <span aria-hidden="true" class="lucca-icon icon-signHelp"></span>
95
+ <span class="pr-u-mask">?</span>
96
+ </span>
97
+ </label>
98
+ <label class="formLabel mod-XS">
99
+ Label
100
+ <sup class="formLabel-required" aria-hidden="true">*</sup>
101
+ <span class="formLabel-info">
102
+ <span aria-hidden="true" class="lucca-icon icon-signHelp"></span>
103
+ <span class="pr-u-mask">?</span>
104
+ </span>
105
+ </label>
106
+ ```
@@ -0,0 +1,98 @@
1
+ # form-label
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { FormLabelComponent } from '@lucca-front/ng/form-label';
7
+ ```
8
+
9
+ ## Basic Usage
10
+
11
+ ```html
12
+ <label luFormLabel for="inputID">Label</label>
13
+ ```
14
+
15
+ ## API Reference
16
+
17
+ ### FormLabelComponent (component)
18
+
19
+ **Selectors:** `label[luFormLabel]`, `legend[luFormLabel]`
20
+
21
+ #### Inputs
22
+
23
+ | Property | Binding name | Type | Default | Required | Transform | Description |
24
+ |----------|-------------|------|---------|----------|-----------|-------------|
25
+ | `intl` | `intl` | `unknown` | — | — | — | — |
26
+ | `required` | `required` | `boolean` | `false` | — | `luBooleanAttribute` | Marque le champ comme obligatoire. |
27
+ | `error` | `error` | `boolean` | `false` | — | `luBooleanAttribute` | Applique l’état d’erreur au label. |
28
+ | `tooltip` | `tooltip` | `string \| SafeHtml \| null` | `null` | — | — | Affiche une icône (?) associée à une info-bulle. |
29
+ | `tag` | `tag` | `string \| null` | `null` | — | — | Ajoute un tag associé au label. |
30
+ | `size` | `size` | `FormLabelSize \| null` | `null` | — | — | Modifie la taille du composant. |
31
+ | `counterStatus` | `counterStatus` | `number` | `0` | — | `luNumberAttribute` | Nombre de caractères actuellement saisis. |
32
+ | `counterMax` | `counterMax` | `number` | `0` | — | `luNumberAttribute` | Définit la valeur maximale du compteur de caractères. |
33
+ | `counterId` | `counterId` | `string \| null` | `null` | — | — | — |
34
+
35
+ ## Related files
36
+
37
+ - 📝 [Code & implementation](./form-label.component.md)
38
+
39
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-form-label-angular-basic--docs)
40
+
41
+ ## Changelog
42
+
43
+ > 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.
44
+
45
+ ### 22.0.0
46
+
47
+ ~ `required` : transform booleanAttribute → luBooleanAttribute
48
+ ~ `error` : transform booleanAttribute → luBooleanAttribute
49
+ ~ `counterStatus` : transform numberAttribute → luNumberAttribute
50
+ ~ `counterMax` : transform numberAttribute → luNumberAttribute
51
+
52
+ ### Notes de release (ZeroHeight)
53
+
54
+ #### 21.3.1
55
+
56
+ ##### Added
57
+
58
+ - `pl` translations for the Polish locale.
59
+
60
+ #### 21.3.0
61
+
62
+ ##### Added
63
+
64
+ - `FormLabelSize` type and `FORM_LABEL_SIZE` constant listing the available sizes (`XS`, `S`), exported from the public API.
65
+
66
+ ##### Changed
67
+
68
+ - The counter accessible label now resolves plural forms through `Intl.PluralRules`, adding support for locales with more than two plural forms (e.g. Polish).
69
+
70
+ #### 21.2.0
71
+
72
+ ##### Added
73
+
74
+ - `label[luFormLabel], legend[luFormLabel]` Angular component (`FormLabelComponent`) exposing the `required`, `error`, `tooltip`, `tag`, `size`, `counterStatus`, `counterMax` and `counterId` inputs.
75
+
76
+ #### 20.1.0
77
+
78
+ ##### Added
79
+
80
+ - `tag` styling to render a product `lu-tag` inside the label.
81
+
82
+ #### 19.1.6
83
+
84
+ ##### Fixed
85
+
86
+ - Vertical alignment of the info tooltip icon.
87
+
88
+ #### 18.2.3
89
+
90
+ ##### Fixed
91
+
92
+ - Layout of long labels: the character counter is now positioned independently so it no longer breaks the label alignment.
93
+
94
+ #### 18.1.0
95
+
96
+ ##### Fixed
97
+
98
+ - `focus-visible` outline on the info tooltip icon for keyboard navigation.
@@ -0,0 +1,55 @@
1
+ # gauge — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-loaders-gauge-angular-basic--docs)
4
+
5
+ ## Angular
6
+
7
+ Mots-clés : jauge, score
8
+
9
+ Component selector : `lu-gauge`
10
+
11
+ ### Basic
12
+
13
+ ```js
14
+ import { GaugeComponent } from '@lucca-front/ng/gauge';
15
+ import { PALETTE } from '@lucca/prisme/core';
16
+ ```
17
+
18
+ ```html
19
+ <lu-gauge size="40" value="33" />
20
+ ```
21
+
22
+ ## HTML/CSS
23
+
24
+ Classe CSS : `.gauge`
25
+
26
+ Pour un chargement de données, préférez l'utilisation de [progression](https://zeroheight.com/94310e217/p/916abd-progression).
27
+
28
+ ### Circular
29
+
30
+ ```css
31
+ @forward '@lucca-front/scss/src/components/gauge';
32
+ ```
33
+
34
+ ```html
35
+ <svg
36
+ class="gauge"
37
+ width="40"
38
+ height="40"
39
+ viewBox="0 0 40 40"
40
+ [attr.style]="'--components-gauge-value: 33; --components-gauge-circleR: 16px'"
41
+ >
42
+ <circle class="gauge-circleBackground" cx="20" cy="20" r="16"></circle>
43
+ <circle class="gauge-circleBar" cx="20" cy="20" r="16"></circle>
44
+ </svg>
45
+ ```
46
+
47
+ ### Horizontal
48
+
49
+ ```css
50
+ @forward '@lucca-front/scss/src/components/gauge';
51
+ ```
52
+
53
+ ```html
54
+ <div class="gauge" [attr.style]="'--components-gauge-value: 33%'"></div>
55
+ ```
@@ -0,0 +1,73 @@
1
+ # gauge
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { GaugeComponent } from '@lucca-front/ng/gauge';
7
+ ```
8
+
9
+ ## Basic Usage
10
+
11
+ ```html
12
+ <lu-gauge size="40" value="33" />
13
+ ```
14
+
15
+ ## API Reference
16
+
17
+ ### GaugeComponent (component)
18
+
19
+ **Selector:** `lu-gauge`
20
+
21
+ #### Inputs
22
+
23
+ | Property | Binding name | Type | Default | Required | Transform | Description |
24
+ |----------|-------------|------|---------|----------|-----------|-------------|
25
+ | `value` | `value` | `number` | `0` | — | `luNumberAttribute` | Valeur en pourcentage. |
26
+ | `thin` | `thin` | `boolean` | `false` | — | `luBooleanAttribute` | Diminue l’épaisseur de la jauge. |
27
+ | `circular` | `circular` | `boolean` | `false` | — | `luBooleanAttribute` | Affiche la jauge sous une forme circulaire. |
28
+ | `animated` | `animated` | `boolean` | `false` | — | `luBooleanAttribute` | Ajoute une animation au chargement ou lorsque la valeur est modifiée. |
29
+ | `noAlt` | `noAlt` | `boolean` | `false` | — | `luBooleanAttribute` | Empêche la restitution par le lecteur d’écran. À n’utiliser que si l’information est déjà présente. |
30
+ | `palette` | `palette` | `Palette` | `'none'` | — | — | Applique une palette de couleurs à la jauge. |
31
+ | `alt` | `alt` | `string` | `''` | — | — | Information restituée par le lecteur d’écran. |
32
+ | `size` | `size` | `number` | `40` | — | `luNumberAttribute` | Taille du composant pour sa forme circulaire. |
33
+
34
+ ## Related files
35
+
36
+ - 📝 [Code & implementation](./gauge.component.md)
37
+
38
+ - 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/gauge/gauge.figma.md)
39
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-loaders-gauge-angular-basic--docs)
40
+
41
+ ## Changelog
42
+
43
+ > 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.
44
+
45
+ ### 22.0.0
46
+
47
+ ~ `value` : transform numberAttribute → luNumberAttribute
48
+ ~ `thin` : transform booleanAttribute → luBooleanAttribute
49
+ ~ `circular` : transform booleanAttribute → luBooleanAttribute
50
+ ~ `animated` : transform booleanAttribute → luBooleanAttribute
51
+ ~ `noAlt` : transform booleanAttribute → luBooleanAttribute
52
+ ~ `size` : transform numberAttribute → luNumberAttribute
53
+
54
+ ### Notes de release (ZeroHeight)
55
+
56
+ #### 20.3.1
57
+
58
+ ##### Fixed
59
+
60
+ - SCSS import of the component.
61
+
62
+ #### 20.3.0
63
+
64
+ ##### Added
65
+
66
+ - `lu-gauge` component (`gauge`) with the `value`, `size`, `palette`, `thin`, `animated`, `circular`, `alt` and `noAlt` inputs.
67
+ - `mod-circular` CSS variant to display the gauge as a circle.
68
+
69
+ #### 18.2.3
70
+
71
+ ##### Fixed
72
+
73
+ - `border-radius` of the gauge bar.
@@ -0,0 +1,15 @@
1
+ # grid — Code & Implementation
2
+
3
+ ## Angular
4
+
5
+ Mots-clés : grille, colonnes, layout
6
+
7
+ Component selector : `lu-grid`
8
+
9
+ Un exemple de formulaire complet utilisant `mode="form"` est présent sur la page Form layout.
10
+
11
+ ## HTML/CSS
12
+
13
+ Classe CSS : `.grid`
14
+
15
+ Un exemple de formulaire complet utilisant `mode="form"` est présent sur la page Form layout.