@lumx/vue 4.3.2-alpha.25 → 4.3.2-alpha.26
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/components/button/IconButton.d.ts +2 -2
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconButtonProps as UIProps } from '@lumx/core/js/components/Button/IconButton';
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
|
-
export type IconButtonProps = VueToJSXProps<UIProps>;
|
|
3
|
+
export type IconButtonProps = VueToJSXProps<UIProps, 'label'>;
|
|
4
4
|
export declare const emitSchema: {
|
|
5
5
|
click: (event: MouseEvent) => boolean;
|
|
6
6
|
};
|
|
@@ -12,7 +12,7 @@ export declare const emitSchema: {
|
|
|
12
12
|
*/
|
|
13
13
|
declare const IconButton: import('vue').DefineSetupFnComponent<IconButtonProps, {
|
|
14
14
|
click: (event: MouseEvent) => boolean;
|
|
15
|
-
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
15
|
+
}, {}, Omit<UIProps, "className" | "label" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
16
16
|
class?: string;
|
|
17
17
|
} & {
|
|
18
18
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
package/index.js
CHANGED
|
@@ -1119,14 +1119,14 @@ const oo = {
|
|
|
1119
1119
|
return () => c(de, h(s.value, o.value, {
|
|
1120
1120
|
className: e.class,
|
|
1121
1121
|
theme: e.theme || a.value,
|
|
1122
|
-
|
|
1122
|
+
label: e.title || "",
|
|
1123
1123
|
onClick: i
|
|
1124
1124
|
}), null);
|
|
1125
1125
|
}, {
|
|
1126
1126
|
name: "IconButton",
|
|
1127
1127
|
inheritAttrs: !1,
|
|
1128
1128
|
// Redefine properties so that they come in as `props` on the `defineComponent` function
|
|
1129
|
-
props: S()("icon", "image", "
|
|
1129
|
+
props: S()("icon", "image", "color", "emphasis", "hasBackground", "href", "isDisabled", "isSelected", "name", "size", "theme", "class", "aria-expanded", "aria-disabled", "aria-haspopup", "aria-label", "aria-pressed", "disabled", "fullWidth", "isActive", "isFocused", "isHovered", "isDisabled", "linkAs", "target", "type", "title"),
|
|
1130
1130
|
emits: oo
|
|
1131
1131
|
}), so = "ButtonGroup", ua = "lumx-button-group", io = {}, Pe = (e) => {
|
|
1132
1132
|
const {
|