@luzmo/react-lucero 1.0.3-alpha.18 → 1.0.3-alpha.20
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.
|
@@ -3,11 +3,9 @@ import { LuzmoButton as LuzmoButtonClass } from '@luzmo/lucero/button';
|
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-button>
|
|
5
5
|
*
|
|
6
|
-
* @event onChange - Announces that the `value` of the element has changed
|
|
7
6
|
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
8
7
|
*/
|
|
9
8
|
export declare const LuzmoButton: ReactWebComponent<LuzmoButtonClass, {
|
|
10
|
-
onChange: EventName<CustomEvent>;
|
|
11
9
|
onKeydown: EventName<KeyboardEvent>;
|
|
12
10
|
}>;
|
|
13
11
|
/** The underlying custom element type for LuzmoButton */
|
package/esm/components/button.js
CHANGED
|
@@ -6,14 +6,12 @@ const LuzmoButtonComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoButtonClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onChange: 'change',
|
|
10
9
|
onKeydown: 'keydown'
|
|
11
10
|
}
|
|
12
11
|
});
|
|
13
12
|
/**
|
|
14
13
|
* React wrapper for <luzmo-button>
|
|
15
14
|
*
|
|
16
|
-
* @event onChange - Announces that the `value` of the element has changed
|
|
17
15
|
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
18
16
|
*/
|
|
19
17
|
export const LuzmoButton = LuzmoButtonComponent;
|
package/package.json
CHANGED