@onereach/ui-components 2.77.0-beta.2448.0 → 2.77.0-beta.2460.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 (387) hide show
  1. package/dist/bundled/v2/{OrAvatar-7fc11680.js → components/OrAvatarV3/OrAvatar.js} +12 -8
  2. package/dist/bundled/v2/components/OrAvatarV3/index.js +2 -2
  3. package/dist/bundled/v2/components/{OrBottomSheet → OrBottomSheetV3}/OrBottomSheet.js +4 -4
  4. package/dist/bundled/v2/components/OrBottomSheetV3/index.js +3 -3
  5. package/dist/bundled/v2/{OrButton-f41bc4f9.js → components/OrButtonV2/OrButton.js} +18 -8
  6. package/dist/bundled/v2/components/OrButtonV2/index.js +2 -2
  7. package/dist/bundled/v2/{OrButton-451e39d6.js → components/OrButtonV3/OrButton.js} +9 -7
  8. package/dist/bundled/v2/components/OrButtonV3/index.js +2 -2
  9. package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +1 -1
  10. package/dist/bundled/v2/components/OrCardCollection/index.js +1 -1
  11. package/dist/bundled/v2/{OrCardCollection-05d12693.js → components/OrCardCollectionV3/OrCardCollection.js} +62 -19
  12. package/dist/bundled/v2/components/OrCardCollectionV3/index.js +18 -18
  13. package/dist/bundled/v2/{OrCard-01367884.js → components/OrCardV3/OrCard.js} +3 -4
  14. package/dist/bundled/v2/components/OrCardV3/index.js +1 -1
  15. package/dist/bundled/v2/components/OrCarousel/OrCarouselItem.vue.d.ts +2 -0
  16. package/dist/bundled/v2/components/OrCarousel/index.d.ts +1 -2
  17. package/dist/bundled/v2/{OrCheckbox-19375a2b.js → components/OrCheckboxV3/OrCheckbox.js} +10 -10
  18. package/dist/bundled/v2/components/OrCheckboxV3/index.js +2 -2
  19. package/dist/bundled/v2/components/OrChips/OrChip.vue.d.ts +58 -0
  20. package/dist/bundled/v2/components/OrChips/index.d.ts +1 -2
  21. package/dist/bundled/v2/components/OrCode/OrCode.js +1 -1
  22. package/dist/bundled/v2/components/OrCode/index.js +1 -1
  23. package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +1 -1
  24. package/dist/bundled/v2/components/OrColorPicker/defultPalette.d.ts +2 -0
  25. package/dist/bundled/v2/components/OrColorPicker/index.js +1 -1
  26. package/dist/bundled/v2/components/OrColorPicker/{defultPalette.js → utils/defultPalette.js} +1 -1
  27. package/dist/bundled/v2/components/{OrCombinedInput → OrCombinedInputV3}/OrCombinedInput.js +7 -7
  28. package/dist/bundled/v2/components/OrCombinedInputV3/index.js +4 -4
  29. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +7 -7
  30. package/dist/bundled/v2/components/OrConfirm/index.js +2 -2
  31. package/dist/bundled/v2/{OrConfirm-dd824d8a.js → components/OrConfirmV3/OrConfirm.js} +52 -13
  32. package/dist/bundled/v2/components/OrConfirmV3/index.js +15 -15
  33. package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +1 -1
  34. package/dist/bundled/v2/components/OrDateTimePicker/index.js +1 -1
  35. package/dist/bundled/v2/components/{OrEmptyState → OrEmptyStateV3}/OrEmptyState.js +2 -2
  36. package/dist/bundled/v2/components/OrEmptyStateV3/index.js +1 -1
  37. package/dist/bundled/v2/components/{OrErrorTag → OrErrorTagV3}/OrErrorTag.js +3 -3
  38. package/dist/bundled/v2/components/OrErrorTagV3/index.js +2 -2
  39. package/dist/bundled/v2/{OrError-516a4334.js → components/OrErrorV3/OrError.js} +3 -4
  40. package/dist/bundled/v2/components/OrErrorV3/index.js +1 -1
  41. package/dist/bundled/v2/components/{OrExpansionPanel → OrExpansionPanelV3}/OrExpansionPanel.js +4 -4
  42. package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +2 -2
  43. package/dist/bundled/v2/components/{OrFab → OrFabV3}/OrFab.js +4 -4
  44. package/dist/bundled/v2/components/OrFabV3/index.js +2 -2
  45. package/dist/bundled/v2/{OrHint-a2dc1e08.js → components/OrHintV3/OrHint.js} +3 -4
  46. package/dist/bundled/v2/components/OrHintV3/index.js +1 -1
  47. package/dist/bundled/v2/components/OrIconButtonV2/index.js +1 -1
  48. package/dist/bundled/v2/{OrIconButton-3c5bac86.js → components/OrIconButtonV3/OrIconButton.js} +25 -10
  49. package/dist/bundled/v2/components/OrIconButtonV3/index.js +7 -7
  50. package/dist/bundled/v2/{OrIcon-7582c4d1.js → components/OrIconV3/OrIcon.js} +4 -5
  51. package/dist/bundled/v2/components/OrIconV3/index.js +1 -1
  52. package/dist/bundled/v2/components/{OrInlineInputBox → OrInlineInputBoxV3}/OrInlineInputBox.js +2 -2
  53. package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +1 -1
  54. package/dist/bundled/v2/components/{OrInlineInput → OrInlineInputV3}/OrInlineInput.js +16 -16
  55. package/dist/bundled/v2/components/OrInlineInputV3/index.js +11 -11
  56. package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -1
  57. package/dist/bundled/v2/components/OrInlineTextEdit/index.js +1 -1
  58. package/dist/bundled/v2/components/{OrInlineTextarea → OrInlineTextareaV3}/OrInlineTextarea.js +15 -15
  59. package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +11 -11
  60. package/dist/bundled/v2/components/{OrInputBox → OrInputBoxV3}/OrInputBox.js +2 -2
  61. package/dist/bundled/v2/components/OrInputBoxV3/index.js +1 -1
  62. package/dist/bundled/v2/{OrInput-d2299d9b.js → components/OrInputV3/OrInput.js} +50 -25
  63. package/dist/bundled/v2/components/OrInputV3/index.js +13 -13
  64. package/dist/bundled/v2/{OrLabel-705461df.js → components/OrLabelV3/OrLabel.js} +4 -5
  65. package/dist/bundled/v2/components/OrLabelV3/index.js +1 -1
  66. package/dist/bundled/v2/components/{OrLink → OrLinkV3}/OrLink.js +2 -2
  67. package/dist/bundled/v2/components/OrLinkV3/index.js +1 -1
  68. package/dist/bundled/v2/components/OrList/OrList.js +9 -9
  69. package/dist/bundled/v2/components/OrList/index.js +2 -2
  70. package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +2 -2
  71. package/dist/bundled/v2/components/OrListOfInputs/index.js +2 -2
  72. package/dist/bundled/v2/{OrLoader-f011afff.js → components/OrLoaderV3/OrLoader.js} +4 -5
  73. package/dist/bundled/v2/components/OrLoaderV3/index.js +1 -1
  74. package/dist/bundled/v2/components/{OrMenuItem → OrMenuItemV3}/OrMenuItem.js +3 -3
  75. package/dist/bundled/v2/components/OrMenuItemV3/index.js +2 -2
  76. package/dist/bundled/v2/components/{OrMenu → OrMenuV3}/OrMenu.js +5 -5
  77. package/dist/bundled/v2/components/OrMenuV3/index.js +5 -5
  78. package/dist/bundled/v2/components/OrModal/OrModal.js +1 -1
  79. package/dist/bundled/v2/components/OrModal/index.js +1 -1
  80. package/dist/bundled/v2/{OrModal-e540b95b.js → components/OrModalV3/OrModal.js} +28 -9
  81. package/dist/bundled/v2/components/OrModalV3/index.js +8 -8
  82. package/dist/bundled/v2/components/OrNotification/OrNotification.js +1 -1
  83. package/dist/bundled/v2/components/OrNotification/index.js +1 -1
  84. package/dist/bundled/v2/{OrNotification-25c7e19c.js → components/OrNotificationV3/OrNotification.js} +28 -9
  85. package/dist/bundled/v2/components/OrNotificationV3/index.js +8 -8
  86. package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +6 -6
  87. package/dist/bundled/v2/components/OrOverflowMenu/index.js +2 -2
  88. package/dist/bundled/v2/{OrOverlay-831c4cf3.js → components/OrOverlayV3/OrOverlay.js} +8 -7
  89. package/dist/bundled/v2/components/OrOverlayV3/index.js +2 -2
  90. package/dist/bundled/v2/components/{OrPagination → OrPaginationV3}/OrPagination.js +14 -14
  91. package/dist/bundled/v2/components/OrPaginationV3/index.js +10 -10
  92. package/dist/bundled/v2/components/OrPassword/OrPassword.js +1 -1
  93. package/dist/bundled/v2/components/OrPassword/index.js +1 -1
  94. package/dist/bundled/v2/components/{OrPopover → OrPopoverV3}/OrPopover.js +6 -6
  95. package/dist/bundled/v2/components/OrPopoverV3/index.js +4 -4
  96. package/dist/bundled/v2/{OrProgress-66304d97.js → components/OrProgressV3/OrProgress.js} +5 -6
  97. package/dist/bundled/v2/components/OrProgressV3/index.js +1 -1
  98. package/dist/bundled/v2/{OrRadio-bd269b6c.js → components/OrRadioV3/OrRadio.js} +10 -10
  99. package/dist/bundled/v2/components/OrRadioV3/index.js +2 -2
  100. package/dist/bundled/v2/components/OrSearch/OrSearch.js +1 -1
  101. package/dist/bundled/v2/components/OrSearch/index.js +1 -1
  102. package/dist/bundled/v2/{OrSearch-37f87411.js → components/OrSearchV3/OrSearch.js} +44 -6
  103. package/dist/bundled/v2/components/OrSearchV3/index.js +14 -14
  104. package/dist/bundled/v2/components/{OrSegmentedControl → OrSegmentedControlV3}/OrSegmentedControl.js +2 -2
  105. package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +1 -1
  106. package/dist/bundled/v2/{OrSelect-a3c1cb19.js → components/OrSelectV3/OrSelect.js} +69 -30
  107. package/dist/bundled/v2/components/OrSelectV3/index.js +18 -18
  108. package/dist/bundled/v2/{OrSidebar-b19f60bb.js → components/OrSidebarV3/OrSidebar.js} +28 -9
  109. package/dist/bundled/v2/components/OrSidebarV3/index.js +8 -8
  110. package/dist/bundled/v2/components/OrSkeleton/OrSkeletonCircle.vue.d.ts +43 -0
  111. package/dist/bundled/v2/components/OrSkeleton/OrSkeletonRect.vue.d.ts +56 -0
  112. package/dist/bundled/v2/components/OrSkeleton/OrSkeletonText.vue.d.ts +73 -0
  113. package/dist/bundled/v2/components/OrSkeleton/index.d.ts +2 -4
  114. package/dist/bundled/v2/{OrSkeletonCircle-8d795bd0.js → components/OrSkeletonCircleV3/OrSkeletonCircle.js} +4 -5
  115. package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +1 -1
  116. package/dist/bundled/v2/{OrSkeletonRect-b1254c5a.js → components/OrSkeletonRectV3/OrSkeletonRect.js} +4 -5
  117. package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +1 -1
  118. package/dist/bundled/v2/{OrSkeletonText-f15c3702.js → components/OrSkeletonTextV3/OrSkeletonText.js} +4 -5
  119. package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +1 -1
  120. package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonCircle.vue.d.ts +51 -0
  121. package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonRect.vue.d.ts +60 -0
  122. package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonText.vue.d.ts +96 -0
  123. package/dist/bundled/v2/components/OrSkeletonV3/index.d.ts +1 -3
  124. package/dist/bundled/v2/components/OrSkeletonV3/index.js +3 -3
  125. package/dist/bundled/v2/components/{OrSortHeader → OrSortHeaderV3}/OrSortHeader.js +3 -3
  126. package/dist/bundled/v2/components/OrSortHeaderV3/index.js +2 -2
  127. package/dist/bundled/v2/components/OrStepper/OrStepper.js +2 -2
  128. package/dist/bundled/v2/components/OrStepper/index.js +1 -1
  129. package/dist/bundled/v2/{OrSwitch-1cabf182.js → components/OrSwitchV3/OrSwitch.js} +15 -12
  130. package/dist/bundled/v2/components/OrSwitchV3/index.js +3 -3
  131. package/dist/bundled/v2/{OrTab-831a923c.js → components/OrTabV3/OrTab.js} +3 -4
  132. package/dist/bundled/v2/components/OrTabV3/index.js +1 -1
  133. package/dist/bundled/v2/{OrTabs-3652b7c1.js → components/OrTabsV3/OrTabs.js} +28 -11
  134. package/dist/bundled/v2/components/OrTabsV3/index.js +9 -9
  135. package/dist/bundled/v2/{OrTag-2f788ca4.js → components/OrTagV3/OrTag.js} +27 -7
  136. package/dist/bundled/v2/components/OrTagV3/index.js +8 -8
  137. package/dist/bundled/v2/{OrTeleport.vue2-259d6f25.js → components/OrTeleportV3/OrTeleport.js} +2 -3
  138. package/dist/bundled/v2/components/OrTeleportV3/index.js +1 -1
  139. package/dist/bundled/v2/components/{OrText → OrTextV3}/OrText.js +1 -1
  140. package/dist/bundled/v2/components/OrTextV3/index.js +1 -1
  141. package/dist/bundled/v2/{OrTextarea-e10c98ce.js → components/OrTextareaV3/OrTextarea.js} +21 -17
  142. package/dist/bundled/v2/components/OrTextareaV3/index.js +5 -5
  143. package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +1 -1
  144. package/dist/bundled/v2/components/OrTextbox/index.js +1 -1
  145. package/dist/bundled/v2/components/OrToast/OrToast.js +1 -1
  146. package/dist/bundled/v2/components/OrToast/OrToastContainer.vue.d.ts +93 -0
  147. package/dist/bundled/v2/components/OrToast/composable/index.js +7 -0
  148. package/dist/bundled/{v3/components/OrToast → v2/components/OrToast/composable}/useToast.js +2 -2
  149. package/dist/bundled/v2/components/OrToast/index.d.ts +5 -5
  150. package/dist/bundled/v2/components/OrToast/index.js +29 -6
  151. package/dist/bundled/v2/components/OrToast/useQueue.d.ts +8 -0
  152. package/dist/bundled/v2/components/OrToast/useToast.d.ts +13 -0
  153. package/dist/bundled/v2/components/OrToast/useToastEventBus.d.ts +9 -0
  154. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +3 -3
  155. package/dist/bundled/v2/components/OrToastContainer/index.js +4 -4
  156. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +232 -0
  157. package/dist/bundled/v2/components/OrToastContainerV3/index.js +14 -13
  158. package/dist/bundled/v2/{OrToastContainer-38cc76b5.js → components/OrToastV3/OrToast.js} +39 -219
  159. package/dist/bundled/v2/components/OrToastV3/OrToastContainer.vue.d.ts +85 -0
  160. package/dist/bundled/v2/components/OrToastV3/composable/index.js +7 -0
  161. package/dist/bundled/{v3/components/OrToastV3 → v2/components/OrToastV3/composable}/useToast.js +2 -2
  162. package/dist/bundled/v2/components/OrToastV3/index.d.ts +4 -5
  163. package/dist/bundled/v2/components/OrToastV3/index.js +36 -6
  164. package/dist/bundled/v2/components/OrToastV3/props.js +1 -1
  165. package/dist/bundled/v2/components/OrToastV3/useQueue.d.ts +8 -0
  166. package/dist/bundled/v2/components/OrToastV3/useToast.d.ts +13 -0
  167. package/dist/bundled/v2/components/OrToastV3/useToastEventBus.d.ts +9 -0
  168. package/dist/bundled/v2/components/OrTooltip/OrTooltipContent.vue.d.ts +38 -0
  169. package/dist/bundled/v2/components/OrTooltip/index.d.ts +1 -2
  170. package/dist/bundled/v2/{OrTooltip-6c689e3b.js → components/OrTooltipV3/OrTooltip.js} +16 -6
  171. package/dist/bundled/v2/components/OrTooltipV3/index.js +5 -5
  172. package/dist/bundled/v2/components/index.js +85 -84
  173. package/dist/bundled/v2/index.js +80 -79
  174. package/dist/bundled/v2/{props-fb3f60a5.js → props-7be029c7.js} +1 -1
  175. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-32273c2f.js → OrAvatar.vue_vue_type_script_lang-78b30c30.js} +1 -1
  176. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-80114a8a.js → OrBottomSheet.vue_vue_type_script_lang-398a517b.js} +2 -20
  177. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-a58d3d78.js → OrButton.vue_vue_type_script_lang-a840ee7d.js} +1 -1
  178. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d81e9f9b.js → OrCardCollection.vue_vue_type_script_lang-3e87a19b.js} +19 -45
  179. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-25c62a0c.js → OrCardCollection.vue_vue_type_script_lang-ac1c8efe.js} +2 -2
  180. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-d5aa50c1.js → OrCheckbox.vue_vue_type_script_lang-de522e20.js} +1 -1
  181. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-92cabe32.js → OrCode.vue_vue_type_script_lang-127ee0fe.js} +2 -2
  182. package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-4dd1e630.js → OrColorPicker.vue_vue_type_script_lang-3a799e23.js} +1 -1
  183. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-a48d6224.js → OrConfirm.vue_vue_type_script_lang-0111d143.js} +6 -6
  184. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-fc02d14d.js → OrConfirm.vue_vue_type_script_lang-128506dd.js} +2 -2
  185. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-b9dade9d.js → OrDateTimePicker.vue_vue_type_script_lang-380587c6.js} +1 -1
  186. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-02a46c6b.js → OrErrorTag.vue_vue_type_script_lang-54097585.js} +1 -1
  187. package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-749ff722.js → OrExpansionPanel.vue_vue_type_script_lang-5e94d368.js} +1 -1
  188. package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-96b4fd81.js → OrFab.vue_vue_type_script_lang-decad76e.js} +1 -1
  189. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-7a36beed.js +57 -0
  190. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-480bbbe1.js → OrInlineInput.vue_vue_type_script_lang-c5c851b6.js} +7 -6
  191. package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-c2eb855d.js → OrInlineTextEdit.vue_vue_type_script_lang-956e4ba2.js} +1 -1
  192. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-84378895.js → OrInlineTextarea.vue_vue_type_script_lang-4f15b59f.js} +5 -4
  193. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-da9e19d2.js → OrInput.vue_vue_type_script_lang-9f6f9afc.js} +11 -10
  194. package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-30a7b0e3.js → OrList.vue_vue_type_script_lang-040c4ce1.js} +2 -2
  195. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-9b8f2b8a.js → OrListOfInputs.vue_vue_type_script_lang-4155853b.js} +2 -2
  196. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-911ded05.js → OrMenu.vue_vue_type_script_lang-d7a5bf28.js} +2 -2
  197. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-7f05cee1.js → OrMenuItem.vue_vue_type_script_lang-2c0c186d.js} +1 -1
  198. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-005d198c.js → OrModal.vue_vue_type_script_lang-f9561803.js} +4 -4
  199. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-a275bf57.js → OrModal.vue_vue_type_script_lang-fdbd986e.js} +1 -1
  200. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-4e99b9f1.js → OrNotification.vue_vue_type_script_lang-58fd2766.js} +3 -3
  201. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-2900b303.js → OrNotification.vue_vue_type_script_lang-994aa838.js} +1 -1
  202. package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-0b1d1150.js → OrOverflowMenu.vue_vue_type_script_lang-75e6a081.js} +2 -2
  203. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-fea5839d.js → OrOverlay.vue_vue_type_script_lang-683dc1bb.js} +1 -11
  204. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f75db050.js → OrPagination.vue_vue_type_script_lang-97fa485d.js} +7 -7
  205. package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-46bca9cd.js → OrPassword.vue_vue_type_script_lang-f46acddb.js} +1 -1
  206. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-2ba79d91.js → OrPopover.vue_vue_type_script_lang-49cc4886.js} +3 -3
  207. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2953870d.js → OrRadio.vue_vue_type_script_lang-202f4e21.js} +1 -1
  208. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2eb1c79b.js → OrSearch.vue_vue_type_script_lang-8de954cf.js} +1 -1
  209. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-b6f85857.js → OrSearch.vue_vue_type_script_lang-fbb85b2a.js} +2 -2
  210. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-3decc59f.js → OrSelect.vue_vue_type_script_lang-a86b9abc.js} +32 -99
  211. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-c342ffef.js → OrSidebar.vue_vue_type_script_lang-88cfa4ba.js} +2 -2
  212. package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-d70f3898.js → OrSortHeader.vue_vue_type_script_lang-851671ab.js} +1 -1
  213. package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-42f57de9.js → OrStepper.vue_vue_type_script_lang-88a01c20.js} +1 -1
  214. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-ac699016.js → OrSwitch.vue_vue_type_script_lang-7acd91e9.js} +2 -2
  215. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c3739ede.js → OrTabs.vue_vue_type_script_lang-5e20b0b5.js} +12 -28
  216. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-37474827.js → OrTag.vue_vue_type_script_lang-cd555f11.js} +2 -2
  217. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-cda6f95e.js → OrTextarea.vue_vue_type_script_lang-1b3f2396.js} +4 -3
  218. package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-20e6c904.js → OrTextbox.vue_vue_type_script_lang-686e0310.js} +1 -1
  219. package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-39906821.js → OrToastContainer.vue_vue_type_script_lang-51a3ba56.js} +2 -2
  220. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-59d729a6.js +147 -0
  221. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-a27e7f1f.js → OrTooltip.vue_vue_type_script_lang-196b0605.js} +2 -2
  222. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +35 -0
  223. package/dist/bundled/v3/components/OrAvatarV3/index.js +2 -2
  224. package/dist/bundled/v3/components/{OrBottomSheet → OrBottomSheetV3}/OrBottomSheet.js +6 -4
  225. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +4 -2
  226. package/dist/bundled/v3/{OrButton-bf88c2a5.js → components/OrButtonV2/OrButton.js} +22 -2
  227. package/dist/bundled/v3/{OrButton-cc469bd8.js → components/OrButtonV3/OrButton.js} +10 -1
  228. package/dist/bundled/v3/components/OrButtonV3/index.js +2 -2
  229. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +4 -4
  230. package/dist/bundled/v3/components/OrCardCollection/index.js +3 -3
  231. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +162 -0
  232. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +28 -23
  233. package/dist/bundled/v3/components/OrCardV3/OrCard.js +15 -0
  234. package/dist/bundled/v3/components/OrCarousel/OrCarouselItem.vue.d.ts +2 -0
  235. package/dist/bundled/v3/components/OrCarousel/index.d.ts +1 -2
  236. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +51 -0
  237. package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -2
  238. package/dist/bundled/v3/components/OrChips/OrChip.vue.d.ts +58 -0
  239. package/dist/bundled/v3/components/OrChips/index.d.ts +1 -2
  240. package/dist/bundled/v3/components/OrCode/OrCode.js +4 -4
  241. package/dist/bundled/v3/components/OrCode/index.js +3 -3
  242. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +3 -3
  243. package/dist/bundled/v3/components/OrColorPicker/defultPalette.d.ts +2 -0
  244. package/dist/bundled/v3/components/OrColorPicker/index.js +2 -2
  245. package/dist/bundled/v3/components/OrColorPicker/{defultPalette.js → utils/defultPalette.js} +1 -1
  246. package/dist/bundled/v3/components/{OrCombinedInput → OrCombinedInputV3}/OrCombinedInput.js +7 -6
  247. package/dist/bundled/v3/components/OrCombinedInputV3/index.js +4 -3
  248. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +5 -5
  249. package/dist/bundled/v3/components/OrConfirm/index.js +4 -4
  250. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +129 -0
  251. package/dist/bundled/v3/components/OrConfirmV3/index.js +23 -19
  252. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +3 -3
  253. package/dist/bundled/v3/components/OrDateTimePicker/index.js +2 -2
  254. package/dist/bundled/v3/components/{OrEmptyState → OrEmptyStateV3}/OrEmptyState.js +2 -2
  255. package/dist/bundled/v3/components/{OrErrorTag → OrErrorTagV3}/OrErrorTag.js +4 -4
  256. package/dist/bundled/v3/components/OrErrorTagV3/index.js +2 -2
  257. package/dist/bundled/v3/components/OrErrorV3/OrError.js +21 -0
  258. package/dist/bundled/v3/components/{OrExpansionPanel → OrExpansionPanelV3}/OrExpansionPanel.js +5 -5
  259. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +2 -2
  260. package/dist/bundled/v3/components/{OrFab → OrFabV3}/OrFab.js +5 -5
  261. package/dist/bundled/v3/components/OrFabV3/index.js +2 -2
  262. package/dist/bundled/v3/components/OrHintV3/OrHint.js +21 -0
  263. package/dist/bundled/v3/{OrIconButton-0d8e85d9.js → components/OrIconButtonV3/OrIconButton.js} +29 -1
  264. package/dist/bundled/v3/components/OrIconButtonV3/index.js +11 -8
  265. package/dist/bundled/v3/{OrIcon-671794cb.js → components/OrIconV3/OrIcon.js} +5 -1
  266. package/dist/bundled/v3/components/{OrInlineInputBox → OrInlineInputBoxV3}/OrInlineInputBox.js +2 -2
  267. package/dist/bundled/v3/components/{OrInlineInput → OrInlineInputV3}/OrInlineInput.js +19 -15
  268. package/dist/bundled/v3/components/OrInlineInputV3/index.js +16 -12
  269. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +3 -3
  270. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +2 -2
  271. package/dist/bundled/v3/components/{OrInlineTextarea → OrInlineTextareaV3}/OrInlineTextarea.js +18 -14
  272. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +16 -12
  273. package/dist/bundled/v3/components/{OrInputBox → OrInputBoxV3}/OrInputBox.js +2 -2
  274. package/dist/bundled/v3/{OrInput-ab04adbb.js → components/OrInputV3/OrInput.js} +55 -2
  275. package/dist/bundled/v3/components/OrInputV3/index.js +18 -14
  276. package/dist/bundled/v3/{OrLabel-47f15fc0.js → components/OrLabelV3/OrLabel.js} +5 -1
  277. package/dist/bundled/v3/components/{OrLink → OrLinkV3}/OrLink.js +2 -2
  278. package/dist/bundled/v3/components/OrList/OrList.js +4 -4
  279. package/dist/bundled/v3/components/OrList/index.js +3 -3
  280. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +5 -5
  281. package/dist/bundled/v3/components/OrListOfInputs/index.js +4 -4
  282. package/dist/bundled/v3/{OrLoader-1c02d64d.js → components/OrLoaderV3/OrLoader.js} +6 -1
  283. package/dist/bundled/v3/components/{OrMenuItem → OrMenuItemV3}/OrMenuItem.js +4 -4
  284. package/dist/bundled/v3/components/OrMenuItemV3/index.js +2 -2
  285. package/dist/bundled/v3/components/{OrMenu → OrMenuV3}/OrMenu.js +10 -8
  286. package/dist/bundled/v3/components/OrMenuV3/index.js +8 -6
  287. package/dist/bundled/v3/components/OrModal/OrModal.js +3 -3
  288. package/dist/bundled/v3/components/OrModal/index.js +2 -2
  289. package/dist/bundled/v3/components/OrModalV3/OrModal.js +66 -0
  290. package/dist/bundled/v3/components/OrModalV3/index.js +14 -11
  291. package/dist/bundled/v3/components/OrNotification/OrNotification.js +3 -3
  292. package/dist/bundled/v3/components/OrNotification/index.js +2 -2
  293. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +59 -0
  294. package/dist/bundled/v3/components/OrNotificationV3/index.js +13 -10
  295. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +4 -4
  296. package/dist/bundled/v3/components/OrOverflowMenu/index.js +3 -3
  297. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +28 -0
  298. package/dist/bundled/v3/components/OrOverlayV3/index.js +2 -1
  299. package/dist/bundled/v3/components/{OrPagination → OrPaginationV3}/OrPagination.js +18 -16
  300. package/dist/bundled/v3/components/OrPaginationV3/index.js +16 -14
  301. package/dist/bundled/v3/components/OrPassword/OrPassword.js +3 -3
  302. package/dist/bundled/v3/components/OrPassword/index.js +2 -2
  303. package/dist/bundled/v3/components/{OrPopover → OrPopoverV3}/OrPopover.js +9 -7
  304. package/dist/bundled/v3/components/OrPopoverV3/index.js +6 -4
  305. package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +84 -0
  306. package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +50 -0
  307. package/dist/bundled/v3/components/OrRadioV3/index.js +2 -2
  308. package/dist/bundled/v3/components/OrSearch/OrSearch.js +3 -3
  309. package/dist/bundled/v3/components/OrSearch/index.js +2 -2
  310. package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +85 -0
  311. package/dist/bundled/v3/components/OrSearchV3/index.js +20 -16
  312. package/dist/bundled/v3/components/{OrSegmentedControl → OrSegmentedControlV3}/OrSegmentedControl.js +2 -2
  313. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +294 -0
  314. package/dist/bundled/v3/components/OrSelectV3/index.js +30 -24
  315. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +75 -0
  316. package/dist/bundled/v3/components/OrSidebarV3/index.js +13 -10
  317. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonCircle.vue.d.ts +43 -0
  318. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonRect.vue.d.ts +56 -0
  319. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonText.vue.d.ts +73 -0
  320. package/dist/bundled/v3/components/OrSkeleton/index.d.ts +2 -4
  321. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.js +18 -0
  322. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.js +18 -0
  323. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +24 -0
  324. package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonCircle.vue.d.ts +51 -0
  325. package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonRect.vue.d.ts +60 -0
  326. package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonText.vue.d.ts +96 -0
  327. package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +1 -3
  328. package/dist/bundled/v3/components/{OrSortHeader → OrSortHeaderV3}/OrSortHeader.js +4 -4
  329. package/dist/bundled/v3/components/OrSortHeaderV3/index.js +2 -2
  330. package/dist/bundled/v3/components/OrStepper/OrStepper.js +3 -3
  331. package/dist/bundled/v3/components/OrStepper/index.js +2 -2
  332. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +66 -0
  333. package/dist/bundled/v3/components/OrSwitchV3/index.js +3 -3
  334. package/dist/bundled/v3/components/OrTabV3/OrTab.js +21 -0
  335. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +91 -0
  336. package/dist/bundled/v3/components/OrTabsV3/index.js +14 -11
  337. package/dist/bundled/v3/components/OrTagV3/OrTag.js +63 -0
  338. package/dist/bundled/v3/components/OrTagV3/index.js +13 -10
  339. package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.js +14 -0
  340. package/dist/bundled/v3/components/{OrText → OrTextV3}/OrText.js +1 -1
  341. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +103 -0
  342. package/dist/bundled/v3/components/OrTextareaV3/index.js +5 -4
  343. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +3 -3
  344. package/dist/bundled/v3/components/OrTextbox/index.js +2 -2
  345. package/dist/bundled/v3/components/OrToast/OrToast.js +1 -1
  346. package/dist/bundled/v3/components/OrToast/OrToastContainer.vue.d.ts +93 -0
  347. package/dist/bundled/v3/components/OrToast/composable/index.js +7 -0
  348. package/dist/bundled/{v2/components/OrToast → v3/components/OrToast/composable}/useToast.js +2 -2
  349. package/dist/bundled/v3/components/OrToast/index.d.ts +2 -5
  350. package/dist/bundled/v3/components/OrToast/index.js +35 -6
  351. package/dist/bundled/v3/components/OrToast/useQueue.d.ts +8 -0
  352. package/dist/bundled/v3/components/OrToast/useToast.d.ts +13 -0
  353. package/dist/bundled/v3/components/OrToast/useToastEventBus.d.ts +9 -0
  354. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +5 -5
  355. package/dist/bundled/v3/components/OrToastContainer/index.js +5 -5
  356. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +79 -0
  357. package/dist/bundled/v3/components/OrToastContainerV3/index.js +19 -15
  358. package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-4da13abb.js → components/OrToastV3/OrToast.js} +43 -156
  359. package/dist/bundled/v3/components/OrToastV3/OrToastContainer.vue.d.ts +85 -0
  360. package/dist/bundled/v3/components/OrToastV3/composable/index.js +7 -0
  361. package/dist/bundled/{v2/components/OrToastV3 → v3/components/OrToastV3/composable}/useToast.js +2 -2
  362. package/dist/bundled/v3/components/OrToastV3/index.d.ts +2 -5
  363. package/dist/bundled/v3/components/OrToastV3/index.js +43 -6
  364. package/dist/bundled/v3/components/OrToastV3/props.js +1 -1
  365. package/dist/bundled/v3/components/OrToastV3/useQueue.d.ts +8 -0
  366. package/dist/bundled/v3/components/OrToastV3/useToast.d.ts +13 -0
  367. package/dist/bundled/v3/components/OrToastV3/useToastEventBus.d.ts +9 -0
  368. package/dist/bundled/v3/components/OrTooltip/OrTooltipContent.vue.d.ts +38 -0
  369. package/dist/bundled/v3/components/OrTooltip/index.d.ts +1 -2
  370. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +48 -0
  371. package/dist/bundled/v3/components/OrTooltipV3/index.js +8 -6
  372. package/dist/bundled/v3/components/index.js +99 -90
  373. package/dist/bundled/v3/index.js +115 -979
  374. package/dist/bundled/v3/{props-fb3f60a5.js → props-7be029c7.js} +1 -1
  375. package/package.json +2 -2
  376. package/dist/bundled/v3/OrHint-12428e42.js +0 -35
  377. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-5e089ff3.js +0 -83
  378. /package/dist/bundled/v2/components/{OrIconButton → OrIconButtonV2}/OrIconButton.js +0 -0
  379. /package/dist/bundled/v2/components/OrToast/{useQueue.js → composable/useQueue.js} +0 -0
  380. /package/dist/bundled/v2/components/OrToast/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
  381. /package/dist/bundled/v2/components/OrToastV3/{useQueue.js → composable/useQueue.js} +0 -0
  382. /package/dist/bundled/v2/components/OrToastV3/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
  383. /package/dist/bundled/v3/components/{OrIconButton → OrIconButtonV2}/OrIconButton.js +0 -0
  384. /package/dist/bundled/v3/components/OrToast/{useQueue.js → composable/useQueue.js} +0 -0
  385. /package/dist/bundled/v3/components/OrToast/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
  386. /package/dist/bundled/v3/components/OrToastV3/{useQueue.js → composable/useQueue.js} +0 -0
  387. /package/dist/bundled/v3/components/OrToastV3/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
@@ -0,0 +1,93 @@
1
+ import { PropType } from 'vue-demi';
2
+ import { Position, ToastBehaviour, ToastConfiguration } from '../types';
3
+ import { PositionsX, PositionsY, TransitionType } from '../constants';
4
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
+ on: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
6
+ off: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
7
+ isActive: import("@vue/composition-api").Ref<boolean>;
8
+ toggle: (value?: boolean | undefined) => boolean;
9
+ queue: import("@vue/composition-api").Ref<import("@vue/composition-api").Ref<ToastConfiguration>[]>;
10
+ addItem: (item: ToastConfiguration) => void;
11
+ removeItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => void;
12
+ clearAll: () => void;
13
+ getItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => import("@vue/composition-api").Ref<ToastConfiguration>;
14
+ }> & import("@vue/composition-api").Data, {
15
+ createToast(toastConfiguration: ToastConfiguration): void;
16
+ toastUpdate(toast: ToastConfiguration): void;
17
+ toastRemove(toast: ToastConfiguration): void;
18
+ onToastEnter(toast: ToastConfiguration): void;
19
+ onToastLeave(toast: ToastConfiguration): void;
20
+ onClick(toastBehaviour: ToastBehaviour): void;
21
+ onToastHidden(): void;
22
+ }, {
23
+ getQueue(): ToastConfiguration[];
24
+ classes(): (Record<string, boolean> | string)[];
25
+ transitionName(): string;
26
+ }, {
27
+ includeHeaderHeight: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ position: {
32
+ type: PropType<Position>;
33
+ default: () => {
34
+ positionX: PositionsX;
35
+ positionY: PositionsY;
36
+ };
37
+ };
38
+ transition: {
39
+ type: PropType<TransitionType>;
40
+ default: TransitionType;
41
+ };
42
+ }, import("@vue/composition-api").ExtractPropTypes<{
43
+ includeHeaderHeight: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ position: {
48
+ type: PropType<Position>;
49
+ default: () => {
50
+ positionX: PositionsX;
51
+ positionY: PositionsY;
52
+ };
53
+ };
54
+ transition: {
55
+ type: PropType<TransitionType>;
56
+ default: TransitionType;
57
+ };
58
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
59
+ includeHeaderHeight: boolean;
60
+ position: Position;
61
+ transition: TransitionType;
62
+ } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
63
+ on: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
64
+ off: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
65
+ isActive: import("@vue/composition-api").Ref<boolean>;
66
+ toggle: (value?: boolean | undefined) => boolean;
67
+ queue: import("@vue/composition-api").Ref<import("@vue/composition-api").Ref<ToastConfiguration>[]>;
68
+ addItem: (item: ToastConfiguration) => void;
69
+ removeItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => void;
70
+ clearAll: () => void;
71
+ getItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => import("@vue/composition-api").Ref<ToastConfiguration>;
72
+ }>, import("@vue/composition-api").Data, {
73
+ getQueue(): ToastConfiguration[];
74
+ classes(): (Record<string, boolean> | string)[];
75
+ transitionName(): string;
76
+ }, {
77
+ createToast(toastConfiguration: ToastConfiguration): void;
78
+ toastUpdate(toast: ToastConfiguration): void;
79
+ toastRemove(toast: ToastConfiguration): void;
80
+ onToastEnter(toast: ToastConfiguration): void;
81
+ onToastLeave(toast: ToastConfiguration): void;
82
+ onClick(toastBehaviour: ToastBehaviour): void;
83
+ onToastHidden(): void;
84
+ }, {}, {}, {}, {
85
+ includeHeaderHeight: boolean;
86
+ position: Position;
87
+ transition: TransitionType;
88
+ } & {}, {
89
+ includeHeaderHeight: boolean;
90
+ position: Position;
91
+ transition: TransitionType;
92
+ }, true>);
93
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export { default as useToast } from './useToast.js';
2
+ export { default as useQueue } from './useQueue.js';
3
+ import '../Timer.js';
4
+ import '@vueuse/core';
5
+ import './useToastEventBus.js';
6
+ import '../constants.js';
7
+ import 'vue-demi';
@@ -1,6 +1,6 @@
1
- import Timer from './Timer.js';
1
+ import Timer from '../Timer.js';
2
2
  import useToastEventBus from './useToastEventBus.js';
3
- import { ToastType } from './constants.js';
3
+ import { ToastType } from '../constants.js';
4
4
  import '@vueuse/core';
5
5
 
6
6
  function useToast(globalToastProps = {}) {
@@ -1,5 +1,5 @@
1
- export { default as OrToast } from './OrToast.vue';
2
- export { default as OrToastContainer } from './or-toast-container/OrToastContainer.vue';
3
- export * from './composable';
4
- export * from './types';
5
- export * from './constants';
1
+ export { default as useToast } from './useToast';
2
+ export { default as useQueue } from './useQueue';
3
+
4
+ export * from '../types';
5
+ export * from '../constants';
@@ -1,7 +1,30 @@
1
- export { default as useToast } from './useToast.js';
2
- export { default as useQueue } from './useQueue.js';
3
- import './Timer.js';
4
- import '@vueuse/core';
5
- import './useToastEventBus.js';
6
- import './constants.js';
1
+ export { default as OrToast } from './OrToast.js';
2
+ export { default as OrToastContainer } from '../OrToastContainer/OrToastContainer.js';
3
+ export { PositionsX, PositionsY, ToastType, TransitionType } from './constants.js';
4
+ export { default as useToast } from './composable/useToast.js';
5
+ export { default as useQueue } from './composable/useQueue.js';
7
6
  import 'vue-demi';
7
+ import '../OrProgress/OrProgress.js';
8
+ import 'lodash';
9
+ import '../OrProgress/constants.js';
10
+ import '../../style-inject.es-4c6f2515.js';
11
+ import '../../normalize-component-6e8e3d80.js';
12
+ import '../OrIconButtonV2/OrIconButton.js';
13
+ import '../OrTooltip/OrTooltip.js';
14
+ import '../OrTooltipContent/OrTooltipContent.js';
15
+ import '../OrFloating/OrFloating.js';
16
+ import '../../floating-ui.dom.esm-83eba816.js';
17
+ import '../OrTeleport/OrTeleport.js';
18
+ import 'portal-vue/dist/portal-vue.esm.js';
19
+ import '../OrTeleport/constants.js';
20
+ import '../OrFloating/constants.js';
21
+ import '../../utils/functions/dom.js';
22
+ import '../OrButtonV2/constants.js';
23
+ import '../OrIcon/OrIcon.js';
24
+ import '../OrIcon/constants.js';
25
+ import '../../utils/functions/px-to-rem.js';
26
+ import '../OrLoader/OrLoader.js';
27
+ import '../OrLoader/constants.js';
28
+ import '@vueuse/core';
29
+ import './composable/useToastEventBus.js';
30
+ import './Timer.js';
@@ -0,0 +1,8 @@
1
+ import { Ref } from 'vue-demi';
2
+ export default function useQueue<T>(initialValue?: Array<T>): {
3
+ queue: Ref<Ref<T>[]>;
4
+ addItem: (item: T) => void;
5
+ removeItem: (condition: (i: T, index: number, queue: Ref<T>[]) => boolean) => void;
6
+ clearAll: () => void;
7
+ getItem: (condition: (i: T, index: number, queue: Ref<T>[]) => boolean) => Ref<T>;
8
+ };
@@ -0,0 +1,13 @@
1
+ import { ToastBehaviour, ToastProps } from '../types';
2
+ interface UseToastNotifyReturns {
3
+ close: () => void;
4
+ update: (data: ToastProps) => void;
5
+ }
6
+ export default function useToast(globalToastProps?: ToastProps): {
7
+ notify: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
8
+ clearAll: () => void;
9
+ success: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
10
+ error: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
11
+ loading: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
12
+ };
13
+ export {};
@@ -0,0 +1,9 @@
1
+ import { EventBusListener } from '@vueuse/core';
2
+ import { ToastConfiguration } from '../types';
3
+ export type ToastEventsBusEvents = 'toastNotify' | 'toastClose' | 'toastCloseAll' | 'toastUpdate';
4
+ declare const _default: () => {
5
+ on: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration, any>) => void;
6
+ off: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration, any>) => void;
7
+ emit: (namedQueue: ToastEventsBusEvents, data?: ToastConfiguration | undefined) => void;
8
+ };
9
+ export default _default;
@@ -2,15 +2,15 @@ import __vue_component__$1 from '../OrToast/OrToast.js';
2
2
  import __vue_component__$2 from '../OrTeleport/OrTeleport.js';
3
3
  import { defineComponent, nextTick } from 'vue-demi';
4
4
  import { useToggle } from '@vueuse/core';
5
- import useQueue from '../OrToast/useQueue.js';
6
- import useToastEventBus from '../OrToast/useToastEventBus.js';
5
+ import useQueue from '../OrToast/composable/useQueue.js';
6
+ import useToastEventBus from '../OrToast/composable/useToastEventBus.js';
7
7
  import { PositionsX, PositionsY, TransitionType } from '../OrToast/constants.js';
8
8
  import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
9
9
  import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
10
10
  import '../OrProgress/OrProgress.js';
11
11
  import 'lodash';
12
12
  import '../OrProgress/constants.js';
13
- import '../OrIconButton/OrIconButton.js';
13
+ import '../OrIconButtonV2/OrIconButton.js';
14
14
  import '../OrTooltip/OrTooltip.js';
15
15
  import '../OrTooltipContent/OrTooltipContent.js';
16
16
  import '../OrFloating/OrFloating.js';
@@ -1,7 +1,7 @@
1
1
  export { default as OrToastContainer } from './OrToastContainer.js';
2
2
  export { PositionsX, PositionsY, ToastType, TransitionType } from '../OrToast/constants.js';
3
- export { default as useToast } from '../OrToast/useToast.js';
4
- export { default as useQueue } from '../OrToast/useQueue.js';
3
+ export { default as useToast } from '../OrToast/composable/useToast.js';
4
+ export { default as useQueue } from '../OrToast/composable/useQueue.js';
5
5
  import '../OrToast/OrToast.js';
6
6
  import 'vue-demi';
7
7
  import '../OrProgress/OrProgress.js';
@@ -9,7 +9,7 @@ import 'lodash';
9
9
  import '../OrProgress/constants.js';
10
10
  import '../../style-inject.es-4c6f2515.js';
11
11
  import '../../normalize-component-6e8e3d80.js';
12
- import '../OrIconButton/OrIconButton.js';
12
+ import '../OrIconButtonV2/OrIconButton.js';
13
13
  import '../OrTooltip/OrTooltip.js';
14
14
  import '../OrTooltipContent/OrTooltipContent.js';
15
15
  import '../OrFloating/OrFloating.js';
@@ -26,5 +26,5 @@ import '../../utils/functions/px-to-rem.js';
26
26
  import '../OrLoader/OrLoader.js';
27
27
  import '../OrLoader/constants.js';
28
28
  import '@vueuse/core';
29
- import '../OrToast/useToastEventBus.js';
29
+ import '../OrToast/composable/useToastEventBus.js';
30
30
  import '../OrToast/Timer.js';
@@ -0,0 +1,232 @@
1
+ import { useToggle } from '@vueuse/core';
2
+ import { defineComponent, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
3
+ import useQueue from '../OrToastV3/composable/useQueue.js';
4
+ import useToastEventBus from '../OrToastV3/composable/useToastEventBus.js';
5
+ import __vue_component__$2 from '../OrToastV3/OrToast.js';
6
+ import { P as PositionsX, a as PositionsY, T as TransitionType } from '../../props-7be029c7.js';
7
+ import { ToastContainer, ToastContainerPositions } from '../OrToastV3/styles.js';
8
+ import __vue_component__$1 from '../OrTeleportV3/OrTeleport.js';
9
+ import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
10
+ import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
11
+ import '../OrIconButtonV3/OrIconButton.js';
12
+ import '../OrIconButtonV3/props.js';
13
+ import '../OrIconV3/props.js';
14
+ import '../OrIconButtonV3/styles.js';
15
+ import '../OrIconV3/OrIcon.js';
16
+ import '../OrIconV3/styles.js';
17
+ import '../OrTooltipV3/OrTooltip.js';
18
+ import '../OrTooltipV3/styles.js';
19
+ import '../OrPopoverV3/OrPopover.js';
20
+ import '../../floating-ui.dom.esm-83eba816.js';
21
+ import '../OrPopoverV3/props.js';
22
+ import '../OrPopoverV3/styles.js';
23
+ import '../OrBottomSheetV3/OrBottomSheet.js';
24
+ import '../OrBottomSheetV3/styles.js';
25
+ import '../OrOverlayV3/OrOverlay.js';
26
+ import '../OrOverlayV3/styles.js';
27
+ import '../../hooks/useElevation.js';
28
+ import '../../utils/isVisible.js';
29
+ import '../../hooks/useResponsive/useResponsive.js';
30
+ import '../OrLoaderV3/OrLoader.js';
31
+ import '../OrLoaderV3/props.js';
32
+ import '../OrLoaderV3/styles.js';
33
+ import 'portal-vue';
34
+
35
+ var script = defineComponent({
36
+ name: 'OrToastContainer',
37
+ components: {
38
+ OrTeleport: __vue_component__$1,
39
+ OrToast: __vue_component__$2
40
+ },
41
+ props: {
42
+ includeHeaderHeight: {
43
+ type: Boolean,
44
+ default: true
45
+ },
46
+ position: {
47
+ type: Object,
48
+ default: {
49
+ positionX: PositionsX.Right,
50
+ positionY: PositionsY.Bottom
51
+ }
52
+ },
53
+ transition: {
54
+ type: String,
55
+ default: TransitionType.Slide
56
+ }
57
+ },
58
+ setup(props) {
59
+ const {
60
+ on,
61
+ off
62
+ } = useToastEventBus();
63
+ const {
64
+ queue: queueRef,
65
+ addItem,
66
+ removeItem,
67
+ clearAll,
68
+ getItem
69
+ } = useQueue();
70
+ const [isActive, toggle] = useToggle(false);
71
+ const classes = computed(() => {
72
+ var _a;
73
+ return ['or-toast-container', ...ToastContainer, ...ToastContainerPositions[`${props.position.positionX}-${props.position.positionY}`], {
74
+ 'position--top--with-header': ((_a = props.position) === null || _a === void 0 ? void 0 : _a.positionY) === PositionsY.Top && props.includeHeaderHeight
75
+ }];
76
+ });
77
+ const transitionName = computed(() => {
78
+ var _a;
79
+ return `or-toast--position-${(_a = props.position) === null || _a === void 0 ? void 0 : _a.positionX} or-toast--transition-${props.transition}`;
80
+ });
81
+ // State
82
+ const queue = computed(() => {
83
+ return queueRef.value.map(({
84
+ value
85
+ }) => value);
86
+ });
87
+ // Methods
88
+ function createToast(toastConfiguration) {
89
+ const caller = () => {
90
+ var _a;
91
+ addItem(toastConfiguration);
92
+ (_a = toastConfiguration.timer) === null || _a === void 0 ? void 0 : _a.start(toastRemove.bind(null, toastConfiguration), toastConfiguration.toastBehaviour.duration);
93
+ };
94
+ if (!isActive.value) {
95
+ // before create toast we need change isActive props, to render or-teleport,
96
+ // in other case first item will not be animated
97
+ toggle(true);
98
+ nextTick(caller);
99
+ } else {
100
+ caller();
101
+ }
102
+ }
103
+ function toastUpdate(toast) {
104
+ const toastItem = getItem(item => {
105
+ return item.hash === toast.hash;
106
+ });
107
+ if (toastItem) toastItem.value = toast;
108
+ }
109
+ function toastRemove(toast) {
110
+ removeItem(item => {
111
+ var _a, _b, _c;
112
+ if (item.hash === toast.hash) {
113
+ (_b = (_a = item.toastBehaviour) === null || _a === void 0 ? void 0 : _a.onToastClose) === null || _b === void 0 ? void 0 : _b.call(_a);
114
+ (_c = item.timer) === null || _c === void 0 ? void 0 : _c.stop();
115
+ return true;
116
+ }
117
+ return false;
118
+ });
119
+ }
120
+ function onToastEnter(toast) {
121
+ var _a;
122
+ if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.pause();
123
+ }
124
+ function onToastLeave(toast) {
125
+ var _a;
126
+ if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.resume();
127
+ }
128
+ function onClick(toastBehaviour) {
129
+ var _a;
130
+ (_a = toastBehaviour.onToastClick) === null || _a === void 0 ? void 0 : _a.call(toastBehaviour);
131
+ }
132
+ function onToastHidden() {
133
+ toggle(queue.value.length > 0);
134
+ }
135
+ // Effects
136
+ onBeforeMount(() => {
137
+ on('toastNotify', createToast);
138
+ on('toastClose', toastRemove);
139
+ on('toastUpdate', toastUpdate);
140
+ on('toastCloseAll', clearAll);
141
+ });
142
+ onBeforeUnmount(() => {
143
+ off('toastNotify', createToast);
144
+ off('toastClose', toastRemove);
145
+ off('toastUpdate', toastUpdate);
146
+ off('toastCloseAll', clearAll);
147
+ });
148
+ return {
149
+ on,
150
+ off,
151
+ classes,
152
+ transitionName,
153
+ isActive,
154
+ toggle,
155
+ addItem,
156
+ removeItem,
157
+ clearAll,
158
+ getItem,
159
+ queue,
160
+ createToast,
161
+ toastUpdate,
162
+ toastRemove,
163
+ onToastEnter,
164
+ onToastLeave,
165
+ onClick,
166
+ onToastHidden
167
+ };
168
+ }
169
+ });
170
+
171
+ var css_248z = ".or-toast-container[data-v-521acbe2]{z-index:26}.or-toast--transition-slide-enter-active[data-v-521acbe2],.or-toast--transition-slide-leave-active[data-v-521acbe2]{transition:transform .4s ease}.or-toast--transition-slide-enter-from.or-toast--position-right[data-v-521acbe2],.or-toast--transition-slide-leave-to.or-toast--position-right[data-v-521acbe2]{transform:translateX(999px)}.or-toast--transition-slide-enter-from.or-toast--position-left[data-v-521acbe2],.or-toast--transition-slide-leave-to.or-toast--position-left[data-v-521acbe2]{transform:translateX(-999px)}.or-toast--transition-fade-enter-active[data-v-521acbe2],.or-toast--transition-fade-leave-active[data-v-521acbe2]{transition:opacity .4s ease}.or-toast--transition-fade-enter-from[data-v-521acbe2],.or-toast--transition-fade-leave-to[data-v-521acbe2]{opacity:0}";
172
+ styleInject(css_248z);
173
+
174
+ /* script */
175
+ const __vue_script__ = script;
176
+ /* template */
177
+ var __vue_render__ = function () {
178
+ var _vm = this;
179
+ var _h = _vm.$createElement;
180
+ var _c = _vm._self._c || _h;
181
+ return _vm.isActive ? _c('OrTeleport', [_c('div', {
182
+ class: _vm.classes
183
+ }, [_c('TransitionGroup', {
184
+ class: ['contents'],
185
+ attrs: {
186
+ "name": _vm.transitionName
187
+ },
188
+ on: {
189
+ "after-leave": _vm.onToastHidden
190
+ }
191
+ }, _vm._l(_vm.queue, function (toastConfiguration) {
192
+ return _c('OrToast', _vm._b({
193
+ key: toastConfiguration.hash,
194
+ on: {
195
+ "click": function ($event) {
196
+ return _vm.onClick(toastConfiguration.toastBehaviour);
197
+ },
198
+ "mouseenter": function ($event) {
199
+ return _vm.onToastEnter(toastConfiguration);
200
+ },
201
+ "mouseleave": function ($event) {
202
+ return _vm.onToastLeave(toastConfiguration);
203
+ },
204
+ "close": function ($event) {
205
+ return _vm.toastRemove(toastConfiguration);
206
+ }
207
+ }
208
+ }, 'OrToast', toastConfiguration.toastProps, false));
209
+ }), 1)], 1)]) : _vm._e();
210
+ };
211
+ var __vue_staticRenderFns__ = [];
212
+
213
+ /* style */
214
+ const __vue_inject_styles__ = undefined;
215
+ /* scoped */
216
+ const __vue_scope_id__ = "data-v-521acbe2";
217
+ /* module identifier */
218
+ const __vue_module_identifier__ = undefined;
219
+ /* functional template */
220
+ const __vue_is_functional_template__ = false;
221
+ /* style inject */
222
+
223
+ /* style inject SSR */
224
+
225
+ /* style inject shadow dom */
226
+
227
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
228
+ render: __vue_render__,
229
+ staticRenderFns: __vue_staticRenderFns__
230
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
231
+
232
+ export { __vue_component__ as default };
@@ -1,35 +1,36 @@
1
- export { _ as OrToastContainerV3 } from '../../OrToastContainer-38cc76b5.js';
1
+ export { default as OrToastContainerV3 } from './OrToastContainer.js';
2
2
  export { t as TypesV3 } from '../../types-668300dd.js';
3
- export { p as PropsV3 } from '../../props-fb3f60a5.js';
4
- export { default as useToastV3 } from '../OrToastV3/useToast.js';
5
- export { default as useQueueV3 } from '../OrToastV3/useQueue.js';
3
+ export { p as PropsV3 } from '../../props-7be029c7.js';
4
+ export { default as useToastV3 } from '../OrToastV3/composable/useToast.js';
5
+ export { default as useQueueV3 } from '../OrToastV3/composable/useQueue.js';
6
6
  import '@vueuse/core';
7
7
  import 'vue-demi';
8
- import '../OrToastV3/useToastEventBus.js';
8
+ import '../OrToastV3/composable/useToastEventBus.js';
9
+ import '../OrToastV3/OrToast.js';
9
10
  import '../OrToastV3/styles.js';
10
- import '../../OrIconButton-3c5bac86.js';
11
+ import '../OrIconButtonV3/OrIconButton.js';
11
12
  import '../OrIconButtonV3/props.js';
12
13
  import '../OrIconV3/props.js';
13
14
  import '../OrIconButtonV3/styles.js';
14
- import '../../OrIcon-7582c4d1.js';
15
+ import '../OrIconV3/OrIcon.js';
15
16
  import '../OrIconV3/styles.js';
16
17
  import '../../normalize-component-6e8e3d80.js';
17
- import '../../OrTooltip-6c689e3b.js';
18
+ import '../OrTooltipV3/OrTooltip.js';
18
19
  import '../OrTooltipV3/styles.js';
19
- import '../OrPopover/OrPopover.js';
20
+ import '../OrPopoverV3/OrPopover.js';
20
21
  import '../../floating-ui.dom.esm-83eba816.js';
21
22
  import '../OrPopoverV3/props.js';
22
23
  import '../OrPopoverV3/styles.js';
23
- import '../OrBottomSheet/OrBottomSheet.js';
24
+ import '../OrBottomSheetV3/OrBottomSheet.js';
24
25
  import '../OrBottomSheetV3/styles.js';
25
- import '../../OrOverlay-831c4cf3.js';
26
+ import '../OrOverlayV3/OrOverlay.js';
26
27
  import '../OrOverlayV3/styles.js';
27
- import '../../OrTeleport.vue2-259d6f25.js';
28
+ import '../OrTeleportV3/OrTeleport.js';
28
29
  import 'portal-vue';
29
30
  import '../../hooks/useElevation.js';
30
31
  import '../../utils/isVisible.js';
31
32
  import '../../hooks/useResponsive/useResponsive.js';
32
- import '../../OrLoader-f011afff.js';
33
+ import '../OrLoaderV3/OrLoader.js';
33
34
  import '../OrLoaderV3/props.js';
34
35
  import '../OrLoaderV3/styles.js';
35
36
  import '../../style-inject.es-4c6f2515.js';