@primer/react-brand 0.15.2-rc.d2c59a5 → 0.15.2-rc.f70e83a
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/River/River.d.ts +1 -2
- package/lib/css/main.css +26 -26
- 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 +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/control/base.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/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/hero/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/river/base.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/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 +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- 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 +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/control/base.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/footer/colors.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/inline-link/colors.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/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 +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- 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 +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/control/base.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/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/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/river/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 +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- 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 +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.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/control/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.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/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/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/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/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/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 +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/River/River.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { LinkProps, HeadingProps, TextProps } from '../';
|
|
3
3
|
import type { BaseProps } from '../component-helpers';
|
|
4
4
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/river/base.css';
|
|
5
5
|
export declare type RiverProps = BaseProps<HTMLElement> & {
|
|
@@ -44,7 +44,6 @@ declare type RiverContentProps = BaseProps<HTMLDivElement> & {
|
|
|
44
44
|
*/
|
|
45
45
|
children: React.ReactElement<TextProps> | React.ReactElement<HeadingProps | TextProps | LinkProps>[];
|
|
46
46
|
};
|
|
47
|
-
export declare const getHeadingWarning: (size: (typeof HeadingTags)[number]) => string;
|
|
48
47
|
declare type RiverVisualProps = BaseProps<HTMLDivElement> & PropsWithChildren<{
|
|
49
48
|
/**
|
|
50
49
|
* Applies automatic size constraints to child images and video.
|
package/lib/css/main.css
CHANGED
|
@@ -89,7 +89,7 @@ select {
|
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Do not edit directly
|
|
92
|
-
* Generated on
|
|
92
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
93
93
|
*/
|
|
94
94
|
|
|
95
95
|
:root,
|
|
@@ -629,7 +629,7 @@ select {
|
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
631
|
* Do not edit directly
|
|
632
|
-
* Generated on
|
|
632
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
633
633
|
*/
|
|
634
634
|
|
|
635
635
|
:root {
|
|
@@ -654,7 +654,7 @@ select {
|
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
656
|
* Do not edit directly
|
|
657
|
-
* Generated on
|
|
657
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
658
658
|
*/
|
|
659
659
|
|
|
660
660
|
:root {
|
|
@@ -669,7 +669,7 @@ select {
|
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
671
|
* Do not edit directly
|
|
672
|
-
* Generated on
|
|
672
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
673
673
|
*/
|
|
674
674
|
|
|
675
675
|
:root {
|
|
@@ -848,7 +848,7 @@ select {
|
|
|
848
848
|
|
|
849
849
|
/**
|
|
850
850
|
* Do not edit directly
|
|
851
|
-
* Generated on
|
|
851
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
852
852
|
*/
|
|
853
853
|
|
|
854
854
|
:root {
|
|
@@ -862,7 +862,7 @@ select {
|
|
|
862
862
|
|
|
863
863
|
/**
|
|
864
864
|
* Do not edit directly
|
|
865
|
-
* Generated on
|
|
865
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
866
866
|
*/
|
|
867
867
|
|
|
868
868
|
:root {
|
|
@@ -880,7 +880,7 @@ select {
|
|
|
880
880
|
|
|
881
881
|
/**
|
|
882
882
|
* Do not edit directly
|
|
883
|
-
* Generated on
|
|
883
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
884
884
|
*/
|
|
885
885
|
|
|
886
886
|
:root,
|
|
@@ -1182,7 +1182,7 @@ select {
|
|
|
1182
1182
|
|
|
1183
1183
|
/**
|
|
1184
1184
|
* Do not edit directly
|
|
1185
|
-
* Generated on
|
|
1185
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
1186
1186
|
*/
|
|
1187
1187
|
|
|
1188
1188
|
:root,
|
|
@@ -1632,7 +1632,7 @@ select {
|
|
|
1632
1632
|
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Do not edit directly
|
|
1635
|
-
* Generated on
|
|
1635
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
1636
1636
|
*/
|
|
1637
1637
|
|
|
1638
1638
|
:root {
|
|
@@ -1653,7 +1653,7 @@ select {
|
|
|
1653
1653
|
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Do not edit directly
|
|
1656
|
-
* Generated on
|
|
1656
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
1657
1657
|
*/
|
|
1658
1658
|
|
|
1659
1659
|
:root {
|
|
@@ -2284,6 +2284,7 @@ select {
|
|
|
2284
2284
|
|
|
2285
2285
|
.Primer_Brand__SubdomainNavBar-module__SubdomainNavBar-search-dialog___yqQl5 {
|
|
2286
2286
|
position: absolute;
|
|
2287
|
+
z-index: 99;
|
|
2287
2288
|
}
|
|
2288
2289
|
|
|
2289
2290
|
@media screen and (max-width: 767px) {
|
|
@@ -2296,7 +2297,6 @@ select {
|
|
|
2296
2297
|
backdrop-filter: blur(100px);
|
|
2297
2298
|
height: 100vh;
|
|
2298
2299
|
width: 100vw;
|
|
2299
|
-
z-index: 99;
|
|
2300
2300
|
animation: Primer_Brand__SubdomainNavBar-module__fade-in-down___kwg9g 300ms;
|
|
2301
2301
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
2302
2302
|
}
|
|
@@ -2447,7 +2447,7 @@ select {
|
|
|
2447
2447
|
|
|
2448
2448
|
/**
|
|
2449
2449
|
* Do not edit directly
|
|
2450
|
-
* Generated on
|
|
2450
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
2451
2451
|
*/
|
|
2452
2452
|
|
|
2453
2453
|
:root,
|
|
@@ -2475,7 +2475,7 @@ select {
|
|
|
2475
2475
|
|
|
2476
2476
|
/**
|
|
2477
2477
|
* Do not edit directly
|
|
2478
|
-
* Generated on
|
|
2478
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
2479
2479
|
*/
|
|
2480
2480
|
|
|
2481
2481
|
:root,
|
|
@@ -2592,7 +2592,7 @@ select {
|
|
|
2592
2592
|
|
|
2593
2593
|
/**
|
|
2594
2594
|
* Do not edit directly
|
|
2595
|
-
* Generated on
|
|
2595
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
2596
2596
|
*/
|
|
2597
2597
|
|
|
2598
2598
|
:root,
|
|
@@ -2749,7 +2749,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2749
2749
|
|
|
2750
2750
|
/**
|
|
2751
2751
|
* Do not edit directly
|
|
2752
|
-
* Generated on
|
|
2752
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
2753
2753
|
*/
|
|
2754
2754
|
|
|
2755
2755
|
:root {
|
|
@@ -2759,7 +2759,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2759
2759
|
|
|
2760
2760
|
/**
|
|
2761
2761
|
* Do not edit directly
|
|
2762
|
-
* Generated on
|
|
2762
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
2763
2763
|
*/
|
|
2764
2764
|
|
|
2765
2765
|
:root,
|
|
@@ -2829,7 +2829,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2829
2829
|
|
|
2830
2830
|
/**
|
|
2831
2831
|
* Do not edit directly
|
|
2832
|
-
* Generated on
|
|
2832
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
2833
2833
|
*/
|
|
2834
2834
|
|
|
2835
2835
|
:root {
|
|
@@ -2848,7 +2848,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2848
2848
|
|
|
2849
2849
|
/**
|
|
2850
2850
|
* Do not edit directly
|
|
2851
|
-
* Generated on
|
|
2851
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
2852
2852
|
*/
|
|
2853
2853
|
|
|
2854
2854
|
:root,
|
|
@@ -3791,7 +3791,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3791
3791
|
|
|
3792
3792
|
/**
|
|
3793
3793
|
* Do not edit directly
|
|
3794
|
-
* Generated on
|
|
3794
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
3795
3795
|
*/
|
|
3796
3796
|
|
|
3797
3797
|
:root {
|
|
@@ -4333,7 +4333,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4333
4333
|
|
|
4334
4334
|
/**
|
|
4335
4335
|
* Do not edit directly
|
|
4336
|
-
* Generated on
|
|
4336
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
4337
4337
|
*/
|
|
4338
4338
|
|
|
4339
4339
|
:root,
|
|
@@ -4643,7 +4643,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4643
4643
|
|
|
4644
4644
|
/**
|
|
4645
4645
|
* Do not edit directly
|
|
4646
|
-
* Generated on
|
|
4646
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
4647
4647
|
*/
|
|
4648
4648
|
|
|
4649
4649
|
:root,
|
|
@@ -5042,7 +5042,7 @@ html {
|
|
|
5042
5042
|
|
|
5043
5043
|
/**
|
|
5044
5044
|
* Do not edit directly
|
|
5045
|
-
* Generated on
|
|
5045
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
5046
5046
|
*/
|
|
5047
5047
|
|
|
5048
5048
|
:root,
|
|
@@ -5223,7 +5223,7 @@ html {
|
|
|
5223
5223
|
|
|
5224
5224
|
/**
|
|
5225
5225
|
* Do not edit directly
|
|
5226
|
-
* Generated on
|
|
5226
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
5227
5227
|
*/
|
|
5228
5228
|
|
|
5229
5229
|
:root,
|
|
@@ -5343,7 +5343,7 @@ html {
|
|
|
5343
5343
|
|
|
5344
5344
|
/**
|
|
5345
5345
|
* Do not edit directly
|
|
5346
|
-
* Generated on
|
|
5346
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
5347
5347
|
*/
|
|
5348
5348
|
|
|
5349
5349
|
:root {
|
|
@@ -5355,7 +5355,7 @@ html {
|
|
|
5355
5355
|
|
|
5356
5356
|
/**
|
|
5357
5357
|
* Do not edit directly
|
|
5358
|
-
* Generated on
|
|
5358
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
5359
5359
|
*/
|
|
5360
5360
|
|
|
5361
5361
|
:root,
|
|
@@ -5456,7 +5456,7 @@ html {
|
|
|
5456
5456
|
|
|
5457
5457
|
/**
|
|
5458
5458
|
* Do not edit directly
|
|
5459
|
-
* Generated on
|
|
5459
|
+
* Generated on Tue, 11 Apr 2023 14:07:42 GMT
|
|
5460
5460
|
*/
|
|
5461
5461
|
|
|
5462
5462
|
:root,
|