@lumx/vue 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.
Files changed (33) hide show
  1. package/components/button/Button.vue.d.ts +10 -0
  2. package/components/button/ButtonGroup.vue.d.ts +18 -0
  3. package/components/button/IconButton.vue.d.ts +10 -0
  4. package/components/button/index.d.ts +4 -3
  5. package/components/flag/Flag.vue.d.ts +18 -0
  6. package/components/flag/index.d.ts +1 -1
  7. package/components/flex-box/FlexBox.vue.d.ts +18 -0
  8. package/components/flex-box/index.d.ts +2 -2
  9. package/components/flex-box/types.d.ts +5 -0
  10. package/components/heading/Heading.vue.d.ts +18 -0
  11. package/components/heading/HeadingLevelProvider.vue.d.ts +21 -0
  12. package/components/heading/index.d.ts +2 -2
  13. package/components/icon/Icon.vue.d.ts +3 -0
  14. package/components/icon/index.d.ts +1 -1
  15. package/components/input-helper/InputHelper.d.ts +1 -1
  16. package/components/input-label/InputLabel.d.ts +1 -1
  17. package/components/message/Message.d.ts +1 -1
  18. package/components/text/Text.vue.d.ts +5 -0
  19. package/components/text/index.d.ts +1 -1
  20. package/composables/useDisableStateProps.d.ts +4 -5
  21. package/index.js +1155 -1089
  22. package/index.js.map +1 -1
  23. package/package.json +3 -3
  24. package/utils/VueToJSXProps.d.ts +1 -1
  25. package/components/button/Button.d.ts +0 -21
  26. package/components/button/ButtonGroup.d.ts +0 -13
  27. package/components/button/IconButton.d.ts +0 -20
  28. package/components/flag/Flag.d.ts +0 -13
  29. package/components/flex-box/FlexBox.d.ts +0 -20
  30. package/components/heading/Heading.d.ts +0 -13
  31. package/components/heading/HeadingLevelProvider.d.ts +0 -12
  32. package/components/icon/Icon.d.ts +0 -13
  33. package/components/text/Text.d.ts +0 -13
package/package.json CHANGED
@@ -20,10 +20,10 @@
20
20
  "main": "index.js",
21
21
  "types": "index.d.ts",
22
22
  "sideEffects": false,
23
- "version": "4.2.1-alpha.13",
23
+ "version": "4.2.1-alpha.14",
24
24
  "dependencies": {
25
- "@lumx/core": "^4.2.1-alpha.13",
26
- "@lumx/icons": "^4.2.1-alpha.13",
25
+ "@lumx/core": "^4.2.1-alpha.14",
26
+ "@lumx/icons": "^4.2.1-alpha.14",
27
27
  "@vueuse/core": "^14.1.0"
28
28
  },
29
29
  "peerDependencies": {
@@ -5,7 +5,7 @@
5
5
  * @template Props - The base props type
6
6
  * @template OmitProps - Additional props to omit beyond the defaults (children, className, ref)
7
7
  */
8
- export type VueToJSXProps<Props, OmitProps extends keyof Props = never> = Omit<Props, 'children' | 'className' | 'ref' | 'onClick' | 'onChange' | OmitProps> & {
8
+ export type VueToJSXProps<Props, OmitProps extends keyof Props = never> = Omit<Props, 'children' | 'className' | 'ref' | OmitProps> & {
9
9
  /** Class name forwarded to the root element of the component. */
10
10
  class?: string;
11
11
  };
@@ -1,21 +0,0 @@
1
- import { ButtonProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS } from '@lumx/core/js/components/Button/Button';
2
- import { VueToJSXProps } from '../../utils/VueToJSX';
3
- export type ButtonProps = VueToJSXProps<UIProps>;
4
- export declare const emitSchema: {
5
- click: (event: MouseEvent) => boolean;
6
- };
7
- export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
8
- /**
9
- * Button component.
10
- *
11
- * @param props Component props.
12
- * @return Vue element.
13
- */
14
- declare const Button: import('vue').DefineSetupFnComponent<ButtonProps, {
15
- click: (event: MouseEvent) => boolean;
16
- }, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
17
- class?: string;
18
- } & {
19
- onClick?: ((event: MouseEvent) => any) | undefined;
20
- }, import('vue').PublicProps>;
21
- export default Button;
@@ -1,13 +0,0 @@
1
- import { ButtonGroupProps as UIProps } from '@lumx/core/js/components/Button/ButtonGroup';
2
- import { VueToJSXProps } from '../../utils/VueToJSX';
3
- export type ButtonGroupProps = VueToJSXProps<UIProps>;
4
- /**
5
- * ButtonGroup component.
6
- *
7
- * @param props Component props.
8
- * @return Vue element.
9
- */
10
- declare const ButtonGroup: import('vue').DefineSetupFnComponent<ButtonGroupProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
- class?: string;
12
- } & {}, import('vue').PublicProps>;
13
- export default ButtonGroup;
@@ -1,20 +0,0 @@
1
- import { IconButtonProps as UIProps } from '@lumx/core/js/components/Button/IconButton';
2
- import { VueToJSXProps } from '../../utils/VueToJSX';
3
- export type IconButtonProps = VueToJSXProps<UIProps>;
4
- export declare const emitSchema: {
5
- click: (event: MouseEvent) => boolean;
6
- };
7
- /**
8
- * IconButton component.
9
- *
10
- * @param props Component props.
11
- * @return Vue element.
12
- */
13
- declare const IconButton: import('vue').DefineSetupFnComponent<IconButtonProps, {
14
- click: (event: MouseEvent) => boolean;
15
- }, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
16
- class?: string;
17
- } & {
18
- onClick?: ((event: MouseEvent) => any) | undefined;
19
- }, import('vue').PublicProps>;
20
- export default IconButton;
@@ -1,13 +0,0 @@
1
- import { FlagProps as UIProps } from '@lumx/core/js/components/Flag';
2
- import { VueToJSXProps } from '../../utils/VueToJSX';
3
- export type FlagProps = VueToJSXProps<UIProps, 'Text'>;
4
- /**
5
- * Flag component.
6
- *
7
- * @param props Component props.
8
- * @return Vue element.
9
- */
10
- declare const Flag: import('vue').DefineSetupFnComponent<FlagProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick" | "Text"> & {
11
- class?: string;
12
- } & {}, import('vue').PublicProps>;
13
- export default Flag;
@@ -1,20 +0,0 @@
1
- import { FlexBoxProps as UIProps, CLASSNAME, COMPONENT_NAME } from '@lumx/core/js/components/FlexBox';
2
- import { VueToJSXProps } from '../../utils/VueToJSX';
3
- export type FlexBoxProps = VueToJSXProps<UIProps> & {
4
- /** Customize the root element. */
5
- as?: string;
6
- };
7
- export { CLASSNAME, COMPONENT_NAME };
8
- /**
9
- * FlexBox component.
10
- *
11
- * @param props Component props.
12
- * @return Vue element.
13
- */
14
- declare const FlexBox: import('vue').DefineSetupFnComponent<FlexBoxProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
15
- class?: string;
16
- } & {
17
- /** Customize the root element. */
18
- as?: string;
19
- } & {}, import('vue').PublicProps>;
20
- export default FlexBox;
@@ -1,13 +0,0 @@
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;
@@ -1,12 +0,0 @@
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,13 +0,0 @@
1
- import { IconProps as UIProps } from '@lumx/core/js/components/Icon';
2
- import { VueToJSXProps } from '../../utils/VueToJSX';
3
- export type IconProps = VueToJSXProps<UIProps>;
4
- /**
5
- * Icon component.
6
- *
7
- * @param props Component props.
8
- * @return Vue element.
9
- */
10
- declare const Icon: import('vue').DefineSetupFnComponent<IconProps, {}, {}, Omit<UIProps, "className" | "children" | "ref" | "onChange" | "onClick"> & {
11
- class?: string;
12
- } & {}, import('vue').PublicProps>;
13
- export default Icon;
@@ -1,13 +0,0 @@
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;