+ );
+ },
+);
diff --git a/src/components/index.ts b/src/components/index.ts
index b82e88ec0..28a52945e 100644
--- a/src/components/index.ts
+++ b/src/components/index.ts
@@ -46,6 +46,7 @@ export * from './Tabs/Tabs';
export * from './TabsSlider/TabsSlider';
export * from './Table/Table';
export * from './TextInput/TextInput';
+export * from './TextInputFloating/TextInputFloating';
export * from './TextareaInput/TextareaInput';
export * from './TextLink/TextLink';
export * from './ThemeProvider/ThemeProvider';
diff --git a/src/docs/FormTheming.stories.mdx b/src/docs/FormTheming.stories.mdx
index 53f9ee801..f39e7c00e 100644
--- a/src/docs/FormTheming.stories.mdx
+++ b/src/docs/FormTheming.stories.mdx
@@ -1,6 +1,7 @@
import { Meta, Story, Canvas } from '@storybook/addon-docs';
import { useState } from 'react';
import { TextInput } from '../components/TextInput/TextInput';
+import { TextInputFloating } from '../components/TextInputFloating/TextInputFloating';
import { CheckboxInput } from '../components/CheckboxInput/CheckboxInput';
import { SelectInput } from '../components/SelectInput/SelectInput';
import { SelectInputNative } from '../components/SelectInputNative/SelectInputNative';
@@ -57,6 +58,7 @@ Form controls share tokens since they are designed to have a consistent appearan
selectValue: options[0].value,
textValue: 'hello world',
textareaValue: 'hello world',
+ emptyValue: '',
});
const handleChange = (key, value) => {
setThemeExampleValues(prevFields => ({
@@ -82,10 +84,9 @@ Form controls share tokens since they are designed to have a consistent appearan
};
return (
setIsThemed(e.target.checked)}
/>
+ handleChange('emptyValue', event.target.value)}
+ />
+ handleChange('textValue', event.target.value)}
+ />
@@ -49,6 +50,32 @@ Sizes for form controls likes inputs and buttons, should match so that they can
};
return (
+
+
+
+
+ handleChange('textInputMd', event.target.value)
+ }
+ />
+
+
+
+ handleChange('textInputLg', event.target.value)
+ }
+ />
+
+
handleChange('selectInput', event.target.value)
@@ -107,7 +134,7 @@ Sizes for form controls likes inputs and buttons, should match so that they can
size="sm"
/>
handleChange('selectInput', event.target.value)
@@ -118,7 +145,7 @@ Sizes for form controls likes inputs and buttons, should match so that they can
size="md"
/>
handleChange('selectInput', event.target.value)
@@ -253,11 +280,16 @@ Inline form sizes with labels.