@ttoss/components 2.2.10 → 2.2.12
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,10 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
2
3
|
|
|
3
4
|
type NotificationType = 'success' | 'error' | 'warning' | 'info';
|
|
4
5
|
declare const NotificationCard: (props: {
|
|
5
6
|
type: NotificationType;
|
|
6
|
-
title?: string;
|
|
7
|
-
message: string;
|
|
7
|
+
title?: string | React.ReactNode;
|
|
8
|
+
message: string | React.ReactNode;
|
|
8
9
|
onClose?: () => void;
|
|
9
10
|
}) => react_jsx_runtime.JSX.Element;
|
|
10
11
|
|
package/dist/esm/Menu/index.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
|
|
3
|
-
// ../react-icons/src/Icon.tsx
|
|
4
|
-
import * as React2 from "react";
|
|
5
|
-
|
|
6
3
|
// ../../node_modules/.pnpm/@iconify-icon+react@2.2.0_react@19.0.0/node_modules/@iconify-icon/react/dist/iconify.mjs
|
|
7
4
|
import React from "react";
|
|
8
5
|
|
|
@@ -2248,6 +2245,7 @@ var Icon = React.forwardRef((props, ref) => {
|
|
|
2248
2245
|
});
|
|
2249
2246
|
|
|
2250
2247
|
// ../react-icons/src/Icon.tsx
|
|
2248
|
+
import * as React2 from "react";
|
|
2251
2249
|
import { jsx } from "react/jsx-runtime";
|
|
2252
2250
|
var Icon2 = React2.forwardRef((props, ref) => {
|
|
2253
2251
|
return /* @__PURE__ */jsx(Icon, {
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
|
|
3
|
-
// ../react-icons/src/Icon.tsx
|
|
4
|
-
import * as React2 from "react";
|
|
5
|
-
|
|
6
3
|
// ../../node_modules/.pnpm/@iconify-icon+react@2.2.0_react@19.0.0/node_modules/@iconify-icon/react/dist/iconify.mjs
|
|
7
4
|
import React from "react";
|
|
8
5
|
|
|
@@ -2248,6 +2245,7 @@ var Icon = React.forwardRef((props, ref) => {
|
|
|
2248
2245
|
});
|
|
2249
2246
|
|
|
2250
2247
|
// ../react-icons/src/Icon.tsx
|
|
2248
|
+
import * as React2 from "react";
|
|
2251
2249
|
import { jsx } from "react/jsx-runtime";
|
|
2252
2250
|
var Icon2 = React2.forwardRef((props, ref) => {
|
|
2253
2251
|
return /* @__PURE__ */jsx(Icon, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/components",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12",
|
|
4
4
|
"description": "React components for ttoss ecosystem.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"react": ">=16.8.0",
|
|
96
96
|
"@ttoss/react-hooks": "^2.0.11",
|
|
97
|
-
"@ttoss/ui": "^5.5.
|
|
97
|
+
"@ttoss/ui": "^5.5.7"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@types/jest": "^29.5.14",
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
"tsx": "^4.19.2",
|
|
106
106
|
"@ttoss/config": "^1.35.3",
|
|
107
107
|
"@ttoss/react-hooks": "^2.0.11",
|
|
108
|
-
"@ttoss/react-icons": "^0.4.
|
|
108
|
+
"@ttoss/react-icons": "^0.4.11",
|
|
109
109
|
"@ttoss/test-utils": "^2.1.23",
|
|
110
|
-
"@ttoss/ui": "^5.5.
|
|
110
|
+
"@ttoss/ui": "^5.5.7"
|
|
111
111
|
},
|
|
112
112
|
"keywords": [
|
|
113
113
|
"React",
|