@qoretechnologies/reqore 0.30.3 → 0.30.4

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.
@@ -1,5 +1,5 @@
1
1
  import { act, fireEvent, render, screen } from '@testing-library/react';
2
- import React, { useContext } from 'react';
2
+ import React, { useContext, useState } from 'react';
3
3
  import {
4
4
  ReqoreButton,
5
5
  ReqoreContent,
@@ -7,6 +7,7 @@ import {
7
7
  ReqoreLayoutContent,
8
8
  ReqoreModal,
9
9
  ReqoreUIProvider,
10
+ useReqore,
10
11
  } from '../src';
11
12
 
12
13
  test('Renders basic <Modal /> properly', () => {
@@ -94,13 +95,52 @@ const ConfirmButton = ({ confirmFn, cancelFn }) => {
94
95
  );
95
96
  };
96
97
 
98
+ const ConfirmButtonFromModal = ({ confirmFn, cancelFn }) => {
99
+ const { confirmAction } = useReqore();
100
+ const [isDialogOpen, setIsDialogOpen] = useState(false);
101
+
102
+ return (
103
+ <>
104
+ <ReqoreButton
105
+ id='dialog'
106
+ onClick={() => {
107
+ setIsDialogOpen(true);
108
+ }}
109
+ >
110
+ Open Dialog
111
+ </ReqoreButton>
112
+ {isDialogOpen && (
113
+ <ReqoreModal
114
+ isOpen
115
+ id='confirm'
116
+ actions={[
117
+ {
118
+ label: 'Open Confirm',
119
+ id: 'open-confirm',
120
+ onClick: () => {
121
+ confirmAction({
122
+ description: 'Do you really wanna do this?',
123
+ onConfirm: () => confirmFn(),
124
+ onCancel: () => cancelFn(),
125
+ });
126
+ },
127
+ },
128
+ ]}
129
+ >
130
+ Modal
131
+ </ReqoreModal>
132
+ )}
133
+ </>
134
+ );
135
+ };
136
+
97
137
  test('Renders confirmation <Modal /> ', () => {
98
138
  const confirmFn = jest.fn();
99
139
  const cancelFn = jest.fn();
100
140
 
101
141
  act(() => {
102
142
  render(
103
- <ReqoreUIProvider>
143
+ <ReqoreUIProvider options={{ animations: { dialogs: false } }}>
104
144
  <ReqoreLayoutContent>
105
145
  <ReqoreContent>
106
146
  <ConfirmButton confirmFn={confirmFn} cancelFn={cancelFn} />
@@ -130,3 +170,35 @@ test('Renders confirmation <Modal /> ', () => {
130
170
 
131
171
  expect(cancelFn).toHaveBeenCalledTimes(2);
132
172
  });
173
+
174
+ test('Always renders confirmation <Modal /> properly above a normal modal', () => {
175
+ const confirmFn = jest.fn();
176
+ const cancelFn = jest.fn();
177
+
178
+ act(() => {
179
+ render(
180
+ <ReqoreUIProvider options={{ animations: { dialogs: false } }}>
181
+ <ReqoreLayoutContent>
182
+ <ReqoreContent>
183
+ <ConfirmButtonFromModal confirmFn={confirmFn} cancelFn={cancelFn} />
184
+ </ReqoreContent>
185
+ </ReqoreLayoutContent>
186
+ </ReqoreUIProvider>
187
+ );
188
+ });
189
+
190
+ fireEvent.click(document.getElementById('dialog')!);
191
+ expect(document.querySelectorAll('.reqore-modal').length).toBe(1);
192
+
193
+ fireEvent.click(screen.getAllByText('Open Confirm')[0]);
194
+ expect(document.querySelectorAll('.reqore-modal').length).toBe(2);
195
+ expect(document.querySelectorAll('.reqore-confirmation-modal').length).toBe(1);
196
+
197
+ // @ts-ignore
198
+ const zIndex = document.querySelectorAll('.reqore-modal')[0].style.zIndex;
199
+ // @ts-ignore
200
+ const zIndexConfirmation = document.querySelectorAll('.reqore-confirmation-modal')[0].style
201
+ .zIndex;
202
+
203
+ expect(parseInt(zIndexConfirmation)).toBeGreaterThan(parseInt(zIndex));
204
+ });
@@ -32,5 +32,5 @@ export interface IReqoreDrawerStyle extends IReqoreDrawerProps {
32
32
  export declare const StyledCloseWrapper: any;
33
33
  export declare const StyledDrawerResizable: any;
34
34
  export declare const StyledBackdrop: any;
35
- export declare const ReqoreDrawer: ({ children, isOpen, isHidden, customTheme, position, maxSize, minSize, onClose, hasBackdrop, size, resizable, hidable, onHideToggle, className, flat, floating, blur, opacity, intent, _isModal, width, height, ...rest }: IReqoreDrawerProps) => import("react").ReactPortal;
35
+ export declare const ReqoreDrawer: ({ children, isOpen, isHidden, customTheme, position, maxSize, minSize, onClose, hasBackdrop, size, resizable, hidable, onHideToggle, className, flat, floating, blur, opacity, intent, _isModal, width, height, actions, ...rest }: IReqoreDrawerProps) => import("react").ReactPortal;
36
36
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAOrD,OAAO,EAAsB,iBAAiB,EAAe,MAAM,UAAU,CAAC;AAE9E,oBAAY,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5D,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACzE,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1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IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D,KAAK,EAAE,YAAY,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,KA+C9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAAyB,CAAC;AAE5D,eAAO,MAAM,cAAc,KAY1B,CAAC;AAsCF,eAAO,MAAM,YAAY,uOAyBtB,kBAAkB,gCAsNpB,CAAC"}
@@ -48,6 +48,15 @@ var __rest = (this && this.__rest) || function (s, e) {
48
48
  }
49
49
  return t;
50
50
  };
51
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
52
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
53
+ if (ar || !(i in from)) {
54
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
55
+ ar[i] = from[i];
56
+ }
57
+ }
58
+ return to.concat(ar || Array.prototype.slice.call(from));
59
+ };
51
60
  var __importDefault = (this && this.__importDefault) || function (mod) {
52
61
  return (mod && mod.__esModule) ? mod : { "default": mod };
53
62
  };
@@ -129,17 +138,17 @@ var getSpringConfig = function (isModal, position, floating) {
129
138
  };
130
139
  };
131
140
  var ReqoreDrawer = function (_a) {
132
- var children = _a.children, isOpen = _a.isOpen, isHidden = _a.isHidden, customTheme = _a.customTheme, _b = _a.position, position = _b === void 0 ? 'right' : _b, maxSize = _a.maxSize, _c = _a.minSize, minSize = _c === void 0 ? '150px' : _c, onClose = _a.onClose, _d = _a.hasBackdrop, hasBackdrop = _d === void 0 ? true : _d, size = _a.size, _e = _a.resizable, resizable = _e === void 0 ? true : _e, hidable = _a.hidable, onHideToggle = _a.onHideToggle, className = _a.className, flat = _a.flat, floating = _a.floating, blur = _a.blur, opacity = _a.opacity, intent = _a.intent, _isModal = _a._isModal, width = _a.width, height = _a.height, rest = __rest(_a, ["children", "isOpen", "isHidden", "customTheme", "position", "maxSize", "minSize", "onClose", "hasBackdrop", "size", "resizable", "hidable", "onHideToggle", "className", "flat", "floating", "blur", "opacity", "intent", "_isModal", "width", "height"]);
141
+ var children = _a.children, isOpen = _a.isOpen, isHidden = _a.isHidden, customTheme = _a.customTheme, _b = _a.position, position = _b === void 0 ? 'right' : _b, maxSize = _a.maxSize, _c = _a.minSize, minSize = _c === void 0 ? '150px' : _c, onClose = _a.onClose, _d = _a.hasBackdrop, hasBackdrop = _d === void 0 ? true : _d, size = _a.size, _e = _a.resizable, resizable = _e === void 0 ? true : _e, hidable = _a.hidable, onHideToggle = _a.onHideToggle, className = _a.className, flat = _a.flat, floating = _a.floating, blur = _a.blur, opacity = _a.opacity, intent = _a.intent, _isModal = _a._isModal, width = _a.width, height = _a.height, _f = _a.actions, actions = _f === void 0 ? [] : _f, rest = __rest(_a, ["children", "isOpen", "isHidden", "customTheme", "position", "maxSize", "minSize", "onClose", "hasBackdrop", "size", "resizable", "hidable", "onHideToggle", "className", "flat", "floating", "blur", "opacity", "intent", "_isModal", "width", "height", "actions"]);
133
142
  var animations = (0, react_1.useContext)(__1.ReqoreContext).animations;
134
143
  var theme = (0, useTheme_1.useReqoreTheme)('main', customTheme, intent);
135
144
  var layout = (0, react_1.useMemo)(function () {
136
145
  return _isModal ? 'center' : position === 'top' || position === 'bottom' ? 'horizontal' : 'vertical';
137
146
  }, [position, _isModal]);
138
- var _f = (0, react_1.useState)(isHidden || false), _isHidden = _f[0], setIsHidden = _f[1];
139
- var _g = (0, react_1.useState)({
147
+ var _g = (0, react_1.useState)(isHidden || false), _isHidden = _g[0], setIsHidden = _g[1];
148
+ var _h = (0, react_1.useState)({
140
149
  width: width || (layout === 'horizontal' ? 'auto' : size || '300px'),
141
150
  height: height || (layout === 'vertical' ? 'auto' : size || '300px')
142
- }), _size = _g[0], setSize = _g[1];
151
+ }), _size = _h[0], setSize = _h[1];
143
152
  (0, react_1.useEffect)(function () {
144
153
  setSize({
145
154
  width: width || (layout === 'horizontal' ? 'auto' : size || '300px'),
@@ -149,11 +158,11 @@ var ReqoreDrawer = function (_a) {
149
158
  var transitions = (0, web_1.useTransition)(isOpen, __assign(__assign({}, getSpringConfig(_isModal, position, floating)), { config: animations.dialogs ? animations_1.SPRING_CONFIG : animations_1.SPRING_CONFIG_NO_ANIMATIONS }));
150
159
  var zIndex = (0, useLatestZIndex_1["default"])();
151
160
  var wrapperZIndex = (0, useLatestZIndex_1["default"])();
152
- var actions = (0, react_1.useMemo)(function () {
153
- var actions = [];
161
+ var _actions = (0, react_1.useMemo)(function () {
162
+ var builtActions = __spreadArray([], actions, true);
154
163
  /* Adding a hide/show button to the drawer. */
155
164
  if (hidable) {
156
- actions.push({
165
+ builtActions.push({
157
166
  responsive: false,
158
167
  icon: getHideShowIcon(position, _isHidden),
159
168
  onClick: function () {
@@ -167,14 +176,14 @@ var ReqoreDrawer = function (_a) {
167
176
  }
168
177
  /* Adding a close button to the drawer. */
169
178
  if (onClose) {
170
- actions.push({
179
+ builtActions.push({
171
180
  responsive: false,
172
181
  icon: 'CloseLine',
173
182
  onClick: onClose,
174
183
  className: 'reqore-drawer-close-button'
175
184
  });
176
185
  }
177
- return actions;
186
+ return builtActions;
178
187
  }, [hidable, position, onClose]);
179
188
  var positions = (0, react_1.useMemo)(function () {
180
189
  /* Centering the modal. */
@@ -195,7 +204,7 @@ var ReqoreDrawer = function (_a) {
195
204
  return (0, react_dom_1.createPortal)(transitions(function (styles, item) {
196
205
  return item ? ((0, jsx_runtime_1.jsxs)(ThemeProvider_1["default"], __assign({ theme: theme }, { children: [hasBackdrop && !_isHidden ? ((0, jsx_runtime_1.jsx)(exports.StyledBackdrop, { className: 'reqore-drawer-backdrop', onClick: function () { return onClose && onClose(); }, closable: !!onClose, zIndex: zIndex, blur: blur, style: {
197
206
  opacity: styles.opacity
198
- } })) : null, (0, jsx_runtime_1.jsxs)(re_resizable_1.Resizable, __assign({ className: 'reqore-drawer-resizable', maxHeight: layout === 'horizontal' || layout === 'center' ? maxSize || '90vh' : undefined, minHeight: layout === 'center'
207
+ } })) : null, (0, jsx_runtime_1.jsxs)(re_resizable_1.Resizable, __assign({ className: "".concat(className || '', " reqore-drawer-resizable"), maxHeight: layout === 'horizontal' || layout === 'center' ? maxSize || '90vh' : undefined, minHeight: layout === 'center'
199
208
  ? '40px'
200
209
  : layout === 'horizontal'
201
210
  ? _isHidden
@@ -240,10 +249,10 @@ var ReqoreDrawer = function (_a) {
240
249
  bottomRight: _isModal,
241
250
  topLeft: _isModal,
242
251
  topRight: _isModal
243
- } }, { children: [_isHidden && hidable ? ((0, jsx_runtime_1.jsx)(exports.StyledCloseWrapper, __assign({ className: 'reqore-drawer-controls', position: position, w: layout === 'vertical' && _isHidden ? 0 : _size.width, h: layout === 'horizontal' && _isHidden ? 0 : _size.height }, { children: hidable && ((0, jsx_runtime_1.jsx)(Button_1["default"], { flat: true, customTheme: theme, className: 'reqore-drawer-control reqore-drawer-hide-button', icon: getHideShowIcon(position, _isHidden), onClick: function () {
252
+ } }, { children: [_isHidden && hidable ? ((0, jsx_runtime_1.jsx)(exports.StyledCloseWrapper, __assign({ className: 'reqore-drawer-controls', position: position, w: layout === 'vertical' ? 0 : _size.width, h: layout === 'horizontal' ? 0 : _size.height }, { children: (0, jsx_runtime_1.jsx)(Button_1["default"], { flat: true, customTheme: theme, className: 'reqore-drawer-control reqore-drawer-hide-button', icon: getHideShowIcon(position, _isHidden), onClick: function () {
244
253
  setIsHidden(!_isHidden);
245
254
  onHideToggle && onHideToggle(!_isHidden);
246
- } })) }))) : null, !_isHidden && ((0, jsx_runtime_1.jsx)(Panel_1.ReqorePanel, __assign({}, rest, { opacity: opacity, blur: hasBackdrop ? 0 : blur, actions: actions, customTheme: customTheme, intent: intent, rounded: floating || _isModal ? true : false, flat: flat, className: "".concat(className || '', " reqore-drawer"), style: __assign({ width: '100%', maxHeight: '100%' }, rest.style) }, { children: children })))] }))] }))) : null;
255
+ } }) }))) : null, !_isHidden && ((0, jsx_runtime_1.jsx)(Panel_1.ReqorePanel, __assign({}, rest, { opacity: opacity, blur: hasBackdrop ? 0 : blur, actions: _actions, customTheme: customTheme, intent: intent, rounded: floating || _isModal ? true : false, flat: flat, className: "reqore-drawer", style: __assign({ width: '100%', maxHeight: '100%' }, rest.style) }, { children: children })))] }))] }))) : null;
247
256
  }), document.querySelector('#reqore-portal'));
248
257
  };
249
258
  exports.ReqoreDrawer = ReqoreDrawer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA4D;AAC5D,qCAAgC;AAChC,6CAAyC;AACzC,+BAAiE;AACjE,uCAAyC;AACzC,qEAAgD;AAChD,2BAAsC;AACtC,yDAAwF;AAExF,iFAAiE;AACjE,+CAA8D;AAC9D,gFAA0D;AAC1D,iDAAsD;AAEtD,qDAAqC;AACrC,kCAA8E;AAiCjE,QAAA,kBAAkB,GAAG,8BAAM,CAAC,GAAG,wGAAoB,+BAG5D,EA2CD,IACF,KA5CG,UAAC,EAAkB;QAAhB,QAAQ,cAAA,EAAE,CAAC,OAAA,EAAE,CAAC,OAAA;IACjB,QAAQ,QAAQ,EAAE;QAChB,KAAK,QAAQ;YACX,WAAO,uB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,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,mBAAmB,CAAC,EAAE,aAAa,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA2JlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -84,6 +84,7 @@ var ReqoreProvider = function (_a) {
84
84
  isMobile: isMobile,
85
85
  isTablet: isTablet,
86
86
  isMobileOrTablet: isMobileOrTablet,
87
+ latestZIndex: latestZIndex.current,
87
88
  getAndIncreaseZIndex: getAndIncreaseZIndex,
88
89
  animations: options.animations || { buttons: true, dialogs: true },
89
90
  tooltips: options.tooltips || { delay: 0 },
@@ -100,7 +101,7 @@ var ReqoreProvider = function (_a) {
100
101
  notification.onFinish(notification.id);
101
102
  }
102
103
  removeNotification(notification.id);
103
- } }))); }) }))) : null, children, (0, jsx_runtime_1.jsx)(__1.ReqoreModal, __assign({ isOpen: confirmationModal.isOpen, flat: true, opacity: 0.9, blur: 2, width: '500px', intent: confirmationModal.intent, label: confirmationModal.title || 'Confirm your action', icon: 'ErrorWarningFill', bottomActions: [
104
+ } }))); }) }))) : null, children, confirmationModal.isOpen && ((0, jsx_runtime_1.jsx)(__1.ReqoreModal, __assign({ isOpen: true, flat: true, opacity: 0.9, blur: 2, width: '500px', intent: confirmationModal.intent, label: confirmationModal.title || 'Confirm your action', icon: 'ErrorWarningFill', className: 'reqore-confirmation-modal', bottomActions: [
104
105
  {
105
106
  label: confirmationModal.cancelLabel || 'Cancel',
106
107
  icon: 'CloseLine',
@@ -122,7 +123,7 @@ var ReqoreProvider = function (_a) {
122
123
  },
123
124
  position: 'right'
124
125
  },
125
- ] }, { children: (0, jsx_runtime_1.jsx)(__1.ReqoreTextEffect, __assign({ as: 'p', effect: { textAlign: 'center', weight: 'bold', textSize: 'big' } }, { children: confirmationModal.description || 'Are you sure you want to proceed?' })) }))] })) }));
126
+ ] }, { children: (0, jsx_runtime_1.jsx)(__1.ReqoreTextEffect, __assign({ as: 'p', effect: { textAlign: 'center', weight: 'bold', textSize: 'big' } }, { children: confirmationModal.description || 'Are you sure you want to proceed?' })) })))] })) }));
126
127
  };
127
128
  exports["default"] = ReqoreProvider;
128
129
  //# sourceMappingURL=ReqoreProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReqoreProvider.js","sourceRoot":"","sources":["../../src/containers/ReqoreProvider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAA8B;AAC9B,+BAAgD;AAChD,uCAAqC;AACrC,oDAA8B;AAC9B,wBAAmD;AACnD,8EAAqE;AACrE,0FAEkD;AAGlD,2EAAqD;AAsCrD,IAAM,cAAc,GAAmC,UAAC,EAA0B;QAAxB,QAAQ,cAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA;IACxE,IAAA,KAAoC,IAAA,gBAAQ,EAAmC,EAAE,CAAC,EAAjF,aAAa,QAAA,EAAE,gB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AE,iBAAiB,CAAC,YAAY,IAAI,SAAS;4BAClD,MAAM,EAAE,iBAAiB,CAAC,mBAAmB,IAAI,SAAS;4BAC1D,IAAI,EAAE,iBAAiB,CAAC,WAAW,IAAI,WAAW;4BAClD,OAAO,EAAE;;gCACP,MAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,SAAS,iEAAI,CAAC;gCACjC,sBAAsB,EAAE,CAAC;4BAC3B,CAAC;4BACD,QAAQ,EAAE,OAAO;yBAClB;qBACF,gBAED,uBAAC,oBAAgB,aACf,EAAE,EAAC,GAAG,EACN,MAAM,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAE/D,iBAAiB,CAAC,WAAW,IAAI,mCAAmC,IACpD,IACP,CACf,KACsB,GACxB,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,qBAAe,cAAc,CAAC"}
@@ -13,6 +13,7 @@ export interface IReqoreContext {
13
13
  readonly animations?: IReqoreOptions['animations'];
14
14
  readonly tooltips?: IReqoreOptions['tooltips'];
15
15
  readonly closePopoversOnEscPress?: boolean;
16
+ readonly latestZIndex?: number;
16
17
  }
17
18
  declare const _default: import("react").Context<IReqoreContext>;
18
19
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ReqoreContext.d.ts","sourceRoot":"","sources":["../../src/context/ReqoreContext.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,aAAa,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACjE,QAAQ,CAAC,aAAa,CAAC,EAAE,uBAAuB,EAAE,GAAG,IAAI,CAAC;IAC1D,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC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O,CAAC;IACpC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,MAAM,CAAC;IAC7C,QAAQ,CAAC,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IACnD,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAC/C,QAAQ,CAAC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAC3C,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC;;AAED,wBAUG"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReqoreContext.js","sourceRoot":"","sources":["../../src/context/ReqoreContext.tsx"],"names":[],"mappings":";;AAAA,+BAAsC;AAkBtC,qBAAe,IAAA,qBAAa,EAAiB;IAC3C,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,kBAAkB,EAAE,IAAI;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KACd;IACD,uBAAuB,EAAE,IAAI;CAC9B,CAAC,CAAC"}
1
+ {"version":3,"file":"ReqoreContext.js","sourceRoot":"","sources":["../../src/context/ReqoreContext.tsx"],"names":[],"mappings":";;AAAA,+BAAsC;AAmBtC,qBAAe,IAAA,qBAAa,EAAiB;IAC3C,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,kBAAkB,EAAE,IAAI;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KACd;IACD,uBAAuB,EAAE,IAAI;CAC9B,CAAC,CAAC"}
@@ -3,8 +3,8 @@ exports.__esModule = true;
3
3
  var react_1 = require("react");
4
4
  var __1 = require("..");
5
5
  var useLatestZIndex = function () {
6
- var getAndIncreaseZIndex = (0, react_1.useContext)(__1.ReqoreContext).getAndIncreaseZIndex;
7
- var zIndex = (0, react_1.useMemo)(function () { return getAndIncreaseZIndex(); }, []);
6
+ var _a = (0, react_1.useContext)(__1.ReqoreContext), getAndIncreaseZIndex = _a.getAndIncreaseZIndex, latestZIndex = _a.latestZIndex;
7
+ var zIndex = (0, react_1.useMemo)(function () { return getAndIncreaseZIndex(); }, [latestZIndex]);
8
8
  return zIndex;
9
9
  };
10
10
  exports["default"] = useLatestZIndex;
@@ -1 +1 @@
1
- {"version":3,"file":"useLatestZIndex.js","sourceRoot":"","sources":["../../src/hooks/useLatestZIndex.ts"],"names":[],"mappings":";;AAAA,+BAA4C;AAC5C,wBAAmC;AAEnC,IAAM,eAAe,GAAG;IACd,IAAA,oBAAoB,GAAK,IAAA,kBAAU,EAAC,iBAAa,CAAC,qBAA9B,CAA+B;IAC3D,IAAM,MAAM,GAAG,IAAA,eAAO,EAAC,cAAM,OAAA,oBAAoB,EAAE,EAAtB,CAAsB,EAAE,EAAE,CAAC,CAAC;IAEzD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,qBAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"useLatestZIndex.js","sourceRoot":"","sources":["../../src/hooks/useLatestZIndex.ts"],"names":[],"mappings":";;AAAA,+BAA4C;AAC5C,wBAAmC;AAEnC,IAAM,eAAe,GAAG;IAChB,IAAA,KAAyC,IAAA,kBAAU,EAAC,iBAAa,CAAC,EAAhE,oBAAoB,0BAAA,EAAE,YAAY,kBAA8B,CAAC;IACzE,IAAM,MAAM,GAAG,IAAA,eAAO,EAAC,cAAM,OAAA,oBAAoB,EAAE,EAAtB,CAAsB,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAErE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,qBAAe,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qoretechnologies/reqore",
3
- "version": "0.30.3",
3
+ "version": "0.30.4",
4
4
  "description": "ReQore is a highly theme-able and modular UI library for React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -170,6 +170,7 @@ export const ReqoreDrawer = ({
170
170
  _isModal,
171
171
  width,
172
172
  height,
173
+ actions = [],
173
174
  ...rest
174
175
  }: IReqoreDrawerProps) => {
175
176
  const { animations } = useContext(ReqoreContext);
@@ -199,12 +200,12 @@ export const ReqoreDrawer = ({
199
200
 
200
201
  const zIndex = useLatestZIndex();
201
202
  const wrapperZIndex = useLatestZIndex();
202
- const actions: IReqorePanelAction[] = useMemo(() => {
203
- const actions: IReqorePanelAction[] = [];
203
+ const _actions: IReqorePanelAction[] = useMemo(() => {
204
+ const builtActions: IReqorePanelAction[] = [...actions];
204
205
 
205
206
  /* Adding a hide/show button to the drawer. */
206
207
  if (hidable) {
207
- actions.push({
208
+ builtActions.push({
208
209
  responsive: false,
209
210
  icon: getHideShowIcon(position, _isHidden),
210
211
  onClick: () => {
@@ -219,7 +220,7 @@ export const ReqoreDrawer = ({
219
220
 
220
221
  /* Adding a close button to the drawer. */
221
222
  if (onClose) {
222
- actions.push({
223
+ builtActions.push({
223
224
  responsive: false,
224
225
  icon: 'CloseLine',
225
226
  onClick: onClose,
@@ -227,7 +228,7 @@ export const ReqoreDrawer = ({
227
228
  });
228
229
  }
229
230
 
230
- return actions;
231
+ return builtActions;
231
232
  }, [hidable, position, onClose]);
232
233
 
233
234
  const positions = useMemo(() => {
@@ -265,7 +266,7 @@ export const ReqoreDrawer = ({
265
266
  />
266
267
  ) : null}
267
268
  <Resizable
268
- className='reqore-drawer-resizable'
269
+ className={`${className || ''} reqore-drawer-resizable`}
269
270
  maxHeight={
270
271
  layout === 'horizontal' || layout === 'center' ? maxSize || '90vh' : undefined
271
272
  }
@@ -344,21 +345,19 @@ export const ReqoreDrawer = ({
344
345
  <StyledCloseWrapper
345
346
  className='reqore-drawer-controls'
346
347
  position={position}
347
- w={layout === 'vertical' && _isHidden ? 0 : _size.width}
348
- h={layout === 'horizontal' && _isHidden ? 0 : _size.height}
348
+ w={layout === 'vertical' ? 0 : _size.width}
349
+ h={layout === 'horizontal' ? 0 : _size.height}
349
350
  >
350
- {hidable && (
351
- <ReqoreButton
352
- flat
353
- customTheme={theme}
354
- className='reqore-drawer-control reqore-drawer-hide-button'
355
- icon={getHideShowIcon(position, _isHidden)}
356
- onClick={() => {
357
- setIsHidden(!_isHidden);
358
- onHideToggle && onHideToggle(!_isHidden);
359
- }}
360
- />
361
- )}
351
+ <ReqoreButton
352
+ flat
353
+ customTheme={theme}
354
+ className='reqore-drawer-control reqore-drawer-hide-button'
355
+ icon={getHideShowIcon(position, _isHidden)}
356
+ onClick={() => {
357
+ setIsHidden(!_isHidden);
358
+ onHideToggle && onHideToggle(!_isHidden);
359
+ }}
360
+ />
362
361
  </StyledCloseWrapper>
363
362
  ) : null}
364
363
  {!_isHidden && (
@@ -366,12 +365,12 @@ export const ReqoreDrawer = ({
366
365
  {...rest}
367
366
  opacity={opacity}
368
367
  blur={hasBackdrop ? 0 : blur}
369
- actions={actions}
368
+ actions={_actions}
370
369
  customTheme={customTheme}
371
370
  intent={intent}
372
371
  rounded={floating || _isModal ? true : false}
373
372
  flat={flat}
374
- className={`${className || ''} reqore-drawer`}
373
+ className={`reqore-drawer`}
375
374
  style={{
376
375
  width: '100%',
377
376
  maxHeight: '100%',
@@ -120,6 +120,7 @@ const ReqoreProvider: React.FC<IReqoreNotifications> = ({ children, options = {}
120
120
  isMobile,
121
121
  isTablet,
122
122
  isMobileOrTablet,
123
+ latestZIndex: latestZIndex.current,
123
124
  getAndIncreaseZIndex,
124
125
  animations: options.animations || { buttons: true, dialogs: true },
125
126
  tooltips: options.tooltips || { delay: 0 },
@@ -157,44 +158,47 @@ const ReqoreProvider: React.FC<IReqoreNotifications> = ({ children, options = {}
157
158
  </ReqoreNotificationsWrapper>
158
159
  ) : null}
159
160
  {children}
160
- <ReqoreModal
161
- isOpen={confirmationModal.isOpen}
162
- flat
163
- opacity={0.9}
164
- blur={2}
165
- width='500px'
166
- intent={confirmationModal.intent}
167
- label={confirmationModal.title || 'Confirm your action'}
168
- icon='ErrorWarningFill'
169
- bottomActions={[
170
- {
171
- label: confirmationModal.cancelLabel || 'Cancel',
172
- icon: 'CloseLine',
173
- onClick: () => {
174
- confirmationModal?.onCancel?.();
175
- closeConfirmationModal();
161
+ {confirmationModal.isOpen && (
162
+ <ReqoreModal
163
+ isOpen
164
+ flat
165
+ opacity={0.9}
166
+ blur={2}
167
+ width='500px'
168
+ intent={confirmationModal.intent}
169
+ label={confirmationModal.title || 'Confirm your action'}
170
+ icon='ErrorWarningFill'
171
+ className='reqore-confirmation-modal'
172
+ bottomActions={[
173
+ {
174
+ label: confirmationModal.cancelLabel || 'Cancel',
175
+ icon: 'CloseLine',
176
+ onClick: () => {
177
+ confirmationModal?.onCancel?.();
178
+ closeConfirmationModal();
179
+ },
180
+ position: 'left',
176
181
  },
177
- position: 'left',
178
- },
179
- {
180
- label: confirmationModal.confirmLabel || 'Confirm',
181
- intent: confirmationModal.confirmButtonIntent || 'success',
182
- icon: confirmationModal.confirmIcon || 'CheckLine',
183
- onClick: () => {
184
- confirmationModal?.onConfirm?.();
185
- closeConfirmationModal();
182
+ {
183
+ label: confirmationModal.confirmLabel || 'Confirm',
184
+ intent: confirmationModal.confirmButtonIntent || 'success',
185
+ icon: confirmationModal.confirmIcon || 'CheckLine',
186
+ onClick: () => {
187
+ confirmationModal?.onConfirm?.();
188
+ closeConfirmationModal();
189
+ },
190
+ position: 'right',
186
191
  },
187
- position: 'right',
188
- },
189
- ]}
190
- >
191
- <ReqoreTextEffect
192
- as='p'
193
- effect={{ textAlign: 'center', weight: 'bold', textSize: 'big' }}
192
+ ]}
194
193
  >
195
- {confirmationModal.description || 'Are you sure you want to proceed?'}
196
- </ReqoreTextEffect>
197
- </ReqoreModal>
194
+ <ReqoreTextEffect
195
+ as='p'
196
+ effect={{ textAlign: 'center', weight: 'bold', textSize: 'big' }}
197
+ >
198
+ {confirmationModal.description || 'Are you sure you want to proceed?'}
199
+ </ReqoreTextEffect>
200
+ </ReqoreModal>
201
+ )}
198
202
  </ReqoreContext.Provider>
199
203
  </>
200
204
  );
@@ -14,6 +14,7 @@ export interface IReqoreContext {
14
14
  readonly animations?: IReqoreOptions['animations'];
15
15
  readonly tooltips?: IReqoreOptions['tooltips'];
16
16
  readonly closePopoversOnEscPress?: boolean;
17
+ readonly latestZIndex?: number;
17
18
  }
18
19
 
19
20
  export default createContext<IReqoreContext>({
@@ -2,8 +2,8 @@ import { useContext, useMemo } from 'react';
2
2
  import { ReqoreContext } from '..';
3
3
 
4
4
  const useLatestZIndex = (): number => {
5
- const { getAndIncreaseZIndex } = useContext(ReqoreContext);
6
- const zIndex = useMemo(() => getAndIncreaseZIndex(), []);
5
+ const { getAndIncreaseZIndex, latestZIndex } = useContext(ReqoreContext);
6
+ const zIndex = useMemo(() => getAndIncreaseZIndex(), [latestZIndex]);
7
7
 
8
8
  return zIndex;
9
9
  };
@@ -2,9 +2,11 @@ import { Meta, Story } from '@storybook/react/types-6-0';
2
2
  import { noop } from 'lodash';
3
3
  import { useContext } from 'react';
4
4
  import { IReqoreDrawerProps, ReqoreDrawer } from '../../components/Drawer';
5
+ import { IReqoreInputProps } from '../../components/Input';
5
6
  import {
6
7
  ReqoreButton,
7
8
  ReqoreContext,
9
+ ReqoreInput,
8
10
  ReqorePanel,
9
11
  ReqoreTabs,
10
12
  ReqoreTabsContent,
@@ -124,7 +126,68 @@ const Template: Story<IReqoreDrawerProps> = (args: IReqoreDrawerProps) => {
124
126
  attacks inhabit pursuit our but. Lasted hunted enough an up seeing in lively letter. Had
125
127
  judgment out opinions property the supplied.
126
128
  </ReqorePanel>
127
- <ReqoreDrawer {...args} label='This is a test' icon='EmphasisCn' onClose={noop}>
129
+ <ReqoreDrawer
130
+ {...args}
131
+ label='This is a test'
132
+ icon='EmphasisCn'
133
+ onClose={noop}
134
+ actions={[
135
+ {
136
+ responsive: false,
137
+ group: [
138
+ {
139
+ label: 'Non responsive',
140
+ icon: '24HoursFill',
141
+ customTheme: { main: '#eb0e8c' },
142
+ },
143
+ {
144
+ icon: 'FullscreenExitLine',
145
+ customTheme: { main: '#a40a62' },
146
+ },
147
+ ],
148
+ },
149
+ {
150
+ group: [
151
+ { label: 'Stacked Action 1', icon: 'BallPenLine', intent: 'warning' },
152
+ { icon: 'CopperCoinFill', intent: 'danger' },
153
+ ],
154
+ },
155
+ {
156
+ as: ReqoreInput,
157
+ props: {
158
+ placeholder: 'Custom action!',
159
+ icon: 'Search2Line',
160
+ minimal: false,
161
+ } as IReqoreInputProps,
162
+ },
163
+ {
164
+ label: 'More actions',
165
+ actions: [
166
+ { value: 'Sub Test', icon: 'FileDownloadLine' },
167
+ { value: 'Sub Test 2', icon: 'FileDownloadLine', intent: 'success' },
168
+ ],
169
+ intent: 'info',
170
+ },
171
+ ]}
172
+ bottomActions={[
173
+ {
174
+ position: 'left',
175
+ intent: 'success',
176
+ group: [
177
+ { label: 'Test 1', icon: '24HoursFill' },
178
+ { label: 'Test 2', icon: '24HoursFill' },
179
+ ],
180
+ },
181
+ {
182
+ label: 'More actions',
183
+ position: 'right',
184
+ actions: [
185
+ { value: 'Sub Test', icon: 'FileDownloadLine', intent: 'success' },
186
+ { value: 'Sub Test 2', icon: 'FileDownloadLine' },
187
+ ],
188
+ },
189
+ ]}
190
+ >
128
191
  <ReqoreTabs
129
192
  flat
130
193
  intent={args.intent}
@@ -181,5 +244,5 @@ Transparent.args = {
181
244
  };
182
245
  export const WithSize = Template.bind({});
183
246
  WithSize.args = {
184
- size: '350px',
247
+ size: '500px',
185
248
  };
package/tests.json CHANGED
@@ -1 +1 @@
1
- {"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":27,"numPassedTests":127,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":27,"numTotalTests":127,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1673970914444,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect />","location":null,"status":"passed","title":"Renders empty <ReqoreMultiSelect />"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value, items can be removed","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value, items can be removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created","location":null,"status":"passed","title":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created","location":null,"status":"passed","title":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked"}],"endTime":1673970928858,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/multiselect.test.tsx","startTime":1673970914872,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","location":null,"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","location":null,"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can select hidden <Tabs /> when shortened","location":null,"status":"passed","title":"Can select hidden <Tabs /> when shortened"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Default active tab can be specified","location":null,"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab and runs callback","location":null,"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","location":null,"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab when mounted and active tab is set","location":null,"status":"passed","title":"Does not change tab when mounted and active tab is set"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","location":null,"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","location":null,"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1673970930585,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1673970928878,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","location":null,"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","location":null,"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","location":null,"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","location":null,"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","location":null,"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","location":null,"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","location":null,"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","location":null,"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","location":null,"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1673970934112,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1673970930601,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","location":null,"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when children are empty","location":null,"status":"passed","title":"Renders disabled <Dropdown /> when children are empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","location":null,"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> is opened by default","location":null,"status":"passed","title":"Renders <Dropdown /> is opened by default"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and calls a function on item click","location":null,"status":"passed","title":"Renders <Dropdown /> and calls a function on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","location":null,"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and updates its items when state changes","location":null,"status":"passed","title":"Renders <Dropdown /> and updates its items when state changes"}],"endTime":1673970935821,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1673970934124,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","location":null,"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","location":null,"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","location":null,"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","location":null,"status":"passed","title":"Renders closable <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> with actions","location":null,"status":"passed","title":"Renders <Panel /> with actions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> without actions group if all actins are not shown","location":null,"status":"passed","title":"Renders <Panel /> without actions group if all actins are not shown"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, title & is not collapsible","location":null,"status":"passed","title":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, title & is not collapsible"}],"endTime":1673970936686,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1673970935832,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders sidebar","location":null,"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","location":null,"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can open submenu manually","location":null,"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","location":null,"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","location":null,"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","location":null,"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","location":null,"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","location":null,"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders custom item at the top","location":null,"status":"passed","title":"Renders custom item at the top"}],"endTime":1673970937780,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1673970936696,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","location":null,"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","location":null,"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows custom content","location":null,"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs callback function","location":null,"status":"passed","title":"Runs callback function"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the popover after a local delay, ignoring global delay","location":null,"status":"passed","title":"Shows the popover after a local delay, ignoring global delay"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the popover after a global delay","location":null,"status":"passed","title":"Shows the popover after a global delay"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not show the popover with delay if time not reached","location":null,"status":"passed","title":"Does not show the popover with delay if time not reached"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","location":null,"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "},{"ancestorTitles":[],"failureMessages":[],"fullName":"Correctly passes popover data for non-opened popover","location":null,"status":"passed","title":"Correctly passes popover data for non-opened popover"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Correctly passes popover data for opened popover","location":null,"status":"passed","title":"Correctly passes popover data for opened popover"}],"endTime":1673970938835,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1673970937790,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> properly","location":null,"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","location":null,"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","location":null,"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","location":null,"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","location":null,"status":"passed","title":"Renders <Button /> with onClick function"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with a 0 badge","location":null,"status":"passed","title":"Renders <Button /> with a 0 badge"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with a string badge","location":null,"status":"passed","title":"Renders <Button /> with a string badge"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with a Tag props badge","location":null,"status":"passed","title":"Renders <Button /> with a Tag props badge"}],"endTime":1673970940144,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1673970938845,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","location":null,"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds a notification and updates it","location":null,"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a click event","location":null,"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a close event","location":null,"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a finish event","location":null,"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","location":null,"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1673970940970,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1673970940153,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","location":null,"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","location":null,"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","location":null,"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","location":null,"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> with the label key","location":null,"status":"passed","title":"Renders <Tag /> with the label key"}],"endTime":1673970941969,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1673970940979,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","location":null,"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","location":null,"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","location":null,"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","location":null,"status":"passed","title":"Renders confirmation <Modal /> "}],"endTime":1673970943061,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1673970941979,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","location":null,"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","location":null,"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","location":null,"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","location":null,"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","location":null,"status":"passed","title":"Renders <Drawer /> with interactive backdrop"}],"endTime":1673970943982,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1673970943070,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","location":null,"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","location":null,"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","location":null,"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","location":null,"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","location":null,"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1673970945625,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1673970944003,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Collection /> properly","location":null,"status":"passed","title":"Renders basic <Collection /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> items can be filtered","location":null,"status":"passed","title":"<Collection /> items can be filtered"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> shows no data message when empty","location":null,"status":"passed","title":"<Collection /> shows no data message when empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> can be sorted","location":null,"status":"passed","title":"<Collection /> can be sorted"}],"endTime":1673970947869,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/collection.test.tsx","startTime":1673970945635,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","location":null,"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","location":null,"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","location":null,"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1673970948467,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1673970947878,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> properly","location":null,"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","location":null,"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","location":null,"status":"passed","title":"Disabled <Input /> cannot be cleared"}],"endTime":1673970949045,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1673970948476,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"}],"endTime":1673970949508,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1673970949053,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreEffect /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreTextEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreTextEffect /> properly"}],"endTime":1673970949902,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/effect.test.tsx","startTime":1673970949523,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","location":null,"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","location":null,"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","location":null,"status":"passed","title":"Disabled <TextArea /> cannot be cleared"}],"endTime":1673970950390,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1673970949911,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Message /> properly","location":null,"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","location":null,"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onClose when closed","location":null,"status":"passed","title":"Runs onClose when closed"}],"endTime":1673970950885,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1673970950404,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1673970951292,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1673970950893,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Layout properly","location":null,"status":"passed","title":"Renders Layout properly"}],"endTime":1673970951686,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1673970951301,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","location":null,"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","location":null,"status":"passed","title":"Renders empty <Icon /> if icon does not exist"}],"endTime":1673970952350,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1673970951700,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1673970952808,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1673970952364,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Navbar properly","location":null,"status":"passed","title":"Renders Navbar properly"}],"endTime":1673970953176,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1673970952825,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ControlGroup /> properly","location":null,"status":"passed","title":"Renders <ControlGroup /> properly"}],"endTime":1673970953925,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/control_group.test.tsx","startTime":1673970953190,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","location":null,"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1673970954288,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1673970953935,"status":"passed","summary":""}],"wasInterrupted":false}
1
+ {"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":27,"numPassedTests":128,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":27,"numTotalTests":128,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1673981870964,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect />","location":null,"status":"passed","title":"Renders empty <ReqoreMultiSelect />"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value, items can be removed","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value, items can be removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created","location":null,"status":"passed","title":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created","location":null,"status":"passed","title":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked","location":null,"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked"}],"endTime":1673981885237,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/multiselect.test.tsx","startTime":1673981871381,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","location":null,"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","location":null,"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can select hidden <Tabs /> when shortened","location":null,"status":"passed","title":"Can select hidden <Tabs /> when shortened"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Default active tab can be specified","location":null,"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab and runs callback","location":null,"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","location":null,"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab when mounted and active tab is set","location":null,"status":"passed","title":"Does not change tab when mounted and active tab is set"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","location":null,"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","location":null,"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1673981886926,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1673981885256,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","location":null,"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","location":null,"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","location":null,"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","location":null,"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","location":null,"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","location":null,"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","location":null,"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","location":null,"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","location":null,"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1673981890374,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1673981886947,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","location":null,"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when children are empty","location":null,"status":"passed","title":"Renders disabled <Dropdown /> when children are empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","location":null,"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> is opened by default","location":null,"status":"passed","title":"Renders <Dropdown /> is opened by default"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and calls a function on item click","location":null,"status":"passed","title":"Renders <Dropdown /> and calls a function on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","location":null,"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and updates its items when state changes","location":null,"status":"passed","title":"Renders <Dropdown /> and updates its items when state changes"}],"endTime":1673981892062,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1673981890385,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","location":null,"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","location":null,"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","location":null,"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","location":null,"status":"passed","title":"Renders closable <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> with actions","location":null,"status":"passed","title":"Renders <Panel /> with actions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> without actions group if all actins are not shown","location":null,"status":"passed","title":"Renders <Panel /> without actions group if all actins are not shown"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, title & is not collapsible","location":null,"status":"passed","title":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, title & is not collapsible"}],"endTime":1673981892872,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1673981892073,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders sidebar","location":null,"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","location":null,"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can open submenu manually","location":null,"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","location":null,"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","location":null,"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","location":null,"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","location":null,"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","location":null,"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders custom item at the top","location":null,"status":"passed","title":"Renders custom item at the top"}],"endTime":1673981893934,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1673981892883,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","location":null,"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","location":null,"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows custom content","location":null,"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs callback function","location":null,"status":"passed","title":"Runs callback function"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the popover after a local delay, ignoring global delay","location":null,"status":"passed","title":"Shows the popover after a local delay, ignoring global delay"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the popover after a global delay","location":null,"status":"passed","title":"Shows the popover after a global delay"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not show the popover with delay if time not reached","location":null,"status":"passed","title":"Does not show the popover with delay if time not reached"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","location":null,"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "},{"ancestorTitles":[],"failureMessages":[],"fullName":"Correctly passes popover data for non-opened popover","location":null,"status":"passed","title":"Correctly passes popover data for non-opened popover"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Correctly passes popover data for opened popover","location":null,"status":"passed","title":"Correctly passes popover data for opened popover"}],"endTime":1673981894955,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1673981893943,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","location":null,"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","location":null,"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","location":null,"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","location":null,"status":"passed","title":"Renders confirmation <Modal /> "},{"ancestorTitles":[],"failureMessages":[],"fullName":"Always renders confirmation <Modal /> properly above a normal modal","location":null,"status":"passed","title":"Always renders confirmation <Modal /> properly above a normal modal"}],"endTime":1673981896184,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1673981894963,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> properly","location":null,"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","location":null,"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","location":null,"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","location":null,"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","location":null,"status":"passed","title":"Renders <Button /> with onClick function"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with a 0 badge","location":null,"status":"passed","title":"Renders <Button /> with a 0 badge"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with a string badge","location":null,"status":"passed","title":"Renders <Button /> with a string badge"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with a Tag props badge","location":null,"status":"passed","title":"Renders <Button /> with a Tag props badge"}],"endTime":1673981897417,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1673981896192,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","location":null,"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds a notification and updates it","location":null,"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a click event","location":null,"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a close event","location":null,"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a finish event","location":null,"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","location":null,"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1673981898195,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1673981897425,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","location":null,"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","location":null,"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","location":null,"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","location":null,"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> with the label key","location":null,"status":"passed","title":"Renders <Tag /> with the label key"}],"endTime":1673981899191,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1673981898203,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","location":null,"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","location":null,"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","location":null,"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","location":null,"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","location":null,"status":"passed","title":"Renders <Drawer /> with interactive backdrop"}],"endTime":1673981899823,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1673981899208,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","location":null,"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","location":null,"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","location":null,"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","location":null,"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","location":null,"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1673981901564,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1673981899833,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Collection /> properly","location":null,"status":"passed","title":"Renders basic <Collection /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> items can be filtered","location":null,"status":"passed","title":"<Collection /> items can be filtered"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> shows no data message when empty","location":null,"status":"passed","title":"<Collection /> shows no data message when empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> can be sorted","location":null,"status":"passed","title":"<Collection /> can be sorted"}],"endTime":1673981903747,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/collection.test.tsx","startTime":1673981901577,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","location":null,"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","location":null,"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","location":null,"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1673981904299,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1673981903758,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> properly","location":null,"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","location":null,"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","location":null,"status":"passed","title":"Disabled <Input /> cannot be cleared"}],"endTime":1673981904843,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1673981904307,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"}],"endTime":1673981905294,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1673981904851,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreEffect /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreTextEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreTextEffect /> properly"}],"endTime":1673981905672,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/effect.test.tsx","startTime":1673981905309,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","location":null,"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","location":null,"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","location":null,"status":"passed","title":"Disabled <TextArea /> cannot be cleared"}],"endTime":1673981906149,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1673981905680,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Message /> properly","location":null,"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","location":null,"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onClose when closed","location":null,"status":"passed","title":"Runs onClose when closed"}],"endTime":1673981906634,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1673981906157,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1673981907045,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1673981906648,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Layout properly","location":null,"status":"passed","title":"Renders Layout properly"}],"endTime":1673981907437,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1673981907054,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","location":null,"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","location":null,"status":"passed","title":"Renders empty <Icon /> if icon does not exist"}],"endTime":1673981908103,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1673981907445,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1673981908551,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1673981908112,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Navbar properly","location":null,"status":"passed","title":"Renders Navbar properly"}],"endTime":1673981908904,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1673981908559,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ControlGroup /> properly","location":null,"status":"passed","title":"Renders <ControlGroup /> properly"}],"endTime":1673981909624,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/control_group.test.tsx","startTime":1673981908912,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","location":null,"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1673981909978,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1673981909632,"status":"passed","summary":""}],"wasInterrupted":false}