@onereach/ui-components 2.69.2-beta.2107.0 → 2.69.2-beta.2113.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 (152) hide show
  1. package/dist/bundled/v2/{OrAvatar-2fa559e1.js → OrAvatar-ae61bfb9.js} +41 -15
  2. package/dist/bundled/v2/{OrCardCollection-3d1b3b9a.js → OrCardCollection-a9a779ea.js} +1 -1
  3. package/dist/bundled/v2/{OrConfirm-43626f94.js → OrConfirm-18c534df.js} +1 -1
  4. package/dist/bundled/v2/{OrInput-0a3666aa.js → OrInput-8b90e08f.js} +11 -18
  5. package/dist/bundled/v2/{OrInputBox-dfdcbdce.js → OrInputBox-79ec54ad.js} +14 -4
  6. package/dist/bundled/v2/{OrSearch-847c1bab.js → OrSearch-9d402f56.js} +2 -2
  7. package/dist/bundled/v2/{OrSelect-41c6588d.js → OrSelect-b20a9be0.js} +2 -8
  8. package/dist/bundled/v2/{OrTextarea-ff2ba975.js → OrTextarea-5593fbe9.js} +1 -2
  9. package/dist/bundled/v2/components/index.js +8 -9
  10. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  11. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  12. package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -1
  13. package/dist/bundled/v2/components/or-avatar-v3/props.d.ts +2 -1
  14. package/dist/bundled/v2/components/or-avatar-v3/styles.d.ts +2 -0
  15. package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -4
  16. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -4
  17. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
  18. package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
  19. package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
  20. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +0 -11
  21. package/dist/bundled/v2/components/or-select-v3/index.js +3 -4
  22. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
  23. package/dist/bundled/v2/index.js +9 -10
  24. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-22e46ce1.js → OrAvatar.vue_vue_type_script_lang-0426862b.js} +35 -13
  25. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-fd4d589f.js → OrCardCollection.vue_vue_type_script_lang-861158b5.js} +4 -4
  26. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-338631e0.js → OrConfirm.vue_vue_type_script_lang-289b5600.js} +2 -2
  27. package/dist/bundled/v3/{OrIconButton-4bd33e3c.js → OrIconButton-1581013c.js} +1 -1
  28. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-641f6e06.js → OrIconButton.vue_vue_type_script_lang-f6f801ff.js} +1 -1
  29. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-3a8189f4.js → OrInlineInput.vue_vue_type_script_lang-f29483f4.js} +2 -2
  30. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-890b97ab.js → OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js} +2 -2
  31. package/dist/bundled/v3/{OrInput-5efc4b9a.js → OrInput-fa782fc1.js} +14 -17
  32. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-a9f3e530.js → OrInput.vue_vue_type_script_lang-f6d793d3.js} +4 -5
  33. package/dist/bundled/v3/{OrInputBox-1b143e00.js → OrInputBox-eb54d73d.js} +1 -1
  34. package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +4 -5
  35. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-00a477f0.js → OrModal.vue_vue_type_script_lang-80a7b906.js} +2 -2
  36. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-fbb35355.js +2 -2
  37. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-df09cad8.js → OrSearch.vue_vue_type_script_lang-ed78b21f.js} +3 -3
  38. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-cf991ed8.js → OrSelect.vue_vue_type_script_lang-15285ce4.js} +5 -10
  39. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-92d9fb12.js → OrTag.vue_vue_type_script_lang-dc6a4011.js} +2 -2
  40. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-115a1244.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +2 -3
  41. package/dist/bundled/v3/{OrToastContainer-afb51e5d.js → OrToastContainer-7c3c0b12.js} +1 -1
  42. package/dist/bundled/v3/components/index.js +18 -19
  43. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  44. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  45. package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -1
  46. package/dist/bundled/v3/components/or-avatar-v3/props.d.ts +2 -1
  47. package/dist/bundled/v3/components/or-avatar-v3/styles.d.ts +2 -0
  48. package/dist/bundled/v3/components/or-card-collection-v3/index.js +7 -8
  49. package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -8
  50. package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
  51. package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
  52. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
  53. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
  54. package/dist/bundled/v3/components/or-input-v3/index.js +5 -6
  55. package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
  56. package/dist/bundled/v3/components/or-notification-v3/index.js +2 -2
  57. package/dist/bundled/v3/components/or-search-v3/index.js +7 -8
  58. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +0 -11
  59. package/dist/bundled/v3/components/or-select-v3/index.js +8 -9
  60. package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
  61. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
  62. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  63. package/dist/bundled/v3/index.js +39 -35
  64. package/dist/bundled/v3/{types-6c5eee23.js → types-dcc78caa.js} +2 -2
  65. package/dist/esm/v2/{OrAvatar-0afdef36.js → OrAvatar-3d155af3.js} +41 -15
  66. package/dist/esm/v2/{OrCardCollection-09e4cb8a.js → OrCardCollection-4f001551.js} +1 -1
  67. package/dist/esm/v2/{OrConfirm-93376443.js → OrConfirm-b0b2e43c.js} +1 -1
  68. package/dist/esm/v2/{OrInput-f92456ea.js → OrInput-2f16a7ac.js} +11 -18
  69. package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-70dec655.js → esm/v2/OrInputBox-4d5a318d.js} +57 -6
  70. package/dist/esm/v2/{OrSearch-4296eecb.js → OrSearch-ddb7c1fe.js} +2 -2
  71. package/dist/esm/v2/{OrSelect-633a9e09.js → OrSelect-f0ff5a85.js} +2 -8
  72. package/dist/esm/v2/{OrTextarea-823d0529.js → OrTextarea-6712a150.js} +1 -2
  73. package/dist/esm/v2/components/index.js +8 -9
  74. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  75. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  76. package/dist/esm/v2/components/or-avatar-v3/index.js +2 -1
  77. package/dist/esm/v2/components/or-avatar-v3/props.d.ts +2 -1
  78. package/dist/esm/v2/components/or-avatar-v3/styles.d.ts +2 -0
  79. package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -4
  80. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -4
  81. package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
  82. package/dist/esm/v2/components/or-input-v3/index.js +2 -3
  83. package/dist/esm/v2/components/or-search-v3/index.js +3 -4
  84. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +0 -11
  85. package/dist/esm/v2/components/or-select-v3/index.js +3 -4
  86. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
  87. package/dist/esm/v2/index.js +8 -9
  88. package/dist/esm/v3/{OrAvatar-ef88d31c.js → OrAvatar-53a4429d.js} +43 -16
  89. package/dist/esm/v3/{OrCardCollection-37226d46.js → OrCardCollection-5a0febaf.js} +1 -1
  90. package/dist/esm/v3/{OrConfirm-b27e7221.js → OrConfirm-906427ef.js} +1 -1
  91. package/dist/esm/v3/{OrInput-99776ffe.js → OrInput-41691fb3.js} +14 -17
  92. package/dist/esm/v3/{OrInputBox-36c102a4.js → OrInputBox-5247ab25.js} +2 -2
  93. package/dist/esm/v3/{OrSearch-188c643f.js → OrSearch-cdde55ce.js} +2 -2
  94. package/dist/esm/v3/{OrSelect-cba3966c.js → OrSelect-7e813982.js} +3 -8
  95. package/dist/esm/v3/{OrTextarea-b3ecc40d.js → OrTextarea-bb9ef3f2.js} +1 -1
  96. package/dist/esm/v3/components/index.js +8 -8
  97. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +1 -1
  98. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +11 -0
  99. package/dist/esm/v3/components/or-avatar-v3/index.js +2 -1
  100. package/dist/esm/v3/components/or-avatar-v3/props.d.ts +2 -1
  101. package/dist/esm/v3/components/or-avatar-v3/styles.d.ts +2 -0
  102. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
  103. package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
  104. package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
  105. package/dist/esm/v3/components/or-input-v3/index.js +2 -2
  106. package/dist/esm/v3/components/or-search-v3/index.js +3 -3
  107. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +0 -11
  108. package/dist/esm/v3/components/or-select-v3/index.js +3 -3
  109. package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
  110. package/dist/esm/v3/index.js +8 -8
  111. package/package.json +2 -2
  112. package/src/components/or-avatar-v3/OrAvatar.stories3.ts +9 -7
  113. package/src/components/or-avatar-v3/OrAvatar.vue +22 -2
  114. package/src/components/or-avatar-v3/props.ts +1 -0
  115. package/src/components/or-avatar-v3/styles.ts +49 -11
  116. package/src/components/or-input-box-v3/styles.ts +3 -3
  117. package/src/components/or-input-v3/OrInput.vue +22 -28
  118. package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
  119. package/src/components/or-select-v3/OrSelect.vue +0 -6
  120. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
  121. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
  122. package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
  123. package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -149
  124. package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
  125. package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  126. package/dist/bundled/v2/props-78496a2d.js +0 -12
  127. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
  128. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
  129. package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
  130. package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -132
  131. package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
  132. package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  133. package/dist/bundled/v3/props-78496a2d.js +0 -12
  134. package/dist/esm/v2/OrInputBox-ad7c1875.js +0 -43
  135. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
  136. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
  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 -147
  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.stories3.d.ts +0 -27
  142. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
  143. package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
  144. package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -132
  145. package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
  146. package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  147. package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
  148. package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -202
  149. package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -134
  150. package/src/components/or-combined-input-v3/index.ts +0 -2
  151. package/src/components/or-combined-input-v3/props.ts +0 -1
  152. package/src/components/or-combined-input-v3/styles.ts +0 -25
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-b27e7221.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-906427ef.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrButton-f4b9ee51.js';
4
4
  import '../../useClassAttribute-47fdb016.js';
@@ -8,7 +8,7 @@ import 'vue';
8
8
  import '../../OrOverlay-738a44d5.js';
9
9
  import '../../useElevation-31bfe1f6.js';
10
10
  import '../../OrTeleport.vue3-8099178c.js';
11
- import '../../OrInput-99776ffe.js';
11
+ import '../../OrInput-41691fb3.js';
12
12
  import '../../OrError-ec8c709d.js';
13
13
  import '../../OrHint-74bb732d.js';
14
14
  import '../../OrIconButton-1eebcafc.js';
@@ -18,7 +18,7 @@ import '../../OrPopover-1075dd38.js';
18
18
  import '@floating-ui/dom';
19
19
  import '../../useResponsive-a02e95b7.js';
20
20
  import '../../OrBottomSheet-62817aec.js';
21
- import '../../OrInputBox-36c102a4.js';
21
+ import '../../OrInputBox-5247ab25.js';
22
22
  import '../../OrLabel-bdaec602.js';
23
23
  import '../../style-inject.es-4c6f2515.js';
24
24
  import '@vueuse/math';
@@ -1,4 +1,4 @@
1
- export { a as InputBoxSize, I as InputBoxVariant, s as OrInputBoxV3 } from '../../OrInputBox-36c102a4.js';
1
+ export { a as InputBoxSize, I as InputBoxVariant, s as OrInputBoxV3 } from '../../OrInputBox-5247ab25.js';
2
2
  import 'vue-demi';
3
3
  import 'vue';
4
4
  import '../../useClassAttribute-47fdb016.js';
@@ -1,5 +1,5 @@
1
- export { I as InputType, s as OrInputV3 } from '../../OrInput-99776ffe.js';
2
- export { a as InputSize } from '../../OrInputBox-36c102a4.js';
1
+ export { I as InputType, s as OrInputV3 } from '../../OrInput-41691fb3.js';
2
+ export { a as InputSize } from '../../OrInputBox-5247ab25.js';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
5
  import '@vueuse/core';
@@ -1,9 +1,9 @@
1
- export { s as OrSearchV3 } from '../../OrSearch-188c643f.js';
2
- export { a as SearchSize } from '../../OrInputBox-36c102a4.js';
1
+ export { s as OrSearchV3 } from '../../OrSearch-cdde55ce.js';
2
+ export { a as SearchSize } from '../../OrInputBox-5247ab25.js';
3
3
  import 'vue-demi';
4
4
  import '@vueuse/core';
5
5
  import '../../useClassAttribute-47fdb016.js';
6
- import '../../OrInput-99776ffe.js';
6
+ import '../../OrInput-41691fb3.js';
7
7
  import '../../OrError-ec8c709d.js';
8
8
  import 'vue';
9
9
  import '../../OrHint-74bb732d.js';
@@ -88,10 +88,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
88
88
  type: BooleanConstructor;
89
89
  default: boolean;
90
90
  };
91
- disableDefaultStyles: {
92
- type: BooleanConstructor;
93
- default: boolean;
94
- };
95
91
  enableSearch: {
96
92
  type: BooleanConstructor;
97
93
  default: boolean;
@@ -157,10 +153,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
157
153
  type: BooleanConstructor;
158
154
  default: boolean;
159
155
  };
160
- disableDefaultStyles: {
161
- type: BooleanConstructor;
162
- default: boolean;
163
- };
164
156
  enableSearch: {
165
157
  type: BooleanConstructor;
166
158
  default: boolean;
@@ -190,7 +182,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
190
182
  error: string;
191
183
  required: boolean;
192
184
  disabled: boolean;
193
- disableDefaultStyles: boolean;
194
185
  enableSearch: boolean;
195
186
  searchFunction: SelectSearchFunction;
196
187
  groupByFunction: SelectGroupByFunction;
@@ -248,7 +239,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
248
239
  error: string;
249
240
  required: boolean;
250
241
  disabled: boolean;
251
- disableDefaultStyles: boolean;
252
242
  enableSearch: boolean;
253
243
  searchFunction: SelectSearchFunction;
254
244
  groupByFunction: SelectGroupByFunction;
@@ -268,7 +258,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
268
258
  error: string;
269
259
  required: boolean;
270
260
  disabled: boolean;
271
- disableDefaultStyles: boolean;
272
261
  enableSearch: boolean;
273
262
  searchFunction: SelectSearchFunction;
274
263
  groupByFunction: SelectGroupByFunction;
@@ -1,5 +1,5 @@
1
- export { s as OrSelectV3 } from '../../OrSelect-cba3966c.js';
2
- export { a as SelectSize } from '../../OrInputBox-36c102a4.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect-7e813982.js';
2
+ export { a as SelectSize } from '../../OrInputBox-5247ab25.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
5
5
  import '../../useClassAttribute-47fdb016.js';
@@ -13,7 +13,7 @@ import '../../OrError-ec8c709d.js';
13
13
  import '../../OrExpansionPanel-311e64cf.js';
14
14
  import '../../OrIcon-b195169c.js';
15
15
  import '../../OrHint-74bb732d.js';
16
- import '../../OrInput-99776ffe.js';
16
+ import '../../OrInput-41691fb3.js';
17
17
  import '../../OrIconButton-1eebcafc.js';
18
18
  import '../../OrTooltip-50d27b4f.js';
19
19
  import '../../OrPopover-1075dd38.js';
@@ -1,5 +1,5 @@
1
- export { s as OrTextareaV3 } from '../../OrTextarea-b3ecc40d.js';
2
- export { a as TextareaSize } from '../../OrInputBox-36c102a4.js';
1
+ export { s as OrTextareaV3 } from '../../OrTextarea-bb9ef3f2.js';
2
+ export { a as TextareaSize } from '../../OrInputBox-5247ab25.js';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
5
  import '@vueuse/core';
@@ -1,12 +1,12 @@
1
1
  export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-2808a314.js';
2
- export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-ef88d31c.js';
2
+ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-53a4429d.js';
3
3
  export { s as OrBottomSheetV3 } from './OrBottomSheet-62817aec.js';
4
4
  export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
5
5
  export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
6
6
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-f4b9ee51.js';
7
7
  export { s as OrCard } from './OrCard-e3a5aea4.js';
8
8
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
9
- export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-37226d46.js';
9
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-5a0febaf.js';
10
10
  export { s as OrCardV3 } from './OrCard-fd92f7c8.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
12
12
  export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-ee19a5e6.js';
16
16
  export { s as OrCollapse } from './OrCollapse-445141ab.js';
17
17
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-189cb097.js';
18
18
  export { s as OrConfirm } from './OrConfirm-f39bd784.js';
19
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-b27e7221.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-906427ef.js';
20
20
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
21
21
  export { s as OrError } from './OrError-f90296db.js';
22
22
  export { s as OrErrorTagV3 } from './OrErrorTag-98252eef.js';
@@ -33,8 +33,8 @@ export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3
33
33
  export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-31026cd0.js';
34
34
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
35
35
  export { s as OrInlineTextareaV3 } from './OrInlineTextarea-b28c3d8c.js';
36
- export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-36c102a4.js';
37
- export { I as InputType, s as OrInputV3 } from './OrInput-99776ffe.js';
36
+ export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-5247ab25.js';
37
+ export { I as InputType, s as OrInputV3 } from './OrInput-41691fb3.js';
38
38
  export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
39
39
  export { s as OrLabel } from './OrLabel-876f8729.js';
40
40
  export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-bdaec602.js';
@@ -58,10 +58,10 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
58
58
  export { s as OrRadio } from './OrRadio-c3ab11f2.js';
59
59
  export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
60
60
  export { s as OrRadioV3 } from './OrRadio-54b6d0de.js';
61
- export { s as OrSearchV3 } from './OrSearch-188c643f.js';
61
+ export { s as OrSearchV3 } from './OrSearch-cdde55ce.js';
62
62
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
63
63
  export { s as OrSelect } from './OrSelect-0821b907.js';
64
- export { s as OrSelectV3 } from './OrSelect-cba3966c.js';
64
+ export { s as OrSelectV3 } from './OrSelect-7e813982.js';
65
65
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
66
66
  export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
67
67
  export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
@@ -81,7 +81,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-c0bbaa58.j
81
81
  export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
82
82
  export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
83
83
  export { s as OrTextV3 } from './OrText-ecb46923.js';
84
- export { s as OrTextareaV3 } from './OrTextarea-b3ecc40d.js';
84
+ export { s as OrTextareaV3 } from './OrTextarea-bb9ef3f2.js';
85
85
  export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
86
86
  export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
87
87
  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.69.2-beta.2107.0",
3
+ "version": "2.69.2-beta.2113.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -37,7 +37,7 @@
37
37
  "@codemirror/lang-json": "6.0.0",
38
38
  "@codemirror/lang-markdown": "6.0.1",
39
39
  "@floating-ui/dom": "0.3.1",
40
- "@onereach/styles": "^2.33.1-beta.2107.0",
40
+ "@onereach/styles": "^2.33.0",
41
41
  "@splidejs/splide": "4.0.6",
42
42
  "@types/lodash": "4.14.173",
43
43
  "@types/sortablejs": "1.10.7",
@@ -2,7 +2,6 @@ import { Meta, StoryFn } from '@storybook/vue3';
2
2
  import OrAvatarDocs from './OrAvatar.docs.mdx';
3
3
  import OrAvatar from './OrAvatar.vue';
4
4
  import { AvatarColor, AvatarSize } from './props';
5
- import { OrIconV3 as OrIcon } from '../or-icon-v3';
6
5
  import { getAbbreviation } from '../../utils/functions/text';
7
6
  import { computed } from 'vue-demi';
8
7
 
@@ -39,6 +38,10 @@ export default {
39
38
  colorSalt: {
40
39
  control: { type: 'text' },
41
40
  },
41
+
42
+ icon: {
43
+ control: { type: 'text' },
44
+ },
42
45
  },
43
46
 
44
47
  parameters: {
@@ -58,7 +61,6 @@ export default {
58
61
  const DefaultTemplate: StoryFn<typeof OrAvatar> = (args) => ({
59
62
  components: {
60
63
  OrAvatar,
61
- OrIcon,
62
64
  },
63
65
 
64
66
  setup() {
@@ -114,22 +116,22 @@ WithTextInSlot.args = {
114
116
  colorSalt: 'A username',
115
117
  };
116
118
 
117
- export const WithIconInSlot = DefaultTemplate.bind({});
118
- WithIconInSlot.args = {
119
- default: '<or-icon icon="face" size="inherit" />',
119
+ export const WithIcon = DefaultTemplate.bind({});
120
+ WithIcon.args = {
121
+ icon: 'store',
120
122
  colorSalt: 'Any string here',
121
123
  };
122
124
 
123
125
  export const WithColor = DefaultTemplate.bind({});
124
126
  WithColor.args = {
125
127
  color: AvatarColor.blue,
126
- default: '<or-icon icon="person" size="inherit" />',
128
+ icon: 'person',
127
129
  };
128
130
 
129
131
  export const XL = DefaultTemplate.bind({});
130
132
  XL.args = {
131
133
  size: AvatarSize.XL,
132
- default: '<or-icon icon="person" size="inherit" />',
134
+ icon: 'person',
133
135
  colorSalt: 'Big Avatar',
134
136
  };
135
137
 
@@ -6,10 +6,16 @@
6
6
  >
7
7
  <slot>
8
8
  <img
9
+ v-if="src"
9
10
  :class="imageStyles"
10
11
  :src="src"
11
12
  :alt="''"
12
13
  >
14
+ <or-icon
15
+ v-else-if="icon"
16
+ :icon="icon"
17
+ size="inherit"
18
+ />
13
19
  </slot>
14
20
  </div>
15
21
  </template>
@@ -19,10 +25,14 @@ import { computed, defineComponent, PropType, ref, watchPostEffect } from 'vue-d
19
25
  import { useClassAttribute } from '../../hooks';
20
26
  import { generateHslFromString, hslToColorString } from '../../utils/functions/color';
21
27
  import { AvatarColor, AvatarSize } from './props';
22
- import { AvatarImage, AvatarRoot, AvatarRootColors, AvatarRootSizes } from './styles';
28
+ import { AvatarImage, AvatarRoot, AvatarRootColors, AvatarRootSizes, AvatarRootAbbreviationSizes, AvatarRootIconSizes } from './styles';
29
+ import { OrIconV3 as OrIcon } from '../or-icon-v3';
23
30
 
24
31
  export default defineComponent({
25
32
  name: 'OrAvatar',
33
+ components: {
34
+ OrIcon,
35
+ },
26
36
 
27
37
  inheritAttrs: false,
28
38
 
@@ -36,7 +46,10 @@ export default defineComponent({
36
46
  type: String as PropType<AvatarSize>,
37
47
  default: AvatarSize.M,
38
48
  },
39
-
49
+ icon: {
50
+ type: String,
51
+ default: undefined,
52
+ },
40
53
  color: {
41
54
  type: String as PropType<AvatarColor>,
42
55
  default: AvatarColor.auto,
@@ -58,6 +71,9 @@ export default defineComponent({
58
71
  // Refs
59
72
  const root = ref<HTMLElement>();
60
73
 
74
+ const isIcon = computed(() => {
75
+ return !props.icon;
76
+ });
61
77
  // Styles
62
78
  const classAttribute = useClassAttribute();
63
79
 
@@ -66,6 +82,10 @@ export default defineComponent({
66
82
  ...AvatarRoot,
67
83
  ...AvatarRootSizes[props.size],
68
84
  ...AvatarRootColors[props.color],
85
+ ...(isIcon.value
86
+ ? AvatarRootAbbreviationSizes[props.size]
87
+ : AvatarRootIconSizes[props.size]
88
+ ),
69
89
  classAttribute.value,
70
90
  ]);
71
91
 
@@ -3,6 +3,7 @@ export enum AvatarSize {
3
3
  L = 'l',
4
4
  M = 'm',
5
5
  S = 's',
6
+ XS = 'xs',
6
7
  }
7
8
 
8
9
  export enum AvatarColor {
@@ -27,36 +27,30 @@ export const AvatarRootSizes: Record<AvatarSize, string[]> = {
27
27
  // Box
28
28
  'w-[80px]',
29
29
  'h-[80px]',
30
-
31
- // Typography
32
- 'text-[32px]',
33
30
  ],
34
31
 
35
32
  'l': [
36
33
  // Box
37
34
  'w-[64px]',
38
35
  'h-[64px]',
39
-
40
- // Typography
41
- 'text-[24px]',
42
36
  ],
43
37
 
44
38
  'm': [
45
39
  // Box
46
40
  'w-[40px]',
47
41
  'h-[40px]',
48
-
49
- // Typography
50
- 'text-[16px]',
51
42
  ],
52
43
 
53
44
  's': [
54
45
  // Box
55
46
  'w-[32px]',
56
47
  'h-[32px]',
48
+ ],
57
49
 
58
- // Typography
59
- 'text-[16px]',
50
+ 'xs': [
51
+ // Box
52
+ 'w-[24px]',
53
+ 'h-[24px]',
60
54
  ],
61
55
  };
62
56
 
@@ -97,3 +91,47 @@ export const AvatarRootColors: Record<AvatarColor, string[]> = {
97
91
  'dark:text-overlay-dark',
98
92
  ],
99
93
  };
94
+
95
+ export const AvatarRootAbbreviationSizes: Record<AvatarSize, string[]> = {
96
+ 'xl': [
97
+ 'typography-headline-1',
98
+ ],
99
+
100
+ 'l': [
101
+ 'typography-headline-1',
102
+ ],
103
+
104
+ 'm': [
105
+ 'typography-body-1-bold',
106
+ ],
107
+
108
+ 's': [
109
+ 'typography-body-1-bold',
110
+ ],
111
+
112
+ 'xs': [
113
+ 'typography-caption-semibold',
114
+ ],
115
+ };
116
+
117
+ export const AvatarRootIconSizes: Record<AvatarSize, string[]> = {
118
+ 'xl': [
119
+ 'text-[40px]',
120
+ ],
121
+
122
+ 'l': [
123
+ 'text-[32px]',
124
+ ],
125
+
126
+ 'm': [
127
+ 'text-[20px]',
128
+ ],
129
+
130
+ 's': [
131
+ 'text-[16px]',
132
+ ],
133
+
134
+ 'xs': [
135
+ 'text-[16px]',
136
+ ],
137
+ };
@@ -94,9 +94,9 @@ export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
94
94
 
95
95
  // Spacing
96
96
  'first-child:pl-md first-child:md:pl-sm+',
97
- 'intermediate-child:pt-[11px] intermediate-child:md:pt-[7px]',
98
- 'intermediate-child:pb-[11px] intermediate-child:md:pb-[6px]',
99
97
  'last-child:pr-md last-child:md:pr-sm+',
98
+ 'children:pt-[11px] children:md:pt-[7px]',
99
+ 'children:pb-[11px] children:md:pb-[6px]',
100
100
 
101
101
  'gap-sm+ md:gap-sm',
102
102
 
@@ -110,8 +110,8 @@ export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
110
110
 
111
111
  // Spacing
112
112
  'first-child:pl-sm',
113
- 'intermediate-child:py-[6px]',
114
113
  'last-child:pr-sm',
114
+ 'children:py-[6px]',
115
115
 
116
116
  'gap-[6px]',
117
117
 
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
- v-bind="$attrs"
5
4
  :class="rootStyles"
6
5
  >
7
6
  <template v-if="label">
@@ -30,51 +29,46 @@
30
29
  :id="controlId"
31
30
  ref="input"
32
31
  v-model="proxyModelValue"
32
+ v-bind="$attrs"
33
33
  :class="controlStyles"
34
34
  :type="type === 'password' && disclosed ? 'text' : type"
35
35
  :placeholder="placeholder"
36
36
  :required="required"
37
37
  :disabled="disabled"
38
-
39
- :read-only="readonly"
40
- :max-length="maxLength"
41
-
42
38
  @keydown="$emit('keydown', $event)"
43
39
  @keyup="$emit('keyup', $event)"
44
40
  @focus="$emit('focus', $event)"
45
41
  @blur="$emit('blur', $event)"
46
42
  >
47
43
 
48
- <template v-if="type !== 'text'">
49
- <div :class="['layout-row']">
50
- <template v-if="type === 'password'">
44
+ <div :class="['layout-row']">
45
+ <template v-if="type === 'password'">
46
+ <OrIconButton
47
+ :icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
48
+ :color="'inherit'"
49
+ :disabled="disabled"
50
+ @click.stop="disclosed = !disclosed"
51
+ />
52
+ </template>
53
+
54
+ <template v-if="type === 'search'">
55
+ <template v-if="modelValue">
51
56
  <OrIconButton
52
- :icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
57
+ :icon="'close'"
53
58
  :color="'inherit'"
54
59
  :disabled="disabled"
55
- @click.stop="disclosed = !disclosed"
60
+ @click.stop="$emit('update:modelValue', '')"
56
61
  />
57
62
  </template>
58
63
 
59
- <template v-if="type === 'search'">
60
- <template v-if="modelValue">
61
- <OrIconButton
62
- :icon="'close'"
63
- :color="'inherit'"
64
- :disabled="disabled"
65
- @click.stop="$emit('update:modelValue', '')"
66
- />
67
- </template>
68
-
69
- <template v-else>
70
- <OrIcon
71
- :icon="'search'"
72
- :variant="'outlined'"
73
- />
74
- </template>
64
+ <template v-else>
65
+ <OrIcon
66
+ :icon="'search'"
67
+ :variant="'outlined'"
68
+ />
75
69
  </template>
76
- </div>
77
- </template>
70
+ </template>
71
+ </div>
78
72
  </OrInputBox>
79
73
 
80
74
  <template v-if="!invalid">
@@ -108,10 +108,6 @@ export default {
108
108
  control: { type: 'boolean' },
109
109
  },
110
110
 
111
- disableDefaultStyles: {
112
- control: { type: 'boolean' },
113
- },
114
-
115
111
  enableSearch: {
116
112
  control: { type: 'boolean' },
117
113
  },
@@ -24,7 +24,6 @@
24
24
  v-dropdown-open="toggle"
25
25
  v-dropdown-close="close"
26
26
  :class="[popoverState === 'open' && 'rounded-b-0']"
27
- :variant="disableDefaultStyles ? 'unstyled' : 'styled'"
28
27
  :size="size"
29
28
  :invalid="invalid"
30
29
  :readonly="readonly"
@@ -315,11 +314,6 @@ export default defineComponent({
315
314
  default: false,
316
315
  },
317
316
 
318
- disableDefaultStyles: {
319
- type: Boolean,
320
- default: false,
321
- },
322
-
323
317
  enableSearch: {
324
318
  type: Boolean,
325
319
  default: false,
@@ -1,27 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
3
- [x: string]: ((...args: any[]) => any) | null;
4
- } | string[], {} & {}, {
5
- [x: number]: string;
6
- } | {}, true>)>;
7
- export default _default;
8
- export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
9
- [x: string]: ((...args: any[]) => any) | null;
10
- } | string[], {} & {}, {
11
- [x: number]: string;
12
- } | {}, true>)>;
13
- export declare const Addon: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
14
- [x: string]: ((...args: any[]) => any) | null;
15
- } | string[], {} & {}, {
16
- [x: number]: string;
17
- } | {}, true>)>;
18
- export declare const Hint: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
19
- [x: string]: ((...args: any[]) => any) | null;
20
- } | string[], {} & {}, {
21
- [x: number]: string;
22
- } | {}, true>)>;
23
- export declare const Error: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
24
- [x: string]: ((...args: any[]) => any) | null;
25
- } | string[], {} & {}, {
26
- [x: number]: string;
27
- } | {}, true>)>;