@dao-style/core 0.0.1-beta.12 → 0.0.1-beta.13

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,17 +1,18 @@
1
1
  import type { Placement } from '@popperjs/core';
2
- import type { Ref, InjectionKey, ComputedRef } from 'vue';
2
+ import type { Ref, InjectionKey, ComputedRef, DeepReadonly } from 'vue';
3
3
  import type { AddTabFn, RemoveTabFn } from '../components/tabs/types';
4
4
  import type { NavProvide, NavSubProvide } from '../components/nav/types';
5
5
  import type { BreadcrumbProvide } from '../components/breadcrumb/breadcrumb-props';
6
6
  import { ExpansionName, ExpansionState } from '../components/expansion/props';
7
+ import type { ModelValueAnyType } from '../components/checkbox/props';
7
8
  export declare const placements: Placement[];
8
9
  export declare const radioGroupKey: unique symbol;
9
10
  export declare const tabModelValueKey: InjectionKey<Ref<string>>;
10
11
  export declare const addTabFnKey: InjectionKey<AddTabFn>;
11
12
  export declare const removeTabFnKey: InjectionKey<RemoveTabFn>;
12
- export declare const checkboxGroupModelValueKey: InjectionKey<ComputedRef<unknown[] | Set<unknown>>>;
13
- export declare const checkboxUpdateGroupModelValueFnKey: InjectionKey<($event: unknown) => unknown>;
14
- export declare const checkboxGroupChangeFnKey: InjectionKey<(modelValue: unknown, event: Event) => void>;
13
+ export declare const checkboxGroupModelValueKey: InjectionKey<DeepReadonly<ComputedRef<unknown[] | Set<unknown>>>>;
14
+ export declare const checkboxUpdateGroupModelValueFnKey: InjectionKey<($event: ModelValueAnyType) => void>;
15
+ export declare const checkboxGroupChangeFnKey: InjectionKey<(modelValue: ModelValueAnyType, event: Event) => void>;
15
16
  export declare const formLabelWidthKey: InjectionKey<string>;
16
17
  export declare const navRootKey: InjectionKey<NavProvide>;
17
18
  export declare const navSubKey: InjectionKey<NavSubProvide>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dao-style/core",
3
- "version": "0.0.1-beta.12",
3
+ "version": "0.0.1-beta.13",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "node scripts/transform-variable.mjs --build && npm run typecheck && vite build && vue-tsc -d --emitDeclarationOnly && npm run build:dts",
@@ -34,6 +34,7 @@
34
34
  "@vitejs/plugin-vue": "^1.9.3",
35
35
  "@vue/test-utils": "^2.0.0-rc.15",
36
36
  "@vue/vue3-jest": "^27.0.0-alpha.1",
37
+ "@vueuse/core": "^8.2.5",
37
38
  "autoprefixer": "^10.3.7",
38
39
  "bumpp": "^7.1.1",
39
40
  "chokidar": "^3.5.3",
@@ -55,6 +56,7 @@
55
56
  "lodash.kebabcase": "^4.1.1",
56
57
  "postcss": "^8.3.9",
57
58
  "prettier": "^2.4.1",
59
+ "resize-observer-polyfill": "^1.5.1",
58
60
  "rollup-plugin-copy": "^3.4.0",
59
61
  "sass": "^1.42.1",
60
62
  "stylelint": "^13.13.1",