@intility/bifrost-react-datepicker
Version:
React detepicker for Intility's design system, Bifrost.
276 lines (163 loc) • 7.36 kB
Markdown
# @intility/bifrost-react-datepicker
## 6.2.5
### Patch Changes
- 31bdbaf: Bump `react-datepicker` dep from `8.9.0` to `8.10.0`
## 6.2.4 - 2025-11-28
### Patch Changes
- d3e8768: a11y: mark `feedback` and `description` texts as `ariaDescribedBy`
## 6.2.3 - 2025-11-27
### Patch Changes
- 0147d73: Bump `react-datepicker` dep from `8.8.0` to `8.9.0`
## 6.2.2 - 2025-11-20
### Patch Changes
- 0d9cf7c: Fixes:
- Slight styling tweaks for date range mouse hover and keyboard focus.
- Enabled `fixedHeight` by default to prevent variable datepicker height based on
how many days the month contains.
## 6.2.1 - 2025-11-07
### Patch Changes
- fa5d9ea: Fix: `datepicker.css` should no longer contain BOM character that may cause issues when certain tools bundle styling via concatenation.
## 6.2.0 - 2025-10-21
### Minor Changes
- fbe99c7: Added React Compiler.
The following components have been slightly refactored to follow the rules of react:
- `Accordion`
- `Ellipsis`
- `FloatingMessage`
- `Modal`
- `Nav`
- `Tabs`
- `useHotkey`
Please let us know if you encounter unexpected behavior.
## 6.1.4 - 2025-10-21
### Patch Changes
- 36bfcde: Update `react-datepicker` dependency from `8.7.0` to `8.8.0`
## 6.1.3 - 2025-10-14
### Patch Changes
- 8e6d2f9: fix(datepicker): should no longer get box-shadow in `inline` mode
## 6.1.2 - 2025-10-08
### Patch Changes
- 33a9508: Fix: Styling of heading if month/year dropdowns disabled, and prevent years in
year picker from stretching to full height if min/max dates are set.
## 6.1.1 - 2025-10-06
### Patch Changes
- bb7624b: Chore: Bump `@fortawesome/*` dependencies to `^7.1.0`
## 6.1.0 - 2025-10-03
### Minor Changes
- 3d7a75e: Restyled the datepicker _from scratch_.
- Props and behavior unchanged.
- External `react-datepicker` CSS included in a layer to allow custom styling to
win specificity wars. Check out https://bifrost.intility.com/css/layer if you
want to do the same to your own imports. (TLDR; import both bifrost css and
datepicker css in the same layer).
- New styling for `highlightDates`, `holidays`, range selection +++
- Month/Year selection dropdown should now always be same size as datepicker.
- Chore: Updated `react-datepicker` dependency to `8.7.0` (pinned). #332
## 6.0.2 - 2025-09-05
### Patch Changes
- 01a6406: Update `@fortawesome/*-icons` dependencies to `^7.0.1`
## 6.0.1 - 2025-08-20
### Patch Changes
- e81abe6: fix: lock react-datepicker to version 8.4.0
## 6.0.0 - 2025-08-13
### 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 - 2025-07-04
### Minor Changes
- b16e76d: New styling for `readOnly` and `disabled`.
## 5.5.0 - 2025-07-02
### 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 - 2025-06-24
### Minor Changes
- b8ee22d: Added missing styling to support usage of `excludeDates`
## 5.3.0 - 2025-06-02
### Minor Changes
- 2cadbf8: Update `react-datepicker`dependency from 8.3.0 to 8.4.0
## 5.2.0 - 2025-05-15
### 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 - 2025-04-01
### 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 - 2025-03-26
### 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