@oc-digital/react-component-library 5.2.0-beta.44 → 5.2.0-beta.45

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.
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * When using this to size inputs, the input must have CSS box-sizing: content-box
5
5
  */
6
- export declare function getTextWidth(text: string, element: HTMLElement): string;
6
+ export declare function getTextWidth(text: string, element: HTMLElement, maxWidth?: number): string;