@dovetail-v2/refine 0.3.32 → 0.4.0

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/refine.cjs CHANGED
@@ -11353,7 +11353,7 @@ const useYamlForm = ({
11353
11353
  ref: editor,
11354
11354
  defaultValue: schema && (editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations) ? generateYamlBySchema(initialValues || {}, schema) : yaml$2.dump(initialValues),
11355
11355
  schemas: schemas || emptySchemas,
11356
- id: ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
11356
+ id: resource || ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
11357
11357
  errorMsgs: finalErrors,
11358
11358
  onValidate(yamlValid, schemaValid) {
11359
11359
  setIsYamlValid(yamlValid);
@@ -11378,6 +11378,7 @@ const useYamlForm = ({
11378
11378
  editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations,
11379
11379
  initialValues,
11380
11380
  schemas,
11381
+ resource,
11381
11382
  (_a = useResourceResult.resource) == null ? void 0 : _a.name,
11382
11383
  action,
11383
11384
  finalErrors,
@@ -14800,7 +14801,8 @@ const PodLog = ({
14800
14801
  data: logs,
14801
14802
  theme: "light",
14802
14803
  isTextWrapped: wrap,
14803
- onScroll
14804
+ onScroll,
14805
+ fastRowHeightEstimationLimit: 100
14804
14806
  })
14805
14807
  })]
14806
14808
  });
package/dist/refine.js CHANGED
@@ -11334,7 +11334,7 @@ const useYamlForm = ({
11334
11334
  ref: editor,
11335
11335
  defaultValue: schema && (editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations) ? generateYamlBySchema(initialValues || {}, schema) : yaml$2.dump(initialValues),
11336
11336
  schemas: schemas || emptySchemas,
11337
- id: ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
11337
+ id: resource || ((_a2 = useResourceResult.resource) == null ? void 0 : _a2.name) || "",
11338
11338
  errorMsgs: finalErrors,
11339
11339
  onValidate(yamlValid, schemaValid) {
11340
11340
  setIsYamlValid(yamlValid);
@@ -11359,6 +11359,7 @@ const useYamlForm = ({
11359
11359
  editorOptions == null ? void 0 : editorOptions.isGenerateAnnotations,
11360
11360
  initialValues,
11361
11361
  schemas,
11362
+ resource,
11362
11363
  (_a = useResourceResult.resource) == null ? void 0 : _a.name,
11363
11364
  action,
11364
11365
  finalErrors,
@@ -14781,7 +14782,8 @@ const PodLog = ({
14781
14782
  data: logs,
14782
14783
  theme: "light",
14783
14784
  isTextWrapped: wrap,
14784
- onScroll
14785
+ onScroll,
14786
+ fastRowHeightEstimationLimit: 100
14785
14787
  })
14786
14788
  })]
14787
14789
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.3.32",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -13,7 +13,7 @@
13
13
  "@cloudtower/eagle": "^490.0.1",
14
14
  "@cloudtower/icons-react": "^490.0.1",
15
15
  "@patternfly/react-core": "^5.1.1",
16
- "@patternfly/react-log-viewer": "^5.0.0",
16
+ "@patternfly/react-log-viewer": "^5.2.0",
17
17
  "@refinedev/core": "^4.47.2",
18
18
  "@refinedev/inferencer": "^4.5.20",
19
19
  "@refinedev/react-hook-form": "^4.8.14",