diff --git a/apps/admin-x-settings/src/App.tsx b/apps/admin-x-settings/src/App.tsx index c4606112f1..3271d43c92 100644 --- a/apps/admin-x-settings/src/App.tsx +++ b/apps/admin-x-settings/src/App.tsx @@ -59,7 +59,7 @@ function App({ghostVersion, officialThemes, zapierTemplates, externalNavigate}:
-
+
diff --git a/apps/admin-x-settings/src/admin-x-ds/global/form/TextField.stories.tsx b/apps/admin-x-settings/src/admin-x-ds/global/form/TextField.stories.tsx index e22ad00b1e..36f6dd28fc 100644 --- a/apps/admin-x-settings/src/admin-x-ds/global/form/TextField.stories.tsx +++ b/apps/admin-x-settings/src/admin-x-ds/global/form/TextField.stories.tsx @@ -2,6 +2,8 @@ import {ReactNode} from 'react'; import {useArgs} from '@storybook/preview-api'; import type {Meta, StoryObj} from '@storybook/react'; +import Button from '../Button'; +import Select from './Select'; import TextField from './TextField'; const meta = { @@ -12,6 +14,9 @@ const meta = { argTypes: { hint: { control: 'text' + }, + rightPlaceholder: { + control: 'text' } } } satisfies Meta; @@ -67,6 +72,44 @@ export const WithRightPlaceholder: Story = { } }; +export const WithoutBorder: Story = { + args: { + title: 'Title', + placeholder: 'Enter something', + hint: 'Here\'s some hint', + border: false + } +}; + +export const WithDropdown: Story = { + args: { + title: 'Monthly price', + placeholder: '0', + rightPlaceholder: ( +