@paygreen/pgui 2.12.0 → 2.12.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.
- package/dist/cjs/index.js +14 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/theme/components/alert.d.ts +9 -0
- package/dist/cjs/types/theme/components/index.d.ts +1 -0
- package/dist/cjs/types/theme/components/menu.d.ts +1 -0
- package/dist/esm/index.js +14 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/theme/components/alert.d.ts +9 -0
- package/dist/esm/types/theme/components/index.d.ts +1 -0
- package/dist/esm/types/theme/components/menu.d.ts +1 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -55937,10 +55937,10 @@ var SideNavMenuItem = function (_a) {
|
|
|
55937
55937
|
if (isActive) {
|
|
55938
55938
|
var bg = useColorModeValue('white', 'gray.800');
|
|
55939
55939
|
var color = useColorModeValue('brand.600', 'gray.200');
|
|
55940
|
-
return (React__default["default"].createElement(react.Button, __assign$g({ w: "full", justifyContent: "flex-start", background: bg, color: color }, rest), children));
|
|
55940
|
+
return (React__default["default"].createElement(react.Button, __assign$g({ w: "full", justifyContent: "flex-start", background: bg, color: color, fontSize: 'lg' }, rest), children));
|
|
55941
55941
|
}
|
|
55942
55942
|
var btnColor = useColorModeValue('brand.50', 'gray.200');
|
|
55943
|
-
return (React__default["default"].createElement(react.Button, __assign$g({ w: "full", justifyContent: "flex-start", background: "transparent", color: btnColor, _hover: { background: 'whiteAlpha.200' }, _focus: { background: 'whiteAlpha.200' }, _active: { background: 'whiteAlpha.200' } }, rest), children));
|
|
55943
|
+
return (React__default["default"].createElement(react.Button, __assign$g({ w: "full", justifyContent: "flex-start", background: "transparent", color: btnColor, fontSize: 'lg', _hover: { background: 'whiteAlpha.200' }, _focus: { background: 'whiteAlpha.200' }, _active: { background: 'whiteAlpha.200' } }, rest), children));
|
|
55944
55944
|
};
|
|
55945
55945
|
|
|
55946
55946
|
var TopBar = function (props) { return (React__default["default"].createElement(react.Stack, __assign$g({ minH: "4.6875rem", bg: react.useColorModeValue('white', 'gray.900'), boxShadow: "layout", w: "full", borderRadius: "0", justifyContent: "space-between", spacing: 2, alignItems: { base: 'inherit', xl: 'center' }, direction: { base: 'column', xl: 'row' }, py: { base: 4, xl: 0 } }, props))); };
|
|
@@ -55954,6 +55954,15 @@ var TopBarBackAction = function (_a) {
|
|
|
55954
55954
|
rightInformation));
|
|
55955
55955
|
};
|
|
55956
55956
|
|
|
55957
|
+
var alert = {
|
|
55958
|
+
baseStyle: {
|
|
55959
|
+
container: {
|
|
55960
|
+
borderRadius: 'md',
|
|
55961
|
+
fontSize: 'md'
|
|
55962
|
+
}
|
|
55963
|
+
}
|
|
55964
|
+
};
|
|
55965
|
+
|
|
55957
55966
|
var badge = {
|
|
55958
55967
|
baseStyle: {
|
|
55959
55968
|
borderRadius: 'md',
|
|
@@ -56373,7 +56382,8 @@ var Input = {
|
|
|
56373
56382
|
var menu = {
|
|
56374
56383
|
baseStyle: {
|
|
56375
56384
|
list: {
|
|
56376
|
-
overflow: 'hidden'
|
|
56385
|
+
overflow: 'hidden',
|
|
56386
|
+
fontSize: 'md'
|
|
56377
56387
|
}
|
|
56378
56388
|
}
|
|
56379
56389
|
};
|
|
@@ -56498,6 +56508,7 @@ var textarea = {
|
|
|
56498
56508
|
|
|
56499
56509
|
var components = /*#__PURE__*/Object.freeze({
|
|
56500
56510
|
__proto__: null,
|
|
56511
|
+
Alert: alert,
|
|
56501
56512
|
Badge: badge,
|
|
56502
56513
|
Button: button,
|
|
56503
56514
|
Checkbox: checkbox,
|