@intility/bifrost-react-datepicker
Version:
React detepicker for Intility's design system, Bifrost.
181 lines (106 loc) • 4.86 kB
Markdown
# @intility/bifrost-react-datepicker
## 6.0.1
### Patch Changes
- e81abe6: fix: lock react-datepicker to version 8.4.0
## 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`.
- If you have trouble installing, try deleting your `node_modules` and
`package-lock.json`.
## 5.6.0
### Minor Changes
- b16e76d: New styling for `readOnly` and `disabled`.
## 5.5.0
### Minor Changes
- 1b1875a: `<DatePicker>` now uses bifrost dropdown internally. This should fix
layering issues (overlapping and/or scrollbars) when used inside `<Modal>`,
`<Nav.Group>`, and `<Dropdown>`.
## 5.4.0
### Minor Changes
- b8ee22d: Added missing styling to support usage of `excludeDates`
## 5.3.0
### Minor Changes
- 2cadbf8: Update `react-datepicker`dependency from 8.3.0 to 8.4.0
## 5.2.0
### Minor Changes
- 73bd1be: Bump [`react-datepicker`](https://github.com/Hacker0x01/react-datepicker/releases)
dependency to `8.3.0`, fixes keyboard focus highlighting++
## 5.1.0
### Minor Changes
- d5d392c: Feat: `<DatePicker>` component now forwards `ref` prop (to support certain form libs like `react-hook-form`). #67
### Patch Changes
- 6d67f5f: Fix: Explicitly set `font-family` to "Open Sans" to prevent inheriting wrong
font from parent. #86
## 5.0.0
### Major Changes
- 526d727: Refactor: removed `date-fns` dependency from `@intility/bifrost-react` and added it to `@intility/bifrost-react-datepicker` and bumped from `3.6.0` to `4.1.0`
- fcbbe97: Update `@Intility/bifrost-react` peer dependency to `>=5.0.0`
- dd6b460: Update `react-datepicker` dependency to `8.1.0` which supports React 19
### Patch Changes
- 48ebed2: Fix datepicker `icon` prop type
## 4.1.3 - 2025-02-26
### Patch Changes
- 1e2116f: update package metadata
## 4.1.2 - 2025-02-14
### Patch Changes
- 66a9741: Fix: Feedback text for datepicker in `alert` state should now correctly be colored red.
## 4.1.1 - 2024-11-06
### Patch Changes
- 9ac0d65: allow react 17 as a peer dep
## 4.1.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: Changed some colors to use `theme` variables.
## 4.0.7 - 2024-08-06
### Patch Changes
- 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.0.6 - 2024-07-30
### Patch Changes
- 3434ad1: Update DatePicker styling to match new bifrost Button
- Increased `border-radius` (from xs to s)
- Slight `border-color` tweaks
- Doesn't use theme color anymore
- 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.0.5 - 2024-06-21
### Patch Changes
- a2ec3e53: Fix: remove CSS references to non-existing variable `--bfc-alert-c-2` #755
## 4.0.4 - 2024-05-15
### Patch Changes
- 924c0b5f: Bump datepicker and date-fns versions !557
## 4.0.3 - 2024-04-23
### Patch Changes
- debaf8e1: Fix: Clicks on DatePicker icon should now do the same as clicking the rest of the input
## 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.
- 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
- dad94ad9: Fix: include `@types/react-datepicker` in dependencies
Update styling, and update CSS with support for `holidays` prop
- 62b02461: Include JSDoc comments in typescript definition output
- 6b355639: New styling for inputs, now always outlined. Removed `variant` prop from `<Input>`.
### Patch Changes
- 217c8741: Named export for Select and DatePicker
- bde2974b: Fix: dynamic viewport height `dvh` for supporting browsers, since `vh` does not account for browsers that hide/show toolbars (with fallback to `vh`) #733
- a903f282: Fix: export typescript types used in react components
- e410a910: New base color values for light mode #711
- ea861dbc: Update lint config, add displayName for components
- 165904af: Use deep imports from @intility/bifrost-react