@types/selectize 0.12.35 → 0.12.36
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.
- selectize/LICENSE +0 -0
- selectize/README.md +1 -1
- selectize/index.d.ts +3 -4
- selectize/package.json +3 -3
selectize/LICENSE
CHANGED
|
File without changes
|
selectize/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Selectize (https://github.com/brianre
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selectize.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
selectize/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ declare namespace Selectize {
|
|
|
8
8
|
// see https://github.com/brianreavis/selectize.js/blob/master/docs/usage.md
|
|
9
9
|
// option identifiers are parameterized by T; data is parameterized by U
|
|
10
10
|
interface IOptions<T, U> {
|
|
11
|
-
|
|
12
11
|
// General
|
|
13
12
|
// ------------------------------------------------------------------------------------------------------------
|
|
14
13
|
|
|
@@ -16,7 +15,7 @@ declare namespace Selectize {
|
|
|
16
15
|
* An array of the initial selected values. By default this is populated from the original input element.
|
|
17
16
|
*/
|
|
18
17
|
items?: T[] | undefined;
|
|
19
|
-
|
|
18
|
+
|
|
20
19
|
/**
|
|
21
20
|
* The placeholder of the control (displayed when nothing is selected / typed).
|
|
22
21
|
* Defaults to input element's placeholder, unless this one is specified.
|
|
@@ -143,7 +142,7 @@ declare namespace Selectize {
|
|
|
143
142
|
*
|
|
144
143
|
* Default: false
|
|
145
144
|
*/
|
|
146
|
-
preload?: boolean |
|
|
145
|
+
preload?: boolean | "focus" | undefined;
|
|
147
146
|
|
|
148
147
|
/**
|
|
149
148
|
* The element the dropdown menu is appended to. This should be "body" or null.
|
|
@@ -254,7 +253,7 @@ declare namespace Selectize {
|
|
|
254
253
|
*
|
|
255
254
|
* Default: "$order"
|
|
256
255
|
*/
|
|
257
|
-
sortField?: string | { field: string
|
|
256
|
+
sortField?: string | { field: string; direction?: "asc" | "desc" | undefined }[] | undefined;
|
|
258
257
|
|
|
259
258
|
/**
|
|
260
259
|
* An array of property names to analyze when filtering options.
|
selectize/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/selectize",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.36",
|
|
4
4
|
"description": "TypeScript definitions for Selectize",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selectize",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {},
|
|
27
27
|
"dependencies": {},
|
|
28
|
-
"typesPublisherContentHash": "
|
|
29
|
-
"typeScriptVersion": "
|
|
28
|
+
"typesPublisherContentHash": "b85b75e05e15284d453cb5d6d315065836113afc2370a3c74a2decdc8b34f15b",
|
|
29
|
+
"typeScriptVersion": "4.5"
|
|
30
30
|
}
|