@targetprocess/popover 12.19.1-alpha.0 → 12.19.2-alpha.2
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/Popover.tsx +9 -2
- package/PopoverContainer.tsx +10 -1
- package/StatlessPopover.tsx +2 -0
- package/dist/Popover.d.ts +2 -0
- package/dist/PopoverContainer.d.ts +2 -0
- package/dist/StatlessPopover.d.ts +1 -0
- package/dist/popover.es.js +13 -5
- package/dist/popover.js +13 -5
- package/package.json +3 -3
package/Popover.tsx
CHANGED
|
@@ -83,6 +83,7 @@ export type PopoverProps = {
|
|
|
83
83
|
showTip?: boolean
|
|
84
84
|
className?: string
|
|
85
85
|
trackScroll?: boolean
|
|
86
|
+
role?: 'tooltip' | 'dialog'
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
export type PopoverState = {
|
|
@@ -120,7 +121,8 @@ export class Popover extends React.Component<PopoverProps, PopoverState> {
|
|
|
120
121
|
noPadding: PropTypes.bool,
|
|
121
122
|
zIndex: PropTypes.number,
|
|
122
123
|
trackScroll: PropTypes.bool,
|
|
123
|
-
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])
|
|
124
|
+
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
125
|
+
role: PropTypes.oneOf(['tooltip', 'dialog'])
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
static defaultProps = {
|
|
@@ -154,7 +156,12 @@ export class Popover extends React.Component<PopoverProps, PopoverState> {
|
|
|
154
156
|
: this.props.children
|
|
155
157
|
|
|
156
158
|
return (
|
|
157
|
-
<StatelessPopover
|
|
159
|
+
<StatelessPopover
|
|
160
|
+
{...this.props}
|
|
161
|
+
onOuterAction={this.onOuterAction}
|
|
162
|
+
isOpen={isOpen}
|
|
163
|
+
role={this.props.role}
|
|
164
|
+
>
|
|
158
165
|
{children}
|
|
159
166
|
</StatelessPopover>
|
|
160
167
|
)
|
package/PopoverContainer.tsx
CHANGED
|
@@ -18,6 +18,7 @@ type PopoverContainerProps = {
|
|
|
18
18
|
getPopoverPosition: GetPopoverPositionType
|
|
19
19
|
showTip?: boolean
|
|
20
20
|
zIndex: number
|
|
21
|
+
role?: 'tooltip' | 'dialog'
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
type PopoverContainerState = {
|
|
@@ -86,7 +87,8 @@ export class PopoverContainer extends React.Component<
|
|
|
86
87
|
positioningTarget: PropTypes.object,
|
|
87
88
|
containerElement: PropTypes.object,
|
|
88
89
|
className: PropTypes.string,
|
|
89
|
-
trackScroll: PropTypes.bool
|
|
90
|
+
trackScroll: PropTypes.bool,
|
|
91
|
+
role: PropTypes.oneOf(['tooltip', 'dialog'])
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
static defaultProps = {
|
|
@@ -149,6 +151,10 @@ export class PopoverContainer extends React.Component<
|
|
|
149
151
|
this.mounted = true
|
|
150
152
|
this.adjustPosition()
|
|
151
153
|
|
|
154
|
+
if (this.popoverContentRef) {
|
|
155
|
+
this.popoverContentRef.current.focus()
|
|
156
|
+
}
|
|
157
|
+
|
|
152
158
|
if (this.props.trackScroll) {
|
|
153
159
|
document.addEventListener('scroll', this.onScroll)
|
|
154
160
|
window.addEventListener('resize', this.onResize)
|
|
@@ -248,12 +254,15 @@ export class PopoverContainer extends React.Component<
|
|
|
248
254
|
)}
|
|
249
255
|
<div
|
|
250
256
|
ref={this.popoverContentRef}
|
|
257
|
+
aria-modal="true"
|
|
251
258
|
style={{
|
|
252
259
|
position: 'absolute',
|
|
253
260
|
pointerEvents: 'all',
|
|
254
261
|
...position
|
|
255
262
|
}}
|
|
256
263
|
className={this.props.className}
|
|
264
|
+
role={this.props.role}
|
|
265
|
+
tabIndex={0}
|
|
257
266
|
>
|
|
258
267
|
{this.props.children}
|
|
259
268
|
</div>
|
package/StatlessPopover.tsx
CHANGED
|
@@ -17,6 +17,7 @@ export type StatelessPopoverProps = {
|
|
|
17
17
|
outerActionEvents?: string[]
|
|
18
18
|
onOuterAction?: (evt: Event) => void
|
|
19
19
|
trackScroll?: boolean
|
|
20
|
+
role?: 'tooltip' | 'dialog'
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
export class StatelessPopover extends React.Component<StatelessPopoverProps> {
|
|
@@ -40,6 +41,7 @@ export class StatelessPopover extends React.Component<StatelessPopoverProps> {
|
|
|
40
41
|
showTip={props.showTip}
|
|
41
42
|
zIndex={props.zIndex}
|
|
42
43
|
trackScroll={props.trackScroll}
|
|
44
|
+
role={this.props.role}
|
|
43
45
|
>
|
|
44
46
|
{props.body}
|
|
45
47
|
</PopoverContainer>
|
package/dist/Popover.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export declare type PopoverProps = {
|
|
|
79
79
|
showTip?: boolean;
|
|
80
80
|
className?: string;
|
|
81
81
|
trackScroll?: boolean;
|
|
82
|
+
role?: 'tooltip' | 'dialog';
|
|
82
83
|
};
|
|
83
84
|
export declare type PopoverState = {
|
|
84
85
|
isOpen: boolean;
|
|
@@ -111,6 +112,7 @@ export declare class Popover extends React.Component<PopoverProps, PopoverState>
|
|
|
111
112
|
zIndex: PropTypes.Requireable<number>;
|
|
112
113
|
trackScroll: PropTypes.Requireable<boolean>;
|
|
113
114
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
115
|
+
role: PropTypes.Requireable<string>;
|
|
114
116
|
};
|
|
115
117
|
static defaultProps: {
|
|
116
118
|
zIndex: number;
|
|
@@ -11,6 +11,7 @@ declare type PopoverContainerProps = {
|
|
|
11
11
|
getPopoverPosition: GetPopoverPositionType;
|
|
12
12
|
showTip?: boolean;
|
|
13
13
|
zIndex: number;
|
|
14
|
+
role?: 'tooltip' | 'dialog';
|
|
14
15
|
};
|
|
15
16
|
declare type PopoverContainerState = {
|
|
16
17
|
adjusted: boolean;
|
|
@@ -26,6 +27,7 @@ export declare class PopoverContainer extends React.Component<PopoverContainerPr
|
|
|
26
27
|
containerElement: PropTypes.Requireable<object>;
|
|
27
28
|
className: PropTypes.Requireable<string>;
|
|
28
29
|
trackScroll: PropTypes.Requireable<boolean>;
|
|
30
|
+
role: PropTypes.Requireable<string>;
|
|
29
31
|
};
|
|
30
32
|
static defaultProps: {
|
|
31
33
|
trackScroll: boolean;
|
|
@@ -12,6 +12,7 @@ export declare type StatelessPopoverProps = {
|
|
|
12
12
|
outerActionEvents?: string[];
|
|
13
13
|
onOuterAction?: (evt: Event) => void;
|
|
14
14
|
trackScroll?: boolean;
|
|
15
|
+
role?: 'tooltip' | 'dialog';
|
|
15
16
|
};
|
|
16
17
|
export declare class StatelessPopover extends React.Component<StatelessPopoverProps> {
|
|
17
18
|
renderPortalContent({ props, container, positioningTarget }: {
|
package/dist/popover.es.js
CHANGED
|
@@ -205,8 +205,8 @@ function styleInject(css, ref) {
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
var css = ".popover-body-container__popover__12-19-
|
|
209
|
-
var styles = {"popover-body-container":"popover-body-container__popover__12-19-
|
|
208
|
+
var css = ".popover-body-container__popover__12-19-2-alpha-2 {\r\n -webkit-box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\r\n box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\r\n border-radius: var(--BorderRadiusL, 4px);\r\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\r\n background: var(--BackgroundDefault, #FFFFFF);\r\n z-index: var(--ZIndexModal, 10001);\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n}\r\n\r\n.popover-body__popover__12-19-2-alpha-2 {\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n padding: var(--SpaceSM, 12px);\r\n font-size: var(--FontSizeDefault, 13px);\r\n color: var(--FontColorDefault, #000000);\r\n}\r\n\r\n.popover-body--no-padding__popover__12-19-2-alpha-2 {\r\n padding: 0;\r\n }\r\n\r\n.popover-tip__popover__12-19-2-alpha-2 {\r\n position: absolute;\r\n pointer-events: none;\r\n z-index: calc(var(--ZIndexModal, 10001) + 1);\r\n overflow: hidden;\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-align: center;\r\n -ms-flex-align: center;\r\n align-items: center;\r\n -webkit-box-pack: center;\r\n -ms-flex-pack: center;\r\n justify-content: center;\r\n}\r\n\r\n.popover-tip__popover__12-19-2-alpha-2:before {\r\n content: '';\r\n position: absolute;\r\n display: block;\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n background-color: var(--BackgroundDefault, #FFFFFF);\r\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\r\n /*\r\n geometry FTW\r\n\r\n 2*$popoverTipSize\r\n _______ _______\r\n | /|\\ |\r\n | / | \\ | $popoverTipSize\r\n | / | \\ |\r\n |/______|______\\|\r\n since tip is rotated 45 degrees, its width and height is a\r\n diagonal of a square with side=$popoverTipSize, thus diagonal\r\n is sqrt(2) * $popoverTipSize.\r\n sqrt(2) ~= 1.414, 1.4 used here to prevent too much rounding\r\n */\r\n width: 11.2px;\r\n height: 11.2px;\r\n -webkit-transform: rotate(45deg);\r\n transform: rotate(45deg);\r\n }\r\n\r\n.popover-tip--bottom__popover__12-19-2-alpha-2,\r\n .popover-tip--top__popover__12-19-2-alpha-2 {\r\n width: 100%;\r\n border-top: 1px var(--BackgroundDefault, #FFFFFF);\r\n border-bottom: 1px var(--BackgroundDefault, #FFFFFF);\r\n height: 9px;\r\n }\r\n\r\n.popover-tip--left__popover__12-19-2-alpha-2,\r\n .popover-tip--right__popover__12-19-2-alpha-2 {\r\n border-left: 1px var(--BackgroundDefault, #FFFFFF);\r\n border-right: 1px var(--BackgroundDefault, #FFFFFF);\r\n height: 100%;\r\n width: 9px;\r\n }\r\n\r\n/*\r\n To determine tip position, we need to rotate it\r\n along the \"tip\" point, after that, the \"tip\" point\r\n can be placed with exactly 50% offset from the origin\r\n so that it is centered.\r\n */\r\n\r\n.popover-tip--bottom__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: left top;\r\n transform-origin: left top;\r\n left: 50%;\r\n top: 0;\r\n }\r\n\r\n.popover-tip--top__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: right bottom;\r\n transform-origin: right bottom;\r\n right: 50%;\r\n bottom: 0;\r\n }\r\n\r\n.popover-tip--left__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: right top;\r\n transform-origin: right top;\r\n right: 0;\r\n top: 50%;\r\n }\r\n\r\n.popover-tip--right__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: left bottom;\r\n transform-origin: left bottom;\r\n left: 0;\r\n bottom: 50%;\r\n }\r\n";
|
|
209
|
+
var styles = {"popover-body-container":"popover-body-container__popover__12-19-2-alpha-2","popover-body":"popover-body__popover__12-19-2-alpha-2","popover-body--no-padding":"popover-body--no-padding__popover__12-19-2-alpha-2","popover-tip":"popover-tip__popover__12-19-2-alpha-2","popover-tip--bottom":"popover-tip--bottom__popover__12-19-2-alpha-2","popover-tip--top":"popover-tip--top__popover__12-19-2-alpha-2","popover-tip--left":"popover-tip--left__popover__12-19-2-alpha-2","popover-tip--right":"popover-tip--right__popover__12-19-2-alpha-2"};
|
|
210
210
|
styleInject(css);
|
|
211
211
|
|
|
212
212
|
var PopoverBody = function PopoverBody(_ref) {
|
|
@@ -365,6 +365,9 @@ var PopoverContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
365
365
|
value: function componentDidMount() {
|
|
366
366
|
this.mounted = true;
|
|
367
367
|
this.adjustPosition();
|
|
368
|
+
if (this.popoverContentRef) {
|
|
369
|
+
this.popoverContentRef.current.focus();
|
|
370
|
+
}
|
|
368
371
|
if (this.props.trackScroll) {
|
|
369
372
|
document.addEventListener('scroll', this.onScroll);
|
|
370
373
|
window.addEventListener('resize', this.onResize);
|
|
@@ -425,11 +428,14 @@ var PopoverContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
425
428
|
}
|
|
426
429
|
}), React.createElement("div", {
|
|
427
430
|
ref: this.popoverContentRef,
|
|
431
|
+
"aria-modal": "true",
|
|
428
432
|
style: _extends({
|
|
429
433
|
position: 'absolute',
|
|
430
434
|
pointerEvents: 'all'
|
|
431
435
|
}, position),
|
|
432
|
-
className: this.props.className
|
|
436
|
+
className: this.props.className,
|
|
437
|
+
role: this.props.role,
|
|
438
|
+
tabIndex: 0
|
|
433
439
|
}, this.props.children));
|
|
434
440
|
}
|
|
435
441
|
}]);
|
|
@@ -563,7 +569,8 @@ var StatelessPopover = /*#__PURE__*/function (_React$Component) {
|
|
|
563
569
|
positioningTarget: positioningTarget,
|
|
564
570
|
showTip: props.showTip,
|
|
565
571
|
zIndex: props.zIndex,
|
|
566
|
-
trackScroll: props.trackScroll
|
|
572
|
+
trackScroll: props.trackScroll,
|
|
573
|
+
role: this.props.role
|
|
567
574
|
}, props.body);
|
|
568
575
|
if (!props.inline) {
|
|
569
576
|
return ReactDOM.createPortal(popoverContent, container);
|
|
@@ -639,7 +646,8 @@ var Popover = /*#__PURE__*/function (_React$Component) {
|
|
|
639
646
|
}) : this.props.children;
|
|
640
647
|
return React.createElement(StatelessPopover, Object.assign({}, this.props, {
|
|
641
648
|
onOuterAction: this.onOuterAction,
|
|
642
|
-
isOpen: isOpen
|
|
649
|
+
isOpen: isOpen,
|
|
650
|
+
role: this.props.role
|
|
643
651
|
}), children);
|
|
644
652
|
}
|
|
645
653
|
}]);
|
package/dist/popover.js
CHANGED
|
@@ -211,8 +211,8 @@ function styleInject(css, ref) {
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
var css = ".popover-body-container__popover__12-19-
|
|
215
|
-
var styles = {"popover-body-container":"popover-body-container__popover__12-19-
|
|
214
|
+
var css = ".popover-body-container__popover__12-19-2-alpha-2 {\r\n -webkit-box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\r\n box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\r\n border-radius: var(--BorderRadiusL, 4px);\r\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\r\n background: var(--BackgroundDefault, #FFFFFF);\r\n z-index: var(--ZIndexModal, 10001);\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n}\r\n\r\n.popover-body__popover__12-19-2-alpha-2 {\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n padding: var(--SpaceSM, 12px);\r\n font-size: var(--FontSizeDefault, 13px);\r\n color: var(--FontColorDefault, #000000);\r\n}\r\n\r\n.popover-body--no-padding__popover__12-19-2-alpha-2 {\r\n padding: 0;\r\n }\r\n\r\n.popover-tip__popover__12-19-2-alpha-2 {\r\n position: absolute;\r\n pointer-events: none;\r\n z-index: calc(var(--ZIndexModal, 10001) + 1);\r\n overflow: hidden;\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-align: center;\r\n -ms-flex-align: center;\r\n align-items: center;\r\n -webkit-box-pack: center;\r\n -ms-flex-pack: center;\r\n justify-content: center;\r\n}\r\n\r\n.popover-tip__popover__12-19-2-alpha-2:before {\r\n content: '';\r\n position: absolute;\r\n display: block;\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box;\r\n background-color: var(--BackgroundDefault, #FFFFFF);\r\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\r\n /*\r\n geometry FTW\r\n\r\n 2*$popoverTipSize\r\n _______ _______\r\n | /|\\ |\r\n | / | \\ | $popoverTipSize\r\n | / | \\ |\r\n |/______|______\\|\r\n since tip is rotated 45 degrees, its width and height is a\r\n diagonal of a square with side=$popoverTipSize, thus diagonal\r\n is sqrt(2) * $popoverTipSize.\r\n sqrt(2) ~= 1.414, 1.4 used here to prevent too much rounding\r\n */\r\n width: 11.2px;\r\n height: 11.2px;\r\n -webkit-transform: rotate(45deg);\r\n transform: rotate(45deg);\r\n }\r\n\r\n.popover-tip--bottom__popover__12-19-2-alpha-2,\r\n .popover-tip--top__popover__12-19-2-alpha-2 {\r\n width: 100%;\r\n border-top: 1px var(--BackgroundDefault, #FFFFFF);\r\n border-bottom: 1px var(--BackgroundDefault, #FFFFFF);\r\n height: 9px;\r\n }\r\n\r\n.popover-tip--left__popover__12-19-2-alpha-2,\r\n .popover-tip--right__popover__12-19-2-alpha-2 {\r\n border-left: 1px var(--BackgroundDefault, #FFFFFF);\r\n border-right: 1px var(--BackgroundDefault, #FFFFFF);\r\n height: 100%;\r\n width: 9px;\r\n }\r\n\r\n/*\r\n To determine tip position, we need to rotate it\r\n along the \"tip\" point, after that, the \"tip\" point\r\n can be placed with exactly 50% offset from the origin\r\n so that it is centered.\r\n */\r\n\r\n.popover-tip--bottom__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: left top;\r\n transform-origin: left top;\r\n left: 50%;\r\n top: 0;\r\n }\r\n\r\n.popover-tip--top__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: right bottom;\r\n transform-origin: right bottom;\r\n right: 50%;\r\n bottom: 0;\r\n }\r\n\r\n.popover-tip--left__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: right top;\r\n transform-origin: right top;\r\n right: 0;\r\n top: 50%;\r\n }\r\n\r\n.popover-tip--right__popover__12-19-2-alpha-2:before {\r\n -webkit-transform-origin: left bottom;\r\n transform-origin: left bottom;\r\n left: 0;\r\n bottom: 50%;\r\n }\r\n";
|
|
215
|
+
var styles = {"popover-body-container":"popover-body-container__popover__12-19-2-alpha-2","popover-body":"popover-body__popover__12-19-2-alpha-2","popover-body--no-padding":"popover-body--no-padding__popover__12-19-2-alpha-2","popover-tip":"popover-tip__popover__12-19-2-alpha-2","popover-tip--bottom":"popover-tip--bottom__popover__12-19-2-alpha-2","popover-tip--top":"popover-tip--top__popover__12-19-2-alpha-2","popover-tip--left":"popover-tip--left__popover__12-19-2-alpha-2","popover-tip--right":"popover-tip--right__popover__12-19-2-alpha-2"};
|
|
216
216
|
styleInject(css);
|
|
217
217
|
|
|
218
218
|
var PopoverBody = function PopoverBody(_ref) {
|
|
@@ -371,6 +371,9 @@ var PopoverContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
371
371
|
value: function componentDidMount() {
|
|
372
372
|
this.mounted = true;
|
|
373
373
|
this.adjustPosition();
|
|
374
|
+
if (this.popoverContentRef) {
|
|
375
|
+
this.popoverContentRef.current.focus();
|
|
376
|
+
}
|
|
374
377
|
if (this.props.trackScroll) {
|
|
375
378
|
document.addEventListener('scroll', this.onScroll);
|
|
376
379
|
window.addEventListener('resize', this.onResize);
|
|
@@ -431,11 +434,14 @@ var PopoverContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
431
434
|
}
|
|
432
435
|
}), React.createElement("div", {
|
|
433
436
|
ref: this.popoverContentRef,
|
|
437
|
+
"aria-modal": "true",
|
|
434
438
|
style: _extends({
|
|
435
439
|
position: 'absolute',
|
|
436
440
|
pointerEvents: 'all'
|
|
437
441
|
}, position),
|
|
438
|
-
className: this.props.className
|
|
442
|
+
className: this.props.className,
|
|
443
|
+
role: this.props.role,
|
|
444
|
+
tabIndex: 0
|
|
439
445
|
}, this.props.children));
|
|
440
446
|
}
|
|
441
447
|
}]);
|
|
@@ -569,7 +575,8 @@ var StatelessPopover = /*#__PURE__*/function (_React$Component) {
|
|
|
569
575
|
positioningTarget: positioningTarget,
|
|
570
576
|
showTip: props.showTip,
|
|
571
577
|
zIndex: props.zIndex,
|
|
572
|
-
trackScroll: props.trackScroll
|
|
578
|
+
trackScroll: props.trackScroll,
|
|
579
|
+
role: this.props.role
|
|
573
580
|
}, props.body);
|
|
574
581
|
if (!props.inline) {
|
|
575
582
|
return ReactDOM.createPortal(popoverContent, container);
|
|
@@ -645,7 +652,8 @@ var Popover = /*#__PURE__*/function (_React$Component) {
|
|
|
645
652
|
}) : this.props.children;
|
|
646
653
|
return React.createElement(StatelessPopover, Object.assign({}, this.props, {
|
|
647
654
|
onOuterAction: this.onOuterAction,
|
|
648
|
-
isOpen: isOpen
|
|
655
|
+
isOpen: isOpen,
|
|
656
|
+
role: this.props.role
|
|
649
657
|
}), children);
|
|
650
658
|
}
|
|
651
659
|
}]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@targetprocess/popover",
|
|
3
|
-
"version": "12.19.
|
|
3
|
+
"version": "12.19.2-alpha.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/popover.js",
|
|
6
6
|
"module": "dist/popover.es.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"prepack": "node -r ../../.ts-node.js ../../config/rollup.config.js ."
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@targetprocess/global-constants": "^12.
|
|
15
|
+
"@targetprocess/global-constants": "^12.7.3",
|
|
16
16
|
"classnames": "^2.2.5",
|
|
17
17
|
"prop-types": "^15.6.0",
|
|
18
18
|
"react": "^16.7.0",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "fda5a3cbb69aa225110e871cb7763d3fc644d798"
|
|
25
25
|
}
|