@kwantis-id3/frontend-library 0.13.6 → 0.14.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.
@@ -15,5 +15,6 @@ export type SliderProps = {
15
15
  autoCalculateMinMax?: boolean;
16
16
  step?: number;
17
17
  disabled?: boolean;
18
+ allowOverlap?: boolean;
18
19
  };
19
20
  export declare const Slider: (props: SliderProps) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export declare const InputContainer: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("..").ThemeContextProps | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const StyledInput: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("..").ThemeContextProps | undefined;
8
+ as?: import("react").ElementType<any> | undefined;
9
+ } & {
10
+ $color: string;
11
+ $isDisabled?: boolean | undefined;
12
+ }, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ThemeColorsExtended } from "../ThemeContext/ThemeContext";
3
+ interface TextFieldProps {
4
+ value?: string;
5
+ onChange?: (value: string) => void;
6
+ placeholder?: string;
7
+ htmlId?: string;
8
+ className?: string;
9
+ isDisabled?: boolean;
10
+ color?: ThemeColorsExtended;
11
+ }
12
+ export declare const TextField: (props: TextFieldProps) => JSX.Element;
13
+ export {};
@@ -0,0 +1 @@
1
+ export { TextField } from "./TextField";
@@ -1,5 +1,6 @@
1
1
  export { Button, ButtonProps } from "./Button";
2
2
  export { ThemeColors, ThemeColorsObject, ThemeContextProps, ThemeContextProvider, useThemeContext, } from "./ThemeContext";
3
3
  export { Accordion, AccordionProps } from "./Accordion";
4
+ export { TextField } from "./TextField";
4
5
  export { SingleSelect, SingleSelectProps, MultiSelect, MultiSelectProps, } from "./SelectFilter";
5
6
  export { Slider, SliderProps } from "./Slider";
package/dist/index.d.ts CHANGED
@@ -68,6 +68,17 @@ type AccordionProps = {
68
68
  };
69
69
  declare const Accordion: (props: AccordionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
70
70
 
71
+ interface TextFieldProps {
72
+ value?: string;
73
+ onChange?: (value: string) => void;
74
+ placeholder?: string;
75
+ htmlId?: string;
76
+ className?: string;
77
+ isDisabled?: boolean;
78
+ color?: ThemeColorsExtended;
79
+ }
80
+ declare const TextField: (props: TextFieldProps) => JSX.Element;
81
+
71
82
  interface SingleSelectProps<Option = {
72
83
  label: string;
73
84
  value: string;
@@ -121,6 +132,7 @@ type SliderProps = {
121
132
  autoCalculateMinMax?: boolean;
122
133
  step?: number;
123
134
  disabled?: boolean;
135
+ allowOverlap?: boolean;
124
136
  };
125
137
  declare const Slider: (props: SliderProps) => JSX.Element;
126
138
 
@@ -162,4 +174,4 @@ interface CreateStyled extends BaseCreateStyled, StyledTags {
162
174
  }
163
175
  declare const styled: CreateStyled;
164
176
 
165
- export { Accordion, AccordionProps, Button, ButtonProps, MultiSelect, MultiSelectProps, SingleSelect, SingleSelectProps, Slider, SliderProps, ThemeColors, ThemeColorsObject, ThemeContextProps, ThemeContextProvider, styled, transientOptions, useThemeContext };
177
+ export { Accordion, AccordionProps, Button, ButtonProps, MultiSelect, MultiSelectProps, SingleSelect, SingleSelectProps, Slider, SliderProps, TextField, ThemeColors, ThemeColorsObject, ThemeContextProps, ThemeContextProvider, styled, transientOptions, useThemeContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwantis-id3/frontend-library",
3
- "version": "0.13.6",
3
+ "version": "0.14.0",
4
4
  "description": "Kwantis frontend components collection",
5
5
  "author": {
6
6
  "name": "kwantis"