Skip to content

Commit 51fa404

Browse files
authored
Remove support for sx from SubNav components (#6694)
1 parent dd8eeed commit 51fa404

File tree

4 files changed

+4
-30
lines changed

4 files changed

+4
-30
lines changed

packages/react/src/SubNav/SubNav.docs.json

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
"name": "aria-label",
3939
"type": "string",
4040
"description": "Used to set the `aria-label` on the top level `<nav>` element."
41-
},
42-
{
43-
"name": "sx",
44-
"type": "SystemStyleObject",
45-
"deprecated": true
4641
}
4742
],
4843
"subcomponents": [
@@ -67,23 +62,12 @@
6762
"name": "to",
6863
"type": "string | Partial<Path>",
6964
"description": "Used when the item is rendered using a component like React Router's `Link`. The path to navigate to."
70-
},
71-
{
72-
"name": "sx",
73-
"type": "SystemStyleObject",
74-
"deprecated": true
7565
}
7666
]
7767
},
7868
{
7969
"name": "SubNav.Links",
80-
"props": [
81-
{
82-
"name": "sx",
83-
"type": "SystemStyleObject",
84-
"deprecated": true
85-
}
86-
]
70+
"props": []
8771
}
8872
]
89-
}
73+
}

packages/react/src/Text/Text.docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@
6161
}
6262
],
6363
"subcomponents": []
64-
}
64+
}

packages/react/src/Textarea/Textarea.docs.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@
8888
"type": "React.ElementType",
8989
"defaultValue": "\"input\""
9090
},
91-
{
92-
"name": "sx",
93-
"type": "SystemStyleObject",
94-
"deprecated": true
95-
},
9691
{
9792
"name": "className",
9893
"type": "string | undefined",
@@ -110,4 +105,4 @@
110105
}
111106
],
112107
"subcomponents": []
113-
}
108+
}

packages/react/src/Textarea/Textarea.stories.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ Playground.argTypes = {
5555
rows: {
5656
control: {type: 'number'},
5757
},
58-
sx: {
59-
table: {
60-
disable: true,
61-
},
62-
},
6358
validationStatus: {
6459
options: ['error', 'success'],
6560
control: {type: 'radio'},

0 commit comments

Comments
 (0)