fluekit 2.7.2 → 2.8.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.
@@ -19,5 +19,6 @@ export interface PositionProps {
19
19
  /** 距离四周的距离 */
20
20
  inset?: number | string;
21
21
  size?: SizeType;
22
+ transform?: string;
22
23
  }
23
24
  export declare function usePositionStyle(props: PositionProps, position?: "absolute" | "fixed" | "sticky" | "relative"): import('vue').ComputedRef<CSSProperties>;
package/dist/utils.d.ts CHANGED
@@ -14,3 +14,8 @@ export declare function isDefined<T>(value: T): value is NonNullable<T>;
14
14
  export declare function isPlainObject<T>(value: T): boolean;
15
15
  export declare function isHtmlTag(vnode: VNode): boolean;
16
16
  export declare function isComponent(vnode: VNode): boolean;
17
+ export type CopyWith<T> = (props: Partial<T>) => T;
18
+ export declare function createCopyWith<T>(obj: T): CopyWith<T>;
19
+ export interface PropsWithCopyWith<T> {
20
+ copyWith: CopyWith<T>;
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluekit",
3
- "version": "2.7.2",
3
+ "version": "2.8.0",
4
4
  "description": "A Flutter-style Layout UI kit for Vue",
5
5
  "homepage": "https://fi2zz.github.io/fluekit/",
6
6
  "repository": {