@destyler/dynamic 0.2.13 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +6 -6
  2. package/package.json +12 -9
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import { LiveRegion } from "@destyler/live-region";
3
3
  import { AnyEventObject, XSend, XState } from "@destyler/xstate";
4
4
  import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, RequiredBy } from "@destyler/types";
5
5
  //#region src/anatomy.d.ts
6
- export declare const anatomy: import("@destyler/anatomy").AnatomyInstance<"root" | "label" | "control" | "input" | "clearTrigger" | "item" | "itemPreview" | "itemInput" | "itemText" | "itemDeleteTrigger">;
6
+ export declare const anatomy: any;
7
7
  //#endregion
8
8
  //#region src/types.d.ts
9
9
  interface ValueChangeDetails {
@@ -345,12 +345,12 @@ interface MachineApi<T extends PropTypes = PropTypes> {
345
345
  export declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;
346
346
  //#endregion
347
347
  //#region src/machine.d.ts
348
- export declare function machine(userContext: UserDefinedContext): import("@destyler/xstate").Machine<MachineContext, MachineState, import("@destyler/xstate").AnyEventObject>;
348
+ export declare function machine(userContext: UserDefinedContext): any;
349
349
  //#endregion
350
350
  //#region src/props.d.ts
351
- export declare const props: ("id" | "ids" | "translations" | "maxLength" | "delimiter" | "autoFocus" | "disabled" | "readOnly" | "invalid" | "required" | "editable" | "inputValue" | "value" | "onValueChange" | "onInputValueChange" | "onHighlightChange" | "onValueInvalid" | "validate" | "blurBehavior" | "addOnPaste" | "max" | "allowOverflow" | "name" | "form" | "dir" | "getRootNode" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside")[];
352
- export declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "id" | "ids" | "translations" | "maxLength" | "delimiter" | "autoFocus" | "disabled" | "readOnly" | "invalid" | "required" | "editable" | "inputValue" | "value" | "onValueChange" | "onInputValueChange" | "onHighlightChange" | "onValueInvalid" | "validate" | "blurBehavior" | "addOnPaste" | "max" | "allowOverflow" | "name" | "form" | "dir" | "getRootNode" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside">];
353
- export declare const itemProps: (keyof ItemProps)[];
354
- export declare const splitItemProps: <Props extends ItemProps>(props: Props) => [ItemProps, Omit<Props, keyof ItemProps>];
351
+ export declare const props: any;
352
+ export declare const splitProps: any;
353
+ export declare const itemProps: any;
354
+ export declare const splitItemProps: any;
355
355
  //#endregion
356
356
  export type { MachineApi as Api, UserDefinedContext as Context, ElementIds, FocusOutsideEvent, HighlightChangeDetails, InputValueChangeDetails, InteractOutsideEvent, IntlTranslations, ItemProps, ItemState, PointerDownOutsideEvent, ValidateArgs, ValidityChangeDetails, ValueChangeDetails };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@destyler/dynamic",
3
3
  "type": "module",
4
- "version": "0.2.13",
4
+ "version": "0.3.0",
5
5
  "description": "inputs render tags inside an input, followed by an actual text input.",
6
6
  "author": "Elone Hoo <elonehoo@gmail.com>",
7
7
  "license": "MIT",
@@ -21,15 +21,18 @@
21
21
  "*.d.ts",
22
22
  "dist"
23
23
  ],
24
+ "engines": {
25
+ "node": ">=22.22.3"
26
+ },
24
27
  "dependencies": {
25
- "@destyler/anatomy": "0.2.13",
26
- "@destyler/auto-resize": "0.2.13",
27
- "@destyler/dom": "0.2.13",
28
- "@destyler/interact-outside": "0.2.13",
29
- "@destyler/live-region": "0.2.13",
30
- "@destyler/types": "0.2.13",
31
- "@destyler/utils": "0.2.13",
32
- "@destyler/xstate": "0.2.13"
28
+ "@destyler/anatomy": "0.3.0",
29
+ "@destyler/auto-resize": "0.3.0",
30
+ "@destyler/dom": "0.3.0",
31
+ "@destyler/interact-outside": "0.3.0",
32
+ "@destyler/live-region": "0.3.0",
33
+ "@destyler/types": "0.3.0",
34
+ "@destyler/utils": "0.3.0",
35
+ "@destyler/xstate": "0.3.0"
33
36
  },
34
37
  "publishConfig": {
35
38
  "access": "public"