@xyo-network/react-typedoc 2.49.13 → 2.51.0-rc.1

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 (77) hide show
  1. package/dist/cjs/ProjectTwoPanelReflectionViewer.js +1 -2
  2. package/dist/cjs/ProjectTwoPanelReflectionViewer.js.map +1 -1
  3. package/dist/cjs/ReflectionViewer/NameViewer.js +1 -2
  4. package/dist/cjs/ReflectionViewer/NameViewer.js.map +1 -1
  5. package/dist/docs.json +73 -73
  6. package/dist/esm/ProjectTwoPanelReflectionViewer.js +1 -2
  7. package/dist/esm/ProjectTwoPanelReflectionViewer.js.map +1 -1
  8. package/dist/esm/ReflectionViewer/NameViewer.js +1 -2
  9. package/dist/esm/ReflectionViewer/NameViewer.js.map +1 -1
  10. package/dist/types/CommentViewer.d.ts +1 -1
  11. package/dist/types/CommentViewer.d.ts.map +1 -1
  12. package/dist/types/ProjectTwoPanelReflectionViewer.d.ts +1 -1
  13. package/dist/types/ProjectTwoPanelReflectionViewer.d.ts.map +1 -1
  14. package/dist/types/ReflectionLookup.d.ts +1 -1
  15. package/dist/types/ReflectionLookup.d.ts.map +1 -1
  16. package/dist/types/ReflectionViewer/Container.d.ts +1 -1
  17. package/dist/types/ReflectionViewer/Container.d.ts.map +1 -1
  18. package/dist/types/ReflectionViewer/Declaration.d.ts +1 -1
  19. package/dist/types/ReflectionViewer/Declaration.d.ts.map +1 -1
  20. package/dist/types/ReflectionViewer/DeclarationContainer.d.ts +1 -1
  21. package/dist/types/ReflectionViewer/DeclarationContainer.d.ts.map +1 -1
  22. package/dist/types/ReflectionViewer/NameViewer.d.ts.map +1 -1
  23. package/dist/types/ReflectionViewer/Project.d.ts +1 -1
  24. package/dist/types/ReflectionViewer/Project.d.ts.map +1 -1
  25. package/dist/types/ReflectionViewer/ReflectionGroupViewer.d.ts +1 -1
  26. package/dist/types/ReflectionViewer/ReflectionGroupViewer.d.ts.map +1 -1
  27. package/dist/types/ReflectionViewer/ReflectionViewerProps.d.ts +1 -1
  28. package/dist/types/ReflectionViewer/ReflectionViewerProps.d.ts.map +1 -1
  29. package/dist/types/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts +1 -1
  30. package/dist/types/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts.map +1 -1
  31. package/dist/types/ReflectionViewer/SomeTypeViewer/buildArrayString.d.ts +1 -1
  32. package/dist/types/ReflectionViewer/SomeTypeViewer/buildArrayString.d.ts.map +1 -1
  33. package/dist/types/ReflectionViewer/SomeTypeViewer/buildIntersectionString.d.ts +1 -1
  34. package/dist/types/ReflectionViewer/SomeTypeViewer/buildIntersectionString.d.ts.map +1 -1
  35. package/dist/types/ReflectionViewer/SomeTypeViewer/buildReferenceString.d.ts +1 -1
  36. package/dist/types/ReflectionViewer/SomeTypeViewer/buildReferenceString.d.ts.map +1 -1
  37. package/dist/types/ReflectionViewer/SomeTypeViewer/buildReflectionString.d.ts +1 -1
  38. package/dist/types/ReflectionViewer/SomeTypeViewer/buildReflectionString.d.ts.map +1 -1
  39. package/dist/types/ReflectionViewer/SomeTypeViewer/buildUnionString.d.ts +1 -1
  40. package/dist/types/ReflectionViewer/SomeTypeViewer/buildUnionString.d.ts.map +1 -1
  41. package/dist/types/SomeReflection.d.ts +1 -1
  42. package/dist/types/SomeReflection.d.ts.map +1 -1
  43. package/dist/types/SourceViewer.d.ts +1 -1
  44. package/dist/types/SourceViewer.d.ts.map +1 -1
  45. package/dist/types/TreeViewer/Reflection.d.ts +1 -1
  46. package/dist/types/TreeViewer/Reflection.d.ts.map +1 -1
  47. package/dist/types/createLookup.d.ts +1 -1
  48. package/dist/types/createLookup.d.ts.map +1 -1
  49. package/dist/types/resolveChildren.d.ts +1 -1
  50. package/dist/types/resolveChildren.d.ts.map +1 -1
  51. package/package.json +8 -7
  52. package/src/CommentViewer.tsx +1 -1
  53. package/src/ProjectTwoPanelReflectionViewer.stories.tsx +1 -1
  54. package/src/ProjectTwoPanelReflectionViewer.tsx +2 -2
  55. package/src/ReflectionLookup.ts +1 -1
  56. package/src/ReflectionViewer/Container.tsx +1 -1
  57. package/src/ReflectionViewer/Declaration.tsx +1 -1
  58. package/src/ReflectionViewer/DeclarationContainer.tsx +1 -1
  59. package/src/ReflectionViewer/NameViewer.tsx +1 -2
  60. package/src/ReflectionViewer/Project.tsx +1 -1
  61. package/src/ReflectionViewer/ReflectionGroupViewer.tsx +1 -1
  62. package/src/ReflectionViewer/ReflectionViewer.tsx +1 -1
  63. package/src/ReflectionViewer/ReflectionViewerProps.tsx +1 -1
  64. package/src/ReflectionViewer/SomeTypeViewer/TypeBuilder.ts +1 -1
  65. package/src/ReflectionViewer/SomeTypeViewer/buildArrayString.tsx +1 -1
  66. package/src/ReflectionViewer/SomeTypeViewer/buildIntersectionString.tsx +1 -1
  67. package/src/ReflectionViewer/SomeTypeViewer/buildReferenceString.ts +1 -1
  68. package/src/ReflectionViewer/SomeTypeViewer/buildReflectionString.tsx +1 -1
  69. package/src/ReflectionViewer/SomeTypeViewer/buildTypeString.tsx +1 -1
  70. package/src/ReflectionViewer/SomeTypeViewer/buildUnionString.tsx +1 -1
  71. package/src/SomeReflection.ts +1 -1
  72. package/src/SourceViewer.tsx +1 -1
  73. package/src/TreeViewer/Reflection.tsx +1 -1
  74. package/src/TwoPanelReflectionViewer.tsx +1 -1
  75. package/src/createLookup.ts +1 -1
  76. package/src/resolveChildren.ts +1 -1
  77. package/typedoc.json +5 -0
@@ -4,12 +4,11 @@ exports.ProjectTwoPanelReflectionViewer = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const assert_1 = require("@xylabs/assert");
7
- const typedoc_1 = require("typedoc");
8
7
  const ReflectionViewer_1 = require("./ReflectionViewer");
9
8
  const TwoPanelReflectionViewer_1 = require("./TwoPanelReflectionViewer");
10
9
  const ProjectTwoPanelReflectionViewer = (_a) => {
11
10
  var { reflection, itemRenderer = ReflectionViewer_1.DeclarationContainerReflectionViewer } = _a, props = tslib_1.__rest(_a, ["reflection", "itemRenderer"]);
12
- (0, assert_1.assertEx)(reflection.kind === typedoc_1.ReflectionKind.Project, `Project !== ${typedoc_1.ReflectionKind.singularString(reflection.kind)}`);
11
+ (0, assert_1.assertEx)(reflection.isProject, 'Project expected to be Project');
13
12
  return (0, jsx_runtime_1.jsx)(TwoPanelReflectionViewer_1.TwoPanelReflectionViewer, Object.assign({ itemRenderer: itemRenderer, reflection: reflection }, props));
14
13
  };
15
14
  exports.ProjectTwoPanelReflectionViewer = ProjectTwoPanelReflectionViewer;
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectTwoPanelReflectionViewer.js","sourceRoot":"","sources":["../../src/ProjectTwoPanelReflectionViewer.tsx"],"names":[],"mappings":";;;;;AAAA,2CAAyC;AACzC,qCAA2D;AAE3D,yDAAyG;AACzG,yEAAqE;AAE9D,MAAM,+BAA+B,GAAgE,CAAC,EAI5G,EAAE,EAAE;QAJwG,EAC3G,UAAU,EACV,YAAY,GAAG,uDAAoC,OAEpD,EADI,KAAK,sBAHmG,8BAI5G,CADS;IAER,IAAA,iBAAQ,EAAC,UAAU,CAAC,IAAI,KAAK,wBAAc,CAAC,OAAO,EAAE,eAAe,wBAAc,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACrH,OAAO,uBAAC,mDAAwB,kBAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,IAAM,KAAK,EAAI,CAAA;AACpG,CAAC,CAAA;AAPY,QAAA,+BAA+B,mCAO3C"}
1
+ {"version":3,"file":"ProjectTwoPanelReflectionViewer.js","sourceRoot":"","sources":["../../src/ProjectTwoPanelReflectionViewer.tsx"],"names":[],"mappings":";;;;;AAAA,2CAAyC;AAGzC,yDAAyG;AACzG,yEAAqE;AAE9D,MAAM,+BAA+B,GAAgE,CAAC,EAI5G,EAAE,EAAE;QAJwG,EAC3G,UAAU,EACV,YAAY,GAAG,uDAAoC,OAEpD,EADI,KAAK,sBAHmG,8BAI5G,CADS;IAER,IAAA,iBAAQ,EAAC,UAAU,CAAC,SAAS,EAAE,gCAAgC,CAAC,CAAA;IAChE,OAAO,uBAAC,mDAAwB,kBAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,IAAM,KAAK,EAAI,CAAA;AACpG,CAAC,CAAA;AAPY,QAAA,+BAA+B,mCAO3C"}
@@ -5,13 +5,12 @@ const tslib_1 = require("tslib");
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const material_1 = require("@mui/material");
7
7
  const react_flexbox_1 = require("@xylabs/react-flexbox");
8
- const typedoc_1 = require("typedoc");
9
8
  const JsonViewerButton_1 = require("../JsonViewerButton");
10
9
  const trimFlagLabel_1 = require("../trimFlagLabel");
11
10
  const SomeTypeViewer_1 = require("./SomeTypeViewer");
12
11
  const NameViewer = (_a) => {
13
12
  var { reflectionViewer, variant, reflection } = _a, props = tslib_1.__rest(_a, ["reflectionViewer", "variant", "reflection"]);
14
- return ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ justifyContent: "flex-start" }, props, { children: [(0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ marginRight: 1 }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ variant: variant, noWrap: true }, { children: [reflection.name, reflection.type ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: ":\u00A0" }) : null] })), (0, jsx_runtime_1.jsx)(SomeTypeViewer_1.SomeTypeViewer, { reflection: reflection, reflectionViewer: reflectionViewer })] })), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", label: typedoc_1.ReflectionKind.singularString(reflection.kind) }), reflection.flags
13
+ return ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ justifyContent: "flex-start" }, props, { children: [(0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ marginRight: 1 }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ variant: variant, noWrap: true }, { children: [reflection.name, reflection.type ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: ":\u00A0" }) : null] })), (0, jsx_runtime_1.jsx)(SomeTypeViewer_1.SomeTypeViewer, { reflection: reflection, reflectionViewer: reflectionViewer })] })), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", spacing: 1 }, { children: [(0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", label: reflection.kind }), reflection.flags
15
14
  ? Object.entries(reflection.flags).map(([flag, value]) => {
16
15
  return value ? (0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", label: (0, trimFlagLabel_1.trimFlagLabel)(flag), variant: "outlined" }, flag) : null;
17
16
  })
@@ -1 +1 @@
1
- {"version":3,"file":"NameViewer.js","sourceRoot":"","sources":["../../../src/ReflectionViewer/NameViewer.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA0E;AAC1E,yDAA6D;AAC7D,qCAAwC;AAExC,0DAAsD;AAEtD,oDAAgD;AAEhD,qDAAiD;AAQ1C,MAAM,UAAU,GAA8B,CAAC,EAAmD,EAAE,EAAE;QAAvD,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,OAAY,EAAP,KAAK,sBAAjD,6CAAmD,CAAF;IACrG,OAAO,CACL,wBAAC,uBAAO,kBAAC,cAAc,EAAC,YAAY,IAAK,KAAK,eAC5C,wBAAC,uBAAO,kBAAC,WAAW,EAAE,CAAC,iBACrB,wBAAC,qBAAU,kBAAC,OAAO,EAAE,OAAO,EAAE,MAAM,uBACjC,UAAU,CAAC,IAAI,EACf,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,uEAAY,CAAC,CAAC,CAAC,IAAI,KAC3B,EACb,uBAAC,+BAAc,IAAC,UAAU,EAAE,UAAU,EAAE,gBA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