slim-select 3.0.4 → 3.0.5

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.
@@ -17,7 +17,7 @@ export declare interface Config {
17
17
  events?: Events;
18
18
  }
19
19
 
20
- declare interface Content {
20
+ export declare interface Content {
21
21
  main: HTMLDivElement;
22
22
  search: Search;
23
23
  list: HTMLDivElement;
@@ -81,7 +81,7 @@ export declare interface Events {
81
81
  error?: (err: Error) => void;
82
82
  }
83
83
 
84
- declare interface Main {
84
+ export declare interface Main {
85
85
  main: HTMLDivElement;
86
86
  values: HTMLDivElement;
87
87
  deselect: {
@@ -168,7 +168,7 @@ declare class Render {
168
168
  updateDeselectAll(): void;
169
169
  }
170
170
 
171
- declare interface Search {
171
+ export declare interface Search {
172
172
  main: HTMLDivElement;
173
173
  input: HTMLInputElement;
174
174
  addable?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "slim-select",
3
3
  "description": "Slim advanced select dropdown",
4
- "version": "3.0.4",
4
+ "version": "3.0.5",
5
5
  "type": "module",
6
6
  "author": "Brian Voelker <brian@webiswhatido.com> (http://webiswhatido.com)",
7
7
  "homepage": "https://slimselectjs.com",
@@ -8,6 +8,9 @@ import Store, { Option, Optgroup } from './store'
8
8
  // Export classes
9
9
  export { Settings, Option, Optgroup }
10
10
 
11
+ // Export interfaces from render
12
+ export type { Main, Content, Search } from './render'
13
+
11
14
  export interface Config {
12
15
  select: string | Element
13
16
  data?: (Partial<Option> | Partial<Optgroup>)[]