@box/blueprint-web 6.1.2 → 6.3.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
|
/**
|
|
@@ -19,12 +19,12 @@ const StickyCell = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
19
19
|
className: clsx(styles.stickyCell, className),
|
|
20
20
|
...rest,
|
|
21
21
|
children: [jsx("div", {
|
|
22
|
-
className: styles.
|
|
22
|
+
className: styles.stickyCellBelow
|
|
23
23
|
}), jsx("div", {
|
|
24
24
|
className: styles.childrenWrapper,
|
|
25
25
|
children: children
|
|
26
26
|
}), jsx("div", {
|
|
27
|
-
className: styles.
|
|
27
|
+
className: styles.stickyCellOuterLeft
|
|
28
28
|
}), jsx("div", {
|
|
29
29
|
className: clsx(styles.verticalBar, {
|
|
30
30
|
[styles.isScrolledX]: isScrolledX
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"stickyCell":"sticky-cell-module_stickyCell__-Rl0x","childrenWrapper":"sticky-cell-module_childrenWrapper__qjguw","verticalBar":"sticky-cell-module_verticalBar__AgXfU","isScrolledX":"sticky-cell-module_isScrolledX__xcMJ6","
|
|
2
|
+
var styles = {"stickyCell":"sticky-cell-module_stickyCell__-Rl0x","childrenWrapper":"sticky-cell-module_childrenWrapper__qjguw","verticalBar":"sticky-cell-module_verticalBar__AgXfU","isScrolledX":"sticky-cell-module_isScrolledX__xcMJ6","stickyCellBelow":"sticky-cell-module_stickyCellBelow__BKRdm","stickyCellOuterLeft":"sticky-cell-module_stickyCellOuterLeft__tai5-"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
package/lib-esm/index.css
CHANGED
|
@@ -2898,7 +2898,7 @@
|
|
|
2898
2898
|
|
|
2899
2899
|
.data-table-module_dataTableWrapper__VYLJf{
|
|
2900
2900
|
--border-radius-datatable:0;
|
|
2901
|
-
--outline-offset-focus-and-selected-row-datatable:-
|
|
2901
|
+
--outline-offset-focus-and-selected-row-datatable:-0.25rem;
|
|
2902
2902
|
--outline-select-color-datatable:#0000;
|
|
2903
2903
|
--sticky-element-z-index:2;
|
|
2904
2904
|
height:100%;
|
|
@@ -3208,7 +3208,6 @@
|
|
|
3208
3208
|
background:inherit;
|
|
3209
3209
|
background-clip:content-box;
|
|
3210
3210
|
left:0;
|
|
3211
|
-
outline:calc(var(--is-row-focused)*var(--border-2)) solid var(--outline-focus-color);
|
|
3212
3211
|
outline-offset:var(--outline-offset-focus-cell);
|
|
3213
3212
|
overflow:visible;
|
|
3214
3213
|
position:sticky;
|
|
@@ -3239,29 +3238,26 @@
|
|
|
3239
3238
|
.sticky-cell-module_stickyCell__-Rl0x .sticky-cell-module_verticalBar__AgXfU.sticky-cell-module_isScrolledX__xcMJ6{
|
|
3240
3239
|
display:block;
|
|
3241
3240
|
}
|
|
3242
|
-
.sticky-cell-module_stickyCell__-Rl0x .sticky-cell-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
height:100%;
|
|
3247
|
-
left:0;
|
|
3248
|
-
pointer-events:none;
|
|
3249
|
-
position:absolute;
|
|
3250
|
-
top:0;
|
|
3241
|
+
.sticky-cell-module_stickyCell__-Rl0x .sticky-cell-module_stickyCellBelow__BKRdm{
|
|
3242
|
+
border-left:calc(var(--is-row-focused)*var(--border-2)) solid var(--outline-focus-color);
|
|
3243
|
+
height:calc(100% + var(--is-row-focused)*2*var(--outline-offset-focus-cell));
|
|
3244
|
+
left:var(--border-2);
|
|
3251
3245
|
width:calc(100% + var(--outline-offset-focus-row));
|
|
3252
|
-
z-index:-1;
|
|
3253
3246
|
}
|
|
3254
|
-
.sticky-cell-module_stickyCell__-Rl0x .sticky-cell-
|
|
3247
|
+
.sticky-cell-module_stickyCell__-Rl0x .sticky-cell-module_stickyCellBelow__BKRdm,.sticky-cell-module_stickyCell__-Rl0x .sticky-cell-module_stickyCellOuterLeft__tai5-{
|
|
3255
3248
|
background:inherit;
|
|
3256
3249
|
border-radius:unset;
|
|
3257
3250
|
box-sizing:border-box;
|
|
3258
|
-
height:calc(var(--is-row-focused)*(100% + var(--outline-offset-focus-cell)*2));
|
|
3259
|
-
left:100%;
|
|
3260
3251
|
pointer-events:none;
|
|
3261
3252
|
position:absolute;
|
|
3262
3253
|
top:50%;
|
|
3263
|
-
transform:
|
|
3264
|
-
|
|
3254
|
+
transform:translateY(-50%);
|
|
3255
|
+
z-index:-1;
|
|
3256
|
+
}
|
|
3257
|
+
.sticky-cell-module_stickyCell__-Rl0x .sticky-cell-module_stickyCellOuterLeft__tai5-{
|
|
3258
|
+
height:100%;
|
|
3259
|
+
left:0;
|
|
3260
|
+
width:var(--border-2);
|
|
3265
3261
|
}
|
|
3266
3262
|
|
|
3267
3263
|
.empty-state-module_emptyState__Qs2b2{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.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": "3654927d8374743593f706ada793f23a87888a68",
|
|
61
61
|
"module": "lib-esm/index.js",
|
|
62
62
|
"type": "module",
|
|
63
63
|
"main": "lib-esm/index.js",
|