@primer/react-brand 0.6.0 → 0.7.0-rc.e007fdb

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.
Files changed (109) hide show
  1. package/lib/Stack/Stack.d.ts +4 -4
  2. package/lib/css/main.css +300 -19
  3. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  4. package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
  5. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  6. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  7. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  8. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  9. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  10. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  11. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  12. package/lib/design-tokens/css/tokens/functional/components/control/base.css +1 -1
  13. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +13 -1
  14. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  15. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  16. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  17. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  18. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  19. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  20. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  21. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  22. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  23. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  24. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  25. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  26. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  27. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  29. package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
  30. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  31. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  32. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  33. package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
  34. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  35. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  36. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  37. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  38. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  39. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  40. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  41. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  42. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  43. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  44. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  45. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  46. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  47. package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
  48. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  49. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  50. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  51. package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
  52. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  53. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  54. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  55. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  56. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  57. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  58. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  59. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  60. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  61. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  62. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  63. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  64. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  65. package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
  66. package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
  67. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  68. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  69. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  70. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  71. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  72. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  73. package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
  74. package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
  75. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  76. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  77. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  78. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  79. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  80. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  81. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  82. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  83. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  84. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  85. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  86. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  87. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  88. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  89. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  90. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  91. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  92. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  93. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  94. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  95. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  96. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  97. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  98. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  99. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  100. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  101. package/lib/forms/Radio/Radio.d.ts +40 -0
  102. package/lib/forms/Radio/Radio.visual.spec.d.ts +1 -0
  103. package/lib/forms/Radio/index.d.ts +1 -0
  104. package/lib/forms/Textarea/Textarea.d.ts +66 -0
  105. package/lib/forms/Textarea/Textarea.visual.spec.d.ts +1 -0
  106. package/lib/forms/Textarea/index.d.ts +1 -0
  107. package/lib/forms/index.d.ts +2 -0
  108. package/lib/index.js +1 -1
  109. package/package.json +1 -1
@@ -4,9 +4,9 @@ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/si
4
4
  export declare const StackDirectionVariants: readonly ["horizontal", "vertical"];
5
5
  declare type StackDirectionVariants = typeof StackDirectionVariants[number];
6
6
  export declare const defaultStackDirection: "vertical";
7
- export declare const StackSpacingVariants: readonly ["condensed", "normal", "spacious"];
7
+ export declare const StackSpacingVariants: readonly ["none", "condensed", "normal", "spacious"];
8
8
  declare type StackSpacingVariants = typeof StackSpacingVariants[number];
9
- export declare const defaultStackSpacing: "normal";
9
+ export declare const defaultStackSpacing: "condensed";
10
10
  export declare const StackAlignItemVariants: readonly ["center", "flex-start", "flex-end"];
11
11
  declare type StackAlignItemVariants = typeof StackAlignItemVariants[number];
12
12
  export declare const StackJustifyContentVariants: readonly ["center", "flex-start", "flex-end", "space-between", "space-around", "space-evenly"];
@@ -85,7 +85,7 @@ export declare const Stack: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLE
85
85
  * A string value will be applied to all viewports.
86
86
  * An object can be used to define different values for different viewports.
87
87
  */
88
- gap?: "condensed" | "normal" | "spacious" | ResponsiveSpacingMap | undefined;
88
+ gap?: "none" | "condensed" | "normal" | "spacious" | ResponsiveSpacingMap | undefined;
89
89
  /**
90
90
  * Applies vertical alignment to child elements relative to the Stack, using the align-items CSS property.
91
91
  * A string value will be applied to all viewports.
@@ -97,7 +97,7 @@ export declare const Stack: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLE
97
97
  * A string value will be applied to all viewports.
98
98
  * An object can be used to define different values for different viewports.
99
99
  */
100
- padding?: "condensed" | "normal" | "spacious" | ResponsiveSpacingMap | undefined;
100
+ padding?: "none" | "condensed" | "normal" | "spacious" | ResponsiveSpacingMap | undefined;
101
101
  /**
102
102
  * Applies horizontal alignment to child elements relative to the Stack, using the justify-content CSS property.
103
103
  * A string value will be applied to all viewports.
package/lib/css/main.css CHANGED
@@ -89,7 +89,7 @@ select {
89
89
 
90
90
  /**
91
91
  * Do not edit directly
92
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
92
+ * Generated on Tue, 08 Nov 2022 12:15:19 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 Fri, 04 Nov 2022 12:59:23 GMT
632
+ * Generated on Tue, 08 Nov 2022 12:15:19 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 Fri, 04 Nov 2022 12:59:23 GMT
657
+ * Generated on Tue, 08 Nov 2022 12:15:18 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 Fri, 04 Nov 2022 12:59:23 GMT
672
+ * Generated on Tue, 08 Nov 2022 12:15:19 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 Fri, 04 Nov 2022 12:59:23 GMT
851
+ * Generated on Tue, 08 Nov 2022 12:15:18 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 Fri, 04 Nov 2022 12:59:23 GMT
865
+ * Generated on Tue, 08 Nov 2022 12:15:18 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 Fri, 04 Nov 2022 12:59:23 GMT
883
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
884
884
  */
885
885
 
886
886
  :root,
@@ -1076,7 +1076,7 @@ select {
1076
1076
 
1077
1077
  /**
1078
1078
  * Do not edit directly
1079
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
1079
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
1080
1080
  */
1081
1081
 
1082
1082
  :root,
@@ -1223,7 +1223,7 @@ select {
1223
1223
 
1224
1224
  /**
1225
1225
  * Do not edit directly
1226
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
1226
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
1227
1227
  */
1228
1228
 
1229
1229
  :root {
@@ -1244,7 +1244,7 @@ select {
1244
1244
 
1245
1245
  /**
1246
1246
  * Do not edit directly
1247
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
1247
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
1248
1248
  */
1249
1249
 
1250
1250
  :root {
@@ -2030,7 +2030,7 @@ select {
2030
2030
 
2031
2031
  /**
2032
2032
  * Do not edit directly
2033
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
2033
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
2034
2034
  */
2035
2035
 
2036
2036
  :root,
@@ -2058,7 +2058,7 @@ select {
2058
2058
 
2059
2059
  /**
2060
2060
  * Do not edit directly
2061
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
2061
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
2062
2062
  */
2063
2063
 
2064
2064
  :root,
@@ -2163,7 +2163,7 @@ select {
2163
2163
 
2164
2164
  /**
2165
2165
  * Do not edit directly
2166
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
2166
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
2167
2167
  */
2168
2168
 
2169
2169
  :root,
@@ -2305,7 +2305,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2305
2305
 
2306
2306
  /**
2307
2307
  * Do not edit directly
2308
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
2308
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
2309
2309
  */
2310
2310
 
2311
2311
  :root {
@@ -2315,7 +2315,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2315
2315
 
2316
2316
  /**
2317
2317
  * Do not edit directly
2318
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
2318
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
2319
2319
  */
2320
2320
 
2321
2321
  :root,
@@ -2385,7 +2385,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2385
2385
 
2386
2386
  /**
2387
2387
  * Do not edit directly
2388
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
2388
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
2389
2389
  */
2390
2390
 
2391
2391
  :root {
@@ -2404,7 +2404,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2404
2404
 
2405
2405
  /**
2406
2406
  * Do not edit directly
2407
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
2407
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
2408
2408
  */
2409
2409
 
2410
2410
  :root,
@@ -2423,6 +2423,12 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2423
2423
  --brand-control-checkbox-border-checked: var(--base-color-scale-black-0);
2424
2424
  --brand-control-checkbox-border-indeterminate: var(--base-color-scale-black-0);
2425
2425
  --brand-control-checkbox-border-disabled: var(--base-color-scale-gray-2);
2426
+ --brand-control-radio-bg-default: var(--base-color-scale-white-0);
2427
+ --brand-control-radio-bg-checked: var(--base-color-scale-white-0);
2428
+ --brand-control-radio-bg-disabled: var(--base-color-scale-gray-1);
2429
+ --brand-control-radio-border-default: var(--brand-control-color-border-default);
2430
+ --brand-control-radio-border-checked: var(--base-color-scale-black-0);
2431
+ --brand-control-radio-dot-default: var(--base-color-scale-black-0);
2426
2432
  }
2427
2433
 
2428
2434
  [data-color-mode="dark"] {
@@ -2440,6 +2446,12 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2440
2446
  --brand-control-checkbox-border-checked: var(--base-color-scale-white-0);
2441
2447
  --brand-control-checkbox-border-indeterminate: var(--base-color-scale-white-0);
2442
2448
  --brand-control-checkbox-border-disabled: var(--base-color-scale-gray-4);
2449
+ --brand-control-radio-bg-default: var(--base-color-scale-black-0);
2450
+ --brand-control-radio-bg-checked: var(--base-color-scale-black-0);
2451
+ --brand-control-radio-bg-disabled: var(--base-color-scale-gray-4);
2452
+ --brand-control-radio-border-default: var(--base-color-scale-white-0);
2453
+ --brand-control-radio-border-checked: var(--base-color-scale-white-0);
2454
+ --brand-control-radio-dot-default: var(--base-color-scale-white-0);
2443
2455
  }
2444
2456
 
2445
2457
  /*
@@ -2531,6 +2543,144 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2531
2543
  opacity: 1;
2532
2544
  }
2533
2545
 
2546
+ /*
2547
+ * Default Textarea styles
2548
+ */
2549
+ .Primer_Brand__Textarea-module__Textarea___xmKD5 {
2550
+ display: flex;
2551
+ color: var(--brand-control-color-fg-default);
2552
+ background-color: var(--brand-color-canvas-default);
2553
+ border: none;
2554
+ border-radius: var(--brand-control-border-radius);
2555
+ line-height: var(--brand-text-lineHeight-200);
2556
+ transition: var(--brand-control-animation-duration) var(--brand-control-animation-easing);
2557
+ transition-property: color, background-color, box-shadow;
2558
+ }
2559
+
2560
+ .Primer_Brand__Textarea-module__Textarea___xmKD5::-moz-placeholder {
2561
+ color: var(--brand-color-text-subtle);
2562
+ opacity: 1;
2563
+ }
2564
+
2565
+ .Primer_Brand__Textarea-module__Textarea___xmKD5::placeholder {
2566
+ color: var(--brand-color-text-subtle);
2567
+ opacity: 1;
2568
+ }
2569
+
2570
+ .Primer_Brand__Textarea-module__Textarea___xmKD5[disabled] {
2571
+ -webkit-text-fill-color: var(--brand-control-color-fg-disabled);
2572
+ color: var(--brand-control-color-fg-disabled);
2573
+ cursor: not-allowed;
2574
+ background-color: var(--brand-control-color-canvas-disabled);
2575
+ opacity: 1;
2576
+ resize: none;
2577
+ }
2578
+
2579
+ .Primer_Brand__Textarea-module__Textarea___xmKD5:focus {
2580
+ outline: none;
2581
+ }
2582
+
2583
+ .Primer_Brand__Textarea-module__Textarea___xmKD5:focus {
2584
+ outline: none;
2585
+ }
2586
+
2587
+ .Primer_Brand__Textarea-module__Textarea-resize--vertical___uAPaM {
2588
+ resize: vertical;
2589
+ }
2590
+
2591
+ .Primer_Brand__Textarea-module__Textarea-resize--horizontal___gT0d4 {
2592
+ resize: horizontal;
2593
+ }
2594
+
2595
+ .Primer_Brand__Textarea-module__Textarea-resize--none___VNofG {
2596
+ resize: none;
2597
+ }
2598
+
2599
+ .Primer_Brand__Textarea-module__Textarea-resize--both___bDJp5 {
2600
+ resize: both;
2601
+ }
2602
+
2603
+ /*
2604
+ * Sizes
2605
+ */
2606
+ .Primer_Brand__Textarea-module__Textarea--medium___pMZGb {
2607
+ font-weight: var(--brand-text-weight-200);
2608
+ font-size: var(--brand-text-size-200);
2609
+ padding: 12px 10px 10px;
2610
+ padding: var(--brand-control-medium-padding, 12px 10px 10px);
2611
+ }
2612
+
2613
+ .Primer_Brand__Textarea-module__Textarea--large___wCPXA {
2614
+ font-weight: var(--brand-text-weight-300);
2615
+ font-size: var(--brand-text-size-300);
2616
+ padding: 12px;
2617
+ padding: var(--brand-control-large-padding, 12px);
2618
+ }
2619
+
2620
+ /*
2621
+ * Visual states
2622
+ */
2623
+ .Primer_Brand__Textarea-module__Textarea--fullWidth___lPWcQ {
2624
+ width: 100%;
2625
+ }
2626
+
2627
+ /*
2628
+ * Textarea wrapper
2629
+ */
2630
+
2631
+ .Primer_Brand__Textarea-module__Textarea-wrapper--disabled___fg8We {
2632
+ border-color: var(--brand-control-color-border-disabled);
2633
+ }
2634
+
2635
+ .Primer_Brand__Textarea-module__Textarea-wrapper___A4lsG {
2636
+ font-family: var(--brand-body-fontFamily);
2637
+ display: inline-flex;
2638
+ position: relative;
2639
+ border: solid 1px var(--brand-control-color-border-default);
2640
+ border: solid var(--brand-borderWidth-thin, 1px) var(--brand-control-color-border-default);
2641
+ border-radius: var(--brand-control-border-radius);
2642
+ transition: var(--brand-control-animation-duration) var(--brand-control-animation-easing);
2643
+ transition-property: border;
2644
+ }
2645
+
2646
+ .Primer_Brand__Textarea-module__Textarea-wrapper--invisible___fF78K {
2647
+ border-color: transparent;
2648
+ }
2649
+
2650
+ .Primer_Brand__Textarea-module__Textarea-wrapper--fullWidth___EtLL9 {
2651
+ display: flex;
2652
+ }
2653
+
2654
+ .Primer_Brand__Textarea-module__Textarea-wrapper--monospace___lA41d {
2655
+ font-family: var(--brand-fontStack-monospace);
2656
+ }
2657
+
2658
+ .Primer_Brand__Textarea-module__Textarea-wrapper___A4lsG[focus-within] {
2659
+ border-color: var(--brand-color-focus);
2660
+ box-shadow: 0 0 0 1px var(--brand-color-focus);
2661
+ outline: none;
2662
+ }
2663
+
2664
+ .Primer_Brand__Textarea-module__Textarea-wrapper___A4lsG:focus-within {
2665
+ border-color: var(--brand-color-focus);
2666
+ box-shadow: 0 0 0 1px var(--brand-color-focus);
2667
+ outline: none;
2668
+ }
2669
+
2670
+ /*
2671
+ * Validation
2672
+ */
2673
+
2674
+ .Primer_Brand__Textarea-module__Textarea-wrapper--success___RaDVX,
2675
+ .Primer_Brand__Textarea-module__Textarea-wrapper--success___RaDVX.Primer_Brand__Textarea-module__Textarea-wrapper--disabled___fg8We {
2676
+ border-color: var(--brand-color-success-fg);
2677
+ }
2678
+
2679
+ .Primer_Brand__Textarea-module__Textarea-wrapper--error___zcHSQ,
2680
+ .Primer_Brand__Textarea-module__Textarea-wrapper--error___zcHSQ.Primer_Brand__Textarea-module__Textarea-wrapper--disabled___fg8We {
2681
+ border-color: var(--brand-color-error-fg);
2682
+ }
2683
+
2534
2684
  /*
2535
2685
  * Default TextInput styles
2536
2686
  */
@@ -2969,6 +3119,101 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2969
3119
  border-color: var(--brand-color-error-fg);
2970
3120
  }
2971
3121
 
3122
+ /*
3123
+ * Default Radio styles
3124
+ */
3125
+ .Primer_Brand__Radio-module__Radio-wrapper___Gt9uM {
3126
+ position: relative;
3127
+ -webkit-user-select: none;
3128
+ -moz-user-select: none;
3129
+ user-select: none;
3130
+ cursor: pointer;
3131
+ }
3132
+
3133
+ .Primer_Brand__Radio-module__Radio___JycTo {
3134
+ align-items: center;
3135
+ background-color: var(--brand-control-radio-bg-default);
3136
+ border: solid 1px var(--brand-control-color-border-default);
3137
+ border: solid var(--brand-borderWidth-thick, 1px) var(--brand-control-color-border-default);
3138
+ border-radius: 50%;
3139
+ cursor: pointer;
3140
+ display: inline-flex;
3141
+ height: 20px;
3142
+ justify-content: center;
3143
+ margin: 3px 0; /* mimic default browser-applied vertical margin */
3144
+ margin: 3px 3px 0px 5px; /* Emulate browser defaults */
3145
+
3146
+ width: 20px;
3147
+ outline: 1px solid var(--brand-control-radio-bg-default);
3148
+ box-shadow: 0 0 0 3px transparent;
3149
+ }
3150
+
3151
+ /**
3152
+ * Radio native input - visually hidden
3153
+ */
3154
+ .Primer_Brand__Radio-module__Radio-input___n3jX4 {
3155
+ border: 0;
3156
+ clip: rect(1px, 1px, 1px, 1px);
3157
+ height: 1px;
3158
+ overflow: hidden;
3159
+ padding: 0;
3160
+ position: absolute;
3161
+ width: 1px;
3162
+ }
3163
+
3164
+ .Primer_Brand__Radio-module__Radio-dot___rmEAJ {
3165
+ position: absolute;
3166
+ display: none;
3167
+ border-color: var(--brand-control-radio-dot-default);
3168
+ width: 12px;
3169
+ height: 12px;
3170
+ border-radius: 50%;
3171
+ background: var(--brand-control-radio-dot-default);
3172
+ position: absolute;
3173
+ display: block;
3174
+ transform: scale(0.7);
3175
+ opacity: 0;
3176
+ transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1);
3177
+ }
3178
+ @media (prefers-reduced-motion) {
3179
+ .Primer_Brand__Radio-module__Radio-dot___rmEAJ {
3180
+ transition: none;
3181
+ }
3182
+ }
3183
+
3184
+ /*
3185
+ * Checked state
3186
+ */
3187
+
3188
+ .Primer_Brand__Radio-module__Radio-input___n3jX4:checked + .Primer_Brand__Radio-module__Radio___JycTo {
3189
+ background-color: var(--brand-control-radio-bg-checked);
3190
+ border-color: var(--brand-control-radio-border-checked);
3191
+ }
3192
+
3193
+ .Primer_Brand__Radio-module__Radio-input___n3jX4:checked + .Primer_Brand__Radio-module__Radio___JycTo .Primer_Brand__Radio-module__Radio-dot___rmEAJ {
3194
+ opacity: 1;
3195
+ transform: scale(1);
3196
+ }
3197
+
3198
+ .Primer_Brand__Radio-module__Radio-input___n3jX4:focus + .Primer_Brand__Radio-module__Radio___JycTo {
3199
+ box-shadow: 0 0 0 3px var(--brand-color-focus);
3200
+ }
3201
+
3202
+ /* TODO: Check with a11y team */
3203
+ .Primer_Brand__Radio-module__Radio-input___n3jX4:checked:focus + .Primer_Brand__Radio-module__Radio___JycTo {
3204
+ border-color: var(--brand-control-radio-border-checked);
3205
+ }
3206
+
3207
+ .Primer_Brand__Radio-module__Radio-input___n3jX4[disabled] + .Primer_Brand__Radio-module__Radio___JycTo,
3208
+ .Primer_Brand__Radio-module__Radio-input___n3jX4[disabled]:checked + .Primer_Brand__Radio-module__Radio___JycTo {
3209
+ -webkit-text-fill-color: var(--brand-control-color-fg-disabled);
3210
+ color: var(--brand-control-color-fg-disabled);
3211
+ cursor: not-allowed;
3212
+ background-color: var(--brand-control-radio-bg-disabled);
3213
+ border-color: var(--brand-control-color-border-disabled);
3214
+ opacity: 1;
3215
+ }
3216
+
2972
3217
  .Primer_Brand__FormControl-module__FormControl___ZJtXy {
2973
3218
  display: inline-flex;
2974
3219
  font-family: var(--brand-body-fontFamily);
@@ -3034,6 +3279,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3034
3279
  width: 100%;
3035
3280
  }
3036
3281
 
3282
+ .Primer_Brand__FormControl-module__FormControl-control--radio___aSHRG {
3283
+ margin: 2px 0 0;
3284
+ }
3285
+
3037
3286
  .Primer_Brand__FormControl-module__FormControl-hint___dbP0O {
3038
3287
  color: var(--brand-color-text-muted);
3039
3288
  display: block;
@@ -3081,7 +3330,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3081
3330
 
3082
3331
  /**
3083
3332
  * Do not edit directly
3084
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3333
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
3085
3334
  */
3086
3335
 
3087
3336
  :root {
@@ -3178,6 +3427,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3178
3427
  /*
3179
3428
  * Gap and padding
3180
3429
  */
3430
+ .Primer_Brand__Stack-module__Stack--gap-none___M7T_v {
3431
+ gap: 0;
3432
+ }
3433
+
3181
3434
  .Primer_Brand__Stack-module__Stack--gap-condensed___Xe9jx {
3182
3435
  gap: var(--brand-stack-gap-condensed);
3183
3436
  }
@@ -3190,6 +3443,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3190
3443
  gap: var(--brand-stack-gap-spacious);
3191
3444
  }
3192
3445
 
3446
+ .Primer_Brand__Stack-module__Stack-narrow--gap-none___YtqsL {
3447
+ gap: 0;
3448
+ }
3449
+
3193
3450
  .Primer_Brand__Stack-module__Stack-narrow--gap-condensed___zwHUG {
3194
3451
  gap: var(--brand-stack-gap-condensed);
3195
3452
  }
@@ -3202,6 +3459,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3202
3459
  gap: var(--brand-stack-gap-spacious);
3203
3460
  }
3204
3461
 
3462
+ .Primer_Brand__Stack-module__Stack--padding-none___RCMh9 {
3463
+ padding: 0;
3464
+ }
3465
+
3205
3466
  .Primer_Brand__Stack-module__Stack--padding-condensed___mo7Aq {
3206
3467
  padding: var(--brand-stack-padding-condensed);
3207
3468
  }
@@ -3214,6 +3475,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3214
3475
  padding: var(--brand-stack-padding-spacious);
3215
3476
  }
3216
3477
 
3478
+ .Primer_Brand__Stack-module__Stack-narrow--padding-none___ndsvs {
3479
+ padding: 0;
3480
+ }
3481
+
3217
3482
  .Primer_Brand__Stack-module__Stack-narrow--padding-condensed___f1f4j {
3218
3483
  padding: var(--brand-stack-padding-condensed);
3219
3484
  }
@@ -3227,6 +3492,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3227
3492
  }
3228
3493
 
3229
3494
  @media screen and (min-width: 48rem) {
3495
+ .Primer_Brand__Stack-module__Stack-regular--gap-none____ZDEx {
3496
+ gap: 0;
3497
+ }
3498
+
3230
3499
  .Primer_Brand__Stack-module__Stack-regular--gap-condensed___ZYYsD {
3231
3500
  gap: var(--brand-stack-gap-condensed);
3232
3501
  }
@@ -3239,6 +3508,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3239
3508
  gap: var(--brand-stack-gap-spacious);
3240
3509
  }
3241
3510
 
3511
+ .Primer_Brand__Stack-module__Stack-regular--padding-none____wmhn {
3512
+ padding: 0;
3513
+ }
3514
+
3242
3515
  .Primer_Brand__Stack-module__Stack-regular--padding-condensed___WxLyH {
3243
3516
  padding: var(--brand-stack-padding-condensed);
3244
3517
  }
@@ -3253,6 +3526,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3253
3526
  }
3254
3527
 
3255
3528
  @media screen and (min-width: 80rem) {
3529
+ .Primer_Brand__Stack-module__Stack-wide--gap-none___V9yZQ {
3530
+ gap: 0;
3531
+ }
3532
+
3256
3533
  .Primer_Brand__Stack-module__Stack-wide--gap-condensed___TB7xm {
3257
3534
  gap: var(--brand-stack-gap-condensed);
3258
3535
  }
@@ -3265,6 +3542,10 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3265
3542
  gap: var(--brand-stack-gap-spacious);
3266
3543
  }
3267
3544
 
3545
+ .Primer_Brand__Stack-module__Stack-wide--padding-none___GEcfF {
3546
+ padding: 0;
3547
+ }
3548
+
3268
3549
  .Primer_Brand__Stack-module__Stack-wide--padding-condensed___heIOO {
3269
3550
  padding: var(--brand-stack-padding-condensed);
3270
3551
  }
@@ -3366,7 +3647,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
3366
3647
 
3367
3648
  /**
3368
3649
  * Do not edit directly
3369
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3650
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
3370
3651
  */
3371
3652
 
3372
3653
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:19 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -19,6 +19,12 @@
19
19
  --brand-control-checkbox-border-checked: var(--base-color-scale-black-0);
20
20
  --brand-control-checkbox-border-indeterminate: var(--base-color-scale-black-0);
21
21
  --brand-control-checkbox-border-disabled: var(--base-color-scale-gray-2);
22
+ --brand-control-radio-bg-default: var(--base-color-scale-white-0);
23
+ --brand-control-radio-bg-checked: var(--base-color-scale-white-0);
24
+ --brand-control-radio-bg-disabled: var(--base-color-scale-gray-1);
25
+ --brand-control-radio-border-default: var(--brand-control-color-border-default);
26
+ --brand-control-radio-border-checked: var(--base-color-scale-black-0);
27
+ --brand-control-radio-dot-default: var(--base-color-scale-black-0);
22
28
  }
23
29
 
24
30
  [data-color-mode="dark"] {
@@ -36,4 +42,10 @@
36
42
  --brand-control-checkbox-border-checked: var(--base-color-scale-white-0);
37
43
  --brand-control-checkbox-border-indeterminate: var(--base-color-scale-white-0);
38
44
  --brand-control-checkbox-border-disabled: var(--base-color-scale-gray-4);
45
+ --brand-control-radio-bg-default: var(--base-color-scale-black-0);
46
+ --brand-control-radio-bg-checked: var(--base-color-scale-black-0);
47
+ --brand-control-radio-bg-disabled: var(--base-color-scale-gray-4);
48
+ --brand-control-radio-border-default: var(--base-color-scale-white-0);
49
+ --brand-control-radio-border-checked: var(--base-color-scale-white-0);
50
+ --brand-control-radio-dot-default: var(--base-color-scale-white-0);
39
51
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 04 Nov 2022 12:59:23 GMT
3
+ * Generated on Tue, 08 Nov 2022 12:15:18 GMT
4
4
  */
5
5
 
6
6
  :root {