aloha-vue 2.3.0 → 2.3.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Aloha-vue is a JavaScript library that provides a wide range of accessible components and directives for Vue.js. Accessibility is of paramount importance to us, and we have designed all our components to meet accessibility compliance criteria. This library is a valuable tool for frontend developers and has already been used in three projects, including two large-scale ones",
5
5
  "keywords": [
6
6
  "accessibility compliance criteria",
@@ -49,11 +49,11 @@ export function isCurrentPopupOpen({ id }) {
49
49
  return !!popupOpenIds.value[id];
50
50
  }
51
51
 
52
- function openPopup({ id }) {
52
+ export function openPopup({ id }) {
53
53
  popupOpenIds.value[id] = true;
54
54
  }
55
55
 
56
- function closePopup({ id }) {
56
+ export function closePopup({ id }) {
57
57
  if (id in popupOpenIds.value) {
58
58
  delete popupOpenIds.value[id];
59
59
  }
package/src/index.js CHANGED
@@ -107,6 +107,13 @@ export {
107
107
  default as APageTabTitleAPI,
108
108
  setBaseTitle as APageTabTitleAPI_setBaseTitle,
109
109
  } from "./compositionAPI/APageTabTitleAPI";
110
+ export {
111
+ default as APopupAPI,
112
+ closePopup as APopupAPI_closePopup,
113
+ isCurrentPopupOpen as APopupAPI_isCurrentPopupOpen,
114
+ openPopup as APopupAPI_openPopup,
115
+ togglePopup as APopupAPI_togglePopup,
116
+ } from "./compositionAPI/APopupAPI";
110
117
  export { default as UiAPI } from "./ui/compositionApi/UiAPI";
111
118
  export { default as UIExcludeRenderAttributesAPI } from "./ui/compositionApi/UIExcludeRenderAttributesAPI";
112
119
  export { default as UiStyleHideAPI } from "./ui/compositionApi/UiStyleHideAPI";