@onereach/ui-components 2.75.1-beta.2385.0 → 2.75.1

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 (141) 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/{OrSearch-b3f34499.js → OrSearch-60b64568.js} +2 -2
  8. package/dist/bundled/v2/{OrSelect-982350b0.js → OrSelect-752bdd3b.js} +10 -11
  9. package/dist/bundled/v2/{OrTextarea-53d756e4.js → OrTextarea-5fdf63d0.js} +12 -11
  10. package/dist/bundled/v2/components/index.js +9 -10
  11. package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -5
  12. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -4
  13. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  14. package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
  15. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  16. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
  17. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
  18. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  19. package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
  20. package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
  21. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  22. package/dist/bundled/v2/components/or-select-v3/index.js +3 -4
  23. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  24. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
  25. package/dist/bundled/v2/index.js +10 -11
  26. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-fdf213e1.js → OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js} +1 -1
  27. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7a81cfa6.js → OrConfirm.vue_vue_type_script_lang-b550c3d3.js} +2 -2
  28. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js} +5 -3
  29. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js} +5 -3
  30. package/dist/bundled/v3/{OrInput-c514ceff.js → OrInput-6d49f353.js} +5 -5
  31. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-09a6138d.js → OrInput.vue_vue_type_script_lang-af68d0e7.js} +7 -6
  32. package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
  33. package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
  34. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-42283e88.js → OrSearch.vue_vue_type_script_lang-8c37e5a7.js} +3 -3
  35. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-c43b8138.js → OrSelect.vue_vue_type_script_lang-35ac0247.js} +8 -9
  36. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +7 -6
  37. package/dist/bundled/v3/components/index.js +11 -12
  38. package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -7
  39. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -6
  40. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  41. package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
  42. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  43. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
  44. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
  45. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  46. package/dist/bundled/v3/components/or-input-v3/index.js +3 -4
  47. package/dist/bundled/v3/components/or-search-v3/index.js +5 -6
  48. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  49. package/dist/bundled/v3/components/or-select-v3/index.js +5 -6
  50. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  51. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
  52. package/dist/bundled/v3/index.js +34 -35
  53. package/dist/esm/v2/{OrCardCollection-77a9b0b5.js → OrCardCollection-f7856175.js} +2 -2
  54. package/dist/esm/v2/{OrConfirm-81ae8af5.js → OrConfirm-98d62065.js} +1 -1
  55. package/dist/esm/v2/{OrInlineInput-b003ddde.js → OrInlineInput-df02ab5d.js} +11 -9
  56. package/dist/esm/v2/{OrInlineTextarea-6349b529.js → OrInlineTextarea-ad120656.js} +11 -9
  57. package/dist/esm/v2/{OrInput-d4707fb9.js → OrInput-3bb91436.js} +12 -11
  58. package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
  59. package/dist/esm/v2/{OrSearch-5b257f78.js → OrSearch-dad9b02f.js} +2 -2
  60. package/dist/esm/v2/{OrSelect-246d8584.js → OrSelect-7ef80130.js} +10 -11
  61. package/dist/esm/v2/{OrTextarea-0bf9bf33.js → OrTextarea-0a64f718.js} +12 -11
  62. package/dist/esm/v2/components/index.js +9 -10
  63. package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -5
  64. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -4
  65. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  66. package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
  67. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  68. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
  69. package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
  70. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  71. package/dist/esm/v2/components/or-input-v3/index.js +2 -3
  72. package/dist/esm/v2/components/or-search-v3/index.js +3 -4
  73. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  74. package/dist/esm/v2/components/or-select-v3/index.js +3 -4
  75. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  76. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
  77. package/dist/esm/v2/index.js +9 -10
  78. package/dist/esm/v3/{OrCardCollection-e8ab1e4f.js → OrCardCollection-4cb41408.js} +1 -1
  79. package/dist/esm/v3/{OrConfirm-19397045.js → OrConfirm-19da64d1.js} +1 -1
  80. package/dist/esm/v3/{OrInlineInput-65127ed7.js → OrInlineInput-cd3753ee.js} +9 -7
  81. package/dist/esm/v3/{OrInlineTextarea-176a2701.js → OrInlineTextarea-4c5b0390.js} +9 -7
  82. package/dist/esm/v3/{OrInput-209bd3fc.js → OrInput-ae9f6871.js} +9 -7
  83. package/dist/esm/v3/{OrSearch-3bba0a99.js → OrSearch-6f6b4fcd.js} +1 -1
  84. package/dist/esm/v3/{OrSelect-ba567dd1.js → OrSelect-96bf9b63.js} +9 -9
  85. package/dist/esm/v3/{OrTextarea-14a6b456.js → OrTextarea-42d21f77.js} +9 -7
  86. package/dist/esm/v3/components/index.js +8 -8
  87. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
  88. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  89. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  90. package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
  91. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  92. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
  93. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  94. package/dist/esm/v3/components/or-input-v3/index.js +1 -1
  95. package/dist/esm/v3/components/or-search-v3/index.js +2 -2
  96. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  97. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  98. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  99. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  100. package/dist/esm/v3/index.js +8 -8
  101. package/package.json +4 -3
  102. package/src/components/or-inline-input-v3/OrInlineInput.vue +7 -4
  103. package/src/components/or-inline-input-v3/styles.ts +2 -2
  104. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +7 -4
  105. package/src/components/or-inline-textarea-v3/styles.ts +2 -2
  106. package/src/components/or-input-v3/OrInput.vue +7 -4
  107. package/src/components/or-input-v3/styles.ts +2 -2
  108. package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
  109. package/src/components/or-select-v3/OrSelect.vue +6 -4
  110. package/src/components/or-select-v3/styles.ts +1 -4
  111. package/src/components/or-textarea-v3/OrTextarea.vue +7 -4
  112. package/src/components/or-textarea-v3/styles.ts +2 -2
  113. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  114. package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
  115. package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -146
  116. package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
  117. package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  118. package/dist/bundled/v2/props-78496a2d.js +0 -12
  119. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  120. package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
  121. package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -128
  122. package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
  123. package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  124. package/dist/bundled/v3/props-78496a2d.js +0 -12
  125. package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
  126. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  127. package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
  128. package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -143
  129. package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
  130. package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  131. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  132. package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
  133. package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -127
  134. package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
  135. package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  136. package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
  137. package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
  138. package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -127
  139. package/src/components/or-combined-input-v3/index.ts +0 -2
  140. package/src/components/or-combined-input-v3/props.ts +0 -1
  141. package/src/components/or-combined-input-v3/styles.ts +0 -25
@@ -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';
@@ -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.1-beta.2385.0",
3
+ "version": "2.75.1",
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.1-beta.2385.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",
@@ -124,5 +124,6 @@
124
124
  "default": "./dist/bundled/v3/components/*/index.js"
125
125
  },
126
126
  "./package.json": "./package.json"
127
- }
127
+ },
128
+ "gitHead": "7ac0b1f0fd9ec4a8367ec5a74d5c78c3d4b03351"
128
129
  }
@@ -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',
@@ -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',
@@ -1,105 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { CombinedInputSize } from './props';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
6
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
7
- }> & import("@vue/composition-api").Data, {}, {}, {
8
- size: {
9
- type: PropType<CombinedInputSize>;
10
- default: CombinedInputSize;
11
- };
12
- label: {
13
- type: StringConstructor;
14
- default: undefined;
15
- };
16
- hint: {
17
- type: StringConstructor;
18
- default: undefined;
19
- };
20
- error: {
21
- type: (BooleanConstructor | StringConstructor)[];
22
- default: undefined;
23
- };
24
- required: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- readonly: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- disabled: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- disableDefaultStyles: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- }, import("@vue/composition-api").ExtractPropTypes<{
41
- size: {
42
- type: PropType<CombinedInputSize>;
43
- default: CombinedInputSize;
44
- };
45
- label: {
46
- type: StringConstructor;
47
- default: undefined;
48
- };
49
- hint: {
50
- type: StringConstructor;
51
- default: undefined;
52
- };
53
- error: {
54
- type: (BooleanConstructor | StringConstructor)[];
55
- default: undefined;
56
- };
57
- required: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- readonly: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- disabled: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- disableDefaultStyles: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
74
- size: CombinedInputSize;
75
- label: string;
76
- hint: string;
77
- error: string | boolean;
78
- required: boolean;
79
- readonly: boolean;
80
- disabled: boolean;
81
- disableDefaultStyles: boolean;
82
- } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
83
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
84
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
85
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
86
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
87
- size: CombinedInputSize;
88
- label: string;
89
- hint: string;
90
- error: string | boolean;
91
- required: boolean;
92
- readonly: boolean;
93
- disabled: boolean;
94
- disableDefaultStyles: boolean;
95
- } & {}, {
96
- size: CombinedInputSize;
97
- label: string;
98
- hint: string;
99
- error: string | boolean;
100
- required: boolean;
101
- readonly: boolean;
102
- disabled: boolean;
103
- disableDefaultStyles: boolean;
104
- }, true>);
105
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as OrCombinedInputV3 } from './OrCombinedInput.vue';
2
- export * from './props';