@onereach/ui-components 2.70.0-beta.2131.0 → 2.70.0-beta.2159.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 (228) hide show
  1. package/dist/bundled/v2/{OrAvatar-2fa559e1.js → OrAvatar-ae61bfb9.js} +41 -15
  2. package/dist/bundled/v2/{OrButton-0e91a808.js → OrButton-4b99c680.js} +5 -1
  3. package/dist/bundled/v2/{OrCard-58a1ba3e.js → OrCard-29116e1f.js} +2 -2
  4. package/dist/bundled/v2/OrCardCollection-c4209a92.js +350 -0
  5. package/dist/bundled/v2/OrCode-be1bd373.js +4255 -0
  6. package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-cab6535b.js} +1 -1
  7. package/dist/bundled/v2/OrEmptyState-9fb413f9.js +160 -0
  8. package/dist/bundled/v2/{OrRichTextEditor-63ef1357.js → OrRichTextEditor-5843ecda.js} +13803 -20711
  9. package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-76b002cf.js} +10 -4
  10. package/dist/bundled/v2/{OrSortHeader-396e6a7c.js → OrSortHeader-9932d28f.js} +2 -2
  11. package/dist/bundled/v2/codemirrorView-14f6685c.js +7136 -0
  12. package/dist/bundled/v2/components/index.d.ts +1 -0
  13. package/dist/bundled/v2/components/index.js +13 -10
  14. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  15. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  16. package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -1
  17. package/dist/bundled/v2/components/or-avatar-v3/props.d.ts +2 -1
  18. package/dist/bundled/v2/components/or-avatar-v3/styles.d.ts +2 -0
  19. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  20. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +10 -0
  21. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +87 -40
  22. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  23. package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -4
  24. package/dist/bundled/v2/components/or-card-collection-v3/props.d.ts +5 -1
  25. package/dist/bundled/v2/components/or-card-collection-v3/styles.d.ts +2 -2
  26. package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +8 -3
  27. package/dist/bundled/v2/components/or-card-v3/index.js +1 -1
  28. package/dist/bundled/v2/components/or-code/index.js +3 -2
  29. package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
  30. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
  31. package/dist/bundled/v2/components/or-empty-state-v3/index.js +3 -159
  32. package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
  33. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +4 -2
  34. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
  35. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +45 -0
  36. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
  37. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +2 -0
  38. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
  39. package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +15 -2
  40. package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
  41. package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
  42. package/dist/bundled/v2/index-46cc379c.js +12186 -0
  43. package/dist/bundled/v2/index-780d00b0.js +13307 -0
  44. package/dist/bundled/v2/index.js +14 -11
  45. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-22e46ce1.js → OrAvatar.vue_vue_type_script_lang-0426862b.js} +35 -13
  46. package/dist/bundled/v3/OrButton-a671b8a1.js +33 -0
  47. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3718b300.js → OrButton.vue_vue_type_script_lang-b0dc31ca.js} +5 -1
  48. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js +236 -0
  49. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-0f668150.js +4133 -0
  50. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-289b5600.js → OrConfirm.vue_vue_type_script_lang-f57ffa1a.js} +6 -36
  51. package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-da7d6c42.js +111 -0
  52. package/dist/bundled/v3/{OrIconButton-4bd33e3c.js → OrIconButton-1581013c.js} +1 -1
  53. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-641f6e06.js → OrIconButton.vue_vue_type_script_lang-f6f801ff.js} +1 -1
  54. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-3a8189f4.js → OrInlineInput.vue_vue_type_script_lang-f29483f4.js} +2 -2
  55. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-890b97ab.js → OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js} +2 -2
  56. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-f6d793d3.js +2 -2
  57. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-00a477f0.js → OrModal.vue_vue_type_script_lang-80a7b906.js} +2 -2
  58. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-fbb35355.js +2 -2
  59. package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-47fffbd6.js → OrRichTextEditor.vue_vue_type_script_lang-e0dfd695.js} +13803 -20711
  60. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-014ad470.js} +9 -3
  61. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-15285ce4.js +1 -1
  62. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-92d9fb12.js → OrTag.vue_vue_type_script_lang-dc6a4011.js} +2 -2
  63. package/dist/bundled/v3/{OrToastContainer-afb51e5d.js → OrToastContainer-7c3c0b12.js} +1 -1
  64. package/dist/bundled/v3/codemirrorView-14f6685c.js +7136 -0
  65. package/dist/bundled/v3/components/index.d.ts +1 -0
  66. package/dist/bundled/v3/components/index.js +23 -19
  67. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  68. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  69. package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -1
  70. package/dist/bundled/v3/components/or-avatar-v3/props.d.ts +2 -1
  71. package/dist/bundled/v3/components/or-avatar-v3/styles.d.ts +2 -0
  72. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  73. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +10 -0
  74. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +87 -40
  75. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  76. package/dist/bundled/v3/components/or-card-collection-v3/index.js +13 -6
  77. package/dist/bundled/v3/components/or-card-collection-v3/props.d.ts +5 -1
  78. package/dist/bundled/v3/components/or-card-collection-v3/styles.d.ts +2 -2
  79. package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +8 -3
  80. package/dist/bundled/v3/components/or-code/index.js +3 -2
  81. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -4
  82. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
  83. package/dist/bundled/v3/components/or-empty-state-v3/index.js +2 -134
  84. package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
  85. package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
  86. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
  87. package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
  88. package/dist/bundled/v3/components/or-input-v3/index.js +2 -2
  89. package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
  90. package/dist/bundled/v3/components/or-notification-v3/index.js +2 -2
  91. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +6 -4
  92. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
  93. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +45 -0
  94. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
  95. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +2 -0
  96. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
  97. package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +15 -2
  98. package/dist/bundled/v3/components/or-search-v3/index.js +3 -3
  99. package/dist/bundled/v3/components/or-select-v3/index.js +3 -3
  100. package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
  101. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  102. package/dist/bundled/v3/index-44faad6a.js +12186 -0
  103. package/dist/bundled/v3/index-780d00b0.js +13307 -0
  104. package/dist/bundled/v3/index.js +415 -351
  105. package/dist/bundled/v3/{types-6c5eee23.js → types-dcc78caa.js} +2 -2
  106. package/dist/esm/v2/{OrAvatar-0afdef36.js → OrAvatar-3d155af3.js} +41 -15
  107. package/dist/esm/v2/{OrButton-357a5756.js → OrButton-357e1e2c.js} +5 -1
  108. package/dist/esm/v2/OrCardCollection-57d11adf.js +350 -0
  109. package/dist/esm/v2/{OrCode-41dd5f9b.js → OrCode-d4400b42.js} +6 -4
  110. package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-ec7aef0e.js} +1 -1
  111. package/dist/esm/v2/OrEmptyState-2481f13f.js +158 -0
  112. package/dist/esm/v2/{OrRichTextEditor-c3dee275.js → OrRichTextEditor-2d152db0.js} +59 -11
  113. package/dist/esm/v2/{OrSearch-ddb7c1fe.js → OrSearch-2f260b09.js} +8 -2
  114. package/dist/esm/v2/codemirrorView-8ea431d2.js +184 -0
  115. package/dist/esm/v2/components/index.d.ts +1 -0
  116. package/dist/esm/v2/components/index.js +13 -7
  117. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  118. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  119. package/dist/esm/v2/components/or-avatar-v3/index.js +2 -1
  120. package/dist/esm/v2/components/or-avatar-v3/props.d.ts +2 -1
  121. package/dist/esm/v2/components/or-avatar-v3/styles.d.ts +2 -0
  122. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  123. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +10 -0
  124. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +87 -40
  125. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  126. package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -4
  127. package/dist/esm/v2/components/or-card-collection-v3/props.d.ts +5 -1
  128. package/dist/esm/v2/components/or-card-collection-v3/styles.d.ts +2 -2
  129. package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +8 -3
  130. package/dist/esm/v2/components/or-code/index.js +3 -1
  131. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  132. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
  133. package/dist/esm/v2/components/or-empty-state-v3/index.js +3 -158
  134. package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
  135. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +8 -1
  136. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
  137. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +45 -0
  138. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
  139. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +5 -0
  140. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
  141. package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +15 -2
  142. package/dist/esm/v2/components/or-search-v3/index.js +1 -1
  143. package/dist/esm/v2/index.js +13 -7
  144. package/dist/esm/v3/{OrAvatar-ef88d31c.js → OrAvatar-53a4429d.js} +43 -16
  145. package/dist/esm/v3/{OrButton-f4b9ee51.js → OrButton-bb6bf8a9.js} +5 -1
  146. package/dist/esm/v3/OrCardCollection-2a6514f3.js +298 -0
  147. package/dist/esm/v3/{OrCode-ee19a5e6.js → OrCode-5ed69c23.js} +3 -1
  148. package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-5d56cbd3.js} +1 -1
  149. package/dist/esm/v3/OrEmptyState-bb8e3145.js +135 -0
  150. package/dist/esm/v3/OrInput-41691fb3.js +1 -1
  151. package/dist/esm/v3/{OrInputBox-5247ab25.js → OrInputBox-6d1b6059.js} +1 -1
  152. package/dist/esm/v3/{OrRichTextEditor-b2e87342.js → OrRichTextEditor-f1271eb6.js} +58 -10
  153. package/dist/esm/v3/{OrSearch-cdde55ce.js → OrSearch-e5a2e93e.js} +9 -3
  154. package/dist/esm/v3/OrSelect-7e813982.js +1 -1
  155. package/dist/esm/v3/OrTextarea-bb9ef3f2.js +1 -1
  156. package/dist/esm/v3/codemirrorView-8ea431d2.js +184 -0
  157. package/dist/esm/v3/components/index.d.ts +1 -0
  158. package/dist/esm/v3/components/index.js +14 -8
  159. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  160. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  161. package/dist/esm/v3/components/or-avatar-v3/index.js +2 -1
  162. package/dist/esm/v3/components/or-avatar-v3/props.d.ts +2 -1
  163. package/dist/esm/v3/components/or-avatar-v3/styles.d.ts +2 -0
  164. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  165. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +10 -0
  166. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +87 -40
  167. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  168. package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -5
  169. package/dist/esm/v3/components/or-card-collection-v3/props.d.ts +5 -1
  170. package/dist/esm/v3/components/or-card-collection-v3/styles.d.ts +2 -2
  171. package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +8 -3
  172. package/dist/esm/v3/components/or-code/index.js +3 -1
  173. package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
  174. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
  175. package/dist/esm/v3/components/or-empty-state-v3/index.js +3 -135
  176. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
  177. package/dist/esm/v3/components/or-input-box-v3/index.js +2 -2
  178. package/dist/esm/v3/components/or-input-v3/index.js +1 -1
  179. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +8 -1
  180. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
  181. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +45 -0
  182. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
  183. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +5 -0
  184. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
  185. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +15 -2
  186. package/dist/esm/v3/components/or-search-v3/index.js +2 -2
  187. package/dist/esm/v3/components/or-select-v3/index.js +1 -1
  188. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  189. package/dist/esm/v3/index.js +14 -8
  190. package/package.json +2 -1
  191. package/src/components/index.ts +1 -0
  192. package/src/components/or-avatar-v3/OrAvatar.stories3.ts +9 -7
  193. package/src/components/or-avatar-v3/OrAvatar.vue +22 -2
  194. package/src/components/or-avatar-v3/props.ts +1 -0
  195. package/src/components/or-avatar-v3/styles.ts +49 -11
  196. package/src/components/or-button-v3/styles.ts +6 -0
  197. package/src/components/or-card/OrCard.stories.ts +1 -1
  198. package/src/components/or-card-collection/OrCardCollection.stories.ts +1 -1
  199. package/src/components/or-card-collection-v3/OrCardCollection.docs.mdx +4 -0
  200. package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +246 -30
  201. package/src/components/or-card-collection-v3/OrCardCollection.vue +132 -77
  202. package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +41 -0
  203. package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +42 -0
  204. package/src/components/or-card-collection-v3/props.ts +14 -1
  205. package/src/components/or-card-collection-v3/styles.ts +6 -4
  206. package/src/components/or-card-collection-v3/types.ts +9 -3
  207. package/src/components/or-code/OrCode.vue +3 -1
  208. package/src/components/or-empty-state-v3/OrEmptyState.vue +16 -10
  209. package/src/components/or-input-box-v3/OrInputBox.vue +1 -2
  210. package/src/components/or-menu-v3/OrMenu.stories3.ts +1 -1
  211. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +2 -0
  212. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +32 -6
  213. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +40 -0
  214. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +257 -0
  215. package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +1 -0
  216. package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +22 -0
  217. package/src/components/or-rich-text-editor-v3/utils/markdown.ts +2 -0
  218. package/src/components/or-search-v3/OrSearch.stories3.ts +1 -1
  219. package/src/components/or-search-v3/OrSearch.vue +8 -2
  220. package/src/components/or-teleport-v3/OrTeleport.stories3.ts +1 -1
  221. package/dist/bundled/v2/OrCardCollection-a9a779ea.js +0 -228
  222. package/dist/bundled/v2/OrCode-0cd991a1.js +0 -29579
  223. package/dist/bundled/v2/index.es-3f39f316.js +0 -115
  224. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-3993a015.js +0 -164
  225. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-6c5f94a6.js +0 -29457
  226. package/dist/bundled/v3/index.es-3f39f316.js +0 -115
  227. package/dist/esm/v2/OrCardCollection-4f001551.js +0 -227
  228. package/dist/esm/v3/OrCardCollection-5a0febaf.js +0 -198
@@ -1,43 +1,13 @@
1
- import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, defineComponent, ref, computed, watch } from 'vue';
1
+ import { defineComponent, ref, computed, watch } from 'vue';
2
2
  import { useMagicKeys, whenever } from '@vueuse/core';
3
3
  import { l as logicAnd } from './index-01519e46.js';
4
4
  import './OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
5
- import { s as script$1, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-3718b300.js';
5
+ import './OrButton-a671b8a1.js';
6
6
  import './OrInput-fa782fc1.js';
7
- import { s as script$2 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
7
+ import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-b0dc31ca.js';
8
+ import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
8
9
  import { s as script$3 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
9
10
 
10
- const _hoisted_1 = ["type", "disabled"];
11
- const _hoisted_2 = {
12
- key: 0,
13
- class: /*#__PURE__*/normalizeClass(['absolute'])
14
- };
15
- function render(_ctx, _cache, $props, $setup, $data, $options) {
16
- const _component_OrLoader = resolveComponent("OrLoader");
17
- return openBlock(), createElementBlock("button", mergeProps({
18
- ref: "root"
19
- }, _ctx.$attrs, {
20
- class: _ctx.rootStyles,
21
- type: _ctx.type,
22
- disabled: _ctx.disabled,
23
- onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
24
- onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
25
- onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
26
- }), [createElementVNode("div", {
27
- class: normalizeClass(['contents', _ctx.loading && 'invisible'])
28
- }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */), _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [_ctx.variant !== 'link' ? (openBlock(), createBlock(_component_OrLoader, {
29
- key: 0,
30
- variant: 'circular',
31
- color: 'inherit',
32
- size: 's'
33
- })) : (openBlock(), createElementBlock(Fragment, {
34
- key: 1
35
- }, [createTextVNode(toDisplayString(_ctx.loadingText) + "… ", 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */))])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
36
- }
37
-
38
- script$1.render = render;
39
- script$1.__file = "src/components/or-button-v3/OrButton.vue";
40
-
41
11
  var ConfirmType;
42
12
  (function (ConfirmType) {
43
13
  ConfirmType["D"] = "d";
@@ -89,8 +59,8 @@ const ConfirmFooterButtons = [
89
59
  var script = defineComponent({
90
60
  name: 'OrConfirm',
91
61
  components: {
92
- OrOverlay: script$2,
93
- OrButton: script$1,
62
+ OrOverlay: script$1,
63
+ OrButton: script$2,
94
64
  OrInput: script$3
95
65
  },
96
66
  props: {
@@ -0,0 +1,111 @@
1
+ import { defineComponent, ref, computed } from 'vue';
2
+
3
+ var EmptyStateSize;
4
+ (function (EmptyStateSize) {
5
+ EmptyStateSize["L"] = "l";
6
+ EmptyStateSize["M"] = "m";
7
+ })(EmptyStateSize || (EmptyStateSize = {}));
8
+
9
+ const EmptyStateRoot = [
10
+ // Layout
11
+ 'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
12
+ // Box
13
+ 'w-full',
14
+ // Sizing
15
+ 'gap-sm'];
16
+ const EmptyStateImage = [
17
+ // Sizing
18
+ 'mb-sm'];
19
+ const EmptyStateImageSizes = {
20
+ [EmptyStateSize.L]: [
21
+ // Box
22
+ 'h-3xl'],
23
+ [EmptyStateSize.M]: [
24
+ // Box
25
+ 'h-2xl']
26
+ };
27
+ const EmptyStateHeading = [
28
+ // Theme
29
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
30
+ const EmptyStateHeadingSizes = {
31
+ [EmptyStateSize.L]: [
32
+ // Typography
33
+ 'typography-headline-2'],
34
+ [EmptyStateSize.M]: [
35
+ // Typography
36
+ 'typography-headline-4']
37
+ };
38
+ const EmptyStateText = ['text-center',
39
+ // Theme
40
+ 'text-outline', 'dark:text-outline-dark'];
41
+ const EmptyStateContent = EmptyStateText;
42
+ const EmptyStateTextSizes = {
43
+ [EmptyStateSize.L]: [
44
+ // Typography
45
+ 'typography-body-2-regular'],
46
+ [EmptyStateSize.M]: [
47
+ // Typography
48
+ 'typography-caption-regular']
49
+ };
50
+ const EmptyStateContentSizes = EmptyStateTextSizes;
51
+
52
+ /**
53
+ * The component to display when there is no content on a page,
54
+ * no records found or selected, or while the data is being loaded.
55
+ * Provides a hint to the user on what to do.
56
+ * Consists of text message, optional icon and optional loader.
57
+ */
58
+ var script = defineComponent({
59
+ name: 'OrEmptyState',
60
+ props: {
61
+ /**
62
+ * Size of the component, affects font and icon size.
63
+ * Use Large if the component takes all screen space,
64
+ * and Medium if it is a part of the complex layout.
65
+ */
66
+ size: {
67
+ type: String,
68
+ default: EmptyStateSize.M
69
+ },
70
+ /**
71
+ * The heading of the empty state block.
72
+ */
73
+ heading: {
74
+ type: String,
75
+ default: ''
76
+ },
77
+ /**
78
+ * Additional text such as a hint for a user with proposed next steps.
79
+ */
80
+ text: {
81
+ type: String,
82
+ default: ''
83
+ },
84
+ /**
85
+ * Path to the image to display above the heading.
86
+ * Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
87
+ */
88
+ imageSrc: {
89
+ type: String,
90
+ default: undefined
91
+ }
92
+ },
93
+ setup(props) {
94
+ const root = ref();
95
+ const rootClasses = computed(() => ['or-empty-state', ...EmptyStateRoot]);
96
+ const imageClasses = computed(() => ['or-empty-state_image', ...EmptyStateImage, ...EmptyStateImageSizes[props.size]]);
97
+ const headingClasses = computed(() => ['or-empty-state_heading', ...EmptyStateHeading, ...EmptyStateHeadingSizes[props.size]]);
98
+ const textClasses = computed(() => ['or-empty-state_text', ...EmptyStateText, ...EmptyStateTextSizes[props.size]]);
99
+ const slotClasses = computed(() => ['or-empty-state_content', ...EmptyStateContent, ...EmptyStateContentSizes[props.size]]);
100
+ return {
101
+ root,
102
+ rootClasses,
103
+ imageClasses,
104
+ headingClasses,
105
+ textClasses,
106
+ slotClasses
107
+ };
108
+ }
109
+ });
110
+
111
+ export { EmptyStateSize as E, script as s };
@@ -1,4 +1,4 @@
1
- import { s as script } from './OrIconButton.vue_vue_type_script_lang-641f6e06.js';
1
+ import { s as script } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
2
2
  import { resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode, mergeProps, createVNode } from 'vue';
3
3
 
4
4
  const _hoisted_1 = ["disabled"];
@@ -1,7 +1,7 @@
1
1
  import { resolveComponent, openBlock, createElementBlock, mergeProps, renderSlot, createBlock, withCtx, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, defineComponent, ref, computed } from 'vue';
2
2
  import './OrIcon-d878b768.js';
3
- import { s as script$2, I as IconSize } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
4
3
  import { s as script$1 } from './OrTooltip.vue_vue_type_script_lang-67cc86ed.js';
4
+ import { s as script$2, I as IconSize } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
5
5
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
6
6
 
7
7
  function render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, getCurrentInstance, ref, computed, watch } from 'vue';
2
2
  import './OrHint-9592499e.js';
3
- import './OrIconButton-4bd33e3c.js';
3
+ import './OrIconButton-1581013c.js';
4
4
  import './OrInlineInputBox-9d68ded1.js';
5
5
  import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
6
6
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
7
7
  import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
8
8
  import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
9
- import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-641f6e06.js';
9
+ import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
10
10
 
11
11
  var InlineInputType;
12
12
  (function (InlineInputType) {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, getCurrentInstance, ref, computed, watch } from 'vue';
2
2
  import './OrHint-9592499e.js';
3
- import './OrIconButton-4bd33e3c.js';
3
+ import './OrIconButton-1581013c.js';
4
4
  import './OrInlineInputBox-9d68ded1.js';
5
5
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
6
6
  import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
7
7
  import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
8
- import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-641f6e06.js';
8
+ import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
9
9
  import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
10
10
 
11
11
  const InlineTextareaRoot = [
@@ -3,14 +3,14 @@ import './OrHint-9592499e.js';
3
3
  import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
4
4
  import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
5
5
  import './OrIcon-d878b768.js';
6
- import './OrIconButton-4bd33e3c.js';
6
+ import './OrIconButton-1581013c.js';
7
7
  import './OrInputBox-eb54d73d.js';
8
8
  import { s as script$5, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
9
9
  import './OrLabel-c6873e79.js';
10
10
  import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
11
11
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
12
12
  import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
13
- import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-641f6e06.js';
13
+ import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
14
14
 
15
15
  var InputType;
16
16
  (function (InputType) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue';
2
2
  import './OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
3
- import './OrIconButton-4bd33e3c.js';
3
+ import './OrIconButton-1581013c.js';
4
4
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
5
5
  import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
6
- import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-641f6e06.js';
6
+ import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
7
7
 
8
8
  var ModalSize;
9
9
  (function (ModalSize) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, computed } from 'vue';
2
2
  import './OrIcon-d878b768.js';
3
- import './OrIconButton-4bd33e3c.js';
3
+ import './OrIconButton-1581013c.js';
4
4
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
5
5
  import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
6
- import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-641f6e06.js';
6
+ import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
7
7
 
8
8
  var NotificationVariant;
9
9
  (function (NotificationVariant) {