@ttoss/ui 1.31.14 → 1.31.15

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 CHANGED
@@ -198,7 +198,8 @@ var Label = ({
198
198
  ...props,
199
199
  children: [children, tooltip && /* @__PURE__ */jsx6(Text, {
200
200
  sx: {
201
- color: "currentcolor"
201
+ color: "currentcolor",
202
+ cursor: onTooltipClick ? "pointer" : void 0
202
203
  },
203
204
  onClick: onTooltipClick,
204
205
  "aria-label": TOOLTIP_LABEL,
package/dist/index.js CHANGED
@@ -267,7 +267,8 @@ var Label = ({
267
267
  ...props,
268
268
  children: [children, tooltip && /* @__PURE__ */(0, import_jsx_runtime6.jsx)(import_theme_ui16.Text, {
269
269
  sx: {
270
- color: "currentcolor"
270
+ color: "currentcolor",
271
+ cursor: onTooltipClick ? "pointer" : void 0
271
272
  },
272
273
  onClick: onTooltipClick,
273
274
  "aria-label": TOOLTIP_LABEL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/ui",
3
- "version": "1.31.14",
3
+ "version": "1.31.15",
4
4
  "description": "Primitive layout, typographic, and other components for styling applications.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "8572bc7e98343a9780146a604b0d2f04ca4388e6"
49
+ "gitHead": "93e161a8af481b0a74c48331c5d193566f3878dc"
50
50
  }
@@ -20,7 +20,10 @@ export const Label = ({
20
20
 
21
21
  {tooltip && (
22
22
  <Text
23
- sx={{ color: 'currentcolor' }}
23
+ sx={{
24
+ color: 'currentcolor',
25
+ cursor: onTooltipClick ? 'pointer' : undefined,
26
+ }}
24
27
  onClick={onTooltipClick}
25
28
  aria-label={TOOLTIP_LABEL}
26
29
  >