@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,104 @@
|
|
|
1
|
+
# calendar
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { LuCalendarInputComponent } from '@lucca-front/ng/date';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Basic Usage
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<lu-calendar2 [hideToday]="false" [showOverflow]="true" [enableOverflow]="true" [date]="currentMonth" mode="year" (dateClicked)="selected($event)" />
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## API Reference
|
|
16
|
+
|
|
17
|
+
### LuCalendarInputComponent (component)
|
|
18
|
+
|
|
19
|
+
**Selector:** `lu-calendar`
|
|
20
|
+
|
|
21
|
+
#### Inputs
|
|
22
|
+
|
|
23
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
24
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
25
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
26
|
+
| `min` | `min` | `D` | — | — | — | — |
|
|
27
|
+
| `max` | `max` | `D` | — | — | — | — |
|
|
28
|
+
| `granularity` | `granularity` | `LuDateGranularity` | `ELuDateGranularity.day` | — | — | — |
|
|
29
|
+
| `startOn` | `startOn` | `D` | — | — | — | — |
|
|
30
|
+
|
|
31
|
+
### Modules dépréciés
|
|
32
|
+
|
|
33
|
+
- ⚠️ `LuDateModule` — use `LuCalendarInputComponent, LuDatePickerComponent, LuDateInputDirective, LuDateAdapterPipe, LuDateSelectInputComponent` instead
|
|
34
|
+
|
|
35
|
+
## Related files
|
|
36
|
+
|
|
37
|
+
- 📝 [Code & implementation](./calendar.component.md)
|
|
38
|
+
- 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/calendar/calendar.design.md)
|
|
39
|
+
- 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/calendar/calendar.figma.md)
|
|
40
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-forms-date-calendar--docs)
|
|
41
|
+
|
|
42
|
+
## Changelog
|
|
43
|
+
|
|
44
|
+
> 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.
|
|
45
|
+
|
|
46
|
+
### 22.0.0
|
|
47
|
+
|
|
48
|
+
~ `min` : unknown → D
|
|
49
|
+
~ `max` : unknown → D
|
|
50
|
+
~ `startOn` : défaut this._adapter.forgeToday() → ∅
|
|
51
|
+
|
|
52
|
+
### Notes de release (ZeroHeight)
|
|
53
|
+
|
|
54
|
+
#### 21.1.0
|
|
55
|
+
|
|
56
|
+
##### Added
|
|
57
|
+
|
|
58
|
+
- `intl`: added an `intl` input on `lu-calendar` and `lu-calendar2` to override the component's built-in translations.
|
|
59
|
+
|
|
60
|
+
#### 21.0.3
|
|
61
|
+
|
|
62
|
+
##### Fixed
|
|
63
|
+
|
|
64
|
+
- `lu-calendar`: dates disabled by `min`/`max` now display a proper disabled style (dimmed color, strikethrough, non-interactive hover).
|
|
65
|
+
|
|
66
|
+
#### 21.0.0
|
|
67
|
+
|
|
68
|
+
##### Deprecated
|
|
69
|
+
|
|
70
|
+
- `LuCalendarInputModule`: deprecated, import the standalone `LuCalendarInputComponent` instead.
|
|
71
|
+
|
|
72
|
+
##### Fixed
|
|
73
|
+
|
|
74
|
+
- `lu-calendar2`: the day grid now always renders a 6th week row so the calendar keeps a consistent height across months.
|
|
75
|
+
|
|
76
|
+
#### 20.3.0
|
|
77
|
+
|
|
78
|
+
##### Changed
|
|
79
|
+
|
|
80
|
+
- `displayMode`: the `lu-calendar2` `displayMode` model now defaults to `null` and falls back to `mode`, letting consumers set the starting display mode without overriding the navigation mode.
|
|
81
|
+
|
|
82
|
+
#### 20.2.0
|
|
83
|
+
|
|
84
|
+
##### Fixed
|
|
85
|
+
|
|
86
|
+
- `lu-calendar2`: improved weekday header accessibility, decorative day initials are now `aria-hidden` while the full day name stays available to screen readers.
|
|
87
|
+
|
|
88
|
+
#### 19.2.0
|
|
89
|
+
|
|
90
|
+
##### Added
|
|
91
|
+
|
|
92
|
+
- `intl`: added translatable previous/next navigation labels on `lu-calendar`.
|
|
93
|
+
|
|
94
|
+
#### 18.3.0
|
|
95
|
+
|
|
96
|
+
##### Added
|
|
97
|
+
|
|
98
|
+
- `lu-calendar2` (`Calendar2Component`): new standalone calendar component built on `date-fns`. Supports day/month/year modes, date ranges, keyboard navigation, overflow-day display and a "today" button. Inputs: `showOverflow`, `enableOverflow`, `hideToday`, `hasTodayButton`, `hideWeekend`, `ranges`, `getCellInfo`; models: `date` (required), `tabbableDate`, `mode`, `displayMode`; outputs: `nextPage`, `previousPage`, `dateClicked`.
|
|
99
|
+
|
|
100
|
+
#### 18.1.0
|
|
101
|
+
|
|
102
|
+
##### Changed
|
|
103
|
+
|
|
104
|
+
- `granularity`: the `lu-calendar` `granularity` input now accepts the `LuDateGranularity` string union (e.g. `'day'`) in addition to the `ELuDateGranularity` enum.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# calendar2
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { Calendar2Component } from '@lucca-front/ng/date2';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## API Reference
|
|
10
|
+
|
|
11
|
+
### Calendar2Component (component)
|
|
12
|
+
|
|
13
|
+
**Selector:** `lu-calendar2`
|
|
14
|
+
|
|
15
|
+
#### Inputs
|
|
16
|
+
|
|
17
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
18
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
19
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
20
|
+
| `showOverflow` | `showOverflow` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
21
|
+
| `enableOverflow` | `enableOverflow` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
22
|
+
| `removeYearOverflow` | `removeYearOverflow` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
23
|
+
| `hideToday` | `hideToday` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
24
|
+
| `hasTodayButton` | `hasTodayButton` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
25
|
+
| `hideWeekend` | `hideWeekend` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
26
|
+
| `disableModeChange` | `disableModeChange` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
27
|
+
| `ranges` | `ranges` | `readonly DateRange[]` | `[]` | — | — | — |
|
|
28
|
+
| `getCellInfo` | `getCellInfo` | `(date: Date, displayMode: CalendarMode \| null) => CellStatus` | `(_date: Date) => ({
|
|
29
|
+
classes: []` | — | — | — |
|
|
30
|
+
|
|
31
|
+
#### Outputs
|
|
32
|
+
|
|
33
|
+
| Property | Binding name | Type | Notes |
|
|
34
|
+
|----------|-------------|------|-------|
|
|
35
|
+
| `nextPage` | `nextPage` | `void` | — |
|
|
36
|
+
| `previousPage` | `previousPage` | `void` | — |
|
|
37
|
+
| `dateClicked` | `dateClicked` | `Date` | — |
|
|
38
|
+
|
|
39
|
+
#### Models (two-way binding)
|
|
40
|
+
|
|
41
|
+
| Property | Type | Required | Notes |
|
|
42
|
+
|----------|------|----------|-------|
|
|
43
|
+
| `date` | `Date` | ✅ | — |
|
|
44
|
+
| `tabbableDate` | `Date \| null` | — | — |
|
|
45
|
+
| `mode` | `CalendarMode` | — | — |
|
|
46
|
+
| `displayMode` | `CalendarMode \| null` | — | — |
|
|
47
|
+
| `dateHovered` | `Date \| null` | — | — |
|
|
48
|
+
|
|
49
|
+
## Related files
|
|
50
|
+
|
|
51
|
+
## Changelog
|
|
52
|
+
|
|
53
|
+
> 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.
|
|
54
|
+
|
|
55
|
+
### 22.0.0
|
|
56
|
+
|
|
57
|
+
~ `showOverflow` : transform booleanAttribute → luBooleanAttribute
|
|
58
|
+
~ `enableOverflow` : transform booleanAttribute → luBooleanAttribute
|
|
59
|
+
~ `removeYearOverflow` : transform booleanAttribute → luBooleanAttribute
|
|
60
|
+
~ `hideToday` : transform booleanAttribute → luBooleanAttribute
|
|
61
|
+
~ `hasTodayButton` : transform booleanAttribute → luBooleanAttribute
|
|
62
|
+
~ `hideWeekend` : transform booleanAttribute → luBooleanAttribute
|
|
63
|
+
~ `disableModeChange` : transform booleanAttribute → luBooleanAttribute
|
|
64
|
+
~ `getCellInfo` : (date: Date, displayMode: CalendarMode) => CellStatus → (date: Date, displayMode: CalendarMode | null) => CellStatus
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
# callout — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-feedback-callout-angular-ai--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
### Ai action
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
11
|
+
import { CalloutActionsComponent, CalloutComponent, CalloutFeedbackItemComponent, CalloutFeedbackListComponent } from '@lucca-front/ng/callout';
|
|
12
|
+
import { IconComponent } from '@lucca-front/ng/icon';
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<lu-callout AI iconAlt="Assistant IA" icon="weatherStars">
|
|
17
|
+
<p>
|
|
18
|
+
<strong>Achat détecté :</strong>
|
|
19
|
+
la facture correspond à l’
|
|
20
|
+
<a href="#">achat nº 832</a>
|
|
21
|
+
</p>
|
|
22
|
+
<lu-callout-actions>
|
|
23
|
+
<button luButton="outlined">Associer</button>
|
|
24
|
+
<button luButton="outlined">Refuser</button>
|
|
25
|
+
</lu-callout-actions>
|
|
26
|
+
</lu-callout>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Ai event
|
|
30
|
+
|
|
31
|
+
```js
|
|
32
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
33
|
+
import { CalloutActionsComponent, CalloutComponent, CalloutFeedbackItemComponent, CalloutFeedbackListComponent } from '@lucca-front/ng/callout';
|
|
34
|
+
import { IconComponent } from '@lucca-front/ng/icon';
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```html
|
|
38
|
+
<lu-callout AI iconAlt="Assistant IA" icon="weatherStars">
|
|
39
|
+
<p>Fixer des objectifs SMART</p>
|
|
40
|
+
<lu-callout-actions inline>
|
|
41
|
+
<button luButton="outlined">Reformuler les objectifs</button>
|
|
42
|
+
</lu-callout-actions>
|
|
43
|
+
</lu-callout>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Ai suggestion
|
|
47
|
+
|
|
48
|
+
```js
|
|
49
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
50
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
51
|
+
import { CalloutActionsComponent, CalloutComponent, CalloutFeedbackItemComponent, CalloutFeedbackListComponent } from '@lucca-front/ng/callout';
|
|
52
|
+
import { FormFieldComponent } from '@lucca-front/ng/form-field';
|
|
53
|
+
import { TextInputComponent } from '@lucca-front/ng/forms';
|
|
54
|
+
import { IconComponent } from '@lucca-front/ng/icon';
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
```html
|
|
58
|
+
<div class="suggestion">
|
|
59
|
+
<lu-form-field label="Intitulé" class="suggestion-form-field">
|
|
60
|
+
<lu-text-input required type="text" [(ngModel)]="example" />
|
|
61
|
+
</lu-form-field>
|
|
62
|
+
<lu-callout AI iconAlt="Assistant IA" icon="weatherStars" class="suggestion-callout">
|
|
63
|
+
<div class="suggestion-callout-text">
|
|
64
|
+
<p>Optimiser l’utilisation des composants de formulaire selon les besoins</p>
|
|
65
|
+
</div>
|
|
66
|
+
<lu-callout-actions inline>
|
|
67
|
+
<button luButton="outlined" class="suggestion-callout-accept">
|
|
68
|
+
<lu-icon icon="signConfirm" alt="Accepter" />
|
|
69
|
+
</button>
|
|
70
|
+
<button luButton="outlined" class="suggestion-callout-reject"><lu-icon icon="signClose" alt="Refuser" /></button>
|
|
71
|
+
</lu-callout-actions>
|
|
72
|
+
</lu-callout>
|
|
73
|
+
</div>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Ai
|
|
77
|
+
|
|
78
|
+
```js
|
|
79
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
80
|
+
import { CalloutActionsComponent, CalloutComponent, CalloutFeedbackItemComponent, CalloutFeedbackListComponent } from '@lucca-front/ng/callout';
|
|
81
|
+
import { IconComponent } from '@lucca-front/ng/icon';
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```html
|
|
85
|
+
<lu-callout AI iconAlt="Assistant IA" icon="weatherStars">
|
|
86
|
+
<p>Des champs ont été pré-remplis après analyse.</p>
|
|
87
|
+
</lu-callout>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Basic
|
|
91
|
+
|
|
92
|
+
Component selector : `lu-callout`
|
|
93
|
+
|
|
94
|
+
```js
|
|
95
|
+
import { CalloutComponent } from "@lucca-front/ng/callout";
|
|
96
|
+
import { CalloutActionsComponent } from '@lucca-front/ng/callout'; /* [v20.3] Si <lu-callout-action> est utilisé */
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
```html
|
|
100
|
+
<lu-callout>
|
|
101
|
+
<p>Feedback description</p>
|
|
102
|
+
</lu-callout>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## HTML/CSS
|
|
106
|
+
|
|
107
|
+
### Actions
|
|
108
|
+
|
|
109
|
+
Classe CSS : `.callout`
|
|
110
|
+
|
|
111
|
+
```css
|
|
112
|
+
@forward '@lucca-front/scss/src/components/callout';
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
```html
|
|
116
|
+
<div class="callout">
|
|
117
|
+
<div class="callout-content">
|
|
118
|
+
<div class="callout-content-description">
|
|
119
|
+
<p>Feedback description</p>
|
|
120
|
+
<div class="callout-content-description-actions">
|
|
121
|
+
<button class="button mod-outlined" type="button">Button</button>
|
|
122
|
+
<button class="button mod-ghost" type="button">Button</button>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### ActionsInline
|
|
130
|
+
|
|
131
|
+
Classe CSS : `.callout`
|
|
132
|
+
|
|
133
|
+
```css
|
|
134
|
+
@forward '@lucca-front/scss/src/components/callout';
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
```html
|
|
138
|
+
<div class="callout">
|
|
139
|
+
<div class="callout-content">
|
|
140
|
+
<div class="callout-content-description">
|
|
141
|
+
<p>Feedback description</p>
|
|
142
|
+
<div class="callout-content-description-actions mod-inline">
|
|
143
|
+
<button class="button mod-outlined" type="button">Button</button>
|
|
144
|
+
<button class="button mod-ghost" type="button">Button</button>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Basic
|
|
152
|
+
|
|
153
|
+
Classe CSS : `.callout`
|
|
154
|
+
|
|
155
|
+
```css
|
|
156
|
+
@forward '@lucca-front/scss/src/components/callout';
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
```html
|
|
160
|
+
<div class="callout">
|
|
161
|
+
<div class="callout-content">
|
|
162
|
+
<p class="callout-content-description">Feedback description</p>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Ia
|
|
168
|
+
|
|
169
|
+
Classe CSS : `.callout`
|
|
170
|
+
|
|
171
|
+
```css
|
|
172
|
+
@forward '@lucca-front/scss/src/components/callout';
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
```html
|
|
176
|
+
<div class="callout mod-AI">
|
|
177
|
+
<div class="callout-icon">
|
|
178
|
+
<span aria-hidden="true" class="lucca-icon icon-weatherStars"></span>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="callout-content">
|
|
181
|
+
<p class="callout-content-description">Feedback description</p>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Icons
|
|
187
|
+
|
|
188
|
+
Classe CSS : `.callout`
|
|
189
|
+
|
|
190
|
+
```css
|
|
191
|
+
@forward '@lucca-front/scss/src/components/callout';
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
```html
|
|
195
|
+
<div class="callout">
|
|
196
|
+
<div class="callout-icon">
|
|
197
|
+
<span aria-hidden="true" class="lucca-icon icon-signHelp"></span>
|
|
198
|
+
</div>
|
|
199
|
+
<div class="callout-content">
|
|
200
|
+
<p class="callout-content-description">Feedback description</p>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Killable
|
|
206
|
+
|
|
207
|
+
Classe CSS : `.callout`
|
|
208
|
+
|
|
209
|
+
```css
|
|
210
|
+
@forward '@lucca-front/scss/src/components/callout';
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
```html
|
|
214
|
+
<div class="callout">
|
|
215
|
+
<div class="callout-content">
|
|
216
|
+
<p class="callout-content-description">Feedback description</p>
|
|
217
|
+
</div>
|
|
218
|
+
<button type="button" class="callout-kill"></button>
|
|
219
|
+
</div>
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Title
|
|
223
|
+
|
|
224
|
+
Classe CSS : `.callout`
|
|
225
|
+
|
|
226
|
+
```css
|
|
227
|
+
@forward '@lucca-front/scss/src/components/callout';
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
```html
|
|
231
|
+
<div class="callout">
|
|
232
|
+
<div class="callout-content">
|
|
233
|
+
<strong class="callout-content-title">Dépense non prise en charge</strong>
|
|
234
|
+
<p class="callout-content-description">Vous l'avez déclarée comme usage personnel le 29 août 2023.</p>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
```
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
# callout
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { CalloutActionsComponent, CalloutFeedbackItemDescriptionDirective, CalloutFeedbackItemComponent, CalloutFeedbackListComponent, CalloutComponent } from '@lucca-front/ng/callout';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Basic Usage
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<lu-callout> <p>Feedback description</p>
|
|
13
|
+
</lu-callout>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## API Reference
|
|
17
|
+
|
|
18
|
+
### CalloutActionsComponent (component)
|
|
19
|
+
|
|
20
|
+
**Selector:** `lu-callout-actions`
|
|
21
|
+
|
|
22
|
+
#### Inputs
|
|
23
|
+
|
|
24
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
25
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
26
|
+
| `inline` | `inline` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
27
|
+
|
|
28
|
+
### CalloutFeedbackItemDescriptionDirective (directive)
|
|
29
|
+
|
|
30
|
+
**Selector:** `lu-feedback-item-description`
|
|
31
|
+
|
|
32
|
+
### CalloutFeedbackItemComponent (component)
|
|
33
|
+
|
|
34
|
+
**Selector:** `li[lu-callout-feedback-item]`
|
|
35
|
+
|
|
36
|
+
### CalloutFeedbackListComponent (component)
|
|
37
|
+
|
|
38
|
+
**Selector:** `ul[lu-callout-feedback-list]`
|
|
39
|
+
|
|
40
|
+
#### Inputs
|
|
41
|
+
|
|
42
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
43
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
44
|
+
| `palette` | `palette` | `Palette` | — | — | — | Applique une palette de couleurs au callout. |
|
|
45
|
+
| `size` | `size` | `'M' \| 'S'` | — | — | — | Modifie la taille du callout. |
|
|
46
|
+
|
|
47
|
+
### CalloutComponent (component)
|
|
48
|
+
|
|
49
|
+
**Selector:** `lu-callout`
|
|
50
|
+
|
|
51
|
+
#### Inputs
|
|
52
|
+
|
|
53
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
54
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
55
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
56
|
+
| `heading` | `heading` | `PortalContent` | — | — | — | Ajoute un titre au callout. [PortalContent] |
|
|
57
|
+
| `hx` | `hx` | `unknown` | `null` | — | `luNumberAttribute` | — |
|
|
58
|
+
| `palette` | `palette` | `Palette` | `'none'` | — | — | Applique une palette de couleurs au callout. |
|
|
59
|
+
| `size` | `size` | `'M' \| 'S'` | — | — | — | Modifie la taille du callout. |
|
|
60
|
+
| `state` | `state` | `'success' \| 'warning' \| 'error'` | — | — | — | État du callout. |
|
|
61
|
+
| `icon` | `icon` | `LuccaIcon` | — | — | — | Ajoute une icône au callout. |
|
|
62
|
+
| `removable` | `removable` | `boolean` | `false` | — | `luBooleanAttribute` | Ajoute un bouton de suppression au callout. |
|
|
63
|
+
| `removed` | `removed` | `boolean` | `false` | — | `luBooleanAttribute` | Masque le callout. |
|
|
64
|
+
| `iconAlt` | `iconAlt` | `string \| null` | `null` | — | — | Information de l’icône restituée par le lecteur d’écran. |
|
|
65
|
+
| `AI` | `AI` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
66
|
+
|
|
67
|
+
#### Outputs
|
|
68
|
+
|
|
69
|
+
| Property | Binding name | Type | Notes |
|
|
70
|
+
|----------|-------------|------|-------|
|
|
71
|
+
| `removedChange` | `removedChange` | `boolean` | — |
|
|
72
|
+
|
|
73
|
+
### Injection tokens
|
|
74
|
+
|
|
75
|
+
| Token | Type | Description |
|
|
76
|
+
|-------|------|-------------|
|
|
77
|
+
| `LU_CALLOUT_TRANSLATIONS` | `unknown` | — |
|
|
78
|
+
|
|
79
|
+
## Type definitions
|
|
80
|
+
|
|
81
|
+
- [`LuccaIcon`](../../types/LuccaIcon.md) — 585 available values
|
|
82
|
+
|
|
83
|
+
## Related files
|
|
84
|
+
|
|
85
|
+
- 📝 [Code & implementation](./callout.component.md)
|
|
86
|
+
- 🎨 [Design guidelines](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/callout/callout.design.md)
|
|
87
|
+
- 🎯 [Figma design tokens](https://lucca-front.lucca.io/v22.0.6-rc.1/storybook/llms/references/components/callout/callout.figma.md)
|
|
88
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v22.0.0/storybook/?path=/docs/documentation-feedback-callout-angular-ai--docs)
|
|
89
|
+
|
|
90
|
+
## Changelog
|
|
91
|
+
|
|
92
|
+
> 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.
|
|
93
|
+
|
|
94
|
+
### 22.0.0
|
|
95
|
+
|
|
96
|
+
`CalloutActionsComponent` :
|
|
97
|
+
~ `inline` : transform booleanAttribute → luBooleanAttribute
|
|
98
|
+
`CalloutComponent` :
|
|
99
|
+
~ `hx` : transform numberAttribute → luNumberAttribute
|
|
100
|
+
~ `removable` : transform booleanAttribute → luBooleanAttribute
|
|
101
|
+
~ `removed` : transform booleanAttribute → luBooleanAttribute
|
|
102
|
+
~ `AI` : transform booleanAttribute → luBooleanAttribute
|
|
103
|
+
|
|
104
|
+
### Notes de release (ZeroHeight)
|
|
105
|
+
|
|
106
|
+
#### 21.3.0
|
|
107
|
+
|
|
108
|
+
##### Added
|
|
109
|
+
|
|
110
|
+
- `CALLOUT_SIZE`, `CALLOUT_POPOVER_SIZE` and `CALLOUT_HX` constants, together with the `CalloutSize`, `CalloutPopoverSize` and `CalloutHx` types, are now publicly exported and used to type the `size` and `hx` inputs.
|
|
111
|
+
- `AI` palette support for the AI callout styling.
|
|
112
|
+
|
|
113
|
+
#### 21.2.4
|
|
114
|
+
|
|
115
|
+
##### Added
|
|
116
|
+
|
|
117
|
+
- `buttonLabel` on `lu-callout-popover` now also accepts a `number`.
|
|
118
|
+
|
|
119
|
+
#### 21.2.2
|
|
120
|
+
|
|
121
|
+
##### Added
|
|
122
|
+
|
|
123
|
+
- `popoverDisabled` input on `lu-callout-popover` to render the trigger without opening a popover.
|
|
124
|
+
|
|
125
|
+
##### Fixed
|
|
126
|
+
|
|
127
|
+
- The callout margin no longer remains visible once the callout has been removed.
|
|
128
|
+
|
|
129
|
+
#### 21.2.1
|
|
130
|
+
|
|
131
|
+
##### Fixed
|
|
132
|
+
|
|
133
|
+
- Button alignment inside a `size="S"` callout.
|
|
134
|
+
|
|
135
|
+
#### 21.2.0
|
|
136
|
+
|
|
137
|
+
##### Added
|
|
138
|
+
|
|
139
|
+
- `popoverPosition` input on `lu-callout-popover` (`above` by default) and `customPopoverPositions` to provide your own connected positions.
|
|
140
|
+
|
|
141
|
+
#### 21.1.4
|
|
142
|
+
|
|
143
|
+
##### Added
|
|
144
|
+
|
|
145
|
+
- `hx` input to set the heading level used by the callout heading.
|
|
146
|
+
- `popoverTrigger` input on `lu-callout-popover` (`click`, `click+hover`, `hover+focus`).
|
|
147
|
+
|
|
148
|
+
##### Fixed
|
|
149
|
+
|
|
150
|
+
- Status of the actions displayed inside a callout.
|
|
151
|
+
|
|
152
|
+
#### 21.1.0
|
|
153
|
+
|
|
154
|
+
##### Changed
|
|
155
|
+
|
|
156
|
+
- `intl` input now accepts partial overrides that are merged with the default translations.
|
|
157
|
+
|
|
158
|
+
#### 21.0.3
|
|
159
|
+
|
|
160
|
+
##### Fixed
|
|
161
|
+
|
|
162
|
+
- Callout descriptions are now rendered inside paragraphs to keep a valid DOM structure with inline actions.
|
|
163
|
+
|
|
164
|
+
#### 21.0.0
|
|
165
|
+
|
|
166
|
+
##### Added
|
|
167
|
+
|
|
168
|
+
- `buttonAlt` and `heading` inputs on `lu-callout-popover`, plus `headingHiddenIfSingleItem` on `lu-callout-feedback-list`.
|
|
169
|
+
|
|
170
|
+
##### Changed
|
|
171
|
+
|
|
172
|
+
- `lu-callout-popover` is now based on the `popover2` directives.
|
|
173
|
+
|
|
174
|
+
##### Removed
|
|
175
|
+
|
|
176
|
+
- Elements deprecated in 18.1.
|
|
177
|
+
|
|
178
|
+
#### 20.3.0
|
|
179
|
+
|
|
180
|
+
##### Added
|
|
181
|
+
|
|
182
|
+
- `AI` input to render the callout with the AI styling (`mod-AI`).
|
|
183
|
+
- `iconAlt` input to provide an alternative text for the callout icon.
|
|
184
|
+
|
|
185
|
+
#### 20.2.3
|
|
186
|
+
|
|
187
|
+
##### Fixed
|
|
188
|
+
|
|
189
|
+
- Padding and font size of the `size="S"` callout.
|
|
190
|
+
|
|
191
|
+
#### 20.1.3
|
|
192
|
+
|
|
193
|
+
##### Fixed
|
|
194
|
+
|
|
195
|
+
- Size of the `XS` callout popover.
|
|
196
|
+
|
|
197
|
+
#### 20.1.2
|
|
198
|
+
|
|
199
|
+
##### Fixed
|
|
200
|
+
|
|
201
|
+
- `lu-callout-popover` no longer loses the icon deduced from its `state` when no `icon` is provided.
|
|
202
|
+
|
|
203
|
+
#### 20.1.1
|
|
204
|
+
|
|
205
|
+
##### Added
|
|
206
|
+
|
|
207
|
+
- `CalloutState` type is now publicly exported.
|
|
208
|
+
|
|
209
|
+
#### 19.1.0
|
|
210
|
+
|
|
211
|
+
##### Changed
|
|
212
|
+
|
|
213
|
+
- Callout actions now use the `neutral` palette by default.
|
|
214
|
+
|
|
215
|
+
#### 18.3.2
|
|
216
|
+
|
|
217
|
+
##### Fixed
|
|
218
|
+
|
|
219
|
+
- Disclosure icon of `lu-callout-disclosure`.
|
|
220
|
+
|
|
221
|
+
#### 18.2.3
|
|
222
|
+
|
|
223
|
+
##### Fixed
|
|
224
|
+
|
|
225
|
+
- `state` input is now taken into account when set several times.
|
|
226
|
+
|
|
227
|
+
#### 18.1.4
|
|
228
|
+
|
|
229
|
+
##### Fixed
|
|
230
|
+
|
|
231
|
+
- `size` no longer produces an invalid `mod-undefined` CSS class when left unset.
|
|
232
|
+
|
|
233
|
+
#### 18.1.1
|
|
234
|
+
|
|
235
|
+
##### Fixed
|
|
236
|
+
|
|
237
|
+
- Close icon size and position.
|
|
238
|
+
|
|
239
|
+
#### 18.1.0
|
|
240
|
+
|
|
241
|
+
##### Changed
|
|
242
|
+
|
|
243
|
+
- Actions are now wrapped in a dedicated container.
|