@4sh/ui-kit 0.1.2 → 0.3.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.fr.md +170 -61
- package/README.md +165 -60
- package/collection.json +9 -0
- package/fesm2022/{4sh-ui-kit-ui-button-split.mjs → 4sh-ui-kit-actions-ui-button-split.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +222 -0
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-link.mjs → 4sh-ui-kit-actions-ui-link.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-icon.mjs → 4sh-ui-kit-base-ui-icon.mjs} +51 -11
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-image.mjs → 4sh-ui-kit-base-ui-image.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-autocomplete.mjs → 4sh-ui-kit-forms-ui-autocomplete.mjs} +9 -9
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-checkbox.mjs → 4sh-ui-kit-forms-ui-checkbox.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-datepicker.mjs → 4sh-ui-kit-forms-ui-datepicker.mjs} +23 -11
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-field.mjs → 4sh-ui-kit-forms-ui-field.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-file-upload.mjs → 4sh-ui-kit-forms-ui-file-upload.mjs} +12 -13
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-group.mjs → 4sh-ui-kit-forms-ui-input-group.mjs} +12 -12
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-mask.mjs → 4sh-ui-kit-forms-ui-input-mask.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-number.mjs → 4sh-ui-kit-forms-ui-input-number.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-otp.mjs → 4sh-ui-kit-forms-ui-input-otp.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-tags.mjs → 4sh-ui-kit-forms-ui-input-tags.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +159 -0
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-label.mjs → 4sh-ui-kit-forms-ui-label.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-nudger.mjs → 4sh-ui-kit-forms-ui-nudger.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +92 -0
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-rating.mjs → 4sh-ui-kit-forms-ui-rating.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-segment-control.mjs → 4sh-ui-kit-forms-ui-segment-control.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-select.mjs → 4sh-ui-kit-forms-ui-select.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-slider.mjs → 4sh-ui-kit-forms-ui-slider.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-textarea.mjs → 4sh-ui-kit-forms-ui-textarea.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-toggle.mjs → 4sh-ui-kit-forms-ui-toggle.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms.mjs +28 -11
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/{4sh-ui-kit-ui-accordion.mjs → 4sh-ui-kit-informative-ui-accordion.mjs} +16 -16
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-alert.mjs → 4sh-ui-kit-informative-ui-alert.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-avatar-group.mjs → 4sh-ui-kit-informative-ui-avatar-group.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-avatar.mjs → 4sh-ui-kit-informative-ui-avatar.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +95 -0
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +205 -0
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-empty-state.mjs → 4sh-ui-kit-informative-ui-empty-state.mjs} +12 -12
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-helper.mjs → 4sh-ui-kit-informative-ui-helper.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-progress-bar.mjs → 4sh-ui-kit-informative-ui-progress-bar.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-read-only.mjs → 4sh-ui-kit-informative-ui-read-only.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-separator.mjs → 4sh-ui-kit-informative-ui-separator.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-skeleton.mjs → 4sh-ui-kit-informative-ui-skeleton.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-spinner.mjs → 4sh-ui-kit-informative-ui-spinner.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tag.mjs → 4sh-ui-kit-informative-ui-tag.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-toast.mjs → 4sh-ui-kit-informative-ui-toast.mjs} +13 -13
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tooltip.mjs → 4sh-ui-kit-informative-ui-tooltip.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-card.mjs → 4sh-ui-kit-layout-ui-card.mjs} +18 -18
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-drawer.mjs → 4sh-ui-kit-layout-ui-drawer.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-modal.mjs → 4sh-ui-kit-layout-ui-modal.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-popover.mjs → 4sh-ui-kit-layout-ui-popover.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
- package/fesm2022/{4sh-ui-kit-ui-breadcrumb.mjs → 4sh-ui-kit-navigation-ui-breadcrumb.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-context-menu.mjs → 4sh-ui-kit-navigation-ui-context-menu.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-menu.mjs → 4sh-ui-kit-navigation-ui-menu.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-sidebar.mjs → 4sh-ui-kit-navigation-ui-sidebar.mjs} +15 -15
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-stepper.mjs → 4sh-ui-kit-navigation-ui-stepper.mjs} +24 -24
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tabs.mjs → 4sh-ui-kit-navigation-ui-tabs.mjs} +28 -22
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-paginator.mjs → 4sh-ui-kit-table-ui-paginator.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-table.mjs → 4sh-ui-kit-table-ui-table.mjs} +41 -41
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
- package/fesm2022/4sh-ui-kit.mjs +1 -1
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/package.json +176 -175
- package/schematics/index.cjs +51 -0
- package/styles/component-vars.scss +953 -0
- package/styles/generated/_tokens-semantics.scss +36 -0
- package/styles/settings/_ui-config.scss +54 -44
- package/styles.css +1 -1
- package/types/{4sh-ui-kit-ui-button-split.d.ts → 4sh-ui-kit-actions-ui-button-split.d.ts} +2 -2
- package/types/{4sh-ui-kit-ui-icon.d.ts → 4sh-ui-kit-base-ui-icon.d.ts} +35 -4
- package/types/{4sh-ui-kit-ui-autocomplete.d.ts → 4sh-ui-kit-forms-ui-autocomplete.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-datepicker.d.ts → 4sh-ui-kit-forms-ui-datepicker.d.ts} +6 -1
- package/types/{4sh-ui-kit-ui-file-upload.d.ts → 4sh-ui-kit-forms-ui-file-upload.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input-mask.d.ts → 4sh-ui-kit-forms-ui-input-mask.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input-tags.d.ts → 4sh-ui-kit-forms-ui-input-tags.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input.d.ts → 4sh-ui-kit-forms-ui-input.d.ts} +34 -3
- package/types/{4sh-ui-kit-ui-nudger.d.ts → 4sh-ui-kit-forms-ui-nudger.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-rating.d.ts → 4sh-ui-kit-forms-ui-rating.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-select.d.ts → 4sh-ui-kit-forms-ui-select.d.ts} +1 -1
- package/types/4sh-ui-kit-forms.d.ts +2 -1
- package/types/{4sh-ui-kit-ui-avatar.d.ts → 4sh-ui-kit-informative-ui-avatar.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-badge.d.ts → 4sh-ui-kit-informative-ui-badge.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-chip.d.ts → 4sh-ui-kit-informative-ui-chip.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-empty-state.d.ts → 4sh-ui-kit-informative-ui-empty-state.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-spinner.d.ts → 4sh-ui-kit-informative-ui-spinner.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-tag.d.ts → 4sh-ui-kit-informative-ui-tag.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-card.d.ts → 4sh-ui-kit-layout-ui-card.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-context-menu.d.ts → 4sh-ui-kit-navigation-ui-context-menu.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-tabs.d.ts → 4sh-ui-kit-navigation-ui-tabs.d.ts} +5 -1
- package/types/{4sh-ui-kit-ui-table.d.ts → 4sh-ui-kit-table-ui-table.d.ts} +1 -1
- package/fesm2022/4sh-ui-kit-ui-accordion.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-alert.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-autocomplete.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-avatar-group.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-avatar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-badge.mjs +0 -95
- package/fesm2022/4sh-ui-kit-ui-badge.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-breadcrumb.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-button-split.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-button.mjs +0 -222
- package/fesm2022/4sh-ui-kit-ui-button.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-card.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-checkbox.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-chip.mjs +0 -205
- package/fesm2022/4sh-ui-kit-ui-chip.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-context-menu.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-datepicker.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-drawer.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-empty-state.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-field.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-file-upload.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-helper.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-icon.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-image.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-group.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-mask.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-number.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-otp.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-tags.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input.mjs +0 -121
- package/fesm2022/4sh-ui-kit-ui-input.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-label.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-link.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-menu.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-modal.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-nudger.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-paginator.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-popover.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-progress-bar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-radio.mjs +0 -92
- package/fesm2022/4sh-ui-kit-ui-radio.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-rating.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-read-only.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-segment-control.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-select.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-separator.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-sidebar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-skeleton.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-slider.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-spinner.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-stepper.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-table.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tabs.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tag.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-textarea.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-toast.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-toggle.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tooltip.mjs.map +0 -1
- /package/types/{4sh-ui-kit-ui-button.d.ts → 4sh-ui-kit-actions-ui-button.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-link.d.ts → 4sh-ui-kit-actions-ui-link.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-image.d.ts → 4sh-ui-kit-base-ui-image.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-checkbox.d.ts → 4sh-ui-kit-forms-ui-checkbox.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-field.d.ts → 4sh-ui-kit-forms-ui-field.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-group.d.ts → 4sh-ui-kit-forms-ui-input-group.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-number.d.ts → 4sh-ui-kit-forms-ui-input-number.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-otp.d.ts → 4sh-ui-kit-forms-ui-input-otp.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-label.d.ts → 4sh-ui-kit-forms-ui-label.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-radio.d.ts → 4sh-ui-kit-forms-ui-radio.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-segment-control.d.ts → 4sh-ui-kit-forms-ui-segment-control.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-slider.d.ts → 4sh-ui-kit-forms-ui-slider.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-textarea.d.ts → 4sh-ui-kit-forms-ui-textarea.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-toggle.d.ts → 4sh-ui-kit-forms-ui-toggle.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-accordion.d.ts → 4sh-ui-kit-informative-ui-accordion.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-alert.d.ts → 4sh-ui-kit-informative-ui-alert.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-avatar-group.d.ts → 4sh-ui-kit-informative-ui-avatar-group.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-helper.d.ts → 4sh-ui-kit-informative-ui-helper.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-progress-bar.d.ts → 4sh-ui-kit-informative-ui-progress-bar.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-read-only.d.ts → 4sh-ui-kit-informative-ui-read-only.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-separator.d.ts → 4sh-ui-kit-informative-ui-separator.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-skeleton.d.ts → 4sh-ui-kit-informative-ui-skeleton.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-toast.d.ts → 4sh-ui-kit-informative-ui-toast.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-tooltip.d.ts → 4sh-ui-kit-informative-ui-tooltip.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-drawer.d.ts → 4sh-ui-kit-layout-ui-drawer.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-modal.d.ts → 4sh-ui-kit-layout-ui-modal.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-popover.d.ts → 4sh-ui-kit-layout-ui-popover.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-breadcrumb.d.ts → 4sh-ui-kit-navigation-ui-breadcrumb.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-menu.d.ts → 4sh-ui-kit-navigation-ui-menu.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-sidebar.d.ts → 4sh-ui-kit-navigation-ui-sidebar.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-stepper.d.ts → 4sh-ui-kit-navigation-ui-stepper.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-paginator.d.ts → 4sh-ui-kit-table-ui-paginator.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { model, input, booleanAttribute, inject, computed, Component, contentChild, signal, effect, numberAttribute, output, contentChildren, forwardRef } from '@angular/core';
|
|
3
3
|
import { NgTemplateOutlet } from '@angular/common';
|
|
4
|
-
import { UiIcon } from '@4sh/ui-kit/ui-icon';
|
|
4
|
+
import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
|
|
5
5
|
|
|
6
6
|
/** Process-wide counter for unique step/panel ids (aria wiring). */
|
|
7
7
|
let nextUid = 0;
|
|
@@ -72,10 +72,10 @@ class UiStep {
|
|
|
72
72
|
return;
|
|
73
73
|
this.stepper.updateValue(value, event);
|
|
74
74
|
}
|
|
75
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
76
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStep, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiStep, isStandalone: true, selector: "ui-step", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class._active": "state() === 'active'", "class._completed": "state() === 'completed'", "class._vertical": "stepper.orientation() === 'vertical'", "class._disabled": "isDisabled()", "class._last": "isLastStep()" }, classAttribute: "ui-step" }, ngImport: i0, template: "<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span class=\"ui-step-separator\" aria-hidden=\"true\" [class._completed]=\"separatorCompleted()\"></span>\n}\n", styles: [":host{display:flex;flex:1 1 0;align-items:flex-start;min-width:0}:host._last{flex:0 0 auto}.ui-step-header{display:inline-flex;flex-direction:column;align-items:center;gap:var(--units-sm);flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:center}.ui-step-header:disabled{cursor:not-allowed}.ui-step-header:focus-visible{outline:none}.ui-step-marker{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-stepper-marker-size, 2.75rem);height:var(--ui-stepper-marker-size, 2.75rem);flex:0 0 auto;border:var(--ui-stepper-marker-stroke-width, var(--stroke-sm)) solid var(--navigation-high-stroke-default);border-radius:var(--radius-full);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-title{width:0;display:flex;justify-content:center;white-space:nowrap;color:var(--navigation-high-content-default);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-sm);line-height:1.2;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-header:focus-visible .ui-step-marker{box-shadow:0 0 0 var(--ui-stepper-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-step-separator{flex:1 1 auto;min-width:var(--units-lg);height:0;margin:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-separator-stroke-width, var(--stroke-default)) / 2) var(--units-sm) 0;border-top:var(--ui-stepper-separator-stroke-width, var(--stroke-default)) solid var(--global-border-default);transition:border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-separator._completed{border-top-color:var(--navigation-high-stroke-default)}:host._active .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-active);color:var(--informative-defaulthigh-content-default)}:host._active .ui-step-title{color:var(--global-text-default);font-weight:var(--weight-bold)}:host._completed .ui-step-marker{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default)}.ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-hover);border-color:var(--navigation-high-stroke-hover);color:var(--navigation-high-content-hover)}.ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--informative-defaulthigh-surface-hover);border-color:var(--informative-defaulthigh-stroke-hover);color:var(--informative-defaulthigh-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-defaultlow-content-default)}:host._disabled .ui-step-marker{background-color:var(--navigation-high-surface-disabled);border-color:var(--navigation-high-stroke-disabled);color:var(--navigation-high-content-disabled)}:host._disabled .ui-step-title{color:var(--navigation-high-content-disabled)}:host._vertical{display:block}:host._vertical .ui-step-header{flex-direction:row;align-items:center;gap:var(--units-sm);width:100%;text-align:left}:host._vertical .ui-step-title{width:auto;display:block;white-space:normal}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStep, decorators: [{
|
|
79
79
|
type: Component,
|
|
80
80
|
args: [{ selector: 'ui-step', imports: [UiIcon], host: {
|
|
81
81
|
class: 'ui-step',
|
|
@@ -84,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
84
84
|
'[class._vertical]': "stepper.orientation() === 'vertical'",
|
|
85
85
|
'[class._disabled]': 'isDisabled()',
|
|
86
86
|
'[class._last]': 'isLastStep()',
|
|
87
|
-
}, template: "<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span class=\"ui-step-separator\" aria-hidden=\"true\" [class._completed]=\"separatorCompleted()\"></span>\n}\n", styles: [":host{display:flex;flex:1 1 0;align-items:flex-start;min-width:0}:host._last{flex:0 0 auto}.ui-step-header{display:inline-flex;flex-direction:column;align-items:center;gap:var(--units-sm);flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:center}.ui-step-header:disabled{cursor:not-allowed}.ui-step-header:focus-visible{outline:none}.ui-step-marker{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:2.75rem;height:2.75rem;flex:0 0 auto;border:var(--stroke-sm) solid var(--navigation-high-stroke-default);border-radius:var(--radius-full);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1;transition:color var(--transition-default) var(--transition-easeinout),background-color var(--transition-default) var(--transition-easeinout),border-color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-step-title{width:0;display:flex;justify-content:center;white-space:nowrap;color:var(--navigation-high-content-default);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-sm);line-height:1.2;transition:color var(--transition-default) var(--transition-easeinout)}.ui-step-header:focus-visible .ui-step-marker{box-shadow:0 0 0 var(--units-2xs) var(--global-border-focus)}.ui-step-separator{flex:1 1 auto;min-width:var(--units-lg);height:0;margin:calc(2.75rem / 2 - var(--stroke-default) / 2) var(--units-sm) 0;border-top:var(--stroke-default) solid var(--global-border-default);transition:border-color var(--transition-default) var(--transition-easeinout)}.ui-step-separator._completed{border-top-color:var(--navigation-high-stroke-default)}:host._active .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-active);color:var(--informative-defaulthigh-content-default)}:host._active .ui-step-title{color:var(--global-text-default);font-weight:var(--weight-bold)}:host._completed .ui-step-marker{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default)}.ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-hover);border-color:var(--navigation-high-stroke-hover);color:var(--navigation-high-content-hover)}.ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--informative-defaulthigh-surface-hover);border-color:var(--informative-defaulthigh-stroke-hover);color:var(--informative-defaulthigh-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-defaultlow-content-default)}:host._disabled .ui-step-marker{background-color:var(--navigation-high-surface-disabled);border-color:var(--navigation-high-stroke-disabled);color:var(--navigation-high-content-disabled)}:host._disabled .ui-step-title{color:var(--navigation-high-content-disabled)}:host._vertical{display:block}:host._vertical .ui-step-header{flex-direction:row;align-items:center;gap:var(--units-sm);width:100%;text-align:left}:host._vertical .ui-step-title{width:auto;display:block;white-space:normal}\n"] }]
|
|
87
|
+
}, template: "<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span class=\"ui-step-separator\" aria-hidden=\"true\" [class._completed]=\"separatorCompleted()\"></span>\n}\n", styles: [":host{display:flex;flex:1 1 0;align-items:flex-start;min-width:0}:host._last{flex:0 0 auto}.ui-step-header{display:inline-flex;flex-direction:column;align-items:center;gap:var(--units-sm);flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:center}.ui-step-header:disabled{cursor:not-allowed}.ui-step-header:focus-visible{outline:none}.ui-step-marker{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-stepper-marker-size, 2.75rem);height:var(--ui-stepper-marker-size, 2.75rem);flex:0 0 auto;border:var(--ui-stepper-marker-stroke-width, var(--stroke-sm)) solid var(--navigation-high-stroke-default);border-radius:var(--radius-full);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-title{width:0;display:flex;justify-content:center;white-space:nowrap;color:var(--navigation-high-content-default);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-sm);line-height:1.2;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-header:focus-visible .ui-step-marker{box-shadow:0 0 0 var(--ui-stepper-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-step-separator{flex:1 1 auto;min-width:var(--units-lg);height:0;margin:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-separator-stroke-width, var(--stroke-default)) / 2) var(--units-sm) 0;border-top:var(--ui-stepper-separator-stroke-width, var(--stroke-default)) solid var(--global-border-default);transition:border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-separator._completed{border-top-color:var(--navigation-high-stroke-default)}:host._active .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-active);color:var(--informative-defaulthigh-content-default)}:host._active .ui-step-title{color:var(--global-text-default);font-weight:var(--weight-bold)}:host._completed .ui-step-marker{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default)}.ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-hover);border-color:var(--navigation-high-stroke-hover);color:var(--navigation-high-content-hover)}.ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--informative-defaulthigh-surface-hover);border-color:var(--informative-defaulthigh-stroke-hover);color:var(--informative-defaulthigh-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-defaultlow-content-default)}:host._disabled .ui-step-marker{background-color:var(--navigation-high-surface-disabled);border-color:var(--navigation-high-stroke-disabled);color:var(--navigation-high-content-disabled)}:host._disabled .ui-step-title{color:var(--navigation-high-content-disabled)}:host._vertical{display:block}:host._vertical .ui-step-header{flex-direction:row;align-items:center;gap:var(--units-sm);width:100%;text-align:left}:host._vertical .ui-step-title{width:auto;display:block;white-space:normal}\n"] }]
|
|
88
88
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
89
89
|
/**
|
|
90
90
|
* ui-step-panel , the content region tied to a {@link UiStep} by shared `value`.
|
|
@@ -123,8 +123,8 @@ class UiStepPanel {
|
|
|
123
123
|
this.hasRendered.set(true);
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
127
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
126
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
127
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiStepPanel, isStandalone: true, selector: "ui-step-panel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "role": "tabpanel" }, properties: { "id": "stepper.panelId(value())", "attr.aria-labelledby": "stepper.stepId(value())", "attr.tabindex": "active() ? 0 : null", "attr.inert": "active() ? null : ''", "class._active": "active()" }, classAttribute: "ui-step-panel" }, queries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
128
128
|
<ng-template #defaultContent><ng-content /></ng-template>
|
|
129
129
|
<div class="ui-step-panel-collapse" [class._open]="active()" [class._no-motion]="!stepper.motion()">
|
|
130
130
|
<div class="ui-step-panel-inner">
|
|
@@ -135,9 +135,9 @@ class UiStepPanel {
|
|
|
135
135
|
</div>
|
|
136
136
|
</div>
|
|
137
137
|
</div>
|
|
138
|
-
`, isInline: true, styles: [":host{display:block;color:var(--global-text-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);line-height:1.5;outline:none}.ui-step-panel-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-step-panel-collapse._open{grid-template-rows:1fr;opacity:1}.ui-step-panel-collapse._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-step-panel-collapse{transition-duration:.01ms}}:root[data-motion=off] .ui-step-panel-collapse{transition-duration:.01ms}.ui-step-panel-inner{overflow:hidden;min-height:0}.ui-step-panel-body{padding:var(--units-default) 0}:host-context(.ui-stepper._vertical){margin-left:calc(2.75rem + var(--units-sm))}:host-context(.ui-stepper._vertical) .ui-step-panel-body{padding:var(--units-sm) 0 var(--units-md)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
138
|
+
`, isInline: true, styles: [":host{display:block;color:var(--global-text-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);line-height:1.5;outline:none}.ui-step-panel-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-step-panel-collapse._open{grid-template-rows:1fr;opacity:1}.ui-step-panel-collapse._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-step-panel-collapse{transition-duration:.01ms}}:root[data-motion=off] .ui-step-panel-collapse{transition-duration:.01ms}.ui-step-panel-inner{overflow:hidden;min-height:0}.ui-step-panel-body{padding:var(--units-default) 0}:host-context(.ui-stepper._vertical){margin-left:calc(var(--ui-stepper-marker-size, 2.75rem) + var(--units-sm))}:host-context(.ui-stepper._vertical) .ui-step-panel-body{padding:var(--units-sm) 0 var(--units-md)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
139
139
|
}
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanel, decorators: [{
|
|
141
141
|
type: Component,
|
|
142
142
|
args: [{ selector: 'ui-step-panel', imports: [NgTemplateOutlet], template: `
|
|
143
143
|
<ng-template #defaultContent><ng-content /></ng-template>
|
|
@@ -158,7 +158,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
158
158
|
'[attr.tabindex]': 'active() ? 0 : null',
|
|
159
159
|
'[attr.inert]': "active() ? null : ''",
|
|
160
160
|
'[class._active]': 'active()',
|
|
161
|
-
}, styles: [":host{display:block;color:var(--global-text-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);line-height:1.5;outline:none}.ui-step-panel-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-step-panel-collapse._open{grid-template-rows:1fr;opacity:1}.ui-step-panel-collapse._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-step-panel-collapse{transition-duration:.01ms}}:root[data-motion=off] .ui-step-panel-collapse{transition-duration:.01ms}.ui-step-panel-inner{overflow:hidden;min-height:0}.ui-step-panel-body{padding:var(--units-default) 0}:host-context(.ui-stepper._vertical){margin-left:calc(2.75rem + var(--units-sm))}:host-context(.ui-stepper._vertical) .ui-step-panel-body{padding:var(--units-sm) 0 var(--units-md)}\n"] }]
|
|
161
|
+
}, styles: [":host{display:block;color:var(--global-text-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);line-height:1.5;outline:none}.ui-step-panel-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-step-panel-collapse._open{grid-template-rows:1fr;opacity:1}.ui-step-panel-collapse._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-step-panel-collapse{transition-duration:.01ms}}:root[data-motion=off] .ui-step-panel-collapse{transition-duration:.01ms}.ui-step-panel-inner{overflow:hidden;min-height:0}.ui-step-panel-body{padding:var(--units-default) 0}:host-context(.ui-stepper._vertical){margin-left:calc(var(--ui-stepper-marker-size, 2.75rem) + var(--units-sm))}:host-context(.ui-stepper._vertical) .ui-step-panel-body{padding:var(--units-sm) 0 var(--units-md)}\n"] }]
|
|
162
162
|
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], content: [{ type: i0.ContentChild, args: ['content', { isSignal: true }] }] } });
|
|
163
163
|
/**
|
|
164
164
|
* ui-step-list , the horizontal strip of {@link UiStep} headers.
|
|
@@ -174,10 +174,10 @@ class UiStepList {
|
|
|
174
174
|
this.ariaLabel = input(/* @ts-ignore */
|
|
175
175
|
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
176
176
|
}
|
|
177
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
178
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
178
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: UiStepList, isStandalone: true, selector: "ui-step-list", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "tablist", "aria-orientation": "horizontal" }, properties: { "attr.aria-label": "ariaLabel() || null" }, classAttribute: "ui-step-list" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:flex;flex-direction:row;align-items:flex-start;width:100%;min-width:0}\n"] }); }
|
|
179
179
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepList, decorators: [{
|
|
181
181
|
type: Component,
|
|
182
182
|
args: [{ selector: 'ui-step-list', template: '<ng-content />', host: {
|
|
183
183
|
class: 'ui-step-list',
|
|
@@ -191,10 +191,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
191
191
|
* horizontal step list.
|
|
192
192
|
*/
|
|
193
193
|
class UiStepPanels {
|
|
194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
195
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanels, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
195
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.1", type: UiStepPanels, isStandalone: true, selector: "ui-step-panels", host: { classAttribute: "ui-step-panels" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;width:100%}\n"] }); }
|
|
196
196
|
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanels, decorators: [{
|
|
198
198
|
type: Component,
|
|
199
199
|
args: [{ selector: 'ui-step-panels', template: '<ng-content />', host: { class: 'ui-step-panels' }, styles: [":host{display:block;width:100%}\n"] }]
|
|
200
200
|
}] });
|
|
@@ -229,17 +229,17 @@ class UiStepItem {
|
|
|
229
229
|
this.panel()?.value.set(this.value());
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
233
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
233
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: UiStepItem, isStandalone: true, selector: "ui-step-item", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class._active": "state() === 'active'", "class._completed": "state() === 'completed'", "class._last": "isLast()" }, classAttribute: "ui-step-item" }, queries: [{ propertyName: "step", first: true, predicate: UiStep, descendants: true, isSignal: true }, { propertyName: "panel", first: true, predicate: UiStepPanel, descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;position:relative;padding-bottom:var(--units-lg)}:host._last{padding-bottom:0}:host:not(._last):before{content:\"\";position:absolute;left:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-rail-stroke-width, var(--stroke-default)) / 2);top:calc(var(--ui-stepper-marker-size, 2.75rem) + var(--units-xs));bottom:0;width:var(--ui-stepper-rail-stroke-width, var(--stroke-default));background-color:var(--global-border-default)}:host._completed:not(._last):before{background-color:var(--navigation-high-stroke-default)}\n"] }); }
|
|
234
234
|
}
|
|
235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepItem, decorators: [{
|
|
236
236
|
type: Component,
|
|
237
237
|
args: [{ selector: 'ui-step-item', template: '<ng-content />', host: {
|
|
238
238
|
class: 'ui-step-item',
|
|
239
239
|
'[class._active]': "state() === 'active'",
|
|
240
240
|
'[class._completed]': "state() === 'completed'",
|
|
241
241
|
'[class._last]': 'isLast()',
|
|
242
|
-
}, styles: [":host{display:block;position:relative;padding-bottom:var(--units-lg)}:host._last{padding-bottom:0}:host:not(._last):before{content:\"\";position:absolute;left:calc(2.75rem / 2 - var(--stroke-default) / 2);top:calc(2.75rem + var(--units-xs));bottom:0;width:var(--stroke-default);background-color:var(--global-border-default)}:host._completed:not(._last):before{background-color:var(--navigation-high-stroke-default)}\n"] }]
|
|
242
|
+
}, styles: [":host{display:block;position:relative;padding-bottom:var(--units-lg)}:host._last{padding-bottom:0}:host:not(._last):before{content:\"\";position:absolute;left:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-rail-stroke-width, var(--stroke-default)) / 2);top:calc(var(--ui-stepper-marker-size, 2.75rem) + var(--units-xs));bottom:0;width:var(--ui-stepper-rail-stroke-width, var(--stroke-default));background-color:var(--global-border-default)}:host._completed:not(._last):before{background-color:var(--navigation-high-stroke-default)}\n"] }]
|
|
243
243
|
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], step: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiStep), { isSignal: true }] }], panel: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiStepPanel), { isSignal: true }] }] } });
|
|
244
244
|
/**
|
|
245
245
|
* ui-stepper , headless container guiding a user through a numbered, multi-step
|
|
@@ -362,10 +362,10 @@ class UiStepper {
|
|
|
362
362
|
if (index > 0)
|
|
363
363
|
this.updateValue(values[index - 1]);
|
|
364
364
|
}
|
|
365
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
366
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
365
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
366
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: UiStepper, isStandalone: true, selector: "ui-stepper", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, completedIcon: { classPropertyName: "completedIcon", publicName: "completedIcon", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", stepChange: "stepChange" }, host: { properties: { "class._vertical": "orientation() === 'vertical'", "attr.role": "orientation() === 'vertical' ? 'tablist' : null", "attr.aria-orientation": "orientation() === 'vertical' ? 'vertical' : null", "attr.aria-label": "orientation() === 'vertical' ? (ariaLabel() || null) : null", "attr.id": "id" }, classAttribute: "ui-stepper" }, queries: [{ propertyName: "steps", predicate: i0.forwardRef(() => UiStep), descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;width:100%}\n"] }); }
|
|
367
367
|
}
|
|
368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepper, decorators: [{
|
|
369
369
|
type: Component,
|
|
370
370
|
args: [{ selector: 'ui-stepper', template: '<ng-content />', host: {
|
|
371
371
|
class: 'ui-stepper',
|
|
@@ -386,4 +386,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
386
386
|
*/
|
|
387
387
|
|
|
388
388
|
export { UiStep, UiStepItem, UiStepList, UiStepPanel, UiStepPanels, UiStepper };
|
|
389
|
-
//# sourceMappingURL=4sh-ui-kit-ui-stepper.mjs.map
|
|
389
|
+
//# sourceMappingURL=4sh-ui-kit-navigation-ui-stepper.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"4sh-ui-kit-navigation-ui-stepper.mjs","sources":["../../../projects/ui-kit/navigation/ui-stepper/src/lib/ui-stepper.ts","../../../projects/ui-kit/navigation/ui-stepper/src/lib/ui-step.html","../../../projects/ui-kit/navigation/ui-stepper/src/public-api.ts","../../../projects/ui-kit/navigation/ui-stepper/src/4sh-ui-kit-navigation-ui-stepper.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n contentChildren,\n effect,\n forwardRef,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\n\n/** Identifier of a step / panel pair (matched against the container `value`). */\nexport type UiStepValue = string | number;\n/** Layout axis of the stepper. */\nexport type UiStepperOrientation = 'horizontal' | 'vertical';\n/** Progression state of a single step, derived from the active step. */\nexport type UiStepState = 'upcoming' | 'active' | 'completed';\n\n/** Payload emitted when the active step changes. */\nexport interface UiStepperChangeEvent {\n /** Value of the step that became active. */\n value: UiStepValue;\n /** Originating DOM event (click / keyboard), when triggered by the user. */\n originalEvent?: Event;\n}\n\n/** Process-wide counter for unique step/panel ids (aria wiring). */\nlet nextUid = 0;\n\n/**\n * ui-step , a single step header inside a {@link UiStepList} (horizontal) or a\n * {@link UiStepItem} (vertical).\n *\n * Renders a real native `<button role=\"tab\">` with a numbered marker and its\n * title. Every enabled header is a natural tab stop, so `Tab` walks through the\n * headers and `Enter`/`Space` activate the focused one (native button\n * behaviour , no custom key handling). The progression state (upcoming /\n * active / completed) is derived by the container from the active value; colours\n * come entirely from the `navigation.*` / `informative.*` design tokens.\n *\n * Declared before {@link UiStepper} so the container's content query can\n * reference it without a temporal-dead-zone error at class-definition time.\n */\n@Component({\n selector: 'ui-step',\n imports: [UiIcon],\n templateUrl: './ui-step.html',\n styleUrl: './ui-step.scss',\n host: {\n class: 'ui-step',\n '[class._active]': \"state() === 'active'\",\n '[class._completed]': \"state() === 'completed'\",\n '[class._vertical]': \"stepper.orientation() === 'vertical'\",\n '[class._disabled]': 'isDisabled()',\n '[class._last]': 'isLastStep()',\n },\n})\nexport class UiStep {\n /** Identifier of this step (matched against the container `value`). */\n value = model<UiStepValue | undefined>(undefined);\n /** Disable the step (not activatable, skipped by keyboard focus). */\n disabled = input(false, { transform: booleanAttribute });\n /** Icon name overriding the numbered marker (any state). */\n icon = input<string>();\n /** Accessible name override (falls back to the projected title). */\n ariaLabel = input<string>();\n\n /** @ignore Parent container (owns the active state + progression). */\n protected readonly stepper = inject(UiStepper);\n\n /** @ignore Progression state of this step. */\n readonly state = computed<UiStepState>(() => this.stepper.stepState(this.value()));\n\n /** @ignore 1-based position of this step (shown in the marker). */\n protected readonly number = computed(() => this.stepper.stepNumber(this.value()));\n\n /** @ignore Whether a trailing separator is drawn (horizontal, not the last step). */\n protected readonly showSeparator = computed(\n () => this.stepper.orientation() === 'horizontal' && !this.stepper.isLast(this.value()),\n );\n\n /** @ignore The separator bridges to the next step once this one is completed. */\n protected readonly separatorCompleted = computed(() => this.state() === 'completed');\n\n /** @ignore Last step in the sequence (no trailing growth in the horizontal strip). */\n protected readonly isLastStep = computed(() => this.stepper.isLast(this.value()));\n\n /**\n * @ignore Disabled when explicitly set, or , in `linear` mode , when the step\n * lies ahead of the active one (you cannot skip forward).\n */\n readonly isDisabled = computed(\n () => this.disabled() || (this.stepper.linear() && this.state() === 'upcoming'),\n );\n\n /** @ignore Glyph shown in the marker: own icon, else the completed icon, else the number. */\n protected readonly markerIcon = computed(() => {\n if (this.icon()) return this.icon()!;\n if (this.state() === 'completed') return this.stepper.completedIcon() ?? null;\n return null;\n });\n\n /** @ignore */\n protected onClick(event: MouseEvent): void {\n const value = this.value();\n if (this.isDisabled() || value === undefined) return;\n this.stepper.updateValue(value, event);\n }\n}\n\n/**\n * ui-step-panel , the content region tied to a {@link UiStep} by shared `value`.\n *\n * The panel stays mounted but is `hidden` (and skipped by assistive tech) when\n * inactive, so its state is preserved. With `lazy` the content is rendered only\n * once the panel is first activated; wrap expensive content in a\n * `<ng-template #content>` so it initialises lazily.\n */\n@Component({\n selector: 'ui-step-panel',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #defaultContent><ng-content /></ng-template>\n <div class=\"ui-step-panel-collapse\" [class._open]=\"active()\" [class._no-motion]=\"!stepper.motion()\">\n <div class=\"ui-step-panel-inner\">\n <div class=\"ui-step-panel-body\">\n @if (shouldRender()) {\n <ng-container [ngTemplateOutlet]=\"content() ?? defaultContent\" />\n }\n </div>\n </div>\n </div>\n `,\n styleUrl: './ui-step-panel.scss',\n host: {\n class: 'ui-step-panel',\n role: 'tabpanel',\n '[id]': 'stepper.panelId(value())',\n '[attr.aria-labelledby]': 'stepper.stepId(value())',\n '[attr.tabindex]': 'active() ? 0 : null',\n '[attr.inert]': \"active() ? null : ''\",\n '[class._active]': 'active()',\n },\n})\nexport class UiStepPanel {\n /** Identifier of this panel (matched against the step of the same `value`). */\n value = model<UiStepValue | undefined>(undefined);\n /** Render this panel's content only once it is first activated (overrides the group default). */\n lazy = input<boolean, unknown>(undefined, { transform: (v) => (v == null ? undefined : booleanAttribute(v)) });\n\n /** Optional lazy content template (`<ng-template #content>`). */\n protected readonly content = contentChild<TemplateRef<unknown>>('content');\n\n /** @ignore Parent container (active state + group `lazy` default). */\n protected readonly stepper = inject(UiStepper);\n\n /** @ignore */\n protected readonly active = computed(() => this.stepper.isActive(this.value()));\n /** @ignore Panel-level `lazy` overrides the group default when explicitly set. */\n private readonly isLazy = computed(() => this.lazy() ?? this.stepper.lazy());\n /** @ignore Sticks once the panel has been activated at least once. */\n private readonly hasRendered = signal(false);\n\n constructor() {\n effect(() => {\n if (this.active()) this.hasRendered.set(true);\n });\n }\n\n /** @ignore Eager panels always render; lazy ones only after first activation. */\n protected readonly shouldRender = computed(\n () => !this.isLazy() || this.hasRendered() || this.active(),\n );\n}\n\n/**\n * ui-step-list , the horizontal strip of {@link UiStep} headers.\n *\n * Owns the WAI-ARIA `role=\"tablist\"`. Focus moves through the headers with\n * `Tab` (each enabled header is a native tab stop); activation is `Enter` /\n * `Space` (native `<button>`). Use it on its own , without panels , for a plain\n * progress indicator (\"steps only\").\n */\n@Component({\n selector: 'ui-step-list',\n template: '<ng-content />',\n styleUrl: './ui-step-list.scss',\n host: {\n class: 'ui-step-list',\n role: 'tablist',\n 'aria-orientation': 'horizontal',\n '[attr.aria-label]': 'ariaLabel() || null',\n },\n})\nexport class UiStepList {\n /** Accessible name for the step list (recommended). */\n ariaLabel = input<string>();\n}\n\n/**\n * ui-step-panels , thin wrapper grouping the {@link UiStepPanel}s below the\n * horizontal step list.\n */\n@Component({\n selector: 'ui-step-panels',\n template: '<ng-content />',\n styles: `\n :host {\n display: block;\n width: 100%;\n }\n `,\n host: { class: 'ui-step-panels' },\n})\nexport class UiStepPanels {}\n\n/**\n * ui-step-item , vertical wrapper pairing a {@link UiStep} with its\n * {@link UiStepPanel}. Carries the shared `value` and propagates it to both\n * children, so the vertical markup stays terse. The connector rail is drawn by\n * the item itself, alongside the panel.\n */\n@Component({\n selector: 'ui-step-item',\n template: '<ng-content />',\n styleUrl: './ui-step-item.scss',\n host: {\n class: 'ui-step-item',\n '[class._active]': \"state() === 'active'\",\n '[class._completed]': \"state() === 'completed'\",\n '[class._last]': 'isLast()',\n },\n})\nexport class UiStepItem {\n /** Identifier shared by the wrapped step and panel. */\n value = input.required<UiStepValue>();\n\n /** @ignore Parent container. */\n protected readonly stepper = inject(UiStepper);\n\n /** @ignore Wrapped step (value propagated from this item). */\n private readonly step = contentChild(UiStep);\n /** @ignore Wrapped panel (value propagated from this item). */\n private readonly panel = contentChild(UiStepPanel);\n\n /** @ignore Progression state (drives the connector colour). */\n protected readonly state = computed<UiStepState>(() => this.stepper.stepState(this.value()));\n /** @ignore Last item hides its connector rail. */\n protected readonly isLast = computed(() => this.stepper.isLast(this.value()));\n\n constructor() {\n // Propagate the item value down to the wrapped step and panel.\n effect(() => {\n this.step()?.value.set(this.value());\n this.panel()?.value.set(this.value());\n });\n }\n}\n\n/**\n * ui-stepper , headless container guiding a user through a numbered, multi-step\n * progression (wizard). Composition API mirroring `ui-tabs`.\n *\n * Two layouts. **Horizontal**: a `ui-step-list` of `ui-step` headers on top and\n * a `ui-step-panels` holding one `ui-step-panel` per step below (each step and\n * its panel paired by `value`). **Vertical**: each `ui-step-item` wraps a\n * `ui-step` and its `ui-step-panel`, so the panel appears directly beneath its\n * header. With `linear`, steps ahead of the active one are disabled , advance by\n * setting `value` (e.g. a \"Next\" button in the panel). Every colour/metric comes\n * from the `navigation.*` / `informative.*` design tokens; the active panel\n * fades in via the shared motion system (reduced-motion aware).\n *\n * @example\n * ```html\n * <ui-stepper [(value)]=\"active\">\n * <ui-step-list ariaLabel=\"Étapes\">\n * <ui-step [value]=\"1\">Compte</ui-step>\n * <ui-step [value]=\"2\">Profil</ui-step>\n * <ui-step [value]=\"3\">Confirmation</ui-step>\n * </ui-step-list>\n * <ui-step-panels>\n * <ui-step-panel [value]=\"1\">…</ui-step-panel>\n * <ui-step-panel [value]=\"2\">…</ui-step-panel>\n * <ui-step-panel [value]=\"3\">…</ui-step-panel>\n * </ui-step-panels>\n * </ui-stepper>\n * ```\n */\n@Component({\n selector: 'ui-stepper',\n template: '<ng-content />',\n styles: `\n :host {\n display: block;\n width: 100%;\n }\n `,\n host: {\n class: 'ui-stepper',\n '[class._vertical]': \"orientation() === 'vertical'\",\n '[attr.role]': \"orientation() === 'vertical' ? 'tablist' : null\",\n '[attr.aria-orientation]': \"orientation() === 'vertical' ? 'vertical' : null\",\n '[attr.aria-label]': \"orientation() === 'vertical' ? (ariaLabel() || null) : null\",\n '[attr.id]': 'id',\n },\n})\nexport class UiStepper {\n /** Value of the active step (two-way). `undefined` = no active step. */\n value = model<UiStepValue | undefined>(undefined);\n /** Layout axis: `horizontal` (list on top, panels below) or `vertical`. */\n orientation = input<UiStepperOrientation>('horizontal');\n /** When `true`, steps ahead of the active one are disabled (no skipping forward). */\n linear = input(false, { transform: booleanAttribute });\n /** Group default: render an inactive panel's content only once it is first activated. */\n lazy = input(false, { transform: booleanAttribute });\n /** Animate the active panel transition (reduced-motion always wins). */\n motion = input(true, { transform: booleanAttribute });\n /** Icon shown in the marker of completed steps (falls back to the step number). */\n completedIcon = input<string>();\n /** Accessible name for the container (used as `aria-label` in vertical layout). */\n ariaLabel = input<string>();\n /** Tabindex applied to each enabled step header. */\n tabindex = input(0, { transform: numberAttribute });\n\n /** Fired whenever the active step changes (user click / keyboard). */\n stepChange = output<UiStepperChangeEvent>();\n\n /** @ignore Unique id root for aria wiring between steps and panels. */\n readonly id = `ui-stepper-${nextUid++}`;\n\n /** @ignore All steps projected under this container, in DOM order. */\n private readonly steps = contentChildren(forwardRef(() => UiStep), { descendants: true });\n\n /** @ignore Ordered step values (the progression sequence). */\n private readonly orderedValues = computed(() => this.steps().map((s) => s.value()));\n\n /** @ignore Index of the active step in the ordered sequence (-1 when none). */\n private readonly activeIndex = computed(() => this.orderedValues().indexOf(this.value()));\n\n /** @ignore id of the step header for a given value. */\n stepId(value: UiStepValue | undefined): string {\n return `${this.id}-step-${value}`;\n }\n /** @ignore id of the panel for a given value. */\n panelId(value: UiStepValue | undefined): string {\n return `${this.id}-panel-${value}`;\n }\n\n /** @ignore Whether the given value is the active step. */\n isActive(value: UiStepValue | undefined): boolean {\n return value !== undefined && this.value() === value;\n }\n\n /** @ignore 1-based position of a step in the progression (0 when unknown). */\n stepNumber(value: UiStepValue | undefined): number {\n return this.orderedValues().indexOf(value) + 1;\n }\n\n /** @ignore Whether the given value is the last step in the sequence. */\n isLast(value: UiStepValue | undefined): boolean {\n const values = this.orderedValues();\n return values.length > 0 && values[values.length - 1] === value;\n }\n\n /**\n * @ignore Progression state of a step: before the active one → `completed`,\n * the active one → `active`, after it → `upcoming`.\n */\n stepState(value: UiStepValue | undefined): UiStepState {\n const index = this.orderedValues().indexOf(value);\n const active = this.activeIndex();\n if (index === -1 || active === -1) return 'upcoming';\n if (index < active) return 'completed';\n if (index === active) return 'active';\n return 'upcoming';\n }\n\n /** @ignore Activate a step (no-op if already active); emits `stepChange`. */\n updateValue(value: UiStepValue, event?: Event): void {\n if (this.value() === value) return;\n this.value.set(value);\n this.stepChange.emit({ value, originalEvent: event });\n }\n\n /** Activate the next step in the sequence (respects the sequence bounds). */\n next(): void {\n const values = this.orderedValues();\n const target = values[this.activeIndex() + 1];\n if (target !== undefined) this.updateValue(target);\n }\n\n /** Activate the previous step in the sequence. */\n prev(): void {\n const values = this.orderedValues();\n const index = this.activeIndex();\n if (index > 0) this.updateValue(values[index - 1]!);\n }\n}\n","<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span class=\"ui-step-separator\" aria-hidden=\"true\" [class._completed]=\"separatorCompleted()\"></span>\n}\n","/*\n * Public API Surface of ui-kit/ui-stepper\n */\n\nexport * from './lib/ui-stepper';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAkCA;AACA,IAAI,OAAO,GAAG,CAAC;AAEf;;;;;;;;;;;;;AAaG;MAeU,MAAM,CAAA;AAdnB,IAAA,WAAA,GAAA;;QAgBE,IAAA,CAAA,KAAK,GAAG,KAAK,CAA0B,SAAS;kFAAC;;QAEjD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;AAExD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;4FAAU;;AAEtB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK;iGAAU;;AAGR,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC;;AAGrC,QAAA,IAAA,CAAA,KAAK,GAAG,QAAQ,CAAc,MAAM,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;kFAAC;;AAG/D,QAAA,IAAA,CAAA,MAAM,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;mFAAC;;QAG9D,IAAA,CAAA,aAAa,GAAG,QAAQ,CACz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AAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAzCtD,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,CAAA,CAAA;;2FAgBf,SAAS,EAAA,UAAA,EAAA,CAAA;kBAlBrB,SAAS;+BACE,YAAY,EAAA,QAAA,EACZ,gBAAgB,EAAA,IAAA,EAOpB;AACJ,wBAAA,KAAK,EAAE,YAAY;AACnB,wBAAA,mBAAmB,EAAE,8BAA8B;AACnD,wBAAA,aAAa,EAAE,iDAAiD;AAChE,wBAAA,yBAAyB,EAAE,kDAAkD;AAC7E,wBAAA,mBAAmB,EAAE,6DAA6D;AAClF,wBAAA,WAAW,EAAE,IAAI;AAClB,qBAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;06BA2BwC,UAAU,CAAC,MAAM,MAAM,CAAC,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEnV1F;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, booleanAttribute, inject, viewChild, computed, Component, contentChild, signal, effect, DestroyRef, contentChildren, afterNextRender, afterRenderEffect, untracked, model, numberAttribute, output, forwardRef } from '@angular/core';
|
|
3
3
|
import { NgTemplateOutlet } from '@angular/common';
|
|
4
|
-
import { UiIcon } from '@4sh/ui-kit/ui-icon';
|
|
4
|
+
import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
|
|
5
5
|
|
|
6
6
|
/** Process-wide counter for unique tab/panel ids (aria wiring). */
|
|
7
7
|
let nextUid = 0;
|
|
@@ -60,8 +60,8 @@ class UiTab {
|
|
|
60
60
|
this.tabs.updateValue(this.value(), event);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
64
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTab, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiTab, isStandalone: true, selector: "ui-tab", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class._active": "active()", "class._disabled": "disabled()", "class._icon-right": "iconPos() === 'right'", "class._vertical": "tabs.orientation() === 'vertical'" }, classAttribute: "ui-tab" }, viewQueries: [{ propertyName: "buttonEl", first: true, predicate: ["tabBtn"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
65
65
|
<button
|
|
66
66
|
#tabBtn
|
|
67
67
|
type="button"
|
|
@@ -81,9 +81,9 @@ class UiTab {
|
|
|
81
81
|
}
|
|
82
82
|
<span class="ui-tab-label"><ng-content /></span>
|
|
83
83
|
</button>
|
|
84
|
-
`, isInline: true, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:2.75rem;margin:0;padding:0 var(--units-default);border:0;background-color:var(--navigation-
|
|
84
|
+
`, isInline: true, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:var(--ui-tabs-min-height, 2.75rem);margin:0;padding:0 var(--units-default);border:0;background-color:var(--navigation-highoutlined-surface-default);color:var(--navigation-highoutlined-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-tab-button:hover:not(:disabled){background-color:var(--navigation-highoutlined-surface-hover);color:var(--navigation-highoutlined-content-hover)}.ui-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-tabs-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-tab-button:disabled{background-color:var(--navigation-highoutlined-surface-disabled);color:var(--navigation-highoutlined-content-disabled);cursor:not-allowed}:host._icon-right .ui-tab-button{flex-direction:row-reverse}:host._active .ui-tab-button{background-color:var(--navigation-highoutlined-surface-active);color:var(--navigation-highoutlined-content-active)}:host._vertical .ui-tab-button{width:100%;justify-content:flex-start}:host._vertical._icon-right .ui-tab-button{justify-content:space-between}.ui-tab-icon{line-height:0}.ui-tab-label{min-width:0}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTab, decorators: [{
|
|
87
87
|
type: Component,
|
|
88
88
|
args: [{ selector: 'ui-tab', imports: [UiIcon], template: `
|
|
89
89
|
<button
|
|
@@ -111,7 +111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
111
111
|
'[class._disabled]': 'disabled()',
|
|
112
112
|
'[class._icon-right]': "iconPos() === 'right'",
|
|
113
113
|
'[class._vertical]': "tabs.orientation() === 'vertical'",
|
|
114
|
-
}, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:2.75rem;margin:0;padding:0 var(--units-default);border:0;background-color:var(--navigation-
|
|
114
|
+
}, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:var(--ui-tabs-min-height, 2.75rem);margin:0;padding:0 var(--units-default);border:0;background-color:var(--navigation-highoutlined-surface-default);color:var(--navigation-highoutlined-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-tab-button:hover:not(:disabled){background-color:var(--navigation-highoutlined-surface-hover);color:var(--navigation-highoutlined-content-hover)}.ui-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-tabs-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-tab-button:disabled{background-color:var(--navigation-highoutlined-surface-disabled);color:var(--navigation-highoutlined-content-disabled);cursor:not-allowed}:host._icon-right .ui-tab-button{flex-direction:row-reverse}:host._active .ui-tab-button{background-color:var(--navigation-highoutlined-surface-active);color:var(--navigation-highoutlined-content-active)}:host._vertical .ui-tab-button{width:100%;justify-content:flex-start}:host._vertical._icon-right .ui-tab-button{justify-content:space-between}.ui-tab-icon{line-height:0}.ui-tab-label{min-width:0}\n"] }]
|
|
115
115
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], buttonEl: [{ type: i0.ViewChild, args: ['tabBtn', { isSignal: true }] }] } });
|
|
116
116
|
/**
|
|
117
117
|
* ui-tab-panel , the content region tied to a {@link UiTab} by shared `value`.
|
|
@@ -150,15 +150,15 @@ class UiTabPanel {
|
|
|
150
150
|
this.hasRendered.set(true);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
154
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
153
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
154
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiTabPanel, isStandalone: true, selector: "ui-tab-panel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "tabpanel", "tabindex": "0" }, properties: { "id": "tabs.panelId(value())", "attr.aria-labelledby": "tabs.tabId(value())", "hidden": "!active()", "class._active": "active()", "class._no-motion": "!tabs.motion()" }, classAttribute: "ui-tab-panel" }, queries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
155
155
|
<ng-template #defaultContent><ng-content /></ng-template>
|
|
156
156
|
@if (shouldRender()) {
|
|
157
157
|
<ng-container [ngTemplateOutlet]="content() ?? defaultContent" />
|
|
158
158
|
}
|
|
159
159
|
`, isInline: true, styles: [":host{display:block;padding:var(--units-default) 0;color:var(--global-text-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);line-height:1.5;outline:none}:host([hidden]){display:none}:host(._active:not(._no-motion)){animation:ui-motion-fade-in var(--transition-default) var(--transition-easeout) both}@media(prefers-reduced-motion:reduce){:host(._active:not(._no-motion)){animation-duration:.01ms}}:root[data-motion=off] :host(._active:not(._no-motion)){animation-duration:.01ms}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
160
160
|
}
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabPanel, decorators: [{
|
|
162
162
|
type: Component,
|
|
163
163
|
args: [{ selector: 'ui-tab-panel', imports: [NgTemplateOutlet], template: `
|
|
164
164
|
<ng-template #defaultContent><ng-content /></ng-template>
|
|
@@ -189,6 +189,12 @@ class UiTabList {
|
|
|
189
189
|
/** Accessible name for the tab list (recommended). */
|
|
190
190
|
this.ariaLabel = input(/* @ts-ignore */
|
|
191
191
|
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
192
|
+
/** Accessible name of the "previous" scroll navigator. */
|
|
193
|
+
this.prevAriaLabel = input('Défiler vers les onglets précédents', /* @ts-ignore */
|
|
194
|
+
...(ngDevMode ? [{ debugName: "prevAriaLabel" }] : /* istanbul ignore next */ []));
|
|
195
|
+
/** Accessible name of the "next" scroll navigator. */
|
|
196
|
+
this.nextAriaLabel = input('Défiler vers les onglets suivants', /* @ts-ignore */
|
|
197
|
+
...(ngDevMode ? [{ debugName: "nextAriaLabel" }] : /* istanbul ignore next */ []));
|
|
192
198
|
/** @ignore Parent container (state + group options). */
|
|
193
199
|
this.tabs = inject(UiTabs);
|
|
194
200
|
/** @ignore */
|
|
@@ -323,7 +329,7 @@ class UiTabList {
|
|
|
323
329
|
const viewSize = horizontal ? viewport.clientWidth : viewport.clientHeight;
|
|
324
330
|
if (viewSize === 0)
|
|
325
331
|
return; // not laid out yet , a later pass will re-run.
|
|
326
|
-
let target
|
|
332
|
+
let target;
|
|
327
333
|
if (start < viewStart) {
|
|
328
334
|
target = start; // clipped at the start edge , align to it.
|
|
329
335
|
}
|
|
@@ -372,10 +378,10 @@ class UiTabList {
|
|
|
372
378
|
el.scrollBy({ top: direction * el.clientHeight * 0.8 });
|
|
373
379
|
}
|
|
374
380
|
}
|
|
375
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
376
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
381
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
382
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiTabList, isStandalone: true, selector: "ui-tab-list", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, prevAriaLabel: { classPropertyName: "prevAriaLabel", publicName: "prevAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextAriaLabel: { classPropertyName: "nextAriaLabel", publicName: "nextAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown": "onKeydown($event)" }, properties: { "class._vertical": "orientation() === 'vertical'", "class._scrollable": "scrollable()", "class._no-motion": "!tabs.motion()" }, classAttribute: "ui-tab-list" }, queries: [{ propertyName: "tabItems", predicate: UiTab, isSignal: true }], viewQueries: [{ propertyName: "scrollEl", first: true, predicate: ["scroll"], descendants: true, isSignal: true }, { propertyName: "innerEl", first: true, predicate: ["inner"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (showNavigators()) {\n <button\n type=\"button\"\n class=\"ui-tab-list-nav _prev\"\n [attr.aria-label]=\"prevAriaLabel() || null\"\n tabindex=\"-1\"\n [disabled]=\"!prevEnabled()\"\n (click)=\"scrollBy(-1)\"\n >\n <ui-icon [name]=\"orientation() === 'vertical' ? 'chevron-up' : 'chevron-left'\" size=\"sm\" />\n </button>\n}\n\n<div #scroll class=\"ui-tab-list-scroll\" (scroll)=\"onScroll()\">\n <div\n #inner\n class=\"ui-tab-list-tabs\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-orientation]=\"orientation()\"\n >\n <ng-content />\n\n <span\n class=\"ui-tab-list-active-bar\"\n aria-hidden=\"true\"\n [class._hidden]=\"!bar()\"\n [style.transform]=\"barTransform()\"\n [style.width.px]=\"orientation() === 'horizontal' ? bar()?.length : null\"\n [style.height.px]=\"orientation() === 'vertical' ? bar()?.length : null\"\n ></span>\n </div>\n</div>\n\n@if (showNavigators()) {\n <button\n type=\"button\"\n class=\"ui-tab-list-nav _next\"\n [attr.aria-label]=\"nextAriaLabel() || null\"\n tabindex=\"-1\"\n [disabled]=\"!nextEnabled()\"\n (click)=\"scrollBy(1)\"\n >\n <ui-icon [name]=\"orientation() === 'vertical' ? 'chevron-down' : 'chevron-right'\" size=\"sm\" />\n </button>\n}\n", styles: [":host{display:flex;flex-direction:row;align-items:stretch;position:relative;min-width:0;box-shadow:inset 0 calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 var(--global-border-default)}.ui-tab-list-scroll{flex:1 1 auto;min-width:0;overflow:hidden}:host._scrollable .ui-tab-list-scroll{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}:host._scrollable .ui-tab-list-scroll::-webkit-scrollbar{display:none}@media(prefers-reduced-motion:reduce){:host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}}:root[data-motion=off] :host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}:host._no-motion .ui-tab-list-scroll{scroll-behavior:auto}.ui-tab-list-tabs{position:relative;display:flex;flex-direction:row;align-items:stretch;width:max-content;min-width:100%}.ui-tab-list-active-bar{position:absolute;bottom:0;left:0;height:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));border-radius:var(--radius-full);background-color:var(--ui-tabs-indicator-color, var(--ui-tabs-active-bar-color, var(--navigation-highoutlined-stroke-active)));pointer-events:none;will-change:transform,width;transition:transform var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),height var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tab-list-active-bar._hidden{opacity:0}@media(prefers-reduced-motion:reduce){.ui-tab-list-active-bar{transition:none}}:root[data-motion=off] .ui-tab-list-active-bar{transition:none}:host._no-motion .ui-tab-list-active-bar{transition:none}.ui-tab-list-nav{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ui-tabs-nav-size, 2.5rem);align-self:stretch;border:0;background-color:var(--navigation-highoutlined-surface-default);color:var(--navigation-highoutlined-content-default);cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-tab-list-nav:hover:not(:disabled){background-color:var(--navigation-highoutlined-surface-hover);color:var(--navigation-highoutlined-content-hover)}.ui-tab-list-nav:disabled{color:var(--navigation-highoutlined-content-disabled);cursor:default}:host._vertical{flex-direction:column;align-items:stretch;box-shadow:inset calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 0 var(--global-border-default)}:host._vertical .ui-tab-list-tabs{flex-direction:column;width:100%}:host._vertical._scrollable .ui-tab-list-scroll{overflow-x:hidden;overflow-y:auto}:host._vertical .ui-tab-list-active-bar{inset:0 0 auto auto;width:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));height:auto}:host._vertical .ui-tab-list-nav{width:auto;height:var(--ui-tabs-nav-size, 2.5rem);align-self:auto}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
377
383
|
}
|
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabList, decorators: [{
|
|
379
385
|
type: Component,
|
|
380
386
|
args: [{ selector: 'ui-tab-list', imports: [UiIcon], host: {
|
|
381
387
|
class: 'ui-tab-list',
|
|
@@ -383,17 +389,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
383
389
|
'[class._scrollable]': 'scrollable()',
|
|
384
390
|
'[class._no-motion]': '!tabs.motion()',
|
|
385
391
|
'(keydown)': 'onKeydown($event)',
|
|
386
|
-
}, template: "@if (showNavigators()) {\n <button\n type=\"button\"\n class=\"ui-tab-list-nav _prev\"\n aria-label=\"
|
|
387
|
-
}], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], tabItems: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => UiTab), { isSignal: true }] }], scrollEl: [{ type: i0.ViewChild, args: ['scroll', { isSignal: true }] }], innerEl: [{ type: i0.ViewChild, args: ['inner', { isSignal: true }] }] } });
|
|
392
|
+
}, template: "@if (showNavigators()) {\n <button\n type=\"button\"\n class=\"ui-tab-list-nav _prev\"\n [attr.aria-label]=\"prevAriaLabel() || null\"\n tabindex=\"-1\"\n [disabled]=\"!prevEnabled()\"\n (click)=\"scrollBy(-1)\"\n >\n <ui-icon [name]=\"orientation() === 'vertical' ? 'chevron-up' : 'chevron-left'\" size=\"sm\" />\n </button>\n}\n\n<div #scroll class=\"ui-tab-list-scroll\" (scroll)=\"onScroll()\">\n <div\n #inner\n class=\"ui-tab-list-tabs\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-orientation]=\"orientation()\"\n >\n <ng-content />\n\n <span\n class=\"ui-tab-list-active-bar\"\n aria-hidden=\"true\"\n [class._hidden]=\"!bar()\"\n [style.transform]=\"barTransform()\"\n [style.width.px]=\"orientation() === 'horizontal' ? bar()?.length : null\"\n [style.height.px]=\"orientation() === 'vertical' ? bar()?.length : null\"\n ></span>\n </div>\n</div>\n\n@if (showNavigators()) {\n <button\n type=\"button\"\n class=\"ui-tab-list-nav _next\"\n [attr.aria-label]=\"nextAriaLabel() || null\"\n tabindex=\"-1\"\n [disabled]=\"!nextEnabled()\"\n (click)=\"scrollBy(1)\"\n >\n <ui-icon [name]=\"orientation() === 'vertical' ? 'chevron-down' : 'chevron-right'\" size=\"sm\" />\n </button>\n}\n", styles: [":host{display:flex;flex-direction:row;align-items:stretch;position:relative;min-width:0;box-shadow:inset 0 calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 var(--global-border-default)}.ui-tab-list-scroll{flex:1 1 auto;min-width:0;overflow:hidden}:host._scrollable .ui-tab-list-scroll{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}:host._scrollable .ui-tab-list-scroll::-webkit-scrollbar{display:none}@media(prefers-reduced-motion:reduce){:host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}}:root[data-motion=off] :host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}:host._no-motion .ui-tab-list-scroll{scroll-behavior:auto}.ui-tab-list-tabs{position:relative;display:flex;flex-direction:row;align-items:stretch;width:max-content;min-width:100%}.ui-tab-list-active-bar{position:absolute;bottom:0;left:0;height:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));border-radius:var(--radius-full);background-color:var(--ui-tabs-indicator-color, var(--ui-tabs-active-bar-color, var(--navigation-highoutlined-stroke-active)));pointer-events:none;will-change:transform,width;transition:transform var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),height var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tab-list-active-bar._hidden{opacity:0}@media(prefers-reduced-motion:reduce){.ui-tab-list-active-bar{transition:none}}:root[data-motion=off] .ui-tab-list-active-bar{transition:none}:host._no-motion .ui-tab-list-active-bar{transition:none}.ui-tab-list-nav{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ui-tabs-nav-size, 2.5rem);align-self:stretch;border:0;background-color:var(--navigation-highoutlined-surface-default);color:var(--navigation-highoutlined-content-default);cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-tab-list-nav:hover:not(:disabled){background-color:var(--navigation-highoutlined-surface-hover);color:var(--navigation-highoutlined-content-hover)}.ui-tab-list-nav:disabled{color:var(--navigation-highoutlined-content-disabled);cursor:default}:host._vertical{flex-direction:column;align-items:stretch;box-shadow:inset calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 0 var(--global-border-default)}:host._vertical .ui-tab-list-tabs{flex-direction:column;width:100%}:host._vertical._scrollable .ui-tab-list-scroll{overflow-x:hidden;overflow-y:auto}:host._vertical .ui-tab-list-active-bar{inset:0 0 auto auto;width:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));height:auto}:host._vertical .ui-tab-list-nav{width:auto;height:var(--ui-tabs-nav-size, 2.5rem);align-self:auto}\n"] }]
|
|
393
|
+
}], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], prevAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "prevAriaLabel", required: false }] }], nextAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "nextAriaLabel", required: false }] }], tabItems: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => UiTab), { isSignal: true }] }], scrollEl: [{ type: i0.ViewChild, args: ['scroll', { isSignal: true }] }], innerEl: [{ type: i0.ViewChild, args: ['inner', { isSignal: true }] }] } });
|
|
388
394
|
/**
|
|
389
395
|
* ui-tab-panels , thin wrapper grouping the {@link UiTabPanel}s. Fills the
|
|
390
396
|
* remaining space beside/under the tab list.
|
|
391
397
|
*/
|
|
392
398
|
class UiTabPanels {
|
|
393
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
394
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabPanels, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
400
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.1", type: UiTabPanels, isStandalone: true, selector: "ui-tab-panels", host: { classAttribute: "ui-tab-panels" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;flex:1 1 auto;min-width:0}\n"] }); }
|
|
395
401
|
}
|
|
396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabPanels, decorators: [{
|
|
397
403
|
type: Component,
|
|
398
404
|
args: [{ selector: 'ui-tab-panels', template: '<ng-content />', host: { class: 'ui-tab-panels' }, styles: [":host{display:block;flex:1 1 auto;min-width:0}\n"] }]
|
|
399
405
|
}] });
|
|
@@ -480,10 +486,10 @@ class UiTabs {
|
|
|
480
486
|
this.value.set(value);
|
|
481
487
|
this.tabChange.emit({ value, originalEvent: event });
|
|
482
488
|
}
|
|
483
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
484
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
489
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabs, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
490
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: UiTabs, isStandalone: true, selector: "ui-tabs", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", tabChange: "tabChange" }, host: { properties: { "class._vertical": "orientation() === 'vertical'" }, classAttribute: "ui-tabs" }, queries: [{ propertyName: "tabs", predicate: i0.forwardRef(() => UiTab), descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:flex;flex-direction:column;width:100%}:host(._vertical){flex-direction:row;align-items:flex-start}\n"] }); }
|
|
485
491
|
}
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTabs, decorators: [{
|
|
487
493
|
type: Component,
|
|
488
494
|
args: [{ selector: 'ui-tabs', template: '<ng-content />', host: {
|
|
489
495
|
class: 'ui-tabs',
|
|
@@ -500,4 +506,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
500
506
|
*/
|
|
501
507
|
|
|
502
508
|
export { UiTab, UiTabList, UiTabPanel, UiTabPanels, UiTabs };
|
|
503
|
-
//# sourceMappingURL=4sh-ui-kit-ui-tabs.mjs.map
|
|
509
|
+
//# sourceMappingURL=4sh-ui-kit-navigation-ui-tabs.mjs.map
|