@dovetail-v2/refine 0.0.17 → 0.0.19

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 (47) hide show
  1. package/dist/{MonacoYamlDiffEditor.dc83b657.js → MonacoYamlDiffEditor-b1abdc2e.js} +2 -2
  2. package/dist/assets/{yaml.worker.bb17811d.js → yaml.worker-5e5f190c.js} +2153 -992
  3. package/dist/{index.d48047e6.js → index-77b64cff.js} +5853 -5096
  4. package/dist/refine.js +98 -87
  5. package/dist/refine.umd.cjs +5439 -4689
  6. package/dist/style.css +23 -13
  7. package/lib/src/components/DrawerShow/DrawerShow.d.ts +2 -2
  8. package/lib/src/components/FormModal/index.d.ts +2 -4
  9. package/lib/src/components/IngressRulesComponent/index.d.ts +5 -0
  10. package/lib/src/components/IngressRulesTable/IngressRulesTable.d.ts +7 -0
  11. package/lib/src/components/IngressRulesTable/index.d.ts +1 -0
  12. package/lib/src/components/KeyValueData/index.d.ts +6 -0
  13. package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.d.ts +7 -0
  14. package/lib/src/components/NetworkPolicyRulesTable/index.d.ts +1 -0
  15. package/lib/src/components/PageShow/PageShow.d.ts +2 -2
  16. package/lib/src/components/ReferenceLink/index.d.ts +8 -0
  17. package/lib/src/components/ResourceCRUD/show/index.d.ts +2 -2
  18. package/lib/src/components/ResourceLink/index.d.ts +8 -0
  19. package/lib/src/components/ShowContent/ShowContent.d.ts +2 -2
  20. package/lib/src/components/ShowContent/fields.d.ts +26 -7
  21. package/lib/src/components/StateTag/StateTag.d.ts +1 -0
  22. package/lib/src/components/Tags/index.d.ts +1 -1
  23. package/lib/src/components/WorkloadDropdown/index.d.ts +0 -2
  24. package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +5 -2
  25. package/lib/src/components/WorkloadReplicas/index.d.ts +6 -3
  26. package/lib/src/components/YamlForm/index.d.ts +5 -7
  27. package/lib/src/components/index.d.ts +2 -0
  28. package/lib/src/constants/k8s.d.ts +43 -0
  29. package/lib/src/hooks/useEagleTable/columns.d.ts +5 -2
  30. package/lib/src/hooks/useSubmitForm.d.ts +1 -0
  31. package/lib/src/i18n.d.ts +10 -0
  32. package/lib/src/locales/zh-CN/index.d.ts +10 -0
  33. package/lib/src/models/index.d.ts +2 -0
  34. package/lib/src/models/ingress-model.d.ts +18 -0
  35. package/lib/src/models/job-model.d.ts +3 -1
  36. package/lib/src/models/network-policy-model.d.ts +10 -0
  37. package/lib/src/models/service-model.d.ts +10 -0
  38. package/lib/src/models/workload-model.d.ts +2 -0
  39. package/lib/src/pages/ingresses/index.d.ts +3 -0
  40. package/lib/src/pages/networkPolicies/index.d.ts +3 -0
  41. package/lib/src/types/resource.d.ts +2 -2
  42. package/lib/src/utils/error.d.ts +3 -3
  43. package/lib/src/utils/time.d.ts +6 -1
  44. package/lib/vite.config.d.ts +1 -1
  45. package/package.json +9 -9
  46. package/lib/src/components/ModalContextProvider/index.d.ts +0 -12
  47. package/lib/src/hooks/useModal.d.ts +0 -0
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface ModalInfo {
3
- resource: string;
4
- id?: string;
5
- }
6
- type ModalContextValue = ModalInfo & {
7
- open: (info: ModalInfo) => void;
8
- close: () => void;
9
- };
10
- export declare const ModalContext: React.Context<ModalContextValue>;
11
- declare function ModalContextProvider(props: React.PropsWithChildren<Record<string, unknown>>): JSX.Element;
12
- export default ModalContextProvider;
File without changes