@onereach/ui-components 2.56.1-beta.1823.0 → 2.57.0-beta.1809.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 (176) hide show
  1. package/dist/v2/{OrConfirm-8fbe18eb.js → OrConfirm-729e7835.js} +1 -1
  2. package/dist/v2/OrFab-c115c828.js +104 -0
  3. package/dist/v2/{OrInput-9dc698c8.js → OrInput-1f36471b.js} +1 -1
  4. package/dist/v2/{OrInputBox-f1453506.js → OrInputBox-fd7cc45b.js} +1 -3
  5. package/dist/v2/{OrSearch-767101e0.js → OrSearch-32ea3f3d.js} +2 -2
  6. package/dist/v2/{OrSelect-5e0cd0eb.js → OrSelect-bb37ad72.js} +2 -2
  7. package/dist/v2/{OrTextarea-e8f9f2e7.js → OrTextarea-bc89a104.js} +1 -1
  8. package/dist/v2/components/index.d.ts +1 -0
  9. package/dist/v2/components/or-fab-v3/OrFab.stories3.d.ts +12 -0
  10. package/dist/v2/components/or-fab-v3/OrFab.vue.d.ts +47 -0
  11. package/dist/v2/components/or-fab-v3/index.d.ts +2 -0
  12. package/dist/v2/components/or-fab-v3/props.d.ts +4 -0
  13. package/dist/v2/components/or-fab-v3/styles.d.ts +3 -0
  14. package/dist/v2/index.js +8 -7
  15. package/dist/v2/index2.js +8 -7
  16. package/dist/v2/index20.js +3 -3
  17. package/dist/v2/index26.js +4 -7
  18. package/dist/v2/index27.js +6 -2
  19. package/dist/v2/index28.js +3 -3
  20. package/dist/v2/index29.js +3 -10
  21. package/dist/v2/index30.js +9 -12
  22. package/dist/v2/index31.js +11 -1
  23. package/dist/v2/index32.js +1 -1
  24. package/dist/v2/index33.js +1 -16
  25. package/dist/v2/index34.js +17 -17
  26. package/dist/v2/index35.js +17 -17
  27. package/dist/v2/index36.js +16 -1
  28. package/dist/v2/index37.js +1 -17
  29. package/dist/v2/index38.js +18 -22
  30. package/dist/v2/index39.js +22 -2
  31. package/dist/v2/index40.js +3 -3
  32. package/dist/v2/index41.js +1 -1
  33. package/dist/v2/index42.js +3 -20
  34. package/dist/v2/index43.js +1 -7
  35. package/dist/v2/index44.js +24 -1
  36. package/dist/v2/index45.js +3 -3
  37. package/dist/v2/index46.js +1 -2
  38. package/dist/v2/index47.js +2 -9
  39. package/dist/v2/index48.js +10 -17
  40. package/dist/v2/index49.js +17 -13
  41. package/dist/v2/index50.js +13 -14
  42. package/dist/v2/index51.js +14 -13
  43. package/dist/v2/index52.js +12 -15
  44. package/dist/v2/index53.js +16 -1
  45. package/dist/v2/index54.js +2 -6
  46. package/dist/v2/index55.js +1 -5
  47. package/dist/v2/index56.js +10 -3
  48. package/dist/v2/index57.js +2 -4
  49. package/dist/v2/index58.js +5 -3
  50. package/dist/v2/index59.js +2 -1
  51. package/dist/v2/index60.js +2 -5
  52. package/dist/v2/index61.js +3 -18
  53. package/dist/v2/index62.js +18 -15
  54. package/dist/v2/index63.js +15 -23
  55. package/dist/v2/index64.js +25 -4
  56. package/dist/v2/index65.js +2 -1
  57. package/dist/v2/index66.js +3 -4
  58. package/dist/v2/index67.js +2 -10
  59. package/dist/v2/index68.js +3 -6
  60. package/dist/v2/index69.js +13 -2
  61. package/dist/v2/index70.js +4 -6
  62. package/dist/v2/index71.js +6 -4
  63. package/dist/v2/index72.js +2 -1
  64. package/dist/v2/index73.js +3 -3
  65. package/dist/v2/index74.js +3 -4
  66. package/dist/v2/index75.js +4 -15
  67. package/dist/v2/index76.js +14 -11
  68. package/dist/v2/index77.js +11 -13
  69. package/dist/v2/index78.js +14 -2
  70. package/dist/v2/index79.js +2 -2
  71. package/dist/v2/index80.js +2 -3
  72. package/dist/v2/index81.js +1 -6
  73. package/dist/v2/index82.js +7 -20
  74. package/dist/v2/index83.js +12 -9
  75. package/dist/v2/index84.js +18 -1
  76. package/dist/v2/index85.js +2 -18
  77. package/dist/v2/index86.js +18 -2
  78. package/dist/v2/index87.js +2 -10
  79. package/dist/v2/index88.js +9 -11
  80. package/dist/v2/index89.js +12 -6
  81. package/dist/v2/index90.js +5 -1
  82. package/dist/v2/index91.js +3 -0
  83. package/dist/v2/{types-4c78d753.js → types-029719dd.js} +2 -2
  84. package/dist/v3/{OrConfirm-6469f339.js → OrConfirm-370ec69e.js} +1 -1
  85. package/dist/v3/OrFab-d8fece8b.js +79 -0
  86. package/dist/v3/{OrInput-7676b23c.js → OrInput-e70341f6.js} +1 -1
  87. package/dist/v3/{OrInputBox-052e85ce.js → OrInputBox-e0c82161.js} +1 -3
  88. package/dist/v3/{OrSearch-b3a1847d.js → OrSearch-0b894dde.js} +2 -2
  89. package/dist/v3/{OrSelect-961623c2.js → OrSelect-9aeb53ce.js} +2 -2
  90. package/dist/v3/{OrTextarea-4eb4b448.js → OrTextarea-37ec6826.js} +1 -1
  91. package/dist/v3/components/index.d.ts +1 -0
  92. package/dist/v3/components/or-fab-v3/OrFab.stories3.d.ts +12 -0
  93. package/dist/v3/components/or-fab-v3/OrFab.vue.d.ts +47 -0
  94. package/dist/v3/components/or-fab-v3/index.d.ts +2 -0
  95. package/dist/v3/components/or-fab-v3/props.d.ts +4 -0
  96. package/dist/v3/components/or-fab-v3/styles.d.ts +3 -0
  97. package/dist/v3/index.js +8 -7
  98. package/dist/v3/index2.js +8 -7
  99. package/dist/v3/index20.js +3 -3
  100. package/dist/v3/index26.js +4 -6
  101. package/dist/v3/index27.js +5 -2
  102. package/dist/v3/index28.js +3 -3
  103. package/dist/v3/index29.js +3 -9
  104. package/dist/v3/index30.js +8 -11
  105. package/dist/v3/index31.js +10 -1
  106. package/dist/v3/index32.js +1 -1
  107. package/dist/v3/index33.js +1 -15
  108. package/dist/v3/index34.js +16 -14
  109. package/dist/v3/index35.js +14 -16
  110. package/dist/v3/index36.js +16 -2
  111. package/dist/v3/index37.js +2 -17
  112. package/dist/v3/index38.js +17 -17
  113. package/dist/v3/index39.js +16 -1
  114. package/dist/v3/index40.js +3 -3
  115. package/dist/v3/index41.js +1 -1
  116. package/dist/v3/index42.js +3 -16
  117. package/dist/v3/index43.js +1 -7
  118. package/dist/v3/index44.js +20 -1
  119. package/dist/v3/index45.js +3 -3
  120. package/dist/v3/index46.js +1 -2
  121. package/dist/v3/index47.js +2 -8
  122. package/dist/v3/index48.js +9 -14
  123. package/dist/v3/index49.js +14 -12
  124. package/dist/v3/index50.js +12 -11
  125. package/dist/v3/index51.js +11 -12
  126. package/dist/v3/index52.js +11 -11
  127. package/dist/v3/index53.js +12 -1
  128. package/dist/v3/index54.js +2 -5
  129. package/dist/v3/index55.js +1 -5
  130. package/dist/v3/index56.js +9 -3
  131. package/dist/v3/index57.js +2 -4
  132. package/dist/v3/index58.js +5 -3
  133. package/dist/v3/index59.js +2 -1
  134. package/dist/v3/index60.js +1 -4
  135. package/dist/v3/index61.js +3 -17
  136. package/dist/v3/index62.js +17 -14
  137. package/dist/v3/index63.js +13 -21
  138. package/dist/v3/index64.js +23 -3
  139. package/dist/v3/index65.js +2 -1
  140. package/dist/v3/index66.js +3 -4
  141. package/dist/v3/index67.js +2 -9
  142. package/dist/v3/index68.js +3 -4
  143. package/dist/v3/index69.js +10 -2
  144. package/dist/v3/index70.js +3 -5
  145. package/dist/v3/index71.js +5 -3
  146. package/dist/v3/index72.js +2 -1
  147. package/dist/v3/index73.js +3 -3
  148. package/dist/v3/index74.js +3 -4
  149. package/dist/v3/index75.js +4 -14
  150. package/dist/v3/index76.js +13 -10
  151. package/dist/v3/index77.js +10 -12
  152. package/dist/v3/index78.js +13 -1
  153. package/dist/v3/index79.js +1 -1
  154. package/dist/v3/index80.js +1 -3
  155. package/dist/v3/index81.js +1 -6
  156. package/dist/v3/index82.js +6 -16
  157. package/dist/v3/index83.js +12 -9
  158. package/dist/v3/index84.js +15 -1
  159. package/dist/v3/index85.js +2 -17
  160. package/dist/v3/index86.js +17 -2
  161. package/dist/v3/index87.js +2 -8
  162. package/dist/v3/index88.js +6 -9
  163. package/dist/v3/index89.js +11 -6
  164. package/dist/v3/index90.js +5 -1
  165. package/dist/v3/index91.js +3 -0
  166. package/dist/v3/{types-0fd6e18c.js → types-38b5d49f.js} +2 -2
  167. package/package.json +2 -2
  168. package/src/components/index.ts +1 -0
  169. package/src/components/or-fab-v3/OrFab.docs.mdx +3 -0
  170. package/src/components/or-fab-v3/OrFab.stories3.ts +57 -0
  171. package/src/components/or-fab-v3/OrFab.vue +65 -0
  172. package/src/components/or-fab-v3/index.ts +2 -0
  173. package/src/components/or-fab-v3/props.ts +4 -0
  174. package/src/components/or-fab-v3/styles.ts +33 -0
  175. package/src/components/or-input-box-v3/styles.ts +1 -5
  176. package/src/components/or-toast-v3/styles.ts +2 -2
@@ -1,13 +1,16 @@
1
- export { s as OrTag } from './OrTag-7e24fdbc.js';
1
+ export { s as OrTabsV3, T as TabsVariant } from './OrTabs-e1662dd9.js';
2
+ import '@vueuse/core';
2
3
  import 'vue-demi';
3
- import './OrIcon-e23028f8.js';
4
- import 'lodash';
5
- import './OrTooltip-121eae2b.js';
4
+ import './useClassAttribute-47fdb016.js';
5
+ import './OrIcon-7aea0897.js';
6
6
  import 'vue';
7
- import './style-inject.es-4c6f2515.js';
8
- import './OrFloating-3da814a2.js';
7
+ import './OrMenuItem-397a57e8.js';
8
+ import './OrMenu-ae5443ce.js';
9
+ import './OrPopover-45b1b10c.js';
9
10
  import '@floating-ui/dom';
10
- import './OrTeleportVue3-ad639f12.js';
11
- import './dom-7a41831b.js';
12
- import './px-to-rem-0b26b83e.js';
13
- import './color-1f348774.js';
11
+ import './useElevation-0e973238.js';
12
+ import './useResponsive-a02e95b7.js';
13
+ import './OrBottomSheet-c554736e.js';
14
+ import './OrOverlay-f7aa1e20.js';
15
+ import './OrTeleport.vue3-8099178c.js';
16
+ import './OrTab-5603c197.js';
@@ -1,15 +1,13 @@
1
- export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-86441466.js';
1
+ export { s as OrTag } from './OrTag-7e24fdbc.js';
2
2
  import 'vue-demi';
3
- import './useClassAttribute-47fdb016.js';
4
- import '@vueuse/core';
5
- import './OrIconButton-4eb5be4a.js';
6
- import './OrIcon-7aea0897.js';
3
+ import './OrIcon-e23028f8.js';
4
+ import 'lodash';
5
+ import './OrTooltip-121eae2b.js';
7
6
  import 'vue';
8
- import './OrTooltip-46d77128.js';
9
- import './OrPopover-45b1b10c.js';
7
+ import './style-inject.es-4c6f2515.js';
8
+ import './OrFloating-3da814a2.js';
10
9
  import '@floating-ui/dom';
11
- import './useElevation-0e973238.js';
12
- import './useResponsive-a02e95b7.js';
13
- import './OrBottomSheet-c554736e.js';
14
- import './OrOverlay-f7aa1e20.js';
15
- import './OrTeleport.vue3-8099178c.js';
10
+ import './OrTeleportVue3-ad639f12.js';
11
+ import './dom-7a41831b.js';
12
+ import './px-to-rem-0b26b83e.js';
13
+ import './color-1f348774.js';
@@ -1,3 +1,15 @@
1
- export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
1
+ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-86441466.js';
2
2
  import 'vue-demi';
3
+ import './useClassAttribute-47fdb016.js';
4
+ import '@vueuse/core';
5
+ import './OrIconButton-4eb5be4a.js';
6
+ import './OrIcon-7aea0897.js';
3
7
  import 'vue';
8
+ import './OrTooltip-46d77128.js';
9
+ import './OrPopover-45b1b10c.js';
10
+ import '@floating-ui/dom';
11
+ import './useElevation-0e973238.js';
12
+ import './useResponsive-a02e95b7.js';
13
+ import './OrBottomSheet-c554736e.js';
14
+ import './OrOverlay-f7aa1e20.js';
15
+ import './OrTeleport.vue3-8099178c.js';
@@ -1,3 +1,3 @@
1
- export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
1
+ export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
2
2
  import 'vue-demi';
3
3
  import 'vue';
@@ -1,5 +1,3 @@
1
- export { s as OrTextV3 } from './OrText-ecb46923.js';
1
+ export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
2
2
  import 'vue-demi';
3
- import './useClassAttribute-47fdb016.js';
4
- import '@vueuse/core';
5
3
  import 'vue';
@@ -1,10 +1,5 @@
1
- export { s as OrTextareaV3 } from './OrTextarea-4eb4b448.js';
2
- export { a as TextareaSize } from './OrInputBox-052e85ce.js';
1
+ export { s as OrTextV3 } from './OrText-ecb46923.js';
3
2
  import 'vue-demi';
4
3
  import './useClassAttribute-47fdb016.js';
5
4
  import '@vueuse/core';
6
- import './OrError-a37964bc.js';
7
5
  import 'vue';
8
- import './OrHint-7016dc0d.js';
9
- import './OrLabel-0d19ba7a.js';
10
- import './style-inject.es-4c6f2515.js';
@@ -1,20 +1,10 @@
1
- export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-faa4f81a.js';
1
+ export { s as OrTextareaV3 } from './OrTextarea-37ec6826.js';
2
+ export { a as TextareaSize } from './OrInputBox-e0c82161.js';
2
3
  import 'vue-demi';
4
+ import './useClassAttribute-47fdb016.js';
3
5
  import '@vueuse/core';
4
- import './useToggle-29e4d7c7.js';
5
- import './px-to-rem-0b26b83e.js';
6
- import './dom-7a41831b.js';
7
- import 'lodash';
8
- import './OrLabel-876f8729.js';
6
+ import './OrError-a37964bc.js';
9
7
  import 'vue';
8
+ import './OrHint-7016dc0d.js';
9
+ import './OrLabel-0d19ba7a.js';
10
10
  import './style-inject.es-4c6f2515.js';
11
- import './OrIconButton-f72cb8d9.js';
12
- import './OrIcon-e23028f8.js';
13
- import './OrTooltip-121eae2b.js';
14
- import './OrFloating-3da814a2.js';
15
- import '@floating-ui/dom';
16
- import './OrTeleportVue3-ad639f12.js';
17
- import './OrLoader-15174477.js';
18
- import './OrHint-1414c530.js';
19
- import './OrError-f90296db.js';
20
- import './OrCollapse-37a52e8f.js';
@@ -1,17 +1,20 @@
1
- export { s as OrToast, a as OrToastContainer } from './OrToastContainer-fe6abe90.js';
2
- export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
3
- import './OrIconButton-f72cb8d9.js';
1
+ export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-faa4f81a.js';
4
2
  import 'vue-demi';
5
- import './OrIcon-e23028f8.js';
3
+ import '@vueuse/core';
4
+ import './useToggle-29e4d7c7.js';
5
+ import './px-to-rem-0b26b83e.js';
6
+ import './dom-7a41831b.js';
6
7
  import 'lodash';
7
- import './OrTooltip-121eae2b.js';
8
+ import './OrLabel-876f8729.js';
8
9
  import 'vue';
9
10
  import './style-inject.es-4c6f2515.js';
11
+ import './OrIconButton-f72cb8d9.js';
12
+ import './OrIcon-e23028f8.js';
13
+ import './OrTooltip-121eae2b.js';
10
14
  import './OrFloating-3da814a2.js';
11
15
  import '@floating-ui/dom';
12
16
  import './OrTeleportVue3-ad639f12.js';
13
- import './dom-7a41831b.js';
14
- import './px-to-rem-0b26b83e.js';
15
17
  import './OrLoader-15174477.js';
16
- import './OrProgress-d0d52c86.js';
17
- import '@vueuse/core';
18
+ import './OrHint-1414c530.js';
19
+ import './OrError-f90296db.js';
20
+ import './OrCollapse-37a52e8f.js';
@@ -1,3 +1,17 @@
1
- export { a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
1
+ export { s as OrToast, a as OrToastContainer } from './OrToastContainer-fe6abe90.js';
2
+ export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
3
+ import './OrIconButton-f72cb8d9.js';
2
4
  import 'vue-demi';
5
+ import './OrIcon-e23028f8.js';
6
+ import 'lodash';
7
+ import './OrTooltip-121eae2b.js';
8
+ import 'vue';
9
+ import './style-inject.es-4c6f2515.js';
10
+ import './OrFloating-3da814a2.js';
11
+ import '@floating-ui/dom';
12
+ import './OrTeleportVue3-ad639f12.js';
13
+ import './dom-7a41831b.js';
14
+ import './px-to-rem-0b26b83e.js';
15
+ import './OrLoader-15174477.js';
16
+ import './OrProgress-d0d52c86.js';
3
17
  import '@vueuse/core';
@@ -1,18 +1,3 @@
1
- export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-0fd6e18c.js';
2
- export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
3
- import '@vueuse/core';
1
+ export { a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
4
2
  import 'vue-demi';
5
- import './OrTeleport.vue3-8099178c.js';
6
- import 'vue';
7
- import './OrIconButton-4eb5be4a.js';
8
- import './useClassAttribute-47fdb016.js';
9
- import './OrIcon-7aea0897.js';
10
- import './OrTooltip-46d77128.js';
11
- import './OrPopover-45b1b10c.js';
12
- import '@floating-ui/dom';
13
- import './useElevation-0e973238.js';
14
- import './useResponsive-a02e95b7.js';
15
- import './OrBottomSheet-c554736e.js';
16
- import './OrOverlay-f7aa1e20.js';
17
- import './OrLoader-60943812.js';
18
- import './style-inject.es-4c6f2515.js';
3
+ import '@vueuse/core';
@@ -1,3 +1,18 @@
1
- export { a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
2
- import 'vue-demi';
1
+ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-38b5d49f.js';
2
+ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
3
3
  import '@vueuse/core';
4
+ import 'vue-demi';
5
+ import './OrTeleport.vue3-8099178c.js';
6
+ import 'vue';
7
+ import './OrIconButton-4eb5be4a.js';
8
+ import './useClassAttribute-47fdb016.js';
9
+ import './OrIcon-7aea0897.js';
10
+ import './OrTooltip-46d77128.js';
11
+ import './OrPopover-45b1b10c.js';
12
+ import '@floating-ui/dom';
13
+ import './useElevation-0e973238.js';
14
+ import './useResponsive-a02e95b7.js';
15
+ import './OrBottomSheet-c554736e.js';
16
+ import './OrOverlay-f7aa1e20.js';
17
+ import './OrLoader-60943812.js';
18
+ import './style-inject.es-4c6f2515.js';
@@ -1,9 +1,3 @@
1
- export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-121eae2b.js';
1
+ export { a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
2
2
  import 'vue-demi';
3
- import 'lodash';
4
- import 'vue';
5
- import './style-inject.es-4c6f2515.js';
6
- import './OrFloating-3da814a2.js';
7
- import '@floating-ui/dom';
8
- import './OrTeleportVue3-ad639f12.js';
9
- import './dom-7a41831b.js';
3
+ import '@vueuse/core';
@@ -1,12 +1,9 @@
1
- export { s as OrTooltipV3 } from './OrTooltip-46d77128.js';
2
- export { P as TooltipPlacement } from './OrPopover-45b1b10c.js';
3
- import '@vueuse/core';
1
+ export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-121eae2b.js';
4
2
  import 'vue-demi';
5
- import './useClassAttribute-47fdb016.js';
3
+ import 'lodash';
6
4
  import 'vue';
5
+ import './style-inject.es-4c6f2515.js';
6
+ import './OrFloating-3da814a2.js';
7
7
  import '@floating-ui/dom';
8
- import './useElevation-0e973238.js';
9
- import './useResponsive-a02e95b7.js';
10
- import './OrBottomSheet-c554736e.js';
11
- import './OrOverlay-f7aa1e20.js';
12
- import './OrTeleport.vue3-8099178c.js';
8
+ import './OrTeleportVue3-ad639f12.js';
9
+ import './dom-7a41831b.js';
@@ -1,7 +1,12 @@
1
- export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
- export { u as useElevation } from './useElevation-0e973238.js';
3
- export { u as useOverflow } from './useOverflow-ac506c65.js';
4
- export { u as useResponsive } from './useResponsive-a02e95b7.js';
5
- export { u as useToggle } from './useToggle-29e4d7c7.js';
6
- import 'vue-demi';
1
+ export { s as OrTooltipV3 } from './OrTooltip-46d77128.js';
2
+ export { P as TooltipPlacement } from './OrPopover-45b1b10c.js';
7
3
  import '@vueuse/core';
4
+ import 'vue-demi';
5
+ import './useClassAttribute-47fdb016.js';
6
+ import 'vue';
7
+ import '@floating-ui/dom';
8
+ import './useElevation-0e973238.js';
9
+ import './useResponsive-a02e95b7.js';
10
+ import './OrBottomSheet-c554736e.js';
11
+ import './OrOverlay-f7aa1e20.js';
12
+ import './OrTeleport.vue3-8099178c.js';
@@ -1,3 +1,7 @@
1
+ export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
+ export { u as useElevation } from './useElevation-0e973238.js';
3
+ export { u as useOverflow } from './useOverflow-ac506c65.js';
1
4
  export { u as useResponsive } from './useResponsive-a02e95b7.js';
2
- import '@vueuse/core';
5
+ export { u as useToggle } from './useToggle-29e4d7c7.js';
3
6
  import 'vue-demi';
7
+ import '@vueuse/core';
@@ -0,0 +1,3 @@
1
+ export { u as useResponsive } from './useResponsive-a02e95b7.js';
2
+ import '@vueuse/core';
3
+ import 'vue-demi';
@@ -12,7 +12,7 @@ const ToastRoot = [
12
12
  'flex', 'justify-normal', 'items-start',
13
13
  // Box
14
14
  'w-[343px] md:w-[512px]', 'rounded-md',
15
- // Spacing
15
+ // Sizing
16
16
  'px-md', 'py-md', 'gap-[16px]',
17
17
  // Typography
18
18
  'typography-caption-regular',
@@ -23,7 +23,7 @@ const ToastContainer = [
23
23
  'absolute',
24
24
  // Layout
25
25
  'flex', 'flex-col', 'items-center',
26
- // Spacing
26
+ // Sizing
27
27
  'gap-[8px]',
28
28
  // Overflow
29
29
  'overflow-hidden'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.56.1-beta.1823.0",
3
+ "version": "2.57.0-beta.1809.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -29,7 +29,7 @@
29
29
  "@codemirror/lang-json": "6.0.0",
30
30
  "@codemirror/lang-markdown": "6.0.1",
31
31
  "@floating-ui/dom": "0.3.1",
32
- "@onereach/styles": "^2.26.0",
32
+ "@onereach/styles": "^2.26.1-beta.1809.0",
33
33
  "@splidejs/splide": "4.0.6",
34
34
  "@types/lodash": "4.14.173",
35
35
  "@types/sortablejs": "1.10.7",
@@ -21,6 +21,7 @@ export * from './or-error';
21
21
  export * from './or-error-tag-v3';
22
22
  export * from './or-error-v3';
23
23
  export * from './or-expansion-panel-v3';
24
+ export * from './or-fab-v3';
24
25
  export * from './or-floating';
25
26
  export * from './or-hint';
26
27
  export * from './or-hint-v3';
@@ -0,0 +1,3 @@
1
+ import { DocsPage } from '@storybook/addon-docs';
2
+
3
+ <DocsPage />
@@ -0,0 +1,57 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ import { OrIconV3 as OrIcon } from '../or-icon-v3';
3
+ import OrFabDocs from './OrFab.docs.mdx';
4
+ import OrFab from './OrFab.vue';
5
+ import { FabColor } from './props';
6
+
7
+ export default {
8
+ title: 'Components/FAB',
9
+ component: OrFab,
10
+
11
+ argTypes: {
12
+ // Props
13
+ icon: {
14
+ control: { type: 'text' },
15
+ },
16
+
17
+ color: {
18
+ control: { type: 'select' },
19
+ options: Object.values(FabColor),
20
+ },
21
+
22
+ disabled: {
23
+ control: { type: 'boolean' },
24
+ },
25
+ },
26
+
27
+ parameters: {
28
+ docs: {
29
+ page: OrFabDocs,
30
+ },
31
+
32
+ design: {
33
+ type: 'figma',
34
+ url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=202%3A9',
35
+ },
36
+ },
37
+ } as Meta<typeof OrFab>;
38
+
39
+ const Template: StoryFn<typeof OrFab> = (args) => ({
40
+ components: {
41
+ OrFab,
42
+ OrIcon,
43
+ },
44
+
45
+ setup() {
46
+ return { args };
47
+ },
48
+
49
+ template: '<OrFab v-bind="args" />',
50
+ });
51
+
52
+ export const Default = Template.bind({});
53
+
54
+ Default.args = {
55
+ // Props
56
+ icon: 'add',
57
+ };
@@ -0,0 +1,65 @@
1
+ <template>
2
+ <button
3
+ ref="root"
4
+ v-bind="$attrs"
5
+ :class="rootStyles"
6
+ :type="'button'"
7
+ :disabled="disabled"
8
+ >
9
+ <OrIcon
10
+ :icon="icon"
11
+ :size="'l'"
12
+ />
13
+ </button>
14
+ </template>
15
+
16
+ <script lang="ts">
17
+ import { computed, defineComponent, PropType, ref } from 'vue-demi';
18
+ import { OrIconV3 as OrIcon } from '../or-icon-v3';
19
+ import { FabColor } from './props';
20
+ import { FabRoot, FabRootColors } from './styles';
21
+
22
+ export default defineComponent({
23
+ name: 'OrFab',
24
+
25
+ components: {
26
+ OrIcon,
27
+ },
28
+
29
+ inheritAttrs: false,
30
+
31
+ props: {
32
+ icon: {
33
+ type: String,
34
+ required: true,
35
+ },
36
+
37
+ color: {
38
+ type: String as PropType<FabColor>,
39
+ default: FabColor.Primary,
40
+ },
41
+
42
+ disabled: {
43
+ type: Boolean,
44
+ default: false,
45
+ },
46
+ },
47
+
48
+ setup(props) {
49
+ // Refs
50
+ const root = ref<HTMLElement>();
51
+
52
+ // Styles
53
+ const rootStyles = computed(() => [
54
+ 'or-fab',
55
+ ...FabRoot,
56
+ ...FabRootColors[props.color],
57
+ ]);
58
+
59
+ return {
60
+ root,
61
+ rootStyles,
62
+ };
63
+ },
64
+ });
65
+ </script>
@@ -0,0 +1,2 @@
1
+ export { default as OrFabV3 } from './OrFab.vue';
2
+ export * from './props';
@@ -0,0 +1,4 @@
1
+ export enum FabColor {
2
+ Primary = 'primary',
3
+ Danger = 'danger',
4
+ }
@@ -0,0 +1,33 @@
1
+ import { FabColor } from './props';
2
+
3
+ export const FabRoot: string[] = [
4
+ // Layout
5
+ 'flex',
6
+ 'justify-center',
7
+ 'items-center',
8
+
9
+ // Box
10
+ 'rounded-full',
11
+
12
+ // Sizing
13
+ 'px-md',
14
+ 'py-md',
15
+
16
+ // Theme
17
+ 'shadow-button',
18
+ 'dark:shadow-button-dark',
19
+ ];
20
+
21
+ export const FabRootColors: Record<FabColor, string[]> = {
22
+ 'primary': [
23
+ // Theme
24
+ 'theme-preset-1-primary',
25
+ 'dark:theme-preset-1-primary-dark',
26
+ ],
27
+
28
+ 'danger': [
29
+ // Theme
30
+ 'theme-preset-1-error',
31
+ 'dark:theme-preset-1-error-dark',
32
+ ],
33
+ };
@@ -80,11 +80,7 @@ export const InputBoxRootVariants: Record<InputBoxVariant, string[]> = {
80
80
  'dark:invalid:read-only:!border-transparent',
81
81
  ],
82
82
 
83
- 'unstyled': [
84
- // Theme (disabled)
85
- 'disabled:theme-foreground-disabled',
86
- 'dark:disabled:theme-foreground-disabled-dark',
87
- ],
83
+ 'unstyled': [],
88
84
  };
89
85
 
90
86
  export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
@@ -10,7 +10,7 @@ export const ToastRoot = [
10
10
  'w-[343px] md:w-[512px]',
11
11
  'rounded-md',
12
12
 
13
- // Spacing
13
+ // Sizing
14
14
  'px-md',
15
15
  'py-md',
16
16
  'gap-[16px]',
@@ -42,7 +42,7 @@ export const ToastContainer = [
42
42
 
43
43
  'items-center',
44
44
 
45
- // Spacing
45
+ // Sizing
46
46
  'gap-[8px]',
47
47
 
48
48
  // Overflow