@lumx/react 4.3.2-alpha.8 → 4.4.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/_internal/DpdvhbTO.js +1 -1
- package/index.d.ts +266 -148
- package/index.js +511 -432
- package/index.js.map +1 -1
- package/package.json +11 -6
- package/utils/index.d.ts +1 -2
- package/utils/index.js +7 -7
package/package.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"url": "https://github.com/lumapps/design-system/issues"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@lumx/core": "^4.
|
|
10
|
-
"@lumx/icons": "^4.
|
|
9
|
+
"@lumx/core": "^4.4.0",
|
|
10
|
+
"@lumx/icons": "^4.4.0",
|
|
11
11
|
"@popperjs/core": "^2.5.4",
|
|
12
12
|
"body-scroll-lock": "^3.1.5",
|
|
13
13
|
"react-popper": "^2.2.4"
|
|
@@ -77,8 +77,14 @@
|
|
|
77
77
|
"types": "index.d.ts",
|
|
78
78
|
"name": "@lumx/react",
|
|
79
79
|
"exports": {
|
|
80
|
-
".":
|
|
81
|
-
|
|
80
|
+
".": {
|
|
81
|
+
"types": "./index.d.ts",
|
|
82
|
+
"default": "./index.js"
|
|
83
|
+
},
|
|
84
|
+
"./utils": {
|
|
85
|
+
"types": "./utils/index.d.ts",
|
|
86
|
+
"default": "./utils/index.js"
|
|
87
|
+
}
|
|
82
88
|
},
|
|
83
89
|
"publishConfig": {
|
|
84
90
|
"directory": "dist"
|
|
@@ -96,6 +102,5 @@
|
|
|
96
102
|
"build:storybook": "storybook build"
|
|
97
103
|
},
|
|
98
104
|
"sideEffects": false,
|
|
99
|
-
"version": "4.
|
|
100
|
-
"stableVersion": "4.3.1"
|
|
105
|
+
"version": "4.4.0"
|
|
101
106
|
}
|
package/utils/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React__default, { RefObject, ReactNode, AriaAttributes } from 'react';
|
|
2
|
-
import { Falsy } from '@lumx/core/js/types';
|
|
2
|
+
import { Falsy, ObjectValues } from '@lumx/core/js/types';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { DisabledStateContextValue } from '@lumx/core/js/utils/disabledState';
|
|
5
|
-
import { ObjectValues } from '@lumx/core/src/js/types/ObjectValues';
|
|
6
5
|
|
|
7
6
|
interface ClickAwayParameters {
|
|
8
7
|
/**
|
package/utils/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import React__default, { useEffect } from 'react';
|
|
|
2
2
|
import { join, visuallyHidden } from '@lumx/core/js/utils/classNames';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
export { C as ClickAwayProvider, D as DisabledStateProvider, P as Portal, a as PortalProvider, u as useDisabledStateContext } from '../_internal/DpdvhbTO.js';
|
|
5
|
-
import noop from 'lodash/noop';
|
|
6
|
-
import findLast from 'lodash/findLast';
|
|
7
|
-
import find from 'lodash/find';
|
|
8
|
-
import findLastIndex from 'lodash/findLastIndex';
|
|
9
|
-
import isNil from 'lodash/isNil';
|
|
10
|
-
import groupBy from 'lodash/groupBy';
|
|
11
|
-
import uniqueId from 'lodash/uniqueId';
|
|
5
|
+
import noop from 'lodash/noop.js';
|
|
6
|
+
import findLast from 'lodash/findLast.js';
|
|
7
|
+
import find from 'lodash/find.js';
|
|
8
|
+
import findLastIndex from 'lodash/findLastIndex.js';
|
|
9
|
+
import isNil from 'lodash/isNil.js';
|
|
10
|
+
import groupBy from 'lodash/groupBy.js';
|
|
11
|
+
import uniqueId from 'lodash/uniqueId.js';
|
|
12
12
|
|
|
13
13
|
// The error margin in px we want to have for triggering infinite scroll
|
|
14
14
|
const CLASSNAME = 'lumx-infinite-scroll-anchor';
|