From 041693ef7640e54b17f5190a1a81544782926c83 Mon Sep 17 00:00:00 2001 From: Nikhil Tomar Date: Mon, 17 Jun 2024 19:46:53 +0530 Subject: [PATCH 1/3] fix(15337): fix release names in update automation --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7917f23cf15..f1d15b65b348 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,9 +80,9 @@ jobs: script: | github.rest.repos.createRelease({ tag_name: context.ref, - name: context.ref, + name: '${{ github.ref_name }}', draft: false, prerelease: true, owner: context.repo.owner, repo: context.repo.repo, - }); + }) From 275eb7150317a79a03b4c23891e9d0d9d106979c Mon Sep 17 00:00:00 2001 From: Nikhil Tomar Date: Mon, 17 Jun 2024 19:48:38 +0530 Subject: [PATCH 2/3] fix(15337): fix release names in update automation --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1d15b65b348..d7917f23cf15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,9 +80,9 @@ jobs: script: | github.rest.repos.createRelease({ tag_name: context.ref, - name: '${{ github.ref_name }}', + name: context.ref, draft: false, prerelease: true, owner: context.repo.owner, repo: context.repo.repo, - }) + }); From e28036d69a5961279cc9115db3a457df6f760a37 Mon Sep 17 00:00:00 2001 From: Nikhil Tomar Date: Fri, 28 Jun 2024 17:23:09 +0530 Subject: [PATCH 3/3] fix(16892): fix maxWordCount issue in textaera --- packages/react/src/components/TextArea/TextArea.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/react/src/components/TextArea/TextArea.tsx b/packages/react/src/components/TextArea/TextArea.tsx index 81236abd643b..6785ad74d60f 100644 --- a/packages/react/src/components/TextArea/TextArea.tsx +++ b/packages/react/src/components/TextArea/TextArea.tsx @@ -233,7 +233,10 @@ const TextArea = React.forwardRef((props: TextAreaProps, forwardRef) => { if (!disabled && enableCounter && counterMode === 'word') { const key = evt.which; - if (maxCount && textCount >= maxCount && key === 32) { + if ( + (maxCount && textCount >= maxCount && key === 32) || + (maxCount && textCount >= maxCount && key === 13) + ) { evt.preventDefault(); } } @@ -424,6 +427,7 @@ const TextArea = React.forwardRef((props: TextAreaProps, forwardRef) => { {...other} {...textareaProps} placeholder={placeholder} + aria-readonly={other.readOnly ? true : false} className={textareaClasses} aria-invalid={invalid} aria-describedby={ariaDescribedBy}