letalkui 0.0.33 → 0.0.36
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/chunk-A3GY6EHZ.mjs +1 -0
- package/dist/chunk-A3GY6EHZ.mjs.map +1 -0
- package/dist/chunk-H5XWNBBV.mjs +1 -0
- package/dist/chunk-H5XWNBBV.mjs.map +1 -0
- package/dist/chunk-HOFSR6VC.mjs +1 -0
- package/dist/chunk-HOFSR6VC.mjs.map +1 -0
- package/dist/chunk-I43EFHRF.mjs +1 -0
- package/dist/chunk-I43EFHRF.mjs.map +1 -0
- package/dist/chunk-LDVNO4Y5.mjs +1 -0
- package/dist/chunk-O2ZR5SWN.mjs +1 -0
- package/dist/chunk-O2ZR5SWN.mjs.map +1 -0
- package/dist/chunk-R4BP3J5F.mjs +1 -0
- package/dist/chunk-R4BP3J5F.mjs.map +1 -0
- package/dist/chunk-V5EITRZP.mjs +1 -0
- package/dist/chunk-V5EITRZP.mjs.map +1 -0
- package/dist/chunk-Z35RG7HZ.mjs +1 -0
- package/dist/chunk-Z35RG7HZ.mjs.map +1 -0
- package/dist/components/index.d.mts +46 -43
- package/dist/components/index.d.ts +46 -43
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/index.mjs.map +1 -1
- package/dist/containers/index.d.mts +23 -2
- package/dist/containers/index.d.ts +23 -2
- package/dist/containers/index.js +1 -1
- package/dist/containers/index.js.map +1 -1
- package/dist/containers/index.mjs +1 -1
- package/dist/containers/index.mjs.map +1 -1
- package/dist/index-BJ8Wssop.d.mts +25 -0
- package/dist/index-Q5wndpgY.d.ts +25 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/primitives/index.d.mts +29 -24
- package/dist/primitives/index.d.ts +29 -24
- package/dist/primitives/index.js +1 -1
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/index.mjs +1 -1
- package/dist/primitives/index.mjs.map +1 -1
- package/dist/styles/index.js +1 -1
- package/dist/styles/index.js.map +1 -1
- package/dist/styles/index.mjs +1 -1
- package/dist/styles/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2BRJQ4L5.mjs +0 -1
- package/dist/chunk-2BRJQ4L5.mjs.map +0 -1
- package/dist/chunk-BAWN5SAB.mjs +0 -1
- package/dist/chunk-BAWN5SAB.mjs.map +0 -1
- package/dist/chunk-BPQFVMOU.mjs +0 -1
- package/dist/chunk-BPQFVMOU.mjs.map +0 -1
- package/dist/chunk-KSM7KBI2.mjs +0 -1
- package/dist/chunk-MSYNTFRZ.mjs +0 -1
- package/dist/chunk-MSYNTFRZ.mjs.map +0 -1
- package/dist/chunk-X25G3LWC.mjs +0 -1
- package/dist/chunk-X25G3LWC.mjs.map +0 -1
- package/dist/chunk-XGNCZ3TH.mjs +0 -1
- package/dist/chunk-XGNCZ3TH.mjs.map +0 -1
- package/dist/chunk-YJLRG5U3.mjs +0 -1
- package/dist/chunk-YJLRG5U3.mjs.map +0 -1
- /package/dist/{chunk-KSM7KBI2.mjs.map → chunk-LDVNO4Y5.mjs.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { PrimitiveButtonProps, PrimitiveTextProps } from '../
|
|
2
|
+
import { P as PrimitiveButtonProps, b as PrimitiveTextProps } from '../index-Q5wndpgY.js';
|
|
3
3
|
import { DialogProps, InputProps, SxProps, Theme, AutocompleteProps } from '@mui/material';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { PropsWithChildren, ReactNode } from 'react';
|
|
@@ -14,27 +14,6 @@ declare const Button: {
|
|
|
14
14
|
Ghost: ({ children, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
type BaseTextProps = {
|
|
18
|
-
color?: string;
|
|
19
|
-
fontWeight?: "medium" | "semibold" | "bold" | "regular";
|
|
20
|
-
};
|
|
21
|
-
type TextProps = Omit<PrimitiveTextProps, "variant"> & BaseTextProps;
|
|
22
|
-
type TitleTextProps = TextProps & {
|
|
23
|
-
type: "h1" | "h2" | "h3";
|
|
24
|
-
};
|
|
25
|
-
type DisplayTextProps = TextProps & {
|
|
26
|
-
type: "display1" | "display2";
|
|
27
|
-
};
|
|
28
|
-
type BodyTextProps = TextProps & {
|
|
29
|
-
type: "default" | "large" | "small1" | "small2" | "smaller1" | "smaller2" | "smaller3";
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
declare const Text: {
|
|
33
|
-
Title: (props: TitleTextProps) => react_jsx_runtime.JSX.Element;
|
|
34
|
-
Body: (props: BodyTextProps) => react_jsx_runtime.JSX.Element;
|
|
35
|
-
Display: (props: DisplayTextProps) => react_jsx_runtime.JSX.Element;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
17
|
type TitleProps = PropsWithChildren;
|
|
39
18
|
type HeaderProps = PropsWithChildren;
|
|
40
19
|
type FooterProps = PropsWithChildren;
|
|
@@ -46,9 +25,12 @@ type BaseButtonProps = {
|
|
|
46
25
|
type ConfirmButtonProps = PropsWithChildren<{
|
|
47
26
|
disabled?: boolean;
|
|
48
27
|
startIcon?: ReactNode;
|
|
28
|
+
size?: "small" | "medium" | "large";
|
|
49
29
|
} & BaseButtonProps>;
|
|
50
30
|
type CloseIconButtonProps = BaseButtonProps;
|
|
51
|
-
type CancelButtonProps = PropsWithChildren<
|
|
31
|
+
type CancelButtonProps = PropsWithChildren<{
|
|
32
|
+
size?: "small" | "medium" | "large";
|
|
33
|
+
} & BaseButtonProps>;
|
|
52
34
|
|
|
53
35
|
declare const Dialog: {
|
|
54
36
|
Container: ({ children, open, onClose, maxWidth, fullWidth, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -108,23 +90,13 @@ type InputFieldProps = PrimitiveInputProps & {
|
|
|
108
90
|
};
|
|
109
91
|
};
|
|
110
92
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
};
|
|
93
|
+
declare const Input: {
|
|
94
|
+
CharacterCount: (props: InputCharacterCountProps) => react_jsx_runtime.JSX.Element;
|
|
95
|
+
ErrorText: ({ errorText }: InputErrorTextProps) => react_jsx_runtime.JSX.Element | null;
|
|
96
|
+
Label: ({ label, subLabel, isOptional }: InputLabelProps) => react_jsx_runtime.JSX.Element | null;
|
|
97
|
+
Field: ({ errorText, multiline, characterCount, endAdornment, sx, ...props }: InputFieldProps) => react_jsx_runtime.JSX.Element;
|
|
115
98
|
};
|
|
116
99
|
|
|
117
|
-
declare const TextField: ({ label, subLabel, errorText, isOptional, id, characterCount, ...props }: TextFieldProps) => react_jsx_runtime.JSX.Element;
|
|
118
|
-
|
|
119
|
-
type PrimiveCardProps = PropsWithChildren<{
|
|
120
|
-
elevation?: number;
|
|
121
|
-
sx?: SxProps<Theme>;
|
|
122
|
-
}>;
|
|
123
|
-
|
|
124
|
-
type PortletProps = PrimiveCardProps;
|
|
125
|
-
|
|
126
|
-
declare const Portlet: ({ children, sx, ...props }: PortletProps) => react_jsx_runtime.JSX.Element;
|
|
127
|
-
|
|
128
100
|
declare const Loading: {
|
|
129
101
|
FallbackProvidedSkeleton: React$1.FC<{
|
|
130
102
|
isLoading: boolean;
|
|
@@ -139,6 +111,15 @@ declare const Loading: {
|
|
|
139
111
|
}>;
|
|
140
112
|
};
|
|
141
113
|
|
|
114
|
+
type PrimiveCardProps = PropsWithChildren<{
|
|
115
|
+
elevation?: number;
|
|
116
|
+
sx?: SxProps<Theme>;
|
|
117
|
+
}>;
|
|
118
|
+
|
|
119
|
+
type PortletProps = PrimiveCardProps;
|
|
120
|
+
|
|
121
|
+
declare const Portlet: ({ children, sx, ...props }: PortletProps) => react_jsx_runtime.JSX.Element;
|
|
122
|
+
|
|
142
123
|
type AutocompleteRenderInputParamsType = {
|
|
143
124
|
id: string;
|
|
144
125
|
disabled: boolean;
|
|
@@ -178,11 +159,33 @@ type SelectFieldProps<T, Multiple extends AutocompleteFlag = false, DisableClear
|
|
|
178
159
|
*/
|
|
179
160
|
declare const SelectField: <T, Multiple extends AutocompleteFlag = false, DisableClearable extends AutocompleteFlag = false, FreeSolo extends AutocompleteFlag = false>({ label, subLabel, isOptional, placeholder, startAdornment, isLoading, ...props }: SelectFieldProps<T, Multiple, DisableClearable, FreeSolo>) => react_jsx_runtime.JSX.Element;
|
|
180
161
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
162
|
+
type BaseTextProps = {
|
|
163
|
+
color?: string;
|
|
164
|
+
fontWeight?: "medium" | "semibold" | "bold" | "regular";
|
|
165
|
+
};
|
|
166
|
+
type TextProps = Omit<PrimitiveTextProps, "variant"> & BaseTextProps;
|
|
167
|
+
type TitleTextProps = TextProps & {
|
|
168
|
+
type: "h1" | "h2" | "h3";
|
|
186
169
|
};
|
|
170
|
+
type DisplayTextProps = TextProps & {
|
|
171
|
+
type: "display1" | "display2";
|
|
172
|
+
};
|
|
173
|
+
type BodyTextProps = TextProps & {
|
|
174
|
+
type: "default" | "large" | "small1" | "small2" | "smaller1" | "smaller2" | "smaller3";
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
declare const Text: {
|
|
178
|
+
Title: (props: TitleTextProps) => react_jsx_runtime.JSX.Element;
|
|
179
|
+
Body: (props: BodyTextProps) => react_jsx_runtime.JSX.Element;
|
|
180
|
+
Display: (props: DisplayTextProps) => react_jsx_runtime.JSX.Element;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
type TextFieldProps = InputFieldProps & {
|
|
184
|
+
characterCount?: {
|
|
185
|
+
maxLength: number;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
declare const TextField: ({ label, subLabel, errorText, isOptional, id, characterCount, ...props }: TextFieldProps) => react_jsx_runtime.JSX.Element;
|
|
187
190
|
|
|
188
191
|
export { Button, Dialog, Input, Loading, Portlet, SelectField, Text, TextField };
|