@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.
@@ -11,3 +11,7 @@
11
11
  .MrlTableRow--selected > :global(.MrlTableCell) {
12
12
  background-color: var(--mrl-table-row-background-selected);
13
13
  }
14
+ .MrlTableRow--disabled,
15
+ .MrlTableRow--disabled > :global(.MrlTableCell) {
16
+ color: var(--mrl-color-text-disabled);
17
+ }
@@ -17,7 +17,8 @@ export declare const getElementWithAutofocus: (containerElement: HTMLElement) =>
17
17
  * Adapted from https://hidde.blog/using-javascript-to-trap-focus-in-an-element/
18
18
  *
19
19
  * @param {HTMLElement} element // Element to trap focus in
20
+ * @param {boolean} disableAutofocus // Whether to disable autofocus
20
21
  * @returns {Function} // Cleanup function to be run when component is
21
22
  * // removed from the DOM
22
23
  */
23
- export declare const trapFocus: (element: HTMLElement) => (() => void);
24
+ export declare const trapFocus: (element: HTMLElement, disableAutofocus?: boolean) => (() => void);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "2.55.0",
3
+ "version": "2.56.0",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",