quicksnack 3.30.1 → 3.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,12 +55,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
55
55
  exports.Header = void 0;
56
56
  var react_1 = __importDefault(require("react"));
57
57
  var styled_components_1 = __importStar(require("styled-components"));
58
+ var is_prop_valid_1 = __importDefault(require("@emotion/is-prop-valid"));
58
59
  var sharedStyles = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: 0 0; \n padding: 0 0;\n font-weight: 700;\n line-height: 1.28571429em; \n"], ["\n margin: 0 0; \n padding: 0 0;\n font-weight: 700;\n line-height: 1.28571429em; \n"])));
59
- var H1 = styled_components_1.default.h1(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: 2rem;\n min-height: 1rem;\n ", "\n"], ["\n font-size: 2rem;\n min-height: 1rem;\n ", "\n"])), sharedStyles);
60
- var H2 = styled_components_1.default.h2(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: 1.71428571rem;\n ", "\n"], ["\n font-size: 1.71428571rem;\n ", "\n"])), sharedStyles);
61
- var H3 = styled_components_1.default.h3(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: 1.28571429rem;\n ", "\n"], ["\n font-size: 1.28571429rem;\n ", "\n"])), sharedStyles);
62
- var H4 = styled_components_1.default.h4(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: 1.07142857rem;\n ", "\n"], ["\n font-size: 1.07142857rem;\n ", "\n"])), sharedStyles);
63
- var H5 = styled_components_1.default.h5(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-size: 1rem;\n ", "\n"], ["\n font-size: 1rem;\n ", "\n"])), sharedStyles);
60
+ var H1 = styled_components_1.default.h1.withConfig({ shouldForwardProp: is_prop_valid_1.default })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: 2rem;\n min-height: 1rem;\n ", "\n"], ["\n font-size: 2rem;\n min-height: 1rem;\n ", "\n"])), sharedStyles);
61
+ var H2 = styled_components_1.default.h2.withConfig({ shouldForwardProp: is_prop_valid_1.default })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: 1.71428571rem;\n ", "\n"], ["\n font-size: 1.71428571rem;\n ", "\n"])), sharedStyles);
62
+ var H3 = styled_components_1.default.h3.withConfig({ shouldForwardProp: is_prop_valid_1.default })(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: 1.28571429rem;\n ", "\n"], ["\n font-size: 1.28571429rem;\n ", "\n"])), sharedStyles);
63
+ var H4 = styled_components_1.default.h4.withConfig({ shouldForwardProp: is_prop_valid_1.default })(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: 1.07142857rem;\n ", "\n"], ["\n font-size: 1.07142857rem;\n ", "\n"])), sharedStyles);
64
+ var H5 = styled_components_1.default.h5.withConfig({ shouldForwardProp: is_prop_valid_1.default })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-size: 1rem;\n ", "\n"], ["\n font-size: 1rem;\n ", "\n"])), sharedStyles);
64
65
  var mapping = {
65
66
  1: H1,
66
67
  2: H2,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quicksnack",
3
3
  "description": "Quickly create beautiful admin layouts using react",
4
- "version": "3.30.1",
4
+ "version": "3.30.2",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/**"