@lumx/core 4.2.1-alpha.13 → 4.2.1-alpha.14

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,17 +1,2 @@
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
- }
1
+ import type { AriaAttributes } from 'react';
2
+ export type { AriaAttributes };
@@ -4,8 +4,8 @@ export type DisabledStateContextValue = {
4
4
  } | {
5
5
  state: undefined | null;
6
6
  };
7
- export type GenericProps = {
8
- disabled?: boolean | null;
7
+ export type DisabledProps = {
8
+ disabled?: boolean;
9
9
  isDisabled?: boolean;
10
10
  'aria-disabled'?: boolean | 'true' | 'false';
11
11
  onClick?: any;
@@ -19,4 +19,4 @@ export type DisabledState = {
19
19
  /**
20
20
  * Calculate the disabled state based on context and props.
21
21
  */
22
- export declare function getDisabledState(context: DisabledStateContextValue | undefined, props: GenericProps): DisabledState;
22
+ export declare function getDisabledState(context: DisabledStateContextValue | undefined, props: DisabledProps): DisabledState;
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.13",
9
+ "@lumx/icons": "^4.2.1-alpha.14",
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.13",
40
+ "version": "4.2.1-alpha.14",
41
41
  "devDependencies": {
42
42
  "@rollup/plugin-typescript": "^12.3.0",
43
43
  "@testing-library/dom": "^10.4.1",