From 54310244939cf8131fd210ab97d750e784c00af3 Mon Sep 17 00:00:00 2001 From: Marin Atanasov <8436925+tyxla@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:47:22 +0300 Subject: [PATCH] Add hyphen-minus --- packages/components/src/utils/strings.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/components/src/utils/strings.ts b/packages/components/src/utils/strings.ts index 8f002e78e4f2c8..fcafb8b06a1007 100644 --- a/packages/components/src/utils/strings.ts +++ b/packages/components/src/utils/strings.ts @@ -6,6 +6,8 @@ import { paramCase } from 'change-case'; const ALL_UNICODE_DASH_CHARACTERS = new RegExp( `[${ [ + // - (hyphen-minus) + '\u002d', // ~ (tilde) '\u007e', // ­ (soft hyphen)