@intility/bifrost-react-select 4.0.1 → 4.0.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @intility/bifrost-react-select
2
2
 
3
+ ## 4.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 3db0503a: Fix: `selectComponents` properties should now correcly be non-null
8
+
9
+ ## 4.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 26deecde: Fix de-dupe issues by un-pinning `@intility/bifrost-react` version number and and moved to `devDependencies` and `peerDependencies`.
14
+ - Updated dependencies [79b9ab5d]
15
+ - @intility/bifrost-react@4.0.2
16
+
3
17
  ## 4.0.1
4
18
 
5
19
  ### Patch Changes
package/dist/Select.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, ReactNode, RefAttributes } from "react";
2
- import { GroupBase, Props as ReactSelectProps, SelectInstance, components } from "react-select";
2
+ import { GroupBase, Props as ReactSelectProps, SelectInstance, components as originalComponents } from "react-select";
3
3
  import { AsyncProps as AsyncSelectProps } from "react-select/async";
4
4
  import { CreatableProps as CreatableSelectProps } from "react-select/creatable";
5
5
  import { AsyncCreatableProps as AsyncCreatableSelectProps } from "react-select/async-creatable";
@@ -25,7 +25,7 @@ export declare const selectStyles: {
25
25
  group: (provided: any) => any;
26
26
  groupHeading: (provided: any) => any;
27
27
  };
28
- export declare const selectComponents: Partial<typeof components>;
28
+ export declare const selectComponents: typeof originalComponents;
29
29
  declare const selectStates: readonly ["default", "alert"];
30
30
  export type SelectState = (typeof selectStates)[number];
31
31
  export type SelectProps = {
package/dist/Select.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @typescript-eslint/ban-ts-comment */ "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { forwardRef } from "react";
4
- import ReactSelectDefaultExport from "react-select";
4
+ import ReactSelectDefaultExport, { components as originalComponents } from "react-select";
5
5
  import AsyncReactSelect from "react-select/async";
6
6
  import CreatableReactSelect from "react-select/creatable";
7
7
  import AsyncCreatableReactSelect from "react-select/async-creatable";
@@ -171,6 +171,7 @@ export const selectStyles = {
171
171
  })
172
172
  };
173
173
  export const selectComponents = {
174
+ ...originalComponents,
174
175
  DropdownIndicator,
175
176
  Input: CustomInput,
176
177
  MenuList: CustomMenuList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intility/bifrost-react-select",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "React select component for Intility's design system, Bifrost.",
5
5
  "type": "module",
6
6
  "main": "dist/Select.js",
@@ -35,13 +35,16 @@
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react-dom": ">=18.0.0",
38
- "react": ">=18.0.0"
38
+ "react": ">=18.0.0",
39
+ "@intility/bifrost-react": "^4.0.2"
40
+ },
41
+ "devDependencies": {
42
+ "@intility/bifrost-react": "^4.2.3"
39
43
  },
40
44
  "dependencies": {
41
45
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
42
46
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
43
47
  "@fortawesome/react-fontawesome": "^0.2.0",
44
- "@intility/bifrost-react": "4.0.1",
45
48
  "classnames": "^2.2.6",
46
49
  "react-select": "^5.7.7"
47
50
  },