@lynx-js/lynx-ui-presence 3.136.0 → 3.137.0
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/CHANGELOG.md +9 -0
- package/dist/Presence.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.docs.d.ts +1 -1
- package/dist/usePresence.d.ts +1 -1
- package/dist/usePresenceGroup.d.ts +2 -2
- package/dist/useVisibilityFromPresence.d.ts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @lynx-js/lynx-ui-presence
|
|
2
2
|
|
|
3
|
+
## 3.137.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Emit declaration imports with explicit ESM-compatible paths. ([#280](https://github.com/lynx-family/lynx-ui/pull/280))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`064ea4e`](https://github.com/lynx-family/lynx-ui/commit/064ea4e49cd3d0ac5754519cbee43d8ab3040024)]:
|
|
10
|
+
- @lynx-js/lynx-ui-common@3.137.0
|
|
11
|
+
|
|
3
12
|
## 3.136.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/Presence.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PresenceAnimationStatus, PresenceContextType, PresenceProps } from './types';
|
|
1
|
+
import type { PresenceAnimationStatus, PresenceContextType, PresenceProps } from './types/index.js';
|
|
2
2
|
export declare const PresenceContext: import("react").Context<PresenceContextType>;
|
|
3
3
|
export declare const renderPresenceChildren: (props: {
|
|
4
4
|
children: PresenceProps["children"];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Presence, PresenceContext, renderPresenceChildren } from './Presence';
|
|
2
|
-
export { PresenceState, resolveAnimationStatus, presenceClassVariants, } from './utils';
|
|
3
|
-
export { usePresenceGroup } from './usePresenceGroup';
|
|
4
|
-
export { useVisibilityFromPresence } from './useVisibilityFromPresence';
|
|
5
|
-
export type * from './types';
|
|
1
|
+
export { Presence, PresenceContext, renderPresenceChildren } from './Presence.js';
|
|
2
|
+
export { PresenceState, resolveAnimationStatus, presenceClassVariants, } from './utils.js';
|
|
3
|
+
export { usePresenceGroup } from './usePresenceGroup.js';
|
|
4
|
+
export { useVisibilityFromPresence } from './useVisibilityFromPresence.js';
|
|
5
|
+
export type * from './types/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type * from './index.docs';
|
|
1
|
+
export type * from './index.docs.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from '@lynx-js/react';
|
|
2
2
|
import type { AnimationEvent, EventHandler, TransitionEvent } from '@lynx-js/types';
|
|
3
|
-
import type { PresenceState } from '../utils';
|
|
3
|
+
import type { PresenceState } from '../utils.js';
|
|
4
4
|
export interface PresenceAnimationStatus {
|
|
5
5
|
/**
|
|
6
6
|
* The popper is opened.
|
package/dist/usePresence.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PresenceAnimationStatus, PresenceContextType, PresenceProps, usePresenceProps, usePresenceReturnType } from './types';
|
|
1
|
+
import type { PresenceAnimationStatus, PresenceContextType, PresenceProps, usePresenceProps, usePresenceReturnType } from './types/index.js';
|
|
2
2
|
export declare const PresenceContext: import("react").Context<PresenceContextType>;
|
|
3
3
|
export declare function usePresence(props: usePresenceProps): usePresenceReturnType;
|
|
4
4
|
export declare const renderPresenceChildren: (props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from '@lynx-js/react';
|
|
2
|
-
import type { PresenceChildrenType, PresenceContextType } from './types';
|
|
3
|
-
import { PresenceState } from './utils';
|
|
2
|
+
import type { PresenceChildrenType, PresenceContextType } from './types/index.js';
|
|
3
|
+
import { PresenceState } from './utils.js';
|
|
4
4
|
export declare const PresenceContext: import("react").Context<PresenceContextType>;
|
|
5
5
|
export interface usePresenceGroupProps {
|
|
6
6
|
show: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties } from '@lynx-js/types';
|
|
2
|
-
import { PresenceState } from './utils';
|
|
2
|
+
import { PresenceState } from './utils.js';
|
|
3
3
|
/**
|
|
4
4
|
* A hook that derives visibility state from a PresenceState.
|
|
5
5
|
* It returns 'visible' when the presence state indicates the component
|
package/dist/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/lynx-ui-presence",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.137.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/lynx-family/lynx-ui.git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"clsx": "^2.1.1",
|
|
28
|
-
"@lynx-js/lynx-ui-common": "3.
|
|
28
|
+
"@lynx-js/lynx-ui-common": "3.137.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@lynx-js/react": "0.123.1",
|