@apolitical/component-library 3.5.13 → 3.5.15

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.
@@ -13,6 +13,8 @@ $discussion: (
13
13
  discussion-form_bg: get-map($c, 'b50'),
14
14
  discussion-form_placeholder: get-map($c, 'n500'),
15
15
  discussion-form_small: get-map($c, 'n700'),
16
+ discussion-post-border: get-map($c, 'n100'),
17
+ discussion-post-hover-shadow: rgb(42 49 65 / 10%),
16
18
  discussion-question_bg: get-map($c, 'sand'),
17
19
  discussion-responses-heading_p: get-map($c, 'n600'),
18
20
  discussion-responses-heading_icon: get-map($c, 'n700'),
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { MarkdownToJSX } from 'markdown-to-jsx';
2
3
  interface Props {
3
4
  /** The language for the box text */
4
5
  locale?: string;
@@ -10,7 +11,8 @@ interface Props {
10
11
  hide?: string | false;
11
12
  /** The content to show when the section is expanded */
12
13
  text: string;
14
+ markdownOptions?: MarkdownToJSX.Options;
13
15
  children?: React.ReactNode;
14
16
  }
15
- declare const HideShowTextBox: ({ className, show, hide, text, children, }: Props) => import("react/jsx-runtime").JSX.Element | null;
17
+ declare const HideShowTextBox: ({ className, show, hide, text, markdownOptions, children, }: Props) => import("react/jsx-runtime").JSX.Element | null;
16
18
  export default HideShowTextBox;