@primer/react-brand 0.27.3-rc.4db3a02 → 0.28.0-rc.2432e86
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/fonts/Hubot-Sans.woff2 +0 -0
- package/fonts/Mona-Sans.woff2 +0 -0
- package/fonts/fonts.css +3 -3
- package/lib/CTABanner/CTABanner.d.ts +5 -4
- package/lib/Heading/Heading.d.ts +5 -1
- package/lib/LogoSuite/LogoSuite.d.ts +10 -5
- package/lib/Stack/Stack.d.ts +2 -2
- package/lib/Text/Text.d.ts +6 -2
- package/lib/css/main.css +87 -55
- 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 -1
- 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/bento/base.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 +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
- 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/components/video-player/base.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 +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +4 -2
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +2 -2
- 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 +17 -1
- 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/bento/base.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 +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.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 +1 -1
- 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 +33 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +3 -3
- 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 -1
- 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/bento/base.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 +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/video-player/base.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 +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +3 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +2 -2
- 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 -1
- 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/bento/base.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 +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/video-player/base.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 +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +3 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +2 -2
- 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 +17 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +2 -1
- 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/bento/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.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 +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
- 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 +1 -1
- 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/components/video-player/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.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 +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- 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 +5 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +5 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +2 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/fonts/alliance-2.woff2 +0 -0
|
Binary file
|
package/fonts/Mona-Sans.woff2
CHANGED
|
Binary file
|
package/fonts/fonts.css
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@font-face {
|
|
24
|
-
font-family: '
|
|
25
|
-
src: url('./
|
|
26
|
-
url('./
|
|
24
|
+
font-family: 'Hubot Sans';
|
|
25
|
+
src: url('./Hubot-Sans.woff2') format('woff2 supports variations'),
|
|
26
|
+
url('./Hubot-Sans.woff2') format('woff2-variations');
|
|
27
27
|
font-weight: 200 900;
|
|
28
28
|
font-display: swap;
|
|
29
29
|
}
|
|
@@ -23,10 +23,10 @@ export declare const CTABanner: React.ForwardRefExoticComponent<Omit<BaseProps<H
|
|
|
23
23
|
} & {
|
|
24
24
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
25
25
|
size?: "display" | "1" | "2" | "3" | "4" | "5" | "6" | "subhead-large" | "subhead-medium" | undefined;
|
|
26
|
-
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | {
|
|
27
|
-
narrow?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | undefined;
|
|
28
|
-
regular?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | undefined;
|
|
29
|
-
wide?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | undefined;
|
|
26
|
+
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | {
|
|
27
|
+
narrow?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
|
|
28
|
+
regular?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
|
|
29
|
+
wide?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | undefined;
|
|
30
30
|
} | undefined;
|
|
31
31
|
stretch?: "normal" | "condensed" | "expanded" | {
|
|
32
32
|
narrow?: "normal" | "condensed" | "expanded" | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const CTABanner: React.ForwardRefExoticComponent<Omit<BaseProps<H
|
|
|
38
38
|
regular?: "normal" | "condensed" | "none" | undefined;
|
|
39
39
|
wide?: "normal" | "condensed" | "none" | undefined;
|
|
40
40
|
} | undefined;
|
|
41
|
+
font?: "mona-sans" | "hubot-sans" | undefined;
|
|
41
42
|
} & React.HTMLAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
42
43
|
Description: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLParagraphElement> & {
|
|
43
44
|
children: React.ReactNode | React.ReactNode[];
|
package/lib/Heading/Heading.d.ts
CHANGED
|
@@ -2,13 +2,16 @@ import React from 'react';
|
|
|
2
2
|
import type { BaseProps } from '../component-helpers';
|
|
3
3
|
export declare const HeadingSizes: readonly ["display", "1", "2", "3", "4", "5", "6", "subhead-large", "subhead-medium"];
|
|
4
4
|
export declare const HeadingTags: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
5
|
-
export declare const HeadingWeights: readonly ["heavy", "extrabold", "bold", "semibold", "medium", "normal", "light"];
|
|
5
|
+
export declare const HeadingWeights: readonly ["heavy", "extrabold", "bold", "semibold", "medium", "normal", "light", "extralight"];
|
|
6
6
|
export declare const HeadingStretch: readonly ["condensed", "normal", "expanded"];
|
|
7
7
|
export declare const HeadingLetterSpacing: readonly ["condensed", "normal", "none"];
|
|
8
|
+
export declare const HeadingFontVariants: readonly ["mona-sans", "hubot-sans"];
|
|
8
9
|
export declare const defaultHeadingTag: "h2";
|
|
10
|
+
export declare const defaultHeadingFont: "mona-sans";
|
|
9
11
|
type HeadingWeightVariants = (typeof HeadingWeights)[number];
|
|
10
12
|
type HeadingStretchVariants = (typeof HeadingStretch)[number];
|
|
11
13
|
type HeadingLetterSpacingVariants = (typeof HeadingLetterSpacing)[number];
|
|
14
|
+
type HeadingFontVariants = (typeof HeadingFontVariants)[number];
|
|
12
15
|
type ResponsiveStretchMap = {
|
|
13
16
|
narrow?: HeadingStretchVariants;
|
|
14
17
|
regular?: HeadingStretchVariants;
|
|
@@ -38,6 +41,7 @@ export type HeadingProps = {
|
|
|
38
41
|
weight?: HeadingWeightVariants | ResponsiveWeightMap;
|
|
39
42
|
stretch?: HeadingStretchVariants | ResponsiveStretchMap;
|
|
40
43
|
letterSpacing?: HeadingLetterSpacingVariants | ResponsiveLetterSpacingMap;
|
|
44
|
+
font?: HeadingFontVariants;
|
|
41
45
|
} & React.HTMLAttributes<HTMLHeadingElement> & BaseProps<HTMLHeadingElement>;
|
|
42
46
|
export declare const Heading: React.ForwardRefExoticComponent<Omit<HeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
43
47
|
export {};
|
|
@@ -33,9 +33,10 @@ type LogoSuiteHeadingProps = BaseProps<HTMLHeadingElement> & HeadingProps & {
|
|
|
33
33
|
export declare const LogoSuite: (({ align, children, className, hasDivider, "data-testid": testId, }: PropsWithChildren<LogoSuiteProps>) => JSX.Element) & {
|
|
34
34
|
Heading: React.ForwardRefExoticComponent<Omit<LogoSuiteHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
35
35
|
Description: React.ForwardRefExoticComponent<(Omit<BaseProps<HTMLParagraphElement> & {
|
|
36
|
+
font?: "mona-sans" | "hubot-sans" | undefined;
|
|
36
37
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
37
38
|
variant?: "default" | "muted" | undefined;
|
|
38
|
-
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | import("../").ResponsiveWeightMap | undefined;
|
|
39
|
+
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
39
40
|
align?: "start" | "center" | "end" | undefined;
|
|
40
41
|
} & {
|
|
41
42
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -44,9 +45,10 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
44
45
|
} & {
|
|
45
46
|
children: React.ReactNode | React.ReactNode[];
|
|
46
47
|
}, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
|
|
48
|
+
font?: "mona-sans" | "hubot-sans" | undefined;
|
|
47
49
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
48
50
|
variant?: "default" | "muted" | undefined;
|
|
49
|
-
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | import("../").ResponsiveWeightMap | undefined;
|
|
51
|
+
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
50
52
|
align?: "start" | "center" | "end" | undefined;
|
|
51
53
|
} & {
|
|
52
54
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -55,9 +57,10 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
55
57
|
} & {
|
|
56
58
|
children: React.ReactNode | React.ReactNode[];
|
|
57
59
|
}, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
|
|
60
|
+
font?: "mona-sans" | "hubot-sans" | undefined;
|
|
58
61
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
59
62
|
variant?: "default" | "muted" | undefined;
|
|
60
|
-
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | import("../").ResponsiveWeightMap | undefined;
|
|
63
|
+
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
61
64
|
align?: "start" | "center" | "end" | undefined;
|
|
62
65
|
} & {
|
|
63
66
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -66,9 +69,10 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
66
69
|
} & {
|
|
67
70
|
children: React.ReactNode | React.ReactNode[];
|
|
68
71
|
}, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
|
|
72
|
+
font?: "mona-sans" | "hubot-sans" | undefined;
|
|
69
73
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
70
74
|
variant?: "default" | "muted" | undefined;
|
|
71
|
-
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | import("../").ResponsiveWeightMap | undefined;
|
|
75
|
+
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
72
76
|
align?: "start" | "center" | "end" | undefined;
|
|
73
77
|
} & {
|
|
74
78
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
|
@@ -77,9 +81,10 @@ export declare const LogoSuite: (({ align, children, className, hasDivider, "dat
|
|
|
77
81
|
} & {
|
|
78
82
|
children: React.ReactNode | React.ReactNode[];
|
|
79
83
|
}, "ref"> | Omit<BaseProps<HTMLParagraphElement> & {
|
|
84
|
+
font?: "mona-sans" | "hubot-sans" | undefined;
|
|
80
85
|
size?: "700" | "600" | "500" | "400" | "300" | "200" | "100" | undefined;
|
|
81
86
|
variant?: "default" | "muted" | undefined;
|
|
82
|
-
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | import("../").ResponsiveWeightMap | undefined;
|
|
87
|
+
weight?: "light" | "heavy" | "extrabold" | "bold" | "semibold" | "medium" | "normal" | "extralight" | import("../").ResponsiveWeightMap | undefined;
|
|
83
88
|
align?: "start" | "center" | "end" | undefined;
|
|
84
89
|
} & {
|
|
85
90
|
as?: "span" | "div" | "em" | "p" | "strong" | undefined;
|
package/lib/Stack/Stack.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare const Stack: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLE
|
|
|
96
96
|
* A string value will be applied to all viewports.
|
|
97
97
|
* An object can be used to define different values for different viewports.
|
|
98
98
|
*/
|
|
99
|
-
gap?: "normal" | 4 | "condensed" | "none" |
|
|
99
|
+
gap?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | ResponsiveSpacingMap | undefined;
|
|
100
100
|
/**
|
|
101
101
|
* Applies vertical alignment to child elements relative to the Stack, using the align-items CSS property.
|
|
102
102
|
* A string value will be applied to all viewports.
|
|
@@ -108,7 +108,7 @@ export declare const Stack: React.ForwardRefExoticComponent<Omit<BaseProps<HTMLE
|
|
|
108
108
|
* A string value will be applied to all viewports.
|
|
109
109
|
* An object can be used to define different values for different viewports.
|
|
110
110
|
*/
|
|
111
|
-
padding?: "normal" | 4 | "condensed" | "none" |
|
|
111
|
+
padding?: "normal" | 8 | 4 | "condensed" | "none" | 12 | "spacious" | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 64 | 80 | 96 | 112 | 128 | ResponsiveSpacingMap | undefined;
|
|
112
112
|
/**
|
|
113
113
|
* Applies horizontal alignment to child elements relative to the Stack, using the justify-content CSS property.
|
|
114
114
|
* A string value will be applied to all viewports.
|
package/lib/Text/Text.d.ts
CHANGED
|
@@ -3,11 +3,14 @@ import { BaseProps } from '../component-helpers';
|
|
|
3
3
|
export declare const TextSizes: readonly ["700", "600", "500", "400", "300", "200", "100"];
|
|
4
4
|
export declare const TextTags: readonly ["p", "span", "div", "strong", "em"];
|
|
5
5
|
export declare const TextVariants: readonly ["default", "muted"];
|
|
6
|
-
export declare const TextWeights: readonly ["heavy", "extrabold", "bold", "semibold", "medium", "normal", "light"];
|
|
6
|
+
export declare const TextWeights: readonly ["heavy", "extrabold", "bold", "semibold", "medium", "normal", "light", "extralight"];
|
|
7
|
+
export declare const TextFontVariants: readonly ["mona-sans", "hubot-sans"];
|
|
7
8
|
export declare const defaultTextTag: "span";
|
|
8
9
|
export declare const defaultTextSize: "200";
|
|
9
10
|
export declare const defaultTextVariant: "default";
|
|
11
|
+
export declare const defaultFontVariant: "mona-sans";
|
|
10
12
|
export type TextWeightVariants = (typeof TextWeights)[number];
|
|
13
|
+
export type TextFontVariants = (typeof TextFontVariants)[number];
|
|
11
14
|
export type ResponsiveWeightMap = {
|
|
12
15
|
narrow?: TextWeightVariants;
|
|
13
16
|
regular?: TextWeightVariants;
|
|
@@ -31,6 +34,7 @@ type TextTags = {
|
|
|
31
34
|
as?: (typeof TextTags)[number];
|
|
32
35
|
} & RestrictedPolymorphism;
|
|
33
36
|
export type TextProps = {
|
|
37
|
+
font?: TextFontVariants;
|
|
34
38
|
/**
|
|
35
39
|
* Specify the text size
|
|
36
40
|
*/
|
|
@@ -50,5 +54,5 @@ export type TextProps = {
|
|
|
50
54
|
*/
|
|
51
55
|
align?: 'start' | 'center' | 'end';
|
|
52
56
|
} & TextTags;
|
|
53
|
-
export declare function Text({ align, animate, as, className, children, size, variant, weight, style, ...rest }: PropsWithChildren<TextProps>): JSX.Element;
|
|
57
|
+
export declare function Text({ align, animate, as, className, children, font, size, variant, weight, style, ...rest }: PropsWithChildren<TextProps>): JSX.Element;
|
|
54
58
|
export {};
|