This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch docs/federate-storybook
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/docs/federate-storybook by 
this push:
     new cf153d30a4 fix(docs): add type and orientationMargin controls to 
Divider
cf153d30a4 is described below

commit cf153d30a4df15903d869d2a0e018d37193368b5
Author: Evan Rusackas <[email protected]>
AuthorDate: Tue Jan 20 19:38:17 2026 -0800

    fix(docs): add type and orientationMargin controls to Divider
    
    Added type control back (horizontal/vertical) and orientationMargin
    to the args so they appear in the docs controls panel.
    
    Co-Authored-By: Claude Opus 4.5 <[email protected]>
---
 docs/developer_portal/components/ui/divider.mdx | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/docs/developer_portal/components/ui/divider.mdx 
b/docs/developer_portal/components/ui/divider.mdx
index 5933e6d659..1d00e41988 100644
--- a/docs/developer_portal/components/ui/divider.mdx
+++ b/docs/developer_portal/components/ui/divider.mdx
@@ -36,7 +36,9 @@ The Divider component from Superset's UI library.
   dashed: false,
   variant: "solid",
   orientation: "center",
-  plain: true
+  orientationMargin: "",
+  plain: true,
+  type: "horizontal"
 }}
   controls={[
   {
@@ -67,6 +69,12 @@ The Divider component from Superset's UI library.
     ],
     description: "Position of title inside divider."
   },
+  {
+    name: "orientationMargin",
+    label: "Orientation Margin",
+    type: "text",
+    description: "Margin from divider edge to title."
+  },
   {
     name: "plain",
     label: "Plain",
@@ -74,10 +82,14 @@ The Divider component from Superset's UI library.
     description: "Use plain style without bold title."
   },
   {
-    name: "orientationMargin",
-    label: "Orientation Margin",
-    type: "text",
-    description: "Margin from divider edge to title."
+    name: "type",
+    label: "Type",
+    type: "select",
+    options: [
+      "horizontal",
+      "vertical"
+    ],
+    description: "Direction of the divider."
   }
 ]}
 />
@@ -112,7 +124,9 @@ function Demo() {
 | `dashed` | `boolean` | `false` | Whether line is dashed (deprecated, use 
variant). |
 | `variant` | `string` | `"solid"` | Line style of the divider. |
 | `orientation` | `string` | `"center"` | Position of title inside divider. |
+| `orientationMargin` | `string` | `""` | Margin from divider edge to title. |
 | `plain` | `boolean` | `true` | Use plain style without bold title. |
+| `type` | `string` | `"horizontal"` | Direction of the divider. |
 
 ## Import
 

Reply via email to