@seniorsistemas/scala-ng 2.4.0 → 2.5.0-main-0e1acfc8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -42
- package/autocomplete/README.md +5 -1
- package/autocomplete/public-api.d.ts +2 -2
- package/autocomplete/src/autocomplete/autocomplete.component.d.ts +6 -6
- package/autocomplete/src/autocomplete/autocomplete.models.d.ts +2 -2
- package/autocomplete/src/autocomplete/panel/autocomplete-panel.component.d.ts +1 -1
- package/avatar-summary/README.md +1 -1
- package/avatar-summary/public-api.d.ts +2 -2
- package/avatar-summary/src/avatar-summary/avatar-summary.component.d.ts +1 -1
- package/avatar-summary/src/avatar-summary/avatar-summary.models.d.ts +3 -3
- package/avatar-summary/src/avatar-summary/avatar-summary.tokens.d.ts +1 -1
- package/avatar-summary/src/avatar-summary/avatar-summary.utils.d.ts +1 -1
- package/badge/README.md +1 -1
- package/badge/public-api.d.ts +1 -1
- package/badge/src/badge/badge.component.d.ts +1 -1
- package/banner/README.md +1 -1
- package/banner/public-api.d.ts +3 -3
- package/banner/src/banner/banner.component.d.ts +2 -2
- package/banner/src/banner/banner.models.d.ts +1 -1
- package/banner/src/banner-trigger/banner-trigger.directive.d.ts +2 -2
- package/breadcrumb/README.md +7 -7
- package/breadcrumb/public-api.d.ts +5 -5
- package/breadcrumb/src/breadcrumb/breadcrumb.component.d.ts +2 -2
- package/breadcrumb/src/breadcrumb-router/breadcrumb-router.component.d.ts +2 -2
- package/breadcrumb/src/breadcrumb-truncator/breadcrumb-truncator.component.d.ts +3 -3
- package/button/README.md +5 -1
- package/button/public-api.d.ts +1 -1
- package/button/src/button/button.component.d.ts +1 -1
- package/card/README.md +1 -1
- package/card/public-api.d.ts +1 -1
- package/card/src/card/card.component.d.ts +4 -4
- package/checkbox/README.md +5 -5
- package/checkbox/public-api.d.ts +1 -1
- package/checkbox/src/checkbox/checkbox.component.d.ts +1 -1
- package/content-lifecycle/README.md +2 -2
- package/content-lifecycle/public-api.d.ts +2 -2
- package/content-lifecycle/src/content-lifecycle/content-lifecycle.component.d.ts +2 -2
- package/content-lifecycle/src/content-lifecycle/content-lifecycle.models.d.ts +2 -2
- package/date-picker/README.md +37 -6
- package/date-picker/public-api.d.ts +3 -3
- package/date-picker/src/date-picker/date-format.utils.d.ts +2 -2
- package/date-picker/src/date-picker/datepicker.component.d.ts +17 -9
- package/display-tag/README.md +2 -2
- package/display-tag/public-api.d.ts +2 -2
- package/display-tag/src/display-tag/display-tag.component.d.ts +5 -5
- package/drawer/README.md +9 -9
- package/drawer/public-api.d.ts +1 -1
- package/drawer/src/drawer/drawer.component.d.ts +4 -4
- package/empty-state/README.md +1 -1
- package/empty-state/public-api.d.ts +2 -2
- package/empty-state/src/empty-state/empty-state.component.d.ts +1 -1
- package/empty-state/src/empty-state/empty-state.models.d.ts +2 -2
- package/esm2022/autocomplete/public-api.mjs +2 -2
- package/esm2022/autocomplete/src/autocomplete/autocomplete.component.mjs +55 -55
- package/esm2022/autocomplete/src/autocomplete/autocomplete.models.mjs +1 -1
- package/esm2022/autocomplete/src/autocomplete/panel/autocomplete-panel.component.mjs +12 -12
- package/esm2022/avatar-summary/public-api.mjs +2 -2
- package/esm2022/avatar-summary/src/avatar-summary/avatar-summary.component.mjs +24 -24
- package/esm2022/avatar-summary/src/avatar-summary/avatar-summary.models.mjs +1 -1
- package/esm2022/avatar-summary/src/avatar-summary/avatar-summary.tokens.mjs +46 -46
- package/esm2022/avatar-summary/src/avatar-summary/avatar-summary.utils.mjs +4 -4
- package/esm2022/badge/public-api.mjs +2 -2
- package/esm2022/badge/src/badge/badge.component.mjs +25 -25
- package/esm2022/banner/public-api.mjs +3 -3
- package/esm2022/banner/src/banner/banner.component.mjs +33 -33
- package/esm2022/banner/src/banner/banner.models.mjs +1 -1
- package/esm2022/banner/src/banner-trigger/banner-trigger.directive.mjs +11 -11
- package/esm2022/breadcrumb/public-api.mjs +3 -3
- package/esm2022/breadcrumb/src/breadcrumb/breadcrumb.component.mjs +13 -13
- package/esm2022/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.mjs +13 -13
- package/esm2022/breadcrumb/src/breadcrumb-router/breadcrumb-router.component.mjs +11 -11
- package/esm2022/breadcrumb/src/breadcrumb-truncator/breadcrumb-truncator.component.mjs +24 -24
- package/esm2022/button/public-api.mjs +2 -2
- package/esm2022/button/src/button/button.component.mjs +23 -23
- package/esm2022/card/public-api.mjs +2 -2
- package/esm2022/card/src/card/card.component.mjs +37 -37
- package/esm2022/checkbox/public-api.mjs +2 -2
- package/esm2022/checkbox/src/checkbox/checkbox.component.mjs +5 -5
- package/esm2022/content-lifecycle/public-api.mjs +2 -2
- package/esm2022/content-lifecycle/src/content-lifecycle/content-lifecycle.component.mjs +15 -15
- package/esm2022/content-lifecycle/src/content-lifecycle/content-lifecycle.models.mjs +1 -1
- package/esm2022/date-picker/public-api.mjs +3 -3
- package/esm2022/date-picker/src/date-picker/date-format.utils.mjs +39 -39
- package/esm2022/date-picker/src/date-picker/date.utils.mjs +15 -15
- package/esm2022/date-picker/src/date-picker/datepicker.component.mjs +155 -131
- package/esm2022/display-tag/public-api.mjs +2 -2
- package/esm2022/display-tag/src/display-tag/display-tag.component.mjs +36 -36
- package/esm2022/drawer/public-api.mjs +2 -2
- package/esm2022/drawer/src/drawer/drawer.component.mjs +37 -37
- package/esm2022/empty-state/public-api.mjs +2 -2
- package/esm2022/empty-state/src/empty-state/empty-state.component.mjs +26 -26
- package/esm2022/empty-state/src/empty-state/empty-state.models.mjs +1 -1
- package/esm2022/filter-tag/public-api.mjs +2 -2
- package/esm2022/filter-tag/src/filter-tag/filter-tag.component.mjs +12 -12
- package/esm2022/form-field/public-api.mjs +2 -2
- package/esm2022/form-field/src/form-field/form-field.component.mjs +26 -26
- package/esm2022/input/public-api.mjs +2 -2
- package/esm2022/input/src/input/input.component.mjs +55 -44
- package/esm2022/input-feedback/public-api.mjs +2 -2
- package/esm2022/input-feedback/src/input-feedback/input-feedback.component.mjs +12 -12
- package/esm2022/item-strip/public-api.mjs +2 -2
- package/esm2022/item-strip/src/item-strip/item-strip.component.mjs +14 -14
- package/esm2022/item-strip/src/item-strip-item/item-strip-item.component.mjs +37 -37
- package/esm2022/item-strip/src/item-strip-item/item-strip-item.mjs +1 -1
- package/esm2022/lib/a11y/focusable-item.utils.mjs +2 -2
- package/esm2022/lib/chip/chip.utils.mjs +15 -15
- package/esm2022/lib/combobox/combobox.utils.mjs +8 -8
- package/esm2022/lib/forms/control-state.utils.mjs +4 -4
- package/esm2022/lib/overlay/aria-hide.utils.mjs +10 -10
- package/esm2022/lib/overlay/exclusive-dialog.utils.mjs +22 -0
- package/esm2022/lib/overlay/scroll-lock.utils.mjs +5 -5
- package/esm2022/lib/overlay/scrollable-region.utils.mjs +34 -0
- package/esm2022/lib/theme/create-theme.mjs +7 -7
- package/esm2022/lib/theme/semantic-tokens.mjs +1 -1
- package/esm2022/lib/theme/theme.service.mjs +15 -15
- package/esm2022/list/public-api.mjs +2 -2
- package/esm2022/list/src/list/list-id-generator.mjs +4 -4
- package/esm2022/list/src/list/list.component.mjs +16 -16
- package/esm2022/list/src/list/list.models.mjs +2 -2
- package/esm2022/list/src/list/list.tokens.mjs +30 -30
- package/esm2022/list/src/list-group/list-group.component.mjs +7 -7
- package/esm2022/list/src/list-item/list-item-title.utils.mjs +3 -3
- package/esm2022/list/src/list-item/list-item.component.mjs +47 -47
- package/esm2022/loading-state/public-api.mjs +4 -0
- package/esm2022/loading-state/seniorsistemas-scala-ng-loading-state.mjs +5 -0
- package/esm2022/loading-state/src/loading-state/loading-state.directive.mjs +203 -0
- package/esm2022/loading-state/src/loading-state/loading-state.types.mjs +2 -0
- package/esm2022/loading-state/src/loading-state/loading-visibility.utils.mjs +60 -0
- package/esm2022/loading-state/src/pulse/pulse.component.mjs +71 -0
- package/esm2022/loading-state/src/pulse/senior-isotype.component.mjs +11 -0
- package/esm2022/loading-state/src/spinner/loading-spinner.component.mjs +13 -0
- package/esm2022/locale/fallback.mjs +138 -129
- package/esm2022/locale/public-api.mjs +2 -2
- package/esm2022/mask/public-api.mjs +5 -5
- package/esm2022/mask/src/mask/mask.directive.mjs +67 -67
- package/esm2022/mask/src/mask/mask.pipe.mjs +10 -10
- package/esm2022/mask/src/mask/mask.tokens.mjs +16 -16
- package/esm2022/mask/src/mask/mask.utils.mjs +25 -25
- package/esm2022/modal/public-api.mjs +4 -0
- package/esm2022/modal/seniorsistemas-scala-ng-modal.mjs +5 -0
- package/esm2022/modal/src/modal/modal-ref.mjs +84 -0
- package/esm2022/modal/src/modal/modal.component.mjs +262 -0
- package/esm2022/modal/src/modal/modal.service.mjs +119 -0
- package/esm2022/navigation-button/public-api.mjs +2 -0
- package/esm2022/navigation-button/seniorsistemas-scala-ng-navigation-button.mjs +5 -0
- package/esm2022/navigation-button/src/navigation-button/navigation-button.component.mjs +120 -0
- package/esm2022/page-header/public-api.mjs +2 -2
- package/esm2022/page-header/src/page-header/page-header.component.mjs +14 -14
- package/esm2022/paginator/public-api.mjs +2 -2
- package/esm2022/paginator/src/paginator/paginator.component.mjs +29 -29
- package/esm2022/panel/public-api.mjs +2 -2
- package/esm2022/panel/src/panel/panel.component.mjs +21 -21
- package/esm2022/progress-bar/public-api.mjs +3 -3
- package/esm2022/progress-bar/src/progress-bar/progress-bar.component.mjs +33 -33
- package/esm2022/progress-bar/src/progress-bar/progress-bar.utils.mjs +5 -5
- package/esm2022/public-api.mjs +11 -9
- package/esm2022/radio-button/public-api.mjs +3 -3
- package/esm2022/radio-button/src/radio-button/radio-button.component.mjs +7 -7
- package/esm2022/radio-button/src/radio-button-group/radio-button-group-error.token.mjs +3 -3
- package/esm2022/radio-button/src/radio-button-group/radio-button-group.component.mjs +7 -7
- package/esm2022/radio-button/src/services/radio-button-registry.service.mjs +4 -4
- package/esm2022/select/public-api.mjs +2 -2
- package/esm2022/select/src/select/select.component.mjs +89 -89
- package/esm2022/select-button/public-api.mjs +2 -2
- package/esm2022/select-button/src/select-button/select-button.component.mjs +131 -131
- package/esm2022/selection-chip/public-api.mjs +2 -2
- package/esm2022/selection-chip/src/selection-chip/selection-chip.component.mjs +24 -24
- package/esm2022/slider/public-api.mjs +2 -2
- package/esm2022/slider/src/slider/slider.component.mjs +82 -82
- package/esm2022/slider/src/slider/slider.types.mjs +1 -1
- package/esm2022/spinner/public-api.mjs +2 -2
- package/esm2022/spinner/src/spinner/spinner.component.mjs +6 -3
- package/esm2022/split-button/public-api.mjs +2 -0
- package/esm2022/split-button/seniorsistemas-scala-ng-split-button.mjs +5 -0
- package/esm2022/split-button/src/split-button/split-button.component.mjs +71 -0
- package/esm2022/stats-card/public-api.mjs +2 -2
- package/esm2022/stats-card/src/stats-card/stats-card.component.mjs +63 -63
- package/esm2022/stats-card/src/stats-card/stats-card.models.mjs +1 -1
- package/esm2022/switch/public-api.mjs +2 -2
- package/esm2022/switch/src/switch/switch.component.mjs +8 -8
- package/esm2022/table/public-api.mjs +3 -3
- package/esm2022/table/src/components/actions-cell/table-actions-cell.component.mjs +7 -7
- package/esm2022/table/src/components/expand-cell/table-expand-cell.component.mjs +4 -4
- package/esm2022/table/src/components/fields/avatar-summary-field-table/avatar-summary-field-table.component.mjs +4 -4
- package/esm2022/table/src/components/fields/base-table-field-config.mjs +1 -1
- package/esm2022/table/src/components/fields/date-field-table/date-field-table.component.mjs +11 -11
- package/esm2022/table/src/components/fields/number-field-table/number-field-table.component.mjs +3 -3
- package/esm2022/table/src/components/fields/rich-field-table/rich-field-table.component.mjs +9 -9
- package/esm2022/table/src/components/fields/string-field-table/string-field-table.component.mjs +3 -3
- package/esm2022/table/src/components/filter-row/table-filter-row.component.mjs +10 -10
- package/esm2022/table/src/components/row-group-header/table-row-group-header.component.mjs +6 -6
- package/esm2022/table/src/components/selection-cell/table-selection-cell.component.mjs +10 -10
- package/esm2022/table/src/components/toolbar/table-toolbar.component.mjs +18 -18
- package/esm2022/table/src/directives/table-actions-column.directive.mjs +4 -4
- package/esm2022/table/src/directives/table-body.directive.mjs +3 -3
- package/esm2022/table/src/directives/table-cell.directive.mjs +9 -9
- package/esm2022/table/src/directives/table-container.directive.mjs +5 -5
- package/esm2022/table/src/directives/table-field.directive.mjs +10 -10
- package/esm2022/table/src/directives/table-grid.directive.mjs +4 -4
- package/esm2022/table/src/directives/table-header-cell.directive.mjs +17 -17
- package/esm2022/table/src/directives/table-header-row.directive.mjs +4 -4
- package/esm2022/table/src/directives/table-paginator-container.directive.mjs +4 -4
- package/esm2022/table/src/directives/table-row-detail-cell.directive.mjs +4 -4
- package/esm2022/table/src/directives/table-row.directive.mjs +10 -10
- package/esm2022/table/src/fields/avatar-summary-table-header.mjs +1 -1
- package/esm2022/table/src/fields/date-table-header.mjs +1 -1
- package/esm2022/table/src/fields/date-utc.utils.mjs +6 -6
- package/esm2022/table/src/fields/number-table-header.mjs +1 -1
- package/esm2022/table/src/fields/rich-table-header.mjs +1 -1
- package/esm2022/table/src/fields/string-table-header.mjs +1 -1
- package/esm2022/table/src/fields/table-header.mjs +1 -1
- package/esm2022/table/src/registry/built-in-field-types.mjs +11 -11
- package/esm2022/table/src/registry/table-field-registry.mjs +7 -7
- package/esm2022/table/src/table/table-toolbar.models.mjs +1 -1
- package/esm2022/table/src/table/table.component.mjs +58 -58
- package/esm2022/table/src/table/table.models.mjs +1 -1
- package/esm2022/table/src/utils/table-filter.utils.mjs +7 -7
- package/esm2022/table/src/utils/table-group.utils.mjs +6 -6
- package/esm2022/table/src/utils/table-lazy-event.utils.mjs +2 -2
- package/esm2022/table/src/utils/table-selection.utils.mjs +4 -4
- package/esm2022/table/src/utils/table-sort.utils.mjs +9 -9
- package/esm2022/tiered-menu/public-api.mjs +2 -2
- package/esm2022/tiered-menu/src/tiered-menu-item-row/tiered-menu-item-row.directive.mjs +8 -8
- package/esm2022/tiered-menu/src/tiered-menu-panel/tiered-menu-panel.component.mjs +16 -16
- package/esm2022/tiered-menu/src/tiered-menu-panel-host/tiered-menu-panel-host.component.mjs +10 -10
- package/esm2022/tiered-menu/src/tiered-menu-trigger/tiered-menu-trigger.directive.mjs +18 -18
- package/esm2022/toast/public-api.mjs +3 -3
- package/esm2022/toast/src/toast/toast.component.mjs +16 -16
- package/esm2022/toast/src/toast/toast.models.mjs +1 -1
- package/esm2022/toast/src/toast-container/toast-container.component.mjs +20 -20
- package/esm2022/toast/src/toast.service.mjs +31 -31
- package/esm2022/tooltip/public-api.mjs +2 -2
- package/esm2022/tooltip/src/tooltip/tooltip-collision-registry.service.mjs +4 -4
- package/esm2022/tooltip/src/tooltip/tooltip-focus-origin.service.mjs +5 -5
- package/esm2022/tooltip/src/tooltip/tooltip.types.mjs +1 -1
- package/esm2022/tooltip/src/tooltip-panel/tooltip-panel.component.mjs +23 -23
- package/esm2022/tooltip/src/tooltip-trigger/tooltip-trigger.directive.mjs +93 -93
- package/fesm2022/seniorsistemas-scala-ng-autocomplete.mjs +51 -51
- package/fesm2022/seniorsistemas-scala-ng-autocomplete.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-avatar-summary.mjs +64 -64
- package/fesm2022/seniorsistemas-scala-ng-avatar-summary.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-badge.mjs +22 -22
- package/fesm2022/seniorsistemas-scala-ng-badge.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-banner.mjs +32 -32
- package/fesm2022/seniorsistemas-scala-ng-banner.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-breadcrumb.mjs +33 -33
- package/fesm2022/seniorsistemas-scala-ng-breadcrumb.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-button.mjs +21 -21
- package/fesm2022/seniorsistemas-scala-ng-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-card.mjs +30 -30
- package/fesm2022/seniorsistemas-scala-ng-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-checkbox.mjs +1 -1
- package/fesm2022/seniorsistemas-scala-ng-checkbox.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-content-lifecycle.mjs +12 -12
- package/fesm2022/seniorsistemas-scala-ng-content-lifecycle.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-date-picker.mjs +194 -170
- package/fesm2022/seniorsistemas-scala-ng-date-picker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-display-tag.mjs +33 -33
- package/fesm2022/seniorsistemas-scala-ng-display-tag.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-drawer.mjs +29 -29
- package/fesm2022/seniorsistemas-scala-ng-drawer.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-empty-state.mjs +23 -23
- package/fesm2022/seniorsistemas-scala-ng-empty-state.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-filter-tag.mjs +7 -7
- package/fesm2022/seniorsistemas-scala-ng-filter-tag.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-form-field.mjs +22 -22
- package/fesm2022/seniorsistemas-scala-ng-form-field.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-input-feedback.mjs +10 -10
- package/fesm2022/seniorsistemas-scala-ng-input-feedback.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-input.mjs +49 -38
- package/fesm2022/seniorsistemas-scala-ng-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-item-strip.mjs +39 -39
- package/fesm2022/seniorsistemas-scala-ng-item-strip.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-list.mjs +84 -84
- package/fesm2022/seniorsistemas-scala-ng-list.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-loading-state.mjs +354 -0
- package/fesm2022/seniorsistemas-scala-ng-loading-state.mjs.map +1 -0
- package/fesm2022/seniorsistemas-scala-ng-locale.mjs +137 -128
- package/fesm2022/seniorsistemas-scala-ng-locale.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-mask.mjs +106 -106
- package/fesm2022/seniorsistemas-scala-ng-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-modal.mjs +466 -0
- package/fesm2022/seniorsistemas-scala-ng-modal.mjs.map +1 -0
- package/fesm2022/seniorsistemas-scala-ng-navigation-button.mjs +127 -0
- package/fesm2022/seniorsistemas-scala-ng-navigation-button.mjs.map +1 -0
- package/fesm2022/seniorsistemas-scala-ng-page-header.mjs +9 -9
- package/fesm2022/seniorsistemas-scala-ng-page-header.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-paginator.mjs +20 -20
- package/fesm2022/seniorsistemas-scala-ng-paginator.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-panel.mjs +14 -14
- package/fesm2022/seniorsistemas-scala-ng-panel.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-progress-bar.mjs +31 -31
- package/fesm2022/seniorsistemas-scala-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-radio-button.mjs +6 -6
- package/fesm2022/seniorsistemas-scala-ng-radio-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-select-button.mjs +122 -122
- package/fesm2022/seniorsistemas-scala-ng-select-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-select.mjs +76 -76
- package/fesm2022/seniorsistemas-scala-ng-select.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-selection-chip.mjs +19 -19
- package/fesm2022/seniorsistemas-scala-ng-selection-chip.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-slider.mjs +72 -72
- package/fesm2022/seniorsistemas-scala-ng-slider.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-spinner.mjs +4 -1
- package/fesm2022/seniorsistemas-scala-ng-spinner.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-split-button.mjs +78 -0
- package/fesm2022/seniorsistemas-scala-ng-split-button.mjs.map +1 -0
- package/fesm2022/seniorsistemas-scala-ng-stats-card.mjs +58 -58
- package/fesm2022/seniorsistemas-scala-ng-stats-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-switch.mjs +4 -4
- package/fesm2022/seniorsistemas-scala-ng-switch.mjs.map +1 -1
- package/fesm2022/{seniorsistemas-scala-ng-table-table-actions-cell.component-DTzDhrMk.mjs → seniorsistemas-scala-ng-table-table-actions-cell.component-D_eZKncd.mjs} +2 -2
- package/fesm2022/seniorsistemas-scala-ng-table-table-actions-cell.component-D_eZKncd.mjs.map +1 -0
- package/fesm2022/seniorsistemas-scala-ng-table-table-filter-row.component-C0Y1KaWD.mjs +27 -0
- package/fesm2022/seniorsistemas-scala-ng-table-table-filter-row.component-C0Y1KaWD.mjs.map +1 -0
- package/fesm2022/seniorsistemas-scala-ng-table-table-toolbar.component-C9s1ObGb.mjs +68 -0
- package/fesm2022/seniorsistemas-scala-ng-table-table-toolbar.component-C9s1ObGb.mjs.map +1 -0
- package/fesm2022/seniorsistemas-scala-ng-table.mjs +138 -138
- package/fesm2022/seniorsistemas-scala-ng-table.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-tiered-menu.mjs +35 -35
- package/fesm2022/seniorsistemas-scala-ng-tiered-menu.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-toast.mjs +54 -54
- package/fesm2022/seniorsistemas-scala-ng-toast.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng-tooltip.mjs +110 -110
- package/fesm2022/seniorsistemas-scala-ng-tooltip.mjs.map +1 -1
- package/fesm2022/seniorsistemas-scala-ng.mjs +110 -54
- package/fesm2022/seniorsistemas-scala-ng.mjs.map +1 -1
- package/filter-tag/README.md +1 -1
- package/filter-tag/public-api.d.ts +1 -1
- package/filter-tag/src/filter-tag/filter-tag.component.d.ts +1 -1
- package/form-field/public-api.d.ts +2 -2
- package/form-field/src/form-field/form-field.component.d.ts +14 -14
- package/input/README.md +13 -10
- package/input/public-api.d.ts +1 -1
- package/input/src/input/input.component.d.ts +8 -5
- package/input-feedback/README.md +7 -7
- package/input-feedback/public-api.d.ts +1 -1
- package/input-feedback/src/input-feedback/input-feedback.component.d.ts +2 -2
- package/item-strip/README.md +1 -1
- package/item-strip/public-api.d.ts +2 -2
- package/item-strip/src/item-strip/item-strip.component.d.ts +1 -1
- package/item-strip/src/item-strip-item/item-strip-item.component.d.ts +27 -27
- package/item-strip/src/item-strip-item/item-strip-item.d.ts +1 -1
- package/lib/a11y/focusable-item.utils.d.ts +1 -1
- package/lib/chip/chip.utils.d.ts +3 -3
- package/lib/combobox/combobox.utils.d.ts +2 -2
- package/lib/forms/control-state.utils.d.ts +2 -2
- package/lib/overlay/exclusive-dialog.utils.d.ts +7 -0
- package/lib/overlay/scrollable-region.utils.d.ts +5 -0
- package/lib/theme/create-theme.d.ts +2 -2
- package/lib/theme/semantic-tokens.d.ts +1 -1
- package/lib/theme/theme.service.d.ts +1 -1
- package/list/README.md +1 -1
- package/list/public-api.d.ts +2 -2
- package/list/src/list/list.component.d.ts +1 -1
- package/list/src/list/list.models.d.ts +5 -5
- package/list/src/list/list.tokens.d.ts +1 -1
- package/list/src/list-group/list-group.component.d.ts +1 -1
- package/list/src/list-item/list-item.component.d.ts +11 -11
- package/loading-state/README.md +60 -0
- package/loading-state/index.d.ts +5 -0
- package/loading-state/package.json +3 -0
- package/loading-state/public-api.d.ts +5 -0
- package/loading-state/src/loading-state/loading-state.directive.d.ts +37 -0
- package/loading-state/src/loading-state/loading-state.types.d.ts +3 -0
- package/loading-state/src/loading-state/loading-visibility.utils.d.ts +11 -0
- package/loading-state/src/pulse/pulse.component.d.ts +27 -0
- package/loading-state/src/pulse/senior-isotype.component.d.ts +5 -0
- package/loading-state/src/spinner/loading-spinner.component.d.ts +8 -0
- package/locale/public-api.d.ts +1 -1
- package/mask/README.md +1 -1
- package/mask/public-api.d.ts +4 -4
- package/mask/src/mask/mask.directive.d.ts +2 -2
- package/mask/src/mask/mask.pipe.d.ts +2 -2
- package/mask/src/mask/mask.utils.d.ts +1 -1
- package/modal/README.md +435 -0
- package/modal/index.d.ts +5 -0
- package/modal/package.json +3 -0
- package/modal/public-api.d.ts +3 -0
- package/modal/src/modal/modal-ref.d.ts +51 -0
- package/modal/src/modal/modal.component.d.ts +82 -0
- package/modal/src/modal/modal.service.d.ts +62 -0
- package/navigation-button/README.md +249 -0
- package/navigation-button/index.d.ts +5 -0
- package/navigation-button/package.json +3 -0
- package/navigation-button/public-api.d.ts +1 -0
- package/navigation-button/src/navigation-button/navigation-button.component.d.ts +57 -0
- package/package.json +28 -1
- package/page-header/README.md +1 -1
- package/page-header/public-api.d.ts +1 -1
- package/page-header/src/page-header/page-header.component.d.ts +2 -2
- package/paginator/public-api.d.ts +2 -2
- package/paginator/src/paginator/paginator.component.d.ts +3 -3
- package/panel/README.md +1 -1
- package/panel/public-api.d.ts +1 -1
- package/panel/src/panel/panel.component.d.ts +3 -3
- package/progress-bar/README.md +4 -4
- package/progress-bar/public-api.d.ts +4 -4
- package/progress-bar/src/progress-bar/progress-bar.component.d.ts +3 -3
- package/progress-bar/src/progress-bar/progress-bar.utils.d.ts +1 -1
- package/public-api.d.ts +11 -9
- package/radio-button/README.md +1 -1
- package/radio-button/public-api.d.ts +3 -3
- package/radio-button/src/radio-button/radio-button.component.d.ts +2 -2
- package/radio-button/src/radio-button-group/radio-button-group-error.token.d.ts +1 -1
- package/radio-button/src/radio-button-group/radio-button-group.component.d.ts +3 -3
- package/radio-button/src/services/radio-button-registry.service.d.ts +1 -1
- package/schematics/migrate-spinner-to-loading-state/index.js +75 -0
- package/schematics/migrate-spinner-to-loading-state/index.js.map +1 -0
- package/schematics/migrations.json +10 -0
- package/schematics/ng-add/index.js +29 -29
- package/select/README.md +19 -15
- package/select/public-api.d.ts +2 -2
- package/select/src/select/select.component.d.ts +11 -11
- package/select-button/README.md +1 -1
- package/select-button/public-api.d.ts +2 -2
- package/select-button/src/select-button/select-button.component.d.ts +7 -7
- package/selection-chip/README.md +1 -1
- package/selection-chip/public-api.d.ts +1 -1
- package/selection-chip/src/selection-chip/selection-chip.component.d.ts +3 -3
- package/slider/README.md +6 -6
- package/slider/public-api.d.ts +2 -2
- package/slider/src/slider/slider.component.d.ts +3 -3
- package/slider/src/slider/slider.types.d.ts +3 -3
- package/spinner/README.md +9 -1
- package/spinner/public-api.d.ts +1 -1
- package/spinner/src/spinner/spinner.component.d.ts +3 -0
- package/split-button/README.md +208 -0
- package/split-button/index.d.ts +5 -0
- package/split-button/package.json +3 -0
- package/split-button/public-api.d.ts +1 -0
- package/split-button/src/split-button/split-button.component.d.ts +29 -0
- package/stats-card/README.md +1 -1
- package/stats-card/public-api.d.ts +2 -2
- package/stats-card/src/stats-card/stats-card.component.d.ts +415 -415
- package/stats-card/src/stats-card/stats-card.models.d.ts +3 -3
- package/styles/tailwind-preset.js +30 -13
- package/styles/tailwind-tokens.js +286 -286
- package/styles/tokens/index.scss +7 -7
- package/styles/tokens/semantic-colors.scss +4 -2
- package/styles.scss +7 -7
- package/switch/README.md +5 -5
- package/switch/public-api.d.ts +1 -1
- package/switch/src/switch/switch.component.d.ts +1 -1
- package/table/README.md +21 -21
- package/table/public-api.d.ts +12 -12
- package/table/src/components/actions-cell/table-actions-cell.component.d.ts +2 -2
- package/table/src/components/fields/avatar-summary-field-table/avatar-summary-field-table.component.d.ts +2 -2
- package/table/src/components/fields/base-table-field-config.d.ts +2 -2
- package/table/src/components/fields/date-field-table/date-field-table.component.d.ts +2 -2
- package/table/src/components/fields/number-field-table/number-field-table.component.d.ts +2 -2
- package/table/src/components/fields/rich-field-table/rich-field-table.component.d.ts +2 -2
- package/table/src/components/fields/string-field-table/string-field-table.component.d.ts +2 -2
- package/table/src/components/filter-row/table-filter-row.component.d.ts +1 -1
- package/table/src/components/selection-cell/table-selection-cell.component.d.ts +2 -2
- package/table/src/components/toolbar/table-toolbar.component.d.ts +3 -3
- package/table/src/directives/table-field.directive.d.ts +1 -1
- package/table/src/fields/avatar-summary-table-header.d.ts +4 -4
- package/table/src/fields/date-table-header.d.ts +3 -3
- package/table/src/fields/number-table-header.d.ts +3 -3
- package/table/src/fields/rich-table-header.d.ts +4 -4
- package/table/src/fields/string-table-header.d.ts +4 -4
- package/table/src/fields/table-header.d.ts +2 -2
- package/table/src/registry/built-in-field-types.d.ts +1 -1
- package/table/src/registry/table-field-registry.d.ts +4 -4
- package/table/src/table/table-toolbar.models.d.ts +1 -1
- package/table/src/table/table.component.d.ts +11 -11
- package/table/src/table/table.models.d.ts +2 -2
- package/table/src/utils/table-filter.utils.d.ts +1 -1
- package/table/src/utils/table-group.utils.d.ts +4 -4
- package/table/src/utils/table-lazy-event.utils.d.ts +3 -3
- package/table/src/utils/table-selection.utils.d.ts +2 -2
- package/table/src/utils/table-sort.utils.d.ts +2 -2
- package/tiered-menu/README.md +2 -2
- package/tiered-menu/public-api.d.ts +2 -2
- package/tiered-menu/src/tiered-menu-panel/tiered-menu-panel.component.d.ts +2 -2
- package/tiered-menu/src/tiered-menu-panel-host/tiered-menu-panel-host.component.d.ts +2 -2
- package/tiered-menu/src/tiered-menu-trigger/tiered-menu-trigger.directive.d.ts +2 -2
- package/toast/README.md +17 -17
- package/toast/public-api.d.ts +3 -3
- package/toast/src/toast/toast.component.d.ts +1 -1
- package/toast/src/toast/toast.models.d.ts +3 -3
- package/toast/src/toast-container/toast-container.component.d.ts +1 -1
- package/toast/src/toast.service.d.ts +5 -5
- package/tooltip/README.md +1 -1
- package/tooltip/public-api.d.ts +2 -2
- package/tooltip/src/tooltip/tooltip-focus-origin.service.d.ts +2 -2
- package/tooltip/src/tooltip/tooltip.types.d.ts +3 -3
- package/tooltip/src/tooltip-panel/tooltip-panel.component.d.ts +4 -4
- package/tooltip/src/tooltip-trigger/tooltip-trigger.directive.d.ts +2 -2
- package/fesm2022/seniorsistemas-scala-ng-table-table-actions-cell.component-DTzDhrMk.mjs.map +0 -1
- package/fesm2022/seniorsistemas-scala-ng-table-table-filter-row.component-BgdQk6tM.mjs +0 -27
- package/fesm2022/seniorsistemas-scala-ng-table-table-filter-row.component-BgdQk6tM.mjs.map +0 -1
- package/fesm2022/seniorsistemas-scala-ng-table-table-toolbar.component-2YcqyPlh.mjs +0 -68
- package/fesm2022/seniorsistemas-scala-ng-table-table-toolbar.component-2YcqyPlh.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ O schematic cuida automaticamente de:
|
|
|
45
45
|
Importe o componente diretamente no componente standalone:
|
|
46
46
|
|
|
47
47
|
```typescript
|
|
48
|
-
import { SdsButtonComponent } from
|
|
48
|
+
import { SdsButtonComponent } from '@seniorsistemas/scala-ng/button';
|
|
49
49
|
|
|
50
50
|
@Component({
|
|
51
51
|
imports: [SdsButtonComponent],
|
|
@@ -110,62 +110,66 @@ export class AppComponent {
|
|
|
110
110
|
Para criar um tema de produto, use `createTheme`:
|
|
111
111
|
|
|
112
112
|
```typescript
|
|
113
|
-
import { createTheme } from
|
|
113
|
+
import { createTheme } from '@seniorsistemas/scala-ng';
|
|
114
114
|
|
|
115
|
-
const meuTema = createTheme(
|
|
115
|
+
const meuTema = createTheme('meu-produto', {
|
|
116
116
|
light: {
|
|
117
|
-
|
|
117
|
+
'--sds-color-background-interactive-primary': '#7c3aed',
|
|
118
118
|
},
|
|
119
119
|
dark: {
|
|
120
|
-
|
|
120
|
+
'--sds-color-background-interactive-primary': '#a78bfa',
|
|
121
121
|
},
|
|
122
122
|
});
|
|
123
123
|
|
|
124
124
|
// Em ngOnInit / app startup:
|
|
125
125
|
meuTema.mount();
|
|
126
|
-
themeService.setTheme(
|
|
126
|
+
themeService.setTheme('meu-produto');
|
|
127
127
|
```
|
|
128
128
|
|
|
129
129
|
---
|
|
130
130
|
|
|
131
131
|
## Componentes
|
|
132
132
|
|
|
133
|
-
| Componente | Entry-point
|
|
134
|
-
| ---------------------------------------------------------- |
|
|
135
|
-
| `SdsButtonComponent` | `@seniorsistemas/scala-ng/button`
|
|
136
|
-
| `SdsCheckboxComponent` | `@seniorsistemas/scala-ng/checkbox`
|
|
137
|
-
| `
|
|
138
|
-
| `
|
|
139
|
-
| `
|
|
140
|
-
| `
|
|
141
|
-
| `
|
|
142
|
-
| `
|
|
143
|
-
| `
|
|
144
|
-
| `
|
|
145
|
-
| `
|
|
146
|
-
| `
|
|
147
|
-
| `
|
|
148
|
-
| `
|
|
149
|
-
| `
|
|
150
|
-
| `
|
|
151
|
-
| `
|
|
152
|
-
| `
|
|
153
|
-
| `
|
|
154
|
-
| `
|
|
155
|
-
| `
|
|
156
|
-
| `
|
|
157
|
-
| `
|
|
158
|
-
| `
|
|
159
|
-
| `
|
|
160
|
-
| `
|
|
161
|
-
| `
|
|
162
|
-
| `
|
|
163
|
-
| `
|
|
164
|
-
| `
|
|
165
|
-
| `
|
|
166
|
-
| `
|
|
167
|
-
| `
|
|
168
|
-
| `
|
|
133
|
+
| Componente | Entry-point | Documentação |
|
|
134
|
+
| ---------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------- |
|
|
135
|
+
| `SdsButtonComponent` | `@seniorsistemas/scala-ng/button` | [README](projects/scala-ng/button/README.md) |
|
|
136
|
+
| `SdsCheckboxComponent` | `@seniorsistemas/scala-ng/checkbox` | [README](projects/scala-ng/checkbox/README.md) |
|
|
137
|
+
| `SdsModalComponent` | `@seniorsistemas/scala-ng/modal` | [README](projects/scala-ng/modal/README.md) |
|
|
138
|
+
| `SdsAutocompleteComponent` | `@seniorsistemas/scala-ng/autocomplete` | [README](projects/scala-ng/autocomplete/README.md) |
|
|
139
|
+
| `SdsDatePickerComponent` | `@seniorsistemas/scala-ng/date-picker` | [README](projects/scala-ng/date-picker/README.md) |
|
|
140
|
+
| `SdsEmptyStateComponent` | `@seniorsistemas/scala-ng/empty-state` | [README](projects/scala-ng/empty-state/README.md) |
|
|
141
|
+
| `SdsInputComponent` | `@seniorsistemas/scala-ng/input` | [README](projects/scala-ng/input/README.md) |
|
|
142
|
+
| `SdsInputFeedbackComponent` | `@seniorsistemas/scala-ng/input-feedback` | [README](projects/scala-ng/input-feedback/README.md) |
|
|
143
|
+
| `SdsRadioButtonComponent` · `SdsRadioButtonGroupComponent` | `@seniorsistemas/scala-ng/radio-button` | [README](projects/scala-ng/radio-button/README.md) |
|
|
144
|
+
| `SdsSelectComponent` | `@seniorsistemas/scala-ng/select` | [README](projects/scala-ng/select/README.md) |
|
|
145
|
+
| `SdsSwitchComponent` | `@seniorsistemas/scala-ng/switch` | [README](projects/scala-ng/switch/README.md) |
|
|
146
|
+
| `SdsSliderComponent` | `@seniorsistemas/scala-ng/slider` | [README](projects/scala-ng/slider/README.md) |
|
|
147
|
+
| `SdsMaskDirective` · `SdsMaskPipe` | `@seniorsistemas/scala-ng/mask` | [README](projects/scala-ng/mask/README.md) |
|
|
148
|
+
| `SdsPanelComponent` | `@seniorsistemas/scala-ng/panel` | [README](projects/scala-ng/panel/README.md) |
|
|
149
|
+
| `SdsTieredMenuDirective` | `@seniorsistemas/scala-ng/tiered-menu` | [README](projects/scala-ng/tiered-menu/README.md) |
|
|
150
|
+
| `SdsAvatarSummaryComponent` | `@seniorsistemas/scala-ng/avatar-summary` | [README](projects/scala-ng/avatar-summary/README.md) |
|
|
151
|
+
| `SdsBadgeComponent` | `@seniorsistemas/scala-ng/badge` | [README](projects/scala-ng/badge/README.md) |
|
|
152
|
+
| `SdsProgressBarComponent` | `@seniorsistemas/scala-ng/progress-bar` | [README](projects/scala-ng/progress-bar/README.md) |
|
|
153
|
+
| `SdsDisplayTagComponent` | `@seniorsistemas/scala-ng/display-tag` | [README](projects/scala-ng/display-tag/README.md) |
|
|
154
|
+
| `SdsSelectionChipComponent` | `@seniorsistemas/scala-ng/selection-chip` | [README](projects/scala-ng/selection-chip/README.md) |
|
|
155
|
+
| `SdsFilterTagComponent` | `@seniorsistemas/scala-ng/filter-tag` | [README](projects/scala-ng/filter-tag/README.md) |
|
|
156
|
+
| `SdsTooltipDirective` | `@seniorsistemas/scala-ng/tooltip` | [README](projects/scala-ng/tooltip/README.md) |
|
|
157
|
+
| `SdsTableComponent` | `@seniorsistemas/scala-ng/table` | [README](projects/scala-ng/table/README.md) |
|
|
158
|
+
| `SdsDrawerComponent` | `@seniorsistemas/scala-ng/drawer` | [README](projects/scala-ng/drawer/README.md) |
|
|
159
|
+
| `SdsSelectButtonComponent` | `@seniorsistemas/scala-ng/select-button` | [README](projects/scala-ng/select-button/README.md) |
|
|
160
|
+
| `SdsLoadingStateDirective` | `@seniorsistemas/scala-ng/loading-state` | [README](projects/scala-ng/loading-state/README.md) |
|
|
161
|
+
| `SdsSpinnerComponent` | `@seniorsistemas/scala-ng/spinner` | [README](projects/scala-ng/spinner/README.md) |
|
|
162
|
+
| `SdsStatsCardComponent` | `@seniorsistemas/scala-ng/stats-card` | [README](projects/scala-ng/stats-card/README.md) |
|
|
163
|
+
| `SdsCardComponent` | `@seniorsistemas/scala-ng/card` | [README](projects/scala-ng/card/README.md) |
|
|
164
|
+
| `SdsItemStripComponent` | `@seniorsistemas/scala-ng/item-strip` | [README](projects/scala-ng/item-strip/README.md) |
|
|
165
|
+
| `SdsSelectButtonComponent` | `@seniorsistemas/scala-ng/select-button` | [README](projects/scala-ng/select-button/README.md) |
|
|
166
|
+
| `SdsSpinnerComponent` | `@seniorsistemas/scala-ng/spinner` | [README](projects/scala-ng/spinner/README.md) |
|
|
167
|
+
| `SdsListComponent` | `@seniorsistemas/scala-ng/list` | [README](projects/scala-ng/list/README.md) |
|
|
168
|
+
| `SdsPageHeaderComponent` | `@seniorsistemas/scala-ng/page-header` | [README](projects/scala-ng/page-header/README.md) |
|
|
169
|
+
| `SdsBannerComponent` · `SdsBannerTriggerDirective` | `@seniorsistemas/scala-ng/banner` | [README](projects/scala-ng/banner/README.md) |
|
|
170
|
+
| `SdsToastComponent` · `SdsToastService` | `@seniorsistemas/scala-ng/toast` | [README](projects/scala-ng/toast/README.md) |
|
|
171
|
+
| `SdsSplitButtonComponent` | `@seniorsistemas/scala-ng/split-button` | [README](projects/scala-ng/split-button/README.md) |
|
|
172
|
+
| `SdsNavigationButtonComponent` | `@seniorsistemas/scala-ng/navigation-button` | [README](projects/scala-ng/navigation-button/README.md) |
|
|
169
173
|
|
|
170
174
|
---
|
|
171
175
|
|
package/autocomplete/README.md
CHANGED
|
@@ -120,7 +120,7 @@ npm install @seniorsistemas/scala-ng
|
|
|
120
120
|
Importe o componente diretamente no seu standalone component:
|
|
121
121
|
|
|
122
122
|
```typescript
|
|
123
|
-
import { SdsAutocompleteComponent } from
|
|
123
|
+
import { SdsAutocompleteComponent } from '@seniorsistemas/scala-ng/autocomplete';
|
|
124
124
|
|
|
125
125
|
@Component({
|
|
126
126
|
imports: [SdsAutocompleteComponent],
|
|
@@ -261,6 +261,10 @@ protected buscarUsuarios(termo: string): void {
|
|
|
261
261
|
|
|
262
262
|
### [Unreleased] — 2026-09-29
|
|
263
263
|
|
|
264
|
+
#### Changed
|
|
265
|
+
|
|
266
|
+
- O spinner do painel em carregamento passa a usar `sds-loading-spinner` (20px, com trilho), no lugar do `sds-spinner` depreciado.
|
|
267
|
+
|
|
264
268
|
#### Added
|
|
265
269
|
|
|
266
270
|
- Input `size` (`'default' | 'small'`, padrão `'default'`) — altura do campo: Small = 32px, conforme o Figma.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SdsAutocompleteComponent } from
|
|
2
|
-
export type { AutocompleteOption } from
|
|
1
|
+
export { SdsAutocompleteComponent } from './src/autocomplete/autocomplete.component';
|
|
2
|
+
export type { AutocompleteOption } from './src/autocomplete/autocomplete.models';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ActiveDescendantKeyManager, Highlightable } from
|
|
2
|
-
import { ConnectedPosition } from
|
|
3
|
-
import { OnInit } from
|
|
4
|
-
import { AbstractControl, ControlValueAccessor, FormControl, NgControl } from
|
|
5
|
-
import { type FieldState } from
|
|
6
|
-
import type { AutocompleteOption, DisplayRow, TaggedOption } from
|
|
1
|
+
import { ActiveDescendantKeyManager, Highlightable } from '@angular/cdk/a11y';
|
|
2
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
4
|
+
import { AbstractControl, ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
5
|
+
import { type FieldState } from '@seniorsistemas/scala-ng/form-field';
|
|
6
|
+
import type { AutocompleteOption, DisplayRow, TaggedOption } from './autocomplete.models';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Adapts a `TaggedOption<T>` to CDK's `Highlightable` for `ActiveDescendantKeyManager`.
|
|
@@ -10,11 +10,11 @@ export type TaggedOption<T> = AutocompleteOption<T> & {
|
|
|
10
10
|
};
|
|
11
11
|
export type DisplayRow<T> = {
|
|
12
12
|
trackId: string;
|
|
13
|
-
type:
|
|
13
|
+
type: 'header';
|
|
14
14
|
label: string;
|
|
15
15
|
} | {
|
|
16
16
|
trackId: string;
|
|
17
|
-
type:
|
|
17
|
+
type: 'option';
|
|
18
18
|
option: TaggedOption<T>;
|
|
19
19
|
optionIndex: number;
|
|
20
20
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AutocompleteOption, DisplayRow } from
|
|
1
|
+
import type { AutocompleteOption, DisplayRow } from '../autocomplete.models';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SdsAutocompletePanelComponent<T = unknown> {
|
|
4
4
|
/** ID of the panel root element; the trigger uses it to detect focus inside the panel. */
|
package/avatar-summary/README.md
CHANGED
|
@@ -86,7 +86,7 @@ npm install @seniorsistemas/scala-ng
|
|
|
86
86
|
Importe o componente diretamente no seu standalone component:
|
|
87
87
|
|
|
88
88
|
```typescript
|
|
89
|
-
import { SdsAvatarSummaryComponent } from
|
|
89
|
+
import { SdsAvatarSummaryComponent } from '@seniorsistemas/scala-ng/avatar-summary';
|
|
90
90
|
|
|
91
91
|
@Component({
|
|
92
92
|
imports: [SdsAvatarSummaryComponent],
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SdsAvatarSummaryComponent } from
|
|
2
|
-
export type { SdsAvatarSummaryCategoricalHue, SdsAvatarSummarySize, SdsAvatarSummaryType, } from
|
|
1
|
+
export { SdsAvatarSummaryComponent } from './src/avatar-summary/avatar-summary.component';
|
|
2
|
+
export type { SdsAvatarSummaryCategoricalHue, SdsAvatarSummarySize, SdsAvatarSummaryType, } from './src/avatar-summary/avatar-summary.models';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SdsAvatarSummarySize, SdsAvatarSummaryType } from
|
|
1
|
+
import { SdsAvatarSummarySize, SdsAvatarSummaryType } from './avatar-summary.models';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SdsAvatarSummaryComponent {
|
|
4
4
|
private readonly _themeService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type SdsAvatarSummaryType =
|
|
2
|
-
export type SdsAvatarSummarySize =
|
|
3
|
-
export type SdsAvatarSummaryCategoricalHue =
|
|
1
|
+
export type SdsAvatarSummaryType = 'person' | 'entity';
|
|
2
|
+
export type SdsAvatarSummarySize = 'small' | 'medium' | 'large';
|
|
3
|
+
export type SdsAvatarSummaryCategoricalHue = 'slate' | 'pink' | 'violet' | 'tomato' | 'amber' | 'indigo' | 'cyan' | 'orange' | 'green';
|
|
4
4
|
export interface CategoricalPalette {
|
|
5
5
|
readonly background: string;
|
|
6
6
|
readonly text: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CategoricalPalette, SdsAvatarSummaryCategoricalHue, SdsAvatarSummarySize } from
|
|
1
|
+
import { CategoricalPalette, SdsAvatarSummaryCategoricalHue, SdsAvatarSummarySize } from './avatar-summary.models';
|
|
2
2
|
export declare const CATEGORICAL_HUES: readonly SdsAvatarSummaryCategoricalHue[];
|
|
3
3
|
export declare const CATEGORICAL_PALETTE: Record<SdsAvatarSummaryCategoricalHue, CategoricalPalette>;
|
|
4
4
|
export declare const FALLBACK_BACKGROUND_CLASS = "bg-[var(--sds-color-background-highlight-slate-subtle)]";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CategoricalPalette, SdsAvatarSummaryCategoricalHue } from
|
|
1
|
+
import { CategoricalPalette, SdsAvatarSummaryCategoricalHue } from './avatar-summary.models';
|
|
2
2
|
/** First letters of the first and last words, or the first two letters of a single word. */
|
|
3
3
|
export declare function computeInitials(name: string): string;
|
|
4
4
|
/**
|
package/badge/README.md
CHANGED
|
@@ -78,7 +78,7 @@ npm install @seniorsistemas/scala-ng
|
|
|
78
78
|
Importe o componente diretamente no seu standalone component:
|
|
79
79
|
|
|
80
80
|
```typescript
|
|
81
|
-
import { SdsBadgeComponent } from
|
|
81
|
+
import { SdsBadgeComponent } from '@seniorsistemas/scala-ng/badge';
|
|
82
82
|
|
|
83
83
|
@Component({
|
|
84
84
|
imports: [SdsBadgeComponent],
|
package/badge/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SdsBadgeComponent } from
|
|
1
|
+
export { SdsBadgeComponent } from './src/badge/badge.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export type SdsBadgeSemantic =
|
|
2
|
+
export type SdsBadgeSemantic = 'positive' | 'destructive' | 'warning' | 'information' | 'neutral';
|
|
3
3
|
export declare class SdsBadgeComponent {
|
|
4
4
|
/** Short text shown in the badge. */
|
|
5
5
|
readonly label: import("@angular/core").InputSignal<string>;
|
package/banner/README.md
CHANGED
|
@@ -105,7 +105,7 @@ npm install @seniorsistemas/scala-ng
|
|
|
105
105
|
Importe o componente diretamente no seu standalone component:
|
|
106
106
|
|
|
107
107
|
```typescript
|
|
108
|
-
import { SdsBannerComponent, SdsBannerTriggerDirective } from
|
|
108
|
+
import { SdsBannerComponent, SdsBannerTriggerDirective } from '@seniorsistemas/scala-ng/banner';
|
|
109
109
|
|
|
110
110
|
@Component({
|
|
111
111
|
imports: [SdsBannerComponent, SdsBannerTriggerDirective],
|
package/banner/public-api.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { SdsBannerTriggerDirective } from
|
|
2
|
-
export { SdsBannerComponent } from
|
|
3
|
-
export type { SdsBannerElevation, SdsBannerSuggestion } from
|
|
1
|
+
export { SdsBannerTriggerDirective } from './src/banner-trigger/banner-trigger.directive';
|
|
2
|
+
export { SdsBannerComponent } from './src/banner/banner.component';
|
|
3
|
+
export type { SdsBannerElevation, SdsBannerSuggestion } from './src/banner/banner.models';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from
|
|
2
|
-
import type { SdsBannerElevation, SdsBannerSuggestion } from
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import type { SdsBannerElevation, SdsBannerSuggestion } from './banner.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdsBannerComponent implements OnChanges {
|
|
5
5
|
private static idCounter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** `"default"`: embedded in the layout. `"popover"`: floats over the content with a shadow. */
|
|
2
|
-
export type SdsBannerElevation =
|
|
2
|
+
export type SdsBannerElevation = 'default' | 'popover';
|
|
3
3
|
export interface SdsBannerSuggestion {
|
|
4
4
|
/** Text shown in the suggestion chip. */
|
|
5
5
|
label: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OnChanges } from
|
|
2
|
-
import { SdsBannerComponent } from
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { SdsBannerComponent } from '../banner/banner.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdsBannerTriggerDirective implements OnChanges {
|
|
5
5
|
/** Popover banner opened and closed by this element, which also becomes its anchor. */
|
package/breadcrumb/README.md
CHANGED
|
@@ -96,8 +96,8 @@ npm install @seniorsistemas/scala-ng
|
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
```typescript
|
|
99
|
-
import { SdsBreadcrumbComponent } from
|
|
100
|
-
import type { SdsBreadcrumbItem } from
|
|
99
|
+
import { SdsBreadcrumbComponent } from '@seniorsistemas/scala-ng/breadcrumb';
|
|
100
|
+
import type { SdsBreadcrumbItem } from '@seniorsistemas/scala-ng/breadcrumb';
|
|
101
101
|
|
|
102
102
|
@Component({
|
|
103
103
|
imports: [SdsBreadcrumbComponent],
|
|
@@ -155,15 +155,15 @@ Cada rota que deve aparecer na trilha declara `data: { breadcrumb: SdsBreadcrumb
|
|
|
155
155
|
O `label` passa pelo `TranslateService` (ngx-translate): use uma chave de tradução do produto para trilhas em apps com troca de idioma. Um texto que não é chave aparece como está, então rótulos literais continuam funcionando. Como o `data` da rota é estático, não resolva a tradução ao declarar a rota (ex.: `translate.instant(...)`) — o valor ficaria congelado no idioma do carregamento.
|
|
156
156
|
|
|
157
157
|
```typescript
|
|
158
|
-
import { SdsBreadcrumbRouterComponent } from
|
|
159
|
-
import type { Routes } from
|
|
158
|
+
import { SdsBreadcrumbRouterComponent } from '@seniorsistemas/scala-ng/breadcrumb';
|
|
159
|
+
import type { Routes } from '@angular/router';
|
|
160
160
|
|
|
161
161
|
export const routes: Routes = [
|
|
162
162
|
{
|
|
163
|
-
path:
|
|
164
|
-
data: { breadcrumb: { label:
|
|
163
|
+
path: 'reports',
|
|
164
|
+
data: { breadcrumb: { label: 'app.menu.reports' } }, // chave de tradução
|
|
165
165
|
children: [
|
|
166
|
-
{ path:
|
|
166
|
+
{ path: 'sales', data: { breadcrumb: { label: 'Vendas' } }, component: SalesComponent }, // texto literal
|
|
167
167
|
],
|
|
168
168
|
},
|
|
169
169
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { SdsBreadcrumbItem } from
|
|
2
|
-
export type { SdsBreadcrumbRouteData } from
|
|
3
|
-
export { SdsBreadcrumbRouterComponent } from
|
|
4
|
-
export type { SdsBreadcrumbHiddenLevelsOpenedEvent, SdsBreadcrumbNavigatedEvent, } from
|
|
5
|
-
export { SdsBreadcrumbComponent } from
|
|
1
|
+
export type { SdsBreadcrumbItem } from './src/breadcrumb-item/breadcrumb-item';
|
|
2
|
+
export type { SdsBreadcrumbRouteData } from './src/breadcrumb-router/breadcrumb-route-data';
|
|
3
|
+
export { SdsBreadcrumbRouterComponent } from './src/breadcrumb-router/breadcrumb-router.component';
|
|
4
|
+
export type { SdsBreadcrumbHiddenLevelsOpenedEvent, SdsBreadcrumbNavigatedEvent, } from './src/breadcrumb/breadcrumb-telemetry-event';
|
|
5
|
+
export { SdsBreadcrumbComponent } from './src/breadcrumb/breadcrumb.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SdsBreadcrumbItem } from
|
|
2
|
-
import type { SdsBreadcrumbHiddenLevelsOpenedEvent, SdsBreadcrumbNavigatedEvent } from
|
|
1
|
+
import type { SdsBreadcrumbItem } from '../breadcrumb-item/breadcrumb-item';
|
|
2
|
+
import type { SdsBreadcrumbHiddenLevelsOpenedEvent, SdsBreadcrumbNavigatedEvent } from './breadcrumb-telemetry-event';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdsBreadcrumbComponent {
|
|
5
5
|
private readonly translateService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SdsBreadcrumbItem } from
|
|
2
|
-
import type { SdsBreadcrumbHiddenLevelsOpenedEvent, SdsBreadcrumbNavigatedEvent } from
|
|
1
|
+
import type { SdsBreadcrumbItem } from '../breadcrumb-item/breadcrumb-item';
|
|
2
|
+
import type { SdsBreadcrumbHiddenLevelsOpenedEvent, SdsBreadcrumbNavigatedEvent } from '../breadcrumb/breadcrumb-telemetry-event';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/** `sds-breadcrumb` variant that builds the trail from the active route tree. */
|
|
5
5
|
export declare class SdsBreadcrumbRouterComponent {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CdkOverlayOrigin, ConnectedPosition } from
|
|
2
|
-
import { ElementRef } from
|
|
3
|
-
import type { SdsBreadcrumbItem } from
|
|
1
|
+
import { CdkOverlayOrigin, ConnectedPosition } from '@angular/cdk/overlay';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import type { SdsBreadcrumbItem } from '../breadcrumb-item/breadcrumb-item';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/cdk/overlay";
|
|
6
6
|
/** @internal "..." truncation button and its hidden-items panel, rendered by `SdsBreadcrumbComponent`. */
|
package/button/README.md
CHANGED
|
@@ -78,7 +78,7 @@ npm install @seniorsistemas/scala-ng
|
|
|
78
78
|
Importe o componente diretamente no seu standalone component:
|
|
79
79
|
|
|
80
80
|
```typescript
|
|
81
|
-
import { SdsButtonComponent } from
|
|
81
|
+
import { SdsButtonComponent } from '@seniorsistemas/scala-ng/button';
|
|
82
82
|
|
|
83
83
|
@Component({
|
|
84
84
|
imports: [SdsButtonComponent],
|
|
@@ -230,6 +230,10 @@ export class MyComponent {}
|
|
|
230
230
|
|
|
231
231
|
### [Unreleased] — 2026-09-29
|
|
232
232
|
|
|
233
|
+
#### Fixed
|
|
234
|
+
|
|
235
|
+
- O botão `secondary` desabilitado agora mostra só a borda `border-disable`, sem preenchimento cinza, como no Figma. Antes ficava com `background-disable` e a borda do estado ativo.
|
|
236
|
+
|
|
233
237
|
#### Changed
|
|
234
238
|
|
|
235
239
|
- `disabled` passa a funcionar como o atributo nativo: em `<button>` aplica `disabled` de verdade (sai do Tab e não recebe foco); em `<a>` aplica `aria-disabled="true"` + `tabindex="-1"`. Reverte a decisão da 1.0.1, que mantinha o botão desabilitado focável com `aria-disabled`. Com isso, um botão desabilitado com `sdsTieredMenu` também não abre mais o menu pela seta para baixo.
|
package/button/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SdsButtonComponent } from
|
|
1
|
+
export { SdsButtonComponent } from './src/button/button.component';
|
package/card/README.md
CHANGED
|
@@ -98,7 +98,7 @@ npm install @seniorsistemas/scala-ng
|
|
|
98
98
|
Importe o componente diretamente no seu standalone component:
|
|
99
99
|
|
|
100
100
|
```typescript
|
|
101
|
-
import { SdsCardComponent } from
|
|
101
|
+
import { SdsCardComponent } from '@seniorsistemas/scala-ng/card';
|
|
102
102
|
|
|
103
103
|
@Component({
|
|
104
104
|
imports: [SdsCardComponent],
|
package/card/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SdsCardComponent, type SdsCardCoverImage, type SdsCardFooterAction, type SdsCardFooterActions, type SdsCardFooterIconAction, type SdsCardFooterLabelAction, type SdsCardHeaderAction, type SdsCardLeadingVisual, } from
|
|
1
|
+
export { SdsCardComponent, type SdsCardCoverImage, type SdsCardFooterAction, type SdsCardFooterActions, type SdsCardFooterIconAction, type SdsCardFooterLabelAction, type SdsCardHeaderAction, type SdsCardLeadingVisual, } from './src/card/card.component';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type SdsTieredMenuItem } from
|
|
1
|
+
import { type SdsTieredMenuItem } from '@seniorsistemas/scala-ng/tiered-menu';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/** Campos comuns a toda ação do rodapé. */
|
|
4
4
|
interface SdsCardFooterActionBase {
|
|
5
5
|
/** Identificador emitido em `footerActionClick` — é assim que o consumidor sabe qual botão foi clicado. */
|
|
6
6
|
id: string;
|
|
7
7
|
/** Variante do `sdsButton`. Receitas do Figma: 1 Primary; Secondary + Primary (nessa ordem); 1 Ghost com `trailingIcon`. */
|
|
8
|
-
type:
|
|
8
|
+
type: 'primary' | 'secondary' | 'ghost';
|
|
9
9
|
}
|
|
10
10
|
/** Botão com texto visível, com ícone opcional à direita (ex.: Ghost "Ver mais" + seta). */
|
|
11
11
|
export interface SdsCardFooterLabelAction extends SdsCardFooterActionBase {
|
|
@@ -61,10 +61,10 @@ export interface SdsCardCoverImage {
|
|
|
61
61
|
* `null` (padrão) = nenhum dos dois.
|
|
62
62
|
*/
|
|
63
63
|
export type SdsCardLeadingVisual = {
|
|
64
|
-
type:
|
|
64
|
+
type: 'icon';
|
|
65
65
|
icon: string;
|
|
66
66
|
} | {
|
|
67
|
-
type:
|
|
67
|
+
type: 'avatar';
|
|
68
68
|
};
|
|
69
69
|
export declare class SdsCardComponent {
|
|
70
70
|
/** Card heading, always truncated to one line; named `heading` so it never becomes the native `title` tooltip. */
|
package/checkbox/README.md
CHANGED
|
@@ -86,7 +86,7 @@ npm install @seniorsistemas/scala-ng
|
|
|
86
86
|
Importe o componente diretamente no seu standalone component:
|
|
87
87
|
|
|
88
88
|
```typescript
|
|
89
|
-
import { SdsCheckboxComponent } from
|
|
89
|
+
import { SdsCheckboxComponent } from '@seniorsistemas/scala-ng/checkbox';
|
|
90
90
|
|
|
91
91
|
@Component({
|
|
92
92
|
imports: [SdsCheckboxComponent, ReactiveFormsModule],
|
|
@@ -130,12 +130,12 @@ export class MyComponent {}
|
|
|
130
130
|
### Com formControl e validação
|
|
131
131
|
|
|
132
132
|
```typescript
|
|
133
|
-
import { Component } from
|
|
134
|
-
import { FormControl, ReactiveFormsModule, Validators } from
|
|
135
|
-
import { SdsCheckboxComponent } from
|
|
133
|
+
import { Component } from '@angular/core';
|
|
134
|
+
import { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
135
|
+
import { SdsCheckboxComponent } from '@seniorsistemas/scala-ng/checkbox';
|
|
136
136
|
|
|
137
137
|
@Component({
|
|
138
|
-
selector:
|
|
138
|
+
selector: 'app-example',
|
|
139
139
|
imports: [ReactiveFormsModule, SdsCheckboxComponent],
|
|
140
140
|
template: `
|
|
141
141
|
<sds-checkbox
|
package/checkbox/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SdsCheckboxComponent } from
|
|
1
|
+
export { SdsCheckboxComponent } from './src/checkbox/checkbox.component';
|
|
@@ -22,10 +22,10 @@ Qualquer componente que exponha um input `contentLifecycle` (`'always' | 'lazy'
|
|
|
22
22
|
import type {
|
|
23
23
|
ContentLifecycleHost,
|
|
24
24
|
ContentLifecycleMode,
|
|
25
|
-
} from
|
|
25
|
+
} from '@seniorsistemas/scala-ng/content-lifecycle';
|
|
26
26
|
|
|
27
27
|
export class MyAccordionComponent implements ContentLifecycleHost {
|
|
28
|
-
readonly contentLifecycle = input<ContentLifecycleMode>(
|
|
28
|
+
readonly contentLifecycle = input<ContentLifecycleMode>('always');
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SdsContentLifecycleComponent } from
|
|
2
|
-
export type { ContentLifecycleHost, ContentLifecycleMode, } from
|
|
1
|
+
export { SdsContentLifecycleComponent } from './src/content-lifecycle/content-lifecycle.component';
|
|
2
|
+
export type { ContentLifecycleHost, ContentLifecycleMode, } from './src/content-lifecycle/content-lifecycle.models';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OnInit, TemplateRef } from
|
|
2
|
-
import type { ContentLifecycleHost, ContentLifecycleMode } from
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import type { ContentLifecycleHost, ContentLifecycleMode } from './content-lifecycle.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdsContentLifecycleComponent implements ContentLifecycleHost, OnInit {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InputSignal } from
|
|
1
|
+
import type { InputSignal } from '@angular/core';
|
|
2
2
|
/** Mount/unmount strategy for content controlled by a `ContentLifecycleHost`. */
|
|
3
|
-
export type ContentLifecycleMode =
|
|
3
|
+
export type ContentLifecycleMode = 'always' | 'lazy' | 'destroy';
|
|
4
4
|
/** Compile-time contract for components exposing a `contentLifecycle` input; no runtime effect. */
|
|
5
5
|
export interface ContentLifecycleHost {
|
|
6
6
|
readonly contentLifecycle: InputSignal<ContentLifecycleMode>;
|