From bd2004b25d46554b6ecc46ea817f0233b1ec6bc5 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 8 Oct 2023 13:11:12 -0700 Subject: [PATCH] fix: put annotation in title/aria-label (#369) Fixes #366 --- bin/bundlesize.js | 2 +- src/picker/components/Picker/Picker.html | 4 ++-- src/picker/components/Picker/Picker.js | 14 +++++++++++++- src/picker/utils/summarizeEmojisForUI.js | 6 +++--- test/spec/picker/custom.test.js | 3 +++ test/spec/picker/dataSource.test.js | 8 ++++---- 6 files changed, 26 insertions(+), 11 deletions(-) diff --git a/bin/bundlesize.js b/bin/bundlesize.js index 857209c..c699be7 100644 --- a/bin/bundlesize.js +++ b/bin/bundlesize.js @@ -5,7 +5,7 @@ import { promisify } from 'node:util' import prettyBytes from 'pretty-bytes' import fs from 'node:fs/promises' -const MAX_SIZE_MIN = '42.6 kB' +const MAX_SIZE_MIN = '42.7 kB' const MAX_SIZE_MINGZ = '15 kB' const FILENAME = './bundle.js' diff --git a/src/picker/components/Picker/Picker.html b/src/picker/components/Picker/Picker.html index f8b3d6d..503f973 100644 --- a/src/picker/components/Picker/Picker.html +++ b/src/picker/components/Picker/Picker.html @@ -154,7 +154,7 @@