@usecapsule/core-components 2.0.4-dev.dropdown → 2.0.4-dev.dropdown.1

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.
@@ -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: string;
8
+ icon: IconType;
8
9
  label: string;
9
10
  value: string;
10
11
  selectedLabel?: string;
11
12
  };
12
13
  items: Array<{
13
- icon: string;
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: string, label: string, value: string, selectedLabel?: string }>;
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: string, label: string, value: string, selectedLabel?: string }>;
878
+ "items"?: Array<{ icon: IconType, label: string, value: string, selectedLabel?: string }>;
879
879
  /**
880
880
  * Width of the dropdown
881
881
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usecapsule/core-components",
3
- "version": "2.0.4-dev.dropdown",
3
+ "version": "2.0.4-dev.dropdown.1",
4
4
  "description": "Capsule Core Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",