@discuss-ds/ui 0.24.0 → 0.24.1
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1545,7 +1545,8 @@ var InlineEdit = React24.forwardRef(
|
|
|
1545
1545
|
// one. The extra 1px of bottom padding keeps the height identical so the text never jumps.
|
|
1546
1546
|
selected ? "rounded-none border-b-2 border-accent-foreground py-1" : "rounded-none border-b border-transparent pb-1.25 pt-1 enabled:hover:border-input-muted enabled:focus-visible:border-input-muted"
|
|
1547
1547
|
) : "rounded-md border border-transparent py-1 enabled:focus-visible:border-input-accent",
|
|
1548
|
-
|
|
1548
|
+
// The text is editable in place, so hovering it shows the text cursor.
|
|
1549
|
+
"enabled:cursor-text enabled:hover:bg-secondary disabled:cursor-not-allowed disabled:opacity-50",
|
|
1549
1550
|
textClasses
|
|
1550
1551
|
),
|
|
1551
1552
|
children: [
|