@apolitical/component-library 2.0.3 → 2.0.4-4125.1

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.
@@ -23,6 +23,4 @@ $banners: (
23
23
  marketing-block_primary_bg_2: get-map($c, 'y300'),
24
24
  marketing-block_secondary_bg_2: get-map($c, 'g100'),
25
25
  marketing-block_tertiary_bg_2: get-map($c, 'p600'),
26
- testimonial-block_author: get-map($c, 'b700'),
27
- testimonial-block_author_cite: get-map($c, 'n700'),
28
26
  );
@@ -39,6 +39,7 @@ $layout: (
39
39
  logos_title: get-map($c, 'n700'),
40
40
  logos_small: get-map($c, 'n600'),
41
41
  page-layout_gradient_bg_1: get-map($c, 'n50'),
42
+ page-layout_subtle_bg: rgb(43 137 117 / 10%),
42
43
  page-layout_gradient_bg_2: rgb(240 245 255 / 0%),
43
44
  page-layout_bold: get-map($c, 'white'),
44
45
  page-layout_bold_bg: get-map($c, 'b700'),
@@ -36,6 +36,7 @@ $text: (
36
36
  pill_bg: get-map($c, 'n200'),
37
37
  pill_subtle_bg: get-map($c, 'white'),
38
38
  pill_highlighted_bg: get-map($c, 'y300'),
39
+ pill_light_bg: get-map($c, 'info50'),
39
40
  pill_information_bg: get-map($c, 'g100'),
40
41
  pill_registered_bg: get-map($c, 'g50'),
41
42
  pill_subtle_border: get-map($c, 'n200'),
package/text/index.d.ts CHANGED
@@ -7,4 +7,3 @@ export * from './markdown-text';
7
7
  export * from './page-heading';
8
8
  export * from './pill';
9
9
  export * from './status-banner';
10
- export * from './testimonial-block';
@@ -3,7 +3,7 @@ interface Props {
3
3
  /** The size of the pill */
4
4
  size?: 'small' | 'medium' | 'large';
5
5
  /** The style of the pill */
6
- variant?: 'default' | 'subtle' | 'highlighted' | 'information' | 'registered';
6
+ variant?: 'default' | 'subtle' | 'highlighted' | 'information' | 'registered' | 'light';
7
7
  /** Additional classes to add to the pill */
8
8
  className?: string;
9
9
  /** The pill text */
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { ResponsiveImageType } from '../../general';
3
- export type HighlightSectionProps = {
4
- /** The content to display */
5
- content: string | React.ReactNode;
6
- /** Additional className */
7
- className?: string;
8
- /** How to align the image, left or right. Defaults to left */
9
- alignImage?: 'left' | 'right';
10
- /** The image to display */
11
- image?: ResponsiveImageType;
12
- };
13
- declare const _default: import("react").MemoExoticComponent<({ alignImage, className, content, image, }: HighlightSectionProps) => import("react/jsx-runtime").JSX.Element>;
14
- export default _default;
@@ -1 +0,0 @@
1
- export { default as HighlightSection } from './highlight-section';
@@ -1 +0,0 @@
1
- export { default as TestimonialBlock } from './testimonial-block';
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- export type TestimonialBlockProps = {
3
- /** The name of the Testimonial's author */
4
- author?: string;
5
- /** The citation of the Testimonial's author */
6
- authorCite?: string;
7
- /** The content to display */
8
- content: string;
9
- };
10
- declare const _default: import("react").MemoExoticComponent<({ author, authorCite, content }: TestimonialBlockProps) => import("react/jsx-runtime").JSX.Element>;
11
- export default _default;