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)