@box/blueprint-web 6.1.1 → 6.2.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.
|
@@ -30,6 +30,7 @@ const DatePicker = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
30
30
|
isDisabled,
|
|
31
31
|
calendarAriaLabel,
|
|
32
32
|
nextMonthAriaLabel,
|
|
33
|
+
portalElement,
|
|
33
34
|
previousMonthAriaLabel,
|
|
34
35
|
...rest
|
|
35
36
|
} = props;
|
|
@@ -167,6 +168,7 @@ const DatePicker = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
167
168
|
})]
|
|
168
169
|
})
|
|
169
170
|
}), jsx(RadixPopover.Portal, {
|
|
171
|
+
container: portalElement,
|
|
170
172
|
children: jsx(RadixPopover.Content, {
|
|
171
173
|
align: "start",
|
|
172
174
|
className: styles.datePickerPopoverContent,
|
|
@@ -23,6 +23,10 @@ export interface DatePickerPropsBase extends Omit<RACDatePickerProps<DateValue>,
|
|
|
23
23
|
* controls whether calendar dialog is initially opened
|
|
24
24
|
*/
|
|
25
25
|
defaultOpen?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The DOM element where the Calendar should be portal-ed into. If not provided, the Calendar will be appended to the document body.
|
|
28
|
+
*/
|
|
29
|
+
portalElement?: HTMLElement;
|
|
26
30
|
}
|
|
27
31
|
export type DatePickerProps = Modify<DatePickerPropsBase, {
|
|
28
32
|
/**
|
package/lib-esm/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export * from './basics/collapsible';
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export * from './basics/navigation-menu';
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
export * from './basics/text-input';
|
|
12
12
|
export * from './branding-styles';
|
|
13
13
|
export * from './card';
|
|
@@ -16,14 +16,14 @@ export * from './checkbox';
|
|
|
16
16
|
export * from './combobox';
|
|
17
17
|
export * from './content-card';
|
|
18
18
|
export * from './content-field';
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
export * from './empty-state';
|
|
21
21
|
export * from './ghost';
|
|
22
22
|
export * from './guided-tooltip';
|
|
23
23
|
export * from './inline-notice/inline-notice';
|
|
24
24
|
export * from './inline-table/inline-table';
|
|
25
25
|
export * from './input-chip';
|
|
26
|
-
|
|
26
|
+
|
|
27
27
|
export * from './loading-indicator/loading-indicator';
|
|
28
28
|
export * from './modal';
|
|
29
29
|
|
package/lib-esm/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { CollapsibleSection } from './basics/collapsible/collapsible-section.js'
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export { NavigationMenu } from './basics/navigation-menu/index.js';
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
export { TextInput } from './basics/text-input/text-input.js';
|
|
12
12
|
export { BrandingStyles } from './branding-styles/branding-styles.js';
|
|
13
13
|
export { useCustomBranding } from './branding-styles/useCustomBranding.js';
|
|
@@ -17,7 +17,7 @@ export { Checkbox } from './checkbox/index.js';
|
|
|
17
17
|
export { Combobox, Root } from './combobox/combobox.js';
|
|
18
18
|
export { ContentCard } from './content-card/content-card.js';
|
|
19
19
|
export { ContentField } from './content-field/content-field.js';
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
export { EmptyState } from './empty-state/empty-state.js';
|
|
22
22
|
export { Ghost } from './ghost/ghost.js';
|
|
23
23
|
export { GuidedTooltip } from './guided-tooltip/guided-tooltip.js';
|
|
@@ -25,7 +25,7 @@ export { GuidedTooltipContext } from './guided-tooltip/utils/guided-tooltip-cont
|
|
|
25
25
|
export { InlineNotice } from './inline-notice/inline-notice.js';
|
|
26
26
|
export { InlineTable } from './inline-table/inline-table.js';
|
|
27
27
|
export { InputChip } from './input-chip/input-chip.js';
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
export { LoadingIndicator } from './loading-indicator/loading-indicator.js';
|
|
30
30
|
export { Modal } from './modal/modal.js';
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@box/storybook-utils": "^0.0.2"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "000a8ea7add0eb83c8ae32a73df867c700f31afd",
|
|
61
61
|
"module": "lib-esm/index.js",
|
|
62
62
|
"type": "module",
|
|
63
63
|
"main": "lib-esm/index.js",
|