@onereach/ui-components 2.68.0-beta.1987.0 → 2.68.0-beta.2002.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 (233) hide show
  1. package/dist/bundled/v2/{OrBottomSheet-04956f50.js → OrBottomSheet-7b5760dc.js} +1 -1
  2. package/dist/bundled/v2/{OrCardCollection-852db65c.js → OrCardCollection-95b8a8e0.js} +2 -2
  3. package/dist/bundled/v2/{OrCode-edc7a1f5.js → OrCode-0cd991a1.js} +1 -114
  4. package/dist/bundled/v2/{OrConfirm-c3736a7e.js → OrConfirm-22c7622d.js} +15 -2
  5. package/dist/bundled/v2/{OrIconButton-a046f34f.js → OrIconButton-2bf36347.js} +1 -1
  6. package/dist/bundled/v2/{OrInlineInput-fb1e1272.js → OrInlineInput-36077390.js} +1 -1
  7. package/dist/bundled/v2/{OrInlineTextarea-c6a26156.js → OrInlineTextarea-17b16ca8.js} +1 -1
  8. package/dist/bundled/v2/{OrInput-2e2c8270.js → OrInput-95fc5b53.js} +1 -1
  9. package/dist/bundled/v2/{OrMenu-e8c5d2e7.js → OrMenu-5ac06751.js} +1 -1
  10. package/dist/bundled/v2/{OrModal-de2364b3.js → OrModal-387348ca.js} +15 -2
  11. package/dist/bundled/v2/{OrNotification-ddef2348.js → OrNotification-1fa0b14e.js} +1 -1
  12. package/dist/bundled/v2/{OrOverlay-57ce6c73.js → OrOverlay-3c89d622.js} +1 -1
  13. package/dist/bundled/v2/{OrPopover-7a6c1cd4.js → OrPopover-2f48b854.js} +2 -2
  14. package/dist/bundled/v2/OrRichTextEditor-898d67d5.js +36828 -0
  15. package/dist/bundled/v2/{OrSearch-691ecd1a.js → OrSearch-43daeb79.js} +1 -1
  16. package/dist/bundled/v2/{OrSelect-b3c60dbc.js → OrSelect-dff64667.js} +3 -3
  17. package/dist/bundled/v2/{OrTabs-edd7cde4.js → OrTabs-2d4e0d87.js} +1 -1
  18. package/dist/bundled/v2/{OrTag-76a86a27.js → OrTag-bc654163.js} +1 -1
  19. package/dist/bundled/v2/{OrTooltip-e97b3f3c.js → OrTooltip-d1764f37.js} +1 -1
  20. package/dist/bundled/v2/components/index.d.ts +1 -0
  21. package/dist/bundled/v2/components/index.js +23 -20
  22. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +3 -3
  23. package/dist/bundled/v2/components/or-card-collection-v3/index.js +8 -8
  24. package/dist/bundled/v2/components/or-code/index.js +2 -1
  25. package/dist/bundled/v2/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  26. package/dist/bundled/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +11 -0
  27. package/dist/bundled/v2/components/or-confirm-v3/index.js +8 -8
  28. package/dist/bundled/v2/components/or-icon-button-v3/index.js +6 -6
  29. package/dist/bundled/v2/components/or-inline-input-v3/index.js +7 -7
  30. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +7 -7
  31. package/dist/bundled/v2/components/or-input-v3/index.js +7 -7
  32. package/dist/bundled/v2/components/or-menu-v3/index.js +5 -5
  33. package/dist/bundled/v2/components/or-modal-v3/OrModal.stories3.d.ts +10 -0
  34. package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  35. package/dist/bundled/v2/components/or-modal-v3/index.js +7 -7
  36. package/dist/bundled/v2/components/or-notification-v3/index.js +7 -7
  37. package/dist/bundled/v2/components/or-overlay-v3/index.js +2 -2
  38. package/dist/bundled/v2/components/or-popover-v3/index.js +4 -4
  39. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
  40. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
  41. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
  42. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +24 -0
  43. package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
  44. package/dist/bundled/v2/components/or-search-v3/index.js +8 -8
  45. package/dist/bundled/v2/components/or-select-v3/index.js +9 -9
  46. package/dist/bundled/v2/components/or-tabs-v3/index.js +6 -6
  47. package/dist/bundled/v2/components/or-tag-v3/index.js +7 -7
  48. package/dist/bundled/v2/components/or-toast-v3/index.js +7 -7
  49. package/dist/bundled/v2/components/or-tooltip-v3/index.js +5 -5
  50. package/dist/bundled/v2/hooks/index.js +1 -1
  51. package/dist/bundled/v2/index.es-3f39f316.js +115 -0
  52. package/dist/bundled/v2/index.js +24 -21
  53. package/dist/bundled/v2/{types-9c0f214b.js → types-4c07bc42.js} +1 -1
  54. package/dist/bundled/v2/{useElevation-604d48c6.js → useElevation-aac032f4.js} +5 -1
  55. package/dist/bundled/v2/utils/isVisible.d.ts +2 -0
  56. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-9b8931d3.js → OrBottomSheet.vue_vue_type_script_lang-44d8147a.js} +1 -1
  57. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-955758d3.js → OrCardCollection.vue_vue_type_script_lang-412c8977.js} +4 -4
  58. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ef5e7f04.js → OrCode.vue_vue_type_script_lang-6c5f94a6.js} +1 -114
  59. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e59a7aca.js → OrConfirm.vue_vue_type_script_lang-20ffe5df.js} +17 -4
  60. package/dist/bundled/v3/{OrIconButton-c521fef8.js → OrIconButton-00ab6c2d.js} +1 -1
  61. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-a834417f.js → OrIconButton.vue_vue_type_script_lang-b35040f9.js} +1 -1
  62. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-c2a171bb.js → OrInlineInput.vue_vue_type_script_lang-e29642fc.js} +2 -2
  63. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-76f1a0ee.js → OrInlineTextarea.vue_vue_type_script_lang-551028ef.js} +2 -2
  64. package/dist/bundled/v3/{OrInput-42bbab4d.js → OrInput-4b4b8316.js} +1 -1
  65. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d85ed216.js → OrInput.vue_vue_type_script_lang-b4176d70.js} +2 -2
  66. package/dist/bundled/v3/OrMenu-08aa60de.js +29 -0
  67. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-be8c502d.js → OrMenu.vue_vue_type_script_lang-bae45062.js} +2 -2
  68. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-1ad15097.js → OrModal.vue_vue_type_script_lang-f3f5a84b.js} +17 -4
  69. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3f69b727.js → OrNotification.vue_vue_type_script_lang-83bfbfc4.js} +2 -2
  70. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-4551114e.js → OrOverlay.vue_vue_type_script_lang-cb3aad0c.js} +1 -1
  71. package/dist/bundled/v3/{OrPopover-18a195aa.js → OrPopover-93ef8c26.js} +1 -1
  72. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-1ed6063d.js → OrPopover.vue_vue_type_script_lang-e200f5be.js} +3 -3
  73. package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-2e607f79.js +36708 -0
  74. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-d7c29ff6.js → OrSearch.vue_vue_type_script_lang-00db292e.js} +2 -2
  75. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-12ad06b5.js → OrSelect.vue_vue_type_script_lang-d7449846.js} +5 -5
  76. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ec81a576.js → OrTabs.vue_vue_type_script_lang-2fdbd2f2.js} +10 -36
  77. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-d7e117c8.js → OrTag.vue_vue_type_script_lang-6be84bb9.js} +2 -2
  78. package/dist/bundled/v3/{OrToastContainer-1c3ccf65.js → OrToastContainer-c09c94da.js} +1 -1
  79. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-d89a9e51.js → OrTooltip.vue_vue_type_script_lang-a4168546.js} +2 -2
  80. package/dist/bundled/v3/components/index.d.ts +1 -0
  81. package/dist/bundled/v3/components/index.js +27 -23
  82. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +3 -3
  83. package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -11
  84. package/dist/bundled/v3/components/or-code/index.js +2 -1
  85. package/dist/bundled/v3/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  86. package/dist/bundled/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +11 -0
  87. package/dist/bundled/v3/components/or-confirm-v3/index.js +11 -11
  88. package/dist/bundled/v3/components/or-icon-button-v3/index.js +7 -7
  89. package/dist/bundled/v3/components/or-inline-input-v3/index.js +9 -9
  90. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +9 -9
  91. package/dist/bundled/v3/components/or-input-v3/index.js +9 -9
  92. package/dist/bundled/v3/components/or-menu-v3/index.js +6 -6
  93. package/dist/bundled/v3/components/or-modal-v3/OrModal.stories3.d.ts +10 -0
  94. package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  95. package/dist/bundled/v3/components/or-modal-v3/index.js +9 -9
  96. package/dist/bundled/v3/components/or-notification-v3/index.js +9 -9
  97. package/dist/bundled/v3/components/or-overlay-v3/index.js +2 -2
  98. package/dist/bundled/v3/components/or-popover-v3/index.js +4 -4
  99. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
  100. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
  101. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
  102. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +25 -0
  103. package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
  104. package/dist/bundled/v3/components/or-search-v3/index.js +11 -11
  105. package/dist/bundled/v3/components/or-select-v3/index.js +12 -12
  106. package/dist/bundled/v3/components/or-tabs-v3/index.js +8 -7
  107. package/dist/bundled/v3/components/or-tag-v3/index.js +9 -9
  108. package/dist/bundled/v3/components/or-toast-v3/index.js +10 -10
  109. package/dist/bundled/v3/components/or-tooltip-v3/index.js +6 -6
  110. package/dist/bundled/v3/hooks/index.js +1 -1
  111. package/dist/bundled/v3/index.es-3f39f316.js +115 -0
  112. package/dist/bundled/v3/index.js +303 -208
  113. package/dist/bundled/v3/{types-577637c4.js → types-bc0d88d7.js} +3 -3
  114. package/dist/bundled/v3/{useElevation-6aea372d.js → useElevation-c8d5d3ba.js} +5 -1
  115. package/dist/bundled/v3/utils/isVisible.d.ts +2 -0
  116. package/dist/esm/v2/{OrBottomSheet-f09adbbb.js → OrBottomSheet-5acd034f.js} +1 -1
  117. package/dist/esm/v2/{OrCardCollection-a3ddee38.js → OrCardCollection-799ab8bd.js} +2 -2
  118. package/dist/esm/v2/{OrConfirm-def2218a.js → OrConfirm-367ac968.js} +15 -2
  119. package/dist/esm/v2/{OrIconButton-bc8a8b2e.js → OrIconButton-a7764de4.js} +2 -2
  120. package/dist/esm/v2/{OrInlineInput-5c99926f.js → OrInlineInput-00fbe0a7.js} +1 -1
  121. package/dist/esm/v2/{OrInlineTextarea-a67f2376.js → OrInlineTextarea-b4740a94.js} +1 -1
  122. package/dist/esm/v2/{OrInput-b0619ac3.js → OrInput-946ef514.js} +1 -1
  123. package/dist/esm/v2/{OrMenu-8ca8233e.js → OrMenu-e7210edc.js} +1 -1
  124. package/dist/esm/v2/{OrModal-96fa7ba5.js → OrModal-5c92cdc8.js} +15 -2
  125. package/dist/esm/v2/{OrNotification-23f97c3d.js → OrNotification-9862ce5f.js} +1 -1
  126. package/dist/esm/v2/{OrOverlay-4838a9b0.js → OrOverlay-18ba2dc6.js} +1 -1
  127. package/dist/esm/v2/{OrPopover-ba3ddf1a.js → OrPopover-ef8c91f1.js} +2 -2
  128. package/dist/esm/v2/OrRichTextEditor-6bc37dc4.js +516 -0
  129. package/dist/esm/v2/{OrSearch-37e43e3e.js → OrSearch-18bf00f3.js} +1 -1
  130. package/dist/esm/v2/{OrSelect-8bdaac4f.js → OrSelect-858c2f46.js} +3 -3
  131. package/dist/esm/v2/{OrTabs-0d8ffa3d.js → OrTabs-c64be432.js} +2 -2
  132. package/dist/esm/v2/{OrTag-f02ededa.js → OrTag-23631e25.js} +1 -1
  133. package/dist/esm/v2/{OrTooltip-2d423c46.js → OrTooltip-3454c2e6.js} +1 -1
  134. package/dist/esm/v2/components/index.d.ts +1 -0
  135. package/dist/esm/v2/components/index.js +38 -19
  136. package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -3
  137. package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -8
  138. package/dist/esm/v2/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  139. package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +11 -0
  140. package/dist/esm/v2/components/or-confirm-v3/index.js +8 -8
  141. package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -6
  142. package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -7
  143. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -7
  144. package/dist/esm/v2/components/or-input-v3/index.js +7 -7
  145. package/dist/esm/v2/components/or-menu-v3/index.js +5 -5
  146. package/dist/esm/v2/components/or-modal-v3/OrModal.stories3.d.ts +10 -0
  147. package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  148. package/dist/esm/v2/components/or-modal-v3/index.js +7 -7
  149. package/dist/esm/v2/components/or-notification-v3/index.js +7 -7
  150. package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
  151. package/dist/esm/v2/components/or-popover-v3/index.js +4 -4
  152. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
  153. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
  154. package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
  155. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +38 -0
  156. package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
  157. package/dist/esm/v2/components/or-search-v3/index.js +8 -8
  158. package/dist/esm/v2/components/or-select-v3/index.js +9 -9
  159. package/dist/esm/v2/components/or-tabs-v3/index.js +6 -6
  160. package/dist/esm/v2/components/or-tag-v3/index.js +7 -7
  161. package/dist/esm/v2/components/or-toast-v3/index.js +7 -7
  162. package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -5
  163. package/dist/esm/v2/hooks/index.js +1 -1
  164. package/dist/esm/v2/index.js +38 -19
  165. package/dist/esm/v2/{types-d3101ac7.js → types-e2beb2b6.js} +1 -1
  166. package/dist/esm/{v3/useElevation-0e973238.js → v2/useElevation-31bfe1f6.js} +5 -1
  167. package/dist/esm/v2/utils/isVisible.d.ts +2 -0
  168. package/dist/esm/v3/{OrBottomSheet-9de57dd0.js → OrBottomSheet-0eb33b18.js} +1 -1
  169. package/dist/esm/v3/{OrCardCollection-1e3b3360.js → OrCardCollection-2d34eaaf.js} +2 -2
  170. package/dist/esm/v3/{OrConfirm-6645a8c2.js → OrConfirm-e6735cc8.js} +15 -2
  171. package/dist/esm/v3/{OrIconButton-6c0732ac.js → OrIconButton-85abafab.js} +2 -2
  172. package/dist/esm/v3/{OrInlineInput-4cd64402.js → OrInlineInput-299e2275.js} +1 -1
  173. package/dist/esm/v3/{OrInlineTextarea-93f80904.js → OrInlineTextarea-40ee5ffb.js} +1 -1
  174. package/dist/esm/v3/{OrInput-69f8dce1.js → OrInput-4f55c0eb.js} +1 -1
  175. package/dist/esm/v3/{OrMenu-00f7c4a8.js → OrMenu-d9e12030.js} +1 -1
  176. package/dist/esm/v3/{OrModal-88c56141.js → OrModal-420174c4.js} +15 -2
  177. package/dist/esm/v3/{OrNotification-d3d6f51d.js → OrNotification-54394fc8.js} +1 -1
  178. package/dist/esm/v3/{OrOverlay-27050c19.js → OrOverlay-738a44d5.js} +1 -1
  179. package/dist/esm/v3/{OrPopover-67000227.js → OrPopover-94a8f21d.js} +2 -2
  180. package/dist/esm/v3/OrRichTextEditor-a5d38e89.js +486 -0
  181. package/dist/esm/v3/{OrSearch-1b68ba58.js → OrSearch-d74891a5.js} +1 -1
  182. package/dist/esm/v3/{OrSelect-1fa435c6.js → OrSelect-b3a233cc.js} +3 -3
  183. package/dist/esm/v3/{OrTabs-a0590a70.js → OrTabs-6a8fa516.js} +2 -2
  184. package/dist/esm/v3/{OrTag-1202497c.js → OrTag-6c3717e0.js} +1 -1
  185. package/dist/esm/v3/{OrTooltip-32048f0e.js → OrTooltip-1500a1cd.js} +1 -1
  186. package/dist/esm/v3/components/index.d.ts +1 -0
  187. package/dist/esm/v3/components/index.js +38 -19
  188. package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -3
  189. package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -8
  190. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  191. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +11 -0
  192. package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
  193. package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -6
  194. package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -7
  195. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -7
  196. package/dist/esm/v3/components/or-input-v3/index.js +7 -7
  197. package/dist/esm/v3/components/or-menu-v3/index.js +5 -5
  198. package/dist/esm/v3/components/or-modal-v3/OrModal.stories3.d.ts +10 -0
  199. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  200. package/dist/esm/v3/components/or-modal-v3/index.js +7 -7
  201. package/dist/esm/v3/components/or-notification-v3/index.js +7 -7
  202. package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
  203. package/dist/esm/v3/components/or-popover-v3/index.js +4 -4
  204. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
  205. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
  206. package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
  207. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +37 -0
  208. package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
  209. package/dist/esm/v3/components/or-search-v3/index.js +8 -8
  210. package/dist/esm/v3/components/or-select-v3/index.js +9 -9
  211. package/dist/esm/v3/components/or-tabs-v3/index.js +6 -6
  212. package/dist/esm/v3/components/or-tag-v3/index.js +7 -7
  213. package/dist/esm/v3/components/or-toast-v3/index.js +7 -7
  214. package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -5
  215. package/dist/esm/v3/hooks/index.js +1 -1
  216. package/dist/esm/v3/index.js +38 -19
  217. package/dist/esm/v3/{types-90a49024.js → types-98a852d8.js} +1 -1
  218. package/dist/esm/{v2/useElevation-0e973238.js → v3/useElevation-31bfe1f6.js} +5 -1
  219. package/dist/esm/v3/utils/isVisible.d.ts +2 -0
  220. package/package.json +20 -2
  221. package/src/components/index.ts +1 -0
  222. package/src/components/or-confirm-v3/OrConfirm.stories3.ts +60 -0
  223. package/src/components/or-confirm-v3/OrConfirm.vue +12 -0
  224. package/src/components/or-modal-v3/OrModal.docs.mdx +1 -1
  225. package/src/components/or-modal-v3/OrModal.stories3.ts +137 -0
  226. package/src/components/or-modal-v3/OrModal.vue +12 -0
  227. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +16 -0
  228. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +62 -0
  229. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +520 -0
  230. package/src/components/or-rich-text-editor-v3/index.ts +1 -0
  231. package/src/components/or-rich-text-editor-v3/styles.ts +65 -0
  232. package/src/hooks/useElevation.ts +3 -1
  233. package/src/utils/isVisible.ts +5 -0
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ declare const _default: Meta<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, {
3
+ [x: string]: ((...args: any[]) => any) | null;
4
+ } | string[], {} & {}, {
5
+ [x: number]: string;
6
+ } | {}, true>)>;
7
+ export default _default;
8
+ export declare const RichTextEditor: 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, {
9
+ [x: string]: ((...args: any[]) => any) | null;
10
+ } | string[], {} & {}, {
11
+ [x: number]: string;
12
+ } | {}, true>)>;
@@ -0,0 +1,149 @@
1
+ import { Editor } from '@tiptap/core';
2
+ import { Level } from '@tiptap/extension-heading';
3
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
+ editor: Editor | null;
5
+ editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
6
+ containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
7
+ toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
8
+ [x: string]: ((...args: any[]) => any) | null;
9
+ } | string[], {} & {}, {
10
+ [x: number]: string;
11
+ } | {}, true> | undefined>;
12
+ menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
13
+ [x: string]: ((...args: any[]) => any) | null;
14
+ } | string[], {} & {}, {
15
+ [x: number]: string;
16
+ } | {}, true> | undefined>;
17
+ iconsEnum: import("@vue/composition-api").Ref<{
18
+ [x: string]: string;
19
+ }>;
20
+ handleToolbarClick: (item: string, level?: number | undefined) => void;
21
+ handleEditorClick: () => void;
22
+ isActive: import("@vue/composition-api").Ref<{
23
+ [x: string]: boolean;
24
+ }>;
25
+ iconTooltipsEnum: import("@vue/composition-api").Ref<{
26
+ [x: string]: string;
27
+ }>;
28
+ containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
29
+ toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
30
+ toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
31
+ rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
32
+ toolbarButtonStyles: (item: string) => string[];
33
+ editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
34
+ getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
35
+ headingLevels: Level[];
36
+ headingIcon: import("@vue/composition-api").ComputedRef<string>;
37
+ }> & import("@vue/composition-api").Data, {}, {}, {
38
+ modelValue: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ required: false;
42
+ };
43
+ toolbar: {
44
+ type: ArrayConstructor;
45
+ default: () => string[][];
46
+ };
47
+ description: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ placeholder: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ autofocus: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ markdown: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ }, import("@vue/composition-api").ExtractPropTypes<{
64
+ modelValue: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ required: false;
68
+ };
69
+ toolbar: {
70
+ type: ArrayConstructor;
71
+ default: () => string[][];
72
+ };
73
+ description: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ placeholder: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ autofocus: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ markdown: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
90
+ modelValue: string;
91
+ toolbar: unknown[];
92
+ description: string;
93
+ placeholder: string;
94
+ autofocus: boolean;
95
+ markdown: boolean;
96
+ } & {} & {
97
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
98
+ }, import("@vue/composition-api").ShallowUnwrapRef<{
99
+ editor: Editor | null;
100
+ editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
101
+ containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
102
+ toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
103
+ [x: string]: ((...args: any[]) => any) | null;
104
+ } | string[], {} & {}, {
105
+ [x: number]: string;
106
+ } | {}, true> | undefined>;
107
+ menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
108
+ [x: string]: ((...args: any[]) => any) | null;
109
+ } | string[], {} & {}, {
110
+ [x: number]: string;
111
+ } | {}, true> | undefined>;
112
+ iconsEnum: import("@vue/composition-api").Ref<{
113
+ [x: string]: string;
114
+ }>;
115
+ handleToolbarClick: (item: string, level?: number | undefined) => void;
116
+ handleEditorClick: () => void;
117
+ isActive: import("@vue/composition-api").Ref<{
118
+ [x: string]: boolean;
119
+ }>;
120
+ iconTooltipsEnum: import("@vue/composition-api").Ref<{
121
+ [x: string]: string;
122
+ }>;
123
+ containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
124
+ toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
125
+ toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
126
+ rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
127
+ toolbarButtonStyles: (item: string) => string[];
128
+ editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
129
+ getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
130
+ headingLevels: Level[];
131
+ headingIcon: import("@vue/composition-api").ComputedRef<string>;
132
+ }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
133
+ modelValue: string;
134
+ toolbar: unknown[];
135
+ description: string;
136
+ placeholder: string;
137
+ autofocus: boolean;
138
+ markdown: boolean;
139
+ } & {} & {
140
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
141
+ }, {
142
+ modelValue: string;
143
+ toolbar: unknown[];
144
+ description: string;
145
+ placeholder: string;
146
+ autofocus: boolean;
147
+ markdown: boolean;
148
+ }, true>);
149
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
@@ -0,0 +1,24 @@
1
+ export { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-898d67d5.js';
2
+ import '../../index-fa6eb4ca.js';
3
+ import 'vue';
4
+ import '@vue/composition-api/dist/vue-composition-api.mjs';
5
+ import 'node:punycode';
6
+ import '../../index.es-3f39f316.js';
7
+ import '../../OrIconButton-2bf36347.js';
8
+ import '../../OrIcon-ce8fd08b.js';
9
+ import '../../useClassAttribute-9bf33346.js';
10
+ import '../../normalize-component-6e8e3d80.js';
11
+ import '../../OrTooltip-d1764f37.js';
12
+ import '@vueuse/core';
13
+ import '../../OrPopover-2f48b854.js';
14
+ import '../../floating-ui.dom.esm-83eba816.js';
15
+ import '../../OrBottomSheet-7b5760dc.js';
16
+ import '../../OrOverlay-3c89d622.js';
17
+ import '../../OrTeleport.vue2-e9ba3054.js';
18
+ import 'portal-vue';
19
+ import '../../useElevation-aac032f4.js';
20
+ import '../../useResponsive-e13dfbb0.js';
21
+ import '../../OrLabel-0424be48.js';
22
+ import '../../OrMenuItem-f89dfc77.js';
23
+ import '../../OrMenu-5ac06751.js';
24
+ import '../../browser-82dea9ed.js';
@@ -0,0 +1,6 @@
1
+ export declare const EditorContainer: string[];
2
+ export declare const ToolbarContainer: string[];
3
+ export declare const Toolbar: string[];
4
+ export declare const ToolbarButton: string[];
5
+ export declare const ToolbarButtonActive: string[];
6
+ export declare const EditorInput: string[];
@@ -1,24 +1,24 @@
1
- export { _ as OrSearchV3 } from '../../OrSearch-691ecd1a.js';
1
+ export { _ as OrSearchV3 } from '../../OrSearch-43daeb79.js';
2
2
  export { a as SearchSize } from '../../OrInputBox-7069052f.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
5
5
  import '@vue/composition-api/dist/vue-composition-api.mjs';
6
6
  import '@vueuse/core';
7
- import '../../OrInput-2e2c8270.js';
7
+ import '../../OrInput-95fc5b53.js';
8
8
  import '../../OrError-66257a98.js';
9
9
  import '../../useClassAttribute-9bf33346.js';
10
10
  import '../../normalize-component-6e8e3d80.js';
11
11
  import '../../OrHint-45904683.js';
12
12
  import '../../OrIcon-ce8fd08b.js';
13
- import '../../OrIconButton-a046f34f.js';
14
- import '../../OrTooltip-e97b3f3c.js';
15
- import '../../OrPopover-7a6c1cd4.js';
13
+ import '../../OrIconButton-2bf36347.js';
14
+ import '../../OrTooltip-d1764f37.js';
15
+ import '../../OrPopover-2f48b854.js';
16
16
  import '../../floating-ui.dom.esm-83eba816.js';
17
- import '../../OrBottomSheet-04956f50.js';
18
- import '../../OrOverlay-57ce6c73.js';
17
+ import '../../OrBottomSheet-7b5760dc.js';
18
+ import '../../OrOverlay-3c89d622.js';
19
19
  import '../../OrTeleport.vue2-e9ba3054.js';
20
20
  import 'portal-vue';
21
- import '../../useElevation-604d48c6.js';
21
+ import '../../useElevation-aac032f4.js';
22
22
  import '../../useResponsive-e13dfbb0.js';
23
23
  import '../../OrLabel-0424be48.js';
24
24
  import '../../browser-82dea9ed.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-b3c60dbc.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-dff64667.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-7069052f.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -12,19 +12,19 @@ import '../../OrError-66257a98.js';
12
12
  import '../../OrExpansionPanel-41bbabd3.js';
13
13
  import '../../OrIcon-ce8fd08b.js';
14
14
  import '../../OrHint-45904683.js';
15
- import '../../OrInput-2e2c8270.js';
16
- import '../../OrIconButton-a046f34f.js';
17
- import '../../OrTooltip-e97b3f3c.js';
15
+ import '../../OrInput-95fc5b53.js';
16
+ import '../../OrIconButton-2bf36347.js';
17
+ import '../../OrTooltip-d1764f37.js';
18
18
  import '@vueuse/core';
19
- import '../../OrPopover-7a6c1cd4.js';
19
+ import '../../OrPopover-2f48b854.js';
20
20
  import '../../floating-ui.dom.esm-83eba816.js';
21
- import '../../OrBottomSheet-04956f50.js';
22
- import '../../OrOverlay-57ce6c73.js';
21
+ import '../../OrBottomSheet-7b5760dc.js';
22
+ import '../../OrOverlay-3c89d622.js';
23
23
  import '../../OrTeleport.vue2-e9ba3054.js';
24
24
  import 'portal-vue';
25
- import '../../useElevation-604d48c6.js';
25
+ import '../../useElevation-aac032f4.js';
26
26
  import '../../useResponsive-e13dfbb0.js';
27
27
  import '../../OrMenuItem-f89dfc77.js';
28
- import '../../OrTag-76a86a27.js';
28
+ import '../../OrTag-bc654163.js';
29
29
  import '../../dropdown-open-e2a93aaf.js';
30
30
  import '../../useOverflow-43299d81.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrTabsV3, T as TabsVariant } from '../../OrTabs-edd7cde4.js';
1
+ export { _ as OrTabsV3, T as TabsVariant } from '../../OrTabs-2d4e0d87.js';
2
2
  import '@vueuse/core';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -6,14 +6,14 @@ import '@vue/composition-api/dist/vue-composition-api.mjs';
6
6
  import '../../OrIcon-ce8fd08b.js';
7
7
  import '../../useClassAttribute-9bf33346.js';
8
8
  import '../../normalize-component-6e8e3d80.js';
9
- import '../../OrMenu-e8c5d2e7.js';
10
- import '../../OrPopover-7a6c1cd4.js';
9
+ import '../../OrMenu-5ac06751.js';
10
+ import '../../OrPopover-2f48b854.js';
11
11
  import '../../floating-ui.dom.esm-83eba816.js';
12
- import '../../OrBottomSheet-04956f50.js';
13
- import '../../OrOverlay-57ce6c73.js';
12
+ import '../../OrBottomSheet-7b5760dc.js';
13
+ import '../../OrOverlay-3c89d622.js';
14
14
  import '../../OrTeleport.vue2-e9ba3054.js';
15
15
  import 'portal-vue';
16
- import '../../useElevation-604d48c6.js';
16
+ import '../../useElevation-aac032f4.js';
17
17
  import '../../useResponsive-e13dfbb0.js';
18
18
  import '../../OrMenuItem-f89dfc77.js';
19
19
  import '../../OrTab-8bac95cf.js';
@@ -1,18 +1,18 @@
1
- export { O as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-76a86a27.js';
1
+ export { O as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-bc654163.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
5
- import '../../OrIconButton-a046f34f.js';
5
+ import '../../OrIconButton-2bf36347.js';
6
6
  import '../../OrIcon-ce8fd08b.js';
7
7
  import '../../useClassAttribute-9bf33346.js';
8
8
  import '../../normalize-component-6e8e3d80.js';
9
- import '../../OrTooltip-e97b3f3c.js';
9
+ import '../../OrTooltip-d1764f37.js';
10
10
  import '@vueuse/core';
11
- import '../../OrPopover-7a6c1cd4.js';
11
+ import '../../OrPopover-2f48b854.js';
12
12
  import '../../floating-ui.dom.esm-83eba816.js';
13
- import '../../OrBottomSheet-04956f50.js';
14
- import '../../OrOverlay-57ce6c73.js';
13
+ import '../../OrBottomSheet-7b5760dc.js';
14
+ import '../../OrOverlay-3c89d622.js';
15
15
  import '../../OrTeleport.vue2-e9ba3054.js';
16
16
  import 'portal-vue';
17
- import '../../useElevation-604d48c6.js';
17
+ import '../../useElevation-aac032f4.js';
18
18
  import '../../useResponsive-e13dfbb0.js';
@@ -1,21 +1,21 @@
1
- export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../../types-9c0f214b.js';
1
+ export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../../types-4c07bc42.js';
2
2
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-3a3d4280.js';
3
3
  import '@vueuse/core';
4
4
  import '../../index-fa6eb4ca.js';
5
5
  import 'vue';
6
6
  import '@vue/composition-api/dist/vue-composition-api.mjs';
7
- import '../../OrIconButton-a046f34f.js';
7
+ import '../../OrIconButton-2bf36347.js';
8
8
  import '../../OrIcon-ce8fd08b.js';
9
9
  import '../../useClassAttribute-9bf33346.js';
10
10
  import '../../normalize-component-6e8e3d80.js';
11
- import '../../OrTooltip-e97b3f3c.js';
12
- import '../../OrPopover-7a6c1cd4.js';
11
+ import '../../OrTooltip-d1764f37.js';
12
+ import '../../OrPopover-2f48b854.js';
13
13
  import '../../floating-ui.dom.esm-83eba816.js';
14
- import '../../OrBottomSheet-04956f50.js';
15
- import '../../OrOverlay-57ce6c73.js';
14
+ import '../../OrBottomSheet-7b5760dc.js';
15
+ import '../../OrOverlay-3c89d622.js';
16
16
  import '../../OrTeleport.vue2-e9ba3054.js';
17
17
  import 'portal-vue';
18
- import '../../useElevation-604d48c6.js';
18
+ import '../../useElevation-aac032f4.js';
19
19
  import '../../useResponsive-e13dfbb0.js';
20
20
  import '../../OrLoader-76f2615f.js';
21
21
  import '../../browser-82dea9ed.js';
@@ -1,5 +1,5 @@
1
- export { O as OrTooltipV3 } from '../../OrTooltip-e97b3f3c.js';
2
- export { P as TooltipPlacement } from '../../OrPopover-7a6c1cd4.js';
1
+ export { O as OrTooltipV3 } from '../../OrTooltip-d1764f37.js';
2
+ export { P as TooltipPlacement } from '../../OrPopover-2f48b854.js';
3
3
  import '@vueuse/core';
4
4
  import '../../index-fa6eb4ca.js';
5
5
  import 'vue';
@@ -7,9 +7,9 @@ import '@vue/composition-api/dist/vue-composition-api.mjs';
7
7
  import '../../useClassAttribute-9bf33346.js';
8
8
  import '../../normalize-component-6e8e3d80.js';
9
9
  import '../../floating-ui.dom.esm-83eba816.js';
10
- import '../../OrBottomSheet-04956f50.js';
11
- import '../../OrOverlay-57ce6c73.js';
10
+ import '../../OrBottomSheet-7b5760dc.js';
11
+ import '../../OrOverlay-3c89d622.js';
12
12
  import '../../OrTeleport.vue2-e9ba3054.js';
13
13
  import 'portal-vue';
14
- import '../../useElevation-604d48c6.js';
14
+ import '../../useElevation-aac032f4.js';
15
15
  import '../../useResponsive-e13dfbb0.js';
@@ -1,5 +1,5 @@
1
1
  export { u as useClassAttribute } from '../useClassAttribute-9bf33346.js';
2
- export { u as useElevation } from '../useElevation-604d48c6.js';
2
+ export { u as useElevation } from '../useElevation-aac032f4.js';
3
3
  export { u as useOverflow } from '../useOverflow-43299d81.js';
4
4
  export { u as useToggle } from '../useToggle-6166bd53.js';
5
5
  export { u as useResponsive } from '../useResponsive-e13dfbb0.js';
@@ -0,0 +1,115 @@
1
+ var base = {
2
+ 8: "Backspace",
3
+ 9: "Tab",
4
+ 10: "Enter",
5
+ 12: "NumLock",
6
+ 13: "Enter",
7
+ 16: "Shift",
8
+ 17: "Control",
9
+ 18: "Alt",
10
+ 20: "CapsLock",
11
+ 27: "Escape",
12
+ 32: " ",
13
+ 33: "PageUp",
14
+ 34: "PageDown",
15
+ 35: "End",
16
+ 36: "Home",
17
+ 37: "ArrowLeft",
18
+ 38: "ArrowUp",
19
+ 39: "ArrowRight",
20
+ 40: "ArrowDown",
21
+ 44: "PrintScreen",
22
+ 45: "Insert",
23
+ 46: "Delete",
24
+ 59: ";",
25
+ 61: "=",
26
+ 91: "Meta",
27
+ 92: "Meta",
28
+ 106: "*",
29
+ 107: "+",
30
+ 108: ",",
31
+ 109: "-",
32
+ 110: ".",
33
+ 111: "/",
34
+ 144: "NumLock",
35
+ 145: "ScrollLock",
36
+ 160: "Shift",
37
+ 161: "Shift",
38
+ 162: "Control",
39
+ 163: "Control",
40
+ 164: "Alt",
41
+ 165: "Alt",
42
+ 173: "-",
43
+ 186: ";",
44
+ 187: "=",
45
+ 188: ",",
46
+ 189: "-",
47
+ 190: ".",
48
+ 191: "/",
49
+ 192: "`",
50
+ 219: "[",
51
+ 220: "\\",
52
+ 221: "]",
53
+ 222: "'"
54
+ };
55
+ var shift = {
56
+ 48: ")",
57
+ 49: "!",
58
+ 50: "@",
59
+ 51: "#",
60
+ 52: "$",
61
+ 53: "%",
62
+ 54: "^",
63
+ 55: "&",
64
+ 56: "*",
65
+ 57: "(",
66
+ 59: ":",
67
+ 61: "+",
68
+ 173: "_",
69
+ 186: ":",
70
+ 187: "+",
71
+ 188: "<",
72
+ 189: "_",
73
+ 190: ">",
74
+ 191: "?",
75
+ 192: "~",
76
+ 219: "{",
77
+ 220: "|",
78
+ 221: "}",
79
+ 222: "\""
80
+ };
81
+ var chrome = typeof navigator != "undefined" && /Chrome\/(\d+)/.exec(navigator.userAgent);
82
+ typeof navigator != "undefined" && /Gecko\/\d+/.test(navigator.userAgent);
83
+ var mac = typeof navigator != "undefined" && /Mac/.test(navigator.platform);
84
+ var ie = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
85
+ var brokenModifierNames = mac || chrome && +chrome[1] < 57;
86
+
87
+ // Fill in the digit keys
88
+ for (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i);
89
+
90
+ // The function keys
91
+ for (var i = 1; i <= 24; i++) base[i + 111] = "F" + i;
92
+
93
+ // And the alphabetic keys
94
+ for (var i = 65; i <= 90; i++) {
95
+ base[i] = String.fromCharCode(i + 32);
96
+ shift[i] = String.fromCharCode(i);
97
+ }
98
+
99
+ // For each code that doesn't have a shift-equivalent, copy the base name
100
+ for (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code];
101
+ function keyName(event) {
102
+ var ignoreKey = brokenModifierNames && (event.ctrlKey || event.altKey || event.metaKey) || ie && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
103
+ var name = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified";
104
+ // Edge sometimes produces wrong names (Issue #3)
105
+ if (name == "Esc") name = "Escape";
106
+ if (name == "Del") name = "Delete";
107
+ // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571/
108
+ if (name == "Left") name = "ArrowLeft";
109
+ if (name == "Up") name = "ArrowUp";
110
+ if (name == "Right") name = "ArrowRight";
111
+ if (name == "Down") name = "ArrowDown";
112
+ return name;
113
+ }
114
+
115
+ export { base as b, keyName as k, shift as s };