@zag-js/tabs 0.0.0-dev-20221212111136 → 0.0.0-dev-20221212123305

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.ts +11 -11
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -851,17 +851,17 @@ declare const anatomy: Omit<{
851
851
  }>;
852
852
  }, "parts">;
853
853
 
854
- declare type IntlTranslations = {
854
+ type IntlTranslations = {
855
855
  tablistLabel?: string;
856
856
  };
857
- declare type ElementIds = Partial<{
857
+ type ElementIds = Partial<{
858
858
  root: string;
859
859
  trigger: string;
860
860
  tablist: string;
861
861
  contentGroup: string;
862
862
  content: string;
863
863
  }>;
864
- declare type PublicContext = DirectionProperty & CommonProperties & {
864
+ type PublicContext = DirectionProperty & CommonProperties & {
865
865
  /**
866
866
  * The ids of the elements in the tabs. Useful for composition.
867
867
  */
@@ -917,8 +917,8 @@ declare type PublicContext = DirectionProperty & CommonProperties & {
917
917
  value: string;
918
918
  }) => void;
919
919
  };
920
- declare type UserDefinedContext = RequiredBy<PublicContext, "id">;
921
- declare type ComputedContext = Readonly<{
920
+ type UserDefinedContext = RequiredBy<PublicContext, "id">;
921
+ type ComputedContext = Readonly<{
922
922
  /**
923
923
  * @computed
924
924
  * Whether the tab is in the horizontal orientation
@@ -930,14 +930,14 @@ declare type ComputedContext = Readonly<{
930
930
  */
931
931
  isVertical: boolean;
932
932
  }>;
933
- declare type PrivateContext = Context<{}>;
934
- declare type MachineContext = PublicContext & ComputedContext & PrivateContext;
935
- declare type MachineState = {
933
+ type PrivateContext = Context<{}>;
934
+ type MachineContext = PublicContext & ComputedContext & PrivateContext;
935
+ type MachineState = {
936
936
  value: "unknown" | "idle" | "focused";
937
937
  };
938
- declare type State = StateMachine.State<MachineContext, MachineState>;
939
- declare type Send = StateMachine.Send<StateMachine.AnyEventObject>;
940
- declare type TabProps = {
938
+ type State = StateMachine.State<MachineContext, MachineState>;
939
+ type Send = StateMachine.Send<StateMachine.AnyEventObject>;
940
+ type TabProps = {
941
941
  value: string;
942
942
  disabled?: boolean;
943
943
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/tabs",
3
- "version": "0.0.0-dev-20221212111136",
3
+ "version": "0.0.0-dev-20221212123305",
4
4
  "description": "Core logic for the tabs widget implemented as a state machine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@zag-js/anatomy": "0.1.1",
33
- "@zag-js/core": "0.2.2",
33
+ "@zag-js/core": "0.0.0-dev-20221212123305",
34
34
  "@zag-js/types": "0.3.1"
35
35
  },
36
36
  "devDependencies": {