@usecapsule/core-components 2.0.4-dev.dropdown → 2.0.4-dev.dropdown.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/{p-cc052d36.entry.js → p-7a2b95de.entry.js} +2 -2
- package/dist/capsule/p-7a2b95de.entry.js.map +1 -0
- package/dist/cjs/cpsl-alert_18.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-alert_18.cjs.entry.js.map +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +8 -3
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
- package/dist/esm/cpsl-alert_18.entry.js +1 -1
- package/dist/esm/cpsl-alert_18.entry.js.map +1 -1
- package/dist/types/components/cpsl-dropdown/cpsl-dropdown.d.ts +3 -2
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
- package/dist/capsule/p-cc052d36.entry.js.map +0 -1
@@ -1,16 +1,17 @@
|
|
1
1
|
import { ComponentInterface } from '../../stencil-public-runtime';
|
2
|
+
import { IconType } from '../../interface';
|
2
3
|
export declare class CpslDropdown implements ComponentInterface {
|
3
4
|
el: HTMLCpslDropdownElement;
|
4
5
|
width: string;
|
5
6
|
isOpen: boolean;
|
6
7
|
selectedItem: {
|
7
|
-
icon:
|
8
|
+
icon: IconType;
|
8
9
|
label: string;
|
9
10
|
value: string;
|
10
11
|
selectedLabel?: string;
|
11
12
|
};
|
12
13
|
items: Array<{
|
13
|
-
icon:
|
14
|
+
icon: IconType;
|
14
15
|
label: string;
|
15
16
|
value: string;
|
16
17
|
selectedLabel?: string;
|
@@ -172,7 +172,7 @@ export namespace Components {
|
|
172
172
|
/**
|
173
173
|
* Items to be presented in the dropdown
|
174
174
|
*/
|
175
|
-
"items": Array<{ icon:
|
175
|
+
"items": Array<{ icon: IconType, label: string, value: string, selectedLabel?: string }>;
|
176
176
|
/**
|
177
177
|
* Width of the dropdown
|
178
178
|
*/
|
@@ -875,7 +875,7 @@ declare namespace LocalJSX {
|
|
875
875
|
/**
|
876
876
|
* Items to be presented in the dropdown
|
877
877
|
*/
|
878
|
-
"items"?: Array<{ icon:
|
878
|
+
"items"?: Array<{ icon: IconType, label: string, value: string, selectedLabel?: string }>;
|
879
879
|
/**
|
880
880
|
* Width of the dropdown
|
881
881
|
*/
|