@apolitical/component-library 4.7.16 → 4.7.17-4765.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.
@@ -28,6 +28,8 @@ $text: (
28
28
  linear-gradient(135deg, get-map($c, 'b100'), get-map($c, 'g50')),
29
29
  highlighted-text-box_subtle_gradient:
30
30
  linear-gradient(rgba(255 255 255 / 0%), rgba(255 255 255 / 100%)),
31
+ highlighted-text-box_linear_gradient:
32
+ linear-gradient(rgba(255 255 255 / 0%), rgba(255 255 255 / 0%)),
31
33
  highlighted-text-box_bold_icon: get-map($c, 'b500'),
32
34
  highlighted-text-box_subtle_border: get-map($c, 'n100'),
33
35
  highlighted-text-box_subtle-alt_border: get-map($c, 'n200'),
@@ -13,8 +13,10 @@ interface Props {
13
13
  hide?: string | false;
14
14
  /** The content to show when the section is expanded */
15
15
  text: string;
16
+ /** Overlay style to hide the text. (default fade) */
17
+ overlayEffect?: 'subtle' | 'linear';
16
18
  markdownOptions?: MarkdownToJSX.Options;
17
19
  children?: React.ReactNode;
18
20
  }
19
- declare const HideShowTextBox: ({ id, className, show, hide, text, markdownOptions, children, }: Props) => import("react/jsx-runtime").JSX.Element | null;
21
+ declare const HideShowTextBox: ({ id, className, show, hide, text, markdownOptions, overlayEffect, children, }: Props) => import("react/jsx-runtime").JSX.Element;
20
22
  export default HideShowTextBox;