@segmentify/ui 0.0.51 → 0.0.52
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/components/atoms/dialog.d.ts +1 -1
- package/dist/components/atoms/select.d.ts +1 -1
- package/dist/components/organisms/form-checkbox.d.ts +0 -1
- package/dist/hooks/use-popup-layer-z-index.d.ts +1 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/providers/popup-layer-provider.d.ts +1 -0
- package/dist/segmentify-ui.cjs +49 -49
- package/dist/segmentify-ui.js +4741 -4717
- package/dist/ui.css +3 -0
- package/package.json +1 -1
- package/dist/components/atoms/iphone-15.d.ts +0 -2
- package/dist/components/atoms/preview-single-button.d.ts +0 -6
- package/dist/components/molecules/confirmation-dialog.d.ts +0 -24
- package/dist/components/molecules/preview-sms.d.ts +0 -5
- package/dist/components/molecules/whatsapp-message.d.ts +0 -15
|
@@ -5,7 +5,7 @@ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogP
|
|
|
5
5
|
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function DialogContent({ className, children, showCloseButton, overlayClassName, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
8
|
+
declare function DialogContent({ className, children, showCloseButton, overlayClassName, ref, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
10
|
overlayClassName?: string;
|
|
11
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,7 +9,7 @@ declare function SelectTrigger({ className, size, children, ...props }: React.Co
|
|
|
9
9
|
type SelectContentProps = React.ComponentProps<typeof SelectPrimitive.Content> & {
|
|
10
10
|
isPortal?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare function SelectContent({ className, children, position, isPortal, align, ...props }: SelectContentProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function SelectContent({ className, children, position, isPortal, align, style, ...props }: SelectContentProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,6 @@ type FormCheckboxProps<TFieldValues extends FieldValues = FieldValues> = {
|
|
|
4
4
|
control?: Control<TFieldValues>;
|
|
5
5
|
label: string;
|
|
6
6
|
formClassName?: string;
|
|
7
|
-
containerClassName?: string;
|
|
8
7
|
};
|
|
9
8
|
export declare const FormCheckbox: <TFieldValues extends FieldValues = FieldValues>({ name, control, formClassName, ...props }: FormCheckboxProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const usePopupLayerZIndex: () => number | undefined;
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { type ClassValue } from 'clsx';
|
|
2
3
|
import { type FormatOptions } from 'date-fns';
|
|
3
4
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
5
|
+
export declare function mergeRefs<T>(...refs: (React.Ref<T> | undefined)[]): React.RefCallback<T>;
|
|
4
6
|
/**
|
|
5
7
|
* Formats a Date object into a localized string using date-fns.
|
|
6
8
|
* Falls back to formatting the current date if the provided date is invalid.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PopupLayerContext: import("react").Context<number | undefined>;
|