@annatarhe/lake-ui 0.0.7 → 0.0.8

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.
package/dist/index.d.ts CHANGED
@@ -1,10 +1,30 @@
1
+ import { default as default_2 } from 'react';
1
2
  import { JSX } from 'react';
3
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
2
4
 
3
5
  export declare function Card(): JSX.Element;
4
6
 
5
- export declare function Modal(props: Props): JSX.Element | null;
7
+ export declare function InputField(props: Props): JSX_2.Element;
6
8
 
7
- declare type Props = {
9
+ export declare function Modal(props: Props_2): JSX.Element | null;
10
+
11
+ export declare function NavbarContainer(props: Props_3): JSX_2.Element;
12
+
13
+ export declare function NumberField(props: NumberFieldProps): JSX_2.Element;
14
+
15
+ export declare namespace NumberField {
16
+ var displayName: string;
17
+ }
18
+
19
+ declare interface NumberFieldProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
20
+ label: string;
21
+ disabled?: boolean;
22
+ ref?: default_2.Ref<HTMLInputElement>;
23
+ }
24
+
25
+ declare type Props = React.InputHTMLAttributes<HTMLInputElement>;
26
+
27
+ declare type Props_2 = {
8
28
  selector?: string;
9
29
  title: string | React.ReactNode;
10
30
  isOpen: boolean;
@@ -12,4 +32,35 @@ declare type Props = {
12
32
  children: React.ReactNode;
13
33
  };
14
34
 
35
+ declare type Props_3 = {
36
+ children: React.ReactNode;
37
+ };
38
+
39
+ declare type Props_4 = {
40
+ label: string;
41
+ loading: boolean;
42
+ value: boolean;
43
+ onChange: (value: boolean) => Promise<unknown>;
44
+ children?: default_2.ReactNode;
45
+ disabled?: boolean;
46
+ };
47
+
48
+ export declare function SelectField(props: SelectFieldProps): JSX_2.Element;
49
+
50
+ declare interface SelectFieldProps extends default_2.SelectHTMLAttributes<HTMLSelectElement> {
51
+ label: string;
52
+ options: Array<{
53
+ value: string;
54
+ label: string;
55
+ }>;
56
+ ref: default_2.Ref<HTMLSelectElement>;
57
+ }
58
+
59
+ export declare function SwitchField(props: Props_4): JSX_2.Element;
60
+
15
61
  export { }
62
+
63
+
64
+ declare namespace NumberField {
65
+ var displayName: string;
66
+ }