@decisiv/ui-components 2.0.1-alpha.195 → 2.0.1-alpha.197
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/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/Drawer/index.d.ts.map +1 -1
- package/lib/components/Drawer/index.js +12 -2
- package/lib/components/Drawer/index.test.js +17 -0
- package/lib/components/JumpTo/JumpToMenu.d.ts.map +1 -1
- package/lib/components/JumpTo/JumpToMenu.js +23 -4
- package/lib/components/JumpTo/index.test.js +84 -0
- package/lib/components/Popover/index.d.ts.map +1 -1
- package/lib/components/Popover/index.js +3 -2
- package/lib/components/Popover/types.d.ts +1 -0
- package/lib/components/Popover/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -14,7 +14,7 @@ export interface DrawerProps extends HeaderProps, FooterProps {
|
|
|
14
14
|
side?: 'left' | 'right';
|
|
15
15
|
zIndex?: number;
|
|
16
16
|
visible?: boolean;
|
|
17
|
-
onClose?: (event:
|
|
17
|
+
onClose?: (event: MouseEvent | KeyboardEvent) => void;
|
|
18
18
|
}
|
|
19
19
|
export declare type OverlayProps = Pick<DrawerProps, 'zIndex' | 'side' | 'visible'>;
|
|
20
20
|
declare const Drawer: React.FC<DrawerProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAmBhD,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,MAAO,SAAQ,WAAW;IAClC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,WAAY,SAAQ,WAAW,EAAE,WAAW;IAC3D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,KAAK,IAAI,CAAC;CACvD;AAED,oBAAY,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;AAE5E,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAmHjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -25,6 +25,8 @@ var _styles = require("./styles");
|
|
|
25
25
|
|
|
26
26
|
var _useTranslations = _interopRequireDefault(require("../../utils/useTranslations"));
|
|
27
27
|
|
|
28
|
+
var _useClickOutside = _interopRequireDefault(require("../../utils/useClickOutside"));
|
|
29
|
+
|
|
28
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
31
|
|
|
30
32
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
|
|
@@ -47,11 +49,18 @@ var Drawer = function Drawer(_ref) {
|
|
|
47
49
|
createPortal = _useConfig.createPortal;
|
|
48
50
|
|
|
49
51
|
var translate = (0, _useTranslations.default)();
|
|
52
|
+
var contentRef = (0, _react.useRef)(null);
|
|
50
53
|
var onKeyDown = (0, _react.useCallback)(function (event) {
|
|
51
54
|
if (event.key === 'Escape') {
|
|
52
55
|
onClose && onClose(event);
|
|
53
56
|
}
|
|
54
|
-
}, [onClose]);
|
|
57
|
+
}, [onClose]);
|
|
58
|
+
var handleOnClickOutside = (0, _react.useCallback)(function (event) {
|
|
59
|
+
if (onClose && visible) {
|
|
60
|
+
onClose(event);
|
|
61
|
+
}
|
|
62
|
+
}, [onClose, visible]);
|
|
63
|
+
(0, _useClickOutside.default)([contentRef], handleOnClickOutside); // Allow closing the modal by pressing the Escape key
|
|
55
64
|
|
|
56
65
|
(0, _react.useEffect)(function () {
|
|
57
66
|
if (visible && _canUseDOM.default) {
|
|
@@ -74,8 +83,9 @@ var Drawer = function Drawer(_ref) {
|
|
|
74
83
|
visible: visible,
|
|
75
84
|
"data-testid": "overlay"
|
|
76
85
|
}, _react.default.createElement(_styles.Content, {
|
|
77
|
-
|
|
86
|
+
ref: contentRef,
|
|
78
87
|
side: side,
|
|
88
|
+
visible: visible,
|
|
79
89
|
"data-testid": "content"
|
|
80
90
|
}, showHeader && _react.default.createElement(_styles.Header, {
|
|
81
91
|
"data-testid": "drawer-header"
|
|
@@ -119,4 +119,21 @@ describe('Drawer', function () {
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
});
|
|
122
|
+
describe('click outside', function () {
|
|
123
|
+
it('calls the "onClose" function when clicking outside the Drawer', function () {
|
|
124
|
+
var onClose = jest.fn();
|
|
125
|
+
|
|
126
|
+
var _render7 = render(_react.default.createElement(_.default, {
|
|
127
|
+
visible: true,
|
|
128
|
+
onClose: onClose
|
|
129
|
+
})),
|
|
130
|
+
getByTestId = _render7.getByTestId;
|
|
131
|
+
|
|
132
|
+
var overlay = getByTestId(/overlay/i);
|
|
133
|
+
|
|
134
|
+
_react2.fireEvent.click(overlay);
|
|
135
|
+
|
|
136
|
+
expect(onClose).toHaveBeenCalled();
|
|
137
|
+
});
|
|
138
|
+
});
|
|
122
139
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JumpToMenu.d.ts","sourceRoot":"","sources":["../../../src/components/JumpTo/JumpToMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"JumpToMenu.d.ts","sourceRoot":"","sources":["../../../src/components/JumpTo/JumpToMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAcf,OAAO,EAAc,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA4J7D,QAAA,MAAM,iBAAiB,+EAAyB,CAAC;AAKjD,eAAe,iBAAiB,CAAC"}
|
|
@@ -75,7 +75,8 @@ function JumpToMenu(props, forwardedRef) {
|
|
|
75
75
|
hide: function hide() {},
|
|
76
76
|
isVisible: false,
|
|
77
77
|
show: function show() {},
|
|
78
|
-
toggle: function toggle() {}
|
|
78
|
+
toggle: function toggle() {},
|
|
79
|
+
contentNode: null
|
|
79
80
|
}),
|
|
80
81
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
81
82
|
popover = _useState4[0],
|
|
@@ -113,6 +114,7 @@ function JumpToMenu(props, forwardedRef) {
|
|
|
113
114
|
selector = _ref2.selector;
|
|
114
115
|
itemSelected.current = true;
|
|
115
116
|
popover.hide();
|
|
117
|
+
setIsPopoverVisible(false);
|
|
116
118
|
selector && (0, _utils.jumpToSelector)(selector, globalOffset, itemOffset);
|
|
117
119
|
};
|
|
118
120
|
|
|
@@ -124,10 +126,27 @@ function JumpToMenu(props, forwardedRef) {
|
|
|
124
126
|
}, []);
|
|
125
127
|
var handleMouseEnter = (0, _react.useCallback)(function () {
|
|
126
128
|
setIsPopoverVisible(true);
|
|
127
|
-
|
|
129
|
+
|
|
130
|
+
if (popover && popover.contentNode) {
|
|
131
|
+
(0, _focusWithoutScrolling.default)(popover.contentNode);
|
|
132
|
+
}
|
|
133
|
+
}, [openOnMouseHover, popover, popover && popover.contentNode]);
|
|
128
134
|
var handleMouseLeave = (0, _react.useCallback)(function () {
|
|
129
135
|
setIsPopoverVisible(false);
|
|
130
136
|
}, [openOnMouseHover, popover]);
|
|
137
|
+
var handleMouseEnterButton = (0, _react.useCallback)(function () {
|
|
138
|
+
if (openOnMouseHover) {
|
|
139
|
+
buttonRef && buttonRef.current && (0, _focusWithoutScrolling.default)(buttonRef.current);
|
|
140
|
+
setIsPopoverVisible(true);
|
|
141
|
+
|
|
142
|
+
if (popover && popover.contentNode) {
|
|
143
|
+
(0, _focusWithoutScrolling.default)(popover.contentNode);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}, [openOnMouseHover, buttonRef, popover && popover.contentNode]);
|
|
147
|
+
(0, _react.useEffect)(function () {
|
|
148
|
+
if (!debouncedVisible) itemSelected.current = false;
|
|
149
|
+
}, [debouncedVisible, itemSelected.current]);
|
|
131
150
|
return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_Button.default, _extends({
|
|
132
151
|
icon: popover.isVisible ? _ChevronUp.default : _ChevronDown.default,
|
|
133
152
|
iconPosition: "right",
|
|
@@ -137,7 +156,7 @@ function JumpToMenu(props, forwardedRef) {
|
|
|
137
156
|
size: "small",
|
|
138
157
|
text: translate(label, 'jumpTo.menuLabel'),
|
|
139
158
|
variant: "ghost",
|
|
140
|
-
onMouseEnter:
|
|
159
|
+
onMouseEnter: handleMouseEnterButton,
|
|
141
160
|
onMouseLeave: handleMouseLeave
|
|
142
161
|
}, popover.ariaAttributes)), _react.default.createElement(_Popover.default, {
|
|
143
162
|
contentRole: "menu",
|
|
@@ -148,7 +167,7 @@ function JumpToMenu(props, forwardedRef) {
|
|
|
148
167
|
zIndex: zIndex,
|
|
149
168
|
onShow: onShow,
|
|
150
169
|
onHide: onHide,
|
|
151
|
-
visible: openOnMouseHover ? debouncedVisible : undefined,
|
|
170
|
+
visible: openOnMouseHover ? debouncedVisible && !itemSelected.current : undefined,
|
|
152
171
|
onMouseEnter: handleMouseEnter,
|
|
153
172
|
onMouseLeave: handleMouseLeave
|
|
154
173
|
}, _react.default.createElement(_Menu.default, _extends({
|
|
@@ -124,4 +124,88 @@ describe('JumpTo', function () {
|
|
|
124
124
|
expect(container.children[0].childElementCount).toEqual(0);
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
|
+
describe('with openOnMouseHover', function () {
|
|
128
|
+
it('renders list on hover', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
129
|
+
var label, items, _renderJumpTo4, baseElement, getByText;
|
|
130
|
+
|
|
131
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
132
|
+
while (1) {
|
|
133
|
+
switch (_context2.prev = _context2.next) {
|
|
134
|
+
case 0:
|
|
135
|
+
label = 'TEST LABEL';
|
|
136
|
+
items = [{
|
|
137
|
+
label: 'First Item',
|
|
138
|
+
selector: '#item-1'
|
|
139
|
+
}, {
|
|
140
|
+
label: 'Second Item',
|
|
141
|
+
selector: '#item-2'
|
|
142
|
+
}];
|
|
143
|
+
_renderJumpTo4 = renderJumpTo({
|
|
144
|
+
label: label,
|
|
145
|
+
items: items,
|
|
146
|
+
openOnMouseHover: true,
|
|
147
|
+
variant: 'menu'
|
|
148
|
+
}), baseElement = _renderJumpTo4.baseElement, getByText = _renderJumpTo4.getByText;
|
|
149
|
+
(0, _react2.act)(function () {
|
|
150
|
+
_react2.fireEvent.mouseEnter(getByText(label));
|
|
151
|
+
});
|
|
152
|
+
_context2.next = 6;
|
|
153
|
+
return (0, _react2.waitForElement)(function () {
|
|
154
|
+
return getByText(items[0].label);
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
case 6:
|
|
158
|
+
expect(baseElement).toMatchSnapshot();
|
|
159
|
+
|
|
160
|
+
case 7:
|
|
161
|
+
case "end":
|
|
162
|
+
return _context2.stop();
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}, _callee2);
|
|
166
|
+
})));
|
|
167
|
+
it('closes popover after selecting an item', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
168
|
+
var label, items, _renderJumpTo5, baseElement, getByText, queryByText;
|
|
169
|
+
|
|
170
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
171
|
+
while (1) {
|
|
172
|
+
switch (_context3.prev = _context3.next) {
|
|
173
|
+
case 0:
|
|
174
|
+
label = 'TEST LABEL';
|
|
175
|
+
items = [{
|
|
176
|
+
label: 'First Item',
|
|
177
|
+
selector: '#item-1'
|
|
178
|
+
}, {
|
|
179
|
+
label: 'Second Item',
|
|
180
|
+
selector: '#item-2'
|
|
181
|
+
}];
|
|
182
|
+
_renderJumpTo5 = renderJumpTo({
|
|
183
|
+
label: label,
|
|
184
|
+
items: items,
|
|
185
|
+
openOnMouseHover: true,
|
|
186
|
+
variant: 'menu'
|
|
187
|
+
}), baseElement = _renderJumpTo5.baseElement, getByText = _renderJumpTo5.getByText, queryByText = _renderJumpTo5.queryByText;
|
|
188
|
+
(0, _react2.act)(function () {
|
|
189
|
+
_react2.fireEvent.mouseEnter(getByText(label));
|
|
190
|
+
});
|
|
191
|
+
_context3.next = 6;
|
|
192
|
+
return (0, _react2.waitForElement)(function () {
|
|
193
|
+
return getByText(items[0].label);
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
case 6:
|
|
197
|
+
(0, _react2.act)(function () {
|
|
198
|
+
_react2.fireEvent.click(getByText(items[0].label));
|
|
199
|
+
});
|
|
200
|
+
expect(queryByText(items[0].label)).toBeNull();
|
|
201
|
+
expect(baseElement).toMatchSnapshot();
|
|
202
|
+
|
|
203
|
+
case 9:
|
|
204
|
+
case "end":
|
|
205
|
+
return _context3.stop();
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}, _callee3);
|
|
209
|
+
})));
|
|
210
|
+
});
|
|
127
211
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.tsx"],"names":[],"mappings":"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,oBAAY,WAAW,GAAG,eAAe,CAAC;AAC1C,oBAAY,WAAW,GAAG,eAAe,CAAC;AAC1C,oBAAY,SAAS,GAAG,aAAa,CAAC;AACtC,oBAAY,YAAY,GAAG,SAAS,CAAC;AACrC,oBAAY,MAAM,GAAG,aAAa,CAAC;AACnC,oBAAY,cAAc,GAAG,kBAAkB,CAAC;AAChD,oBAAY,mBAAmB,GAAG,uBAAuB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AAyQnC,QAAA,MAAM,cAAc,mFAAsB,CAAC;AAkD3C,eAAe,cAAc,CAAC"}
|
|
@@ -199,9 +199,10 @@ var Popover = function Popover(props, instanceRef) {
|
|
|
199
199
|
isVisible: isVisible,
|
|
200
200
|
show: show,
|
|
201
201
|
toggle: toggle,
|
|
202
|
-
targetNode: targetNode
|
|
202
|
+
targetNode: targetNode,
|
|
203
|
+
contentNode: contentRef.current
|
|
203
204
|
});
|
|
204
|
-
}, [instanceRef, ariaAttributes, hide, isVisible, show, toggle, targetNode]); // React to changes to the `visible` prop if we are a controlled component
|
|
205
|
+
}, [instanceRef, ariaAttributes, hide, isVisible, show, toggle, targetNode, contentRef && contentRef.current]); // React to changes to the `visible` prop if we are a controlled component
|
|
205
206
|
|
|
206
207
|
(0, _react.useEffect)(function () {
|
|
207
208
|
return setIsVisible(visible !== undefined ? visible : isVisible);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EACL,cAAc,EACd,cAAc,EACd,YAAY,EACZ,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAE,UAAU,E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
2
|
"name": "@decisiv/ui-components",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.197+38aedc2",
|
|
4
4
|
"description": "Decisiv's design system React components",
|
|
5
5
|
"author": "Decisiv UI Development Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"private": false,
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "38aedc23c6e54372524d3b975486e84d8575fcce"
|
|
75
75
|
}
|