@digicreon/mucss 1.4.2 → 1.4.4

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.
@@ -80,6 +80,16 @@ Tooltips can be placed on form elements to guide the user.
80
80
 
81
81
  ---
82
82
 
83
+ ## Long text and line breaks
84
+
85
+ Long tooltip text wraps automatically (max-width: 20rem). You can also force explicit line breaks using `
` in the attribute:
86
+
87
+ ```html
88
+ <span data-tooltip="Line 1&#10;Line 2&#10;Line 3">Multiline tooltip</span>
89
+ ```
90
+
91
+ ---
92
+
83
93
  ## Attribute summary
84
94
 
85
95
  | Attribute | Required | Description |
@@ -74,6 +74,22 @@ When used on a `<nav>`, these classes automatically add `z-index: 100` and `box-
74
74
 
75
75
  ---
76
76
 
77
+ ## Cursor
78
+
79
+ | Class | Effect |
80
+ |-------|--------|
81
+ | `.clickable` | `cursor: pointer` — shows a pointer cursor on hover |
82
+
83
+ Use `.clickable` on elements that are interactive via JavaScript but are not `<a>` or `<button>` (which already show a pointer cursor natively).
84
+
85
+ ```html
86
+ <tr class="clickable" onclick="openDetail(this)">
87
+ <td>Row content</td>
88
+ </tr>
89
+ ```
90
+
91
+ ---
92
+
77
93
  ## Color utilities
78
94
 
79
95
  Text, background, and border color classes are documented in [µColors](mu.colors.md#utility-classes).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digicreon/mucss",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "µCSS — Full-featured themeable CSS framework.",
5
5
  "main": "dist/mu.css",
6
6
  "style": "dist/mu.css",