@stenajs-webui/select 20.8.0 → 20.8.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.
- package/dist/components/ui/AsyncMultiSelect.d.ts +2 -2
- package/dist/components/ui/AsyncSelect.d.ts +2 -2
- package/dist/components/ui/ChipMultiSelect/ChipMultiSelect.d.ts +2 -2
- package/dist/components/ui/ChipMultiSelect/ChipRow.d.ts +2 -1
- package/dist/components/ui/ChipMultiSelect/GroupedChipMultiSelect.d.ts +2 -2
- package/dist/components/ui/CreatableSelect.d.ts +2 -2
- package/dist/components/ui/MultiSelect.d.ts +2 -2
- package/dist/components/ui/OverflowingMultiSelect.d.ts +2 -2
- package/dist/components/ui/Select.d.ts +2 -2
- package/package.json +14 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { AsyncProps } from "react-select/async";
|
|
3
3
|
import { SelectVariant } from "../../util/StylesBuilder";
|
|
4
4
|
import { GroupBase } from "react-select/dist/declarations/src/types";
|
|
@@ -9,4 +9,4 @@ export interface AsyncMultiSelectProps<T = {
|
|
|
9
9
|
variant?: SelectVariant;
|
|
10
10
|
isMulti?: true;
|
|
11
11
|
}
|
|
12
|
-
export declare function AsyncMultiSelect<T>({ variant, styles, isMulti, ...selectProps }: AsyncMultiSelectProps<T>): JSX.Element;
|
|
12
|
+
export declare function AsyncMultiSelect<T>({ variant, styles, isMulti, ...selectProps }: AsyncMultiSelectProps<T>): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { AsyncProps } from "react-select/async";
|
|
3
3
|
import { SelectVariant } from "../../util/StylesBuilder";
|
|
4
4
|
import { GroupBase } from "react-select/dist/declarations/src/types";
|
|
@@ -9,4 +9,4 @@ export interface AsyncSelectProps<T = {
|
|
|
9
9
|
variant?: SelectVariant;
|
|
10
10
|
isMulti?: false;
|
|
11
11
|
}
|
|
12
|
-
export declare function AsyncSelect<T>({ variant, styles, isMulti, ...selectProps }: AsyncSelectProps<T>): JSX.Element;
|
|
12
|
+
export declare function AsyncSelect<T>({ variant, styles, isMulti, ...selectProps }: AsyncSelectProps<T>): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ValueAndOnValueChangeProps } from "@stenajs-webui/forms";
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import { MultiSelectOption, MultiSelectProps } from "../MultiSelect";
|
|
4
4
|
import { ChipRowItem } from "./ChipRow";
|
|
5
5
|
export interface ChipMultiSelectOption extends ChipRowItem {
|
|
@@ -14,6 +14,6 @@ export interface ChipMultiSelectProps<TOption extends MultiSelectOption = MultiS
|
|
|
14
14
|
onInputChange?: (inputValue: string) => void;
|
|
15
15
|
noneSelectedLabel?: string;
|
|
16
16
|
}
|
|
17
|
-
declare function _ChipMultiSelect<TOption extends ChipMultiSelectOption>({ value, onValueChange, placeholder, loading, inputValue, onInputChange, noneSelectedLabel, ...selectProps }: ChipMultiSelectProps<TOption>): JSX.Element;
|
|
17
|
+
declare function _ChipMultiSelect<TOption extends ChipMultiSelectOption>({ value, onValueChange, placeholder, loading, inputValue, onInputChange, noneSelectedLabel, ...selectProps }: ChipMultiSelectProps<TOption>): React.JSX.Element;
|
|
18
18
|
export declare const ChipMultiSelect: typeof _ChipMultiSelect;
|
|
19
19
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ValueAndOnValueChangeProps } from "@stenajs-webui/forms";
|
|
2
|
+
import * as React from "react";
|
|
2
3
|
import { PropsWithChildren } from "react";
|
|
3
4
|
import { MultiSelectOption } from "../MultiSelect";
|
|
4
5
|
export interface ChipRowItem extends MultiSelectOption {
|
|
@@ -6,4 +7,4 @@ export interface ChipRowItem extends MultiSelectOption {
|
|
|
6
7
|
export interface ChipRowProps<TValue> extends ValueAndOnValueChangeProps<TValue> {
|
|
7
8
|
noneSelectedLabel?: string;
|
|
8
9
|
}
|
|
9
|
-
export declare function ChipRow<TValue extends ChipRowItem>({ value, onValueChange, noneSelectedLabel, children, }: PropsWithChildren<ChipRowProps<Array<TValue>>>): JSX.Element;
|
|
10
|
+
export declare function ChipRow<TValue extends ChipRowItem>({ value, onValueChange, noneSelectedLabel, children, }: PropsWithChildren<ChipRowProps<Array<TValue>>>): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { ValueAndOnValueChangeProps } from "@stenajs-webui/forms";
|
|
3
3
|
import { GroupedMultiSelectProps } from "../GroupedMultiSelect";
|
|
4
4
|
import { DropdownOption } from "../GroupedMultiSelectTypes";
|
|
@@ -10,6 +10,6 @@ export interface GroupedChipMultiSelectProps<TData> extends Omit<GroupedMultiSel
|
|
|
10
10
|
onInputChange?: (inputValue: string) => void;
|
|
11
11
|
noneSelectedLabel?: string;
|
|
12
12
|
}
|
|
13
|
-
declare function _GroupedChipMultiSelect<TData>({ value, onValueChange, placeholder, loading, inputValue, onInputChange, noneSelectedLabel, ...selectProps }: GroupedChipMultiSelectProps<TData>): JSX.Element;
|
|
13
|
+
declare function _GroupedChipMultiSelect<TData>({ value, onValueChange, placeholder, loading, inputValue, onInputChange, noneSelectedLabel, ...selectProps }: GroupedChipMultiSelectProps<TData>): React.JSX.Element;
|
|
14
14
|
export declare const GroupedChipMultiSelect: typeof _GroupedChipMultiSelect;
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { CreatableProps } from "react-select/creatable";
|
|
3
3
|
import { GroupBase } from "react-select/dist/declarations/src/types";
|
|
4
4
|
import { SelectVariant } from "../../util/StylesBuilder";
|
|
@@ -10,4 +10,4 @@ export interface CreatableSelectProps<T = {
|
|
|
10
10
|
isMulti?: false;
|
|
11
11
|
ariaLabelClear?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare function CreatableSelect<T>({ variant, styles, isMulti, components, ariaLabelClear, ...selectProps }: CreatableSelectProps<T>): JSX.Element;
|
|
13
|
+
export declare function CreatableSelect<T>({ variant, styles, isMulti, components, ariaLabelClear, ...selectProps }: CreatableSelectProps<T>): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { GroupBase, Props, SelectComponentsConfig } from "react-select";
|
|
3
3
|
import { SelectVariant } from "../../util/StylesBuilder";
|
|
4
4
|
export interface MultiSelectOption {
|
|
@@ -10,4 +10,4 @@ export interface MultiSelectProps<TOption extends MultiSelectOption = MultiSelec
|
|
|
10
10
|
isMulti?: true;
|
|
11
11
|
}
|
|
12
12
|
export type MultiSelectComponentsConfig<TOption> = SelectComponentsConfig<TOption, true, GroupBase<TOption>>;
|
|
13
|
-
export declare function MultiSelect<TOption extends MultiSelectOption>({ variant, styles, isMulti, components, ...selectProps }: MultiSelectProps<TOption>): JSX.Element;
|
|
13
|
+
export declare function MultiSelect<TOption extends MultiSelectOption>({ variant, styles, isMulti, components, ...selectProps }: MultiSelectProps<TOption>): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { MultiSelectOption, MultiSelectProps } from "./MultiSelect";
|
|
3
|
-
export declare function OverflowingMultiSelect<T extends MultiSelectOption>(props: MultiSelectProps<T>): JSX.Element;
|
|
3
|
+
export declare function OverflowingMultiSelect<T extends MultiSelectOption>(props: MultiSelectProps<T>): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { Props } from "react-select";
|
|
3
3
|
import { SelectVariant } from "../../util/StylesBuilder";
|
|
4
4
|
export interface SelectProps<T = {
|
|
@@ -8,4 +8,4 @@ export interface SelectProps<T = {
|
|
|
8
8
|
variant?: SelectVariant;
|
|
9
9
|
isMulti?: false;
|
|
10
10
|
}
|
|
11
|
-
export declare function Select<T>({ variant, styles, isMulti, components, ...selectProps }: SelectProps<T>): JSX.Element;
|
|
11
|
+
export declare function Select<T>({ variant, styles, isMulti, components, ...selectProps }: SelectProps<T>): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stenajs-webui/select",
|
|
3
|
-
"version": "20.8.
|
|
3
|
+
"version": "20.8.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "mattias800",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"deploy": "gh-pages -d example/build"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@stenajs-webui/core": "20.8.
|
|
37
|
-
"@stenajs-webui/elements": "20.8.
|
|
38
|
-
"@stenajs-webui/forms": "20.8.
|
|
39
|
-
"@stenajs-webui/theme": "20.8.
|
|
36
|
+
"@stenajs-webui/core": "20.8.1",
|
|
37
|
+
"@stenajs-webui/elements": "20.8.1",
|
|
38
|
+
"@stenajs-webui/forms": "20.8.1",
|
|
39
|
+
"@stenajs-webui/theme": "20.8.1",
|
|
40
40
|
"lodash-es": "^4.17.21",
|
|
41
41
|
"react-select": "^5.2.1"
|
|
42
42
|
},
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@fortawesome/free-solid-svg-icons": ">=6.5.2",
|
|
46
46
|
"@fortawesome/react-fontawesome": ">=0.2.2",
|
|
47
47
|
"@types/lodash-es": ">=4.17.12",
|
|
48
|
-
"@types/react": ">=18.
|
|
49
|
-
"@types/react-dom": ">=18.0
|
|
48
|
+
"@types/react": ">=18.3.3",
|
|
49
|
+
"@types/react-dom": ">=18.3.0",
|
|
50
50
|
"csstype": ">=3.0.8",
|
|
51
51
|
"prop-types": ">=15.5.4",
|
|
52
|
-
"react": ">=18.
|
|
53
|
-
"react-dom": ">=18.
|
|
52
|
+
"react": ">=18.3.1",
|
|
53
|
+
"react-dom": ">=18.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@fortawesome/fontawesome-svg-core": "6.5.2",
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
"@fortawesome/react-fontawesome": "0.2.2",
|
|
59
59
|
"@types/jest": "^23.1.5",
|
|
60
60
|
"@types/lodash-es": "^4.17.12",
|
|
61
|
-
"@types/react": "^18.
|
|
62
|
-
"@types/react-dom": "^18.0
|
|
61
|
+
"@types/react": "^18.3.3",
|
|
62
|
+
"@types/react-dom": "^18.3.0",
|
|
63
63
|
"csstype": "^3.0.8",
|
|
64
64
|
"prop-types": "^15.5.4",
|
|
65
|
-
"react": "^18.
|
|
66
|
-
"react-dom": "^18.
|
|
65
|
+
"react": "^18.3.1",
|
|
66
|
+
"react-dom": "^18.3.1"
|
|
67
67
|
},
|
|
68
68
|
"files": [
|
|
69
69
|
"dist"
|
|
70
70
|
],
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "346a15dc4587c669b927a96cf346c6a4f28a6495"
|
|
72
72
|
}
|