@apolitical/component-library 4.5.6 → 4.5.7-beta.0
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/discussion/components/discussion-form-card/discussion-form-card.d.ts +14 -0
- package/discussion/components/discussion-form-card/index.d.ts +1 -0
- package/discussion/components/form/form.type.d.ts +5 -1
- package/discussion/components/post/index.d.ts +1 -0
- package/discussion/components/post/post.helpers.d.ts +1 -1
- package/form/components/rich-text-editor/components/context/context.d.ts +3 -0
- package/form/components/rich-text-editor/rich-text-editor.d.ts +3 -1
- package/index.js +59 -57
- package/index.mjs +8134 -8039
- package/modals/discussion-form-modal/discussion-form-modal.d.ts +19 -4
- package/package.json +1 -1
- package/style.css +1 -1
- package/text/markdown-text/components/fragment/fragment.d.ts +5 -0
- package/text/markdown-text/components/fragment/index.d.ts +1 -0
- package/text/markdown-text/components/index.d.ts +1 -0
- package/text/markdown-text/index.d.ts +1 -1
- package/text/markdown-text/markdown-text.d.ts +6 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Fragment } from './fragment';
|
|
@@ -3,6 +3,7 @@ export { CaseStudy } from './case-study';
|
|
|
3
3
|
export { Center } from './center';
|
|
4
4
|
export { Details } from './details';
|
|
5
5
|
export { Div } from './div';
|
|
6
|
+
export { Fragment } from './fragment';
|
|
6
7
|
export { IFrame } from './iframe';
|
|
7
8
|
export { Link } from './link';
|
|
8
9
|
export { Span } from './span';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as MarkdownText } from './markdown-text';
|
|
2
|
-
export { Span } from './components';
|
|
2
|
+
export { Span, Fragment } from './components';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface Props {
|
|
3
|
+
element?: string;
|
|
2
4
|
/** Additional classes */
|
|
3
5
|
className?: string;
|
|
4
6
|
/** The options to pass to the markdown parser */
|
|
@@ -12,5 +14,8 @@ interface Props {
|
|
|
12
14
|
highlightTitles?: boolean;
|
|
13
15
|
};
|
|
14
16
|
}
|
|
15
|
-
declare const MarkdownText: ({ className, options, children, overrideType, styling, }: Props) =>
|
|
17
|
+
declare const MarkdownText: ({ element, className, options, children, overrideType, styling, }: Props) => React.DOMElement<{
|
|
18
|
+
className: string;
|
|
19
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
}, Element> | null;
|
|
16
21
|
export default MarkdownText;
|