melonykit 0.19.3 → 0.19.4

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.
Files changed (2) hide show
  1. package/dist/index.js +19 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1024,10 +1024,18 @@ var jt = {
1024
1024
  width: 100%;
1025
1025
  padding: .6rem .75rem;
1026
1026
  border-radius: 7px;
1027
+ cursor: pointer;
1027
1028
  color: ${O.colors.fore.primary};
1028
1029
  font-weight: 500;
1029
1030
  text-align: left;
1030
1031
  white-space: nowrap;
1032
+
1033
+ &:hover,
1034
+ &:focus-visible {
1035
+ background-color: ${O.colors.back.secondary};
1036
+ }
1037
+
1038
+ &:disabled { cursor: default; }
1031
1039
  `
1032
1040
  };
1033
1041
  //#endregion
@@ -19054,11 +19062,17 @@ function sC({ width: e, language: t = "markdown", value: n = "", onChange: r })
19054
19062
  &:focus-within { border-color: ${O.colors.primary}; }
19055
19063
  `,
19056
19064
  children: /* @__PURE__ */ l("div", { ref: o })
19057
- }), p.value && !m.value ? /* @__PURE__ */ l(Mt, {
19058
- color: O.colors.coralBlush,
19059
- size: "small",
19060
- children: "Der Inhalt ist leer oder die Markdown-Syntax ist ungültig."
19061
- }) : null] });
19065
+ }), p.value && !m.value ? /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l(Zt, {}), /* @__PURE__ */ u(qt, {
19066
+ align: "center",
19067
+ gap: "1",
19068
+ children: [/* @__PURE__ */ l(Tt, {
19069
+ color: O.colors.coralBlush,
19070
+ iconName: "exclamation-triangle"
19071
+ }), /* @__PURE__ */ l(Mt, {
19072
+ color: O.colors.coralBlush,
19073
+ children: "Fehlerhafter oder ungültiger Inhalt."
19074
+ })]
19075
+ })] }) : null] });
19062
19076
  }
19063
19077
  function cC(e) {
19064
19078
  if (e === "markdown") return $S();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Vadim Hermann",
3
3
  "name": "melonykit",
4
- "version": "0.19.3",
4
+ "version": "0.19.4",
5
5
  "type": "module",
6
6
  "description": "Preact based ui and utility functions toolkit",
7
7
  "main": "./dist/index.js",