@lumx/core 4.2.1-alpha.0 → 4.2.1-alpha.10
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,2 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { Booleanish } from './Booleanish';
|
|
2
|
+
export interface AriaAttributes {
|
|
3
|
+
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
4
|
+
'aria-expanded'?: Booleanish | undefined;
|
|
5
|
+
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
6
|
+
'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Defines a string value that labels the current element.
|
|
9
|
+
* @see aria-labelledby.
|
|
10
|
+
*/
|
|
11
|
+
'aria-label'?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
14
|
+
* @see aria-checked @see aria-selected.
|
|
15
|
+
*/
|
|
16
|
+
'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | undefined;
|
|
17
|
+
}
|
package/js/types/CommonRef.d.ts
CHANGED
package/js/types/JSXElement.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
|
|
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.
|
|
9
|
+
"@lumx/icons": "^4.2.1-alpha.10",
|
|
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.
|
|
40
|
+
"version": "4.2.1-alpha.10",
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
43
43
|
"@testing-library/dom": "^10.4.1",
|