@dreamlake/dockit 0.2.19 → 0.2.20

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.
@@ -97,8 +97,25 @@ function CodeBlock({ children, filename, lang }) {
97
97
  "div",
98
98
  {
99
99
  className: "absolute top-0 right-0 z-10 flex items-center opacity-0 group-hover:opacity-100 focus-within:opacity-100 transition-opacity duration-150",
100
- style: { gap: 6, padding: "8px 8px" },
100
+ style: { gap: 6, padding: "8px 8px", isolation: "isolate" },
101
101
  children: [
102
+ /* @__PURE__ */ jsx(
103
+ "span",
104
+ {
105
+ "aria-hidden": "true",
106
+ style: {
107
+ position: "absolute",
108
+ inset: 4,
109
+ zIndex: -1,
110
+ pointerEvents: "none",
111
+ borderRadius: 6,
112
+ background: "color-mix(in srgb, var(--color-doc-template-code) 88%, transparent)",
113
+ boxShadow: "0 0 10px 6px var(--color-doc-template-code)",
114
+ backdropFilter: "blur(8px)",
115
+ WebkitBackdropFilter: "blur(8px)"
116
+ }
117
+ }
118
+ ),
102
119
  lang && /* @__PURE__ */ jsx(
103
120
  "span",
104
121
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamlake/dockit",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "The DreamLake documentation shell — Vike + React + Tailwind v4 + MDX docs framework with sidebar, TOC, search, and theming",
5
5
  "license": "MIT",
6
6
  "type": "module",