diff --git a/packages/uui-split-panel/lib/uui-split-panel.element.ts b/packages/uui-split-panel/lib/uui-split-panel.element.ts index 07a9b61e2..3671b4887 100644 --- a/packages/uui-split-panel/lib/uui-split-panel.element.ts +++ b/packages/uui-split-panel/lib/uui-split-panel.element.ts @@ -309,6 +309,7 @@ export class UUISplitPanelElement extends LitElement { return html ` +
+ `; } diff --git a/packages/uui-split-panel/lib/uui-split-panel.story.ts b/packages/uui-split-panel/lib/uui-split-panel.story.ts index f084d254c..ba3a1522d 100644 --- a/packages/uui-split-panel/lib/uui-split-panel.story.ts +++ b/packages/uui-split-panel/lib/uui-split-panel.story.ts @@ -23,6 +23,32 @@ type Story = StoryObj; export const Overview: Story = {}; +export const Disabled: Story = { + args: { + disabled: true, + }, + parameters: { + docs: { + source: { + code: ` +
+ Start +
+
+ End +
+
`, + }, + }, + }, +}; + export const Vertical: Story = { args: { vertical: true, @@ -48,3 +74,57 @@ export const Vertical: Story = { }, }, }; + +export const Snapping: Story = { + args: { + snap: "100px 50%", + }, + parameters: { + docs: { + source: { + code: `
+ +
+ Start +
+
+ End +
+
+
+
+ `, + }, + }, + }, +}; \ No newline at end of file