@muraldevkit/ui-toolkit 2.55.0 → 2.56.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.
@@ -8,6 +8,10 @@ interface PropTypes {
8
8
  * Specifies whether the focus trap should be disabled
9
9
  */
10
10
  disabled?: boolean;
11
+ /**
12
+ * Disable autofocus
13
+ */
14
+ disableAutofocus?: boolean;
11
15
  /**
12
16
  * Focus trap container reference. Can be used to specify a custom container if a ref is already available
13
17
  */
@@ -22,5 +26,5 @@ interface PropTypes {
22
26
  * @param { React.RefObject<HTMLElement>} props.containerRef - Focus trap container reference
23
27
  * @returns {React.ReactElement} - The rendered FocusTrap component.
24
28
  */
25
- export declare const MrlFocusTrap: ({ children, disabled, containerRef }: PropTypes) => JSX.Element;
29
+ export declare const MrlFocusTrap: ({ children, disabled, disableAutofocus, containerRef }: PropTypes) => JSX.Element;
26
30
  export {};
@@ -53,6 +53,10 @@ export interface MrlTableItem extends Record<string, unknown> {
53
53
  * This makes the row item not selectable.
54
54
  */
55
55
  isSelectable?: boolean;
56
+ /**
57
+ * This makes the row item visually disabled.
58
+ */
59
+ isDisabled?: boolean;
56
60
  }
57
61
  export type MrlTableColumnSticky = 'left' | 'right';
58
62
  export interface MrlSmartTableColumn {
@@ -30,6 +30,19 @@ export declare const SAMPLE_ITEMS_WITH_NON_SELECTABLE_ITEM: ({
30
30
  name: string;
31
31
  type: string;
32
32
  })[];
33
+ export declare const SAMPLE_ITEMS_WITH_DISABLED_ITEM: ({
34
+ dateModified: string;
35
+ id: string;
36
+ name: string;
37
+ type: string;
38
+ isDisabled?: undefined;
39
+ } | {
40
+ dateModified: string;
41
+ id: string;
42
+ isDisabled: boolean;
43
+ name: string;
44
+ type: string;
45
+ })[];
33
46
  export declare const SAMPLE_STICKY_COLUMNS: ({
34
47
  allowsSorting: boolean;
35
48
  id: string;