@chekinapp/ui 0.0.113 → 0.0.115
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.cjs +234 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +212 -122
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentProps, ReactElement, InputHTMLAttributes, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ForwardedRef, Ref, ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, RefObject, RefCallback, ChangeEvent, TextareaHTMLAttributes } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentProps, ReactElement, InputHTMLAttributes, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ForwardedRef, Ref, ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, RefObject, UIEvent, RefCallback, ChangeEvent, TextareaHTMLAttributes } from 'react';
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -2967,6 +2967,7 @@ type ControlProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
|
2967
2967
|
clearLabel?: string;
|
|
2968
2968
|
hideIndicator?: boolean;
|
|
2969
2969
|
autoFocus?: boolean;
|
|
2970
|
+
leftIcon?: ReactNode;
|
|
2970
2971
|
components: SelectComponents<T, V, L>;
|
|
2971
2972
|
};
|
|
2972
2973
|
type MenuListProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
@@ -2991,6 +2992,7 @@ type MenuListProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
|
2991
2992
|
inputValue?: string;
|
|
2992
2993
|
formatOptionLabel?: SelectFormatOptionLabel<T, V, L>;
|
|
2993
2994
|
isOptionSelected?: SelectIsOptionSelected<T, V, L>;
|
|
2995
|
+
onMenuScrollToBottom?: (event: UIEvent<HTMLDivElement>) => void;
|
|
2994
2996
|
components: SelectComponents<T, V, L>;
|
|
2995
2997
|
};
|
|
2996
2998
|
type OptionProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
@@ -3068,6 +3070,8 @@ type BaseSelectProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
|
3068
3070
|
onInputChange?: (value: string) => void;
|
|
3069
3071
|
searchPosition?: 'trigger' | 'dropdown';
|
|
3070
3072
|
menuHeader?: React$1.ReactNode;
|
|
3073
|
+
onMenuScrollToBottom?: (event: React$1.UIEvent<HTMLDivElement>) => void;
|
|
3074
|
+
leftIcon?: React$1.ReactNode;
|
|
3071
3075
|
};
|
|
3072
3076
|
type SingleSelectProps<T, V extends SelectValue$1, L extends ReactNode> = BaseSelectProps<T, V, L> & {
|
|
3073
3077
|
isMulti?: false;
|
|
@@ -3436,7 +3440,7 @@ type SelectIconsBoxProps = {
|
|
|
3436
3440
|
className?: string;
|
|
3437
3441
|
boxClassName?: string;
|
|
3438
3442
|
};
|
|
3439
|
-
declare
|
|
3443
|
+
declare const SelectIconsBox: React$1.ForwardRefExoticComponent<SelectIconsBoxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3440
3444
|
|
|
3441
3445
|
declare function copyToClipboard(value: string | number): void;
|
|
3442
3446
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentProps, ReactElement, InputHTMLAttributes, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ForwardedRef, Ref, ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, RefObject, RefCallback, ChangeEvent, TextareaHTMLAttributes } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentProps, ReactElement, InputHTMLAttributes, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ForwardedRef, Ref, ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, RefObject, UIEvent, RefCallback, ChangeEvent, TextareaHTMLAttributes } from 'react';
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -2967,6 +2967,7 @@ type ControlProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
|
2967
2967
|
clearLabel?: string;
|
|
2968
2968
|
hideIndicator?: boolean;
|
|
2969
2969
|
autoFocus?: boolean;
|
|
2970
|
+
leftIcon?: ReactNode;
|
|
2970
2971
|
components: SelectComponents<T, V, L>;
|
|
2971
2972
|
};
|
|
2972
2973
|
type MenuListProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
@@ -2991,6 +2992,7 @@ type MenuListProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
|
2991
2992
|
inputValue?: string;
|
|
2992
2993
|
formatOptionLabel?: SelectFormatOptionLabel<T, V, L>;
|
|
2993
2994
|
isOptionSelected?: SelectIsOptionSelected<T, V, L>;
|
|
2995
|
+
onMenuScrollToBottom?: (event: UIEvent<HTMLDivElement>) => void;
|
|
2994
2996
|
components: SelectComponents<T, V, L>;
|
|
2995
2997
|
};
|
|
2996
2998
|
type OptionProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
@@ -3068,6 +3070,8 @@ type BaseSelectProps<T, V extends SelectValue$1, L extends ReactNode> = {
|
|
|
3068
3070
|
onInputChange?: (value: string) => void;
|
|
3069
3071
|
searchPosition?: 'trigger' | 'dropdown';
|
|
3070
3072
|
menuHeader?: React$1.ReactNode;
|
|
3073
|
+
onMenuScrollToBottom?: (event: React$1.UIEvent<HTMLDivElement>) => void;
|
|
3074
|
+
leftIcon?: React$1.ReactNode;
|
|
3071
3075
|
};
|
|
3072
3076
|
type SingleSelectProps<T, V extends SelectValue$1, L extends ReactNode> = BaseSelectProps<T, V, L> & {
|
|
3073
3077
|
isMulti?: false;
|
|
@@ -3436,7 +3440,7 @@ type SelectIconsBoxProps = {
|
|
|
3436
3440
|
className?: string;
|
|
3437
3441
|
boxClassName?: string;
|
|
3438
3442
|
};
|
|
3439
|
-
declare
|
|
3443
|
+
declare const SelectIconsBox: React$1.ForwardRefExoticComponent<SelectIconsBoxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3440
3444
|
|
|
3441
3445
|
declare function copyToClipboard(value: string | number): void;
|
|
3442
3446
|
|