@onereach/ui-components 2.77.0-beta.2447.0 → 2.77.0-beta.2448.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 (314) hide show
  1. package/dist/bundled/v2/{components/OrAvatarV3/OrAvatarV3.js → OrAvatar-7fc11680.js} +8 -12
  2. package/dist/bundled/v2/{components/OrButtonV3/OrButtonV3.js → OrButton-451e39d6.js} +7 -9
  3. package/dist/bundled/v2/{components/OrButtonV2/OrButtonV2.js → OrButton-f41bc4f9.js} +8 -18
  4. package/dist/bundled/v2/{components/OrCardV3/OrCardV3.js → OrCard-01367884.js} +4 -3
  5. package/dist/bundled/v2/{components/OrCardCollectionV3/OrCardCollectionV3.js → OrCardCollection-05d12693.js} +19 -62
  6. package/dist/bundled/v2/{components/OrCheckboxV3/OrCheckboxV3.js → OrCheckbox-19375a2b.js} +10 -10
  7. package/dist/bundled/v2/{components/OrConfirmV3/OrConfirmV3.js → OrConfirm-dd824d8a.js} +13 -52
  8. package/dist/bundled/v2/{components/OrErrorV3/OrErrorV3.js → OrError-516a4334.js} +4 -3
  9. package/dist/bundled/v2/{components/OrHintV3/OrHintV3.js → OrHint-a2dc1e08.js} +4 -3
  10. package/dist/bundled/v2/{components/OrIconV3/OrIconV3.js → OrIcon-7582c4d1.js} +5 -4
  11. package/dist/bundled/v2/{components/OrIconButtonV3/OrIconButtonV3.js → OrIconButton-3c5bac86.js} +10 -25
  12. package/dist/bundled/v2/{components/OrInputV3/OrInputV3.js → OrInput-d2299d9b.js} +25 -50
  13. package/dist/bundled/v2/{components/OrLabelV3/OrLabelV3.js → OrLabel-705461df.js} +5 -4
  14. package/dist/bundled/v2/{components/OrLoaderV3/OrLoaderV3.js → OrLoader-f011afff.js} +5 -4
  15. package/dist/bundled/v2/{components/OrModalV3/OrModalV3.js → OrModal-e540b95b.js} +9 -28
  16. package/dist/bundled/v2/{components/OrNotificationV3/OrNotificationV3.js → OrNotification-25c7e19c.js} +9 -28
  17. package/dist/bundled/v2/{components/OrOverlayV3/OrOverlayV3.js → OrOverlay-831c4cf3.js} +7 -8
  18. package/dist/bundled/v2/{components/OrProgressV3/OrProgressV3.js → OrProgress-66304d97.js} +6 -5
  19. package/dist/bundled/v2/{components/OrRadioV3/OrRadioV3.js → OrRadio-bd269b6c.js} +10 -10
  20. package/dist/bundled/v2/{components/OrSearchV3/OrSearchV3.js → OrSearch-37f87411.js} +6 -44
  21. package/dist/bundled/v2/{components/OrSelectV3/OrSelectV3.js → OrSelect-a3c1cb19.js} +30 -69
  22. package/dist/bundled/v2/{components/OrSidebarV3/OrSidebarV3.js → OrSidebar-b19f60bb.js} +9 -28
  23. package/dist/bundled/v2/{components/OrSkeletonCircleV3/OrSkeletonCircleV3.js → OrSkeletonCircle-8d795bd0.js} +5 -4
  24. package/dist/bundled/v2/{components/OrSkeletonRectV3/OrSkeletonRectV3.js → OrSkeletonRect-b1254c5a.js} +5 -4
  25. package/dist/bundled/v2/{components/OrSkeletonTextV3/OrSkeletonTextV3.js → OrSkeletonText-f15c3702.js} +5 -4
  26. package/dist/bundled/v2/{components/OrSwitchV3/OrSwitchV3.js → OrSwitch-1cabf182.js} +12 -15
  27. package/dist/bundled/v2/{components/OrTabV3/OrTabV3.js → OrTab-831a923c.js} +4 -3
  28. package/dist/bundled/v2/{components/OrTabsV3/OrTabsV3.js → OrTabs-3652b7c1.js} +11 -28
  29. package/dist/bundled/v2/{components/OrTagV3/OrTagV3.js → OrTag-2f788ca4.js} +7 -27
  30. package/dist/bundled/v2/{components/OrTeleportV3/OrTeleportV3.js → OrTeleport.vue2-259d6f25.js} +3 -2
  31. package/dist/bundled/v2/{components/OrTextareaV3/OrTextareaV3.js → OrTextarea-e10c98ce.js} +17 -21
  32. package/dist/bundled/v2/{components/OrToastV3/OrToastV3.js → OrToastContainer-38cc76b5.js} +219 -39
  33. package/dist/bundled/v2/{components/OrTooltipV3/OrTooltipV3.js → OrTooltip-6c689e3b.js} +6 -16
  34. package/dist/bundled/v2/components/OrAvatarV3/index.js +2 -2
  35. package/dist/bundled/v2/components/{OrBottomSheetV3/OrBottomSheetV3.js → OrBottomSheet/OrBottomSheet.js} +4 -4
  36. package/dist/bundled/v2/components/OrBottomSheetV3/index.js +3 -3
  37. package/dist/bundled/v2/components/OrButtonV2/index.js +2 -2
  38. package/dist/bundled/v2/components/OrButtonV3/index.js +2 -2
  39. package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +1 -1
  40. package/dist/bundled/v2/components/OrCardCollection/index.js +1 -1
  41. package/dist/bundled/v2/components/OrCardCollectionV3/index.js +18 -18
  42. package/dist/bundled/v2/components/OrCardV3/index.js +1 -1
  43. package/dist/bundled/v2/components/OrCheckboxV3/index.js +2 -2
  44. package/dist/bundled/v2/components/OrCode/OrCode.js +1 -1
  45. package/dist/bundled/v2/components/OrCode/index.js +1 -1
  46. package/dist/bundled/v2/components/{OrCombinedInputV3/OrCombinedInputV3.js → OrCombinedInput/OrCombinedInput.js} +7 -7
  47. package/dist/bundled/v2/components/OrCombinedInputV3/index.js +4 -4
  48. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +7 -7
  49. package/dist/bundled/v2/components/OrConfirm/index.js +2 -2
  50. package/dist/bundled/v2/components/OrConfirmV3/index.js +15 -15
  51. package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +1 -1
  52. package/dist/bundled/v2/components/OrDateTimePicker/index.js +1 -1
  53. package/dist/bundled/v2/components/{OrEmptyStateV3/OrEmptyStateV3.js → OrEmptyState/OrEmptyState.js} +2 -2
  54. package/dist/bundled/v2/components/OrEmptyStateV3/index.js +1 -1
  55. package/dist/bundled/v2/components/{OrErrorTagV3/OrErrorTagV3.js → OrErrorTag/OrErrorTag.js} +3 -3
  56. package/dist/bundled/v2/components/OrErrorTagV3/index.js +2 -2
  57. package/dist/bundled/v2/components/OrErrorV3/index.js +1 -1
  58. package/dist/bundled/v2/components/{OrExpansionPanelV3/OrExpansionPanelV3.js → OrExpansionPanel/OrExpansionPanel.js} +4 -4
  59. package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +2 -2
  60. package/dist/bundled/v2/components/{OrFabV3/OrFabV3.js → OrFab/OrFab.js} +4 -4
  61. package/dist/bundled/v2/components/OrFabV3/index.js +2 -2
  62. package/dist/bundled/v2/components/OrHintV3/index.js +1 -1
  63. package/dist/bundled/v2/components/OrIconButtonV2/index.js +1 -1
  64. package/dist/bundled/v2/components/OrIconButtonV3/index.js +7 -7
  65. package/dist/bundled/v2/components/OrIconV3/index.js +1 -1
  66. package/dist/bundled/v2/components/{OrInlineInputV3/OrInlineInputV3.js → OrInlineInput/OrInlineInput.js} +16 -16
  67. package/dist/bundled/v2/components/{OrInlineInputBoxV3/OrInlineInputBoxV3.js → OrInlineInputBox/OrInlineInputBox.js} +2 -2
  68. package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +1 -1
  69. package/dist/bundled/v2/components/OrInlineInputV3/index.js +11 -11
  70. package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -1
  71. package/dist/bundled/v2/components/OrInlineTextEdit/index.js +1 -1
  72. package/dist/bundled/v2/components/{OrInlineTextareaV3/OrInlineTextareaV3.js → OrInlineTextarea/OrInlineTextarea.js} +15 -15
  73. package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +11 -11
  74. package/dist/bundled/v2/components/{OrInputBoxV3/OrInputBoxV3.js → OrInputBox/OrInputBox.js} +2 -2
  75. package/dist/bundled/v2/components/OrInputBoxV3/index.js +1 -1
  76. package/dist/bundled/v2/components/OrInputV3/index.js +13 -13
  77. package/dist/bundled/v2/components/OrLabelV3/index.js +1 -1
  78. package/dist/bundled/v2/components/{OrLinkV3/OrLinkV3.js → OrLink/OrLink.js} +2 -2
  79. package/dist/bundled/v2/components/OrLinkV3/index.js +1 -1
  80. package/dist/bundled/v2/components/OrList/OrList.js +9 -9
  81. package/dist/bundled/v2/components/OrList/index.js +2 -2
  82. package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +2 -2
  83. package/dist/bundled/v2/components/OrListOfInputs/index.js +2 -2
  84. package/dist/bundled/v2/components/OrLoaderV3/index.js +1 -1
  85. package/dist/bundled/v2/components/{OrMenuV3/OrMenuV3.js → OrMenu/OrMenu.js} +5 -5
  86. package/dist/bundled/v2/components/{OrMenuItemV3/OrMenuItemV3.js → OrMenuItem/OrMenuItem.js} +3 -3
  87. package/dist/bundled/v2/components/OrMenuItemV3/index.js +2 -2
  88. package/dist/bundled/v2/components/OrMenuV3/index.js +5 -5
  89. package/dist/bundled/v2/components/OrModal/OrModal.js +1 -1
  90. package/dist/bundled/v2/components/OrModal/index.js +1 -1
  91. package/dist/bundled/v2/components/OrModalV3/index.js +8 -8
  92. package/dist/bundled/v2/components/OrNotification/OrNotification.js +1 -1
  93. package/dist/bundled/v2/components/OrNotification/index.js +1 -1
  94. package/dist/bundled/v2/components/OrNotificationV3/index.js +8 -8
  95. package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +6 -6
  96. package/dist/bundled/v2/components/OrOverflowMenu/index.js +2 -2
  97. package/dist/bundled/v2/components/OrOverlayV3/index.js +2 -2
  98. package/dist/bundled/v2/components/{OrPaginationV3/OrPaginationV3.js → OrPagination/OrPagination.js} +14 -14
  99. package/dist/bundled/v2/components/OrPaginationV3/index.js +10 -10
  100. package/dist/bundled/v2/components/OrPassword/OrPassword.js +1 -1
  101. package/dist/bundled/v2/components/OrPassword/index.js +1 -1
  102. package/dist/bundled/v2/components/{OrPopoverV3/OrPopoverV3.js → OrPopover/OrPopover.js} +6 -6
  103. package/dist/bundled/v2/components/OrPopoverV3/index.js +4 -4
  104. package/dist/bundled/v2/components/OrProgressV3/index.js +1 -1
  105. package/dist/bundled/v2/components/OrRadioV3/index.js +2 -2
  106. package/dist/bundled/v2/components/OrSearch/OrSearch.js +1 -1
  107. package/dist/bundled/v2/components/OrSearch/index.js +1 -1
  108. package/dist/bundled/v2/components/OrSearchV3/index.js +14 -14
  109. package/dist/bundled/v2/components/{OrSegmentedControlV3/OrSegmentedControlV3.js → OrSegmentedControl/OrSegmentedControl.js} +2 -2
  110. package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +1 -1
  111. package/dist/bundled/v2/components/OrSelectV3/index.js +18 -18
  112. package/dist/bundled/v2/components/OrSidebarV3/index.js +8 -8
  113. package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +1 -1
  114. package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +1 -1
  115. package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +1 -1
  116. package/dist/bundled/v2/components/OrSkeletonV3/index.js +3 -3
  117. package/dist/bundled/v2/components/{OrSortHeaderV3/OrSortHeaderV3.js → OrSortHeader/OrSortHeader.js} +3 -3
  118. package/dist/bundled/v2/components/OrSortHeaderV3/index.js +2 -2
  119. package/dist/bundled/v2/components/OrStepper/OrStepper.js +2 -2
  120. package/dist/bundled/v2/components/OrStepper/index.js +1 -1
  121. package/dist/bundled/v2/components/OrSwitchV3/index.js +3 -3
  122. package/dist/bundled/v2/components/OrTabV3/index.js +1 -1
  123. package/dist/bundled/v2/components/OrTabsV3/index.js +9 -9
  124. package/dist/bundled/v2/components/OrTagV3/index.js +8 -8
  125. package/dist/bundled/v2/components/OrTeleportV3/index.js +1 -1
  126. package/dist/bundled/v2/components/{OrTextV3/OrTextV3.js → OrText/OrText.js} +1 -1
  127. package/dist/bundled/v2/components/OrTextV3/index.js +1 -1
  128. package/dist/bundled/v2/components/OrTextareaV3/index.js +5 -5
  129. package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +1 -1
  130. package/dist/bundled/v2/components/OrTextbox/index.js +1 -1
  131. package/dist/bundled/v2/components/OrToast/OrToast.js +1 -1
  132. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +1 -1
  133. package/dist/bundled/v2/components/OrToastContainer/index.js +1 -1
  134. package/dist/bundled/v2/components/OrToastContainerV3/index.js +10 -11
  135. package/dist/bundled/v2/components/OrToastV3/index.js +1 -1
  136. package/dist/bundled/v2/components/OrToastV3/props.js +1 -1
  137. package/dist/bundled/v2/components/OrToastV3/useToast.js +1 -1
  138. package/dist/bundled/v2/components/OrTooltipV3/index.js +5 -5
  139. package/dist/bundled/v2/components/index.js +75 -76
  140. package/dist/bundled/v2/index.js +74 -75
  141. package/dist/bundled/v2/{props-7be029c7.js → props-fb3f60a5.js} +1 -1
  142. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-a358ed4c.js → OrAvatar.vue_vue_type_script_lang-32273c2f.js} +1 -1
  143. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-1b744aad.js → OrBottomSheet.vue_vue_type_script_lang-80114a8a.js} +20 -2
  144. package/dist/bundled/v3/{components/OrButtonV2/OrButtonV2.js → OrButton-bf88c2a5.js} +2 -22
  145. package/dist/bundled/v3/{components/OrButtonV3/OrButtonV3.js → OrButton-cc469bd8.js} +1 -10
  146. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-0d4df1e4.js → OrButton.vue_vue_type_script_lang-a58d3d78.js} +1 -1
  147. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-01a77066.js → OrCardCollection.vue_vue_type_script_lang-25c62a0c.js} +2 -2
  148. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1c9505bc.js → OrCardCollection.vue_vue_type_script_lang-d81e9f9b.js} +45 -19
  149. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-d46f3519.js → OrCheckbox.vue_vue_type_script_lang-d5aa50c1.js} +1 -1
  150. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-b6145e06.js → OrCode.vue_vue_type_script_lang-92cabe32.js} +2 -2
  151. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f4ed6548.js → OrConfirm.vue_vue_type_script_lang-a48d6224.js} +6 -6
  152. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-1f3926f9.js → OrConfirm.vue_vue_type_script_lang-fc02d14d.js} +2 -2
  153. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-2d6e9590.js → OrDateTimePicker.vue_vue_type_script_lang-b9dade9d.js} +1 -1
  154. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-56a52f39.js → OrErrorTag.vue_vue_type_script_lang-02a46c6b.js} +1 -1
  155. package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-5ebc5933.js → OrExpansionPanel.vue_vue_type_script_lang-749ff722.js} +1 -1
  156. package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-a2ba6b14.js → OrFab.vue_vue_type_script_lang-96b4fd81.js} +1 -1
  157. package/dist/bundled/v3/OrHint-12428e42.js +35 -0
  158. package/dist/bundled/v3/{components/OrIconV3/OrIconV3.js → OrIcon-671794cb.js} +1 -5
  159. package/dist/bundled/v3/{components/OrIconButtonV3/OrIconButtonV3.js → OrIconButton-0d8e85d9.js} +1 -29
  160. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-5e089ff3.js +83 -0
  161. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-b5aa4fe2.js → OrInlineInput.vue_vue_type_script_lang-480bbbe1.js} +6 -7
  162. package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-9af4e959.js → OrInlineTextEdit.vue_vue_type_script_lang-c2eb855d.js} +1 -1
  163. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a32a8f71.js → OrInlineTextarea.vue_vue_type_script_lang-84378895.js} +4 -5
  164. package/dist/bundled/v3/{components/OrInputV3/OrInputV3.js → OrInput-ab04adbb.js} +2 -55
  165. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-4f36ecd1.js → OrInput.vue_vue_type_script_lang-da9e19d2.js} +10 -11
  166. package/dist/bundled/v3/{components/OrLabelV3/OrLabelV3.js → OrLabel-47f15fc0.js} +1 -5
  167. package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-3dbbf404.js → OrList.vue_vue_type_script_lang-30a7b0e3.js} +2 -2
  168. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-4d0e2e67.js → OrListOfInputs.vue_vue_type_script_lang-9b8f2b8a.js} +2 -2
  169. package/dist/bundled/v3/{components/OrLoaderV3/OrLoaderV3.js → OrLoader-1c02d64d.js} +1 -6
  170. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-cd85435a.js → OrMenu.vue_vue_type_script_lang-911ded05.js} +2 -2
  171. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-54c89599.js → OrMenuItem.vue_vue_type_script_lang-7f05cee1.js} +1 -1
  172. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-a671df0e.js → OrModal.vue_vue_type_script_lang-005d198c.js} +4 -4
  173. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-dae1159c.js → OrModal.vue_vue_type_script_lang-a275bf57.js} +1 -1
  174. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-5eb1c354.js → OrNotification.vue_vue_type_script_lang-2900b303.js} +1 -1
  175. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3ec5fade.js → OrNotification.vue_vue_type_script_lang-4e99b9f1.js} +3 -3
  176. package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-21f1e792.js → OrOverflowMenu.vue_vue_type_script_lang-0b1d1150.js} +2 -2
  177. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-6c4b63bf.js → OrOverlay.vue_vue_type_script_lang-fea5839d.js} +11 -1
  178. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-26b985af.js → OrPagination.vue_vue_type_script_lang-f75db050.js} +7 -7
  179. package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-2493a8af.js → OrPassword.vue_vue_type_script_lang-46bca9cd.js} +1 -1
  180. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-ea0e5f7b.js → OrPopover.vue_vue_type_script_lang-2ba79d91.js} +3 -3
  181. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-637f6c90.js → OrRadio.vue_vue_type_script_lang-2953870d.js} +1 -1
  182. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-fe3fd110.js → OrSearch.vue_vue_type_script_lang-2eb1c79b.js} +1 -1
  183. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-12aa0495.js → OrSearch.vue_vue_type_script_lang-b6f85857.js} +2 -2
  184. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-5976b51d.js → OrSelect.vue_vue_type_script_lang-3decc59f.js} +99 -32
  185. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-e83e5c17.js → OrSidebar.vue_vue_type_script_lang-c342ffef.js} +2 -2
  186. package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-d9c91f0a.js → OrSortHeader.vue_vue_type_script_lang-d70f3898.js} +1 -1
  187. package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-325369a3.js → OrStepper.vue_vue_type_script_lang-42f57de9.js} +1 -1
  188. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-ec9eccfe.js → OrSwitch.vue_vue_type_script_lang-ac699016.js} +2 -2
  189. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-3bb69c31.js → OrTabs.vue_vue_type_script_lang-c3739ede.js} +28 -12
  190. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-4a17d4d5.js → OrTag.vue_vue_type_script_lang-37474827.js} +2 -2
  191. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-e5621a66.js → OrTextarea.vue_vue_type_script_lang-cda6f95e.js} +3 -4
  192. package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-6752fab9.js → OrTextbox.vue_vue_type_script_lang-20e6c904.js} +1 -1
  193. package/dist/bundled/v3/{components/OrToastV3/OrToastV3.js → OrToastContainer.vue_vue_type_script_lang-4da13abb.js} +156 -43
  194. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-cba8024f.js → OrTooltip.vue_vue_type_script_lang-a27e7f1f.js} +2 -2
  195. package/dist/bundled/v3/components/OrAvatarV3/index.js +2 -2
  196. package/dist/bundled/v3/components/{OrBottomSheetV3/OrBottomSheetV3.js → OrBottomSheet/OrBottomSheet.js} +4 -6
  197. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -4
  198. package/dist/bundled/v3/components/OrButtonV3/index.js +2 -2
  199. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +4 -4
  200. package/dist/bundled/v3/components/OrCardCollection/index.js +3 -3
  201. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +23 -28
  202. package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -2
  203. package/dist/bundled/v3/components/OrCode/OrCode.js +4 -4
  204. package/dist/bundled/v3/components/OrCode/index.js +3 -3
  205. package/dist/bundled/v3/components/{OrCombinedInputV3/OrCombinedInputV3.js → OrCombinedInput/OrCombinedInput.js} +6 -7
  206. package/dist/bundled/v3/components/OrCombinedInputV3/index.js +3 -4
  207. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +5 -5
  208. package/dist/bundled/v3/components/OrConfirm/index.js +4 -4
  209. package/dist/bundled/v3/components/OrConfirmV3/index.js +19 -23
  210. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +3 -3
  211. package/dist/bundled/v3/components/OrDateTimePicker/index.js +2 -2
  212. package/dist/bundled/v3/components/{OrEmptyStateV3/OrEmptyStateV3.js → OrEmptyState/OrEmptyState.js} +2 -2
  213. package/dist/bundled/v3/components/{OrErrorTagV3/OrErrorTagV3.js → OrErrorTag/OrErrorTag.js} +4 -4
  214. package/dist/bundled/v3/components/OrErrorTagV3/index.js +2 -2
  215. package/dist/bundled/v3/components/{OrExpansionPanelV3/OrExpansionPanelV3.js → OrExpansionPanel/OrExpansionPanel.js} +5 -5
  216. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +2 -2
  217. package/dist/bundled/v3/components/{OrFabV3/OrFabV3.js → OrFab/OrFab.js} +5 -5
  218. package/dist/bundled/v3/components/OrFabV3/index.js +2 -2
  219. package/dist/bundled/v3/components/OrIconButtonV3/index.js +8 -11
  220. package/dist/bundled/v3/components/{OrInlineInputV3/OrInlineInputV3.js → OrInlineInput/OrInlineInput.js} +15 -19
  221. package/dist/bundled/v3/components/{OrInlineInputBoxV3/OrInlineInputBoxV3.js → OrInlineInputBox/OrInlineInputBox.js} +2 -2
  222. package/dist/bundled/v3/components/OrInlineInputV3/index.js +12 -16
  223. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +3 -3
  224. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +2 -2
  225. package/dist/bundled/v3/components/{OrInlineTextareaV3/OrInlineTextareaV3.js → OrInlineTextarea/OrInlineTextarea.js} +14 -18
  226. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +12 -16
  227. package/dist/bundled/v3/components/{OrInputBoxV3/OrInputBoxV3.js → OrInputBox/OrInputBox.js} +2 -2
  228. package/dist/bundled/v3/components/OrInputV3/index.js +14 -18
  229. package/dist/bundled/v3/components/{OrLinkV3/OrLinkV3.js → OrLink/OrLink.js} +2 -2
  230. package/dist/bundled/v3/components/OrList/OrList.js +4 -4
  231. package/dist/bundled/v3/components/OrList/index.js +3 -3
  232. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +5 -5
  233. package/dist/bundled/v3/components/OrListOfInputs/index.js +4 -4
  234. package/dist/bundled/v3/components/{OrMenuV3/OrMenuV3.js → OrMenu/OrMenu.js} +8 -10
  235. package/dist/bundled/v3/components/{OrMenuItemV3/OrMenuItemV3.js → OrMenuItem/OrMenuItem.js} +4 -4
  236. package/dist/bundled/v3/components/OrMenuItemV3/index.js +2 -2
  237. package/dist/bundled/v3/components/OrMenuV3/index.js +6 -8
  238. package/dist/bundled/v3/components/OrModal/OrModal.js +3 -3
  239. package/dist/bundled/v3/components/OrModal/index.js +2 -2
  240. package/dist/bundled/v3/components/OrModalV3/index.js +11 -14
  241. package/dist/bundled/v3/components/OrNotification/OrNotification.js +3 -3
  242. package/dist/bundled/v3/components/OrNotification/index.js +2 -2
  243. package/dist/bundled/v3/components/OrNotificationV3/index.js +10 -13
  244. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +4 -4
  245. package/dist/bundled/v3/components/OrOverflowMenu/index.js +3 -3
  246. package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -2
  247. package/dist/bundled/v3/components/{OrPaginationV3/OrPaginationV3.js → OrPagination/OrPagination.js} +16 -18
  248. package/dist/bundled/v3/components/OrPaginationV3/index.js +14 -16
  249. package/dist/bundled/v3/components/OrPassword/OrPassword.js +3 -3
  250. package/dist/bundled/v3/components/OrPassword/index.js +2 -2
  251. package/dist/bundled/v3/components/{OrPopoverV3/OrPopoverV3.js → OrPopover/OrPopover.js} +7 -9
  252. package/dist/bundled/v3/components/OrPopoverV3/index.js +4 -6
  253. package/dist/bundled/v3/components/OrRadioV3/index.js +2 -2
  254. package/dist/bundled/v3/components/OrSearch/OrSearch.js +3 -3
  255. package/dist/bundled/v3/components/OrSearch/index.js +2 -2
  256. package/dist/bundled/v3/components/OrSearchV3/index.js +16 -20
  257. package/dist/bundled/v3/components/{OrSegmentedControlV3/OrSegmentedControlV3.js → OrSegmentedControl/OrSegmentedControl.js} +2 -2
  258. package/dist/bundled/v3/components/OrSelectV3/index.js +24 -30
  259. package/dist/bundled/v3/components/OrSidebarV3/index.js +10 -13
  260. package/dist/bundled/v3/components/{OrSortHeaderV3/OrSortHeaderV3.js → OrSortHeader/OrSortHeader.js} +4 -4
  261. package/dist/bundled/v3/components/OrSortHeaderV3/index.js +2 -2
  262. package/dist/bundled/v3/components/OrStepper/OrStepper.js +3 -3
  263. package/dist/bundled/v3/components/OrStepper/index.js +2 -2
  264. package/dist/bundled/v3/components/OrSwitchV3/index.js +3 -3
  265. package/dist/bundled/v3/components/OrTabsV3/index.js +11 -14
  266. package/dist/bundled/v3/components/OrTagV3/index.js +10 -13
  267. package/dist/bundled/v3/components/{OrTextV3/OrTextV3.js → OrText/OrText.js} +1 -1
  268. package/dist/bundled/v3/components/OrTextareaV3/index.js +4 -5
  269. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +3 -3
  270. package/dist/bundled/v3/components/OrTextbox/index.js +2 -2
  271. package/dist/bundled/v3/components/OrToast/OrToast.js +1 -1
  272. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +3 -3
  273. package/dist/bundled/v3/components/OrToastContainer/index.js +2 -2
  274. package/dist/bundled/v3/components/OrToastContainerV3/index.js +12 -16
  275. package/dist/bundled/v3/components/OrToastV3/index.js +1 -1
  276. package/dist/bundled/v3/components/OrToastV3/props.js +1 -1
  277. package/dist/bundled/v3/components/OrToastV3/useToast.js +1 -1
  278. package/dist/bundled/v3/components/OrTooltipV3/index.js +6 -8
  279. package/dist/bundled/v3/components/index.js +81 -90
  280. package/dist/bundled/v3/index.js +971 -107
  281. package/dist/bundled/v3/{props-7be029c7.js → props-fb3f60a5.js} +1 -1
  282. package/package.json +2 -2
  283. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainerV3.js +0 -232
  284. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-40d2387f.js +0 -57
  285. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-57ebe1e4.js +0 -147
  286. package/dist/bundled/v3/components/OrAvatarV3/OrAvatarV3.js +0 -35
  287. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollectionV3.js +0 -162
  288. package/dist/bundled/v3/components/OrCardV3/OrCardV3.js +0 -15
  289. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckboxV3.js +0 -51
  290. package/dist/bundled/v3/components/OrConfirmV3/OrConfirmV3.js +0 -129
  291. package/dist/bundled/v3/components/OrErrorV3/OrErrorV3.js +0 -21
  292. package/dist/bundled/v3/components/OrHintV3/OrHintV3.js +0 -21
  293. package/dist/bundled/v3/components/OrModalV3/OrModalV3.js +0 -66
  294. package/dist/bundled/v3/components/OrNotificationV3/OrNotificationV3.js +0 -59
  295. package/dist/bundled/v3/components/OrOverlayV3/OrOverlayV3.js +0 -28
  296. package/dist/bundled/v3/components/OrProgressV3/OrProgressV3.js +0 -84
  297. package/dist/bundled/v3/components/OrRadioV3/OrRadioV3.js +0 -50
  298. package/dist/bundled/v3/components/OrSearchV3/OrSearchV3.js +0 -85
  299. package/dist/bundled/v3/components/OrSelectV3/OrSelectV3.js +0 -294
  300. package/dist/bundled/v3/components/OrSidebarV3/OrSidebarV3.js +0 -75
  301. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircleV3.js +0 -18
  302. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRectV3.js +0 -18
  303. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonTextV3.js +0 -24
  304. package/dist/bundled/v3/components/OrSwitchV3/OrSwitchV3.js +0 -66
  305. package/dist/bundled/v3/components/OrTabV3/OrTabV3.js +0 -21
  306. package/dist/bundled/v3/components/OrTabsV3/OrTabsV3.js +0 -91
  307. package/dist/bundled/v3/components/OrTagV3/OrTagV3.js +0 -63
  308. package/dist/bundled/v3/components/OrTeleportV3/OrTeleportV3.js +0 -14
  309. package/dist/bundled/v3/components/OrTextareaV3/OrTextareaV3.js +0 -103
  310. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainerV3.js +0 -79
  311. package/dist/bundled/v3/components/OrTooltipV3/OrTooltipV3.js +0 -48
  312. /package/dist/bundled/v2/components/{OrIconButtonV2/OrIconButtonV2.js → OrIconButton/OrIconButton.js} +0 -0
  313. /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-c7cabe6c.js → OrToastContainer.vue_vue_type_script_lang-39906821.js} +0 -0
  314. /package/dist/bundled/v3/components/{OrIconButtonV2/OrIconButtonV2.js → OrIconButton/OrIconButton.js} +0 -0
@@ -29,4 +29,4 @@ var props = /*#__PURE__*/Object.freeze({
29
29
  get ToastType () { return ToastType; }
30
30
  });
31
31
 
32
- export { PositionsX as P, TransitionType as T, PositionsY as a, ToastType as b, props as p };
32
+ export { PositionsX as P, ToastType as T, PositionsY as a, TransitionType as b, props as p };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.77.0-beta.2447.0",
3
+ "version": "2.77.0-beta.2448.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@babel/preset-env": "7.18.10",
56
- "@onereach/rollup-vue-lib-config": "2.0.1-SB7768.0",
56
+ "@onereach/rollup-vue-lib-config": "2.0.1-SB7769.0",
57
57
  "@rollup/plugin-replace": "4.0.0",
58
58
  "@rollup/plugin-url": "^8.0.1",
59
59
  "@storybook/addon-actions": "6.5.15",
@@ -1,232 +0,0 @@
1
- import { useToggle } from '@vueuse/core';
2
- import { defineComponent, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
3
- import useQueue from '../OrToastV3/useQueue.js';
4
- import useToastEventBus from '../OrToastV3/useToastEventBus.js';
5
- import __vue_component__$2 from '../OrToastV3/OrToastV3.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/OrTeleportV3.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/OrIconButtonV3.js';
12
- import '../OrIconButtonV3/props.js';
13
- import '../OrIconV3/props.js';
14
- import '../OrIconButtonV3/styles.js';
15
- import '../OrIconV3/OrIconV3.js';
16
- import '../OrIconV3/styles.js';
17
- import '../OrTooltipV3/OrTooltipV3.js';
18
- import '../OrTooltipV3/styles.js';
19
- import '../OrPopoverV3/OrPopoverV3.js';
20
- import '../../floating-ui.dom.esm-83eba816.js';
21
- import '../OrPopoverV3/props.js';
22
- import '../OrPopoverV3/styles.js';
23
- import '../OrBottomSheetV3/OrBottomSheetV3.js';
24
- import '../OrBottomSheetV3/styles.js';
25
- import '../OrOverlayV3/OrOverlayV3.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/OrLoaderV3.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,57 +0,0 @@
1
- import { defineComponent, ref, computed } from 'vue-demi';
2
- import { IconButtonColor } from './components/OrIconButtonV3/props.js';
3
- import { IconButtonRoot, IconButtonRootColors } from './components/OrIconButtonV3/styles.js';
4
- import './components/OrIconV3/OrIconV3.js';
5
- import './components/OrTooltipV3/OrTooltipV3.js';
6
- import { s as script$2 } from './OrTooltip.vue_vue_type_script_lang-cba8024f.js';
7
- import { IconSize } from './components/OrIconV3/props.js';
8
- import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-1a037644.js';
9
-
10
- var script = defineComponent({
11
- name: 'OrIconButton',
12
- components: {
13
- OrIcon: script$1,
14
- OrTooltip: script$2
15
- },
16
- inheritAttrs: false,
17
- props: {
18
- icon: {
19
- type: [String, Object],
20
- required: true
21
- },
22
- color: {
23
- type: String,
24
- default: IconButtonColor.Default
25
- },
26
- size: {
27
- type: String,
28
- default: IconSize.M
29
- },
30
- selected: {
31
- type: Boolean,
32
- default: false
33
- },
34
- disabled: {
35
- type: Boolean,
36
- default: false
37
- },
38
- tooltip: {
39
- type: [String, Object],
40
- default: undefined
41
- }
42
- },
43
- emits: ['click', 'focus', 'blur'],
44
- expose: ['root'],
45
- setup(props) {
46
- // Refs
47
- const root = ref();
48
- // Styles
49
- const rootStyles = computed(() => ['or-icon-button', ...IconButtonRoot, ...IconButtonRootColors[props.color]]);
50
- return {
51
- root,
52
- rootStyles
53
- };
54
- }
55
- });
56
-
57
- export { script as s };
@@ -1,147 +0,0 @@
1
- import { useToggle } from '@vueuse/core';
2
- import { defineComponent, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
3
- import useQueue from './components/OrToastV3/useQueue.js';
4
- import useToastEventBus from './components/OrToastV3/useToastEventBus.js';
5
- import script$2 from './components/OrToastV3/OrToastV3.js';
6
- import { P as PositionsX, a as PositionsY, T as TransitionType } from './props-7be029c7.js';
7
- import { ToastContainer, ToastContainerPositions } from './components/OrToastV3/styles.js';
8
- import './components/OrTeleportV3/OrTeleportV3.js';
9
- import { s as script$1 } from './OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
10
-
11
- var script = defineComponent({
12
- name: 'OrToastContainer',
13
- components: {
14
- OrTeleport: script$1,
15
- OrToast: script$2
16
- },
17
- props: {
18
- includeHeaderHeight: {
19
- type: Boolean,
20
- default: true
21
- },
22
- position: {
23
- type: Object,
24
- default: {
25
- positionX: PositionsX.Right,
26
- positionY: PositionsY.Bottom
27
- }
28
- },
29
- transition: {
30
- type: String,
31
- default: TransitionType.Slide
32
- }
33
- },
34
- setup(props) {
35
- const {
36
- on,
37
- off
38
- } = useToastEventBus();
39
- const {
40
- queue: queueRef,
41
- addItem,
42
- removeItem,
43
- clearAll,
44
- getItem
45
- } = useQueue();
46
- const [isActive, toggle] = useToggle(false);
47
- const classes = computed(() => {
48
- var _a;
49
- return ['or-toast-container', ...ToastContainer, ...ToastContainerPositions[`${props.position.positionX}-${props.position.positionY}`], {
50
- 'position--top--with-header': ((_a = props.position) === null || _a === void 0 ? void 0 : _a.positionY) === PositionsY.Top && props.includeHeaderHeight
51
- }];
52
- });
53
- const transitionName = computed(() => {
54
- var _a;
55
- return `or-toast--position-${(_a = props.position) === null || _a === void 0 ? void 0 : _a.positionX} or-toast--transition-${props.transition}`;
56
- });
57
- // State
58
- const queue = computed(() => {
59
- return queueRef.value.map(({
60
- value
61
- }) => value);
62
- });
63
- // Methods
64
- function createToast(toastConfiguration) {
65
- const caller = () => {
66
- var _a;
67
- addItem(toastConfiguration);
68
- (_a = toastConfiguration.timer) === null || _a === void 0 ? void 0 : _a.start(toastRemove.bind(null, toastConfiguration), toastConfiguration.toastBehaviour.duration);
69
- };
70
- if (!isActive.value) {
71
- // before create toast we need change isActive props, to render or-teleport,
72
- // in other case first item will not be animated
73
- toggle(true);
74
- nextTick(caller);
75
- } else {
76
- caller();
77
- }
78
- }
79
- function toastUpdate(toast) {
80
- const toastItem = getItem(item => {
81
- return item.hash === toast.hash;
82
- });
83
- if (toastItem) toastItem.value = toast;
84
- }
85
- function toastRemove(toast) {
86
- removeItem(item => {
87
- var _a, _b, _c;
88
- if (item.hash === toast.hash) {
89
- (_b = (_a = item.toastBehaviour) === null || _a === void 0 ? void 0 : _a.onToastClose) === null || _b === void 0 ? void 0 : _b.call(_a);
90
- (_c = item.timer) === null || _c === void 0 ? void 0 : _c.stop();
91
- return true;
92
- }
93
- return false;
94
- });
95
- }
96
- function onToastEnter(toast) {
97
- var _a;
98
- if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.pause();
99
- }
100
- function onToastLeave(toast) {
101
- var _a;
102
- if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.resume();
103
- }
104
- function onClick(toastBehaviour) {
105
- var _a;
106
- (_a = toastBehaviour.onToastClick) === null || _a === void 0 ? void 0 : _a.call(toastBehaviour);
107
- }
108
- function onToastHidden() {
109
- toggle(queue.value.length > 0);
110
- }
111
- // Effects
112
- onBeforeMount(() => {
113
- on('toastNotify', createToast);
114
- on('toastClose', toastRemove);
115
- on('toastUpdate', toastUpdate);
116
- on('toastCloseAll', clearAll);
117
- });
118
- onBeforeUnmount(() => {
119
- off('toastNotify', createToast);
120
- off('toastClose', toastRemove);
121
- off('toastUpdate', toastUpdate);
122
- off('toastCloseAll', clearAll);
123
- });
124
- return {
125
- on,
126
- off,
127
- classes,
128
- transitionName,
129
- isActive,
130
- toggle,
131
- addItem,
132
- removeItem,
133
- clearAll,
134
- getItem,
135
- queue,
136
- createToast,
137
- toastUpdate,
138
- toastRemove,
139
- onToastEnter,
140
- onToastLeave,
141
- onClick,
142
- onToastHidden
143
- };
144
- }
145
- });
146
-
147
- export { script as s };
@@ -1,35 +0,0 @@
1
- import { s as script } from '../../OrAvatar.vue_vue_type_script_lang-a358ed4c.js';
2
- export { s as default } from '../../OrAvatar.vue_vue_type_script_lang-a358ed4c.js';
3
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, createCommentVNode } from 'vue';
4
- import 'vue-demi';
5
- import '../../utils/functions/color.js';
6
- import '../../utils/constants/regex.js';
7
- import '../../utils/functions/hash.js';
8
- import '../../utils/constants/color.js';
9
- import './props.js';
10
- import './styles.js';
11
- import '../OrIconV3/OrIconV3.js';
12
- import '../../OrIcon.vue_vue_type_script_lang-1a037644.js';
13
- import '../OrIconV3/props.js';
14
- import '../OrIconV3/styles.js';
15
-
16
- const _hoisted_1 = ["src"];
17
- function render(_ctx, _cache, $props, $setup, $data, $options) {
18
- const _component_or_icon = resolveComponent("or-icon");
19
- return openBlock(), createElementBlock("div", {
20
- ref: "root",
21
- class: normalizeClass(_ctx.rootStyles)
22
- }, [renderSlot(_ctx.$slots, "default", {}, () => [_ctx.src ? (openBlock(), createElementBlock("img", {
23
- key: 0,
24
- class: normalizeClass(_ctx.imageStyles),
25
- src: _ctx.src,
26
- alt: ''
27
- }, null, 10 /* CLASS, PROPS */, _hoisted_1)) : _ctx.icon ? (openBlock(), createBlock(_component_or_icon, {
28
- key: 1,
29
- icon: _ctx.icon,
30
- size: "inherit"
31
- }, null, 8 /* PROPS */, ["icon"])) : createCommentVNode("v-if", true)])], 2 /* CLASS */);
32
- }
33
-
34
- script.render = render;
35
- script.__file = "src/components/or-avatar-v3/OrAvatar.vue";
@@ -1,162 +0,0 @@
1
- import { s as script } from '../../OrCardCollection.vue_vue_type_script_lang-1c9505bc.js';
2
- export { s as default } from '../../OrCardCollection.vue_vue_type_script_lang-1c9505bc.js';
3
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, renderList, renderSlot, normalizeProps, guardReactiveProps, mergeProps } from 'vue';
4
- import 'vue-demi';
5
- import './styles.js';
6
- import './props.js';
7
- import '../OrIconButtonV3/OrIconButtonV3.js';
8
- import '../../OrIconButton.vue_vue_type_script_lang-40d2387f.js';
9
- import '../OrIconButtonV3/props.js';
10
- import '../OrIconV3/props.js';
11
- import '../OrIconButtonV3/styles.js';
12
- import '../OrIconV3/OrIconV3.js';
13
- import '../../OrIcon.vue_vue_type_script_lang-1a037644.js';
14
- import '../OrIconV3/styles.js';
15
- import '../OrTooltipV3/OrTooltipV3.js';
16
- import '../../OrTooltip.vue_vue_type_script_lang-cba8024f.js';
17
- import '@vueuse/core';
18
- import '../OrTooltipV3/styles.js';
19
- import '../OrPopoverV3/OrPopoverV3.js';
20
- import '../../OrPopover.vue_vue_type_script_lang-ea0e5f7b.js';
21
- import '../../floating-ui.dom.esm-83eba816.js';
22
- import '../OrPopoverV3/props.js';
23
- import '../OrPopoverV3/styles.js';
24
- import '../OrBottomSheetV3/OrBottomSheetV3.js';
25
- import '../../OrBottomSheet.vue_vue_type_script_lang-1b744aad.js';
26
- import '../OrBottomSheetV3/styles.js';
27
- import '../OrOverlayV3/OrOverlayV3.js';
28
- import '../../OrOverlay.vue_vue_type_script_lang-6c4b63bf.js';
29
- import '../OrOverlayV3/styles.js';
30
- import '../OrTeleportV3/OrTeleportV3.js';
31
- import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
32
- import '../../hooks/useElevation.js';
33
- import '../../utils/isVisible.js';
34
- import '../../hooks/useResponsive/useResponsive.js';
35
- import '../OrButtonV3/OrButtonV3.js';
36
- import '../../OrButton.vue_vue_type_script_lang-0d4df1e4.js';
37
- import '../OrButtonV3/props.js';
38
- import '../OrButtonV3/styles.js';
39
- import '../OrLoaderV3/OrLoaderV3.js';
40
- import '../../OrLoader.vue_vue_type_script_lang-228835e3.js';
41
- import '../OrLoaderV3/props.js';
42
- import '../OrLoaderV3/styles.js';
43
- import '../OrMenuV3/OrMenuV3.js';
44
- import '../../OrMenu.vue_vue_type_script_lang-cd85435a.js';
45
- import '../OrMenuV3/styles.js';
46
- import '../OrMenuItemV3/OrMenuItemV3.js';
47
- import '../../OrMenuItem.vue_vue_type_script_lang-54c89599.js';
48
- import '../OrMenuItemV3/styles.js';
49
- import '../OrSearchV3/OrSearchV3.js';
50
- import '../../OrSearch.vue_vue_type_script_lang-12aa0495.js';
51
- import '../OrInputV3/OrInputV3.js';
52
- import '../../OrInput.vue_vue_type_script_lang-4f36ecd1.js';
53
- import '../OrInputV3/props.js';
54
- import '../OrInputBoxV3/props.js';
55
- import '../OrInputV3/styles.js';
56
- import '../OrErrorV3/OrErrorV3.js';
57
- import '../../OrError.vue_vue_type_script_lang-de6e6cd3.js';
58
- import '../OrErrorV3/styles.js';
59
- import '../OrHintV3/OrHintV3.js';
60
- import '../../OrHint.vue_vue_type_script_lang-ec2b37d4.js';
61
- import '../OrHintV3/styles.js';
62
- import '../OrInputBoxV3/OrInputBoxV3.js';
63
- import '../../OrInputBox.vue_vue_type_script_lang-44f85823.js';
64
- import '../OrInputBoxV3/styles.js';
65
- import '../OrLabelV3/OrLabelV3.js';
66
- import '../../OrLabel.vue_vue_type_script_lang-f59a91ee.js';
67
- import '../OrLabelV3/props.js';
68
- import '../OrLabelV3/styles.js';
69
- import '../../hooks/useIdAttribute.js';
70
- import '../../hooks/useControlAttributes.js';
71
- import '../../hooks/useValidationAttributes.js';
72
- import '../../style-inject.es-4c6f2515.js';
73
-
74
- const _hoisted_1 = {
75
- class: "layout-row gap-sm"
76
- };
77
- function render(_ctx, _cache, $props, $setup, $data, $options) {
78
- const _component_OrIcon = resolveComponent("OrIcon");
79
- const _component_OrButton = resolveComponent("OrButton");
80
- const _component_OrMenuItem = resolveComponent("OrMenuItem");
81
- const _component_OrMenu = resolveComponent("OrMenu");
82
- const _component_OrSearch = resolveComponent("OrSearch");
83
- const _component_OrIconButton = resolveComponent("OrIconButton");
84
- const _component_OrCardCollectionView = resolveComponent("OrCardCollectionView");
85
- return openBlock(), createElementBlock("div", {
86
- ref: "root",
87
- class: normalizeClass(_ctx.rootStyles)
88
- }, [createElementVNode("div", {
89
- class: normalizeClass(_ctx.toolbarStyles)
90
- }, [createElementVNode("div", {
91
- class: normalizeClass(_ctx.toolbarPanelStyles)
92
- }, [_ctx.sortOptions.length ? (openBlock(), createElementBlock(Fragment, {
93
- key: 0
94
- }, [createVNode(_component_OrButton, {
95
- ref: "sortButton",
96
- variant: "link",
97
- color: "inherit",
98
- onClick: _cache[0] || (_cache[0] = $event => _ctx.sortMenu.toggle())
99
- }, {
100
- default: withCtx(() => [createTextVNode(toDisplayString(_ctx.sortLabel) + " ", 1 /* TEXT */), _ctx.sortMenu ? (openBlock(), createBlock(_component_OrIcon, {
101
- key: 0,
102
- icon: _ctx.sortMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
103
- }, null, 8 /* PROPS */, ["icon"])) : createCommentVNode("v-if", true)]),
104
- _: 1 /* STABLE */
105
- }, 512 /* NEED_PATCH */), createVNode(_component_OrMenu, {
106
- ref: "sortMenu",
107
- trigger: _ctx.sortButton && _ctx.sortButton.root
108
- }, {
109
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sortOptions, sortItem => {
110
- return openBlock(), createBlock(_component_OrMenuItem, {
111
- key: sortItem,
112
- onClick: $event => _ctx.handleSort(sortItem.value)
113
- }, {
114
- default: withCtx(() => [createTextVNode(toDisplayString(sortItem.label), 1 /* TEXT */)]),
115
-
116
- _: 2 /* DYNAMIC */
117
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
118
- }), 128 /* KEYED_FRAGMENT */))]),
119
-
120
- _: 1 /* STABLE */
121
- }, 8 /* PROPS */, ["trigger"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
122
- class: normalizeClass(_ctx.toolbarPanelStyles)
123
- }, [createVNode(_component_OrSearch, {
124
- "model-value": _ctx.proxySearch,
125
- class: "md:w-[350px]",
126
- placeholder: _ctx.searchPlaceholder,
127
- debounce: _ctx.searchDebounce,
128
- size: "s",
129
- onSearch: _ctx.handleSearch
130
- }, null, 8 /* PROPS */, ["model-value", "placeholder", "debounce", "onSearch"]), createElementVNode("div", _hoisted_1, [_ctx.viewModes.length > 1 ? (openBlock(true), createElementBlock(Fragment, {
131
- key: 0
132
- }, renderList(_ctx.viewModes, viewOption => {
133
- return openBlock(), createBlock(_component_OrIconButton, {
134
- key: viewOption.view,
135
- icon: {
136
- icon: viewOption.icon,
137
- variant: viewOption.view === _ctx.proxyView ? 'filled' : 'outlined'
138
- },
139
- onClick: $event => _ctx.switchView(viewOption.view)
140
- }, null, 8 /* PROPS */, ["icon", "onClick"]);
141
- }), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "addon")])], 2 /* CLASS */)], 2 /* CLASS */), renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({
142
- items: _ctx.items,
143
- mode: _ctx.proxyView
144
- }))), _ctx.items.length ? renderSlot(_ctx.$slots, _ctx.proxyView, normalizeProps(mergeProps({
145
- key: 0
146
- }, {
147
- items: _ctx.items
148
- })), () => [createVNode(_component_OrCardCollectionView, {
149
- items: _ctx.items,
150
- mode: _ctx.proxyView
151
- }, {
152
- item: withCtx(props => [renderSlot(_ctx.$slots, "item", normalizeProps(guardReactiveProps(props)))]),
153
- _: 3 /* FORWARDED */
154
- }, 8 /* PROPS */, ["items", "mode"])]) : _ctx.items.length === 0 && _ctx.proxySearch.length > 0 ? renderSlot(_ctx.$slots, "noSearchResults", normalizeProps(mergeProps({
155
- key: 1
156
- }, {
157
- search: _ctx.proxySearch
158
- })), () => [createTextVNode(" No results ")]) : createCommentVNode("v-if", true)], 2 /* CLASS */);
159
- }
160
-
161
- script.render = render;
162
- script.__file = "src/components/or-card-collection-v3/OrCardCollection.vue";
@@ -1,15 +0,0 @@
1
- import { s as script } from '../../OrCard.vue_vue_type_script_lang-1819c7e6.js';
2
- export { s as default } from '../../OrCard.vue_vue_type_script_lang-1819c7e6.js';
3
- import { openBlock, createElementBlock, normalizeClass, renderSlot } from 'vue';
4
- import 'vue-demi';
5
- import './styles.js';
6
-
7
- function render(_ctx, _cache, $props, $setup, $data, $options) {
8
- return openBlock(), createElementBlock("div", {
9
- ref: "root",
10
- class: normalizeClass(_ctx.rootStyles)
11
- }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */);
12
- }
13
-
14
- script.render = render;
15
- script.__file = "src/components/or-card-v3/OrCard.vue";