@lumx/react 4.18.0-next.3 → 4.18.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
|
@@ -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
|
/**
|
|
@@ -2210,7 +2210,7 @@ declare const Combobox: {
|
|
|
2210
2210
|
/** Provides shared combobox context (handle, listbox ID, anchor ref) to all sub-components. */
|
|
2211
2211
|
Provider: typeof ComboboxProvider;
|
|
2212
2212
|
/** Button trigger for select-only combobox mode with keyboard navigation and typeahead. */
|
|
2213
|
-
Button: (<E extends React$1.ElementType = Comp<ButtonProps,
|
|
2213
|
+
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> & {
|
|
2214
2214
|
ref?: ComponentRef<E> | undefined;
|
|
2215
2215
|
}) => React.JSX.Element) & {
|
|
2216
2216
|
displayName: string;
|
|
@@ -2736,7 +2736,7 @@ declare const GenericBlockGapSize: Pick<{
|
|
|
2736
2736
|
readonly medium: "medium";
|
|
2737
2737
|
readonly big: "big";
|
|
2738
2738
|
readonly huge: "huge";
|
|
2739
|
-
}, "big" | "
|
|
2739
|
+
}, "big" | "medium" | "tiny" | "regular" | "huge">;
|
|
2740
2740
|
type GenericBlockGapSize = ValueOf<typeof GenericBlockGapSize>;
|
|
2741
2741
|
|
|
2742
2742
|
interface GenericBlockProps$1 extends FlexBoxProps$1 {
|
|
@@ -2966,7 +2966,7 @@ interface GridColumnProps extends GenericProps$1, ReactToJSX<GridColumnProps$1>
|
|
|
2966
2966
|
*/
|
|
2967
2967
|
declare const GridColumn: Comp<GridColumnProps, HTMLElement>;
|
|
2968
2968
|
|
|
2969
|
-
declare const ICON_SIZES: ("
|
|
2969
|
+
declare const ICON_SIZES: ("m" | "s" | "xxs" | "xs" | "l" | "xl" | "xxl")[];
|
|
2970
2970
|
|
|
2971
2971
|
type IconSizes = (typeof ICON_SIZES)[number];
|
|
2972
2972
|
/**
|
|
@@ -3467,7 +3467,7 @@ interface LinkProps extends GenericProps$1, ReactToJSX<LinkProps$1> {
|
|
|
3467
3467
|
* @param ref Component ref.
|
|
3468
3468
|
* @return React element.
|
|
3469
3469
|
*/
|
|
3470
|
-
declare const Link: Comp<LinkProps,
|
|
3470
|
+
declare const Link: Comp<LinkProps, HTMLButtonElement | HTMLAnchorElement>;
|
|
3471
3471
|
|
|
3472
3472
|
/**
|
|
3473
3473
|
* 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.18.0
|
|
11
|
-
"@lumx/icons": "^4.18.0
|
|
10
|
+
"@lumx/core": "^4.18.0",
|
|
11
|
+
"@lumx/icons": "^4.18.0",
|
|
12
12
|
"body-scroll-lock": "^3.1.5"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
@@ -97,6 +97,5 @@
|
|
|
97
97
|
"build:storybook": "storybook build"
|
|
98
98
|
},
|
|
99
99
|
"sideEffects": false,
|
|
100
|
-
"version": "4.18.0
|
|
101
|
-
"stableVersion": "4.17.0"
|
|
100
|
+
"version": "4.18.0"
|
|
102
101
|
}
|