@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
@@ -0,0 +1,135 @@
1
+ import { defineComponent, ref, computed } from 'vue-demi';
2
+ import { openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, toDisplayString, renderSlot } from 'vue';
3
+
4
+ var EmptyStateSize;
5
+ (function (EmptyStateSize) {
6
+ EmptyStateSize["L"] = "l";
7
+ EmptyStateSize["M"] = "m";
8
+ })(EmptyStateSize || (EmptyStateSize = {}));
9
+
10
+ const EmptyStateRoot = [
11
+ // Layout
12
+ 'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
13
+ // Box
14
+ 'w-full',
15
+ // Sizing
16
+ 'gap-sm'];
17
+ const EmptyStateImage = [
18
+ // Sizing
19
+ 'mb-sm'];
20
+ const EmptyStateImageSizes = {
21
+ [EmptyStateSize.L]: [
22
+ // Box
23
+ 'h-3xl'],
24
+ [EmptyStateSize.M]: [
25
+ // Box
26
+ 'h-2xl']
27
+ };
28
+ const EmptyStateHeading = [
29
+ // Theme
30
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
31
+ const EmptyStateHeadingSizes = {
32
+ [EmptyStateSize.L]: [
33
+ // Typography
34
+ 'typography-headline-2'],
35
+ [EmptyStateSize.M]: [
36
+ // Typography
37
+ 'typography-headline-4']
38
+ };
39
+ const EmptyStateText = ['text-center',
40
+ // Theme
41
+ 'text-outline', 'dark:text-outline-dark'];
42
+ const EmptyStateContent = EmptyStateText;
43
+ const EmptyStateTextSizes = {
44
+ [EmptyStateSize.L]: [
45
+ // Typography
46
+ 'typography-body-2-regular'],
47
+ [EmptyStateSize.M]: [
48
+ // Typography
49
+ 'typography-caption-regular']
50
+ };
51
+ const EmptyStateContentSizes = EmptyStateTextSizes;
52
+
53
+ /**
54
+ * The component to display when there is no content on a page,
55
+ * no records found or selected, or while the data is being loaded.
56
+ * Provides a hint to the user on what to do.
57
+ * Consists of text message, optional icon and optional loader.
58
+ */
59
+ var script = defineComponent({
60
+ name: 'OrEmptyState',
61
+ props: {
62
+ /**
63
+ * Size of the component, affects font and icon size.
64
+ * Use Large if the component takes all screen space,
65
+ * and Medium if it is a part of the complex layout.
66
+ */
67
+ size: {
68
+ type: String,
69
+ default: EmptyStateSize.M
70
+ },
71
+ /**
72
+ * The heading of the empty state block.
73
+ */
74
+ heading: {
75
+ type: String,
76
+ default: ''
77
+ },
78
+ /**
79
+ * Additional text such as a hint for a user with proposed next steps.
80
+ */
81
+ text: {
82
+ type: String,
83
+ default: ''
84
+ },
85
+ /**
86
+ * Path to the image to display above the heading.
87
+ * Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
88
+ */
89
+ imageSrc: {
90
+ type: String,
91
+ default: undefined
92
+ }
93
+ },
94
+ setup(props) {
95
+ const root = ref();
96
+ const rootClasses = computed(() => ['or-empty-state', ...EmptyStateRoot]);
97
+ const imageClasses = computed(() => ['or-empty-state_image', ...EmptyStateImage, ...EmptyStateImageSizes[props.size]]);
98
+ const headingClasses = computed(() => ['or-empty-state_heading', ...EmptyStateHeading, ...EmptyStateHeadingSizes[props.size]]);
99
+ const textClasses = computed(() => ['or-empty-state_text', ...EmptyStateText, ...EmptyStateTextSizes[props.size]]);
100
+ const slotClasses = computed(() => ['or-empty-state_content', ...EmptyStateContent, ...EmptyStateContentSizes[props.size]]);
101
+ return {
102
+ root,
103
+ rootClasses,
104
+ imageClasses,
105
+ headingClasses,
106
+ textClasses,
107
+ slotClasses
108
+ };
109
+ }
110
+ });
111
+
112
+ const _hoisted_1 = ["src"];
113
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
114
+ return openBlock(), createElementBlock("div", {
115
+ ref: "root",
116
+ class: normalizeClass(_ctx.rootClasses)
117
+ }, [_ctx.imageSrc ? (openBlock(), createElementBlock("img", {
118
+ key: 0,
119
+ src: _ctx.imageSrc,
120
+ class: normalizeClass(_ctx.imageClasses),
121
+ alt: ""
122
+ }, null, 10 /* CLASS, PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), createElementVNode("div", {
123
+ class: normalizeClass(_ctx.headingClasses)
124
+ }, toDisplayString(_ctx.heading), 3 /* TEXT, CLASS */), _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
125
+ key: 1,
126
+ class: normalizeClass(_ctx.slotClasses)
127
+ }, [createCommentVNode(" @slot Additional content can be inserted via default slot. The slot uses the same font as a `text` prop. "), renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
128
+ class: normalizeClass(_ctx.textClasses)
129
+ }, toDisplayString(_ctx.text), 3 /* TEXT, CLASS */)], 2 /* CLASS */);
130
+ }
131
+
132
+ script.render = render;
133
+ script.__file = "src/components/or-empty-state-v3/OrEmptyState.vue";
134
+
135
+ export { EmptyStateSize as E, script as s };
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-ec8c709d.js';
5
5
  import { s as script$2 } from './OrHint-74bb732d.js';
6
6
  import { s as script$4 } from './OrIconButton-1eebcafc.js';
7
7
  import { s as script$3 } from './OrIcon-b195169c.js';
8
- import { s as script$5, a as InputBoxSize } from './OrInputBox-5247ab25.js';
8
+ import { s as script$5, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
9
9
  import { s as script$6 } from './OrLabel-bdaec602.js';
10
10
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
11
11
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { openBlock, createElementBlock, mergeProps, renderSlot } from 'vue';
3
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
3
  import '@vueuse/core';
4
+ import { openBlock, createElementBlock, mergeProps, renderSlot } from 'vue';
5
5
 
6
6
  var InputBoxVariant;
7
7
  (function (InputBoxVariant) {
@@ -21,11 +21,14 @@ import { s as script$2 } from './OrLabel-bdaec602.js';
21
21
  import { s as script$4 } from './OrMenu-840038cd.js';
22
22
  import './OrPopover-1075dd38.js';
23
23
  import { s as script$3 } from './OrMenuItem-9da279f6.js';
24
- import { Editor, mergeAttributes } from '@tiptap/core';
24
+ import { Node, Editor, mergeAttributes } from '@tiptap/core';
25
25
  import StarterKit from '@tiptap/starter-kit';
26
26
  import Underline from '@tiptap/extension-underline';
27
27
  import Heading from '@tiptap/extension-heading';
28
28
  import Placeholder from '@tiptap/extension-placeholder';
29
+ import { C as CodeMirrorView } from './codemirrorView-8ea431d2.js';
30
+ import { minimalSetup } from 'codemirror';
31
+ import { javascript } from '@codemirror/lang-javascript';
29
32
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, createCommentVNode } from 'vue';
30
33
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
31
34
 
@@ -84,6 +87,7 @@ const serialize = (schema, content) => {
84
87
  return serializer.serialize(proseMirrorDocument);
85
88
  };
86
89
  const deserialize = (schema, content) => {
90
+ if (!content) return null;
87
91
  const html = marked.parse(content);
88
92
  if (!html) return null;
89
93
  const parser = new DOMParser();
@@ -135,6 +139,41 @@ const EditorInput = [
135
139
  // Sizing
136
140
  'min-h-[88px]'];
137
141
 
142
+ var codemirrorNode = Node.create({
143
+ name: 'code_block',
144
+ content: 'text*',
145
+ marks: '',
146
+ group: 'block',
147
+ code: true,
148
+ defining: true,
149
+ isolating: true,
150
+ parseHTML() {
151
+ return [{
152
+ tag: 'pre',
153
+ preserveWhitespace: 'full'
154
+ }];
155
+ },
156
+ renderHTML() {
157
+ return ['pre', ['code', 0]];
158
+ },
159
+ addNodeView() {
160
+ return ({
161
+ node,
162
+ editor,
163
+ getPos
164
+ }) => {
165
+ return new CodeMirrorView({
166
+ node,
167
+ view: editor.view,
168
+ getPos: getPos,
169
+ cmOptions: {
170
+ extensions: [minimalSetup, javascript()]
171
+ }
172
+ });
173
+ };
174
+ }
175
+ });
176
+
138
177
  var script = defineComponent({
139
178
  name: 'OrRichTextEditor',
140
179
  components: {
@@ -245,7 +284,6 @@ var script = defineComponent({
245
284
  editor
246
285
  }) => {
247
286
  if (props.markdownFormat) {
248
- console.log(proxyModelValue.value, 'on crete');
249
287
  const deserialized = deserialize(editor.schema, proxyModelValue.value);
250
288
  editor.commands.setContent(deserialized);
251
289
  } else {
@@ -254,8 +292,9 @@ var script = defineComponent({
254
292
  },
255
293
  element: editorRef.value,
256
294
  autofocus: props.autofocus,
257
- extensions: [StarterKit.configure({
258
- heading: false
295
+ extensions: [codemirrorNode, StarterKit.configure({
296
+ heading: false,
297
+ codeBlock: false
259
298
  }), Heading.configure({
260
299
  levels: headingLevels
261
300
  }).extend({
@@ -297,12 +336,10 @@ var script = defineComponent({
297
336
  const proxyModelValue = computed({
298
337
  get: () => {
299
338
  var _a;
300
- console.log('modelV: ', props.modelValue, 'v: ', props.value);
301
339
  return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
302
340
  },
303
341
 
304
342
  set: value => {
305
- console.log(value, 'set');
306
343
  context.emit('input', value);
307
344
  context.emit('update:modelValue', value);
308
345
  }
@@ -329,7 +366,15 @@ var script = defineComponent({
329
366
  } else if (item === 'blockquote') {
330
367
  editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleBlockquote().run();
331
368
  } else if (item === 'codeBlock') {
332
- editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleCodeBlock().run();
369
+ if (!isActive.value['codeBlock']) {
370
+ // isActive.value['codeBlock'] = true;
371
+ editor === null || editor === void 0 ? void 0 : editor.commands.setNode('code_block', {
372
+ language: 'javascript'
373
+ });
374
+ } else {
375
+ // isActive.value['codeBlock'] = false;
376
+ editor === null || editor === void 0 ? void 0 : editor.commands.setNode('paragraph');
377
+ }
333
378
  } else if (item === 'heading') {
334
379
  if (!level) {
335
380
  editor === null || editor === void 0 ? void 0 : editor.commands.toggleHeading({
@@ -370,7 +415,11 @@ var script = defineComponent({
370
415
  const setActiveFormats = () => {
371
416
  const toolbarList = props.toolbar.flat();
372
417
  toolbarList.forEach(item => {
373
- isActive.value[item] = (editor === null || editor === void 0 ? void 0 : editor.isActive(item)) || false;
418
+ if (item === 'codeBlock') {
419
+ isActive.value[item] = (editor === null || editor === void 0 ? void 0 : editor.isActive('code_block')) || false;
420
+ } else {
421
+ isActive.value[item] = (editor === null || editor === void 0 ? void 0 : editor.isActive(item)) || false;
422
+ }
374
423
  });
375
424
  };
376
425
  // Styles
@@ -399,7 +448,6 @@ var script = defineComponent({
399
448
  };
400
449
  //Effects
401
450
  watch(proxyModelValue, value => {
402
- console.log(value, 'watch');
403
451
  if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
404
452
  editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
405
453
  }
@@ -516,7 +564,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
516
564
  }, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
517
565
  }
518
566
 
519
- var css_248z = ".tiptap-editor ol {\n margin: 0 24px;\n list-style: decimal;\n}\n.tiptap-editor ul {\n margin: 0 24px;\n list-style: initial;\n}\n.tiptap-editor pre {\n background-color: rgba(186, 209, 236, 0.3);\n padding: 4px 8px;\n margin: 4px 0;\n width: 100%;\n border-radius: 4px;\n}\n.tiptap-editor blockquote {\n margin: 8px 24px;\n padding: 0 24px;\n border-left: 4px solid #bad1ec;\n}\n.tiptap-editor .is-editor-empty::before {\n content: attr(data-placeholder);\n height: 0;\n pointer-events: none;\n float: left;\n}";
567
+ var css_248z = ".tiptap-editor ol {\n margin: 0 24px;\n list-style: decimal;\n}\n.tiptap-editor ul {\n margin: 0 24px;\n list-style: initial;\n}\n.tiptap-editor pre {\n background-color: rgba(186, 209, 236, 0.3);\n padding: 4px 8px;\n margin: 4px 0;\n width: 100%;\n border-radius: 4px;\n}\n.tiptap-editor blockquote {\n margin: 8px 24px;\n padding: 0 24px;\n border-left: 4px solid #bad1ec;\n}\n.tiptap-editor .is-editor-empty::before {\n content: attr(data-placeholder);\n height: 0;\n pointer-events: none;\n float: left;\n}\n.tiptap-editor .cm-editor {\n border: solid 1px #838990;\n border-radius: 4px;\n}\n.tiptap-editor .cm-editor.cm-focused {\n outline: none;\n}\n.tiptap-editor .cm-editor .cm-line:hover {\n background-color: rgba(0, 95, 177, 0.08);\n}";
520
568
  styleInject(css_248z);
521
569
 
522
570
  script.render = render;
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
4
  import { s as script$1 } from './OrInput-41691fb3.js';
5
- import { a as InputBoxSize } from './OrInputBox-5247ab25.js';
5
+ import { a as InputBoxSize } from './OrInputBox-6d1b6059.js';
6
6
  import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
7
7
 
8
8
  var script = defineComponent({
@@ -12,13 +12,18 @@ var script = defineComponent({
12
12
  },
13
13
  inheritAttrs: false,
14
14
  props: {
15
+ modelValue: {
16
+ type: String,
17
+ default: '',
18
+ required: false
19
+ },
15
20
  size: {
16
21
  type: String,
17
22
  default: InputBoxSize.M
18
23
  },
19
24
  placeholder: {
20
25
  type: String,
21
- default: undefined
26
+ default: 'Search'
22
27
  },
23
28
  debounce: {
24
29
  type: Number,
@@ -36,13 +41,14 @@ var script = defineComponent({
36
41
  emits: ['search', 'input', 'keydown', 'keyup', 'focus', 'blur', 'clear'],
37
42
  expose: ['root', 'focus', 'clear'],
38
43
  setup(props, context) {
44
+ var _a;
39
45
  // Refs
40
46
  const root = ref();
41
47
  // Styles
42
48
  const classAttribute = useClassAttribute();
43
49
  const rootStyles = computed(() => ['or-search', classAttribute.value]);
44
50
  // State
45
- const localModelValue = ref('');
51
+ const localModelValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
46
52
  // Events
47
53
  debouncedWatch(localModelValue, () => context.emit('search', localModelValue.value), {
48
54
  debounce: props.debounce
@@ -8,7 +8,7 @@ import { s as script$2 } from './OrError-ec8c709d.js';
8
8
  import { s as script$3 } from './OrExpansionPanel-311e64cf.js';
9
9
  import { s as script$4 } from './OrHint-74bb732d.js';
10
10
  import { s as script$5 } from './OrIcon-b195169c.js';
11
- import { s as script$7, a as InputBoxSize } from './OrInputBox-5247ab25.js';
11
+ import { s as script$7, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
12
12
  import { s as script$6 } from './OrInput-41691fb3.js';
13
13
  import { s as script$8 } from './OrLabel-bdaec602.js';
14
14
  import { s as script$9 } from './OrMenuItem-9da279f6.js';
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrError-ec8c709d.js';
5
5
  import { s as script$2 } from './OrHint-74bb732d.js';
6
- import { s as script$3, a as InputBoxSize } from './OrInputBox-5247ab25.js';
6
+ import { s as script$3, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
7
7
  import { s as script$4 } from './OrLabel-bdaec602.js';
8
8
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -0,0 +1,184 @@
1
+ import { TextSelection, Selection } from 'prosemirror-state';
2
+ import { exitCode } from 'prosemirror-commands';
3
+ import { EditorState } from '@codemirror/state';
4
+ import { EditorView, keymap } from '@codemirror/view';
5
+
6
+ const computeChange = (oldVal, newVal) => {
7
+ if (oldVal === newVal) {
8
+ return null;
9
+ }
10
+ let start = 0;
11
+ let oldEnd = oldVal.length;
12
+ let newEnd = newVal.length;
13
+ while (start < oldEnd && oldVal.charCodeAt(start) === newVal.charCodeAt(start)) {
14
+ start += 1;
15
+ }
16
+ while (oldEnd > start && newEnd > start && oldVal.charCodeAt(oldEnd - 1) === newVal.charCodeAt(newEnd - 1)) {
17
+ oldEnd -= 1;
18
+ newEnd -= 1;
19
+ }
20
+ return {
21
+ from: start,
22
+ to: oldEnd,
23
+ text: newVal.slice(start, newEnd)
24
+ };
25
+ };
26
+ class CodeMirrorView {
27
+ constructor(options) {
28
+ var _a;
29
+ this.updating = false;
30
+ // Store for later
31
+ this.node = options.node;
32
+ this.view = options.view;
33
+ const cmExtensions = ((_a = options.cmOptions) === null || _a === void 0 ? void 0 : _a.extensions) || [];
34
+ this.name = 'codeBlock', this.getPos = options.getPos;
35
+ const changeFilter = EditorState.changeFilter.of(tr => {
36
+ if (!tr.docChanged && !this.updating) {
37
+ this.forwardSelection();
38
+ }
39
+ return true;
40
+ });
41
+ // Create a CodeMirror instancew
42
+ this.cm = new EditorView({
43
+ dispatch: this.dispatch.bind(this)
44
+ });
45
+ // The editor's outer node is our DOM representation
46
+ this.dom = this.cm.dom;
47
+ const cmState = EditorState.create({
48
+ doc: this.node.textContent,
49
+ extensions: [changeFilter, keymap.of([{
50
+ key: 'ArrowUp',
51
+ run: this.mayBeEscape('line', -1)
52
+ }, {
53
+ key: 'ArrowLeft',
54
+ run: this.mayBeEscape('char', -1)
55
+ }, {
56
+ key: 'ArrowDown',
57
+ run: this.mayBeEscape('line', 1)
58
+ }, {
59
+ key: 'ArrowRight',
60
+ run: this.mayBeEscape('char', 1)
61
+ }, {
62
+ key: 'Ctrl-Enter',
63
+ run: () => {
64
+ if (exitCode(this.view.state, this.view.dispatch)) {
65
+ this.view.focus();
66
+ return true;
67
+ }
68
+ return false;
69
+ }
70
+ }]), cmExtensions]
71
+ });
72
+ this.cm.setState(cmState);
73
+ }
74
+ forwardSelection() {
75
+ if (!this.cm.hasFocus) {
76
+ return;
77
+ }
78
+ const {
79
+ state
80
+ } = this.view;
81
+ const selection = this.asProseMirrorSelection(state.doc);
82
+ if (!selection.eq(state.selection)) {
83
+ this.view.dispatch(state.tr.setSelection(selection));
84
+ }
85
+ }
86
+ asProseMirrorSelection(doc) {
87
+ const offset = this.getPos() + 1;
88
+ const {
89
+ anchor,
90
+ head
91
+ } = this.cm.state.selection.main;
92
+ return TextSelection.create(doc, anchor + offset, head + offset);
93
+ }
94
+ dispatch(cmTr) {
95
+ this.cm.setState(cmTr.state);
96
+ if (cmTr.docChanged && !this.updating) {
97
+ const start = this.getPos() + 1;
98
+ const cmValue = cmTr.state.doc.toString();
99
+ const change = computeChange(this.node.textContent, cmValue);
100
+ if (!change) {
101
+ return;
102
+ }
103
+ const content = change.text ? this.view.state.schema.text(change.text) : null;
104
+ const tr = this.view.state.tr.replaceWith(change.from + start, change.to + start, content);
105
+ this.view.dispatch(tr);
106
+ this.forwardSelection();
107
+ }
108
+ }
109
+ mayBeEscape(unit, dir) {
110
+ return view => {
111
+ const {
112
+ state
113
+ } = view;
114
+ const {
115
+ selection
116
+ } = state;
117
+ const offsetToPos = () => {
118
+ const offset = selection.main.from;
119
+ const line = state.doc.lineAt(offset);
120
+ return {
121
+ line: line.number,
122
+ ch: offset - line.from
123
+ };
124
+ };
125
+ const pos = offsetToPos();
126
+ const hasSelection = state.selection.ranges.some(r => !r.empty);
127
+ const firstLine = 1;
128
+ const lastLine = state.doc.lineAt(state.doc.length).number;
129
+ if (hasSelection || pos.line !== (dir < 0 ? firstLine : lastLine) || unit === 'char' && pos.ch !== (dir < 0 ? 0 : state.doc.line(pos.line).length)) {
130
+ return false;
131
+ }
132
+ const targetPos = this.getPos() + (dir < 0 ? 0 : this.node.nodeSize);
133
+ const pmSelection = Selection.near(this.view.state.doc.resolve(targetPos), dir);
134
+ this.view.dispatch(this.view.state.tr.setSelection(pmSelection).scrollIntoView());
135
+ this.view.focus();
136
+ return true;
137
+ };
138
+ }
139
+ update(node) {
140
+ if (node.type !== this.node.type) {
141
+ return false;
142
+ }
143
+ this.node = node;
144
+ const change = computeChange(this.cm.state.doc.toString(), node.textContent);
145
+ if (change) {
146
+ this.updating = true;
147
+ this.cm.dispatch({
148
+ changes: {
149
+ from: change.from,
150
+ to: change.to,
151
+ insert: change.text
152
+ }
153
+ });
154
+ this.updating = false;
155
+ }
156
+ return true;
157
+ }
158
+ setSelection(anchor, head) {
159
+ this.focus();
160
+ this.updating = true;
161
+ this.cm.dispatch({
162
+ selection: {
163
+ anchor,
164
+ head
165
+ }
166
+ });
167
+ this.updating = false;
168
+ }
169
+ focus() {
170
+ this.cm.focus();
171
+ this.forwardSelection();
172
+ }
173
+ selectNode() {
174
+ this.focus();
175
+ }
176
+ stopEvent() {
177
+ return true;
178
+ }
179
+ destroy() {
180
+ this.cm.destroy();
181
+ }
182
+ }
183
+
184
+ export { CodeMirrorView as C };
@@ -21,6 +21,7 @@ export * from './or-date-time-picker';
21
21
  export * from './or-error';
22
22
  export * from './or-error-tag-v3';
23
23
  export * from './or-error-v3';
24
+ export * from './or-empty-state-v3';
24
25
  export * from './or-expansion-panel-v3';
25
26
  export * from './or-fab-v3';
26
27
  export * from './or-floating';
@@ -1,26 +1,27 @@
1
1
  export { O as OR_AVATAR_SIZE, s as OrAvatar } from '../OrAvatar-2808a314.js';
2
- export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-ef88d31c.js';
2
+ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-53a4429d.js';
3
3
  export { s as OrBottomSheetV3 } from '../OrBottomSheet-62817aec.js';
4
4
  export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from '../OrButton-fca9019a.js';
5
5
  export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from '../OrIconButton-8be9c89f.js';
6
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-f4b9ee51.js';
6
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-bb6bf8a9.js';
7
7
  export { s as OrCard } from '../OrCard-e3a5aea4.js';
8
8
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
9
- export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection-5a0febaf.js';
9
+ export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-2a6514f3.js';
10
10
  export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
12
12
  export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
13
13
  export { s as OrCheckboxV3 } from '../OrCheckbox-3e139eac.js';
14
14
  export { s as OrChip, a as OrChips } from '../OrChips-9afba42f.js';
15
- export { s as OrCode, O as OrCodeLanguages } from '../OrCode-ee19a5e6.js';
15
+ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
16
16
  export { s as OrCollapse } from '../OrCollapse-445141ab.js';
17
17
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-189cb097.js';
18
18
  export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
19
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-906427ef.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-5d56cbd3.js';
20
20
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
21
21
  export { s as OrError } from '../OrError-f90296db.js';
22
22
  export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
23
23
  export { s as OrErrorV3 } from '../OrError-ec8c709d.js';
24
+ export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-bb8e3145.js';
24
25
  export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-311e64cf.js';
25
26
  export { F as FabColor, s as OrFabV3 } from '../OrFab-c8ae6e01.js';
26
27
  export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-5240e758.js';
@@ -33,7 +34,7 @@ export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3
33
34
  export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-31026cd0.js';
34
35
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
35
36
  export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-b28c3d8c.js';
36
- export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-5247ab25.js';
37
+ export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-6d1b6059.js';
37
38
  export { I as InputType, s as OrInputV3 } from '../OrInput-41691fb3.js';
38
39
  export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from '../OrSearch-7cb2c91c.js';
39
40
  export { s as OrLabel } from '../OrLabel-876f8729.js';
@@ -58,7 +59,7 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
58
59
  export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
59
60
  export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
60
61
  export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
61
- export { s as OrSearchV3 } from '../OrSearch-cdde55ce.js';
62
+ export { s as OrSearchV3 } from '../OrSearch-e5a2e93e.js';
62
63
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
63
64
  export { s as OrSelect } from '../OrSelect-0821b907.js';
64
65
  export { s as OrSelectV3 } from '../OrSelect-7e813982.js';
@@ -89,7 +90,7 @@ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
89
90
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
90
91
  export { s as OrTooltip, a as OrTooltipContent } from '../OrTooltip-78cd7f6b.js';
91
92
  export { s as OrTooltipV3 } from '../OrTooltip-50d27b4f.js';
92
- export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-b2e87342.js';
93
+ export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-f1271eb6.js';
93
94
  import 'vue-demi';
94
95
  import 'lodash';
95
96
  import 'vue';
@@ -99,6 +100,8 @@ import '@vueuse/core';
99
100
  import '../color-1f348774.js';
100
101
  import '@splidejs/splide';
101
102
  import '@codemirror/state';
103
+ import '@codemirror/view';
104
+ import '@codemirror/commands';
102
105
  import 'codemirror';
103
106
  import '@codemirror/lang-html';
104
107
  import '@codemirror/lang-css';
@@ -137,3 +140,6 @@ import '@tiptap/starter-kit';
137
140
  import '@tiptap/extension-underline';
138
141
  import '@tiptap/extension-heading';
139
142
  import '@tiptap/extension-placeholder';
143
+ import '../codemirrorView-8ea431d2.js';
144
+ import 'prosemirror-state';
145
+ import 'prosemirror-commands';
@@ -20,7 +20,7 @@ export declare const WithTextInSlot: StoryFn<import("vue").ComponentOptions<impo
20
20
  } | string[], {} & {}, {
21
21
  [x: number]: string;
22
22
  } | {}, true>)>;
23
- export declare const WithIconInSlot: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
23
+ export declare const WithIcon: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
24
24
  [x: string]: ((...args: any[]) => any) | null;
25
25
  } | string[], {} & {}, {
26
26
  [x: number]: string;