@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.
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- > @lets-events/react@12.11.0 build
3
+ > @lets-events/react@12.11.2 build
4
4
  > tsup src/index.tsx --format esm,cjs --dts --external react
5
5
 
6
6
  CLI Building entry: src/index.tsx
@@ -10,12 +10,12 @@
10
10
  CLI Target: es6
11
11
  ESM Build start
12
12
  CJS Build start
13
- CJS dist/index.js 436.07 KB
14
- CJS ⚡️ Build success in 515ms
15
- ESM dist/index.mjs 420.00 KB
16
- ESM ⚡️ Build success in 517ms
13
+ CJS dist/index.js 438.04 KB
14
+ CJS ⚡️ Build success in 304ms
15
+ ESM dist/index.mjs 421.97 KB
16
+ ESM ⚡️ Build success in 306ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 9810ms
19
- DTS dist/index.d.mts 411.04 KB
20
- DTS dist/index.d.ts 411.04 KB
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
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 12.11.2
4
+
5
+ ### Patch Changes
6
+
7
+ - modal title typograph
8
+
9
+ ## 12.11.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Modal title, tooltip mobile
14
+
3
15
  ## 12.11.0
4
16
 
5
17
  ### Minor Changes
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;