@haiilo/catalyst 0.13.0 → 0.14.2
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/dist/catalyst/catalyst.css +1 -1
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/index.esm.js +1 -1
- package/dist/catalyst/{p-4ced6c7c.entry.js → p-45547af1.entry.js} +3 -3
- package/dist/catalyst/p-45547af1.entry.js.map +1 -0
- package/dist/catalyst/{p-f88f8914.js → p-933b6a7a.js} +2 -2
- package/dist/catalyst/p-933b6a7a.js.map +1 -0
- package/dist/catalyst/{p-659073b5.js → p-a255bd64.js} +2 -2
- package/dist/catalyst/p-a255bd64.js.map +1 -0
- package/dist/catalyst/scss/core/_toast.scss +22 -12
- package/dist/cjs/cat-alert_22.cjs.entry.js +56 -12
- package/dist/cjs/cat-alert_22.cjs.entry.js.map +1 -1
- package/dist/cjs/{cat-notification-444c9ea0.js → cat-notification-6a438ad1.js} +44 -45
- package/dist/cjs/cat-notification-6a438ad1.js.map +1 -0
- package/dist/cjs/catalyst.cjs.js +2 -2
- package/dist/cjs/{index-936b777e.js → index-c7955116.js} +12 -1
- package/dist/cjs/index-c7955116.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/cat-alert/cat-alert.css +24 -14
- package/dist/collection/components/cat-alert/cat-alert.js +49 -1
- package/dist/collection/components/cat-alert/cat-alert.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.js +9 -6
- package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.js +17 -12
- package/dist/collection/components/cat-input/cat-input.js.map +1 -1
- package/dist/collection/components/cat-input/input-type.js +2 -0
- package/dist/collection/components/cat-input/input-type.js.map +1 -0
- package/dist/collection/components/cat-notification/cat-notification.js +43 -44
- package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
- package/dist/collection/components/cat-tab/cat-tab.js +7 -7
- package/dist/collection/components/cat-tab/cat-tab.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.js +19 -2
- package/dist/collection/components/cat-tabs/cat-tabs.js.map +1 -1
- package/dist/collection/components/cat-toast-demo/cat-toast-demo.js +12 -1
- package/dist/collection/components/cat-toast-demo/cat-toast-demo.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.js +9 -6
- package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
- package/dist/collection/scss/core/_toast.scss +22 -12
- package/dist/components/cat-alert.js +23 -4
- package/dist/components/cat-alert.js.map +1 -1
- package/dist/components/cat-checkbox.js +7 -4
- package/dist/components/cat-checkbox.js.map +1 -1
- package/dist/components/cat-input.js +3 -3
- package/dist/components/cat-input.js.map +1 -1
- package/dist/components/cat-tab.js +7 -7
- package/dist/components/cat-tab.js.map +1 -1
- package/dist/components/cat-tabs.js +19 -2
- package/dist/components/cat-tabs.js.map +1 -1
- package/dist/components/cat-toast-demo.js +55 -45
- package/dist/components/cat-toast-demo.js.map +1 -1
- package/dist/components/cat-toggle.js +7 -4
- package/dist/components/cat-toggle.js.map +1 -1
- package/dist/esm/cat-alert_22.entry.js +56 -12
- package/dist/esm/cat-alert_22.entry.js.map +1 -1
- package/dist/esm/{cat-notification-953c785d.js → cat-notification-5b6a2cd9.js} +44 -45
- package/dist/esm/cat-notification-5b6a2cd9.js.map +1 -0
- package/dist/esm/catalyst.js +2 -2
- package/dist/esm/{index-41ceb7da.js → index-17d2bcf3.js} +12 -1
- package/dist/esm/index-17d2bcf3.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/types/components/cat-alert/cat-alert.d.ts +9 -0
- package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +1 -1
- package/dist/types/components/cat-input/cat-input.d.ts +6 -5
- package/dist/types/components/cat-input/input-type.d.ts +1 -0
- package/dist/types/components/cat-notification/cat-notification.d.ts +9 -4
- package/dist/types/components/cat-tabs/cat-tabs.d.ts +5 -1
- package/dist/types/components/cat-toggle/cat-toggle.d.ts +1 -1
- package/dist/types/components.d.ts +31 -14
- package/package.json +4 -4
- package/dist/catalyst/p-4ced6c7c.entry.js.map +0 -1
- package/dist/catalyst/p-659073b5.js.map +0 -1
- package/dist/catalyst/p-f88f8914.js.map +0 -1
- package/dist/cjs/cat-notification-444c9ea0.js.map +0 -1
- package/dist/cjs/index-936b777e.js.map +0 -1
- package/dist/esm/cat-notification-953c785d.js.map +0 -1
- package/dist/esm/index-41ceb7da.js.map +0 -1
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
* @part tab - The header of the tab.
|
|
6
6
|
*/
|
|
7
7
|
export declare class CatTabs {
|
|
8
|
-
private tabs;
|
|
9
8
|
private buttons;
|
|
9
|
+
private mutationObserver?;
|
|
10
10
|
hostElement: HTMLElement;
|
|
11
|
+
tabs: HTMLCatTabElement[];
|
|
11
12
|
activeTabId?: string;
|
|
12
13
|
/**
|
|
13
14
|
* The ID of the active tab.
|
|
@@ -19,7 +20,10 @@ export declare class CatTabs {
|
|
|
19
20
|
tabsAlign: 'left' | 'center' | 'right' | 'justify';
|
|
20
21
|
onActiveTabChanged(newActiveTab: string): void;
|
|
21
22
|
componentWillLoad(): void;
|
|
23
|
+
componentDidLoad(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
22
25
|
onKeydown(event: KeyboardEvent): void;
|
|
23
26
|
render(): any;
|
|
24
27
|
private updateButtonsRef;
|
|
28
|
+
private syncTabs;
|
|
25
29
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { Breakpoint } from "./utils/breakpoints";
|
|
9
|
+
import { InputType } from "./components/cat-input/input-type";
|
|
9
10
|
import { Placement } from "@floating-ui/dom";
|
|
10
11
|
import { CatSelectItem } from "./components/cat-select/cat-select";
|
|
11
12
|
export namespace Components {
|
|
@@ -14,6 +15,14 @@ export namespace Components {
|
|
|
14
15
|
* The color palette of the alert.
|
|
15
16
|
*/
|
|
16
17
|
"color": 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
|
|
18
|
+
/**
|
|
19
|
+
* The name of an icon to be displayed in the alert.
|
|
20
|
+
*/
|
|
21
|
+
"icon"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the icon of the alert is deactivated.
|
|
24
|
+
*/
|
|
25
|
+
"noIcon": boolean;
|
|
17
26
|
}
|
|
18
27
|
interface CatAvatar {
|
|
19
28
|
/**
|
|
@@ -197,7 +206,7 @@ export namespace Components {
|
|
|
197
206
|
/**
|
|
198
207
|
* The value of the checkbox
|
|
199
208
|
*/
|
|
200
|
-
"value"?: string;
|
|
209
|
+
"value"?: string | boolean;
|
|
201
210
|
}
|
|
202
211
|
interface CatIcon {
|
|
203
212
|
/**
|
|
@@ -251,17 +260,17 @@ export namespace Components {
|
|
|
251
260
|
*/
|
|
252
261
|
"labelHidden": boolean;
|
|
253
262
|
/**
|
|
254
|
-
* A maximum value for numeric values.
|
|
263
|
+
* A maximum value for date, time and numeric values.
|
|
255
264
|
*/
|
|
256
|
-
"max"?: number;
|
|
265
|
+
"max"?: number | string;
|
|
257
266
|
/**
|
|
258
267
|
* A maximum length (number of characters) for textual values.
|
|
259
268
|
*/
|
|
260
269
|
"maxLength"?: number;
|
|
261
270
|
/**
|
|
262
|
-
* A minimum value for numeric values.
|
|
271
|
+
* A minimum value for date, time and numeric values.
|
|
263
272
|
*/
|
|
264
|
-
"min"?: number;
|
|
273
|
+
"min"?: number | string;
|
|
265
274
|
/**
|
|
266
275
|
* A minimum length (number of characters) for textual values.
|
|
267
276
|
*/
|
|
@@ -302,7 +311,7 @@ export namespace Components {
|
|
|
302
311
|
/**
|
|
303
312
|
* Type of form control.
|
|
304
313
|
*/
|
|
305
|
-
"type":
|
|
314
|
+
"type": InputType;
|
|
306
315
|
/**
|
|
307
316
|
* The value of the control.
|
|
308
317
|
*/
|
|
@@ -631,7 +640,7 @@ export namespace Components {
|
|
|
631
640
|
/**
|
|
632
641
|
* The value of the toggle
|
|
633
642
|
*/
|
|
634
|
-
"value"?: string;
|
|
643
|
+
"value"?: string | boolean;
|
|
635
644
|
}
|
|
636
645
|
interface CatTooltip {
|
|
637
646
|
/**
|
|
@@ -868,6 +877,14 @@ declare namespace LocalJSX {
|
|
|
868
877
|
* The color palette of the alert.
|
|
869
878
|
*/
|
|
870
879
|
"color"?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
|
|
880
|
+
/**
|
|
881
|
+
* The name of an icon to be displayed in the alert.
|
|
882
|
+
*/
|
|
883
|
+
"icon"?: string;
|
|
884
|
+
/**
|
|
885
|
+
* Whether the icon of the alert is deactivated.
|
|
886
|
+
*/
|
|
887
|
+
"noIcon"?: boolean;
|
|
871
888
|
}
|
|
872
889
|
interface CatAvatar {
|
|
873
890
|
/**
|
|
@@ -1065,7 +1082,7 @@ declare namespace LocalJSX {
|
|
|
1065
1082
|
/**
|
|
1066
1083
|
* The value of the checkbox
|
|
1067
1084
|
*/
|
|
1068
|
-
"value"?: string;
|
|
1085
|
+
"value"?: string | boolean;
|
|
1069
1086
|
}
|
|
1070
1087
|
interface CatIcon {
|
|
1071
1088
|
/**
|
|
@@ -1115,17 +1132,17 @@ declare namespace LocalJSX {
|
|
|
1115
1132
|
*/
|
|
1116
1133
|
"labelHidden"?: boolean;
|
|
1117
1134
|
/**
|
|
1118
|
-
* A maximum value for numeric values.
|
|
1135
|
+
* A maximum value for date, time and numeric values.
|
|
1119
1136
|
*/
|
|
1120
|
-
"max"?: number;
|
|
1137
|
+
"max"?: number | string;
|
|
1121
1138
|
/**
|
|
1122
1139
|
* A maximum length (number of characters) for textual values.
|
|
1123
1140
|
*/
|
|
1124
1141
|
"maxLength"?: number;
|
|
1125
1142
|
/**
|
|
1126
|
-
* A minimum value for numeric values.
|
|
1143
|
+
* A minimum value for date, time and numeric values.
|
|
1127
1144
|
*/
|
|
1128
|
-
"min"?: number;
|
|
1145
|
+
"min"?: number | string;
|
|
1129
1146
|
/**
|
|
1130
1147
|
* A minimum length (number of characters) for textual values.
|
|
1131
1148
|
*/
|
|
@@ -1173,7 +1190,7 @@ declare namespace LocalJSX {
|
|
|
1173
1190
|
/**
|
|
1174
1191
|
* Type of form control.
|
|
1175
1192
|
*/
|
|
1176
|
-
"type"?:
|
|
1193
|
+
"type"?: InputType;
|
|
1177
1194
|
/**
|
|
1178
1195
|
* The value of the control.
|
|
1179
1196
|
*/
|
|
@@ -1571,7 +1588,7 @@ declare namespace LocalJSX {
|
|
|
1571
1588
|
/**
|
|
1572
1589
|
* The value of the toggle
|
|
1573
1590
|
*/
|
|
1574
|
-
"value"?: string;
|
|
1591
|
+
"value"?: string | boolean;
|
|
1575
1592
|
}
|
|
1576
1593
|
interface CatTooltip {
|
|
1577
1594
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haiilo/catalyst",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "Catalyst Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"reset": "rm -rf ./dist ./loader ./www ./node_modules"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@haiilo/catalyst-icons": ">=0.3.
|
|
41
|
+
"@haiilo/catalyst-icons": ">=0.3.9",
|
|
42
42
|
"rxjs": "^7.5.5"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@floating-ui/dom": "0.4.1",
|
|
46
|
-
"@haiilo/catalyst-tokens": "0.
|
|
46
|
+
"@haiilo/catalyst-tokens": "0.14.2",
|
|
47
47
|
"@stencil/core": "2.17.0",
|
|
48
48
|
"autosize": "5.0.1",
|
|
49
49
|
"choices.js": "10.1.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@babel/core": "^7.16.5",
|
|
58
|
-
"@haiilo/catalyst-icons": "^0.3.
|
|
58
|
+
"@haiilo/catalyst-icons": "^0.3.9",
|
|
59
59
|
"@stencil/angular-output-target": "^0.4.0",
|
|
60
60
|
"@stencil/react-output-target": "^0.3.1",
|
|
61
61
|
"@stencil/sass": "^1.5.2",
|