From 05a020e45985f0194e212f0a61b42adb1a8da11c Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Mon, 6 Nov 2023 22:24:32 -0500 Subject: [PATCH] chore: add console warn to favor `cssStyler` not deprecated `styler` --- lib/src/utils/domUtils.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/utils/domUtils.ts b/lib/src/utils/domUtils.ts index 4cdd02d7f..577ebebb1 100644 --- a/lib/src/utils/domUtils.ts +++ b/lib/src/utils/domUtils.ts @@ -31,6 +31,10 @@ export function applyParsedStyleToElement(elm: HTMLElement, styleStr: string) { (elm as any).style[toCamelCase(styleProp)] = styleVal.trim(); } } + + console.warn( + '[multiple-select-vanilla] Please note that `styler` is deprecated, please migrate to `cssStyler` when possible.' + ); } }