@intility/bifrost-react-select 4.0.0-beta.3 → 4.0.0-beta.4
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/CHANGELOG.md +10 -0
- package/dist/Select.d.ts +2 -2
- package/dist/Select.js +3 -3
- package/package.json +4 -4
- package/src/Select.tsx +3 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/src/index.ts +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @intility/bifrost-react-select
|
|
2
2
|
|
|
3
|
+
## 4.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a903f282: fix: export typescript types used in react components
|
|
8
|
+
- Updated dependencies [a903f282]
|
|
9
|
+
- Updated dependencies [19500ce7]
|
|
10
|
+
- Updated dependencies [8263586d]
|
|
11
|
+
- @intility/bifrost-react@4.0.0-beta.3
|
|
12
|
+
|
|
3
13
|
## 4.0.0-beta.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/Select.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export type SelectType = {
|
|
|
47
47
|
}, IsMulti extends boolean = false, Group extends GroupBase<OptionType> = GroupBase<OptionType>>(props: ReactSelectProps<OptionType, IsMulti, Group> & RefAttributes<SelectInstance<OptionType, IsMulti, Group>> & SelectProps): React.ReactElement | null;
|
|
48
48
|
displayName?: string;
|
|
49
49
|
};
|
|
50
|
-
declare const
|
|
50
|
+
export declare const Select: SelectType;
|
|
51
51
|
export type AsyncType = {
|
|
52
52
|
<OptionType = {
|
|
53
53
|
label: string;
|
|
@@ -82,4 +82,4 @@ export type AsyncCreatableType = {
|
|
|
82
82
|
};
|
|
83
83
|
declare const AsyncCreatableSelect: AsyncCreatableType;
|
|
84
84
|
export { AsyncSelect, CreatableSelect, AsyncCreatableSelect };
|
|
85
|
-
export default
|
|
85
|
+
export default Select;
|
package/dist/Select.js
CHANGED
|
@@ -237,8 +237,8 @@ const selectStates = [
|
|
|
237
237
|
};
|
|
238
238
|
/**
|
|
239
239
|
* Select component - dropdown list
|
|
240
|
-
*/ const
|
|
241
|
-
|
|
240
|
+
*/ export const Select = SelectHOC(ReactSelect);
|
|
241
|
+
Select.displayName = "Select";
|
|
242
242
|
const AsyncSelect = SelectHOC(AsyncReactSelect);
|
|
243
243
|
AsyncSelect.displayName = "AsyncSelect";
|
|
244
244
|
const CreatableSelect = SelectHOC(CreatableReactSelect);
|
|
@@ -246,4 +246,4 @@ CreatableSelect.displayName = "CreatableSelect";
|
|
|
246
246
|
const AsyncCreatableSelect = SelectHOC(AsyncCreatableReactSelect);
|
|
247
247
|
AsyncCreatableSelect.displayName = "AsyncCreatableSelect";
|
|
248
248
|
export { AsyncSelect, CreatableSelect, AsyncCreatableSelect };
|
|
249
|
-
export default
|
|
249
|
+
export default Select;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intility/bifrost-react-select",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.4",
|
|
4
4
|
"description": "React select component for Intility's design system, Bifrost.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/
|
|
6
|
+
"main": "dist/Select.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "run-p build:*",
|
|
9
9
|
"build:module": "swc ./src -d dist",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
17
|
"./package.json": "./package.json",
|
|
18
|
-
".": "./dist/
|
|
18
|
+
".": "./dist/Select.js"
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://bifrost.intility.com",
|
|
21
21
|
"keywords": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
41
41
|
"@fortawesome/free-solid-svg-icons": "^6.4.2",
|
|
42
42
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
43
|
-
"@intility/bifrost-react": "4.0.0-beta.
|
|
43
|
+
"@intility/bifrost-react": "4.0.0-beta.3",
|
|
44
44
|
"classnames": "^2.2.6",
|
|
45
45
|
"react-select": "^5.7.7"
|
|
46
46
|
}
|
package/src/Select.tsx
CHANGED
|
@@ -355,10 +355,10 @@ export type SelectType = {
|
|
|
355
355
|
/**
|
|
356
356
|
* Select component - dropdown list
|
|
357
357
|
*/
|
|
358
|
-
const
|
|
358
|
+
export const Select: SelectType = SelectHOC<SelectType, typeof ReactSelect>(
|
|
359
359
|
ReactSelect,
|
|
360
360
|
);
|
|
361
|
-
|
|
361
|
+
Select.displayName = "Select";
|
|
362
362
|
|
|
363
363
|
// Async Select
|
|
364
364
|
export type AsyncType = {
|
|
@@ -431,4 +431,4 @@ const AsyncCreatableSelect = SelectHOC<
|
|
|
431
431
|
AsyncCreatableSelect.displayName = "AsyncCreatableSelect";
|
|
432
432
|
|
|
433
433
|
export { AsyncSelect, CreatableSelect, AsyncCreatableSelect };
|
|
434
|
-
export default
|
|
434
|
+
export default Select;
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, default as Select, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents, } from "./Select.js";
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, default as Select, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents } from "./Select.js";
|