@qoretechnologies/reqore 0.34.11 → 0.34.12
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/dist/components/Breadcrumbs/index.d.ts +2 -7
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +4 -5
- package/dist/components/Breadcrumbs/index.js.map +1 -1
- package/dist/components/Breadcrumbs/item.d.ts +1 -1
- package/dist/components/Breadcrumbs/item.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/item.js +17 -61
- package/dist/components/Breadcrumbs/item.js.map +1 -1
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Button/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Breadcrumbs/index.tsx +7 -13
- package/src/components/Breadcrumbs/item.tsx +16 -134
- package/src/components/Button/index.tsx +3 -1
- package/src/mock/breadcrumbs.ts +12 -4
- package/src/stories/Breadcrumbs/Breadcrumbs.stories.tsx +3 -0
- package/tests.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TSizes } from '../../constants/sizes';
|
|
3
3
|
import { IReqoreBreadcrumbsTheme, TReqoreIntent } from '../../constants/theme';
|
|
4
|
-
import {
|
|
5
|
-
import { IReqoreIconName } from '../../types/icons';
|
|
4
|
+
import { IReqoreButtonProps } from '../Button';
|
|
6
5
|
import { IReqoreTabsListItem } from '../Tabs';
|
|
7
6
|
export interface IReqoreBreadcrumbItemTabs {
|
|
8
7
|
tabs: IReqoreTabsListItem[];
|
|
@@ -10,15 +9,11 @@ export interface IReqoreBreadcrumbItemTabs {
|
|
|
10
9
|
activeTab: string;
|
|
11
10
|
activeTabIntent?: TReqoreIntent;
|
|
12
11
|
}
|
|
13
|
-
export interface IReqoreBreadcrumbItem {
|
|
14
|
-
tooltip?: TReqoreTooltipProp;
|
|
12
|
+
export interface IReqoreBreadcrumbItem extends IReqoreButtonProps {
|
|
15
13
|
label?: string;
|
|
16
|
-
icon?: IReqoreIconName;
|
|
17
|
-
active?: boolean;
|
|
18
14
|
as?: any;
|
|
19
15
|
props?: React.HTMLAttributes<any>;
|
|
20
16
|
withTabs?: IReqoreBreadcrumbItemTabs;
|
|
21
|
-
customTheme?: IReqoreBreadcrumbsTheme;
|
|
22
17
|
}
|
|
23
18
|
export interface IReqoreBreadcrumbsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
19
|
items: IReqoreBreadcrumbItem[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAML,MAAM,EACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,uBAAuB,EAAgB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,EAML,MAAM,EACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,uBAAuB,EAAgB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAI/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAK9C,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,GAAG,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,aAAa,CAAC;CACjC;AAED,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACtC;AAED,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACnF,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAE3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAiHD,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAqGxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -80,8 +80,8 @@ var list_1 = __importStar(require("../Tabs/list"));
|
|
|
80
80
|
var item_3 = __importDefault(require("./item"));
|
|
81
81
|
var StyledReqoreBreadcrumbs = styled_components_1["default"].div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
82
82
|
var _b, _c, _d;
|
|
83
|
-
var theme = _a.theme, size = _a.size;
|
|
84
|
-
return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n height: ", "px;\n margin: ", "px 0;\n display: flex;\n padding: 0 ", "px;\n justify-content: space-between;\n border-bottom:
|
|
83
|
+
var theme = _a.theme, size = _a.size, flat = _a.flat;
|
|
84
|
+
return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n min-height: ", "px;\n margin: ", "px 0;\n display: flex;\n padding: 0 ", "px;\n justify-content: space-between;\n border-bottom: ", ";\n background-color: ", ";\n\n > div {\n height: 100%;\n display: flex;\n align-items: center;\n\n > * {\n color: ", ";\n }\n\n ", " {\n flex: 1;\n }\n\n ", ", ", " {\n border-bottom: 0;\n }\n\n &:first-child {\n overflow: hidden;\n flex: 1;\n }\n }\n "], ["\n width: 100%;\n min-height: ", "px;\n margin: ", "px 0;\n display: flex;\n padding: 0 ", "px;\n justify-content: space-between;\n border-bottom: ", ";\n background-color: ", ";\n\n > div {\n height: 100%;\n display: flex;\n align-items: center;\n\n > * {\n color: ", ";\n }\n\n ", " {\n flex: 1;\n }\n\n ", ", ", " {\n border-bottom: 0;\n }\n\n &:first-child {\n overflow: hidden;\n flex: 1;\n }\n }\n "])), sizes_1.TABS_SIZE_TO_PX[size], sizes_1.MARGIN_FROM_SIZE[size], sizes_1.PADDING_FROM_SIZE[size], flat ? undefined : "1px solid ".concat((0, colors_1.changeLightness)(theme.main, 0.05)), function (_a) {
|
|
85
85
|
var _b;
|
|
86
86
|
var theme = _a.theme;
|
|
87
87
|
return ((_b = theme.breadcrumbs) === null || _b === void 0 ? void 0 : _b.main) || 'transparent';
|
|
@@ -91,7 +91,6 @@ var StyledReqoreBreadcrumbs = styled_components_1["default"].div(templateObject_
|
|
|
91
91
|
: (0, colors_1.getReadableColor)(theme, undefined, undefined, true)), list_1.StyledReqoreTabsList, list_1.StyledReqoreTabsList, item_2.StyledTabListItem);
|
|
92
92
|
});
|
|
93
93
|
var StyledBreadcrumbsTabsWrapper = styled_components_1["default"].div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n overflow: hidden;\n width: 100%;\n"], ["\n display: flex;\n align-items: center;\n overflow: hidden;\n width: 100%;\n"])));
|
|
94
|
-
var itemPadding = 27;
|
|
95
94
|
var arrowSize = 50;
|
|
96
95
|
var getBreadcrumbsLength = function (items, size) {
|
|
97
96
|
return items.reduce(function (len, item) {
|
|
@@ -100,12 +99,12 @@ var getBreadcrumbsLength = function (items, size) {
|
|
|
100
99
|
}
|
|
101
100
|
if (item.withTabs) {
|
|
102
101
|
return (len +
|
|
103
|
-
|
|
102
|
+
sizes_1.PADDING_FROM_SIZE[size] +
|
|
104
103
|
arrowSize +
|
|
105
104
|
(0, list_1.getTabsLength)(item.withTabs.tabs, 'width', item.withTabs.activeTab, size));
|
|
106
105
|
}
|
|
107
106
|
return (len +
|
|
108
|
-
|
|
107
|
+
sizes_1.PADDING_FROM_SIZE[size] +
|
|
109
108
|
sizes_1.ICON_FROM_SIZE[size] +
|
|
110
109
|
arrowSize +
|
|
111
110
|
(0, utils_1.calculateStringSizeInPixels)(item.label || '', sizes_1.TEXT_FROM_SIZE[size]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,6CAAuC;AACvC,uCAAuC;AACvC,qEAAgD;AAChD,2BAAsC;AACtC,+CAO+B;AAE/B,+CAA+F;AAC/F,6CAAkE;AAClE,iDAAsD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,6CAAuC;AACvC,uCAAuC;AACvC,qEAAgD;AAChD,2BAAsC;AACtC,+CAO+B;AAE/B,+CAA+F;AAC/F,6CAAkE;AAClE,iDAAsD;AAEtD,iDAAiC;AACjC,iDAAiC;AACjC,sDAA0C;AAE1C,qCAAiD;AACjD,mDAAmF;AACnF,gDAA2E;AA8B3E,IAAM,uBAAuB,GAAG,8BAAM,CAAC,GAAG,+EAAoB,MAC1D,EAoCD,IACF,KArCG,UAAC,EAAyC;;QAAvC,KAAK,WAAA,E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AAI,EAAE,IAAI,EAAuB,MAAM,EAAC,MAAM,IAA7B,MAAM,GAAG,KAAK,CAAkB,CACrF,EACD,2BAAC,iBAAqB,eAAK,IAAI,IAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,IAAI,KAJlE,KAAK,CAKT,CAClB,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,CACL,wBAAC,uBAAuB,eAClB,IAAI,IACR,SAAS,EAAE,UAAG,IAAI,CAAC,SAAS,IAAI,EAAE,gCAA6B,EAC/D,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,iBAEV,0CACG,gBAAgB,CAAC,GAAG,CACnB,UAAC,IAAqD,EAAE,KAAa;oBACnE,OAAA,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC;gBAAvB,CAAuB,CAC1B,IAJM,iCAAiC,CAKpC,EACL,YAAY,IAAI,0CAAM,YAAY,GAAO,KAClB,CAC3B,CAAC;AACJ,CAAC,CAAC;AAEF,qBAAe,iBAAiB,CAAC"}
|
|
@@ -9,6 +9,6 @@ export interface IReqoreBreadcrumbItemProps extends IReqoreBreadcrumbItem {
|
|
|
9
9
|
export interface IReqoreBreadcrumbItemStyle extends IReqoreBreadcrumbItemProps {
|
|
10
10
|
theme: IReqoreTheme;
|
|
11
11
|
}
|
|
12
|
-
declare const ReqoreBreadcrumbsItem: import("react").ForwardRefExoticComponent<IReqoreBreadcrumbItemProps & import("react").RefAttributes<
|
|
12
|
+
declare const ReqoreBreadcrumbsItem: import("react").ForwardRefExoticComponent<IReqoreBreadcrumbItemProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
13
|
export default ReqoreBreadcrumbsItem;
|
|
14
14
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/item.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/item.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,GAAG,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD,MAAM,WAAW,0BAA2B,SAAQ,qBAAqB;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,0BAA2B,SAAQ,0BAA0B;IAC5E,KAAK,EAAE,YAAY,CAAC;CACrB;AAED,QAAA,MAAM,qBAAqB,0HAoB1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
2
|
var __assign = (this && this.__assign) || function () {
|
|
7
3
|
__assign = Object.assign || function(t) {
|
|
8
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -14,28 +10,16 @@ var __assign = (this && this.__assign) || function () {
|
|
|
14
10
|
};
|
|
15
11
|
return __assign.apply(this, arguments);
|
|
16
12
|
};
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}));
|
|
28
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
-
}) : function(o, v) {
|
|
31
|
-
o["default"] = v;
|
|
32
|
-
});
|
|
33
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
34
|
-
if (mod && mod.__esModule) return mod;
|
|
35
|
-
var result = {};
|
|
36
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
37
|
-
__setModuleDefault(result, mod);
|
|
38
|
-
return result;
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
39
23
|
};
|
|
40
24
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
41
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -43,44 +27,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
43
27
|
exports.__esModule = true;
|
|
44
28
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
45
29
|
var react_1 = require("react");
|
|
46
|
-
var styled_components_1 = __importStar(require("styled-components"));
|
|
47
|
-
var sizes_1 = require("../../constants/sizes");
|
|
48
|
-
var colors_1 = require("../../helpers/colors");
|
|
49
|
-
var useCombinedRefs_1 = require("../../hooks/useCombinedRefs");
|
|
50
30
|
var useTheme_1 = require("../../hooks/useTheme");
|
|
51
|
-
var
|
|
52
|
-
var styles_1 = require("../../styles");
|
|
53
|
-
var Button_1 = require("../Button");
|
|
54
|
-
var Icon_1 = __importDefault(require("../Icon"));
|
|
55
|
-
var StyledBreadcrumbItem = styled_components_1["default"].div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n\n a {\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"], ["\n ", "\n\n a {\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"])), function (_a) {
|
|
56
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
57
|
-
var theme = _a.theme, active = _a.active, interactive = _a.interactive, size = _a.size;
|
|
58
|
-
var textColor = ((_c = (_b = theme.breadcrumbs) === null || _b === void 0 ? void 0 : _b.item) === null || _c === void 0 ? void 0 : _c.color) ||
|
|
59
|
-
(((_d = theme.breadcrumbs) === null || _d === void 0 ? void 0 : _d.main)
|
|
60
|
-
? (0, colors_1.getReadableColorFrom)(theme.breadcrumbs.main, true)
|
|
61
|
-
: (0, colors_1.getReadableColor)(theme, undefined, undefined, true));
|
|
62
|
-
return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-shrink: 0;\n height: 100%;\n justify-content: space-evenly;\n align-items: center;\n padding: 0 ", "px;\n transition: background-color 0.15s ease-out;\n font-size: ", "px;\n font-weight: 450;\n position: relative;\n overflow: hidden;\n\n * {\n color: ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n a:hover {\n color: ", ";\n }\n "], ["\n display: flex;\n flex-shrink: 0;\n height: 100%;\n justify-content: space-evenly;\n align-items: center;\n padding: 0 ", "px;\n transition: background-color 0.15s ease-out;\n font-size: ", "px;\n font-weight: 450;\n position: relative;\n overflow: hidden;\n\n * {\n color: ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n a:hover {\n color: ", ";\n }\n "])), sizes_1.PADDING_FROM_SIZE[size], sizes_1.TEXT_FROM_SIZE[size], textColor, styles_1.InactiveIconScale, active && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n * {\n font-weight: 600;\n color: ", ";\n }\n\n ", "\n "], ["\n * {\n font-weight: 600;\n color: ", ";\n }\n\n ", "\n "])), ((_f = (_e = theme.breadcrumbs) === null || _e === void 0 ? void 0 : _e.item) === null || _f === void 0 ? void 0 : _f.activeColor) ||
|
|
63
|
-
(((_g = theme.breadcrumbs) === null || _g === void 0 ? void 0 : _g.main)
|
|
64
|
-
? (0, colors_1.getReadableColorFrom)(theme.breadcrumbs.main, true)
|
|
65
|
-
: (0, colors_1.getReadableColor)(theme, undefined, undefined)), styles_1.ActiveIconScale), interactive && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n color: ", ";\n background-color: ", ";\n ", "\n\n ", " {\n transform: translateY(0px);\n filter: blur(0);\n opacity: 1;\n }\n\n ", " {\n transform: translateY(150%);\n filter: blur(10px);\n opacity: 0;\n }\n }\n "], ["\n cursor: pointer;\n &:hover {\n color: ", ";\n background-color: ", ";\n ", "\n\n ", " {\n transform: translateY(0px);\n filter: blur(0);\n opacity: 1;\n }\n\n ", " {\n transform: translateY(150%);\n filter: blur(10px);\n opacity: 0;\n }\n }\n "])), ((_j = (_h = theme.breadcrumbs) === null || _h === void 0 ? void 0 : _h.item) === null || _j === void 0 ? void 0 : _j.hoverColor) ||
|
|
66
|
-
(((_k = theme.breadcrumbs) === null || _k === void 0 ? void 0 : _k.main)
|
|
67
|
-
? (0, colors_1.getReadableColorFrom)(theme.breadcrumbs.main)
|
|
68
|
-
: (0, colors_1.getReadableColor)(theme, undefined, undefined)), (0, colors_1.changeLightness)(((_l = theme.breadcrumbs) === null || _l === void 0 ? void 0 : _l.main) || theme.main, 0.05), styles_1.ActiveIconScale, Button_1.StyledActiveContent, Button_1.StyledInActiveContent), ((_o = (_m = theme.breadcrumbs) === null || _m === void 0 ? void 0 : _m.item) === null || _o === void 0 ? void 0 : _o.hoverColor) ||
|
|
69
|
-
(((_p = theme.breadcrumbs) === null || _p === void 0 ? void 0 : _p.main)
|
|
70
|
-
? (0, colors_1.getReadableColorFrom)((_q = theme.breadcrumbs) === null || _q === void 0 ? void 0 : _q.main)
|
|
71
|
-
: (0, colors_1.getReadableColor)(theme, undefined, undefined)));
|
|
72
|
-
});
|
|
31
|
+
var Button_1 = __importDefault(require("../Button"));
|
|
73
32
|
var ReqoreBreadcrumbsItem = (0, react_1.forwardRef)(function (_a, ref) {
|
|
74
|
-
var
|
|
75
|
-
var targetRef = (0, useCombinedRefs_1.useCombinedRefs)(ref).targetRef;
|
|
76
|
-
var _c = (0, react_1.useState)(undefined), itemRef = _c[0], setItemRef = _c[1];
|
|
33
|
+
var label = _a.label, props = _a.props, as = _a.as, customTheme = _a.customTheme, rest = __rest(_a, ["label", "props", "as", "customTheme"]);
|
|
77
34
|
var theme = (0, useTheme_1.useReqoreTheme)('breadcrumbs', customTheme);
|
|
78
|
-
(0,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(Button_1["default"]
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
, __assign({
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
as: as, ref: ref, className: 'reqore-breadcrumbs-item', customTheme: theme, minimal: true, flat: true }, rest, props, { children: label })));
|
|
83
40
|
});
|
|
84
41
|
exports["default"] = ReqoreBreadcrumbsItem;
|
|
85
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
86
42
|
//# sourceMappingURL=item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/item.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAmC;AAInC,iDAAsD;AACtD,qDAAqC;AAWrC,IAAM,qBAAqB,GAAG,IAAA,kBAAU,EACtC,UAAC,EAAsE,EAAE,GAAG;IAAzE,IAAA,KAAK,WAAA,EAAE,KAAK,WAAA,EAAE,EAAE,QAAA,EAAE,WAAW,iBAAA,EAAK,IAAI,cAAxC,uCAA0C,CAAF;IACvC,IAAM,KAAK,GAAG,IAAA,yBAAc,EAAC,aAAa,EAAE,WAAW,CAAC,CAAC;IAEzD,OAAO,CACL,uBAAC,mBAAY;IACX,aAAa;;QAAb,aAAa;QACb,EAAE,EAAE,EAAE,EACN,GAAG,EAAE,GAAG,EACR,SAAS,EAAC,yBAAyB,EACnC,WAAW,EAAE,KAAK,EAClB,OAAO,QACP,IAAI,UACA,IAAI,EACJ,KAAK,cAER,KAAK,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,qBAAe,qBAAqB,CAAC"}
|
|
@@ -29,6 +29,7 @@ export interface IReqoreButtonProps extends React.HTMLAttributes<HTMLButtonEleme
|
|
|
29
29
|
labelEffect?: IReqoreEffect;
|
|
30
30
|
descriptionEffect?: IReqoreEffect;
|
|
31
31
|
label?: React.HTMLAttributes<HTMLButtonElement>['children'];
|
|
32
|
+
as?: string | React.ElementType;
|
|
32
33
|
}
|
|
33
34
|
export interface IReqoreButtonStyle extends Omit<IReqoreButtonProps, 'intent'> {
|
|
34
35
|
theme: IReqoreTheme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAEhF,OAAO,EAML,MAAM,EACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAezE,OAAO,EACL,eAAe,EACf,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACL,aAAa,E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,7 @@ exports.ButtonBadge = (0, react_1.memo)(function (_a) {
|
|
|
208
208
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Spacer_1.ReqoreSpacer, { width: props.wrap ? undefined : sizes_1.PADDING_FROM_SIZE[props.size], height: !props.wrap ? undefined : sizes_1.PADDING_FROM_SIZE[props.size] / 2 }), renderTag(__assign(__assign({}, props), { key: 0 }))] }));
|
|
209
209
|
});
|
|
210
210
|
var ReqoreButton = (0, react_1.memo)((0, react_1.forwardRef)(function (_a, ref) {
|
|
211
|
-
var icon = _a.icon, _b = _a.size, size = _b === void 0 ? 'normal' : _b, minimal = _a.minimal, children = _a.children, tooltip = _a.tooltip, className = _a.className, fluid = _a.fluid, fixed = _a.fixed, intent = _a.intent, active = _a.active, flat = _a.flat, rightIcon = _a.rightIcon, customTheme = _a.customTheme, wrap = _a.wrap, readOnly = _a.readOnly, badge = _a.badge, description = _a.description, maxWidth = _a.maxWidth, _c = _a.textAlign, textAlign = _c === void 0 ? 'left' : _c, effect = _a.effect, labelEffect = _a.labelEffect, descriptionEffect = _a.descriptionEffect, leftIconColor = _a.leftIconColor, rightIconColor = _a.rightIconColor, iconColor = _a.iconColor, iconsAlign = _a.iconsAlign, label = _a.label, rest = __rest(_a, ["icon", "size", "minimal", "children", "tooltip", "className", "fluid", "fixed", "intent", "active", "flat", "rightIcon", "customTheme", "wrap", "readOnly", "badge", "description", "maxWidth", "textAlign", "effect", "labelEffect", "descriptionEffect", "leftIconColor", "rightIconColor", "iconColor", "iconsAlign", "label"]);
|
|
211
|
+
var icon = _a.icon, _b = _a.size, size = _b === void 0 ? 'normal' : _b, minimal = _a.minimal, children = _a.children, tooltip = _a.tooltip, className = _a.className, fluid = _a.fluid, fixed = _a.fixed, intent = _a.intent, active = _a.active, flat = _a.flat, rightIcon = _a.rightIcon, customTheme = _a.customTheme, wrap = _a.wrap, readOnly = _a.readOnly, badge = _a.badge, description = _a.description, maxWidth = _a.maxWidth, _c = _a.textAlign, textAlign = _c === void 0 ? 'left' : _c, effect = _a.effect, labelEffect = _a.labelEffect, descriptionEffect = _a.descriptionEffect, leftIconColor = _a.leftIconColor, rightIconColor = _a.rightIconColor, iconColor = _a.iconColor, iconsAlign = _a.iconsAlign, label = _a.label, as = _a.as, rest = __rest(_a, ["icon", "size", "minimal", "children", "tooltip", "className", "fluid", "fixed", "intent", "active", "flat", "rightIcon", "customTheme", "wrap", "readOnly", "badge", "description", "maxWidth", "textAlign", "effect", "labelEffect", "descriptionEffect", "leftIconColor", "rightIconColor", "iconColor", "iconsAlign", "label", "as"]);
|
|
212
212
|
var targetRef = (0, useCombinedRefs_1.useCombinedRefs)(ref).targetRef;
|
|
213
213
|
var _d = (0, react_1.useState)(undefined), buttonRef = _d[0], setButtonRef = _d[1];
|
|
214
214
|
var animations = (0, useReqoreContext_1.useReqoreProperty)('animations');
|
|
@@ -227,7 +227,7 @@ var ReqoreButton = (0, react_1.memo)((0, react_1.forwardRef)(function (_a, ref)
|
|
|
227
227
|
var _children = (0, react_1.useMemo)(function () { return label || children; }, [label, children]);
|
|
228
228
|
return ((0, jsx_runtime_1.jsxs)(exports.StyledButton, __assign({}, rest, { effect: intent
|
|
229
229
|
? undefined
|
|
230
|
-
: __assign({ interactive: !readOnly && !rest.disabled }, fixedEffect), tabindex: rest.disabled ? -1 : 0, as: 'button', theme: theme, ref: function (ref) {
|
|
230
|
+
: __assign({ interactive: !readOnly && !rest.disabled }, fixedEffect), tabindex: rest.disabled ? -1 : 0, as: as || 'button', theme: theme, ref: function (ref) {
|
|
231
231
|
targetRef.current = ref;
|
|
232
232
|
setButtonRef(ref);
|
|
233
233
|
}, fluid: fluid, fixed: fixed, maxWidth: maxWidth, minimal: minimal, size: size, color: customColor, animate: animations.buttons, flat: _flat, active: active, readOnly: readOnly, wrap: wrap, description: description, className: "".concat(className || '', " reqore-control reqore-button") }, { children: [(0, jsx_runtime_1.jsxs)(exports.StyledButtonContent, __assign({ size: size, wrap: wrap, description: description, flat: _flat }, { children: [icon ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Icon_1["default"], { icon: icon, size: size, color: leftIconColor || iconColor, style: textAlign !== 'left' || iconsAlign === 'center'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAgC;AAChC,+BAAgF;AAChF,qEAAgD;AAChD,+CAO+B;AAE/B,+CAA+F;AAC/F,6CAAuE;AACvE,+DAA8D;AAC9D,iEAAiE;AACjE,+DAA8D;AAC9D,iDAAsD;AACtD,qDAAoD;AACpD,uCAMsB;AAUtB,oCAOmB;AACnB,iDAAiC;AACjC,oCAAiE;AACjE,+CAAoD;AACpD,uDAA0C;AAwC1C,IAAM,kBAAkB,GAAG,UAAC,KAAmB,EAAE,KAAuB;IACtE,IAAI,KAAK,EAAE;QACT,OAAO,KAAK,CAAC;KACd;IAED,OAAO,KAAK,CAAC,IAAI,CAAC;AACpB,CAAC,CAAC;AAEW,QAAA,yBAAyB,GAAG,8BAAM,CAAC,IAAI,sMAAA,8DAGpC,EAA4B,4DAG3B,EAA8C,KAC9D,KAJe,UAAC,EAAa;QAAX,SAAS,eAAA;IAAO,OAAA,SAAS;AAAT,CAAS,EAG3B,UAAC,EAAa;QAAX,SAAS,eAAA;IAAO,OAAA,IAAA,wBAAgB,EAAC,SAAS,CAAC;AAA3B,CAA2B,EAC7D;AAEW,QAAA,mBAAmB,GAAG,IAAA,8BAAM,EAAC,yBAAgB,CAAC,iNAAA,wIAOvD,EAUK,IACR,KAXG,UAAC,EAAQ;QAAN,IAAI,UAAA;IACP,OAAA,CAAC,IAAI;QACH,CAAC,KAAC,uBAAG,yMAAA,qIAKF,KACH,CAAC,KAAC,uBAAG,mHAAA,+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,CAAC,CAAC,SAAS,GACjE,CACH,CAAC,CAAC,CAAC,IAAI,CACT,CAAC,CAAC,CAAC,CACF,6DACG,SAAS,IAAI,KAAK,CAAC,CAAC,CAAC,uBAAC,qBAAY,IAAC,KAAK,EAAE,yBAAiB,CAAC,IAAI,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EAC7E,uBAAC,iBAAU,IACT,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,IAAI,EACV,KAAK,EACH,SAAS,KAAK,OAAO,IAAI,UAAU,KAAK,QAAQ;oCAC9C,CAAC,CAAC;wCACE,UAAU,EAAE,UAAU,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;wCACtE,WAAW,EACT,UAAU,KAAK,QAAQ,IAAI,CAAC,SAAS,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC;4CAC/D,CAAC,CAAC,MAAM;4CACR,CAAC,CAAC,SAAS;qCAChB;oCACH,CAAC,CAAC,SAAS,EAEf,KAAK,EAAE,cAAc,IAAI,SAAS,GAClC,IACD,CACJ,KACmB,EAErB,WAAW,IAAI,CACd,uBAAC,yBAAgB,aACf,SAAS,EAAC,2BAA2B,EACrC,MAAM,aACJ,QAAQ,EAAE,IAAA,sBAAc,EAAC,IAAI,CAAC,EAC9B,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,UAAG,KAAK,OAAI,EACnB,SAAS,WAAA,IACN,iBAAiB,iBAGrB,WAAW,IACK,CACpB,KACY,CAChB,CAAC;AACJ,CAAC,CACF,CACF,CAAC;AAEF,qBAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -15,8 +15,7 @@ import { IReqoreBreadcrumbsTheme, IReqoreTheme, TReqoreIntent } from '../../cons
|
|
|
15
15
|
import { changeLightness, getReadableColor, getReadableColorFrom } from '../../helpers/colors';
|
|
16
16
|
import { calculateStringSizeInPixels } from '../../helpers/utils';
|
|
17
17
|
import { useReqoreTheme } from '../../hooks/useTheme';
|
|
18
|
-
import {
|
|
19
|
-
import { IReqoreIconName } from '../../types/icons';
|
|
18
|
+
import { IReqoreButtonProps } from '../Button';
|
|
20
19
|
import ReqoreIcon from '../Icon';
|
|
21
20
|
import ReqoreMenu from '../Menu';
|
|
22
21
|
import ReqoreMenuItem from '../Menu/item';
|
|
@@ -32,15 +31,11 @@ export interface IReqoreBreadcrumbItemTabs {
|
|
|
32
31
|
activeTabIntent?: TReqoreIntent;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
export interface IReqoreBreadcrumbItem {
|
|
36
|
-
tooltip?: TReqoreTooltipProp;
|
|
34
|
+
export interface IReqoreBreadcrumbItem extends IReqoreButtonProps {
|
|
37
35
|
label?: string;
|
|
38
|
-
icon?: IReqoreIconName;
|
|
39
|
-
active?: boolean;
|
|
40
36
|
as?: any;
|
|
41
37
|
props?: React.HTMLAttributes<any>;
|
|
42
38
|
withTabs?: IReqoreBreadcrumbItemTabs;
|
|
43
|
-
customTheme?: IReqoreBreadcrumbsTheme;
|
|
44
39
|
}
|
|
45
40
|
|
|
46
41
|
export interface IReqoreBreadcrumbsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -58,14 +53,14 @@ interface IStyledBreadcrumbs extends Omit<IReqoreBreadcrumbsProps, 'items'> {
|
|
|
58
53
|
}
|
|
59
54
|
|
|
60
55
|
const StyledReqoreBreadcrumbs = styled.div<IStyledBreadcrumbs>`
|
|
61
|
-
${({ theme, size }: IStyledBreadcrumbs) => css`
|
|
56
|
+
${({ theme, size, flat }: IStyledBreadcrumbs) => css`
|
|
62
57
|
width: 100%;
|
|
63
|
-
height: ${TABS_SIZE_TO_PX[size!]}px;
|
|
58
|
+
min-height: ${TABS_SIZE_TO_PX[size!]}px;
|
|
64
59
|
margin: ${MARGIN_FROM_SIZE[size!]}px 0;
|
|
65
60
|
display: flex;
|
|
66
61
|
padding: 0 ${PADDING_FROM_SIZE[size!]}px;
|
|
67
62
|
justify-content: space-between;
|
|
68
|
-
border-bottom: 1px solid ${changeLightness(theme.main, 0.05)};
|
|
63
|
+
border-bottom: ${flat ? undefined : `1px solid ${changeLightness(theme.main, 0.05)}`};
|
|
69
64
|
background-color: ${({ theme }: { theme: IReqoreTheme }) =>
|
|
70
65
|
theme.breadcrumbs?.main || 'transparent'};
|
|
71
66
|
|
|
@@ -104,7 +99,6 @@ const StyledBreadcrumbsTabsWrapper = styled.div`
|
|
|
104
99
|
width: 100%;
|
|
105
100
|
`;
|
|
106
101
|
|
|
107
|
-
const itemPadding = 27;
|
|
108
102
|
const arrowSize = 50;
|
|
109
103
|
|
|
110
104
|
const getBreadcrumbsLength = (
|
|
@@ -119,7 +113,7 @@ const getBreadcrumbsLength = (
|
|
|
119
113
|
if (item.withTabs) {
|
|
120
114
|
return (
|
|
121
115
|
len +
|
|
122
|
-
|
|
116
|
+
PADDING_FROM_SIZE[size] +
|
|
123
117
|
arrowSize +
|
|
124
118
|
getTabsLength(item.withTabs.tabs, 'width', item.withTabs.activeTab, size)
|
|
125
119
|
);
|
|
@@ -127,7 +121,7 @@ const getBreadcrumbsLength = (
|
|
|
127
121
|
|
|
128
122
|
return (
|
|
129
123
|
len +
|
|
130
|
-
|
|
124
|
+
PADDING_FROM_SIZE[size] +
|
|
131
125
|
ICON_FROM_SIZE[size] +
|
|
132
126
|
arrowSize +
|
|
133
127
|
calculateStringSizeInPixels(item.label || '', TEXT_FROM_SIZE[size])
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import { forwardRef
|
|
2
|
-
import styled, { css } from 'styled-components';
|
|
1
|
+
import { forwardRef } from 'react';
|
|
3
2
|
import { IReqoreBreadcrumbItem } from '.';
|
|
4
|
-
import {
|
|
3
|
+
import { TSizes } from '../../constants/sizes';
|
|
5
4
|
import { IReqoreTheme } from '../../constants/theme';
|
|
6
|
-
import { changeLightness, getReadableColor, getReadableColorFrom } from '../../helpers/colors';
|
|
7
|
-
import { useCombinedRefs } from '../../hooks/useCombinedRefs';
|
|
8
5
|
import { useReqoreTheme } from '../../hooks/useTheme';
|
|
9
|
-
import
|
|
10
|
-
import { ActiveIconScale, InactiveIconScale } from '../../styles';
|
|
11
|
-
import {
|
|
12
|
-
StyledActiveContent,
|
|
13
|
-
StyledAnimatedTextWrapper,
|
|
14
|
-
StyledInActiveContent,
|
|
15
|
-
StyledInvisibleContent,
|
|
16
|
-
} from '../Button';
|
|
17
|
-
import ReqoreIcon from '../Icon';
|
|
6
|
+
import ReqoreButton from '../Button';
|
|
18
7
|
|
|
19
8
|
export interface IReqoreBreadcrumbItemProps extends IReqoreBreadcrumbItem {
|
|
20
9
|
interactive?: boolean;
|
|
@@ -25,131 +14,24 @@ export interface IReqoreBreadcrumbItemStyle extends IReqoreBreadcrumbItemProps {
|
|
|
25
14
|
theme: IReqoreTheme;
|
|
26
15
|
}
|
|
27
16
|
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
const textColor =
|
|
31
|
-
theme.breadcrumbs?.item?.color ||
|
|
32
|
-
(theme.breadcrumbs?.main
|
|
33
|
-
? getReadableColorFrom(theme.breadcrumbs.main, true)
|
|
34
|
-
: getReadableColor(theme, undefined, undefined, true));
|
|
35
|
-
|
|
36
|
-
return css`
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-shrink: 0;
|
|
39
|
-
height: 100%;
|
|
40
|
-
justify-content: space-evenly;
|
|
41
|
-
align-items: center;
|
|
42
|
-
padding: 0 ${PADDING_FROM_SIZE[size!]}px;
|
|
43
|
-
transition: background-color 0.15s ease-out;
|
|
44
|
-
font-size: ${TEXT_FROM_SIZE[size!]}px;
|
|
45
|
-
font-weight: 450;
|
|
46
|
-
position: relative;
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
|
|
49
|
-
* {
|
|
50
|
-
color: ${textColor};
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
${InactiveIconScale}
|
|
54
|
-
|
|
55
|
-
${active &&
|
|
56
|
-
css`
|
|
57
|
-
* {
|
|
58
|
-
font-weight: 600;
|
|
59
|
-
color: ${theme.breadcrumbs?.item?.activeColor ||
|
|
60
|
-
(theme.breadcrumbs?.main
|
|
61
|
-
? getReadableColorFrom(theme.breadcrumbs.main, true)
|
|
62
|
-
: getReadableColor(theme, undefined, undefined))};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
${ActiveIconScale}
|
|
66
|
-
`}
|
|
67
|
-
|
|
68
|
-
${interactive &&
|
|
69
|
-
css`
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
&:hover {
|
|
72
|
-
color: ${theme.breadcrumbs?.item?.hoverColor ||
|
|
73
|
-
(theme.breadcrumbs?.main
|
|
74
|
-
? getReadableColorFrom(theme.breadcrumbs.main)
|
|
75
|
-
: getReadableColor(theme, undefined, undefined))};
|
|
76
|
-
background-color: ${changeLightness(theme.breadcrumbs?.main || theme.main, 0.05)};
|
|
77
|
-
${ActiveIconScale}
|
|
78
|
-
|
|
79
|
-
${StyledActiveContent} {
|
|
80
|
-
transform: translateY(0px);
|
|
81
|
-
filter: blur(0);
|
|
82
|
-
opacity: 1;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
${StyledInActiveContent} {
|
|
86
|
-
transform: translateY(150%);
|
|
87
|
-
filter: blur(10px);
|
|
88
|
-
opacity: 0;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
`}
|
|
92
|
-
|
|
93
|
-
a:hover {
|
|
94
|
-
color: ${theme.breadcrumbs?.item?.hoverColor ||
|
|
95
|
-
(theme.breadcrumbs?.main
|
|
96
|
-
? getReadableColorFrom(theme.breadcrumbs?.main)
|
|
97
|
-
: getReadableColor(theme, undefined, undefined))};
|
|
98
|
-
}
|
|
99
|
-
`;
|
|
100
|
-
}}
|
|
101
|
-
|
|
102
|
-
a {
|
|
103
|
-
text-decoration: none;
|
|
104
|
-
|
|
105
|
-
&:hover {
|
|
106
|
-
text-decoration: underline;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
`;
|
|
110
|
-
|
|
111
|
-
const ReqoreBreadcrumbsItem = forwardRef<HTMLDivElement, IReqoreBreadcrumbItemProps>(
|
|
112
|
-
(
|
|
113
|
-
{
|
|
114
|
-
tooltip,
|
|
115
|
-
label,
|
|
116
|
-
props,
|
|
117
|
-
icon,
|
|
118
|
-
active,
|
|
119
|
-
as,
|
|
120
|
-
interactive,
|
|
121
|
-
customTheme,
|
|
122
|
-
size = 'normal',
|
|
123
|
-
}: IReqoreBreadcrumbItemProps,
|
|
124
|
-
ref
|
|
125
|
-
) => {
|
|
126
|
-
const { targetRef } = useCombinedRefs(ref);
|
|
127
|
-
const [itemRef, setItemRef] = useState(undefined);
|
|
17
|
+
const ReqoreBreadcrumbsItem = forwardRef<HTMLButtonElement, IReqoreBreadcrumbItemProps>(
|
|
18
|
+
({ label, props, as, customTheme, ...rest }: IReqoreBreadcrumbItemProps, ref) => {
|
|
128
19
|
const theme = useReqoreTheme('breadcrumbs', customTheme);
|
|
129
20
|
|
|
130
|
-
useTooltip(itemRef, tooltip);
|
|
131
|
-
|
|
132
21
|
return (
|
|
133
|
-
<
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}}
|
|
138
|
-
active={active}
|
|
139
|
-
interactive={interactive || !!props?.onClick}
|
|
22
|
+
<ReqoreButton
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
as={as}
|
|
25
|
+
ref={ref}
|
|
140
26
|
className='reqore-breadcrumbs-item'
|
|
141
|
-
|
|
142
|
-
|
|
27
|
+
customTheme={theme}
|
|
28
|
+
minimal
|
|
29
|
+
flat
|
|
30
|
+
{...rest}
|
|
31
|
+
{...props}
|
|
143
32
|
>
|
|
144
|
-
{
|
|
145
|
-
|
|
146
|
-
<StyledAnimatedTextWrapper as={as || 'span'} {...props}>
|
|
147
|
-
<StyledActiveContent>{label}</StyledActiveContent>
|
|
148
|
-
<StyledInActiveContent>{label}</StyledInActiveContent>
|
|
149
|
-
<StyledInvisibleContent>{label}</StyledInvisibleContent>
|
|
150
|
-
</StyledAnimatedTextWrapper>
|
|
151
|
-
)}
|
|
152
|
-
</StyledBreadcrumbItem>
|
|
33
|
+
{label}
|
|
34
|
+
</ReqoreButton>
|
|
153
35
|
);
|
|
154
36
|
}
|
|
155
37
|
);
|
|
@@ -76,6 +76,7 @@ export interface IReqoreButtonProps
|
|
|
76
76
|
labelEffect?: IReqoreEffect;
|
|
77
77
|
descriptionEffect?: IReqoreEffect;
|
|
78
78
|
label?: React.HTMLAttributes<HTMLButtonElement>['children'];
|
|
79
|
+
as?: string | React.ElementType;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
export interface IReqoreButtonStyle extends Omit<IReqoreButtonProps, 'intent'> {
|
|
@@ -398,6 +399,7 @@ const ReqoreButton = memo(
|
|
|
398
399
|
iconColor,
|
|
399
400
|
iconsAlign,
|
|
400
401
|
label,
|
|
402
|
+
as,
|
|
401
403
|
...rest
|
|
402
404
|
}: IReqoreButtonProps,
|
|
403
405
|
ref
|
|
@@ -434,7 +436,7 @@ const ReqoreButton = memo(
|
|
|
434
436
|
}
|
|
435
437
|
}
|
|
436
438
|
tabindex={rest.disabled ? -1 : 0}
|
|
437
|
-
as='button'
|
|
439
|
+
as={as || 'button'}
|
|
438
440
|
theme={theme}
|
|
439
441
|
ref={(ref) => {
|
|
440
442
|
targetRef.current = ref;
|
package/src/mock/breadcrumbs.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { noop } from 'lodash';
|
|
2
2
|
import { IReqoreBreadcrumbItem, IReqoreBreadcrumbItemTabs } from '../components/Breadcrumbs';
|
|
3
|
+
import { ReqoreH3 } from '../components/Header';
|
|
3
4
|
import { Icons } from './icons';
|
|
4
5
|
|
|
5
6
|
export default [
|
|
@@ -10,18 +11,21 @@ export default [
|
|
|
10
11
|
active: true,
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
|
-
label: 'Workflows',
|
|
14
|
-
icon: Icons.Workflow,
|
|
14
|
+
label: 'Workflows as Link',
|
|
15
15
|
tooltip: 'Opens in a new window',
|
|
16
16
|
as: 'a',
|
|
17
17
|
props: {
|
|
18
18
|
href: 'https://google.com',
|
|
19
19
|
},
|
|
20
|
+
icon: Icons.Workflows,
|
|
21
|
+
flat: false,
|
|
22
|
+
intent: 'info',
|
|
20
23
|
},
|
|
21
24
|
{
|
|
22
|
-
label: 'Services',
|
|
23
25
|
icon: Icons.Services,
|
|
24
|
-
tooltip: 'Services',
|
|
26
|
+
tooltip: 'Services as H3',
|
|
27
|
+
as: ReqoreH3,
|
|
28
|
+
label: 'Services as H3',
|
|
25
29
|
props: {
|
|
26
30
|
onClick: noop,
|
|
27
31
|
},
|
|
@@ -30,6 +34,10 @@ export default [
|
|
|
30
34
|
label: 'Jobs',
|
|
31
35
|
icon: Icons.Jobs,
|
|
32
36
|
customTheme: '#a9a9a9',
|
|
37
|
+
badge: 10,
|
|
38
|
+
description: 'Some item description',
|
|
39
|
+
intent: 'warning',
|
|
40
|
+
minimal: false,
|
|
33
41
|
},
|
|
34
42
|
{
|
|
35
43
|
tooltip: 'Connections',
|
|
@@ -3,6 +3,7 @@ import { IReqoreBreadcrumbItem, IReqoreBreadcrumbsProps } from '../../components
|
|
|
3
3
|
import { ReqoreBreadcrumbs } from '../../index';
|
|
4
4
|
import breadcrumbs, { breadcrumbsTabs } from '../../mock/breadcrumbs';
|
|
5
5
|
import { buildTemplate } from '../utils';
|
|
6
|
+
import { SizeArg } from '../utils/args';
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
title: 'Components/Breadcrumbs',
|
|
@@ -13,6 +14,7 @@ export default {
|
|
|
13
14
|
description: 'Whether tabs should be shown alongside the breadcrumbs',
|
|
14
15
|
control: 'boolean',
|
|
15
16
|
},
|
|
17
|
+
...SizeArg,
|
|
16
18
|
},
|
|
17
19
|
parameters: {
|
|
18
20
|
jest: ['breadcrumbs.test.tsx'],
|
|
@@ -36,3 +38,4 @@ const Template: ComponentStory<typeof ReqoreBreadcrumbs & { withTabs?: boolean }
|
|
|
36
38
|
|
|
37
39
|
export const Default = buildTemplate(Template);
|
|
38
40
|
export const WithTabs = buildTemplate(Template, { withTabs: true });
|
|
41
|
+
export const Flat = buildTemplate(Template, { flat: true });
|
package/tests.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":33,"numPassedTests":226,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":33,"numTotalTests":226,"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":1686821646408,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":273,"failureDetails":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect />","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders empty <ReqoreMultiSelect />"},{"ancestorTitles":[],"duration":56,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value"},{"ancestorTitles":[],"duration":107,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value, items can be removed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value, items can be removed"},{"ancestorTitles":[],"duration":50,"failureDetails":[],"failureMessages":[],"fullName":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created"},{"ancestorTitles":[],"duration":402,"failureDetails":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created"},{"ancestorTitles":[],"duration":989,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list"},{"ancestorTitles":[],"duration":295,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list"},{"ancestorTitles":[],"duration":612,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list"},{"ancestorTitles":[],"duration":656,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list"},{"ancestorTitles":[],"duration":377,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused"},{"ancestorTitles":[],"duration":468,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key"},{"ancestorTitles":[],"duration":604,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes"},{"ancestorTitles":[],"duration":58,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked"},{"ancestorTitles":[],"duration":658,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemAdded when an item is added","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemAdded when an item is added"},{"ancestorTitles":[],"duration":42,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemRemoved when an item is removed","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemRemoved when an item is removed"}],"endTime":1686821662799,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/multiselect.test.tsx","startTime":1686821646852,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":108,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Input /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"duration":113,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"duration":28,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <Input /> cannot be cleared"},{"ancestorTitles":[],"duration":37,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Input /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Input /> cannot be cleared"},{"ancestorTitles":[],"duration":33,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> gets automatically focused"},{"ancestorTitles":[],"duration":31,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Input /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Input /> does not get automatically focused"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Input /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <Input /> does not get automatically focused"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> gets automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> does not get automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> does not get automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets automatically focused if its inside of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> gets automatically focused if its inside of viewport"},{"ancestorTitles":[],"duration":16,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any letter is pressed"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any letter is pressed 2"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit is pressed"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit is pressed 2"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit or letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit or letter is pressed"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit or letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit or letter is pressed 2"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after a specified shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after a specified shortcut is pressed"},{"ancestorTitles":[],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> does not get focused when typing in another input","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Input /> does not get focused when typing in another input"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Input /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Readonly <Input /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Input /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Disabled <Input /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> is cleared when focused","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> is cleared when focused"},{"ancestorTitles":[],"duration":202,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Input /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Input /> works"}],"endTime":1686821664601,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1686821662819,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":60,"failureDetails":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"duration":108,"failureDetails":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <TextArea /> cannot be cleared"},{"ancestorTitles":[],"duration":22,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Textarea /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Textarea /> cannot be cleared"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> gets automatically focused"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Textarea /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Textarea /> does not get automatically focused"},{"ancestorTitles":[],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Textarea /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <Textarea /> does not get automatically focused"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> gets automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> does not get automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> does not get automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets automatically focused if its inside of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> gets automatically focused if its inside of viewport"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any letter is pressed"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any letter is pressed 2"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit is pressed"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit is pressed 2"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit or letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit or letter is pressed"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit or letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit or letter is pressed 2"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after a specified shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after a specified shortcut is pressed"},{"ancestorTitles":[],"duration":16,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> does not get focused when typing in another input","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Textarea /> does not get focused when typing in another input"},{"ancestorTitles":[],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Textarea /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Readonly <Textarea /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Textarea /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Disabled <Textarea /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> is cleared when focused","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> is cleared when focused"},{"ancestorTitles":[],"duration":152,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Textarea /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Textarea /> works"}],"endTime":1686821666123,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1686821664619,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":207,"failureDetails":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"duration":340,"failureDetails":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"duration":43,"failureDetails":[],"failureMessages":[],"fullName":"Can select hidden <Tabs /> when shortened","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Can select hidden <Tabs /> when shortened"},{"ancestorTitles":[],"duration":81,"failureDetails":[],"failureMessages":[],"fullName":"Default active tab can be specified","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"duration":116,"failureDetails":[],"failureMessages":[],"fullName":"Changes tab and runs callback","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"duration":96,"failureDetails":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"duration":74,"failureDetails":[],"failureMessages":[],"fullName":"Does not change tab when mounted and active tab is set","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Does not change tab when mounted and active tab is set"},{"ancestorTitles":[],"duration":131,"failureDetails":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"duration":113,"failureDetails":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1686821668206,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1686821666137,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":1670,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <Pagination />","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders default <Pagination />"},{"ancestorTitles":[],"duration":139,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with only 5 page buttons","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with only 5 page buttons"},{"ancestorTitles":[],"duration":23,"failureDetails":[],"failureMessages":[],"fullName":"Renders no <Pagination /> if only one page exists","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders no <Pagination /> if only one page exists"},{"ancestorTitles":[],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"Renders no <Pagination /> if no items exist","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders no <Pagination /> if no items exist"},{"ancestorTitles":[],"duration":743,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> without control buttons","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> without control buttons"},{"ancestorTitles":[],"duration":82,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> without page buttons","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> without page buttons"},{"ancestorTitles":[],"duration":100,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with labels","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with labels"},{"ancestorTitles":[],"duration":86,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with custom labels","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with custom labels"},{"ancestorTitles":[],"duration":145,"failureDetails":[],"failureMessages":[],"fullName":"Renders list <Pagination /> with labels","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders list <Pagination /> with labels"},{"ancestorTitles":[],"duration":144,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with only 5 page buttons and start page 11","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with only 5 page buttons and start page 11"},{"ancestorTitles":[],"duration":553,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with custom number of items per page","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with custom number of items per page"},{"ancestorTitles":[],"duration":1270,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> as a list","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> as a list"},{"ancestorTitles":[],"duration":122,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with load more button","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with load more button"},{"ancestorTitles":[],"duration":3078,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with load more button and auto load","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with load more button and auto load"},{"ancestorTitles":[],"duration":1305,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> and changes pages with vertical scroll","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> and changes pages with vertical scroll"},{"ancestorTitles":[],"duration":1612,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> and changes pages with horizontal scroll","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> and changes pages with horizontal scroll"}],"endTime":1686821681210,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/pagination.test.tsx","startTime":1686821668237,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":325,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"duration":219,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"duration":164,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"duration":394,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"duration":289,"failureDetails":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"duration":494,"failureDetails":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"duration":270,"failureDetails":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"duration":487,"failureDetails":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"duration":197,"failureDetails":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1686821685011,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1686821681225,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":418,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"duration":17,"failureDetails":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when items are empty","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders disabled <Dropdown /> when items are empty"},{"ancestorTitles":[],"duration":22,"failureDetails":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when items are not empty & disabled prop is true","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders disabled <Dropdown /> when items are not empty & disabled prop is true"},{"ancestorTitles":[],"duration":215,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"duration":164,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> is opened by default","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> is opened by default"},{"ancestorTitles":[],"duration":64,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and calls a function on item click, closes the dropdown","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> and calls a function on item click, closes the dropdown"},{"ancestorTitles":[],"duration":327,"failureDetails":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"},{"ancestorTitles":[],"duration":204,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and updates its items when state changes, does not close dropdown","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> and updates its items when state changes, does not close dropdown"}],"endTime":1686821687295,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1686821685024,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":59,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns all pages","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"useReqorePaging returns all pages"},{"ancestorTitles":[],"duration":22,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging with default start page","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"status":"passed","title":"useReqorePaging with default start page"},{"ancestorTitles":[],"duration":20,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging specified number of pages","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"status":"passed","title":"useReqorePaging specified number of pages"},{"ancestorTitles":[],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns 1 page when items are empty","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqorePaging returns 1 page when items are empty"},{"ancestorTitles":[],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns correct number of rounded pages","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"useReqorePaging returns correct number of rounded pages"},{"ancestorTitles":[],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns items per page","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqorePaging returns items per page"},{"ancestorTitles":[],"duration":27,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns new items and pages when size of data change, current page is set to 1","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"useReqorePaging returns new items and pages when size of data change, current page is set to 1"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging does not return new items and pages when data change","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"useReqorePaging does not return new items and pages when data change"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging page navigation works correctly","invocations":1,"location":null,"numPassingAsserts":14,"retryReasons":[],"status":"passed","title":"useReqorePaging page navigation works correctly"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns correct number of items with infinite loading","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"status":"passed","title":"useReqorePaging returns correct number of items with infinite loading"}],"endTime":1686821688233,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/hooks/useReqorePaging.test.tsx","startTime":1686821687307,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":856,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Collection /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders basic <Collection /> properly"},{"ancestorTitles":[],"duration":634,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> items can be filtered","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"<Collection /> items can be filtered"},{"ancestorTitles":[],"duration":581,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> filter is properly removed by the clear button","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"<Collection /> filter is properly removed by the clear button"},{"ancestorTitles":[],"duration":250,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> filter is focused when a shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Collection /> filter is focused when a shortcut is pressed"},{"ancestorTitles":[],"duration":36,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> shows no data message when empty","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Collection /> shows no data message when empty"},{"ancestorTitles":[],"duration":370,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> can be sorted","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Collection /> can be sorted"},{"ancestorTitles":[],"duration":487,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has default paging","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Collection /> has default paging"},{"ancestorTitles":[],"duration":405,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has list paging","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Collection /> has list paging"},{"ancestorTitles":[],"duration":537,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has infinite paging","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"<Collection /> has infinite paging"},{"ancestorTitles":[],"duration":2370,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has custom paging","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"<Collection /> has custom paging"},{"ancestorTitles":[],"duration":351,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has 2 paging controls","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Collection /> has 2 paging controls"}],"endTime":1686821696429,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/collection.test.tsx","startTime":1686821688257,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":47,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"duration":36,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"duration":104,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"duration":30,"failureDetails":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders closable <Panel /> properly"},{"ancestorTitles":[],"duration":210,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Panel /> with actions","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Panel /> with actions"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Panel /> without actions group if all actions are not shown","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Panel /> without actions group if all actions are not shown"},{"ancestorTitles":[],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, & title is not collapsible","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, & title is not collapsible"},{"ancestorTitles":[],"duration":163,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Panel /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Panel /> works"},{"ancestorTitles":[],"duration":53,"failureDetails":[],"failureMessages":[],"fullName":"Custom control props on <Panel />","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Custom control props on <Panel />"}],"endTime":1686821697876,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1686821696444,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":145,"failureDetails":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"duration":30,"failureDetails":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"duration":27,"failureDetails":[],"failureMessages":[],"fullName":"Shows custom content","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"Runs callback function","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Runs callback function"},{"ancestorTitles":[],"duration":31,"failureDetails":[],"failureMessages":[],"fullName":"Shows the popover after a local delay, ignoring global delay","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows the popover after a local delay, ignoring global delay"},{"ancestorTitles":[],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"Shows the popover after a global delay","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows the popover after a global delay"},{"ancestorTitles":[],"duration":30,"failureDetails":[],"failureMessages":[],"fullName":"Shows the popover with blur","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Shows the popover with blur"},{"ancestorTitles":[],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"Does not show the popover with delay if time not reached","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Does not show the popover with delay if time not reached"},{"ancestorTitles":[],"duration":70,"failureDetails":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "},{"ancestorTitles":[],"duration":6,"failureDetails":[],"failureMessages":[],"fullName":"Correctly passes popover data for non-opened popover","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Correctly passes popover data for non-opened popover"},{"ancestorTitles":[],"duration":59,"failureDetails":[],"failureMessages":[],"fullName":"Correctly passes popover data for opened popover","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Correctly passes popover data for opened popover"}],"endTime":1686821699321,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1686821697888,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":119,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"duration":18,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> using `label`","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> using `label`"},{"ancestorTitles":[],"duration":150,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"duration":46,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"duration":236,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"duration":40,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"duration":43,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"duration":22,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with onClick function"},{"ancestorTitles":[],"duration":80,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with a 0 badge","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with a 0 badge"},{"ancestorTitles":[],"duration":20,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with a string badge","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with a string badge"},{"ancestorTitles":[],"duration":18,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with a Tag props badge","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with a Tag props badge"},{"ancestorTitles":[],"duration":28,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with multiple badges","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with multiple badges"},{"ancestorTitles":[],"duration":272,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Button /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Button /> works"}],"endTime":1686821701427,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1686821699332,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":205,"failureDetails":[],"failureMessages":[],"fullName":"Renders sidebar","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"duration":69,"failureDetails":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"duration":69,"failureDetails":[],"failureMessages":[],"fullName":"Can open submenu manually","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"duration":57,"failureDetails":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"duration":131,"failureDetails":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"duration":28,"failureDetails":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"duration":50,"failureDetails":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"duration":179,"failureDetails":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"duration":46,"failureDetails":[],"failureMessages":[],"fullName":"Renders custom item at the top","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders custom item at the top"}],"endTime":1686821703021,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1686821701439,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":398,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"duration":430,"failureDetails":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders confirmation <Modal /> "},{"ancestorTitles":[],"duration":95,"failureDetails":[],"failureMessages":[],"fullName":"Always renders confirmation <Modal /> properly above a normal modal","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Always renders confirmation <Modal /> properly above a normal modal"}],"endTime":1686821705213,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1686821703032,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":1577,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer />","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer />"},{"ancestorTitles":[],"duration":2152,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer /> with both control wrappers","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer /> with both control wrappers"},{"ancestorTitles":[],"duration":2019,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer /> with both control wrappers, one included in children","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer /> with both control wrappers, one included in children"},{"ancestorTitles":[],"duration":120,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer /> with onPageChange callback","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer /> with onPageChange callback"}],"endTime":1686821712261,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/containers/paging.test.tsx","startTime":1686821705230,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":205,"failureDetails":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"Adds a notification and updates it","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"duration":23,"failureDetails":[],"failureMessages":[],"fullName":"Notification has a click event","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"duration":16,"failureDetails":[],"failureMessages":[],"fullName":"Notification has a close event","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"duration":17,"failureDetails":[],"failureMessages":[],"fullName":"Notification has a finish event","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"duration":141,"failureDetails":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1686821713368,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1686821712271,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":192,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"duration":74,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"duration":27,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"duration":25,"failureDetails":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"},{"ancestorTitles":[],"duration":33,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> with the label key","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tag /> with the label key"}],"endTime":1686821714717,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1686821713384,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":41,"failureDetails":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"duration":86,"failureDetails":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"duration":115,"failureDetails":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"duration":47,"failureDetails":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"duration":36,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Drawer /> with interactive backdrop"},{"ancestorTitles":[],"duration":86,"failureDetails":[],"failureMessages":[],"fullName":"<Drawer /> actions are changed properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Drawer /> actions are changed properly"}],"endTime":1686821716122,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1686821714726,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":330,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"duration":146,"failureDetails":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"duration":368,"failureDetails":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"duration":189,"failureDetails":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"duration":478,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1686821718254,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1686821716132,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":129,"failureDetails":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"duration":45,"failureDetails":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"},{"ancestorTitles":[],"duration":258,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Breadcrumbs /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Breadcrumbs /> works"}],"endTime":1686821719261,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1686821718265,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":190,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"duration":60,"failureDetails":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"duration":84,"failureDetails":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1686821720198,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1686821719274,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":137,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Message /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"duration":20,"failureDetails":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"duration":27,"failureDetails":[],"failureMessages":[],"fullName":"Runs onClose when closed","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Runs onClose when closed"},{"ancestorTitles":[],"duration":123,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Message /> works","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Tooltip on <Message /> works"}],"endTime":1686821721454,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1686821720213,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":43,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreEffect /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <ReqoreEffect /> properly"},{"ancestorTitles":[],"duration":17,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreTextEffect /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <ReqoreTextEffect /> properly"}],"endTime":1686821722616,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/effect.test.tsx","startTime":1686821721475,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":54,"failureDetails":[],"failureMessages":[],"fullName":"<Heading /> renders properly","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"status":"passed","title":"<Heading /> renders properly"},{"ancestorTitles":[],"duration":155,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Heading /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Heading /> works"}],"endTime":1686821723485,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/heading.test.tsx","startTime":1686821722641,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":165,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Checkbox /> properly"},{"ancestorTitles":[],"duration":181,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Checkbox /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Checkbox /> works"}],"endTime":1686821724485,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1686821723494,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":48,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"duration":20,"failureDetails":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders empty <Icon /> if icon does not exist"},{"ancestorTitles":[],"duration":134,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Icon /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Icon /> works"}],"endTime":1686821725605,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1686821724495,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return the default theme","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return the default theme"},{"ancestorTitles":[],"duration":3,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return modified main intent color, original color is preserved","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return modified main intent color, original color is preserved"},{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return modified main custom color, original color is preserved","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return modified main custom color, original color is preserved"},{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return modified main color if intent is passed, original color is preserved","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return modified main color if intent is passed, original color is preserved"}],"endTime":1686821726185,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/hooks/useTheme.test.tsx","startTime":1686821725615,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":156,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1686821726927,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1686821726195,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":48,"failureDetails":[],"failureMessages":[],"fullName":"Renders Layout properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders Layout properly"}],"endTime":1686821727545,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1686821726936,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":45,"failureDetails":[],"failureMessages":[],"fullName":"Renders Navbar properly","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders Navbar properly"}],"endTime":1686821728127,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1686821727554,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":177,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ControlGroup /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <ControlGroup /> properly"}],"endTime":1686821729221,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/control_group.test.tsx","startTime":1686821728137,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":43,"failureDetails":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1686821730121,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1686821729231,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":34,"failureDetails":[],"failureMessages":[],"fullName":"useLatestZIndex returns incremental z indexes","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"useLatestZIndex returns incremental z indexes"}],"endTime":1686821730716,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/hooks/useLatestZIndex.test.tsx","startTime":1686821730130,"status":"passed","summary":""}],"wasInterrupted":false}
|
|
1
|
+
{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":33,"numPassedTests":226,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":33,"numTotalTests":226,"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":1687439611726,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":349,"failureDetails":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect />","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders empty <ReqoreMultiSelect />"},{"ancestorTitles":[],"duration":73,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value"},{"ancestorTitles":[],"duration":143,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> with default value, items can be removed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> with default value, items can be removed"},{"ancestorTitles":[],"duration":64,"failureDetails":[],"failureMessages":[],"fullName":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders disabled <ReqoreMultiSelect /> when items are empty and items CANNOT be created"},{"ancestorTitles":[],"duration":567,"failureDetails":[],"failureMessages":[],"fullName":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders empty <ReqoreMultiSelect /> when items are empty and items CAN be created"},{"ancestorTitles":[],"duration":1299,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and selects / deselects items from the list"},{"ancestorTitles":[],"duration":383,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched, opens up the list"},{"ancestorTitles":[],"duration":776,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created, opens up the list"},{"ancestorTitles":[],"duration":762,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and items can be searched and created using the ENTER key, opens up the list"},{"ancestorTitles":[],"duration":456,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and does not create new item on ENTER when not focused"},{"ancestorTitles":[],"duration":573,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and deselects an item using the ENTER key"},{"ancestorTitles":[],"duration":737,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onValueChange when value changes"},{"ancestorTitles":[],"duration":76,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemClick when an item is clicked"},{"ancestorTitles":[],"duration":816,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemAdded when an item is added","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemAdded when an item is added"},{"ancestorTitles":[],"duration":48,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreMultiSelect /> and calls onItemRemoved when an item is removed","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <ReqoreMultiSelect /> and calls onItemRemoved when an item is removed"}],"endTime":1687439633030,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/multiselect.test.tsx","startTime":1687439612304,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":139,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Input /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"duration":153,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"duration":41,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <Input /> cannot be cleared"},{"ancestorTitles":[],"duration":41,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Input /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Input /> cannot be cleared"},{"ancestorTitles":[],"duration":58,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> gets automatically focused"},{"ancestorTitles":[],"duration":41,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Input /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Input /> does not get automatically focused"},{"ancestorTitles":[],"duration":16,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Input /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <Input /> does not get automatically focused"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> gets automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":18,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> does not get automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> does not get automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets automatically focused if its inside of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Input /> gets automatically focused if its inside of viewport"},{"ancestorTitles":[],"duration":18,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any letter is pressed"},{"ancestorTitles":[],"duration":19,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any letter is pressed 2"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit is pressed"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit is pressed 2"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit or letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit or letter is pressed"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after any digit or letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after any digit or letter is pressed 2"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> gets focused after a specified shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Input /> gets focused after a specified shortcut is pressed"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport"},{"ancestorTitles":[],"duration":18,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> does not get focused when typing in another input","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Input /> does not get focused when typing in another input"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Input /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Readonly <Input /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Input /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Disabled <Input /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":16,"failureDetails":[],"failureMessages":[],"fullName":"<Input /> is cleared when focused","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Input /> is cleared when focused"},{"ancestorTitles":[],"duration":258,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Input /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Input /> works"}],"endTime":1687439635423,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1687439633060,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":79,"failureDetails":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"duration":138,"failureDetails":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <TextArea /> cannot be cleared"},{"ancestorTitles":[],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Textarea /> cannot be cleared","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Textarea /> cannot be cleared"},{"ancestorTitles":[],"duration":20,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> gets automatically focused"},{"ancestorTitles":[],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Textarea /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Readonly <Textarea /> does not get automatically focused"},{"ancestorTitles":[],"duration":39,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Textarea /> does not get automatically focused","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Disabled <Textarea /> does not get automatically focused"},{"ancestorTitles":[],"duration":16,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> gets automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> does not get automatically focused if it's out of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> does not get automatically focused if it's out of viewport"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets automatically focused if its inside of viewport","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Textarea /> gets automatically focused if its inside of viewport"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any letter is pressed"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any letter is pressed 2"},{"ancestorTitles":[],"duration":16,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit is pressed"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit is pressed 2","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit is pressed 2"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit or letter is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit or letter is pressed"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after any digit or letter is pressed 2","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after any digit or letter is pressed 2"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> gets focused after a specified shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Textarea /> gets focused after a specified shortcut is pressed"},{"ancestorTitles":[],"duration":18,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> does not get focused after a specified shortcut is pressed if it's not in Viewport, get's focused when in viewport"},{"ancestorTitles":[],"duration":17,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> does not get focused when typing in another input","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Textarea /> does not get focused when typing in another input"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Readonly <Textarea /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Readonly <Textarea /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Disabled <Textarea /> does not get focused when shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Disabled <Textarea /> does not get focused when shortcut is pressed"},{"ancestorTitles":[],"duration":14,"failureDetails":[],"failureMessages":[],"fullName":"<Textarea /> is cleared when focused","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Textarea /> is cleared when focused"},{"ancestorTitles":[],"duration":213,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Textarea /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Textarea /> works"}],"endTime":1687439637447,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1687439635444,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":264,"failureDetails":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"duration":429,"failureDetails":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"duration":58,"failureDetails":[],"failureMessages":[],"fullName":"Can select hidden <Tabs /> when shortened","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Can select hidden <Tabs /> when shortened"},{"ancestorTitles":[],"duration":104,"failureDetails":[],"failureMessages":[],"fullName":"Default active tab can be specified","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"duration":134,"failureDetails":[],"failureMessages":[],"fullName":"Changes tab and runs callback","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"duration":123,"failureDetails":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"duration":99,"failureDetails":[],"failureMessages":[],"fullName":"Does not change tab when mounted and active tab is set","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Does not change tab when mounted and active tab is set"},{"ancestorTitles":[],"duration":165,"failureDetails":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"duration":149,"failureDetails":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1687439640487,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1687439637465,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":2300,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <Pagination />","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders default <Pagination />"},{"ancestorTitles":[],"duration":190,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with only 5 page buttons","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with only 5 page buttons"},{"ancestorTitles":[],"duration":30,"failureDetails":[],"failureMessages":[],"fullName":"Renders no <Pagination /> if only one page exists","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders no <Pagination /> if only one page exists"},{"ancestorTitles":[],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Renders no <Pagination /> if no items exist","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders no <Pagination /> if no items exist"},{"ancestorTitles":[],"duration":979,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> without control buttons","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> without control buttons"},{"ancestorTitles":[],"duration":106,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> without page buttons","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> without page buttons"},{"ancestorTitles":[],"duration":142,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with labels","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with labels"},{"ancestorTitles":[],"duration":108,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with custom labels","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with custom labels"},{"ancestorTitles":[],"duration":185,"failureDetails":[],"failureMessages":[],"fullName":"Renders list <Pagination /> with labels","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders list <Pagination /> with labels"},{"ancestorTitles":[],"duration":188,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with only 5 page buttons and start page 11","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with only 5 page buttons and start page 11"},{"ancestorTitles":[],"duration":714,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with custom number of items per page","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with custom number of items per page"},{"ancestorTitles":[],"duration":1661,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> as a list","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> as a list"},{"ancestorTitles":[],"duration":162,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with load more button","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with load more button"},{"ancestorTitles":[],"duration":3939,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> with load more button and auto load","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> with load more button and auto load"},{"ancestorTitles":[],"duration":1690,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> and changes pages with vertical scroll","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> and changes pages with vertical scroll"},{"ancestorTitles":[],"duration":1658,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Pagination /> and changes pages with horizontal scroll","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Pagination /> and changes pages with horizontal scroll"}],"endTime":1687439656622,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/pagination.test.tsx","startTime":1687439640507,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":478,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"duration":307,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"duration":212,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"duration":528,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"duration":385,"failureDetails":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"duration":659,"failureDetails":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"duration":355,"failureDetails":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"duration":691,"failureDetails":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"duration":255,"failureDetails":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1687439661716,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1687439656638,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":537,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when items are empty","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders disabled <Dropdown /> when items are empty"},{"ancestorTitles":[],"duration":27,"failureDetails":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when items are not empty & disabled prop is true","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders disabled <Dropdown /> when items are not empty & disabled prop is true"},{"ancestorTitles":[],"duration":272,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"duration":209,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> is opened by default","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> is opened by default"},{"ancestorTitles":[],"duration":81,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and calls a function on item click, closes the dropdown","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> and calls a function on item click, closes the dropdown"},{"ancestorTitles":[],"duration":416,"failureDetails":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"},{"ancestorTitles":[],"duration":251,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and updates its items when state changes, does not close dropdown","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders <Dropdown /> and updates its items when state changes, does not close dropdown"}],"endTime":1687439664640,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1687439661732,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":69,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns all pages","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"useReqorePaging returns all pages"},{"ancestorTitles":[],"duration":30,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging with default start page","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"status":"passed","title":"useReqorePaging with default start page"},{"ancestorTitles":[],"duration":28,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging specified number of pages","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"status":"passed","title":"useReqorePaging specified number of pages"},{"ancestorTitles":[],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns 1 page when items are empty","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqorePaging returns 1 page when items are empty"},{"ancestorTitles":[],"duration":11,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns correct number of rounded pages","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"useReqorePaging returns correct number of rounded pages"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns items per page","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqorePaging returns items per page"},{"ancestorTitles":[],"duration":34,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns new items and pages when size of data change, current page is set to 1","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"useReqorePaging returns new items and pages when size of data change, current page is set to 1"},{"ancestorTitles":[],"duration":19,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging does not return new items and pages when data change","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"useReqorePaging does not return new items and pages when data change"},{"ancestorTitles":[],"duration":29,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging page navigation works correctly","invocations":1,"location":null,"numPassingAsserts":14,"retryReasons":[],"status":"passed","title":"useReqorePaging page navigation works correctly"},{"ancestorTitles":[],"duration":18,"failureDetails":[],"failureMessages":[],"fullName":"useReqorePaging returns correct number of items with infinite loading","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"status":"passed","title":"useReqorePaging returns correct number of items with infinite loading"}],"endTime":1687439665839,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/hooks/useReqorePaging.test.tsx","startTime":1687439664654,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":1143,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Collection /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders basic <Collection /> properly"},{"ancestorTitles":[],"duration":831,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> items can be filtered","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"<Collection /> items can be filtered"},{"ancestorTitles":[],"duration":790,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> filter is properly removed by the clear button","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"<Collection /> filter is properly removed by the clear button"},{"ancestorTitles":[],"duration":343,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> filter is focused when a shortcut is pressed","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"<Collection /> filter is focused when a shortcut is pressed"},{"ancestorTitles":[],"duration":46,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> shows no data message when empty","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Collection /> shows no data message when empty"},{"ancestorTitles":[],"duration":508,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> can be sorted","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Collection /> can be sorted"},{"ancestorTitles":[],"duration":617,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has default paging","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Collection /> has default paging"},{"ancestorTitles":[],"duration":567,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has list paging","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Collection /> has list paging"},{"ancestorTitles":[],"duration":738,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has infinite paging","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"<Collection /> has infinite paging"},{"ancestorTitles":[],"duration":3553,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has custom paging","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"<Collection /> has custom paging"},{"ancestorTitles":[],"duration":446,"failureDetails":[],"failureMessages":[],"fullName":"<Collection /> has 2 paging controls","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"<Collection /> has 2 paging controls"}],"endTime":1687439677148,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/collection.test.tsx","startTime":1687439665870,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":65,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"duration":48,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"duration":134,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"duration":40,"failureDetails":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders closable <Panel /> properly"},{"ancestorTitles":[],"duration":289,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Panel /> with actions","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Panel /> with actions"},{"ancestorTitles":[],"duration":22,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Panel /> without actions group if all actions are not shown","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Panel /> without actions group if all actions are not shown"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, & title is not collapsible","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders <Panel /> without title & bottom actions if all actions are not shown, there is no icon, & title is not collapsible"},{"ancestorTitles":[],"duration":222,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Panel /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Panel /> works"},{"ancestorTitles":[],"duration":72,"failureDetails":[],"failureMessages":[],"fullName":"Custom control props on <Panel />","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Custom control props on <Panel />"}],"endTime":1687439679265,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1687439677179,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":176,"failureDetails":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"duration":40,"failureDetails":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"duration":36,"failureDetails":[],"failureMessages":[],"fullName":"Shows custom content","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"Runs callback function","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Runs callback function"},{"ancestorTitles":[],"duration":41,"failureDetails":[],"failureMessages":[],"fullName":"Shows the popover after a local delay, ignoring global delay","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows the popover after a local delay, ignoring global delay"},{"ancestorTitles":[],"duration":37,"failureDetails":[],"failureMessages":[],"fullName":"Shows the popover after a global delay","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows the popover after a global delay"},{"ancestorTitles":[],"duration":39,"failureDetails":[],"failureMessages":[],"fullName":"Shows the popover with blur","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Shows the popover with blur"},{"ancestorTitles":[],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Does not show the popover with delay if time not reached","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Does not show the popover with delay if time not reached"},{"ancestorTitles":[],"duration":89,"failureDetails":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "},{"ancestorTitles":[],"duration":7,"failureDetails":[],"failureMessages":[],"fullName":"Correctly passes popover data for non-opened popover","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Correctly passes popover data for non-opened popover"},{"ancestorTitles":[],"duration":77,"failureDetails":[],"failureMessages":[],"fullName":"Correctly passes popover data for opened popover","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Correctly passes popover data for opened popover"}],"endTime":1687439681208,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1687439679282,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":142,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"duration":24,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> using `label`","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> using `label`"},{"ancestorTitles":[],"duration":190,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"duration":59,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"duration":307,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"duration":51,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"duration":60,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with onClick function"},{"ancestorTitles":[],"duration":100,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with a 0 badge","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with a 0 badge"},{"ancestorTitles":[],"duration":25,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with a string badge","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with a string badge"},{"ancestorTitles":[],"duration":24,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with a Tag props badge","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with a Tag props badge"},{"ancestorTitles":[],"duration":44,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Button /> with multiple badges","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Button /> with multiple badges"},{"ancestorTitles":[],"duration":345,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Button /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Button /> works"}],"endTime":1687439683875,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1687439681221,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":257,"failureDetails":[],"failureMessages":[],"fullName":"Renders sidebar","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"duration":92,"failureDetails":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"duration":91,"failureDetails":[],"failureMessages":[],"fullName":"Can open submenu manually","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"duration":81,"failureDetails":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"duration":189,"failureDetails":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"duration":40,"failureDetails":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"duration":67,"failureDetails":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"duration":232,"failureDetails":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"duration":62,"failureDetails":[],"failureMessages":[],"fullName":"Renders custom item at the top","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders custom item at the top"}],"endTime":1687439685846,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1687439683891,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":167,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"duration":12,"failureDetails":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"duration":10,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"duration":547,"failureDetails":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders confirmation <Modal /> "},{"ancestorTitles":[],"duration":135,"failureDetails":[],"failureMessages":[],"fullName":"Always renders confirmation <Modal /> properly above a normal modal","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Always renders confirmation <Modal /> properly above a normal modal"}],"endTime":1687439688019,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1687439685860,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":1951,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer />","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer />"},{"ancestorTitles":[],"duration":2775,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer /> with both control wrappers","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer /> with both control wrappers"},{"ancestorTitles":[],"duration":2536,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer /> with both control wrappers, one included in children","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer /> with both control wrappers, one included in children"},{"ancestorTitles":[],"duration":154,"failureDetails":[],"failureMessages":[],"fullName":"Renders default <PaginationContainer /> with onPageChange callback","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders default <PaginationContainer /> with onPageChange callback"}],"endTime":1687439696877,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/containers/paging.test.tsx","startTime":1687439688032,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":268,"failureDetails":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"duration":38,"failureDetails":[],"failureMessages":[],"fullName":"Adds a notification and updates it","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"duration":30,"failureDetails":[],"failureMessages":[],"fullName":"Notification has a click event","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Notification has a close event","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"duration":21,"failureDetails":[],"failureMessages":[],"fullName":"Notification has a finish event","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"duration":180,"failureDetails":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1687439698329,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1687439696889,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":759,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"duration":313,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"duration":33,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"duration":35,"failureDetails":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"},{"ancestorTitles":[],"duration":48,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tag /> with the label key","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tag /> with the label key"}],"endTime":1687439700881,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1687439698341,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":59,"failureDetails":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"duration":113,"failureDetails":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"duration":149,"failureDetails":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"duration":58,"failureDetails":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"duration":56,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Drawer /> with interactive backdrop"},{"ancestorTitles":[],"duration":112,"failureDetails":[],"failureMessages":[],"fullName":"<Drawer /> actions are changed properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Drawer /> actions are changed properly"}],"endTime":1687439702911,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1687439700919,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":434,"failureDetails":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"duration":178,"failureDetails":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"duration":531,"failureDetails":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"duration":271,"failureDetails":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"duration":650,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1687439705809,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1687439702932,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":222,"failureDetails":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"duration":52,"failureDetails":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"},{"ancestorTitles":[],"duration":413,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Breadcrumbs /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Breadcrumbs /> works"}],"endTime":1687439707256,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1687439705831,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":225,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"duration":83,"failureDetails":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"duration":116,"failureDetails":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1687439708409,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1687439707268,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":175,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Message /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"duration":34,"failureDetails":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"duration":36,"failureDetails":[],"failureMessages":[],"fullName":"Runs onClose when closed","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Runs onClose when closed"},{"ancestorTitles":[],"duration":151,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Message /> works","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Tooltip on <Message /> works"}],"endTime":1687439709987,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1687439708420,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":62,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreEffect /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <ReqoreEffect /> properly"},{"ancestorTitles":[],"duration":25,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ReqoreTextEffect /> properly","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"Renders <ReqoreTextEffect /> properly"}],"endTime":1687439710759,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/effect.test.tsx","startTime":1687439710002,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":68,"failureDetails":[],"failureMessages":[],"fullName":"<Heading /> renders properly","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"status":"passed","title":"<Heading /> renders properly"},{"ancestorTitles":[],"duration":177,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Heading /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Heading /> works"}],"endTime":1687439711734,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/heading.test.tsx","startTime":1687439710772,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":206,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders <Checkbox /> properly"},{"ancestorTitles":[],"duration":221,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Checkbox /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Checkbox /> works"}],"endTime":1687439712920,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1687439711747,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":63,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"duration":32,"failureDetails":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders empty <Icon /> if icon does not exist"},{"ancestorTitles":[],"duration":185,"failureDetails":[],"failureMessages":[],"fullName":"Tooltip on <Icon /> works","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Tooltip on <Icon /> works"}],"endTime":1687439714349,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1687439712932,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":17,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return the default theme","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return the default theme"},{"ancestorTitles":[],"duration":3,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return modified main intent color, original color is preserved","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return modified main intent color, original color is preserved"},{"ancestorTitles":[],"duration":3,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return modified main custom color, original color is preserved","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return modified main custom color, original color is preserved"},{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"useReqoreTheme should return modified main color if intent is passed, original color is preserved","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"useReqoreTheme should return modified main color if intent is passed, original color is preserved"}],"endTime":1687439715108,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/hooks/useTheme.test.tsx","startTime":1687439714361,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":526,"failureDetails":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1687439716362,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1687439715120,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":68,"failureDetails":[],"failureMessages":[],"fullName":"Renders Layout properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders Layout properly"}],"endTime":1687439717795,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1687439716518,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":58,"failureDetails":[],"failureMessages":[],"fullName":"Renders Navbar properly","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"status":"passed","title":"Renders Navbar properly"}],"endTime":1687439718548,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1687439717807,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":230,"failureDetails":[],"failureMessages":[],"fullName":"Renders <ControlGroup /> properly","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"status":"passed","title":"Renders <ControlGroup /> properly"}],"endTime":1687439719963,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/control_group.test.tsx","startTime":1687439718560,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":55,"failureDetails":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1687439721123,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1687439719975,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":43,"failureDetails":[],"failureMessages":[],"fullName":"useLatestZIndex returns incremental z indexes","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"status":"passed","title":"useLatestZIndex returns incremental z indexes"}],"endTime":1687439721874,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/hooks/useLatestZIndex.test.tsx","startTime":1687439721135,"status":"passed","summary":""}],"wasInterrupted":false}
|