@d-fischer/documen.ts 0.16.3 → 0.16.5
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/lib/common/components/Badge.js +1 -1
- package/lib/common/components/Badge.js.map +1 -1
- package/lib/common/components/BetaNotice.js +1 -1
- package/lib/common/components/BetaNotice.js.map +1 -1
- package/lib/common/components/Button.js +2 -2
- package/lib/common/components/Button.js.map +1 -1
- package/lib/common/components/CodeBlock.js +3 -3
- package/lib/common/components/CodeBlock.js.map +1 -1
- package/lib/common/components/CodeLink.js +4 -4
- package/lib/common/components/CodeLink.js.map +1 -1
- package/lib/common/components/DeprecationNotice.js +1 -1
- package/lib/common/components/DeprecationNotice.js.map +1 -1
- package/lib/common/components/FunctionParamDesc.js +1 -1
- package/lib/common/components/FunctionParamDesc.js.map +1 -1
- package/lib/common/components/FunctionParamDescEntry.js +13 -9
- package/lib/common/components/FunctionParamDescEntry.js.map +1 -1
- package/lib/common/components/FunctionReturnType.js +1 -1
- package/lib/common/components/FunctionReturnType.js.map +1 -1
- package/lib/common/components/FunctionSignature.js +1 -1
- package/lib/common/components/FunctionSignature.js.map +1 -1
- package/lib/common/components/InterfaceRepresentation.js +5 -3
- package/lib/common/components/InterfaceRepresentation.js.map +1 -1
- package/lib/common/components/MainMenu.js +2 -2
- package/lib/common/components/MainMenu.js.map +1 -1
- package/lib/common/components/NavMenu.js +3 -3
- package/lib/common/components/NavMenu.js.map +1 -1
- package/lib/common/components/NavMenuGroup.js +2 -2
- package/lib/common/components/NavMenuGroup.js.map +1 -1
- package/lib/common/components/NavMenuItem.js +1 -1
- package/lib/common/components/NavMenuItem.js.map +1 -1
- package/lib/common/components/TypeAliasHint.js +2 -2
- package/lib/common/components/TypeAliasHint.js.map +1 -1
- package/lib/common/components/TypeLink.js +2 -2
- package/lib/common/components/TypeLink.js.map +1 -1
- package/lib/common/components/VersionMenu.js +1 -1
- package/lib/common/components/VersionMenu.js.map +1 -1
- package/lib/common/components/cards/CardToolbar.js +5 -5
- package/lib/common/components/cards/CardToolbar.js.map +1 -1
- package/lib/common/components/cards/EventCard.js +1 -1
- package/lib/common/components/cards/EventCard.js.map +1 -1
- package/lib/common/components/cards/FunctionCardHeader.js +1 -1
- package/lib/common/components/cards/FunctionCardHeader.js.map +1 -1
- package/lib/common/components/cards/MethodCard.js +1 -1
- package/lib/common/components/cards/MethodCard.js.map +1 -1
- package/lib/common/components/cards/PropertyCard.js +1 -1
- package/lib/common/components/cards/PropertyCard.js.map +1 -1
- package/lib/common/components/codeBuilders/ReferenceTypeView.js +3 -3
- package/lib/common/components/codeBuilders/ReferenceTypeView.js.map +1 -1
- package/lib/common/components/overviewTable/OverviewTable.js +6 -6
- package/lib/common/components/overviewTable/OverviewTable.js.map +1 -1
- package/lib/common/components/overviewTable/OverviewTableEntry.js +1 -1
- package/lib/common/components/overviewTable/OverviewTableEntry.js.map +1 -1
- package/lib/common/containers/Card.js +2 -2
- package/lib/common/containers/Card.js.map +1 -1
- package/lib/common/containers/PageContent.js +2 -2
- package/lib/common/containers/PageContent.js.map +1 -1
- package/lib/common/containers/PageHeader.js +2 -2
- package/lib/common/containers/PageHeader.js.map +1 -1
- package/lib/common/containers/ReferencePackageContainer.js +1 -1
- package/lib/common/containers/ReferencePackageContainer.js.map +1 -1
- package/lib/common/htmlRenderer/HtmlRenderer.js +5 -5
- package/lib/common/htmlRenderer/HtmlRenderer.js.map +1 -1
- package/lib/common/pages/DocPage.js +1 -1
- package/lib/common/pages/DocPage.js.map +1 -1
- package/lib/common/pages/InterfacePage.js +1 -1
- package/lib/common/pages/InterfacePage.js.map +1 -1
- package/lib/common/pages/TypeAliasPage.js +1 -1
- package/lib/common/pages/TypeAliasPage.js.map +1 -1
- package/lib/common/tools/markdown/MarkdownParser.js +6 -6
- package/lib/common/tools/markdown/MarkdownParser.js.map +1 -1
- package/lib/generator/analyzer/DocComment.js +5 -5
- package/lib/generator/analyzer/DocComment.js.map +1 -1
- package/lib/generator/analyzer/Project.js +10 -10
- package/lib/generator/analyzer/Project.js.map +1 -1
- package/lib/generator/analyzer/reflections/Heritage.js +4 -4
- package/lib/generator/analyzer/reflections/Heritage.js.map +1 -1
- package/lib/generator/analyzer/reflections/ParameterReflection.js +5 -5
- package/lib/generator/analyzer/reflections/ParameterReflection.js.map +1 -1
- package/lib/generator/analyzer/reflections/SignatureReflection.js +6 -6
- package/lib/generator/analyzer/reflections/SignatureReflection.js.map +1 -1
- package/lib/generator/analyzer/reflections/SymbolBasedReflection.js +5 -5
- package/lib/generator/analyzer/reflections/SymbolBasedReflection.js.map +1 -1
- package/lib/generator/analyzer/reflections/TypeLiteralReflection.js +5 -5
- package/lib/generator/analyzer/reflections/TypeLiteralReflection.js.map +1 -1
- package/lib/generator/analyzer/reflections/TypeParameterReflection.js +5 -5
- package/lib/generator/analyzer/reflections/TypeParameterReflection.js.map +1 -1
- package/lib/generator/commands/default.js +3 -1
- package/lib/generator/commands/default.js.map +1 -1
- package/package.json +13 -10
- package/src/common/components/Badge.tsx +2 -2
- package/src/common/components/BetaNotice.tsx +1 -1
- package/src/common/components/Button.tsx +27 -24
- package/src/common/components/CodeBlock.tsx +3 -3
- package/src/common/components/CodeLink.tsx +5 -5
- package/src/common/components/DeprecationNotice.tsx +2 -2
- package/src/common/components/FunctionParamDesc.tsx +1 -1
- package/src/common/components/FunctionParamDescEntry.tsx +75 -50
- package/src/common/components/FunctionReturnType.tsx +1 -1
- package/src/common/components/FunctionSignature.tsx +25 -15
- package/src/common/components/InterfaceRepresentation.tsx +61 -56
- package/src/common/components/MainMenu.tsx +2 -2
- package/src/common/components/NavMenu.tsx +12 -13
- package/src/common/components/NavMenuGroup.tsx +25 -24
- package/src/common/components/NavMenuItem.tsx +1 -1
- package/src/common/components/TypeAliasHint.tsx +2 -2
- package/src/common/components/TypeLink.tsx +17 -10
- package/src/common/components/VersionMenu.tsx +1 -1
- package/src/common/components/cards/CardToolbar.tsx +31 -24
- package/src/common/components/cards/EventCard.tsx +2 -2
- package/src/common/components/cards/FunctionCardHeader.tsx +1 -1
- package/src/common/components/cards/MethodCard.tsx +1 -1
- package/src/common/components/cards/PropertyCard.tsx +1 -1
- package/src/common/components/codeBuilders/ReferenceTypeView.tsx +4 -4
- package/src/common/components/overviewTable/OverviewTable.tsx +41 -25
- package/src/common/components/overviewTable/OverviewTableEntry.tsx +1 -1
- package/src/common/containers/Card.tsx +20 -17
- package/src/common/containers/PageContent.tsx +14 -15
- package/src/common/containers/PageHeader.tsx +22 -23
- package/src/common/containers/ReferencePackageContainer.tsx +1 -1
- package/src/common/htmlRenderer/HtmlRenderer.tsx +7 -7
- package/src/common/pages/DocPage.tsx +28 -14
- package/src/common/pages/InterfacePage.tsx +1 -1
- package/src/common/pages/TypeAliasPage.tsx +1 -1
- package/src/common/theme.ts +1 -1
- package/src/common/tools/markdown/MarkdownParser.tsx +100 -73
- package/src/dev/index.tsx +1 -1
- package/src/progressiveEnhancement/index.tsx +7 -9
- package/tsconfig.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createGenerateClassName, StylesProvider, ThemeProvider } from '@
|
|
1
|
+
import { createGenerateClassName, StylesProvider, ThemeProvider } from '@mui/styles';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
4
|
import { CodeBlock } from '../common/components/CodeBlock';
|
|
@@ -8,7 +8,7 @@ import theme from '../common/theme';
|
|
|
8
8
|
const registeredComponents = {
|
|
9
9
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
10
10
|
CodeBlock,
|
|
11
|
-
VersionMenu
|
|
11
|
+
VersionMenu
|
|
12
12
|
/* eslint-enable @typescript-eslint/naming-convention */
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -21,13 +21,11 @@ for (const elem of document.querySelectorAll<HTMLElement>('[data-dynamic-compone
|
|
|
21
21
|
if (Component) {
|
|
22
22
|
const props = JSON.parse(elem.dataset.componentProps ?? '{}') as JSX.IntrinsicAttributes;
|
|
23
23
|
ReactDOM.render(
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</StylesProvider>
|
|
30
|
-
),
|
|
24
|
+
<StylesProvider generateClassName={generateClassName}>
|
|
25
|
+
<ThemeProvider theme={theme}>
|
|
26
|
+
<Component {...props} />
|
|
27
|
+
</ThemeProvider>
|
|
28
|
+
</StylesProvider>,
|
|
31
29
|
elem
|
|
32
30
|
);
|
|
33
31
|
}
|
package/tsconfig.json
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"rootDir": "src",
|
|
16
16
|
"forceConsistentCasingInFileNames": true,
|
|
17
17
|
"strict": true,
|
|
18
|
-
"suppressImplicitAnyIndexErrors": true,
|
|
19
18
|
"noUnusedLocals": true,
|
|
20
19
|
"experimentalDecorators": true,
|
|
21
20
|
"emitDecoratorMetadata": true,
|
|
22
21
|
"importHelpers": true,
|
|
23
|
-
"esModuleInterop": true
|
|
22
|
+
"esModuleInterop": true,
|
|
23
|
+
"skipLibCheck": true
|
|
24
24
|
},
|
|
25
25
|
"include": [
|
|
26
26
|
"types",
|