@ttoss/components 2.2.29 → 2.2.31

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.
@@ -1,3 +1,3 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { NotificationCard } from "../chunk-6FMJ6F7R.js";
2
+ import { NotificationCard } from "../chunk-MUZOQ5WS.js";
3
3
  export { NotificationCard };
@@ -1,5 +1,5 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { Icon, NotificationCard } from "../chunk-6FMJ6F7R.js";
2
+ import { Icon, NotificationCard } from "../chunk-MUZOQ5WS.js";
3
3
 
4
4
  // src/components/NotificationsMenu/NotificationsMenu.tsx
5
5
  import { Box, Button, Card, Flex, IconButton, Text } from "@ttoss/ui";
@@ -2157,17 +2157,14 @@ var NotificationCard = props => {
2157
2157
  sx: {
2158
2158
  display: "flex",
2159
2159
  justifyContent: "space-between",
2160
- alignItems: "flex-start",
2160
+ minHeight: shouldAddMinHeight ? "40px" : "auto",
2161
+ alignItems: shouldCenterVerticallyWithoutTitle ? "center" : shouldCenterVerticallyWithTitle ? "center" : "flex-start",
2161
2162
  width: "100%",
2162
2163
  gap: "4"
2163
2164
  },
2164
2165
  children: /* @__PURE__ */jsx2(Box, {
2165
2166
  sx: {
2166
- flex: 1,
2167
- minHeight: shouldAddMinHeight ? "40px" : "auto",
2168
- display: "flex",
2169
- alignItems: shouldCenterVerticallyWithoutTitle ? "center" : shouldCenterVerticallyWithTitle ? "center" : "flex-start",
2170
- textAlign: "left"
2167
+ flex: 1
2171
2168
  },
2172
2169
  children: props.message
2173
2170
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/components",
3
- "version": "2.2.29",
3
+ "version": "2.2.31",
4
4
  "description": "React components for ttoss ecosystem.",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",
@@ -98,7 +98,7 @@
98
98
  "peerDependencies": {
99
99
  "react": ">=16.8.0",
100
100
  "@ttoss/react-hooks": "^2.1.2",
101
- "@ttoss/ui": "^5.9.2"
101
+ "@ttoss/ui": "^5.9.3"
102
102
  },
103
103
  "devDependencies": {
104
104
  "@types/jest": "^30.0.0",
@@ -111,7 +111,7 @@
111
111
  "@ttoss/react-hooks": "^2.1.2",
112
112
  "@ttoss/react-icons": "^0.4.15",
113
113
  "@ttoss/test-utils": "^2.1.26",
114
- "@ttoss/ui": "^5.9.2"
114
+ "@ttoss/ui": "^5.9.3"
115
115
  },
116
116
  "keywords": [
117
117
  "React",