diff --git a/packages/react/script/prop-docs/components.json b/packages/react/script/prop-docs/components.json
index bb0307fa205..ebd9debdc0d 100644
--- a/packages/react/script/prop-docs/components.json
+++ b/packages/react/script/prop-docs/components.json
@@ -199,7 +199,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -841,7 +841,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -2365,6 +2365,10 @@
"id": "components-button-features--invisible",
"code": "() => "
},
+ {
+ "id": "components-button-features--link",
+ "code": "() => "
+ },
{
"id": "components-button-features--leading-visual",
"code": "() => "
@@ -2440,6 +2444,10 @@
{
"id": "components-button-features--label-wrap",
"code": "() => {\n return (\n \n \n \n \n \n \n \n )\n}"
+ },
+ {
+ "id": "components-button-features--inactive-button-with-tooltip",
+ "code": "() => (\n \n \n \n)"
}
],
"importPath": "@primer/react",
@@ -2502,7 +2510,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -2732,7 +2740,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -2962,7 +2970,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -4210,6 +4218,13 @@
"description": "The direction the content flows.\nVertical layout is used by default, and horizontal layout is used for checkbox and radio inputs.",
"defaultValue": "vertical"
},
+ {
+ "name": "className",
+ "type": "string",
+ "required": false,
+ "description": "",
+ "defaultValue": ""
+ },
{
"name": "sx",
"type": "BetterSystemStyleObject",
@@ -4355,6 +4370,22 @@
{
"id": "components-heading--default",
"code": "() => Default H2 Heading"
+ },
+ {
+ "id": "components-heading-features--test-sx",
+ "code": "() => (\n \n Heading with sx override\n \n)"
+ },
+ {
+ "id": "components-heading-features--small",
+ "code": "() => Small heading"
+ },
+ {
+ "id": "components-heading-features--medium",
+ "code": "() => Medium heading"
+ },
+ {
+ "id": "components-heading-features--large",
+ "code": "() => Large heading"
}
],
"importPath": "@primer/react",
@@ -4366,6 +4397,13 @@
"description": "",
"defaultValue": ""
},
+ {
+ "name": "variant",
+ "type": "\"small\" | \"large\" | \"medium\"",
+ "required": false,
+ "description": "",
+ "defaultValue": ""
+ },
{
"name": "sx",
"type": "BetterSystemStyleObject",
@@ -8268,7 +8306,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "@deprecated Text input action buttons should only use the 'invisible' button variant\nDetermine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": "invisible"
@@ -10292,7 +10330,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -10421,7 +10459,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -10615,7 +10653,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -10732,7 +10770,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": ""
@@ -11038,7 +11076,7 @@
},
{
"name": "variant",
- "type": "\"default\" | \"danger\" | \"primary\" | \"invisible\"",
+ "type": "\"link\" | \"default\" | \"danger\" | \"primary\" | \"invisible\"",
"required": false,
"description": "Determine's the styles on a button one of 'default' | 'primary' | 'invisible' | 'danger'",
"defaultValue": "warning"
diff --git a/packages/react/script/prop-docs/docgen-output.json b/packages/react/script/prop-docs/docgen-output.json
index a2c3627518d..b2c3c44f426 100644
--- a/packages/react/script/prop-docs/docgen-output.json
+++ b/packages/react/script/prop-docs/docgen-output.json
@@ -2456,6 +2456,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -9480,6 +9483,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -26646,6 +26652,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -28456,6 +28465,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -31342,6 +31354,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -39362,6 +39377,27 @@
]
}
},
+ "className": {
+ "defaultValue": null,
+ "description": "",
+ "name": "className",
+ "declarations": [
+ {
+ "fileName": "react/packages/react/src/FormControl/FormControl.tsx",
+ "name": "TypeLiteral"
+ }
+ ],
+ "required": false,
+ "type": {
+ "name": "enum",
+ "raw": "string",
+ "value": [
+ {
+ "value": "string"
+ }
+ ]
+ }
+ },
"sx": {
"defaultValue": null,
"description": "A style object used to override styles using styled-components",
@@ -40348,6 +40384,33 @@
]
}
},
+ "variant": {
+ "defaultValue": null,
+ "description": "",
+ "name": "variant",
+ "declarations": [
+ {
+ "fileName": "react/packages/react/src/Heading/Heading.tsx",
+ "name": "TypeLiteral"
+ }
+ ],
+ "required": false,
+ "type": {
+ "name": "enum",
+ "raw": "\"small\" | \"large\" | \"medium\"",
+ "value": [
+ {
+ "value": "\"small\""
+ },
+ {
+ "value": "\"large\""
+ },
+ {
+ "value": "\"medium\""
+ }
+ ]
+ }
+ },
"sx": {
"defaultValue": null,
"description": "A style object used to override styles using styled-components",
@@ -67875,6 +67938,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -92107,6 +92173,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -94951,6 +95020,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -97102,6 +97174,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -98819,6 +98894,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -102070,6 +102148,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},
@@ -109960,6 +110041,9 @@
"name": "enum",
"raw": "VariantType",
"value": [
+ {
+ "value": "\"link\""
+ },
{
"value": "\"default\""
},