letalkui 0.0.34 → 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.
Files changed (67) hide show
  1. package/dist/chunk-A3GY6EHZ.mjs +1 -0
  2. package/dist/chunk-A3GY6EHZ.mjs.map +1 -0
  3. package/dist/chunk-H5XWNBBV.mjs +1 -0
  4. package/dist/chunk-H5XWNBBV.mjs.map +1 -0
  5. package/dist/{chunk-NSB3MFMP.mjs → chunk-HOFSR6VC.mjs} +1 -1
  6. package/dist/chunk-HOFSR6VC.mjs.map +1 -0
  7. package/dist/chunk-I43EFHRF.mjs +1 -0
  8. package/dist/chunk-I43EFHRF.mjs.map +1 -0
  9. package/dist/chunk-LDVNO4Y5.mjs +1 -0
  10. package/dist/chunk-O2ZR5SWN.mjs +1 -0
  11. package/dist/chunk-O2ZR5SWN.mjs.map +1 -0
  12. package/dist/chunk-R4BP3J5F.mjs +1 -0
  13. package/dist/chunk-R4BP3J5F.mjs.map +1 -0
  14. package/dist/chunk-V5EITRZP.mjs +1 -0
  15. package/dist/chunk-V5EITRZP.mjs.map +1 -0
  16. package/dist/chunk-Z35RG7HZ.mjs +1 -0
  17. package/dist/chunk-Z35RG7HZ.mjs.map +1 -0
  18. package/dist/components/index.d.mts +46 -43
  19. package/dist/components/index.d.ts +46 -43
  20. package/dist/components/index.js +1 -1
  21. package/dist/components/index.js.map +1 -1
  22. package/dist/components/index.mjs +1 -1
  23. package/dist/components/index.mjs.map +1 -1
  24. package/dist/containers/index.d.mts +23 -2
  25. package/dist/containers/index.d.ts +23 -2
  26. package/dist/containers/index.js +1 -1
  27. package/dist/containers/index.js.map +1 -1
  28. package/dist/containers/index.mjs +1 -1
  29. package/dist/containers/index.mjs.map +1 -1
  30. package/dist/index-BJ8Wssop.d.mts +25 -0
  31. package/dist/index-Q5wndpgY.d.ts +25 -0
  32. package/dist/index.d.mts +3 -2
  33. package/dist/index.d.ts +3 -2
  34. package/dist/index.js +1 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +1 -1
  37. package/dist/index.mjs.map +1 -1
  38. package/dist/primitives/index.d.mts +29 -24
  39. package/dist/primitives/index.d.ts +29 -24
  40. package/dist/primitives/index.js +1 -1
  41. package/dist/primitives/index.js.map +1 -1
  42. package/dist/primitives/index.mjs +1 -1
  43. package/dist/primitives/index.mjs.map +1 -1
  44. package/dist/styles/index.mjs +1 -1
  45. package/dist/styles/index.mjs.map +1 -1
  46. package/dist/utils/index.d.mts +2 -1
  47. package/dist/utils/index.d.ts +2 -1
  48. package/dist/utils/index.js +1 -1
  49. package/dist/utils/index.js.map +1 -1
  50. package/dist/utils/index.mjs +1 -1
  51. package/dist/utils/index.mjs.map +1 -1
  52. package/package.json +1 -1
  53. package/dist/chunk-5JHCG3CK.mjs +0 -1
  54. package/dist/chunk-5JHCG3CK.mjs.map +0 -1
  55. package/dist/chunk-BPQFVMOU.mjs +0 -1
  56. package/dist/chunk-BPQFVMOU.mjs.map +0 -1
  57. package/dist/chunk-CC37R46Y.mjs +0 -1
  58. package/dist/chunk-CC37R46Y.mjs.map +0 -1
  59. package/dist/chunk-KSM7KBI2.mjs +0 -1
  60. package/dist/chunk-NSB3MFMP.mjs.map +0 -1
  61. package/dist/chunk-XGNCZ3TH.mjs +0 -1
  62. package/dist/chunk-XGNCZ3TH.mjs.map +0 -1
  63. package/dist/chunk-YJLRG5U3.mjs +0 -1
  64. package/dist/chunk-YJLRG5U3.mjs.map +0 -1
  65. package/dist/chunk-ZUWUMXVJ.mjs +0 -1
  66. package/dist/chunk-ZUWUMXVJ.mjs.map +0 -1
  67. /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 '../primitives/index.js';
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<BaseButtonProps>;
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
- type TextFieldProps = InputFieldProps & {
112
- characterCount?: {
113
- maxLength: number;
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
- declare const Input: {
182
- CharacterCount: (props: InputCharacterCountProps) => react_jsx_runtime.JSX.Element;
183
- ErrorText: ({ errorText }: InputErrorTextProps) => react_jsx_runtime.JSX.Element | null;
184
- Label: ({ label, subLabel, isOptional }: InputLabelProps) => react_jsx_runtime.JSX.Element | null;
185
- Field: ({ errorText, multiline, characterCount, endAdornment, sx, ...props }: InputFieldProps) => react_jsx_runtime.JSX.Element;
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 };