specra 0.1.13 → 0.1.14
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/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -2
- package/dist/components/index.mjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3396,6 +3396,9 @@ function SearchModal({ isOpen, onClose, config }) {
|
|
|
3396
3396
|
// src/components/docs/header.tsx
|
|
3397
3397
|
var import_react13 = require("react");
|
|
3398
3398
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
3399
|
+
function XIcon2({ className }) {
|
|
3400
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg", { viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" }) });
|
|
3401
|
+
}
|
|
3399
3402
|
function Header({ currentVersion, versions, onMenuClick, config: configProp }) {
|
|
3400
3403
|
const contextConfig = useConfig();
|
|
3401
3404
|
const config = configProp || contextConfig;
|
|
@@ -3460,7 +3463,7 @@ function Header({ currentVersion, versions, onMenuClick, config: configProp }) {
|
|
|
3460
3463
|
rel: "noopener noreferrer",
|
|
3461
3464
|
className: "hidden md:flex items-center justify-center h-9 w-9 rounded-md hover:bg-muted transition-colors",
|
|
3462
3465
|
"aria-label": "Twitter",
|
|
3463
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3466
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(XIcon2, { className: "h-4 w-4" })
|
|
3464
3467
|
}
|
|
3465
3468
|
),
|
|
3466
3469
|
config.social?.discord && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|