@openpkg-ts/doc-generator 0.6.5 → 0.6.7
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/react-styled.d.ts +28 -28
- package/dist/react-styled.js +198 -489
- package/package.json +4 -3
package/dist/react-styled.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ interface TypeTableProps {
|
|
|
218
218
|
* ```
|
|
219
219
|
*/
|
|
220
220
|
declare function TypeTable({ items, showRequired, className, renderRow }: TypeTableProps): React.ReactNode;
|
|
221
|
-
import {
|
|
221
|
+
import { CodeTab, CodeTabs, CodeTabsProps, ImportSection, ImportSectionProps } from "@openpkg-ts/ui/api";
|
|
222
222
|
import { OpenPkg as OpenPkg7 } from "@openpkg-ts/spec";
|
|
223
223
|
import { OpenPkg as OpenPkg6, SpecExport as SpecExport3, SpecExportKind as SpecExportKind4, SpecType } from "@openpkg-ts/spec";
|
|
224
224
|
interface HTMLOptions {
|
|
@@ -677,78 +677,78 @@ interface NestedPropertyItemProps {
|
|
|
677
677
|
declare function ParameterItem({ param, depth, className }: ParameterItemProps): React.ReactNode;
|
|
678
678
|
import { OpenPkg as OpenPkg14, SpecExport as SpecExport8 } from "@openpkg-ts/spec";
|
|
679
679
|
import { ReactNode as ReactNode8 } from "react";
|
|
680
|
-
interface
|
|
680
|
+
interface ClassSectionProps {
|
|
681
681
|
export: SpecExport8;
|
|
682
682
|
spec: OpenPkg14;
|
|
683
683
|
}
|
|
684
684
|
/**
|
|
685
|
-
*
|
|
685
|
+
* Class section for use in single-page API reference.
|
|
686
|
+
* Renders an APISection with constructor, methods, and properties.
|
|
686
687
|
*/
|
|
687
|
-
declare function
|
|
688
|
+
declare function ClassSection({ export: exp, spec }: ClassSectionProps): ReactNode8;
|
|
688
689
|
import { OpenPkg as OpenPkg15, SpecExport as SpecExport9 } from "@openpkg-ts/spec";
|
|
689
690
|
import { ReactNode as ReactNode9 } from "react";
|
|
690
|
-
interface
|
|
691
|
+
interface EnumSectionProps {
|
|
691
692
|
export: SpecExport9;
|
|
692
693
|
spec: OpenPkg15;
|
|
693
694
|
}
|
|
694
695
|
/**
|
|
695
|
-
*
|
|
696
|
-
* Renders an APISection with
|
|
696
|
+
* Enum section for use in single-page API reference.
|
|
697
|
+
* Renders an APISection with enum members.
|
|
697
698
|
*/
|
|
698
|
-
declare function
|
|
699
|
+
declare function EnumSection({ export: exp, spec }: EnumSectionProps): ReactNode9;
|
|
699
700
|
import { OpenPkg as OpenPkg16, SpecExport as SpecExport10 } from "@openpkg-ts/spec";
|
|
700
701
|
import { ReactNode as ReactNode10 } from "react";
|
|
701
|
-
interface
|
|
702
|
+
interface ExportSectionProps {
|
|
702
703
|
export: SpecExport10;
|
|
703
704
|
spec: OpenPkg16;
|
|
704
705
|
}
|
|
705
706
|
/**
|
|
706
|
-
*
|
|
707
|
-
*
|
|
707
|
+
* Router component that renders the appropriate section based on kind.
|
|
708
|
+
* Used by FullAPIReferencePage to render each inline.
|
|
708
709
|
*/
|
|
709
|
-
declare function
|
|
710
|
+
declare function ExportSection({ export: exp, spec }: ExportSectionProps): ReactNode10;
|
|
710
711
|
import { OpenPkg as OpenPkg17, SpecExport as SpecExport11 } from "@openpkg-ts/spec";
|
|
711
712
|
import { ReactNode as ReactNode11 } from "react";
|
|
712
|
-
interface
|
|
713
|
+
interface FunctionSectionProps {
|
|
713
714
|
export: SpecExport11;
|
|
714
715
|
spec: OpenPkg17;
|
|
715
716
|
}
|
|
716
717
|
/**
|
|
717
|
-
*
|
|
718
|
-
*
|
|
718
|
+
* Function section for use in single-page API reference.
|
|
719
|
+
* Renders an APISection with parameters and returns.
|
|
719
720
|
*/
|
|
720
|
-
declare function
|
|
721
|
+
declare function FunctionSection({ export: exp, spec }: FunctionSectionProps): ReactNode11;
|
|
721
722
|
import { OpenPkg as OpenPkg18, SpecExport as SpecExport12 } from "@openpkg-ts/spec";
|
|
722
723
|
import { ReactNode as ReactNode12 } from "react";
|
|
723
|
-
interface
|
|
724
|
+
interface InterfaceSectionProps {
|
|
724
725
|
export: SpecExport12;
|
|
725
726
|
spec: OpenPkg18;
|
|
726
727
|
}
|
|
727
728
|
/**
|
|
728
|
-
*
|
|
729
|
-
* Renders an APISection with
|
|
729
|
+
* Interface/type section for use in single-page API reference.
|
|
730
|
+
* Renders an APISection with properties and methods.
|
|
730
731
|
*/
|
|
731
|
-
declare function
|
|
732
|
+
declare function InterfaceSection({ export: exp, spec }: InterfaceSectionProps): ReactNode12;
|
|
732
733
|
import { OpenPkg as OpenPkg19, SpecExport as SpecExport13 } from "@openpkg-ts/spec";
|
|
733
734
|
import { ReactNode as ReactNode13 } from "react";
|
|
734
|
-
interface
|
|
735
|
+
interface VariableSectionProps {
|
|
735
736
|
export: SpecExport13;
|
|
736
737
|
spec: OpenPkg19;
|
|
737
738
|
}
|
|
738
739
|
/**
|
|
739
|
-
*
|
|
740
|
-
* Renders an APISection with
|
|
740
|
+
* Variable/constant section for use in single-page API reference.
|
|
741
|
+
* Renders an APISection with type information.
|
|
741
742
|
*/
|
|
742
|
-
declare function
|
|
743
|
+
declare function VariableSection({ export: exp, spec }: VariableSectionProps): ReactNode13;
|
|
743
744
|
import { OpenPkg as OpenPkg20, SpecExport as SpecExport14 } from "@openpkg-ts/spec";
|
|
744
745
|
import { ReactNode as ReactNode14 } from "react";
|
|
745
|
-
interface
|
|
746
|
+
interface VariablePageProps {
|
|
746
747
|
export: SpecExport14;
|
|
747
748
|
spec: OpenPkg20;
|
|
748
749
|
}
|
|
749
750
|
/**
|
|
750
|
-
*
|
|
751
|
-
* Renders an APISection with type information.
|
|
751
|
+
* Stripe-style variable/constant page with two-column layout.
|
|
752
752
|
*/
|
|
753
|
-
declare function
|
|
753
|
+
declare function VariablePage({ export: exp, spec }: VariablePageProps): ReactNode14;
|
|
754
754
|
export { groupMembersByKind, getExampleTitle, getExampleLanguage, getExampleCode, cleanCode, VariableSectionProps, VariableSection, VariablePageProps, VariablePage, TypeTableProps, TypeTable, SignatureProps, Signature, ParameterItemProps, ParameterItem, ParamTableProps, ParamTable, ParamRowProps, ParamRow, NestedPropertyProps, NestedPropertyItemProps, NestedProperty, MembersTableProps, MembersTable, MemberRowProps, MemberRow, MemberGroups, InterfaceSectionProps, InterfaceSection, InterfacePageProps, InterfacePage, ImportSectionProps, ImportSection, FunctionSectionProps, FunctionSection, FunctionPageProps, FunctionPage, FullAPIReferencePageProps, FullAPIReferencePage, ExportSectionProps, ExportSection, ExportIndexPageProps, ExportIndexPage, ExportCardProps, ExportCard, ExpandablePropertyProps, ExpandableProperty, ExampleBlockProps, ExampleBlock, EnumSectionProps, EnumSection, EnumPageProps, EnumPage, CollapsibleMethodProps, CollapsibleMethod, CodeTabsProps, CodeTabs, CodeTab, ClassSectionProps, ClassSection, ClassPageProps, ClassPage, APIPageProps, APIPage };
|