@elmethis/core 1.0.0-alpha.13 → 1.0.0-alpha.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.
@@ -368,26 +368,26 @@ const _i = /* @__PURE__ */ Y({
368
368
  case "rust":
369
369
  case "rs":
370
370
  return mt({
371
- loader: () => import("./Rust-161DOnv2.js"),
371
+ loader: () => import("./Rust-Beyp-qeb.js"),
372
372
  loadingComponent: Z0
373
373
  });
374
374
  case "javascript":
375
375
  case "js":
376
376
  return mt({
377
- loader: () => import("./JavaScript-CRn27GeC.js"),
377
+ loader: () => import("./JavaScript-CPGj6jvI.js"),
378
378
  loadingComponent: Z0
379
379
  });
380
380
  case "typescript":
381
381
  case "ts":
382
382
  return mt({
383
- loader: () => import("./TypeScript-TmV2p2s_.js"),
383
+ loader: () => import("./TypeScript-Dk8QmsMS.js"),
384
384
  loadingComponent: Z0
385
385
  });
386
386
  case "bash":
387
387
  case "sh":
388
388
  case "shell":
389
389
  return mt({
390
- loader: () => import("./Bash-BVWkNeTY.js"),
390
+ loader: () => import("./Bash-Cd5wtNan.js"),
391
391
  loadingComponent: Z0
392
392
  });
393
393
  default:
@@ -14682,20 +14682,22 @@ const Fo = ["id"], _o = /* @__PURE__ */ Y({
14682
14682
  e.value = !e.value;
14683
14683
  };
14684
14684
  return Oa(() => {
14685
- document.documentElement.setAttribute(
14685
+ typeof document < "u" && document.documentElement.setAttribute(
14686
14686
  "data-theme",
14687
14687
  e.value ? "dark" : "light"
14688
14688
  );
14689
14689
  }), it(() => {
14690
- const a = document.documentElement.getAttribute("data-theme");
14691
- e.value = a === "dark";
14690
+ if (typeof document < "u") {
14691
+ const a = document.documentElement.getAttribute("data-theme");
14692
+ e.value = a === "dark";
14693
+ }
14692
14694
  }), (a, n) => (N(), Re(x0(e.value ? X(Ei) : X(Ii)), {
14693
14695
  class: "icon",
14694
14696
  style: K({ width: a.size, height: a.size }),
14695
14697
  onClick: t
14696
14698
  }, null, 8, ["style"]));
14697
14699
  }
14698
- }), Y4 = /* @__PURE__ */ J(eu, [["__scopeId", "data-v-96b850cb"]]), tu = { class: "code" }, ru = /* @__PURE__ */ Y({
14700
+ }), Y4 = /* @__PURE__ */ J(eu, [["__scopeId", "data-v-0c02f692"]]), tu = { class: "code" }, ru = /* @__PURE__ */ Y({
14699
14701
  __name: "ElmInlineCode",
14700
14702
  props: {
14701
14703
  code: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/core",
3
- "version": "1.0.0-alpha.13",
3
+ "version": "1.0.0-alpha.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },