@modul/mbui 0.0.37-beta-select-a2763cb3 → 0.0.37-beta-select-a2bf666d

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.
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "onComplete" | "textAlign" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
2
+ declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "textAlign" | "maxLength" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
3
3
  value?: string;
4
4
  onChange?: (newValue: string) => unknown;
5
5
  maxLength: number;
6
- textAlign?: "center" | "right" | "left";
6
+ textAlign?: "left" | "right" | "center";
7
7
  onComplete?: (...args: any[]) => unknown;
8
8
  pushPasswordManagerStrategy?: "none" | "increase-width";
9
9
  containerClassName?: string;
@@ -11,11 +11,11 @@ declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputH
11
11
  } & {
12
12
  render: (props: import("input-otp").RenderProps) => React.ReactNode;
13
13
  children?: never;
14
- } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "onComplete" | "textAlign" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
14
+ } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "textAlign" | "maxLength" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
15
15
  value?: string;
16
16
  onChange?: (newValue: string) => unknown;
17
17
  maxLength: number;
18
- textAlign?: "center" | "right" | "left";
18
+ textAlign?: "left" | "right" | "center";
19
19
  onComplete?: (...args: any[]) => unknown;
20
20
  pushPasswordManagerStrategy?: "none" | "increase-width";
21
21
  containerClassName?: string;
@@ -1,31 +1,3 @@
1
- import * as React from 'react';
2
- import { Drawer as DrawerPrimitive } from 'vaul';
3
- interface IProps {
4
- onChange?: any;
5
- value?: any;
6
- defaultValue?: () => void;
7
- }
8
- declare const SelectDrawer: {
9
- ({ onChange, value, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root> & IProps): React.JSX.Element;
10
- displayName: string;
11
- };
12
- declare const SelectDrawerTrigger: typeof DrawerPrimitive.Trigger;
13
- declare const SelectDrawerClose: typeof DrawerPrimitive.Close;
14
- declare const SelectDrawerTitle: typeof DrawerPrimitive.Title;
15
- declare const SelectDrawerContent: typeof DrawerPrimitive.Content;
16
- declare const SelectDrawerValue: {
17
- ({ className, placeholder, valueRenderer }: {
18
- className: any;
19
- placeholder: any;
20
- valueRenderer: any;
21
- }): React.JSX.Element;
22
- displayName: string;
23
- };
24
- declare const SelectDrawerOption: {
25
- ({ option, optionRenderer }: {
26
- option: any;
27
- optionRenderer: any;
28
- }): React.JSX.Element;
29
- displayName: string;
30
- };
31
- export { SelectDrawer, SelectDrawerTrigger, SelectDrawerContent, SelectDrawerTitle, SelectDrawerClose, SelectDrawerOption, SelectDrawerValue };
1
+ import React from 'react';
2
+ declare const SelectDrawer: (props: any) => React.JSX.Element;
3
+ export { SelectDrawer };
@@ -3,5 +3,4 @@ export { SelectAccount } from './SelectAccount';
3
3
  export { SelectAsync } from './SelectAsync';
4
4
  export { SelectBase } from './SelectBase';
5
5
  export { Select } from './Select';
6
- export { SelectDrawer, SelectDrawerTrigger, SelectDrawerContent, SelectDrawerTitle, SelectDrawerOption, SelectDrawerValue } from './SelectDrawer';
7
- export { SelectDrawer2 } from './SelectDrawer2';
6
+ export { SelectDrawer } from './SelectDrawer';