@onereach/ui-components 2.74.0-beta.2287.0 → 2.74.1-beta.2289.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 (275) hide show
  1. package/dist/bundled/v2/{OrButton-d45772c1.js → OrButton-4862b98b.js} +3 -3
  2. package/dist/bundled/v2/{OrCardCollection-4ac89ea5.js → OrCardCollection-187b0468.js} +4 -4
  3. package/dist/bundled/v2/{OrCode-c0af38e3.js → OrCode-fc6876ec.js} +15 -179
  4. package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-94fd90ae.js} +2 -2
  5. package/dist/bundled/v2/{OrEmptyState-9fb413f9.js → OrEmptyState-8a7feb99.js} +2 -2
  6. package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-785d650a.js} +1 -1
  7. package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-5e9d8efe.js} +1 -1
  8. package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-38a99ef9.js} +1 -1
  9. package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-e0ff164c.js} +1 -1
  10. package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-65ad6551.js} +29 -12
  11. package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-e54dcef9.js} +3 -3
  12. package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-6ab53877.js} +10 -15
  13. package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-41f9e197.js} +1 -1
  14. package/dist/bundled/v2/{OrNotification-2e2a1941.js → OrNotification-3909aaf2.js} +3 -3
  15. package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-cbb374c5.js} +1 -1
  16. package/dist/bundled/v2/{OrPagination-daf25de2.js → OrPagination-9bf3d797.js} +60 -24
  17. package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-5cf0a7e7.js} +3 -3
  18. package/dist/bundled/v2/{OrSearch-09fd004c.js → OrSearch-142dd903.js} +2 -2
  19. package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-797fb43b.js} +3 -3
  20. package/dist/bundled/v2/{OrSidebar-a2bc21b9.js → OrSidebar-ae90e090.js} +3 -3
  21. package/dist/bundled/v2/{OrSidebarCollapseButton-8297ef86.js → OrSidebarCollapseButton-54abd48f.js} +1 -1
  22. package/dist/bundled/v2/{OrSkeletonText-2f1a3cc7.js → OrSkeletonText-242d22f3.js} +3 -3
  23. package/dist/bundled/v2/{OrTabs-d69780fc.js → OrTabs-517e2f25.js} +1 -1
  24. package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-231eefa1.js} +2 -2
  25. package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-1201353b.js} +1 -1
  26. package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-121e28c5.js} +3 -1
  27. package/dist/bundled/v2/components/index.js +28 -28
  28. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  29. package/dist/bundled/v2/components/or-card-collection-v3/index.js +8 -8
  30. package/dist/bundled/v2/components/or-code/index.js +1 -1
  31. package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -6
  32. package/dist/bundled/v2/components/or-empty-state-v3/index.js +1 -1
  33. package/dist/bundled/v2/components/or-error-tag-v3/index.js +1 -1
  34. package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
  35. package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
  36. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
  37. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -1
  38. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  39. package/dist/bundled/v2/components/or-input-v3/index.js +5 -4
  40. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
  41. package/dist/bundled/v2/components/or-menu-v3/index.js +1 -1
  42. package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +0 -1
  43. package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
  44. package/dist/bundled/v2/components/or-notification/index.js +1 -1
  45. package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
  46. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
  47. package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
  48. package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
  49. package/dist/bundled/v2/components/or-progress-v3/styles.d.ts +1 -1
  50. package/dist/bundled/v2/components/or-search-v3/index.js +6 -5
  51. package/dist/bundled/v2/components/or-select-v3/index.js +7 -6
  52. package/dist/bundled/v2/components/or-sidebar-v3/index.js +4 -4
  53. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +3 -3
  54. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
  55. package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
  56. package/dist/bundled/v2/components/or-tabs-v3/index.js +2 -2
  57. package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
  58. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -2
  59. package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
  60. package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
  61. package/dist/bundled/v2/index.js +28 -28
  62. package/dist/bundled/v2/{types-309b7b94.js → types-c2d44cac.js} +1 -1
  63. package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-05766523.js} +1 -1
  64. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-b53e78f5.js} +3 -3
  65. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f76c3264.js → OrCardCollection.vue_vue_type_script_lang-e980e703.js} +7 -7
  66. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-79a42008.js → OrCode.vue_vue_type_script_lang-c55de81d.js} +11 -176
  67. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-7ba2f530.js} +4 -4
  68. package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-da7d6c42.js → OrEmptyState.vue_vue_type_script_lang-8e58c67c.js} +2 -2
  69. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-3675dde9.js} +1 -1
  70. package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-d6dfb9a4.js} +1 -1
  71. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-5d1cb50c.js} +1 -1
  72. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-92640762.js} +2 -2
  73. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-7358cb4f.js} +2 -2
  74. package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-6aef644c.js} +15 -6
  75. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-8e55cefa.js} +17 -5
  76. package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-358d4856.js} +1 -1
  77. package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +3 -3
  78. package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-bb432db5.js} +9 -10
  79. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-5a492eb3.js} +5 -8
  80. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-5f45677f.js} +2 -2
  81. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-b9a8e938.js} +2 -2
  82. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f64827ef.js → OrPagination.vue_vue_type_script_lang-bdb0acc8.js} +35 -20
  83. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-17095060.js} +3 -3
  84. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-c054c8db.js → OrSearch.vue_vue_type_script_lang-763128bf.js} +3 -3
  85. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-48de444c.js} +5 -5
  86. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-7f3f1a16.js → OrSidebar.vue_vue_type_script_lang-5116ba2b.js} +3 -3
  87. package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js → OrSidebarCollapseButton.vue_vue_type_script_lang-c071f0c6.js} +2 -2
  88. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-cb550e87.js → OrTabs.vue_vue_type_script_lang-ae519161.js} +2 -2
  89. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-2410faf0.js} +3 -3
  90. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +2 -2
  91. package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-a435e015.js} +1 -1
  92. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-7a64c90d.js} +3 -1
  93. package/dist/bundled/v3/components/index.js +31 -31
  94. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  95. package/dist/bundled/v3/components/or-card-collection-v3/index.js +13 -13
  96. package/dist/bundled/v3/components/or-code/index.js +1 -1
  97. package/dist/bundled/v3/components/or-confirm-v3/index.js +10 -10
  98. package/dist/bundled/v3/components/or-empty-state-v3/index.js +1 -1
  99. package/dist/bundled/v3/components/or-error-tag-v3/index.js +1 -1
  100. package/dist/bundled/v3/components/or-icon-button-v3/index.js +2 -2
  101. package/dist/bundled/v3/components/or-inline-input-v3/index.js +4 -4
  102. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +4 -4
  103. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -1
  104. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  105. package/dist/bundled/v3/components/or-input-v3/index.js +8 -6
  106. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
  107. package/dist/bundled/v3/components/or-menu-v3/index.js +1 -1
  108. package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +0 -1
  109. package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
  110. package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
  111. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
  112. package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
  113. package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
  114. package/dist/bundled/v3/components/or-progress-v3/styles.d.ts +1 -1
  115. package/dist/bundled/v3/components/or-search-v3/index.js +10 -8
  116. package/dist/bundled/v3/components/or-select-v3/index.js +11 -9
  117. package/dist/bundled/v3/components/or-sidebar-v3/index.js +5 -5
  118. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +4 -4
  119. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +4 -4
  120. package/dist/bundled/v3/components/or-tabs-v3/index.js +3 -3
  121. package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
  122. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -3
  123. package/dist/bundled/v3/components/or-toast-v3/index.js +5 -5
  124. package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
  125. package/dist/bundled/v3/index.js +81 -59
  126. package/dist/bundled/v3/{types-22fbf9d6.js → types-f95c218d.js} +2 -2
  127. package/dist/esm/v2/{OrButton-66964360.js → OrButton-18f4431c.js} +3 -3
  128. package/dist/esm/v2/{OrCardCollection-5a9eda35.js → OrCardCollection-88f635a2.js} +5 -5
  129. package/dist/esm/v2/{OrCode-47331c24.js → OrCode-d4400b42.js} +17 -183
  130. package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-7d81daa5.js} +2 -2
  131. package/dist/esm/v2/{OrEmptyState-2481f13f.js → OrEmptyState-ab1a044d.js} +2 -2
  132. package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-57140070.js} +1 -1
  133. package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-14d80983.js} +1 -1
  134. package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-2746837c.js} +1 -1
  135. package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-3af829c7.js} +1 -1
  136. package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-979c7225.js} +29 -12
  137. package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-53d1f66d.js} +3 -3
  138. package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-943e7760.js} +10 -15
  139. package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-e638986d.js} +1 -1
  140. package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-19c82a07.js} +1 -1
  141. package/dist/esm/v2/{OrNotification-a49e76d3.js → OrNotification-a9231a83.js} +3 -3
  142. package/dist/esm/v2/{OrPagination-1adbcadb.js → OrPagination-93d78a0d.js} +61 -24
  143. package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-9fc95bd7.js} +3 -3
  144. package/dist/esm/v2/{OrSearch-7411388b.js → OrSearch-b693161b.js} +2 -2
  145. package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-454e1bc3.js} +3 -3
  146. package/dist/esm/v2/{OrSidebar-27236fbd.js → OrSidebar-f6e3030d.js} +3 -3
  147. package/dist/esm/v2/{OrSidebarCollapseButton-cfe51a60.js → OrSidebarCollapseButton-5bb545a6.js} +1 -1
  148. package/dist/esm/v2/{OrSkeletonText-24509efe.js → OrSkeletonText-cc94bdc9.js} +3 -3
  149. package/dist/esm/v2/{OrTabs-96b0473d.js → OrTabs-398348a5.js} +1 -1
  150. package/dist/esm/v2/{OrTag-b2906865.js → OrTag-4a6cad6e.js} +2 -2
  151. package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-373d0554.js} +1 -1
  152. package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-233c67b9.js} +3 -1
  153. package/dist/esm/v2/components/index.js +28 -30
  154. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  155. package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -8
  156. package/dist/esm/v2/components/or-code/index.js +2 -4
  157. package/dist/esm/v2/components/or-confirm-v3/index.js +7 -7
  158. package/dist/esm/v2/components/or-empty-state-v3/index.js +1 -1
  159. package/dist/esm/v2/components/or-error-tag-v3/index.js +1 -1
  160. package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
  161. package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
  162. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
  163. package/dist/esm/v2/components/or-input-box-v3/index.js +1 -1
  164. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  165. package/dist/esm/v2/components/or-input-v3/index.js +6 -5
  166. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
  167. package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
  168. package/dist/esm/v2/components/or-menu-v3/styles.d.ts +0 -1
  169. package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
  170. package/dist/esm/v2/components/or-notification/index.js +1 -1
  171. package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
  172. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
  173. package/dist/esm/v2/components/or-pagination-v3/index.js +5 -5
  174. package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
  175. package/dist/esm/v2/components/or-progress-v3/styles.d.ts +1 -1
  176. package/dist/esm/v2/components/or-search-v3/index.js +7 -6
  177. package/dist/esm/v2/components/or-select-v3/index.js +8 -7
  178. package/dist/esm/v2/components/or-sidebar-v3/index.js +4 -4
  179. package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +3 -3
  180. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
  181. package/dist/esm/v2/components/or-skeleton/index.js +1 -1
  182. package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
  183. package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
  184. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
  185. package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
  186. package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
  187. package/dist/esm/v2/index.js +27 -29
  188. package/dist/esm/v2/{types-1f95d710.js → types-34f2e287.js} +1 -1
  189. package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-55dd2ad9.js} +3 -3
  190. package/dist/esm/v3/{OrCardCollection-e4fde5b4.js → OrCardCollection-551def4e.js} +5 -5
  191. package/dist/esm/v3/{OrCode-effa9edb.js → OrCode-5ed69c23.js} +14 -180
  192. package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-4e3a7560.js} +2 -2
  193. package/dist/esm/v3/{OrEmptyState-bb8e3145.js → OrEmptyState-cd3a4026.js} +2 -2
  194. package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-f114e88b.js} +1 -1
  195. package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-3920ba54.js} +1 -1
  196. package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-86e4383b.js} +1 -1
  197. package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-10826fa6.js} +1 -1
  198. package/dist/esm/v3/{OrInput-bd054213.js → OrInput-2568be79.js} +28 -8
  199. package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-2467d7e4.js} +3 -3
  200. package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-fd2fe1e7.js} +13 -17
  201. package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-87eaff65.js} +1 -1
  202. package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-7aab5f58.js} +1 -1
  203. package/dist/esm/v3/{OrNotification-eb08de33.js → OrNotification-e85a4956.js} +1 -1
  204. package/dist/esm/v3/{OrPagination-da9e5017.js → OrPagination-781c119e.js} +64 -26
  205. package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-4856808a.js} +3 -3
  206. package/dist/esm/v3/{OrSearch-5406bf03.js → OrSearch-3c7feda3.js} +2 -2
  207. package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-389aab9f.js} +3 -3
  208. package/dist/esm/v3/{OrSidebar-61d84c3e.js → OrSidebar-2c8a68df.js} +3 -3
  209. package/dist/esm/v3/{OrSidebarCollapseButton-1b9c83ef.js → OrSidebarCollapseButton-1ed5a3d7.js} +1 -1
  210. package/dist/esm/v3/{OrSkeletonText-0546754d.js → OrSkeletonText-2b1610ce.js} +3 -3
  211. package/dist/esm/v3/{OrTabs-328d41b9.js → OrTabs-34c67377.js} +1 -1
  212. package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-c5c305ed.js} +2 -2
  213. package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-42d21f77.js} +1 -1
  214. package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-229c90d5.js} +3 -1
  215. package/dist/esm/v3/components/index.js +28 -30
  216. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  217. package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -8
  218. package/dist/esm/v3/components/or-code/index.js +2 -4
  219. package/dist/esm/v3/components/or-confirm-v3/index.js +7 -7
  220. package/dist/esm/v3/components/or-empty-state-v3/index.js +1 -1
  221. package/dist/esm/v3/components/or-error-tag-v3/index.js +1 -1
  222. package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
  223. package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
  224. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
  225. package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
  226. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  227. package/dist/esm/v3/components/or-input-v3/index.js +6 -5
  228. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
  229. package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
  230. package/dist/esm/v3/components/or-menu-v3/styles.d.ts +0 -1
  231. package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
  232. package/dist/esm/v3/components/or-notification/index.js +1 -1
  233. package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
  234. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
  235. package/dist/esm/v3/components/or-pagination-v3/index.js +5 -5
  236. package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
  237. package/dist/esm/v3/components/or-progress-v3/styles.d.ts +1 -1
  238. package/dist/esm/v3/components/or-search-v3/index.js +7 -6
  239. package/dist/esm/v3/components/or-select-v3/index.js +8 -7
  240. package/dist/esm/v3/components/or-sidebar-v3/index.js +4 -4
  241. package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +3 -3
  242. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
  243. package/dist/esm/v3/components/or-skeleton/index.js +1 -1
  244. package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
  245. package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
  246. package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
  247. package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
  248. package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
  249. package/dist/esm/v3/index.js +27 -29
  250. package/dist/esm/v3/{types-b79e4387.js → types-225f772b.js} +1 -1
  251. package/package.json +2 -2
  252. package/src/components/or-button-v3/styles.ts +3 -3
  253. package/src/components/or-code/OrCode.vue +6 -8
  254. package/src/components/or-empty-state-v3/styles.ts +2 -2
  255. package/src/components/or-error-tag-v3/styles.ts +1 -1
  256. package/src/components/or-input-box-v3/styles.ts +3 -6
  257. package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
  258. package/src/components/or-input-v3/OrInput.vue +39 -19
  259. package/src/components/or-menu-v3/OrMenu.vue +22 -26
  260. package/src/components/or-menu-v3/styles.ts +0 -5
  261. package/src/components/or-notification/OrNotification.vue +1 -26
  262. package/src/components/or-pagination-v3/OrPagination.vue +86 -42
  263. package/src/components/or-pagination-v3/styles.ts +1 -1
  264. package/src/components/or-progress-v3/styles.ts +4 -4
  265. package/src/components/or-sidebar-v3/styles.ts +2 -2
  266. package/src/components/or-skeleton/styles.scss +3 -18
  267. package/src/components/or-stepper/OrStepper.stories.ts +1 -1
  268. package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
  269. package/src/components/or-tag-v3/styles.ts +1 -1
  270. package/src/components/or-tooltip-v3/styles.ts +4 -1
  271. package/dist/bundled/v2/components/or-code/theme.d.ts +0 -24
  272. package/dist/bundled/v3/components/or-code/theme.d.ts +0 -24
  273. package/dist/esm/v2/components/or-code/theme.d.ts +0 -24
  274. package/dist/esm/v3/components/or-code/theme.d.ts +0 -24
  275. package/src/components/or-code/theme.ts +0 -213
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, computed, ref, watch } from 'vue-demi';
2
- import { s as script$3 } from './OrButton-c56998e7.js';
3
- import { s as script$2 } from './OrIconButton-2dcfb83e.js';
2
+ import { s as script$3 } from './OrButton-55dd2ad9.js';
3
+ import { s as script$2 } from './OrIconButton-3920ba54.js';
4
4
  import { s as script$6 } from './OrIcon-34f59f73.js';
5
5
  import { s as script$5 } from './OrMenuItem-58707d47.js';
6
- import { s as script$4 } from './OrMenu-7f3ea117.js';
6
+ import { s as script$4 } from './OrMenu-fd2fe1e7.js';
7
7
  import './OrPopover-40217b49.js';
8
- import { s as script$7 } from './OrSearch-5406bf03.js';
9
- import './OrInputBox-e16ade90.js';
8
+ import { s as script$7 } from './OrSearch-3c7feda3.js';
9
+ import './OrInputBox-2467d7e4.js';
10
10
  import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
11
11
 
12
12
  const CardCollectionRoot = [
@@ -1,8 +1,8 @@
1
1
  import { EditorState } from '@codemirror/state';
2
- import { EditorView, keymap } from '@codemirror/view';
2
+ import { keymap } from '@codemirror/view';
3
3
  import { indentWithTab } from '@codemirror/commands';
4
- import { basicSetup, EditorView as EditorView$1 } from 'codemirror';
5
4
  import { useElementHover } from '@vueuse/core';
5
+ import { basicSetup, EditorView } from 'codemirror';
6
6
  import _ from 'lodash';
7
7
  import { defineComponent, ref } from 'vue-demi';
8
8
  import { a as script$1 } from './OrIconButton-8be9c89f.js';
@@ -16,8 +16,6 @@ import { css } from '@codemirror/lang-css';
16
16
  import { json } from '@codemirror/lang-json';
17
17
  import { javascript } from '@codemirror/lang-javascript';
18
18
  import { markdown } from '@codemirror/lang-markdown';
19
- import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
20
- import { tags } from '@lezer/highlight';
21
19
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, renderSlot, createElementVNode, normalizeClass, createBlock, createCommentVNode, withDirectives, vShow } from 'vue';
22
20
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
23
21
 
@@ -50,173 +48,6 @@ var languages = {
50
48
  [OrCodeLanguages.MD]: MD
51
49
  };
52
50
 
53
- // Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
54
- const chalky = 'var(--c-warning-darken-20)',
55
- coral = 'var(--c-error)',
56
- cyan = '#56b6c2',
57
- invalid = 'var(--c-white)',
58
- ivory = 'var(--c-neutral-6)',
59
- stone = 'var(--c-neutral-5)',
60
- // Brightened compared to original to increase contrast
61
- malibu = '#61afef',
62
- sage = 'var(--c-success)',
63
- whiskey = 'var(--c-warning-darken-5)',
64
- violet = '#c678dd',
65
- darkBackground = 'var(--c-neutral-1)',
66
- highlightBackground = 'var(--c-neutral-2)',
67
- background = 'var(--c-neutral-1)',
68
- tooltipBackground = 'var(--c-neutral-2)',
69
- selection = 'var(--c-neutral-3)',
70
- cursor = 'var(--c-primary)';
71
- /// The editor theme styles for One Dark.
72
- const orCodeTheme = EditorView.theme({
73
- '&': {
74
- color: ivory,
75
- backgroundColor: background
76
- },
77
- '.cm-content': {
78
- caretColor: cursor
79
- },
80
- '.cm-button': {
81
- background: highlightBackground,
82
- color: 'var(--c-neutral-6)',
83
- border: 0,
84
- borderRadius: 'var(--s-2)'
85
- },
86
- '.cm-panel.cm-search input[type=checkbox]': {
87
- display: 'inline-block',
88
- verticalAlign: 'middle'
89
- },
90
- '.cm-cursor, .cm-dropCursor': {
91
- borderLeftColor: cursor
92
- },
93
- '&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
94
- backgroundColor: selection
95
- },
96
- '.cm-panels': {
97
- backgroundColor: darkBackground,
98
- color: ivory
99
- },
100
- '.cm-panels.cm-panels-top': {
101
- borderBottom: '2px solid var(--c-neutral-2)'
102
- },
103
- '.cm-panels.cm-panels-bottom': {
104
- borderTop: '2px solid var(--c-neutral-2)'
105
- },
106
- '.cm-searchMatch': {
107
- backgroundColor: 'var(--c-neutral-1)',
108
- outline: '1px solid var(--c-neutral-2)'
109
- },
110
- '.cm-searchMatch.cm-searchMatch-selected': {
111
- backgroundColor: '#6199ff2f'
112
- },
113
- '.cm-activeLine': {
114
- backgroundColor: '#6699ff0b'
115
- },
116
- '.cm-selectionMatch': {
117
- backgroundColor: '#aafe661a'
118
- },
119
- '&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
120
- backgroundColor: '#bad0f847'
121
- },
122
- '.cm-gutters': {
123
- backgroundColor: background,
124
- color: stone,
125
- border: 'none'
126
- },
127
- '.cm-activeLineGutter': {
128
- backgroundColor: highlightBackground
129
- },
130
- '.cm-foldPlaceholder': {
131
- backgroundColor: 'transparent',
132
- border: 'none',
133
- color: '#ddd'
134
- },
135
- '.cm-tooltip': {
136
- border: 'none',
137
- backgroundColor: tooltipBackground
138
- },
139
- '.cm-tooltip .cm-tooltip-arrow:before': {
140
- borderTopColor: 'transparent',
141
- borderBottomColor: 'transparent'
142
- },
143
- '.cm-tooltip .cm-tooltip-arrow:after': {
144
- borderTopColor: tooltipBackground,
145
- borderBottomColor: tooltipBackground
146
- },
147
- '.cm-tooltip-autocomplete': {
148
- '& > ul > li[aria-selected]': {
149
- backgroundColor: highlightBackground,
150
- color: ivory
151
- }
152
- },
153
- '.cm-textfield': {
154
- outline: 'none',
155
- background: background,
156
- color: 'var(--c-neutral-6)',
157
- backgroundColor: 'var(--c-neutral-1)',
158
- border: '1px solid var(--c-neutral-2)',
159
- borderRadius: 'var(--s-2)'
160
- }
161
- }, {
162
- dark: true
163
- });
164
- /// The highlighting style for code in the One Dark theme.
165
- const orCodeHighlightStyle = HighlightStyle.define([{
166
- tag: tags.keyword,
167
- color: violet
168
- }, {
169
- tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],
170
- color: coral
171
- }, {
172
- tag: [tags.function(tags.variableName), tags.labelName],
173
- color: malibu
174
- }, {
175
- tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],
176
- color: whiskey
177
- }, {
178
- tag: [tags.definition(tags.name), tags.separator],
179
- color: ivory
180
- }, {
181
- tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],
182
- color: chalky
183
- }, {
184
- tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, tags.special(tags.string)],
185
- color: cyan
186
- }, {
187
- tag: [tags.meta, tags.comment],
188
- color: stone
189
- }, {
190
- tag: tags.strong,
191
- fontWeight: 'bold'
192
- }, {
193
- tag: tags.emphasis,
194
- fontStyle: 'italic'
195
- }, {
196
- tag: tags.strikethrough,
197
- textDecoration: 'line-through'
198
- }, {
199
- tag: tags.link,
200
- color: stone,
201
- textDecoration: 'underline'
202
- }, {
203
- tag: tags.heading,
204
- fontWeight: 'bold',
205
- color: coral
206
- }, {
207
- tag: [tags.atom, tags.bool, tags.special(tags.variableName)],
208
- color: whiskey
209
- }, {
210
- tag: [tags.processingInstruction, tags.string, tags.inserted],
211
- color: sage
212
- }, {
213
- tag: tags.invalid,
214
- color: invalid
215
- }]);
216
- /// Extension to enable the One Dark theme (both the editor theme and
217
- /// the highlight style).
218
- const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
219
-
220
51
  //partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
221
52
  var script = defineComponent({
222
53
  name: 'OrCode',
@@ -300,12 +131,11 @@ var script = defineComponent({
300
131
  setup(props, {
301
132
  emit
302
133
  }) {
303
- // editor config
304
134
  const root = ref();
305
135
  const target = ref();
306
136
  const fullscreenTarget = ref();
307
137
  const isHovered = useElementHover(root);
308
- const editor = new EditorView$1({
138
+ const editor = new EditorView({
309
139
  state: EditorState.create({
310
140
  doc: props.modelValue
311
141
  }),
@@ -342,19 +172,21 @@ var script = defineComponent({
342
172
  allowPaste,
343
173
  lineWrapping
344
174
  } = this;
345
- const ext = _.compact([theme, EditorView$1.baseTheme({}),
175
+ const ext = _.compact([
176
+ // Toggle light/dark mode
177
+ EditorView.baseTheme({}),
346
178
  // locale settings
347
179
  this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
348
180
  // Parser language setting
349
181
  this.localLanguage,
350
182
  // Editable option
351
- EditorView$1.editable.of(!this.isReadonly),
183
+ EditorView.editable.of(!this.isReadonly),
352
184
  // Focus and blur listener
353
- EditorView$1.updateListener.of(viewUpdate => {
185
+ EditorView.updateListener.of(viewUpdate => {
354
186
  if (viewUpdate.focusChanged) {
355
187
  viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
356
188
  }
357
- }), EditorView$1.domEventHandlers({
189
+ }), EditorView.domEventHandlers({
358
190
  drop(event) {
359
191
  if (!allowDrop) {
360
192
  event.preventDefault();
@@ -369,8 +201,10 @@ var script = defineComponent({
369
201
  }
370
202
  }),
371
203
  // line wrapping
372
- lineWrapping ? EditorView$1.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
373
- return [...ext];
204
+ lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
205
+ // Append Extensions (such as basic-setup)
206
+ if (this.extensions.length !== 0) _.merge(ext, this.extensions);
207
+ return ext;
374
208
  },
375
209
  isShowingError() {
376
210
  return !!this.error && this.isInvalid;
@@ -468,7 +302,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
468
302
  }, () => [_ctx.isShowingFullscreen ? (openBlock(), createBlock(_component_or_icon_button, {
469
303
  key: 0,
470
304
  icon: "fullscreen",
471
- "icon-color": "neutral-4",
305
+ "icon-color": "neutral-3",
472
306
  class: "fullscreen-button",
473
307
  onClick: _cache[0] || (_cache[0] = $event => _ctx.toggleFullscreen(true))
474
308
  })) : createCommentVNode("v-if", true)])], 2 /* CLASS */)])) : createCommentVNode("v-if", true), createElementVNode("div", {
@@ -1,8 +1,8 @@
1
1
  import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
2
  import { logicAnd } from '@vueuse/math';
3
3
  import { defineComponent, ref, computed, watch } from 'vue-demi';
4
- import { s as script$2, a as ButtonColor } from './OrButton-c56998e7.js';
5
- import { s as script$3 } from './OrInput-bd054213.js';
4
+ import { s as script$2, a as ButtonColor } from './OrButton-55dd2ad9.js';
5
+ import { s as script$3 } from './OrInput-2568be79.js';
6
6
  import { s as script$1 } from './OrOverlay-afad3aa4.js';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
8
8
 
@@ -12,10 +12,10 @@ const EmptyStateRoot = [
12
12
  'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
13
13
  // Box
14
14
  'w-full',
15
- // Sizing
15
+ // Spacing
16
16
  'gap-sm'];
17
17
  const EmptyStateImage = [
18
- // Sizing
18
+ // Spacing
19
19
  'mb-sm'];
20
20
  const EmptyStateImageSizes = {
21
21
  [EmptyStateSize.L]: [
@@ -6,7 +6,7 @@ const ErrorTagRoot = [
6
6
  // Layout
7
7
  'layout-inline-row',
8
8
  // Box
9
- 'max-w-fit',
9
+ 'max-w-min',
10
10
  // Shape
11
11
  'rounded-full',
12
12
  // Spacing
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { s as script$1, I as IconSize } from './OrIcon-34f59f73.js';
3
- import { s as script$2 } from './OrTooltip-b07616f4.js';
3
+ import { s as script$2 } from './OrTooltip-229c90d5.js';
4
4
  import './OrPopover-40217b49.js';
5
5
  import { resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode, mergeProps, createVNode } from 'vue';
6
6
 
@@ -4,7 +4,7 @@ import '@vueuse/core';
4
4
  import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
5
5
  import { s as script$1 } from './OrError-19198748.js';
6
6
  import { s as script$2 } from './OrHint-6863124f.js';
7
- import { s as script$3 } from './OrIconButton-2dcfb83e.js';
7
+ import { s as script$3 } from './OrIconButton-3920ba54.js';
8
8
  import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox-09b33e18.js';
9
9
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
10
10
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -4,7 +4,7 @@ import '@vueuse/core';
4
4
  import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
5
5
  import { s as script$1 } from './OrError-19198748.js';
6
6
  import { s as script$2 } from './OrHint-6863124f.js';
7
- import { s as script$3 } from './OrIconButton-2dcfb83e.js';
7
+ import { s as script$3 } from './OrIconButton-3920ba54.js';
8
8
  import { s as script$4 } from './OrInlineInputBox-09b33e18.js';
9
9
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
10
10
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -1,14 +1,16 @@
1
1
  import { defineComponent, ref, computed, reactive } from 'vue-demi';
2
2
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
3
3
  import '@vueuse/core';
4
+ import { u as useResponsive } from './useResponsive-a02e95b7.js';
4
5
  import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
5
6
  import { s as script$1 } from './OrError-19198748.js';
6
7
  import { s as script$2 } from './OrHint-6863124f.js';
7
- import { s as script$4 } from './OrIconButton-2dcfb83e.js';
8
+ import { s as script$4 } from './OrIconButton-3920ba54.js';
8
9
  import { s as script$3 } from './OrIcon-34f59f73.js';
9
- import { s as script$5, a as InputBoxSize } from './OrInputBox-e16ade90.js';
10
+ import { s as script$5, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
10
11
  import { s as script$6 } from './OrLabel-f700f9fb.js';
11
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
12
+ import { s as script$7 } from './OrLoader-a53d2edf.js';
13
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, Fragment, withModifiers, createSlots } from 'vue';
12
14
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
13
15
 
14
16
  var InputType;
@@ -40,7 +42,8 @@ var script = defineComponent({
40
42
  OrIcon: script$3,
41
43
  OrIconButton: script$4,
42
44
  OrInputBox: script$5,
43
- OrLabel: script$6
45
+ OrLabel: script$6,
46
+ OrLoader: script$7
44
47
  },
45
48
  model: {
46
49
  prop: 'modelValue',
@@ -75,6 +78,10 @@ var script = defineComponent({
75
78
  type: String,
76
79
  default: undefined
77
80
  },
81
+ loading: {
82
+ type: Boolean,
83
+ default: false
84
+ },
78
85
  required: {
79
86
  type: Boolean,
80
87
  default: false
@@ -120,6 +127,9 @@ var script = defineComponent({
120
127
  const maxLength = computed(() => controlAttributes.maxlength);
121
128
  const invalid = computed(() => !!props.error);
122
129
  const disclosed = ref(false);
130
+ const {
131
+ isMobile
132
+ } = useResponsive();
123
133
  // Methods
124
134
  function focus() {
125
135
  var _a;
@@ -140,6 +150,7 @@ var script = defineComponent({
140
150
  maxLength,
141
151
  invalid,
142
152
  disclosed,
153
+ isMobile,
143
154
  focus,
144
155
  blur
145
156
  };
@@ -152,6 +163,7 @@ const _hoisted_2 = {
152
163
  };
153
164
  function render(_ctx, _cache, $props, $setup, $data, $options) {
154
165
  const _component_OrLabel = resolveComponent("OrLabel");
166
+ const _component_OrLoader = resolveComponent("OrLoader");
155
167
  const _component_OrIconButton = resolveComponent("OrIconButton");
156
168
  const _component_OrIcon = resolveComponent("OrIcon");
157
169
  const _component_OrInputBox = resolveComponent("OrInputBox");
@@ -175,7 +187,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
175
187
  variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
176
188
  size: _ctx.size,
177
189
  invalid: _ctx.invalid,
178
- readonly: _ctx.readonly,
190
+ readonly: _ctx.readonly || _ctx.loading,
179
191
  disabled: _ctx.disabled
180
192
  }, {
181
193
  default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
@@ -186,13 +198,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
186
198
  type: _ctx.type === 'password' && _ctx.disclosed ? 'text' : _ctx.type,
187
199
  placeholder: _ctx.placeholder,
188
200
  required: _ctx.required,
189
- readonly: _ctx.readonly,
201
+ readonly: _ctx.readonly || _ctx.loading,
190
202
  disabled: _ctx.disabled,
191
203
  onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
192
204
  onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
193
205
  onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
194
206
  onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
195
- }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
207
+ }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.loading ? (openBlock(), createBlock(_component_OrLoader, {
208
+ key: 0,
209
+ variant: 'circular',
210
+ color: 'primary',
211
+ size: _ctx.isMobile ? 'm' : 's'
212
+ }, null, 8 /* PROPS */, ["size"])) : (openBlock(), createElementBlock(Fragment, {
213
+ key: 1
214
+ }, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
196
215
  key: 0,
197
216
  icon: {
198
217
  icon: _ctx.disclosed ? 'visibility_off' : 'visibility',
@@ -213,7 +232,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
213
232
  key: 1,
214
233
  icon: 'search',
215
234
  variant: 'outlined'
216
- }))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])]),
235
+ }))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
236
+
217
237
  _: 1 /* STABLE */
218
238
  }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
219
239
  key: 1
@@ -42,16 +42,16 @@ const InputBoxRootVariants = {
42
42
  const InputBoxRootSizes = {
43
43
  'm': [
44
44
  // Box
45
- 'children:min-h-[34px]',
45
+ 'children:min-h-[46px] children:md:min-h-[34px]',
46
46
  // Spacing
47
- 'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'children:pt-[11px] children:md:pt-[7px]', 'children:pb-[11px] children:md:pb-[6px]', 'gap-sm+ md:gap-sm',
47
+ 'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'gap-sm+ md:gap-sm',
48
48
  // Typography
49
49
  'typography-body-2-regular'],
50
50
  's': [
51
51
  // Box
52
52
  'children:min-h-[30px]',
53
53
  // Spacing
54
- 'first-child:pl-sm', 'last-child:pr-sm', 'children:py-[6px]', 'gap-[6px]',
54
+ 'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'gap-[6px]',
55
55
  // Typography
56
56
  'typography-caption-regular']
57
57
  };
@@ -1,12 +1,9 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { s as script$1, P as PopoverPlacement } from './OrPopover-40217b49.js';
3
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createElementVNode, withModifiers, renderSlot } from 'vue';
3
+ import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, withModifiers, renderSlot } from 'vue';
4
4
 
5
5
  const MenuRoot = [
6
6
  // Layout
7
- 'inline-block'];
8
- const MenuBody = [
9
- // Layout
10
7
  'overflow-y-auto',
11
8
  // Box
12
9
  'min-w-[160px]', 'md:max-w-[256px]', 'max-h-[340px]'];
@@ -16,6 +13,7 @@ var script = defineComponent({
16
13
  components: {
17
14
  OrPopover: script$1
18
15
  },
16
+ inheritAttrs: false,
19
17
  props: {
20
18
  trigger: {
21
19
  type: HTMLElement,
@@ -27,7 +25,7 @@ var script = defineComponent({
27
25
  }
28
26
  },
29
27
  emits: ['update:state'],
30
- expose: ['root', 'open', 'close', 'isOpen', 'toggle'],
28
+ expose: ['root', 'isOpen', 'open', 'close', 'toggle'],
31
29
  setup() {
32
30
  // Refs
33
31
  const root = ref();
@@ -36,13 +34,13 @@ var script = defineComponent({
36
34
  var _a;
37
35
  return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
38
36
  });
37
+ // Styles
38
+ const rootStyles = computed(() => ['or-menu', ...MenuRoot]);
39
+ // State
39
40
  const isOpen = computed(() => {
40
41
  var _a;
41
42
  return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.isOpen;
42
43
  });
43
- // Styles
44
- const rootStyles = computed(() => ['or-menu', ...MenuRoot]);
45
- const bodyStyles = computed(() => [...MenuBody]);
46
44
  // Methods
47
45
  function open() {
48
46
  const popoverInstance = popover.value;
@@ -76,7 +74,6 @@ var script = defineComponent({
76
74
  popover,
77
75
  popoverRoot,
78
76
  rootStyles,
79
- bodyStyles,
80
77
  isOpen,
81
78
  open,
82
79
  close,
@@ -88,10 +85,7 @@ var script = defineComponent({
88
85
 
89
86
  function render(_ctx, _cache, $props, $setup, $data, $options) {
90
87
  const _component_OrPopover = resolveComponent("OrPopover");
91
- return openBlock(), createElementBlock("div", {
92
- ref: "root",
93
- class: normalizeClass(_ctx.rootStyles)
94
- }, [createVNode(_component_OrPopover, {
88
+ return openBlock(), createBlock(_component_OrPopover, {
95
89
  ref: "popover",
96
90
  variant: 'auto',
97
91
  trigger: _ctx.trigger,
@@ -100,13 +94,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
100
94
  "disable-default-styles": false,
101
95
  "onUpdate:state": _cache[1] || (_cache[1] = $event => _ctx.$emit('update:state', $event))
102
96
  }, {
103
- default: withCtx(() => [createElementVNode("div", {
104
- class: normalizeClass(_ctx.bodyStyles),
97
+ default: withCtx(() => [createElementVNode("div", mergeProps({
98
+ ref: "root"
99
+ }, _ctx.$attrs, {
100
+ class: _ctx.rootStyles,
105
101
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.onClick && _ctx.onClick(...args), ["stop"]))
106
- }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)]),
102
+ }), [renderSlot(_ctx.$slots, "default")], 16 /* FULL_PROPS */)]),
107
103
 
108
104
  _: 3 /* FORWARDED */
109
- }, 8 /* PROPS */, ["trigger", "placement"])], 2 /* CLASS */);
105
+ }, 8 /* PROPS */, ["trigger", "placement"]);
110
106
  }
111
107
 
112
108
  script.render = render;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
- import { s as script$2 } from './OrIconButton-2dcfb83e.js';
2
+ import { s as script$2 } from './OrIconButton-3920ba54.js';
3
3
  import { s as script$1 } from './OrOverlay-afad3aa4.js';
4
4
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { s as script$2 } from './OrIconButton-2dcfb83e.js';
2
+ import { s as script$2 } from './OrIconButton-3920ba54.js';
3
3
  import { s as script$1 } from './OrIcon-34f59f73.js';
4
4
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, renderSlot, withModifiers } from 'vue';
5
5
 
@@ -104,7 +104,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
104
104
  })) : createCommentVNode("v-if", true)], 2 /* CLASS */);
105
105
  }
106
106
 
107
- var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-2a8b1558 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-2a8b1558 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-notification[data-v-2a8b1558] {\n /** TODO: Override when mobile design is ready to guarantee alignment of icons with first text row */\n --alignment-height: var(--lh-1);\n display: flex;\n align-items: flex-start;\n width: 100%;\n padding: var(--s-4);\n background-color: var(--c-white);\n border-radius: 0.25rem;\n box-shadow: 0 0.0625rem 0.25rem 0.0625rem rgba(0, 0, 0, 0.08);\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: background-color;\n}\n.or-notification.is-size-default[data-v-2a8b1558] {\n max-width: 48rem;\n}\n.or-notification.is-size-inline[data-v-2a8b1558] {\n max-width: 27.875rem;\n}\n.or-notification a[data-v-2a8b1558] {\n font-weight: var(--fw-2);\n color: var(--c-black);\n}\n.or-notification--icon[data-v-2a8b1558] {\n display: flex;\n align-items: center;\n min-height: var(--alignment-height);\n margin-right: var(--s-4);\n}\n.or-notification--icon[data-v-2a8b1558] .or-icon {\n font-size: 1rem;\n}\n.or-notification--content[data-v-2a8b1558] {\n flex: 1 1 100%;\n word-break: break-word;\n}\n.or-notification--close[data-v-2a8b1558] {\n display: flex;\n height: var(--alignment-height);\n margin-left: 1rem;\n}\n.or-notification--close[data-v-2a8b1558] .or-icon {\n font-size: 1rem !important;\n}\n.or-notification.is-type-info[data-v-2a8b1558] {\n background-color: var(--c-primary-lighten-45);\n}\n.or-notification.is-type-info a[data-v-2a8b1558] {\n color: var(--c-primary);\n}\n.or-notification.is-type-error[data-v-2a8b1558] {\n background-color: var(--c-error-lighten-45);\n}\n.or-notification.is-type-error a[data-v-2a8b1558] {\n color: var(--c-error);\n}\n.or-notification.is-type-warning[data-v-2a8b1558] {\n background-color: var(--c-warning-lighten-45);\n}\n.or-notification.is-type-warning a[data-v-2a8b1558] {\n color: var(--c-warning);\n}\n.or-notification.is-type-success[data-v-2a8b1558] {\n background-color: var(--c-success-lighten-45);\n}\n.or-notification.is-type-success a[data-v-2a8b1558] {\n color: var(--c-success);\n}\n[data-theme=dark] .or-notification .or-icon[data-v-2a8b1558] {\n color: var(--c-neutral-1);\n}\n[data-theme=dark] .or-notification.is-type-info[data-v-2a8b1558] {\n background-color: var(--c-primary-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-info a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-error[data-v-2a8b1558] {\n background-color: var(--c-error-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-error a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-warning[data-v-2a8b1558] {\n background-color: var(--c-warning-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-warning a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-success[data-v-2a8b1558] {\n background-color: var(--c-success-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-success a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}";
107
+ var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-2a8b1558 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-2a8b1558 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-notification[data-v-2a8b1558] {\n /** TODO: Override when mobile design is ready to guarantee alignment of icons with first text row */\n --alignment-height: var(--lh-1);\n display: flex;\n align-items: flex-start;\n width: 100%;\n padding: var(--s-4);\n background-color: var(--c-white);\n border-radius: 0.25rem;\n box-shadow: 0 0.0625rem 0.25rem 0.0625rem rgba(0, 0, 0, 0.08);\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: background-color;\n}\n.or-notification.is-size-default[data-v-2a8b1558] {\n max-width: 48rem;\n}\n.or-notification.is-size-inline[data-v-2a8b1558] {\n max-width: 27.875rem;\n}\n.or-notification a[data-v-2a8b1558] {\n font-weight: var(--fw-2);\n color: var(--c-black);\n}\n.or-notification--icon[data-v-2a8b1558] {\n display: flex;\n align-items: center;\n min-height: var(--alignment-height);\n margin-right: var(--s-4);\n}\n.or-notification--icon[data-v-2a8b1558] .or-icon {\n font-size: 1rem;\n}\n.or-notification--content[data-v-2a8b1558] {\n flex: 1 1 100%;\n word-break: break-word;\n}\n.or-notification--close[data-v-2a8b1558] {\n display: flex;\n height: var(--alignment-height);\n margin-left: 1rem;\n}\n.or-notification--close[data-v-2a8b1558] .or-icon {\n font-size: 1rem !important;\n}\n.or-notification.is-type-info[data-v-2a8b1558] {\n background-color: var(--c-primary-lighten-45);\n}\n.or-notification.is-type-info a[data-v-2a8b1558] {\n color: var(--c-primary);\n}\n.or-notification.is-type-error[data-v-2a8b1558] {\n background-color: var(--c-error-lighten-45);\n}\n.or-notification.is-type-error a[data-v-2a8b1558] {\n color: var(--c-error);\n}\n.or-notification.is-type-warning[data-v-2a8b1558] {\n background-color: var(--c-warning-lighten-45);\n}\n.or-notification.is-type-warning a[data-v-2a8b1558] {\n color: var(--c-warning);\n}\n.or-notification.is-type-success[data-v-2a8b1558] {\n background-color: var(--c-success-lighten-45);\n}\n.or-notification.is-type-success a[data-v-2a8b1558] {\n color: var(--c-success);\n}";
108
108
  styleInject(css_248z);
109
109
 
110
110
  script.render = render;