@ttoss/ui 5.7.0 → 5.8.0
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/esm/index.js +3 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -1183,6 +1183,7 @@ import { Tooltip as TooltipReact } from "react-tooltip";
|
|
|
1183
1183
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1184
1184
|
var Tooltip = ({
|
|
1185
1185
|
variant = "info",
|
|
1186
|
+
sx,
|
|
1186
1187
|
...props
|
|
1187
1188
|
}) => {
|
|
1188
1189
|
const className = `tooltip-component tooltip-${variant}`;
|
|
@@ -1236,7 +1237,8 @@ var Tooltip = ({
|
|
|
1236
1237
|
textDecorationLine: "underline",
|
|
1237
1238
|
lineHeight: "normal"
|
|
1238
1239
|
},
|
|
1239
|
-
...variantStyles
|
|
1240
|
+
...variantStyles,
|
|
1241
|
+
...sx
|
|
1240
1242
|
},
|
|
1241
1243
|
[`&.tooltip-${variant}`]: variantStyles
|
|
1242
1244
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ interface TextareaProps extends TextareaProps$1 {
|
|
|
164
164
|
}
|
|
165
165
|
declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
166
166
|
|
|
167
|
-
declare const Tooltip: ({ variant, ...props }: ITooltip) => react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare const Tooltip: ({ variant, sx, ...props }: ITooltip & SxProp) => react_jsx_runtime.JSX.Element;
|
|
168
168
|
|
|
169
169
|
type ThemeProviderProps = {
|
|
170
170
|
children?: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"jest": "^29.7.0",
|
|
45
45
|
"react": "^19.0.0",
|
|
46
46
|
"tsup": "^8.3.5",
|
|
47
|
-
"@ttoss/react-icons": "^0.4.11",
|
|
48
47
|
"@ttoss/config": "^1.35.3",
|
|
49
|
-
"@ttoss/test-utils": "^2.1.23"
|
|
48
|
+
"@ttoss/test-utils": "^2.1.23",
|
|
49
|
+
"@ttoss/react-icons": "^0.4.11"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"React",
|