eat-js-sdk 0.0.48 → 0.0.50

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({
@@ -10005,10 +10006,16 @@
10005
10006
  };
10006
10007
  const getContainerTabSelected = (key, containerId) => {
10007
10008
  if (key === "Enter" && !currentSelectedItemId) {
10008
- categoriseSettings.set({
10009
- ...get_store_value(categoriseSettings),
10010
- currentTabContainer: containerId
10011
- });
10009
+ setTimeout(
10010
+ () => {
10011
+ categoriseSettings.set({
10012
+ ...get_store_value(categoriseSettings),
10013
+ currentTabContainer: containerId,
10014
+ isItemsAriaHidden: false
10015
+ });
10016
+ },
10017
+ 150
10018
+ );
10012
10019
  }
10013
10020
  if (key === "Escape" && currentSelectedItemId) {
10014
10021
  categoriseSettings.set({
@@ -10022,9 +10029,9 @@
10022
10029
  const resetTabCategory = () => {
10023
10030
  categoriseSettings.set({
10024
10031
  ...get_store_value(categoriseSettings),
10032
+ isItemsAriaHidden: true,
10025
10033
  currentTabContainer: "",
10026
- lastSelectedTabContainer: "",
10027
- isItemsAriaHidden: true
10034
+ lastSelectedTabContainer: ""
10028
10035
  });
10029
10036
  };
10030
10037
  const goToWordBin = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "description": "Authoring tool frontend SDK",
5
5
  "contributors": [
6
6
  {