@qoretechnologies/reqore 0.28.2 → 0.28.3

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.
@@ -53,7 +53,7 @@ test('Renders <Dropdown /> properly', () => {
53
53
  jest.advanceTimersByTime(1);
54
54
 
55
55
  expect(document.querySelector('.reqore-button')?.getAttribute('disabled')).toBe(null);
56
- expect(document.querySelectorAll('.reqore-button').length).toBe(5);
56
+ expect(document.querySelectorAll('.reqore-button').length).toBe(4);
57
57
  expect(document.querySelectorAll('.reqore-popover-content').length).toBe(1);
58
58
  expect(document.querySelectorAll('.reqore-menu-item').length).toBe(3);
59
59
  });
@@ -37,6 +37,7 @@ export declare const StyledButtonContent: any;
37
37
  export interface IReqoreButtonBadgeProps extends IWithReqoreSize {
38
38
  color?: TReqoreEffectColor;
39
39
  content?: TReqoreBadge | TReqoreBadge[];
40
+ wrap?: boolean;
40
41
  }
41
42
  export declare const ButtonBadge: React.MemoExoticComponent<(props: IReqoreButtonBadgeProps) => JSX.Element>;
42
43
  declare const ReqoreButton: React.MemoExoticComponent<React.ForwardRefExoticComponent<IReqoreButtonProps & React.RefAttributes<HTMLButtonElement>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAML,MAAM,EACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAczE,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,EAIL,kBAAkB,EAClB,eAAe,EAChB,MAAM,WAAW,CAAC;AAGnB,OAAkB,EAAE,eAAe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OAAO,CAAC;IACf,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACzC;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IAC5E,KAAK,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAUD,eAAO,MAAM,yBAAyB,KAIrC,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAkB/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,KAgBjC,CAAC;AAEF,eAAO,MAAM,sBAAsB,KAalC,CAAC;AAEF,eAAO,MAAM,YAAY,KAmIxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAgB/B,CAAC;AAEF,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC9D,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,OAAO,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,oCAAgB,uBAAuB,iBAyC7D,CAAC;AAEH,QAAA,MAAM,YAAY,yHAgHjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -91,7 +91,7 @@ exports.StyledInvisibleContent = styled_components_1["default"].span(templateObj
91
91
  return !wrap
92
92
  ? (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n white-space: nowrap;\n "], ["\n white-space: nowrap;\n "]))) : (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n word-break: break-word;\n "], ["\n word-break: break-word;\n "])));
93
93
  });
94
- exports.StyledButton = (0, styled_components_1["default"])(Effect_1.StyledEffect)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n justify-content: center;\n margin: 0;\n font-weight: 600;\n position: relative;\n overflow: hidden;\n vertical-align: middle;\n border: ", ";\n padding: 0 ", "px;\n font-size: ", "px;\n\n min-height: ", "px;\n min-width: ", "px;\n max-width: ", ";\n\n flex: ", ";\n\n border-radius: ", "px;\n\n background-color: ", ";\n\n color: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n &:disabled {\n ", ";\n }\n\n &:focus,\n &:active {\n outline: none;\n }\n\n &:focus {\n border-color: ", ";\n }\n\n ", " {\n padding-bottom: ", "px;\n }\n"], ["\n display: flex;\n flex-flow: column;\n justify-content: center;\n margin: 0;\n font-weight: 600;\n position: relative;\n overflow: hidden;\n vertical-align: middle;\n border: ", ";\n padding: 0 ", "px;\n font-size: ", "px;\n\n min-height: ", "px;\n min-width: ", "px;\n max-width: ", ";\n\n flex: ", ";\n\n border-radius: ", "px;\n\n background-color: ", ";\n\n color: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n &:disabled {\n ", ";\n }\n\n &:focus,\n &:active {\n outline: none;\n }\n\n &:focus {\n border-color: ", ";\n }\n\n ", " {\n padding-bottom: ", "px;\n }\n"])), function (_a) {
94
+ exports.StyledButton = (0, styled_components_1["default"])(Effect_1.StyledEffect)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n justify-content: center;\n margin: 0;\n font-weight: 600;\n position: relative;\n overflow: hidden;\n vertical-align: middle;\n border: ", ";\n padding: 0 ", "px;\n font-size: ", "px;\n\n min-height: ", "px;\n min-width: ", "px;\n max-width: ", ";\n ", "\n\n flex: ", ";\n\n border-radius: ", "px;\n\n background-color: ", ";\n\n color: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n &:disabled {\n ", ";\n }\n\n &:focus,\n &:active {\n outline: none;\n }\n\n &:focus {\n border-color: ", ";\n }\n\n ", " {\n padding-bottom: ", "px;\n }\n"], ["\n display: flex;\n flex-flow: column;\n justify-content: center;\n margin: 0;\n font-weight: 600;\n position: relative;\n overflow: hidden;\n vertical-align: middle;\n border: ", ";\n padding: 0 ", "px;\n font-size: ", "px;\n\n min-height: ", "px;\n min-width: ", "px;\n max-width: ", ";\n ", "\n\n flex: ", ";\n\n border-radius: ", "px;\n\n background-color: ", ";\n\n color: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n &:disabled {\n ", ";\n }\n\n &:focus,\n &:active {\n outline: none;\n }\n\n &:focus {\n border-color: ", ";\n }\n\n ", " {\n padding-bottom: ", "px;\n }\n"])), function (_a) {
95
95
  var theme = _a.theme, color = _a.color, flat = _a.flat;
96
96
  return !flat ? "1px solid ".concat((0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.05)) : 0;
97
97
  }, function (_a) {
@@ -101,14 +101,21 @@ exports.StyledButton = (0, styled_components_1["default"])(Effect_1.StyledEffect
101
101
  var size = _a.size;
102
102
  return sizes_1.TEXT_FROM_SIZE[size];
103
103
  }, function (_a) {
104
- var size = _a.size, flat = _a.flat;
105
- return (flat ? sizes_1.SIZE_TO_PX[size] : sizes_1.SIZE_TO_PX[size] - 2);
104
+ var size = _a.size;
105
+ return sizes_1.SIZE_TO_PX[size];
106
106
  }, function (_a) {
107
107
  var size = _a.size;
108
108
  return sizes_1.SIZE_TO_PX[size];
109
109
  }, function (_a) {
110
110
  var maxWidth = _a.maxWidth;
111
111
  return maxWidth || undefined;
112
+ }, function (_a) {
113
+ var wrap = _a.wrap, description = _a.description;
114
+ return !wrap && !description
115
+ ? (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n max-height: ", "px;\n "], ["\n max-height: ", "px;\n "])), function (_a) {
116
+ var size = _a.size;
117
+ return sizes_1.SIZE_TO_PX[size];
118
+ }) : null;
112
119
  }, function (_a) {
113
120
  var fluid = _a.fluid, fixed = _a.fixed;
114
121
  return (fixed ? '0 0 auto' : fluid ? '1 auto' : '0 0 auto');
@@ -131,7 +138,7 @@ exports.StyledButton = (0, styled_components_1["default"])(Effect_1.StyledEffect
131
138
  }, styles_1.InactiveIconScale, function (_a) {
132
139
  var readOnly = _a.readOnly, animate = _a.animate, active = _a.active;
133
140
  return !readOnly && !active
134
- ? (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n &:not(:disabled) {\n ", "\n\n cursor: pointer;\n transition: all 0.2s ease-out;\n\n &:active {\n transform: translateY(2px);\n }\n\n &:hover,\n &:active,\n &:focus {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n ", "\n }\n }\n "], ["\n &:not(:disabled) {\n ", "\n\n cursor: pointer;\n transition: all 0.2s ease-out;\n\n &:active {\n transform: translateY(2px);\n }\n\n &:hover,\n &:active,\n &:focus {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n ", "\n }\n }\n "])), styles_1.ScaleIconOnHover, function (_a) {
141
+ ? (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n &:not(:disabled) {\n ", "\n\n cursor: pointer;\n transition: all 0.2s ease-out;\n\n &:active {\n transform: translateY(2px);\n }\n\n &:hover,\n &:active,\n &:focus {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n ", "\n }\n }\n "], ["\n &:not(:disabled) {\n ", "\n\n cursor: pointer;\n transition: all 0.2s ease-out;\n\n &:active {\n transform: translateY(2px);\n }\n\n &:hover,\n &:active,\n &:focus {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n ", "\n }\n }\n "])), styles_1.ScaleIconOnHover, function (_a) {
135
142
  var theme = _a.theme, color = _a.color, minimal = _a.minimal;
136
143
  return minimal ? "#00000030" : (0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.05);
137
144
  }, function (_a) {
@@ -140,11 +147,11 @@ exports.StyledButton = (0, styled_components_1["default"])(Effect_1.StyledEffect
140
147
  }, function (_a) {
141
148
  var flat = _a.flat, theme = _a.theme, color = _a.color;
142
149
  return flat ? undefined : (0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.1);
143
- }, animate && (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\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 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 "])), exports.StyledActiveContent, exports.StyledInActiveContent)) : readOnly
144
- ? (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", ";\n "], ["\n ", ";\n "])), styles_1.ReadOnlyElement) : undefined;
150
+ }, animate && (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\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 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 "])), exports.StyledActiveContent, exports.StyledInActiveContent)) : readOnly
151
+ ? (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", ";\n "], ["\n ", ";\n "])), styles_1.ReadOnlyElement) : undefined;
145
152
  }, function (_a) {
146
153
  var active = _a.active, flat = _a.flat, theme = _a.theme, color = _a.color;
147
- return active && (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n cursor: pointer;\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n &:hover,\n &:active,\n &:focus {\n border-color: ", ";\n }\n\n ", "\n "], ["\n cursor: pointer;\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n &:hover,\n &:active,\n &:focus {\n border-color: ", ";\n }\n\n ", "\n "])), (0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.1), (0, colors_1.getReadableColor)({ main: getButtonMainColor(theme, color) }, undefined, undefined), flat ? undefined : (0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.175), flat
154
+ return active && (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n cursor: pointer;\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n &:hover,\n &:active,\n &:focus {\n border-color: ", ";\n }\n\n ", "\n "], ["\n cursor: pointer;\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n &:hover,\n &:active,\n &:focus {\n border-color: ", ";\n }\n\n ", "\n "])), (0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.1), (0, colors_1.getReadableColor)({ main: getButtonMainColor(theme, color) }, undefined, undefined), flat ? undefined : (0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.175), flat
148
155
  ? undefined
149
156
  : (0, colors_1.changeLightness)(getButtonMainColor(theme, color), 0.275), styles_1.ActiveIconScale);
150
157
  }, styles_1.DisabledElement, function (_a) {
@@ -154,16 +161,16 @@ exports.StyledButton = (0, styled_components_1["default"])(Effect_1.StyledEffect
154
161
  var size = _a.size;
155
162
  return sizes_1.PADDING_FROM_SIZE[(0, utils_1.getOneLessSize)(size)];
156
163
  });
157
- exports.StyledButtonContent = styled_components_1["default"].div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n min-width: ", "px;\n flex: 1;\n flex-shrink: 0;\n padding: 4px 0;\n min-height: ", "px;\n ", "\n"], ["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n min-width: ", "px;\n flex: 1;\n flex-shrink: 0;\n padding: 4px 0;\n min-height: ", "px;\n ", "\n"])), function (_a) {
164
+ exports.StyledButtonContent = styled_components_1["default"].div(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n min-width: ", "px;\n flex: 1;\n flex-shrink: 0;\n padding: ", "px 0;\n\n ", "\n"], ["\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n min-width: ", "px;\n flex: 1;\n flex-shrink: 0;\n padding: ", "px 0;\n\n ", "\n"])), function (_a) {
158
165
  var size = _a.size;
159
166
  return sizes_1.ICON_FROM_SIZE[size];
160
167
  }, function (_a) {
161
168
  var size = _a.size, flat = _a.flat;
162
- return (flat ? sizes_1.SIZE_TO_PX[size] : sizes_1.SIZE_TO_PX[size] - 2);
169
+ return sizes_1.PADDING_FROM_SIZE[size] / 2 - (!flat ? 1 : 0);
163
170
  }, function (_a) {
164
171
  var wrap = _a.wrap, description = _a.description;
165
172
  return !wrap && !description
166
- ? (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n max-height: ", "px;\n "], ["\n max-height: ", "px;\n "])), function (_a) {
173
+ ? (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n max-height: ", "px;\n "], ["\n max-height: ", "px;\n "])), function (_a) {
167
174
  var size = _a.size;
168
175
  return sizes_1.SIZE_TO_PX[size];
169
176
  }) : null;
@@ -178,9 +185,9 @@ exports.ButtonBadge = (0, react_1.memo)(function (props) {
178
185
  }, [props]);
179
186
  // If the content is a list
180
187
  if (Array.isArray(props.content)) {
181
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Spacer_1.ReqoreSpacer, { width: sizes_1.PADDING_FROM_SIZE[props.size] }), (0, jsx_runtime_1.jsx)(group_1["default"], __assign({ hasBottomMargin: false }, { children: props.content.map(function (badge, index) { return renderTag(__assign(__assign({}, props), { content: badge, key: index })); }) }))] }));
188
+ 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 }), (0, jsx_runtime_1.jsx)(group_1["default"], __assign({ hasBottomMargin: false }, { children: props.content.map(function (badge, index) { return renderTag(__assign(__assign({}, props), { content: badge, key: index })); }) }))] }));
182
189
  }
183
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Spacer_1.ReqoreSpacer, { width: sizes_1.PADDING_FROM_SIZE[props.size] }), renderTag(__assign(__assign({}, props), { key: 0 }))] }));
190
+ 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 }))] }));
184
191
  });
185
192
  var ReqoreButton = (0, react_1.memo)((0, react_1.forwardRef)(function (_a, ref) {
186
193
  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, rest = __rest(_a, ["icon", "size", "minimal", "children", "tooltip", "className", "fluid", "fixed", "intent", "active", "flat", "rightIcon", "customTheme", "wrap", "readOnly", "badge", "description", "maxWidth", "textAlign", "effect"]);
@@ -197,7 +204,7 @@ var ReqoreButton = (0, react_1.memo)((0, react_1.forwardRef)(function (_a, ref)
197
204
  ? (0, colors_1.getReadableColor)(theme, undefined, undefined, true, theme.originalMain)
198
205
  : (0, colors_1.getReadableColorFrom)(customColor, true)
199
206
  : (0, colors_1.getReadableColor)(theme, undefined, undefined, true);
200
- return ((0, jsx_runtime_1.jsxs)(exports.StyledButton, __assign({}, rest, { effect: __assign({ interactive: !readOnly && !rest.disabled }, effect), as: 'button', theme: theme, ref: targetRef, 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 }), children || badge || rightIcon ? ((0, jsx_runtime_1.jsx)(Spacer_1.ReqoreSpacer, { width: sizes_1.PADDING_FROM_SIZE[size] })) : null] })), children && ((0, jsx_runtime_1.jsxs)(exports.StyledAnimatedTextWrapper, __assign({ textAlign: textAlign }, { children: [(0, jsx_runtime_1.jsx)(exports.StyledActiveContent, __assign({ wrap: wrap }, { children: children })), (0, jsx_runtime_1.jsx)(exports.StyledInActiveContent, __assign({ wrap: wrap }, { children: children })), (0, jsx_runtime_1.jsx)(exports.StyledInvisibleContent, __assign({ wrap: wrap }, { children: children })), badge && wrap ? (0, jsx_runtime_1.jsx)(exports.ButtonBadge, { content: badge, size: size, color: color }) : null] }))), badge && !wrap ? (0, jsx_runtime_1.jsx)(exports.ButtonBadge, { content: badge, size: size, color: color }) : null, rightIcon && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [children || badge ? (0, jsx_runtime_1.jsx)(Spacer_1.ReqoreSpacer, { width: sizes_1.PADDING_FROM_SIZE[size] }) : null, (0, jsx_runtime_1.jsx)(Icon_1["default"], { icon: rightIcon, size: size, style: { marginLeft: 'auto' } })] }))] })), description && ((0, jsx_runtime_1.jsx)(Effect_1.ReqoreTextEffect, __assign({ effect: {
207
+ return ((0, jsx_runtime_1.jsxs)(exports.StyledButton, __assign({}, rest, { effect: __assign({ interactive: !readOnly && !rest.disabled }, effect), as: 'button', theme: theme, ref: targetRef, 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 }), children || badge || rightIcon ? ((0, jsx_runtime_1.jsx)(Spacer_1.ReqoreSpacer, { width: sizes_1.PADDING_FROM_SIZE[size] })) : null] })), children && ((0, jsx_runtime_1.jsxs)(exports.StyledAnimatedTextWrapper, __assign({ textAlign: textAlign }, { children: [(0, jsx_runtime_1.jsx)(exports.StyledActiveContent, __assign({ wrap: wrap }, { children: children })), (0, jsx_runtime_1.jsx)(exports.StyledInActiveContent, __assign({ wrap: wrap }, { children: children })), (0, jsx_runtime_1.jsx)(exports.StyledInvisibleContent, __assign({ wrap: wrap }, { children: children })), badge && wrap ? ((0, jsx_runtime_1.jsx)(exports.ButtonBadge, { content: badge, size: size, color: color, wrap: true })) : null] }))), badge && !wrap ? (0, jsx_runtime_1.jsx)(exports.ButtonBadge, { content: badge, size: size, color: color }) : null, rightIcon && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [children || badge ? (0, jsx_runtime_1.jsx)(Spacer_1.ReqoreSpacer, { width: sizes_1.PADDING_FROM_SIZE[size] }) : null, (0, jsx_runtime_1.jsx)(Icon_1["default"], { icon: rightIcon, size: size, style: { marginLeft: 'auto' } })] }))] })), description && ((0, jsx_runtime_1.jsx)(Effect_1.ReqoreTextEffect, __assign({ effect: {
201
208
  textSize: (0, utils_1.getOneLessSize)(size),
202
209
  weight: 'light',
203
210
  color: "".concat(color, "90"),
@@ -205,5 +212,5 @@ var ReqoreButton = (0, react_1.memo)((0, react_1.forwardRef)(function (_a, ref)
205
212
  } }, { children: description })))] })));
206
213
  }));
207
214
  exports["default"] = ReqoreButton;
208
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
215
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18;
209
216
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAyE;AACzE,qEAAgD;AAChD,+CAO+B;AAE/B,8EAAwD;AACxD,+CAA+F;AAC/F,6CAAqD;AACrD,+DAA8D;AAC9D,iDAAsD;AACtD,qDAAoD;AACpD,uCAMsB;AAUtB,oCAMmB;AACnB,iDAAiC;AACjC,oCAAyC;AACzC,+CAAoD;AACpD,uDAA0C;AAiC1C,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,wIAAA,qEAInD,KAAC;AAEW,QAAA,mBAAmB,GAAG,8BAAM,CAAC,IAAI,iNAAA,wIAO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B,CAAC,IAAI,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,EAC5E,uBAAC,iBAAU,IAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,GAAI,IACzE,CACJ,KACmB,EAErB,WAAW,IAAI,CACd,uBAAC,yBAAgB,aACf,MAAM,EAAE;oBACN,QAAQ,EAAE,IAAA,sBAAc,EAAC,IAAI,CAAC;oBAC9B,MAAM,EAAE,OAAO;oBACf,KAAK,EAAE,UAAG,KAAK,OAAI;oBACnB,SAAS,WAAA;iBACV,gBAEA,WAAW,IACK,CACpB,KACY,CAChB,CAAC;AACJ,CAAC,CACF,CACF,CAAC;AAEF,qBAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAyE;AACzE,qEAAgD;AAChD,+CAO+B;AAE/B,8EAAwD;AACxD,+CAA+F;AAC/F,6CAAqD;AACrD,+DAA8D;AAC9D,iDAAsD;AACtD,qDAAoD;AACpD,uCAMsB;AAUtB,oCAMmB;AACnB,iDAAiC;AACjC,oCAAyC;AACzC,+CAAoD;AACpD,uDAA0C;AAiC1C,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,wIAAA,qEAInD,KAAC;AAEW,QAAA,mBAAmB,GAAG,8BAAM,CAAC,IAAI,iNAAA,wIAO1C,EAUK,IACR,KAXG,UAAC,EAAQ;QAAN,IAAI,UAAA;IACP,OAAA,CAAC,IAAI;QACH,CAAC,KAAC,uBAAG,yMAAA,q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,kBAAkB,CAAC"}
@@ -72,7 +72,7 @@ exports.StyledReqoreControlGroup = styled_components_1["default"].div(templateOb
72
72
  }, function (_a) {
73
73
  var vertical = _a.vertical;
74
74
  return vertical
75
- ? (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n > .reqore-control,\n > .reqore-control-wrapper,\n > * {\n &:not(:last-child) {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n\n > .reqore-control-wrapper:not(:last-child) .reqore-control {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n "], ["\n > .reqore-control,\n > .reqore-control-wrapper,\n > * {\n &:not(:last-child) {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n\n > .reqore-control-wrapper:not(:last-child) .reqore-control {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n "])), function (_a) {
75
+ ? (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n > .reqore-control,\n > .reqore-control-wrapper,\n > .reqore-tag,\n > * {\n &:not(:last-child) {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n\n > .reqore-control-wrapper:not(:last-child) .reqore-control {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n "], ["\n > .reqore-control,\n > .reqore-control-wrapper,\n > .reqore-tag,\n > * {\n &:not(:last-child) {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n\n > .reqore-control-wrapper:not(:last-child) .reqore-control {\n margin-bottom: ", ";\n border-bottom: ", ";\n }\n "])), function (_a) {
76
76
  var stack = _a.stack;
77
77
  return (!stack ? '5px' : undefined);
78
78
  }, function (_a) {
@@ -90,7 +90,7 @@ exports.StyledReqoreControlGroup = styled_components_1["default"].div(templateOb
90
90
  }, function (_a) {
91
91
  var stack = _a.stack;
92
92
  return (!stack ? undefined : 0);
93
- }) : (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n > .reqore-control,\n > .reqore-control-wrapper,\n > * {\n &:not(:last-child) {\n margin-right: ", ";\n border-right: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n "], ["\n > .reqore-control,\n > .reqore-control-wrapper,\n > * {\n &:not(:last-child) {\n margin-right: ", ";\n border-right: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n "])), function (_a) {
93
+ }) : (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n > .reqore-control,\n > .reqore-control-wrapper,\n > .reqore-tag,\n > * {\n &:not(:last-child) {\n margin-right: ", ";\n border-right: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n "], ["\n > .reqore-control,\n > .reqore-control-wrapper,\n > .reqore-tag,\n > * {\n &:not(:last-child) {\n margin-right: ", ";\n border-right: ", ";\n }\n\n border-radius: ", ";\n\n ", "\n }\n "])), function (_a) {
94
94
  var stack = _a.stack;
95
95
  return (!stack ? '5px' : undefined);
96
96
  }, function (_a) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ControlGroup/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,qEAAgD;AAChD,+CAAiE;AAoBpD,QAAA,wBAAwB,GAAG,8BAAM,CAAC,GAAG,8PAA0B,gDAGjE,EAA2C,oBACrC,EAAiD,kBACnD,EAA+C,yEAGzC,EAAuC,cAGxD,EA0DK,IACR,KAnEU,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AAA5B,CAA4B,EACrC,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC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DL,CA2DK,EACP;AAEF,IAAM,kBAAkB,GAAG,UAAC,EAQD;IAPzB,IAAA,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,OAAO,aAAA,EACP,YAAe,EAAf,IAAI,mBAAG,QAAQ,KAAA,EACf,KAAK,WAAA,EACL,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACX,IAAI,cAPmB,gEAQ3B,CADQ;IACuB,OAAA,CAC9B,uBAAC,gCAAwB,eACnB,IAAI,IACR,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,UAAG,SAAS,IAAI,EAAE,0BAAuB,gBAEnD,kBAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK;;YAClC,OAAA,KAAK;gBACH,CAAC,CAAC,kBAAK,CAAC,YAAY,CAAC,KAAK,EAAE;oBACxB,OAAO,EACL,CAAA,MAAA,KAAK,CAAC,KAAK,0CAAE,OAAO,KAAI,CAAA,MAAA,KAAK,CAAC,KAAK,0CAAE,OAAO,MAAK,KAAK;wBACpD,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO;wBACrB,CAAC,CAAC,OAAO;oBACb,IAAI,EAAE,CAAA,MAAA,KAAK,CAAC,KAAK,0CAAE,IAAI,KAAI,IAAI;oBAC/B,KAAK,OAAA;iBACN,CAAC;gBACJ,CAAC,CAAC,IAAI,CAAA;SAAA,CACT,IACwB,CAC5B,CAAA;CAAA,CAAC;AAEF,qBAAe,kBAAkB,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { IReqoreComponent } from '../../types/global';
3
3
  import { IReqoreMenuItemProps } from '../Menu/item';
4
4
  export declare type TDropdownItemOnClick = (item: IReqoreDropdownItem) => void;
5
- export interface IReqoreDropdownItem extends Omit<IReqoreMenuItemProps, 'onClick'> {
5
+ export interface IReqoreDropdownItem extends Omit<IReqoreMenuItemProps, 'onClick' | 'rightIcon' | 'onRightIconClick'> {
6
6
  value: any;
7
7
  label?: string;
8
8
  onClick?: TDropdownItemOnClick;
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAuB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpE,oBAAY,oBAAoB,GAAG,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;AACvE,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC;IAChF,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAChE,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,oBAAoB,CAAC;CACrC;AAED,QAAA,MAAM,kBAAkB,sHAUnB,wBAAwB,iBAoE5B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAuB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpE,oBAAY,oBAAoB,GAAG,CAAC,IAAI,EAA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E,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAChE,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACpC;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,KAAK,EAAE,YAAY,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,KAS9B,CAAC;AAWF,eAAO,MAAM,WAAW,KA4DvB,CAAC;AAEF,QAAA,MAAM,WAAW,0FA2EhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -89,7 +89,10 @@ var StyledIconWrapper = styled_components_1["default"].div(templateObject_2 || (
89
89
  var _size = _a._size;
90
90
  return sizes_1.SIZE_TO_PX[_size];
91
91
  });
92
- exports.StyledInput = (0, styled_components_1["default"])(Effect_1.StyledEffect)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n flex: 1;\n margin: 0;\n padding: 0 7px;\n padding-right: ", "px;\n padding-left: ", "px;\n font-size: ", "px;\n transition: all 0.2s ease-out;\n border-radius: ", "px;\n border: ", ";\n border-bottom: ", ";\n\n ", "\n\n background-color: ", ";\n color: ", ";\n\n transition: all 0.2s ease-out;\n\n &:active,\n &:focus {\n background-color: ", ";\n }\n\n &::placeholder {\n transition: all 0.2s ease-out;\n color: ", ";\n }\n\n &:focus {\n &::placeholder {\n color: ", ";\n }\n }\n\n ", ";\n\n &:disabled {\n ", ";\n }\n"], ["\n height: 100%;\n width: 100%;\n flex: 1;\n margin: 0;\n padding: 0 7px;\n padding-right: ", "px;\n padding-left: ", "px;\n font-size: ", "px;\n transition: all 0.2s ease-out;\n border-radius: ", "px;\n border: ", ";\n border-bottom: ", ";\n\n ", "\n\n background-color: ", ";\n color: ", ";\n\n transition: all 0.2s ease-out;\n\n &:active,\n &:focus {\n background-color: ", ";\n }\n\n &::placeholder {\n transition: all 0.2s ease-out;\n color: ", ";\n }\n\n &:focus {\n &::placeholder {\n color: ", ";\n }\n }\n\n ", ";\n\n &:disabled {\n ", ";\n }\n"])), function (_a) {
92
+ exports.StyledInput = (0, styled_components_1["default"])(Effect_1.StyledEffect)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n flex: 1;\n margin: 0;\n padding: ", "px 7px;\n padding-right: ", "px;\n padding-left: ", "px;\n font-size: ", "px;\n transition: all 0.2s ease-out;\n border-radius: ", "px;\n border: ", ";\n border-bottom: ", ";\n\n ", "\n\n background-color: ", ";\n color: ", ";\n\n transition: all 0.2s ease-out;\n\n &:active,\n &:focus {\n background-color: ", ";\n }\n\n &::placeholder {\n transition: all 0.2s ease-out;\n color: ", ";\n }\n\n &:focus {\n &::placeholder {\n color: ", ";\n }\n }\n\n ", ";\n\n &:disabled {\n ", ";\n }\n"], ["\n height: 100%;\n width: 100%;\n flex: 1;\n margin: 0;\n padding: ", "px 7px;\n padding-right: ", "px;\n padding-left: ", "px;\n font-size: ", "px;\n transition: all 0.2s ease-out;\n border-radius: ", "px;\n border: ", ";\n border-bottom: ", ";\n\n ", "\n\n background-color: ", ";\n color: ", ";\n\n transition: all 0.2s ease-out;\n\n &:active,\n &:focus {\n background-color: ", ";\n }\n\n &::placeholder {\n transition: all 0.2s ease-out;\n color: ", ";\n }\n\n &:focus {\n &::placeholder {\n color: ", ";\n }\n }\n\n ", ";\n\n &:disabled {\n ", ";\n }\n"])), function (_a) {
93
+ var _size = _a._size;
94
+ return sizes_1.PADDING_FROM_SIZE[_size] / 2;
95
+ }, function (_a) {
93
96
  var clearable = _a.clearable, _size = _a._size;
94
97
  return (clearable ? sizes_1.SIZE_TO_PX[_size] : 7);
95
98
  }, function (_a) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Input/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAgC;AAChC,+BAA0C;AAC1C,qEAAgD;AAChD,+CAA6F;AAE7F,+CAAyE;AACzE,+DAA8D;AAC9D,iDAAsD;AACtD,qDAAoD;AACpD,uCAAgE;AAShE,oCAAyC;AACzC,iDAAiC;AACjC,yEAAyD;AAiC5C,QAAA,kBAAkB,GAAG,8BAAM,CAAC,GAAG,qNAAmB,cACnD,EAAgC,gBACjC,EAA8C,aAC/C,EAA0E,kBACrE,EAAoC,oEAGhC,EACkC,OACpD,KARW,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,kBAAU,CAAC,KAAK,CAAC;AAAjB,CAAiB,EACjC,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,CAAC,KAAK,CAAC,CAAC,CAAC,UAAG,KAAK,OAAI,CAAC,CAAC,CAAC,MAAM,CAAC;AAA/B,CAA+B,EAC/C,UAAC,EAAgB;QAAd,KAAK,WAAA,EAAE,KAAK,WAAA;IAAO,OAAA,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CA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,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAIpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAG/C,MAAM,WAAW,oBACf,SAAQ,gBAAgB,EACtB,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACjC,kBAAkB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,EAAE,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACpF,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAC5E;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,YAAY,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,QAAA,MAAM,cAAc,6FAsFnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -57,7 +57,7 @@ var ReqoreMenuItem = (0, react_1.forwardRef)(function (_a, ref) {
57
57
  //@ts-ignore
58
58
  , __assign({
59
59
  //@ts-ignore
60
- as: as }, rest, { flat: flat, className: 'reqore-menu-item', fluid: true, onClick: handleClick, active: selected, ref: targetRef, disabled: disabled, intent: intent, icon: icon }, { children: label || children })), rightIcon && ((0, jsx_runtime_1.jsx)(__1.ReqoreButton, { icon: rightIcon, flat: flat, fixed: true, minimal: !onRightIconClick, customTheme: rest.customTheme, className: 'reqore-menu-item-right-icon', onClick: handleRightIconClick, readOnly: !onRightIconClick, intent: intent, active: selected && !!onRightIconClick }))] })));
60
+ as: as }, rest, { flat: flat, className: 'reqore-menu-item', fluid: true, onClick: handleClick, active: selected, ref: targetRef, disabled: disabled, intent: intent, icon: icon, rightIcon: onRightIconClick ? undefined : rightIcon }, { children: label || children })), rightIcon && onRightIconClick ? ((0, jsx_runtime_1.jsx)(__1.ReqoreButton, { icon: rightIcon, flat: flat, fixed: true, minimal: !onRightIconClick, customTheme: rest.customTheme, className: 'reqore-menu-item-right-icon', onClick: handleRightIconClick, readOnly: !onRightIconClick, intent: intent, active: selected && !!onRightIconClick })) : null] })));
61
61
  });
62
62
  exports["default"] = ReqoreMenuItem;
63
63
  //# sourceMappingURL=item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.js","sourceRoot":"","sources":["../../../src/components/Menu/item.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAsD;AACtD,2BAAyD;AAEzD,gFAA0D;AAC1D,+DAA8D;AAC9D,qDAAoD;AA8BpD,IAAM,cAAc,GAAG,IAAA,kBAAU,EAC/B,UACE,EAiBuB,EACvB,GAAQ;IAjBN,IAAA,QAAQ,cAAA,EACR,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,SAAS,eAAA,EACT,EAAE,QAAA,EACF,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,gBAAgB,sBAAA,EAChB,QAAQ,cAAA,EACR,MAAM,YAAA,EACN,cAAc,oBAAA,EACd,UAAU,gBAAA,EACV,OAAO,aAAA,EACP,MAAM,YAAA,EACN,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACR,IAAI,cAhBT,8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AM,EAAE,QAAQ,IAAI,CAAC,CAAC,gBAAgB,GACtC,CACH,CAAC,CAAC,CAAC,IAAI,KACW,CACtB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,qBAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qoretechnologies/reqore",
3
- "version": "0.28.2",
3
+ "version": "0.28.3",
4
4
  "description": "ReQore is a highly theme-able and modular UI library for React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -155,9 +155,15 @@ export const StyledButton = styled(StyledEffect)<IReqoreButtonStyle>`
155
155
  padding: 0 ${({ size }) => PADDING_FROM_SIZE[size]}px;
156
156
  font-size: ${({ size }) => TEXT_FROM_SIZE[size]}px;
157
157
 
158
- min-height: ${({ size, flat }) => (flat ? SIZE_TO_PX[size] : SIZE_TO_PX[size] - 2)}px;
158
+ min-height: ${({ size }) => SIZE_TO_PX[size]}px;
159
159
  min-width: ${({ size }) => SIZE_TO_PX[size]}px;
160
160
  max-width: ${({ maxWidth }) => maxWidth || undefined};
161
+ ${({ wrap, description }) =>
162
+ !wrap && !description
163
+ ? css`
164
+ max-height: ${({ size }) => SIZE_TO_PX[size]}px;
165
+ `
166
+ : null}
161
167
 
162
168
  flex: ${({ fluid, fixed }) => (fixed ? '0 0 auto' : fluid ? '1 auto' : '0 0 auto')};
163
169
 
@@ -276,8 +282,8 @@ export const StyledButtonContent = styled.div`
276
282
  min-width: ${({ size }) => ICON_FROM_SIZE[size]}px;
277
283
  flex: 1;
278
284
  flex-shrink: 0;
279
- padding: 4px 0;
280
- min-height: ${({ size, flat }) => (flat ? SIZE_TO_PX[size] : SIZE_TO_PX[size] - 2)}px;
285
+ padding: ${({ size, flat }) => PADDING_FROM_SIZE[size] / 2 - (!flat ? 1 : 0)}px 0;
286
+
281
287
  ${({ wrap, description }) =>
282
288
  !wrap && !description
283
289
  ? css`
@@ -289,6 +295,7 @@ export const StyledButtonContent = styled.div`
289
295
  export interface IReqoreButtonBadgeProps extends IWithReqoreSize {
290
296
  color?: TReqoreEffectColor;
291
297
  content?: TReqoreBadge | TReqoreBadge[];
298
+ wrap?: boolean;
292
299
  }
293
300
 
294
301
  export const ButtonBadge = memo((props: IReqoreButtonBadgeProps) => {
@@ -312,7 +319,10 @@ export const ButtonBadge = memo((props: IReqoreButtonBadgeProps) => {
312
319
  if (Array.isArray(props.content)) {
313
320
  return (
314
321
  <>
315
- <ReqoreSpacer width={PADDING_FROM_SIZE[props.size]} />
322
+ <ReqoreSpacer
323
+ width={props.wrap ? undefined : PADDING_FROM_SIZE[props.size]}
324
+ height={!props.wrap ? undefined : PADDING_FROM_SIZE[props.size] / 2}
325
+ />
316
326
  <ReqoreTagGroup hasBottomMargin={false}>
317
327
  {props.content.map((badge, index) => renderTag({ ...props, content: badge, key: index }))}
318
328
  </ReqoreTagGroup>
@@ -322,7 +332,10 @@ export const ButtonBadge = memo((props: IReqoreButtonBadgeProps) => {
322
332
 
323
333
  return (
324
334
  <>
325
- <ReqoreSpacer width={PADDING_FROM_SIZE[props.size]} />
335
+ <ReqoreSpacer
336
+ width={props.wrap ? undefined : PADDING_FROM_SIZE[props.size]}
337
+ height={!props.wrap ? undefined : PADDING_FROM_SIZE[props.size] / 2}
338
+ />
326
339
  {renderTag({ ...props, key: 0 })}
327
340
  </>
328
341
  );
@@ -410,7 +423,9 @@ const ReqoreButton = memo(
410
423
  <StyledActiveContent wrap={wrap}>{children}</StyledActiveContent>
411
424
  <StyledInActiveContent wrap={wrap}>{children}</StyledInActiveContent>
412
425
  <StyledInvisibleContent wrap={wrap}>{children}</StyledInvisibleContent>
413
- {badge && wrap ? <ButtonBadge content={badge} size={size} color={color} /> : null}
426
+ {badge && wrap ? (
427
+ <ButtonBadge content={badge} size={size} color={color} wrap />
428
+ ) : null}
414
429
  </StyledAnimatedTextWrapper>
415
430
  )}
416
431
  {badge && !wrap ? <ButtonBadge content={badge} size={size} color={color} /> : null}
@@ -36,6 +36,7 @@ export const StyledReqoreControlGroup = styled.div<IReqoreControlGroupStyle>`
36
36
  ? css`
37
37
  > .reqore-control,
38
38
  > .reqore-control-wrapper,
39
+ > .reqore-tag,
39
40
  > * {
40
41
  &:not(:last-child) {
41
42
  margin-bottom: ${({ stack }) => (!stack ? '5px' : undefined)};
@@ -67,6 +68,7 @@ export const StyledReqoreControlGroup = styled.div<IReqoreControlGroupStyle>`
67
68
  : css`
68
69
  > .reqore-control,
69
70
  > .reqore-control-wrapper,
71
+ > .reqore-tag,
70
72
  > * {
71
73
  &:not(:last-child) {
72
74
  margin-right: ${({ stack }) => (!stack ? '5px' : undefined)};
@@ -5,7 +5,8 @@ import ReqoreMenu from '../Menu';
5
5
  import ReqoreMenuItem, { IReqoreMenuItemProps } from '../Menu/item';
6
6
 
7
7
  export type TDropdownItemOnClick = (item: IReqoreDropdownItem) => void;
8
- export interface IReqoreDropdownItem extends Omit<IReqoreMenuItemProps, 'onClick'> {
8
+ export interface IReqoreDropdownItem
9
+ extends Omit<IReqoreMenuItemProps, 'onClick' | 'rightIcon' | 'onRightIconClick'> {
9
10
  value: any;
10
11
  label?: string;
11
12
  onClick?: TDropdownItemOnClick;
@@ -1,7 +1,13 @@
1
1
  import { rgba } from 'polished';
2
2
  import React, { forwardRef } from 'react';
3
3
  import styled, { css } from 'styled-components';
4
- import { RADIUS_FROM_SIZE, SIZE_TO_PX, TEXT_FROM_SIZE, TSizes } from '../../constants/sizes';
4
+ import {
5
+ PADDING_FROM_SIZE,
6
+ RADIUS_FROM_SIZE,
7
+ SIZE_TO_PX,
8
+ TEXT_FROM_SIZE,
9
+ TSizes,
10
+ } from '../../constants/sizes';
5
11
  import { IReqoreTheme } from '../../constants/theme';
6
12
  import { changeLightness, getReadableColor } from '../../helpers/colors';
7
13
  import { useCombinedRefs } from '../../hooks/useCombinedRefs';
@@ -76,7 +82,7 @@ export const StyledInput = styled(StyledEffect)<IReqoreInputStyle>`
76
82
  width: 100%;
77
83
  flex: 1;
78
84
  margin: 0;
79
- padding: 0 7px;
85
+ padding: ${({ _size }) => PADDING_FROM_SIZE[_size] / 2}px 7px;
80
86
  padding-right: ${({ clearable, _size }) => (clearable ? SIZE_TO_PX[_size] : 7)}px;
81
87
  padding-left: ${({ hasIcon, _size }) => (hasIcon ? SIZE_TO_PX[_size] : 7)}px;
82
88
  font-size: ${({ _size }) => TEXT_FROM_SIZE[_size]}px;
@@ -98,10 +98,11 @@ const ReqoreMenuItem = forwardRef<HTMLDivElement, IReqoreMenuItemProps>(
98
98
  disabled={disabled}
99
99
  intent={intent}
100
100
  icon={icon}
101
+ rightIcon={onRightIconClick ? undefined : rightIcon}
101
102
  >
102
103
  {label || children}
103
104
  </ReqoreButton>
104
- {rightIcon && (
105
+ {rightIcon && onRightIconClick ? (
105
106
  <ReqoreButton
106
107
  icon={rightIcon}
107
108
  flat={flat}
@@ -114,7 +115,7 @@ const ReqoreMenuItem = forwardRef<HTMLDivElement, IReqoreMenuItemProps>(
114
115
  intent={intent}
115
116
  active={selected && !!onRightIconClick}
116
117
  />
117
- )}
118
+ ) : null}
118
119
  </ReqoreControlGroup>
119
120
  );
120
121
  }
@@ -1,7 +1,7 @@
1
1
  import { Meta, Story } from '@storybook/react/types-6-0';
2
2
  import { IReqoreControlGroupProps } from '../../components/ControlGroup';
3
3
  import ReqoreInput from '../../components/Input';
4
- import { ReqoreButton, ReqoreControlGroup } from '../../index';
4
+ import { ReqoreButton, ReqoreControlGroup, ReqoreTag } from '../../index';
5
5
  import { MinimalArg, SizeArg, argManager } from '../utils/args';
6
6
 
7
7
  const { createArg } = argManager<IReqoreControlGroupProps>();
@@ -36,6 +36,14 @@ const Template: Story<IReqoreControlGroupProps> = (args: IReqoreControlGroupProp
36
36
  return (
37
37
  <ReqoreControlGroup {...args}>
38
38
  <ReqoreButton>Button</ReqoreButton>
39
+ <ReqoreButton
40
+ flat={false}
41
+ effect={{ gradient: { colors: { 0: 'success', 100: 'success:darken:1' } } }}
42
+ >
43
+ Non flat Button
44
+ </ReqoreButton>
45
+ <ReqoreButton maxWidth='300px'>Button with max width</ReqoreButton>
46
+ <ReqoreTag label='A wild tag appears!' color='main:lighten:2' />
39
47
  <ReqoreInput icon='4KFill' value='Hello' />
40
48
  <ReqoreButton disabled fixed>
41
49
  Disabled & Fixed
@@ -161,6 +161,32 @@ const Template: Story<IReqoreDropdownProps> = (args: IReqoreDropdownProps) => {
161
161
  <ReqoreDropdown rightIcon='SunCloudyLine' caretPosition='right' {...args}>
162
162
  Custom icon with caret on right
163
163
  </ReqoreDropdown>
164
+ <ReqoreDropdown
165
+ items={[
166
+ {
167
+ selected: true,
168
+ label: 'Hello',
169
+ value: 'hello',
170
+ icon: 'SunCloudyLine',
171
+ },
172
+ {
173
+ label: 'How are ya',
174
+ value: 'howareya',
175
+ icon: 'BatteryChargeFill',
176
+ },
177
+ {
178
+ disabled: true,
179
+ label: 'i aM diSAblEd',
180
+ value: 'disabled',
181
+ icon: 'StopCircleLine',
182
+ },
183
+ {
184
+ label: 'With right button',
185
+ value: 'kek',
186
+ icon: 'CheckDoubleLine',
187
+ },
188
+ ]}
189
+ />
164
190
  </ReqoreControlGroup>
165
191
  <br />
166
192
  <ReqoreControlGroup fluid>
@@ -8,7 +8,7 @@ import {
8
8
  ReqoreMenuItem,
9
9
  ReqorePopover,
10
10
  } from '../../index';
11
- import { argManager, IntentArg } from '../utils/args';
11
+ import { IntentArg, argManager } from '../utils/args';
12
12
 
13
13
  const { createArg } = argManager<IReqoreMenuProps>();
14
14
 
@@ -84,7 +84,9 @@ const Template: Story<IReqoreMenuProps> = (args) => {
84
84
  <ReqoreMenuItem icon='Save3Fill' intent='success' selected>
85
85
  Selected success
86
86
  </ReqoreMenuItem>
87
- <ReqoreMenuItem icon='Save3Fill'>Save</ReqoreMenuItem>
87
+ <ReqoreMenuItem icon='Save3Fill' badge={10}>
88
+ Save
89
+ </ReqoreMenuItem>
88
90
  <ReqoreMenuDivider label='BIG Divider' size='huge' />
89
91
  <ReqoreMenuItem
90
92
  icon='ChatPollFill'
@@ -3,7 +3,7 @@ import { noop } from 'lodash';
3
3
  import { IReqoreTagProps } from '../../components/Tag';
4
4
  import { IReqoreTagGroup } from '../../components/Tag/group';
5
5
  import { ReqoreTag, ReqoreTagGroup } from '../../index';
6
- import { argManager, SizeArg } from '../utils/args';
6
+ import { SizeArg, argManager } from '../utils/args';
7
7
 
8
8
  const { createArg } = argManager<IReqoreTagGroup & IReqoreTagProps>();
9
9
 
@@ -156,6 +156,30 @@ const Template: Story<IReqoreTagGroup & IReqoreTagProps> = ({ columns, ...args }
156
156
  },
157
157
  ]}
158
158
  />
159
+ <ReqoreTag
160
+ {...args}
161
+ labelKey='This is the key for a wrapped tag'
162
+ label='Wrapped tag with some long text and NO width specified, AND wrap specified'
163
+ icon='ShareForward2Fill'
164
+ rightIcon={args.rightIcon}
165
+ wrap
166
+ onRemoveClick={null}
167
+ actions={[
168
+ {
169
+ icon: '24HoursFill',
170
+ onClick: noop,
171
+ disabled: true,
172
+ intent: 'info',
173
+ tooltip: { content: 'I am a tooltip' },
174
+ },
175
+ {
176
+ icon: 'SpyFill',
177
+ onClick: noop,
178
+ intent: 'success',
179
+ tooltip: { content: 'Hm, another tooltip', openOnMount: true },
180
+ },
181
+ ]}
182
+ />
159
183
  </ReqoreTagGroup>
160
184
  );
161
185
  };
package/tests.json CHANGED
@@ -1 +1 @@
1
- {"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":25,"numPassedTests":104,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":25,"numTotalTests":104,"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":1672778832715,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","location":null,"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","location":null,"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","location":null,"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","location":null,"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","location":null,"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","location":null,"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","location":null,"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","location":null,"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","location":null,"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1672778845889,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1672778833158,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","location":null,"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","location":null,"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Default active tab can be specified","location":null,"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab and runs callback","location":null,"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","location":null,"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","location":null,"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","location":null,"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1672778847153,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1672778845909,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","location":null,"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when children are empty","location":null,"status":"passed","title":"Renders disabled <Dropdown /> when children are empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","location":null,"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> is opened by default","location":null,"status":"passed","title":"Renders <Dropdown /> is opened by default"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and calls a function on item click","location":null,"status":"passed","title":"Renders <Dropdown /> and calls a function on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","location":null,"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and updates its items when state changes","location":null,"status":"passed","title":"Renders <Dropdown /> and updates its items when state changes"}],"endTime":1672778849002,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1672778847169,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders sidebar","location":null,"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","location":null,"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can open submenu manually","location":null,"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","location":null,"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","location":null,"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","location":null,"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","location":null,"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","location":null,"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders custom item at the top","location":null,"status":"passed","title":"Renders custom item at the top"}],"endTime":1672778850042,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1672778849014,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","location":null,"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","location":null,"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows custom content","location":null,"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs callback function","location":null,"status":"passed","title":"Runs callback function"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the popover after a delay","location":null,"status":"passed","title":"Shows the popover after a delay"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not show the popover with delay if time not reached","location":null,"status":"passed","title":"Does not show the popover with delay if time not reached"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","location":null,"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","location":null,"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "}],"endTime":1672778851146,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1672778850053,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","location":null,"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds a notification and updates it","location":null,"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a click event","location":null,"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a close event","location":null,"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a finish event","location":null,"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","location":null,"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1672778852003,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1672778851161,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","location":null,"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","location":null,"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","location":null,"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","location":null,"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> with the label key","location":null,"status":"passed","title":"Renders <Tag /> with the label key"}],"endTime":1672778852769,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1672778852023,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","location":null,"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","location":null,"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","location":null,"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","location":null,"status":"passed","title":"Renders closable <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> with actions","location":null,"status":"passed","title":"Renders <Panel /> with actions"}],"endTime":1672778853467,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1672778852778,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> properly","location":null,"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","location":null,"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","location":null,"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","location":null,"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","location":null,"status":"passed","title":"Renders <Button /> with onClick function"}],"endTime":1672778854685,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1672778853477,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","location":null,"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","location":null,"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","location":null,"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","location":null,"status":"passed","title":"Renders confirmation <Modal /> "}],"endTime":1672778855754,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1672778854698,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","location":null,"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","location":null,"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","location":null,"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","location":null,"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","location":null,"status":"passed","title":"Renders <Drawer /> with interactive backdrop"}],"endTime":1672778856410,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1672778855764,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","location":null,"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","location":null,"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","location":null,"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","location":null,"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","location":null,"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1672778857800,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1672778856426,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Collection /> properly","location":null,"status":"passed","title":"Renders basic <Collection /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> items can be filtered","location":null,"status":"passed","title":"<Collection /> items can be filtered"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> shows no data message when empty","location":null,"status":"passed","title":"<Collection /> shows no data message when empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> can be sorted","location":null,"status":"passed","title":"<Collection /> can be sorted"}],"endTime":1672778859396,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/collection.test.tsx","startTime":1672778857809,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","location":null,"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","location":null,"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","location":null,"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1672778860028,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1672778859405,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> properly","location":null,"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","location":null,"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","location":null,"status":"passed","title":"Disabled <Input /> cannot be cleared"}],"endTime":1672778860611,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1672778860054,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"}],"endTime":1672778861581,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1672778860657,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreEffect /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreTextEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreTextEffect /> properly"}],"endTime":1672778861993,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/effect.test.tsx","startTime":1672778861590,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","location":null,"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","location":null,"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","location":null,"status":"passed","title":"Disabled <TextArea /> cannot be cleared"}],"endTime":1672778862528,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1672778862009,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Message /> properly","location":null,"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","location":null,"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onClose when closed","location":null,"status":"passed","title":"Runs onClose when closed"}],"endTime":1672778863050,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1672778862544,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1672778863473,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1672778863060,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Layout properly","location":null,"status":"passed","title":"Renders Layout properly"}],"endTime":1672778863950,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1672778863482,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","location":null,"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","location":null,"status":"passed","title":"Renders empty <Icon /> if icon does not exist"}],"endTime":1672778864652,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1672778863959,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Navbar properly","location":null,"status":"passed","title":"Renders Navbar properly"}],"endTime":1672778865039,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1672778864661,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1672778865462,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1672778865048,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","location":null,"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1672778865834,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1672778865471,"status":"passed","summary":""}],"wasInterrupted":false}
1
+ {"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":25,"numPassedTests":104,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":25,"numTotalTests":104,"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":1672826846649,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Table /> properly","location":null,"status":"passed","title":"Renders basic <Table /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with grouped columns properly","location":null,"status":"passed","title":"Renders <Table /> with grouped columns properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with custom content","location":null,"status":"passed","title":"Renders <Table /> with custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Table /> with predefined content","location":null,"status":"passed","title":"Renders <Table /> with predefined content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sorting on <Table /> works properly","location":null,"status":"passed","title":"Sorting on <Table /> works properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> can be selected","location":null,"status":"passed","title":"Rows on <Table /> can be selected"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> cannot be selected if _selectId is missing","location":null,"status":"passed","title":"Rows on <Table /> cannot be selected if _selectId is missing"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Rows on <Table /> are all selected/deselected when clicking on header","location":null,"status":"passed","title":"Rows on <Table /> are all selected/deselected when clicking on header"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Cells on <Table /> are interactive","location":null,"status":"passed","title":"Cells on <Table /> are interactive"}],"endTime":1672826862142,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/table.test.tsx","startTime":1672826847133,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Tabs /> properly","location":null,"status":"passed","title":"Renders full <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Tabs /> properly","location":null,"status":"passed","title":"Renders shortened <Tabs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Default active tab can be specified","location":null,"status":"passed","title":"Default active tab can be specified"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab and runs callback","location":null,"status":"passed","title":"Changes tab and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not change tab and run callback when disabled","location":null,"status":"passed","title":"Does not change tab and run callback when disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Changes tab programatically and runs callback","location":null,"status":"passed","title":"Changes tab programatically and runs callback"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Closable tab can be closed if not disabled","location":null,"status":"passed","title":"Closable tab can be closed if not disabled"}],"endTime":1672826863605,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tabs.test.tsx","startTime":1672826862169,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> properly","location":null,"status":"passed","title":"Renders <Dropdown /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders disabled <Dropdown /> when children are empty","location":null,"status":"passed","title":"Renders disabled <Dropdown /> when children are empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> with custom component and custom handler","location":null,"status":"passed","title":"Renders <Dropdown /> with custom component and custom handler"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> is opened by default","location":null,"status":"passed","title":"Renders <Dropdown /> is opened by default"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and calls a function on item click","location":null,"status":"passed","title":"Renders <Dropdown /> and calls a function on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders filterable <Dropdown /> and filters items correctly","location":null,"status":"passed","title":"Renders filterable <Dropdown /> and filters items correctly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Dropdown /> and updates its items when state changes","location":null,"status":"passed","title":"Renders <Dropdown /> and updates its items when state changes"}],"endTime":1672826865827,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/dropdown.test.tsx","startTime":1672826863631,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders sidebar","location":null,"status":"passed","title":"Renders sidebar"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Sidebar can be collapsed","location":null,"status":"passed","title":"Sidebar can be collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Can open submenu manually","location":null,"status":"passed","title":"Can open submenu manually"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Submenu opens automatically if path matches","location":null,"status":"passed","title":"Submenu opens automatically if path matches"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks can be added and removed","location":null,"status":"passed","title":"Bookmarks can be added and removed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Bookmarks clicks are not propagated through","location":null,"status":"passed","title":"Bookmarks clicks are not propagated through"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders item as <p> element with onClick","location":null,"status":"passed","title":"Renders item as <p> element with onClick"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders floating sidebar with item as <p> element with onClick, closes on item click","location":null,"status":"passed","title":"Renders floating sidebar with item as <p> element with onClick, closes on item click"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders custom item at the top","location":null,"status":"passed","title":"Renders custom item at the top"}],"endTime":1672826867071,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/sidebar.test.tsx","startTime":1672826865840,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on hover, hides on leave","location":null,"status":"passed","title":"Shows popover on hover, hides on leave"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows popover on click, hides only on click away","location":null,"status":"passed","title":"Shows popover on click, hides only on click away"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows custom content","location":null,"status":"passed","title":"Shows custom content"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs callback function","location":null,"status":"passed","title":"Runs callback function"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the popover after a delay","location":null,"status":"passed","title":"Shows the popover after a delay"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not show the popover with delay if time not reached","location":null,"status":"passed","title":"Does not show the popover with delay if time not reached"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","location":null,"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows the hoverStay popover after a delay and stays, ","location":null,"status":"passed","title":"Shows the hoverStay popover after a delay and stays, "}],"endTime":1672826868342,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/popover.test.tsx","startTime":1672826867084,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds notifications and dismisses them automatically","location":null,"status":"passed","title":"Adds notifications and dismisses them automatically"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Adds a notification and updates it","location":null,"status":"passed","title":"Adds a notification and updates it"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a click event","location":null,"status":"passed","title":"Notification has a click event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a close event","location":null,"status":"passed","title":"Notification has a close event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Notification has a finish event","location":null,"status":"passed","title":"Notification has a finish event"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Maximum of 5 notifications is shown at once","location":null,"status":"passed","title":"Maximum of 5 notifications is shown at once"}],"endTime":1672826869297,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/notifications.test.tsx","startTime":1672826868355,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> properly","location":null,"status":"passed","title":"Renders <Tag /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> group properly","location":null,"status":"passed","title":"Renders <Tag /> group properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> without remove button if disabled","location":null,"status":"passed","title":"Renders <Tag /> without remove button if disabled"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Fires onClick and onRemoveClick <Tag /> events","location":null,"status":"passed","title":"Fires onClick and onRemoveClick <Tag /> events"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tag /> with the label key","location":null,"status":"passed","title":"Renders <Tag /> with the label key"}],"endTime":1672826870208,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tag.test.tsx","startTime":1672826869319,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> properly","location":null,"status":"passed","title":"Renders basic <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> with title properly","location":null,"status":"passed","title":"Renders basic <Panel /> with title properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Panel /> that is collapsed by default and can be expanded","location":null,"status":"passed","title":"Renders basic <Panel /> that is collapsed by default and can be expanded"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Panel /> properly","location":null,"status":"passed","title":"Renders closable <Panel /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Panel /> with actions","location":null,"status":"passed","title":"Renders <Panel /> with actions"}],"endTime":1672826871042,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/panel.test.tsx","startTime":1672826870219,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> properly","location":null,"status":"passed","title":"Renders <Button /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with size properly","location":null,"status":"passed","title":"Renders <Button /> with size properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with intent properly","location":null,"status":"passed","title":"Renders <Button /> with intent properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with right icon properly","location":null,"status":"passed","title":"Renders <Button /> with right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with icon and right icon properly","location":null,"status":"passed","title":"Renders <Button /> with icon and right icon properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Button /> with onClick function","location":null,"status":"passed","title":"Renders <Button /> with onClick function"}],"endTime":1672826872507,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/button.test.tsx","startTime":1672826871054,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Modal /> properly","location":null,"status":"passed","title":"Renders basic <Modal /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not renders <Modal /> if its not open","location":null,"status":"passed","title":"Does not renders <Modal /> if its not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Modal /> with custom dimensions","location":null,"status":"passed","title":"Renders <Modal /> with custom dimensions"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders confirmation <Modal /> ","location":null,"status":"passed","title":"Renders confirmation <Modal /> "}],"endTime":1672826873759,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/modal.test.tsx","startTime":1672826872518,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Does not render <Drawer /> if not open","location":null,"status":"passed","title":"Does not render <Drawer /> if not open"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders opened <Drawer /> properly","location":null,"status":"passed","title":"Renders opened <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders hidable <Drawer /> properly","location":null,"status":"passed","title":"Renders hidable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders closable <Drawer /> properly","location":null,"status":"passed","title":"Renders closable <Drawer /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Drawer /> with interactive backdrop","location":null,"status":"passed","title":"Renders <Drawer /> with interactive backdrop"}],"endTime":1672826874510,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/drawer.test.tsx","startTime":1672826873770,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Tree /> properly","location":null,"status":"passed","title":"Renders basic <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows textarea for <Tree /> properly","location":null,"status":"passed","title":"Shows textarea for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Tree /> items can be expanded and collapsed","location":null,"status":"passed","title":"<Tree /> items can be expanded and collapsed"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Shows types for <Tree /> properly","location":null,"status":"passed","title":"Shows types for <Tree /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Tree /> with clickable items","location":null,"status":"passed","title":"Renders <Tree /> with clickable items"}],"endTime":1672826876153,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/tree.test.tsx","startTime":1672826874528,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders basic <Collection /> properly","location":null,"status":"passed","title":"Renders basic <Collection /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> items can be filtered","location":null,"status":"passed","title":"<Collection /> items can be filtered"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> shows no data message when empty","location":null,"status":"passed","title":"<Collection /> shows no data message when empty"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Collection /> can be sorted","location":null,"status":"passed","title":"<Collection /> can be sorted"}],"endTime":1672826878023,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/collection.test.tsx","startTime":1672826876164,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Menu /> properly","location":null,"status":"passed","title":"Renders <Menu /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item can be clicked","location":null,"status":"passed","title":"<Menu /> item can be clicked"},{"ancestorTitles":[],"failureMessages":[],"fullName":"<Menu /> item has right clickable button","location":null,"status":"passed","title":"<Menu /> item has right clickable button"}],"endTime":1672826878819,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/menu.test.tsx","startTime":1672826878044,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> properly","location":null,"status":"passed","title":"Renders <Input /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Input /> with clear button properly","location":null,"status":"passed","title":"Renders <Input /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <Input /> cannot be cleared","location":null,"status":"passed","title":"Disabled <Input /> cannot be cleared"}],"endTime":1672826879491,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/input.test.tsx","startTime":1672826878830,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders full <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders full <Breadcrumbs /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders shortened <Breadcrumbs /> properly","location":null,"status":"passed","title":"Renders shortened <Breadcrumbs /> properly"}],"endTime":1672826880023,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/breadcrumbs.test.tsx","startTime":1672826879501,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreEffect /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <ReqoreTextEffect /> properly","location":null,"status":"passed","title":"Renders <ReqoreTextEffect /> properly"}],"endTime":1672826880964,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/effect.test.tsx","startTime":1672826880052,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> properly","location":null,"status":"passed","title":"Renders <TextArea /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TextArea /> with clear button properly","location":null,"status":"passed","title":"Renders <TextArea /> with clear button properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Disabled <TextArea /> cannot be cleared","location":null,"status":"passed","title":"Disabled <TextArea /> cannot be cleared"}],"endTime":1672826881636,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/textarea.test.tsx","startTime":1672826880983,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Message /> properly","location":null,"status":"passed","title":"Renders <Message /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onFinish on message after duration","location":null,"status":"passed","title":"Runs onFinish on message after duration"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Runs onClose when closed","location":null,"status":"passed","title":"Runs onClose when closed"}],"endTime":1672826882250,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/messages.test.tsx","startTime":1672826881647,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1672826882783,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/radiogroup.test.tsx","startTime":1672826882260,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Layout properly","location":null,"status":"passed","title":"Renders Layout properly"}],"endTime":1672826883297,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/layout.test.tsx","startTime":1672826882793,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Icon /> properly","location":null,"status":"passed","title":"Renders <Icon /> properly"},{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders empty <Icon /> if icon does not exist","location":null,"status":"passed","title":"Renders empty <Icon /> if icon does not exist"}],"endTime":1672826884119,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/icon.test.tsx","startTime":1672826883307,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders Navbar properly","location":null,"status":"passed","title":"Renders Navbar properly"}],"endTime":1672826884569,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/navbar.test.tsx","startTime":1672826884129,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <Checkbox /> properly","location":null,"status":"passed","title":"Renders <Checkbox /> properly"}],"endTime":1672826885055,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/checkbox.test.tsx","startTime":1672826884579,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"Renders <TimeAgo /> data properly","location":null,"status":"passed","title":"Renders <TimeAgo /> data properly"}],"endTime":1672826885495,"message":"","name":"/home/runner/work/reqore/reqore/__tests__/timeAgo.test.tsx","startTime":1672826885065,"status":"passed","summary":""}],"wasInterrupted":false}