From 58f926ff06ce7e7c65bf27ff6c920e3f0960f9f3 Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Tue, 3 Oct 2023 10:55:24 +0200 Subject: [PATCH] Update stories --- .../lib/uui-split-panel.element.ts | 2 + .../lib/uui-split-panel.story.ts | 80 +++++++++++++++++++ 2 files changed, 82 insertions(+) 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