@lumx/react 4.16.0-alpha.5 → 4.16.0-alpha.7
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/index.d.ts +5 -5
- package/index.js +194 -315
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -815,7 +815,7 @@ interface ButtonProps extends GenericProps$1, ReactToJSX<ButtonProps$1> {
|
|
|
815
815
|
* @param ref Component ref.
|
|
816
816
|
* @return React element.
|
|
817
817
|
*/
|
|
818
|
-
declare const Button: Comp<ButtonProps,
|
|
818
|
+
declare const Button: Comp<ButtonProps, HTMLButtonElement | HTMLAnchorElement>;
|
|
819
819
|
|
|
820
820
|
interface IconButtonProps$1 extends BaseButtonProps {
|
|
821
821
|
/**
|
|
@@ -2167,7 +2167,7 @@ declare const Combobox: {
|
|
|
2167
2167
|
/** Provides shared combobox context (handle, listbox ID, anchor ref) to all sub-components. */
|
|
2168
2168
|
Provider: typeof ComboboxProvider;
|
|
2169
2169
|
/** Button trigger for select-only combobox mode with keyboard navigation and typeahead. */
|
|
2170
|
-
Button: (<E extends React$1.ElementType = Comp<ButtonProps,
|
|
2170
|
+
Button: (<E extends React$1.ElementType = Comp<ButtonProps, HTMLButtonElement | HTMLAnchorElement>>(props: Omit<HasPolymorphicAs$1<E>, "children" | "aria-expanded" | "aria-haspopup" | "role" | "aria-controls" | "aria-activedescendant"> & _lumx_core_js_types.HasRequiredLinkHref<E> & ReactToJSX<ComboboxButtonProps$1> & React$1.ComponentProps<E> & {
|
|
2171
2171
|
ref?: ComponentRef<E> | undefined;
|
|
2172
2172
|
}) => React.JSX.Element) & {
|
|
2173
2173
|
displayName: string;
|
|
@@ -2692,7 +2692,7 @@ declare const GenericBlockGapSize: Pick<{
|
|
|
2692
2692
|
readonly medium: "medium";
|
|
2693
2693
|
readonly big: "big";
|
|
2694
2694
|
readonly huge: "huge";
|
|
2695
|
-
}, "big" | "
|
|
2695
|
+
}, "big" | "medium" | "tiny" | "regular" | "huge">;
|
|
2696
2696
|
type GenericBlockGapSize = ValueOf<typeof GenericBlockGapSize>;
|
|
2697
2697
|
|
|
2698
2698
|
interface GenericBlockProps$1 extends FlexBoxProps$1 {
|
|
@@ -2922,7 +2922,7 @@ interface GridColumnProps extends GenericProps$1, ReactToJSX<GridColumnProps$1>
|
|
|
2922
2922
|
*/
|
|
2923
2923
|
declare const GridColumn: Comp<GridColumnProps, HTMLElement>;
|
|
2924
2924
|
|
|
2925
|
-
declare const ICON_SIZES: ("
|
|
2925
|
+
declare const ICON_SIZES: ("m" | "s" | "xxs" | "xs" | "l" | "xl" | "xxl")[];
|
|
2926
2926
|
|
|
2927
2927
|
type IconSizes = (typeof ICON_SIZES)[number];
|
|
2928
2928
|
/**
|
|
@@ -3423,7 +3423,7 @@ interface LinkProps extends GenericProps$1, ReactToJSX<LinkProps$1> {
|
|
|
3423
3423
|
* @param ref Component ref.
|
|
3424
3424
|
* @return React element.
|
|
3425
3425
|
*/
|
|
3426
|
-
declare const Link: Comp<LinkProps,
|
|
3426
|
+
declare const Link: Comp<LinkProps, HTMLButtonElement | HTMLAnchorElement>;
|
|
3427
3427
|
|
|
3428
3428
|
/**
|
|
3429
3429
|
* Defines the props of the component.
|