@lucca-front/ng 22.0.0-rc.4 → 22.0.0
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 +1 -1
- package/fesm2022/lucca-front-ng-a11y.mjs +10 -10
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +14 -14
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +40 -40
- package/fesm2022/lucca-front-ng-app-layout.mjs +7 -6
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +517 -0
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-box.mjs +12 -12
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +9 -9
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +4 -4
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -6
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +38 -38
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +10 -10
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +7 -7
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +6 -5
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +7 -6
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +18 -17
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +8 -7
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +17 -40
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +18 -20
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +28 -16
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +19 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +34 -21
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +16 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +41 -36
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +252 -114
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +113 -38
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +50 -50
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +42 -43
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +50 -48
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +28 -27
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +85 -59
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +9 -9
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +46 -46
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +56 -31
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +4 -4
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +38 -37
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +4 -4
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +86 -48
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +150 -27
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +10 -9
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +35 -36
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +5 -5
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +19 -52
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +9 -8
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +64 -64
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +8 -8
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +68 -55
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +127 -113
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +11 -11
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +18 -17
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +11 -18
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-section.mjs +85 -0
- package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +17 -17
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +7 -7
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +50 -50
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +6 -6
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +22 -22
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +24 -16
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +67 -33
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +17 -16
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +8 -8
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +131 -15
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +27 -27
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +216 -135
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-number-format.mjs +6 -6
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +1 -84
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +145 -139
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +8 -8
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +13 -16
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +6 -6
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +17 -17
- package/fesm2022/lucca-front-ng-popover2.mjs +15 -16
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-progress-bar.mjs +8 -7
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +9 -9
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +17 -12
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +21 -20
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-scroll-box.mjs +6 -5
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +9 -9
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +12 -12
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +17 -14
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +22 -22
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-simple-select.mjs +53 -39
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +1 -237
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +11 -11
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +8 -7
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +13 -13
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +6 -6
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
- package/fesm2022/lucca-front-ng-tag.mjs +1 -72
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +46 -47
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +24 -14
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +13 -14
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +1 -556
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +58 -42
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +22 -19
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +75 -73
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +21 -22
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +12 -4
- package/schematics/action-icon/migration.spec.js +2 -2
- package/schematics/alignment-utilities/migration.spec.js +2 -2
- package/schematics/cdn-urls/migration.spec.js +2 -2
- package/schematics/class-prefix/migration.spec.js +2 -2
- package/schematics/color-text/migration.spec.js +2 -2
- package/schematics/component-path/migration.spec.js +2 -2
- package/schematics/deprecated-resolver/migration.spec.js +1 -1
- package/schematics/empty-state-title/migration.spec.js +1 -1
- package/schematics/lib/migration-test.js +6 -1
- package/schematics/lu-button/migration.spec.js +1 -1
- package/schematics/lu-container/migration.spec.js +1 -1
- package/schematics/lu-grid/migration.js +24 -16
- package/schematics/lu-grid/migration.spec.js +1 -1
- package/schematics/lu-icon/migration.spec.js +1 -1
- package/schematics/lu-loading/migration.spec.js +1 -1
- package/schematics/lu-select/migration.spec.js +1 -1
- package/schematics/lu-text-input/migration.spec.js +1 -1
- package/schematics/new-icons/migration.spec.js +2 -2
- package/schematics/palettes/index.js +28 -8
- package/schematics/palettes/migration.spec.js +2 -2
- package/schematics/tokens-radius/migration.spec.js +2 -2
- package/schematics/tokens-spacing/migration.spec.js +2 -2
- package/schematics/tokens-typo/migration.spec.js +2 -2
- package/src/_components.scss +1 -0
- package/src/components/_listbox.scss +8 -0
- package/src/components/_picker.scss +0 -34
- package/src/components/_popover.scss +1 -1
- package/src/components/_popup.scss +6 -6
- package/src/components/_sidepanel.scss +1 -1
- package/src/definitions/option/_option-item.scss +1 -8
- package/title/README.md +22 -7
- package/types/lucca-front-ng-app-layout.d.ts +1 -1
- package/types/lucca-front-ng-approbation-inbox.d.ts +142 -0
- package/types/lucca-front-ng-box.d.ts +4 -4
- package/types/lucca-front-ng-breadcrumbs.d.ts +1 -1
- package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
- package/types/lucca-front-ng-bubble-illustration.d.ts +1 -1
- package/types/lucca-front-ng-callout.d.ts +9 -9
- package/types/lucca-front-ng-chip.d.ts +3 -3
- package/types/lucca-front-ng-clear.d.ts +2 -2
- package/types/lucca-front-ng-code.d.ts +1 -1
- package/types/lucca-front-ng-color.d.ts +1 -1
- package/types/lucca-front-ng-comment.d.ts +6 -5
- package/types/lucca-front-ng-container.d.ts +2 -2
- package/types/lucca-front-ng-core-select-api.d.ts +10 -4
- package/types/lucca-front-ng-core-select-department.d.ts +2 -2
- package/types/lucca-front-ng-core-select-establishment.d.ts +3 -1
- package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -0
- package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -1
- package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -0
- package/types/lucca-front-ng-core-select-user.d.ts +4 -3
- package/types/lucca-front-ng-core-select.d.ts +82 -16
- package/types/lucca-front-ng-core.d.ts +77 -3
- package/types/lucca-front-ng-data-table.d.ts +14 -14
- package/types/lucca-front-ng-date.d.ts +1 -1
- package/types/lucca-front-ng-date2.d.ts +19 -19
- package/types/lucca-front-ng-department.d.ts +2 -2
- package/types/lucca-front-ng-dialog.d.ts +7 -6
- package/types/lucca-front-ng-divider.d.ts +3 -3
- package/types/lucca-front-ng-dropdown.d.ts +2 -2
- package/types/lucca-front-ng-empty-state.d.ts +15 -6
- package/types/lucca-front-ng-establishment.d.ts +2 -2
- package/types/lucca-front-ng-file-upload.d.ts +22 -11
- package/types/lucca-front-ng-filter-pills.d.ts +43 -3
- package/types/lucca-front-ng-footer.d.ts +4 -4
- package/types/lucca-front-ng-form-field.d.ts +10 -10
- package/types/lucca-front-ng-form-header.d.ts +1 -1
- package/types/lucca-front-ng-form-label.d.ts +5 -9
- package/types/lucca-front-ng-form.d.ts +2 -2
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +5 -5
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +9 -5
- package/types/lucca-front-ng-forms.d.ts +50 -37
- package/types/lucca-front-ng-gauge.d.ts +6 -6
- package/types/lucca-front-ng-grid.d.ts +8 -8
- package/types/lucca-front-ng-highlight-data.d.ts +3 -5
- package/types/lucca-front-ng-highlight-section.d.ts +44 -0
- package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
- package/types/lucca-front-ng-impersonation.d.ts +1 -1
- package/types/lucca-front-ng-index-table.d.ts +12 -12
- package/types/lucca-front-ng-inline-message.d.ts +1 -1
- package/types/lucca-front-ng-link.d.ts +4 -4
- package/types/lucca-front-ng-listbox.d.ts +33 -13
- package/types/lucca-front-ng-listing.d.ts +9 -9
- package/types/lucca-front-ng-loading.d.ts +3 -3
- package/types/lucca-front-ng-main-layout.d.ts +40 -9
- package/types/lucca-front-ng-modal.d.ts +1 -1
- package/types/lucca-front-ng-multi-select.d.ts +33 -7
- package/types/lucca-front-ng-numeric-badge.d.ts +1 -46
- package/types/lucca-front-ng-option.d.ts +2 -0
- package/types/lucca-front-ng-page-header.d.ts +2 -2
- package/types/lucca-front-ng-pagination.d.ts +5 -5
- package/types/lucca-front-ng-plg-push.d.ts +1 -1
- package/types/lucca-front-ng-popover2.d.ts +14 -14
- package/types/lucca-front-ng-progress-bar.d.ts +2 -2
- package/types/lucca-front-ng-progress-stepper.d.ts +1 -1
- package/types/lucca-front-ng-read-more.d.ts +9 -4
- package/types/lucca-front-ng-resource-card.d.ts +6 -6
- package/types/lucca-front-ng-scroll-box.d.ts +1 -1
- package/types/lucca-front-ng-scroll.d.ts +1 -1
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -2
- package/types/lucca-front-ng-segmented-control.d.ts +5 -3
- package/types/lucca-front-ng-select.d.ts +2 -1
- package/types/lucca-front-ng-simple-select.d.ts +6 -5
- package/types/lucca-front-ng-skeleton.d.ts +1 -158
- package/types/lucca-front-ng-software-icon-wrapper.d.ts +3 -3
- package/types/lucca-front-ng-software-icon.d.ts +2 -2
- package/types/lucca-front-ng-sortable-list.d.ts +5 -5
- package/types/lucca-front-ng-status-badge.d.ts +1 -1
- package/types/lucca-front-ng-tag.d.ts +1 -53
- package/types/lucca-front-ng-time.d.ts +17 -17
- package/types/lucca-front-ng-title.d.ts +4 -4
- package/types/lucca-front-ng-toast.d.ts +1 -1
- package/types/lucca-front-ng-tooltip.d.ts +1 -80
- package/types/lucca-front-ng-tree-select.d.ts +3 -4
- package/types/lucca-front-ng-user.d.ts +8 -6
- package/types/lucca-front-ng-vertical-navigation.d.ts +4 -4
|
@@ -9,16 +9,20 @@ exports.default = (options) => {
|
|
|
9
9
|
await lib_1.currentSchematicContext.init(context, options);
|
|
10
10
|
await new lib_1.CssMapper(tree, {
|
|
11
11
|
classes: {
|
|
12
|
-
|
|
13
|
-
'palette-
|
|
14
|
-
|
|
15
|
-
'
|
|
12
|
+
// Palette classes (Button, Callout, Gauge, Clear, Numeric Badge, Status Badge, …)
|
|
13
|
+
'palette-{palette}': 'palette-{palette}',
|
|
14
|
+
// Component color modifier (Box, Card, Section) — only `grey` existed
|
|
15
|
+
'mod-grey': 'mod-neutral',
|
|
16
|
+
// Icon color classes — only `primary`/`secondary` existed
|
|
17
|
+
'icon-color-primary': 'icon-color-product',
|
|
18
|
+
'icon-color-secondary': 'icon-color-product',
|
|
19
|
+
// Text color utilities generated from the palette list
|
|
20
|
+
'u-text{Palette}': 'pr-u-text{Palette}',
|
|
21
|
+
'pr-u-text{Palette}': 'pr-u-text{Palette}',
|
|
22
|
+
'pr-u-colorText{Palette}': 'pr-u-colorText{Palette}',
|
|
16
23
|
},
|
|
17
24
|
variables: {
|
|
18
|
-
'--palettes-
|
|
19
|
-
'--palettes-primary-{val}': `--palettes-product-{val}`,
|
|
20
|
-
'--palettes-secondary-{val}': `--palettes-product-{val}`,
|
|
21
|
-
'--palettes-lucca-{val}': `--palettes-brand-{val}`,
|
|
25
|
+
'--palettes-{palette}-{val}': `--palettes-{palette}-{val}`,
|
|
22
26
|
'--colors-grey-{val}': `--palettes-neutral-{val}`,
|
|
23
27
|
'--colors-white-color': '--palettes-neutral-0',
|
|
24
28
|
'--colors-black-color': '--palettes-neutral-900',
|
|
@@ -40,6 +44,13 @@ exports.default = (options) => {
|
|
|
40
44
|
'--colors-white-rgb': '--palettes-neutral-0',
|
|
41
45
|
}
|
|
42
46
|
}, {
|
|
47
|
+
// Deprecated palette -> new palette (used by both classes and CSS vars)
|
|
48
|
+
palette: {
|
|
49
|
+
grey: 'neutral',
|
|
50
|
+
primary: 'product',
|
|
51
|
+
secondary: 'product',
|
|
52
|
+
lucca: 'brand',
|
|
53
|
+
},
|
|
43
54
|
val: {
|
|
44
55
|
25: '25',
|
|
45
56
|
50: '50',
|
|
@@ -54,5 +65,14 @@ exports.default = (options) => {
|
|
|
54
65
|
900: '900'
|
|
55
66
|
}
|
|
56
67
|
}).run();
|
|
68
|
+
new lib_1.DeprecatedMapper(tree, {
|
|
69
|
+
modules: {},
|
|
70
|
+
types: {},
|
|
71
|
+
inputsOutputs: {
|
|
72
|
+
// The `lu-icon` component `color` input is not a CSS class, so it isn't handled by CssMapper.
|
|
73
|
+
// Deprecated `primary`/`secondary` values → `product` (handles both `color="primary"` and `[color]="'primary'"`).
|
|
74
|
+
'lu-icon': { color: { primary: 'product', secondary: 'product' } },
|
|
75
|
+
},
|
|
76
|
+
}).run();
|
|
57
77
|
};
|
|
58
78
|
};
|
|
@@ -47,7 +47,7 @@ describe('Palettes Migration', () => {
|
|
|
47
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
48
|
// Act
|
|
49
49
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', { skipInstall: true }, tree);
|
|
51
51
|
}
|
|
52
52
|
catch (error) {
|
|
53
53
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +69,7 @@ describe('Palettes Migration', () => {
|
|
|
69
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
71
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', { skipInstall: true }, tree);
|
|
73
73
|
// Assert
|
|
74
74
|
tree.visit((p, entry) => {
|
|
75
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -47,7 +47,7 @@ describe('Tokens radius Migration', () => {
|
|
|
47
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
48
|
// Act
|
|
49
49
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', { skipInstall: true }, tree);
|
|
51
51
|
}
|
|
52
52
|
catch (error) {
|
|
53
53
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +69,7 @@ describe('Tokens radius Migration', () => {
|
|
|
69
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
71
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', { skipInstall: true }, tree);
|
|
73
73
|
// Assert
|
|
74
74
|
tree.visit((p, entry) => {
|
|
75
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -47,7 +47,7 @@ describe('Tokens spacing Migration', () => {
|
|
|
47
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
48
|
// Act
|
|
49
49
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', { skipInstall: true }, tree);
|
|
51
51
|
}
|
|
52
52
|
catch (error) {
|
|
53
53
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +69,7 @@ describe('Tokens spacing Migration', () => {
|
|
|
69
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
71
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', { skipInstall: true }, tree);
|
|
73
73
|
// Assert
|
|
74
74
|
tree.visit((p, entry) => {
|
|
75
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -47,7 +47,7 @@ describe('Tokens typo Migration', () => {
|
|
|
47
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
48
|
// Act
|
|
49
49
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstall: true }, tree);
|
|
51
51
|
}
|
|
52
52
|
catch (error) {
|
|
53
53
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +69,7 @@ describe('Tokens typo Migration', () => {
|
|
|
69
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
71
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstall: true }, tree);
|
|
73
73
|
// Assert
|
|
74
74
|
tree.visit((p, entry) => {
|
|
75
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
package/src/_components.scss
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// The select/listbox Angular components (`lu-listbox`, `lu-select-option`, `lu-listbox-option`,
|
|
2
|
+
// color picker) ship no component-scoped CSS — their visuals live in the shared `@lucca-front/scss`
|
|
3
|
+
// component sheets. Forward them here so importing `@lucca-front/ng/styles` is enough to render the
|
|
4
|
+
// selects, without the consuming app also having to pull `@lucca-front/scss` `main-all` (or these
|
|
5
|
+
// sheets à la carte). Loaded once per compilation, so apps that also import the scss components
|
|
6
|
+
// won't emit these twice.
|
|
7
|
+
@forward '@lucca-front/scss/src/components/listboxOption';
|
|
8
|
+
@forward '@lucca-front/scss/src/components/color';
|
|
@@ -46,28 +46,6 @@
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.lu-picker-content-option-group-title {
|
|
50
|
-
font: var(--pr-t-font-body-S);
|
|
51
|
-
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
52
|
-
padding-block: var(--components-options-item-padding-vertical);
|
|
53
|
-
padding-inline: var(--components-options-item-padding-horizontal);
|
|
54
|
-
color: var(--palettes-neutral-600);
|
|
55
|
-
position: sticky;
|
|
56
|
-
inset-block-start: 0;
|
|
57
|
-
background-color: var(--pr-t-elevation-surface-raised);
|
|
58
|
-
z-index: 1;
|
|
59
|
-
display: flex;
|
|
60
|
-
gap: var(--pr-t-spacings-100);
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
box-shadow: calc(var(--pr-t-spacings-50) * -0.5) calc(var(--pr-t-spacings-50) * -0.5) 0 2px var(--pr-t-elevation-surface-raised); // Mask background options scrolling behind
|
|
63
|
-
|
|
64
|
-
&.is-highlighted {
|
|
65
|
-
background-color: var(--palettes-neutral-50);
|
|
66
|
-
border-radius: var(--pr-t-border-radius-default);
|
|
67
|
-
outline: 4px solid var(--palettes-neutral-0);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
49
|
.lu-picker-content-add {
|
|
72
50
|
position: sticky;
|
|
73
51
|
display: block;
|
|
@@ -131,16 +109,4 @@
|
|
|
131
109
|
max-block-size: none;
|
|
132
110
|
}
|
|
133
111
|
}
|
|
134
|
-
|
|
135
|
-
.lu-picker-content-group {
|
|
136
|
-
display: flex;
|
|
137
|
-
flex-direction: column;
|
|
138
|
-
gap: var(--pr-t-spacings-50);
|
|
139
|
-
|
|
140
|
-
&:not(:hover, :has(.is-highlighted)) {
|
|
141
|
-
.link {
|
|
142
|
-
opacity: 0.0001;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
112
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
border-radius: var(--pr-t-border-radius-structure);
|
|
22
22
|
inline-size: var(--components-popup-M);
|
|
23
23
|
max-inline-size: 95%;
|
|
24
|
-
max-block-size:
|
|
24
|
+
max-block-size: 90vb;
|
|
25
25
|
overflow: auto;
|
|
26
26
|
animation: popup var(--commons-animations-durations-standard) cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
27
27
|
}
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
.lu-modal-panel-inner {
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-flow: column;
|
|
87
|
-
max-block-size:
|
|
87
|
+
max-block-size: 90vb;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.lu-modal-container {
|
|
@@ -148,17 +148,17 @@
|
|
|
148
148
|
.lu-popup-panel {
|
|
149
149
|
border-radius: 0;
|
|
150
150
|
max-inline-size: none;
|
|
151
|
-
max-block-size:
|
|
151
|
+
max-block-size: 100vb;
|
|
152
152
|
inline-size: 100%;
|
|
153
153
|
inline-size: stretch;
|
|
154
|
-
block-size:
|
|
154
|
+
block-size: 100vb;
|
|
155
155
|
block-size: stretch;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.lu-modal-panel-inner {
|
|
159
|
-
max-block-size:
|
|
159
|
+
max-block-size: 100vb;
|
|
160
160
|
max-block-size: stretch;
|
|
161
|
-
block-size:
|
|
161
|
+
block-size: 100vb;
|
|
162
162
|
block-size: stretch;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
display: block;
|
|
25
25
|
scroll-margin: var(--pr-t-spacings-50);
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.listboxOption[role='group'] & {
|
|
28
28
|
scroll-margin-block-start: var(--pr-t-spacings-400);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -95,13 +95,6 @@
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.optionItem-value-group {
|
|
99
|
-
@layer components {
|
|
100
|
-
color: var(--palettes-neutral-600);
|
|
101
|
-
font: var(--pr-t-font-body-S);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
98
|
:host-context(.lu-select-value) {
|
|
106
99
|
.optionItem-value {
|
|
107
100
|
@layer components {
|
package/title/README.md
CHANGED
|
@@ -8,15 +8,11 @@ Add `title` properties in your routes config:
|
|
|
8
8
|
const routes: Routes = [
|
|
9
9
|
{
|
|
10
10
|
path: '',
|
|
11
|
-
|
|
12
|
-
title: 'Parent title',
|
|
13
|
-
},
|
|
11
|
+
title: 'Parent title',
|
|
14
12
|
children: [
|
|
15
13
|
{
|
|
16
14
|
path: ':requestId',
|
|
17
|
-
|
|
18
|
-
title: 'Sub route title',
|
|
19
|
-
},
|
|
15
|
+
title: 'Sub route title',
|
|
20
16
|
},
|
|
21
17
|
],
|
|
22
18
|
},
|
|
@@ -27,7 +23,26 @@ The service should now be able to collect all `title` properties defined for the
|
|
|
27
23
|
|
|
28
24
|
ex: `Sub route title – Parent title – Lucca YourAppName`
|
|
29
25
|
|
|
30
|
-
|
|
26
|
+
### Dynamic titles
|
|
27
|
+
|
|
28
|
+
A `title` can also be a function, which is how Lucca apps declare their titles:
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
const routes: Routes = [
|
|
32
|
+
{
|
|
33
|
+
path: 'requests',
|
|
34
|
+
title: () => translate('Requests_Title'),
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
path: 'requests/:requestId',
|
|
38
|
+
title: (route) => translate('Request_Title', { id: route.paramMap.get('requestId') }),
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Each resolved title is then handed to your `translateService` as a translation key, along with the route params and the route data (including resolved data) as interpolation arguments. So a static `title: 'Request {{requestId}}'` works too, as long as your translation library interpolates. Params and resolved data of the parent routes are available as well, as long as the router keeps its default `paramsInheritanceStrategy: 'always'`.
|
|
44
|
+
|
|
45
|
+
When the title is only known from inside a component, the `prependTitle` method from `LuTitleStrategy` enables you to add a custom title.
|
|
31
46
|
In a component, you could do the following:
|
|
32
47
|
|
|
33
48
|
```typescript
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class AppLayoutComponent {
|
|
4
|
-
readonly mobileNavSideBottom: i0.InputSignalWithTransform<boolean,
|
|
4
|
+
readonly mobileNavSideBottom: i0.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppLayoutComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppLayoutComponent, "lu-app-layout", never, { "mobileNavSideBottom": { "alias": "mobileNavSideBottom"; "required": false; "isSignal": true; }; }, {}, never, ["[appLayoutBanner]", "[appLayoutNavSide]", "*"], true, never>;
|
|
7
7
|
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef, OnInit, WritableSignal } from '@angular/core';
|
|
3
|
+
import { LuDialogRef, LuDialogService } from '@lucca-front/ng/dialog';
|
|
4
|
+
import { LuccaIcon } from '@lucca/prisme/icon';
|
|
5
|
+
import { LuPluralForms, PortalContent } from '@lucca-front/ng/core';
|
|
6
|
+
|
|
7
|
+
declare class ApprobationInboxDetailMainBlockComponent {
|
|
8
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
9
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxDetailMainBlockComponent, never>;
|
|
10
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxDetailMainBlockComponent, "lu-approbation-inbox-detail-main-block", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface LuApprobationInboxDetailHeaderTranslations {
|
|
14
|
+
delegation: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare class ApprobationInboxHeaderComponent {
|
|
18
|
+
protected readonly dialogRef: LuDialogRef<any, any>;
|
|
19
|
+
protected readonly intl: LuApprobationInboxDetailHeaderTranslations;
|
|
20
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
21
|
+
readonly delegatedBy: _angular_core.InputSignal<string>;
|
|
22
|
+
readonly actions: _angular_core.Signal<TemplateRef<unknown>>;
|
|
23
|
+
readonly titleId: string;
|
|
24
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxHeaderComponent, never>;
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxHeaderComponent, "lu-approbation-inbox-detail-header", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "delegatedBy": { "alias": "delegatedBy"; "required": false; "isSignal": true; }; }, {}, never, ["[approbationInboxDetailIllustration]", "*", "[approbationInboxDetailActions]"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare class ApprobationInboxDetailComponent {
|
|
29
|
+
protected readonly dialogRef: LuDialogRef<any, any>;
|
|
30
|
+
readonly insideDialog: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly headerRef: _angular_core.Signal<ApprobationInboxHeaderComponent>;
|
|
32
|
+
readonly content: _angular_core.Signal<TemplateRef<unknown>>;
|
|
33
|
+
readonly header: _angular_core.Signal<TemplateRef<unknown>>;
|
|
34
|
+
readonly titleId: _angular_core.Signal<string>;
|
|
35
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxDetailComponent, never>;
|
|
36
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxDetailComponent, "lu-approbation-inbox-detail", never, { "insideDialog": { "alias": "insideDialog"; "required": false; "isSignal": true; }; }, {}, ["headerRef"], ["[approbationInboxDetailHeader]", "*"], true, never>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare class ApprobationInboxLinkComponent {
|
|
40
|
+
private readonly listInstance;
|
|
41
|
+
readonly current: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
42
|
+
readonly dialogService: LuDialogService;
|
|
43
|
+
readonly mediaMinM: _angular_core.Signal<boolean>;
|
|
44
|
+
openDialog($event: Event): void;
|
|
45
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxLinkComponent, never>;
|
|
46
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxLinkComponent, "a[lu-approbation-inbox-list-action]", never, { "current": { "alias": "current"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
interface LuApprobationInboxListGroupTranslations {
|
|
50
|
+
selectGroup: string;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface LuApprobationInboxListItemTranslations {
|
|
54
|
+
selectItem: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class ApprobationInboxItemComponent implements OnInit {
|
|
58
|
+
protected readonly intl: _angular_core.InputSignalWithTransform<LuApprobationInboxListItemTranslations, Partial<LuApprobationInboxListItemTranslations>>;
|
|
59
|
+
private readonly list;
|
|
60
|
+
private readonly destroyRef;
|
|
61
|
+
readonly selectable: _angular_core.Signal<boolean>;
|
|
62
|
+
readonly center: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
63
|
+
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
64
|
+
private readonly titleSlot;
|
|
65
|
+
readonly title: _angular_core.WritableSignal<string>;
|
|
66
|
+
constructor();
|
|
67
|
+
ngOnInit(): void;
|
|
68
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxItemComponent, never>;
|
|
69
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxItemComponent, "lu-approbation-inbox-list-item", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "center": { "alias": "center"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["[approbationInboxListItemVisual]", "[approbationInboxListItemTitle]", "*", "[approbationInboxListItemRightContent]"], true, never>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class ApprobationInboxGroupComponent {
|
|
73
|
+
protected readonly intl: _angular_core.InputSignalWithTransform<LuApprobationInboxListGroupTranslations, Partial<LuApprobationInboxListGroupTranslations>>;
|
|
74
|
+
private readonly list;
|
|
75
|
+
readonly selectable: _angular_core.Signal<boolean>;
|
|
76
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
77
|
+
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
78
|
+
readonly items: _angular_core.Signal<readonly ApprobationInboxItemComponent[]>;
|
|
79
|
+
readonly allChecked: _angular_core.Signal<boolean>;
|
|
80
|
+
readonly anyChecked: _angular_core.Signal<boolean>;
|
|
81
|
+
readonly groupMixed: _angular_core.Signal<boolean>;
|
|
82
|
+
expandedToggle(): void;
|
|
83
|
+
onGroupChange(value: boolean): void;
|
|
84
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxGroupComponent, never>;
|
|
85
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxGroupComponent, "lu-approbation-inbox-list-group", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, ["items"], ["*"], true, never>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
interface ApprobationInboxIcon {
|
|
89
|
+
icon: LuccaIcon;
|
|
90
|
+
alt: string;
|
|
91
|
+
state?: 'warning' | 'critical' | 'success';
|
|
92
|
+
}
|
|
93
|
+
declare class ApprobationInboxIconsComponent {
|
|
94
|
+
readonly icons: _angular_core.InputSignal<readonly ApprobationInboxIcon[]>;
|
|
95
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxIconsComponent, never>;
|
|
96
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxIconsComponent, "lu-approbation-inbox-list-icons", never, { "icons": { "alias": "icons"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class ApprobationInboxSubtleComponent {
|
|
100
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxSubtleComponent, never>;
|
|
101
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxSubtleComponent, "lu-approbation-inbox-list-subtle", never, {}, {}, never, ["*"], true, never>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
interface LuApprobationInboxListTranslations {
|
|
105
|
+
selectAll: string;
|
|
106
|
+
selectedCount: LuPluralForms;
|
|
107
|
+
label: string;
|
|
108
|
+
submitLabel: string;
|
|
109
|
+
forwardLabel: string;
|
|
110
|
+
emptyLabel: string;
|
|
111
|
+
emptyResetLabel: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
interface SelectableItem {
|
|
115
|
+
checked: WritableSignal<boolean>;
|
|
116
|
+
}
|
|
117
|
+
declare class ApprobationInboxListComponent {
|
|
118
|
+
protected readonly intl: _angular_core.InputSignalWithTransform<LuApprobationInboxListTranslations, Partial<LuApprobationInboxListTranslations>>;
|
|
119
|
+
private readonly pluralRules;
|
|
120
|
+
readonly titleId: string;
|
|
121
|
+
readonly label: _angular_core.InputSignal<PortalContent>;
|
|
122
|
+
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
123
|
+
readonly detailsComponent: _angular_core.InputSignal<ApprobationInboxDetailComponent>;
|
|
124
|
+
readonly emptyIllustration: _angular_core.InputSignal<string>;
|
|
125
|
+
readonly emptyResetButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
126
|
+
readonly submitEvent: _angular_core.OutputEmitterRef<void>;
|
|
127
|
+
readonly resetEvent: _angular_core.OutputEmitterRef<void>;
|
|
128
|
+
readonly forwardEvent: _angular_core.OutputEmitterRef<void>;
|
|
129
|
+
private readonly items;
|
|
130
|
+
readonly checkedCount: _angular_core.Signal<number>;
|
|
131
|
+
readonly selectedCountLabel: _angular_core.Signal<string>;
|
|
132
|
+
readonly empty: _angular_core.Signal<boolean>;
|
|
133
|
+
readonly selectAllState: _angular_core.Signal<boolean | "mixed">;
|
|
134
|
+
register(item: SelectableItem): void;
|
|
135
|
+
unregister(item: SelectableItem): void;
|
|
136
|
+
toggleSelectAll(): void;
|
|
137
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApprobationInboxListComponent, never>;
|
|
138
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ApprobationInboxListComponent, "lu-approbation-inbox-list", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "detailsComponent": { "alias": "detailsComponent"; "required": true; "isSignal": true; }; "emptyIllustration": { "alias": "emptyIllustration"; "required": false; "isSignal": true; }; "emptyResetButton": { "alias": "emptyResetButton"; "required": false; "isSignal": true; }; }, { "submitEvent": "submitEvent"; "resetEvent": "resetEvent"; "forwardEvent": "forwardEvent"; }, never, ["[approbationInboxListFilterBar]", "*"], true, never>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export { ApprobationInboxDetailComponent, ApprobationInboxDetailMainBlockComponent, ApprobationInboxGroupComponent, ApprobationInboxHeaderComponent, ApprobationInboxIconsComponent, ApprobationInboxItemComponent, ApprobationInboxLinkComponent, ApprobationInboxListComponent, ApprobationInboxSubtleComponent };
|
|
142
|
+
export type { ApprobationInboxIcon };
|
|
@@ -6,10 +6,10 @@ interface LuBoxLabel {
|
|
|
6
6
|
|
|
7
7
|
declare class BoxComponent {
|
|
8
8
|
readonly intl: _angular_core.InputSignalWithTransform<LuBoxLabel, Partial<LuBoxLabel>>;
|
|
9
|
-
readonly toggle: _angular_core.InputSignalWithTransform<boolean,
|
|
10
|
-
readonly neutral: _angular_core.InputSignalWithTransform<boolean,
|
|
11
|
-
readonly killable: _angular_core.InputSignalWithTransform<boolean,
|
|
12
|
-
readonly withArrow: _angular_core.InputSignalWithTransform<boolean,
|
|
9
|
+
readonly toggle: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
10
|
+
readonly neutral: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
11
|
+
readonly killable: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
12
|
+
readonly withArrow: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
13
13
|
readonly killed: _angular_core.OutputEmitterRef<void>;
|
|
14
14
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BoxComponent, never>;
|
|
15
15
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BoxComponent, "lu-box", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "toggle": { "alias": "toggle"; "required": false; "isSignal": true; }; "neutral": { "alias": "neutral"; "required": false; "isSignal": true; }; "killable": { "alias": "killable"; "required": false; "isSignal": true; }; "withArrow": { "alias": "withArrow"; "required": false; "isSignal": true; }; }, { "killed": "killed"; }, never, ["*"], true, never>;
|
|
@@ -13,7 +13,7 @@ interface LuBreadcrumbsLabel {
|
|
|
13
13
|
|
|
14
14
|
declare class BreadcrumbsComponent {
|
|
15
15
|
readonly intl: _angular_core.InputSignalWithTransform<LuBreadcrumbsLabel, Partial<LuBreadcrumbsLabel>>;
|
|
16
|
-
readonly disableCompact: _angular_core.InputSignalWithTransform<boolean,
|
|
16
|
+
readonly disableCompact: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
17
17
|
readonly links: _angular_core.Signal<readonly BreadcrumbsLinkDirective[]>;
|
|
18
18
|
readonly isCompact: _angular_core.Signal<boolean>;
|
|
19
19
|
readonly id: string;
|
|
@@ -13,7 +13,7 @@ declare class BubbleIconComponent {
|
|
|
13
13
|
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
14
14
|
readonly alt: _angular_core.InputSignal<string>;
|
|
15
15
|
readonly size: _angular_core.InputSignal<"XS" | "S" | "M" | "L">;
|
|
16
|
-
readonly palette: _angular_core.InputSignal<"error" | "success" | "warning" | "product" | "neutral" | "none" | "brand" | "kiwi" | "lime" | "cucumber" | "mint" | "glacier" | "lagoon" | "blueberry" | "lavender" | "grape" | "watermelon" | "pumpkin" | "pineapple">;
|
|
16
|
+
readonly palette: _angular_core.InputSignal<"error" | "success" | "warning" | "product" | "neutral" | "none" | "brand" | "kiwi" | "lime" | "cucumber" | "mint" | "glacier" | "lagoon" | "blueberry" | "lavender" | "grape" | "watermelon" | "pumpkin" | "pineapple" | "pagga" | "poplee" | "coreHR" | "timmi" | "cleemy" | "cc">;
|
|
17
17
|
readonly paletteClass: _angular_core.Signal<{
|
|
18
18
|
[x: string]: boolean;
|
|
19
19
|
}>;
|
|
@@ -16,7 +16,7 @@ declare class BubbleIllustrationComponent {
|
|
|
16
16
|
readonly illustration: _angular_core.InputSignal<string>;
|
|
17
17
|
readonly palette: _angular_core.InputSignal<"error" | "warning" | "success" | "product" | "neutral" | "none" | "brand" | "kiwi" | "lime" | "cucumber" | "mint" | "glacier" | "lagoon" | "blueberry" | "lavender" | "grape" | "watermelon" | "pumpkin" | "pineapple">;
|
|
18
18
|
readonly size: _angular_core.InputSignal<"S" | "M" | "L">;
|
|
19
|
-
readonly action: _angular_core.InputSignalWithTransform<boolean,
|
|
19
|
+
readonly action: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
20
20
|
readonly illustrationUrl: _angular_core.Signal<string>;
|
|
21
21
|
readonly paletteClass: _angular_core.Signal<{
|
|
22
22
|
[x: string]: boolean;
|
|
@@ -8,7 +8,7 @@ import { Palette } from '@lucca/prisme/core';
|
|
|
8
8
|
import * as _lucca_front_ng_callout from '@lucca-front/ng/callout';
|
|
9
9
|
|
|
10
10
|
declare class CalloutActionsComponent {
|
|
11
|
-
readonly inline: _angular_core.InputSignalWithTransform<boolean,
|
|
11
|
+
readonly inline: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
12
12
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutActionsComponent, never>;
|
|
13
13
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutActionsComponent, "lu-callout-actions", never, { "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
14
14
|
}
|
|
@@ -43,7 +43,7 @@ declare class CalloutDisclosureComponent {
|
|
|
43
43
|
/**
|
|
44
44
|
* Is the disclosure callout is open by default
|
|
45
45
|
*/
|
|
46
|
-
readonly open: _angular_core.InputSignalWithTransform<boolean,
|
|
46
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
47
47
|
/**
|
|
48
48
|
* Emit boolean event when toggle disclosure callout opened
|
|
49
49
|
*/
|
|
@@ -86,11 +86,11 @@ declare class CalloutPopoverComponent {
|
|
|
86
86
|
/**
|
|
87
87
|
* Debounce for the popover to open (mouse will have to be on the element fox openDelay milliseconds for popover to show)
|
|
88
88
|
*/
|
|
89
|
-
readonly openDelay: _angular_core.InputSignalWithTransform<number,
|
|
89
|
+
readonly openDelay: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
90
90
|
/**
|
|
91
91
|
* Debounce for the popover to close (mouse will have to be out of both popover and trigger for closeDelay milliseconds for it to close)
|
|
92
92
|
*/
|
|
93
|
-
readonly closeDelay: _angular_core.InputSignalWithTransform<number,
|
|
93
|
+
readonly closeDelay: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
94
94
|
/**
|
|
95
95
|
* Label (visual only) to put inside the button, often used to show just a number
|
|
96
96
|
*/
|
|
@@ -102,7 +102,7 @@ declare class CalloutPopoverComponent {
|
|
|
102
102
|
/**
|
|
103
103
|
* Hide callout popover title if there is only one item
|
|
104
104
|
*/
|
|
105
|
-
readonly headingHiddenIfSingleItem: _angular_core.InputSignalWithTransform<boolean,
|
|
105
|
+
readonly headingHiddenIfSingleItem: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
106
106
|
readonly popoverTrigger: _angular_core.InputSignal<"click" | "click+hover" | "hover+focus">;
|
|
107
107
|
/**
|
|
108
108
|
* Palette for both the button and the popover content
|
|
@@ -139,7 +139,7 @@ declare class CalloutPopoverComponent {
|
|
|
139
139
|
/**
|
|
140
140
|
* Disable callout popover apparition
|
|
141
141
|
*/
|
|
142
|
-
readonly popoverDisabled: _angular_core.InputSignalWithTransform<boolean,
|
|
142
|
+
readonly popoverDisabled: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
143
143
|
readonly feedbackItems: _angular_core.Signal<readonly CalloutFeedbackItemComponent[]>;
|
|
144
144
|
readonly contentSize: _angular_core.Signal<"M" | "S">;
|
|
145
145
|
readonly calloutOverlayClasses: _angular_core.Signal<{
|
|
@@ -213,11 +213,11 @@ declare class CalloutComponent {
|
|
|
213
213
|
/**
|
|
214
214
|
* Should we display the remove icon?
|
|
215
215
|
*/
|
|
216
|
-
readonly removable: _angular_core.InputSignalWithTransform<boolean,
|
|
216
|
+
readonly removable: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
217
217
|
/**
|
|
218
218
|
* Is the callout removed? Works with two way binding too.
|
|
219
219
|
*/
|
|
220
|
-
readonly removed: _angular_core.InputSignalWithTransform<boolean,
|
|
220
|
+
readonly removed: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
221
221
|
/**
|
|
222
222
|
* Defines the icon’s alt attribute used for accessibility
|
|
223
223
|
*/
|
|
@@ -225,7 +225,7 @@ declare class CalloutComponent {
|
|
|
225
225
|
/**
|
|
226
226
|
* Displayed in AI mode
|
|
227
227
|
*/
|
|
228
|
-
readonly AI: _angular_core.InputSignalWithTransform<boolean,
|
|
228
|
+
readonly AI: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
229
229
|
/**
|
|
230
230
|
* Emit event when button removed is click
|
|
231
231
|
*/
|
|
@@ -20,11 +20,11 @@ declare class ChipComponent {
|
|
|
20
20
|
/**
|
|
21
21
|
* Add an ellipsis if the text is too long
|
|
22
22
|
*/
|
|
23
|
-
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean,
|
|
23
|
+
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
24
24
|
/**
|
|
25
25
|
* Makes the chip non-removable
|
|
26
26
|
*/
|
|
27
|
-
readonly unkillable: _angular_core.InputSignalWithTransform<boolean,
|
|
27
|
+
readonly unkillable: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
28
28
|
/**
|
|
29
29
|
* Which palette should be used for the entire chip.
|
|
30
30
|
* Defaults to none (inherits parent palette)
|
|
@@ -33,7 +33,7 @@ declare class ChipComponent {
|
|
|
33
33
|
/**
|
|
34
34
|
* Disabled the chip
|
|
35
35
|
*/
|
|
36
|
-
readonly disabled: _angular_core.InputSignalWithTransform<boolean,
|
|
36
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
37
37
|
/**
|
|
38
38
|
* Which size should the chip be? Defaults or small
|
|
39
39
|
*/
|