@primer/react-brand 0.9.2-rc.c1c0f7d → 0.10.0-rc.e54bcd6
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/SubdomainNavBar/SubdomainNavBar.d.ts +2 -0
- package/lib/css/main.css +64 -21
- 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/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/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/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/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/forms/Checkbox/Checkbox.d.ts +1 -1
- package/lib/forms/Radio/Radio.d.ts +1 -1
- package/lib/forms/Select/Select.d.ts +1 -1
- package/lib/forms/TextInput/TextInput.d.ts +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/list/ListItem/ListItem.d.ts +13 -0
- package/lib/list/ListItem/index.d.ts +1 -0
- package/lib/list/OrderedList/OrderedList.d.ts +8 -0
- package/lib/list/OrderedList/index.d.ts +1 -0
- package/lib/list/UnorderedList/UnorderedList.d.ts +13 -0
- package/lib/list/UnorderedList/index.d.ts +1 -0
- package/lib/list/index.d.ts +2 -0
- package/lib/list/listContext.d.ts +4 -0
- 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
|
|
92
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 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 Wed, 18 Jan 2023 11:43:29 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 Wed, 18 Jan 2023 11:43:29 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 Wed, 18 Jan 2023 11:43:29 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 Wed, 18 Jan 2023 11:43:29 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 Wed, 18 Jan 2023 11:43:29 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 Wed, 18 Jan 2023 11:43:29 GMT
|
|
884
884
|
*/
|
|
885
885
|
|
|
886
886
|
:root,
|
|
@@ -1167,7 +1167,7 @@ select {
|
|
|
1167
1167
|
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Do not edit directly
|
|
1170
|
-
* Generated on
|
|
1170
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
1171
1171
|
*/
|
|
1172
1172
|
|
|
1173
1173
|
:root,
|
|
@@ -1466,7 +1466,7 @@ select {
|
|
|
1466
1466
|
|
|
1467
1467
|
/**
|
|
1468
1468
|
* Do not edit directly
|
|
1469
|
-
* Generated on
|
|
1469
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
1470
1470
|
*/
|
|
1471
1471
|
|
|
1472
1472
|
:root {
|
|
@@ -1487,7 +1487,7 @@ select {
|
|
|
1487
1487
|
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Do not edit directly
|
|
1490
|
-
* Generated on
|
|
1490
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
1491
1491
|
*/
|
|
1492
1492
|
|
|
1493
1493
|
:root {
|
|
@@ -2273,7 +2273,7 @@ select {
|
|
|
2273
2273
|
|
|
2274
2274
|
/**
|
|
2275
2275
|
* Do not edit directly
|
|
2276
|
-
* Generated on
|
|
2276
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
2277
2277
|
*/
|
|
2278
2278
|
|
|
2279
2279
|
:root,
|
|
@@ -2301,7 +2301,7 @@ select {
|
|
|
2301
2301
|
|
|
2302
2302
|
/**
|
|
2303
2303
|
* Do not edit directly
|
|
2304
|
-
* Generated on
|
|
2304
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
2305
2305
|
*/
|
|
2306
2306
|
|
|
2307
2307
|
:root,
|
|
@@ -2406,7 +2406,7 @@ select {
|
|
|
2406
2406
|
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Do not edit directly
|
|
2409
|
-
* Generated on
|
|
2409
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
2410
2410
|
*/
|
|
2411
2411
|
|
|
2412
2412
|
:root,
|
|
@@ -2557,7 +2557,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2557
2557
|
|
|
2558
2558
|
/**
|
|
2559
2559
|
* Do not edit directly
|
|
2560
|
-
* Generated on
|
|
2560
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
2561
2561
|
*/
|
|
2562
2562
|
|
|
2563
2563
|
:root {
|
|
@@ -2567,7 +2567,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2567
2567
|
|
|
2568
2568
|
/**
|
|
2569
2569
|
* Do not edit directly
|
|
2570
|
-
* Generated on
|
|
2570
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
2571
2571
|
*/
|
|
2572
2572
|
|
|
2573
2573
|
:root,
|
|
@@ -2637,7 +2637,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2637
2637
|
|
|
2638
2638
|
/**
|
|
2639
2639
|
* Do not edit directly
|
|
2640
|
-
* Generated on
|
|
2640
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
2641
2641
|
*/
|
|
2642
2642
|
|
|
2643
2643
|
:root {
|
|
@@ -2656,7 +2656,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2656
2656
|
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Do not edit directly
|
|
2659
|
-
* Generated on
|
|
2659
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
2660
2660
|
*/
|
|
2661
2661
|
|
|
2662
2662
|
:root,
|
|
@@ -3599,7 +3599,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3599
3599
|
|
|
3600
3600
|
/**
|
|
3601
3601
|
* Do not edit directly
|
|
3602
|
-
* Generated on
|
|
3602
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
3603
3603
|
*/
|
|
3604
3604
|
|
|
3605
3605
|
:root {
|
|
@@ -3916,7 +3916,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3916
3916
|
|
|
3917
3917
|
/**
|
|
3918
3918
|
* Do not edit directly
|
|
3919
|
-
* Generated on
|
|
3919
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
3920
3920
|
*/
|
|
3921
3921
|
|
|
3922
3922
|
:root,
|
|
@@ -4226,7 +4226,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4226
4226
|
|
|
4227
4227
|
/**
|
|
4228
4228
|
* Do not edit directly
|
|
4229
|
-
* Generated on
|
|
4229
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
4230
4230
|
*/
|
|
4231
4231
|
|
|
4232
4232
|
:root,
|
|
@@ -4625,7 +4625,7 @@ html {
|
|
|
4625
4625
|
|
|
4626
4626
|
/**
|
|
4627
4627
|
* Do not edit directly
|
|
4628
|
-
* Generated on
|
|
4628
|
+
* Generated on Wed, 18 Jan 2023 11:43:29 GMT
|
|
4629
4629
|
*/
|
|
4630
4630
|
|
|
4631
4631
|
:root,
|
|
@@ -4711,3 +4711,46 @@ html {
|
|
|
4711
4711
|
}
|
|
4712
4712
|
}
|
|
4713
4713
|
|
|
4714
|
+
.Primer_Brand__ListItem-module__ListItem___aFf5u {
|
|
4715
|
+
display: flex;
|
|
4716
|
+
align-items: flex-start;
|
|
4717
|
+
gap: var(--base-size-12);
|
|
4718
|
+
}
|
|
4719
|
+
|
|
4720
|
+
.Primer_Brand__ListItem-module__ListItem__leading-visual___Fu5ba {
|
|
4721
|
+
fill: var(--brand-color-text-muted);
|
|
4722
|
+
margin: var(--base-size-4) 0;
|
|
4723
|
+
}
|
|
4724
|
+
|
|
4725
|
+
.Primer_Brand__ListItem-module__OrderedList__item___BJsQo::before {
|
|
4726
|
+
content: counter(li) '.';
|
|
4727
|
+
counter-increment: li;
|
|
4728
|
+
min-width: var(--base-size-16);
|
|
4729
|
+
text-align: center;
|
|
4730
|
+
color: var(--brand-color-text-muted);
|
|
4731
|
+
}
|
|
4732
|
+
|
|
4733
|
+
[dir="ltr"] .Primer_Brand__list-shared-module__List___dFefs {
|
|
4734
|
+
padding-left: 0px;
|
|
4735
|
+
}
|
|
4736
|
+
[dir="rtl"] .Primer_Brand__list-shared-module__List___dFefs {
|
|
4737
|
+
padding-right: 0px;
|
|
4738
|
+
}
|
|
4739
|
+
.Primer_Brand__list-shared-module__List___dFefs {
|
|
4740
|
+
display: flex;
|
|
4741
|
+
flex-direction: column;
|
|
4742
|
+
margin: 0;
|
|
4743
|
+
list-style: none;
|
|
4744
|
+
gap: var(--base-size-8);
|
|
4745
|
+
-webkit-padding-start: 0px;
|
|
4746
|
+
font-family: var(--brand-body-fontFamily);
|
|
4747
|
+
font-weight: var(--brand-text-weight-200);
|
|
4748
|
+
font-size: var(--brand-text-size-200);
|
|
4749
|
+
line-height: var(--brand-text-lineHeight-300);
|
|
4750
|
+
color: var(--brand-color-text-default);
|
|
4751
|
+
}
|
|
4752
|
+
|
|
4753
|
+
.Primer_Brand__OrderedList-module__OrderedList___eCBYV {
|
|
4754
|
+
counter-reset: li;
|
|
4755
|
+
}
|
|
4756
|
+
|