quicksnack 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Menu/Menu.js +1 -1
- package/package.json +12 -12
|
@@ -31,7 +31,7 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
31
31
|
var react_1 = __importDefault(require("react"));
|
|
32
32
|
var SlideOpen_1 = require("../../animation/SlideOpen/SlideOpen");
|
|
33
33
|
exports.Menu = styled_components_1.default.ul(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 0;\n margin: 0;\n list-style: none;\n"], ["\n padding: 0;\n margin: 0;\n list-style: none;\n"])));
|
|
34
|
-
var StyledMenuItem = styled_components_1.default.li(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n padding: ", ";\n \n ", "\n \n & button:hover, & button:active, & button:focus {\n color: ", " !important;\n }\n \n & button {\n width: 100%;\n }\n \n ", " \n"], ["\n padding: ", ";\n \n ", "\n \n & button:hover, & button:active, & button:focus {\n color: ", " !important;\n }\n \n & button {\n width: 100%;\n }\n \n ", " \n"])), function (props) { return props.theme.spacing(.5, 5); }, function (props) { return props.isOpen && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject([" \n border-left:
|
|
34
|
+
var StyledMenuItem = styled_components_1.default.li(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n padding: ", ";\n \n ", "\n \n & button:hover, & button:active, & button:focus {\n color: ", " !important;\n }\n \n & button {\n width: 100%;\n }\n \n ", " \n"], ["\n padding: ", ";\n \n ", "\n \n & button:hover, & button:active, & button:focus {\n color: ", " !important;\n }\n \n & button {\n width: 100%;\n }\n \n ", " \n"])), function (props) { return props.theme.spacing(.5, 5); }, function (props) { return props.isOpen && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject([" \n border-left: ", " solid ", ";\n margin-left: ", ";\n background: #293846;\n "], [" \n border-left: ", " solid ", ";\n margin-left: ", ";\n background: #293846;\n "])), props.theme.spacing(1), props.theme.palette.colors.blue, props.theme.spacing(-1)); }, function (props) { return props.theme.palette.common.white; }, function (props) { return props.isActive && (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n & button { \n color: ", ";\n }\n "], ["\n & button { \n color: ", ";\n }\n "])), props.theme.palette.common.white); });
|
|
35
35
|
var MenuItem = function (_a) {
|
|
36
36
|
var item = _a.item, isOpen = _a.isOpen, isActive = _a.isActive, children = _a.children;
|
|
37
37
|
var _b = react_1.default.useState(!!isOpen), isDelayedOpen = _b[0], setDelayedOpen = _b[1];
|
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.5.
|
|
4
|
+
"version": "3.5.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/**"
|
|
@@ -54,23 +54,23 @@
|
|
|
54
54
|
"@semantic-release/git": "10.0.1",
|
|
55
55
|
"@semantic-release/gitlab": "7.0.4",
|
|
56
56
|
"@semantic-release/npm": "9.0.0",
|
|
57
|
-
"@storybook/addon-actions": "6.4.
|
|
58
|
-
"@storybook/addon-essentials": "6.4.
|
|
59
|
-
"@storybook/addon-links": "6.4.
|
|
60
|
-
"@storybook/builder-webpack5": "6.4.
|
|
61
|
-
"@storybook/manager-webpack5": "6.4.
|
|
62
|
-
"@storybook/node-logger": "6.4.
|
|
63
|
-
"@storybook/preset-create-react-app": "4.0.
|
|
64
|
-
"@storybook/react": "6.4.
|
|
57
|
+
"@storybook/addon-actions": "6.4.19",
|
|
58
|
+
"@storybook/addon-essentials": "6.4.19",
|
|
59
|
+
"@storybook/addon-links": "6.4.19",
|
|
60
|
+
"@storybook/builder-webpack5": "6.4.19",
|
|
61
|
+
"@storybook/manager-webpack5": "6.4.19",
|
|
62
|
+
"@storybook/node-logger": "6.4.19",
|
|
63
|
+
"@storybook/preset-create-react-app": "4.0.1",
|
|
64
|
+
"@storybook/react": "6.4.19",
|
|
65
65
|
"@testing-library/jest-dom": "5.16.2",
|
|
66
|
-
"@testing-library/react": "12.1.
|
|
66
|
+
"@testing-library/react": "12.1.3",
|
|
67
67
|
"@testing-library/user-event": "13.5.0",
|
|
68
68
|
"@types/jest": "27.4.0",
|
|
69
69
|
"@types/lodash": "4.14.178",
|
|
70
|
-
"@types/node": "16.11.
|
|
70
|
+
"@types/node": "16.11.25",
|
|
71
71
|
"@types/react": "17.0.39",
|
|
72
72
|
"@types/react-dom": "17.0.11",
|
|
73
|
-
"@types/styled-components": "5.1.
|
|
73
|
+
"@types/styled-components": "5.1.22",
|
|
74
74
|
"babel-loader": "8.2.3",
|
|
75
75
|
"react": "17.0.2",
|
|
76
76
|
"react-dom": "17.0.2",
|