@meowdown/react 0.80.2 → 0.80.3

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/index.js CHANGED
@@ -240,6 +240,8 @@ function CodeBlockView(props) {
240
240
  return /* @__PURE__ */ jsxs("div", {
241
241
  className: code_block_view_module_default.Root,
242
242
  "data-preview": previewOnly || void 0,
243
+ "data-selected": selected || void 0,
244
+ "data-testid": "code-block",
243
245
  children: [
244
246
  /* @__PURE__ */ jsx("pre", {
245
247
  ref: contentRef,
package/dist/style.css CHANGED
@@ -2,6 +2,16 @@
2
2
  position: relative;
3
3
  }
4
4
 
5
+ .meow_Root_D3j_9q[data-selected] {
6
+ outline: 1px solid var(--meowdown-node-outline);
7
+ background: var(--meowdown-node-selection);
8
+ border-radius: .6rem;
9
+ }
10
+
11
+ .prosekit-dragging .meow_Root_D3j_9q[data-selected] {
12
+ background: none;
13
+ }
14
+
5
15
  .meow_Root_D3j_9q[data-preview] pre, .meow_Root_D3j_9q[data-preview] .meow_Toolbar_D3j_9q {
6
16
  display: none;
7
17
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meowdown/react",
3
3
  "type": "module",
4
- "version": "0.80.2",
4
+ "version": "0.80.3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",