@onereach/ui-components-common 23.2.4-beta.5592.0 → 23.2.4-beta.5595.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.
@@ -1,4 +1,3 @@
1
- import { DirectiveHook } from 'vue';
2
1
  export declare const DropdownClose: {
3
2
  created: DirectiveHook;
4
3
  bind: DirectiveHook;
@@ -1,4 +1,3 @@
1
- import { DirectiveHook } from 'vue';
2
1
  export declare const DropdownOpen: {
3
2
  created: DirectiveHook;
4
3
  bind: DirectiveHook;
@@ -1,4 +1,4 @@
1
- import { ComputedRef, Ref } from 'vue';
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<`${DateFormat}` | FormatFunction<ModelValue<Date>> | undefined>) => UseDateFormatReturn;
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, Ref } from 'vue';
2
- import { DateFormat, FormatFunction, Locale, ModelValue } from '../types';
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<`${DateFormat}` | FormatFunction<ModelValue<Date>>>, locale: Ref<Locale>) => UseDateMaskReturn;
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
- import { Ref } from 'vue';
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,3 +1,3 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  export type UseIdAttributeReturn = ComputedRef<string | undefined>;
3
- export declare const useIdAttribute: () => UseIdAttributeReturn;
3
+ export declare const useIdAttribute: () => ComputedRef<string | undefined>;
@@ -1,4 +1,4 @@
1
- import { ComputedRef, Ref } from 'vue';
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<Locale | undefined>) => UseLocaleReturn;
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: import("vue").ComputedRef<boolean>;
4
- isMobile: import("vue").ComputedRef<boolean>;
3
+ isDesktop: any;
4
+ isMobile: any;
5
5
  };
6
6
  export default useResponsive;
@@ -1,4 +1,4 @@
1
- import { ComputedRef, Ref } from 'vue';
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<`${TimeFormat}` | FormatFunction<ModelValue<Date>> | undefined>) => UseTimeFormatReturn;
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, Ref } from 'vue';
2
- import { FormatFunction, Locale, ModelValue, TimeFormat } from '../types';
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<`${TimeFormat}` | FormatFunction<ModelValue<Date>>>, locale: Ref<Locale>) => UseTimeMaskReturn;
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.5592.0",
3
+ "version": "23.2.4-beta.5595.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.5592.0",
62
+ "@onereach/styles": "^23.2.4-beta.5595.0",
63
63
  "@vueuse/core": "9.13.0"
64
64
  },
65
65
  "devDependencies": {
@@ -1,4 +1,4 @@
1
- import screens from '@onereach/styles/screens.json' assert { type: 'json' };
1
+ import screens from '@onereach/styles/screens.json';
2
2
  import { useMediaQuery } from '@vueuse/core';
3
3
  import { Ref, computed, getCurrentInstance, onMounted, ref, watch } from 'vue';
4
4