@onereach/ui-components-common 23.2.4-beta.5592.0 → 23.2.4-beta.5594.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.
- package/dist/directives/dropdown-close.d.ts +0 -1
- package/dist/directives/dropdown-open.d.ts +0 -1
- package/dist/hooks/useDateFormat.d.ts +2 -2
- package/dist/hooks/useDateMask.d.ts +3 -3
- package/dist/hooks/useElevation.d.ts +1 -2
- package/dist/hooks/useIdAttribute.d.ts +1 -1
- package/dist/hooks/useLocale.d.ts +2 -2
- package/dist/hooks/useResponsive/useResponsive.d.ts +2 -2
- package/dist/hooks/useTimeFormat.d.ts +2 -2
- package/dist/hooks/useTimeMask.d.ts +3 -3
- package/package.json +2 -2
- package/src/hooks/useResponsive/useResponsive.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
2
|
import { DateFormat, FormatFunction, ModelValue } from '../types';
|
|
3
3
|
export type UseDateFormatReturn = ComputedRef<`${DateFormat}` | FormatFunction<ModelValue<Date>>>;
|
|
4
|
-
export declare const useDateFormat: (format: Ref
|
|
4
|
+
export declare const useDateFormat: (format: Ref<"short" | "medium" | "long" | FormatFunction<ModelValue<Date>> | undefined>) => ComputedRef<"short" | "medium" | "long" | FormatFunction<ModelValue<Date>>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef
|
|
2
|
-
import {
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { FormatFunction, ModelValue } from '../types';
|
|
3
3
|
export type UseDateMaskReturn = ComputedRef<string>;
|
|
4
|
-
export declare const useDateMask: (format: Ref
|
|
4
|
+
export declare const useDateMask: (format: Ref<"short" | "medium" | "long" | FormatFunction<ModelValue<Date>>>, locale: Ref<string>) => ComputedRef<string>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { MaybeElementRef } from '@vueuse/core';
|
|
2
|
-
|
|
3
|
-
export declare const useElevation: (element: MaybeElementRef<HTMLElement | undefined>, trigger?: Ref<unknown>) => void;
|
|
2
|
+
export declare const useElevation: (element: MaybeElementRef<HTMLElement | undefined>, trigger?: any) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
2
|
import { Locale } from '../types';
|
|
3
3
|
export type UseLocaleReturn = ComputedRef<Locale>;
|
|
4
|
-
export declare const useLocale: (locale: Ref<
|
|
4
|
+
export declare const useLocale: (locale: Ref<string | undefined>) => ComputedRef<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
declare function useResponsive(element?: Ref<Element | undefined>): {
|
|
3
|
-
isDesktop:
|
|
4
|
-
isMobile:
|
|
3
|
+
isDesktop: any;
|
|
4
|
+
isMobile: any;
|
|
5
5
|
};
|
|
6
6
|
export default useResponsive;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
2
|
import { FormatFunction, ModelValue, TimeFormat } from '../types';
|
|
3
3
|
export type UseTimeFormatReturn = ComputedRef<`${TimeFormat}` | FormatFunction<ModelValue<Date>>>;
|
|
4
|
-
export declare const useTimeFormat: (format: Ref
|
|
4
|
+
export declare const useTimeFormat: (format: Ref<"auto" | "h12" | "h23" | FormatFunction<ModelValue<Date>> | undefined>) => ComputedRef<"auto" | "h12" | "h23" | FormatFunction<ModelValue<Date>>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef
|
|
2
|
-
import { FormatFunction,
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { FormatFunction, ModelValue } from '../types';
|
|
3
3
|
export type UseTimeMaskReturn = ComputedRef<string>;
|
|
4
|
-
export declare const useTimeMask: (format: Ref
|
|
4
|
+
export declare const useTimeMask: (format: Ref<"auto" | "h12" | "h23" | FormatFunction<ModelValue<Date>>>, locale: Ref<string>) => ComputedRef<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components-common",
|
|
3
|
-
"version": "23.2.4-beta.
|
|
3
|
+
"version": "23.2.4-beta.5594.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dev": "vite build --watch"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@onereach/styles": "^23.2.4-beta.
|
|
62
|
+
"@onereach/styles": "^23.2.4-beta.5594.0",
|
|
63
63
|
"@vueuse/core": "9.13.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|