@chekinapp/ui 0.0.3 → 0.0.4
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 +343 -329
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +347 -333
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1716,7 +1716,7 @@ interface SelectProps extends React$1.ComponentPropsWithoutRef<typeof RadixSelec
|
|
|
1716
1716
|
* Convenience wrapper that renders a full labelled Select with trigger + content.
|
|
1717
1717
|
* For advanced compositions, use the exported primitives directly.
|
|
1718
1718
|
*/
|
|
1719
|
-
declare const Select:
|
|
1719
|
+
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1720
1720
|
|
|
1721
1721
|
type SelectOption<D = unknown, V extends string | number | boolean = string, L extends string | number | ReactNode = string> = {
|
|
1722
1722
|
label: L;
|
|
@@ -2229,7 +2229,7 @@ type DatePickerProps = {
|
|
|
2229
2229
|
doneLabel?: string;
|
|
2230
2230
|
formatValue?: (date: Date) => string;
|
|
2231
2231
|
};
|
|
2232
|
-
declare
|
|
2232
|
+
declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2233
2233
|
|
|
2234
2234
|
declare function Drawer({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
2235
2235
|
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -2377,7 +2377,7 @@ type PhoneFieldProps = {
|
|
|
2377
2377
|
mobileTitle?: string;
|
|
2378
2378
|
codePlaceholder?: string;
|
|
2379
2379
|
};
|
|
2380
|
-
declare
|
|
2380
|
+
declare const PhoneField: React$1.ForwardRefExoticComponent<PhoneFieldProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2381
2381
|
|
|
2382
2382
|
type SelectValue = string | number;
|
|
2383
2383
|
type SelectRenderTriggerProps<T = undefined, V extends SelectValue = string, L extends string | number | React$1.ReactNode = string> = {
|
|
@@ -2393,7 +2393,7 @@ type SelectRenderTriggerProps<T = undefined, V extends SelectValue = string, L e
|
|
|
2393
2393
|
error?: string;
|
|
2394
2394
|
listboxId: string;
|
|
2395
2395
|
describedBy?: string;
|
|
2396
|
-
triggerRef: React$1.
|
|
2396
|
+
triggerRef: React$1.Ref<HTMLButtonElement>;
|
|
2397
2397
|
onClick: () => void;
|
|
2398
2398
|
onKeyDown: React$1.KeyboardEventHandler<HTMLButtonElement>;
|
|
2399
2399
|
};
|
|
@@ -2419,7 +2419,9 @@ type AirbnbSelectProps<T = undefined, V extends SelectValue = string, L extends
|
|
|
2419
2419
|
noOptionsMessage?: () => string | undefined;
|
|
2420
2420
|
};
|
|
2421
2421
|
|
|
2422
|
-
declare
|
|
2422
|
+
declare const AirbnbSelect: <T = undefined, V extends SelectValue = string, L extends string | number | ReactNode = string>(props: AirbnbSelectProps<T, V, L> & {
|
|
2423
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
2424
|
+
}) => React$1.ReactElement;
|
|
2423
2425
|
|
|
2424
2426
|
type AirbnbSearchInputProps = ComponentProps<'input'> & {
|
|
2425
2427
|
onReset?: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1716,7 +1716,7 @@ interface SelectProps extends React$1.ComponentPropsWithoutRef<typeof RadixSelec
|
|
|
1716
1716
|
* Convenience wrapper that renders a full labelled Select with trigger + content.
|
|
1717
1717
|
* For advanced compositions, use the exported primitives directly.
|
|
1718
1718
|
*/
|
|
1719
|
-
declare const Select:
|
|
1719
|
+
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1720
1720
|
|
|
1721
1721
|
type SelectOption<D = unknown, V extends string | number | boolean = string, L extends string | number | ReactNode = string> = {
|
|
1722
1722
|
label: L;
|
|
@@ -2229,7 +2229,7 @@ type DatePickerProps = {
|
|
|
2229
2229
|
doneLabel?: string;
|
|
2230
2230
|
formatValue?: (date: Date) => string;
|
|
2231
2231
|
};
|
|
2232
|
-
declare
|
|
2232
|
+
declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2233
2233
|
|
|
2234
2234
|
declare function Drawer({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
2235
2235
|
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -2377,7 +2377,7 @@ type PhoneFieldProps = {
|
|
|
2377
2377
|
mobileTitle?: string;
|
|
2378
2378
|
codePlaceholder?: string;
|
|
2379
2379
|
};
|
|
2380
|
-
declare
|
|
2380
|
+
declare const PhoneField: React$1.ForwardRefExoticComponent<PhoneFieldProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2381
2381
|
|
|
2382
2382
|
type SelectValue = string | number;
|
|
2383
2383
|
type SelectRenderTriggerProps<T = undefined, V extends SelectValue = string, L extends string | number | React$1.ReactNode = string> = {
|
|
@@ -2393,7 +2393,7 @@ type SelectRenderTriggerProps<T = undefined, V extends SelectValue = string, L e
|
|
|
2393
2393
|
error?: string;
|
|
2394
2394
|
listboxId: string;
|
|
2395
2395
|
describedBy?: string;
|
|
2396
|
-
triggerRef: React$1.
|
|
2396
|
+
triggerRef: React$1.Ref<HTMLButtonElement>;
|
|
2397
2397
|
onClick: () => void;
|
|
2398
2398
|
onKeyDown: React$1.KeyboardEventHandler<HTMLButtonElement>;
|
|
2399
2399
|
};
|
|
@@ -2419,7 +2419,9 @@ type AirbnbSelectProps<T = undefined, V extends SelectValue = string, L extends
|
|
|
2419
2419
|
noOptionsMessage?: () => string | undefined;
|
|
2420
2420
|
};
|
|
2421
2421
|
|
|
2422
|
-
declare
|
|
2422
|
+
declare const AirbnbSelect: <T = undefined, V extends SelectValue = string, L extends string | number | ReactNode = string>(props: AirbnbSelectProps<T, V, L> & {
|
|
2423
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
2424
|
+
}) => React$1.ReactElement;
|
|
2423
2425
|
|
|
2424
2426
|
type AirbnbSearchInputProps = ComponentProps<'input'> & {
|
|
2425
2427
|
onReset?: () => void;
|