@destyler/tabs 0.2.3-beta.1 → 0.2.3-beta.2
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.d.mts +3 -3
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { AnyEventObject, Machine, XSend, XState } from "@destyler/xstate";
|
|
|
4
4
|
import { CommonProperties, DirectionProperty, NormalizeProps, PropTypes, RequiredBy } from "@destyler/types";
|
|
5
5
|
|
|
6
6
|
//#region src/anatomy.d.ts
|
|
7
|
-
declare const anatomy: _destyler_anatomy0.AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: _destyler_anatomy0.AnatomyInstance<"root" | "list" | "trigger" | "content" | "indicator">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/types.d.ts
|
|
10
10
|
interface ValueChangeDetails {
|
|
@@ -210,8 +210,8 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
|
|
|
210
210
|
declare function machine(userContext: UserDefinedContext): _destyler_xstate0.Machine<MachineContext, MachineState, _destyler_xstate0.AnyEventObject>;
|
|
211
211
|
//#endregion
|
|
212
212
|
//#region src/props.d.ts
|
|
213
|
-
declare const props: ("
|
|
214
|
-
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "
|
|
213
|
+
declare const props: ("id" | "ids" | "translations" | "loopFocus" | "value" | "orientation" | "activationMode" | "onValueChange" | "onFocusChange" | "composite" | "deselectable" | "navigate" | "dir" | "getRootNode")[];
|
|
214
|
+
declare const splitProps: <Props extends Partial<UserDefinedContext>>(props: Props) => [Partial<UserDefinedContext>, Omit<Props, "id" | "ids" | "translations" | "loopFocus" | "value" | "orientation" | "activationMode" | "onValueChange" | "onFocusChange" | "composite" | "deselectable" | "navigate" | "dir" | "getRootNode">];
|
|
215
215
|
declare const triggerProps: (keyof TriggerProps)[];
|
|
216
216
|
declare const splitTriggerProps: <Props extends TriggerProps>(props: Props) => [TriggerProps, Omit<Props, keyof TriggerProps>];
|
|
217
217
|
declare const contentProps: "value"[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@destyler/tabs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.3-beta.
|
|
4
|
+
"version": "0.2.3-beta.2",
|
|
5
5
|
"description": "A set of layered sections of content—known as tab panels—that are displayed one at a time.",
|
|
6
6
|
"author": "Elone Hoo <elonehoo@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@destyler/anatomy": "0.2.3-beta.
|
|
26
|
-
"@destyler/
|
|
27
|
-
"@destyler/
|
|
28
|
-
"@destyler/
|
|
29
|
-
"@destyler/xstate": "0.2.3-beta.
|
|
30
|
-
"@destyler/
|
|
25
|
+
"@destyler/anatomy": "0.2.3-beta.2",
|
|
26
|
+
"@destyler/dom": "0.2.3-beta.2",
|
|
27
|
+
"@destyler/types": "0.2.3-beta.2",
|
|
28
|
+
"@destyler/element-rect": "0.2.3-beta.2",
|
|
29
|
+
"@destyler/xstate": "0.2.3-beta.2",
|
|
30
|
+
"@destyler/utils": "0.2.3-beta.2"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|