@intility/bifrost-react-select 4.3.2 → 5.0.0

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,18 +1,30 @@
1
1
  # @intility/bifrost-react-select
2
2
 
3
- ## 4.3.2
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - fcbbe97: Update `@Intility/bifrost-react` peer dependency to `>=5.0.0`
8
+
9
+ ## 4.3.3 - 2025-02-26
10
+
11
+ ### Patch Changes
12
+
13
+ - 1e2116f: update package metadata
14
+
15
+ ## 4.3.2 - 2024-12-13
4
16
 
5
17
  ### Patch Changes
6
18
 
7
19
  - eb3b1cc: Fix: Text color should be `base-c-2` for disabled inputs (when they have a value).
8
20
 
9
- ## 4.3.1
21
+ ## 4.3.1 - 2024-11-06
10
22
 
11
23
  ### Patch Changes
12
24
 
13
25
  - 9ac0d65: allow react 17 as a peer dep
14
26
 
15
- ## 4.3.0
27
+ ## 4.3.0 - 2024-10-15
16
28
 
17
29
  ### Minor Changes
18
30
 
package/dist/Select.d.ts CHANGED
@@ -26,8 +26,7 @@ export declare const selectStyles: {
26
26
  groupHeading: (provided: any) => any;
27
27
  };
28
28
  export declare const selectComponents: typeof originalComponents;
29
- declare const selectStates: readonly ["default", "alert"];
30
- export type SelectState = (typeof selectStates)[number];
29
+ export type SelectState = "default" | "alert";
31
30
  export type SelectProps = {
32
31
  /** Required label text */
33
32
  label: ReactNode;
package/dist/Select.js CHANGED
@@ -177,10 +177,6 @@ export const selectComponents = {
177
177
  Option: CustomOption,
178
178
  LoadingIndicator
179
179
  };
180
- const selectStates = [
181
- "default",
182
- "alert"
183
- ];
184
180
  /**
185
181
  * Select HOC
186
182
  */ const SelectHOC = (Selector)=>{
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@intility/bifrost-react-select",
3
- "version": "4.3.2",
3
+ "version": "5.0.0",
4
4
  "description": "React select component for Intility's design system, Bifrost.",
5
5
  "type": "module",
6
6
  "main": "dist/Select.js",
7
7
  "scripts": {
8
8
  "build": "run-p build:*",
9
- "build:module": "swc ./src -d dist",
9
+ "build:module": "swc ./src -d dist --strip-leading-paths",
10
10
  "build:types": "tsc",
11
11
  "start": "run-p watch:*",
12
12
  "watch:module": "npm run build:module -- --watch",
@@ -29,17 +29,22 @@
29
29
  ],
30
30
  "author": "Intility AS",
31
31
  "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "https://github.com/intility/bifrost",
35
+ "directory": "packages/bifrost-react-select"
36
+ },
32
37
  "publishConfig": {
33
38
  "registry": "https://registry.npmjs.org/",
34
39
  "access": "public"
35
40
  },
36
41
  "peerDependencies": {
37
- "react-dom": ">=17.0.0",
42
+ "@intility/bifrost-react": ">=5.0.0",
38
43
  "react": ">=17.0.0",
39
- "@intility/bifrost-react": "^4.13.0"
44
+ "react-dom": ">=17.0.0"
40
45
  },
41
46
  "devDependencies": {
42
- "@intility/bifrost-react": "^4.17.0"
47
+ "@intility/bifrost-react": "^5.0.0"
43
48
  },
44
49
  "dependencies": {
45
50
  "@fortawesome/fontawesome-svg-core": "^6.4.2",