@lumx/react 4.0.1-alpha.7 → 4.0.1-alpha.9

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/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.0.1-alpha.7",
10
- "@lumx/icons": "^4.0.1-alpha.7",
9
+ "@lumx/core": "^4.0.1-alpha.9",
10
+ "@lumx/icons": "^4.0.1-alpha.9",
11
11
  "@popperjs/core": "^2.5.4",
12
12
  "body-scroll-lock": "^3.1.5",
13
13
  "react-popper": "^2.2.4"
@@ -27,14 +27,14 @@
27
27
  "@storybook/addon-docs": "^9.1.4",
28
28
  "@storybook/react-vite": "^9.1.4",
29
29
  "@testing-library/dom": "^10.4.1",
30
- "@testing-library/react": "^12.1.2",
31
- "@testing-library/user-event": "^14.4.3",
30
+ "@testing-library/react": "^16.3.1",
31
+ "@testing-library/user-event": "^14.6.1",
32
32
  "@types/body-scroll-lock": "^2.6.1",
33
33
  "@types/classnames": "^2.2.9",
34
34
  "@types/dom-view-transitions": "^1.0.5",
35
35
  "@types/lodash": "^4.14.149",
36
- "@types/react": "^17.0.2",
37
- "@types/react-dom": "^17.0.2",
36
+ "@types/react": "^18.3.24",
37
+ "@types/react-dom": "^18.3.7",
38
38
  "@vitest/ui": "^3.0.0",
39
39
  "autoprefixer": "^9.7.4",
40
40
  "chromatic": "^13.1.4",
@@ -42,8 +42,8 @@
42
42
  "glob": "^7.1.6",
43
43
  "jsdom": "^27.2.0",
44
44
  "lodash": "4.17.21",
45
- "react": "^17.0.2",
46
- "react-dom": "^17.0.2",
45
+ "react": "^18.3.1",
46
+ "react-dom": "^18.3.1",
47
47
  "rollup": "^4.53.3",
48
48
  "rollup-plugin-analyzer": "^4.0.0",
49
49
  "rollup-plugin-cleaner": "^1.0.0",
@@ -90,5 +90,5 @@
90
90
  "build:storybook": "storybook build"
91
91
  },
92
92
  "sideEffects": false,
93
- "version": "4.0.1-alpha.7"
93
+ "version": "4.0.1-alpha.9"
94
94
  }
package/utils/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import React__default, { RefObject } from 'react';
2
- import { F as Falsy } from '../Falsy-e4faCDKK.js';
2
+ import { Falsy } from '@lumx/core/js/types';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
4
 
4
5
  interface ClickAwayParameters {
5
6
  /**
@@ -71,7 +72,7 @@ type DisabledStateProviderProps = DisabledStateContextValue & {
71
72
  * Disabled state provider.
72
73
  * All nested LumX Design System components inherit this disabled state.
73
74
  */
74
- declare function DisabledStateProvider({ children, ...value }: DisabledStateProviderProps): JSX.Element;
75
+ declare function DisabledStateProvider({ children, ...value }: DisabledStateProviderProps): react_jsx_runtime.JSX.Element;
75
76
  /**
76
77
  * Get DisabledState context value
77
78
  */
@@ -1,7 +0,0 @@
1
- /**
2
- * JS falsy values.
3
- * (excluding `NaN` as it can't be distinguished from `number`)
4
- */
5
- type Falsy = false | undefined | null | 0 | '';
6
-
7
- export type { Falsy as F };