@primer/react-brand 0.16.0-rc.4b77ea6 → 0.16.0-rc.e3d1ac6
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/css/main.css +30 -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/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/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/label/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/label/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/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/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/hooks/useFocusTrap.d.ts +30 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/css/main.css
CHANGED
|
@@ -89,7 +89,7 @@ select {
|
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Do not edit directly
|
|
92
|
-
* Generated on Thu, 13 Apr 2023
|
|
92
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 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 Thu, 13 Apr 2023
|
|
632
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 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 Thu, 13 Apr 2023
|
|
657
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 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 Thu, 13 Apr 2023
|
|
672
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 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 Thu, 13 Apr 2023
|
|
851
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 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 Thu, 13 Apr 2023
|
|
865
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 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 Thu, 13 Apr 2023
|
|
883
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 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 Thu, 13 Apr 2023
|
|
1185
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 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 Thu, 13 Apr 2023
|
|
1635
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 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 Thu, 13 Apr 2023
|
|
1656
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 GMT
|
|
1657
1657
|
*/
|
|
1658
1658
|
|
|
1659
1659
|
:root {
|
|
@@ -2380,6 +2380,10 @@ select {
|
|
|
2380
2380
|
var(--brand-SubdomainNavBar-search-results-border-default, #b7bfc7);
|
|
2381
2381
|
}
|
|
2382
2382
|
|
|
2383
|
+
.Primer_Brand__SubdomainNavBar-module__SubdomainNavBar-search-result-item___YZV9z[aria-selected='true'] a {
|
|
2384
|
+
outline: var(--brand-color-focus) auto var(--brand-borderWidth-thick);
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2383
2387
|
.Primer_Brand__SubdomainNavBar-module__SubdomainNavBar-search-result-item-container___bEvSd {
|
|
2384
2388
|
letter-spacing: var(--brand-heading-letterSpacing-400);
|
|
2385
2389
|
font-size: var(--brand-text-size-400);
|
|
@@ -2447,7 +2451,7 @@ select {
|
|
|
2447
2451
|
|
|
2448
2452
|
/**
|
|
2449
2453
|
* Do not edit directly
|
|
2450
|
-
* Generated on Thu, 13 Apr 2023
|
|
2454
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
2451
2455
|
*/
|
|
2452
2456
|
|
|
2453
2457
|
:root,
|
|
@@ -2475,7 +2479,7 @@ select {
|
|
|
2475
2479
|
|
|
2476
2480
|
/**
|
|
2477
2481
|
* Do not edit directly
|
|
2478
|
-
* Generated on Thu, 13 Apr 2023
|
|
2482
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
2479
2483
|
*/
|
|
2480
2484
|
|
|
2481
2485
|
:root,
|
|
@@ -2592,7 +2596,7 @@ select {
|
|
|
2592
2596
|
|
|
2593
2597
|
/**
|
|
2594
2598
|
* Do not edit directly
|
|
2595
|
-
* Generated on Thu, 13 Apr 2023
|
|
2599
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
2596
2600
|
*/
|
|
2597
2601
|
|
|
2598
2602
|
:root,
|
|
@@ -2825,7 +2829,7 @@ select {
|
|
|
2825
2829
|
|
|
2826
2830
|
/**
|
|
2827
2831
|
* Do not edit directly
|
|
2828
|
-
* Generated on Thu, 13 Apr 2023
|
|
2832
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
2829
2833
|
*/
|
|
2830
2834
|
|
|
2831
2835
|
:root,
|
|
@@ -2982,7 +2986,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2982
2986
|
|
|
2983
2987
|
/**
|
|
2984
2988
|
* Do not edit directly
|
|
2985
|
-
* Generated on Thu, 13 Apr 2023
|
|
2989
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 GMT
|
|
2986
2990
|
*/
|
|
2987
2991
|
|
|
2988
2992
|
:root {
|
|
@@ -2992,7 +2996,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2992
2996
|
|
|
2993
2997
|
/**
|
|
2994
2998
|
* Do not edit directly
|
|
2995
|
-
* Generated on Thu, 13 Apr 2023
|
|
2999
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
2996
3000
|
*/
|
|
2997
3001
|
|
|
2998
3002
|
:root,
|
|
@@ -3062,7 +3066,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
3062
3066
|
|
|
3063
3067
|
/**
|
|
3064
3068
|
* Do not edit directly
|
|
3065
|
-
* Generated on Thu, 13 Apr 2023
|
|
3069
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 GMT
|
|
3066
3070
|
*/
|
|
3067
3071
|
|
|
3068
3072
|
:root {
|
|
@@ -3081,7 +3085,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
3081
3085
|
|
|
3082
3086
|
/**
|
|
3083
3087
|
* Do not edit directly
|
|
3084
|
-
* Generated on Thu, 13 Apr 2023
|
|
3088
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
3085
3089
|
*/
|
|
3086
3090
|
|
|
3087
3091
|
:root,
|
|
@@ -4024,7 +4028,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4024
4028
|
|
|
4025
4029
|
/**
|
|
4026
4030
|
* Do not edit directly
|
|
4027
|
-
* Generated on Thu, 13 Apr 2023
|
|
4031
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 GMT
|
|
4028
4032
|
*/
|
|
4029
4033
|
|
|
4030
4034
|
:root {
|
|
@@ -4566,7 +4570,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4566
4570
|
|
|
4567
4571
|
/**
|
|
4568
4572
|
* Do not edit directly
|
|
4569
|
-
* Generated on Thu, 13 Apr 2023
|
|
4573
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
4570
4574
|
*/
|
|
4571
4575
|
|
|
4572
4576
|
:root,
|
|
@@ -4876,7 +4880,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4876
4880
|
|
|
4877
4881
|
/**
|
|
4878
4882
|
* Do not edit directly
|
|
4879
|
-
* Generated on Thu, 13 Apr 2023
|
|
4883
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
4880
4884
|
*/
|
|
4881
4885
|
|
|
4882
4886
|
:root,
|
|
@@ -5275,7 +5279,7 @@ html {
|
|
|
5275
5279
|
|
|
5276
5280
|
/**
|
|
5277
5281
|
* Do not edit directly
|
|
5278
|
-
* Generated on Thu, 13 Apr 2023
|
|
5282
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
5279
5283
|
*/
|
|
5280
5284
|
|
|
5281
5285
|
:root,
|
|
@@ -5456,7 +5460,7 @@ html {
|
|
|
5456
5460
|
|
|
5457
5461
|
/**
|
|
5458
5462
|
* Do not edit directly
|
|
5459
|
-
* Generated on Thu, 13 Apr 2023
|
|
5463
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
5460
5464
|
*/
|
|
5461
5465
|
|
|
5462
5466
|
:root,
|
|
@@ -5576,7 +5580,7 @@ html {
|
|
|
5576
5580
|
|
|
5577
5581
|
/**
|
|
5578
5582
|
* Do not edit directly
|
|
5579
|
-
* Generated on Thu, 13 Apr 2023
|
|
5583
|
+
* Generated on Thu, 13 Apr 2023 15:24:11 GMT
|
|
5580
5584
|
*/
|
|
5581
5585
|
|
|
5582
5586
|
:root {
|
|
@@ -5588,7 +5592,7 @@ html {
|
|
|
5588
5592
|
|
|
5589
5593
|
/**
|
|
5590
5594
|
* Do not edit directly
|
|
5591
|
-
* Generated on Thu, 13 Apr 2023
|
|
5595
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
5592
5596
|
*/
|
|
5593
5597
|
|
|
5594
5598
|
:root,
|
|
@@ -5674,7 +5678,7 @@ html {
|
|
|
5674
5678
|
|
|
5675
5679
|
/**
|
|
5676
5680
|
* Do not edit directly
|
|
5677
|
-
* Generated on Thu, 13 Apr 2023
|
|
5681
|
+
* Generated on Thu, 13 Apr 2023 15:24:12 GMT
|
|
5678
5682
|
*/
|
|
5679
5683
|
|
|
5680
5684
|
:root,
|