@onereach/ui-components 2.77.0-beta.2456.0 → 2.77.0-beta.2460.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 (92) hide show
  1. package/dist/bundled/v2/components/OrCarousel/OrCarouselItem.vue.d.ts +2 -0
  2. package/dist/bundled/v2/components/OrCarousel/index.d.ts +1 -2
  3. package/dist/bundled/v2/components/OrChips/OrChip.vue.d.ts +58 -0
  4. package/dist/bundled/v2/components/OrChips/index.d.ts +1 -2
  5. package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +1 -1
  6. package/dist/bundled/v2/components/OrColorPicker/defultPalette.d.ts +2 -0
  7. package/dist/bundled/v2/components/OrColorPicker/index.js +1 -1
  8. package/dist/bundled/v2/components/OrColorPicker/utils/defultPalette.js +15 -0
  9. package/dist/bundled/v2/components/OrSkeleton/OrSkeletonCircle.vue.d.ts +43 -0
  10. package/dist/bundled/v2/components/OrSkeleton/OrSkeletonRect.vue.d.ts +56 -0
  11. package/dist/bundled/v2/components/OrSkeleton/OrSkeletonText.vue.d.ts +73 -0
  12. package/dist/bundled/v2/components/OrSkeleton/index.d.ts +2 -4
  13. package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonCircle.vue.d.ts +51 -0
  14. package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonRect.vue.d.ts +60 -0
  15. package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonText.vue.d.ts +96 -0
  16. package/dist/bundled/v2/components/OrSkeletonV3/index.d.ts +1 -3
  17. package/dist/bundled/v2/components/OrToast/OrToastContainer.vue.d.ts +93 -0
  18. package/dist/bundled/v2/components/OrToast/composable/index.js +7 -0
  19. package/dist/bundled/v2/components/OrToast/composable/useQueue.js +33 -0
  20. package/dist/bundled/v2/components/OrToast/composable/useToast.js +82 -0
  21. package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +24 -0
  22. package/dist/bundled/v2/components/OrToast/index.d.ts +5 -5
  23. package/dist/bundled/v2/components/OrToast/index.js +3 -3
  24. package/dist/bundled/v2/components/OrToast/useQueue.d.ts +8 -0
  25. package/dist/bundled/v2/components/OrToast/useToast.d.ts +13 -0
  26. package/dist/bundled/v2/components/OrToast/useToastEventBus.d.ts +9 -0
  27. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +2 -2
  28. package/dist/bundled/v2/components/OrToastContainer/index.js +3 -3
  29. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +2 -2
  30. package/dist/bundled/v2/components/OrToastContainerV3/index.js +3 -3
  31. package/dist/bundled/v2/components/OrToastV3/OrToastContainer.vue.d.ts +85 -0
  32. package/dist/bundled/v2/components/OrToastV3/composable/index.js +7 -0
  33. package/dist/bundled/v2/components/OrToastV3/composable/useQueue.js +33 -0
  34. package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +82 -0
  35. package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +24 -0
  36. package/dist/bundled/v2/components/OrToastV3/index.d.ts +4 -5
  37. package/dist/bundled/v2/components/OrToastV3/index.js +3 -3
  38. package/dist/bundled/v2/components/OrToastV3/useQueue.d.ts +8 -0
  39. package/dist/bundled/v2/components/OrToastV3/useToast.d.ts +13 -0
  40. package/dist/bundled/v2/components/OrToastV3/useToastEventBus.d.ts +9 -0
  41. package/dist/bundled/v2/components/OrTooltip/OrTooltipContent.vue.d.ts +38 -0
  42. package/dist/bundled/v2/components/OrTooltip/index.d.ts +1 -2
  43. package/dist/bundled/v2/components/index.js +7 -7
  44. package/dist/bundled/v2/index.js +7 -7
  45. package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-c29579b4.js → OrColorPicker.vue_vue_type_script_lang-3a799e23.js} +1 -1
  46. package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-3bb6f082.js → OrToastContainer.vue_vue_type_script_lang-51a3ba56.js} +2 -2
  47. package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-e98944bc.js → OrToastContainer.vue_vue_type_script_lang-59d729a6.js} +2 -2
  48. package/dist/bundled/v3/components/OrCarousel/OrCarouselItem.vue.d.ts +2 -0
  49. package/dist/bundled/v3/components/OrCarousel/index.d.ts +1 -2
  50. package/dist/bundled/v3/components/OrChips/OrChip.vue.d.ts +58 -0
  51. package/dist/bundled/v3/components/OrChips/index.d.ts +1 -2
  52. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +3 -3
  53. package/dist/bundled/v3/components/OrColorPicker/defultPalette.d.ts +2 -0
  54. package/dist/bundled/v3/components/OrColorPicker/index.js +2 -2
  55. package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.js +15 -0
  56. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonCircle.vue.d.ts +43 -0
  57. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonRect.vue.d.ts +56 -0
  58. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonText.vue.d.ts +73 -0
  59. package/dist/bundled/v3/components/OrSkeleton/index.d.ts +2 -4
  60. package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonCircle.vue.d.ts +51 -0
  61. package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonRect.vue.d.ts +60 -0
  62. package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonText.vue.d.ts +96 -0
  63. package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +1 -3
  64. package/dist/bundled/v3/components/OrToast/OrToastContainer.vue.d.ts +93 -0
  65. package/dist/bundled/v3/components/OrToast/composable/index.js +7 -0
  66. package/dist/bundled/v3/components/OrToast/composable/useQueue.js +33 -0
  67. package/dist/bundled/v3/components/OrToast/composable/useToast.js +82 -0
  68. package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +24 -0
  69. package/dist/bundled/v3/components/OrToast/index.d.ts +2 -5
  70. package/dist/bundled/v3/components/OrToast/index.js +4 -4
  71. package/dist/bundled/v3/components/OrToast/useQueue.d.ts +8 -0
  72. package/dist/bundled/v3/components/OrToast/useToast.d.ts +13 -0
  73. package/dist/bundled/v3/components/OrToast/useToastEventBus.d.ts +9 -0
  74. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +4 -4
  75. package/dist/bundled/v3/components/OrToastContainer/index.js +4 -4
  76. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +4 -4
  77. package/dist/bundled/v3/components/OrToastContainerV3/index.js +4 -4
  78. package/dist/bundled/v3/components/OrToastV3/OrToastContainer.vue.d.ts +85 -0
  79. package/dist/bundled/v3/components/OrToastV3/composable/index.js +7 -0
  80. package/dist/bundled/v3/components/OrToastV3/composable/useQueue.js +33 -0
  81. package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +82 -0
  82. package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +24 -0
  83. package/dist/bundled/v3/components/OrToastV3/index.d.ts +2 -5
  84. package/dist/bundled/v3/components/OrToastV3/index.js +4 -4
  85. package/dist/bundled/v3/components/OrToastV3/useQueue.d.ts +8 -0
  86. package/dist/bundled/v3/components/OrToastV3/useToast.d.ts +13 -0
  87. package/dist/bundled/v3/components/OrToastV3/useToastEventBus.d.ts +9 -0
  88. package/dist/bundled/v3/components/OrTooltip/OrTooltipContent.vue.d.ts +38 -0
  89. package/dist/bundled/v3/components/OrTooltip/index.d.ts +1 -2
  90. package/dist/bundled/v3/components/index.js +10 -10
  91. package/dist/bundled/v3/index.js +10 -10
  92. package/package.json +2 -2
@@ -0,0 +1,13 @@
1
+ import { ToastBehaviour, ToastProps } from '../types';
2
+ interface UseToastNotifyReturns {
3
+ close: () => void;
4
+ update: (data: ToastProps) => void;
5
+ }
6
+ export default function useToast(globalToastProps?: ToastProps): {
7
+ notify: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
8
+ clearAll: () => void;
9
+ success: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
10
+ error: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
11
+ loading: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
12
+ };
13
+ export {};
@@ -0,0 +1,9 @@
1
+ import { EventBusListener } from '@vueuse/core';
2
+ import { ToastConfiguration } from '../types';
3
+ export type ToastEventsBusEvents = 'toastNotify' | 'toastClose' | 'toastCloseAll' | 'toastUpdate';
4
+ declare const _default: () => {
5
+ on: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration, any>) => void;
6
+ off: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration, any>) => void;
7
+ emit: (namedQueue: ToastEventsBusEvents, data?: ToastConfiguration | undefined) => void;
8
+ };
9
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import { PropType } from 'vue-demi';
2
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data> & import("@vue/composition-api").Data, {}, {}, {
3
+ isShown: {
4
+ type: PropType<boolean>;
5
+ required: false;
6
+ default: boolean;
7
+ validator: (value?: any) => value is boolean;
8
+ };
9
+ content: {
10
+ type: StringConstructor;
11
+ required: false;
12
+ default: string;
13
+ validator: (value?: any) => value is string;
14
+ };
15
+ }, import("@vue/composition-api").ExtractPropTypes<{
16
+ isShown: {
17
+ type: PropType<boolean>;
18
+ required: false;
19
+ default: boolean;
20
+ validator: (value?: any) => value is boolean;
21
+ };
22
+ content: {
23
+ type: StringConstructor;
24
+ required: false;
25
+ default: string;
26
+ validator: (value?: any) => value is string;
27
+ };
28
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
29
+ isShown: boolean;
30
+ content: string;
31
+ } & {}, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
32
+ isShown: boolean;
33
+ content: string;
34
+ } & {}, {
35
+ isShown: boolean;
36
+ content: string;
37
+ }, true>);
38
+ export default _default;
@@ -1,2 +1 @@
1
- export { default as OrTooltip } from './OrTooltip.vue';
2
- export { default as OrTooltipContent } from './or-tooltip-content/OrTooltipContent.vue';
1
+ export { default as OrTooltipContent } from './OrTooltipContent.vue';
@@ -25,7 +25,7 @@ export { s as OrChips } from '../OrChips.vue_vue_type_script_lang-94b456c7.js';
25
25
  export { s as OrCode } from '../OrCode.vue_vue_type_script_lang-127ee0fe.js';
26
26
  export { OrCodeLanguages } from './OrCode/constants.js';
27
27
  export { s as OrCollapse } from '../OrCollapse.vue_vue_type_script_lang-5137ca99.js';
28
- export { s as OrColorPicker } from '../OrColorPicker.vue_vue_type_script_lang-c29579b4.js';
28
+ export { s as OrColorPicker } from '../OrColorPicker.vue_vue_type_script_lang-3a799e23.js';
29
29
  export { amber, black, blue, blueGrey, brown, cyan, deepOrange, deepPurple, green, indigo, lightBlue, lightGreen, lime, orange, pink, purple, red, teal, white, yellow } from './OrColorPicker/constants.js';
30
30
  export { s as OrConfirm } from '../OrConfirm.vue_vue_type_script_lang-128506dd.js';
31
31
  export { s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-0111d143.js';
@@ -138,16 +138,16 @@ export { s as OrTextareaV3 } from '../OrTextarea.vue_vue_type_script_lang-1b3f23
138
138
  export { s as OrTextbox } from '../OrTextbox.vue_vue_type_script_lang-686e0310.js';
139
139
  export { TextboxTypes } from './OrTextbox/constants.js';
140
140
  export { default as OrToast } from './OrToast/OrToast.js';
141
- export { s as OrToastContainer } from '../OrToastContainer.vue_vue_type_script_lang-3bb6f082.js';
142
- export { default as useToast } from './or-toast/composable/useToast.js';
143
- export { default as useQueue } from './or-toast/composable/useQueue.js';
141
+ export { s as OrToastContainer } from '../OrToastContainer.vue_vue_type_script_lang-51a3ba56.js';
142
+ export { default as useToast } from './OrToast/composable/useToast.js';
143
+ export { default as useQueue } from './OrToast/composable/useQueue.js';
144
144
  export { PositionsX, PositionsY, ToastType, TransitionType } from './OrToast/constants.js';
145
145
  export { default as OrToastV3 } from './OrToastV3/OrToast.js';
146
- export { s as OrToastContainerV3 } from '../OrToastContainer.vue_vue_type_script_lang-e98944bc.js';
146
+ export { s as OrToastContainerV3 } from '../OrToastContainer.vue_vue_type_script_lang-59d729a6.js';
147
147
  export { t as TypesV3 } from '../types-668300dd.js';
148
148
  export { p as PropsV3 } from '../props-7be029c7.js';
149
- export { default as useToastV3 } from './or-toast-v3/composable/useToast.js';
150
- export { default as useQueueV3 } from './or-toast-v3/composable/useQueue.js';
149
+ export { default as useToastV3 } from './OrToastV3/composable/useToast.js';
150
+ export { default as useQueueV3 } from './OrToastV3/composable/useQueue.js';
151
151
  export { s as OrTooltip } from '../OrTooltip.vue_vue_type_script_lang-b8594f7e.js';
152
152
  export { s as OrTooltipContent } from '../OrTooltipContent.vue_vue_type_script_lang-969c20ed.js';
153
153
  export { s as OrTooltipV3 } from '../OrTooltip.vue_vue_type_script_lang-196b0605.js';
@@ -227,7 +227,7 @@ import '../lang-02d2bb2d.js';
227
227
  import './OrCode/theme.js';
228
228
  import './OrModal/OrModal.js';
229
229
  import './OrOverlay/OrOverlay.js';
230
- import './or-color-picker/utils/defultPalette.js';
230
+ import './OrColorPicker/utils/defultPalette.js';
231
231
  import '../index-63e094a0.js';
232
232
  import './OrButtonV2/OrButton.js';
233
233
  import './OrConfirmV3/styles.js';
@@ -270,8 +270,8 @@ import './OrTabV3/OrTab.js';
270
270
  import './OrTextV3/styles.js';
271
271
  import './OrTextareaV3/styles.js';
272
272
  import './OrProgress/OrProgress.js';
273
- import './or-toast/composable/useToastEventBus.js';
273
+ import './OrToast/composable/useToastEventBus.js';
274
274
  import './OrToast/Timer.js';
275
275
  import './OrToastV3/styles.js';
276
- import './or-toast-v3/composable/useToastEventBus.js';
276
+ import './OrToastV3/composable/useToastEventBus.js';
277
277
  import './OrToastV3/Timer.js';
@@ -21,7 +21,7 @@ export { s as OrChips } from './OrChips.vue_vue_type_script_lang-94b456c7.js';
21
21
  import './components/OrCode/OrCode.js';
22
22
  export { s as OrCode } from './OrCode.vue_vue_type_script_lang-127ee0fe.js';
23
23
  import './components/OrColorPicker/OrColorPicker.js';
24
- export { s as OrColorPicker } from './OrColorPicker.vue_vue_type_script_lang-c29579b4.js';
24
+ export { s as OrColorPicker } from './OrColorPicker.vue_vue_type_script_lang-3a799e23.js';
25
25
  import './components/OrConfirm/OrConfirm.js';
26
26
  export { s as OrConfirm } from './OrConfirm.vue_vue_type_script_lang-128506dd.js';
27
27
  import './components/OrConfirmV3/OrConfirm.js';
@@ -115,11 +115,11 @@ export { s as OrTextareaV3 } from './OrTextarea.vue_vue_type_script_lang-1b3f239
115
115
  import './components/OrTextbox/OrTextbox.js';
116
116
  export { s as OrTextbox } from './OrTextbox.vue_vue_type_script_lang-686e0310.js';
117
117
  import './components/OrToastContainer/OrToastContainer.js';
118
- export { s as OrToastContainer } from './OrToastContainer.vue_vue_type_script_lang-3bb6f082.js';
119
- export { default as useToast } from './components/or-toast/composable/useToast.js';
118
+ export { s as OrToastContainer } from './OrToastContainer.vue_vue_type_script_lang-51a3ba56.js';
119
+ export { default as useToast } from './components/OrToast/composable/useToast.js';
120
120
  import './components/OrToastContainerV3/OrToastContainer.js';
121
- export { s as OrToastContainerV3 } from './OrToastContainer.vue_vue_type_script_lang-e98944bc.js';
122
- export { default as useToastV3 } from './components/or-toast-v3/composable/useToast.js';
121
+ export { s as OrToastContainerV3 } from './OrToastContainer.vue_vue_type_script_lang-59d729a6.js';
122
+ export { default as useToastV3 } from './components/OrToastV3/composable/useToast.js';
123
123
  export { OR_AVATAR_SIZE } from './components/OrAvatar/constants.js';
124
124
  export { AvatarColor, AvatarSize } from './components/OrAvatarV3/props.js';
125
125
  export { s as OrBottomSheetV3 } from './OrBottomSheet.vue_vue_type_script_lang-398a517b.js';
@@ -203,12 +203,12 @@ export { default as OrTeleport } from './components/OrTeleport/OrTeleport.js';
203
203
  export { s as OrTeleportV3 } from './OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
204
204
  export { TextboxTypes } from './components/OrTextbox/constants.js';
205
205
  export { default as OrToast } from './components/OrToast/OrToast.js';
206
- export { default as useQueue } from './components/or-toast/composable/useQueue.js';
206
+ export { default as useQueue } from './components/OrToast/composable/useQueue.js';
207
207
  export { PositionsX, PositionsY, ToastType, TransitionType } from './components/OrToast/constants.js';
208
208
  export { default as OrToastV3 } from './components/OrToastV3/OrToast.js';
209
209
  export { t as TypesV3 } from './types-668300dd.js';
210
210
  export { p as PropsV3 } from './props-7be029c7.js';
211
- export { default as useQueueV3 } from './components/or-toast-v3/composable/useQueue.js';
211
+ export { default as useQueueV3 } from './components/OrToastV3/composable/useQueue.js';
212
212
  export { s as OrTooltip } from './OrTooltip.vue_vue_type_script_lang-b8594f7e.js';
213
213
  export { s as OrTooltipContent } from './OrTooltipContent.vue_vue_type_script_lang-969c20ed.js';
214
214
  export { s as OrTooltipV3 } from './OrTooltip.vue_vue_type_script_lang-196b0605.js';
@@ -253,7 +253,7 @@ import '@vueuse/core';
253
253
  import './components/OrCode/theme.js';
254
254
  import './components/OrModal/OrModal.js';
255
255
  import './components/OrHint/OrHint.js';
256
- import './components/or-color-picker/utils/defultPalette.js';
256
+ import './components/OrColorPicker/utils/defultPalette.js';
257
257
  import './components/OrFloating/OrFloating.js';
258
258
  import './index-63e094a0.js';
259
259
  import './components/OrButtonV2/OrButton.js';
@@ -300,9 +300,9 @@ import './components/OrTabsV3/styles.js';
300
300
  import './components/OrTabV3/OrTab.js';
301
301
  import './components/OrTextV3/styles.js';
302
302
  import './components/OrTextareaV3/styles.js';
303
- import './components/or-toast/composable/useToastEventBus.js';
303
+ import './components/OrToast/composable/useToastEventBus.js';
304
304
  import './components/OrToast/Timer.js';
305
- import './components/or-toast-v3/composable/useToastEventBus.js';
305
+ import './components/OrToastV3/composable/useToastEventBus.js';
306
306
  import './components/OrToastV3/styles.js';
307
307
  import './components/OrTeleportV3/OrTeleport.js';
308
308
  import './components/OrToastV3/Timer.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.77.0-beta.2456.0",
3
+ "version": "2.77.0-beta.2460.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@babel/preset-env": "7.18.10",
56
- "@onereach/rollup-vue-lib-config": "2.0.1-SB7772.0",
56
+ "@onereach/rollup-vue-lib-config": "2.0.1-SB7773.0",
57
57
  "@rollup/plugin-replace": "4.0.0",
58
58
  "@rollup/plugin-url": "^8.0.1",
59
59
  "@storybook/addon-actions": "6.5.15",