@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.
- package/dist/popover.types.d.mts +14 -14
- package/dist/popover.types.d.ts +14 -14
- package/package.json +11 -11
package/dist/popover.types.d.mts
CHANGED
|
@@ -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,
|
|
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
|
-
|
|
21
|
-
closeTriggerLabel
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
anchor
|
|
25
|
-
trigger
|
|
26
|
-
content
|
|
27
|
-
title
|
|
28
|
-
description
|
|
29
|
-
closeTrigger
|
|
30
|
-
positioner
|
|
31
|
-
arrow
|
|
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/dist/popover.types.d.ts
CHANGED
|
@@ -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,
|
|
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
|
-
|
|
21
|
-
closeTriggerLabel
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
anchor
|
|
25
|
-
trigger
|
|
26
|
-
content
|
|
27
|
-
title
|
|
28
|
-
description
|
|
29
|
-
closeTrigger
|
|
30
|
-
positioner
|
|
31
|
-
arrow
|
|
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.
|
|
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.
|
|
33
|
-
"@zag-js/aria-hidden": "1.43.
|
|
34
|
-
"@zag-js/core": "1.43.
|
|
35
|
-
"@zag-js/dom-query": "1.43.
|
|
36
|
-
"@zag-js/utils": "1.43.
|
|
37
|
-
"@zag-js/dismissable": "1.43.
|
|
38
|
-
"@zag-js/popper": "1.43.
|
|
39
|
-
"@zag-js/remove-scroll": "1.43.
|
|
40
|
-
"@zag-js/types": "1.43.
|
|
41
|
-
"@zag-js/focus-trap": "1.43.
|
|
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"
|