@ttoss/ui 5.5.9 → 5.5.10
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 +7 -0
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -25,6 +25,9 @@ var Button = React.forwardRef((props, ref) => {
|
|
|
25
25
|
display: "inline-flex",
|
|
26
26
|
alignItems: "center",
|
|
27
27
|
gap: "4",
|
|
28
|
+
"&:disabled": {
|
|
29
|
+
cursor: "not-allowed"
|
|
30
|
+
},
|
|
28
31
|
...restProps.sx
|
|
29
32
|
},
|
|
30
33
|
children: [loading && /* @__PURE__ */jsx(Icon, {
|
|
@@ -362,7 +365,11 @@ var IconButton = props => {
|
|
|
362
365
|
type: "button",
|
|
363
366
|
...restProps,
|
|
364
367
|
sx: {
|
|
368
|
+
cursor: "pointer",
|
|
365
369
|
borderRadius: "sm",
|
|
370
|
+
"&:disabled": {
|
|
371
|
+
cursor: "not-allowed"
|
|
372
|
+
},
|
|
366
373
|
...restProps.sx
|
|
367
374
|
},
|
|
368
375
|
children: icon ? /* @__PURE__ */jsx9(Icon4, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.10",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"jest": "^29.7.0",
|
|
44
44
|
"react": "^19.0.0",
|
|
45
45
|
"tsup": "^8.3.5",
|
|
46
|
-
"@ttoss/react-icons": "^0.4.11",
|
|
47
46
|
"@ttoss/config": "^1.35.3",
|
|
48
|
-
"@ttoss/test-utils": "^2.1.23"
|
|
47
|
+
"@ttoss/test-utils": "^2.1.23",
|
|
48
|
+
"@ttoss/react-icons": "^0.4.11"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
51
51
|
"React",
|