@coreui/angular-pro 5.0.0-rc.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/accordion/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
- package/esm2022/lib/accordion/accordion-item/accordion-item.component.mjs +5 -5
- package/esm2022/lib/accordion/accordion.module.mjs +4 -4
- package/esm2022/lib/accordion/accordion.service.mjs +3 -3
- package/esm2022/lib/alert/alert-heading.directive.mjs +3 -3
- package/esm2022/lib/alert/alert-link.directive.mjs +3 -3
- package/esm2022/lib/alert/alert.component.mjs +3 -3
- package/esm2022/lib/alert/alert.module.mjs +4 -4
- package/esm2022/lib/avatar/avatar.component.mjs +3 -3
- package/esm2022/lib/avatar/avatar.module.mjs +4 -4
- package/esm2022/lib/backdrop/backdrop.service.mjs +3 -3
- package/esm2022/lib/badge/badge.component.mjs +14 -11
- package/esm2022/lib/badge/badge.module.mjs +4 -4
- package/esm2022/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +11 -11
- package/esm2022/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/lib/button/button-close.directive.mjs +3 -3
- package/esm2022/lib/button/button.directive.mjs +3 -3
- package/esm2022/lib/button/button.module.mjs +4 -4
- package/esm2022/lib/button-group/button-group/button-group.component.mjs +13 -13
- package/esm2022/lib/button-group/button-group.module.mjs +4 -4
- package/esm2022/lib/button-group/button-toolbar/button-toolbar.component.mjs +11 -11
- package/esm2022/lib/calendar/calendar/calendar-class-view.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar/calendar.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-row.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day-title.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day.directive.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-month.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-row.directive.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar.module.mjs +4 -4
- package/esm2022/lib/calendar/calendar.service.mjs +3 -3
- package/esm2022/lib/callout/callout.component.mjs +6 -7
- package/esm2022/lib/callout/callout.module.mjs +4 -4
- package/esm2022/lib/card/card-body.component.mjs +5 -5
- package/esm2022/lib/card/card-footer.component.mjs +5 -5
- package/esm2022/lib/card/card-group.component.mjs +5 -5
- package/esm2022/lib/card/card-header-actions.component.mjs +5 -5
- package/esm2022/lib/card/card-header.component.mjs +5 -5
- package/esm2022/lib/card/card-img-overlay/card-img-overlay.component.mjs +5 -5
- package/esm2022/lib/card/card-img.directive.mjs +3 -3
- package/esm2022/lib/card/card-link.directive.mjs +3 -3
- package/esm2022/lib/card/card-subtitle.directive.mjs +3 -3
- package/esm2022/lib/card/card-text.directive.mjs +3 -3
- package/esm2022/lib/card/card-title.directive.mjs +3 -3
- package/esm2022/lib/card/card.component.mjs +12 -8
- package/esm2022/lib/card/card.module.mjs +4 -4
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-caption/carousel-caption.component.mjs +6 -6
- package/esm2022/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-inner/carousel-inner.component.mjs +5 -5
- package/esm2022/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-state.mjs +3 -3
- package/esm2022/lib/carousel/carousel.config.mjs +3 -3
- package/esm2022/lib/carousel/carousel.module.mjs +4 -4
- package/esm2022/lib/carousel/carousel.service.mjs +3 -3
- package/esm2022/lib/collapse/collapse.directive.mjs +3 -3
- package/esm2022/lib/collapse/collapse.module.mjs +4 -4
- package/esm2022/lib/date-picker/date-picker.component.mjs +6 -6
- package/esm2022/lib/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/lib/date-range-picker/date-range-picker/custom-range-key.pipe.mjs +3 -3
- package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +6 -6
- package/esm2022/lib/date-range-picker/date-range-picker.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown.service.mjs +3 -3
- package/esm2022/lib/element-cover/element-cover.component.mjs +3 -3
- package/esm2022/lib/element-cover/element-cover.module.mjs +4 -4
- package/esm2022/lib/footer/footer.component.mjs +6 -6
- package/esm2022/lib/footer/footer.module.mjs +4 -4
- package/esm2022/lib/form/form/form.directive.mjs +3 -3
- package/esm2022/lib/form/form-check/form-check-input.directive.mjs +3 -3
- package/esm2022/lib/form/form-check/form-check-label.directive.mjs +3 -3
- package/esm2022/lib/form/form-check/form-check.component.mjs +5 -5
- package/esm2022/lib/form/form-control/form-control.directive.mjs +3 -3
- package/esm2022/lib/form/form-feedback/form-feedback.component.mjs +5 -5
- package/esm2022/lib/form/form-floating/form-floating.directive.mjs +3 -3
- package/esm2022/lib/form/form-label/form-label.directive.mjs +3 -3
- package/esm2022/lib/form/form-select/form-select.directive.mjs +3 -3
- package/esm2022/lib/form/form-text/form-text.directive.mjs +3 -3
- package/esm2022/lib/form/form.module.mjs +4 -4
- package/esm2022/lib/form/input-group/input-group.component.mjs +13 -13
- package/esm2022/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
- package/esm2022/lib/grid/col.component.mjs +5 -5
- package/esm2022/lib/grid/col.directive.mjs +3 -3
- package/esm2022/lib/grid/container.component.mjs +5 -5
- package/esm2022/lib/grid/grid.module.mjs +4 -4
- package/esm2022/lib/grid/gutter.directive.mjs +3 -3
- package/esm2022/lib/grid/row.component.mjs +5 -5
- package/esm2022/lib/grid/row.directive.mjs +3 -3
- package/esm2022/lib/header/header/header.component.mjs +3 -3
- package/esm2022/lib/header/header-brand/header-brand.component.mjs +5 -5
- package/esm2022/lib/header/header-divider/header-divider.component.mjs +3 -3
- package/esm2022/lib/header/header-nav/header-nav.component.mjs +5 -5
- package/esm2022/lib/header/header-text/header-text.component.mjs +5 -5
- package/esm2022/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
- package/esm2022/lib/header/header.module.mjs +4 -4
- package/esm2022/lib/image/img.directive.mjs +3 -3
- package/esm2022/lib/image/img.module.mjs +4 -4
- package/esm2022/lib/list-group/list-group-item.directive.mjs +3 -3
- package/esm2022/lib/list-group/list-group.directive.mjs +3 -3
- package/esm2022/lib/list-group/list-group.module.mjs +4 -4
- package/esm2022/lib/loading-button/loading-button.component.mjs +3 -3
- package/esm2022/lib/loading-button/loading-button.module.mjs +4 -4
- package/esm2022/lib/modal/modal/modal.component.mjs +5 -5
- package/esm2022/lib/modal/modal-body/modal-body.component.mjs +5 -5
- package/esm2022/lib/modal/modal-content/modal-content.component.mjs +5 -5
- package/esm2022/lib/modal/modal-dialog/modal-dialog.component.mjs +5 -5
- package/esm2022/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
- package/esm2022/lib/modal/modal-footer/modal-footer.component.mjs +5 -5
- package/esm2022/lib/modal/modal-header/modal-header.component.mjs +5 -5
- package/esm2022/lib/modal/modal-title/modal-title.directive.mjs +3 -3
- package/esm2022/lib/modal/modal.module.mjs +4 -4
- package/esm2022/lib/modal/modal.service.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select/multi-select-search.directive.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select/multi-select.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +5 -5
- package/esm2022/lib/multi-select/multi-select-option/multi-select-option.component.mjs +5 -5
- package/esm2022/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select.module.mjs +4 -4
- package/esm2022/lib/multi-select/multi-select.service.mjs +3 -3
- package/esm2022/lib/nav/nav-item.component.mjs +5 -5
- package/esm2022/lib/nav/nav-link.directive.mjs +3 -3
- package/esm2022/lib/nav/nav.component.mjs +5 -5
- package/esm2022/lib/nav/nav.module.mjs +4 -4
- package/esm2022/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
- package/esm2022/lib/navbar/navbar-nav/navbar-nav.component.mjs +5 -5
- package/esm2022/lib/navbar/navbar-text/navbar-text.component.mjs +5 -5
- package/esm2022/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
- package/esm2022/lib/navbar/navbar.component.mjs +5 -5
- package/esm2022/lib/navbar/navbar.module.mjs +4 -4
- package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +5 -5
- package/esm2022/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +5 -5
- package/esm2022/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +6 -6
- package/esm2022/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas.module.mjs +4 -4
- package/esm2022/lib/offcanvas/offcanvas.service.mjs +3 -3
- package/esm2022/lib/pagination/page-item/page-item.component.mjs +5 -5
- package/esm2022/lib/pagination/page-item/page-item.directive.mjs +3 -3
- package/esm2022/lib/pagination/page-link/page-link.directive.mjs +3 -3
- package/esm2022/lib/pagination/pagination/pagination.component.mjs +5 -5
- package/esm2022/lib/pagination/pagination.module.mjs +4 -4
- package/esm2022/lib/placeholder/placeholder-animation.directive.mjs +3 -3
- package/esm2022/lib/placeholder/placeholder.directive.mjs +3 -3
- package/esm2022/lib/placeholder/placeholder.module.mjs +4 -4
- package/esm2022/lib/popover/popover/popover.component.mjs +5 -5
- package/esm2022/lib/popover/popover.directive.mjs +3 -3
- package/esm2022/lib/popover/popover.module.mjs +4 -4
- package/esm2022/lib/progress/progress-bar.component.mjs +3 -3
- package/esm2022/lib/progress/progress-bar.directive.mjs +3 -3
- package/esm2022/lib/progress/progress-stacked.component.mjs +3 -3
- package/esm2022/lib/progress/progress.component.mjs +3 -3
- package/esm2022/lib/progress/progress.module.mjs +4 -4
- package/esm2022/lib/services/class-toggle.service.mjs +3 -3
- package/esm2022/lib/services/color-mode.service.mjs +3 -3
- package/esm2022/lib/services/in-memory-storage.service.mjs +3 -3
- package/esm2022/lib/services/intersection.service.mjs +3 -3
- package/esm2022/lib/services/listeners.service.mjs +3 -3
- package/esm2022/lib/services/local-storage.service.mjs +3 -3
- package/esm2022/lib/shared/html-attr.directive.mjs +3 -3
- package/esm2022/lib/shared/shared.module.mjs +4 -4
- package/esm2022/lib/shared/template-id.directive.mjs +3 -3
- package/esm2022/lib/shared/theme.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +5 -5
- package/esm2022/lib/sidebar/sidebar-header/sidebar-header.component.mjs +5 -5
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +8 -8
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/lib/sidebar/sidebar.service.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.component.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.module.mjs +4 -4
- package/esm2022/lib/smart-table/smart-table/smart-table.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-filter/filter-input.directive.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-head/smart-table-column-label.pipe.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-head/smart-table-head.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table.module.mjs +4 -4
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/spinner/spinner.module.mjs +4 -4
- package/esm2022/lib/table/table-active.directive.mjs +3 -3
- package/esm2022/lib/table/table-color.directive.mjs +3 -3
- package/esm2022/lib/table/table.directive.mjs +3 -3
- package/esm2022/lib/table/table.module.mjs +4 -4
- package/esm2022/lib/tabs/tab-content/tab-content.component.mjs +3 -3
- package/esm2022/lib/tabs/tab-content-ref.directive.mjs +3 -3
- package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
- package/esm2022/lib/tabs/tab.service.mjs +3 -3
- package/esm2022/lib/tabs/tabs.module.mjs +4 -4
- package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +6 -6
- package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +6 -6
- package/esm2022/lib/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/lib/time-picker/time-picker.module.mjs +4 -4
- package/esm2022/lib/toast/toast/toast.component.mjs +3 -3
- package/esm2022/lib/toast/toast-body/toast-body.component.mjs +5 -5
- package/esm2022/lib/toast/toast-close.directive.mjs +3 -3
- package/esm2022/lib/toast/toast-header/toast-header.component.mjs +3 -3
- package/esm2022/lib/toast/toast.module.mjs +4 -4
- package/esm2022/lib/toast/toaster/toaster-host.directive.mjs +3 -3
- package/esm2022/lib/toast/toaster/toaster.component.mjs +5 -5
- package/esm2022/lib/toast/toaster/toaster.service.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip/tooltip.component.mjs +5 -5
- package/esm2022/lib/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/lib/utilities/align.directive.mjs +3 -3
- package/esm2022/lib/utilities/bg-color.directive.mjs +3 -3
- package/esm2022/lib/utilities/border.directive.mjs +3 -3
- package/esm2022/lib/utilities/public_api.mjs +2 -1
- package/esm2022/lib/utilities/rounded.directive.mjs +3 -3
- package/esm2022/lib/utilities/shadow-on-scroll.directive.mjs +3 -3
- package/esm2022/lib/utilities/text-bg-color.directive.mjs +33 -0
- package/esm2022/lib/utilities/text-color.directive.mjs +11 -11
- package/esm2022/lib/utilities/utilities.module.mjs +7 -7
- package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
- package/esm2022/lib/widget/widget.module.mjs +4 -4
- package/fesm2022/coreui-angular-pro.mjs +951 -916
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/badge/badge.component.d.ts +9 -2
- package/lib/breadcrumb/breadcrumb/breadcrumb.component.d.ts +0 -1
- package/lib/button-group/button-group/button-group.component.d.ts +0 -1
- package/lib/button-group/button-toolbar/button-toolbar.component.d.ts +0 -1
- package/lib/callout/callout.component.d.ts +0 -1
- package/lib/card/card.component.d.ts +9 -1
- package/lib/carousel/carousel-caption/carousel-caption.component.d.ts +0 -1
- package/lib/form/input-group/input-group.component.d.ts +0 -1
- package/lib/utilities/public_api.d.ts +1 -0
- package/lib/utilities/text-bg-color.directive.d.ts +12 -0
- package/lib/utilities/text-color.directive.d.ts +0 -1
- package/lib/utilities/utilities.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BadgePositions, Colors, Shapes, TextColors } from '../coreui.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "../utilities/text-color.directive";
|
|
4
|
+
import * as i2 from "../utilities/text-bg-color.directive";
|
|
4
5
|
export declare class BadgeComponent {
|
|
5
6
|
/**
|
|
6
7
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
@@ -27,8 +28,14 @@ export declare class BadgeComponent {
|
|
|
27
28
|
* @type TextColors
|
|
28
29
|
*/
|
|
29
30
|
textColor?: TextColors;
|
|
30
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.
|
|
33
|
+
* via TextBgColorDirective
|
|
34
|
+
* @type Colors
|
|
35
|
+
* @since 5.0.0
|
|
36
|
+
*/
|
|
37
|
+
textBgColor?: Colors;
|
|
31
38
|
get hostClasses(): any;
|
|
32
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "c-badge", never, { "color": { "alias": "color"; "required": false; }; "position": { "alias": "position"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "c-badge", never, { "color": { "alias": "color"; "required": false; }; "position": { "alias": "position"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "textBgColor": { "alias": "textBgColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }, { directive: typeof i2.TextBgColorDirective; inputs: { "cTextBgColor": "textBgColor"; }; outputs: {}; }]>;
|
|
34
41
|
}
|
|
@@ -15,7 +15,6 @@ export declare class BreadcrumbComponent {
|
|
|
15
15
|
get hostClasses(): {
|
|
16
16
|
breadcrumb: boolean;
|
|
17
17
|
};
|
|
18
|
-
constructor();
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
20
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "c-breadcrumb", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
20
|
}
|
|
@@ -17,7 +17,6 @@ export declare class ButtonGroupComponent {
|
|
|
17
17
|
*/
|
|
18
18
|
role: string;
|
|
19
19
|
get hostClasses(): any;
|
|
20
|
-
constructor();
|
|
21
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
22
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "c-button-group", never, { "size": { "alias": "size"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
23
22
|
}
|
|
@@ -7,7 +7,6 @@ export declare class ButtonToolbarComponent {
|
|
|
7
7
|
*/
|
|
8
8
|
role: string;
|
|
9
9
|
get hostClasses(): any;
|
|
10
|
-
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonToolbarComponent, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonToolbarComponent, "c-button-toolbar", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
13
12
|
}
|
|
@@ -7,7 +7,6 @@ export declare class CalloutComponent {
|
|
|
7
7
|
*/
|
|
8
8
|
color?: Colors;
|
|
9
9
|
get hostClasses(): any;
|
|
10
|
-
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalloutComponent, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalloutComponent, "c-callout, [cCallout]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
13
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Colors, TextColors } from '../coreui.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "../utilities/text-color.directive";
|
|
4
|
+
import * as i2 from "../utilities/text-bg-color.directive";
|
|
4
5
|
export declare class CardComponent {
|
|
5
6
|
/**
|
|
6
7
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
@@ -13,7 +14,14 @@ export declare class CardComponent {
|
|
|
13
14
|
* @type TextColors
|
|
14
15
|
*/
|
|
15
16
|
textColor?: TextColors;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.
|
|
19
|
+
* via TextBgColorDirective
|
|
20
|
+
* @type Colors
|
|
21
|
+
* @since 5.0.0
|
|
22
|
+
*/
|
|
23
|
+
textBgColor?: Colors;
|
|
16
24
|
get hostClasses(): any;
|
|
17
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "c-card, [c-card]", never, { "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "c-card, [c-card]", never, { "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "textBgColor": { "alias": "textBgColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }, { directive: typeof i2.TextBgColorDirective; inputs: { "cTextBgColor": "textBgColor"; }; outputs: {}; }]>;
|
|
19
27
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class CarouselCaptionComponent {
|
|
3
3
|
carouselCaptionClass: boolean;
|
|
4
|
-
constructor();
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselCaptionComponent, never>;
|
|
6
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselCaptionComponent, "c-carousel-caption", never, {}, {}, never, ["*"], true, never>;
|
|
7
6
|
}
|
|
@@ -5,7 +5,6 @@ export declare class InputGroupComponent {
|
|
|
5
5
|
*/
|
|
6
6
|
sizing: string | 'sm' | 'lg' | '';
|
|
7
7
|
get hostClasses(): any;
|
|
8
|
-
constructor();
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputGroupComponent, never>;
|
|
10
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputGroupComponent, "c-input-group", never, { "sizing": { "alias": "sizing"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
10
|
}
|
|
@@ -4,4 +4,5 @@ export { BorderDirective } from './border.directive';
|
|
|
4
4
|
export { RoundedDirective } from './rounded.directive';
|
|
5
5
|
export { ShadowOnScrollDirective } from './shadow-on-scroll.directive';
|
|
6
6
|
export { TextColorDirective } from './text-color.directive';
|
|
7
|
+
export { TextBgColorDirective } from './text-bg-color.directive';
|
|
7
8
|
export { UtilitiesModule } from './utilities.module';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Colors } from '../coreui.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextBgColorDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Set text-bg-color of element
|
|
6
|
+
* @type Colors
|
|
7
|
+
*/
|
|
8
|
+
textBgColor: Colors;
|
|
9
|
+
get hostClasses(): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextBgColorDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBgColorDirective, "[cTextBgColor]", never, { "textBgColor": { "alias": "cTextBgColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -7,7 +7,6 @@ export declare class TextColorDirective {
|
|
|
7
7
|
*/
|
|
8
8
|
color: TextColors;
|
|
9
9
|
get hostClasses(): any;
|
|
10
|
-
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextColorDirective, never>;
|
|
12
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TextColorDirective, "[cTextColor]", never, { "color": { "alias": "cTextColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
12
|
}
|
|
@@ -5,8 +5,9 @@ import * as i3 from "./border.directive";
|
|
|
5
5
|
import * as i4 from "./rounded.directive";
|
|
6
6
|
import * as i5 from "./shadow-on-scroll.directive";
|
|
7
7
|
import * as i6 from "./text-color.directive";
|
|
8
|
+
import * as i7 from "./text-bg-color.directive";
|
|
8
9
|
export declare class UtilitiesModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, never, [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective], [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, never, [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective, typeof i7.TextBgColorDirective], [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective, typeof i7.TextBgColorDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<UtilitiesModule>;
|
|
12
13
|
}
|
package/package.json
CHANGED