@lucca-front/ng 22.1.1 → 22.1.2

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 (553) hide show
  1. package/fesm2022/lucca-front-ng-a11y.mjs +9 -9
  2. package/fesm2022/lucca-front-ng-activity-feed.mjs +12 -12
  3. package/fesm2022/lucca-front-ng-api.mjs +40 -40
  4. package/fesm2022/lucca-front-ng-app-layout.mjs +3 -3
  5. package/fesm2022/lucca-front-ng-approbation-inbox.mjs +33 -33
  6. package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
  7. package/fesm2022/lucca-front-ng-box.mjs +3 -3
  8. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
  9. package/fesm2022/lucca-front-ng-bubble-icon.mjs +3 -3
  10. package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -7
  11. package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
  12. package/fesm2022/lucca-front-ng-callout.mjs +25 -25
  13. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  14. package/fesm2022/lucca-front-ng-chip.mjs +3 -3
  15. package/fesm2022/lucca-front-ng-clear.mjs +3 -3
  16. package/fesm2022/lucca-front-ng-code.mjs +3 -3
  17. package/fesm2022/lucca-front-ng-color.mjs +3 -3
  18. package/fesm2022/lucca-front-ng-comment.mjs +9 -9
  19. package/fesm2022/lucca-front-ng-container.mjs +3 -3
  20. package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
  21. package/fesm2022/lucca-front-ng-core-select-department.mjs +6 -6
  22. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +14 -10
  23. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  24. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +11 -7
  25. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  26. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +6 -6
  27. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
  28. package/fesm2022/lucca-front-ng-core-select-user.mjs +18 -18
  29. package/fesm2022/lucca-front-ng-core-select.mjs +62 -54
  30. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-core.mjs +24 -19
  32. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-data-table.mjs +24 -24
  34. package/fesm2022/lucca-front-ng-date.mjs +44 -40
  35. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  36. package/fesm2022/lucca-front-ng-date2.mjs +34 -37
  37. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  38. package/fesm2022/lucca-front-ng-department.mjs +28 -26
  39. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  40. package/fesm2022/lucca-front-ng-dialog.mjs +40 -38
  41. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  42. package/fesm2022/lucca-front-ng-divider.mjs +3 -3
  43. package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
  44. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-empty-state.mjs +14 -14
  46. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-error-page.mjs +5 -4
  48. package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-establishment.mjs +36 -34
  50. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  51. package/fesm2022/lucca-front-ng-fancy-box.mjs +5 -4
  52. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  53. package/fesm2022/lucca-front-ng-file-upload.mjs +20 -20
  54. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  55. package/fesm2022/lucca-front-ng-filter-pills-core.mjs +6 -6
  56. package/fesm2022/lucca-front-ng-filter-pills.mjs +15 -15
  57. package/fesm2022/lucca-front-ng-footer.mjs +3 -3
  58. package/fesm2022/lucca-front-ng-form-field.mjs +18 -18
  59. package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
  60. package/fesm2022/lucca-front-ng-form-label.mjs +3 -3
  61. package/fesm2022/lucca-front-ng-form.mjs +3 -3
  62. package/fesm2022/lucca-front-ng-formly.mjs +58 -58
  63. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -9
  64. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  65. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  66. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
  67. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  68. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +35 -35
  69. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  70. package/fesm2022/lucca-front-ng-forms.mjs +50 -40
  71. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  72. package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
  73. package/fesm2022/lucca-front-ng-grid.mjs +6 -6
  74. package/fesm2022/lucca-front-ng-highlight-data.mjs +6 -6
  75. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  76. package/fesm2022/lucca-front-ng-highlight-section.mjs +6 -6
  77. package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -1
  78. package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
  79. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +9 -9
  80. package/fesm2022/lucca-front-ng-impersonation.mjs +3 -3
  81. package/fesm2022/lucca-front-ng-index-table.mjs +30 -30
  82. package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
  83. package/fesm2022/lucca-front-ng-input.mjs +25 -23
  84. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  85. package/fesm2022/lucca-front-ng-kbd.mjs +3 -3
  86. package/fesm2022/lucca-front-ng-link.mjs +6 -6
  87. package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
  88. package/fesm2022/lucca-front-ng-listing.mjs +6 -6
  89. package/fesm2022/lucca-front-ng-loading.mjs +3 -3
  90. package/fesm2022/lucca-front-ng-main-layout.mjs +8 -8
  91. package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
  92. package/fesm2022/lucca-front-ng-markdown.mjs +3 -3
  93. package/fesm2022/lucca-front-ng-mobile-push.mjs +6 -5
  94. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  95. package/fesm2022/lucca-front-ng-modal.mjs +22 -22
  96. package/fesm2022/lucca-front-ng-multi-select.mjs +39 -38
  97. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  98. package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
  99. package/fesm2022/lucca-front-ng-number-format.mjs +22 -13
  100. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  101. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  102. package/fesm2022/lucca-front-ng-option.mjs +164 -143
  103. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  104. package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
  105. package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
  106. package/fesm2022/lucca-front-ng-plg-push.mjs +6 -5
  107. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  108. package/fesm2022/lucca-front-ng-popover.mjs +29 -17
  109. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  110. package/fesm2022/lucca-front-ng-popover2.mjs +6 -6
  111. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  112. package/fesm2022/lucca-front-ng-priority-level.mjs +3 -3
  113. package/fesm2022/lucca-front-ng-progress-bar.mjs +3 -3
  114. package/fesm2022/lucca-front-ng-progress-stepper.mjs +6 -6
  115. package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
  116. package/fesm2022/lucca-front-ng-resource-card.mjs +12 -12
  117. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  118. package/fesm2022/lucca-front-ng-scroll-box.mjs +3 -3
  119. package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
  120. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +8 -8
  121. package/fesm2022/lucca-front-ng-segmented-control.mjs +8 -8
  122. package/fesm2022/lucca-front-ng-select.mjs +16 -15
  123. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  124. package/fesm2022/lucca-front-ng-sidepanel.mjs +9 -8
  125. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  126. package/fesm2022/lucca-front-ng-simple-select.mjs +16 -14
  127. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  128. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
  129. package/fesm2022/lucca-front-ng-software-icon.mjs +7 -5
  130. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  131. package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
  132. package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
  133. package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
  134. package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
  135. package/fesm2022/lucca-front-ng-time.mjs +36 -25
  136. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  137. package/fesm2022/lucca-front-ng-title.mjs +10 -10
  138. package/fesm2022/lucca-front-ng-toast.mjs +10 -10
  139. package/fesm2022/lucca-front-ng-tree-select.mjs +6 -6
  140. package/fesm2022/lucca-front-ng-user-popover.mjs +19 -19
  141. package/fesm2022/lucca-front-ng-user.mjs +63 -61
  142. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  143. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
  144. package/llms/SKILL.md +233 -0
  145. package/llms/references/components/activity-feed/activity-feed.component.md +339 -0
  146. package/llms/references/components/activity-feed/activity-feed.design.md +145 -0
  147. package/llms/references/components/activity-feed/activity-feed.md +129 -0
  148. package/llms/references/components/animations/animations.component.md +11 -0
  149. package/llms/references/components/animations/animations.md +7 -0
  150. package/llms/references/components/api-select/api-select.md +40 -0
  151. package/llms/references/components/app-layout/app-layout.component.md +65 -0
  152. package/llms/references/components/app-layout/app-layout.design.md +61 -0
  153. package/llms/references/components/app-layout/app-layout.md +80 -0
  154. package/llms/references/components/approbation-inbox/approbation-inbox.component.md +1062 -0
  155. package/llms/references/components/approbation-inbox/approbation-inbox.design.md +162 -0
  156. package/llms/references/components/approbation-inbox/approbation-inbox.md +177 -0
  157. package/llms/references/components/avatar/avatar.component.md +571 -0
  158. package/llms/references/components/avatar/avatar.md +97 -0
  159. package/llms/references/components/box/box.component.md +155 -0
  160. package/llms/references/components/box/box.md +98 -0
  161. package/llms/references/components/breadcrumbs/breadcrumbs.component.md +60 -0
  162. package/llms/references/components/breadcrumbs/breadcrumbs.design.md +11 -0
  163. package/llms/references/components/breadcrumbs/breadcrumbs.md +96 -0
  164. package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
  165. package/llms/references/components/bubble-icon/bubble-icon.design.md +47 -0
  166. package/llms/references/components/bubble-icon/bubble-icon.md +83 -0
  167. package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
  168. package/llms/references/components/bubble-illustration/bubble-illustration.design.md +69 -0
  169. package/llms/references/components/bubble-illustration/bubble-illustration.md +76 -0
  170. package/llms/references/components/button/button.component.md +275 -0
  171. package/llms/references/components/button/button.design.md +322 -0
  172. package/llms/references/components/button/button.md +134 -0
  173. package/llms/references/components/calendar/calendar.component.md +750 -0
  174. package/llms/references/components/calendar/calendar.design.md +43 -0
  175. package/llms/references/components/calendar/calendar.md +127 -0
  176. package/llms/references/components/calendar2/calendar2.md +74 -0
  177. package/llms/references/components/callout/callout.component.md +254 -0
  178. package/llms/references/components/callout/callout.design.md +197 -0
  179. package/llms/references/components/callout/callout.md +259 -0
  180. package/llms/references/components/callout-disclosure/callout-disclosure.component.md +240 -0
  181. package/llms/references/components/callout-disclosure/callout-disclosure.design.md +197 -0
  182. package/llms/references/components/callout-disclosure/callout-disclosure.md +207 -0
  183. package/llms/references/components/callout-popover/callout-popover.component.md +182 -0
  184. package/llms/references/components/callout-popover/callout-popover.design.md +197 -0
  185. package/llms/references/components/callout-popover/callout-popover.md +212 -0
  186. package/llms/references/components/card/card.component.md +62 -0
  187. package/llms/references/components/card/card.design.md +36 -0
  188. package/llms/references/components/card/card.md +7 -0
  189. package/llms/references/components/checkbox/checkbox.component.md +50 -0
  190. package/llms/references/components/checkbox/checkbox.design.md +196 -0
  191. package/llms/references/components/checkbox/checkbox.md +73 -0
  192. package/llms/references/components/chip/chip.component.md +145 -0
  193. package/llms/references/components/chip/chip.md +118 -0
  194. package/llms/references/components/clear/clear.component.md +38 -0
  195. package/llms/references/components/clear/clear.design.md +36 -0
  196. package/llms/references/components/clear/clear.md +88 -0
  197. package/llms/references/components/code/code.component.md +33 -0
  198. package/llms/references/components/code/code.md +47 -0
  199. package/llms/references/components/color/color.md +32 -0
  200. package/llms/references/components/color-input/color-input.md +43 -0
  201. package/llms/references/components/color-picker/color-picker.component.md +29 -0
  202. package/llms/references/components/color-picker/color-picker.design.md +42 -0
  203. package/llms/references/components/color-picker/color-picker.md +24 -0
  204. package/llms/references/components/comment/comment.component.md +451 -0
  205. package/llms/references/components/comment/comment.design.md +67 -0
  206. package/llms/references/components/comment/comment.md +137 -0
  207. package/llms/references/components/container/container.component.md +41 -0
  208. package/llms/references/components/container/container.md +74 -0
  209. package/llms/references/components/core-select-department/core-select-department.md +42 -0
  210. package/llms/references/components/core-select-establishment/core-select-establishment.md +45 -0
  211. package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
  212. package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
  213. package/llms/references/components/core-select-user/core-select-user.md +81 -0
  214. package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
  215. package/llms/references/components/data-presentation/data-presentation.md +48 -0
  216. package/llms/references/components/data-table/data-table.component.md +1649 -0
  217. package/llms/references/components/data-table/data-table.design.md +159 -0
  218. package/llms/references/components/data-table/data-table.md +338 -0
  219. package/llms/references/components/date/date.component.md +31 -0
  220. package/llms/references/components/date/date.md +164 -0
  221. package/llms/references/components/dateinput/dateinput.component.md +127 -0
  222. package/llms/references/components/dateinput/dateinput.design.md +80 -0
  223. package/llms/references/components/dateinput/dateinput.md +224 -0
  224. package/llms/references/components/daterangeinput/daterangeinput.component.md +64 -0
  225. package/llms/references/components/daterangeinput/daterangeinput.design.md +76 -0
  226. package/llms/references/components/daterangeinput/daterangeinput.md +210 -0
  227. package/llms/references/components/departmentselect/departmentselect.component.md +44 -0
  228. package/llms/references/components/departmentselect/departmentselect.md +43 -0
  229. package/llms/references/components/dialog/dialog.component.md +475 -0
  230. package/llms/references/components/dialog/dialog.design.md +139 -0
  231. package/llms/references/components/dialog/dialog.md +357 -0
  232. package/llms/references/components/divider/divider.component.md +35 -0
  233. package/llms/references/components/divider/divider.md +87 -0
  234. package/llms/references/components/dropdown/dropdown.component.md +315 -0
  235. package/llms/references/components/dropdown/dropdown.md +189 -0
  236. package/llms/references/components/duration-picker/duration-picker.design.md +124 -0
  237. package/llms/references/components/duration-picker/duration-picker.md +165 -0
  238. package/llms/references/components/empty-state/empty-state.component.md +238 -0
  239. package/llms/references/components/empty-state/empty-state.design.md +124 -0
  240. package/llms/references/components/empty-state/empty-state.md +61 -0
  241. package/llms/references/components/errorpage/errorpage.component.md +57 -0
  242. package/llms/references/components/errorpage/errorpage.md +75 -0
  243. package/llms/references/components/establishmentselect/establishmentselect.component.md +31 -0
  244. package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
  245. package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
  246. package/llms/references/components/fancy-dialog/fancy-dialog.design.md +93 -0
  247. package/llms/references/components/fancy-dialog/fancy-dialog.md +128 -0
  248. package/llms/references/components/fancybox/fancybox.component.md +218 -0
  249. package/llms/references/components/fancybox/fancybox.design.md +72 -0
  250. package/llms/references/components/fancybox/fancybox.md +90 -0
  251. package/llms/references/components/fieldset/fieldset.component.md +86 -0
  252. package/llms/references/components/fieldset/fieldset.md +129 -0
  253. package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
  254. package/llms/references/components/filedropzone/filedropzone.md +71 -0
  255. package/llms/references/components/fileentry/fileentry.component.md +56 -0
  256. package/llms/references/components/fileentry/fileentry.design.md +152 -0
  257. package/llms/references/components/fileentry/fileentry.md +272 -0
  258. package/llms/references/components/fileupload/fileupload.component.md +91 -0
  259. package/llms/references/components/fileupload/fileupload.design.md +152 -0
  260. package/llms/references/components/fileupload/fileupload.md +275 -0
  261. package/llms/references/components/filterbar/filterbar.component.md +299 -0
  262. package/llms/references/components/filterbar/filterbar.design.md +92 -0
  263. package/llms/references/components/filterbar/filterbar.md +168 -0
  264. package/llms/references/components/filterpills/filterpills.component.md +65 -0
  265. package/llms/references/components/filterpills/filterpills.design.md +60 -0
  266. package/llms/references/components/filterpills/filterpills.md +214 -0
  267. package/llms/references/components/footer/footer.component.md +66 -0
  268. package/llms/references/components/footer/footer.design.md +176 -0
  269. package/llms/references/components/footer/footer.md +125 -0
  270. package/llms/references/components/form/form.md +42 -0
  271. package/llms/references/components/form-field/form-field.component.md +46 -0
  272. package/llms/references/components/form-field/form-field.md +252 -0
  273. package/llms/references/components/form-header/form-header.md +29 -0
  274. package/llms/references/components/form-label/form-label.component.md +116 -0
  275. package/llms/references/components/form-label/form-label.md +121 -0
  276. package/llms/references/components/gauge/gauge.component.md +55 -0
  277. package/llms/references/components/gauge/gauge.md +72 -0
  278. package/llms/references/components/grid/grid.component.md +15 -0
  279. package/llms/references/components/grid/grid.md +124 -0
  280. package/llms/references/components/highlight-data/highlight-data.component.md +294 -0
  281. package/llms/references/components/highlight-data/highlight-data.design.md +97 -0
  282. package/llms/references/components/highlight-data/highlight-data.md +126 -0
  283. package/llms/references/components/highlight-section/highlight-section.component.md +195 -0
  284. package/llms/references/components/highlight-section/highlight-section.md +53 -0
  285. package/llms/references/components/highlight-text/highlight-text.component.md +53 -0
  286. package/llms/references/components/highlight-text/highlight-text.md +29 -0
  287. package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +247 -0
  288. package/llms/references/components/horizontalnavigation/horizontalnavigation.md +94 -0
  289. package/llms/references/components/icons/icons.component.md +59 -0
  290. package/llms/references/components/icons/icons.design.md +141 -0
  291. package/llms/references/components/icons/icons.md +195 -0
  292. package/llms/references/components/impersonation/impersonation.component.md +83 -0
  293. package/llms/references/components/impersonation/impersonation.design.md +58 -0
  294. package/llms/references/components/impersonation/impersonation.md +97 -0
  295. package/llms/references/components/index-table/index-table.component.md +2573 -0
  296. package/llms/references/components/index-table/index-table.design.md +250 -0
  297. package/llms/references/components/index-table/index-table.md +278 -0
  298. package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
  299. package/llms/references/components/inlinemessage/inlinemessage.md +56 -0
  300. package/llms/references/components/input-framed/input-framed.component.md +731 -0
  301. package/llms/references/components/input-framed/input-framed.design.md +94 -0
  302. package/llms/references/components/input-framed/input-framed.md +49 -0
  303. package/llms/references/components/kbd/kbd.component.md +48 -0
  304. package/llms/references/components/kbd/kbd.md +40 -0
  305. package/llms/references/components/link/link.component.md +162 -0
  306. package/llms/references/components/link/link.design.md +48 -0
  307. package/llms/references/components/link/link.md +148 -0
  308. package/llms/references/components/listbox/listbox.component.md +11 -0
  309. package/llms/references/components/listbox/listbox.md +114 -0
  310. package/llms/references/components/listing/listing.component.md +416 -0
  311. package/llms/references/components/listing/listing.design.md +31 -0
  312. package/llms/references/components/listing/listing.md +124 -0
  313. package/llms/references/components/loading/loading.component.md +37 -0
  314. package/llms/references/components/loading/loading.design.md +32 -0
  315. package/llms/references/components/loading/loading.md +116 -0
  316. package/llms/references/components/main-layout/main-layout.component.md +157 -0
  317. package/llms/references/components/main-layout/main-layout.md +78 -0
  318. package/llms/references/components/markdown/markdown.component.md +15 -0
  319. package/llms/references/components/markdown/markdown.md +40 -0
  320. package/llms/references/components/mobile-push/mobile-push.component.md +67 -0
  321. package/llms/references/components/mobile-push/mobile-push.md +79 -0
  322. package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
  323. package/llms/references/components/mobileheader/mobileheader.design.md +15 -0
  324. package/llms/references/components/mobileheader/mobileheader.md +7 -0
  325. package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
  326. package/llms/references/components/mobilenavigation/mobilenavigation.design.md +9 -0
  327. package/llms/references/components/mobilenavigation/mobilenavigation.md +7 -0
  328. package/llms/references/components/modal/modal.component.md +37 -0
  329. package/llms/references/components/modal/modal.design.md +163 -0
  330. package/llms/references/components/modal/modal.md +60 -0
  331. package/llms/references/components/multi-select/multi-select.component.md +43 -0
  332. package/llms/references/components/multi-select/multi-select.design.md +346 -0
  333. package/llms/references/components/multi-select/multi-select.md +444 -0
  334. package/llms/references/components/multilanguagefield/multilanguagefield.component.md +83 -0
  335. package/llms/references/components/multilanguagefield/multilanguagefield.design.md +78 -0
  336. package/llms/references/components/multilanguagefield/multilanguagefield.md +383 -0
  337. package/llms/references/components/newbadge/newbadge.component.md +23 -0
  338. package/llms/references/components/newbadge/newbadge.design.md +25 -0
  339. package/llms/references/components/newbadge/newbadge.md +37 -0
  340. package/llms/references/components/number-format-input/number-format-input.md +63 -0
  341. package/llms/references/components/number-input/number-input.md +54 -0
  342. package/llms/references/components/numbers/numbers.component.md +46 -0
  343. package/llms/references/components/numbers/numbers.md +7 -0
  344. package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
  345. package/llms/references/components/numericbadge/numericbadge.md +83 -0
  346. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.design.md +124 -0
  347. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
  348. package/llms/references/components/pageheader/pageheader.component.md +401 -0
  349. package/llms/references/components/pageheader/pageheader.design.md +13 -0
  350. package/llms/references/components/pageheader/pageheader.md +154 -0
  351. package/llms/references/components/pagination/pagination.component.md +112 -0
  352. package/llms/references/components/pagination/pagination.md +128 -0
  353. package/llms/references/components/phonenumberfield/phonenumberfield.component.md +33 -0
  354. package/llms/references/components/phonenumberfield/phonenumberfield.design.md +59 -0
  355. package/llms/references/components/phonenumberfield/phonenumberfield.md +141 -0
  356. package/llms/references/components/plg-push/plg-push.component.md +91 -0
  357. package/llms/references/components/plg-push/plg-push.design.md +87 -0
  358. package/llms/references/components/plg-push/plg-push.md +91 -0
  359. package/llms/references/components/popover/popover.component.md +149 -0
  360. package/llms/references/components/popover/popover.md +253 -0
  361. package/llms/references/components/popover2/popover2.component.md +110 -0
  362. package/llms/references/components/popover2/popover2.md +95 -0
  363. package/llms/references/components/priority-level/priority-level.component.md +63 -0
  364. package/llms/references/components/priority-level/priority-level.design.md +79 -0
  365. package/llms/references/components/priority-level/priority-level.md +36 -0
  366. package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
  367. package/llms/references/components/progress-bar/progress-bar.design.md +15 -0
  368. package/llms/references/components/progress-bar/progress-bar.md +50 -0
  369. package/llms/references/components/progress-stepper/progress-stepper.component.md +375 -0
  370. package/llms/references/components/progress-stepper/progress-stepper.design.md +54 -0
  371. package/llms/references/components/progress-stepper/progress-stepper.md +69 -0
  372. package/llms/references/components/radiofield/radiofield.component.md +307 -0
  373. package/llms/references/components/radiofield/radiofield.design.md +148 -0
  374. package/llms/references/components/radiofield/radiofield.md +132 -0
  375. package/llms/references/components/readmore/readmore.component.md +60 -0
  376. package/llms/references/components/readmore/readmore.md +97 -0
  377. package/llms/references/components/resource-card/resource-card.component.md +225 -0
  378. package/llms/references/components/resource-card/resource-card.md +118 -0
  379. package/llms/references/components/richtextinput/richtextinput.component.md +308 -0
  380. package/llms/references/components/richtextinput/richtextinput.design.md +83 -0
  381. package/llms/references/components/richtextinput/richtextinput.md +300 -0
  382. package/llms/references/components/scroll/scroll.md +45 -0
  383. package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
  384. package/llms/references/components/scrollbox/scrollbox.design.md +11 -0
  385. package/llms/references/components/scrollbox/scrollbox.md +48 -0
  386. package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
  387. package/llms/references/components/section-empty-state/section-empty-state.design.md +67 -0
  388. package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
  389. package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +68 -0
  390. package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +208 -0
  391. package/llms/references/components/segmentedcontrol/segmentedcontrol.md +125 -0
  392. package/llms/references/components/select/select.component.md +247 -0
  393. package/llms/references/components/select/select.md +57 -0
  394. package/llms/references/components/select-templating/select-templating.md +141 -0
  395. package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
  396. package/llms/references/components/sidepanel/sidepanel.md +7 -0
  397. package/llms/references/components/simple-select/simple-select.component.md +45 -0
  398. package/llms/references/components/simple-select/simple-select.design.md +353 -0
  399. package/llms/references/components/simple-select/simple-select.md +302 -0
  400. package/llms/references/components/skeleton/skeleton.component.md +145 -0
  401. package/llms/references/components/skeleton/skeleton.design.md +82 -0
  402. package/llms/references/components/skeleton/skeleton.md +230 -0
  403. package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
  404. package/llms/references/components/skiplinks/skiplinks.md +73 -0
  405. package/llms/references/components/software-icon/software-icon.component.md +61 -0
  406. package/llms/references/components/software-icon/software-icon.design.md +23 -0
  407. package/llms/references/components/software-icon/software-icon.md +118 -0
  408. package/llms/references/components/sortable-list/sortable-list.component.md +150 -0
  409. package/llms/references/components/sortable-list/sortable-list.md +83 -0
  410. package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
  411. package/llms/references/components/statusbadge/statusbadge.design.md +58 -0
  412. package/llms/references/components/statusbadge/statusbadge.md +62 -0
  413. package/llms/references/components/switchfield/switchfield.component.md +124 -0
  414. package/llms/references/components/switchfield/switchfield.md +55 -0
  415. package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
  416. package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
  417. package/llms/references/components/tags/tags.component.md +153 -0
  418. package/llms/references/components/tags/tags.design.md +84 -0
  419. package/llms/references/components/tags/tags.md +132 -0
  420. package/llms/references/components/text-flow/text-flow.component.md +71 -0
  421. package/llms/references/components/text-flow/text-flow.design.md +42 -0
  422. package/llms/references/components/text-flow/text-flow.md +62 -0
  423. package/llms/references/components/textareafield/textareafield.component.md +57 -0
  424. package/llms/references/components/textareafield/textareafield.design.md +94 -0
  425. package/llms/references/components/textareafield/textareafield.md +122 -0
  426. package/llms/references/components/textfield/textfield.component.md +610 -0
  427. package/llms/references/components/textfield/textfield.design.md +148 -0
  428. package/llms/references/components/textfield/textfield.md +178 -0
  429. package/llms/references/components/tile/tile.component.md +91 -0
  430. package/llms/references/components/tile/tile.md +91 -0
  431. package/llms/references/components/time/time.component.md +275 -0
  432. package/llms/references/components/time/time.md +140 -0
  433. package/llms/references/components/time-picker/time-picker.design.md +124 -0
  434. package/llms/references/components/time-picker/time-picker.md +169 -0
  435. package/llms/references/components/time-range-picker/time-range-picker.component.md +5 -0
  436. package/llms/references/components/time-range-picker/time-range-picker.design.md +57 -0
  437. package/llms/references/components/time-range-picker/time-range-picker.md +46 -0
  438. package/llms/references/components/timelines/timelines.component.md +168 -0
  439. package/llms/references/components/timelines/timelines.design.md +21 -0
  440. package/llms/references/components/timelines/timelines.md +7 -0
  441. package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
  442. package/llms/references/components/title-and-text/title-and-text.design.md +57 -0
  443. package/llms/references/components/title-and-text/title-and-text.md +60 -0
  444. package/llms/references/components/toasts/toasts.component.md +54 -0
  445. package/llms/references/components/toasts/toasts.design.md +76 -0
  446. package/llms/references/components/toasts/toasts.md +124 -0
  447. package/llms/references/components/tooltip/tooltip.component.md +83 -0
  448. package/llms/references/components/tooltip/tooltip.design.md +68 -0
  449. package/llms/references/components/tooltip/tooltip.md +246 -0
  450. package/llms/references/components/treeselect/treeselect.component.md +62 -0
  451. package/llms/references/components/treeselect/treeselect.md +58 -0
  452. package/llms/references/components/user-select/user-select.md +52 -0
  453. package/llms/references/components/userpopover/userpopover.component.md +51 -0
  454. package/llms/references/components/userpopover/userpopover.design.md +74 -0
  455. package/llms/references/components/userpopover/userpopover.md +155 -0
  456. package/llms/references/components/verticalnavigation/verticalnavigation.component.md +247 -0
  457. package/llms/references/components/verticalnavigation/verticalnavigation.md +128 -0
  458. package/llms/references/documentation/content/accessibilite-contenu.md +147 -0
  459. package/llms/references/documentation/content/blocage-contenu.md +49 -0
  460. package/llms/references/documentation/content/criteres-essentiels.md +54 -0
  461. package/llms/references/documentation/content/dates.md +76 -0
  462. package/llms/references/documentation/content/grammaire-orthographe.md +118 -0
  463. package/llms/references/documentation/content/infinitif-imperatif.md +21 -0
  464. package/llms/references/documentation/content/jargon.md +30 -0
  465. package/llms/references/documentation/content/messages-erreur.md +279 -0
  466. package/llms/references/documentation/content/nombres.md +127 -0
  467. package/llms/references/documentation/content/ponctuation-typographie.md +343 -0
  468. package/llms/references/documentation/content/possessifs-pronoms.md +48 -0
  469. package/llms/references/documentation/content/ressources-definitions.md +58 -0
  470. package/llms/references/documentation/content/singulier-pluriel.md +72 -0
  471. package/llms/references/documentation/content/tester-clarte.md +141 -0
  472. package/llms/references/documentation/content/verbes-action.md +99 -0
  473. package/llms/references/documentation/content/voix-humaine.md +79 -0
  474. package/llms/references/documentation/deprecated/deprecated.md +151 -0
  475. package/llms/references/documentation/guidelines/guidelines-dev-ui.md +375 -0
  476. package/llms/references/documentation/patterns/actions-suppression.md +42 -0
  477. package/llms/references/documentation/patterns/aide-contextuelle.md +29 -0
  478. package/llms/references/documentation/patterns/card-et-box.md +56 -0
  479. package/llms/references/documentation/patterns/champs-conditionnels.md +38 -0
  480. package/llms/references/documentation/patterns/champs-effacables.md +34 -0
  481. package/llms/references/documentation/patterns/conception-formulaire.md +144 -0
  482. package/llms/references/documentation/patterns/cycle-vie-ressource.md +36 -0
  483. package/llms/references/documentation/patterns/dialogs-confirmation.md +160 -0
  484. package/llms/references/documentation/patterns/donnee-logiciel.md +66 -0
  485. package/llms/references/documentation/patterns/emails.md +99 -0
  486. package/llms/references/documentation/patterns/etats-chargement.md +90 -0
  487. package/llms/references/documentation/patterns/feedback.md +111 -0
  488. package/llms/references/documentation/patterns/gestion-erreurs-formulaire.md +48 -0
  489. package/llms/references/documentation/patterns/identification-pages.md +224 -0
  490. package/llms/references/documentation/patterns/metadonnees.md +79 -0
  491. package/llms/references/documentation/patterns/modes-affichage.md +51 -0
  492. package/llms/references/documentation/patterns/navigation-mobile.md +222 -0
  493. package/llms/references/documentation/patterns/niveaux-navigation.md +207 -0
  494. package/llms/references/documentation/patterns/parcours-creation-ressource-sans-diffusion.md +184 -0
  495. package/llms/references/documentation/patterns/parcours-creation-ressource.md +184 -0
  496. package/llms/references/documentation/patterns/pattern-ia.md +128 -0
  497. package/llms/references/documentation/patterns/placeholders.md +68 -0
  498. package/llms/references/documentation/patterns/push-notification-mobile.md +46 -0
  499. package/llms/references/documentation/patterns/quitter-formulaire.md +27 -0
  500. package/llms/references/documentation/patterns/regles-or.md +93 -0
  501. package/llms/references/documentation/patterns/responsive-design.md +119 -0
  502. package/llms/references/documentation/patterns/selection-population.md +135 -0
  503. package/llms/references/documentation/patterns/structure-accordeon.md +42 -0
  504. package/llms/references/documentation/patterns/traduction-formulaire.md +136 -0
  505. package/llms/references/documentation/patterns/vues-filtres-navigation.md +86 -0
  506. package/llms/references/documentation/patterns/widgets.md +64 -0
  507. package/llms/references/documentation/tokens/arrondis.md +65 -0
  508. package/llms/references/documentation/tokens/couleurs.md +560 -0
  509. package/llms/references/documentation/tokens/design-tokens.md +47 -0
  510. package/llms/references/documentation/tokens/elevations.md +78 -0
  511. package/llms/references/documentation/tokens/espacements.md +22 -0
  512. package/llms/references/documentation/tokens/noms-de-logiciels.md +81 -0
  513. package/llms/references/documentation/tokens/typographie.md +261 -0
  514. package/llms/references/migrations.md +31 -0
  515. package/llms/references/tools/angular-api.md +407 -0
  516. package/llms/references/tools/animations.md +177 -0
  517. package/llms/references/tools/mixins.md +119 -0
  518. package/llms/references/tools/numbers.md +81 -0
  519. package/llms/references/tools/scrollbox.md +11 -0
  520. package/llms/references/tools/utilitaires.md +998 -0
  521. package/llms/references/types/BubbleIllustration.md +5 -0
  522. package/llms/references/types/DecorativePalette.md +5 -0
  523. package/llms/references/types/Gap.md +5 -0
  524. package/llms/references/types/HighlightDataIllustration.md +5 -0
  525. package/llms/references/types/HighlightSectionIllustration.md +5 -0
  526. package/llms/references/types/LuccaIcon.md +5 -0
  527. package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
  528. package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
  529. package/llms.txt +230 -0
  530. package/package.json +4 -4
  531. package/schematics/color-text/index.js +0 -1
  532. package/types/lucca-front-ng-bubble-illustration.d.ts +6 -2
  533. package/types/lucca-front-ng-core-select.d.ts +5 -0
  534. package/types/lucca-front-ng-core.d.ts +6 -1
  535. package/types/lucca-front-ng-date.d.ts +4 -0
  536. package/types/lucca-front-ng-date2.d.ts +0 -1
  537. package/types/lucca-front-ng-department.d.ts +4 -2
  538. package/types/lucca-front-ng-dropdown.d.ts +2 -1
  539. package/types/lucca-front-ng-establishment.d.ts +3 -1
  540. package/types/lucca-front-ng-forms-phone-number-input.d.ts +1 -0
  541. package/types/lucca-front-ng-forms.d.ts +11 -1
  542. package/types/lucca-front-ng-highlight-section.d.ts +1 -1
  543. package/types/lucca-front-ng-input.d.ts +4 -2
  544. package/types/lucca-front-ng-mobile-push.d.ts +1 -0
  545. package/types/lucca-front-ng-option.d.ts +38 -17
  546. package/types/lucca-front-ng-plg-push.d.ts +1 -0
  547. package/types/lucca-front-ng-popover.d.ts +12 -0
  548. package/types/lucca-front-ng-select.d.ts +2 -1
  549. package/types/lucca-front-ng-sidepanel.d.ts +2 -1
  550. package/types/lucca-front-ng-simple-select.d.ts +1 -0
  551. package/types/lucca-front-ng-software-icon.d.ts +2 -2
  552. package/types/lucca-front-ng-time.d.ts +3 -2
  553. package/types/lucca-front-ng-user.d.ts +5 -3
@@ -0,0 +1,127 @@
1
+ # dateinput — Code & Implementation
2
+
3
+ **Sommaire**
4
+
5
+ - Angular
6
+ - Utilisation
7
+ - Configuration
8
+ - Configuration avancée
9
+ - Input
10
+ - Input field
11
+
12
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-forms-date2-dateinput--docs)
13
+
14
+ ## Angular
15
+
16
+ Component selector : `lu-date-input`
17
+
18
+ DateInput (`lu-date-input`) est le composant qui vient remplacer et moderniser `lu-date-picker`, il est fait pour s'intégrer dans un `lu-form-field` comme tous les composants `lu-***-input`.
19
+
20
+ ### Utilisation
21
+
22
+ Le composant s'utilise via la balise `lu-form-field` et supporte `ngModel` ainsi que `formControl` comme tous les composants d'input nouvelle génération au sein de lucca-front.
23
+
24
+ ### Configuration
25
+
26
+ Il est possible d'utiliser `lu-date-input` de plusieurs façons différentes, via ses inputs, tout d'abord:
27
+
28
+ - `min` et `max`, servent à définir des dates minimales et maximales pour la sélection, **ils ne constituent pas un validateur**, ainsi, vous devrez spécficier un `Validator` à la main pour traiter une sélection hors limites comme erreur.
29
+ - `hideToday` permet de désactiver le style spécifique appliqué au jour en cours.
30
+ - `hasTodayButton` permet d'ajouter un bouton "aujourd'hui", automatiquement traduit via `Intl`, qui sélectionne la date d'aujourd'hui.
31
+ - `hideWeekend` permet de désactiver le style spécifiques des jours du weekend.
32
+ - `clearable` permet d'ajouter un bouton "clear" à la fin de l'input.
33
+
34
+ Le composant utilise uniquement des objets de type `Date`, le premier jour de la semaine ainsi que les jours du weekend sont récupérés via la locale Angular, car à ce jour, l'implémentation proposée dans `Intl` n'est pas présente dans Firefox.
35
+
36
+ ### Configuration avancée
37
+
38
+ Dans le cas ou la donnée attendue doit être un mois ou une année, il est possible de passer par l'input `mode` et spécifier `day`, `month` ou `year` (ce qui correspond au type `CalendarMode`) en fonction de la donnée attendue.
39
+ Dans tous les cas, le date sera au début de la période sélectionnée, exemples:
40
+
41
+ - Si l’utilisateur sélectionne le 8/10/2024 en mode `day`, la date sélectionnée sera `Tue Oct 08 2024 00:00:00 GMT+0200 (heure d’été d’Europe centrale)`
42
+ - Si l’utilisateur sélectionne 10/2024 en mode `month`, la date sélectionnée sera `Tue Oct 01 2024 00:00:00 GMT+0200 (heure d’été d’Europe centrale)`
43
+ - Si l’utilisateur sélectionne 2024 en mode `year`, la date sélectionnée sera `Mon Jan 01 2024 00:00:00 GMT+0100 (heure normale d’Europe centrale)`
44
+
45
+ Il vous reste donc à appeler la méthode que vous souhaitez sur l'objet date pour récupérer ce qui compte dans votre contexte.
46
+
47
+ Il est également possible, via l'input `getCellInfo`, de mettre des classes ou états personnalisés sur des cellules spécifiques.
48
+
49
+ La signature de cette méthode est `(day: Date, mode: CalendarMode) => CellStatus`, voici un exemple:
50
+
51
+ Enfin, il est possible de spécifier des `ranges` via l'input du même nom. Chaque range (de type `DateRange`) sera alors affiché dans le calendrier, au niveau spécifié par sa variable `scope`, ou, à défaut, en vue `day` uniquement.
52
+
53
+ ### Input
54
+
55
+ ```js
56
+ import { LOCALE_ID } from '@angular/core';
57
+ import { FormsModule } from '@angular/forms';
58
+ import { CALENDAR_MODE, DATE2_CLEAR_BEHAVIOR, DATE_FORMAT_CONST, DateInputComponent, luDate2Translations } from '@lucca-front/ng/date2';
59
+ import { FormFieldComponent } from '@lucca-front/ng/form-field';
60
+ import { IconComponent } from '@lucca-front/ng/icon';
61
+ ```
62
+
63
+ ```html
64
+ <lu-form-field label="Date input example" inlineMessage="Inline message example">
65
+ <lu-date-input
66
+ [(ngModel)]="selected"
67
+ [min]="min"
68
+ [max]="max"
69
+ [focusedDate]="focusedDate"
70
+ format="date"
71
+ (panelOpened)="panelOpened()"
72
+ (panelClosed)="panelClosed()"
73
+ />
74
+ </lu-form-field>
75
+
76
+ <pr-story-model-display>{{ selected }}</pr-story-model-display>
77
+ ```
78
+
79
+ ```html
80
+ <lu-form-field label="Date input example" inlineMessage="Inline message example">
81
+ <lu-date-input
82
+ [(ngModel)]="selected"
83
+ [min]="min"
84
+ [max]="max"
85
+ [focusedDate]="focusedDate"
86
+ humanized
87
+ format="date"
88
+ (panelOpened)="panelOpened()"
89
+ (panelClosed)="panelClosed()"
90
+ />
91
+ </lu-form-field>
92
+
93
+ <pr-story-model-display>{{ selected }}</pr-story-model-display>
94
+ ```
95
+
96
+ ```html
97
+ <lu-form-field label="Date input example" inlineMessage="Inline message example">
98
+ <lu-date-input
99
+ [(ngModel)]="selected"
100
+ [min]="min"
101
+ [max]="max"
102
+ [focusedDate]="focusedDate"
103
+ mode="week"
104
+ format="date"
105
+ (panelOpened)="panelOpened()"
106
+ (panelClosed)="panelClosed()"
107
+ />
108
+ </lu-form-field>
109
+
110
+ <pr-story-model-display>{{ selected }}</pr-story-model-display>
111
+ ```
112
+
113
+ ### Input field
114
+
115
+ ```js
116
+ import { LOCALE_ID } from '@angular/core';
117
+ import { FormsModule } from '@angular/forms';
118
+ import { CALENDAR_MODE, DATE2_CLEAR_BEHAVIOR, DateInputComponent } from '@lucca-front/ng/date2';
119
+ import { FormFieldComponent } from '@lucca-front/ng/form-field';
120
+ ```
121
+
122
+ ```html
123
+ <lu-form-field>
124
+ <lu-date-input [(ngModel)]="selected" [min]="min" [max]="max" autocomplete="off" />
125
+ </lu-form-field>
126
+ <pr-story-model-display>{{ selected }}</pr-story-model-display>
127
+ ```
@@ -0,0 +1,80 @@
1
+ # dateinput — Design Guidelines
2
+
3
+ > Sourced from [Prisme / ZeroHeight](https://prisme.lucca.io/94310e217/p/87a48d)
4
+
5
+ # Design
6
+
7
+ **Mots-clés :**sélecteur, calendrier, date input
8
+
9
+ **Des questions, commentaires ou retours ?**Laisser un commentaire sur Figma ou contactez-nous sur Slack :*#design-system-public*
10
+
11
+ ## Anatomie
12
+
13
+ ## Options
14
+
15
+ ### Affichage des jours chômés
16
+
17
+ L'option `hideWeekend` permet d’afficher/masquer les jours chômés dans le calendrier. Lorsque l'option est activée, les jours chômés apparaissent sur fond hachuré, facilitant ainsi leur identification.
18
+
19
+ ### Restriction de la plage de sélection
20
+
21
+ Cette fonctionnalité permet de définir des bornes minimale et/ou maximale de la période de sélection de dates. Les jours qui tombent en dehors de ces restrictions sont affichés comme inactifs (grisés, barrés et non sélectionnables).
22
+
23
+ Les propriétés `min` et `max` doivent être configurées pour que les restrictions soit appliquées.
24
+
25
+ ### Sélection d'un jour
26
+
27
+ Dans son état par défaut, le DatePicker permet de sélectionner un jour. Il s'agit du mode `day`.
28
+
29
+ ### Sélection d’une semaine
30
+
31
+ Le mode `week` permet de sélectionner des semaines. Lorsque ce mode est activé, le calendrier intègre le numéro des semaine en début de ligne.
32
+
33
+ ### Sélection d'un mois
34
+
35
+ Dans certains contexte, il peut être utile de sélectionner un mois. Dans ce cas, le DatePicker propose un mode `month` permettant de sélectionner un mois. L'utilisateur peut naviguer d'année en année pour faciliter sa sélection.
36
+
37
+ ### Sélection d'une année
38
+
39
+ De la même manière que la sélection en mois, il peut être utile de sélectionner une année. Dans ce cas, le DatePicker en mode `year` permet de naviguer de décennie en décennie pour sélectionner une année.
40
+
41
+ ### Sélection rapide date du jour
42
+
43
+ Une option permet d’afficher un bouton sous forme de lien permettant à l’utilisateur de sélectionner la date du jour. Ce bouton reste visible même si l’utilisateur navigue de mois en mois dans le calendrier.
44
+
45
+ ## Comportement
46
+
47
+ ### Sélection d’une date loin dans le passé
48
+
49
+ Il est parfois demandé de sélectionner des dates lointaines dans le passé, par exemple pour une date de naissance. dans ce cas, il est possible d’ouvrir le calendrier en affichage décennie. De cette manière, il est plus simple pour l’utilisateur de saisir une date lointaine.
50
+
51
+ ## Règles d'utilisation
52
+
53
+ ### Placeholder obligatoire
54
+
55
+ Le placeholder est obligatoire. Il doit porter la mention “JJ/MM/AAAA”. Le format du placeholder s’adapte en fonction de la locale de l’utilisateur.
56
+
57
+ - **Do** : La placeholder est obligatoire, il indique le format attendu.
58
+ - **Don't** : Ne masquons jamais le placeholder dans un Date picker.
59
+
60
+ ### Sélection d’une période
61
+
62
+ Si un besoin de sélection de période existe, le composant Date range picker doit être utilisé. Il ne faut pas utiliser deux DatePicker pour sélectionner une date de début et une date de fin.
63
+
64
+ - **Do** : Utilisons le Date range picker pour sélectionner une période.
65
+ - **Don't** : Ne cumulons pas deux Date picker pour sélectionner une date de début et une date de fin.
66
+
67
+ ### Affichage des jours des mois précédents et suivants
68
+
69
+ Le composant Calendar propose une option pour afficher ou non les jours des mois précédents et suivants. Dans le cas du Date picker, l'**affichage de ces jours est obligatoire**.
70
+
71
+ - **Do** : L'affichage des jours des mois précédents et suivants est obligatoire. Cela permet d'y accéder plus rapidement.
72
+ - **Don't** : Ne masquons pas les jours des mois précédents et suivants.
73
+
74
+ ## Contenu associé
75
+
76
+ # Content
77
+
78
+ #### **Nous n'avons rien à vous dire ici… pour le moment.**
79
+
80
+ Luccasien·ne, des questions, des remarques ?Partagez-les sur Slack sur *#ux-writing* ou *#design-system-public*.
@@ -0,0 +1,224 @@
1
+ # dateinput
2
+
3
+ **Sommaire**
4
+
5
+ - Import
6
+ - API Reference
7
+ - DateInputComponent (component)
8
+ - Injection tokens
9
+ - Related files
10
+ - Changelog
11
+ - 22.1.0
12
+ - 22.0.5
13
+ - 22.0.0
14
+ - Notes de release (ZeroHeight)
15
+
16
+ ## Import
17
+
18
+ ```typescript
19
+ import { DateInputComponent } from '@lucca-front/ng/date2';
20
+ ```
21
+
22
+ ## API Reference
23
+
24
+ ### DateInputComponent (component)
25
+
26
+ **Selector:** `lu-date-input`
27
+
28
+ #### Inputs
29
+
30
+ | Property | Binding name | Type | Default | Required | Transform | Description |
31
+ |----------|-------------|------|---------|----------|-----------|-------------|
32
+ | `intl` | `intl` | `unknown` | — | — | — | — |
33
+ | `format` | `format` | `(typeof DATE_FORMAT)[keyof typeof DATE_FORMAT]` | `DATE_FORMAT.DATE` | — | — | Modifie le format de date. |
34
+ | `ranges` | `ranges` | `unknown` | `[]` | — | — | — |
35
+ | `hideToday` | `hideToday` | `boolean` | `false` | — | `luBooleanAttribute` | Retire la mise en valeur de la date du jour. |
36
+ | `hasTodayButton` | `hasTodayButton` | `boolean` | `false` | — | `luBooleanAttribute` | Ajoute un bouton pour sélectionner la date du jour. |
37
+ | `clearable` | `clearable` | `unknown` | `null` | — | `luNullableBooleanAttribute` | Ajoute un bouton de suppression lorsqu’une date est sélectionnée. |
38
+ | `clearBehavior` | `clearBehavior` | `'clear' \| 'reset'` | `'clear'` | — | — | [v20.1] Change le comportement au clic sur la croix de suppression |
39
+ | `hideWeekend` | `hideWeekend` | `boolean` | `false` | — | `luBooleanAttribute` | — |
40
+ | `mode` | `mode` | `'day' \| 'week' \| 'month' \| 'year'` | `'day'` | — | — | — |
41
+ | `getCellInfo` | `getCellInfo` | `((day: Date, mode: CalendarMode) => CellStatus) \| null` | — | — | — | — |
42
+ | `min` | `min` | `unknown` | `new Date('1/1/1000')` | — | `transformDateInputToDate` | Définit une date minimum de sélection. |
43
+ | `max` | `max` | `unknown` | `null` | — | `transformDateInputToDate` | Définit une date maximum de sélection. |
44
+ | `focusedDate` | `focusedDate` | `unknown` | `null` | — | `transformDateInputToDate` | — |
45
+ | `calendarModeInput` | `calendarMode` | `CalendarMode \| null` | `null` | — | — | — |
46
+ | `autocomplete` | `autocomplete` | `AutoFill` | `'off'` | — | — | — |
47
+ | `placeholder` | `placeholder` | `string` | — | — | — | — |
48
+ | `disableOverflow` | `disableOverflow` | `boolean` | `false` | — | `luBooleanAttribute` | — |
49
+ | `hideOverflow` | `hideOverflow` | `boolean` | `false` | — | `luBooleanAttribute` | — |
50
+ | `widthAuto` | `widthAuto` | `boolean` | `false` | — | `luBooleanAttribute` | — |
51
+ | `humanized` | `humanized` | `boolean` | `false` | — | `luBooleanAttribute` | — |
52
+
53
+ #### Outputs
54
+
55
+ | Property | Binding name | Type | Notes |
56
+ |----------|-------------|------|-------|
57
+ | `calendarModeChange` | `calendarModeChange` | `CalendarMode` | — |
58
+ | `panelOpened` | `panelOpened` | `void` | — |
59
+ | `panelClosed` | `panelClosed` | `void` | — |
60
+
61
+ ### Injection tokens
62
+
63
+ | Token | Type | Description |
64
+ |-------|------|-------------|
65
+ | `LU_DATE2_TRANSLATIONS` | `unknown` | — |
66
+
67
+ ## Related files
68
+
69
+ - 📝 [Code & implementation](./dateinput.component.md)
70
+ - 🎨 [Design guidelines](./dateinput.design.md)
71
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-forms-date2-dateinput--docs)
72
+
73
+ ## Changelog
74
+
75
+ > Diff structurel de l'API (selectors, inputs, outputs, models) entre versions stables, depuis `v21.4.4` jusqu'à `v22.1.1`. Les versions sans changement d'API sont omises.
76
+
77
+ ### 22.1.0
78
+
79
+ + `calendarMode` : CalendarMode | null
80
+ + `humanized` : boolean
81
+ + (output) `calendarModeChange` : CalendarMode
82
+ - (model) `calendarMode`
83
+
84
+ ### 22.0.5
85
+
86
+ + token `LU_DATE2_TRANSLATIONS` : unknown
87
+
88
+ ### 22.0.0
89
+
90
+ ~ `hideToday` : transform booleanAttribute → luBooleanAttribute
91
+ ~ `hasTodayButton` : transform booleanAttribute → luBooleanAttribute
92
+ ~ `clearable` : transform booleanAttribute → luNullableBooleanAttribute
93
+ ~ `hideWeekend` : transform booleanAttribute → luBooleanAttribute
94
+ ~ `mode` : 'day' | 'month' | 'year' → 'day' | 'week' | 'month' | 'year'
95
+ ~ `disableOverflow` : transform booleanAttribute → luBooleanAttribute
96
+ ~ `hideOverflow` : transform booleanAttribute → luBooleanAttribute
97
+ ~ `widthAuto` : transform booleanAttribute → luBooleanAttribute
98
+ ~ (model) `calendarMode` : CalendarMode → CalendarMode | null
99
+
100
+ ### Notes de release (ZeroHeight)
101
+
102
+ #### 21.2.3
103
+
104
+ ##### Fixed
105
+
106
+ - `lu-date-input`: validation error state and value are now correctly triggered on write value.
107
+
108
+ #### 21.2.0
109
+
110
+ ##### Fixed
111
+
112
+ - `lu-date-input`: no longer marks the control as touched when the text input changes.
113
+
114
+ #### 21.1.0
115
+
116
+ ##### Added
117
+
118
+ - `intl`: new input on `lu-date-input` and `input[luDateInput]` to override component translations.
119
+ - `*luPresentationDisplay`: `lu-date-input` now supports the form-field presentation display mode.
120
+
121
+ ##### Fixed
122
+
123
+ - `lu-date-input`: parsing now uses the mode-specific date format (`dateFormatWithMode`) so values are read according to the current mode.
124
+
125
+ #### 21.0.0
126
+
127
+ ##### Deprecated
128
+
129
+ - `LuDatePickerModule`: deprecated, import the standalone `LuDatePickerComponent` directly instead.
130
+
131
+ #### 20.3.1
132
+
133
+ ##### Fixed
134
+
135
+ - `lu-date-input`: the calendar display mode is now kept in sync with the `mode` input.
136
+
137
+ #### 20.3.0
138
+
139
+ ##### Added
140
+
141
+ - `panelOpened` / `panelClosed`: new outputs on `lu-date-input` emitted when the calendar panel opens or closes.
142
+
143
+ ##### Fixed
144
+
145
+ - `lu-date-input`: better handling of single-digit input in month and day segments.
146
+
147
+ #### 20.1.0
148
+
149
+ ##### Added
150
+
151
+ - `clearBehavior`: new input on `lu-date-input` (`'clear'` | `'reset'`) allowing the clear button to reset to the initial value instead of emptying the field, along with a public `reset()` method.
152
+
153
+ #### 19.3.4
154
+
155
+ ##### Fixed
156
+
157
+ - `lu-date-input`: invalid text input is now converted correctly to a date ISO value.
158
+
159
+ #### 19.3.3
160
+
161
+ ##### Added
162
+
163
+ - `widthAuto`: new boolean input on `lu-date-input` to size the field to its content.
164
+
165
+ ##### Fixed
166
+
167
+ - `lu-date-input`: `writeValue` no longer calls `onChange`.
168
+
169
+ #### 19.3.1
170
+
171
+ ##### Fixed
172
+
173
+ - `lu-date-input`: selecting an initial value after a change is now reflected on the model.
174
+
175
+ #### 19.2.6
176
+
177
+ ##### Fixed
178
+
179
+ - `lu-date-input`: correct handling of `min`/`max` in month mode.
180
+ - `lu-date-input`: disabled state now uses a signal so the view re-renders correctly.
181
+ - `lu-date-input`: clearing now sends `null` on change and moves the calendar accordingly.
182
+
183
+ #### 19.2.5
184
+
185
+ ##### Fixed
186
+
187
+ - `lu-date-input`: the disabled state of the date picker panel is now updated correctly.
188
+
189
+ #### 19.2.3
190
+
191
+ ##### Fixed
192
+
193
+ - `lu-date-input`: a `null` value at initialisation is now handled correctly.
194
+
195
+ #### 19.2.2
196
+
197
+ ##### Added
198
+
199
+ - `inDateISOFormat`: `lu-date-input` can now emit and consume date ISO string values instead of `Date` objects.
200
+
201
+ #### 18.3.3
202
+
203
+ ##### Fixed
204
+
205
+ - `lu-date-input`: `min`/`max` are now handled properly in a month picker configuration.
206
+ - `lu-date-input`: validators logic fixes for `min`/`max`.
207
+
208
+ #### 18.3.2
209
+
210
+ ##### Fixed
211
+
212
+ - `lu-date-input`: now accepts `null` as a value.
213
+
214
+ #### 18.3.0
215
+
216
+ ##### Added
217
+
218
+ - `lu-date-input`: new date input component built on the calendar2 stack. Exposes inputs such as `format`, `mode`, `min`, `max`, `ranges`, `clearable`, `hideToday`, `hasTodayButton`, `disableOverflow` and `hideOverflow`.
219
+
220
+ #### 18.1.0
221
+
222
+ ##### Changed
223
+
224
+ - `granularity`: on `lu-date-picker` and `input[luDateInput]`, the input now also accepts the `LuDateGranularity` string union type in addition to the `ELuDateGranularity` enum.
@@ -0,0 +1,64 @@
1
+ # daterangeinput — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-forms-date2-daterangeinput--docs)
4
+
5
+ ## Angular
6
+
7
+ Component selector : `lu-date-range-input`
8
+
9
+ ### Range input
10
+
11
+ ```js
12
+ import { LOCALE_ID } from '@angular/core';
13
+ import { FormsModule } from '@angular/forms';
14
+ import { CALENDAR_MODE, CalendarShortcut, DATE2_CLEAR_BEHAVIOR, DATE_FORMAT_CONST, DateRange, DateRangeInputComponent, luDate2Translations, PremadeShortcuts } from '@lucca-front/ng/date2';
15
+ import { FormFieldComponent } from '@lucca-front/ng/form-field';
16
+ ```
17
+
18
+ ```ts
19
+ shortcuts: [
20
+ {
21
+ label: 'Since start of week',
22
+ range: PremadeShortcuts['SinceStartOfWeek']('fr'),
23
+ },
24
+ {
25
+ label: 'Last week',
26
+ range: PremadeShortcuts['LastWeek']('fr'),
27
+ },
28
+ {
29
+ label: 'Last month',
30
+ range: PremadeShortcuts['LastMonth']('fr'),
31
+ },
32
+ ]
33
+ ```
34
+
35
+ ```html
36
+ <lu-form-field label="Date range input example" inlineMessage="Inline message example">
37
+ <lu-date-range-input
38
+ [(ngModel)]="selected"
39
+ [min]="min"
40
+ [max]="max"
41
+ [focusedDate]="focusedDate"
42
+ format="date"
43
+ (panelOpened)="panelOpened()"
44
+ (panelClosed)="panelClosed()"
45
+ />
46
+ </lu-form-field>
47
+
48
+ <pr-story-model-display>{{ selected | json }}</pr-story-model-display>
49
+ ```
50
+
51
+ ```html
52
+ <lu-form-field label="Date range input example" inlineMessage="Inline message example">
53
+ <lu-date-range-input
54
+ [(ngModel)]="selected"
55
+ [min]="min"
56
+ [max]="max"
57
+ [shortcuts]="shortcuts"
58
+ (panelOpened)="panelOpened()"
59
+ (panelClosed)="panelClosed()"
60
+ />
61
+ </lu-form-field>
62
+
63
+ <pr-story-model-display>{{ selected | json }}</pr-story-model-display>
64
+ ```
@@ -0,0 +1,76 @@
1
+ # daterangeinput — Design Guidelines
2
+
3
+ > Sourced from [Prisme / ZeroHeight](https://prisme.lucca.io/94310e217/p/00bf9b)
4
+
5
+ # Design
6
+
7
+ **Mots-clés :**plage, range, date range, DateRange période
8
+
9
+ **Des questions, commentaires ou retours ?**Laisser un commentaire sur Figma ou contactez-nous sur Slack :*#design-system-public*
10
+
11
+ ## Anatomie
12
+
13
+ ## Options
14
+
15
+ ### Affichage des jours chômés
16
+
17
+ Une option permet d’activer un affichage différent des jours chômés dans le calendrier. Les jours chômés apparaissent sur fond hachuré, facilitant ainsi leur identification.
18
+
19
+ Cette option est désactivée par défaut mais peut être activée selon le contexte ou les besoins spécifiques de l’utilisateur.
20
+
21
+ ### Restriction de la plage de sélection
22
+
23
+ Cette fonctionnalité permet de définir des bornes minimale et/ou maximale de la période de sélection de dates. Les jours qui tombent en dehors de ces restrictions sont affichés comme inactifs (grisés, barrés et non sélectionnables).
24
+
25
+ ### Période en jours
26
+
27
+ Dans son état par défaut, le Date range picker permet de sélectionner une période en jours. L’utilisateur peut donc sélectionner le premier et le dernier jour pour définir la période.
28
+
29
+ ### Période en mois
30
+
31
+ Dans certains contexte, il peut être utile de sélectionner une période en mois. Dans ce cas, le Date range picker permet de naviguer d’année en année pour sélectionner le premier et le dernier mois de la période.
32
+
33
+ ### Période en années
34
+
35
+ De la même manière que la période en mois, il peut être utile de sélectionner une période en années. Dans ce cas, le Date range picker permet de naviguer de décennie en décennie pour sélectionner la première et la dernière année de la période.
36
+
37
+ ### Périodes pré-définies
38
+
39
+ L’ajout de périodes prédéfinies dans le Date range picker simplifie l’expérience utilisateur en proposant des sélections rapides pour des périodes fréquemment utilisées. Ces dernières s’affichent sur la gauche du calendrier.
40
+
41
+ ## Règles d'utilisation
42
+
43
+ ### Placeholder obligatoire
44
+
45
+ Le placeholder est obligatoire. Il doit porter la mention “JJ/MM/AAAA” pour la date de début ainsi que la date de fin. Le format du placeholder s’adapte en fonction de la locale de l’utilisateur.
46
+
47
+ - **Do** : La placeholder est obligatoire, il indique le format attendu.
48
+ - **Don't** : Ne masquons jamais le placeholder dans un Date range picker.
49
+
50
+ ### Valeurs pré-définies
51
+
52
+ Lorsque l’utilisateur n’a le choix qu’entre certaines valeurs pré-définies, alors il est préférable d’utiliser un Select plutôt que le Date range picker.
53
+
54
+ - **Do** : Utilisons un Select pour sélectionner une période prédéfinie.
55
+
56
+ ### Affichage des jours des mois précédents et suivants
57
+
58
+ Le composant Calendar propose une option pour afficher ou non les jours des mois précédents et suivants. Dans le cas du Date range picker, l'**affichage de ces jours est interdit**.
59
+
60
+ - **Do** : Nous masquons les jours des mois précédents et suivants.
61
+ - **Don't** : Nous n'affichons pas les jours des mois précédents et suivants. Cela complique la lecture du calendrier et les interactions.
62
+
63
+ ### Ne pas utiliser deux Date picker
64
+
65
+ Le Period picker, comme son nom l’indique, permet de sélectionner une période. Il doit donc être utilisé pour cela et ne plus utiliser deux Date picker pour définir une date de début et une date de fin.
66
+
67
+ - **Do** : Utilisons le Date range picker pour sélectionner une période.
68
+ - **Don't** : Ne cumulons pas deux Date picker pour sélectionner une date de début et une date de fin.
69
+
70
+ ## Contenu associé
71
+
72
+ # Content
73
+
74
+ #### **Nous n'avons rien à vous dire ici… pour le moment.**
75
+
76
+ Luccasien·ne, des questions, des remarques ?Partagez-les sur Slack sur *#ux-writing* ou *#design-system-public*.