@onereach/ui-components 2.75.2-beta.2390.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-e3986f07.js → OrCardCollection-04e767c2.js} +1 -1
  2. package/dist/bundled/v2/{OrConfirm-498fa802.js → OrConfirm-a76ff6d2.js} +1 -1
  3. package/dist/bundled/v2/{OrInlineInput-5f0b99f9.js → OrInlineInput-9304f205.js} +11 -25
  4. package/dist/bundled/v2/{OrInlineTextarea-975b8706.js → OrInlineTextarea-e0d28fc6.js} +11 -25
  5. package/dist/bundled/v2/{OrInput-822eb9f5.js → OrInput-b8511a0c.js} +12 -27
  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-f9d46a70.js → OrSearch-60b64568.js} +2 -2
  9. package/dist/bundled/v2/{OrSelect-0c0c01d4.js → OrSelect-752bdd3b.js} +10 -27
  10. package/dist/bundled/v2/{OrTextarea-c56f19db.js → OrTextarea-5fdf63d0.js} +12 -27
  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-f2fdaa33.js → OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js} +1 -1
  29. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2bb4e530.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-13a84d53.js → OrInput-6d49f353.js} +9 -12
  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-9028a3c5.js → OrSearch.vue_vue_type_script_lang-8c37e5a7.js} +3 -3
  38. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-30c61027.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 +131 -142
  57. package/dist/esm/v2/{OrCardCollection-59455d23.js → OrCardCollection-f7856175.js} +2 -2
  58. package/dist/esm/v2/{OrConfirm-b31e3d3d.js → OrConfirm-98d62065.js} +1 -1
  59. package/dist/esm/v2/{OrInlineInput-36d79e50.js → OrInlineInput-df02ab5d.js} +11 -25
  60. package/dist/esm/v2/{OrInlineTextarea-e2d61e44.js → OrInlineTextarea-ad120656.js} +11 -25
  61. package/dist/esm/v2/{OrInput-06003aad.js → OrInput-3bb91436.js} +12 -27
  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-44645202.js → OrSearch-dad9b02f.js} +2 -2
  65. package/dist/esm/v2/{OrSelect-a51044ed.js → OrSelect-7ef80130.js} +10 -27
  66. package/dist/esm/v2/{OrTextarea-5fa93c9a.js → OrTextarea-0a64f718.js} +12 -27
  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-5c0d53e0.js → OrCardCollection-4cb41408.js} +1 -1
  85. package/dist/esm/v3/{OrConfirm-c7304c10.js → OrConfirm-19da64d1.js} +1 -1
  86. package/dist/esm/v3/{OrInlineInput-651c9155.js → OrInlineInput-cd3753ee.js} +14 -14
  87. package/dist/esm/v3/{OrInlineTextarea-d16af66a.js → OrInlineTextarea-4c5b0390.js} +14 -14
  88. package/dist/esm/v3/{OrInput-b3939d15.js → OrInput-ae9f6871.js} +13 -14
  89. package/dist/esm/v3/{OrModal-f9f2279b.js → OrModal-17c3a1cb.js} +4 -4
  90. package/dist/esm/v3/{OrSearch-d16d0331.js → OrSearch-6f6b4fcd.js} +1 -1
  91. package/dist/esm/v3/{OrSelect-19c2e7d2.js → OrSelect-96bf9b63.js} +13 -16
  92. package/dist/esm/v3/{OrTextarea-dfc6a453.js → OrTextarea-42d21f77.js} +13 -14
  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 +9 -12
  111. package/src/components/or-inline-input-v3/styles.ts +2 -2
  112. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +9 -12
  113. package/src/components/or-inline-textarea-v3/styles.ts +2 -2
  114. package/src/components/or-input-v3/OrInput.vue +9 -12
  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 +8 -12
  120. package/src/components/or-select-v3/styles.ts +1 -4
  121. package/src/components/or-textarea-v3/OrTextarea.vue +9 -12
  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 -162
  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 -131
  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 -159
  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 -130
  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 -133
  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
@@ -6,7 +6,7 @@ import { O as OrButton } from './OrButton-0242b4c0.js';
6
6
  import { O as OrMenu } from './OrMenu-82c77b2c.js';
7
7
  import { O as OrMenuItem } from './OrMenuItem-f295292e.js';
8
8
  import { O as OrIcon } from './OrIcon-2efd1925.js';
9
- import { O as OrSearch } from './OrSearch-f9d46a70.js';
9
+ import { O as OrSearch } from './OrSearch-60b64568.js';
10
10
 
11
11
  const CardCollectionRoot = [
12
12
  // Layout
@@ -3,7 +3,7 @@ import { l as logicAnd } from './index-17f264f9.js';
3
3
  import './index-fa6eb4ca.js';
4
4
  import { O as OrOverlay } from './OrOverlay-cb55bf20.js';
5
5
  import { O as OrButton, a as ButtonColor } from './OrButton-0242b4c0.js';
6
- import { O as OrInput } from './OrInput-822eb9f5.js';
6
+ import { O as OrInput } from './OrInput-b8511a0c.js';
7
7
  import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
9
 
@@ -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,
@@ -175,7 +177,7 @@ var script = defineComponent({
175
177
  }
176
178
  });
177
179
 
178
- var css_248z = "input[data-v-21bb24c8]{min-width:0;background:0 0;outline:0}input[type=number][data-v-21bb24c8]::-webkit-inner-spin-button{display:none}input[type=search][data-v-21bb24c8]::-webkit-search-cancel-button{display:none}";
180
+ var css_248z = "input[data-v-a3451ac6]{min-width:0;background:0 0;outline:0}input[type=number][data-v-a3451ac6]::-webkit-inner-spin-button{display:none}input[type=search][data-v-a3451ac6]::-webkit-search-cancel-button{display:none}";
179
181
  styleInject(css_248z);
180
182
 
181
183
  /* script */
@@ -193,7 +195,7 @@ var __vue_render__ = function () {
193
195
  }, [_c('OrInlineInputBox', {
194
196
  attrs: {
195
197
  "size": _vm.size,
196
- "invalid": !!_vm.error
198
+ "invalid": _vm.invalid
197
199
  }
198
200
  }, [_vm.type === 'checkbox' ? _c('input', _vm._b({
199
201
  directives: [{
@@ -325,15 +327,7 @@ var __vue_render__ = function () {
325
327
  return _vm.reset.apply(null, arguments);
326
328
  }
327
329
  }
328
- })], 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
329
- directives: [{
330
- name: "show",
331
- rawName: "v-show",
332
- value: !_vm.error,
333
- expression: "!error"
334
- }],
335
- class: ['contents']
336
- }, [_vm.hint || _vm.maxLength ? [_c('OrHint', {
330
+ })], 1)] : _vm._e()], 2), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
337
331
  scopedSlots: _vm._u([_vm.maxLength ? {
338
332
  key: "addon",
339
333
  fn: function () {
@@ -341,15 +335,7 @@ var __vue_render__ = function () {
341
335
  },
342
336
  proxy: true
343
337
  } : null], null, true)
344
- }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()], 2), _vm._v(" "), _c('div', {
345
- directives: [{
346
- name: "show",
347
- rawName: "v-show",
348
- value: typeof _vm.error === 'string',
349
- expression: "typeof error === 'string'"
350
- }],
351
- class: ['contents']
352
- }, [_c('OrError', {
338
+ }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()] : [_c('OrError', {
353
339
  scopedSlots: _vm._u([_vm.maxLength ? {
354
340
  key: "addon",
355
341
  fn: function () {
@@ -357,14 +343,14 @@ var __vue_render__ = function () {
357
343
  },
358
344
  proxy: true
359
345
  } : null], null, true)
360
- }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])], 1)]);
346
+ }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])]], 2);
361
347
  };
362
348
  var __vue_staticRenderFns__ = [];
363
349
 
364
350
  /* style */
365
351
  const __vue_inject_styles__ = undefined;
366
352
  /* scoped */
367
- const __vue_scope_id__ = "data-v-21bb24c8";
353
+ const __vue_scope_id__ = "data-v-a3451ac6";
368
354
  /* module identifier */
369
355
  const __vue_module_identifier__ = undefined;
370
356
  /* functional template */
@@ -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,
@@ -153,7 +155,7 @@ var script = defineComponent({
153
155
  }
154
156
  });
155
157
 
156
- var css_248z = "textarea[data-v-0862b6c8]{min-width:0;background:0 0;outline:0}";
158
+ var css_248z = "textarea[data-v-03ea829d]{min-width:0;background:0 0;outline:0}";
157
159
  styleInject(css_248z);
158
160
 
159
161
  /* script */
@@ -171,7 +173,7 @@ var __vue_render__ = function () {
171
173
  }, [_c('OrInlineInputBox', {
172
174
  attrs: {
173
175
  "size": 's',
174
- "invalid": !!_vm.error
176
+ "invalid": _vm.invalid
175
177
  }
176
178
  }, [_c('textarea', _vm._b({
177
179
  directives: [{
@@ -229,15 +231,7 @@ var __vue_render__ = function () {
229
231
  return _vm.reset.apply(null, arguments);
230
232
  }
231
233
  }
232
- })], 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
233
- directives: [{
234
- name: "show",
235
- rawName: "v-show",
236
- value: !_vm.error,
237
- expression: "!error"
238
- }],
239
- class: ['contents']
240
- }, [_vm.hint || _vm.maxLength ? [_c('OrHint', {
234
+ })], 1)] : _vm._e()], 2), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
241
235
  scopedSlots: _vm._u([_vm.maxLength ? {
242
236
  key: "addon",
243
237
  fn: function () {
@@ -245,15 +239,7 @@ var __vue_render__ = function () {
245
239
  },
246
240
  proxy: true
247
241
  } : null], null, true)
248
- }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()], 2), _vm._v(" "), _c('div', {
249
- directives: [{
250
- name: "show",
251
- rawName: "v-show",
252
- value: typeof _vm.error === 'string',
253
- expression: "typeof error === 'string'"
254
- }],
255
- class: ['contents']
256
- }, [_c('OrError', {
242
+ }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()] : [_c('OrError', {
257
243
  scopedSlots: _vm._u([_vm.maxLength ? {
258
244
  key: "addon",
259
245
  fn: function () {
@@ -261,14 +247,14 @@ var __vue_render__ = function () {
261
247
  },
262
248
  proxy: true
263
249
  } : null], null, true)
264
- }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])], 1)]);
250
+ }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])]], 2);
265
251
  };
266
252
  var __vue_staticRenderFns__ = [];
267
253
 
268
254
  /* style */
269
255
  const __vue_inject_styles__ = undefined;
270
256
  /* scoped */
271
- const __vue_scope_id__ = "data-v-0862b6c8";
257
+ const __vue_scope_id__ = "data-v-03ea829d";
272
258
  /* module identifier */
273
259
  const __vue_module_identifier__ = undefined;
274
260
  /* functional template */
@@ -3,10 +3,9 @@ import { O as OrError } from './OrError-52f668a4.js';
3
3
  import { O as OrHint } from './OrHint-fde53334.js';
4
4
  import { O as OrIcon } from './OrIcon-2efd1925.js';
5
5
  import { O as OrIconButton } from './OrIconButton-deec1d4d.js';
6
- import { O as OrInputBox } from './OrInputBox-9a31d211.js';
6
+ import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-e54dcef9.js';
7
7
  import { O as OrLabel } from './OrLabel-aff09c39.js';
8
8
  import { O as OrLoader } from './OrLoader-6bec8824.js';
9
- import { a as InputBoxSize } from './props-78496a2d.js';
10
9
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
11
10
  import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
12
11
  import { u as useResponsive } from './useResponsive-e13dfbb0.js';
@@ -28,8 +27,8 @@ const InputRoot = [
28
27
  // Spacing
29
28
  'gap-xs'];
30
29
  const InputControl = [
31
- // Box
32
- 'w-full',
30
+ // Layout
31
+ 'grow',
33
32
  // Typography
34
33
  'typography-inherit',
35
34
  // Theme
@@ -76,7 +75,7 @@ var script = defineComponent({
76
75
  default: undefined
77
76
  },
78
77
  error: {
79
- type: [String, Boolean],
78
+ type: String,
80
79
  default: undefined
81
80
  },
82
81
  loading: {
@@ -130,6 +129,7 @@ var script = defineComponent({
130
129
  return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
131
130
  });
132
131
  const maxLength = computed(() => controlAttributes.maxlength);
132
+ const invalid = computed(() => !!props.error);
133
133
  const disclosed = ref(false);
134
134
  const {
135
135
  isMobile
@@ -152,6 +152,7 @@ var script = defineComponent({
152
152
  proxyModelValue,
153
153
  currentLength,
154
154
  maxLength,
155
+ invalid,
155
156
  disclosed,
156
157
  isMobile,
157
158
  focus,
@@ -160,7 +161,7 @@ var script = defineComponent({
160
161
  }
161
162
  });
162
163
 
163
- var css_248z = "input[data-v-4a4cd14c]{min-width:0;background:0 0;outline:0}input[type=number][data-v-4a4cd14c]::-webkit-inner-spin-button{display:none}input[type=search][data-v-4a4cd14c]::-webkit-search-cancel-button{display:none}";
164
+ var css_248z = "input[data-v-67c137e7]{min-width:0;background:0 0;outline:0}input[type=number][data-v-67c137e7]::-webkit-inner-spin-button{display:none}input[type=search][data-v-67c137e7]::-webkit-search-cancel-button{display:none}";
164
165
  styleInject(css_248z);
165
166
 
166
167
  /* script */
@@ -191,7 +192,7 @@ var __vue_render__ = function () {
191
192
  attrs: {
192
193
  "variant": _vm.disableDefaultStyles ? 'unstyled' : 'styled',
193
194
  "size": _vm.size,
194
- "invalid": !!_vm.error,
195
+ "invalid": _vm.invalid,
195
196
  "readonly": _vm.readonly || _vm.loading,
196
197
  "disabled": _vm.disabled
197
198
  }
@@ -362,15 +363,7 @@ var __vue_render__ = function () {
362
363
  "icon": 'search',
363
364
  "variant": 'outlined'
364
365
  }
365
- })]] : _vm._e()]], 2)]), _vm._v(" "), _c('div', {
366
- directives: [{
367
- name: "show",
368
- rawName: "v-show",
369
- value: !_vm.error,
370
- expression: "!error"
371
- }],
372
- class: ['contents']
373
- }, [_vm.hint || _vm.maxLength ? [_c('OrHint', {
366
+ })]] : _vm._e()]], 2)]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
374
367
  attrs: {
375
368
  "disabled": _vm.disabled
376
369
  },
@@ -381,15 +374,7 @@ var __vue_render__ = function () {
381
374
  },
382
375
  proxy: true
383
376
  } : null], null, true)
384
- }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()], 2), _vm._v(" "), _c('div', {
385
- directives: [{
386
- name: "show",
387
- rawName: "v-show",
388
- value: typeof _vm.error === 'string',
389
- expression: "typeof error === 'string'"
390
- }],
391
- class: ['contents']
392
- }, [_c('OrError', {
377
+ }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()] : [_c('OrError', {
393
378
  attrs: {
394
379
  "disabled": _vm.disabled
395
380
  },
@@ -400,14 +385,14 @@ var __vue_render__ = function () {
400
385
  },
401
386
  proxy: true
402
387
  } : null], null, true)
403
- }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])], 1)], 2);
388
+ }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])]], 2);
404
389
  };
405
390
  var __vue_staticRenderFns__ = [];
406
391
 
407
392
  /* style */
408
393
  const __vue_inject_styles__ = undefined;
409
394
  /* scoped */
410
- const __vue_scope_id__ = "data-v-4a4cd14c";
395
+ const __vue_scope_id__ = "data-v-67c137e7";
411
396
  /* module identifier */
412
397
  const __vue_module_identifier__ = undefined;
413
398
  /* functional template */
@@ -1,8 +1,18 @@
1
1
  import './index-fa6eb4ca.js';
2
- import { I as InputBoxVariant, a as InputBoxSize } from './props-78496a2d.js';
3
2
  import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
4
3
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
5
4
 
5
+ var InputBoxVariant;
6
+ (function (InputBoxVariant) {
7
+ InputBoxVariant["Styled"] = "styled";
8
+ InputBoxVariant["Unstyled"] = "unstyled";
9
+ })(InputBoxVariant || (InputBoxVariant = {}));
10
+ var InputBoxSize;
11
+ (function (InputBoxSize) {
12
+ InputBoxSize["M"] = "m";
13
+ InputBoxSize["S"] = "s";
14
+ })(InputBoxSize || (InputBoxSize = {}));
15
+
6
16
  const InputBoxRoot = [
7
17
  // Layout
8
18
  'layout-row',
@@ -124,4 +134,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
124
134
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
125
135
  var OrInputBox = __vue_component__;
126
136
 
127
- export { OrInputBox as O };
137
+ export { InputBoxVariant as I, OrInputBox as O, InputBoxSize as a };
@@ -15,7 +15,7 @@ const ModalRoot = [
15
15
  // Layout
16
16
  'layout-column',
17
17
  // Box
18
- 'w-full', 'h-full',
18
+ 'w-full', 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
19
19
  // Shape
20
20
  'md:rounded-md',
21
21
  // Spacing
@@ -29,13 +29,13 @@ const ModalRoot = [
29
29
  const ModalRootSizes = {
30
30
  'l': [
31
31
  // Box
32
- 'md:w-[1050px]', 'md:h-auto'],
32
+ 'md:w-[1050px]'],
33
33
  'm': [
34
34
  // Box
35
- 'md:w-[700px]', 'md:h-auto'],
35
+ 'md:w-[700px]'],
36
36
  's': [
37
37
  // Box
38
- 'md:w-[480px]', 'md:h-auto']
38
+ 'md:w-[480px]']
39
39
  };
40
40
  const ModalHeader = [
41
41
  // Layouot
@@ -1,8 +1,8 @@
1
1
  import { debouncedWatch } from '@vueuse/core';
2
2
  import './index-fa6eb4ca.js';
3
- import { O as OrInput } from './OrInput-822eb9f5.js';
3
+ import { O as OrInput } from './OrInput-b8511a0c.js';
4
4
  import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
5
- import { a as InputBoxSize } from './props-78496a2d.js';
5
+ import { a as InputBoxSize } from './OrInputBox-e54dcef9.js';
6
6
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
7
7
 
8
8
  var script = defineComponent({
@@ -4,8 +4,8 @@ import { O as OrError } from './OrError-52f668a4.js';
4
4
  import { O as OrExpansionPanel } from './OrExpansionPanel-8968da49.js';
5
5
  import { O as OrHint } from './OrHint-fde53334.js';
6
6
  import { O as OrIcon } from './OrIcon-2efd1925.js';
7
- import { O as OrInput } from './OrInput-822eb9f5.js';
8
- import { O as OrInputBox } from './OrInputBox-9a31d211.js';
7
+ import { O as OrInput } from './OrInput-b8511a0c.js';
8
+ import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-e54dcef9.js';
9
9
  import { O as OrLabel } from './OrLabel-aff09c39.js';
10
10
  import { O as OrMenuItem } from './OrMenuItem-f295292e.js';
11
11
  import { O as OrPopover } from './OrPopover-597ad11f.js';
@@ -13,7 +13,6 @@ import { O as OrTag } from './OrTag-dee4c7e4.js';
13
13
  import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
14
14
  import { u as useOverflow } from './useOverflow-bae6342f.js';
15
15
  import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
16
- import { a as InputBoxSize } from './props-78496a2d.js';
17
16
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
18
17
 
19
18
  const SelectRoot = [
@@ -23,9 +22,7 @@ const SelectRoot = [
23
22
  'gap-xs'];
24
23
  const SelectControl = [
25
24
  // Layout
26
- 'layout-row',
27
- // Box
28
- 'w-full',
25
+ 'layout-row grow',
29
26
  // Overflow
30
27
  'overflow-hidden',
31
28
  // Spacing
@@ -115,7 +112,7 @@ var script = defineComponent({
115
112
  default: undefined
116
113
  },
117
114
  error: {
118
- type: [String, Boolean],
115
+ type: String,
119
116
  default: undefined
120
117
  },
121
118
  required: {
@@ -192,6 +189,7 @@ var script = defineComponent({
192
189
  proxyModelValue.value = [];
193
190
  }
194
191
  });
192
+ const invalid = computed(() => !!props.error);
195
193
  const readonly = computed(() => context.attrs.readonly);
196
194
  const selection = computed(() => {
197
195
  const modelValue = proxyModelValue.value;
@@ -272,6 +270,7 @@ var script = defineComponent({
272
270
  noSearchResultsStyles,
273
271
  controlId,
274
272
  proxyModelValue,
273
+ invalid,
275
274
  readonly,
276
275
  selection,
277
276
  searchText,
@@ -329,7 +328,7 @@ var __vue_render__ = function () {
329
328
  attrs: {
330
329
  "variant": _vm.disableDefaultStyles ? 'unstyled' : 'styled',
331
330
  "size": _vm.size,
332
- "invalid": !!_vm.error,
331
+ "invalid": _vm.invalid,
333
332
  "readonly": _vm.readonly,
334
333
  "disabled": _vm.disabled
335
334
  }
@@ -493,31 +492,15 @@ var __vue_render__ = function () {
493
492
  class: _vm.noSearchResultsStyles
494
493
  }, [_vm._t("noSearchResultsTemplate", function () {
495
494
  return [_vm._v("\n No results\n ")];
496
- })], 2)]], 2)], 2), _vm._v(" "), _c('div', {
497
- directives: [{
498
- name: "show",
499
- rawName: "v-show",
500
- value: !_vm.error,
501
- expression: "!error"
502
- }],
503
- class: ['contents']
504
- }, [_vm.hint ? [_c('OrHint', {
495
+ })], 2)]], 2)], 2), _vm._v(" "), !_vm.invalid ? [_vm.hint ? [_c('OrHint', {
505
496
  attrs: {
506
497
  "disabled": _vm.disabled
507
498
  }
508
- }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n ")])] : _vm._e()], 2), _vm._v(" "), _c('div', {
509
- directives: [{
510
- name: "show",
511
- rawName: "v-show",
512
- value: typeof _vm.error === 'string',
513
- expression: "typeof error === 'string'"
514
- }],
515
- class: ['contents']
516
- }, [_c('OrError', {
499
+ }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n ")])] : _vm._e()] : [_c('OrError', {
517
500
  attrs: {
518
501
  "disabled": _vm.disabled
519
502
  }
520
- }, [_vm._v("\n " + _vm._s(_vm.error) + "\n ")])], 1)], 2);
503
+ }, [_vm._v("\n " + _vm._s(_vm.error) + "\n ")])]], 2);
521
504
  };
522
505
  var __vue_staticRenderFns__ = [];
523
506
 
@@ -1,12 +1,11 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrError } from './OrError-52f668a4.js';
3
3
  import { O as OrHint } from './OrHint-fde53334.js';
4
- import { O as OrInputBox } from './OrInputBox-9a31d211.js';
4
+ import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-e54dcef9.js';
5
5
  import { O as OrLabel } from './OrLabel-aff09c39.js';
6
6
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
7
7
  import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
8
8
  import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
9
- import { a as InputBoxSize } from './props-78496a2d.js';
10
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
11
10
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
12
11
 
@@ -16,8 +15,8 @@ const TextareaRoot = [
16
15
  // Spacing
17
16
  'gap-xs'];
18
17
  const TextareaControl = [
19
- // Box
20
- 'w-full',
18
+ // Layout
19
+ 'grow',
21
20
  // Typography
22
21
  'typography-inherit',
23
22
  // Theme
@@ -57,7 +56,7 @@ var script = defineComponent({
57
56
  default: undefined
58
57
  },
59
58
  error: {
60
- type: [String, Boolean],
59
+ type: String,
61
60
  default: undefined
62
61
  },
63
62
  required: {
@@ -99,6 +98,7 @@ var script = defineComponent({
99
98
  return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
100
99
  });
101
100
  const maxLength = computed(() => controlAttributes.maxlength);
101
+ const invalid = computed(() => !!props.error);
102
102
  // Methods
103
103
  function focus() {
104
104
  var _a;
@@ -117,13 +117,14 @@ var script = defineComponent({
117
117
  proxyModelValue,
118
118
  currentLength,
119
119
  maxLength,
120
+ invalid,
120
121
  focus,
121
122
  blur
122
123
  };
123
124
  }
124
125
  });
125
126
 
126
- var css_248z = "textarea[data-v-4e91de4d]{min-width:0;background:0 0;outline:0}";
127
+ var css_248z = "textarea[data-v-41547036]{min-width:0;background:0 0;outline:0}";
127
128
  styleInject(css_248z);
128
129
 
129
130
  /* script */
@@ -153,7 +154,7 @@ var __vue_render__ = function () {
153
154
  }, [_vm._v("\n " + _vm._s(_vm.label) + "\n\n ")])] : _vm._e(), _vm._v(" "), _c('OrInputBox', {
154
155
  attrs: {
155
156
  "size": _vm.size,
156
- "invalid": !!_vm.error,
157
+ "invalid": _vm.invalid,
157
158
  "readonly": _vm.readonly,
158
159
  "disabled": _vm.disabled
159
160
  }
@@ -195,15 +196,7 @@ var __vue_render__ = function () {
195
196
  _vm.proxyModelValue = $event.target.value;
196
197
  }
197
198
  }
198
- }, 'textarea', _vm.controlAttributes, false))]), _vm._v(" "), _c('div', {
199
- directives: [{
200
- name: "show",
201
- rawName: "v-show",
202
- value: !_vm.error,
203
- expression: "!error"
204
- }],
205
- class: ['contents']
206
- }, [_vm.hint || _vm.maxLength ? [_c('OrHint', {
199
+ }, 'textarea', _vm.controlAttributes, false))]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
207
200
  attrs: {
208
201
  "disabled": _vm.disabled
209
202
  },
@@ -214,15 +207,7 @@ var __vue_render__ = function () {
214
207
  },
215
208
  proxy: true
216
209
  } : null], null, true)
217
- }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()], 2), _vm._v(" "), _c('div', {
218
- directives: [{
219
- name: "show",
220
- rawName: "v-show",
221
- value: typeof _vm.error === 'string',
222
- expression: "typeof error === 'string'"
223
- }],
224
- class: ['contents']
225
- }, [_c('OrError', {
210
+ }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n\n ")])] : _vm._e()] : [_c('OrError', {
226
211
  attrs: {
227
212
  "disabled": _vm.disabled
228
213
  },
@@ -233,14 +218,14 @@ var __vue_render__ = function () {
233
218
  },
234
219
  proxy: true
235
220
  } : null], null, true)
236
- }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])], 1)], 2);
221
+ }, [_vm._v("\n " + _vm._s(_vm.error) + "\n\n ")])]], 2);
237
222
  };
238
223
  var __vue_staticRenderFns__ = [];
239
224
 
240
225
  /* style */
241
226
  const __vue_inject_styles__ = undefined;
242
227
  /* scoped */
243
- const __vue_scope_id__ = "data-v-4e91de4d";
228
+ const __vue_scope_id__ = "data-v-41547036";
244
229
  /* module identifier */
245
230
  const __vue_module_identifier__ = undefined;
246
231
  /* functional template */