@onereach/ui-components 2.67.1-beta.1988.0 → 2.67.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 (202) hide show
  1. package/dist/bundled/v2/{OrButton-a4952445.js → OrButton-de67e9fc.js} +1 -6
  2. package/dist/bundled/v2/{OrCardCollection-852db65c.js → OrCardCollection-7c13a3bd.js} +2 -2
  3. package/dist/bundled/v2/{OrConfirm-c3736a7e.js → OrConfirm-b18c2ef4.js} +15 -2
  4. package/dist/bundled/v2/{OrIconButton-a046f34f.js → OrIconButton-bd603c0a.js} +1 -1
  5. package/dist/bundled/v2/{OrInlineInput-fb1e1272.js → OrInlineInput-057e8a0d.js} +1 -1
  6. package/dist/bundled/v2/{OrInlineTextarea-c6a26156.js → OrInlineTextarea-26202344.js} +1 -1
  7. package/dist/bundled/v2/{OrInput-2e2c8270.js → OrInput-31a6d6ae.js} +1 -1
  8. package/dist/bundled/v2/{OrMenu-e8c5d2e7.js → OrMenu-2f8555ac.js} +4 -13
  9. package/dist/bundled/v2/{OrMenuItem-f89dfc77.js → OrMenuItem-1360f2e7.js} +2 -2
  10. package/dist/bundled/v2/{OrModal-de2364b3.js → OrModal-55fe6ad6.js} +14 -1
  11. package/dist/bundled/v2/{OrNotification-ddef2348.js → OrNotification-13259dff.js} +1 -1
  12. package/dist/bundled/v2/{OrPopover-7a6c1cd4.js → OrPopover-cf702ae7.js} +4 -13
  13. package/dist/bundled/v2/{OrSearch-691ecd1a.js → OrSearch-cbd331c4.js} +1 -1
  14. package/dist/bundled/v2/{OrSelect-b3c60dbc.js → OrSelect-6902a50b.js} +4 -4
  15. package/dist/bundled/v2/{OrTabs-edd7cde4.js → OrTabs-a4c5b51e.js} +2 -2
  16. package/dist/bundled/v2/{OrTag-76a86a27.js → OrTag-1af18778.js} +1 -1
  17. package/dist/bundled/v2/{OrTooltip-e97b3f3c.js → OrTooltip-b572ee62.js} +1 -1
  18. package/dist/bundled/v2/components/index.js +18 -18
  19. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  20. package/dist/bundled/v2/components/or-button-v3/props.d.ts +1 -2
  21. package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -5
  22. package/dist/bundled/v2/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  23. package/dist/bundled/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +13 -2
  24. package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -6
  25. package/dist/bundled/v2/components/or-icon-button-v3/index.js +3 -3
  26. package/dist/bundled/v2/components/or-inline-input-v3/index.js +4 -4
  27. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +4 -4
  28. package/dist/bundled/v2/components/or-input-v3/index.js +4 -4
  29. package/dist/bundled/v2/components/or-menu-item-v3/index.js +1 -1
  30. package/dist/bundled/v2/components/or-menu-v3/OrMenu.stories3.d.ts +0 -5
  31. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -4
  32. package/dist/bundled/v2/components/or-menu-v3/index.js +2 -2
  33. package/dist/bundled/v2/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  34. package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  35. package/dist/bundled/v2/components/or-modal-v3/index.js +4 -4
  36. package/dist/bundled/v2/components/or-notification-v3/index.js +4 -4
  37. package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +0 -4
  38. package/dist/bundled/v2/components/or-popover-v3/index.js +1 -1
  39. package/dist/bundled/v2/components/or-search-v3/index.js +5 -5
  40. package/dist/bundled/v2/components/or-select-v3/index.js +7 -7
  41. package/dist/bundled/v2/components/or-tabs-v3/index.js +4 -4
  42. package/dist/bundled/v2/components/or-tag-v3/index.js +4 -4
  43. package/dist/bundled/v2/components/or-toast-v3/index.js +4 -4
  44. package/dist/bundled/v2/components/or-tooltip-v3/index.js +2 -2
  45. package/dist/bundled/v2/index.js +19 -19
  46. package/dist/bundled/v2/{types-9c0f214b.js → types-7ce01e13.js} +1 -1
  47. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-5af7999c.js → OrButton.vue_vue_type_script_lang-8cc3e128.js} +1 -6
  48. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-955758d3.js → OrCardCollection.vue_vue_type_script_lang-b3a66a7c.js} +4 -4
  49. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e59a7aca.js → OrConfirm.vue_vue_type_script_lang-25aa633b.js} +16 -3
  50. package/dist/bundled/v3/{OrIconButton-c521fef8.js → OrIconButton-266c8d10.js} +1 -1
  51. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-a834417f.js → OrIconButton.vue_vue_type_script_lang-1a3f26e9.js} +1 -1
  52. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-c2a171bb.js → OrInlineInput.vue_vue_type_script_lang-cedb6021.js} +2 -2
  53. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-76f1a0ee.js → OrInlineTextarea.vue_vue_type_script_lang-d8392c9d.js} +2 -2
  54. package/dist/bundled/v3/{OrInput-42bbab4d.js → OrInput-1d72afa3.js} +1 -1
  55. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d85ed216.js → OrInput.vue_vue_type_script_lang-555432de.js} +2 -2
  56. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-be8c502d.js → OrMenu.vue_vue_type_script_lang-ae4e9c15.js} +4 -13
  57. package/dist/bundled/v3/{OrMenuItem-94ffa853.js → OrMenuItem-43390552.js} +1 -1
  58. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-ccb7e082.js → OrMenuItem.vue_vue_type_script_lang-837c00ed.js} +2 -2
  59. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-1ad15097.js → OrModal.vue_vue_type_script_lang-86c2d8d6.js} +15 -2
  60. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3f69b727.js → OrNotification.vue_vue_type_script_lang-1f1b88b2.js} +2 -2
  61. package/dist/bundled/v3/{OrPopover-18a195aa.js → OrPopover-398a66a7.js} +3 -3
  62. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-1ed6063d.js → OrPopover.vue_vue_type_script_lang-b6b78855.js} +1 -12
  63. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-d7c29ff6.js → OrSearch.vue_vue_type_script_lang-82a27f13.js} +2 -2
  64. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-12ad06b5.js → OrSelect.vue_vue_type_script_lang-7c518520.js} +7 -7
  65. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ec81a576.js → OrTabs.vue_vue_type_script_lang-ed590ff8.js} +4 -4
  66. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-d7e117c8.js → OrTag.vue_vue_type_script_lang-f0b8b1dd.js} +2 -2
  67. package/dist/bundled/v3/{OrToastContainer-1c3ccf65.js → OrToastContainer-0ac62d2d.js} +1 -1
  68. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-d89a9e51.js → OrTooltip.vue_vue_type_script_lang-497543c7.js} +2 -2
  69. package/dist/bundled/v3/components/index.js +22 -22
  70. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  71. package/dist/bundled/v3/components/or-button-v3/props.d.ts +1 -2
  72. package/dist/bundled/v3/components/or-card-collection-v3/index.js +8 -8
  73. package/dist/bundled/v3/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  74. package/dist/bundled/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +13 -2
  75. package/dist/bundled/v3/components/or-confirm-v3/index.js +9 -9
  76. package/dist/bundled/v3/components/or-icon-button-v3/index.js +4 -4
  77. package/dist/bundled/v3/components/or-inline-input-v3/index.js +6 -6
  78. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +6 -6
  79. package/dist/bundled/v3/components/or-input-v3/index.js +6 -6
  80. package/dist/bundled/v3/components/or-menu-item-v3/index.js +1 -1
  81. package/dist/bundled/v3/components/or-menu-v3/OrMenu.stories3.d.ts +0 -5
  82. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -4
  83. package/dist/bundled/v3/components/or-menu-v3/index.js +3 -3
  84. package/dist/bundled/v3/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  85. package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  86. package/dist/bundled/v3/components/or-modal-v3/index.js +6 -6
  87. package/dist/bundled/v3/components/or-notification-v3/index.js +6 -6
  88. package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +0 -4
  89. package/dist/bundled/v3/components/or-popover-v3/index.js +1 -1
  90. package/dist/bundled/v3/components/or-search-v3/index.js +8 -8
  91. package/dist/bundled/v3/components/or-select-v3/index.js +11 -11
  92. package/dist/bundled/v3/components/or-tabs-v3/index.js +6 -6
  93. package/dist/bundled/v3/components/or-tag-v3/index.js +6 -6
  94. package/dist/bundled/v3/components/or-toast-v3/index.js +7 -7
  95. package/dist/bundled/v3/components/or-tooltip-v3/index.js +3 -3
  96. package/dist/bundled/v3/index.js +33 -33
  97. package/dist/bundled/v3/{types-577637c4.js → types-b32449b7.js} +2 -2
  98. package/dist/esm/v2/{OrButton-b458e82b.js → OrButton-eb895669.js} +1 -6
  99. package/dist/esm/v2/{OrCardCollection-a3ddee38.js → OrCardCollection-53f767dd.js} +2 -2
  100. package/dist/esm/v2/{OrConfirm-def2218a.js → OrConfirm-cd42379c.js} +15 -2
  101. package/dist/esm/v2/{OrIconButton-bc8a8b2e.js → OrIconButton-f9d5ff27.js} +2 -2
  102. package/dist/esm/v2/{OrInlineInput-5c99926f.js → OrInlineInput-16b53685.js} +1 -1
  103. package/dist/esm/v2/{OrInlineTextarea-a67f2376.js → OrInlineTextarea-9b85150f.js} +1 -1
  104. package/dist/esm/v2/{OrInput-b0619ac3.js → OrInput-9a484f2b.js} +1 -1
  105. package/dist/esm/v2/{OrMenu-8ca8233e.js → OrMenu-bb81644d.js} +4 -13
  106. package/dist/esm/v2/{OrMenuItem-038641b7.js → OrMenuItem-9034aece.js} +2 -2
  107. package/dist/esm/v2/{OrModal-96fa7ba5.js → OrModal-b40d9a17.js} +14 -1
  108. package/dist/esm/v2/{OrNotification-23f97c3d.js → OrNotification-999059f3.js} +1 -1
  109. package/dist/esm/v2/{OrPopover-ba3ddf1a.js → OrPopover-9080fc00.js} +4 -13
  110. package/dist/esm/v2/{OrSearch-37e43e3e.js → OrSearch-365a7797.js} +1 -1
  111. package/dist/esm/v2/{OrSelect-8bdaac4f.js → OrSelect-3f913e5f.js} +4 -4
  112. package/dist/esm/v2/{OrTabs-0d8ffa3d.js → OrTabs-b1f0c7b8.js} +3 -3
  113. package/dist/esm/v2/{OrTag-f02ededa.js → OrTag-92eb418d.js} +1 -1
  114. package/dist/esm/v2/{OrTooltip-2d423c46.js → OrTooltip-4e1b0d6c.js} +1 -1
  115. package/dist/esm/v2/components/index.js +18 -18
  116. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  117. package/dist/esm/v2/components/or-button-v3/props.d.ts +1 -2
  118. package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -5
  119. package/dist/esm/v2/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  120. package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +13 -2
  121. package/dist/esm/v2/components/or-confirm-v3/index.js +6 -6
  122. package/dist/esm/v2/components/or-icon-button-v3/index.js +3 -3
  123. package/dist/esm/v2/components/or-inline-input-v3/index.js +4 -4
  124. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +4 -4
  125. package/dist/esm/v2/components/or-input-v3/index.js +4 -4
  126. package/dist/esm/v2/components/or-menu-item-v3/index.js +1 -1
  127. package/dist/esm/v2/components/or-menu-v3/OrMenu.stories3.d.ts +0 -5
  128. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -4
  129. package/dist/esm/v2/components/or-menu-v3/index.js +2 -2
  130. package/dist/esm/v2/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  131. package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  132. package/dist/esm/v2/components/or-modal-v3/index.js +4 -4
  133. package/dist/esm/v2/components/or-notification-v3/index.js +4 -4
  134. package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +0 -4
  135. package/dist/esm/v2/components/or-popover-v3/index.js +1 -1
  136. package/dist/esm/v2/components/or-search-v3/index.js +5 -5
  137. package/dist/esm/v2/components/or-select-v3/index.js +7 -7
  138. package/dist/esm/v2/components/or-tabs-v3/index.js +4 -4
  139. package/dist/esm/v2/components/or-tag-v3/index.js +4 -4
  140. package/dist/esm/v2/components/or-toast-v3/index.js +4 -4
  141. package/dist/esm/v2/components/or-tooltip-v3/index.js +2 -2
  142. package/dist/esm/v2/index.js +18 -18
  143. package/dist/esm/v2/{types-d3101ac7.js → types-4b4245fc.js} +1 -1
  144. package/dist/esm/v3/{OrButton-4d0c2edd.js → OrButton-12b36e89.js} +1 -6
  145. package/dist/esm/v3/{OrCardCollection-1e3b3360.js → OrCardCollection-aabc4ee8.js} +2 -2
  146. package/dist/esm/v3/{OrConfirm-6645a8c2.js → OrConfirm-1d4be431.js} +15 -2
  147. package/dist/esm/v3/{OrIconButton-6c0732ac.js → OrIconButton-f6e7d913.js} +2 -2
  148. package/dist/esm/v3/{OrInlineInput-4cd64402.js → OrInlineInput-02655710.js} +1 -1
  149. package/dist/esm/v3/{OrInlineTextarea-93f80904.js → OrInlineTextarea-dd7e58f8.js} +1 -1
  150. package/dist/esm/v3/{OrInput-69f8dce1.js → OrInput-c9cbac93.js} +1 -1
  151. package/dist/esm/v3/{OrMenu-00f7c4a8.js → OrMenu-75ef8635.js} +4 -13
  152. package/dist/esm/v3/{OrMenuItem-d001f0f6.js → OrMenuItem-60afcdcb.js} +2 -2
  153. package/dist/esm/v3/{OrModal-88c56141.js → OrModal-794ff3f6.js} +14 -1
  154. package/dist/esm/v3/{OrNotification-d3d6f51d.js → OrNotification-0764ca9b.js} +1 -1
  155. package/dist/esm/v3/{OrPopover-67000227.js → OrPopover-3525c670.js} +3 -14
  156. package/dist/esm/v3/{OrSearch-1b68ba58.js → OrSearch-1f71b1db.js} +1 -1
  157. package/dist/esm/v3/{OrSelect-1fa435c6.js → OrSelect-25c0622d.js} +4 -4
  158. package/dist/esm/v3/{OrTabs-a0590a70.js → OrTabs-fe7039de.js} +3 -3
  159. package/dist/esm/v3/{OrTag-1202497c.js → OrTag-3da3c48e.js} +1 -1
  160. package/dist/esm/v3/{OrTooltip-32048f0e.js → OrTooltip-91f1a258.js} +1 -1
  161. package/dist/esm/v3/components/index.js +18 -18
  162. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  163. package/dist/esm/v3/components/or-button-v3/props.d.ts +1 -2
  164. package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
  165. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.stories3.d.ts +5 -0
  166. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +13 -2
  167. package/dist/esm/v3/components/or-confirm-v3/index.js +6 -6
  168. package/dist/esm/v3/components/or-icon-button-v3/index.js +3 -3
  169. package/dist/esm/v3/components/or-inline-input-v3/index.js +4 -4
  170. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +4 -4
  171. package/dist/esm/v3/components/or-input-v3/index.js +4 -4
  172. package/dist/esm/v3/components/or-menu-item-v3/index.js +1 -1
  173. package/dist/esm/v3/components/or-menu-v3/OrMenu.stories3.d.ts +0 -5
  174. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -4
  175. package/dist/esm/v3/components/or-menu-v3/index.js +2 -2
  176. package/dist/esm/v3/components/or-modal-v3/OrModal.stories3.d.ts +5 -0
  177. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +11 -0
  178. package/dist/esm/v3/components/or-modal-v3/index.js +4 -4
  179. package/dist/esm/v3/components/or-notification-v3/index.js +4 -4
  180. package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +0 -4
  181. package/dist/esm/v3/components/or-popover-v3/index.js +1 -1
  182. package/dist/esm/v3/components/or-search-v3/index.js +5 -5
  183. package/dist/esm/v3/components/or-select-v3/index.js +7 -7
  184. package/dist/esm/v3/components/or-tabs-v3/index.js +4 -4
  185. package/dist/esm/v3/components/or-tag-v3/index.js +4 -4
  186. package/dist/esm/v3/components/or-toast-v3/index.js +4 -4
  187. package/dist/esm/v3/components/or-tooltip-v3/index.js +2 -2
  188. package/dist/esm/v3/index.js +18 -18
  189. package/dist/esm/v3/{types-90a49024.js → types-87510065.js} +1 -1
  190. package/package.json +4 -4
  191. package/src/components/or-button-v3/props.ts +0 -1
  192. package/src/components/or-button-v3/styles.ts +0 -8
  193. package/src/components/or-confirm-v3/OrConfirm.stories3.ts +60 -0
  194. package/src/components/or-confirm-v3/OrConfirm.vue +12 -0
  195. package/src/components/or-menu-item-v3/styles.ts +2 -2
  196. package/src/components/or-menu-v3/OrMenu.stories3.ts +0 -60
  197. package/src/components/or-menu-v3/OrMenu.vue +1 -10
  198. package/src/components/or-menu-v3/styles.ts +1 -2
  199. package/src/components/or-modal-v3/OrModal.docs.mdx +1 -1
  200. package/src/components/or-modal-v3/OrModal.stories3.ts +72 -0
  201. package/src/components/or-modal-v3/OrModal.vue +12 -0
  202. package/src/components/or-popover-v3/OrPopover.vue +1 -14
@@ -13,13 +13,22 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
13
13
  type: PropType<ModalSize>;
14
14
  default: ModalSize;
15
15
  };
16
+ isOpen: {
17
+ type: PropType<boolean>;
18
+ default: boolean;
19
+ };
16
20
  }, import("@vue/composition-api").ExtractPropTypes<{
17
21
  size: {
18
22
  type: PropType<ModalSize>;
19
23
  default: ModalSize;
20
24
  };
25
+ isOpen: {
26
+ type: PropType<boolean>;
27
+ default: boolean;
28
+ };
21
29
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
22
30
  size: ModalSize;
31
+ isOpen: boolean;
23
32
  } & {} & {
24
33
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
25
34
  }, import("@vue/composition-api").ShallowUnwrapRef<{
@@ -32,9 +41,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
32
41
  close: () => void;
33
42
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
34
43
  size: ModalSize;
44
+ isOpen: boolean;
35
45
  } & {} & {
36
46
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
37
47
  }, {
38
48
  size: ModalSize;
49
+ isOpen: boolean;
39
50
  }, true>);
40
51
  export default _default;
@@ -1,12 +1,12 @@
1
- export { M as ModalSize, s as OrModalV3 } from '../../OrModal-88c56141.js';
1
+ export { M as ModalSize, s as OrModalV3 } from '../../OrModal-794ff3f6.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import '../../OrIconButton-6c0732ac.js';
5
+ import '../../OrIconButton-f6e7d913.js';
6
6
  import '../../OrIcon-e2fa4cf8.js';
7
7
  import 'vue';
8
- import '../../OrTooltip-32048f0e.js';
9
- import '../../OrPopover-67000227.js';
8
+ import '../../OrTooltip-91f1a258.js';
9
+ import '../../OrPopover-3525c670.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-d3d6f51d.js';
1
+ export { N as NotificationVariant, s as OrNotificationV3 } from '../../OrNotification-0764ca9b.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import '../../OrIconButton-6c0732ac.js';
5
+ import '../../OrIconButton-f6e7d913.js';
6
6
  import '../../OrIcon-e2fa4cf8.js';
7
7
  import 'vue';
8
- import '../../OrTooltip-32048f0e.js';
9
- import '../../OrPopover-67000227.js';
8
+ import '../../OrTooltip-91f1a258.js';
9
+ import '../../OrPopover-3525c670.js';
10
10
  import '@floating-ui/dom';
11
11
  import '../../useElevation-0e973238.js';
12
12
  import '../../useResponsive-a02e95b7.js';
@@ -10,11 +10,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
10
10
  [x: number]: string;
11
11
  } | {}, true> | undefined>;
12
12
  bottomSheetRoot: import("@vue/composition-api").ComputedRef<undefined>;
13
- handleBottomSheetState: (bottomSheetState: string) => void;
14
13
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
15
14
  bodyStyles: import("@vue/composition-api").ComputedRef<string[]>;
16
15
  state: import("@vue/composition-api").Ref<"open" | "closed">;
17
- isOpen: import("@vue/composition-api").ComputedRef<boolean>;
18
16
  open: () => void;
19
17
  close: () => void;
20
18
  }> & import("@vue/composition-api").Data, {}, {}, {
@@ -83,11 +81,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
83
81
  [x: number]: string;
84
82
  } | {}, true> | undefined>;
85
83
  bottomSheetRoot: import("@vue/composition-api").ComputedRef<undefined>;
86
- handleBottomSheetState: (bottomSheetState: string) => void;
87
84
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
88
85
  bodyStyles: import("@vue/composition-api").ComputedRef<string[]>;
89
86
  state: import("@vue/composition-api").Ref<"open" | "closed">;
90
- isOpen: import("@vue/composition-api").ComputedRef<boolean>;
91
87
  open: () => void;
92
88
  close: () => void;
93
89
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
@@ -1,4 +1,4 @@
1
- export { s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant } from '../../OrPopover-67000227.js';
1
+ export { s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant } from '../../OrPopover-3525c670.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-1b68ba58.js';
1
+ export { s as OrSearchV3 } from '../../OrSearch-1f71b1db.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-69f8dce1.js';
6
+ import '../../OrInput-c9cbac93.js';
7
7
  import '../../OrError-19a62a18.js';
8
8
  import 'vue';
9
9
  import '../../OrHint-73835593.js';
10
- import '../../OrIconButton-6c0732ac.js';
10
+ import '../../OrIconButton-f6e7d913.js';
11
11
  import '../../OrIcon-e2fa4cf8.js';
12
- import '../../OrTooltip-32048f0e.js';
13
- import '../../OrPopover-67000227.js';
12
+ import '../../OrTooltip-91f1a258.js';
13
+ import '../../OrPopover-3525c670.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-1fa435c6.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect-25c0622d.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-634230b1.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
@@ -13,15 +13,15 @@ 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-69f8dce1.js';
17
- import '../../OrIconButton-6c0732ac.js';
18
- import '../../OrTooltip-32048f0e.js';
19
- import '../../OrPopover-67000227.js';
16
+ import '../../OrInput-c9cbac93.js';
17
+ import '../../OrIconButton-f6e7d913.js';
18
+ import '../../OrTooltip-91f1a258.js';
19
+ import '../../OrPopover-3525c670.js';
20
20
  import '@floating-ui/dom';
21
21
  import '../../useElevation-0e973238.js';
22
22
  import '../../useResponsive-a02e95b7.js';
23
23
  import '../../OrBottomSheet-9de57dd0.js';
24
24
  import '../../OrOverlay-27050c19.js';
25
25
  import '../../OrTeleport.vue3-8099178c.js';
26
- import '../../OrMenuItem-d001f0f6.js';
27
- import '../../OrTag-1202497c.js';
26
+ import '../../OrMenuItem-60afcdcb.js';
27
+ import '../../OrTag-3da3c48e.js';
@@ -1,12 +1,12 @@
1
- export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-a0590a70.js';
1
+ export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-fe7039de.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
- import '../../OrMenuItem-d001f0f6.js';
8
- import '../../OrMenu-00f7c4a8.js';
9
- import '../../OrPopover-67000227.js';
7
+ import '../../OrMenuItem-60afcdcb.js';
8
+ import '../../OrMenu-75ef8635.js';
9
+ import '../../OrPopover-3525c670.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-1202497c.js';
1
+ export { s as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-3da3c48e.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import '../../OrIconButton-6c0732ac.js';
5
+ import '../../OrIconButton-f6e7d913.js';
6
6
  import '../../OrIcon-e2fa4cf8.js';
7
7
  import 'vue';
8
- import '../../OrTooltip-32048f0e.js';
9
- import '../../OrPopover-67000227.js';
8
+ import '../../OrTooltip-91f1a258.js';
9
+ import '../../OrPopover-3525c670.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-90a49024.js';
1
+ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-87510065.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-6c0732ac.js';
7
+ import '../../OrIconButton-f6e7d913.js';
8
8
  import '../../useClassAttribute-47fdb016.js';
9
9
  import '../../OrIcon-e2fa4cf8.js';
10
- import '../../OrTooltip-32048f0e.js';
11
- import '../../OrPopover-67000227.js';
10
+ import '../../OrTooltip-91f1a258.js';
11
+ import '../../OrPopover-3525c670.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-32048f0e.js';
2
- export { P as TooltipPlacement } from '../../OrPopover-67000227.js';
1
+ export { s as OrTooltipV3 } from '../../OrTooltip-91f1a258.js';
2
+ export { P as TooltipPlacement } from '../../OrPopover-3525c670.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
5
  import '../../useClassAttribute-47fdb016.js';
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-e
3
3
  export { s as OrBottomSheetV3 } from './OrBottomSheet-9de57dd0.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
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-4d0c2edd.js';
6
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-12b36e89.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-1e3b3360.js';
9
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-aabc4ee8.js';
10
10
  export { s as OrCardV3 } from './OrCard-b63658a8.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
12
12
  export { s as OrCheckbox } from './OrCheckbox-a0b957e7.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-6645a8c2.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-1d4be431.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-bbfd3ca6.js';
@@ -27,14 +27,14 @@ export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements
27
27
  export { s as OrHint } from './OrHint-1414c530.js';
28
28
  export { s as OrHintV3 } from './OrHint-73835593.js';
29
29
  export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
30
- export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-6c0732ac.js';
30
+ export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-f6e7d913.js';
31
31
  export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-e2fa4cf8.js';
32
32
  export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
33
- export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-4cd64402.js';
33
+ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-02655710.js';
34
34
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
35
- export { s as OrInlineTextareaV3 } from './OrInlineTextarea-93f80904.js';
35
+ export { s as OrInlineTextareaV3 } from './OrInlineTextarea-dd7e58f8.js';
36
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-634230b1.js';
37
- export { I as InputType, s as OrInputV3 } from './OrInput-69f8dce1.js';
37
+ export { I as InputType, s as OrInputV3 } from './OrInput-c9cbac93.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-7d4fe80b.js';
@@ -43,13 +43,13 @@ export { s as OrList } from './OrList-b740d13e.js';
43
43
  export { s as OrListOfInputs } from './OrListOfInputs-7a67440f.js';
44
44
  export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
45
45
  export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-60943812.js';
46
- export { s as OrMenuItemV3 } from './OrMenuItem-d001f0f6.js';
47
- export { s as OrMenuV3 } from './OrMenu-00f7c4a8.js';
48
- export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-67000227.js';
46
+ export { s as OrMenuItemV3 } from './OrMenuItem-60afcdcb.js';
47
+ export { s as OrMenuV3 } from './OrMenu-75ef8635.js';
48
+ export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-3525c670.js';
49
49
  export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
50
- export { M as ModalSize, s as OrModalV3 } from './OrModal-88c56141.js';
50
+ export { M as ModalSize, s as OrModalV3 } from './OrModal-794ff3f6.js';
51
51
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
52
- export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-d3d6f51d.js';
52
+ export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-0764ca9b.js';
53
53
  export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
54
54
  export { s as OrOverlay } from './OrOverlay-451dce49.js';
55
55
  export { s as OrOverlayV3 } from './OrOverlay-27050c19.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-0c1883f2.js';
61
- export { s as OrSearchV3 } from './OrSearch-1b68ba58.js';
61
+ export { s as OrSearchV3 } from './OrSearch-1f71b1db.js';
62
62
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-2bbc0f22.js';
63
63
  export { s as OrSelect } from './OrSelect-73690828.js';
64
- export { s as OrSelectV3 } from './OrSelect-1fa435c6.js';
64
+ export { s as OrSelectV3 } from './OrSelect-25c0622d.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';
@@ -75,9 +75,9 @@ export { s as OrTab } from './OrTab-bc98be02.js';
75
75
  export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
76
76
  export { s as OrTabV3 } from './OrTab-97044946.js';
77
77
  export { s as OrTabs } from './OrTabs-d3812c11.js';
78
- export { s as OrTabsV3, T as TabsVariant } from './OrTabs-a0590a70.js';
78
+ export { s as OrTabsV3, T as TabsVariant } from './OrTabs-fe7039de.js';
79
79
  export { s as OrTag } from './OrTag-1b5e43fa.js';
80
- export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-1202497c.js';
80
+ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-3da3c48e.js';
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';
@@ -85,10 +85,10 @@ export { s as OrTextareaV3 } from './OrTextarea-98895b2a.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';
88
- export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-90a49024.js';
88
+ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-87510065.js';
89
89
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
90
90
  export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
91
- export { s as OrTooltipV3 } from './OrTooltip-32048f0e.js';
91
+ export { s as OrTooltipV3 } from './OrTooltip-91f1a258.js';
92
92
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
93
93
  export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
94
94
  export { u as useElevation } from './useElevation-0e973238.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-6c0732ac.js';
5
+ import { s as script$2 } from './OrIconButton-f6e7d913.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.67.1-beta.1988.0",
3
+ "version": "2.67.1",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -121,7 +121,7 @@
121
121
  "./bundled/v3/*": {
122
122
  "types": "./dist/bundled/v3/components/*/index.d.ts",
123
123
  "default": "./dist/bundled/v3/components/*/index.js"
124
- },
125
- "./package.json": "./package.json"
126
- }
124
+ }
125
+ },
126
+ "gitHead": "179e65a403d4c04b5e2986a646d4bd9081979796"
127
127
  }
@@ -8,7 +8,6 @@ export enum ButtonVariant {
8
8
  export enum ButtonColor {
9
9
  Primary = 'primary',
10
10
  Danger = 'danger',
11
- Inherit = 'inherit',
12
11
  }
13
12
 
14
13
  export enum ButtonType {
@@ -61,8 +61,6 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
61
61
  'dark:theme-preset-1-error-dark',
62
62
  ],
63
63
 
64
- 'inherit-contained': [],
65
-
66
64
  'primary-outlined': [
67
65
  // Theme
68
66
  'theme-preset-3-primary',
@@ -81,8 +79,6 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
81
79
  'dark:theme-border-1-error-dark',
82
80
  ],
83
81
 
84
- 'inherit-outlined': [],
85
-
86
82
  'primary-text': [
87
83
  // Theme
88
84
  'theme-preset-4-primary',
@@ -95,8 +91,6 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
95
91
  'dark:theme-preset-4-error-dark',
96
92
  ],
97
93
 
98
- 'inherit-text': [],
99
-
100
94
  'primary-link': [
101
95
  // Theme
102
96
  'theme-preset-4-primary',
@@ -108,6 +102,4 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
108
102
  'theme-preset-4-error',
109
103
  'dark:theme-preset-4-error-dark',
110
104
  ],
111
-
112
- 'inherit-link': [],
113
105
  };
@@ -81,6 +81,10 @@ export default {
81
81
  textConfirmationError: {
82
82
  control: { type: 'text' },
83
83
  },
84
+
85
+ isOpen: {
86
+ control: { type: 'boolean' },
87
+ },
84
88
  },
85
89
 
86
90
  parameters: {
@@ -143,6 +147,54 @@ const Template: StoryFn<typeof OrConfirm> = (args) => ({
143
147
  `,
144
148
  });
145
149
 
150
+ const TemplateIsOpen: StoryFn<typeof OrConfirm> = (args) => ({
151
+ components: {
152
+ OrConfirm,
153
+ OrButton,
154
+ },
155
+
156
+ setup() {
157
+ const isOpen = ref(args.isOpen);
158
+ return {
159
+ args,
160
+ isOpen,
161
+ onOpen: action('open'),
162
+ onClose: () => {
163
+ isOpen.value = false;
164
+ action('close');
165
+ },
166
+ onConfirm: (event: any) => {
167
+ isOpen.value = false;
168
+ action('confirm')(event);
169
+ },
170
+ };
171
+ },
172
+
173
+ template: `
174
+ <div class="contents">
175
+ <OrButton @click="isOpen = true">Confirmation modal</OrButton>
176
+
177
+ <OrConfirm
178
+ v-bind="args"
179
+ :is-open="isOpen"
180
+ @open="onOpen"
181
+ @close="onClose"
182
+ @confirm="onConfirm"
183
+ >
184
+ <template #default v-if="args.default">
185
+ ${args.default}
186
+ </template>
187
+ <template #header v-if="args.header">
188
+ ${args.header}
189
+ </template>
190
+ <template #footer v-if="args.footer">
191
+ ${args.footer}
192
+ </template>
193
+ </OrConfirm>
194
+ </div>
195
+ `,
196
+ });
197
+
146
198
  export const Default = Template.bind({});
147
199
  Default.args = {
148
200
  titleText: 'Delete permanently',
@@ -192,3 +244,11 @@ ConfirmButtonColor.args = {
192
244
  confirmButtonText: 'Yes',
193
245
  cancelButtonText: 'No',
194
246
  };
247
+ export const UsingIsOpenProp = TemplateIsOpen.bind({});
248
+ UsingIsOpenProp.args = {
249
+ titleText: 'Confirm',
250
+ default: `Are you sure you want to <i>${Faker.hacker.verb()}</i> the <b>${Faker.hacker.noun()}</b>?`,
251
+ confirmType: ConfirmType.C,
252
+ confirmButtonText: 'Yes',
253
+ cancelButtonText: 'No',
254
+ };
@@ -139,6 +139,10 @@ export default defineComponent({
139
139
  required: false,
140
140
  default: null,
141
141
  },
142
+ isOpen: {
143
+ type: Boolean,
144
+ default: false,
145
+ },
142
146
  },
143
147
 
144
148
  emits: [
@@ -203,6 +207,14 @@ export default defineComponent({
203
207
  // Events
204
208
  watch(isActive, (value: boolean) => emit(value ? 'open' : 'close'));
205
209
 
210
+ watch(() => props.isOpen, (newIsOpen) => {
211
+ if (newIsOpen) {
212
+ open();
213
+ } else {
214
+ close();
215
+ }
216
+ }, { immediate: true });
217
+
206
218
  watch(escape, (val) => {
207
219
  if (val) close();
208
220
  });
@@ -12,10 +12,10 @@ export const MenuItemRoot: string[] = [
12
12
  'interactivity-auto',
13
13
 
14
14
  // Typography
15
- 'typography-body-2-regular md:typography-caption-regular',
15
+ 'typography-caption-regular',
16
16
 
17
17
  // Typography (selected)
18
- 'selected:typography-body-2-semibold selected:md:typography-caption-semibold',
18
+ 'selected:typography-caption-semibold',
19
19
 
20
20
  // Theme
21
21
  'theme-preset-3-primary',
@@ -3,7 +3,6 @@ import { Meta, StoryFn } from '@storybook/vue3';
3
3
  import { ref } from 'vue-demi';
4
4
  import { OrButtonV3 as OrButton } from '../or-button-v3';
5
5
  import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
6
- import { OrIconV3 as OrIcon } from '../or-icon-v3';
7
6
  import OrMenuDocs from './OrMenu.docs.mdx';
8
7
  import OrMenu from './OrMenu.vue';
9
8
  import { MenuPlacement } from './props';
@@ -106,62 +105,3 @@ Menu.args = {
106
105
  <OrMenuItem>Very Looooooooooooooooooooooooooooooooooooooooooooooooooooooooong Item</OrMenuItem>
107
106
  `,
108
107
  };
109
-
110
- const OrderDropdownTemplate: StoryFn<typeof OrMenu> = (args) => ({
111
- components: {
112
- OrButton,
113
- OrMenu,
114
- OrMenuItem,
115
- OrIcon,
116
- },
117
-
118
- setup() {
119
- // Refs
120
- const button = ref<InstanceType<typeof OrButton>>();
121
- const menu = ref<InstanceType<typeof OrMenu>>();
122
-
123
- return {
124
- args,
125
- button,
126
- menu,
127
- onUpdateState: action('update:state'),
128
- };
129
- },
130
-
131
- template: `
132
- <div class="contents">
133
- <OrButton
134
- ref="button"
135
- variant="link"
136
- color="inherit"
137
- @click="menu.toggle()"
138
- >
139
- Last Updated
140
- <OrIcon
141
- v-if="menu"
142
- :icon="menu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'"
143
- />
144
- </OrButton>
145
- <OrMenu
146
- ref="menu"
147
- v-bind="args"
148
- :trigger="button?.root"
149
- @update:state="onUpdateState"
150
- >
151
- ${args.default}
152
- </OrMenu>
153
- </div>
154
- `,
155
- });
156
-
157
- export const OrderDropdown = OrderDropdownTemplate.bind({});
158
-
159
- OrderDropdown.args = {
160
- // Slots
161
- default: `
162
- <OrMenuItem selected>Last Updated</OrMenuItem>
163
- <OrMenuItem>Firs Updated</OrMenuItem>
164
- <OrMenuItem>A - Z</OrMenuItem>
165
- <OrMenuItem>Z - A</OrMenuItem>
166
- `,
167
- };
@@ -6,7 +6,7 @@
6
6
  >
7
7
  <OrPopover
8
8
  ref="popover"
9
- :variant="'auto'"
9
+ :variant="'popover'"
10
10
  :trigger="trigger"
11
11
  :placement="placement"
12
12
  :full-width="false"
@@ -59,8 +59,6 @@ export default defineComponent({
59
59
  'root',
60
60
  'open',
61
61
  'close',
62
- 'isOpen',
63
- 'toggle',
64
62
  ],
65
63
 
66
64
  setup() {
@@ -69,7 +67,6 @@ export default defineComponent({
69
67
 
70
68
  const popover = ref<InstanceType<typeof OrPopover>>();
71
69
  const popoverRoot = computed(() => popover.value?.root);
72
- const isOpen = computed(() => popover.value?.isOpen);
73
70
 
74
71
  // Styles
75
72
  const classAttribute = useClassAttribute();
@@ -101,10 +98,6 @@ export default defineComponent({
101
98
  }
102
99
  }
103
100
 
104
- function toggle(): void {
105
- isOpen.value ? close() : open();
106
- }
107
-
108
101
  // Handlers
109
102
  function onClick(event: Event): void {
110
103
  const path = event.composedPath() as HTMLElement[];
@@ -124,10 +117,8 @@ export default defineComponent({
124
117
  popoverRoot,
125
118
  rootStyles,
126
119
  bodyStyles,
127
- isOpen,
128
120
  open,
129
121
  close,
130
- toggle,
131
122
  onClick,
132
123
  };
133
124
  },
@@ -8,7 +8,6 @@ export const MenuBody: string[] = [
8
8
  'overflow-y-auto',
9
9
 
10
10
  // Box
11
- 'min-w-[160px]',
12
- 'md:max-w-[256px]',
11
+ 'max-w-[128px]',
13
12
  'max-h-[340px]',
14
13
  ];
@@ -7,4 +7,4 @@ import { OrModalV3 as OrModal } from '@onereach/ui-components';
7
7
  <DocsPage />
8
8
 
9
9
  ## Migration Guide from V1
10
- - removed properties `titleText`, `showClose`, `closeOnClickOutside`, `size`, `isOpen`, and `isWithoutOverlay`
10
+ - removed properties `titleText`, `showClose`, `closeOnClickOutside`, `size`, and `isWithoutOverlay`