Skip to content

Commit 146db23

Browse files
committed
docs(storybook): make append prepend story public
1 parent 1178327 commit 146db23

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

packages/eui/.loki/reference/chrome_desktop_Forms_EuiForm_EuiFormControlLayout_Append_Prepend_API_Kitchensink.png renamed to packages/eui/.loki/reference/chrome_desktop_Forms_EuiForm_EuiFormControlLayout_Append_Prepend_API_Kitchen_Sink.png

File renamed without changes.

packages/eui/.loki/reference/chrome_mobile_Forms_EuiForm_EuiFormControlLayout_Append_Prepend_API_Kitchensink.png renamed to packages/eui/.loki/reference/chrome_mobile_Forms_EuiForm_EuiFormControlLayout_Append_Prepend_API_Kitchen_Sink.png

File renamed without changes.

packages/eui/src/components/form/form_control_layout/form_control_layout.stories.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,11 @@ export const FormControlButtonKitchensink: Story = {
256256
};
257257

258258
export const AppendPrepend: Story = {
259-
tags: ['vrt-only'],
259+
parameters: {
260+
controls: {
261+
include: ['isDisabled', 'isInvalid', 'isLoading', 'readOnly'],
262+
},
263+
},
260264
render: function Render(args) {
261265
const isDesktop = useIsWithinMinBreakpoint('xl');
262266

@@ -265,6 +269,7 @@ export const AppendPrepend: Story = {
265269

266270
const commonProps = {
267271
...args,
272+
disabled: args.isDisabled ?? false,
268273
compressed: compressed ?? args.compressed,
269274
};
270275

@@ -442,7 +447,7 @@ export const AppendPrepend: Story = {
442447
},
443448
};
444449

445-
export const AppendPrependAPIKitchensink: Story = {
450+
export const AppendPrependAPIKitchenSink: Story = {
446451
tags: ['vrt-only'],
447452
parameters: {
448453
codeSnippet: {

0 commit comments

Comments
 (0)