@onereach/ui-components 2.74.1-beta.2289.0 → 2.74.1-beta.2291.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 (276) hide show
  1. package/dist/bundled/v2/{OrButton-4862b98b.js → OrButton-d45772c1.js} +3 -3
  2. package/dist/bundled/v2/{OrCardCollection-187b0468.js → OrCardCollection-1affb682.js} +4 -4
  3. package/dist/bundled/v2/{OrConfirm-94fd90ae.js → OrConfirm-bdf57b45.js} +2 -2
  4. package/dist/bundled/v2/{OrEmptyState-8a7feb99.js → OrEmptyState-9fb413f9.js} +2 -2
  5. package/dist/bundled/v2/{OrErrorTag-785d650a.js → OrErrorTag-97a9112b.js} +1 -1
  6. package/dist/bundled/v2/{OrIconButton-5e9d8efe.js → OrIconButton-837d57f8.js} +1 -1
  7. package/dist/bundled/v2/{OrInlineInput-38a99ef9.js → OrInlineInput-8fec2947.js} +3 -3
  8. package/dist/bundled/v2/{OrInlineTextarea-e0ff164c.js → OrInlineTextarea-e7cdb4fb.js} +3 -3
  9. package/dist/bundled/v2/{OrInput-65ad6551.js → OrInput-46039629.js} +5 -4
  10. package/dist/bundled/v2/{OrInputBox-e54dcef9.js → OrInputBox-9a31d211.js} +2 -12
  11. package/dist/bundled/v2/{OrMenu-6ab53877.js → OrMenu-52da43bc.js} +15 -10
  12. package/dist/bundled/v2/{OrModal-41f9e197.js → OrModal-78f5d49e.js} +1 -1
  13. package/dist/bundled/v2/{OrNotification-cbb374c5.js → OrNotification-458fe937.js} +1 -1
  14. package/dist/bundled/v2/{OrPagination-9bf3d797.js → OrPagination-daf25de2.js} +24 -60
  15. package/dist/bundled/v2/{OrProgress-5cf0a7e7.js → OrProgress-15fe65ec.js} +3 -3
  16. package/dist/bundled/v2/{OrSearch-142dd903.js → OrSearch-05cc6c14.js} +2 -2
  17. package/dist/bundled/v2/{OrSelect-797fb43b.js → OrSelect-bfe76fb7.js} +7 -4
  18. package/dist/bundled/v2/{OrSidebar-ae90e090.js → OrSidebar-a2bc21b9.js} +3 -3
  19. package/dist/bundled/v2/{OrSidebarCollapseButton-54abd48f.js → OrSidebarCollapseButton-8297ef86.js} +1 -1
  20. package/dist/bundled/v2/{OrTabs-517e2f25.js → OrTabs-d69780fc.js} +1 -1
  21. package/dist/bundled/v2/{OrTag-231eefa1.js → OrTag-4085e8a7.js} +2 -2
  22. package/dist/bundled/v2/{OrTextarea-1201353b.js → OrTextarea-a02951f4.js} +4 -3
  23. package/dist/bundled/v2/{OrTooltip-121e28c5.js → OrTooltip-b1f38647.js} +1 -3
  24. package/dist/bundled/v2/components/index.js +25 -24
  25. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  26. package/dist/bundled/v2/components/or-card-collection-v3/index.js +9 -8
  27. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
  28. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
  29. package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
  30. package/dist/bundled/v2/components/or-combined-input-v3/index.js +148 -0
  31. package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
  32. package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
  33. package/dist/bundled/v2/components/or-confirm-v3/index.js +7 -6
  34. package/dist/bundled/v2/components/or-empty-state-v3/index.js +1 -1
  35. package/dist/bundled/v2/components/or-error-tag-v3/index.js +1 -1
  36. package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
  37. package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
  38. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
  39. package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
  40. package/dist/bundled/v2/components/or-input-v3/index.js +5 -4
  41. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  42. package/dist/bundled/v2/components/or-menu-v3/index.js +1 -1
  43. package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +1 -0
  44. package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
  45. package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
  46. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  47. package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
  48. package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
  49. package/dist/bundled/v2/components/or-progress-v3/styles.d.ts +1 -1
  50. package/dist/bundled/v2/components/or-search-v3/index.js +6 -5
  51. package/dist/bundled/v2/components/or-select-v3/index.js +7 -6
  52. package/dist/bundled/v2/components/or-sidebar-v3/index.js +4 -4
  53. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +3 -3
  54. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
  55. package/dist/bundled/v2/components/or-tabs-v3/index.js +2 -2
  56. package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
  57. package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
  58. package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
  59. package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
  60. package/dist/bundled/v2/index.js +26 -25
  61. package/dist/bundled/v2/props-78496a2d.js +12 -0
  62. package/dist/bundled/v2/{types-c2d44cac.js → types-309b7b94.js} +1 -1
  63. package/dist/bundled/v3/{OrButton-05766523.js → OrButton-a1448bfa.js} +1 -1
  64. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b53e78f5.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -3
  65. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e980e703.js → OrCardCollection.vue_vue_type_script_lang-c01a1d75.js} +7 -7
  66. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7ba2f530.js → OrConfirm.vue_vue_type_script_lang-a131670a.js} +4 -4
  67. package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-8e58c67c.js → OrEmptyState.vue_vue_type_script_lang-da7d6c42.js} +2 -2
  68. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-3675dde9.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +1 -1
  69. package/dist/bundled/v3/{OrIconButton-d6dfb9a4.js → OrIconButton-e0566ecf.js} +1 -1
  70. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5d1cb50c.js → OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js} +1 -1
  71. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-92640762.js → OrInlineInput.vue_vue_type_script_lang-66598185.js} +4 -4
  72. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-7358cb4f.js → OrInlineTextarea.vue_vue_type_script_lang-85adcaf9.js} +4 -4
  73. package/dist/bundled/v3/{OrInput-6aef644c.js → OrInput-37811348.js} +1 -1
  74. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-8e55cefa.js → OrInput.vue_vue_type_script_lang-de00e237.js} +7 -6
  75. package/dist/bundled/v3/{OrInputBox-358d4856.js → OrInputBox-44f37541.js} +1 -1
  76. package/dist/{esm/v2/OrInputBox-53d1f66d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js} +3 -53
  77. package/dist/bundled/v3/{OrMenu-bb432db5.js → OrMenu-6d7abe97.js} +10 -9
  78. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-5a492eb3.js → OrMenu.vue_vue_type_script_lang-df35fd76.js} +8 -5
  79. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-5f45677f.js → OrModal.vue_vue_type_script_lang-6b1dc231.js} +2 -2
  80. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-b9a8e938.js → OrNotification.vue_vue_type_script_lang-d0afc1d7.js} +2 -2
  81. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdb0acc8.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +20 -35
  82. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-17095060.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +3 -3
  83. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-763128bf.js → OrSearch.vue_vue_type_script_lang-b34af2a0.js} +3 -3
  84. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-48de444c.js → OrSelect.vue_vue_type_script_lang-b14e4b6b.js} +9 -6
  85. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-5116ba2b.js → OrSidebar.vue_vue_type_script_lang-7f3f1a16.js} +3 -3
  86. package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-c071f0c6.js → OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js} +2 -2
  87. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ae519161.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +2 -2
  88. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-2410faf0.js → OrTag.vue_vue_type_script_lang-a25a49ee.js} +3 -3
  89. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-de99a858.js → OrTextarea.vue_vue_type_script_lang-d0256fc2.js} +5 -4
  90. package/dist/bundled/v3/{OrToastContainer-a435e015.js → OrToastContainer-6fe12712.js} +1 -1
  91. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-7a64c90d.js → OrTooltip.vue_vue_type_script_lang-bf9935ef.js} +1 -3
  92. package/dist/bundled/v3/components/index.js +30 -29
  93. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  94. package/dist/bundled/v3/components/or-card-collection-v3/index.js +14 -13
  95. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
  96. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
  97. package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
  98. package/dist/bundled/v3/components/or-combined-input-v3/index.js +130 -0
  99. package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
  100. package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
  101. package/dist/bundled/v3/components/or-confirm-v3/index.js +11 -10
  102. package/dist/bundled/v3/components/or-empty-state-v3/index.js +1 -1
  103. package/dist/bundled/v3/components/or-error-tag-v3/index.js +1 -1
  104. package/dist/bundled/v3/components/or-icon-button-v3/index.js +2 -2
  105. package/dist/bundled/v3/components/or-inline-input-v3/index.js +4 -4
  106. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +4 -4
  107. package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
  108. package/dist/bundled/v3/components/or-input-v3/index.js +7 -6
  109. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  110. package/dist/bundled/v3/components/or-menu-v3/index.js +1 -1
  111. package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +1 -0
  112. package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
  113. package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
  114. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  115. package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
  116. package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
  117. package/dist/bundled/v3/components/or-progress-v3/styles.d.ts +1 -1
  118. package/dist/bundled/v3/components/or-search-v3/index.js +9 -8
  119. package/dist/bundled/v3/components/or-select-v3/index.js +10 -9
  120. package/dist/bundled/v3/components/or-sidebar-v3/index.js +5 -5
  121. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +4 -4
  122. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +4 -4
  123. package/dist/bundled/v3/components/or-tabs-v3/index.js +3 -3
  124. package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
  125. package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
  126. package/dist/bundled/v3/components/or-toast-v3/index.js +5 -5
  127. package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
  128. package/dist/bundled/v3/index.js +53 -74
  129. package/dist/bundled/v3/props-78496a2d.js +12 -0
  130. package/dist/bundled/v3/{types-f95c218d.js → types-22fbf9d6.js} +2 -2
  131. package/dist/esm/v2/{OrButton-18f4431c.js → OrButton-66964360.js} +3 -3
  132. package/dist/esm/v2/{OrCardCollection-88f635a2.js → OrCardCollection-413eeef9.js} +5 -5
  133. package/dist/esm/v2/{OrConfirm-7d81daa5.js → OrConfirm-2f8d9405.js} +2 -2
  134. package/dist/esm/v2/{OrEmptyState-ab1a044d.js → OrEmptyState-2481f13f.js} +2 -2
  135. package/dist/esm/v2/{OrErrorTag-57140070.js → OrErrorTag-80f82cdf.js} +1 -1
  136. package/dist/esm/v2/{OrIconButton-14d80983.js → OrIconButton-04a3566d.js} +1 -1
  137. package/dist/esm/v2/{OrInlineInput-2746837c.js → OrInlineInput-c66ed0c0.js} +3 -3
  138. package/dist/esm/v2/{OrInlineTextarea-3af829c7.js → OrInlineTextarea-3cc2fdc2.js} +3 -3
  139. package/dist/esm/v2/{OrInput-979c7225.js → OrInput-cacd21a4.js} +5 -4
  140. package/dist/esm/v2/OrInputBox-5c4b3104.js +43 -0
  141. package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js} +1 -1
  142. package/dist/esm/v2/{OrMenu-943e7760.js → OrMenu-c276db74.js} +15 -10
  143. package/dist/esm/v2/{OrModal-e638986d.js → OrModal-4e79e0d5.js} +1 -1
  144. package/dist/esm/v2/{OrNotification-19c82a07.js → OrNotification-eac3867f.js} +1 -1
  145. package/dist/esm/v2/{OrPagination-93d78a0d.js → OrPagination-1adbcadb.js} +24 -61
  146. package/dist/esm/v2/{OrProgress-9fc95bd7.js → OrProgress-b7d1c689.js} +3 -3
  147. package/dist/esm/v2/{OrSearch-b693161b.js → OrSearch-1c30f3fd.js} +2 -2
  148. package/dist/esm/v2/{OrSelect-454e1bc3.js → OrSelect-bbba5e3a.js} +7 -4
  149. package/dist/esm/v2/{OrSidebar-f6e3030d.js → OrSidebar-27236fbd.js} +3 -3
  150. package/dist/esm/v2/{OrSidebarCollapseButton-5bb545a6.js → OrSidebarCollapseButton-cfe51a60.js} +1 -1
  151. package/dist/esm/v2/{OrTabs-398348a5.js → OrTabs-96b0473d.js} +1 -1
  152. package/dist/esm/v2/{OrTag-4a6cad6e.js → OrTag-b2906865.js} +2 -2
  153. package/dist/esm/v2/{OrTextarea-373d0554.js → OrTextarea-e1aad345.js} +4 -3
  154. package/dist/esm/v2/{OrTooltip-233c67b9.js → OrTooltip-629d44fc.js} +1 -3
  155. package/dist/esm/v2/components/index.js +25 -24
  156. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  157. package/dist/esm/v2/components/or-card-collection-v3/index.js +9 -8
  158. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
  159. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
  160. package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
  161. package/dist/esm/v2/components/or-combined-input-v3/index.js +145 -0
  162. package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
  163. package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
  164. package/dist/esm/v2/components/or-confirm-v3/index.js +7 -6
  165. package/dist/esm/v2/components/or-empty-state-v3/index.js +1 -1
  166. package/dist/esm/v2/components/or-error-tag-v3/index.js +1 -1
  167. package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
  168. package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
  169. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
  170. package/dist/esm/v2/components/or-input-box-v3/index.js +3 -2
  171. package/dist/esm/v2/components/or-input-v3/index.js +5 -4
  172. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  173. package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
  174. package/dist/esm/v2/components/or-menu-v3/styles.d.ts +1 -0
  175. package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
  176. package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
  177. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  178. package/dist/esm/v2/components/or-pagination-v3/index.js +5 -5
  179. package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
  180. package/dist/esm/v2/components/or-progress-v3/styles.d.ts +1 -1
  181. package/dist/esm/v2/components/or-search-v3/index.js +6 -5
  182. package/dist/esm/v2/components/or-select-v3/index.js +7 -6
  183. package/dist/esm/v2/components/or-sidebar-v3/index.js +4 -4
  184. package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +3 -3
  185. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
  186. package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
  187. package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
  188. package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
  189. package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
  190. package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
  191. package/dist/esm/v2/index.js +25 -24
  192. package/dist/esm/v2/{types-34f2e287.js → types-1f95d710.js} +1 -1
  193. package/dist/esm/v3/{OrButton-55dd2ad9.js → OrButton-c56998e7.js} +3 -3
  194. package/dist/esm/v3/{OrCardCollection-551def4e.js → OrCardCollection-005964d2.js} +4 -4
  195. package/dist/esm/v3/{OrConfirm-4e3a7560.js → OrConfirm-c35b430f.js} +2 -2
  196. package/dist/esm/v3/{OrEmptyState-cd3a4026.js → OrEmptyState-bb8e3145.js} +2 -2
  197. package/dist/esm/v3/{OrErrorTag-f114e88b.js → OrErrorTag-308119de.js} +1 -1
  198. package/dist/esm/v3/{OrIconButton-3920ba54.js → OrIconButton-2dcfb83e.js} +1 -1
  199. package/dist/esm/v3/{OrInlineInput-86e4383b.js → OrInlineInput-4591c44d.js} +3 -3
  200. package/dist/esm/v3/{OrInlineTextarea-10826fa6.js → OrInlineTextarea-22807fd6.js} +3 -3
  201. package/dist/esm/v3/{OrInput-2568be79.js → OrInput-4b51848c.js} +3 -3
  202. package/dist/esm/v3/{OrMenu-fd2fe1e7.js → OrMenu-7f3ea117.js} +17 -13
  203. package/dist/esm/v3/{OrModal-87eaff65.js → OrModal-4219a6dc.js} +1 -1
  204. package/dist/esm/v3/{OrNotification-7aab5f58.js → OrNotification-0e682c7f.js} +1 -1
  205. package/dist/esm/v3/{OrPagination-781c119e.js → OrPagination-da9e5017.js} +26 -64
  206. package/dist/esm/v3/{OrProgress-4856808a.js → OrProgress-639ed5e8.js} +3 -3
  207. package/dist/esm/v3/{OrSearch-3c7feda3.js → OrSearch-b6c48f3f.js} +1 -1
  208. package/dist/esm/v3/{OrSelect-389aab9f.js → OrSelect-35f70776.js} +5 -3
  209. package/dist/esm/v3/{OrSidebar-2c8a68df.js → OrSidebar-61d84c3e.js} +3 -3
  210. package/dist/esm/v3/{OrSidebarCollapseButton-1ed5a3d7.js → OrSidebarCollapseButton-1b9c83ef.js} +1 -1
  211. package/dist/esm/v3/{OrTabs-34c67377.js → OrTabs-328d41b9.js} +1 -1
  212. package/dist/esm/v3/{OrTag-c5c305ed.js → OrTag-148ff9ae.js} +2 -2
  213. package/dist/esm/v3/{OrTextarea-42d21f77.js → OrTextarea-8b060a1b.js} +2 -2
  214. package/dist/esm/v3/{OrTooltip-229c90d5.js → OrTooltip-b07616f4.js} +1 -3
  215. package/dist/esm/v3/components/index.js +23 -23
  216. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  217. package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -7
  218. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
  219. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
  220. package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
  221. package/dist/esm/v3/components/or-combined-input-v3/index.js +129 -0
  222. package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
  223. package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
  224. package/dist/esm/v3/components/or-confirm-v3/index.js +5 -5
  225. package/dist/esm/v3/components/or-empty-state-v3/index.js +1 -1
  226. package/dist/esm/v3/components/or-error-tag-v3/index.js +1 -1
  227. package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
  228. package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
  229. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
  230. package/dist/esm/v3/components/or-input-v3/index.js +3 -3
  231. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  232. package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
  233. package/dist/esm/v3/components/or-menu-v3/styles.d.ts +1 -0
  234. package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
  235. package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
  236. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  237. package/dist/esm/v3/components/or-pagination-v3/index.js +5 -5
  238. package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
  239. package/dist/esm/v3/components/or-progress-v3/styles.d.ts +1 -1
  240. package/dist/esm/v3/components/or-search-v3/index.js +4 -4
  241. package/dist/esm/v3/components/or-select-v3/index.js +5 -5
  242. package/dist/esm/v3/components/or-sidebar-v3/index.js +4 -4
  243. package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +3 -3
  244. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
  245. package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
  246. package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
  247. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  248. package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
  249. package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
  250. package/dist/esm/v3/index.js +23 -23
  251. package/dist/esm/v3/{types-225f772b.js → types-b79e4387.js} +1 -1
  252. package/package.json +2 -2
  253. package/src/components/or-button-v3/styles.ts +3 -3
  254. package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
  255. package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +201 -0
  256. package/src/components/or-combined-input-v3/OrCombinedInput.vue +130 -0
  257. package/src/components/or-combined-input-v3/index.ts +2 -0
  258. package/src/components/or-combined-input-v3/props.ts +1 -0
  259. package/src/components/or-combined-input-v3/styles.ts +25 -0
  260. package/src/components/or-empty-state-v3/styles.ts +2 -2
  261. package/src/components/or-error-tag-v3/styles.ts +1 -1
  262. package/src/components/or-inline-input-v3/styles.ts +2 -2
  263. package/src/components/or-inline-textarea-v3/styles.ts +2 -2
  264. package/src/components/or-input-v3/styles.ts +2 -2
  265. package/src/components/or-menu-v3/OrMenu.vue +26 -22
  266. package/src/components/or-menu-v3/styles.ts +5 -0
  267. package/src/components/or-pagination-v3/OrPagination.vue +42 -86
  268. package/src/components/or-pagination-v3/styles.ts +1 -1
  269. package/src/components/or-progress-v3/styles.ts +4 -4
  270. package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
  271. package/src/components/or-select-v3/styles.ts +4 -1
  272. package/src/components/or-sidebar-v3/styles.ts +2 -2
  273. package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
  274. package/src/components/or-tag-v3/styles.ts +1 -1
  275. package/src/components/or-textarea-v3/styles.ts +2 -2
  276. package/src/components/or-tooltip-v3/styles.ts +1 -4
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-6
3
3
  export { s as OrBottomSheetV3 } from './OrBottomSheet-13a416ef.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-55dd2ad9.js';
6
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-c56998e7.js';
7
7
  export { s as OrCard } from './OrCard-e3a5aea4.js';
8
8
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1e44c758.js';
9
- export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-551def4e.js';
9
+ export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-005964d2.js';
10
10
  export { s as OrCardV3 } from './OrCard-cd6af82e.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
12
12
  export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
@@ -16,26 +16,26 @@ 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-c11ee2ec.js';
19
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-4e3a7560.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-c35b430f.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
- export { s as OrErrorTagV3 } from './OrErrorTag-f114e88b.js';
22
+ export { s as OrErrorTagV3 } from './OrErrorTag-308119de.js';
23
23
  export { s as OrErrorV3 } from './OrError-19198748.js';
24
- export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-cd3a4026.js';
24
+ export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-bb8e3145.js';
25
25
  export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-3a4282da.js';
26
26
  export { F as FabColor, s as OrFabV3 } from './OrFab-61131b31.js';
27
27
  export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-5240e758.js';
28
28
  export { s as OrHint } from './OrHint-1414c530.js';
29
29
  export { s as OrHintV3 } from './OrHint-6863124f.js';
30
30
  export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
31
- export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-3920ba54.js';
31
+ export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-2dcfb83e.js';
32
32
  export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-34f59f73.js';
33
33
  export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-09b33e18.js';
34
- export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-86e4383b.js';
34
+ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-4591c44d.js';
35
35
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
36
- export { s as OrInlineTextareaV3 } from './OrInlineTextarea-10826fa6.js';
36
+ export { s as OrInlineTextareaV3 } from './OrInlineTextarea-22807fd6.js';
37
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-2467d7e4.js';
38
- export { I as InputType, s as OrInputV3 } from './OrInput-2568be79.js';
38
+ export { I as InputType, s as OrInputV3 } from './OrInput-4b51848c.js';
39
39
  export { s as OrInput } from './OrInput-81125804.js';
40
40
  export { s as OrLabel } from './OrLabel-876f8729.js';
41
41
  export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
@@ -45,31 +45,31 @@ export { s as OrListOfInputs } from './OrListOfInputs-508e056f.js';
45
45
  export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
46
46
  export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-a53d2edf.js';
47
47
  export { s as OrMenuItemV3 } from './OrMenuItem-58707d47.js';
48
- export { s as OrMenuV3 } from './OrMenu-fd2fe1e7.js';
48
+ export { s as OrMenuV3 } from './OrMenu-7f3ea117.js';
49
49
  export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-40217b49.js';
50
50
  export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
51
- export { M as ModalSize, s as OrModalV3 } from './OrModal-87eaff65.js';
51
+ export { M as ModalSize, s as OrModalV3 } from './OrModal-4219a6dc.js';
52
52
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
53
- export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-7aab5f58.js';
53
+ export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-0e682c7f.js';
54
54
  export { s as OrNumberInput } from './OrNumberInput-b32b5ce3.js';
55
55
  export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
56
56
  export { s as OrOverlay } from './OrOverlay-451dce49.js';
57
57
  export { s as OrOverlayV3 } from './OrOverlay-afad3aa4.js';
58
58
  export { s as OrPassword } from './OrPassword-b0cbb578.js';
59
- export { s as OrPaginationV3 } from './OrPagination-781c119e.js';
59
+ export { s as OrPaginationV3 } from './OrPagination-da9e5017.js';
60
60
  export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
61
- export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-4856808a.js';
61
+ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-639ed5e8.js';
62
62
  export { s as OrRadio } from './OrRadio-c3ab11f2.js';
63
63
  export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
64
64
  export { s as OrRadioV3 } from './OrRadio-bb9b37c1.js';
65
65
  export { s as OrSearch } from './OrSearch-11fdf667.js';
66
- export { s as OrSearchV3 } from './OrSearch-3c7feda3.js';
66
+ export { s as OrSearchV3 } from './OrSearch-b6c48f3f.js';
67
67
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
68
68
  export { s as OrSelect } from './OrSelect-0821b907.js';
69
- export { s as OrSelectV3 } from './OrSelect-389aab9f.js';
69
+ export { s as OrSelectV3 } from './OrSelect-35f70776.js';
70
70
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
71
- export { s as OrSidebarV3 } from './OrSidebar-2c8a68df.js';
72
- export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-1ed5a3d7.js';
71
+ export { s as OrSidebarV3 } from './OrSidebar-61d84c3e.js';
72
+ export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-1b9c83ef.js';
73
73
  export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
74
74
  export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-afd3d007.js';
75
75
  export { s as OrSlider } from './OrSlider-87e2da8c.js';
@@ -81,21 +81,21 @@ export { s as OrTab } from './OrTab-bc98be02.js';
81
81
  export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
82
82
  export { s as OrTabV3 } from './OrTab-d3785ea4.js';
83
83
  export { s as OrTabs } from './OrTabs-d3812c11.js';
84
- export { s as OrTabsV3, T as TabsVariant } from './OrTabs-34c67377.js';
84
+ export { s as OrTabsV3, T as TabsVariant } from './OrTabs-328d41b9.js';
85
85
  export { s as OrTag } from './OrTag-1b5e43fa.js';
86
- export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-c5c305ed.js';
86
+ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-148ff9ae.js';
87
87
  export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
88
88
  export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
89
89
  export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
90
90
  export { s as OrTextarea } from './OrTextarea-1f5c3be1.js';
91
- export { s as OrTextareaV3 } from './OrTextarea-42d21f77.js';
91
+ export { s as OrTextareaV3 } from './OrTextarea-8b060a1b.js';
92
92
  export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
93
93
  export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
94
94
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
95
- export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-225f772b.js';
95
+ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-b79e4387.js';
96
96
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
97
97
  export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
98
- export { s as OrTooltipV3 } from './OrTooltip-229c90d5.js';
98
+ export { s as OrTooltipV3 } from './OrTooltip-b07616f4.js';
99
99
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
100
100
  export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
101
101
  export { u as useElevation } from './useElevation-31bfe1f6.js';
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
3
3
  import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
4
4
  import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
5
- import { s as script$2 } from './OrIconButton-3920ba54.js';
5
+ import { s as script$2 } from './OrIconButton-2dcfb83e.js';
6
6
  import { s as script$3 } from './OrLoader-a53d2edf.js';
7
7
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
8
8
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.74.1-beta.2289.0",
3
+ "version": "2.74.1-beta.2291.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -38,7 +38,7 @@
38
38
  "@codemirror/lang-json": "6.0.0",
39
39
  "@codemirror/lang-markdown": "6.0.1",
40
40
  "@floating-ui/dom": "0.3.1",
41
- "@onereach/styles": "^2.34.0",
41
+ "@onereach/styles": "^2.34.1-beta.2291.0",
42
42
  "@splidejs/splide": "4.0.6",
43
43
  "@types/lodash": "4.14.173",
44
44
  "@types/sortablejs": "1.10.7",
@@ -7,7 +7,7 @@ export const ButtonRoot: string[] = [
7
7
  // Shape
8
8
  'rounded-md',
9
9
 
10
- // Spacing
10
+ // Sizing
11
11
  'min-w-[96px]',
12
12
 
13
13
  // Interactivity
@@ -48,9 +48,9 @@ export const ButtonRootVariants: Record<ButtonVariant, string[]> = {
48
48
 
49
49
  'link': [
50
50
  // Spacing
51
- 'gap-xs',
51
+ 'gap-sm md:gap-xs',
52
52
 
53
- // Spacing
53
+ // Sizing
54
54
  'min-w-[auto]',
55
55
  ],
56
56
  };
@@ -0,0 +1,7 @@
1
+ import { DocsPage } from '@storybook/addon-docs';
2
+
3
+ ```ts
4
+ import { OrCombinedInputV3 as OrCombinedInput } from '@onereach/ui-components';
5
+ ```
6
+
7
+ <DocsPage />
@@ -0,0 +1,201 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ import { ref, watch } from 'vue-demi';
3
+ import { OrIconV3 as OrIcon } from '../or-icon-v3';
4
+ import { OrInputV3 as OrInput } from '../or-input-v3';
5
+ import { OrSelectV3 as OrSelect, SelectOption } from '../or-select-v3';
6
+ import OrCombinedInputDocs from './OrCombinedInput.docs.mdx';
7
+ import OrCombinedInput from './OrCombinedInput.vue';
8
+ import { CombinedInputSize } from './props';
9
+
10
+ export default {
11
+ title: 'Components/Forms/Combined Input',
12
+ component: OrCombinedInput,
13
+
14
+ argTypes: {
15
+ // Slots
16
+ default: {
17
+ type: {
18
+ name: 'string',
19
+ required: true,
20
+ },
21
+
22
+ control: { type: 'text' },
23
+ },
24
+
25
+ addon: {
26
+ type: {
27
+ name: 'string',
28
+ required: false,
29
+ },
30
+
31
+ control: { type: 'text' },
32
+ },
33
+
34
+ // Props
35
+ size: {
36
+ control: { type: 'select' },
37
+ options: Object.values(CombinedInputSize),
38
+ },
39
+
40
+ label: {
41
+ control: { type: 'text' },
42
+ },
43
+
44
+ hint: {
45
+ control: { type: 'text' },
46
+ },
47
+
48
+ error: {
49
+ control: { type: 'text' },
50
+ },
51
+
52
+ required: {
53
+ control: { type: 'boolean' },
54
+ },
55
+
56
+ readonly: {
57
+ control: { type: 'boolean' },
58
+ },
59
+
60
+ disabled: {
61
+ control: { type: 'boolean' },
62
+ },
63
+
64
+ disableDefaultStyles: {
65
+ control: { type: 'boolean' },
66
+ },
67
+ },
68
+
69
+ parameters: {
70
+ docs: {
71
+ page: OrCombinedInputDocs,
72
+ },
73
+
74
+ design: {
75
+ type: 'figma',
76
+ url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=4423%3A39753&t=grpHUrgJi4X2W67L-4',
77
+ },
78
+ },
79
+ } as Meta<typeof OrCombinedInput>;
80
+
81
+ const Template: StoryFn<typeof OrCombinedInput> = (args) => ({
82
+ components: {
83
+ OrCombinedInput,
84
+ OrIcon,
85
+ OrInput,
86
+ OrSelect,
87
+ },
88
+
89
+ setup() {
90
+ // State
91
+ const options = Array.from<string, SelectOption>([
92
+ 'Alfa',
93
+ 'Bravo',
94
+ 'Charlie',
95
+ 'Delta',
96
+ 'Echo',
97
+ 'Foxtrot',
98
+ 'Golf',
99
+ 'Hotel',
100
+ 'India',
101
+ 'Juliett',
102
+ 'Kilo',
103
+ 'Lima',
104
+ 'Mike',
105
+ 'November',
106
+ 'Oscar',
107
+ 'Papa',
108
+ 'Quebec',
109
+ 'Romeo',
110
+ 'Sierra',
111
+ 'Tango',
112
+ 'Uniform',
113
+ 'Victor',
114
+ 'Whiskey',
115
+ 'X-Ray',
116
+ 'Yankee',
117
+ 'Zulu',
118
+ ], (item) => ({
119
+ value: item.toLowerCase(),
120
+ label: item,
121
+ }));
122
+
123
+ const selectModel = ref<string>();
124
+ const inputModel = ref<string>();
125
+
126
+ // Effects
127
+ watch([selectModel, inputModel], (values) => {
128
+ console.debug(values);
129
+ });
130
+
131
+ return {
132
+ args,
133
+ options,
134
+ selectModel,
135
+ inputModel,
136
+ };
137
+ },
138
+
139
+ template: `
140
+ <OrCombinedInput v-bind="args">
141
+ ${args.default}
142
+ ${args.addon}
143
+ </OrCombinedInput>
144
+ `,
145
+ });
146
+
147
+ export const Default = Template.bind({});
148
+
149
+ Default.args = {
150
+ // Slots
151
+ default: `
152
+ <template v-slot="props">
153
+ <OrSelect
154
+ class="basis-1/4"
155
+ v-model="selectModel"
156
+ v-bind="props"
157
+ :options="options"
158
+ />
159
+
160
+ <OrInput
161
+ class="basis-3/4"
162
+ v-model="inputModel"
163
+ v-bind="props"
164
+ />
165
+ </template>
166
+ `,
167
+
168
+ // Props
169
+ label: 'Combined Input',
170
+ };
171
+
172
+ export const Addon = Template.bind({});
173
+
174
+ Addon.args = {
175
+ ...Default.args,
176
+
177
+ // Slots
178
+ addon: `
179
+ <template v-slot:addon>
180
+ <OrIcon icon="info" />
181
+ </template>
182
+ `,
183
+ };
184
+
185
+ export const Hint = Template.bind({});
186
+
187
+ Hint.args = {
188
+ ...Default.args,
189
+
190
+ // Props
191
+ hint: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
192
+ };
193
+
194
+ export const Error = Template.bind({});
195
+
196
+ Error.args = {
197
+ ...Default.args,
198
+
199
+ // Props
200
+ error: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
201
+ };
@@ -0,0 +1,130 @@
1
+ <template>
2
+ <div
3
+ ref="root"
4
+ :class="rootStyles"
5
+ >
6
+ <template v-if="label">
7
+ <OrLabel
8
+ :variant="'input'"
9
+ :required="required"
10
+ :disabled="disabled"
11
+ >
12
+ {{ label }}
13
+
14
+ <template v-slot:addon>
15
+ <slot name="addon" />
16
+ </template>
17
+ </OrLabel>
18
+ </template>
19
+
20
+ <div :class="controlGroup">
21
+ <slot
22
+ :size="size"
23
+ :required="required"
24
+ :readonly="readonly"
25
+ :disabled="disabled"
26
+ :disable-default-styles="disableDefaultStyles"
27
+ />
28
+ </div>
29
+
30
+ <template v-if="!invalid">
31
+ <template v-if="hint">
32
+ <OrHint :disabled="disabled">
33
+ {{ hint }}
34
+ </OrHint>
35
+ </template>
36
+ </template>
37
+
38
+ <template v-else>
39
+ <OrError :disabled="disabled">
40
+ {{ error }}
41
+ </OrError>
42
+ </template>
43
+ </div>
44
+ </template>
45
+
46
+ <script lang="ts">
47
+ import { computed, defineComponent, PropType, ref } from 'vue-demi';
48
+ import { OrErrorV3 as OrError } from '../or-error-v3';
49
+ import { OrHintV3 as OrHint } from '../or-hint-v3';
50
+ import { OrLabelV3 as OrLabel } from '../or-label-v3';
51
+ import { CombinedInputSize } from './props';
52
+ import { CombinedInputControlGroup, CombinedInputRoot } from './styles';
53
+
54
+ export default defineComponent({
55
+ name: 'OrCombinedInput',
56
+
57
+ components: {
58
+ OrError,
59
+ OrHint,
60
+ OrLabel,
61
+ },
62
+
63
+ props: {
64
+ size: {
65
+ type: String as PropType<CombinedInputSize>,
66
+ default: CombinedInputSize.M,
67
+ },
68
+
69
+ label: {
70
+ type: String,
71
+ default: undefined,
72
+ },
73
+
74
+ hint: {
75
+ type: String,
76
+ default: undefined,
77
+ },
78
+
79
+ error: {
80
+ type: String,
81
+ default: undefined,
82
+ },
83
+
84
+ required: {
85
+ type: Boolean,
86
+ default: false,
87
+ },
88
+
89
+ readonly: {
90
+ type: Boolean,
91
+ default: false,
92
+ },
93
+
94
+ disabled: {
95
+ type: Boolean,
96
+ default: false,
97
+ },
98
+
99
+ disableDefaultStyles: {
100
+ type: Boolean,
101
+ default: false,
102
+ },
103
+ },
104
+
105
+ setup(props, context) {
106
+ // Refs
107
+ const root = ref<HTMLElement>();
108
+
109
+ // Styles
110
+ const rootStyles = computed(() => [
111
+ 'or-combined-input',
112
+ ...CombinedInputRoot,
113
+ ]);
114
+
115
+ const controlGroup = computed(() => [
116
+ ...CombinedInputControlGroup,
117
+ ]);
118
+
119
+ // State
120
+ const invalid = computed(() => !!props.error);
121
+
122
+ return {
123
+ root,
124
+ rootStyles,
125
+ controlGroup,
126
+ invalid,
127
+ };
128
+ },
129
+ });
130
+ </script>
@@ -0,0 +1,2 @@
1
+ export { default as OrCombinedInputV3 } from './OrCombinedInput.vue';
2
+ export * from './props';
@@ -0,0 +1 @@
1
+ export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
@@ -0,0 +1,25 @@
1
+ export const CombinedInputRoot: string[] = [
2
+ // Layout
3
+ 'layout-column',
4
+
5
+ // Spacing
6
+ 'gap-xs',
7
+ ];
8
+
9
+ export const CombinedInputControlGroup: string[] = [
10
+ // Layout
11
+ 'layout-row',
12
+
13
+ // Box
14
+ 'w-full',
15
+
16
+ // Shape (.or-input-box)
17
+ '[&_.or-input-box]:first-child:rounded-r-0',
18
+ '[&_.or-input-box]:intermediate-child:rounded-0',
19
+ '[&_.or-input-box]:last-child:rounded-l-0',
20
+
21
+ // Spacing (.or-input-box)
22
+ '[&_.or-input-box]:first-child:mr-[-1px]',
23
+ '[&_.or-input-box]:intermediate-child:border-x-0',
24
+ '[&_.or-input-box]:last-child:ml-[-1px]',
25
+ ];
@@ -11,12 +11,12 @@ export const EmptyStateRoot: string[] = [
11
11
  // Box
12
12
  'w-full',
13
13
 
14
- // Spacing
14
+ // Sizing
15
15
  'gap-sm',
16
16
  ];
17
17
 
18
18
  export const EmptyStateImage = [
19
- // Spacing
19
+ // Sizing
20
20
  'mb-sm',
21
21
  ];
22
22
 
@@ -3,7 +3,7 @@ export const ErrorTagRoot: string[] = [
3
3
  'layout-inline-row',
4
4
 
5
5
  // Box
6
- 'max-w-min',
6
+ 'max-w-fit',
7
7
 
8
8
  // Shape
9
9
  'rounded-full',
@@ -9,8 +9,8 @@ export const InlineInputRoot: string[] = [
9
9
  ];
10
10
 
11
11
  export const InlineInputControl: string[] = [
12
- // Layout
13
- 'grow',
12
+ // Box
13
+ 'w-full',
14
14
 
15
15
  // Typography
16
16
  'typography-inherit',
@@ -7,8 +7,8 @@ export const InlineTextareaRoot: string[] = [
7
7
  ];
8
8
 
9
9
  export const InlineTextareaControl: string[] = [
10
- // Layout
11
- 'grow',
10
+ // Box
11
+ 'w-full',
12
12
 
13
13
  // Typography
14
14
  'typography-inherit',
@@ -7,8 +7,8 @@ export const InputRoot: string[] = [
7
7
  ];
8
8
 
9
9
  export const InputControl: string[] = [
10
- // Layout
11
- 'grow',
10
+ // Box
11
+ 'w-full',
12
12
 
13
13
  // Typography
14
14
  'typography-inherit',