@bitrise/bitkit 12.87.0 → 12.89.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit",
|
|
3
3
|
"description": "Bitrise React component library",
|
|
4
|
-
"version": "12.
|
|
4
|
+
"version": "12.89.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"@storybook/react-webpack5": "^7.6.10",
|
|
65
65
|
"@storybook/theming": "^7.6.10",
|
|
66
66
|
"@testing-library/dom": "^9.3.4",
|
|
67
|
-
"@testing-library/jest-dom": "^6.
|
|
67
|
+
"@testing-library/jest-dom": "^6.4.0",
|
|
68
68
|
"@testing-library/react": "^14.1.2",
|
|
69
69
|
"@testing-library/user-event": "^14.5.2",
|
|
70
70
|
"@types/jest": "^29.5.11",
|
|
71
71
|
"@types/luxon": "^3.4.2",
|
|
72
72
|
"@types/react": "^18.2.48",
|
|
73
73
|
"@types/react-dom": "^18.2.18",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
75
|
-
"@typescript-eslint/parser": "^6.
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
75
|
+
"@typescript-eslint/parser": "^6.20.0",
|
|
76
76
|
"axios": "^1.6.7",
|
|
77
77
|
"eslint": "^8.56.0",
|
|
78
78
|
"eslint-plugin-import": "^2.29.1",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
2
2
|
import { DateTime } from 'luxon';
|
|
3
3
|
import FocusLock from 'react-focus-lock';
|
|
4
|
+
import { PopoverAnchor } from '@chakra-ui/react';
|
|
4
5
|
import { useObjectMemo } from '../../utils/utils';
|
|
5
6
|
import Popover from '../Popover/Popover';
|
|
6
7
|
import PopoverContent from '../Popover/PopoverContent';
|
|
7
8
|
import Box from '../Box/Box';
|
|
8
9
|
import useResponsive from '../../hooks/useResponsive';
|
|
9
10
|
import Button from '../Button/Button';
|
|
10
|
-
import PopoverTrigger from '../Popover/PopoverTrigger';
|
|
11
11
|
import DatePickerMonth from './DatePickerMonth';
|
|
12
12
|
import { DatePickerContext } from './DatePicker.context';
|
|
13
13
|
import DatePickerMonthSelector from './DatePickerMonthSelector';
|
|
@@ -183,7 +183,7 @@ const DatePicker = (props: DatePickerProps) => {
|
|
|
183
183
|
|
|
184
184
|
return (
|
|
185
185
|
<Popover isLazy isOpen={visible} lazyBehavior="unmount" modifiers={[]} onClose={onClose}>
|
|
186
|
-
<
|
|
186
|
+
<PopoverAnchor>{children}</PopoverAnchor>
|
|
187
187
|
<PopoverContent aria-label="select date range">
|
|
188
188
|
<FocusLock returnFocus>
|
|
189
189
|
<DatePickerContext value={ctx}>
|