@coreui/angular 5.3.7 → 5.3.8
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/LICENSE +1 -1
- package/README.md +2 -2
- package/fesm2022/coreui-angular.mjs +1655 -1686
- package/fesm2022/coreui-angular.mjs.map +1 -1
- package/lib/accordion/accordion-button/accordion-button.directive.d.ts +1 -4
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +0 -1
- package/lib/button-group/button-group/button-group.component.d.ts +1 -5
- package/lib/form/form/form.directive.d.ts +3 -4
- package/lib/form/form-check/form-check-input.directive.d.ts +10 -12
- package/lib/form/form-check/form-check.component.d.ts +10 -18
- package/lib/form/form-control/form-control.directive.d.ts +10 -10
- package/lib/form/form-feedback/form-feedback.component.d.ts +6 -7
- package/lib/form/form-floating/form-floating.directive.d.ts +1 -3
- package/lib/form/form-label/form-label.directive.d.ts +6 -5
- package/lib/form/form-select/form-select.directive.d.ts +6 -5
- package/lib/form/input-group/input-group.component.d.ts +1 -1
- package/lib/list-group/list-group-item.directive.d.ts +1 -7
- package/lib/modal/modal/modal.component.d.ts +34 -34
- package/lib/modal/modal-dialog/modal-dialog.component.d.ts +12 -9
- package/lib/modal/modal-dismiss/modal-toggle.directive.d.ts +3 -2
- package/lib/modal/modal.service.d.ts +2 -2
- package/lib/nav/nav-link.directive.d.ts +13 -15
- package/lib/nav/nav.component.d.ts +6 -6
- package/lib/placeholder/placeholder-animation.directive.d.ts +1 -3
- package/lib/placeholder/placeholder.directive.d.ts +1 -4
- package/lib/popover/popover/popover.component.d.ts +1 -1
- package/lib/popover/popover.directive.d.ts +1 -4
- package/lib/progress/progress-bar.component.d.ts +2 -2
- package/lib/progress/progress-bar.directive.d.ts +13 -30
- package/lib/progress/progress-stacked.component.d.ts +3 -4
- package/lib/progress/progress.component.d.ts +15 -17
- package/lib/progress/progress.service.d.ts +11 -0
- package/lib/services/color-mode.service.d.ts +0 -1
- package/lib/shared/html-attr.directive.d.ts +0 -1
- package/lib/spinner/spinner.component.d.ts +1 -3
- package/lib/table/table-active.directive.d.ts +3 -5
- package/lib/table/table-color.directive.d.ts +4 -5
- package/lib/table/table.directive.d.ts +25 -35
- package/lib/tabs-2/tab/tab.directive.d.ts +5 -10
- package/lib/tabs-2/tab-panel/tab-panel.component.d.ts +1 -7
- package/lib/tabs-2/tabs-list/tabs-list.component.d.ts +1 -6
- package/lib/tabs-2/tabs.component.d.ts +1 -2
- package/lib/toast/toast/toast.component.d.ts +14 -15
- package/lib/toast/toast-body/toast-body.component.d.ts +1 -2
- package/lib/toast/toast-close.directive.d.ts +4 -3
- package/lib/toast/toast-header/toast-header.component.d.ts +5 -5
- package/lib/toast/toaster/toaster.component.d.ts +12 -13
- package/lib/toast/toaster/toaster.service.d.ts +1 -1
- package/lib/tooltip/tooltip/tooltip.component.d.ts +1 -1
- package/lib/tooltip/tooltip.directive.d.ts +0 -3
- package/lib/utilities/align.directive.d.ts +4 -4
- package/lib/utilities/bg-color.directive.d.ts +5 -6
- package/lib/utilities/border.directive.d.ts +4 -4
- package/lib/utilities/rounded.directive.d.ts +3 -3
- package/lib/utilities/shadow-on-scroll.directive.d.ts +2 -2
- package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +1 -1
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
- package/package.json +8 -8
- package/lib/table/table.type.d.ts +0 -78
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentRef, Injector, NgModuleRef, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { IToasterAction } from './toaster.service';
|
|
3
3
|
import { ToasterHostDirective } from './toaster-host.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -15,26 +15,25 @@ export declare enum ToasterPlacement {
|
|
|
15
15
|
BottomEnd = "bottom-end"
|
|
16
16
|
}
|
|
17
17
|
export type TToasterPlacement = ToasterPlacement.Static | ToasterPlacement.TopStart | ToasterPlacement.TopCenter | ToasterPlacement.TopEnd | ToasterPlacement.MiddleStart | ToasterPlacement.MiddleCenter | ToasterPlacement.MiddleEnd | ToasterPlacement.BottomStart | ToasterPlacement.BottomCenter | ToasterPlacement.BottomEnd | string;
|
|
18
|
-
export declare class ToasterComponent implements OnInit
|
|
18
|
+
export declare class ToasterComponent implements OnInit {
|
|
19
19
|
#private;
|
|
20
20
|
placements: ToasterPlacement[];
|
|
21
|
-
|
|
22
|
-
toastsDynamic: any[];
|
|
21
|
+
toastsDynamic: ComponentRef<any>[];
|
|
23
22
|
/**
|
|
24
23
|
* Toaster placement
|
|
25
|
-
* @
|
|
24
|
+
* @return TToasterPlacement
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
readonly placementInput: import("@angular/core").InputSignal<string>;
|
|
27
|
+
get placement(): string;
|
|
28
28
|
/**
|
|
29
29
|
* Toaster position
|
|
30
|
-
* @
|
|
30
|
+
* @return (string | 'absolute' | 'fixed' | 'static')
|
|
31
31
|
*/
|
|
32
|
-
position: string
|
|
33
|
-
toasterHost: ToasterHostDirective
|
|
34
|
-
contentToasts:
|
|
35
|
-
|
|
32
|
+
readonly position: import("@angular/core").InputSignal<string>;
|
|
33
|
+
readonly toasterHost: import("@angular/core").Signal<ToasterHostDirective>;
|
|
34
|
+
readonly contentToasts: import("@angular/core").Signal<readonly ViewContainerRef[]>;
|
|
35
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
36
36
|
ngOnInit(): void;
|
|
37
|
-
ngAfterContentChecked(): void;
|
|
38
37
|
addToast(toast: any, props: any, options?: {
|
|
39
38
|
index?: number;
|
|
40
39
|
injector?: Injector;
|
|
@@ -44,5 +43,5 @@ export declare class ToasterComponent implements OnInit, AfterContentChecked {
|
|
|
44
43
|
removeToast(state: IToasterAction): void;
|
|
45
44
|
private stateToasterSubscribe;
|
|
46
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "c-toaster", ["cToaster"], { "
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "c-toaster", ["cToaster"], { "placementInput": { "alias": "placement"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, ["contentToasts"], ["*"], true, never>;
|
|
48
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TToasterPlacement } from './toaster.component';
|
|
2
|
-
import { ToastComponent } from '../toast/toast.component';
|
|
2
|
+
import { type ToastComponent } from '../toast/toast.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface IToasterAction {
|
|
5
5
|
placement?: TToasterPlacement;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnDestroy, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TooltipComponent implements OnDestroy {
|
|
4
|
+
#private;
|
|
4
5
|
readonly renderer: Renderer2;
|
|
5
6
|
/**
|
|
6
7
|
* Content of tooltip
|
|
7
8
|
* @type {string | TemplateRef}
|
|
8
9
|
*/
|
|
9
10
|
readonly content: import("@angular/core").InputSignal<string | TemplateRef<any>>;
|
|
10
|
-
readonly contentEffect: import("@angular/core").EffectRef;
|
|
11
11
|
/**
|
|
12
12
|
* Toggle the visibility of popover component.
|
|
13
13
|
* @type boolean
|
|
@@ -10,13 +10,11 @@ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewIni
|
|
|
10
10
|
* @type {string | TemplateRef}
|
|
11
11
|
*/
|
|
12
12
|
readonly content: import("@angular/core").InputSignal<string | TemplateRef<any> | undefined>;
|
|
13
|
-
readonly contentEffect: import("@angular/core").EffectRef;
|
|
14
13
|
/**
|
|
15
14
|
* Optional popper Options object, takes precedence over cPopoverPlacement prop
|
|
16
15
|
* @type Partial<Options>
|
|
17
16
|
*/
|
|
18
17
|
readonly popperOptions: import("@angular/core").InputSignal<Partial<Options>>;
|
|
19
|
-
readonly popperOptionsEffect: import("@angular/core").EffectRef;
|
|
20
18
|
readonly popperOptionsComputed: import("@angular/core").Signal<{
|
|
21
19
|
placement: import("@popperjs/core").Placement;
|
|
22
20
|
modifiers?: Partial<import("@popperjs/core").Modifier<any, any>>[] | undefined;
|
|
@@ -46,7 +44,6 @@ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewIni
|
|
|
46
44
|
* @type boolean
|
|
47
45
|
*/
|
|
48
46
|
readonly visible: import("@angular/core").ModelSignal<boolean>;
|
|
49
|
-
readonly visibleEffect: import("@angular/core").EffectRef;
|
|
50
47
|
get ariaDescribedBy(): string | null;
|
|
51
48
|
private tooltip;
|
|
52
49
|
private tooltipId;
|
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class AlignDirective {
|
|
4
4
|
/**
|
|
5
5
|
* Set vertical alignment of inline, inline-block, inline-table, and table cell elements
|
|
6
|
-
* @
|
|
6
|
+
* @return Alignment
|
|
7
7
|
*/
|
|
8
|
-
align
|
|
9
|
-
|
|
8
|
+
readonly align: import("@angular/core").InputSignal<Alignment | undefined>;
|
|
9
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlignDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AlignDirective, "[cAlign]",
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AlignDirective, "[cAlign]", ["cAlign"], { "align": { "alias": "cAlign"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { BackgroundColors } from '../coreui.types';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class BgColorDirective {
|
|
4
3
|
/**
|
|
5
4
|
* Set the background of an element to any contextual class
|
|
6
5
|
*/
|
|
7
|
-
|
|
6
|
+
readonly cBgColor: import("@angular/core").InputSignal<string>;
|
|
8
7
|
/**
|
|
9
8
|
* Add linear gradient as background image to the backgrounds.
|
|
10
|
-
* @
|
|
9
|
+
* @return boolean
|
|
11
10
|
*/
|
|
12
|
-
gradient
|
|
13
|
-
|
|
11
|
+
readonly gradient: import("@angular/core").InputSignal<boolean | undefined>;
|
|
12
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<BgColorDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BgColorDirective, "[cBgColor]",
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BgColorDirective, "[cBgColor]", ["cBgColor"], { "cBgColor": { "alias": "cBgColor"; "required": false; "isSignal": true; }; "gradient": { "alias": "gradient"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
15
|
}
|
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class BorderDirective {
|
|
4
4
|
/**
|
|
5
5
|
* Add or remove an element’s borders
|
|
6
|
-
* @
|
|
6
|
+
* @return Border
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
readonly cBorder: import("@angular/core").InputSignal<Border>;
|
|
9
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BorderDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BorderDirective, "[cBorder]",
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BorderDirective, "[cBorder]", ["cBorder"], { "cBorder": { "alias": "cBorder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -5,8 +5,8 @@ export declare class RoundedDirective {
|
|
|
5
5
|
* Set border radius variant and radius size
|
|
6
6
|
* @type Rounded
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
readonly cRounded: import("@angular/core").InputSignal<Rounded>;
|
|
9
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoundedDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RoundedDirective, "[cRounded]",
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RoundedDirective, "[cRounded]", ["cRounded"], { "cRounded": { "alias": "cRounded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class ShadowOnScrollDirective {
|
|
3
3
|
#private;
|
|
4
4
|
constructor();
|
|
5
|
-
|
|
5
|
+
readonly cShadowOnScroll: import("@angular/core").InputSignal<boolean | "sm" | "lg" | "none">;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShadowOnScrollDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]",
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]", ["cShadowOnScroll"], { "cShadowOnScroll": { "alias": "cShadowOnScroll"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -3,6 +3,7 @@ import { TemplateIdDirective } from '../../shared';
|
|
|
3
3
|
import { CardComponent } from '../../card';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class WidgetStatAComponent extends CardComponent {
|
|
6
|
+
#private;
|
|
6
7
|
/**
|
|
7
8
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
8
9
|
* @type Colors
|
|
@@ -19,7 +20,6 @@ export declare class WidgetStatAComponent extends CardComponent {
|
|
|
19
20
|
readonly value: InputSignal<string | undefined>;
|
|
20
21
|
templates: Record<string, TemplateRef<any>>;
|
|
21
22
|
readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
|
|
22
|
-
readonly contentTemplatesEffect: import("@angular/core").EffectRef;
|
|
23
23
|
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
24
24
|
get bodyClasses(): {
|
|
25
25
|
'pb-0': boolean;
|
|
@@ -3,6 +3,7 @@ import { CardComponent } from '../../card';
|
|
|
3
3
|
import { TemplateIdDirective } from '../../shared';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class WidgetStatCComponent extends CardComponent {
|
|
6
|
+
#private;
|
|
6
7
|
constructor();
|
|
7
8
|
/**
|
|
8
9
|
* Icon for your component.
|
|
@@ -26,7 +27,6 @@ export declare class WidgetStatCComponent extends CardComponent {
|
|
|
26
27
|
readonly inverse: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
28
|
templates: Record<string, TemplateRef<any>>;
|
|
28
29
|
readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
|
|
29
|
-
readonly contentTemplatesEffect: import("@angular/core").EffectRef;
|
|
30
30
|
readonly hostExtendedClass: import("@angular/core").Signal<Record<string, boolean>>;
|
|
31
31
|
readonly titleClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
32
32
|
readonly valueClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
@@ -3,6 +3,7 @@ import { TemplateIdDirective } from '../../shared';
|
|
|
3
3
|
import { CardComponent } from '../../card';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class WidgetStatFComponent extends CardComponent {
|
|
6
|
+
#private;
|
|
6
7
|
/**
|
|
7
8
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
8
9
|
* @type Colors
|
|
@@ -38,7 +39,6 @@ export declare class WidgetStatFComponent extends CardComponent {
|
|
|
38
39
|
readonly value: import("@angular/core").InputSignal<string | number | undefined>;
|
|
39
40
|
templates: Record<string, TemplateRef<any>>;
|
|
40
41
|
readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
|
|
41
|
-
readonly contentTemplatesEffect: import("@angular/core").EffectRef;
|
|
42
42
|
readonly cardBodyClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
43
43
|
readonly iconClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
44
44
|
readonly titleClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.8",
|
|
4
4
|
"description": "CoreUI Components Library for Angular",
|
|
5
|
-
"copyright": "Copyright
|
|
5
|
+
"copyright": "Copyright 2025 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://coreui.io/angular",
|
|
8
8
|
"author": {
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@angular/animations": "^19.
|
|
27
|
-
"@angular/cdk": "^19.
|
|
28
|
-
"@angular/common": "^19.
|
|
29
|
-
"@angular/core": "^19.
|
|
30
|
-
"@angular/router": "^19.
|
|
26
|
+
"@angular/animations": "^19.1.1",
|
|
27
|
+
"@angular/cdk": "^19.1.0",
|
|
28
|
+
"@angular/common": "^19.1.1",
|
|
29
|
+
"@angular/core": "^19.1.1",
|
|
30
|
+
"@angular/router": "^19.1.1",
|
|
31
31
|
"@coreui/coreui": "^5.2.0",
|
|
32
|
-
"@coreui/icons-angular": "~5.3.
|
|
32
|
+
"@coreui/icons-angular": "~5.3.8",
|
|
33
33
|
"rxjs": "^7.8.1"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { Breakpoints, Colors } from '../coreui.types';
|
|
2
|
-
export interface ITable {
|
|
3
|
-
/**
|
|
4
|
-
* Set the vertical alignment.
|
|
5
|
-
* @type string
|
|
6
|
-
* @values 'bottom' | 'middle' | 'top'
|
|
7
|
-
*/
|
|
8
|
-
align?: 'bottom' | 'middle' | 'top';
|
|
9
|
-
/**
|
|
10
|
-
* Sets the border color of the component to one of CoreUI’s themed colors.
|
|
11
|
-
* @type Colors
|
|
12
|
-
*/
|
|
13
|
-
borderColor?: Colors;
|
|
14
|
-
/**
|
|
15
|
-
* Add borders on all sides of the table and cells.
|
|
16
|
-
* @type boolean
|
|
17
|
-
*/
|
|
18
|
-
bordered?: boolean | string;
|
|
19
|
-
/**
|
|
20
|
-
* Remove borders on all sides of the table and cells.
|
|
21
|
-
* @type boolean
|
|
22
|
-
*/
|
|
23
|
-
borderless?: boolean | string;
|
|
24
|
-
/**
|
|
25
|
-
* Put the `<caption>` on the top of the table.
|
|
26
|
-
* @values 'top'
|
|
27
|
-
*/
|
|
28
|
-
caption?: 'top';
|
|
29
|
-
/**
|
|
30
|
-
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
31
|
-
* @type Colors
|
|
32
|
-
*/
|
|
33
|
-
color?: Colors;
|
|
34
|
-
/**
|
|
35
|
-
* Enable a hover state on table rows within table body.
|
|
36
|
-
* @type boolean
|
|
37
|
-
*/
|
|
38
|
-
hover?: boolean | string;
|
|
39
|
-
/**
|
|
40
|
-
* Make table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.
|
|
41
|
-
* @type: {boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'}
|
|
42
|
-
*/
|
|
43
|
-
responsive?: boolean | Omit<Breakpoints, 'xs'>;
|
|
44
|
-
/**
|
|
45
|
-
* Make table more compact by cutting all cell `padding` in half.
|
|
46
|
-
* @type boolean
|
|
47
|
-
*/
|
|
48
|
-
small?: boolean | string;
|
|
49
|
-
/**
|
|
50
|
-
* Add zebra-striping to any table row within the table body`.
|
|
51
|
-
* @type boolean
|
|
52
|
-
*/
|
|
53
|
-
striped?: boolean | string;
|
|
54
|
-
attributes?: Partial<HTMLTableElement>;
|
|
55
|
-
}
|
|
56
|
-
export interface ITableElementProps {
|
|
57
|
-
/**
|
|
58
|
-
* Set the vertical alignment.
|
|
59
|
-
@type 'bottom' | 'middle' | 'top'
|
|
60
|
-
*/
|
|
61
|
-
align?: ('bottom' | 'middle' | 'top');
|
|
62
|
-
/**
|
|
63
|
-
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
64
|
-
* @type Colors
|
|
65
|
-
*/
|
|
66
|
-
color?: Colors;
|
|
67
|
-
/** @deprecated */
|
|
68
|
-
_attributes?: Partial<HTMLTableElement>;
|
|
69
|
-
}
|
|
70
|
-
export interface ITableRowCellProps extends ITableElementProps {
|
|
71
|
-
/**
|
|
72
|
-
* Highlight a table row or cell
|
|
73
|
-
@type boolean
|
|
74
|
-
*/
|
|
75
|
-
active?: boolean;
|
|
76
|
-
/** @deprecated */
|
|
77
|
-
_attributes?: Partial<HTMLTableCellElement> | Partial<HTMLTableRowElement>;
|
|
78
|
-
}
|