@paygreen/pgui 2.2.0 → 2.3.0
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/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/layout/SideNav/index.d.ts +5 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/layout/SideNav/index.d.ts +5 -2
- package/dist/index.d.ts +6 -3
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -47560,9 +47560,9 @@ var SideNavFooter = function (_a) {
|
|
|
47560
47560
|
return (React__default["default"].createElement(react.Flex, __assign$2({ flex: "1", alignItems: "flex-end", pb: 4 }, rest), children));
|
|
47561
47561
|
};
|
|
47562
47562
|
var SideNavMenu = function (_a) {
|
|
47563
|
-
var title = _a.title, children = _a.children, rest = __rest$2(_a, ["title", "children"]);
|
|
47563
|
+
var title = _a.title, children = _a.children, textProps = _a.textProps, rest = __rest$2(_a, ["title", "children", "textProps"]);
|
|
47564
47564
|
return (React__default["default"].createElement(react.VStack, __assign$2({ spacing: 1, alignItems: "inherit", h: "full", w: "full" }, rest),
|
|
47565
|
-
React__default["default"].createElement(react.Text, { fontSize: "
|
|
47565
|
+
React__default["default"].createElement(react.Text, __assign$2({ fontSize: "md", fontWeight: "bold", color: "white", textTransform: "uppercase" }, textProps), title),
|
|
47566
47566
|
children));
|
|
47567
47567
|
};
|
|
47568
47568
|
var SideNavMenuItem = function (_a) {
|
|
@@ -51297,7 +51297,7 @@ var foundations = __assign$2(__assign$2({ colors: colors }, typography), { sizes
|
|
|
51297
51297
|
|
|
51298
51298
|
var chakraStyle = function () { return ({
|
|
51299
51299
|
'div[data-popper-placement]': {
|
|
51300
|
-
|
|
51300
|
+
minWidth: 'auto !important'
|
|
51301
51301
|
}
|
|
51302
51302
|
}); };
|
|
51303
51303
|
|