@hoci/components 0.5.5 → 0.5.6

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/index.cjs CHANGED
@@ -285,7 +285,7 @@ const useSelectionList = shared.defineHookComponent({
285
285
  return remove;
286
286
  };
287
287
  const sharedConfig = shared.useSharedConfig();
288
- vue.provide(HiSelectionContextSymbol, core$1.toReactive({
288
+ vue.provide(HiSelectionContextSymbol, shared.toReactive({
289
289
  activeClass: vue.computed(() => tslx.cls(props.activeClass)),
290
290
  unactiveClass: vue.computed(() => tslx.cls(props.unactiveClass)),
291
291
  disabledClass: vue.computed(() => tslx.cls(props.disabledClass)),
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, h, renderSlot, reactive, computed, provide, inject, KeepAlive, watch, Teleport } from 'vue';
2
2
  import { affixProps, useAffix, selectionProps as selectionProps$1, selectionEmits as selectionEmits$1, useSelectionList as useSelectionList$1, itemProps as itemProps$1, useSelectionItem as useSelectionItem$1, iconProps, useIcon, switchProps, switchEmits, useSwitch, configProviderProps, provideSharedConfig, popoverProps, popoverEmits, usePopover } from '@hoci/core';
3
3
  import { capitalize, cls } from 'tslx';
4
- import { defineHookProps, valuePropType, classPropType, labelPropType, defineHookEmits, defineHookComponent, useSharedConfig, getFirstChilld } from '@hoci/shared';
5
- import { syncRef, toReactive, isDefined, tryOnScopeDispose } from '@vueuse/core';
4
+ import { defineHookProps, valuePropType, classPropType, labelPropType, defineHookEmits, defineHookComponent, useSharedConfig, toReactive, getFirstChilld } from '@hoci/shared';
5
+ import { syncRef, isDefined, tryOnScopeDispose } from '@vueuse/core';
6
6
 
7
7
  const HiAffix = defineComponent({
8
8
  name: "HiAffix",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoci/components",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "",
5
5
  "author": "Chizuki <chizukicn@outlook.com>",
6
6
  "license": "MIT",
@@ -25,14 +25,14 @@
25
25
  "dist/"
26
26
  ],
27
27
  "peerDependencies": {
28
+ "@vueuse/core": ">=9.0.0",
28
29
  "vue": "^3.0.0-0"
29
30
  },
30
31
  "dependencies": {
31
- "@vueuse/core": ">=10.5.0",
32
- "maybe-types": "^0.1.0",
32
+ "maybe-types": "^0.2.0",
33
33
  "tslx": "^0.1.1",
34
- "@hoci/shared": "0.5.5",
35
- "@hoci/core": "0.5.5"
34
+ "@hoci/core": "0.5.6",
35
+ "@hoci/shared": "0.5.6"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "unbuild",