@onereach/ui-components 2.67.2 → 2.67.3-beta.1995.0

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.
Files changed (176) hide show
  1. package/dist/bundled/v2/{OrBottomSheet-04956f50.js → OrBottomSheet-7b5760dc.js} +1 -1
  2. package/dist/bundled/v2/{OrCardCollection-852db65c.js → OrCardCollection-95b8a8e0.js} +2 -2
  3. package/dist/bundled/v2/{OrConfirm-5cef84d9.js → OrConfirm-22c7622d.js} +2 -2
  4. package/dist/bundled/v2/{OrIconButton-a046f34f.js → OrIconButton-2bf36347.js} +1 -1
  5. package/dist/bundled/v2/{OrInlineInput-fb1e1272.js → OrInlineInput-36077390.js} +1 -1
  6. package/dist/bundled/v2/{OrInlineTextarea-c6a26156.js → OrInlineTextarea-17b16ca8.js} +1 -1
  7. package/dist/bundled/v2/{OrInput-2e2c8270.js → OrInput-95fc5b53.js} +1 -1
  8. package/dist/bundled/v2/{OrMenu-e8c5d2e7.js → OrMenu-5ac06751.js} +1 -1
  9. package/dist/bundled/v2/{OrModal-764043fb.js → OrModal-387348ca.js} +2 -2
  10. package/dist/bundled/v2/{OrNotification-ddef2348.js → OrNotification-1fa0b14e.js} +1 -1
  11. package/dist/bundled/v2/{OrOverlay-57ce6c73.js → OrOverlay-3c89d622.js} +1 -1
  12. package/dist/bundled/v2/{OrPopover-7a6c1cd4.js → OrPopover-2f48b854.js} +2 -2
  13. package/dist/bundled/v2/{OrSearch-691ecd1a.js → OrSearch-43daeb79.js} +1 -1
  14. package/dist/bundled/v2/{OrSelect-b3c60dbc.js → OrSelect-dff64667.js} +3 -3
  15. package/dist/bundled/v2/{OrTabs-edd7cde4.js → OrTabs-2d4e0d87.js} +1 -1
  16. package/dist/bundled/v2/{OrTag-76a86a27.js → OrTag-bc654163.js} +1 -1
  17. package/dist/bundled/v2/{OrTooltip-e97b3f3c.js → OrTooltip-d1764f37.js} +1 -1
  18. package/dist/bundled/v2/components/index.js +19 -19
  19. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +3 -3
  20. package/dist/bundled/v2/components/or-card-collection-v3/index.js +8 -8
  21. package/dist/bundled/v2/components/or-confirm-v3/index.js +8 -8
  22. package/dist/bundled/v2/components/or-icon-button-v3/index.js +6 -6
  23. package/dist/bundled/v2/components/or-inline-input-v3/index.js +7 -7
  24. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +7 -7
  25. package/dist/bundled/v2/components/or-input-v3/index.js +7 -7
  26. package/dist/bundled/v2/components/or-menu-v3/index.js +5 -5
  27. package/dist/bundled/v2/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  28. package/dist/bundled/v2/components/or-modal-v3/index.js +7 -7
  29. package/dist/bundled/v2/components/or-notification-v3/index.js +7 -7
  30. package/dist/bundled/v2/components/or-overlay-v3/index.js +2 -2
  31. package/dist/bundled/v2/components/or-popover-v3/index.js +4 -4
  32. package/dist/bundled/v2/components/or-search-v3/index.js +8 -8
  33. package/dist/bundled/v2/components/or-select-v3/index.js +9 -9
  34. package/dist/bundled/v2/components/or-tabs-v3/index.js +6 -6
  35. package/dist/bundled/v2/components/or-tag-v3/index.js +7 -7
  36. package/dist/bundled/v2/components/or-toast-v3/index.js +7 -7
  37. package/dist/bundled/v2/components/or-tooltip-v3/index.js +5 -5
  38. package/dist/bundled/v2/hooks/index.js +1 -1
  39. package/dist/bundled/v2/index.js +19 -19
  40. package/dist/bundled/v2/{types-9c0f214b.js → types-4c07bc42.js} +1 -1
  41. package/dist/bundled/v2/{useElevation-604d48c6.js → useElevation-aac032f4.js} +5 -1
  42. package/dist/bundled/v2/utils/isVisible.d.ts +2 -0
  43. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-9b8931d3.js → OrBottomSheet.vue_vue_type_script_lang-44d8147a.js} +1 -1
  44. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-955758d3.js → OrCardCollection.vue_vue_type_script_lang-412c8977.js} +4 -4
  45. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-674eff7a.js → OrConfirm.vue_vue_type_script_lang-20ffe5df.js} +4 -4
  46. package/dist/bundled/v3/{OrIconButton-c521fef8.js → OrIconButton-00ab6c2d.js} +1 -1
  47. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-a834417f.js → OrIconButton.vue_vue_type_script_lang-b35040f9.js} +1 -1
  48. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-c2a171bb.js → OrInlineInput.vue_vue_type_script_lang-e29642fc.js} +2 -2
  49. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-76f1a0ee.js → OrInlineTextarea.vue_vue_type_script_lang-551028ef.js} +2 -2
  50. package/dist/bundled/v3/{OrInput-42bbab4d.js → OrInput-4b4b8316.js} +1 -1
  51. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d85ed216.js → OrInput.vue_vue_type_script_lang-b4176d70.js} +2 -2
  52. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-be8c502d.js → OrMenu.vue_vue_type_script_lang-bae45062.js} +2 -2
  53. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-bdf84e1d.js → OrModal.vue_vue_type_script_lang-f3f5a84b.js} +4 -4
  54. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3f69b727.js → OrNotification.vue_vue_type_script_lang-83bfbfc4.js} +2 -2
  55. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-4551114e.js → OrOverlay.vue_vue_type_script_lang-cb3aad0c.js} +1 -1
  56. package/dist/bundled/v3/{OrPopover-18a195aa.js → OrPopover-93ef8c26.js} +1 -1
  57. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-1ed6063d.js → OrPopover.vue_vue_type_script_lang-e200f5be.js} +3 -3
  58. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-d7c29ff6.js → OrSearch.vue_vue_type_script_lang-00db292e.js} +2 -2
  59. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-12ad06b5.js → OrSelect.vue_vue_type_script_lang-d7449846.js} +5 -5
  60. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ec81a576.js → OrTabs.vue_vue_type_script_lang-ca57f9d9.js} +1 -1
  61. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-d7e117c8.js → OrTag.vue_vue_type_script_lang-6be84bb9.js} +2 -2
  62. package/dist/bundled/v3/{OrToastContainer-1c3ccf65.js → OrToastContainer-c09c94da.js} +1 -1
  63. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-d89a9e51.js → OrTooltip.vue_vue_type_script_lang-a4168546.js} +2 -2
  64. package/dist/bundled/v3/components/index.js +22 -22
  65. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +3 -3
  66. package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -11
  67. package/dist/bundled/v3/components/or-confirm-v3/index.js +11 -11
  68. package/dist/bundled/v3/components/or-icon-button-v3/index.js +7 -7
  69. package/dist/bundled/v3/components/or-inline-input-v3/index.js +9 -9
  70. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +9 -9
  71. package/dist/bundled/v3/components/or-input-v3/index.js +9 -9
  72. package/dist/bundled/v3/components/or-menu-v3/index.js +6 -6
  73. package/dist/bundled/v3/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  74. package/dist/bundled/v3/components/or-modal-v3/index.js +9 -9
  75. package/dist/bundled/v3/components/or-notification-v3/index.js +9 -9
  76. package/dist/bundled/v3/components/or-overlay-v3/index.js +2 -2
  77. package/dist/bundled/v3/components/or-popover-v3/index.js +4 -4
  78. package/dist/bundled/v3/components/or-search-v3/index.js +11 -11
  79. package/dist/bundled/v3/components/or-select-v3/index.js +12 -12
  80. package/dist/bundled/v3/components/or-tabs-v3/index.js +7 -7
  81. package/dist/bundled/v3/components/or-tag-v3/index.js +9 -9
  82. package/dist/bundled/v3/components/or-toast-v3/index.js +10 -10
  83. package/dist/bundled/v3/components/or-tooltip-v3/index.js +6 -6
  84. package/dist/bundled/v3/hooks/index.js +1 -1
  85. package/dist/bundled/v3/index.js +32 -32
  86. package/dist/bundled/v3/{types-577637c4.js → types-bc0d88d7.js} +3 -3
  87. package/dist/bundled/v3/{useElevation-6aea372d.js → useElevation-c8d5d3ba.js} +5 -1
  88. package/dist/bundled/v3/utils/isVisible.d.ts +2 -0
  89. package/dist/esm/v2/{OrBottomSheet-f09adbbb.js → OrBottomSheet-5acd034f.js} +1 -1
  90. package/dist/esm/v2/{OrCardCollection-a3ddee38.js → OrCardCollection-799ab8bd.js} +2 -2
  91. package/dist/esm/v2/{OrConfirm-d8c7edd6.js → OrConfirm-367ac968.js} +2 -2
  92. package/dist/esm/v2/{OrIconButton-bc8a8b2e.js → OrIconButton-a7764de4.js} +2 -2
  93. package/dist/esm/v2/{OrInlineInput-5c99926f.js → OrInlineInput-00fbe0a7.js} +1 -1
  94. package/dist/esm/v2/{OrInlineTextarea-a67f2376.js → OrInlineTextarea-b4740a94.js} +1 -1
  95. package/dist/esm/v2/{OrInput-b0619ac3.js → OrInput-946ef514.js} +1 -1
  96. package/dist/esm/v2/{OrMenu-8ca8233e.js → OrMenu-e7210edc.js} +1 -1
  97. package/dist/esm/v2/{OrModal-0e1157cc.js → OrModal-5c92cdc8.js} +2 -2
  98. package/dist/esm/v2/{OrNotification-23f97c3d.js → OrNotification-9862ce5f.js} +1 -1
  99. package/dist/esm/v2/{OrOverlay-4838a9b0.js → OrOverlay-18ba2dc6.js} +1 -1
  100. package/dist/esm/v2/{OrPopover-ba3ddf1a.js → OrPopover-ef8c91f1.js} +2 -2
  101. package/dist/esm/v2/{OrSearch-37e43e3e.js → OrSearch-18bf00f3.js} +1 -1
  102. package/dist/esm/v2/{OrSelect-8bdaac4f.js → OrSelect-858c2f46.js} +3 -3
  103. package/dist/esm/v2/{OrTabs-0d8ffa3d.js → OrTabs-c64be432.js} +2 -2
  104. package/dist/esm/v2/{OrTag-f02ededa.js → OrTag-23631e25.js} +1 -1
  105. package/dist/esm/v2/{OrTooltip-2d423c46.js → OrTooltip-3454c2e6.js} +1 -1
  106. package/dist/esm/v2/components/index.js +19 -19
  107. package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -3
  108. package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -8
  109. package/dist/esm/v2/components/or-confirm-v3/index.js +8 -8
  110. package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -6
  111. package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -7
  112. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -7
  113. package/dist/esm/v2/components/or-input-v3/index.js +7 -7
  114. package/dist/esm/v2/components/or-menu-v3/index.js +5 -5
  115. package/dist/esm/v2/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  116. package/dist/esm/v2/components/or-modal-v3/index.js +7 -7
  117. package/dist/esm/v2/components/or-notification-v3/index.js +7 -7
  118. package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
  119. package/dist/esm/v2/components/or-popover-v3/index.js +4 -4
  120. package/dist/esm/v2/components/or-search-v3/index.js +8 -8
  121. package/dist/esm/v2/components/or-select-v3/index.js +9 -9
  122. package/dist/esm/v2/components/or-tabs-v3/index.js +6 -6
  123. package/dist/esm/v2/components/or-tag-v3/index.js +7 -7
  124. package/dist/esm/v2/components/or-toast-v3/index.js +7 -7
  125. package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -5
  126. package/dist/esm/v2/hooks/index.js +1 -1
  127. package/dist/esm/v2/index.js +19 -19
  128. package/dist/esm/v2/{types-d3101ac7.js → types-e2beb2b6.js} +1 -1
  129. package/dist/esm/{v3/useElevation-0e973238.js → v2/useElevation-31bfe1f6.js} +5 -1
  130. package/dist/esm/v2/utils/isVisible.d.ts +2 -0
  131. package/dist/esm/v3/{OrBottomSheet-9de57dd0.js → OrBottomSheet-0eb33b18.js} +1 -1
  132. package/dist/esm/v3/{OrCardCollection-1e3b3360.js → OrCardCollection-2d34eaaf.js} +2 -2
  133. package/dist/esm/v3/{OrConfirm-62707bbe.js → OrConfirm-e6735cc8.js} +2 -2
  134. package/dist/esm/v3/{OrIconButton-6c0732ac.js → OrIconButton-85abafab.js} +2 -2
  135. package/dist/esm/v3/{OrInlineInput-4cd64402.js → OrInlineInput-299e2275.js} +1 -1
  136. package/dist/esm/v3/{OrInlineTextarea-93f80904.js → OrInlineTextarea-40ee5ffb.js} +1 -1
  137. package/dist/esm/v3/{OrInput-69f8dce1.js → OrInput-4f55c0eb.js} +1 -1
  138. package/dist/esm/v3/{OrMenu-00f7c4a8.js → OrMenu-d9e12030.js} +1 -1
  139. package/dist/esm/v3/{OrModal-6a1550d2.js → OrModal-420174c4.js} +2 -2
  140. package/dist/esm/v3/{OrNotification-d3d6f51d.js → OrNotification-54394fc8.js} +1 -1
  141. package/dist/esm/v3/{OrOverlay-27050c19.js → OrOverlay-738a44d5.js} +1 -1
  142. package/dist/esm/v3/{OrPopover-67000227.js → OrPopover-94a8f21d.js} +2 -2
  143. package/dist/esm/v3/{OrSearch-1b68ba58.js → OrSearch-d74891a5.js} +1 -1
  144. package/dist/esm/v3/{OrSelect-1fa435c6.js → OrSelect-b3a233cc.js} +3 -3
  145. package/dist/esm/v3/{OrTabs-a0590a70.js → OrTabs-6a8fa516.js} +2 -2
  146. package/dist/esm/v3/{OrTag-1202497c.js → OrTag-6c3717e0.js} +1 -1
  147. package/dist/esm/v3/{OrTooltip-32048f0e.js → OrTooltip-1500a1cd.js} +1 -1
  148. package/dist/esm/v3/components/index.js +19 -19
  149. package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -3
  150. package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -8
  151. package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
  152. package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -6
  153. package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -7
  154. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -7
  155. package/dist/esm/v3/components/or-input-v3/index.js +7 -7
  156. package/dist/esm/v3/components/or-menu-v3/index.js +5 -5
  157. package/dist/esm/v3/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  158. package/dist/esm/v3/components/or-modal-v3/index.js +7 -7
  159. package/dist/esm/v3/components/or-notification-v3/index.js +7 -7
  160. package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
  161. package/dist/esm/v3/components/or-popover-v3/index.js +4 -4
  162. package/dist/esm/v3/components/or-search-v3/index.js +8 -8
  163. package/dist/esm/v3/components/or-select-v3/index.js +9 -9
  164. package/dist/esm/v3/components/or-tabs-v3/index.js +6 -6
  165. package/dist/esm/v3/components/or-tag-v3/index.js +7 -7
  166. package/dist/esm/v3/components/or-toast-v3/index.js +7 -7
  167. package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -5
  168. package/dist/esm/v3/hooks/index.js +1 -1
  169. package/dist/esm/v3/index.js +19 -19
  170. package/dist/esm/v3/{types-90a49024.js → types-98a852d8.js} +1 -1
  171. package/dist/esm/{v2/useElevation-0e973238.js → v3/useElevation-31bfe1f6.js} +5 -1
  172. package/dist/esm/v3/utils/isVisible.d.ts +2 -0
  173. package/package.json +2 -3
  174. package/src/components/or-modal-v3/OrModal.stories3.ts +65 -0
  175. package/src/hooks/useElevation.ts +3 -1
  176. package/src/utils/isVisible.ts +5 -0
@@ -1,21 +1,21 @@
1
- export { s as OrSearchV3 } from '../../OrSearch-1b68ba58.js';
1
+ export { s as OrSearchV3 } from '../../OrSearch-d74891a5.js';
2
2
  export { a as SearchSize } from '../../OrInputBox-634230b1.js';
3
3
  import 'vue-demi';
4
4
  import '@vueuse/core';
5
5
  import '../../useClassAttribute-47fdb016.js';
6
- import '../../OrInput-69f8dce1.js';
6
+ import '../../OrInput-4f55c0eb.js';
7
7
  import '../../OrError-19a62a18.js';
8
8
  import 'vue';
9
9
  import '../../OrHint-73835593.js';
10
- import '../../OrIconButton-6c0732ac.js';
10
+ import '../../OrIconButton-85abafab.js';
11
11
  import '../../OrIcon-e2fa4cf8.js';
12
- import '../../OrTooltip-32048f0e.js';
13
- import '../../OrPopover-67000227.js';
12
+ import '../../OrTooltip-1500a1cd.js';
13
+ import '../../OrPopover-94a8f21d.js';
14
14
  import '@floating-ui/dom';
15
- import '../../useElevation-0e973238.js';
15
+ import '../../useElevation-31bfe1f6.js';
16
16
  import '../../useResponsive-a02e95b7.js';
17
- import '../../OrBottomSheet-9de57dd0.js';
18
- import '../../OrOverlay-27050c19.js';
17
+ import '../../OrBottomSheet-0eb33b18.js';
18
+ import '../../OrOverlay-738a44d5.js';
19
19
  import '../../OrTeleport.vue3-8099178c.js';
20
20
  import '../../OrLabel-7d4fe80b.js';
21
21
  import '../../style-inject.es-4c6f2515.js';
@@ -1,4 +1,4 @@
1
- export { s as OrSelectV3 } from '../../OrSelect-1fa435c6.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect-b3a233cc.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-634230b1.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
@@ -13,15 +13,15 @@ import '../../OrError-19a62a18.js';
13
13
  import '../../OrExpansionPanel-65afdfad.js';
14
14
  import '../../OrIcon-e2fa4cf8.js';
15
15
  import '../../OrHint-73835593.js';
16
- import '../../OrInput-69f8dce1.js';
17
- import '../../OrIconButton-6c0732ac.js';
18
- import '../../OrTooltip-32048f0e.js';
19
- import '../../OrPopover-67000227.js';
16
+ import '../../OrInput-4f55c0eb.js';
17
+ import '../../OrIconButton-85abafab.js';
18
+ import '../../OrTooltip-1500a1cd.js';
19
+ import '../../OrPopover-94a8f21d.js';
20
20
  import '@floating-ui/dom';
21
- import '../../useElevation-0e973238.js';
21
+ import '../../useElevation-31bfe1f6.js';
22
22
  import '../../useResponsive-a02e95b7.js';
23
- import '../../OrBottomSheet-9de57dd0.js';
24
- import '../../OrOverlay-27050c19.js';
23
+ import '../../OrBottomSheet-0eb33b18.js';
24
+ import '../../OrOverlay-738a44d5.js';
25
25
  import '../../OrTeleport.vue3-8099178c.js';
26
26
  import '../../OrMenuItem-d001f0f6.js';
27
- import '../../OrTag-1202497c.js';
27
+ import '../../OrTag-6c3717e0.js';
@@ -1,16 +1,16 @@
1
- export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-a0590a70.js';
1
+ export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-6a8fa516.js';
2
2
  import '@vueuse/core';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
5
  import '../../OrIcon-e2fa4cf8.js';
6
6
  import 'vue';
7
7
  import '../../OrMenuItem-d001f0f6.js';
8
- import '../../OrMenu-00f7c4a8.js';
9
- import '../../OrPopover-67000227.js';
8
+ import '../../OrMenu-d9e12030.js';
9
+ import '../../OrPopover-94a8f21d.js';
10
10
  import '@floating-ui/dom';
11
- import '../../useElevation-0e973238.js';
11
+ import '../../useElevation-31bfe1f6.js';
12
12
  import '../../useResponsive-a02e95b7.js';
13
- import '../../OrBottomSheet-9de57dd0.js';
14
- import '../../OrOverlay-27050c19.js';
13
+ import '../../OrBottomSheet-0eb33b18.js';
14
+ import '../../OrOverlay-738a44d5.js';
15
15
  import '../../OrTeleport.vue3-8099178c.js';
16
16
  import '../../OrTab-97044946.js';
@@ -1,15 +1,15 @@
1
- export { s as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-1202497c.js';
1
+ export { s as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-6c3717e0.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import '../../OrIconButton-6c0732ac.js';
5
+ import '../../OrIconButton-85abafab.js';
6
6
  import '../../OrIcon-e2fa4cf8.js';
7
7
  import 'vue';
8
- import '../../OrTooltip-32048f0e.js';
9
- import '../../OrPopover-67000227.js';
8
+ import '../../OrTooltip-1500a1cd.js';
9
+ import '../../OrPopover-94a8f21d.js';
10
10
  import '@floating-ui/dom';
11
- import '../../useElevation-0e973238.js';
11
+ import '../../useElevation-31bfe1f6.js';
12
12
  import '../../useResponsive-a02e95b7.js';
13
- import '../../OrBottomSheet-9de57dd0.js';
14
- import '../../OrOverlay-27050c19.js';
13
+ import '../../OrBottomSheet-0eb33b18.js';
14
+ import '../../OrOverlay-738a44d5.js';
15
15
  import '../../OrTeleport.vue3-8099178c.js';
@@ -1,18 +1,18 @@
1
- export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-90a49024.js';
1
+ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-98a852d8.js';
2
2
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
5
  import '../../OrTeleport.vue3-8099178c.js';
6
6
  import 'vue';
7
- import '../../OrIconButton-6c0732ac.js';
7
+ import '../../OrIconButton-85abafab.js';
8
8
  import '../../useClassAttribute-47fdb016.js';
9
9
  import '../../OrIcon-e2fa4cf8.js';
10
- import '../../OrTooltip-32048f0e.js';
11
- import '../../OrPopover-67000227.js';
10
+ import '../../OrTooltip-1500a1cd.js';
11
+ import '../../OrPopover-94a8f21d.js';
12
12
  import '@floating-ui/dom';
13
- import '../../useElevation-0e973238.js';
13
+ import '../../useElevation-31bfe1f6.js';
14
14
  import '../../useResponsive-a02e95b7.js';
15
- import '../../OrBottomSheet-9de57dd0.js';
16
- import '../../OrOverlay-27050c19.js';
15
+ import '../../OrBottomSheet-0eb33b18.js';
16
+ import '../../OrOverlay-738a44d5.js';
17
17
  import '../../OrLoader-60943812.js';
18
18
  import '../../style-inject.es-4c6f2515.js';
@@ -1,12 +1,12 @@
1
- export { s as OrTooltipV3 } from '../../OrTooltip-32048f0e.js';
2
- export { P as TooltipPlacement } from '../../OrPopover-67000227.js';
1
+ export { s as OrTooltipV3 } from '../../OrTooltip-1500a1cd.js';
2
+ export { P as TooltipPlacement } from '../../OrPopover-94a8f21d.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
5
  import '../../useClassAttribute-47fdb016.js';
6
6
  import 'vue';
7
7
  import '@floating-ui/dom';
8
- import '../../useElevation-0e973238.js';
8
+ import '../../useElevation-31bfe1f6.js';
9
9
  import '../../useResponsive-a02e95b7.js';
10
- import '../../OrBottomSheet-9de57dd0.js';
11
- import '../../OrOverlay-27050c19.js';
10
+ import '../../OrBottomSheet-0eb33b18.js';
11
+ import '../../OrOverlay-738a44d5.js';
12
12
  import '../../OrTeleport.vue3-8099178c.js';
@@ -1,5 +1,5 @@
1
1
  export { u as useClassAttribute } from '../useClassAttribute-47fdb016.js';
2
- export { u as useElevation } from '../useElevation-0e973238.js';
2
+ export { u as useElevation } from '../useElevation-31bfe1f6.js';
3
3
  export { u as useOverflow } from '../useOverflow-ac506c65.js';
4
4
  export { u as useResponsive } from '../useResponsive-a02e95b7.js';
5
5
  export { u as useToggle } from '../useToggle-29e4d7c7.js';
@@ -1,12 +1,12 @@
1
1
  export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-2808a314.js';
2
2
  export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-ef88d31c.js';
3
- export { s as OrBottomSheetV3 } from './OrBottomSheet-9de57dd0.js';
3
+ export { s as OrBottomSheetV3 } from './OrBottomSheet-0eb33b18.js';
4
4
  export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
5
5
  export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
6
6
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-4d0c2edd.js';
7
7
  export { s as OrCard } from './OrCard-e3a5aea4.js';
8
8
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
9
- export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-1e3b3360.js';
9
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-2d34eaaf.js';
10
10
  export { s as OrCardV3 } from './OrCard-b63658a8.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
12
12
  export { s as OrCheckbox } from './OrCheckbox-a0b957e7.js';
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-ee19a5e6.js';
16
16
  export { s as OrCollapse } from './OrCollapse-445141ab.js';
17
17
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-189cb097.js';
18
18
  export { s as OrConfirm } from './OrConfirm-f39bd784.js';
19
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-62707bbe.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-e6735cc8.js';
20
20
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
21
21
  export { s as OrError } from './OrError-f90296db.js';
22
22
  export { s as OrErrorTagV3 } from './OrErrorTag-bbfd3ca6.js';
@@ -27,14 +27,14 @@ export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements
27
27
  export { s as OrHint } from './OrHint-1414c530.js';
28
28
  export { s as OrHintV3 } from './OrHint-73835593.js';
29
29
  export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
30
- export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-6c0732ac.js';
30
+ export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-85abafab.js';
31
31
  export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-e2fa4cf8.js';
32
32
  export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
33
- export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-4cd64402.js';
33
+ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-299e2275.js';
34
34
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
35
- export { s as OrInlineTextareaV3 } from './OrInlineTextarea-93f80904.js';
35
+ export { s as OrInlineTextareaV3 } from './OrInlineTextarea-40ee5ffb.js';
36
36
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
37
- export { I as InputType, s as OrInputV3 } from './OrInput-69f8dce1.js';
37
+ export { I as InputType, s as OrInputV3 } from './OrInput-4f55c0eb.js';
38
38
  export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
39
39
  export { s as OrLabel } from './OrLabel-876f8729.js';
40
40
  export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-7d4fe80b.js';
@@ -44,24 +44,24 @@ export { s as OrListOfInputs } from './OrListOfInputs-7a67440f.js';
44
44
  export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
45
45
  export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-60943812.js';
46
46
  export { s as OrMenuItemV3 } from './OrMenuItem-d001f0f6.js';
47
- export { s as OrMenuV3 } from './OrMenu-00f7c4a8.js';
48
- export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-67000227.js';
47
+ export { s as OrMenuV3 } from './OrMenu-d9e12030.js';
48
+ export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-94a8f21d.js';
49
49
  export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
50
- export { M as ModalSize, s as OrModalV3 } from './OrModal-6a1550d2.js';
50
+ export { M as ModalSize, s as OrModalV3 } from './OrModal-420174c4.js';
51
51
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
52
- export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-d3d6f51d.js';
52
+ export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-54394fc8.js';
53
53
  export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
54
54
  export { s as OrOverlay } from './OrOverlay-451dce49.js';
55
- export { s as OrOverlayV3 } from './OrOverlay-27050c19.js';
55
+ export { s as OrOverlayV3 } from './OrOverlay-738a44d5.js';
56
56
  export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
57
57
  export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-407002e0.js';
58
58
  export { s as OrRadio } from './OrRadio-c3ab11f2.js';
59
59
  export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
60
60
  export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
61
- export { s as OrSearchV3 } from './OrSearch-1b68ba58.js';
61
+ export { s as OrSearchV3 } from './OrSearch-d74891a5.js';
62
62
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-2bbc0f22.js';
63
63
  export { s as OrSelect } from './OrSelect-73690828.js';
64
- export { s as OrSelectV3 } from './OrSelect-1fa435c6.js';
64
+ export { s as OrSelectV3 } from './OrSelect-b3a233cc.js';
65
65
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
66
66
  export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
67
67
  export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
@@ -75,9 +75,9 @@ export { s as OrTab } from './OrTab-bc98be02.js';
75
75
  export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
76
76
  export { s as OrTabV3 } from './OrTab-97044946.js';
77
77
  export { s as OrTabs } from './OrTabs-d3812c11.js';
78
- export { s as OrTabsV3, T as TabsVariant } from './OrTabs-a0590a70.js';
78
+ export { s as OrTabsV3, T as TabsVariant } from './OrTabs-6a8fa516.js';
79
79
  export { s as OrTag } from './OrTag-1b5e43fa.js';
80
- export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-1202497c.js';
80
+ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-6c3717e0.js';
81
81
  export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
82
82
  export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
83
83
  export { s as OrTextV3 } from './OrText-ecb46923.js';
@@ -85,13 +85,13 @@ export { s as OrTextareaV3 } from './OrTextarea-98895b2a.js';
85
85
  export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
86
86
  export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
87
87
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
88
- export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-90a49024.js';
88
+ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-98a852d8.js';
89
89
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
90
90
  export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
91
- export { s as OrTooltipV3 } from './OrTooltip-32048f0e.js';
91
+ export { s as OrTooltipV3 } from './OrTooltip-1500a1cd.js';
92
92
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
93
93
  export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
94
- export { u as useElevation } from './useElevation-0e973238.js';
94
+ export { u as useElevation } from './useElevation-31bfe1f6.js';
95
95
  export { u as useOverflow } from './useOverflow-ac506c65.js';
96
96
  export { u as useResponsive } from './useResponsive-a02e95b7.js';
97
97
  export { u as useToggle } from './useToggle-29e4d7c7.js';
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
3
3
  import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
4
4
  import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
5
- import { s as script$2 } from './OrIconButton-6c0732ac.js';
5
+ import { s as script$2 } from './OrIconButton-85abafab.js';
6
6
  import { s as script$3 } from './OrLoader-60943812.js';
7
7
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, createElementVNode, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
8
8
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -1,10 +1,14 @@
1
1
  import { isRef, ref, watch } from 'vue-demi';
2
2
 
3
+ function isVisible(element) {
4
+ return !(element.offsetParent === null);
5
+ }
6
+
3
7
  function useElevation(element) {
4
8
  const elementRef = isRef(element) ? element : ref(element);
5
9
  // Functions
6
10
  function getPageElevations() {
7
- return [...document.body.querySelectorAll('*')].map(element => getComputedStyle(element)).map(style => Number(style.zIndex)).filter(zIndex => !isNaN(zIndex));
11
+ return [...document.body.querySelectorAll('*')].filter(isVisible).map(element => getComputedStyle(element)).map(style => Number(style.zIndex)).filter(zIndex => !isNaN(zIndex));
8
12
  }
9
13
  function setElementElevation(element) {
10
14
  element.style.zIndex = String(Math.max(0, ...getPageElevations()) + 1);
@@ -0,0 +1,2 @@
1
+ declare function isVisible(element: HTMLElement): boolean;
2
+ export default isVisible;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.67.2",
3
+ "version": "2.67.3-beta.1995.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -123,6 +123,5 @@
123
123
  "default": "./dist/bundled/v3/components/*/index.js"
124
124
  },
125
125
  "./package.json": "./package.json"
126
- },
127
- "gitHead": "934056cdc2d0ee827e16092d081494402bc6caec"
126
+ }
128
127
  }
@@ -192,3 +192,68 @@ UsingIsOpenProp.args = {
192
192
  `,
193
193
  };
194
194
 
195
+ const TemplateZIndex: StoryFn<typeof OrModal> = (args) => ({
196
+ components: {
197
+ OrButton,
198
+ OrModal,
199
+ },
200
+
201
+ setup() {
202
+ const modal = ref<InstanceType<typeof OrModal>>();
203
+
204
+ return {
205
+ args,
206
+ modal,
207
+ handleOpen: action('open'),
208
+ handleClose: action('close'),
209
+ };
210
+ },
211
+
212
+ template: `
213
+ <div class="contents">
214
+ <div class="border-1" style="z-index: 700">
215
+ z-index: 700
216
+ </div>
217
+ <OrButton @click="modal.open()">Modal</OrButton>
218
+ <div style="z-index: 800; display: none">
219
+ z-index: 800
220
+ </div>
221
+ <OrModal
222
+ ref="modal"
223
+ v-bind="args"
224
+ @open="handleOpen"
225
+ @close="handleClose"
226
+ >
227
+ <template #header>
228
+ ${args.header}
229
+ </template>
230
+
231
+ ${args.default}
232
+
233
+ <template #footer>
234
+ ${args.footer}
235
+ </template>
236
+ </OrModal>
237
+ </div>
238
+ `,
239
+ });
240
+
241
+ export const zIndex = TemplateZIndex.bind({});
242
+
243
+ zIndex.args = {
244
+ // Slots
245
+ header: 'Upload Files',
246
+
247
+ default: `
248
+ <div class="flex items-center justify-center">
249
+ Content Area
250
+ </div>
251
+ `,
252
+
253
+ footer: `
254
+ <div class="flex items-center justify-end gap-[16px]">
255
+ <OrButton variant="outlined">Save</OrButton>
256
+ <OrButton>Upload</OrButton>
257
+ </div>
258
+ `,
259
+ };
@@ -1,5 +1,6 @@
1
1
  import { MaybeElementRef } from '@vueuse/core';
2
2
  import { isRef, ref, watch } from 'vue-demi';
3
+ import isVisible from '../utils/isVisible';
3
4
 
4
5
  export function useElevation(
5
6
  element: MaybeElementRef<HTMLElement | undefined>
@@ -8,7 +9,8 @@ export function useElevation(
8
9
 
9
10
  // Functions
10
11
  function getPageElevations(): number[] {
11
- return [...document.body.querySelectorAll('*')]
12
+ return ([...document.body.querySelectorAll('*')] as HTMLElement[])
13
+ .filter(isVisible)
12
14
  .map((element) => getComputedStyle(element))
13
15
  .map((style) => Number(style.zIndex))
14
16
  .filter((zIndex) => !isNaN(zIndex));
@@ -0,0 +1,5 @@
1
+ function isVisible(element: HTMLElement): boolean {
2
+ return !(element.offsetParent === null);
3
+ }
4
+
5
+ export default isVisible;