@onereach/ui-components 2.65.2-beta.1970.0 → 2.65.2-beta.1972.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 (73) hide show
  1. package/dist/v2/{OrCardCollection-503fb7e3.js → OrCardCollection-064282ad.js} +2 -2
  2. package/dist/v2/{OrConfirm-bf5f8c06.js → OrConfirm-924ae32c.js} +1 -1
  3. package/dist/v2/{OrIconButton-25f95642.js → OrIconButton-d4e78dbd.js} +2 -2
  4. package/dist/v2/{OrInlineInput-be207a94.js → OrInlineInput-0fea477d.js} +1 -1
  5. package/dist/v2/{OrInlineTextarea-6354de76.js → OrInlineTextarea-6d18caed.js} +1 -1
  6. package/dist/v2/{OrInput-60aedc25.js → OrInput-385f48da.js} +1 -1
  7. package/dist/v2/{OrMenu-56f410e5.js → OrMenu-a2dedea3.js} +1 -1
  8. package/dist/v2/{OrModal-ecdba2ef.js → OrModal-80e15678.js} +1 -1
  9. package/dist/v2/{OrNotification-feb027de.js → OrNotification-3d1dab4c.js} +1 -1
  10. package/dist/v2/{OrPopover-57e3263d.js → OrPopover-c6e5acf4.js} +10 -3
  11. package/dist/v2/{OrSearch-7160527b.js → OrSearch-b087463b.js} +1 -1
  12. package/dist/v2/{OrSelect-65bd318d.js → OrSelect-bd41da4a.js} +3 -3
  13. package/dist/v2/{OrTabs-8a23a484.js → OrTabs-1ad5fb57.js} +2 -2
  14. package/dist/v2/{OrTag-b4de4060.js → OrTag-5e12d98e.js} +1 -1
  15. package/dist/v2/{OrTooltip-6686c58b.js → OrTooltip-c51ebe82.js} +1 -1
  16. package/dist/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -0
  17. package/dist/v2/index.js +16 -16
  18. package/dist/v2/index11.js +5 -5
  19. package/dist/v2/index2.js +16 -16
  20. package/dist/v2/index21.js +5 -5
  21. package/dist/v2/index32.js +3 -3
  22. package/dist/v2/index35.js +4 -4
  23. package/dist/v2/index37.js +4 -4
  24. package/dist/v2/index39.js +4 -4
  25. package/dist/v2/index49.js +2 -2
  26. package/dist/v2/index51.js +4 -4
  27. package/dist/v2/index53.js +4 -4
  28. package/dist/v2/index57.js +1 -1
  29. package/dist/v2/index63.js +5 -5
  30. package/dist/v2/index66.js +6 -6
  31. package/dist/v2/index80.js +3 -3
  32. package/dist/v2/index82.js +4 -4
  33. package/dist/v2/index90.js +4 -4
  34. package/dist/v2/index93.js +2 -2
  35. package/dist/v2/{types-454066a9.js → types-d1571b53.js} +1 -1
  36. package/dist/v3/{OrCardCollection-e9c02bcf.js → OrCardCollection-aabb79d6.js} +2 -2
  37. package/dist/v3/{OrConfirm-d6b73de8.js → OrConfirm-9aa2eb42.js} +1 -1
  38. package/dist/v3/{OrIconButton-f8b88310.js → OrIconButton-7905be29.js} +2 -2
  39. package/dist/v3/{OrInlineInput-2cf02399.js → OrInlineInput-acf4170c.js} +1 -1
  40. package/dist/v3/{OrInlineTextarea-7680bb2f.js → OrInlineTextarea-271d41ba.js} +1 -1
  41. package/dist/v3/{OrInput-c09652e0.js → OrInput-0accb96c.js} +1 -1
  42. package/dist/v3/{OrMenu-73fdfbf0.js → OrMenu-320b485f.js} +1 -1
  43. package/dist/v3/{OrModal-a1f90b67.js → OrModal-3e294644.js} +1 -1
  44. package/dist/v3/{OrNotification-d251a88f.js → OrNotification-5806b30e.js} +1 -1
  45. package/dist/v3/{OrPopover-4306463c.js → OrPopover-16b6f117.js} +11 -2
  46. package/dist/v3/{OrSearch-0ca5a198.js → OrSearch-d7662fa5.js} +1 -1
  47. package/dist/v3/{OrSelect-3388f00a.js → OrSelect-60ab3704.js} +3 -3
  48. package/dist/v3/{OrTabs-938f205b.js → OrTabs-ec203edf.js} +2 -2
  49. package/dist/v3/{OrTag-081d92e2.js → OrTag-7e2abc90.js} +1 -1
  50. package/dist/v3/{OrTooltip-6e00b8ac.js → OrTooltip-cbb14b43.js} +1 -1
  51. package/dist/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -0
  52. package/dist/v3/index.js +16 -16
  53. package/dist/v3/index11.js +5 -5
  54. package/dist/v3/index2.js +16 -16
  55. package/dist/v3/index21.js +5 -5
  56. package/dist/v3/index32.js +3 -3
  57. package/dist/v3/index35.js +4 -4
  58. package/dist/v3/index37.js +4 -4
  59. package/dist/v3/index39.js +4 -4
  60. package/dist/v3/index49.js +2 -2
  61. package/dist/v3/index51.js +4 -4
  62. package/dist/v3/index53.js +4 -4
  63. package/dist/v3/index57.js +1 -1
  64. package/dist/v3/index63.js +5 -5
  65. package/dist/v3/index66.js +6 -6
  66. package/dist/v3/index80.js +3 -3
  67. package/dist/v3/index82.js +4 -4
  68. package/dist/v3/index90.js +4 -4
  69. package/dist/v3/index93.js +2 -2
  70. package/dist/v3/{types-45231fbe.js → types-ac61ba80.js} +1 -1
  71. package/package.json +1 -1
  72. package/src/components/or-menu-v3/OrMenu.stories3.ts +8 -6
  73. package/src/components/or-popover-v3/OrPopover.vue +11 -1
@@ -1,4 +1,4 @@
1
- export { I as InputType, s as OrInputV3 } from './OrInput-c09652e0.js';
1
+ export { I as InputType, s as OrInputV3 } from './OrInput-0accb96c.js';
2
2
  export { a as InputSize } from './OrInputBox-634230b1.js';
3
3
  import 'vue-demi';
4
4
  import './useClassAttribute-47fdb016.js';
@@ -6,10 +6,10 @@ import '@vueuse/core';
6
6
  import './OrError-19a62a18.js';
7
7
  import 'vue';
8
8
  import './OrHint-73835593.js';
9
- import './OrIconButton-f8b88310.js';
9
+ import './OrIconButton-7905be29.js';
10
10
  import './OrIcon-e2fa4cf8.js';
11
- import './OrTooltip-6e00b8ac.js';
12
- import './OrPopover-4306463c.js';
11
+ import './OrTooltip-cbb14b43.js';
12
+ import './OrPopover-16b6f117.js';
13
13
  import '@floating-ui/dom';
14
14
  import './useElevation-0e973238.js';
15
15
  import './useResponsive-a02e95b7.js';
@@ -1,5 +1,5 @@
1
- export { s as OrMenuV3 } from './OrMenu-73fdfbf0.js';
2
- export { P as MenuPlacement } from './OrPopover-4306463c.js';
1
+ export { s as OrMenuV3 } from './OrMenu-320b485f.js';
2
+ export { P as MenuPlacement } from './OrPopover-16b6f117.js';
3
3
  import 'vue-demi';
4
4
  import './useClassAttribute-47fdb016.js';
5
5
  import '@vueuse/core';
@@ -1,12 +1,12 @@
1
- export { M as ModalSize, s as OrModalV3 } from './OrModal-a1f90b67.js';
1
+ export { M as ModalSize, s as OrModalV3 } from './OrModal-3e294644.js';
2
2
  import 'vue-demi';
3
3
  import './useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import './OrIconButton-f8b88310.js';
5
+ import './OrIconButton-7905be29.js';
6
6
  import './OrIcon-e2fa4cf8.js';
7
7
  import 'vue';
8
- import './OrTooltip-6e00b8ac.js';
9
- import './OrPopover-4306463c.js';
8
+ import './OrTooltip-cbb14b43.js';
9
+ import './OrPopover-16b6f117.js';
10
10
  import '@floating-ui/dom';
11
11
  import './useElevation-0e973238.js';
12
12
  import './useResponsive-a02e95b7.js';
@@ -1,12 +1,12 @@
1
- export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-d251a88f.js';
1
+ export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-5806b30e.js';
2
2
  import 'vue-demi';
3
3
  import './useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import './OrIconButton-f8b88310.js';
5
+ import './OrIconButton-7905be29.js';
6
6
  import './OrIcon-e2fa4cf8.js';
7
7
  import 'vue';
8
- import './OrTooltip-6e00b8ac.js';
9
- import './OrPopover-4306463c.js';
8
+ import './OrTooltip-cbb14b43.js';
9
+ import './OrPopover-16b6f117.js';
10
10
  import '@floating-ui/dom';
11
11
  import './useElevation-0e973238.js';
12
12
  import './useResponsive-a02e95b7.js';
@@ -1,4 +1,4 @@
1
- export { s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant } from './OrPopover-4306463c.js';
1
+ export { s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant } from './OrPopover-16b6f117.js';
2
2
  import '@floating-ui/dom';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
@@ -1,16 +1,16 @@
1
- export { s as OrSearchV3 } from './OrSearch-0ca5a198.js';
1
+ export { s as OrSearchV3 } from './OrSearch-d7662fa5.js';
2
2
  export { a as SearchSize } from './OrInputBox-634230b1.js';
3
3
  import 'vue-demi';
4
4
  import '@vueuse/core';
5
5
  import './useClassAttribute-47fdb016.js';
6
- import './OrInput-c09652e0.js';
6
+ import './OrInput-0accb96c.js';
7
7
  import './OrError-19a62a18.js';
8
8
  import 'vue';
9
9
  import './OrHint-73835593.js';
10
- import './OrIconButton-f8b88310.js';
10
+ import './OrIconButton-7905be29.js';
11
11
  import './OrIcon-e2fa4cf8.js';
12
- import './OrTooltip-6e00b8ac.js';
13
- import './OrPopover-4306463c.js';
12
+ import './OrTooltip-cbb14b43.js';
13
+ import './OrPopover-16b6f117.js';
14
14
  import '@floating-ui/dom';
15
15
  import './useElevation-0e973238.js';
16
16
  import './useResponsive-a02e95b7.js';
@@ -1,4 +1,4 @@
1
- export { s as OrSelectV3 } from './OrSelect-3388f00a.js';
1
+ export { s as OrSelectV3 } from './OrSelect-60ab3704.js';
2
2
  export { a as SelectSize } from './OrInputBox-634230b1.js';
3
3
  import 'vue-demi';
4
4
  import './dropdown-open-0d314aa4.js';
@@ -13,10 +13,10 @@ import './OrError-19a62a18.js';
13
13
  import './OrExpansionPanel-65afdfad.js';
14
14
  import './OrIcon-e2fa4cf8.js';
15
15
  import './OrHint-73835593.js';
16
- import './OrInput-c09652e0.js';
17
- import './OrIconButton-f8b88310.js';
18
- import './OrTooltip-6e00b8ac.js';
19
- import './OrPopover-4306463c.js';
16
+ import './OrInput-0accb96c.js';
17
+ import './OrIconButton-7905be29.js';
18
+ import './OrTooltip-cbb14b43.js';
19
+ import './OrPopover-16b6f117.js';
20
20
  import '@floating-ui/dom';
21
21
  import './useElevation-0e973238.js';
22
22
  import './useResponsive-a02e95b7.js';
@@ -24,4 +24,4 @@ import './OrBottomSheet-9de57dd0.js';
24
24
  import './OrOverlay-27050c19.js';
25
25
  import './OrTeleport.vue3-8099178c.js';
26
26
  import './OrMenuItem-9cfc4cc4.js';
27
- import './OrTag-081d92e2.js';
27
+ import './OrTag-7e2abc90.js';
@@ -1,12 +1,12 @@
1
- export { s as OrTabsV3, T as TabsVariant } from './OrTabs-938f205b.js';
1
+ export { s as OrTabsV3, T as TabsVariant } from './OrTabs-ec203edf.js';
2
2
  import '@vueuse/core';
3
3
  import 'vue-demi';
4
4
  import './useClassAttribute-47fdb016.js';
5
5
  import './OrIcon-e2fa4cf8.js';
6
6
  import 'vue';
7
7
  import './OrMenuItem-9cfc4cc4.js';
8
- import './OrMenu-73fdfbf0.js';
9
- import './OrPopover-4306463c.js';
8
+ import './OrMenu-320b485f.js';
9
+ import './OrPopover-16b6f117.js';
10
10
  import '@floating-ui/dom';
11
11
  import './useElevation-0e973238.js';
12
12
  import './useResponsive-a02e95b7.js';
@@ -1,12 +1,12 @@
1
- export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-081d92e2.js';
1
+ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-7e2abc90.js';
2
2
  import 'vue-demi';
3
3
  import './useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import './OrIconButton-f8b88310.js';
5
+ import './OrIconButton-7905be29.js';
6
6
  import './OrIcon-e2fa4cf8.js';
7
7
  import 'vue';
8
- import './OrTooltip-6e00b8ac.js';
9
- import './OrPopover-4306463c.js';
8
+ import './OrTooltip-cbb14b43.js';
9
+ import './OrPopover-16b6f117.js';
10
10
  import '@floating-ui/dom';
11
11
  import './useElevation-0e973238.js';
12
12
  import './useResponsive-a02e95b7.js';
@@ -1,14 +1,14 @@
1
- export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-45231fbe.js';
1
+ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-ac61ba80.js';
2
2
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
5
  import './OrTeleport.vue3-8099178c.js';
6
6
  import 'vue';
7
- import './OrIconButton-f8b88310.js';
7
+ import './OrIconButton-7905be29.js';
8
8
  import './useClassAttribute-47fdb016.js';
9
9
  import './OrIcon-e2fa4cf8.js';
10
- import './OrTooltip-6e00b8ac.js';
11
- import './OrPopover-4306463c.js';
10
+ import './OrTooltip-cbb14b43.js';
11
+ import './OrPopover-16b6f117.js';
12
12
  import '@floating-ui/dom';
13
13
  import './useElevation-0e973238.js';
14
14
  import './useResponsive-a02e95b7.js';
@@ -1,5 +1,5 @@
1
- export { s as OrTooltipV3 } from './OrTooltip-6e00b8ac.js';
2
- export { P as TooltipPlacement } from './OrPopover-4306463c.js';
1
+ export { s as OrTooltipV3 } from './OrTooltip-cbb14b43.js';
2
+ export { P as TooltipPlacement } from './OrPopover-16b6f117.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
5
  import './useClassAttribute-47fdb016.js';
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
3
3
  import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
4
4
  import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
5
- import { s as script$2 } from './OrIconButton-f8b88310.js';
5
+ import { s as script$2 } from './OrIconButton-7905be29.js';
6
6
  import { s as script$3 } from './OrLoader-60943812.js';
7
7
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, createElementVNode, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
8
8
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.65.2-beta.1970.0",
3
+ "version": "2.65.2-beta.1972.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -134,13 +134,15 @@ const OrderDropdownTemplate: StoryFn<typeof OrMenu> = (args) => ({
134
134
  ref="button"
135
135
  variant="link"
136
136
  @click="menu.toggle()"
137
- class="text-on-background"
137
+ class="text-on-background typography-body-2-semibold"
138
138
  >
139
- Last Updated
140
- <OrIcon
141
- v-if="menu"
142
- :icon="menu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'"
143
- />
139
+ <div class="text-on-background">
140
+ Last Updated
141
+ <OrIcon
142
+ v-if="menu"
143
+ :icon="menu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'"
144
+ />
145
+ </div>
144
146
  </OrButton>
145
147
 
146
148
  <OrMenu
@@ -21,7 +21,7 @@
21
21
  <template v-if="isMobile && variant === 'auto' || variant === 'bottom-sheet'">
22
22
  <OrBottomSheet
23
23
  ref="bottomSheet"
24
- @update:state="$emit('update:state', $event)"
24
+ @update:state="handleBottomSheetState"
25
25
  >
26
26
  <slot />
27
27
  </OrBottomSheet>
@@ -187,6 +187,15 @@ export default defineComponent({
187
187
  }
188
188
  }
189
189
 
190
+ // Handlers
191
+ function handleBottomSheetState(bottomShetState: string): void {
192
+ if (bottomShetState === 'closed') {
193
+ state.value = 'closed';
194
+ } else {
195
+ state.value = 'open';
196
+ }
197
+ }
198
+
190
199
  // Effects
191
200
  watchPostEffect(() => {
192
201
  const rootElement = unref(root);
@@ -235,6 +244,7 @@ export default defineComponent({
235
244
  root,
236
245
  bottomSheet,
237
246
  bottomSheetRoot,
247
+ handleBottomSheetState,
238
248
  rootStyles,
239
249
  bodyStyles,
240
250
  state,