@haiilo/catalyst 0.13.0 → 0.14.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/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-5f9b3485.entry.js} +3 -3
- package/dist/catalyst/p-5f9b3485.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 +45 -7
- 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-input/cat-input.js +8 -3
- 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/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-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/esm/cat-alert_22.entry.js +45 -7
- 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-input/cat-input.d.ts +2 -1
- 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.d.ts +19 -2
- 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
|
@@ -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
|
/**
|
|
@@ -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
|
*/
|
|
@@ -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
|
/**
|
|
@@ -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
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haiilo/catalyst",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
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.0",
|
|
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",
|