@lumx/vue 4.2.1-alpha.8 → 4.2.1-alpha.9

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,6 +1,6 @@
1
1
  import { ButtonProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS } from '@lumx/core/js/components/Button/Button';
2
2
  import { VueToJSXProps } from '../../utils/VueToJSX';
3
- export type ButtonProps = VueToJSXProps<UIProps, 'onClick'>;
3
+ export type ButtonProps = VueToJSXProps<UIProps>;
4
4
  export declare const emitSchema: {
5
5
  click: (event: MouseEvent) => boolean;
6
6
  };
@@ -13,7 +13,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
13
13
  */
14
14
  declare const Button: import('vue').DefineSetupFnComponent<ButtonProps, {
15
15
  click: (event: MouseEvent) => boolean;
16
- }, {}, Omit<UIProps, "className" | "children" | "ref" | "onClick"> & {
16
+ }, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
17
17
  class?: string;
18
18
  } & {
19
19
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -7,7 +7,7 @@ export type ButtonGroupProps = VueToJSXProps<UIProps>;
7
7
  * @param props Component props.
8
8
  * @return Vue element.
9
9
  */
10
- declare const ButtonGroup: import('vue').DefineSetupFnComponent<ButtonGroupProps, {}, {}, Omit<UIProps, "className" | "children" | "ref"> & {
10
+ declare const ButtonGroup: import('vue').DefineSetupFnComponent<ButtonGroupProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
11
  class?: string;
12
12
  } & {}, import('vue').PublicProps>;
13
13
  export default ButtonGroup;
@@ -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, 'onClick'>;
3
+ export type IconButtonProps = VueToJSXProps<UIProps>;
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" | "children" | "ref" | "onClick"> & {
15
+ }, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
16
16
  class?: string;
17
17
  } & {
18
18
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -7,7 +7,7 @@ export type FlagProps = VueToJSXProps<UIProps, 'Text'>;
7
7
  * @param props Component props.
8
8
  * @return Vue element.
9
9
  */
10
- declare const Flag: import('vue').DefineSetupFnComponent<FlagProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "Text"> & {
10
+ declare const Flag: import('vue').DefineSetupFnComponent<FlagProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick" | "Text"> & {
11
11
  class?: string;
12
12
  } & {}, import('vue').PublicProps>;
13
13
  export default Flag;
@@ -11,7 +11,7 @@ export { CLASSNAME, COMPONENT_NAME };
11
11
  * @param props Component props.
12
12
  * @return Vue element.
13
13
  */
14
- declare const FlexBox: import('vue').DefineSetupFnComponent<FlexBoxProps, {}, {}, Omit<UIProps, "className" | "children" | "ref"> & {
14
+ declare const FlexBox: import('vue').DefineSetupFnComponent<FlexBoxProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
15
15
  class?: string;
16
16
  } & {
17
17
  /** Customize the root element. */
@@ -0,0 +1,13 @@
1
+ import { HeadingProps } from '@lumx/core/js/components/Heading';
2
+ import { VueToJSXProps } from '../../utils/VueToJSX';
3
+ export type HeadingVueProps = VueToJSXProps<HeadingProps>;
4
+ /**
5
+ * Heading component.
6
+ *
7
+ * @param props Component props.
8
+ * @return Vue element.
9
+ */
10
+ declare const Heading: import('vue').DefineSetupFnComponent<HeadingVueProps, {}, {}, Omit<HeadingProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
+ class?: string;
12
+ } & {}, import('vue').PublicProps>;
13
+ export default Heading;
@@ -0,0 +1,12 @@
1
+ export interface HeadingLevelProviderProps {
2
+ /** The heading level to start at. If left undefined, the parent context will be used, if any. */
3
+ level?: number;
4
+ }
5
+ /**
6
+ * HeadingLevelProvider component.
7
+ *
8
+ * @param props Component props.
9
+ * @return Vue element.
10
+ */
11
+ declare const HeadingLevelProvider: import('vue').DefineSetupFnComponent<HeadingLevelProviderProps, {}, {}, HeadingLevelProviderProps & {}, import('vue').PublicProps>;
12
+ export default HeadingLevelProvider;
@@ -1,6 +1,6 @@
1
1
  import { HeadingProps } from '@lumx/core/js/components/Heading';
2
- import { default as Heading } from './Heading.vue';
3
- import { default as HeadingLevelProvider } from './HeadingLevelProvider.vue';
2
+ import { default as Heading } from './Heading';
3
+ import { default as HeadingLevelProvider } from './HeadingLevelProvider';
4
4
  import { useHeadingLevel } from './useHeadingLevel';
5
5
  export { Heading, HeadingLevelProvider, useHeadingLevel };
6
6
  export type { HeadingProps };
@@ -7,7 +7,7 @@ export type IconProps = VueToJSXProps<UIProps>;
7
7
  * @param props Component props.
8
8
  * @return Vue element.
9
9
  */
10
- declare const Icon: import('vue').DefineSetupFnComponent<IconProps, {}, {}, Omit<UIProps, "className" | "children" | "ref"> & {
10
+ declare const Icon: import('vue').DefineSetupFnComponent<IconProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
11
  class?: string;
12
12
  } & {}, import('vue').PublicProps>;
13
13
  export default Icon;
@@ -7,7 +7,7 @@ export type InputHelperProps = VueToJSXProps<UIProps>;
7
7
  * @param props Component props.
8
8
  * @return Vue element.
9
9
  */
10
- declare const InputHelper: import('vue').DefineSetupFnComponent<InputHelperProps, {}, {}, Omit<UIProps, "className" | "children" | "ref"> & {
10
+ declare const InputHelper: import('vue').DefineSetupFnComponent<InputHelperProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
11
  class?: string;
12
12
  } & {}, import('vue').PublicProps>;
13
13
  export default InputHelper;
@@ -7,7 +7,7 @@ export type InputLabelProps = VueToJSXProps<UIProps>;
7
7
  * @param props Component props.
8
8
  * @return Vue element.
9
9
  */
10
- declare const InputLabel: import('vue').DefineSetupFnComponent<InputLabelProps, {}, {}, Omit<UIProps, "className" | "children" | "ref"> & {
10
+ declare const InputLabel: import('vue').DefineSetupFnComponent<InputLabelProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
11
  class?: string;
12
12
  } & {}, import('vue').PublicProps>;
13
13
  export default InputLabel;
@@ -14,7 +14,7 @@ export interface MessageEmits {
14
14
  * @param props Component props.
15
15
  * @return Vue element.
16
16
  */
17
- declare const Message: import('vue').DefineSetupFnComponent<MessageProps, "close"[], {}, Omit<Omit<UIProps, "closeButtonProps">, "className" | "children" | "ref"> & {
17
+ declare const Message: import('vue').DefineSetupFnComponent<MessageProps, "close"[], {}, Omit<Omit<UIProps, "closeButtonProps">, "className" | "children" | "ref" | "onChange" | "onClick"> & {
18
18
  class?: string;
19
19
  } & {
20
20
  /** label to be used for the close button */
@@ -0,0 +1,13 @@
1
+ import { TextProps } from '@lumx/core/js/components/Text';
2
+ import { VueToJSXProps } from '../../utils/VueToJSX';
3
+ export type TextVueProps = VueToJSXProps<TextProps>;
4
+ /**
5
+ * Text component.
6
+ *
7
+ * @param props Component props.
8
+ * @return Vue element.
9
+ */
10
+ declare const Text: import('vue').DefineSetupFnComponent<TextVueProps, {}, {}, Omit<TextProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
+ class?: string;
12
+ } & {}, import('vue').PublicProps>;
13
+ export default Text;
@@ -1,4 +1,4 @@
1
1
  import { TextProps } from '@lumx/core/js/components/Text';
2
- import { default as Text } from './Text.vue';
2
+ import { default as Text } from './Text';
3
3
  export { Text };
4
4
  export type { TextProps };