@onereach/ui-components 2.74.13-beta.2365.0 → 2.74.13

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 (202) hide show
  1. package/dist/bundled/v2/{OrButton-0a9470c0.js → OrButton-0242b4c0.js} +1 -1
  2. package/dist/bundled/v2/{OrCardCollection-638bc4a8.js → OrCardCollection-04e767c2.js} +2 -2
  3. package/dist/bundled/v2/{OrConfirm-f7ade1d1.js → OrConfirm-a76ff6d2.js} +2 -2
  4. package/dist/bundled/v2/{OrInlineInput-20e93482.js → OrInlineInput-9304f205.js} +11 -9
  5. package/dist/bundled/v2/{OrInlineTextarea-e849ae9b.js → OrInlineTextarea-e0d28fc6.js} +11 -9
  6. package/dist/bundled/v2/{OrInput-15c2b072.js → OrInput-b8511a0c.js} +13 -12
  7. package/dist/bundled/v2/{OrInputBox-9a31d211.js → OrInputBox-e54dcef9.js} +12 -2
  8. package/dist/bundled/v2/{OrLoader-cf28bfa6.js → OrLoader-6bec8824.js} +10 -2
  9. package/dist/bundled/v2/{OrPagination-95f37111.js → OrPagination-166592a5.js} +1 -1
  10. package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-01123d1f.js} +6 -2
  11. package/dist/bundled/v2/{OrSearch-8df5d7fd.js → OrSearch-60b64568.js} +2 -2
  12. package/dist/bundled/v2/{OrSelect-3ac5eefe.js → OrSelect-752bdd3b.js} +10 -11
  13. package/dist/bundled/v2/{OrSwitch-34f79eb1.js → OrSwitch-aa0da6b9.js} +1 -1
  14. package/dist/bundled/v2/{OrTextarea-53d756e4.js → OrTextarea-5fdf63d0.js} +12 -11
  15. package/dist/bundled/v2/components/index.js +15 -16
  16. package/dist/bundled/v2/components/or-button-v3/index.js +3 -2
  17. package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -7
  18. package/dist/bundled/v2/components/or-confirm-v3/index.js +5 -6
  19. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  20. package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
  21. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  22. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
  23. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
  24. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  25. package/dist/bundled/v2/components/or-input-v3/index.js +3 -4
  26. package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
  27. package/dist/bundled/v2/components/or-loader-v3/index.js +2 -1
  28. package/dist/bundled/v2/components/or-pagination-v3/index.js +4 -4
  29. package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
  30. package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
  31. package/dist/bundled/v2/components/or-search-v3/index.js +4 -5
  32. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  33. package/dist/bundled/v2/components/or-select-v3/index.js +4 -5
  34. package/dist/bundled/v2/components/or-switch-v3/index.js +3 -2
  35. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  36. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
  37. package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
  38. package/dist/bundled/v2/index.js +16 -17
  39. package/dist/bundled/v2/{types-0e3ca5b9.js → types-e494517f.js} +1 -1
  40. package/dist/bundled/v3/{OrButton-a5b98ee2.js → OrButton-452d3149.js} +1 -1
  41. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-e75f9a10.js → OrButton.vue_vue_type_script_lang-7d4f420c.js} +2 -2
  42. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-990fb52d.js → OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js} +3 -3
  43. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-8ac01851.js → OrConfirm.vue_vue_type_script_lang-b550c3d3.js} +4 -4
  44. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js} +5 -3
  45. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js} +5 -3
  46. package/dist/bundled/v3/{OrInput-2c10c351.js → OrInput-6d49f353.js} +5 -5
  47. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-ce8b23e8.js → OrInput.vue_vue_type_script_lang-af68d0e7.js} +9 -8
  48. package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
  49. package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
  50. package/dist/bundled/v3/{OrLoader-663e062d.js → OrLoader-be9d72cd.js} +11 -11
  51. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-8fc03499.js → OrLoader.vue_vue_type_script_lang-65971a23.js} +8 -0
  52. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-b6e7592e.js → OrPagination.vue_vue_type_script_lang-a79c359c.js} +2 -2
  53. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-c387db0b.js} +4 -0
  54. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-db6e6f7f.js → OrSearch.vue_vue_type_script_lang-8c37e5a7.js} +3 -3
  55. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-52193c4c.js → OrSelect.vue_vue_type_script_lang-35ac0247.js} +8 -9
  56. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-f6039c8f.js → OrSwitch.vue_vue_type_script_lang-fd43080e.js} +2 -2
  57. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +7 -6
  58. package/dist/bundled/v3/{OrToastContainer-5c99d3ce.js → OrToastContainer-6a85ebf8.js} +1 -1
  59. package/dist/bundled/v3/components/index.js +19 -20
  60. package/dist/bundled/v3/components/or-button-v3/index.js +4 -3
  61. package/dist/bundled/v3/components/or-card-collection-v3/index.js +10 -11
  62. package/dist/bundled/v3/components/or-confirm-v3/index.js +9 -10
  63. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  64. package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
  65. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  66. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
  67. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
  68. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  69. package/dist/bundled/v3/components/or-input-v3/index.js +5 -6
  70. package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
  71. package/dist/bundled/v3/components/or-loader-v3/index.js +2 -1
  72. package/dist/bundled/v3/components/or-pagination-v3/index.js +6 -6
  73. package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
  74. package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
  75. package/dist/bundled/v3/components/or-search-v3/index.js +7 -8
  76. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  77. package/dist/bundled/v3/components/or-select-v3/index.js +7 -8
  78. package/dist/bundled/v3/components/or-switch-v3/index.js +4 -3
  79. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  80. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
  81. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  82. package/dist/bundled/v3/index.js +65 -65
  83. package/dist/bundled/v3/{types-5a9ace3b.js → types-661a05a5.js} +2 -2
  84. package/dist/esm/v2/{OrButton-49f7f20b.js → OrButton-c5ec96e7.js} +1 -1
  85. package/dist/esm/v2/{OrCardCollection-ffa4e842.js → OrCardCollection-f7856175.js} +3 -3
  86. package/dist/esm/v2/{OrConfirm-73a902ce.js → OrConfirm-98d62065.js} +2 -2
  87. package/dist/esm/v2/{OrInlineInput-b003ddde.js → OrInlineInput-df02ab5d.js} +11 -9
  88. package/dist/esm/v2/{OrInlineTextarea-6349b529.js → OrInlineTextarea-ad120656.js} +11 -9
  89. package/dist/esm/v2/{OrInput-67eb3178.js → OrInput-3bb91436.js} +13 -12
  90. package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
  91. package/dist/esm/v2/{OrLoader-8f1f3af1.js → OrLoader-b11ed386.js} +10 -2
  92. package/dist/esm/v2/{OrPagination-81d4476a.js → OrPagination-a9233838.js} +1 -1
  93. package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-ff999494.js} +6 -2
  94. package/dist/esm/v2/{OrSearch-a5cab600.js → OrSearch-dad9b02f.js} +2 -2
  95. package/dist/esm/v2/{OrSelect-2773ebeb.js → OrSelect-7ef80130.js} +10 -11
  96. package/dist/esm/v2/{OrSwitch-1bd5b4d1.js → OrSwitch-6129b63d.js} +1 -1
  97. package/dist/esm/v2/{OrTextarea-0bf9bf33.js → OrTextarea-0a64f718.js} +12 -11
  98. package/dist/esm/v2/components/index.js +15 -16
  99. package/dist/esm/v2/components/or-button-v3/index.js +3 -2
  100. package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -8
  101. package/dist/esm/v2/components/or-confirm-v3/index.js +5 -6
  102. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  103. package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
  104. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  105. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
  106. package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
  107. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  108. package/dist/esm/v2/components/or-input-v3/index.js +3 -4
  109. package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
  110. package/dist/esm/v2/components/or-loader-v3/index.js +2 -1
  111. package/dist/esm/v2/components/or-pagination-v3/index.js +4 -4
  112. package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
  113. package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
  114. package/dist/esm/v2/components/or-search-v3/index.js +4 -5
  115. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  116. package/dist/esm/v2/components/or-select-v3/index.js +4 -5
  117. package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
  118. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  119. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
  120. package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
  121. package/dist/esm/v2/index.js +15 -16
  122. package/dist/esm/v2/{types-d5127999.js → types-e9a54dcf.js} +1 -1
  123. package/dist/esm/v3/{OrButton-eab948fb.js → OrButton-9f059df6.js} +1 -1
  124. package/dist/esm/v3/{OrCardCollection-274a413e.js → OrCardCollection-4cb41408.js} +2 -2
  125. package/dist/esm/v3/{OrConfirm-c73aa589.js → OrConfirm-19da64d1.js} +2 -2
  126. package/dist/esm/v3/{OrInlineInput-65127ed7.js → OrInlineInput-cd3753ee.js} +9 -7
  127. package/dist/esm/v3/{OrInlineTextarea-176a2701.js → OrInlineTextarea-4c5b0390.js} +9 -7
  128. package/dist/esm/v3/{OrInput-86c9d300.js → OrInput-ae9f6871.js} +10 -8
  129. package/dist/esm/v3/{OrLoader-3a918ce9.js → OrLoader-18f66bca.js} +18 -10
  130. package/dist/esm/v3/{OrPagination-94c2095f.js → OrPagination-183803e7.js} +1 -1
  131. package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-f881a58a.js} +15 -10
  132. package/dist/esm/v3/{OrSearch-1a92f8cf.js → OrSearch-6f6b4fcd.js} +1 -1
  133. package/dist/esm/v3/{OrSelect-e1443e71.js → OrSelect-96bf9b63.js} +9 -9
  134. package/dist/esm/v3/{OrSwitch-0e92c92c.js → OrSwitch-2a23a9b8.js} +1 -1
  135. package/dist/esm/v3/{OrTextarea-14a6b456.js → OrTextarea-42d21f77.js} +9 -7
  136. package/dist/esm/v3/components/index.js +14 -14
  137. package/dist/esm/v3/components/or-button-v3/index.js +3 -2
  138. package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -6
  139. package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
  140. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  141. package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
  142. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  143. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
  144. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  145. package/dist/esm/v3/components/or-input-v3/index.js +2 -2
  146. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -0
  147. package/dist/esm/v3/components/or-loader-v3/index.js +2 -1
  148. package/dist/esm/v3/components/or-pagination-v3/index.js +4 -4
  149. package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -0
  150. package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
  151. package/dist/esm/v3/components/or-search-v3/index.js +3 -3
  152. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  153. package/dist/esm/v3/components/or-select-v3/index.js +3 -3
  154. package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
  155. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  156. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  157. package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
  158. package/dist/esm/v3/index.js +14 -14
  159. package/dist/esm/v3/{types-f6f8ab6b.js → types-b9717ff2.js} +1 -1
  160. package/package.json +4 -3
  161. package/src/components/or-inline-input-v3/OrInlineInput.vue +7 -4
  162. package/src/components/or-inline-input-v3/styles.ts +2 -2
  163. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +7 -4
  164. package/src/components/or-inline-textarea-v3/styles.ts +2 -2
  165. package/src/components/or-input-v3/OrInput.vue +7 -4
  166. package/src/components/or-input-v3/styles.ts +2 -2
  167. package/src/components/or-loader-v3/OrLoader.vue +12 -2
  168. package/src/components/or-progress-v3/OrProgress.vue +9 -2
  169. package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
  170. package/src/components/or-select-v3/OrSelect.vue +6 -4
  171. package/src/components/or-select-v3/styles.ts +1 -4
  172. package/src/components/or-textarea-v3/OrTextarea.vue +7 -4
  173. package/src/components/or-textarea-v3/styles.ts +2 -2
  174. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  175. package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
  176. package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -146
  177. package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
  178. package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  179. package/dist/bundled/v2/props-78496a2d.js +0 -12
  180. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  181. package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
  182. package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -128
  183. package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
  184. package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  185. package/dist/bundled/v3/props-78496a2d.js +0 -12
  186. package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
  187. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  188. package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
  189. package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -143
  190. package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
  191. package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  192. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  193. package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
  194. package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -127
  195. package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
  196. package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  197. package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
  198. package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
  199. package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -127
  200. package/src/components/or-combined-input-v3/index.ts +0 -2
  201. package/src/components/or-combined-input-v3/props.ts +0 -1
  202. package/src/components/or-combined-input-v3/styles.ts +0 -25
@@ -1,5 +1,5 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-2773ebeb.js';
2
- export { a as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-7ef80130.js';
2
+ export { a as SelectSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
5
5
  import '../../useOverflow-af6161c8.js';
@@ -13,8 +13,7 @@ import '../../OrError-13845bb0.js';
13
13
  import '../../OrExpansionPanel-0a12d957.js';
14
14
  import '../../OrIcon-c434985a.js';
15
15
  import '../../OrHint-78b399cb.js';
16
- import '../../OrInputBox-5c4b3104.js';
17
- import '../../OrInput-67eb3178.js';
16
+ import '../../OrInput-3bb91436.js';
18
17
  import '../../useResponsive-a02e95b7.js';
19
18
  import '../../useValidationAttributes-d1abbe34.js';
20
19
  import '../../OrIconButton-fa9bff07.js';
@@ -26,6 +25,6 @@ import '../../OrBottomSheet-c9bfe63f.js';
26
25
  import '../../OrOverlay-2ded265b.js';
27
26
  import '../../OrTeleport.vue2-fb92f29f.js';
28
27
  import 'portal-vue';
29
- import '../../OrLoader-8f1f3af1.js';
28
+ import '../../OrLoader-b11ed386.js';
30
29
  import '../../OrMenuItem-4f810513.js';
31
30
  import '../../OrTag-d559f34c.js';
@@ -1,8 +1,8 @@
1
- export { _ as OrSwitchV3 } from '../../OrSwitch-1bd5b4d1.js';
1
+ export { _ as OrSwitchV3 } from '../../OrSwitch-6129b63d.js';
2
2
  import 'vue-demi';
3
3
  import '../../useIdAttribute-859439f0.js';
4
4
  import '@vueuse/core';
5
5
  import '../../OrLabel-0945a4d9.js';
6
6
  import '../../normalize-component-6e8e3d80.js';
7
- import '../../OrLoader-8f1f3af1.js';
7
+ import '../../OrLoader-b11ed386.js';
8
8
  import '../../style-inject.es-4c6f2515.js';
@@ -21,6 +21,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
21
21
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
22
22
  currentLength: import("@vue/composition-api").ComputedRef<number>;
23
23
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
24
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
24
25
  focus: () => void;
25
26
  blur: () => void;
26
27
  }> & import("@vue/composition-api").Data, {}, {}, {
@@ -45,7 +46,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
45
46
  default: undefined;
46
47
  };
47
48
  error: {
48
- type: (BooleanConstructor | StringConstructor)[];
49
+ type: StringConstructor;
49
50
  default: undefined;
50
51
  };
51
52
  required: {
@@ -82,7 +83,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
82
83
  default: undefined;
83
84
  };
84
85
  error: {
85
- type: (BooleanConstructor | StringConstructor)[];
86
+ type: StringConstructor;
86
87
  default: undefined;
87
88
  };
88
89
  required: {
@@ -103,7 +104,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
103
104
  label: string;
104
105
  placeholder: string;
105
106
  hint: string;
106
- error: string | boolean;
107
+ error: string;
107
108
  required: boolean;
108
109
  readonly: boolean;
109
110
  disabled: boolean;
@@ -130,6 +131,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
130
131
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
131
132
  currentLength: import("@vue/composition-api").ComputedRef<number>;
132
133
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
134
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
133
135
  focus: () => void;
134
136
  blur: () => void;
135
137
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
@@ -138,7 +140,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
138
140
  label: string;
139
141
  placeholder: string;
140
142
  hint: string;
141
- error: string | boolean;
143
+ error: string;
142
144
  required: boolean;
143
145
  readonly: boolean;
144
146
  disabled: boolean;
@@ -150,7 +152,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
150
152
  label: string;
151
153
  placeholder: string;
152
154
  hint: string;
153
- error: string | boolean;
155
+ error: string;
154
156
  required: boolean;
155
157
  readonly: boolean;
156
158
  disabled: boolean;
@@ -1,5 +1,5 @@
1
- export { _ as OrTextareaV3 } from '../../OrTextarea-0bf9bf33.js';
2
- export { a as TextareaSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
1
+ export { _ as OrTextareaV3 } from '../../OrTextarea-0a64f718.js';
2
+ export { a as TextareaSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import 'vue-demi';
4
4
  import '../../useIdAttribute-859439f0.js';
5
5
  import '@vueuse/core';
@@ -7,6 +7,5 @@ import '../../useValidationAttributes-d1abbe34.js';
7
7
  import '../../OrError-13845bb0.js';
8
8
  import '../../normalize-component-6e8e3d80.js';
9
9
  import '../../OrHint-78b399cb.js';
10
- import '../../OrInputBox-5c4b3104.js';
11
10
  import '../../OrLabel-0945a4d9.js';
12
11
  import '../../style-inject.es-4c6f2515.js';
@@ -1,4 +1,4 @@
1
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-d5127999.js';
1
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-e9a54dcf.js';
2
2
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
@@ -14,5 +14,5 @@ import '../../useElevation-92fce12c.js';
14
14
  import '../../useResponsive-a02e95b7.js';
15
15
  import '../../OrBottomSheet-c9bfe63f.js';
16
16
  import '../../OrOverlay-2ded265b.js';
17
- import '../../OrLoader-8f1f3af1.js';
17
+ import '../../OrLoader-b11ed386.js';
18
18
  import '../../style-inject.es-4c6f2515.js';
@@ -5,10 +5,10 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
5
5
  export { _ as OrButtonV2 } from './OrButton-df2eea65.js';
6
6
  export { _ as OrIconButton } from './OrIconButton-9c30897c.js';
7
7
  export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-3846c424.js';
8
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-49f7f20b.js';
8
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-c5ec96e7.js';
9
9
  export { _ as OrCard } from './OrCard-c44d9783.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-050fb8d2.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-ffa4e842.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-f7856175.js';
12
12
  export { _ as OrCardV3 } from './OrCard-e89c44ef.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-d20717ec.js';
14
14
  export { _ as OrCheckbox } from './OrCheckbox-63d444f1.js';
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-9a2cdc0c.js';
19
19
  export { _ as OrCollapse } from './OrCollapse-50e3914c.js';
20
20
  export { _ 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-fa92b4fa.js';
21
21
  export { _ as OrConfirm } from './OrConfirm-f7c58a78.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-73a902ce.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-98d62065.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-4059980e.js';
24
24
  export { _ as OrError } from './OrError-efc74907.js';
25
25
  export { _ as OrErrorTagV3 } from './OrErrorTag-7cd5dc68.js';
@@ -34,12 +34,11 @@ export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-dd72b5
34
34
  export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-fa9bff07.js';
35
35
  export { I as IconButtonSize, I as IconSize, a as IconVariant, _ as OrIconV3 } from './OrIcon-c434985a.js';
36
36
  export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-46146af0.js';
37
- export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-b003ddde.js';
37
+ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-df02ab5d.js';
38
38
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b914488a.js';
39
- export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-6349b529.js';
40
- export { _ as OrInputBoxV3 } from './OrInputBox-5c4b3104.js';
41
- export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
42
- export { I as InputType, _ as OrInputV3 } from './OrInput-67eb3178.js';
39
+ export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-ad120656.js';
40
+ export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-53d1f66d.js';
41
+ export { I as InputType, _ as OrInputV3 } from './OrInput-3bb91436.js';
43
42
  export { _ as OrInput } from './OrInput-c005a759.js';
44
43
  export { _ as OrLabel } from './OrLabel-931394a5.js';
45
44
  export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-0945a4d9.js';
@@ -47,7 +46,7 @@ export { L as LinkColor, _ as OrLinkV3 } from './OrLink-597e0e18.js';
47
46
  export { _ as OrList } from './OrList-1440d8ca.js';
48
47
  export { _ as OrListOfInputs } from './OrListOfInputs-5a9fc474.js';
49
48
  export { L as LoaderViews, _ as OrLoader } from './OrLoader-212ef381.js';
50
- export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from './OrLoader-8f1f3af1.js';
49
+ export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from './OrLoader-b11ed386.js';
51
50
  export { _ as OrMenuItemV3 } from './OrMenuItem-4f810513.js';
52
51
  export { _ as OrMenuV3 } from './OrMenu-bb6e93bc.js';
53
52
  export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-a101a230.js';
@@ -60,17 +59,17 @@ export { _ as OrOverflowMenu } from './OrOverflowMenu-0f356aca.js';
60
59
  export { _ as OrOverlay } from './OrOverlay-ccec2218.js';
61
60
  export { _ as OrOverlayV3 } from './OrOverlay-2ded265b.js';
62
61
  export { _ as OrPassword } from './OrPassword-7a006ccb.js';
63
- export { _ as OrPaginationV3 } from './OrPagination-81d4476a.js';
62
+ export { _ as OrPaginationV3 } from './OrPagination-a9233838.js';
64
63
  export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-e6f20dc1.js';
65
- export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-b7d1c689.js';
64
+ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-ff999494.js';
66
65
  export { _ as OrRadio } from './OrRadio-514e8de8.js';
67
66
  export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
68
67
  export { _ as OrRadioV3 } from './OrRadio-06a54f1e.js';
69
68
  export { _ as OrSearch } from './OrSearch-1d7880eb.js';
70
- export { _ as OrSearchV3 } from './OrSearch-a5cab600.js';
69
+ export { _ as OrSearchV3 } from './OrSearch-dad9b02f.js';
71
70
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-7486115b.js';
72
71
  export { _ as OrSelect } from './OrSelect-03e79c4b.js';
73
- export { _ as OrSelectV3 } from './OrSelect-2773ebeb.js';
72
+ export { _ as OrSelectV3 } from './OrSelect-7ef80130.js';
74
73
  export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
75
74
  export { _ as OrSidebarV3 } from './OrSidebar-89711112.js';
76
75
  export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-81c77db0.js';
@@ -80,7 +79,7 @@ export { _ as OrSlider } from './OrSlider-ded83b5c.js';
80
79
  export { _ as OrSortHeaderV3 } from './OrSortHeader-ffe6bc57.js';
81
80
  export { _ as OrStepper } from './OrStepper-3e08af91.js';
82
81
  export { _ as OrSwitch } from './OrSwitch-cd24ee40.js';
83
- export { _ as OrSwitchV3 } from './OrSwitch-1bd5b4d1.js';
82
+ export { _ as OrSwitchV3 } from './OrSwitch-6129b63d.js';
84
83
  export { _ as OrTab } from './OrTab-8dfdeca0.js';
85
84
  export { _ as OrTabHeaderItem } from './OrTabHeaderItem-6a08756e.js';
86
85
  export { _ as OrTabV3 } from './OrTab-1ff87c76.js';
@@ -92,11 +91,11 @@ export { _ as OrTeleport } from './OrTeleport.vue2-f0c16c71.js';
92
91
  export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
93
92
  export { _ as OrTextV3 } from './OrText-91d662a0.js';
94
93
  export { _ as OrTextarea } from './OrTextarea-724a4d6f.js';
95
- export { _ as OrTextareaV3 } from './OrTextarea-0bf9bf33.js';
94
+ export { _ as OrTextareaV3 } from './OrTextarea-0a64f718.js';
96
95
  export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-a2cc5280.js';
97
96
  export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-8566bc09.js';
98
97
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
99
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-d5127999.js';
98
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-e9a54dcf.js';
100
99
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
101
100
  export { _ as OrTooltip } from './OrTooltip-cefc51f9.js';
102
101
  export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_styles.0-154aac4c.js';
@@ -3,7 +3,7 @@ import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTic
3
3
  import { _ as __vue_component__$4 } from './OrTeleport.vue2-fb92f29f.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
5
  import { _ as __vue_component__$2 } from './OrIconButton-fa9bff07.js';
6
- import { _ as __vue_component__$3 } from './OrLoader-8f1f3af1.js';
6
+ import { _ as __vue_component__$3 } from './OrLoader-b11ed386.js';
7
7
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
9
 
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { s as script$1 } from './OrLoader-3a918ce9.js';
2
+ import { s as script$1 } from './OrLoader-18f66bca.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
4
4
 
5
5
  var ButtonVariant;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, ref, watch } from 'vue-demi';
2
- import { s as script$3 } from './OrButton-eab948fb.js';
2
+ import { s as script$3 } from './OrButton-9f059df6.js';
3
3
  import { s as script$2 } from './OrIconButton-385e997c.js';
4
4
  import { s as script$6 } from './OrIcon-ea40e58c.js';
5
5
  import { s as script$5 } from './OrMenuItem-de91aded.js';
6
6
  import { s as script$4 } from './OrMenu-b4e8136c.js';
7
7
  import './OrPopover-35ee1b1e.js';
8
- import { s as script$7 } from './OrSearch-1a92f8cf.js';
8
+ import { s as script$7 } from './OrSearch-6f6b4fcd.js';
9
9
  import './OrInputBox-2467d7e4.js';
10
10
  import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
11
11
 
@@ -1,8 +1,8 @@
1
1
  import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
2
  import { logicAnd } from '@vueuse/math';
3
3
  import { defineComponent, ref, computed, watch } from 'vue-demi';
4
- import { s as script$2, a as ButtonColor } from './OrButton-eab948fb.js';
5
- import { s as script$3 } from './OrInput-86c9d300.js';
4
+ import { s as script$2, a as ButtonColor } from './OrButton-9f059df6.js';
5
+ import { s as script$3 } from './OrInput-ae9f6871.js';
6
6
  import { s as script$1 } from './OrOverlay-55f6cf9c.js';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
8
8
 
@@ -21,8 +21,8 @@ const InlineInputRoot = [
21
21
  // Spacing
22
22
  'gap-xs'];
23
23
  const InlineInputControl = [
24
- // Box
25
- 'w-full',
24
+ // Layout
25
+ 'grow',
26
26
  // Typography
27
27
  'typography-inherit',
28
28
  // Theme
@@ -81,7 +81,7 @@ var script = defineComponent({
81
81
  default: undefined
82
82
  },
83
83
  error: {
84
- type: [String, Boolean],
84
+ type: String,
85
85
  default: undefined
86
86
  }
87
87
  },
@@ -113,6 +113,7 @@ var script = defineComponent({
113
113
  return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
114
114
  });
115
115
  const maxLength = computed(() => controlAttributes.maxlength);
116
+ const invalid = computed(() => !!props.error);
116
117
  const activated = ref(false);
117
118
  // Handlers
118
119
  function onFocus(event) {
@@ -164,6 +165,7 @@ var script = defineComponent({
164
165
  draftModelValue,
165
166
  currentLength,
166
167
  maxLength,
168
+ invalid,
167
169
  activated,
168
170
  onFocus,
169
171
  onBlur,
@@ -189,7 +191,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
189
191
  class: normalizeClass(_ctx.rootStyles)
190
192
  }, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
191
193
  size: _ctx.size,
192
- invalid: !!_ctx.error
194
+ invalid: _ctx.invalid
193
195
  }, {
194
196
  default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
195
197
  ref: "control",
@@ -216,7 +218,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
216
218
  icon: 'close',
217
219
  color: 'inherit',
218
220
  onClick: withModifiers(_ctx.reset, ["stop"])
219
- }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
221
+ }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
220
222
  key: 0
221
223
  }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
222
224
  key: 0
@@ -229,7 +231,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
229
231
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
230
232
 
231
233
  key: "0"
232
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
234
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
233
235
  key: 1
234
236
  }, createSlots({
235
237
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
@@ -240,7 +242,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
240
242
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
241
243
 
242
244
  key: "0"
243
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
245
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */))], 2 /* CLASS */);
244
246
  }
245
247
 
246
248
  var css_248z = "\ninput[data-v-29d9ad19] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-29d9ad19]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-29d9ad19]::-webkit-search-cancel-button {\n display: none;\n}\n";
@@ -15,8 +15,8 @@ const InlineTextareaRoot = [
15
15
  // Spacing
16
16
  'gap-xs'];
17
17
  const InlineTextareaControl = [
18
- // Box
19
- 'w-full',
18
+ // Layout
19
+ 'grow',
20
20
  // Typography
21
21
  'typography-inherit',
22
22
  // Theme
@@ -59,7 +59,7 @@ var script = defineComponent({
59
59
  default: undefined
60
60
  },
61
61
  error: {
62
- type: [String, Boolean],
62
+ type: String,
63
63
  default: undefined
64
64
  }
65
65
  },
@@ -91,6 +91,7 @@ var script = defineComponent({
91
91
  return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
92
92
  });
93
93
  const maxLength = computed(() => controlAttributes.maxlength);
94
+ const invalid = computed(() => !!props.error);
94
95
  const activated = ref(false);
95
96
  // Handlers
96
97
  function onFocus(event) {
@@ -142,6 +143,7 @@ var script = defineComponent({
142
143
  draftModelValue,
143
144
  currentLength,
144
145
  maxLength,
146
+ invalid,
145
147
  activated,
146
148
  onFocus,
147
149
  onBlur,
@@ -167,7 +169,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
167
169
  class: normalizeClass(_ctx.rootStyles)
168
170
  }, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
169
171
  size: 's',
170
- invalid: !!_ctx.error
172
+ invalid: _ctx.invalid
171
173
  }, {
172
174
  default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
173
175
  ref: "control",
@@ -193,7 +195,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
193
195
  icon: 'close',
194
196
  color: 'inherit',
195
197
  onClick: withModifiers(_ctx.reset, ["stop"])
196
- }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
198
+ }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
197
199
  key: 0
198
200
  }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
199
201
  key: 0
@@ -206,7 +208,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
206
208
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
207
209
 
208
210
  key: "0"
209
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
211
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
210
212
  key: 1
211
213
  }, createSlots({
212
214
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
@@ -217,7 +219,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
217
219
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
218
220
 
219
221
  key: "0"
220
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
222
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */))], 2 /* CLASS */);
221
223
  }
222
224
 
223
225
  var css_248z = "\ntextarea[data-v-3f016b22] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
@@ -9,7 +9,7 @@ import { s as script$4 } from './OrIconButton-385e997c.js';
9
9
  import { s as script$3 } from './OrIcon-ea40e58c.js';
10
10
  import { s as script$5, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
11
11
  import { s as script$6 } from './OrLabel-f700f9fb.js';
12
- import { s as script$7 } from './OrLoader-3a918ce9.js';
12
+ import { s as script$7 } from './OrLoader-18f66bca.js';
13
13
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, Fragment, withModifiers, createSlots } from 'vue';
14
14
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
15
15
 
@@ -27,8 +27,8 @@ const InputRoot = [
27
27
  // Spacing
28
28
  'gap-xs'];
29
29
  const InputControl = [
30
- // Box
31
- 'w-full',
30
+ // Layout
31
+ 'grow',
32
32
  // Typography
33
33
  'typography-inherit',
34
34
  // Theme
@@ -75,7 +75,7 @@ var script = defineComponent({
75
75
  default: undefined
76
76
  },
77
77
  error: {
78
- type: [String, Boolean],
78
+ type: String,
79
79
  default: undefined
80
80
  },
81
81
  loading: {
@@ -129,6 +129,7 @@ var script = defineComponent({
129
129
  return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
130
130
  });
131
131
  const maxLength = computed(() => controlAttributes.maxlength);
132
+ const invalid = computed(() => !!props.error);
132
133
  const disclosed = ref(false);
133
134
  const {
134
135
  isMobile
@@ -151,6 +152,7 @@ var script = defineComponent({
151
152
  proxyModelValue,
152
153
  currentLength,
153
154
  maxLength,
155
+ invalid,
154
156
  disclosed,
155
157
  isMobile,
156
158
  focus,
@@ -188,7 +190,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
188
190
  }, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
189
191
  variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
190
192
  size: _ctx.size,
191
- invalid: !!_ctx.error,
193
+ invalid: _ctx.invalid,
192
194
  readonly: _ctx.readonly || _ctx.loading,
193
195
  disabled: _ctx.disabled
194
196
  }, {
@@ -238,7 +240,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
238
240
  }))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
239
241
 
240
242
  _: 1 /* STABLE */
241
- }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
243
+ }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
242
244
  key: 1
243
245
  }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
244
246
  key: 0,
@@ -252,7 +254,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
252
254
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
253
255
 
254
256
  key: "0"
255
- } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
257
+ } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
256
258
  key: 2,
257
259
  disabled: _ctx.disabled
258
260
  }, createSlots({
@@ -264,7 +266,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
264
266
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
265
267
 
266
268
  key: "0"
267
- } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
269
+ } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
268
270
  }
269
271
 
270
272
  var css_248z = "\ninput[data-v-78975fa2] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-78975fa2]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-78975fa2]::-webkit-search-cancel-button {\n display: none;\n}\n";
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
+ import { useElementSize } from '@vueuse/core';
2
3
  import { openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
3
4
 
4
5
  var LoaderVariant;
@@ -69,6 +70,9 @@ var script = defineComponent({
69
70
  setup(props) {
70
71
  // Refs
71
72
  const root = ref();
73
+ const {
74
+ width: loaderContainerWidth
75
+ } = useElementSize(root);
72
76
  // Styles
73
77
  const rootStyles = computed(() => ['or-loader', ...LoaderRoot, ...LoaderRootColors[props.color]]);
74
78
  const titleStyles = computed(() => [...LoaderTitle]);
@@ -83,6 +87,9 @@ var script = defineComponent({
83
87
  return 16;
84
88
  }
85
89
  });
90
+ const strokeWidth = computed(() => {
91
+ return loaderContainerWidth.value ? loaderContainerWidth.value - 2 : '100%';
92
+ });
86
93
  /**
87
94
  * Preserves circular loading indicator from shrinking caused by external styles.
88
95
  */
@@ -96,6 +103,7 @@ var script = defineComponent({
96
103
  titleStyles,
97
104
  descriptionStyles,
98
105
  computedSize,
106
+ strokeWidth,
99
107
  wrapperStyle
100
108
  };
101
109
  }
@@ -118,14 +126,8 @@ const _hoisted_5 = {
118
126
  "stroke-width": "4",
119
127
  "stroke-linecap": "round"
120
128
  };
121
- const _hoisted_6 = /*#__PURE__*/createElementVNode("line", {
122
- class: /*#__PURE__*/normalizeClass(['stroke-surface-variant', 'dark:stroke-surface-variant-dark']),
123
- x1: "2",
124
- y1: "50%",
125
- x2: "calc(100% - 2px)",
126
- y2: "50%"
127
- }, null, -1 /* HOISTED */);
128
- const _hoisted_7 = ["stroke"];
129
+ const _hoisted_6 = ["x2"];
130
+ const _hoisted_7 = ["x2", "stroke"];
129
131
  function render(_ctx, _cache, $props, $setup, $data, $options) {
130
132
  return openBlock(), createElementBlock("div", {
131
133
  ref: "root",
@@ -147,11 +149,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
147
149
  cy: "50%",
148
150
  r: "7",
149
151
  stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
150
- }, null, 8 /* PROPS */, _hoisted_3)])], 8 /* PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), _ctx.variant === 'linear' ? (openBlock(), createElementBlock("svg", _hoisted_4, [createElementVNode("g", _hoisted_5, [_hoisted_6, createElementVNode("line", {
152
+ }, null, 8 /* PROPS */, _hoisted_3)])], 8 /* PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), _ctx.variant === 'linear' ? (openBlock(), createElementBlock("svg", _hoisted_4, [createElementVNode("g", _hoisted_5, [createElementVNode("line", {
153
+ class: normalizeClass(['stroke-surface-variant', 'dark:stroke-surface-variant-dark']),
154
+ x1: "2",
155
+ y1: "50%",
156
+ x2: _ctx.strokeWidth,
157
+ y2: "50%"
158
+ }, null, 8 /* PROPS */, _hoisted_6), createElementVNode("line", {
151
159
  class: normalizeClass(['animate-linear-loader', 'origin-center']),
152
160
  x1: "2",
153
161
  y1: "50%",
154
- x2: "calc(100% - 2px)",
162
+ x2: _ctx.strokeWidth,
155
163
  y2: "50%",
156
164
  stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
157
165
  }, null, 8 /* PROPS */, _hoisted_7)])])) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */), _ctx.description ? (openBlock(), createElementBlock("div", {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { s as script$1 } from './OrButton-eab948fb.js';
2
+ import { s as script$1 } from './OrButton-9f059df6.js';
3
3
  import { s as script$2 } from './OrIcon-ea40e58c.js';
4
4
  import { s as script$4 } from './OrMenuItem-de91aded.js';
5
5
  import { s as script$3 } from './OrMenu-b4e8136c.js';