@primer/react-brand 0.23.0 → 0.24.0-rc.1040aa1
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/lib/CTABanner/CTABanner.d.ts +2 -4
- package/lib/FAQ/FAQ.d.ts +3 -4
- package/lib/Heading/Heading.d.ts +1 -1
- package/lib/Label/Label.d.ts +1 -1
- package/lib/Testimonial/Testimonial.d.ts +8 -2
- package/lib/Text/Text.d.ts +1 -1
- package/lib/css/main.css +648 -434
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +2 -2
- package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pillar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pillar/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +15 -0
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +31 -0
- package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +2 -2
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +15 -28
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +81 -126
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +37 -34
- package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +3 -3
- package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pillar/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +157 -0
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +465 -0
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +3 -3
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +60 -282
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +318 -50
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +157 -851
- package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +2 -2
- package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pillar/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +13 -0
- package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +29 -0
- package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +2 -2
- package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +15 -28
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +20 -5
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +37 -34
- package/lib/design-tokens/scss/tokens/base/colors/color-scales.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/typography/typography.scss +2 -2
- package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pillar/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +12 -0
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +28 -0
- package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +2 -2
- package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size.scss +15 -28
- package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +20 -5
- package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +37 -34
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +3 -3
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +2 -2
- package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pillar/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +32 -0
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +31 -0
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +50 -0
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +49 -0
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +2 -2
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +8 -29
- package/lib/design-tokens/ts/tokens/functional/size/size.js +18 -39
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +31 -2
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +34 -5
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +4 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +37 -34
- package/lib/findElementInChildren.d.ts +3 -0
- package/lib/forms/index.d.ts +0 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/{River → river/River}/River.d.ts +7 -2
- package/lib/river/RiverBreakout/RiverBreakout.d.ts +22 -0
- package/lib/river/RiverBreakout/RiverBreakout.visual.spec.d.ts +1 -0
- package/lib/river/RiverBreakout/index.d.ts +1 -0
- package/lib/river/index.d.ts +2 -0
- package/package.json +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/base.css +0 -18
- package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +0 -195
- package/lib/design-tokens/js/tokens/functional/components/control/base.js +0 -16
- package/lib/design-tokens/scss/tokens/functional/components/control/base.scss +0 -15
- package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +0 -33
- package/lib/design-tokens/ts/tokens/functional/components/control/base.js +0 -32
- /package/lib/{River → river/River}/River.visual.spec.d.ts +0 -0
- /package/lib/{River → river/River}/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import { LinkProps, HeadingProps, TextProps } from '
|
|
3
|
-
import type { BaseProps } from '
|
|
2
|
+
import { LinkProps, HeadingProps, TextProps } from '../../';
|
|
3
|
+
import type { BaseProps } from '../../component-helpers';
|
|
4
4
|
/**
|
|
5
5
|
* Design tokens
|
|
6
6
|
*/
|
|
@@ -63,6 +63,11 @@ type RiverVisualProps = BaseProps<HTMLDivElement> & PropsWithChildren<{
|
|
|
63
63
|
* This can be disabled by setting this prop to `false`.
|
|
64
64
|
*/
|
|
65
65
|
hasShadow?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Enables rounded corners.
|
|
68
|
+
* Can optionally be disabled.
|
|
69
|
+
*/
|
|
70
|
+
rounded?: boolean;
|
|
66
71
|
}>;
|
|
67
72
|
/**
|
|
68
73
|
* Alternating text and image pairs.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RiverProps } from '../River';
|
|
3
|
+
type RiverBreakoutProps = Omit<RiverProps, 'align' | 'imageTextRatio'>;
|
|
4
|
+
export declare const RiverBreakout: React.ForwardRefExoticComponent<Omit<RiverBreakoutProps, "ref"> & React.RefAttributes<HTMLElement>> & {
|
|
5
|
+
Visual: React.ForwardRefExoticComponent<Omit<import("../../component-helpers").BaseProps<HTMLDivElement> & {
|
|
6
|
+
fillMedia?: boolean | undefined;
|
|
7
|
+
hasShadow?: boolean | undefined;
|
|
8
|
+
rounded?: boolean | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
Content: React.ForwardRefExoticComponent<Omit<import("../../component-helpers").BaseProps<HTMLDivElement> & {
|
|
13
|
+
trailingComponent?: React.FunctionComponent<{}> | undefined;
|
|
14
|
+
trailingComponentDivider?: boolean | undefined;
|
|
15
|
+
leadingComponent?: React.FunctionComponent<{}> | undefined;
|
|
16
|
+
children: React.ReactElement<import("../..").TextProps, string | React.JSXElementConstructor<any>> | React.ReactElement<import("../../Heading").HeadingProps | import("../..").TextProps | import("../..").LinkProps, string | React.JSXElementConstructor<any>>[];
|
|
17
|
+
} & React.HTMLAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
A11yHeading: ({ as, children }: React.PropsWithChildren<{
|
|
19
|
+
as?: "h2" | "h3" | undefined;
|
|
20
|
+
}>) => JSX.Element;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RiverBreakout';
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Mon, 14 Aug 2023 09:40:20 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
--brand-control-animation-easing: var(--brand-animation-easing-glide);
|
|
8
|
-
--brand-control-animation-duration: 80ms;
|
|
9
|
-
--brand-control-border-radius: var(--brand-borderRadius-medium);
|
|
10
|
-
--brand-control-large-fontSize: var(--brand-text-size-300);
|
|
11
|
-
--brand-control-large-fontWeight: var(--brand-text-weight-300);
|
|
12
|
-
--brand-control-large-padding: var(--base-size-12);
|
|
13
|
-
--brand-control-large-size: var(--base-size-48);
|
|
14
|
-
--brand-control-medium-fontSize: var(--brand-text-size-200);
|
|
15
|
-
--brand-control-medium-fontWeight: var(--brand-text-weight-200);
|
|
16
|
-
--brand-control-medium-padding: 0.625rem;
|
|
17
|
-
--brand-control-medium-size: 2.5rem;
|
|
18
|
-
}
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Mon, 14 Aug 2023 09:40:20 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
"brand": {
|
|
8
|
-
"control": {
|
|
9
|
-
"medium": {
|
|
10
|
-
"size": {
|
|
11
|
-
"value": "2.5rem",
|
|
12
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
13
|
-
"isSource": true,
|
|
14
|
-
"original": {
|
|
15
|
-
"value": "40px"
|
|
16
|
-
},
|
|
17
|
-
"name": "size",
|
|
18
|
-
"attributes": {},
|
|
19
|
-
"path": [
|
|
20
|
-
"brand",
|
|
21
|
-
"control",
|
|
22
|
-
"medium",
|
|
23
|
-
"size"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"padding": {
|
|
27
|
-
"value": "0.625rem",
|
|
28
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
29
|
-
"isSource": true,
|
|
30
|
-
"original": {
|
|
31
|
-
"value": "10px"
|
|
32
|
-
},
|
|
33
|
-
"name": "padding",
|
|
34
|
-
"attributes": {},
|
|
35
|
-
"path": [
|
|
36
|
-
"brand",
|
|
37
|
-
"control",
|
|
38
|
-
"medium",
|
|
39
|
-
"padding"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"fontWeight": {
|
|
43
|
-
"value": "var(--brand-text-weight-200)",
|
|
44
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
45
|
-
"isSource": true,
|
|
46
|
-
"original": {
|
|
47
|
-
"value": "var(--brand-text-weight-200)"
|
|
48
|
-
},
|
|
49
|
-
"name": "fontWeight",
|
|
50
|
-
"attributes": {},
|
|
51
|
-
"path": [
|
|
52
|
-
"brand",
|
|
53
|
-
"control",
|
|
54
|
-
"medium",
|
|
55
|
-
"fontWeight"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"fontSize": {
|
|
59
|
-
"value": "var(--brand-text-size-200)",
|
|
60
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
61
|
-
"isSource": true,
|
|
62
|
-
"original": {
|
|
63
|
-
"value": "var(--brand-text-size-200)"
|
|
64
|
-
},
|
|
65
|
-
"name": "fontSize",
|
|
66
|
-
"attributes": {},
|
|
67
|
-
"path": [
|
|
68
|
-
"brand",
|
|
69
|
-
"control",
|
|
70
|
-
"medium",
|
|
71
|
-
"fontSize"
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"large": {
|
|
76
|
-
"size": {
|
|
77
|
-
"value": "var(--base-size-48)",
|
|
78
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
79
|
-
"isSource": true,
|
|
80
|
-
"original": {
|
|
81
|
-
"value": "var(--base-size-48)"
|
|
82
|
-
},
|
|
83
|
-
"name": "size",
|
|
84
|
-
"attributes": {},
|
|
85
|
-
"path": [
|
|
86
|
-
"brand",
|
|
87
|
-
"control",
|
|
88
|
-
"large",
|
|
89
|
-
"size"
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"padding": {
|
|
93
|
-
"value": "var(--base-size-12)",
|
|
94
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
95
|
-
"isSource": true,
|
|
96
|
-
"original": {
|
|
97
|
-
"value": "var(--base-size-12)"
|
|
98
|
-
},
|
|
99
|
-
"name": "padding",
|
|
100
|
-
"attributes": {},
|
|
101
|
-
"path": [
|
|
102
|
-
"brand",
|
|
103
|
-
"control",
|
|
104
|
-
"large",
|
|
105
|
-
"padding"
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
"fontWeight": {
|
|
109
|
-
"value": "var(--brand-text-weight-300)",
|
|
110
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
111
|
-
"isSource": true,
|
|
112
|
-
"original": {
|
|
113
|
-
"value": "var(--brand-text-weight-300)"
|
|
114
|
-
},
|
|
115
|
-
"name": "fontWeight",
|
|
116
|
-
"attributes": {},
|
|
117
|
-
"path": [
|
|
118
|
-
"brand",
|
|
119
|
-
"control",
|
|
120
|
-
"large",
|
|
121
|
-
"fontWeight"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"fontSize": {
|
|
125
|
-
"value": "var(--brand-text-size-300)",
|
|
126
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
127
|
-
"isSource": true,
|
|
128
|
-
"original": {
|
|
129
|
-
"value": "var(--brand-text-size-300)"
|
|
130
|
-
},
|
|
131
|
-
"name": "fontSize",
|
|
132
|
-
"attributes": {},
|
|
133
|
-
"path": [
|
|
134
|
-
"brand",
|
|
135
|
-
"control",
|
|
136
|
-
"large",
|
|
137
|
-
"fontSize"
|
|
138
|
-
]
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"border": {
|
|
142
|
-
"radius": {
|
|
143
|
-
"value": "var(--brand-borderRadius-medium)",
|
|
144
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
145
|
-
"isSource": true,
|
|
146
|
-
"original": {
|
|
147
|
-
"value": "var(--brand-borderRadius-medium)"
|
|
148
|
-
},
|
|
149
|
-
"name": "radius",
|
|
150
|
-
"attributes": {},
|
|
151
|
-
"path": [
|
|
152
|
-
"brand",
|
|
153
|
-
"control",
|
|
154
|
-
"border",
|
|
155
|
-
"radius"
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"animation": {
|
|
160
|
-
"duration": {
|
|
161
|
-
"value": "80ms",
|
|
162
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
163
|
-
"isSource": true,
|
|
164
|
-
"original": {
|
|
165
|
-
"value": "80ms"
|
|
166
|
-
},
|
|
167
|
-
"name": "duration",
|
|
168
|
-
"attributes": {},
|
|
169
|
-
"path": [
|
|
170
|
-
"brand",
|
|
171
|
-
"control",
|
|
172
|
-
"animation",
|
|
173
|
-
"duration"
|
|
174
|
-
]
|
|
175
|
-
},
|
|
176
|
-
"easing": {
|
|
177
|
-
"value": "var(--brand-animation-easing-glide)",
|
|
178
|
-
"filePath": "tokens/functional/components/control/base.json",
|
|
179
|
-
"isSource": true,
|
|
180
|
-
"original": {
|
|
181
|
-
"value": "var(--brand-animation-easing-glide)"
|
|
182
|
-
},
|
|
183
|
-
"name": "easing",
|
|
184
|
-
"attributes": {},
|
|
185
|
-
"path": [
|
|
186
|
-
"brand",
|
|
187
|
-
"control",
|
|
188
|
-
"animation",
|
|
189
|
-
"easing"
|
|
190
|
-
]
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Mon, 14 Aug 2023 09:40:20 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export const BrandControlMediumSize = "2.5rem";
|
|
7
|
-
export const BrandControlMediumPadding = "0.625rem";
|
|
8
|
-
export const BrandControlMediumFontWeight = "var(--brand-text-weight-200)";
|
|
9
|
-
export const BrandControlMediumFontSize = "var(--brand-text-size-200)";
|
|
10
|
-
export const BrandControlLargeSize = "var(--base-size-48)";
|
|
11
|
-
export const BrandControlLargePadding = "var(--base-size-12)";
|
|
12
|
-
export const BrandControlLargeFontWeight = "var(--brand-text-weight-300)";
|
|
13
|
-
export const BrandControlLargeFontSize = "var(--brand-text-size-300)";
|
|
14
|
-
export const BrandControlBorderRadius = "var(--brand-borderRadius-medium)";
|
|
15
|
-
export const BrandControlAnimationDuration = "80ms";
|
|
16
|
-
export const BrandControlAnimationEasing = "var(--brand-animation-easing-glide)";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Do not edit directly
|
|
3
|
-
// Generated on Mon, 14 Aug 2023 09:40:20 GMT
|
|
4
|
-
|
|
5
|
-
$brand-control-animation-easing: var(--brand-animation-easing-glide);
|
|
6
|
-
$brand-control-animation-duration: 80ms;
|
|
7
|
-
$brand-control-border-radius: var(--brand-borderRadius-medium);
|
|
8
|
-
$brand-control-large-fontSize: var(--brand-text-size-300);
|
|
9
|
-
$brand-control-large-fontWeight: var(--brand-text-weight-300);
|
|
10
|
-
$brand-control-large-padding: var(--base-size-12);
|
|
11
|
-
$brand-control-large-size: var(--base-size-48);
|
|
12
|
-
$brand-control-medium-fontSize: var(--brand-text-size-200);
|
|
13
|
-
$brand-control-medium-fontWeight: var(--brand-text-weight-200);
|
|
14
|
-
$brand-control-medium-padding: 0.625rem;
|
|
15
|
-
$brand-control-medium-size: 2.5rem;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Mon, 14 Aug 2023 09:40:20 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare const tokens: {
|
|
9
|
-
"brand": {
|
|
10
|
-
"control": {
|
|
11
|
-
"medium": {
|
|
12
|
-
"size": string,
|
|
13
|
-
"padding": string,
|
|
14
|
-
"fontWeight": string,
|
|
15
|
-
"fontSize": string
|
|
16
|
-
},
|
|
17
|
-
"large": {
|
|
18
|
-
"size": string,
|
|
19
|
-
"padding": string,
|
|
20
|
-
"fontWeight": string,
|
|
21
|
-
"fontSize": string
|
|
22
|
-
},
|
|
23
|
-
"border": {
|
|
24
|
-
"radius": string
|
|
25
|
-
},
|
|
26
|
-
"animation": {
|
|
27
|
-
"duration": string,
|
|
28
|
-
"easing": string
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export default tokens;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Mon, 14 Aug 2023 09:40:20 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
"brand": {
|
|
10
|
-
"control": {
|
|
11
|
-
"medium": {
|
|
12
|
-
"size": "2.5rem",
|
|
13
|
-
"padding": "0.625rem",
|
|
14
|
-
"fontWeight": "var(--brand-text-weight-200)",
|
|
15
|
-
"fontSize": "var(--brand-text-size-200)"
|
|
16
|
-
},
|
|
17
|
-
"large": {
|
|
18
|
-
"size": "var(--base-size-48)",
|
|
19
|
-
"padding": "var(--base-size-12)",
|
|
20
|
-
"fontWeight": "var(--brand-text-weight-300)",
|
|
21
|
-
"fontSize": "var(--brand-text-size-300)"
|
|
22
|
-
},
|
|
23
|
-
"border": {
|
|
24
|
-
"radius": "var(--brand-borderRadius-medium)"
|
|
25
|
-
},
|
|
26
|
-
"animation": {
|
|
27
|
-
"duration": "80ms",
|
|
28
|
-
"easing": "var(--brand-animation-easing-glide)"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
File without changes
|
|
File without changes
|