@lets-events/react 12.11.0 → 12.11.2
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +151 -85
- package/dist/index.mjs +151 -85
- package/package.json +1 -1
- package/src/components/Modal.tsx +7 -2
- package/src/components/MultiSelect/index.tsx +1 -0
- package/src/components/Tooltip/index.tsx +62 -9
- package/src/hooks/useHasHover.ts +21 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @lets-events/react@12.11.
|
|
3
|
+
> @lets-events/react@12.11.2 build
|
|
4
4
|
> tsup src/index.tsx --format esm,cjs --dts --external react
|
|
5
5
|
|
|
6
6
|
[1G[0K[34mCLI[39m Building entry: src/index.tsx
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
[34mCLI[39m Target: es6
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
-
[32mESM[39m [1mdist/index.mjs [22m[
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m438.04 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 304ms
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m421.97 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 306ms
|
|
17
17
|
DTS Build start
|
|
18
|
-
DTS ⚡️ Build success in
|
|
19
|
-
DTS dist/index.d.mts 411.
|
|
20
|
-
DTS dist/index.d.ts 411.
|
|
18
|
+
DTS ⚡️ Build success in 6512ms
|
|
19
|
+
DTS dist/index.d.mts 411.19 KB
|
|
20
|
+
DTS dist/index.d.ts 411.19 KB
|
|
21
21
|
[1G[0K⠙[1G[0K
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -929,13 +929,13 @@ declare const TextStyle: _stitches_react_types_styled_component.StyledComponent<
|
|
|
929
929
|
transition: "transitions";
|
|
930
930
|
zIndex: "zIndices";
|
|
931
931
|
}, {}>>;
|
|
932
|
-
type Typography = keyof typeof typographyValues;
|
|
932
|
+
type Typography$1 = keyof typeof typographyValues;
|
|
933
933
|
type FontWeight = "regular" | "medium" | "semibold" | "bold";
|
|
934
934
|
type TextProps = {
|
|
935
935
|
as?: ElementType;
|
|
936
936
|
asChild?: boolean;
|
|
937
937
|
color?: keyof Colors;
|
|
938
|
-
typography?: Typography;
|
|
938
|
+
typography?: Typography$1;
|
|
939
939
|
fontWeight?: FontWeight;
|
|
940
940
|
children?: ReactNode;
|
|
941
941
|
id?: string;
|
|
@@ -4495,6 +4495,7 @@ type BadgeProps = {
|
|
|
4495
4495
|
};
|
|
4496
4496
|
declare function Badge({ asChild, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
4497
4497
|
|
|
4498
|
+
type Typography = keyof typeof typographyValues;
|
|
4498
4499
|
type ModalProps = ComponentProps<typeof Dialog.Root> & {
|
|
4499
4500
|
trigger?: React.ReactNode;
|
|
4500
4501
|
title?: string;
|
|
@@ -4505,8 +4506,9 @@ type ModalProps = ComponentProps<typeof Dialog.Root> & {
|
|
|
4505
4506
|
height?: string;
|
|
4506
4507
|
preventAutoFocus?: boolean;
|
|
4507
4508
|
fitContent?: boolean;
|
|
4509
|
+
titleTypography?: Typography;
|
|
4508
4510
|
};
|
|
4509
|
-
declare function Modal({ children, title, trigger, zIndex, maxWidth, maxHeight, height, preventAutoFocus, fitContent, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
4511
|
+
declare function Modal({ children, title, trigger, zIndex, maxWidth, maxHeight, height, preventAutoFocus, fitContent, titleTypography, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
4510
4512
|
|
|
4511
4513
|
type MenuDropdownProps = HTMLAttributes<HTMLDivElement> & {
|
|
4512
4514
|
children: ReactNode;
|
|
@@ -12952,8 +12954,9 @@ interface TooltipProps {
|
|
|
12952
12954
|
content: react.ReactNode;
|
|
12953
12955
|
delayDuration?: number;
|
|
12954
12956
|
side?: "top" | "right" | "bottom" | "left";
|
|
12957
|
+
supportMobileTap?: boolean;
|
|
12955
12958
|
}
|
|
12956
|
-
declare function Tooltip({ children, content, delayDuration, side, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
12959
|
+
declare function Tooltip({ children, content, delayDuration, side, supportMobileTap, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
12957
12960
|
|
|
12958
12961
|
declare const FlexStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.FlexProps & react.RefAttributes<HTMLDivElement>>, {
|
|
12959
12962
|
display?: "flex" | "inline-flex" | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -929,13 +929,13 @@ declare const TextStyle: _stitches_react_types_styled_component.StyledComponent<
|
|
|
929
929
|
transition: "transitions";
|
|
930
930
|
zIndex: "zIndices";
|
|
931
931
|
}, {}>>;
|
|
932
|
-
type Typography = keyof typeof typographyValues;
|
|
932
|
+
type Typography$1 = keyof typeof typographyValues;
|
|
933
933
|
type FontWeight = "regular" | "medium" | "semibold" | "bold";
|
|
934
934
|
type TextProps = {
|
|
935
935
|
as?: ElementType;
|
|
936
936
|
asChild?: boolean;
|
|
937
937
|
color?: keyof Colors;
|
|
938
|
-
typography?: Typography;
|
|
938
|
+
typography?: Typography$1;
|
|
939
939
|
fontWeight?: FontWeight;
|
|
940
940
|
children?: ReactNode;
|
|
941
941
|
id?: string;
|
|
@@ -4495,6 +4495,7 @@ type BadgeProps = {
|
|
|
4495
4495
|
};
|
|
4496
4496
|
declare function Badge({ asChild, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
4497
4497
|
|
|
4498
|
+
type Typography = keyof typeof typographyValues;
|
|
4498
4499
|
type ModalProps = ComponentProps<typeof Dialog.Root> & {
|
|
4499
4500
|
trigger?: React.ReactNode;
|
|
4500
4501
|
title?: string;
|
|
@@ -4505,8 +4506,9 @@ type ModalProps = ComponentProps<typeof Dialog.Root> & {
|
|
|
4505
4506
|
height?: string;
|
|
4506
4507
|
preventAutoFocus?: boolean;
|
|
4507
4508
|
fitContent?: boolean;
|
|
4509
|
+
titleTypography?: Typography;
|
|
4508
4510
|
};
|
|
4509
|
-
declare function Modal({ children, title, trigger, zIndex, maxWidth, maxHeight, height, preventAutoFocus, fitContent, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
4511
|
+
declare function Modal({ children, title, trigger, zIndex, maxWidth, maxHeight, height, preventAutoFocus, fitContent, titleTypography, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
4510
4512
|
|
|
4511
4513
|
type MenuDropdownProps = HTMLAttributes<HTMLDivElement> & {
|
|
4512
4514
|
children: ReactNode;
|
|
@@ -12952,8 +12954,9 @@ interface TooltipProps {
|
|
|
12952
12954
|
content: react.ReactNode;
|
|
12953
12955
|
delayDuration?: number;
|
|
12954
12956
|
side?: "top" | "right" | "bottom" | "left";
|
|
12957
|
+
supportMobileTap?: boolean;
|
|
12955
12958
|
}
|
|
12956
|
-
declare function Tooltip({ children, content, delayDuration, side, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
12959
|
+
declare function Tooltip({ children, content, delayDuration, side, supportMobileTap, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
12957
12960
|
|
|
12958
12961
|
declare const FlexStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.FlexProps & react.RefAttributes<HTMLDivElement>>, {
|
|
12959
12962
|
display?: "flex" | "inline-flex" | undefined;
|