@opencxh/ui-kit 3.70.0 → 3.82.0
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1193 -1189
- package/dist/index.js.map +1 -1
- package/dist/src/action/SplitButton.d.ts +1 -1
- package/dist/src/content/PageHeader.d.ts +1 -1
- package/dist/src/content/Table.d.ts +1 -1
- package/dist/src/content/View.d.ts +1 -1
- package/dist/src/error-boundary/index.d.ts +1 -1
- package/dist/src/federated-resource/index.d.ts +1 -1
- package/dist/src/feedback/Badge.d.ts +1 -1
- package/dist/src/feedback/ContentLoading.d.ts +1 -1
- package/dist/src/feedback/Spinner.d.ts +1 -1
- package/dist/src/forms/Form.d.ts +1 -1
- package/dist/src/input/SearchableTextField.d.ts +7 -0
- package/dist/src/meeting/MeetingGrid.d.ts +1 -1
- package/dist/src/meeting/ParticipantTile.d.ts +1 -1
- package/dist/src/meeting/VideoSurface.d.ts +1 -1
- package/dist/src/navigation/Sidebar.d.ts +2 -0
- package/dist/src/overlays/Modal.d.ts +1 -1
- package/dist/src/primitives/Card.d.ts +1 -1
- package/package.json +1 -1
|
@@ -17,4 +17,4 @@ export interface SplitButtonProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* SplitButton component with theme integration and accessibility features
|
|
19
19
|
*/
|
|
20
|
-
export declare function SplitButton({ label, onClick, variant, size, icon, options, disabled, }: SplitButtonProps):
|
|
20
|
+
export declare function SplitButton({ label, onClick, variant, size, icon, options, disabled, }: SplitButtonProps): React.JSX.Element;
|
|
@@ -43,7 +43,7 @@ export interface PageHeaderProps {
|
|
|
43
43
|
/** Callback when title is changed */
|
|
44
44
|
onTitleChange?: (newTitle: string) => void;
|
|
45
45
|
}
|
|
46
|
-
export declare const ChevronLeftIcon: () =>
|
|
46
|
+
export declare const ChevronLeftIcon: () => React.JSX.Element;
|
|
47
47
|
/**
|
|
48
48
|
* PageHeader component for consistent page layouts with title, actions, and breadcrumbs
|
|
49
49
|
*/
|
|
@@ -105,4 +105,4 @@ export interface TableProps<T = any> {
|
|
|
105
105
|
/**
|
|
106
106
|
* High-performance Table component with sorting, pagination, search, and custom renderers
|
|
107
107
|
*/
|
|
108
|
-
export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, filters, paginated, pageSizeOptions, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, hoverable, bordered, striped, className, rowClassName, }: TableProps<T>) =>
|
|
108
|
+
export declare const Table: <T extends Record<string, any>>({ data, columns, loading, searchable, searchPlaceholder, filters, paginated, pageSizeOptions, defaultPageSize, actions, onRowClick, selectable, selectedRows, onSelectionChange, getRowKey, emptyContent, hoverable, bordered, striped, className, rowClassName, }: TableProps<T>) => React.JSX.Element;
|
|
@@ -62,5 +62,5 @@ export interface ViewProps<T = Record<string, any>> {
|
|
|
62
62
|
* Generic View component with groups and conditional rendering
|
|
63
63
|
* Displays data in a read-only format matching the Form component layout
|
|
64
64
|
*/
|
|
65
|
-
export declare const View: <T extends Record<string, any>>({ groups, data, size, className, }: ViewProps<T>) =>
|
|
65
|
+
export declare const View: <T extends Record<string, any>>({ groups, data, size, className, }: ViewProps<T>) => React.JSX.Element;
|
|
66
66
|
export {};
|
|
@@ -12,6 +12,6 @@ export declare class ErrorBoundary extends Component<Props, State> {
|
|
|
12
12
|
state: State;
|
|
13
13
|
static getDerivedStateFromError(error: Error): State;
|
|
14
14
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
15
|
-
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react
|
|
15
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -7,5 +7,5 @@ interface FederatedResourceProps {
|
|
|
7
7
|
componentProps?: Record<string, any>;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function FederatedResource({ identifier, resourceLoader, framework, fallback, componentProps, className, }: FederatedResourceProps):
|
|
10
|
+
export declare function FederatedResource({ identifier, resourceLoader, framework, fallback, componentProps, className, }: FederatedResourceProps): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -45,4 +45,4 @@ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
45
45
|
* </Badge>
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
|
-
export declare function Badge({ variant, size, dot, icon, dismissible, onDismiss, className, children, ...props }: BadgeProps):
|
|
48
|
+
export declare function Badge({ variant, size, dot, icon, dismissible, onDismiss, className, children, ...props }: BadgeProps): React.JSX.Element;
|
|
@@ -17,5 +17,5 @@ interface ContentLoadingProps {
|
|
|
17
17
|
*/
|
|
18
18
|
tableRows?: number;
|
|
19
19
|
}
|
|
20
|
-
export declare function ContentLoading({ children, showTableSkeleton, tableColumns, tableRows, }: ContentLoadingProps): import("react
|
|
20
|
+
export declare function ContentLoading({ children, showTableSkeleton, tableColumns, tableRows, }: ContentLoadingProps): import("react").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -29,4 +29,4 @@ export interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
29
29
|
* <Spinner size="sm" variant="white" />
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
export declare function Spinner({ size, variant, label, showLabel, className, ...props }: SpinnerProps):
|
|
32
|
+
export declare function Spinner({ size, variant, label, showLabel, className, ...props }: SpinnerProps): React.JSX.Element;
|
package/dist/src/forms/Form.d.ts
CHANGED
|
@@ -123,5 +123,5 @@ export interface FormProps<T = Record<string, any>> {
|
|
|
123
123
|
/**
|
|
124
124
|
* Generic Form component with groups, validation, and conditional rendering
|
|
125
125
|
*/
|
|
126
|
-
export declare const Form: <T extends Record<string, any>>({ groups, data: externalData, onSubmit, onCancel, onChange, transform, validate, submitButton, cancelButton, showButtons, layout, size, loading, className, ref, sdk, }: FormProps<T>) =>
|
|
126
|
+
export declare const Form: <T extends Record<string, any>>({ groups, data: externalData, onSubmit, onCancel, onChange, transform, validate, submitButton, cancelButton, showButtons, layout, size, loading, className, ref, sdk, }: FormProps<T>) => React.JSX.Element;
|
|
127
127
|
export {};
|
|
@@ -17,5 +17,12 @@ export interface SearchableTextFieldProps extends Omit<React.InputHTMLAttributes
|
|
|
17
17
|
onRemoteSearch?: (searchTerm: string) => Promise<void>;
|
|
18
18
|
onSelect?: (value: string) => void;
|
|
19
19
|
debounceTime?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Selector-modus: toon bij openen (focus/chevron) álle opties, ook wanneer de
|
|
22
|
+
* huidige waarde een reeds geselecteerde optie is. Pas zodra de gebruiker zelf
|
|
23
|
+
* typt wordt er gefilterd. Handig wanneer het veld eerder een keuzelijst is dan
|
|
24
|
+
* een vrije zoekopdracht (bv. een afzender-selector).
|
|
25
|
+
*/
|
|
26
|
+
showAllOnOpen?: boolean;
|
|
20
27
|
}
|
|
21
28
|
export declare const SearchableTextField: React.ForwardRefExoticComponent<SearchableTextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -9,4 +9,4 @@ export interface MeetingGridProps {
|
|
|
9
9
|
* dominant area and remaining tiles render in a sidebar/strip. Otherwise tiles
|
|
10
10
|
* flow in an auto-sized grid.
|
|
11
11
|
*/
|
|
12
|
-
export declare function MeetingGrid({ tiles, pinned, className }: MeetingGridProps): import("react
|
|
12
|
+
export declare function MeetingGrid({ tiles, pinned, className }: MeetingGridProps): import("react").JSX.Element;
|
|
@@ -13,4 +13,4 @@ export interface ParticipantTileProps {
|
|
|
13
13
|
* available; otherwise renders the `videoSlot` passed by the caller (typically
|
|
14
14
|
* a <VideoSurface /> wired to a provider-specific stream renderer).
|
|
15
15
|
*/
|
|
16
|
-
export declare function ParticipantTile({ name, avatarUrl, muted, speaking, hasVideo, videoSlot, className, }: ParticipantTileProps): import("react
|
|
16
|
+
export declare function ParticipantTile({ name, avatarUrl, muted, speaking, hasVideo, videoSlot, className, }: ParticipantTileProps): import("react").JSX.Element;
|
|
@@ -13,4 +13,4 @@ export interface VideoSurfaceProps {
|
|
|
13
13
|
* Provider-agnostic video tile surface. Owns the DOM slot; the caller wires
|
|
14
14
|
* their SDK's renderer to it via `attach`.
|
|
15
15
|
*/
|
|
16
|
-
export declare function VideoSurface({ attach, active, mirrored, className }: VideoSurfaceProps): import("react
|
|
16
|
+
export declare function VideoSurface({ attach, active, mirrored, className }: VideoSurfaceProps): import("react").JSX.Element;
|
|
@@ -79,4 +79,4 @@ export interface ModalProps {
|
|
|
79
79
|
* </Modal>
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
export declare function Modal({ open, onClose, title, size, closeOnBackdropClick, closeOnEscape, className, backdropClassName, children, footer, showCloseButton, }: ModalProps):
|
|
82
|
+
export declare function Modal({ open, onClose, title, size, closeOnBackdropClick, closeOnEscape, className, backdropClassName, children, footer, showCloseButton, }: ModalProps): React.JSX.Element | null;
|
|
@@ -3,4 +3,4 @@ export interface CardProps extends BoxProps {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
title?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const Card: ({ children, title, ...props }: CardProps) => import("react
|
|
6
|
+
export declare const Card: ({ children, title, ...props }: CardProps) => import("react").JSX.Element;
|