@intility/bifrost-react-select 6.0.0 → 6.0.2

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,6 +1,18 @@
1
1
  # @intility/bifrost-react-select
2
2
 
3
- ## 6.0.0
3
+ ## 6.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - bb7624b: Chore: Bump `@fortawesome/*` dependencies to `^7.1.0`
8
+
9
+ ## 6.0.1 - 2025-09-05
10
+
11
+ ### Patch Changes
12
+
13
+ - 01a6406: Update `@fortawesome/*-icons` dependencies to `^7.0.1`
14
+
15
+ ## 6.0.0 - 2025-08-13
4
16
 
5
17
  ### Major Changes
6
18
 
@@ -13,26 +25,24 @@
13
25
  ```
14
26
 
15
27
  - 5de0e05: Updated Font Awesome dependencies from `^6.4.2` to `^7.0.0`.
16
- - `<Icon fixedWidth>` prop deprecated since icons are now fixed width default.
17
- - New `<Icon widthAuto>` prop if you want the old behavior.
18
28
  - If you have trouble installing, try deleting your `node_modules` and
19
29
  `package-lock.json`.
20
30
  - 5de0e05: No longer override internal Input for Select (apparently does nothing) - could potentially break something?
21
31
 
22
- ## 5.2.2
32
+ ## 5.2.2 - 2025-07-30
23
33
 
24
34
  ### Patch Changes
25
35
 
26
36
  - 123c323: Bump `react-select` dependency from `5.10.1` to `5.10.2`
27
37
  - d74de86: Update css-in-js selector for `<Select>` component to remove warning about `:first-child`
28
38
 
29
- ## 5.2.1
39
+ ## 5.2.1 - 2025-07-04
30
40
 
31
41
  ### Patch Changes
32
42
 
33
43
  - b16e76d: Update styling for disabled select
34
44
 
35
- ## 5.2.0
45
+ ## 5.2.0 - 2025-07-02
36
46
 
37
47
  ### Minor Changes
38
48
 
@@ -40,7 +50,7 @@
40
50
  - should fix layering issues (overlapping and/or scrollbars) when used inside
41
51
  `<Modal>`, `<Nav.Group>`, and `<Dropdown>`
42
52
 
43
- ## 5.1.0
53
+ ## 5.1.0 - 2025-05-15
44
54
 
45
55
  ### Minor Changes
46
56
 
@@ -50,7 +60,7 @@
50
60
 
51
61
  - 30fd9d3: Fix: Avoid wrapping `<Select isMulti>` with a single long-worded option selected. #178
52
62
 
53
- ## 5.0.2
63
+ ## 5.0.2 - 2025-05-14
54
64
 
55
65
  ### Patch Changes
56
66
 
@@ -58,14 +68,14 @@
58
68
  (This means we can now use main bifrost-bundle.css in a layer, and selects
59
69
  should still be styled correctly) #117
60
70
 
61
- ## 5.0.1
71
+ ## 5.0.1 - 2025-04-01
62
72
 
63
73
  ### Patch Changes
64
74
 
65
75
  - 6d67f5f: Fix: Explicitly set `font-family` to "Open Sans" to prevent inheriting wrong
66
76
  font from parent. #86
67
77
 
68
- ## 5.0.0
78
+ ## 5.0.0 - 2025-03-26
69
79
 
70
80
  ### Major Changes
71
81
 
package/dist/Select.d.ts CHANGED
@@ -59,6 +59,16 @@ export type SelectType = {
59
59
  };
60
60
  /**
61
61
  * Select component - dropdown list
62
+ *
63
+ * @see https://bifrost.intility.com/react/select
64
+ *
65
+ * @example
66
+ * <Select
67
+ * label="Select a country"
68
+ * options={countries} // [{ value: countryData, label: "Norway" }, ...]
69
+ * value={selected}
70
+ * onChange={(item) => setSelected(item)}
71
+ * />
62
72
  */
63
73
  export declare const Select: SelectType;
64
74
  export type AsyncType = {
package/dist/Select.js CHANGED
@@ -279,6 +279,16 @@ export const selectComponents = {
279
279
  };
280
280
  /**
281
281
  * Select component - dropdown list
282
+ *
283
+ * @see https://bifrost.intility.com/react/select
284
+ *
285
+ * @example
286
+ * <Select
287
+ * label="Select a country"
288
+ * options={countries} // [{ value: countryData, label: "Norway" }, ...]
289
+ * value={selected}
290
+ * onChange={(item) => setSelected(item)}
291
+ * />
282
292
  */ export const Select = SelectHOC(ReactSelect);
283
293
  Select.displayName = "Select";
284
294
  const AsyncSelect = SelectHOC(AsyncReactSelect);
@@ -11,7 +11,6 @@ const CustomOption = (props)=>{
11
11
  props.isMulti && /*#__PURE__*/ _jsx("div", {
12
12
  children: /*#__PURE__*/ _jsx(Icon, {
13
13
  icon: props.isSelected ? faCheckSquare : faSquare,
14
- fixedWidth: true,
15
14
  marginRight: true,
16
15
  color: props.isSelected ? "var(--bfc-theme)" : "var(--bfc-base-c-2)"
17
16
  })
@@ -20,7 +19,6 @@ const CustomOption = (props)=>{
20
19
  !props.isMulti && props.isSelected && /*#__PURE__*/ _jsx("div", {
21
20
  children: /*#__PURE__*/ _jsx(Icon, {
22
21
  icon: faCheck,
23
- fixedWidth: true,
24
22
  className: "bf-select-selected-icon"
25
23
  })
26
24
  })
@@ -5,7 +5,6 @@ export default function LoadingIndicator() {
5
5
  return /*#__PURE__*/ _jsx(Icon, {
6
6
  icon: bfSpinner,
7
7
  spin: true,
8
- fixedWidth: true,
9
8
  className: "bf-input-loading-icon"
10
9
  });
11
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intility/bifrost-react-select",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "React select component for Intility's design system, Bifrost.",
5
5
  "type": "module",
6
6
  "main": "dist/Select.js",
@@ -44,11 +44,11 @@
44
44
  "react-dom": "^17 || ^18 || ^19"
45
45
  },
46
46
  "devDependencies": {
47
- "@intility/bifrost-react": "^6.0.0"
47
+ "@intility/bifrost-react": "^6.4.2"
48
48
  },
49
49
  "dependencies": {
50
- "@fortawesome/fontawesome-svg-core": "^7.0.0",
51
- "@fortawesome/free-solid-svg-icons": "^7.0.0",
50
+ "@fortawesome/fontawesome-svg-core": "^7.1.0",
51
+ "@fortawesome/free-solid-svg-icons": "^7.1.0",
52
52
  "classnames": "^2.2.6",
53
53
  "react-select": "^5.10.2"
54
54
  },