@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.
- package/README.md +6 -0
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +5 -4
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +22 -15
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +2 -3
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/llms/SKILL.md +248 -0
- package/llms/references/components/activity-feed/activity-feed.component.md +292 -0
- package/llms/references/components/activity-feed/activity-feed.md +90 -0
- package/llms/references/components/animations/animations.component.md +11 -0
- package/llms/references/components/animations/animations.md +7 -0
- package/llms/references/components/api-select/api-select.md +40 -0
- package/llms/references/components/app-layout/app-layout.component.md +65 -0
- package/llms/references/components/app-layout/app-layout.md +81 -0
- package/llms/references/components/approbation-inbox/approbation-inbox.component.md +960 -0
- package/llms/references/components/approbation-inbox/approbation-inbox.md +135 -0
- package/llms/references/components/avatar/avatar.component.md +563 -0
- package/llms/references/components/avatar/avatar.md +93 -0
- package/llms/references/components/box/box.component.md +119 -0
- package/llms/references/components/box/box.md +88 -0
- package/llms/references/components/breadcrumbs/breadcrumbs.component.md +59 -0
- package/llms/references/components/breadcrumbs/breadcrumbs.md +87 -0
- package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
- package/llms/references/components/bubble-icon/bubble-icon.md +72 -0
- package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
- package/llms/references/components/bubble-illustration/bubble-illustration.md +77 -0
- package/llms/references/components/button/button.component.md +252 -0
- package/llms/references/components/button/button.md +124 -0
- package/llms/references/components/calendar/calendar.component.md +708 -0
- package/llms/references/components/calendar/calendar.md +104 -0
- package/llms/references/components/calendar2/calendar2.md +64 -0
- package/llms/references/components/callout/callout.component.md +237 -0
- package/llms/references/components/callout/callout.md +243 -0
- package/llms/references/components/callout-disclosure/callout-disclosure.component.md +230 -0
- package/llms/references/components/callout-disclosure/callout-disclosure.md +196 -0
- package/llms/references/components/callout-popover/callout-popover.component.md +170 -0
- package/llms/references/components/callout-popover/callout-popover.md +201 -0
- package/llms/references/components/card/card.component.md +62 -0
- package/llms/references/components/card/card.md +8 -0
- package/llms/references/components/checkbox/checkbox.component.md +50 -0
- package/llms/references/components/checkbox/checkbox.md +74 -0
- package/llms/references/components/chip/chip.component.md +131 -0
- package/llms/references/components/chip/chip.md +95 -0
- package/llms/references/components/clear/clear.component.md +38 -0
- package/llms/references/components/clear/clear.md +79 -0
- package/llms/references/components/code/code.component.md +33 -0
- package/llms/references/components/code/code.md +47 -0
- package/llms/references/components/color/color.md +32 -0
- package/llms/references/components/color-input/color-input.md +33 -0
- package/llms/references/components/color-picker/color-picker.component.md +29 -0
- package/llms/references/components/color-picker/color-picker.md +25 -0
- package/llms/references/components/comment/comment.component.md +436 -0
- package/llms/references/components/comment/comment.md +125 -0
- package/llms/references/components/container/container.component.md +41 -0
- package/llms/references/components/container/container.md +74 -0
- package/llms/references/components/core-select-department/core-select-department.md +37 -0
- package/llms/references/components/core-select-establishment/core-select-establishment.md +40 -0
- package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
- package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
- package/llms/references/components/core-select-user/core-select-user.md +75 -0
- package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
- package/llms/references/components/data-presentation/data-presentation.md +49 -0
- package/llms/references/components/data-table/data-table.component.md +1603 -0
- package/llms/references/components/data-table/data-table.md +290 -0
- package/llms/references/components/date/date.component.md +31 -0
- package/llms/references/components/date/date.md +140 -0
- package/llms/references/components/dateinput/dateinput.component.md +99 -0
- package/llms/references/components/dateinput/dateinput.md +198 -0
- package/llms/references/components/daterangeinput/daterangeinput.component.md +49 -0
- package/llms/references/components/daterangeinput/daterangeinput.md +186 -0
- package/llms/references/components/departmentselect/departmentselect.component.md +43 -0
- package/llms/references/components/departmentselect/departmentselect.md +43 -0
- package/llms/references/components/dialog/dialog.component.md +462 -0
- package/llms/references/components/dialog/dialog.md +335 -0
- package/llms/references/components/divider/divider.component.md +35 -0
- package/llms/references/components/divider/divider.md +88 -0
- package/llms/references/components/dropdown/dropdown.component.md +272 -0
- package/llms/references/components/dropdown/dropdown.md +172 -0
- package/llms/references/components/duration-picker/duration-picker.md +155 -0
- package/llms/references/components/empty-state/empty-state.component.md +226 -0
- package/llms/references/components/empty-state/empty-state.md +62 -0
- package/llms/references/components/errorpage/errorpage.component.md +57 -0
- package/llms/references/components/errorpage/errorpage.md +75 -0
- package/llms/references/components/establishmentselect/establishmentselect.component.md +30 -0
- package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
- package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
- package/llms/references/components/fancy-dialog/fancy-dialog.md +107 -0
- package/llms/references/components/fancybox/fancybox.component.md +48 -0
- package/llms/references/components/fancybox/fancybox.md +75 -0
- package/llms/references/components/fieldset/fieldset.component.md +86 -0
- package/llms/references/components/fieldset/fieldset.md +119 -0
- package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
- package/llms/references/components/filedropzone/filedropzone.md +61 -0
- package/llms/references/components/fileentry/fileentry.component.md +58 -0
- package/llms/references/components/fileentry/fileentry.md +246 -0
- package/llms/references/components/fileupload/fileupload.component.md +91 -0
- package/llms/references/components/fileupload/fileupload.md +246 -0
- package/llms/references/components/filterbar/filterbar.component.md +302 -0
- package/llms/references/components/filterbar/filterbar.md +134 -0
- package/llms/references/components/filterpills/filterpills.component.md +60 -0
- package/llms/references/components/filterpills/filterpills.md +180 -0
- package/llms/references/components/footer/footer.component.md +66 -0
- package/llms/references/components/footer/footer.md +115 -0
- package/llms/references/components/form/form.md +37 -0
- package/llms/references/components/form-field/form-field.component.md +46 -0
- package/llms/references/components/form-field/form-field.md +231 -0
- package/llms/references/components/form-header/form-header.md +29 -0
- package/llms/references/components/form-label/form-label.component.md +106 -0
- package/llms/references/components/form-label/form-label.md +98 -0
- package/llms/references/components/gauge/gauge.component.md +55 -0
- package/llms/references/components/gauge/gauge.md +73 -0
- package/llms/references/components/grid/grid.component.md +15 -0
- package/llms/references/components/grid/grid.md +112 -0
- package/llms/references/components/highlight-data/highlight-data.component.md +279 -0
- package/llms/references/components/highlight-data/highlight-data.md +115 -0
- package/llms/references/components/highlight-section/highlight-section.component.md +185 -0
- package/llms/references/components/highlight-section/highlight-section.md +48 -0
- package/llms/references/components/highlight-text/highlight-text.component.md +49 -0
- package/llms/references/components/highlight-text/highlight-text.md +29 -0
- package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +232 -0
- package/llms/references/components/horizontalnavigation/horizontalnavigation.md +95 -0
- package/llms/references/components/icons/icons.component.md +59 -0
- package/llms/references/components/icons/icons.md +185 -0
- package/llms/references/components/impersonation/impersonation.component.md +52 -0
- package/llms/references/components/impersonation/impersonation.md +52 -0
- package/llms/references/components/index-table/index-table.component.md +2528 -0
- package/llms/references/components/index-table/index-table.md +243 -0
- package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
- package/llms/references/components/inlinemessage/inlinemessage.md +57 -0
- package/llms/references/components/input-framed/input-framed.component.md +714 -0
- package/llms/references/components/input-framed/input-framed.md +50 -0
- package/llms/references/components/link/link.component.md +153 -0
- package/llms/references/components/link/link.md +124 -0
- package/llms/references/components/listbox/listbox.component.md +11 -0
- package/llms/references/components/listbox/listbox.md +101 -0
- package/llms/references/components/listing/listing.component.md +366 -0
- package/llms/references/components/listing/listing.md +105 -0
- package/llms/references/components/loading/loading.component.md +37 -0
- package/llms/references/components/loading/loading.md +91 -0
- package/llms/references/components/main-layout/main-layout.component.md +146 -0
- package/llms/references/components/main-layout/main-layout.md +78 -0
- package/llms/references/components/mobile-push/mobile-push.component.md +62 -0
- package/llms/references/components/mobile-push/mobile-push.md +70 -0
- package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
- package/llms/references/components/mobileheader/mobileheader.md +8 -0
- package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
- package/llms/references/components/mobilenavigation/mobilenavigation.md +8 -0
- package/llms/references/components/modal/modal.component.md +37 -0
- package/llms/references/components/modal/modal.md +61 -0
- package/llms/references/components/multi-select/multi-select.component.md +39 -0
- package/llms/references/components/multi-select/multi-select.md +426 -0
- package/llms/references/components/multilanguagefield/multilanguagefield.component.md +84 -0
- package/llms/references/components/multilanguagefield/multilanguagefield.md +362 -0
- package/llms/references/components/newbadge/newbadge.component.md +23 -0
- package/llms/references/components/newbadge/newbadge.md +38 -0
- package/llms/references/components/number-format-input/number-format-input.md +46 -0
- package/llms/references/components/number-input/number-input.md +49 -0
- package/llms/references/components/numbers/numbers.component.md +46 -0
- package/llms/references/components/numbers/numbers.md +7 -0
- package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
- package/llms/references/components/numericbadge/numericbadge.md +84 -0
- package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
- package/llms/references/components/pageheader/pageheader.component.md +389 -0
- package/llms/references/components/pageheader/pageheader.md +144 -0
- package/llms/references/components/pagination/pagination.component.md +96 -0
- package/llms/references/components/pagination/pagination.md +107 -0
- package/llms/references/components/phonenumberfield/phonenumberfield.component.md +35 -0
- package/llms/references/components/phonenumberfield/phonenumberfield.md +131 -0
- package/llms/references/components/plg-push/plg-push.component.md +91 -0
- package/llms/references/components/plg-push/plg-push.md +82 -0
- package/llms/references/components/popover/popover.component.md +130 -0
- package/llms/references/components/popover/popover.md +235 -0
- package/llms/references/components/popover2/popover2.component.md +103 -0
- package/llms/references/components/popover2/popover2.md +89 -0
- package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
- package/llms/references/components/progress-bar/progress-bar.md +51 -0
- package/llms/references/components/progress-stepper/progress-stepper.component.md +281 -0
- package/llms/references/components/progress-stepper/progress-stepper.md +70 -0
- package/llms/references/components/radiofield/radiofield.component.md +295 -0
- package/llms/references/components/radiofield/radiofield.md +122 -0
- package/llms/references/components/readmore/readmore.component.md +60 -0
- package/llms/references/components/readmore/readmore.md +88 -0
- package/llms/references/components/resource-card/resource-card.component.md +216 -0
- package/llms/references/components/resource-card/resource-card.md +106 -0
- package/llms/references/components/richtextinput/richtextinput.component.md +298 -0
- package/llms/references/components/richtextinput/richtextinput.md +275 -0
- package/llms/references/components/scroll/scroll.md +45 -0
- package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
- package/llms/references/components/scrollbox/scrollbox.md +49 -0
- package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
- package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
- package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +50 -0
- package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +198 -0
- package/llms/references/components/segmentedcontrol/segmentedcontrol.md +108 -0
- package/llms/references/components/select/select.component.md +237 -0
- package/llms/references/components/select/select.md +57 -0
- package/llms/references/components/select-templating/select-templating.md +117 -0
- package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
- package/llms/references/components/sidepanel/sidepanel.md +7 -0
- package/llms/references/components/simple-select/simple-select.component.md +39 -0
- package/llms/references/components/simple-select/simple-select.md +291 -0
- package/llms/references/components/skeleton/skeleton.component.md +133 -0
- package/llms/references/components/skeleton/skeleton.md +212 -0
- package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
- package/llms/references/components/skiplinks/skiplinks.md +73 -0
- package/llms/references/components/software-icon/software-icon.component.md +61 -0
- package/llms/references/components/software-icon/software-icon.md +107 -0
- package/llms/references/components/sortable-list/sortable-list.component.md +141 -0
- package/llms/references/components/sortable-list/sortable-list.md +84 -0
- package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
- package/llms/references/components/statusbadge/statusbadge.md +63 -0
- package/llms/references/components/switchfield/switchfield.component.md +114 -0
- package/llms/references/components/switchfield/switchfield.md +56 -0
- package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
- package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
- package/llms/references/components/tags/tags.component.md +112 -0
- package/llms/references/components/tags/tags.md +115 -0
- package/llms/references/components/text-flow/text-flow.component.md +71 -0
- package/llms/references/components/text-flow/text-flow.md +63 -0
- package/llms/references/components/textareafield/textareafield.component.md +69 -0
- package/llms/references/components/textareafield/textareafield.md +113 -0
- package/llms/references/components/textfield/textfield.component.md +617 -0
- package/llms/references/components/textfield/textfield.md +161 -0
- package/llms/references/components/tile/tile.component.md +91 -0
- package/llms/references/components/tile/tile.md +92 -0
- package/llms/references/components/time/time.component.md +270 -0
- package/llms/references/components/time/time.md +127 -0
- package/llms/references/components/time-picker/time-picker.md +63 -0
- package/llms/references/components/timelines/timelines.component.md +159 -0
- package/llms/references/components/timelines/timelines.md +8 -0
- package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
- package/llms/references/components/title-and-text/title-and-text.md +60 -0
- package/llms/references/components/toasts/toasts.component.md +54 -0
- package/llms/references/components/toasts/toasts.md +112 -0
- package/llms/references/components/tooltip/tooltip.component.md +86 -0
- package/llms/references/components/tooltip/tooltip.md +217 -0
- package/llms/references/components/treeselect/treeselect.component.md +62 -0
- package/llms/references/components/treeselect/treeselect.md +58 -0
- package/llms/references/components/user-select/user-select.md +52 -0
- package/llms/references/components/userpopover/userpopover.component.md +50 -0
- package/llms/references/components/userpopover/userpopover.md +136 -0
- package/llms/references/components/verticalnavigation/verticalnavigation.component.md +236 -0
- package/llms/references/components/verticalnavigation/verticalnavigation.md +115 -0
- package/llms/references/migrations.md +32 -0
- package/llms/references/tools/angular-api.md +337 -0
- package/llms/references/tools/animations.md +173 -0
- package/llms/references/tools/mixins.md +106 -0
- package/llms/references/tools/numbers.md +81 -0
- package/llms/references/tools/scrollbox.md +59 -0
- package/llms/references/tools/utilitaires.md +951 -0
- package/llms/references/types/BubbleIllustration.md +5 -0
- package/llms/references/types/DecorativePalette.md +5 -0
- package/llms/references/types/Gap.md +5 -0
- package/llms/references/types/HighlightDataIllustration.md +5 -0
- package/llms/references/types/HighlightSectionIllustration.md +5 -0
- package/llms/references/types/LuccaIcon.md +5 -0
- package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
- package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
- package/llms.txt +221 -0
- package/package.json +12 -6
- package/types/lucca-front-ng-approbation-inbox.d.ts +3 -3
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# tooltip
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { LuTooltipPanelComponent, LuTooltipTriggerDirective } from '@lucca-front/ng/tooltip';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### LuTooltipPanelComponent (component)
|
|
12
|
+
|
|
13
|
+
**Selectors:** `lu-tooltip-panel`, `pr-tooltip-panel`
|
|
14
|
+
|
|
15
|
+
### LuTooltipTriggerDirective (directive)
|
|
16
|
+
|
|
17
|
+
**Selectors:** `[luTooltip]`, `[prTooltip]`
|
|
18
|
+
|
|
19
|
+
**exportAs:** `luTooltip`
|
|
20
|
+
|
|
21
|
+
#### Inputs
|
|
22
|
+
|
|
23
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
24
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
25
|
+
| `luTooltipInput` | `luTooltip` | `string \| SafeHtml` | `''` | — | — | — |
|
|
26
|
+
| `prTooltipInput` | `prTooltip` | `string \| SafeHtml` | `''` | — | — | — |
|
|
27
|
+
| `luTooltipEnterDelay` | `luTooltipEnterDelay` | `number` | `300` | — | `numberAttribute` | Délai d’apparition du tooltip au survol (en ms). |
|
|
28
|
+
| `prTooltipEnterDelay` | `prTooltipEnterDelay` | `number` | `300` | — | `numberAttribute` | — |
|
|
29
|
+
| `luTooltipLeaveDelay` | `luTooltipLeaveDelay` | `number` | `100` | — | `numberAttribute` | Délai de disparition du tooltip après la fin du survol (en ms). |
|
|
30
|
+
| `prTooltipLeaveDelay` | `prTooltipLeaveDelay` | `number` | `100` | — | `numberAttribute` | — |
|
|
31
|
+
| `luTooltipDisabled` | `luTooltipDisabled` | `boolean` | `false` | — | `booleanAttribute` | Désactive le tooltip. |
|
|
32
|
+
| `prTooltipDisabled` | `prTooltipDisabled` | `boolean` | `false` | — | `booleanAttribute` | — |
|
|
33
|
+
| `luTooltipOnlyForDisplay` | `luTooltipOnlyForDisplay` | `boolean` | `false` | — | `booleanAttribute` | Affiche un tooltip non restituée par les lecteurs d’écran. À utiliser si la réstitution est déjà portée par l’élément dé… |
|
|
34
|
+
| `prTooltipOnlyForDisplay` | `prTooltipOnlyForDisplay` | `boolean` | `false` | — | `booleanAttribute` | — |
|
|
35
|
+
| `luTooltipPosition` | `luTooltipPosition` | `'above' \| 'below' \| 'before' \| 'after'` | `'above'` | — | — | Position du tooltip par rapport à son élément déclencheur. |
|
|
36
|
+
| `prTooltipPosition` | `prTooltipPosition` | `'above' \| 'below' \| 'before' \| 'after'` | `'above'` | — | — | — |
|
|
37
|
+
| `luTooltipWhenEllipsisInput` | `luTooltipWhenEllipsis` | `boolean` | `false` | — | `booleanAttribute` | N’affiche le tooltip que lorsque le contenu de l’élément déclencheur est tronqué par une ellipse. |
|
|
38
|
+
| `prTooltipWhenEllipsisInput` | `prTooltipWhenEllipsis` | `boolean` | `false` | — | `booleanAttribute` | — |
|
|
39
|
+
| `luTooltipAnchor` | `luTooltipAnchor` | `FlexibleConnectedPositionStrategyOrigin \| LuTooltipAnchorRef \| null \| undefined` | `this.#host` | — | — | — |
|
|
40
|
+
| `prTooltipAnchor` | `prTooltipAnchor` | `FlexibleConnectedPositionStrategyOrigin \| LuTooltipAnchorRef \| null \| undefined` | `this.#host` | — | — | — |
|
|
41
|
+
| `id` | `id` | `string` | ``${this.#host.nativeElement.tagName.toLowerCase()}-tooltip-${nextId++}`` | — | — | — |
|
|
42
|
+
|
|
43
|
+
### Modules dépréciés
|
|
44
|
+
|
|
45
|
+
- ⚠️ `LuTooltipTriggerModule` — use `LuTooltipTriggerDirective` instead
|
|
46
|
+
- ⚠️ `LuTooltipModule` — use `LuTooltipTriggerDirective, LuTooltipPanelComponent` instead
|
|
47
|
+
|
|
48
|
+
## Related files
|
|
49
|
+
|
|
50
|
+
- 📝 [Code & implementation](./tooltip.component.md)
|
|
51
|
+
- 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/tooltip/tooltip.design.md)
|
|
52
|
+
- 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/tooltip/tooltip.figma.md)
|
|
53
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-overlays-tooltip-html-css--docs)
|
|
54
|
+
|
|
55
|
+
## Changelog
|
|
56
|
+
|
|
57
|
+
> 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.
|
|
58
|
+
|
|
59
|
+
### 22.0.0
|
|
60
|
+
|
|
61
|
+
`LuTooltipPanelComponent` :
|
|
62
|
+
+ selector `pr-tooltip-panel`
|
|
63
|
+
`LuTooltipTriggerDirective` :
|
|
64
|
+
+ selector `[prTooltip]`
|
|
65
|
+
+ `prTooltip` : string | SafeHtml
|
|
66
|
+
+ `prTooltipEnterDelay` : number
|
|
67
|
+
+ `prTooltipLeaveDelay` : number
|
|
68
|
+
+ `prTooltipDisabled` : boolean
|
|
69
|
+
+ `prTooltipOnlyForDisplay` : boolean
|
|
70
|
+
+ `prTooltipPosition` : 'above' | 'below' | 'before' | 'after'
|
|
71
|
+
+ `prTooltipWhenEllipsis` : boolean
|
|
72
|
+
+ `prTooltipAnchor` : FlexibleConnectedPositionStrategyOrigin | LuTooltipAnchorRef | null | undefined
|
|
73
|
+
~ `luTooltipPosition` : LuPopoverPosition → 'above' | 'below' | 'before' | 'after'
|
|
74
|
+
|
|
75
|
+
### Notes de release (ZeroHeight)
|
|
76
|
+
|
|
77
|
+
#### 21.3.1
|
|
78
|
+
|
|
79
|
+
##### Fixed
|
|
80
|
+
|
|
81
|
+
- Connected overlays are kept out of the push panel zone, so a tooltip is no longer clipped by it.
|
|
82
|
+
|
|
83
|
+
#### 21.2.5
|
|
84
|
+
|
|
85
|
+
##### Added
|
|
86
|
+
|
|
87
|
+
- The tooltip can now be closed with the `Escape` key.
|
|
88
|
+
|
|
89
|
+
##### Fixed
|
|
90
|
+
|
|
91
|
+
- Anchor reference resolution and the condition used to display the tooltip.
|
|
92
|
+
|
|
93
|
+
#### 21.2.4
|
|
94
|
+
|
|
95
|
+
##### Changed
|
|
96
|
+
|
|
97
|
+
- Ellipsis detection is batched with `afterRenderEffect` and no longer re-measures on scroll.
|
|
98
|
+
|
|
99
|
+
#### 21.1.4
|
|
100
|
+
|
|
101
|
+
##### Fixed
|
|
102
|
+
|
|
103
|
+
- Precision of the ellipsis detection.
|
|
104
|
+
|
|
105
|
+
#### 21.1.3
|
|
106
|
+
|
|
107
|
+
##### Fixed
|
|
108
|
+
|
|
109
|
+
- Memory leaks and per-cycle layout thrashing of the trigger directive.
|
|
110
|
+
|
|
111
|
+
#### 21.1.2
|
|
112
|
+
|
|
113
|
+
##### Fixed
|
|
114
|
+
|
|
115
|
+
- Reverted the rendering change shipped in `21.1.1`, which broke some tooltips.
|
|
116
|
+
|
|
117
|
+
#### 21.1.0
|
|
118
|
+
|
|
119
|
+
##### Changed
|
|
120
|
+
|
|
121
|
+
- `luTooltip` and `luTooltipWhenEllipsis` are now signal-based inputs.
|
|
122
|
+
|
|
123
|
+
#### 21.0.4
|
|
124
|
+
|
|
125
|
+
##### Fixed
|
|
126
|
+
|
|
127
|
+
- Ellipsis detection is updated when the content changes.
|
|
128
|
+
|
|
129
|
+
#### 21.0.0
|
|
130
|
+
|
|
131
|
+
##### Deprecated
|
|
132
|
+
|
|
133
|
+
- `LuTooltipModule` — import the standalone `LuTooltipTriggerDirective` and `LuTooltipPanelComponent` instead.
|
|
134
|
+
|
|
135
|
+
##### Fixed
|
|
136
|
+
|
|
137
|
+
- Generated tooltip `id` no longer collides between triggers.
|
|
138
|
+
|
|
139
|
+
#### 20.3.2
|
|
140
|
+
|
|
141
|
+
##### Changed
|
|
142
|
+
|
|
143
|
+
- Tooltip text is no longer hyphenated.
|
|
144
|
+
|
|
145
|
+
#### 20.1.3
|
|
146
|
+
|
|
147
|
+
##### Fixed
|
|
148
|
+
|
|
149
|
+
- Overflow of long tooltip contents.
|
|
150
|
+
|
|
151
|
+
#### 20.1.1
|
|
152
|
+
|
|
153
|
+
##### Added
|
|
154
|
+
|
|
155
|
+
- `role="button"` is set on the trigger when it is required for accessibility.
|
|
156
|
+
|
|
157
|
+
#### 20.1.0
|
|
158
|
+
|
|
159
|
+
##### Added
|
|
160
|
+
|
|
161
|
+
- `luTooltipAnchor` input to attach the tooltip to an external host element.
|
|
162
|
+
|
|
163
|
+
#### 19.1.2
|
|
164
|
+
|
|
165
|
+
##### Fixed
|
|
166
|
+
|
|
167
|
+
- Freeze caused by tooltips measuring their content too often.
|
|
168
|
+
|
|
169
|
+
#### 18.3.4
|
|
170
|
+
|
|
171
|
+
##### Fixed
|
|
172
|
+
|
|
173
|
+
- Missing `tabindex` on the trigger when the ellipsis logic is not used.
|
|
174
|
+
|
|
175
|
+
#### 18.3.2
|
|
176
|
+
|
|
177
|
+
##### Added
|
|
178
|
+
|
|
179
|
+
- Real time update of the tooltip content.
|
|
180
|
+
|
|
181
|
+
##### Fixed
|
|
182
|
+
|
|
183
|
+
- Excessive reflows caused by the ellipsis detection.
|
|
184
|
+
|
|
185
|
+
#### 18.2.4
|
|
186
|
+
|
|
187
|
+
##### Added
|
|
188
|
+
|
|
189
|
+
- The directive is exported as `luTooltip`.
|
|
190
|
+
|
|
191
|
+
#### 18.2.1
|
|
192
|
+
|
|
193
|
+
##### Fixed
|
|
194
|
+
|
|
195
|
+
- Ellipsis calculation.
|
|
196
|
+
|
|
197
|
+
#### 18.2.0
|
|
198
|
+
|
|
199
|
+
##### Added
|
|
200
|
+
|
|
201
|
+
- `luTooltipOnlyForDisplay` input for tooltips that must not be focusable.
|
|
202
|
+
|
|
203
|
+
##### Fixed
|
|
204
|
+
|
|
205
|
+
- Native Safari tooltip is no longer displayed on top of the component's one.
|
|
206
|
+
|
|
207
|
+
#### 18.1.1
|
|
208
|
+
|
|
209
|
+
##### Fixed
|
|
210
|
+
|
|
211
|
+
- The tooltip is removed when its trigger is destroyed.
|
|
212
|
+
|
|
213
|
+
#### 18.1.0
|
|
214
|
+
|
|
215
|
+
##### Changed
|
|
216
|
+
|
|
217
|
+
- Trigger directive reworked around a dedicated ellipsis detection system.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# treeselect — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-treeselect--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
### Select
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
11
|
+
import { LOCALE_ID } from '@angular/core';
|
|
12
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
13
|
+
import { LuCoreSelectDepartmentsDirective } from '@lucca-front/ng/core-select/department';
|
|
14
|
+
import { DividerComponent } from '@lucca-front/ng/divider';
|
|
15
|
+
import { FilterBarComponent, FilterPillComponent } from '@lucca-front/ng/filter-pills';
|
|
16
|
+
import { FormFieldComponent } from '@lucca-front/ng/form-field';
|
|
17
|
+
import { LuMultiSelectInputComponent } from '@lucca-front/ng/multi-select';
|
|
18
|
+
import { LuSimpleSelectInputComponent } from '@lucca-front/ng/simple-select';
|
|
19
|
+
import { TreeSelectDirective } from '@lucca-front/ng/tree-select';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<lu-form-field label="Basic tree multi-select">
|
|
24
|
+
<lu-multi-select [treeSelect]="groupingFn" [options]="allLegumes" placeholder="Multi-select tree" clearable />
|
|
25
|
+
</lu-form-field>
|
|
26
|
+
<br />
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
```html
|
|
30
|
+
<lu-form-field label="Basic tree multi-select">
|
|
31
|
+
<lu-multi-select [treeSelect]="groupingFn" [options]="allLegumes" placeholder="Multi-select tree" />
|
|
32
|
+
</lu-form-field>
|
|
33
|
+
<br />
|
|
34
|
+
<lu-form-field label="Basic tree simple-select">
|
|
35
|
+
<lu-simple-select [treeSelect]="groupingFn" [options]="allLegumes" placeholder="Simple-select tree" />
|
|
36
|
+
</lu-form-field>
|
|
37
|
+
<br />
|
|
38
|
+
<lu-divider />
|
|
39
|
+
<lu-form-field label="Department multi-select">
|
|
40
|
+
<lu-multi-select departments placeholder="Multi-select tree" />
|
|
41
|
+
</lu-form-field>
|
|
42
|
+
<br />
|
|
43
|
+
<lu-form-field label="Department simple-select">
|
|
44
|
+
<lu-simple-select departments placeholder="Simple-select tree" />
|
|
45
|
+
</lu-form-field>
|
|
46
|
+
<br />
|
|
47
|
+
<lu-divider />
|
|
48
|
+
<lu-filter-bar>
|
|
49
|
+
<lu-filter-pill label="Légumes">
|
|
50
|
+
<lu-multi-select filterPillLabelPlural="légumes" [treeSelect]="groupingFn" [options]="allLegumes" />
|
|
51
|
+
</lu-filter-pill>
|
|
52
|
+
<lu-filter-pill label="Départements">
|
|
53
|
+
<lu-multi-select departments filterPillLabelPlural="départements" />
|
|
54
|
+
</lu-filter-pill>
|
|
55
|
+
<lu-filter-pill label="Légume">
|
|
56
|
+
<lu-simple-select [treeSelect]="groupingFn" [options]="allLegumes" />
|
|
57
|
+
</lu-filter-pill>
|
|
58
|
+
<lu-filter-pill label="Département">
|
|
59
|
+
<lu-simple-select departments />
|
|
60
|
+
</lu-filter-pill>
|
|
61
|
+
</lu-filter-bar>
|
|
62
|
+
```
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# treeselect
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { TreeSelectDirective, TreeBranchComponent } from '@lucca-front/ng/tree-select';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### TreeSelectDirective (directive)
|
|
12
|
+
|
|
13
|
+
**Selectors:** `lu-simple-select[treeSelect]`, `lu-multi-select[treeSelect]`
|
|
14
|
+
|
|
15
|
+
#### Inputs
|
|
16
|
+
|
|
17
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
18
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
19
|
+
| `groupingFnInput` | `treeSelect` | `TreeGroupingFn<T>` | — | ✅ | — | — |
|
|
20
|
+
|
|
21
|
+
### TreeBranchComponent (component)
|
|
22
|
+
|
|
23
|
+
**Selector:** `lu-tree-branch`
|
|
24
|
+
|
|
25
|
+
#### Inputs
|
|
26
|
+
|
|
27
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
28
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
29
|
+
| `branch` | `branch` | `TreeNode<T>` | — | ✅ | — | — |
|
|
30
|
+
| `optionTpl` | `optionTpl` | `TemplateRef<LuOptionContext<T>> \| Type<unknown> \| undefined` | — | ✅ | — | — |
|
|
31
|
+
| `optionIndex` | `optionIndex` | `unknown` | — | ✅ | — | — |
|
|
32
|
+
| `optionComparer` | `optionComparer` | `LuOptionComparer<T>` | — | ✅ | — | — |
|
|
33
|
+
| `selectedOptions` | `selectedOptions` | `T[]` | `[]` | — | — | — |
|
|
34
|
+
| `simpleMode` | `simpleMode` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
35
|
+
|
|
36
|
+
#### Outputs
|
|
37
|
+
|
|
38
|
+
| Property | Binding name | Type | Notes |
|
|
39
|
+
|----------|-------------|------|-------|
|
|
40
|
+
| `toggleOne` | `toggleOne` | `T` | — |
|
|
41
|
+
| `selectMany` | `selectMany` | `T[]` | — |
|
|
42
|
+
| `unselectMany` | `unselectMany` | `T[]` | — |
|
|
43
|
+
|
|
44
|
+
## Related files
|
|
45
|
+
|
|
46
|
+
- 📝 [Code & implementation](./treeselect.component.md)
|
|
47
|
+
|
|
48
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-treeselect--docs)
|
|
49
|
+
|
|
50
|
+
## Changelog
|
|
51
|
+
|
|
52
|
+
> 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.
|
|
53
|
+
|
|
54
|
+
### 22.0.0
|
|
55
|
+
|
|
56
|
+
`TreeBranchComponent` :
|
|
57
|
+
- `depth`
|
|
58
|
+
~ `simpleMode` : transform booleanAttribute → luBooleanAttribute
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# user-select
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { LuUserSelectInputComponent } from '@lucca-front/ng/user';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### LuUserSelectInputComponent (component)
|
|
12
|
+
|
|
13
|
+
**Selector:** `lu-user-select`
|
|
14
|
+
|
|
15
|
+
> ⚠️ **Déprécié** : prefer SimpleSelect or MultipleSelect with luCustomUsers directive
|
|
16
|
+
|
|
17
|
+
#### Inputs
|
|
18
|
+
|
|
19
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
20
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
21
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
22
|
+
| `fields` | `fields` | `string` | — | — | — | — |
|
|
23
|
+
| `filters` | `filters` | `string[]` | — | — | — | — |
|
|
24
|
+
| `orderBy` | `orderBy` | `string` | — | — | — | — |
|
|
25
|
+
| `appInstanceId` | `appInstanceId` | `number \| string` | — | — | — | — |
|
|
26
|
+
| `operations` | `operations` | `number[]` | — | — | — | — |
|
|
27
|
+
| `enableFormerEmployees` | `enableFormerEmployees` | `boolean` | `false` | — | `booleanAttribute` | — |
|
|
28
|
+
| `disablePrincipal` | `disablePrincipal` | `boolean` | `false` | — | `booleanAttribute` | — |
|
|
29
|
+
|
|
30
|
+
### Injection tokens
|
|
31
|
+
|
|
32
|
+
| Token | Type | Description |
|
|
33
|
+
|-------|------|-------------|
|
|
34
|
+
| `LU_USER_SELECT_INPUT_TRANSLATIONS` | `unknown` | — |
|
|
35
|
+
|
|
36
|
+
### Modules dépréciés
|
|
37
|
+
|
|
38
|
+
- ⚠️ `LuUserSelectModule` — prefer SimpleSelect or MultipleSelect with luCustomUsers directive
|
|
39
|
+
- ⚠️ `LuUserSelectInputModule` — prefer SimpleSelect or MultipleSelect with luCustomUsers directive
|
|
40
|
+
- ⚠️ `LuUserModule` — use `LuUserDisplayPipe, LuUserPictureComponent, LuUserTileComponent` instead
|
|
41
|
+
|
|
42
|
+
## Related files
|
|
43
|
+
|
|
44
|
+
## Changelog
|
|
45
|
+
|
|
46
|
+
> 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.
|
|
47
|
+
|
|
48
|
+
### 22.0.0
|
|
49
|
+
|
|
50
|
+
- `placeholder`
|
|
51
|
+
~ `enableFormerEmployees` : transform ∅ → booleanAttribute
|
|
52
|
+
~ `disablePrincipal` : transform ∅ → booleanAttribute
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# userpopover — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-users-display-userpopover--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
### Utilisation
|
|
8
|
+
|
|
9
|
+
Pour utiliser la UserPopover, il vous suffit d'utiliser la directive `[luUserPopover]` et de lui fournir un LuUser
|
|
10
|
+
|
|
11
|
+
Note : l'import du composant se fait seulement à son utilisation. Le style lié à `userPopover_trigger` peut donc ne pas être chargé à l'initialisation de la page. Dans ce cas, il est possible de remplacer cette classe par les utilitaires `pr-u-buttonReset pr-u-inlineSizeFitContent pr-u-borderRadiusDefault` ou `pr-u-buttonReset pr-u-inlineSizeFitContent pr-u-borderRadiusFull`.
|
|
12
|
+
|
|
13
|
+
#### luEmployeeCard
|
|
14
|
+
|
|
15
|
+
Permet de fournir un utilisateur à la UserPopover.
|
|
16
|
+
|
|
17
|
+
#### luUserPopoverEnterDelay
|
|
18
|
+
|
|
19
|
+
Permet de définir le délai avant l'affichage du UserPopover en millisecondes. Par défaut 300
|
|
20
|
+
|
|
21
|
+
#### luUserPopoverLeaveDelay
|
|
22
|
+
|
|
23
|
+
Permet de définir le délai avant la disparition du UserPopover en millisecondes. Par défaut 100
|
|
24
|
+
|
|
25
|
+
#### luUserPopoverDisabled
|
|
26
|
+
|
|
27
|
+
Permet de désactiver le UserPopover
|
|
28
|
+
|
|
29
|
+
### Store et Services
|
|
30
|
+
|
|
31
|
+
Le User popover est fournit avec un service qui gère la récupération des données, mais aussi qui stocke les informations des utilisateurs déjà récupérés, y compris les images.
|
|
32
|
+
Ce service est un singleton et est donc partagé entre tous les UserPopover de l'application.
|
|
33
|
+
|
|
34
|
+
Il est possible de fournir un autre service qui implémente l'interface `ILuUserPopoverStore` pour gérer la récupération des données et le stockage des informations.
|
|
35
|
+
|
|
36
|
+
### Popover
|
|
37
|
+
|
|
38
|
+
```js
|
|
39
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
40
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
41
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
42
|
+
import { LuUserDisplayModule } from '@lucca-front/ng/user';
|
|
43
|
+
import { LuUserPopoverDirective } from '@lucca-front/ng/user-popover';
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<button type="button" class="userPopover_trigger" [luUserPopover]="finn" translate="no">
|
|
48
|
+
{{ finn | luUserDisplay: "lf" }}
|
|
49
|
+
</button>
|
|
50
|
+
```
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# userpopover
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { LuUserPopoverComponent, LuUserPopoverDirective } from '@lucca-front/ng/user-popover';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### LuUserPopoverComponent (component)
|
|
12
|
+
|
|
13
|
+
**Selector:** `lu-user-popover-content`
|
|
14
|
+
|
|
15
|
+
#### Inputs
|
|
16
|
+
|
|
17
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
18
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
19
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
20
|
+
|
|
21
|
+
### LuUserPopoverDirective (directive)
|
|
22
|
+
|
|
23
|
+
**Selector:** `[luUserPopover]`
|
|
24
|
+
|
|
25
|
+
**exportAs:** `LuUserPopoverDirective`
|
|
26
|
+
|
|
27
|
+
#### Inputs
|
|
28
|
+
|
|
29
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
30
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
31
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
32
|
+
| `luPopover2` | `luPopover2` | `TemplateRef<unknown> \| Type<unknown>` | — | — | — | — |
|
|
33
|
+
| `luPopoverPosition` | `luPopoverPosition` | `PopoverPosition \| null` | `null` | — | — | — |
|
|
34
|
+
| `luPopoverMaxBlockSize` | `luPopoverMaxBlockSize` | `string \| null` | `null` | — | — | — |
|
|
35
|
+
| `luPopoverMaxInlineSize` | `luPopoverMaxInlineSize` | `string \| null` | `null` | — | — | — |
|
|
36
|
+
| `overlayScrollStrategy` | `overlayScrollStrategy` | `'reposition' \| 'block' \| 'close'` | `'reposition'` | — | — | — |
|
|
37
|
+
| `luPopoverDisabledInput` | `luPopoverDisabled` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
38
|
+
| `customPositionsInput` | `customPositions` | `ConnectionPositionPair[] \| null` | `null` | — | — | — |
|
|
39
|
+
| `luPopoverNoCloseButtonInput` | `luPopoverNoCloseButton` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
40
|
+
| `luPopoverAnchor` | `luPopoverAnchor` | `FlexibleConnectedPositionStrategyOrigin` | `this.elementRef` | — | — | — |
|
|
41
|
+
| `luPopoverIgnoredOutsidePointerTargets` | `luPopoverIgnoredOutsidePointerTargets` | `HTMLElement \| HTMLElement[] \| null` | `null` | — | — | — |
|
|
42
|
+
| `luPopoverOpenDelay` | `luPopoverOpenDelay` | `number` | `300` | — | `luNumberAttribute` | — |
|
|
43
|
+
| `luPopoverCloseDelay` | `luPopoverCloseDelay` | `number` | `100` | — | `luNumberAttribute` | — |
|
|
44
|
+
| `luUserPopover` | `luUserPopover` | `ILuUser` | — | ✅ | — | — |
|
|
45
|
+
| `luUserPopoverDisabled` | `luUserPopoverDisabled` | `boolean` | `false` | — | — | — |
|
|
46
|
+
|
|
47
|
+
#### Outputs
|
|
48
|
+
|
|
49
|
+
| Property | Binding name | Type | Notes |
|
|
50
|
+
|----------|-------------|------|-------|
|
|
51
|
+
| `luPopoverClosed` | `luPopoverClosed` | `void` | — |
|
|
52
|
+
| `luPopoverOpened` | `luPopoverOpened` | `void` | — |
|
|
53
|
+
|
|
54
|
+
#### Models (two-way binding)
|
|
55
|
+
|
|
56
|
+
| Property | Type | Required | Notes |
|
|
57
|
+
|----------|------|----------|-------|
|
|
58
|
+
| `luPopoverTrigger` | `'click' \| 'click+hover' \| 'hover+focus'` | — | — |
|
|
59
|
+
|
|
60
|
+
### Providers
|
|
61
|
+
|
|
62
|
+
| Fonction | Signature | Description |
|
|
63
|
+
|----------|-----------|-------------|
|
|
64
|
+
| `provideLuUserPopover` | `()` | ⚠️ **Déprécié** : no longer needed as user popover uses `luPopover2` |
|
|
65
|
+
|
|
66
|
+
### Injection tokens
|
|
67
|
+
|
|
68
|
+
| Token | Type | Description |
|
|
69
|
+
|-------|------|-------------|
|
|
70
|
+
| `LU_POPUP_EMPLOYEE_TRANSLATIONS` | `unknown` | — |
|
|
71
|
+
| `LU_USER_POPOVER_USER` | `Signal<ILuUser>` | — |
|
|
72
|
+
| `USER_POPOVER_IS_ACTIVATED` | `Observable<boolean>` | ⚠️ **Déprécié** : no longer needed as popover is always activated |
|
|
73
|
+
|
|
74
|
+
## Related files
|
|
75
|
+
|
|
76
|
+
- 📝 [Code & implementation](./userpopover.component.md)
|
|
77
|
+
- 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/userpopover/userpopover.design.md)
|
|
78
|
+
- 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/userpopover/userpopover.figma.md)
|
|
79
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-users-display-userpopover--docs)
|
|
80
|
+
|
|
81
|
+
## Changelog
|
|
82
|
+
|
|
83
|
+
> 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.
|
|
84
|
+
|
|
85
|
+
### 22.0.0
|
|
86
|
+
|
|
87
|
+
`LuUserPopoverDirective` :
|
|
88
|
+
+ `luPopoverIgnoredOutsidePointerTargets` : HTMLElement | HTMLElement[] | null
|
|
89
|
+
~ `luPopoverDisabled` : transform booleanAttribute → luBooleanAttribute
|
|
90
|
+
~ `customPositions` : unknown → ConnectionPositionPair[] | null, défaut ∅ → null
|
|
91
|
+
~ `luPopoverNoCloseButton` : transform booleanAttribute → luBooleanAttribute
|
|
92
|
+
~ `luPopoverOpenDelay` : transform ∅ → luNumberAttribute
|
|
93
|
+
~ `luPopoverCloseDelay` : transform ∅ → luNumberAttribute
|
|
94
|
+
~ `luUserPopoverDisabled` : défaut ∅ → false
|
|
95
|
+
|
|
96
|
+
### Notes de release (ZeroHeight)
|
|
97
|
+
|
|
98
|
+
#### 21.1.0
|
|
99
|
+
|
|
100
|
+
##### Changed
|
|
101
|
+
|
|
102
|
+
- `intl` input now accepts partial overrides that are merged with the default translations.
|
|
103
|
+
|
|
104
|
+
##### Fixed
|
|
105
|
+
|
|
106
|
+
- Explicit type on the `luUserPopover` signal input.
|
|
107
|
+
|
|
108
|
+
#### 20.3.0
|
|
109
|
+
|
|
110
|
+
##### Added
|
|
111
|
+
|
|
112
|
+
- Skeleton displayed while the user data is loading.
|
|
113
|
+
|
|
114
|
+
#### 20.1.1
|
|
115
|
+
|
|
116
|
+
##### Added
|
|
117
|
+
|
|
118
|
+
- Keyboard navigation inside the popover content.
|
|
119
|
+
|
|
120
|
+
#### 20.1.0
|
|
121
|
+
|
|
122
|
+
##### Added
|
|
123
|
+
|
|
124
|
+
- `[luUserPopover]` directive and `lu-user-popover-content` component, with the `luUserPopover` and `intl` inputs, plus the `LU_USER_POPOVER_USER` and `USER_POPOVER_IS_ACTIVATED` injection tokens.
|
|
125
|
+
- Loader displayed while the user is being fetched.
|
|
126
|
+
|
|
127
|
+
##### Changed
|
|
128
|
+
|
|
129
|
+
- The popover is now hosted by the `popover2` directives.
|
|
130
|
+
|
|
131
|
+
#### 18.1.0
|
|
132
|
+
|
|
133
|
+
##### Changed
|
|
134
|
+
|
|
135
|
+
- Dates are displayed with the short format instead of the long one.
|
|
136
|
+
- Avatar size variants updated.
|