@primer/react-brand 0.12.0-rc.dad1d88 → 0.12.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.
- package/lib/MinimalFooter/MinimalFooter.d.ts +1 -1
- package/lib/css/main.css +29 -38
- 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/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/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/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/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/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
|
@@ -4,7 +4,7 @@ import { BaseProps } from '../component-helpers';
|
|
|
4
4
|
* Design tokens
|
|
5
5
|
*/
|
|
6
6
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css';
|
|
7
|
-
export declare const MinimalFooterSocialLinks: readonly ["twitter", "github", "linkedin", "youtube", "facebook"];
|
|
7
|
+
export declare const MinimalFooterSocialLinks: readonly ["twitter", "github", "linkedin", "youtube", "facebook", "twitch", "tiktok"];
|
|
8
8
|
declare type SocialLinks = typeof MinimalFooterSocialLinks[number];
|
|
9
9
|
export declare type MinimalFooterProps = {
|
|
10
10
|
/**
|
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 Thu, 02 Feb 2023 14:26:39 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 Thu, 02 Feb 2023 14:26:38 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 Thu, 02 Feb 2023 14:26:38 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 Thu, 02 Feb 2023 14:26:38 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 Thu, 02 Feb 2023 14:26:38 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 Thu, 02 Feb 2023 14:26:38 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 Thu, 02 Feb 2023 14:26:39 GMT
|
|
884
884
|
*/
|
|
885
885
|
|
|
886
886
|
:root,
|
|
@@ -974,6 +974,10 @@ select {
|
|
|
974
974
|
text-align: center;
|
|
975
975
|
}
|
|
976
976
|
|
|
977
|
+
.Primer_Brand__Hero-module__Hero--align-center___HUXm3 .Primer_Brand__Hero-module__Hero-actions___oH1NT {
|
|
978
|
+
justify-content: center;
|
|
979
|
+
}
|
|
980
|
+
|
|
977
981
|
.Primer_Brand__Hero-module__Hero-heading___QuVBH {
|
|
978
982
|
margin: 0;
|
|
979
983
|
max-width: 18ch;
|
|
@@ -987,29 +991,16 @@ select {
|
|
|
987
991
|
.Primer_Brand__Hero-module__Hero-actions___oH1NT {
|
|
988
992
|
margin-top: 2rem;
|
|
989
993
|
display: flex;
|
|
990
|
-
flex-direction: column;
|
|
991
994
|
align-items: center;
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
.Primer_Brand__Hero-module__Hero-actions___oH1NT > :not(:last-child) {
|
|
996
|
-
margin: 0 0 1rem;
|
|
995
|
+
flex-wrap: wrap;
|
|
996
|
+
gap: var(--base-size-16);
|
|
997
997
|
}
|
|
998
998
|
|
|
999
999
|
/* Small breakpoint and up */
|
|
1000
|
-
@media screen and (min-width:
|
|
1000
|
+
@media screen and (min-width: 34rem) {
|
|
1001
1001
|
.Primer_Brand__Hero-module__Hero___EM3jf {
|
|
1002
1002
|
padding: var(--brand-Hero-regular-padding);
|
|
1003
1003
|
}
|
|
1004
|
-
|
|
1005
|
-
.Primer_Brand__Hero-module__Hero-actions___oH1NT {
|
|
1006
|
-
flex-direction: row;
|
|
1007
|
-
width: auto;
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
.Primer_Brand__Hero-module__Hero-actions___oH1NT > :not(:last-child) {
|
|
1011
|
-
margin: 0 1rem 0 0;
|
|
1012
|
-
}
|
|
1013
1004
|
}
|
|
1014
1005
|
|
|
1015
1006
|
.Primer_Brand__ExpandableArrow-module__ExpandableArrow___rkfek {
|
|
@@ -1183,7 +1174,7 @@ select {
|
|
|
1183
1174
|
|
|
1184
1175
|
/**
|
|
1185
1176
|
* Do not edit directly
|
|
1186
|
-
* Generated on
|
|
1177
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
1187
1178
|
*/
|
|
1188
1179
|
|
|
1189
1180
|
:root,
|
|
@@ -1482,7 +1473,7 @@ select {
|
|
|
1482
1473
|
|
|
1483
1474
|
/**
|
|
1484
1475
|
* Do not edit directly
|
|
1485
|
-
* Generated on
|
|
1476
|
+
* Generated on Thu, 02 Feb 2023 14:26:38 GMT
|
|
1486
1477
|
*/
|
|
1487
1478
|
|
|
1488
1479
|
:root {
|
|
@@ -1503,7 +1494,7 @@ select {
|
|
|
1503
1494
|
|
|
1504
1495
|
/**
|
|
1505
1496
|
* Do not edit directly
|
|
1506
|
-
* Generated on
|
|
1497
|
+
* Generated on Thu, 02 Feb 2023 14:26:38 GMT
|
|
1507
1498
|
*/
|
|
1508
1499
|
|
|
1509
1500
|
:root {
|
|
@@ -2289,7 +2280,7 @@ select {
|
|
|
2289
2280
|
|
|
2290
2281
|
/**
|
|
2291
2282
|
* Do not edit directly
|
|
2292
|
-
* Generated on
|
|
2283
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
2293
2284
|
*/
|
|
2294
2285
|
|
|
2295
2286
|
:root,
|
|
@@ -2317,7 +2308,7 @@ select {
|
|
|
2317
2308
|
|
|
2318
2309
|
/**
|
|
2319
2310
|
* Do not edit directly
|
|
2320
|
-
* Generated on
|
|
2311
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
2321
2312
|
*/
|
|
2322
2313
|
|
|
2323
2314
|
:root,
|
|
@@ -2422,7 +2413,7 @@ select {
|
|
|
2422
2413
|
|
|
2423
2414
|
/**
|
|
2424
2415
|
* Do not edit directly
|
|
2425
|
-
* Generated on
|
|
2416
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
2426
2417
|
*/
|
|
2427
2418
|
|
|
2428
2419
|
:root,
|
|
@@ -2573,7 +2564,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2573
2564
|
|
|
2574
2565
|
/**
|
|
2575
2566
|
* Do not edit directly
|
|
2576
|
-
* Generated on
|
|
2567
|
+
* Generated on Thu, 02 Feb 2023 14:26:38 GMT
|
|
2577
2568
|
*/
|
|
2578
2569
|
|
|
2579
2570
|
:root {
|
|
@@ -2583,7 +2574,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2583
2574
|
|
|
2584
2575
|
/**
|
|
2585
2576
|
* Do not edit directly
|
|
2586
|
-
* Generated on
|
|
2577
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
2587
2578
|
*/
|
|
2588
2579
|
|
|
2589
2580
|
:root,
|
|
@@ -2653,7 +2644,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2653
2644
|
|
|
2654
2645
|
/**
|
|
2655
2646
|
* Do not edit directly
|
|
2656
|
-
* Generated on
|
|
2647
|
+
* Generated on Thu, 02 Feb 2023 14:26:38 GMT
|
|
2657
2648
|
*/
|
|
2658
2649
|
|
|
2659
2650
|
:root {
|
|
@@ -2672,7 +2663,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2672
2663
|
|
|
2673
2664
|
/**
|
|
2674
2665
|
* Do not edit directly
|
|
2675
|
-
* Generated on
|
|
2666
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
2676
2667
|
*/
|
|
2677
2668
|
|
|
2678
2669
|
:root,
|
|
@@ -3615,7 +3606,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3615
3606
|
|
|
3616
3607
|
/**
|
|
3617
3608
|
* Do not edit directly
|
|
3618
|
-
* Generated on
|
|
3609
|
+
* Generated on Thu, 02 Feb 2023 14:26:38 GMT
|
|
3619
3610
|
*/
|
|
3620
3611
|
|
|
3621
3612
|
:root {
|
|
@@ -4048,7 +4039,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4048
4039
|
|
|
4049
4040
|
/**
|
|
4050
4041
|
* Do not edit directly
|
|
4051
|
-
* Generated on
|
|
4042
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
4052
4043
|
*/
|
|
4053
4044
|
|
|
4054
4045
|
:root,
|
|
@@ -4358,7 +4349,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4358
4349
|
|
|
4359
4350
|
/**
|
|
4360
4351
|
* Do not edit directly
|
|
4361
|
-
* Generated on
|
|
4352
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
4362
4353
|
*/
|
|
4363
4354
|
|
|
4364
4355
|
:root,
|
|
@@ -4757,7 +4748,7 @@ html {
|
|
|
4757
4748
|
|
|
4758
4749
|
/**
|
|
4759
4750
|
* Do not edit directly
|
|
4760
|
-
* Generated on
|
|
4751
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
4761
4752
|
*/
|
|
4762
4753
|
|
|
4763
4754
|
:root,
|
|
@@ -4888,7 +4879,7 @@ html {
|
|
|
4888
4879
|
|
|
4889
4880
|
/**
|
|
4890
4881
|
* Do not edit directly
|
|
4891
|
-
* Generated on
|
|
4882
|
+
* Generated on Thu, 02 Feb 2023 14:26:39 GMT
|
|
4892
4883
|
*/
|
|
4893
4884
|
|
|
4894
4885
|
:root,
|