@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,134 @@
1
+ # filterbar
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { FilterPillComponent, FilterBarComponent, FilterViewSelectorComponent, FilterPillAddonBeforeDirective, FilterPillAddonAfterDirective, FilterPillDisplayerDirective, FilterPillLabelDirective } from '@lucca-front/ng/filter-pills';
7
+ ```
8
+
9
+ ## API Reference
10
+
11
+ ### FilterPillComponent (component)
12
+
13
+ **Selector:** `lu-filter-pill`
14
+
15
+ #### Inputs
16
+
17
+ | Property | Binding name | Type | Default | Required | Transform | Description |
18
+ |----------|-------------|------|---------|----------|-----------|-------------|
19
+ | `intl` | `intl` | `unknown` | — | — | — | — |
20
+ | `name` | `name` | `string` | — | — | — | — |
21
+ | `optional` | `optional` | `boolean` | `false` | — | `luBooleanAttribute` | — |
22
+ | `label` | `label` | `string` | — | ✅ | — | — |
23
+ | `placeholderOverride` | `placeholder` | `string \| null` | `null` | — | — | — |
24
+ | `icon` | `icon` | `LuccaIcon` | — | — | — | — |
25
+
26
+ #### Models (two-way binding)
27
+
28
+ | Property | Type | Required | Notes |
29
+ |----------|------|----------|-------|
30
+ | `displayed` | `unknown` | — | — |
31
+
32
+ ### FilterBarComponent (component)
33
+
34
+ **Selector:** `lu-filter-bar`
35
+
36
+ #### Inputs
37
+
38
+ | Property | Binding name | Type | Default | Required | Transform | Description |
39
+ |----------|-------------|------|---------|----------|-----------|-------------|
40
+ | `intl` | `intl` | `unknown` | — | — | — | — |
41
+
42
+ ### FilterViewSelectorComponent (component)
43
+
44
+ **Selector:** `lu-filter-view-selector`
45
+
46
+ #### Inputs
47
+
48
+ | Property | Binding name | Type | Default | Required | Transform | Description |
49
+ |----------|-------------|------|---------|----------|-----------|-------------|
50
+ | `intl` | `intl` | `unknown` | — | — | — | — |
51
+ | `views` | `views` | `T[]` | — | ✅ | — | — |
52
+ | `viewLabel` | `viewLabel` | `(view: T) => string` | `(view) => (view as { name: string }).name` | — | — | — |
53
+ | `optionComparer` | `optionComparer` | `(a: T, b: T) => boolean` | `filterViewDefaultOptionComparer` | — | — | — |
54
+ | `optionKey` | `optionKey` | `(view: T) => unknown` | `filterViewDefaultOptionKey` | — | — | — |
55
+
56
+ #### Outputs
57
+
58
+ | Property | Binding name | Type | Notes |
59
+ |----------|-------------|------|-------|
60
+ | `renameView` | `renameView` | `T` | — |
61
+ | `deleteView` | `deleteView` | `T` | — |
62
+
63
+ #### Models (two-way binding)
64
+
65
+ | Property | Type | Required | Notes |
66
+ |----------|------|----------|-------|
67
+ | `selectedView` | `T \| null` | — | — |
68
+
69
+ ### FilterPillAddonBeforeDirective (directive)
70
+
71
+ **Selector:** `[luFilterPillAddonBefore]`
72
+
73
+ ### FilterPillAddonAfterDirective (directive)
74
+
75
+ **Selector:** `[luFilterPillAddonAfter]`
76
+
77
+ ### FilterPillDisplayerDirective (directive)
78
+
79
+ **Selector:** `[luFilterPillDisplayer]`
80
+
81
+ ### FilterPillLabelDirective (directive)
82
+
83
+ **Selector:** `[luFilterPillLabel]`
84
+
85
+ ### Injection tokens
86
+
87
+ | Token | Type | Description |
88
+ |-------|------|-------------|
89
+ | `LU_FILTER_BAR_INSTANCE` | `FilterBarComponent` | — |
90
+ | `FILTER_PILL_INPUT_COMPONENT` | `FilterPillInputComponent` | — |
91
+ | `FILTER_PILL_HOST_COMPONENT` | `FilterPillComponent` | — |
92
+
93
+ ## Type definitions
94
+
95
+ - [`LuccaIcon`](../../types/LuccaIcon.md) — 585 available values
96
+
97
+ ## Related files
98
+
99
+ - 📝 [Code & implementation](./filterbar.component.md)
100
+ - 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/filterbar/filterbar.design.md)
101
+ - 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/filterbar/filterbar.figma.md)
102
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-filterspills-filterbar-angular--docs)
103
+
104
+ ## Changelog
105
+
106
+ > 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.
107
+
108
+ ### 22.0.0
109
+
110
+ + component `FilterViewSelectorComponent` (lu-filter-view-selector)
111
+ `FilterPillComponent` :
112
+ ~ `optional` : transform booleanAttribute → luBooleanAttribute
113
+ + token `LU_FILTER_BAR_INSTANCE` : FilterBarComponent
114
+
115
+ ### Notes de release (ZeroHeight)
116
+
117
+ #### 21.1.0
118
+
119
+ ##### Changed
120
+
121
+ - `intl` input now accepts partial overrides that are merged with the default translations.
122
+
123
+ #### 20.1.0
124
+
125
+ ##### Changed
126
+
127
+ - The bar relies on `lu-scroll-box` to scroll its pills, with the matching shadows.
128
+
129
+ #### 19.2.0
130
+
131
+ ##### Added
132
+
133
+ - `lu-filter-bar` component (`filterBar`) with the `intl` input, laying out a collection of `lu-filter-pill`.
134
+ - `[luFilterPillAddonBefore]` and `[luFilterPillAddonAfter]` directives to project content before and after the pills.
@@ -0,0 +1,60 @@
1
+ # filterpills — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-filterspills-filterpills-angular--docs)
4
+
5
+ ## Angular
6
+
7
+ 🧩 Les Filter Pills sont conçus pour être utilisés au sein d'une Filter Bar. Cette dernière couvre notamment les besoins d'ajout de filtre et de recherche.
8
+
9
+ Component selector : `lu-filter-pill`
10
+
11
+ ### Pills
12
+
13
+ ```js
14
+ import { provideHttpClient } from '@angular/common/http';
15
+ import { LOCALE_ID } from '@angular/core';
16
+ import { FormsModule } from '@angular/forms';
17
+ import { provideAnimations } from '@angular/platform-browser/animations';
18
+ import { LuCoreSelectTotalCountDirective } from '@lucca-front/ng/core-select';
19
+ import { LuCoreSelectDepartmentsDirective } from '@lucca-front/ng/core-select/department';
20
+ import { DateInputComponent, DateRangeInputComponent } from '@lucca-front/ng/date2';
21
+ import { FilterPillComponent } from '@lucca-front/ng/filter-pills';
22
+ import { FormFieldComponent } from '@lucca-front/ng/form-field';
23
+ import { CheckboxInputComponent, TextInputComponent } from '@lucca-front/ng/forms';
24
+ import { LuMultiSelectInputComponent, LuMultiSelectWithSelectAllDirective } from '@lucca-front/ng/multi-select';
25
+ import { LuSimpleSelectInputComponent } from '@lucca-front/ng/simple-select';
26
+ import { TreeSelectDirective } from '@lucca-front/ng/tree-select';
27
+ ```
28
+
29
+ ```html
30
+ <lu-filter-pill label="Inclure les collaborateurs partis">
31
+ <lu-checkbox-input [ngModel]="false"></lu-checkbox-input>
32
+ </lu-filter-pill>
33
+ <lu-filter-pill label="Légume (multi)" name="legume">
34
+ <lu-multi-select
35
+ [ngModel]="[]"
36
+ [options]="legumes | filterLegumes: clue"
37
+ [totalCount]="legumes.length"
38
+ (clueChange)="clue = $event"
39
+ filterPillLabelPlural="légumes"
40
+ />
41
+ </lu-filter-pill>
42
+ <lu-filter-pill label="Legume (simple)" name="department">
43
+ <lu-simple-select [ngModel]="null" [options]="legumes | filterLegumes: clue" />
44
+ </lu-filter-pill>
45
+ <lu-filter-pill label="Départements" name="departments">
46
+ <lu-multi-select [ngModel]="[]" filterPillLabelPlural="départements" departments />
47
+ </lu-filter-pill>
48
+ <lu-filter-pill label="Tree (simple)">
49
+ <lu-simple-select [ngModel]="null" [treeSelect]="groupingFn" [options]="legumes" />
50
+ </lu-filter-pill>
51
+ <lu-filter-pill label="Tree (multi)">
52
+ <lu-multi-select [ngModel]="[]" filterPillLabelPlural="légumes" [treeSelect]="groupingFn" [options]="legumes" />
53
+ </lu-filter-pill>
54
+ <lu-filter-pill label="Date de début">
55
+ <lu-date-input [ngModel]="null" />
56
+ </lu-filter-pill>
57
+ <lu-filter-pill label="Période">
58
+ <lu-date-range-input [ngModel]="null" [(ngModel)]="dateRange" />
59
+ </lu-filter-pill>
60
+ ```
@@ -0,0 +1,180 @@
1
+ # filterpills
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { FilterPillComponent, FilterBarComponent, FilterViewSelectorComponent, FilterPillAddonBeforeDirective, FilterPillAddonAfterDirective, FilterPillDisplayerDirective, FilterPillLabelDirective } from '@lucca-front/ng/filter-pills';
7
+ ```
8
+
9
+ ## API Reference
10
+
11
+ ### FilterPillComponent (component)
12
+
13
+ **Selector:** `lu-filter-pill`
14
+
15
+ #### Inputs
16
+
17
+ | Property | Binding name | Type | Default | Required | Transform | Description |
18
+ |----------|-------------|------|---------|----------|-----------|-------------|
19
+ | `intl` | `intl` | `unknown` | — | — | — | — |
20
+ | `name` | `name` | `string` | — | — | — | Dans le cas d’un filtre optionnel, permet de faire le lien entre la liste de filtres disponible et l’affichage du filtre… |
21
+ | `optional` | `optional` | `boolean` | `false` | — | `luBooleanAttribute` | — |
22
+ | `label` | `label` | `string` | — | ✅ | — | Modifie le label du filtre. |
23
+ | `placeholderOverride` | `placeholder` | `string \| null` | `null` | — | — | — |
24
+ | `icon` | `icon` | `LuccaIcon` | — | — | — | — |
25
+
26
+ #### Models (two-way binding)
27
+
28
+ | Property | Type | Required | Notes |
29
+ |----------|------|----------|-------|
30
+ | `displayed` | `unknown` | — | — |
31
+
32
+ ### FilterBarComponent (component)
33
+
34
+ **Selector:** `lu-filter-bar`
35
+
36
+ #### Inputs
37
+
38
+ | Property | Binding name | Type | Default | Required | Transform | Description |
39
+ |----------|-------------|------|---------|----------|-----------|-------------|
40
+ | `intl` | `intl` | `unknown` | — | — | — | — |
41
+
42
+ ### FilterViewSelectorComponent (component)
43
+
44
+ **Selector:** `lu-filter-view-selector`
45
+
46
+ #### Inputs
47
+
48
+ | Property | Binding name | Type | Default | Required | Transform | Description |
49
+ |----------|-------------|------|---------|----------|-----------|-------------|
50
+ | `intl` | `intl` | `unknown` | — | — | — | — |
51
+ | `views` | `views` | `T[]` | — | ✅ | — | — |
52
+ | `viewLabel` | `viewLabel` | `(view: T) => string` | `(view) => (view as { name: string }).name` | — | — | — |
53
+ | `optionComparer` | `optionComparer` | `(a: T, b: T) => boolean` | `filterViewDefaultOptionComparer` | — | — | — |
54
+ | `optionKey` | `optionKey` | `(view: T) => unknown` | `filterViewDefaultOptionKey` | — | — | — |
55
+
56
+ #### Outputs
57
+
58
+ | Property | Binding name | Type | Notes |
59
+ |----------|-------------|------|-------|
60
+ | `renameView` | `renameView` | `T` | — |
61
+ | `deleteView` | `deleteView` | `T` | — |
62
+
63
+ #### Models (two-way binding)
64
+
65
+ | Property | Type | Required | Notes |
66
+ |----------|------|----------|-------|
67
+ | `selectedView` | `T \| null` | — | — |
68
+
69
+ ### FilterPillAddonBeforeDirective (directive)
70
+
71
+ **Selector:** `[luFilterPillAddonBefore]`
72
+
73
+ ### FilterPillAddonAfterDirective (directive)
74
+
75
+ **Selector:** `[luFilterPillAddonAfter]`
76
+
77
+ ### FilterPillDisplayerDirective (directive)
78
+
79
+ **Selector:** `[luFilterPillDisplayer]`
80
+
81
+ ### FilterPillLabelDirective (directive)
82
+
83
+ **Selector:** `[luFilterPillLabel]`
84
+
85
+ ### Injection tokens
86
+
87
+ | Token | Type | Description |
88
+ |-------|------|-------------|
89
+ | `LU_FILTER_BAR_INSTANCE` | `FilterBarComponent` | — |
90
+ | `FILTER_PILL_INPUT_COMPONENT` | `FilterPillInputComponent` | — |
91
+ | `FILTER_PILL_HOST_COMPONENT` | `FilterPillComponent` | — |
92
+
93
+ ## Type definitions
94
+
95
+ - [`LuccaIcon`](../../types/LuccaIcon.md) — 585 available values
96
+
97
+ ## Related files
98
+
99
+ - 📝 [Code & implementation](./filterpills.component.md)
100
+ - 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/filterpills/filterpills.design.md)
101
+ - 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/filterpills/filterpills.figma.md)
102
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-filterspills-filterpills-angular--docs)
103
+
104
+ ## Changelog
105
+
106
+ > 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.
107
+
108
+ ### 22.0.0
109
+
110
+ + component `FilterViewSelectorComponent` (lu-filter-view-selector)
111
+ `FilterPillComponent` :
112
+ ~ `optional` : transform booleanAttribute → luBooleanAttribute
113
+ + token `LU_FILTER_BAR_INSTANCE` : FilterBarComponent
114
+
115
+ ### Notes de release (ZeroHeight)
116
+
117
+ #### 21.3.0
118
+
119
+ ##### Fixed
120
+
121
+ - Accessibility of the pill: labelling and keyboard handling of the trigger.
122
+
123
+ #### 21.1.0
124
+
125
+ ##### Added
126
+
127
+ - `placeholder` input to replace the default placeholder of the pill.
128
+
129
+ ##### Changed
130
+
131
+ - `intl` input now accepts partial overrides that are merged with the default translations.
132
+
133
+ #### 20.3.0
134
+
135
+ ##### Fixed
136
+
137
+ - The checkbox layout is no longer applied when the projected select already displays checkboxes.
138
+
139
+ #### 20.1.3
140
+
141
+ ##### Fixed
142
+
143
+ - Default value handling: `isEmpty` detection and `clearable` behaviour.
144
+
145
+ #### 20.1.1
146
+
147
+ ##### Fixed
148
+
149
+ - `displayed` model is now kept in sync with the pill value.
150
+
151
+ #### 20.1.0
152
+
153
+ ##### Changed
154
+
155
+ - Tooltip behaviour and `max-inline-size` of the pill adjusted.
156
+
157
+ #### 19.3.2
158
+
159
+ ##### Fixed
160
+
161
+ - Handling of nested select inputs inside a pill.
162
+
163
+ #### 19.2.6
164
+
165
+ ##### Fixed
166
+
167
+ - `clearable` behaviour of the pill.
168
+
169
+ #### 19.2.4
170
+
171
+ ##### Fixed
172
+
173
+ - API v4 initialization logic no longer triggers useless API calls.
174
+
175
+ #### 19.2.0
176
+
177
+ ##### Added
178
+
179
+ - `lu-filter-pill` component (`filterPill`) with the required `label` input plus `name`, `icon`, `optional` and `intl`, and the `displayed` model.
180
+ - `[luFilterPillLabel]` and `[luFilterPillDisplayer]` directives to customize the label and the displayed value.
@@ -0,0 +1,66 @@
1
+ # footer — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-structure-cards-footer--docs)
4
+
5
+ ## Angular
6
+
7
+ Component selector : `lu-footer`
8
+
9
+ ### Basic
10
+
11
+ ```js
12
+ import { ButtonComponent } from '@lucca-front/ng/button';
13
+ import { FOOTER_CONTAINER_MAX, FOOTER_NARROW_AT_MEDIA_MAX, FooterComponent } from '@lucca-front/ng/footer';
14
+ ```
15
+
16
+ ```html
17
+ <lu-footer narrowAtMediaMax="XXS">
18
+ <ng-container footerContent>Content</ng-container>
19
+ <button type="button" luButton>Button</button>
20
+ <button type="button" luButton="outlined">Button</button>
21
+ </lu-footer>
22
+ ```
23
+
24
+ ## HTML/CSS
25
+
26
+ Classe CSS : `.footer`
27
+
28
+ ### Footer
29
+
30
+ ```css
31
+ @forward '@lucca-front/scss/src/components/footer';
32
+ @forward '@lucca-front/scss/src/components/button';
33
+ @forward '@lucca-front/scss/src/components/card';
34
+ ```
35
+
36
+ ```html
37
+ <div class="card">
38
+ <div class="card-content">
39
+ <h3 class="card-title">Titre de la carte</h3>
40
+ <p>Contenu de la carte</p>
41
+ </div>
42
+ <footer class="card-footer">
43
+ <div class="card-footer-right">
44
+ <button type="button" class="button palette-product">Confirmer</button>
45
+ <button type="button" class="button mod-ghost">Annuler</button>
46
+ </div>
47
+ </footer>
48
+ </div>
49
+ ```
50
+
51
+ ### Basic
52
+
53
+ ```css
54
+ @forward '@lucca-front/scss/src/components/footer';
55
+ @forward '@lucca-front/scss/src/components/button';
56
+ ```
57
+
58
+ ```html
59
+ <footer class="footer">
60
+ <div class="footer-content">Content</div>
61
+ <div class="footer-actions">
62
+ <button type="button" class="button">Button</button>
63
+ <button type="button" class="button mod-outlined">Button</button>
64
+ </div>
65
+ </footer>
66
+ ```
@@ -0,0 +1,115 @@
1
+ # footer
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { FooterComponent } from '@lucca-front/ng/footer';
7
+ ```
8
+
9
+ ## Basic Usage
10
+
11
+ ```html
12
+ <lu-footer narrowAtMediaMax=XXS> <ng-container footerContent> Content </ng-container> <button type="button" luButton>Button</button> <button type="button" luButton="outlined">Button</button>
13
+ </lu-footer>
14
+ ```
15
+
16
+ ## API Reference
17
+
18
+ ### FooterComponent (component)
19
+
20
+ **Selector:** `lu-footer`
21
+
22
+ #### Inputs
23
+
24
+ | Property | Binding name | Type | Default | Required | Transform | Description |
25
+ |----------|-------------|------|---------|----------|-----------|-------------|
26
+ | `sticky` | `sticky` | `boolean` | `false` | — | `luBooleanAttribute` | Fige le footer lors du défilement vertical. |
27
+ | `container` | `container` | `boolean` | `false` | — | `luBooleanAttribute` | Applique un container autour du contenu du footer. |
28
+ | `containerMax` | `containerMax` | `FooterContainerMax \| null` | — | — | — | Définit la largeur maximale du container. |
29
+ | `forceNarrow` | `forceNarrow` | `boolean` | `false` | — | `luBooleanAttribute` | Force le mode narrow (responsive) du footer. |
30
+ | `dialog` | `dialog` | `boolean` | `false` | — | `luBooleanAttribute` | — |
31
+ | `narrowAtMediaMax` | `narrowAtMediaMax` | `'XXS' \| 'XS' \| 'S' \| 'M'` | `'XXS'` | — | — | Définit le breakpoint pour lequel le mode narrow (responsive) est appliqué. |
32
+
33
+ ## Related files
34
+
35
+ - 📝 [Code & implementation](./footer.component.md)
36
+ - 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/footer/footer.design.md)
37
+ - 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/footer/footer.figma.md)
38
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-structure-cards-footer--docs)
39
+
40
+ ## Changelog
41
+
42
+ > 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.
43
+
44
+ ### 22.0.0
45
+
46
+ ~ `sticky` : transform booleanAttribute → luBooleanAttribute
47
+ ~ `container` : transform booleanAttribute → luBooleanAttribute
48
+ ~ `forceNarrow` : transform booleanAttribute → luBooleanAttribute
49
+ ~ `dialog` : transform booleanAttribute → luBooleanAttribute
50
+
51
+ ### Notes de release (ZeroHeight)
52
+
53
+ #### 21.3.0
54
+
55
+ ##### Added
56
+
57
+ - `FOOTER_CONTAINER_MAX` and `FOOTER_NARROW_AT_MEDIA_MAX` constants, together with the `FooterContainerMax` and `FooterNarrowAtMediaMax` types, are now publicly exported and used to type the `containerMax` and `narrowAtMediaMax` inputs.
58
+
59
+ #### 21.2.1
60
+
61
+ ##### Fixed
62
+
63
+ - Padding of the footer inside a `mod-fancy` dialog.
64
+
65
+ #### 21.2.0
66
+
67
+ ##### Added
68
+
69
+ - `containerMax` input to cap the width of the footer container.
70
+
71
+ #### 20.1.3
72
+
73
+ ##### Fixed
74
+
75
+ - `sticky` footer now stays sticky even when the wrapper does not use `display: contents`.
76
+
77
+ #### 20.1.0
78
+
79
+ ##### Added
80
+
81
+ - The footer content can be aligned with the page container.
82
+
83
+ #### 19.3.4
84
+
85
+ ##### Fixed
86
+
87
+ - The Angular wrapper uses `display: contents` so it does not break the footer layout.
88
+
89
+ #### 19.3.0
90
+
91
+ ##### Added
92
+
93
+ - `lu-footer` component (`footer`) with the `container`, `dialog`, `sticky`, `forceNarrow` and `narrowAtMediaMax` inputs.
94
+
95
+ ##### Fixed
96
+
97
+ - Footer buttons now wrap instead of overflowing on narrow screens.
98
+
99
+ #### 18.2.1
100
+
101
+ ##### Fixed
102
+
103
+ - Container width of the footer.
104
+
105
+ #### 18.1.1
106
+
107
+ ##### Fixed
108
+
109
+ - `sticky` footer position and margins.
110
+
111
+ #### 18.1.0
112
+
113
+ ##### Added
114
+
115
+ - Responsive footer with container support and `--components-footer-*` CSS custom properties.
@@ -0,0 +1,37 @@
1
+ # form
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { FormComponent } from '@lucca-front/ng/form';
7
+ ```
8
+
9
+ ## API Reference
10
+
11
+ ### FormComponent (component)
12
+
13
+ **Selector:** `form[luForm]`
14
+
15
+ #### Inputs
16
+
17
+ | Property | Binding name | Type | Default | Required | Transform | Description |
18
+ |----------|-------------|------|---------|----------|-----------|-------------|
19
+ | `maxWidth` | `maxWidth` | `boolean` | `false` | — | `luBooleanAttribute` | — |
20
+ | `presentation` | `presentation` | `boolean` | `false` | — | `luBooleanAttribute` | — |
21
+
22
+ ### Injection tokens
23
+
24
+ | Token | Type | Description |
25
+ |-------|------|-------------|
26
+ | `LU_FORM_INSTANCE` | `FormComponent` | — |
27
+
28
+ ## Related files
29
+
30
+ ## Changelog
31
+
32
+ > 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.
33
+
34
+ ### 22.0.0
35
+
36
+ ~ `maxWidth` : transform booleanAttribute → luBooleanAttribute
37
+ ~ `presentation` : transform booleanAttribute → luBooleanAttribute
@@ -0,0 +1,46 @@
1
+ # form-field — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-fields-form-field--docs)
4
+
5
+ ## Angular
6
+
7
+ Mots-clés : champ, formulaire, form-field, input
8
+
9
+ Component selector : `lu-form-field`
10
+
11
+ ### Field
12
+
13
+ ```js
14
+ import { FormsModule } from '@angular/forms';
15
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
16
+ import { FORM_FIELD_WIDTH, FormFieldComponent, InputDirective } from '@lucca-front/ng/form-field';
17
+ import { INLINE_MESSAGE_STATE } from '@lucca-front/ng/inline-message';
18
+ ```
19
+
20
+ ```html
21
+ <lu-form-field
22
+ extraDescribedBy="extra-message"
23
+ label="Label"
24
+ inlineMessage="Helper text"
25
+ errorInlineMessage="Error helper text"
26
+ inlineMessageState="default"
27
+ tooltip="You expected me to be helpful but this is a story!"
28
+ >
29
+ <div class="textField">
30
+ <div class="textField-input">
31
+ <textarea
32
+ type="text"
33
+ luInput
34
+ class="textField-input-value"
35
+ required
36
+ [(ngModel)]="model.example"
37
+ placeholder="Placeholder"
38
+ ></textarea>
39
+ </div>
40
+ </div>
41
+ </lu-form-field>
42
+ ```
43
+
44
+ ## HTML/CSS
45
+
46
+ Classe CSS : `.form-field`