@intility/bifrost-react-select 4.0.0-beta.0 → 4.0.0-beta.3
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 +26 -0
- package/dist/Select.js +5 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/overrides/LoadingIndicator.internal.js +1 -1
- package/dist/overrides/index.d.ts +6 -6
- package/dist/overrides/index.js +6 -6
- package/package.json +2 -2
- package/src/Select.test.tsx +2 -1
- package/src/Select.tsx +5 -7
- package/src/index.ts +2 -1
- package/src/overrides/LoadingIndicator.internal.tsx +1 -1
- package/src/overrides/index.ts +6 -6
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @intility/bifrost-react-select
|
|
2
2
|
|
|
3
|
+
## 4.0.0-beta.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [b60c063d]
|
|
8
|
+
- @intility/bifrost-react@4.0.0-beta.2
|
|
9
|
+
|
|
10
|
+
## 4.0.0-beta.2
|
|
11
|
+
|
|
12
|
+
### Major Changes
|
|
13
|
+
|
|
14
|
+
- 608d2083: update module output
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 165904af: use deep imports from @intility/bifrost-react
|
|
19
|
+
- Updated dependencies [165904af]
|
|
20
|
+
- Updated dependencies [608d2083]
|
|
21
|
+
- @intility/bifrost-react@4.0.0-beta.1
|
|
22
|
+
|
|
23
|
+
## 4.0.0-beta.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 217c8741: Named export for Select and DatePicker
|
|
28
|
+
|
|
3
29
|
## 4.0.0-beta.0
|
|
4
30
|
|
|
5
31
|
### Major Changes
|
package/dist/Select.js
CHANGED
|
@@ -6,8 +6,11 @@ import AsyncReactSelect from "react-select/async";
|
|
|
6
6
|
import CreatableReactSelect from "react-select/creatable";
|
|
7
7
|
import AsyncCreatableReactSelect from "react-select/async-creatable";
|
|
8
8
|
import classNames from "classnames";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import Description from "@intility/bifrost-react/Description";
|
|
10
|
+
import Feedback from "@intility/bifrost-react/Feedback";
|
|
11
|
+
import Label from "@intility/bifrost-react/Label";
|
|
12
|
+
import useUniqueId from "@intility/bifrost-react/hooks/useUniqueId";
|
|
13
|
+
import { DropdownIndicator, ClearIndicator, CustomInput, CustomMenuList, CustomOption, LoadingIndicator } from "./overrides/index.js";
|
|
11
14
|
const ReactSelect = ReactSelectDefaultExport.default ?? ReactSelectDefaultExport;
|
|
12
15
|
export const selectStyles = {
|
|
13
16
|
container: (provided)=>({
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents, } from "./Select";
|
|
1
|
+
export { default, default as Select, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents, } from "./Select.js";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents } from "./Select";
|
|
1
|
+
export { default, default as Select, AsyncSelect, CreatableSelect, AsyncCreatableSelect, selectStyles, selectComponents } from "./Select.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Icon } from "@intility/bifrost-react";
|
|
3
|
-
import bfSpinner from "../assets/bfSpinner";
|
|
3
|
+
import bfSpinner from "../assets/bfSpinner.js";
|
|
4
4
|
export default function LoadingIndicator() {
|
|
5
5
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
6
6
|
icon: bfSpinner,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as ClearIndicator } from "./ClearIndicator.internal";
|
|
2
|
-
export { default as CustomInput } from "./CustomInput.internal";
|
|
3
|
-
export { default as LoadingIndicator } from "./LoadingIndicator.internal";
|
|
4
|
-
export { default as CustomMenuList } from "./CustomMenuList.internal";
|
|
5
|
-
export { default as DropdownIndicator } from "./DropdownIndicator.internal";
|
|
6
|
-
export { default as CustomOption } from "./CustomOption.internal";
|
|
1
|
+
export { default as ClearIndicator } from "./ClearIndicator.internal.js";
|
|
2
|
+
export { default as CustomInput } from "./CustomInput.internal.js";
|
|
3
|
+
export { default as LoadingIndicator } from "./LoadingIndicator.internal.js";
|
|
4
|
+
export { default as CustomMenuList } from "./CustomMenuList.internal.js";
|
|
5
|
+
export { default as DropdownIndicator } from "./DropdownIndicator.internal.js";
|
|
6
|
+
export { default as CustomOption } from "./CustomOption.internal.js";
|
package/dist/overrides/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as ClearIndicator } from "./ClearIndicator.internal";
|
|
2
|
-
export { default as CustomInput } from "./CustomInput.internal";
|
|
3
|
-
export { default as LoadingIndicator } from "./LoadingIndicator.internal";
|
|
4
|
-
export { default as CustomMenuList } from "./CustomMenuList.internal";
|
|
5
|
-
export { default as DropdownIndicator } from "./DropdownIndicator.internal";
|
|
6
|
-
export { default as CustomOption } from "./CustomOption.internal";
|
|
1
|
+
export { default as ClearIndicator } from "./ClearIndicator.internal.js";
|
|
2
|
+
export { default as CustomInput } from "./CustomInput.internal.js";
|
|
3
|
+
export { default as LoadingIndicator } from "./LoadingIndicator.internal.js";
|
|
4
|
+
export { default as CustomMenuList } from "./CustomMenuList.internal.js";
|
|
5
|
+
export { default as DropdownIndicator } from "./DropdownIndicator.internal.js";
|
|
6
|
+
export { default as CustomOption } from "./CustomOption.internal.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intility/bifrost-react-select",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.3",
|
|
4
4
|
"description": "React select component for Intility's design system, Bifrost.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -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.2",
|
|
44
44
|
"classnames": "^2.2.6",
|
|
45
45
|
"react-select": "^5.7.7"
|
|
46
46
|
}
|
package/src/Select.test.tsx
CHANGED
package/src/Select.tsx
CHANGED
|
@@ -18,12 +18,10 @@ import AsyncCreatableReactSelect, {
|
|
|
18
18
|
AsyncCreatableProps as AsyncCreatableSelectProps,
|
|
19
19
|
} from "react-select/async-creatable";
|
|
20
20
|
import classNames from "classnames";
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
useUniqueId,
|
|
26
|
-
} from "@intility/bifrost-react";
|
|
21
|
+
import Description from "@intility/bifrost-react/Description";
|
|
22
|
+
import Feedback from "@intility/bifrost-react/Feedback";
|
|
23
|
+
import Label from "@intility/bifrost-react/Label";
|
|
24
|
+
import useUniqueId from "@intility/bifrost-react/hooks/useUniqueId";
|
|
27
25
|
|
|
28
26
|
import {
|
|
29
27
|
DropdownIndicator,
|
|
@@ -32,7 +30,7 @@ import {
|
|
|
32
30
|
CustomMenuList,
|
|
33
31
|
CustomOption,
|
|
34
32
|
LoadingIndicator,
|
|
35
|
-
} from "./overrides";
|
|
33
|
+
} from "./overrides/index.js";
|
|
36
34
|
|
|
37
35
|
const ReactSelect =
|
|
38
36
|
(
|
package/src/index.ts
CHANGED
package/src/overrides/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as ClearIndicator } from "./ClearIndicator.internal";
|
|
2
|
-
export { default as CustomInput } from "./CustomInput.internal";
|
|
3
|
-
export { default as LoadingIndicator } from "./LoadingIndicator.internal";
|
|
4
|
-
export { default as CustomMenuList } from "./CustomMenuList.internal";
|
|
5
|
-
export { default as DropdownIndicator } from "./DropdownIndicator.internal";
|
|
6
|
-
export { default as CustomOption } from "./CustomOption.internal";
|
|
1
|
+
export { default as ClearIndicator } from "./ClearIndicator.internal.js";
|
|
2
|
+
export { default as CustomInput } from "./CustomInput.internal.js";
|
|
3
|
+
export { default as LoadingIndicator } from "./LoadingIndicator.internal.js";
|
|
4
|
+
export { default as CustomMenuList } from "./CustomMenuList.internal.js";
|
|
5
|
+
export { default as DropdownIndicator } from "./DropdownIndicator.internal.js";
|
|
6
|
+
export { default as CustomOption } from "./CustomOption.internal.js";
|
package/tsconfig.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"extends": "../../tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"declaration": true,
|
|
5
|
+
"rootDir": "src",
|
|
5
6
|
"declarationMap": false,
|
|
6
7
|
"isolatedModules": false,
|
|
7
8
|
"noEmit": false,
|
|
8
9
|
"allowJs": false,
|
|
9
10
|
"sourceMap": false,
|
|
10
|
-
"moduleResolution": "Bundler",
|
|
11
11
|
"emitDeclarationOnly": true,
|
|
12
12
|
"outDir": "dist"
|
|
13
13
|
},
|