cax-design-system 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/avatargroup/avatargroup.d.ts +1 -7
- package/avatargroup/avatargroup.module.d.ts +9 -0
- package/avatargroup/public_api.d.ts +1 -0
- package/badge/badge.directive.d.ts +4 -2
- package/button/button.d.ts +2 -1
- package/editor/editor.d.ts +1 -8
- package/editor/editor.module.d.ts +9 -0
- package/editor/public_api.d.ts +1 -0
- package/esm2022/avatar/avatar.mjs +3 -3
- package/esm2022/avatargroup/avatargroup.mjs +5 -27
- package/esm2022/avatargroup/avatargroup.module.mjs +19 -0
- package/esm2022/avatargroup/public_api.mjs +2 -1
- package/esm2022/badge/badge.directive.mjs +20 -8
- package/esm2022/badge/badge.mjs +4 -4
- package/esm2022/button/button.mjs +5 -4
- package/esm2022/checkbox/checkbox.mjs +3 -3
- package/esm2022/dropdown/dropdown.mjs +4 -6
- package/esm2022/editor/editor.mjs +9 -120
- package/esm2022/editor/editor.module.mjs +19 -0
- package/esm2022/editor/public_api.mjs +2 -1
- package/esm2022/inputmask/inputmask.mjs +42 -108
- package/esm2022/inputmask/inputmask.module.mjs +22 -0
- package/esm2022/inputmask/public_api.mjs +2 -1
- package/esm2022/inputtext/inputtext.component.mjs +14 -8
- package/esm2022/inputtext/inputtext.directive.mjs +3 -4
- package/esm2022/messages/messages.mjs +5 -5
- package/esm2022/overlaypanel/overlaypanel.mjs +3 -3
- package/esm2022/paginator/paginator.mjs +21 -8
- package/esm2022/progressbar/progressbar.mjs +2 -2
- package/esm2022/progressspinner/progressspinner.mjs +12 -12
- package/esm2022/selectbutton/selectbutton.mjs +2 -2
- package/esm2022/sidebar/sidebar.mjs +3 -3
- package/esm2022/splitbutton/splitbutton.mjs +8 -3
- package/esm2022/splitbutton/splitbutton.module.mjs +5 -4
- package/esm2022/steps/public_api.mjs +2 -1
- package/esm2022/steps/steps.mjs +5 -143
- package/esm2022/steps/steps.module.mjs +20 -0
- package/esm2022/table/table.mjs +3 -3
- package/esm2022/tabview/tabview.mjs +28 -3
- package/esm2022/timeline/public_api.mjs +2 -1
- package/esm2022/timeline/timeline.mjs +6 -90
- package/esm2022/timeline/timeline.module.mjs +19 -0
- package/esm2022/togglebutton/togglebutton.mjs +2 -2
- package/esm2022/toggleswitch/toggleswitch.mjs +7 -4
- package/fesm2022/cax-design-system-avatar.mjs +2 -2
- package/fesm2022/cax-design-system-avatar.mjs.map +1 -1
- package/fesm2022/cax-design-system-avatargroup.mjs +9 -15
- package/fesm2022/cax-design-system-avatargroup.mjs.map +1 -1
- package/fesm2022/cax-design-system-badge.mjs +22 -10
- package/fesm2022/cax-design-system-badge.mjs.map +1 -1
- package/fesm2022/cax-design-system-button.mjs +5 -4
- package/fesm2022/cax-design-system-button.mjs.map +1 -1
- package/fesm2022/cax-design-system-checkbox.mjs +2 -2
- package/fesm2022/cax-design-system-checkbox.mjs.map +1 -1
- package/fesm2022/cax-design-system-dropdown.mjs +3 -5
- package/fesm2022/cax-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/cax-design-system-editor.mjs +9 -106
- package/fesm2022/cax-design-system-editor.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputmask.mjs +40 -89
- package/fesm2022/cax-design-system-inputmask.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputtext.mjs +15 -10
- package/fesm2022/cax-design-system-inputtext.mjs.map +1 -1
- package/fesm2022/cax-design-system-messages.mjs +4 -4
- package/fesm2022/cax-design-system-messages.mjs.map +1 -1
- package/fesm2022/cax-design-system-overlaypanel.mjs +2 -2
- package/fesm2022/cax-design-system-overlaypanel.mjs.map +1 -1
- package/fesm2022/cax-design-system-paginator.mjs +20 -7
- package/fesm2022/cax-design-system-paginator.mjs.map +1 -1
- package/fesm2022/cax-design-system-progressbar.mjs +2 -2
- package/fesm2022/cax-design-system-progressbar.mjs.map +1 -1
- package/fesm2022/cax-design-system-progressspinner.mjs +11 -11
- package/fesm2022/cax-design-system-progressspinner.mjs.map +1 -1
- package/fesm2022/cax-design-system-selectbutton.mjs +2 -2
- package/fesm2022/cax-design-system-selectbutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-sidebar.mjs +2 -2
- package/fesm2022/cax-design-system-sidebar.mjs.map +1 -1
- package/fesm2022/cax-design-system-splitbutton.mjs +11 -5
- package/fesm2022/cax-design-system-splitbutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-steps.mjs +7 -128
- package/fesm2022/cax-design-system-steps.mjs.map +1 -1
- package/fesm2022/cax-design-system-table.mjs +2 -2
- package/fesm2022/cax-design-system-table.mjs.map +1 -1
- package/fesm2022/cax-design-system-tabview.mjs +27 -2
- package/fesm2022/cax-design-system-tabview.mjs.map +1 -1
- package/fesm2022/cax-design-system-timeline.mjs +6 -75
- package/fesm2022/cax-design-system-timeline.mjs.map +1 -1
- package/fesm2022/cax-design-system-togglebutton.mjs +2 -2
- package/fesm2022/cax-design-system-togglebutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-toggleswitch.mjs +6 -3
- package/fesm2022/cax-design-system-toggleswitch.mjs.map +1 -1
- package/inputmask/inputmask.d.ts +12 -12
- package/inputmask/inputmask.module.d.ts +12 -0
- package/inputmask/public_api.d.ts +1 -0
- package/inputtext/inputtext.component.d.ts +6 -3
- package/messages/messages.d.ts +1 -1
- package/package.json +215 -215
- package/paginator/paginator.d.ts +4 -1
- package/progressspinner/progressspinner.d.ts +1 -1
- package/resources/cax.min.scss +1 -1
- package/resources/cax.scss +7686 -6588
- package/resources/components/avatar/avatar.scss +2 -2
- package/resources/components/avatargroup/{avatargroup.css → avatargroup.scss} +2 -2
- package/resources/components/badge/badge.scss +33 -0
- package/resources/components/button/button.scss +44 -11
- package/resources/components/dropdown/dropdown.scss +2 -18
- package/resources/components/editor/editor.scss +4 -0
- package/resources/components/inputmask/{inputmask.css → inputmask.scss} +2 -2
- package/resources/components/inputtext/inputtext.scss +21 -23
- package/resources/components/messages/messages.scss +1 -1
- package/resources/components/overlaypanel/overlaypanel.scss +4 -1
- package/resources/components/paginator/paginator.scss +4 -0
- package/resources/components/progressbar/progressbar.scss +0 -15
- package/resources/components/progressspinner/progressspinner.scss +9 -9
- package/resources/components/sidebar/sidebar.scss +1 -1
- package/resources/components/splitbutton/splitbutton.scss +6 -3
- package/resources/components/steps/{steps.css → steps.scss} +10 -9
- package/resources/components/table/table.scss +41 -1
- package/resources/components/tabview/tabview.scss +12 -8
- package/resources/components/timeline/timeline.scss +134 -0
- package/resources/components/toggleswitch/toggleswitch.scss +6 -0
- package/splitbutton/splitbutton.d.ts +1 -0
- package/splitbutton/splitbutton.module.d.ts +2 -1
- package/steps/public_api.d.ts +1 -0
- package/steps/steps.d.ts +1 -9
- package/steps/steps.module.d.ts +10 -0
- package/timeline/public_api.d.ts +1 -0
- package/timeline/timeline.d.ts +1 -8
- package/timeline/timeline.module.d.ts +9 -0
- package/toggleswitch/toggleswitch.d.ts +2 -1
- package/resources/components/editor/editor.css +0 -4
- package/resources/components/timeline/timeline.css +0 -114
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
@layer cax {
|
|
2
|
+
.cax-timeline {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-grow: 1;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.cax-timeline-left .cax-timeline-event-opposite {
|
|
9
|
+
text-align: right;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.cax-timeline-left .cax-timeline-event-content {
|
|
13
|
+
text-align: left;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.cax-timeline-right .cax-timeline-event {
|
|
17
|
+
flex-direction: row-reverse;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.cax-timeline-right .cax-timeline-event-opposite {
|
|
21
|
+
text-align: left;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.cax-timeline-right .cax-timeline-event-content {
|
|
25
|
+
text-align: right;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cax-timeline-vertical.cax-timeline-alternate .cax-timeline-event:nth-child(even) {
|
|
29
|
+
flex-direction: row-reverse !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.cax-timeline-vertical.cax-timeline-alternate .cax-timeline-event:nth-child(odd) .cax-timeline-event-opposite {
|
|
33
|
+
text-align: right;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cax-timeline-vertical.cax-timeline-alternate .cax-timeline-event:nth-child(odd) .cax-timeline-event-content {
|
|
37
|
+
text-align: left;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.cax-timeline-vertical.cax-timeline-alternate .cax-timeline-event:nth-child(even) .cax-timeline-event-opposite {
|
|
41
|
+
text-align: left;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.cax-timeline-vertical.cax-timeline-alternate .cax-timeline-event:nth-child(even) .cax-timeline-event-content {
|
|
45
|
+
text-align: right;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.cax-timeline-event {
|
|
49
|
+
display: flex;
|
|
50
|
+
position: relative;
|
|
51
|
+
min-height: 70px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.cax-timeline-event:last-child {
|
|
55
|
+
min-height: 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.cax-timeline-event-opposite {
|
|
59
|
+
flex: 1;
|
|
60
|
+
padding: 0 1rem;
|
|
61
|
+
min-width: 100px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.cax-timeline-event-content {
|
|
65
|
+
flex: 1;
|
|
66
|
+
padding: 0 1rem;
|
|
67
|
+
min-width: 100px;
|
|
68
|
+
border-radius: 8px;
|
|
69
|
+
//margin-left: 8px;
|
|
70
|
+
}
|
|
71
|
+
.cax-timeline-event-separator {
|
|
72
|
+
flex: 0;
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cax-timeline-event-marker {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-self: baseline;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.cax-timeline-event-connector {
|
|
84
|
+
flex-grow: 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.cax-timeline-horizontal {
|
|
88
|
+
flex-direction: row;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.cax-timeline-horizontal.cax-timeline-bottom{
|
|
92
|
+
align-items: end !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.cax-timeline-horizontal.cax-timeline-top{
|
|
96
|
+
align-items: start !important;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.cax-timeline-horizontal .cax-timeline-event {
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
flex: 1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.cax-timeline-horizontal .cax-timeline-event:last-child {
|
|
105
|
+
flex: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.cax-timeline-horizontal .cax-timeline-event-separator {
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.cax-timeline-horizontal .cax-timeline-event-connector {
|
|
113
|
+
width: 100%;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.cax-timeline-bottom .cax-timeline-event {
|
|
117
|
+
flex-direction: column-reverse;
|
|
118
|
+
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.cax-timeline-horizontal.cax-timeline-alternate .cax-timeline-event:nth-child(even) {
|
|
122
|
+
flex-direction: column-reverse;
|
|
123
|
+
}
|
|
124
|
+
.cax-timeline-event-marker {
|
|
125
|
+
display: flex;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
align-items: center;
|
|
128
|
+
width: 24px;
|
|
129
|
+
height: 24px;
|
|
130
|
+
border-radius: 50%;
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
}
|
|
@@ -135,6 +135,7 @@ export declare class SplitButton {
|
|
|
135
135
|
* When present, it specifies that the component should automatically get focus on load.
|
|
136
136
|
* @group Props
|
|
137
137
|
*/
|
|
138
|
+
isMenuOpen: boolean;
|
|
138
139
|
autofocus: boolean | undefined;
|
|
139
140
|
/**
|
|
140
141
|
* When present, it specifies that the element should be disabled.
|
|
@@ -5,8 +5,9 @@ import * as i3 from "cax-design-system/button";
|
|
|
5
5
|
import * as i4 from "cax-design-system/tieredmenu";
|
|
6
6
|
import * as i5 from "cax-design-system/autofocus";
|
|
7
7
|
import * as i6 from "cax-design-system/icons/chevrondown";
|
|
8
|
+
import * as i7 from "cax-design-system/icons/chevronup";
|
|
8
9
|
export declare class SplitButtonModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SplitButtonModule, [typeof i1.SplitButton], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.TieredMenuModule, typeof i5.AutoFocusModule, typeof i6.ChevronDownIcon], [typeof i1.SplitButton, typeof i3.ButtonModule, typeof i4.TieredMenuModule]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SplitButtonModule, [typeof i1.SplitButton], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.TieredMenuModule, typeof i5.AutoFocusModule, typeof i6.ChevronDownIcon, typeof i7.ChevronUpIcon], [typeof i1.SplitButton, typeof i3.ButtonModule, typeof i4.TieredMenuModule]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<SplitButtonModule>;
|
|
12
13
|
}
|
package/steps/public_api.d.ts
CHANGED
package/steps/steps.d.ts
CHANGED
|
@@ -4,9 +4,6 @@ import { Nullable } from 'cax-design-system/ts-helpers';
|
|
|
4
4
|
import { MenuItem } from 'cax-design-system/api';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
import * as i2 from "@angular/router";
|
|
9
|
-
import * as i3 from "cax-design-system/tooltip";
|
|
10
7
|
/**
|
|
11
8
|
* Steps components is an indicator for the steps in a wizard workflow.
|
|
12
9
|
* @group Components
|
|
@@ -73,13 +70,8 @@ export declare class Steps implements OnInit, OnDestroy {
|
|
|
73
70
|
getItemTabIndex(item: MenuItem, index: number): string;
|
|
74
71
|
ngOnDestroy(): void;
|
|
75
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<Steps, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Steps, "
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Steps, "cax-steps", never, { "activeIndex": { "alias": "activeIndex"; "required": false; }; "model": { "alias": "model"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "exact": { "alias": "exact"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; }, never, never, false, never>;
|
|
77
74
|
static ngAcceptInputType_activeIndex: unknown;
|
|
78
75
|
static ngAcceptInputType_readonly: unknown;
|
|
79
76
|
static ngAcceptInputType_exact: unknown;
|
|
80
77
|
}
|
|
81
|
-
export declare class StepsModule {
|
|
82
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepsModule, never>;
|
|
83
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepsModule, [typeof Steps], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.TooltipModule], [typeof Steps, typeof i2.RouterModule, typeof i3.TooltipModule]>;
|
|
84
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<StepsModule>;
|
|
85
|
-
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./steps";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "cax-design-system/tooltip";
|
|
6
|
+
export declare class StepsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StepsModule, [typeof i1.Steps], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.TooltipModule], [typeof i1.Steps, typeof i3.RouterModule, typeof i4.TooltipModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StepsModule>;
|
|
10
|
+
}
|
package/timeline/public_api.d.ts
CHANGED
package/timeline/timeline.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import { AfterContentInit, ElementRef, QueryList, TemplateRef } from '@angular/c
|
|
|
2
2
|
import { BlockableUI } from 'cax-design-system/api';
|
|
3
3
|
import { Nullable } from 'cax-design-system/ts-helpers';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "cax-design-system/api";
|
|
7
5
|
/**
|
|
8
6
|
* Timeline visualizes a series of chained events.
|
|
9
7
|
* @group Components
|
|
@@ -45,10 +43,5 @@ export declare class Timeline implements AfterContentInit, BlockableUI {
|
|
|
45
43
|
getBlockableElement(): HTMLElement;
|
|
46
44
|
ngAfterContentInit(): void;
|
|
47
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<Timeline, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Timeline, "
|
|
49
|
-
}
|
|
50
|
-
export declare class TimelineModule {
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineModule, never>;
|
|
52
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TimelineModule, [typeof Timeline], [typeof i1.CommonModule], [typeof Timeline, typeof i2.SharedModule]>;
|
|
53
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TimelineModule>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Timeline, "cax-timeline", never, { "value": { "alias": "value"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "align": { "alias": "align"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, {}, ["templates"], never, false, never>;
|
|
54
47
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./timeline";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "cax-design-system/api";
|
|
5
|
+
export declare class TimelineModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TimelineModule, [typeof i1.Timeline], [typeof i2.CommonModule], [typeof i1.Timeline, typeof i3.SharedModule]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TimelineModule>;
|
|
9
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ToggleSwitchComponent {
|
|
4
|
+
size: 'sm' | 'md' | 'lg';
|
|
4
5
|
checked: boolean;
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
iconClass: string;
|
|
@@ -9,5 +10,5 @@ export declare class ToggleSwitchComponent {
|
|
|
9
10
|
events: {};
|
|
10
11
|
toggleChecked(event: Event): void;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitchComponent, "cax-toggleswitch", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "label": { "alias": "label"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitchComponent, "cax-toggleswitch", never, { "size": { "alias": "size"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "label": { "alias": "label"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
13
14
|
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
@layer cax {
|
|
2
|
-
.p-timeline {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-grow: 1;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.p-timeline-left .p-timeline-event-opposite {
|
|
9
|
-
text-align: right;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.p-timeline-left .p-timeline-event-content {
|
|
13
|
-
text-align: left;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.p-timeline-right .p-timeline-event {
|
|
17
|
-
flex-direction: row-reverse;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.p-timeline-right .p-timeline-event-opposite {
|
|
21
|
-
text-align: left;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.p-timeline-right .p-timeline-event-content {
|
|
25
|
-
text-align: right;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) {
|
|
29
|
-
flex-direction: row-reverse;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-opposite {
|
|
33
|
-
text-align: right;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-content {
|
|
37
|
-
text-align: left;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-opposite {
|
|
41
|
-
text-align: left;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-content {
|
|
45
|
-
text-align: right;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.p-timeline-event {
|
|
49
|
-
display: flex;
|
|
50
|
-
position: relative;
|
|
51
|
-
min-height: 70px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.p-timeline-event:last-child {
|
|
55
|
-
min-height: 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.p-timeline-event-opposite {
|
|
59
|
-
flex: 1;
|
|
60
|
-
padding: 0 1rem;
|
|
61
|
-
min-width: 100px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.p-timeline-event-content {
|
|
65
|
-
flex: 1;
|
|
66
|
-
padding: 0 1rem;
|
|
67
|
-
min-width: 100px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.p-timeline-event-separator {
|
|
71
|
-
flex: 0;
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.p-timeline-event-marker {
|
|
78
|
-
display: flex;
|
|
79
|
-
align-self: baseline;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.p-timeline-event-connector {
|
|
83
|
-
flex-grow: 1;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.p-timeline-horizontal {
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.p-timeline-horizontal .p-timeline-event {
|
|
91
|
-
flex-direction: column;
|
|
92
|
-
flex: 1;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.p-timeline-horizontal .p-timeline-event:last-child {
|
|
96
|
-
flex: 0;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.p-timeline-horizontal .p-timeline-event-separator {
|
|
100
|
-
flex-direction: row;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.p-timeline-horizontal .p-timeline-event-connector {
|
|
104
|
-
width: 100%;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.p-timeline-bottom .p-timeline-event {
|
|
108
|
-
flex-direction: column-reverse;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.p-timeline-horizontal.p-timeline-alternate .p-timeline-event:nth-child(even) {
|
|
112
|
-
flex-direction: column-reverse;
|
|
113
|
-
}
|
|
114
|
-
}
|