@lumx/react 4.22.0-next.1 → 4.22.0
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/package.json +3 -4
package/index.d.ts
CHANGED
|
@@ -802,7 +802,7 @@ interface ButtonProps extends GenericProps$1, ReactToJSX<ButtonProps$1> {
|
|
|
802
802
|
* @param ref Component ref.
|
|
803
803
|
* @return React element.
|
|
804
804
|
*/
|
|
805
|
-
declare const Button: Comp<ButtonProps,
|
|
805
|
+
declare const Button: Comp<ButtonProps, HTMLAnchorElement | HTMLButtonElement>;
|
|
806
806
|
|
|
807
807
|
interface IconButtonProps$1 extends BaseButtonProps {
|
|
808
808
|
/**
|
|
@@ -2262,7 +2262,7 @@ declare const Combobox: {
|
|
|
2262
2262
|
/** Provides shared combobox context (handle, listbox ID, anchor ref) to all sub-components. */
|
|
2263
2263
|
Provider: typeof ComboboxProvider;
|
|
2264
2264
|
/** Button trigger for select-only combobox mode with keyboard navigation and typeahead. */
|
|
2265
|
-
Button: (<E extends React$1.ElementType = Comp<ButtonProps,
|
|
2265
|
+
Button: (<E extends React$1.ElementType = Comp<ButtonProps, HTMLAnchorElement | HTMLButtonElement>>(props: Omit<HasPolymorphicAs$1<E>, "children" | "role" | "aria-activedescendant" | "aria-controls" | "aria-expanded" | "aria-haspopup"> & _lumx_core_js_types.HasRequiredLinkHref<E> & ReactToJSX<ComboboxButtonProps$1> & React$1.ComponentProps<E> & {
|
|
2266
2266
|
ref?: ComponentRef<E> | undefined;
|
|
2267
2267
|
}) => React.JSX.Element) & {
|
|
2268
2268
|
displayName: string;
|
|
@@ -2838,7 +2838,7 @@ declare const GenericBlockGapSize: Pick<{
|
|
|
2838
2838
|
readonly medium: "medium";
|
|
2839
2839
|
readonly big: "big";
|
|
2840
2840
|
readonly huge: "huge";
|
|
2841
|
-
}, "big" | "
|
|
2841
|
+
}, "big" | "tiny" | "medium" | "regular" | "huge">;
|
|
2842
2842
|
type GenericBlockGapSize = ValueOf<typeof GenericBlockGapSize>;
|
|
2843
2843
|
|
|
2844
2844
|
interface GenericBlockProps$1 extends FlexBoxProps$1 {
|
|
@@ -3033,7 +3033,7 @@ interface GridColumnProps extends GenericProps$1, ReactToJSX<GridColumnProps$1>
|
|
|
3033
3033
|
*/
|
|
3034
3034
|
declare const GridColumn: Comp<GridColumnProps, HTMLElement>;
|
|
3035
3035
|
|
|
3036
|
-
declare const ICON_SIZES: ("
|
|
3036
|
+
declare const ICON_SIZES: ("s" | "m" | "xxs" | "xs" | "l" | "xl" | "xxl")[];
|
|
3037
3037
|
|
|
3038
3038
|
type IconSizes = (typeof ICON_SIZES)[number];
|
|
3039
3039
|
/**
|
|
@@ -3537,7 +3537,7 @@ interface LinkProps extends GenericProps$1, ReactToJSX<LinkProps$1> {
|
|
|
3537
3537
|
* @param ref Component ref.
|
|
3538
3538
|
* @return React element.
|
|
3539
3539
|
*/
|
|
3540
|
-
declare const Link: Comp<LinkProps,
|
|
3540
|
+
declare const Link: Comp<LinkProps, HTMLAnchorElement | HTMLButtonElement>;
|
|
3541
3541
|
|
|
3542
3542
|
/**
|
|
3543
3543
|
* Defines the props of the component.
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@floating-ui/react-dom": "^2.1.7",
|
|
10
|
-
"@lumx/core": "^4.22.0
|
|
11
|
-
"@lumx/icons": "^4.22.0
|
|
10
|
+
"@lumx/core": "^4.22.0",
|
|
11
|
+
"@lumx/icons": "^4.22.0",
|
|
12
12
|
"body-scroll-lock": "^3.1.5"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
@@ -99,6 +99,5 @@
|
|
|
99
99
|
"build:storybook": "storybook build"
|
|
100
100
|
},
|
|
101
101
|
"sideEffects": false,
|
|
102
|
-
"version": "4.22.0
|
|
103
|
-
"stableVersion": "4.21.0"
|
|
102
|
+
"version": "4.22.0"
|
|
104
103
|
}
|