@dovetail-v2/refine 0.2.9 → 0.2.11

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.
@@ -3,7 +3,7 @@ import * as monaco from "monaco-editor";
3
3
  import { setDiagnosticsOptions } from "monaco-yaml";
4
4
  import { useRef, useEffect } from "react";
5
5
  import ReactDOM from "react-dom";
6
- import { Y as YamlEditorStyle } from "./index-0d6858da.js";
6
+ import { Y as YamlEditorStyle } from "./index-ac5ee636.js";
7
7
  import "dayjs";
8
8
  import "i18next";
9
9
  import "@refinedev/core";
@@ -5,7 +5,7 @@ const monaco = require("monaco-editor");
5
5
  const monacoYaml = require("monaco-yaml");
6
6
  const React = require("react");
7
7
  const ReactDOM = require("react-dom");
8
- const refine = require("./index-e19759fc.cjs");
8
+ const refine = require("./index-ef2a5914.cjs");
9
9
  require("dayjs");
10
10
  require("i18next");
11
11
  require("@refinedev/core");
@@ -7850,7 +7850,7 @@ var styled_default = process.env.NODE_ENV !== "production" ? new Proxy(styled, {
7850
7850
  return o(prop);
7851
7851
  }
7852
7852
  }) : styled;
7853
- const index_avw33l = "";
7853
+ const index_hjjv5w = "";
7854
7854
  const ErrorWrapper = /* @__PURE__ */ styled_default("div")({
7855
7855
  name: "ErrorWrapper",
7856
7856
  class: "egn3dbn",
@@ -7898,10 +7898,10 @@ const WidgetErrorContent = (props) => {
7898
7898
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ErrorContent, {
7899
7899
  className: "error-content",
7900
7900
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx("p", {
7901
- className: cx_default(fontMap[type2], "title"),
7901
+ className: cx_default(fontMap[type2], "title", `${type2}-title`),
7902
7902
  children: errorText || t2("dovetail.obtain_data_error")
7903
7903
  }), !refetch ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, {
7904
- size: "small",
7904
+ size: type2 === "list" ? "middle" : "small",
7905
7905
  type: "ordinary",
7906
7906
  onClick: (e2) => {
7907
7907
  e2.stopPropagation();
@@ -12682,7 +12682,7 @@ const PodLogTab = (i18n2) => ({
12682
12682
  ]
12683
12683
  });
12684
12684
  const NetworkPolicyRulesViewer_r6jity = "";
12685
- const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-90733472.js"));
12685
+ const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-53af8c53.js"));
12686
12686
  const EditorStyle$1 = "e1cjl2b8";
12687
12687
  const NetworkPolicyRulesViewer = ({
12688
12688
  ingressOrEgress,
@@ -16106,7 +16106,7 @@ const PlainCodeStyle = "pqch97v";
16106
16106
  const ErrorMsgStyle = "eh2qjnl";
16107
16107
  const ErrorWrapperStyle = "e19q2bnp";
16108
16108
  const YamlEditorStyle = "y16u5v3w";
16109
- const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-90733472.js"));
16109
+ const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-53af8c53.js"));
16110
16110
  const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-7de94ad2.js"));
16111
16111
  const YamlEditorComponent = forwardRef(
16112
16112
  function YamlEditorComponent2(props, ref) {
@@ -7867,7 +7867,7 @@ var styled_default = process.env.NODE_ENV !== "production" ? new Proxy(styled, {
7867
7867
  return o(prop);
7868
7868
  }
7869
7869
  }) : styled;
7870
- const index_avw33l = "";
7870
+ const index_hjjv5w = "";
7871
7871
  const ErrorWrapper = /* @__PURE__ */ styled_default("div")({
7872
7872
  name: "ErrorWrapper",
7873
7873
  class: "egn3dbn",
@@ -7915,10 +7915,10 @@ const WidgetErrorContent = (props) => {
7915
7915
  children: /* @__PURE__ */ common.jsxRuntimeExports.jsxs(ErrorContent, {
7916
7916
  className: "error-content",
7917
7917
  children: [/* @__PURE__ */ common.jsxRuntimeExports.jsx("p", {
7918
- className: common.cx_default(fontMap[type2], "title"),
7918
+ className: common.cx_default(fontMap[type2], "title", `${type2}-title`),
7919
7919
  children: errorText || t2("dovetail.obtain_data_error")
7920
7920
  }), !refetch ? null : /* @__PURE__ */ common.jsxRuntimeExports.jsx(kit.button, {
7921
- size: "small",
7921
+ size: type2 === "list" ? "middle" : "small",
7922
7922
  type: "ordinary",
7923
7923
  onClick: (e2) => {
7924
7924
  e2.stopPropagation();
@@ -12699,7 +12699,7 @@ const PodLogTab = (i18n2) => ({
12699
12699
  ]
12700
12700
  });
12701
12701
  const NetworkPolicyRulesViewer_r6jity = "";
12702
- const MonacoYamlEditor$1 = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-743591b0.cjs")));
12702
+ const MonacoYamlEditor$1 = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-cdede43d.cjs")));
12703
12703
  const EditorStyle$1 = "e1cjl2b8";
12704
12704
  const NetworkPolicyRulesViewer = ({
12705
12705
  ingressOrEgress,
@@ -16123,7 +16123,7 @@ const PlainCodeStyle = "pqch97v";
16123
16123
  const ErrorMsgStyle = "eh2qjnl";
16124
16124
  const ErrorWrapperStyle = "e19q2bnp";
16125
16125
  const YamlEditorStyle = "y16u5v3w";
16126
- const MonacoYamlEditor = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-743591b0.cjs")));
16126
+ const MonacoYamlEditor = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-cdede43d.cjs")));
16127
16127
  const MonacoYamlDiffEditor = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlDiffEditor-7a07db88.cjs")));
16128
16128
  const YamlEditorComponent = React.forwardRef(
16129
16129
  function YamlEditorComponent2(props, ref) {
package/dist/refine.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const refine = require("./index-e19759fc.cjs");
3
+ const refine = require("./index-ef2a5914.cjs");
4
4
  require("./common-1eb43414.cjs");
5
5
  require("@cloudtower/eagle");
6
6
  require("@refinedev/core");
package/dist/refine.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bP, cD, A, aY, a_, aH, cb, bm, a3, cp, cd, aS, U, C, k, cJ, aK, br, ae, cL, ak, ar, cU, az, ce, cc, cX, aO, by, x, aF, bF, cW, cE, bI, D, b3, au, bL, at, av, a2, ca, c9, cV, bk, aW, cG, af, bS, cI, cH, cK, cn, aI, al, t, s, cM, I, bv, aV, v, O, bg, bi, cf, cO, aN, bu, as, aA, aB, aa, aC, aZ, aG, bG, bJ, ab, d5, co, cy, bO, N, a4, g, aX, a8, bR, bA, bz, cN, c2, d0, i, c$, aL, bs, ch, M, bc, bd, bq, J, be, K, bf, E, b7, cB, B, b6, H, ba, F, b8, G, b9, L, c3, bb, cA, ac, d3, d2, P, bo, w, ag, aj, c1, bl, cS, cR, b1, bw, c7, c6, q, aM, bn, y, bx, b2, d4, z, cr, cF, bM, bU, bV, d7, aJ, R, ai, ap, ao, bN, am, cT, c5, an, cC, c8, bj, bC, aw, j, T, Q, bh, cu, cx, ct, cs, cv, cw, cq, ci, cl, cm, ck, cj, cg, cz, bW, aP, bt, aD, n, bZ, m, a$, c_, p, b_, b0, o, aU, bp, l, cZ, aR, aT, bE, bD, aQ, S, bH, cY, d1, b4, b5, bB, bK, c4, b$, c0, ad, a1, cQ, ah, W, cP, aq, ay, ax, h, aE, bX, V, a5, d, da, d9, dc, de, d6, a9, dd, d8, bT, db, a7, a6, r, a, c, e, Z, X, _, f, $, u, bQ, a0, bY, b } from "./index-0d6858da.js";
1
+ import { bP, cD, A, aY, a_, aH, cb, bm, a3, cp, cd, aS, U, C, k, cJ, aK, br, ae, cL, ak, ar, cU, az, ce, cc, cX, aO, by, x, aF, bF, cW, cE, bI, D, b3, au, bL, at, av, a2, ca, c9, cV, bk, aW, cG, af, bS, cI, cH, cK, cn, aI, al, t, s, cM, I, bv, aV, v, O, bg, bi, cf, cO, aN, bu, as, aA, aB, aa, aC, aZ, aG, bG, bJ, ab, d5, co, cy, bO, N, a4, g, aX, a8, bR, bA, bz, cN, c2, d0, i, c$, aL, bs, ch, M, bc, bd, bq, J, be, K, bf, E, b7, cB, B, b6, H, ba, F, b8, G, b9, L, c3, bb, cA, ac, d3, d2, P, bo, w, ag, aj, c1, bl, cS, cR, b1, bw, c7, c6, q, aM, bn, y, bx, b2, d4, z, cr, cF, bM, bU, bV, d7, aJ, R, ai, ap, ao, bN, am, cT, c5, an, cC, c8, bj, bC, aw, j, T, Q, bh, cu, cx, ct, cs, cv, cw, cq, ci, cl, cm, ck, cj, cg, cz, bW, aP, bt, aD, n, bZ, m, a$, c_, p, b_, b0, o, aU, bp, l, cZ, aR, aT, bE, bD, aQ, S, bH, cY, d1, b4, b5, bB, bK, c4, b$, c0, ad, a1, cQ, ah, W, cP, aq, ay, ax, h, aE, bX, V, a5, d, da, d9, dc, de, d6, a9, dd, d8, bT, db, a7, a6, r, a, c, e, Z, X, _, f, $, u, bQ, a0, bY, b } from "./index-ac5ee636.js";
2
2
  import "./common-feae5742.js";
3
3
  import "@cloudtower/eagle";
4
4
  import "@refinedev/core";
package/dist/style.css CHANGED
@@ -671,6 +671,9 @@
671
671
  }
672
672
  .e136jgy8 .title {
673
673
  margin-bottom: 8px;
674
+ }
675
+ .e136jgy8 .title.list-title {
676
+ margin-bottom: 16px;
674
677
  }/* // basic */
675
678
  /* FishEye Color Variables and Functions */
676
679
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",