@onereach/ui-components 2.75.2-beta.2389.0 → 2.75.2-beta.2391.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 (151) hide show
  1. package/dist/bundled/v2/{OrCardCollection-a9cc4cd6.js → OrCardCollection-04e767c2.js} +1 -1
  2. package/dist/bundled/v2/{OrConfirm-de17ffd2.js → OrConfirm-a76ff6d2.js} +1 -1
  3. package/dist/bundled/v2/{OrInlineInput-20e93482.js → OrInlineInput-9304f205.js} +11 -9
  4. package/dist/bundled/v2/{OrInlineTextarea-e849ae9b.js → OrInlineTextarea-e0d28fc6.js} +11 -9
  5. package/dist/bundled/v2/{OrInput-7e5430e1.js → OrInput-b8511a0c.js} +12 -11
  6. package/dist/bundled/v2/{OrInputBox-9a31d211.js → OrInputBox-e54dcef9.js} +12 -2
  7. package/dist/bundled/v2/{OrModal-d845da2d.js → OrModal-5f094323.js} +4 -4
  8. package/dist/bundled/v2/{OrSearch-b3f34499.js → OrSearch-60b64568.js} +2 -2
  9. package/dist/bundled/v2/{OrSelect-982350b0.js → OrSelect-752bdd3b.js} +10 -11
  10. package/dist/bundled/v2/{OrTextarea-53d756e4.js → OrTextarea-5fdf63d0.js} +12 -11
  11. package/dist/bundled/v2/components/index.js +10 -11
  12. package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -5
  13. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -4
  14. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  15. package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
  16. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  17. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
  18. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
  19. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  20. package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
  21. package/dist/bundled/v2/components/or-modal-v3/index.js +1 -1
  22. package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
  23. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  24. package/dist/bundled/v2/components/or-select-v3/index.js +3 -4
  25. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  26. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
  27. package/dist/bundled/v2/index.js +11 -12
  28. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-fdf213e1.js → OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js} +1 -1
  29. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7a81cfa6.js → OrConfirm.vue_vue_type_script_lang-b550c3d3.js} +2 -2
  30. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js} +5 -3
  31. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js} +5 -3
  32. package/dist/bundled/v3/{OrInput-c514ceff.js → OrInput-6d49f353.js} +5 -5
  33. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-09a6138d.js → OrInput.vue_vue_type_script_lang-af68d0e7.js} +7 -6
  34. package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
  35. package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
  36. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-3f3ce339.js → OrModal.vue_vue_type_script_lang-92339e0f.js} +4 -4
  37. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-42283e88.js → OrSearch.vue_vue_type_script_lang-8c37e5a7.js} +3 -3
  38. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-c43b8138.js → OrSelect.vue_vue_type_script_lang-35ac0247.js} +8 -9
  39. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +7 -6
  40. package/dist/bundled/v3/components/index.js +12 -13
  41. package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -7
  42. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -6
  43. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  44. package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
  45. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  46. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
  47. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
  48. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  49. package/dist/bundled/v3/components/or-input-v3/index.js +3 -4
  50. package/dist/bundled/v3/components/or-modal-v3/index.js +1 -1
  51. package/dist/bundled/v3/components/or-search-v3/index.js +5 -6
  52. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  53. package/dist/bundled/v3/components/or-select-v3/index.js +5 -6
  54. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  55. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
  56. package/dist/bundled/v3/index.js +36 -37
  57. package/dist/esm/v2/{OrCardCollection-77a9b0b5.js → OrCardCollection-f7856175.js} +2 -2
  58. package/dist/esm/v2/{OrConfirm-81ae8af5.js → OrConfirm-98d62065.js} +1 -1
  59. package/dist/esm/v2/{OrInlineInput-b003ddde.js → OrInlineInput-df02ab5d.js} +11 -9
  60. package/dist/esm/v2/{OrInlineTextarea-6349b529.js → OrInlineTextarea-ad120656.js} +11 -9
  61. package/dist/esm/v2/{OrInput-d4707fb9.js → OrInput-3bb91436.js} +12 -11
  62. package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
  63. package/dist/esm/v2/{OrModal-370cfc3b.js → OrModal-407f3ac7.js} +4 -4
  64. package/dist/esm/v2/{OrSearch-5b257f78.js → OrSearch-dad9b02f.js} +2 -2
  65. package/dist/esm/v2/{OrSelect-246d8584.js → OrSelect-7ef80130.js} +10 -11
  66. package/dist/esm/v2/{OrTextarea-0bf9bf33.js → OrTextarea-0a64f718.js} +12 -11
  67. package/dist/esm/v2/components/index.js +10 -11
  68. package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -5
  69. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -4
  70. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  71. package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
  72. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  73. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
  74. package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
  75. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  76. package/dist/esm/v2/components/or-input-v3/index.js +2 -3
  77. package/dist/esm/v2/components/or-modal-v3/index.js +1 -1
  78. package/dist/esm/v2/components/or-search-v3/index.js +3 -4
  79. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  80. package/dist/esm/v2/components/or-select-v3/index.js +3 -4
  81. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  82. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
  83. package/dist/esm/v2/index.js +10 -11
  84. package/dist/esm/v3/{OrCardCollection-e8ab1e4f.js → OrCardCollection-4cb41408.js} +1 -1
  85. package/dist/esm/v3/{OrConfirm-19397045.js → OrConfirm-19da64d1.js} +1 -1
  86. package/dist/esm/v3/{OrInlineInput-65127ed7.js → OrInlineInput-cd3753ee.js} +9 -7
  87. package/dist/esm/v3/{OrInlineTextarea-176a2701.js → OrInlineTextarea-4c5b0390.js} +9 -7
  88. package/dist/esm/v3/{OrInput-209bd3fc.js → OrInput-ae9f6871.js} +9 -7
  89. package/dist/esm/v3/{OrModal-f9f2279b.js → OrModal-17c3a1cb.js} +4 -4
  90. package/dist/esm/v3/{OrSearch-3bba0a99.js → OrSearch-6f6b4fcd.js} +1 -1
  91. package/dist/esm/v3/{OrSelect-ba567dd1.js → OrSelect-96bf9b63.js} +9 -9
  92. package/dist/esm/v3/{OrTextarea-14a6b456.js → OrTextarea-42d21f77.js} +9 -7
  93. package/dist/esm/v3/components/index.js +9 -9
  94. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
  95. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  96. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  97. package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
  98. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  99. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
  100. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  101. package/dist/esm/v3/components/or-input-v3/index.js +1 -1
  102. package/dist/esm/v3/components/or-modal-v3/index.js +1 -1
  103. package/dist/esm/v3/components/or-search-v3/index.js +2 -2
  104. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  105. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  106. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  107. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  108. package/dist/esm/v3/index.js +9 -9
  109. package/package.json +2 -2
  110. package/src/components/or-inline-input-v3/OrInlineInput.vue +7 -4
  111. package/src/components/or-inline-input-v3/styles.ts +2 -2
  112. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +7 -4
  113. package/src/components/or-inline-textarea-v3/styles.ts +2 -2
  114. package/src/components/or-input-v3/OrInput.vue +7 -4
  115. package/src/components/or-input-v3/styles.ts +2 -2
  116. package/src/components/or-modal-v3/OrModal.stories3.ts +19 -0
  117. package/src/components/or-modal-v3/styles.ts +1 -4
  118. package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
  119. package/src/components/or-select-v3/OrSelect.vue +6 -4
  120. package/src/components/or-select-v3/styles.ts +1 -4
  121. package/src/components/or-textarea-v3/OrTextarea.vue +7 -4
  122. package/src/components/or-textarea-v3/styles.ts +2 -2
  123. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  124. package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
  125. package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -146
  126. package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
  127. package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  128. package/dist/bundled/v2/props-78496a2d.js +0 -12
  129. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  130. package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
  131. package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -128
  132. package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
  133. package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  134. package/dist/bundled/v3/props-78496a2d.js +0 -12
  135. package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
  136. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  137. package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
  138. package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -143
  139. package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
  140. package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  141. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  142. package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
  143. package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -127
  144. package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
  145. package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  146. package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
  147. package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
  148. package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -127
  149. package/src/components/or-combined-input-v3/index.ts +0 -2
  150. package/src/components/or-combined-input-v3/props.ts +0 -1
  151. package/src/components/or-combined-input-v3/styles.ts +0 -25
@@ -24,6 +24,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
24
24
  noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
25
25
  controlId: import("@vue/composition-api").Ref<string>;
26
26
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
27
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
27
28
  readonly: import("@vue/composition-api").ComputedRef<boolean>;
28
29
  selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
29
30
  searchText: import("@vue/composition-api").Ref<string>;
@@ -72,7 +73,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
72
73
  default: undefined;
73
74
  };
74
75
  error: {
75
- type: (BooleanConstructor | StringConstructor)[];
76
+ type: StringConstructor;
76
77
  default: undefined;
77
78
  };
78
79
  required: {
@@ -137,7 +138,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
137
138
  default: undefined;
138
139
  };
139
140
  error: {
140
- type: (BooleanConstructor | StringConstructor)[];
141
+ type: StringConstructor;
141
142
  default: undefined;
142
143
  };
143
144
  required: {
@@ -177,7 +178,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
177
178
  size: SelectSize;
178
179
  placeholder: string;
179
180
  hint: string;
180
- error: string | boolean;
181
+ error: string;
181
182
  required: boolean;
182
183
  disabled: boolean;
183
184
  disableDefaultStyles: boolean;
@@ -210,6 +211,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
210
211
  noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
211
212
  controlId: import("@vue/composition-api").Ref<string>;
212
213
  proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
214
+ invalid: import("@vue/composition-api").ComputedRef<boolean>;
213
215
  readonly: import("@vue/composition-api").ComputedRef<boolean>;
214
216
  selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
215
217
  searchText: import("@vue/composition-api").Ref<string>;
@@ -233,7 +235,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
233
235
  size: SelectSize;
234
236
  placeholder: string;
235
237
  hint: string;
236
- error: string | boolean;
238
+ error: string;
237
239
  required: boolean;
238
240
  disabled: boolean;
239
241
  disableDefaultStyles: boolean;
@@ -252,7 +254,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
252
254
  size: SelectSize;
253
255
  placeholder: string;
254
256
  hint: string;
255
- error: string | boolean;
257
+ error: string;
256
258
  required: boolean;
257
259
  disabled: boolean;
258
260
  disableDefaultStyles: boolean;
@@ -1,4 +1,4 @@
1
- export { s as OrSelectV3 } from '../../OrSelect-ba567dd1.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect-96bf9b63.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-2467d7e4.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
@@ -13,7 +13,7 @@ import '../../OrError-19198748.js';
13
13
  import '../../OrExpansionPanel-541cc4c1.js';
14
14
  import '../../OrIcon-ea40e58c.js';
15
15
  import '../../OrHint-6863124f.js';
16
- import '../../OrInput-209bd3fc.js';
16
+ import '../../OrInput-ae9f6871.js';
17
17
  import '../../useResponsive-a02e95b7.js';
18
18
  import '../../useValidationAttributes-d1abbe34.js';
19
19
  import '../../OrIconButton-385e997c.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,4 +1,4 @@
1
- export { s as OrTextareaV3 } from '../../OrTextarea-14a6b456.js';
1
+ export { s as OrTextareaV3 } from '../../OrTextarea-42d21f77.js';
2
2
  export { a as TextareaSize } from '../../OrInputBox-2467d7e4.js';
3
3
  import 'vue-demi';
4
4
  import '../../useIdAttribute-859439f0.js';
@@ -6,7 +6,7 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
6
6
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-9f059df6.js';
7
7
  export { s as OrCard } from './OrCard-e3a5aea4.js';
8
8
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1258cd45.js';
9
- export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-e8ab1e4f.js';
9
+ export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-4cb41408.js';
10
10
  export { s as OrCardV3 } from './OrCard-cd6af82e.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-a3a855e8.js';
12
12
  export { s as OrCheckbox } from './OrCheckbox-8d8887ea.js';
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-fe49ca8e.js';
16
16
  export { s as OrCollapse } from './OrCollapse-37a52e8f.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-9a149e6b.js';
18
18
  export { s as OrConfirm } from './OrConfirm-45796889.js';
19
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-19397045.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-19da64d1.js';
20
20
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-efd8aae7.js';
21
21
  export { s as OrError } from './OrError-f90296db.js';
22
22
  export { s as OrErrorTagV3 } from './OrErrorTag-0025b17c.js';
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-ed3e10
31
31
  export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-385e997c.js';
32
32
  export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-ea40e58c.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-65127ed7.js';
34
+ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-cd3753ee.js';
35
35
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-adf71cc1.js';
36
- export { s as OrInlineTextareaV3 } from './OrInlineTextarea-176a2701.js';
36
+ export { s as OrInlineTextareaV3 } from './OrInlineTextarea-4c5b0390.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-209bd3fc.js';
38
+ export { I as InputType, s as OrInputV3 } from './OrInput-ae9f6871.js';
39
39
  export { s as OrInput } from './OrInput-0dbd5a01.js';
40
40
  export { s as OrLabel } from './OrLabel-876f8729.js';
41
41
  export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
@@ -48,7 +48,7 @@ export { s as OrMenuItemV3 } from './OrMenuItem-de91aded.js';
48
48
  export { s as OrMenuV3 } from './OrMenu-b4e8136c.js';
49
49
  export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-35ee1b1e.js';
50
50
  export { s as OrModal, O as OrModalSizes } from './OrModal-153310f7.js';
51
- export { M as ModalSize, s as OrModalV3 } from './OrModal-f9f2279b.js';
51
+ export { M as ModalSize, s as OrModalV3 } from './OrModal-17c3a1cb.js';
52
52
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-2d77aae4.js';
53
53
  export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-aab2e22a.js';
54
54
  export { s as OrNumberInput } from './OrNumberInput-dca5e850.js';
@@ -63,10 +63,10 @@ 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-97fb105f.js';
65
65
  export { s as OrSearch } from './OrSearch-4a5c943b.js';
66
- export { s as OrSearchV3 } from './OrSearch-3bba0a99.js';
66
+ export { s as OrSearchV3 } from './OrSearch-6f6b4fcd.js';
67
67
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
68
68
  export { s as OrSelect } from './OrSelect-88e5dfaf.js';
69
- export { s as OrSelectV3 } from './OrSelect-ba567dd1.js';
69
+ export { s as OrSelectV3 } from './OrSelect-96bf9b63.js';
70
70
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
71
71
  export { s as OrSidebarV3 } from './OrSidebar-64703ef6.js';
72
72
  export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-506fc73c.js';
@@ -88,7 +88,7 @@ export { s as OrTeleport } from './OrTeleport.vue3-9bce0c02.js';
88
88
  export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
89
89
  export { s as OrTextV3 } from './OrText-a3b00048.js';
90
90
  export { s as OrTextarea } from './OrTextarea-de1ecb0f.js';
91
- export { s as OrTextareaV3 } from './OrTextarea-14a6b456.js';
91
+ export { s as OrTextareaV3 } from './OrTextarea-42d21f77.js';
92
92
  export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-5c1cf735.js';
93
93
  export { s as OrToast, a as OrToastContainer } from './OrToastContainer-11a58425.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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.75.2-beta.2389.0",
3
+ "version": "2.75.2-beta.2391.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.36.2-beta.2389.0",
41
+ "@onereach/styles": "^2.36.1",
42
42
  "@splidejs/splide": "4.0.6",
43
43
  "@types/lodash": "4.14.173",
44
44
  "@types/sortablejs": "1.10.7",
@@ -6,7 +6,7 @@
6
6
  <div :class="['layout-row', 'gap-sm+']">
7
7
  <OrInlineInputBox
8
8
  :size="size"
9
- :invalid="!!error"
9
+ :invalid="invalid"
10
10
  >
11
11
  <input
12
12
  ref="control"
@@ -40,7 +40,7 @@
40
40
  </template>
41
41
  </div>
42
42
 
43
- <template v-if="!error">
43
+ <template v-if="!invalid">
44
44
  <template v-if="hint || maxLength">
45
45
  <OrHint>
46
46
  {{ hint }}
@@ -55,7 +55,7 @@
55
55
  </template>
56
56
  </template>
57
57
 
58
- <template v-if="typeof error === 'string'">
58
+ <template v-else>
59
59
  <OrError>
60
60
  {{ error }}
61
61
 
@@ -127,7 +127,7 @@ export default defineComponent({
127
127
  },
128
128
 
129
129
  error: {
130
- type: [String, Boolean],
130
+ type: String,
131
131
  default: undefined,
132
132
  },
133
133
  },
@@ -188,6 +188,8 @@ export default defineComponent({
188
188
  const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
189
189
  const maxLength = computed(() => controlAttributes.maxlength);
190
190
 
191
+ const invalid = computed(() => !!props.error);
192
+
191
193
  const activated = ref(false);
192
194
 
193
195
  // Handlers
@@ -246,6 +248,7 @@ export default defineComponent({
246
248
  draftModelValue,
247
249
  currentLength,
248
250
  maxLength,
251
+ invalid,
249
252
  activated,
250
253
  onFocus,
251
254
  onBlur,
@@ -9,8 +9,8 @@ export const InlineInputRoot: string[] = [
9
9
  ];
10
10
 
11
11
  export const InlineInputControl: string[] = [
12
- // Box
13
- 'w-full',
12
+ // Layout
13
+ 'grow',
14
14
 
15
15
  // Typography
16
16
  'typography-inherit',
@@ -6,7 +6,7 @@
6
6
  <div :class="['layout-row', 'gap-sm+']">
7
7
  <OrInlineInputBox
8
8
  :size="'s'"
9
- :invalid="!!error"
9
+ :invalid="invalid"
10
10
  >
11
11
  <textarea
12
12
  ref="control"
@@ -39,7 +39,7 @@
39
39
  </template>
40
40
  </div>
41
41
 
42
- <template v-if="!error">
42
+ <template v-if="!invalid">
43
43
  <template v-if="hint || maxLength">
44
44
  <OrHint>
45
45
  {{ hint }}
@@ -54,7 +54,7 @@
54
54
  </template>
55
55
  </template>
56
56
 
57
- <template v-if="typeof error === 'string'">
57
+ <template v-else>
58
58
  <OrError>
59
59
  {{ error }}
60
60
 
@@ -115,7 +115,7 @@ export default defineComponent({
115
115
  },
116
116
 
117
117
  error: {
118
- type: [String, Boolean],
118
+ type: String,
119
119
  default: undefined,
120
120
  },
121
121
  },
@@ -175,6 +175,8 @@ export default defineComponent({
175
175
  const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
176
176
  const maxLength = computed(() => controlAttributes.maxlength);
177
177
 
178
+ const invalid = computed(() => !!props.error);
179
+
178
180
  const activated = ref(false);
179
181
 
180
182
  // Handlers
@@ -233,6 +235,7 @@ export default defineComponent({
233
235
  draftModelValue,
234
236
  currentLength,
235
237
  maxLength,
238
+ invalid,
236
239
  activated,
237
240
  onFocus,
238
241
  onBlur,
@@ -7,8 +7,8 @@ export const InlineTextareaRoot: string[] = [
7
7
  ];
8
8
 
9
9
  export const InlineTextareaControl: string[] = [
10
- // Box
11
- 'w-full',
10
+ // Layout
11
+ 'grow',
12
12
 
13
13
  // Typography
14
14
  'typography-inherit',
@@ -21,7 +21,7 @@
21
21
  <OrInputBox
22
22
  :variant="disableDefaultStyles ? 'unstyled' : 'styled'"
23
23
  :size="size"
24
- :invalid="!!error"
24
+ :invalid="invalid"
25
25
  :readonly="readonly || loading"
26
26
  :disabled="disabled"
27
27
  >
@@ -82,7 +82,7 @@
82
82
  </div>
83
83
  </OrInputBox>
84
84
 
85
- <template v-if="!error">
85
+ <template v-if="!invalid">
86
86
  <template v-if="hint || maxLength">
87
87
  <OrHint :disabled="disabled">
88
88
  {{ hint }}
@@ -97,7 +97,7 @@
97
97
  </template>
98
98
  </template>
99
99
 
100
- <template v-if="typeof error === 'string'">
100
+ <template v-else>
101
101
  <OrError :disabled="disabled">
102
102
  {{ error }}
103
103
 
@@ -175,7 +175,7 @@ export default defineComponent({
175
175
  },
176
176
 
177
177
  error: {
178
- type: [String, Boolean],
178
+ type: String,
179
179
  default: undefined,
180
180
  },
181
181
 
@@ -259,6 +259,8 @@ export default defineComponent({
259
259
  const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
260
260
  const maxLength = computed(() => controlAttributes.maxlength);
261
261
 
262
+ const invalid = computed(() => !!props.error);
263
+
262
264
  const disclosed = ref(false);
263
265
 
264
266
  const { isMobile } = useResponsive();
@@ -281,6 +283,7 @@ export default defineComponent({
281
283
  proxyModelValue,
282
284
  currentLength,
283
285
  maxLength,
286
+ invalid,
284
287
  disclosed,
285
288
  isMobile,
286
289
  focus,
@@ -7,8 +7,8 @@ export const InputRoot: string[] = [
7
7
  ];
8
8
 
9
9
  export const InputControl: string[] = [
10
- // Box
11
- 'w-full',
10
+ // Layout
11
+ 'grow',
12
12
 
13
13
  // Typography
14
14
  'typography-inherit',
@@ -1,6 +1,7 @@
1
1
  import { action } from '@storybook/addon-actions';
2
2
  import { Meta, StoryFn } from '@storybook/vue3';
3
3
  import { ref } from 'vue-demi';
4
+ import Faker from 'faker';
4
5
  import { OrButtonV3 as OrButton } from '../or-button-v3';
5
6
  import OrModalDocs from './OrModal.docs.mdx';
6
7
  import OrModal from './OrModal.vue';
@@ -257,3 +258,21 @@ zIndex.args = {
257
258
  </div>
258
259
  `,
259
260
  };
261
+
262
+ export const WithVerticalScroll = Template.bind({});
263
+
264
+ WithVerticalScroll.args = {
265
+ header: 'Upload Files',
266
+ default: `
267
+ <div class="flex items-center justify-center">
268
+ ${Faker.lorem.lines(50)}
269
+ </div>
270
+ `,
271
+
272
+ footer: `
273
+ <div class="flex items-center justify-end gap-[16px]">
274
+ <OrButton variant="outlined">Save</OrButton>
275
+ <OrButton>Upload</OrButton>
276
+ </div>
277
+ `,
278
+ };
@@ -6,7 +6,7 @@ export const ModalRoot: string[] = [
6
6
 
7
7
  // Box
8
8
  'w-full',
9
- 'h-full',
9
+ 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
10
10
 
11
11
  // Shape
12
12
  'md:rounded-md',
@@ -36,19 +36,16 @@ export const ModalRootSizes: Record<ModalSize, string[]> = {
36
36
  'l': [
37
37
  // Box
38
38
  'md:w-[1050px]',
39
- 'md:h-auto',
40
39
  ],
41
40
 
42
41
  'm': [
43
42
  // Box
44
43
  'md:w-[700px]',
45
- 'md:h-auto',
46
44
  ],
47
45
 
48
46
  's': [
49
47
  // Box
50
48
  'md:w-[480px]',
51
- 'md:h-auto',
52
49
  ],
53
50
  };
54
51
 
@@ -104,10 +104,6 @@ export default {
104
104
  control: { type: 'boolean' },
105
105
  },
106
106
 
107
- disableDefaultStyles: {
108
- control: { type: 'boolean' },
109
- },
110
-
111
107
  enableSearch: {
112
108
  control: { type: 'boolean' },
113
109
  },
@@ -25,7 +25,7 @@
25
25
  :class="[popoverState === 'open' && 'rounded-b-0']"
26
26
  :variant="disableDefaultStyles ? 'unstyled' : 'styled'"
27
27
  :size="size"
28
- :invalid="!!error"
28
+ :invalid="invalid"
29
29
  :readonly="readonly"
30
30
  :disabled="disabled"
31
31
  >
@@ -202,7 +202,7 @@
202
202
  </OrPopover>
203
203
  </OrInputBox>
204
204
 
205
- <template v-if="!error">
205
+ <template v-if="!invalid">
206
206
  <template v-if="hint">
207
207
  <OrHint :disabled="disabled">
208
208
  {{ hint }}
@@ -210,7 +210,7 @@
210
210
  </template>
211
211
  </template>
212
212
 
213
- <template v-if="typeof error === 'string'">
213
+ <template v-else>
214
214
  <OrError :disabled="disabled">
215
215
  {{ error }}
216
216
  </OrError>
@@ -306,7 +306,7 @@ export default defineComponent({
306
306
  },
307
307
 
308
308
  error: {
309
- type: [String, Boolean],
309
+ type: String,
310
310
  default: undefined,
311
311
  },
312
312
 
@@ -416,6 +416,7 @@ export default defineComponent({
416
416
  }
417
417
  });
418
418
 
419
+ const invalid = computed(() => !!props.error);
419
420
  const readonly = computed(() => context.attrs.readonly as boolean);
420
421
 
421
422
  const selection = computed(() => {
@@ -518,6 +519,7 @@ export default defineComponent({
518
519
  noSearchResultsStyles,
519
520
  controlId,
520
521
  proxyModelValue,
522
+ invalid,
521
523
  readonly,
522
524
  selection,
523
525
  searchText,
@@ -8,10 +8,7 @@ export const SelectRoot: string[] = [
8
8
 
9
9
  export const SelectControl: string[] = [
10
10
  // Layout
11
- 'layout-row',
12
-
13
- // Box
14
- 'w-full',
11
+ 'layout-row grow',
15
12
 
16
13
  // Overflow
17
14
  'overflow-hidden',
@@ -20,7 +20,7 @@
20
20
 
21
21
  <OrInputBox
22
22
  :size="size"
23
- :invalid="!!error"
23
+ :invalid="invalid"
24
24
  :readonly="readonly"
25
25
  :disabled="disabled"
26
26
  >
@@ -40,7 +40,7 @@
40
40
  />
41
41
  </OrInputBox>
42
42
 
43
- <template v-if="!error">
43
+ <template v-if="!invalid">
44
44
  <template v-if="hint || maxLength">
45
45
  <OrHint :disabled="disabled">
46
46
  {{ hint }}
@@ -55,7 +55,7 @@
55
55
  </template>
56
56
  </template>
57
57
 
58
- <template v-if="typeof error === 'string'">
58
+ <template v-else>
59
59
  <OrError :disabled="disabled">
60
60
  {{ error }}
61
61
 
@@ -122,7 +122,7 @@ export default defineComponent({
122
122
  },
123
123
 
124
124
  error: {
125
- type: [String, Boolean],
125
+ type: String,
126
126
  default: undefined,
127
127
  },
128
128
 
@@ -191,6 +191,8 @@ export default defineComponent({
191
191
  const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
192
192
  const maxLength = computed(() => controlAttributes.maxlength);
193
193
 
194
+ const invalid = computed(() => !!props.error);
195
+
194
196
  // Methods
195
197
  function focus(): void {
196
198
  control.value?.focus();
@@ -209,6 +211,7 @@ export default defineComponent({
209
211
  proxyModelValue,
210
212
  currentLength,
211
213
  maxLength,
214
+ invalid,
212
215
  focus,
213
216
  blur,
214
217
  };
@@ -7,8 +7,8 @@ export const TextareaRoot: string[] = [
7
7
  ];
8
8
 
9
9
  export const TextareaControl: string[] = [
10
- // Box
11
- 'w-full',
10
+ // Layout
11
+ 'grow',
12
12
 
13
13
  // Typography
14
14
  'typography-inherit',