@onereach/ui-components 2.71.2-beta.2244.0 → 2.71.3-beta.2243.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 (260) hide show
  1. package/dist/bundled/v2/{OrCardCollection-89428bbf.js → OrCardCollection-166cfcc6.js} +5 -5
  2. package/dist/bundled/v2/{OrCardCollection-06ecb8e1.js → OrCardCollection-c1ccde63.js} +2 -2
  3. package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-55b89b17.js} +4 -4
  4. package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-cc8b767f.js} +1 -1
  5. package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-4bdd1566.js} +3 -10
  6. package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-b009a043.js} +1 -1
  7. package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-6e8c1f80.js} +1 -1
  8. package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-c539e47c.js} +24 -7
  9. package/dist/bundled/v2/{OrListOfInputs-8f076650.js → OrListOfInputs-ab7f9d97.js} +4 -4
  10. package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-51b9f3e7.js} +1 -1
  11. package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-7f761f25.js} +1 -1
  12. package/dist/bundled/v2/OrNumberInput-face8ccc.js +227 -0
  13. package/dist/bundled/v2/OrPassword-a818e7b5.js +227 -0
  14. package/dist/bundled/v2/{OrSearch-f7cfa52f.js → OrSearch-832d7978.js} +4 -4
  15. package/dist/bundled/v2/{OrSearch-bb87b34c.js → OrSearch-d7326373.js} +1 -1
  16. package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-8802f330.js} +2 -2
  17. package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-8d738be6.js} +1 -1
  18. package/dist/bundled/v2/{OrPassword-7da938aa.js → OrTextarea-71ff236d.js} +7 -449
  19. package/dist/bundled/v2/components/index.d.ts +5 -1
  20. package/dist/bundled/v2/components/index.js +22 -20
  21. package/dist/bundled/v2/components/or-card-collection/index.js +4 -4
  22. package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
  23. package/dist/bundled/v2/components/or-confirm/index.js +2 -2
  24. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
  25. package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  26. package/dist/bundled/v2/components/or-icon-button-v3/index.js +1 -1
  27. package/dist/bundled/v2/components/or-inline-input-v3/index.js +2 -2
  28. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +2 -2
  29. package/dist/bundled/v2/components/or-input/index.d.ts +1 -0
  30. package/dist/bundled/v2/components/or-input/index.js +13 -0
  31. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  32. package/dist/bundled/v2/components/or-input-v3/index.js +3 -2
  33. package/dist/bundled/v2/components/or-list-of-inputs/index.js +2 -2
  34. package/dist/bundled/v2/components/or-modal-v3/index.js +2 -2
  35. package/dist/bundled/v2/components/or-notification-v3/index.js +2 -2
  36. package/dist/bundled/v2/components/or-number-input/index.d.ts +1 -0
  37. package/dist/bundled/v2/components/or-number-input/index.js +14 -0
  38. package/dist/bundled/v2/components/or-password/index.d.ts +1 -0
  39. package/dist/bundled/v2/components/{or-inputs → or-password}/index.js +3 -4
  40. package/dist/bundled/v2/components/or-search/index.d.ts +1 -0
  41. package/dist/bundled/v2/components/or-search/index.js +25 -0
  42. package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
  43. package/dist/bundled/v2/components/or-select-v3/index.js +5 -4
  44. package/dist/bundled/v2/components/or-tag-v3/index.js +2 -2
  45. package/dist/bundled/v2/components/or-textarea/index.d.ts +1 -0
  46. package/dist/bundled/v2/components/or-textarea/index.js +13 -0
  47. package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
  48. package/dist/bundled/v2/index.js +21 -19
  49. package/dist/bundled/v2/{types-309b7b94.js → types-79e5c18d.js} +1 -1
  50. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d8124dda.js → OrCardCollection.vue_vue_type_script_lang-cd84f344.js} +4 -4
  51. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e2980d04.js → OrCardCollection.vue_vue_type_script_lang-f9897e01.js} +3 -3
  52. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-0f16fc67.js → OrConfirm.vue_vue_type_script_lang-41b4d791.js} +2 -1
  53. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-e9ba9909.js} +2 -2
  54. package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-428dd2cf.js} +2 -3
  55. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-ec6a3622.js} +3 -9
  56. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +2 -2
  57. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +2 -2
  58. package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-41f8351a.js} +13 -4
  59. package/dist/bundled/v3/{OrInput-7d4b571a.js → OrInput-704e72ba.js} +5 -193
  60. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-409235cc.js +190 -0
  61. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-b88324b6.js} +15 -3
  62. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js → OrListOfInputs.vue_vue_type_script_lang-6c5cf7a5.js} +2 -1
  63. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-5a71a851.js} +2 -2
  64. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-6287244f.js} +2 -2
  65. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-f061d829.js +113 -0
  66. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-b75f6543.js +99 -0
  67. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-16fbccc0.js → OrSearch.vue_vue_type_script_lang-5356fa79.js} +2 -1
  68. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-321907ec.js → OrSearch.vue_vue_type_script_lang-56eb4e93.js} +2 -2
  69. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-ee433d47.js} +3 -3
  70. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-cd3e040e.js} +2 -2
  71. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-69ea22e9.js +187 -0
  72. package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-ad5ae5af.js} +1 -1
  73. package/dist/bundled/v3/components/index.d.ts +5 -1
  74. package/dist/bundled/v3/components/index.js +25 -22
  75. package/dist/bundled/v3/components/or-card-collection/index.js +5 -4
  76. package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
  77. package/dist/bundled/v3/components/or-confirm/index.js +3 -2
  78. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
  79. package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  80. package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
  81. package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
  82. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
  83. package/dist/bundled/v3/components/or-input/index.d.ts +1 -0
  84. package/dist/bundled/v3/components/or-input/index.js +14 -0
  85. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  86. package/dist/bundled/v3/components/or-input-v3/index.js +5 -3
  87. package/dist/bundled/v3/components/or-list-of-inputs/index.js +3 -2
  88. package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
  89. package/dist/bundled/v3/components/or-notification-v3/index.js +3 -3
  90. package/dist/bundled/v3/components/or-number-input/index.d.ts +1 -0
  91. package/dist/bundled/v3/components/or-number-input/index.js +16 -0
  92. package/dist/bundled/v3/components/or-password/index.d.ts +1 -0
  93. package/dist/bundled/v3/components/or-password/index.js +31 -0
  94. package/dist/bundled/v3/components/or-search/index.d.ts +1 -0
  95. package/dist/bundled/v3/components/{or-inputs → or-search}/index.js +4 -5
  96. package/dist/bundled/v3/components/or-search-v3/index.js +7 -5
  97. package/dist/bundled/v3/components/or-select-v3/index.js +8 -6
  98. package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
  99. package/dist/bundled/v3/components/or-textarea/index.d.ts +1 -0
  100. package/dist/bundled/v3/components/or-textarea/index.js +14 -0
  101. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  102. package/dist/bundled/v3/index.js +674 -669
  103. package/dist/bundled/v3/{types-22fbf9d6.js → types-1d25bb9a.js} +2 -2
  104. package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-19582949.js} +6 -7
  105. package/dist/esm/v2/{OrCardCollection-251ab033.js → OrCardCollection-ff1e9819.js} +2 -2
  106. package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-ec81498e.js} +1 -1
  107. package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-ede619eb.js} +4 -4
  108. package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-5fa56aec.js} +3 -10
  109. package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-38645a8e.js} +1 -1
  110. package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-b49a7107.js} +1 -1
  111. package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrInput-6e6cfd11.js} +4 -492
  112. package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-b029d058.js} +24 -7
  113. package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-4298fa2c.js} +5 -5
  114. package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-3b9d59de.js} +1 -1
  115. package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-5e145880.js} +1 -1
  116. package/dist/esm/v2/OrNumberInput-b20d75d2.js +225 -0
  117. package/dist/esm/v2/OrPassword-e6d5e968.js +225 -0
  118. package/dist/esm/v2/{OrSearch-f42d588d.js → OrSearch-1c934f72.js} +1 -1
  119. package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-b4f4d59b.js} +122 -5
  120. package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-cfcb233a.js} +2 -2
  121. package/dist/esm/v2/{OrTag-b2906865.js → OrTag-765090df.js} +1 -1
  122. package/dist/esm/v2/{OrPassword-1fa97156.js → OrTextarea-91a95068.js} +187 -245
  123. package/dist/esm/v2/components/index.d.ts +5 -1
  124. package/dist/esm/v2/components/index.js +22 -20
  125. package/dist/esm/v2/components/or-card-collection/index.js +3 -4
  126. package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
  127. package/dist/esm/v2/components/or-confirm/index.js +2 -3
  128. package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
  129. package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  130. package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
  131. package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
  132. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
  133. package/dist/esm/v2/components/or-input/index.d.ts +1 -0
  134. package/dist/esm/v2/components/or-input/index.js +11 -0
  135. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  136. package/dist/esm/v2/components/or-input-v3/index.js +4 -3
  137. package/dist/esm/v2/components/or-list-of-inputs/index.js +2 -4
  138. package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
  139. package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
  140. package/dist/esm/v2/components/or-number-input/index.d.ts +1 -0
  141. package/dist/esm/v2/components/or-number-input/index.js +12 -0
  142. package/dist/esm/v2/components/or-password/index.d.ts +1 -0
  143. package/dist/esm/v2/components/{or-inputs → or-password}/index.js +5 -6
  144. package/dist/esm/v2/components/or-search/index.d.ts +1 -0
  145. package/dist/esm/v2/components/or-search/index.js +23 -0
  146. package/dist/esm/v2/components/or-search-v3/index.js +5 -4
  147. package/dist/esm/v2/components/or-select-v3/index.js +6 -5
  148. package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
  149. package/dist/esm/v2/components/or-textarea/index.d.ts +1 -0
  150. package/dist/esm/v2/components/or-textarea/index.js +11 -0
  151. package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
  152. package/dist/esm/v2/index.js +20 -18
  153. package/dist/esm/v2/{types-1f95d710.js → types-856a804f.js} +1 -1
  154. package/dist/esm/v3/{OrCardCollection-a5e326ef.js → OrCardCollection-1e44c758.js} +2 -2
  155. package/dist/esm/v3/{OrCardCollection-8b8e3745.js → OrCardCollection-5ecdcbaf.js} +2 -2
  156. package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-beeb74d6.js} +1 -1
  157. package/dist/esm/v3/{OrConfirm-f39bd784.js → OrConfirm-c11ee2ec.js} +1 -1
  158. package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-e5781317.js} +4 -11
  159. package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-09de432a.js} +1 -1
  160. package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-56328f22.js} +1 -1
  161. package/dist/esm/v3/OrInput-81125804.js +295 -0
  162. package/dist/esm/v3/{OrInput-bd054213.js → OrInput-8a4573cd.js} +25 -5
  163. package/dist/esm/v3/{OrListOfInputs-7a67440f.js → OrListOfInputs-508e056f.js} +1 -1
  164. package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-10838da7.js} +1 -1
  165. package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-25da89ca.js} +1 -1
  166. package/dist/esm/v3/OrNumberInput-b32b5ce3.js +170 -0
  167. package/dist/esm/v3/OrPassword-b0cbb578.js +162 -0
  168. package/dist/esm/v3/{OrSearch-4c5c44f2.js → OrSearch-10d09806.js} +1 -1
  169. package/dist/esm/v3/OrSearch-11fdf667.js +188 -0
  170. package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-1e4c6062.js} +2 -2
  171. package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-21ba5e15.js} +1 -1
  172. package/dist/esm/v3/OrTextarea-1f5c3be1.js +290 -0
  173. package/dist/esm/v3/components/index.d.ts +5 -1
  174. package/dist/esm/v3/components/index.js +22 -18
  175. package/dist/esm/v3/components/or-card-collection/index.js +3 -3
  176. package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
  177. package/dist/esm/v3/components/or-confirm/index.js +2 -3
  178. package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
  179. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
  180. package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
  181. package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
  182. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
  183. package/dist/esm/v3/components/or-input/index.d.ts +1 -0
  184. package/dist/esm/v3/components/or-input/index.js +11 -0
  185. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  186. package/dist/esm/v3/components/or-input-v3/index.js +4 -3
  187. package/dist/esm/v3/components/or-list-of-inputs/index.js +2 -4
  188. package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
  189. package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
  190. package/dist/esm/v3/components/or-number-input/index.d.ts +1 -0
  191. package/dist/esm/v3/components/or-number-input/index.js +12 -0
  192. package/dist/esm/v3/components/or-password/index.d.ts +1 -0
  193. package/dist/esm/v3/components/{or-inputs → or-password}/index.js +3 -2
  194. package/dist/esm/v3/components/or-search/index.d.ts +1 -0
  195. package/dist/esm/v3/components/or-search/index.js +20 -0
  196. package/dist/esm/v3/components/or-search-v3/index.js +5 -4
  197. package/dist/esm/v3/components/or-select-v3/index.js +6 -5
  198. package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
  199. package/dist/esm/v3/components/or-textarea/index.d.ts +1 -0
  200. package/dist/esm/v3/components/or-textarea/index.js +11 -0
  201. package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
  202. package/dist/esm/v3/index.js +20 -16
  203. package/dist/esm/v3/{types-b79e4387.js → types-7f17b4b2.js} +1 -1
  204. package/package.json +1 -1
  205. package/src/components/index.ts +5 -1
  206. package/src/components/or-card-collection/OrCardCollection.vue +8 -8
  207. package/src/components/or-confirm/OrConfirm.vue +1 -1
  208. package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +0 -4
  209. package/src/components/or-icon-button-v3/OrIconButton.vue +0 -6
  210. package/src/components/or-icon-button-v3/styles.ts +0 -13
  211. package/src/components/or-input/index.ts +1 -0
  212. package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
  213. package/src/components/or-input-v3/OrInput.vue +37 -17
  214. package/src/components/or-list/OrList.stories.ts +1 -1
  215. package/src/components/or-list-of-inputs/OrListOfInputs.vue +1 -1
  216. package/src/components/or-modal/OrModal.stories.ts +1 -1
  217. package/src/components/{or-inputs → or-number-input}/OrNumberInput.vue +1 -1
  218. package/src/components/or-number-input/index.ts +1 -0
  219. package/src/components/{or-inputs → or-password}/OrPassword.vue +1 -1
  220. package/src/components/or-password/index.ts +1 -0
  221. package/src/components/{or-inputs → or-search}/OrSearch.vue +1 -1
  222. package/src/components/or-search/index.ts +1 -0
  223. package/src/components/{or-inputs → or-textarea}/OrTextarea.vue +225 -6
  224. package/src/components/or-textarea/index.ts +1 -0
  225. package/dist/bundled/v2/components/or-inputs/index.d.ts +0 -5
  226. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +0 -390
  227. package/dist/bundled/v3/components/or-inputs/index.d.ts +0 -5
  228. package/dist/esm/v2/components/or-inputs/index.d.ts +0 -5
  229. package/dist/esm/v3/OrSearch-7cb2c91c.js +0 -1075
  230. package/dist/esm/v3/components/or-inputs/index.d.ts +0 -5
  231. package/src/components/or-inputs/index.ts +0 -5
  232. /package/dist/bundled/v2/{OrInput-08f2f666.js → OrInput-df1a14fa.js} +0 -0
  233. /package/dist/bundled/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  234. /package/dist/bundled/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  235. /package/dist/bundled/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  236. /package/dist/bundled/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  237. /package/dist/bundled/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  238. /package/dist/bundled/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  239. /package/dist/bundled/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  240. /package/dist/bundled/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  241. /package/dist/bundled/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  242. /package/dist/bundled/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  243. /package/dist/esm/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  244. /package/dist/esm/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  245. /package/dist/esm/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  246. /package/dist/esm/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  247. /package/dist/esm/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  248. /package/dist/esm/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  249. /package/dist/esm/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  250. /package/dist/esm/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  251. /package/dist/esm/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  252. /package/dist/esm/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  253. /package/src/components/{or-inputs → or-input}/OrInput.stories.ts +0 -0
  254. /package/src/components/{or-inputs → or-input}/OrInput.vue +0 -0
  255. /package/src/components/{or-inputs → or-input}/or-textbox-migration.stories.mdx +0 -0
  256. /package/src/components/{or-inputs → or-input}/styles.scss +0 -0
  257. /package/src/components/{or-inputs → or-number-input}/OrNumberInput.stories.ts +0 -0
  258. /package/src/components/{or-inputs → or-password}/OrPassword.stories.ts +0 -0
  259. /package/src/components/{or-inputs → or-search}/OrSearch.stories.ts +0 -0
  260. /package/src/components/{or-inputs → or-textarea}/OrTextarea.stories.ts +0 -0
@@ -42,30 +42,40 @@
42
42
  >
43
43
 
44
44
  <div :class="['layout-row']">
45
- <template v-if="type === 'password'">
46
- <OrIconButton
47
- :icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
48
- :color="'inherit'"
49
- :disabled="disabled"
50
- @click.stop="disclosed = !disclosed"
45
+ <template v-if="loading">
46
+ <OrLoader
47
+ :variant="'circular'"
48
+ :color="'primary'"
49
+ :size="isMobile ? 'm' : 's'"
51
50
  />
52
51
  </template>
53
52
 
54
- <template v-if="type === 'search'">
55
- <template v-if="modelValue">
53
+ <template v-else>
54
+ <template v-if="type === 'password'">
56
55
  <OrIconButton
57
- :icon="'close'"
56
+ :icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
58
57
  :color="'inherit'"
59
- :disabled="readonly || disabled"
60
- @click.stop="$emit('update:modelValue', '')"
58
+ :disabled="disabled"
59
+ @click.stop="disclosed = !disclosed"
61
60
  />
62
61
  </template>
63
62
 
64
- <template v-else>
65
- <OrIcon
66
- :icon="'search'"
67
- :variant="'outlined'"
68
- />
63
+ <template v-if="type === 'search'">
64
+ <template v-if="modelValue">
65
+ <OrIconButton
66
+ :icon="'close'"
67
+ :color="'inherit'"
68
+ :disabled="readonly || disabled"
69
+ @click.stop="$emit('update:modelValue', '')"
70
+ />
71
+ </template>
72
+
73
+ <template v-else>
74
+ <OrIcon
75
+ :icon="'search'"
76
+ :variant="'outlined'"
77
+ />
78
+ </template>
69
79
  </template>
70
80
  </template>
71
81
  </div>
@@ -103,13 +113,14 @@
103
113
 
104
114
  <script lang="ts">
105
115
  import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
106
- import { useControlAttributes, useIdAttribute, useValidationAttributes } from '../../hooks';
116
+ import { useControlAttributes, useIdAttribute, useResponsive, useValidationAttributes } from '../../hooks';
107
117
  import { OrErrorV3 as OrError } from '../or-error-v3';
108
118
  import { OrHintV3 as OrHint } from '../or-hint-v3';
109
119
  import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
110
120
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
111
121
  import { OrInputBoxV3 as OrInputBox } from '../or-input-box-v3';
112
122
  import { OrLabelV3 as OrLabel } from '../or-label-v3';
123
+ import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
113
124
  import { InputSize, InputType } from './props';
114
125
  import { InputControl, InputRoot } from './styles';
115
126
 
@@ -123,6 +134,7 @@ export default defineComponent({
123
134
  OrIconButton,
124
135
  OrInputBox,
125
136
  OrLabel,
137
+ OrLoader,
126
138
  },
127
139
 
128
140
  model: {
@@ -166,6 +178,11 @@ export default defineComponent({
166
178
  default: undefined,
167
179
  },
168
180
 
181
+ loading: {
182
+ type: Boolean,
183
+ default: false,
184
+ },
185
+
169
186
  required: {
170
187
  type: Boolean,
171
188
  default: false,
@@ -240,6 +257,8 @@ export default defineComponent({
240
257
 
241
258
  const disclosed = ref(false);
242
259
 
260
+ const { isMobile } = useResponsive();
261
+
243
262
  // Methods
244
263
  function focus(): void {
245
264
  control.value?.focus();
@@ -260,6 +279,7 @@ export default defineComponent({
260
279
  maxLength,
261
280
  invalid,
262
281
  disclosed,
282
+ isMobile,
263
283
  focus,
264
284
  blur,
265
285
  };
@@ -1,7 +1,7 @@
1
1
  import OrList from './OrList.vue';
2
2
  import { OrIcon } from '../or-icon';
3
3
  import { OrButtonV2 as OrButton } from '../or-button-v2';
4
- import { OrInput } from '../or-inputs';
4
+ import { OrInput } from '../or-input';
5
5
 
6
6
  import { ArgTypes, Story } from '@storybook/vue';
7
7
  import { action } from '@storybook/addon-actions';
@@ -76,7 +76,7 @@ import { defineComponent, PropType } from 'vue-demi';
76
76
  import _ from 'lodash';
77
77
 
78
78
  import { OrList } from '../or-list';
79
- import { OrInput } from '../or-inputs';
79
+ import { OrInput } from '../or-input';
80
80
  import { OrIcon } from '../or-icon';
81
81
  import { OrIconButton } from '../or-button-v2';
82
82
 
@@ -7,7 +7,7 @@ import { OrOverflowMenu } from '../or-overflow-menu';
7
7
  import { OrModalSizes } from './constants';
8
8
  import { OrCollapse } from '../or-collapse';
9
9
  import { OrSelect } from '../or-select';
10
- import { OrInput } from '../or-inputs';
10
+ import { OrInput } from '../or-input';
11
11
  import { getTestOption } from '../or-select/stories.helpers';
12
12
  import _ from 'lodash';
13
13
 
@@ -62,7 +62,7 @@
62
62
  </template>
63
63
  <script lang="ts">
64
64
  import { defineComponent, ref } from 'vue-demi';
65
- import OrInput from './OrInput.vue';
65
+ import { OrInput } from '../or-input';
66
66
 
67
67
  export default defineComponent({
68
68
  name: 'OrNumberInput',
@@ -0,0 +1 @@
1
+ export { default as OrNumberInput } from './OrNumberInput.vue';
@@ -64,8 +64,8 @@
64
64
  </template>
65
65
  <script lang="ts">
66
66
  import { defineComponent, ref } from 'vue-demi';
67
- import OrInput from './OrInput.vue';
68
67
  import { useVModel } from '@vueuse/core';
68
+ import { OrInput } from '../or-input';
69
69
  import { useToggle } from '../../hooks';
70
70
  import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
71
71
 
@@ -0,0 +1 @@
1
+ export { default as OrPassword } from './OrPassword.vue';
@@ -66,7 +66,7 @@
66
66
  </template>
67
67
  <script lang="ts">
68
68
  import { defineComponent, ref } from 'vue-demi';
69
- import OrInput from './OrInput.vue';
69
+ import { OrInput } from '../or-input';
70
70
  import { debouncedWatch } from '@vueuse/core';
71
71
  import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
72
72
 
@@ -0,0 +1 @@
1
+ export { default as OrSearch } from './OrSearch.vue';
@@ -114,11 +114,7 @@
114
114
  </template>
115
115
 
116
116
  <script lang="ts">
117
- import {
118
- defineComponent,
119
- ref,
120
- getCurrentInstance,
121
- } from 'vue-demi';
117
+ import { defineComponent, ref, getCurrentInstance } from 'vue-demi';
122
118
  import { pxToRem } from '../../utils/functions/px-to-rem';
123
119
  import {
124
120
  cancelAF,
@@ -319,5 +315,228 @@ export default defineComponent({
319
315
  </script>
320
316
 
321
317
  <style lang="scss" scoped>
322
- @import "./styles.scss";
318
+ @use "~@onereach/styles/src/global" as *;
319
+
320
+ .or-textbox {
321
+ display: flex;
322
+ align-items: flex-start;
323
+ justify-content: flex-start;
324
+ width: 100%;
325
+
326
+ &.is-show-info.has-label {
327
+ align-items: center;
328
+ }
329
+
330
+ &.has-label {
331
+ align-items: flex-end;
332
+ }
333
+
334
+ .or-label {
335
+ margin-bottom: $s-1;
336
+ }
337
+
338
+ &--append,
339
+ &--prepend {
340
+ position: relative;
341
+ display: flex;
342
+ align-items: center;
343
+ height: px-to-rem(36);
344
+ }
345
+
346
+ &--append {
347
+ margin-left: px-to-rem(10);
348
+ }
349
+
350
+ &--prepend {
351
+ margin-right: px-to-rem(10);
352
+ }
353
+
354
+ &--wrapper {
355
+ width: 100%;
356
+ }
357
+
358
+ &--input {
359
+ width: 100%;
360
+ min-width: px-to-rem(114);
361
+ height: px-to-rem(36);
362
+ padding: px-to-rem(10);
363
+ font-family: inherit;
364
+ font-size: $fs-1;
365
+ background-color: $c-neutral-1;
366
+ border: 1px solid $c-neutral-2;
367
+ border-radius: $s-2;
368
+ outline: none;
369
+
370
+ @include transition(border-color, background-color, -webkit-box-shadow);
371
+
372
+ &-textarea {
373
+ /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
374
+ @extend .or-textbox--input;
375
+
376
+ min-height: px-to-rem(79);
377
+ max-height: px-to-rem(142);
378
+ overflow-x: hidden;
379
+ overflow-y: auto;
380
+ resize: none;
381
+ }
382
+
383
+ &-wrapper {
384
+ position: relative;
385
+ width: 100%;
386
+ }
387
+
388
+ &::placeholder {
389
+ color: $c-neutral-4;
390
+
391
+ @include transition(opacity);
392
+ }
393
+
394
+ &:-webkit-autofill {
395
+ -webkit-box-shadow: inset 0 0 0 50px $c-neutral-1;
396
+
397
+ @include focus {
398
+ -webkit-box-shadow: inset 0 0 0 50px $c-white;
399
+ }
400
+ }
401
+
402
+ @include hover {
403
+ background-color: $c-white;
404
+ border-color: $c-neutral-2-darken-3;
405
+ -webkit-box-shadow: inset 0 0 0 50px $c-white;
406
+ }
407
+
408
+ @include active {
409
+ &:not(:focus) {
410
+ border-color: $c-neutral-2-darken-5;
411
+ }
412
+ }
413
+
414
+ @include focus {
415
+ background-color: $c-white;
416
+ border-color: $c-primary;
417
+
418
+ &::placeholder {
419
+ opacity: 0;
420
+ }
421
+ }
422
+
423
+ @include disabled {
424
+ background-color: $c-neutral-2;
425
+ border-color: $c-neutral-2;
426
+ }
427
+
428
+ @include has-error {
429
+ border-color: $c-error;
430
+
431
+ @include hover {
432
+ border-color: $c-error-darken-3;
433
+ }
434
+
435
+ @include focus {
436
+ border-color: $c-error-darken-5;
437
+ }
438
+
439
+ @include disabled {
440
+ border-color: $c-error-lighten-20;
441
+ }
442
+ }
443
+ }
444
+
445
+ &--textarea {
446
+ /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
447
+ @extend .or-textbox--input;
448
+
449
+ min-height: px-to-rem(79);
450
+ max-height: px-to-rem(142);
451
+ overflow-x: hidden;
452
+ overflow-y: auto;
453
+ resize: none;
454
+ }
455
+
456
+ &--info {
457
+ width: 100%;
458
+ margin: 0;
459
+
460
+ @include transition(height, opacity);
461
+ }
462
+
463
+ &--counter {
464
+ flex-shrink: 0;
465
+ margin-left: auto;
466
+ font-size: $fs-0;
467
+ line-height: px-to-rem(14);
468
+ color: $c-neutral-4;
469
+ }
470
+
471
+ &--hint,
472
+ &-error {
473
+ flex-shrink: 1;
474
+
475
+ @include transition(height, opacity);
476
+ }
477
+
478
+ &.is-small {
479
+ .or-textbox {
480
+ &--input {
481
+ height: px-to-rem(30);
482
+ padding: px-to-rem(8) px-to-rem(10);
483
+ font-size: $fs-0;
484
+
485
+ &-toggle-btn {
486
+ .material-icons {
487
+ font-size: $fs-1;
488
+ }
489
+ }
490
+ }
491
+ }
492
+ }
493
+
494
+ &.has-counter {
495
+ .or-textbox {
496
+ &--hint,
497
+ &--error {
498
+ padding-right: px-to-rem(15);
499
+ }
500
+ }
501
+ }
502
+
503
+ &.is-show-info {
504
+ .or-textbox {
505
+ &--info {
506
+ display: flex;
507
+ align-items: flex-start;
508
+ justify-content: space-between;
509
+ padding-top: px-to-rem(4);
510
+ }
511
+ }
512
+ }
513
+
514
+ @include disabled {
515
+ .or-textbox {
516
+ &--input-toggle-btn {
517
+ pointer-events: none;
518
+ }
519
+ }
520
+ }
521
+
522
+ @include has-error {
523
+ .or-textbox {
524
+ &--input {
525
+ border-color: $c-error;
526
+
527
+ @include hover {
528
+ border-color: $c-error-darken-3;
529
+ }
530
+
531
+ @include focus {
532
+ border-color: $c-error-darken-5;
533
+ }
534
+
535
+ @include disabled {
536
+ border-color: $c-error;
537
+ }
538
+ }
539
+ }
540
+ }
541
+ }
323
542
  </style>
@@ -0,0 +1 @@
1
+ export { default as OrTextarea } from './OrTextarea.vue';
@@ -1,5 +0,0 @@
1
- export { default as OrTextarea } from './OrTextarea.vue';
2
- export { default as OrInput } from './OrInput.vue';
3
- export { default as OrNumberInput } from './OrNumberInput.vue';
4
- export { default as OrPassword } from './OrPassword.vue';
5
- export { default as OrSearch } from './OrSearch.vue';