cax-design-system 2.4.0 → 2.5.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/autocomplete/autocomplete.d.ts +5 -3
- package/button/button.directive.d.ts +5 -2
- package/esm2022/autocomplete/autocomplete.mjs +12 -8
- package/esm2022/button/button.directive.mjs +36 -4
- package/esm2022/button/button.mjs +2 -2
- package/esm2022/calendar/calendar.mjs +2 -2
- package/esm2022/confirmdialog/confirmdialog.mjs +2 -2
- package/esm2022/inputgroup/inputgroup.mjs +10 -3
- package/esm2022/inputnumber/inputnumber.mjs +2 -2
- package/esm2022/selectbutton/public_api.mjs +2 -1
- package/esm2022/selectbutton/selectbutton.mjs +11 -86
- package/esm2022/selectbutton/selectbutton.module.mjs +21 -0
- package/esm2022/speeddial/speeddial.mjs +1 -1
- package/esm2022/splitbutton/splitbutton.mjs +4 -4
- package/esm2022/tableconfiguration/tableconfiguration.mjs +8 -3
- package/esm2022/tabview/tabview.mjs +31 -3
- package/esm2022/tabview/tabview.module.mjs +5 -4
- package/esm2022/timeline/timeline.mjs +2 -2
- package/fesm2022/cax-design-system-autocomplete.mjs +11 -7
- package/fesm2022/cax-design-system-autocomplete.mjs.map +1 -1
- package/fesm2022/cax-design-system-button.mjs +36 -4
- package/fesm2022/cax-design-system-button.mjs.map +1 -1
- package/fesm2022/cax-design-system-calendar.mjs +1 -1
- package/fesm2022/cax-design-system-calendar.mjs.map +1 -1
- package/fesm2022/cax-design-system-confirmdialog.mjs +1 -1
- package/fesm2022/cax-design-system-confirmdialog.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputgroup.mjs +9 -2
- package/fesm2022/cax-design-system-inputgroup.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputnumber.mjs +1 -1
- package/fesm2022/cax-design-system-inputnumber.mjs.map +1 -1
- package/fesm2022/cax-design-system-selectbutton.mjs +12 -70
- package/fesm2022/cax-design-system-selectbutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-speeddial.mjs +1 -1
- package/fesm2022/cax-design-system-speeddial.mjs.map +1 -1
- package/fesm2022/cax-design-system-splitbutton.mjs +3 -3
- package/fesm2022/cax-design-system-splitbutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-tableconfiguration.mjs +7 -2
- package/fesm2022/cax-design-system-tableconfiguration.mjs.map +1 -1
- package/fesm2022/cax-design-system-tabview.mjs +34 -5
- package/fesm2022/cax-design-system-tabview.mjs.map +1 -1
- package/fesm2022/cax-design-system-timeline.mjs +2 -2
- package/fesm2022/cax-design-system-timeline.mjs.map +1 -1
- package/inputgroup/inputgroup.d.ts +6 -1
- package/package.json +194 -194
- package/resources/cax.min.scss +1 -1
- package/resources/cax.scss +373 -261
- package/resources/components/autocomplete/autocomplete.scss +73 -1
- package/resources/components/tabview/tabview.scss +19 -1
- package/resources/components/timeline/timeline.scss +4 -9
- package/selectbutton/public_api.d.ts +1 -0
- package/selectbutton/selectbutton.d.ts +2 -10
- package/selectbutton/selectbutton.module.d.ts +11 -0
- package/splitbutton/splitbutton.d.ts +2 -2
- package/tabview/tabview.d.ts +10 -1
- package/tabview/tabview.module.d.ts +2 -1
|
@@ -108,6 +108,78 @@
|
|
|
108
108
|
cursor: pointer;
|
|
109
109
|
margin-left: 9px;
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
.cax-autocomplete-sm {
|
|
112
|
+
height: 32px;
|
|
113
|
+
.cax-inputtext{
|
|
114
|
+
font-size: 16px !important;
|
|
115
|
+
}
|
|
116
|
+
.cax-autocomplete-clear-icon {
|
|
117
|
+
width: 16px !important;
|
|
118
|
+
height: 16px !important;
|
|
119
|
+
}
|
|
120
|
+
.cax-autocomplete-search-icon{
|
|
121
|
+
width: 16px !important;
|
|
122
|
+
height: 16px !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.cax-autocomplete-md {
|
|
129
|
+
height: 40px;
|
|
130
|
+
.cax-inputtext{
|
|
131
|
+
font-size: 20px !important;
|
|
132
|
+
}
|
|
133
|
+
.cax-autocomplete-clear-icon {
|
|
134
|
+
width: 20px !important;
|
|
135
|
+
height: 20px !important;
|
|
136
|
+
margin-top: -0.6rem;
|
|
137
|
+
|
|
138
|
+
}
|
|
139
|
+
.cax-autocomplete-search-icon{
|
|
140
|
+
width: 20px !important;
|
|
141
|
+
height: 20px !important;
|
|
142
|
+
margin-top: -0.6rem;
|
|
143
|
+
}
|
|
144
|
+
.cax-inputtext {
|
|
145
|
+
padding-left: 2rem !important;
|
|
146
|
+
padding-right: 2rem !important;
|
|
147
|
+
}
|
|
148
|
+
.cax-autocomplete-loader{
|
|
149
|
+
width: 20px !important;
|
|
150
|
+
height: 20px !important;
|
|
151
|
+
margin-top: -0.6rem;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.cax-autocomplete-lg {
|
|
157
|
+
height: 48px;
|
|
158
|
+
.cax-inputtext{
|
|
159
|
+
font-size: 24px !important;
|
|
160
|
+
}
|
|
161
|
+
.cax-autocomplete-clear-icon {
|
|
162
|
+
width: 24px !important;
|
|
163
|
+
height: 24px !important;
|
|
164
|
+
margin-top: -0.7rem;
|
|
165
|
+
}
|
|
166
|
+
.cax-autocomplete-search-icon{
|
|
167
|
+
width: 24px !important;
|
|
168
|
+
height: 24px !important;
|
|
169
|
+
margin-top: -0.7rem;
|
|
170
|
+
}
|
|
171
|
+
.cax-autocomplete-loader{
|
|
172
|
+
width: 24px !important;
|
|
173
|
+
height: 24px !important;
|
|
174
|
+
margin-top: -0.7rem;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.cax-inputtext {
|
|
178
|
+
padding-left: 2.4rem !important;
|
|
179
|
+
padding-right: 2.4rem !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
}
|
|
112
184
|
}
|
|
113
185
|
|
|
@@ -2,7 +2,25 @@
|
|
|
2
2
|
.cax-tabview-nav-container {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
.cax-tabview-nav-container.block-mode {
|
|
6
|
+
display: block;
|
|
7
|
+
}
|
|
8
|
+
.cax-tabview-nav-container.flex-mode {
|
|
9
|
+
display: flex;
|
|
10
|
+
}
|
|
11
|
+
.cax-tabview-action-buttons {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
margin-left: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.cax-tabview-separator {
|
|
18
|
+
width: 2px;
|
|
19
|
+
height: 35px;
|
|
20
|
+
display: inline-block;
|
|
21
|
+
vertical-align: middle;
|
|
22
|
+
margin-right: 8px;
|
|
23
|
+
}
|
|
6
24
|
.cax-tabview-scrollable .cax-tabview-nav-container {
|
|
7
25
|
overflow: hidden;
|
|
8
26
|
white-space: nowrap;
|
|
@@ -54,19 +54,14 @@
|
|
|
54
54
|
.cax-timeline-event:last-child {
|
|
55
55
|
min-height: 0;
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
.cax-timeline-event-opposite {
|
|
59
|
-
flex: 1;
|
|
60
|
-
padding: 0 1rem;
|
|
61
|
-
min-width: 100px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
57
|
.cax-timeline-event-content {
|
|
65
|
-
flex: 1;
|
|
66
58
|
padding: 0 1rem;
|
|
67
59
|
min-width: 100px;
|
|
68
60
|
border-radius: 8px;
|
|
69
|
-
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.cax-timeline-event-opposite:empty {
|
|
64
|
+
display: none;
|
|
70
65
|
}
|
|
71
66
|
.cax-timeline-event-separator {
|
|
72
67
|
flex: 0;
|
|
@@ -4,10 +4,6 @@ import { CaxTemplate } from 'cax-design-system/api';
|
|
|
4
4
|
import { Nullable } from 'cax-design-system/ts-helpers';
|
|
5
5
|
import { SelectButtonChangeEvent, SelectButtonOptionClickEvent } from './selectbutton.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
import * as i2 from "cax-design-system/ripple";
|
|
9
|
-
import * as i3 from "cax-design-system/api";
|
|
10
|
-
import * as i4 from "cax-design-system/autofocus";
|
|
11
7
|
export declare const SELECTBUTTON_VALUE_ACCESSOR: any;
|
|
12
8
|
/**
|
|
13
9
|
* SelectButton is used to choose single or multiple items from a list using buttons.
|
|
@@ -35,6 +31,7 @@ export declare class SelectButton implements ControlValueAccessor {
|
|
|
35
31
|
* @group Props
|
|
36
32
|
*/
|
|
37
33
|
optionDisabled: string | undefined;
|
|
34
|
+
invalid: boolean;
|
|
38
35
|
/**
|
|
39
36
|
* Whether selection can be cleared.
|
|
40
37
|
* @group Props
|
|
@@ -121,7 +118,7 @@ export declare class SelectButton implements ControlValueAccessor {
|
|
|
121
118
|
removeOption(option: any): void;
|
|
122
119
|
isSelected(option: any): boolean;
|
|
123
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectButton, never>;
|
|
124
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectButton, "
|
|
121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectButton, "cax-selectButton", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "unselectable": { "alias": "unselectable"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; }, { "onOptionClick": "onOptionClick"; "onChange": "onChange"; }, ["itemTemplate"], never, false, never>;
|
|
125
122
|
static ngAcceptInputType_unselectable: unknown;
|
|
126
123
|
static ngAcceptInputType_tabindex: unknown;
|
|
127
124
|
static ngAcceptInputType_multiple: unknown;
|
|
@@ -129,8 +126,3 @@ export declare class SelectButton implements ControlValueAccessor {
|
|
|
129
126
|
static ngAcceptInputType_disabled: unknown;
|
|
130
127
|
static ngAcceptInputType_autofocus: unknown;
|
|
131
128
|
}
|
|
132
|
-
export declare class SelectButtonModule {
|
|
133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectButtonModule, never>;
|
|
134
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectButtonModule, [typeof SelectButton], [typeof i1.CommonModule, typeof i2.RippleModule, typeof i3.SharedModule, typeof i4.AutoFocusModule], [typeof SelectButton, typeof i3.SharedModule]>;
|
|
135
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SelectButtonModule>;
|
|
136
|
-
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./selectbutton";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "cax-design-system/ripple";
|
|
5
|
+
import * as i4 from "cax-design-system/api";
|
|
6
|
+
import * as i5 from "cax-design-system/autofocus";
|
|
7
|
+
export declare class SelectButtonModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectButtonModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectButtonModule, [typeof i1.SelectButton], [typeof i2.CommonModule, typeof i3.RippleModule, typeof i4.SharedModule, typeof i5.AutoFocusModule], [typeof i1.SelectButton, typeof i4.SharedModule]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectButtonModule>;
|
|
11
|
+
}
|
|
@@ -43,7 +43,7 @@ export declare class SplitButton {
|
|
|
43
43
|
* Defines the size of the button.
|
|
44
44
|
* @group Props
|
|
45
45
|
*/
|
|
46
|
-
size: 'small' | 'large' | undefined | null;
|
|
46
|
+
size: 'small' | 'medium' | 'large' | undefined | null;
|
|
47
47
|
/**
|
|
48
48
|
* Add a plain textual class to the button without a background initially.
|
|
49
49
|
* @group Props
|
|
@@ -196,7 +196,7 @@ export declare class SplitButton {
|
|
|
196
196
|
ngOnInit(): void;
|
|
197
197
|
ngAfterContentInit(): void;
|
|
198
198
|
get containerClass(): {
|
|
199
|
-
[x: string]: boolean | "small" | "large";
|
|
199
|
+
[x: string]: boolean | "small" | "medium" | "large";
|
|
200
200
|
'cax-splitbutton cax-component': boolean;
|
|
201
201
|
'cax-button-raised': boolean;
|
|
202
202
|
'cax-button-rounded': boolean;
|
package/tabview/tabview.d.ts
CHANGED
|
@@ -191,6 +191,15 @@ export declare class TabView implements AfterContentInit, AfterViewChecked, OnDe
|
|
|
191
191
|
* @group Props
|
|
192
192
|
*/
|
|
193
193
|
tabindex: number;
|
|
194
|
+
actionButton: any;
|
|
195
|
+
actionButtonSeverity: 'success' | 'info' | 'warning' | 'danger' | 'help' | 'primary' | 'secondary' | 'contrast';
|
|
196
|
+
actionButtonSize: 'small' | 'large' | null;
|
|
197
|
+
actionButtonOutlined: boolean;
|
|
198
|
+
actionButtonRounded: boolean;
|
|
199
|
+
actionButtonIcon: string | undefined;
|
|
200
|
+
actionButtonLoading: boolean;
|
|
201
|
+
actionButtonLink: boolean;
|
|
202
|
+
actionButtonDisabled: boolean;
|
|
194
203
|
/**
|
|
195
204
|
* Callback to invoke on tab change.
|
|
196
205
|
* @param {TabViewChangeEvent} event - Custom tab change event
|
|
@@ -275,7 +284,7 @@ export declare class TabView implements AfterContentInit, AfterViewChecked, OnDe
|
|
|
275
284
|
navBackward(): void;
|
|
276
285
|
navForward(): void;
|
|
277
286
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabView, never>;
|
|
278
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabView, "cax-tabView", never, { "fullMode": { "alias": "fullMode"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "controlClose": { "alias": "controlClose"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "nextButtonAriaLabel": { "alias": "nextButtonAriaLabel"; "required": false; }; "prevButtonAriaLabel": { "alias": "prevButtonAriaLabel"; "required": false; }; "autoHideButtons": { "alias": "autoHideButtons"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "pinnedIndexes": { "alias": "pinnedIndexes"; "required": false; }; }, { "onChange": "onChange"; "onClose": "onClose"; "activeIndexChange": "activeIndexChange"; }, ["tabPanels", "templates"], ["*"], false, never>;
|
|
287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabView, "cax-tabView", never, { "fullMode": { "alias": "fullMode"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "controlClose": { "alias": "controlClose"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "nextButtonAriaLabel": { "alias": "nextButtonAriaLabel"; "required": false; }; "prevButtonAriaLabel": { "alias": "prevButtonAriaLabel"; "required": false; }; "autoHideButtons": { "alias": "autoHideButtons"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "actionButton": { "alias": "actionButton"; "required": false; }; "actionButtonSeverity": { "alias": "actionButtonSeverity"; "required": false; }; "actionButtonSize": { "alias": "actionButtonSize"; "required": false; }; "actionButtonOutlined": { "alias": "actionButtonOutlined"; "required": false; }; "actionButtonRounded": { "alias": "actionButtonRounded"; "required": false; }; "actionButtonIcon": { "alias": "actionButtonIcon"; "required": false; }; "actionButtonLoading": { "alias": "actionButtonLoading"; "required": false; }; "actionButtonLink": { "alias": "actionButtonLink"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "pinnedIndexes": { "alias": "pinnedIndexes"; "required": false; }; }, { "onChange": "onChange"; "onClose": "onClose"; "activeIndexChange": "activeIndexChange"; }, ["tabPanels", "templates"], ["*"], false, never>;
|
|
279
288
|
static ngAcceptInputType_controlClose: unknown;
|
|
280
289
|
static ngAcceptInputType_scrollable: unknown;
|
|
281
290
|
static ngAcceptInputType_selectOnFocus: unknown;
|
|
@@ -7,8 +7,9 @@ import * as i5 from "cax-design-system/ripple";
|
|
|
7
7
|
import * as i6 from "cax-design-system/icons/times";
|
|
8
8
|
import * as i7 from "cax-design-system/icons/chevronleft";
|
|
9
9
|
import * as i8 from "cax-design-system/icons/chevronright";
|
|
10
|
+
import * as i9 from "cax-design-system/button";
|
|
10
11
|
export declare class TabViewModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabViewModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TabViewModule, [typeof i1.TabView, typeof i1.TabPanel], [typeof i2.CommonModule, typeof i3.SharedModule, typeof i4.TooltipModule, typeof i5.RippleModule, typeof i6.TimesIcon, typeof i7.ChevronLeftIcon, typeof i8.ChevronRightIcon], [typeof i1.TabView, typeof i1.TabPanel, typeof i3.SharedModule]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TabViewModule, [typeof i1.TabView, typeof i1.TabPanel], [typeof i2.CommonModule, typeof i3.SharedModule, typeof i4.TooltipModule, typeof i5.RippleModule, typeof i6.TimesIcon, typeof i7.ChevronLeftIcon, typeof i8.ChevronRightIcon, typeof i9.ButtonModule], [typeof i1.TabView, typeof i1.TabPanel, typeof i3.SharedModule]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<TabViewModule>;
|
|
14
15
|
}
|