@design-system-rte/react 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ import { TextInputProps as CoreTextInputProps } from '../../../../core/components/text-input/text-input.interface';
2
+ import { InputHTMLAttributes } from 'react';
3
+ interface TextInputProps extends CoreTextInputProps, Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "defaultValue" | "placeholder"> {
4
+ onChange?: (value: string) => void;
5
+ }
6
+ declare const TextInput: import('react').ForwardRefExoticComponent<TextInputProps & import('react').RefAttributes<HTMLInputElement>>;
7
+ export default TextInput;
package/dist/index.d.ts CHANGED
@@ -9,5 +9,6 @@ import { default as Link } from './components/link/Link.tsx';
9
9
  import { default as RadioButton } from './components/radioButton/RadioButton.tsx';
10
10
  import { default as RadioButtonGroup } from './components/radioButtonGroup/RadioButtonGroup.tsx';
11
11
  import { default as SplitButton } from './components/splitButton/SplitButton.tsx';
12
+ import { default as TextInput } from './components/textInput/TextInput.tsx';
12
13
  import { default as Tooltip } from './components/tooltip/Tooltip.tsx';
13
- export { Button, Grid, Checkbox, CheckboxGroup, Link, RadioButton, RadioButtonGroup, Icon, IconButton, IconButtonToggle, SplitButton, Tooltip, };
14
+ export { Button, Grid, Checkbox, CheckboxGroup, Link, RadioButton, RadioButtonGroup, Icon, IconButton, IconButtonToggle, SplitButton, Tooltip, TextInput, };