@intility/bifrost-react-select
Version:
React select component for Intility's design system, Bifrost.
185 lines (109 loc) • 4.93 kB
Markdown
# @intility/bifrost-react-select
## 6.0.0
### Major Changes
- 5de0e05: Update `peerDependencies` to explicit major versions:
```
@intility/bifrost-react: ^6
react: ^17 || ^18 || ^19
react-dom: ^17 || ^18 || ^19
```
- 5de0e05: Updated Font Awesome dependencies from `^6.4.2` to `^7.0.0`.
- `<Icon fixedWidth>` prop deprecated since icons are now fixed width default.
- New `<Icon widthAuto>` prop if you want the old behavior.
- If you have trouble installing, try deleting your `node_modules` and
`package-lock.json`.
- 5de0e05: No longer override internal Input for Select (apparently does nothing) - could potentially break something?
## 5.2.2
### Patch Changes
- 123c323: Bump `react-select` dependency from `5.10.1` to `5.10.2`
- d74de86: Update css-in-js selector for `<Select>` component to remove warning about `:first-child`
## 5.2.1
### Patch Changes
- b16e76d: Update styling for disabled select
## 5.2.0
### Minor Changes
- a161a0c: `<Select>` menu dropdown now uses bifrost `<Dropdown>` internally
- should fix layering issues (overlapping and/or scrollbars) when used inside
`<Modal>`, `<Nav.Group>`, and `<Dropdown>`
## 5.1.0
### Minor Changes
- c7e5540: Bump `react-select` dependency to `5.10.1`
### Patch Changes
- 30fd9d3: Fix: Avoid wrapping `<Select isMulti>` with a single long-worded option selected. #178
## 5.0.2
### Patch Changes
- 775ce3c: Fix: Include styling for `small` and `state="alert"` for `<Select>` css-in-js.
(This means we can now use main bifrost-bundle.css in a layer, and selects
should still be styled correctly) #117
## 5.0.1
### Patch Changes
- 6d67f5f: Fix: Explicitly set `font-family` to "Open Sans" to prevent inheriting wrong
font from parent. #86
## 5.0.0
### Major Changes
- fcbbe97: Update `@Intility/bifrost-react` peer dependency to `>=5.0.0`
## 4.3.3 - 2025-02-26
### Patch Changes
- 1e2116f: update package metadata
## 4.3.2 - 2024-12-13
### Patch Changes
- eb3b1cc: Fix: Text color should be `base-c-2` for disabled inputs (when they have a value).
## 4.3.1 - 2024-11-06
### Patch Changes
- 9ac0d65: allow react 17 as a peer dep
## 4.3.0 - 2024-10-15
### Minor Changes
- 2703b98: Add support for `small` variants for most form field inputs, to match existing `small` button styling.
- `<Input>`
- `<DatePicker>`
- `<FieldGroup.Item>`
- `<Select>`
### Patch Changes
- f70f414: Use `theme` color for selected checkbox with multi-select
- c2dfb58: Added translation text for select loading state
## 4.2.4 - 2024-08-07
### Patch Changes
- 2308f1a: Update multi-select checkboxes to more closely match bifrost checkbox styling.
## 4.2.3 - 2024-08-06
### Patch Changes
- 633e7b2: chore: avoid internal barrel file imports
- 899927b: Fix: form field height should follow browser font-size setting. Use `rem` over `px` for height-related units for form fields (input, button, select, datepicker).
## 4.2.2 - 2024-07-30
### Patch Changes
- 3434ad1: Update Select styling to match new bifrost Button
- Increased `border-radius` (from xs to s)
- Slight `border-color` tweaks
- 7b2eacc: Fix: Apparently, Chrome has changed its `<input autocomplete>` behaviour and now appears to only respect `autoComplete="off"`, so lets try that and pray to the browser gods that this will satisfy all of them for the forseeable future. #758
## 4.2.1 - 2024-06-21
### Patch Changes
- ba934052: Change option hover background to bfc-base-1
## 4.2.0 - 2024-06-13
### Minor Changes
- 833a15e4: Fix: update Select styling to allow `menuPlacement="top"` and more closely match DatePicker #754
## 4.1.0 - 2024-05-31
### Minor Changes
- ab69807d: Styling changes for Select input #740
## 4.0.3 - 2024-05-16
### Patch Changes
- 3db0503a: Fix: `selectComponents` properties should now correcly be non-null
## 4.0.2 - 2024-04-10
### Patch Changes
- 26deecde: Fix de-dupe issues by un-pinning `@intility/bifrost-react` version number and and moved to `devDependencies` and `peerDependencies`.
- Updated dependencies [79b9ab5d]
- @intility/bifrost-react@4.0.2
## 4.0.1 - 2024-04-05
### Patch Changes
- 611f82ca: Removed unnecessary files from npm package output.
- 63f4c54d: fix: Select menu background color is no longer transparent for grouped options.
- Updated dependencies [611f82ca]
- @intility/bifrost-react@4.0.1
## 4.0.0 - 2024-04-03 (first release, previously part of @intility/bifrost-react)
### Minor Changes
- 62b02461: Include JSDoc comments in typescript definition output
- 6b355639: New styling for inputs, now always outlined.
### Patch Changes
- 217c8741: Named export for Select and DatePicker
- a903f282: Fix: export typescript types used in react components
- e410a910: New base color values for light mode #711
- 165904af: Use deep imports from @intility/bifrost-react
- fdc6caee: Fix: select dropdown background should no longer bleed outside border radius when opened