Comparing version 2.4.1 to 2.4.2
/** | ||
* fitty v2.4.0 - Snugly resizes text to fit its parent container | ||
* fitty v2.4.2 - Snugly resizes text to fit its parent container | ||
* Copyright (c) 2023 Rik Schennink <rik@pqina.nl> (https://pqina.nl/) | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* fitty v2.4.0 - Snugly resizes text to fit its parent container | ||
* fitty v2.4.2 - Snugly resizes text to fit its parent container | ||
* Copyright (c) 2023 Rik Schennink <rik@pqina.nl> (https://pqina.nl/) | ||
@@ -4,0 +4,0 @@ */ |
@@ -9,6 +9,2 @@ declare module 'fitty' { | ||
function fitty(el: HTMLElement, options?: FittyOptions): FittyInstance; | ||
function fitty(el: string, options?: FittyOptions): FittyInstance[]; | ||
export default fitty; | ||
export interface FitOptions { | ||
@@ -25,2 +21,13 @@ sync?: boolean; | ||
} | ||
function fitty(el: HTMLElement, options?: FittyOptions): FittyInstance; | ||
function fitty(el: string, options?: FittyOptions): FittyInstance[]; | ||
declare namespace fitty { | ||
let observeWindow: boolean; | ||
let observeWindowDelay: number; | ||
const fitAll: (options?: FittyOptions) => void; | ||
} | ||
export default fitty; | ||
} |
{ | ||
"name": "fitty", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Snugly resizes text to fit its parent container", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31978
108