@zag-js/popover 1.43.2 → 1.43.3

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.
@@ -2,7 +2,7 @@ import { Machine, EventObject, Service } from '@zag-js/core';
2
2
  import { DismissableElementHandlers, PersistentElementOptions } from '@zag-js/dismissable';
3
3
  import { PositioningOptions, Placement } from '@zag-js/popper';
4
4
  export { Placement, PositioningOptions } from '@zag-js/popper';
5
- import { PropTypes, Partial, RequiredBy, CommonProperties, DirectionProperty, MaybeElement } from '@zag-js/types';
5
+ import { PropTypes, RequiredBy, CommonProperties, DirectionProperty, MaybeElement } from '@zag-js/types';
6
6
 
7
7
  interface OpenChangeDetails {
8
8
  open: boolean;
@@ -17,19 +17,19 @@ interface TriggerValueChangeDetails {
17
17
  */
18
18
  triggerElement: HTMLElement | null;
19
19
  }
20
- type IntlTranslations = Partial<{
21
- closeTriggerLabel: string;
22
- }>;
23
- type ElementIds = Partial<{
24
- anchor: string;
25
- trigger: string | ((value?: string) => string);
26
- content: string;
27
- title: string;
28
- description: string;
29
- closeTrigger: string;
30
- positioner: string;
31
- arrow: string;
32
- }>;
20
+ interface IntlTranslations {
21
+ closeTriggerLabel?: string | undefined;
22
+ }
23
+ interface ElementIds {
24
+ anchor?: string | undefined;
25
+ trigger?: (string | ((value?: string) => string)) | undefined;
26
+ content?: string | undefined;
27
+ title?: string | undefined;
28
+ description?: string | undefined;
29
+ closeTrigger?: string | undefined;
30
+ positioner?: string | undefined;
31
+ arrow?: string | undefined;
32
+ }
33
33
  interface PopoverProps extends CommonProperties, DirectionProperty, DismissableElementHandlers, PersistentElementOptions {
34
34
  /**
35
35
  * Specifies the localized strings that identifies the accessibility elements and their states
@@ -2,7 +2,7 @@ import { Machine, EventObject, Service } from '@zag-js/core';
2
2
  import { DismissableElementHandlers, PersistentElementOptions } from '@zag-js/dismissable';
3
3
  import { PositioningOptions, Placement } from '@zag-js/popper';
4
4
  export { Placement, PositioningOptions } from '@zag-js/popper';
5
- import { PropTypes, Partial, RequiredBy, CommonProperties, DirectionProperty, MaybeElement } from '@zag-js/types';
5
+ import { PropTypes, RequiredBy, CommonProperties, DirectionProperty, MaybeElement } from '@zag-js/types';
6
6
 
7
7
  interface OpenChangeDetails {
8
8
  open: boolean;
@@ -17,19 +17,19 @@ interface TriggerValueChangeDetails {
17
17
  */
18
18
  triggerElement: HTMLElement | null;
19
19
  }
20
- type IntlTranslations = Partial<{
21
- closeTriggerLabel: string;
22
- }>;
23
- type ElementIds = Partial<{
24
- anchor: string;
25
- trigger: string | ((value?: string) => string);
26
- content: string;
27
- title: string;
28
- description: string;
29
- closeTrigger: string;
30
- positioner: string;
31
- arrow: string;
32
- }>;
20
+ interface IntlTranslations {
21
+ closeTriggerLabel?: string | undefined;
22
+ }
23
+ interface ElementIds {
24
+ anchor?: string | undefined;
25
+ trigger?: (string | ((value?: string) => string)) | undefined;
26
+ content?: string | undefined;
27
+ title?: string | undefined;
28
+ description?: string | undefined;
29
+ closeTrigger?: string | undefined;
30
+ positioner?: string | undefined;
31
+ arrow?: string | undefined;
32
+ }
33
33
  interface PopoverProps extends CommonProperties, DirectionProperty, DismissableElementHandlers, PersistentElementOptions {
34
34
  /**
35
35
  * Specifies the localized strings that identifies the accessibility elements and their states
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/popover",
3
- "version": "1.43.2",
3
+ "version": "1.43.3",
4
4
  "description": "Core logic for the popover widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -29,16 +29,16 @@
29
29
  "url": "https://github.com/chakra-ui/zag/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@zag-js/anatomy": "1.43.2",
33
- "@zag-js/aria-hidden": "1.43.2",
34
- "@zag-js/core": "1.43.2",
35
- "@zag-js/dom-query": "1.43.2",
36
- "@zag-js/utils": "1.43.2",
37
- "@zag-js/dismissable": "1.43.2",
38
- "@zag-js/popper": "1.43.2",
39
- "@zag-js/remove-scroll": "1.43.2",
40
- "@zag-js/types": "1.43.2",
41
- "@zag-js/focus-trap": "1.43.2"
32
+ "@zag-js/anatomy": "1.43.3",
33
+ "@zag-js/aria-hidden": "1.43.3",
34
+ "@zag-js/core": "1.43.3",
35
+ "@zag-js/dom-query": "1.43.3",
36
+ "@zag-js/utils": "1.43.3",
37
+ "@zag-js/dismissable": "1.43.3",
38
+ "@zag-js/popper": "1.43.3",
39
+ "@zag-js/remove-scroll": "1.43.3",
40
+ "@zag-js/types": "1.43.3",
41
+ "@zag-js/focus-trap": "1.43.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "clean-package": "2.2.0"