@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/esm/index.js
CHANGED
|
@@ -55911,10 +55911,10 @@ var SideNavMenuItem = function (_a) {
|
|
|
55911
55911
|
if (isActive) {
|
|
55912
55912
|
var bg = useColorModeValue('white', 'gray.800');
|
|
55913
55913
|
var color = useColorModeValue('brand.600', 'gray.200');
|
|
55914
|
-
return (React__default.createElement(Button, __assign$g({ w: "full", justifyContent: "flex-start", background: bg, color: color }, rest), children));
|
|
55914
|
+
return (React__default.createElement(Button, __assign$g({ w: "full", justifyContent: "flex-start", background: bg, color: color, fontSize: 'lg' }, rest), children));
|
|
55915
55915
|
}
|
|
55916
55916
|
var btnColor = useColorModeValue('brand.50', 'gray.200');
|
|
55917
|
-
return (React__default.createElement(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));
|
|
55917
|
+
return (React__default.createElement(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));
|
|
55918
55918
|
};
|
|
55919
55919
|
|
|
55920
55920
|
var TopBar = function (props) { return (React__default.createElement(Stack, __assign$g({ minH: "4.6875rem", bg: 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))); };
|
|
@@ -55928,6 +55928,15 @@ var TopBarBackAction = function (_a) {
|
|
|
55928
55928
|
rightInformation));
|
|
55929
55929
|
};
|
|
55930
55930
|
|
|
55931
|
+
var alert = {
|
|
55932
|
+
baseStyle: {
|
|
55933
|
+
container: {
|
|
55934
|
+
borderRadius: 'md',
|
|
55935
|
+
fontSize: 'md'
|
|
55936
|
+
}
|
|
55937
|
+
}
|
|
55938
|
+
};
|
|
55939
|
+
|
|
55931
55940
|
var badge = {
|
|
55932
55941
|
baseStyle: {
|
|
55933
55942
|
borderRadius: 'md',
|
|
@@ -56347,7 +56356,8 @@ var Input = {
|
|
|
56347
56356
|
var menu = {
|
|
56348
56357
|
baseStyle: {
|
|
56349
56358
|
list: {
|
|
56350
|
-
overflow: 'hidden'
|
|
56359
|
+
overflow: 'hidden',
|
|
56360
|
+
fontSize: 'md'
|
|
56351
56361
|
}
|
|
56352
56362
|
}
|
|
56353
56363
|
};
|
|
@@ -56472,6 +56482,7 @@ var textarea = {
|
|
|
56472
56482
|
|
|
56473
56483
|
var components = /*#__PURE__*/Object.freeze({
|
|
56474
56484
|
__proto__: null,
|
|
56485
|
+
Alert: alert,
|
|
56475
56486
|
Badge: badge,
|
|
56476
56487
|
Button: button,
|
|
56477
56488
|
Checkbox: checkbox,
|