eat-js-sdk 0.0.49 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5936,7 +5936,8 @@
5936
5936
  ...storeCategoriseSettings,
5937
5937
  selectedItemId: itemId,
5938
5938
  sourceSelectedContainerId: containerId,
5939
- selectedItemName: word
5939
+ selectedItemName: word,
5940
+ isItemsAriaHidden: false
5940
5941
  });
5941
5942
  } else if (currentSelectedItemId === itemId) {
5942
5943
  categoriseSettings.set({
@@ -9957,7 +9958,11 @@
9957
9958
  return !!currentSelectedItemId2 && storeContainerId !== containerId;
9958
9959
  };
9959
9960
  const openResetModal = () => {
9960
- modalSettings.set({ ...get_store_value(modalSettings), isModalOpen: true });
9961
+ modalSettings.set({
9962
+ ...get_store_value(modalSettings),
9963
+ isModalOpen: true,
9964
+ modalAriaLabel: "Reset words"
9965
+ });
9961
9966
  };
9962
9967
  const getTotalWords = (categoryId, currentAnswerData) => {
9963
9968
  let totalWords = 0;
@@ -10005,10 +10010,16 @@
10005
10010
  };
10006
10011
  const getContainerTabSelected = (key, containerId) => {
10007
10012
  if (key === "Enter" && !currentSelectedItemId) {
10008
- categoriseSettings.set({
10009
- ...get_store_value(categoriseSettings),
10010
- currentTabContainer: containerId
10011
- });
10013
+ setTimeout(
10014
+ () => {
10015
+ categoriseSettings.set({
10016
+ ...get_store_value(categoriseSettings),
10017
+ currentTabContainer: containerId,
10018
+ isItemsAriaHidden: false
10019
+ });
10020
+ },
10021
+ 150
10022
+ );
10012
10023
  }
10013
10024
  if (key === "Escape" && currentSelectedItemId) {
10014
10025
  categoriseSettings.set({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "description": "Authoring tool frontend SDK",
5
5
  "contributors": [
6
6
  {