Skip to content

Commit 8253ff5

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/eslint-8.13.0
2 parents 46077c0 + 17c4536 commit 8253ff5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/src/stories/components/Layout/LayoutBeta.stories.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ export const LayoutTemplate = ({
326326
innerSpacing = innerSpacing ?? 'none'
327327
columnGap = columnGap ?? 'normal'
328328
rowGap = rowGap ?? 'normal'
329+
hasPane = hasPane ?? true
329330
panePosition = panePosition ?? 'end'
330331
panePositionWhenNarrow = panePositionWhenNarrow ?? 'inherit'
331332
responsiveVariant = responsiveVariant ?? 'stackRegions'

docs/src/stories/components/Layout/SplitPageLayout.stories.jsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ export default {
3434

3535
// Pane
3636

37+
hasPane: {
38+
control: {type: 'boolean'},
39+
table: {
40+
category: 'Pane'
41+
}
42+
},
43+
3744
paneWidth: {
3845
options: ['default', 'narrow', 'wide'],
3946
control: {
@@ -98,6 +105,7 @@ export const SplitPageLayoutTemplate = ({
98105
_debug,
99106
padding,
100107
primaryRegion,
108+
hasPane,
101109
paneWidth,
102110
paneIsSticky,
103111
contentWidth,
@@ -119,6 +127,7 @@ export const SplitPageLayoutTemplate = ({
119127
rowGap="none"
120128
responsiveVariant="separateRegions"
121129
primaryRegion={primaryRegion}
130+
hasPane={hasPane}
122131
paneWidth={paneWidth}
123132
paneIsSticky={paneIsSticky}
124133
panePosition="start"
@@ -152,6 +161,7 @@ Playground.args = {
152161
primaryRegion: 'content',
153162

154163
// Pane
164+
hasPane: true,
155165
paneWidth: 'wide',
156166

157167
// Content

0 commit comments

Comments
 (0)