@zag-js/popover 0.0.0-dev-20221208123200 → 0.0.0-dev-20221208125258

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.ts CHANGED
@@ -797,57 +797,57 @@ declare const anatomy: Omit<{
797
797
  }>;
798
798
  }, "parts">;
799
799
  extend: <V_20 extends string>(...parts: V_20[]) => Omit<any, "parts">;
800
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16 | V_17 | V_18 | V_19, {
800
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16 | V_17 | V_18 | V_19, {
801
801
  selector: string;
802
802
  attrs: Record<"data-scope" | "data-part", string>;
803
803
  }>;
804
804
  }, "parts">;
805
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16 | V_17 | V_18, {
805
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16 | V_17 | V_18, {
806
806
  selector: string;
807
807
  attrs: Record<"data-scope" | "data-part", string>;
808
808
  }>;
809
809
  }, "parts">;
810
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16 | V_17, {
810
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16 | V_17, {
811
811
  selector: string;
812
812
  attrs: Record<"data-scope" | "data-part", string>;
813
813
  }>;
814
814
  }, "parts">;
815
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16, {
815
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15 | V_16, {
816
816
  selector: string;
817
817
  attrs: Record<"data-scope" | "data-part", string>;
818
818
  }>;
819
819
  }, "parts">;
820
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15, {
820
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14 | V_15, {
821
821
  selector: string;
822
822
  attrs: Record<"data-scope" | "data-part", string>;
823
823
  }>;
824
824
  }, "parts">;
825
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14, {
825
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13 | V_14, {
826
826
  selector: string;
827
827
  attrs: Record<"data-scope" | "data-part", string>;
828
828
  }>;
829
829
  }, "parts">;
830
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13, {
830
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12 | V_13, {
831
831
  selector: string;
832
832
  attrs: Record<"data-scope" | "data-part", string>;
833
833
  }>;
834
834
  }, "parts">;
835
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12, {
835
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11 | V_12, {
836
836
  selector: string;
837
837
  attrs: Record<"data-scope" | "data-part", string>;
838
838
  }>;
839
839
  }, "parts">;
840
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11, {
840
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10 | V_11, {
841
841
  selector: string;
842
842
  attrs: Record<"data-scope" | "data-part", string>;
843
843
  }>;
844
844
  }, "parts">;
845
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10, {
845
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton" | V_10, {
846
846
  selector: string;
847
847
  attrs: Record<"data-scope" | "data-part", string>;
848
848
  }>;
849
849
  }, "parts">;
850
- build: () => Record<"arrow" | "arrowInner" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton", {
850
+ build: () => Record<"arrow" | "arrowTip" | "anchor" | "trigger" | "positioner" | "content" | "title" | "description" | "closeButton", {
851
851
  selector: string;
852
852
  attrs: Record<"data-scope" | "data-part", string>;
853
853
  }>;
@@ -937,7 +937,7 @@ declare function connect<T extends PropTypes>(state: State, send: Send, normaliz
937
937
  open(): void;
938
938
  close(): void;
939
939
  arrowProps: T["element"];
940
- innerArrowProps: T["element"];
940
+ arrowTipProps: T["element"];
941
941
  anchorProps: T["element"];
942
942
  triggerProps: T["button"];
943
943
  positionerProps: T["element"];
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(src_exports);
30
30
  var import_anatomy = require("@zag-js/anatomy");
31
31
  var anatomy = (0, import_anatomy.createAnatomy)("popover").parts(
32
32
  "arrow",
33
- "arrowInner",
33
+ "arrowTip",
34
34
  "anchor",
35
35
  "trigger",
36
36
  "positioner",
@@ -313,9 +313,9 @@ function connect(state, send, normalize) {
313
313
  ...parts.arrow.attrs,
314
314
  style: popperStyles.arrow
315
315
  }),
316
- innerArrowProps: normalize.element({
317
- ...parts.arrowInner.attrs,
318
- style: popperStyles.innerArrow
316
+ arrowTipProps: normalize.element({
317
+ ...parts.arrowTip.attrs,
318
+ style: popperStyles.arrowTip
319
319
  }),
320
320
  anchorProps: normalize.element({
321
321
  ...parts.anchor.attrs,
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import { createAnatomy } from "@zag-js/anatomy";
3
3
  var anatomy = createAnatomy("popover").parts(
4
4
  "arrow",
5
- "arrowInner",
5
+ "arrowTip",
6
6
  "anchor",
7
7
  "trigger",
8
8
  "positioner",
@@ -285,9 +285,9 @@ function connect(state, send, normalize) {
285
285
  ...parts.arrow.attrs,
286
286
  style: popperStyles.arrow
287
287
  }),
288
- innerArrowProps: normalize.element({
289
- ...parts.arrowInner.attrs,
290
- style: popperStyles.innerArrow
288
+ arrowTipProps: normalize.element({
289
+ ...parts.arrowTip.attrs,
290
+ style: popperStyles.arrowTip
291
291
  }),
292
292
  anchorProps: normalize.element({
293
293
  ...parts.anchor.attrs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/popover",
3
- "version": "0.0.0-dev-20221208123200",
3
+ "version": "0.0.0-dev-20221208125258",
4
4
  "description": "Core logic for the popover widget implemented as a state machine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",