@muraldevkit/ui-toolkit 4.51.2 → 4.52.0-dev-Rqcu.1

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.
@@ -7,3 +7,11 @@
7
7
  * @returns {T} A function that, when invoked, calls both the original event handler (if it exists) and the new event handler.
8
8
  */
9
9
  export declare const curryHandlers: <T extends (...args: any[]) => void>(ogFunc: T | undefined, newFunc: T) => T;
10
+ /**
11
+ * Converts disabled attribute to aria-disabled and adds tabindex
12
+ *
13
+ * For use in the tooltip to ensure tooltip content is available for disabled elements
14
+ * @param props - The element props to modify
15
+ * @returns object - Modified props with aria-disabled and tabindex
16
+ */
17
+ export declare const convertDisabledToAriaDisabled: (props: Record<string, unknown>) => Record<string, unknown>;