@readme/markdown 6.75.0-beta.72 → 6.75.0-beta.73

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.
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
 
3
3
  interface Props extends JSX.IntrinsicAttributes {
4
+ align: ('left' | 'center' | 'right')[];
4
5
  children: [React.ReactElement<HTMLTableCaptionElement | HTMLTableSectionElement | HTMLTableRowElement>];
5
6
  }
6
7
 
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  interface Props extends JSX.IntrinsicAttributes {
3
+ align: ('left' | 'center' | 'right')[];
3
4
  children: [React.ReactElement<HTMLTableCaptionElement | HTMLTableSectionElement | HTMLTableRowElement>];
4
5
  }
5
6
  declare const Table: (props: Props) => React.JSX.Element;
package/dist/enums.d.ts CHANGED
@@ -8,6 +8,7 @@ export declare enum NodeTypes {
8
8
  i = "i",
9
9
  imageBlock = "image-block",
10
10
  reusableContent = "reusable-content",
11
+ tableau = "tableau",
11
12
  tutorialTile = "tutorial-tile",
12
13
  variable = "readme-variable"
13
14
  }
package/dist/index.d.ts CHANGED
@@ -5,7 +5,5 @@ declare const utils: {
5
5
  getHref: any;
6
6
  calloutIcons: {};
7
7
  };
8
- export declare const html: (text: string, opts?: {}) => void;
9
- export declare const esast: (text: string, opts?: {}) => void;
10
- export { compile, hast, hastFromHtml, run, mdast, mdx, plain, remarkPlugins } from './lib';
8
+ export { compile, hast, run, mdast, mdx, plain, remarkPlugins } from './lib';
11
9
  export { Components, utils };
@@ -1,4 +1,3 @@
1
1
  import { MdastOpts } from './ast-processor';
2
2
  declare const hast: (text: string, opts?: MdastOpts) => import("hast").Root;
3
- export declare const hastFromHtml: (html: string) => import("hast").Root;
4
3
  export default hast;
@@ -1,9 +1,9 @@
1
1
  import astProcessor, { MdastOpts, remarkPlugins } from './ast-processor';
2
2
  import compile from './compile';
3
- import hast, { hastFromHtml } from './hast';
3
+ import hast from './hast';
4
4
  import mdast from './mdast';
5
5
  import mdx from './mdx';
6
6
  import plain from './plain';
7
7
  import run from './run';
8
8
  export type { MdastOpts };
9
- export { astProcessor, compile, hast, hastFromHtml, mdast, mdx, plain, run, remarkPlugins };
9
+ export { astProcessor, compile, hast, mdast, mdx, plain, run, remarkPlugins };