@ttoss/components 2.2.30 → 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,5 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { Icon, NotificationCard } from "../chunk-
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "2.2.31",
|
|
4
4
|
"description": "React components for ttoss ecosystem.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"react": ">=16.8.0",
|
|
100
|
-
"@ttoss/
|
|
101
|
-
"@ttoss/
|
|
100
|
+
"@ttoss/react-hooks": "^2.1.2",
|
|
101
|
+
"@ttoss/ui": "^5.9.3"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
104
|
"@types/jest": "^30.0.0",
|
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
"tsup": "^8.5.0",
|
|
109
109
|
"tsx": "^4.19.2",
|
|
110
110
|
"@ttoss/config": "^1.35.6",
|
|
111
|
+
"@ttoss/react-hooks": "^2.1.2",
|
|
111
112
|
"@ttoss/react-icons": "^0.4.15",
|
|
112
113
|
"@ttoss/test-utils": "^2.1.26",
|
|
113
|
-
"@ttoss/react-hooks": "^2.1.2",
|
|
114
114
|
"@ttoss/ui": "^5.9.3"
|
|
115
115
|
},
|
|
116
116
|
"keywords": [
|