@lumx/core 4.2.1-alpha.0 → 4.2.1-alpha.2

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.
@@ -1,4 +1 @@
1
- export type CommonRef<T = HTMLElement> = {
2
- readonly current?: T | null;
3
- value?: T;
4
- };
1
+ export type CommonRef = any;
@@ -1,3 +1,9 @@
1
1
  import type React from 'react';
2
- export type JSXElement = boolean | number | string | React.JSX.Element | React.ReactNode | Iterable<JSXElement> | undefined | null;
2
+ /**
3
+ * Framework-agnostic type for renderable content.
4
+ * Vue components should cast VNode[] from slots to this type.
5
+ *
6
+ * Note: Uses type-only import to avoid runtime dependencies.
7
+ */
8
+ export type JSXElement = React.ReactNode;
3
9
  export type ElementType = React.ElementType;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/lumapps/design-system/issues"
7
7
  },
8
8
  "dependencies": {
9
- "@lumx/icons": "^4.2.1-alpha.0",
9
+ "@lumx/icons": "^4.2.1-alpha.2",
10
10
  "classnames": "^2.3.2",
11
11
  "focus-visible": "^5.0.2",
12
12
  "lodash": "4.17.23",
@@ -37,7 +37,7 @@
37
37
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
38
38
  },
39
39
  "sideEffects": false,
40
- "version": "4.2.1-alpha.0",
40
+ "version": "4.2.1-alpha.2",
41
41
  "devDependencies": {
42
42
  "@rollup/plugin-typescript": "^12.3.0",
43
43
  "@testing-library/dom": "^10.4.1",