@lssm/lib.ui-kit 0.0.0-canary-20251217060433 → 0.0.0-canary-20251217060834

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.
Files changed (103) hide show
  1. package/dist/ui/accordion.js +1 -1
  2. package/dist/ui/alert-dialog.d.ts +2 -2
  3. package/dist/ui/alert-dialog.js +1 -1
  4. package/dist/ui/alert.js +1 -1
  5. package/dist/ui/aspect-ratio.d.ts +5 -5
  6. package/dist/ui/avatar.d.ts +4 -4
  7. package/dist/ui/avatar.js +1 -1
  8. package/dist/ui/badge.d.ts +2 -2
  9. package/dist/ui/badge.js +1 -1
  10. package/dist/ui/breadcrumb.d.ts +8 -8
  11. package/dist/ui/breadcrumb.js +1 -1
  12. package/dist/ui/button.d.ts +2 -2
  13. package/dist/ui/button.js +1 -1
  14. package/dist/ui/card.d.ts +7 -7
  15. package/dist/ui/card.js +1 -1
  16. package/dist/ui/checkbox.js +1 -1
  17. package/dist/ui/collapsible.d.ts +8 -8
  18. package/dist/ui/context-menu.d.ts +16 -16
  19. package/dist/ui/context-menu.js +1 -1
  20. package/dist/ui/date-picker.d.ts +2 -2
  21. package/dist/ui/date-picker.js +1 -1
  22. package/dist/ui/date-range-picker.d.ts +2 -2
  23. package/dist/ui/date-range-picker.js +1 -1
  24. package/dist/ui/datetime-picker.d.ts +2 -2
  25. package/dist/ui/dialog.d.ts +10 -10
  26. package/dist/ui/dialog.js +1 -1
  27. package/dist/ui/dropdown-menu.d.ts +16 -16
  28. package/dist/ui/dropdown-menu.js +1 -1
  29. package/dist/ui/empty-state.d.ts +4 -4
  30. package/dist/ui/empty-state.js +1 -1
  31. package/dist/ui/empty.d.ts +9 -9
  32. package/dist/ui/empty.js +1 -1
  33. package/dist/ui/fab.d.ts +3 -3
  34. package/dist/ui/fab.js +1 -1
  35. package/dist/ui/field.d.ts +14 -14
  36. package/dist/ui/field.js +1 -1
  37. package/dist/ui/form.d.ts +7 -7
  38. package/dist/ui/form.js +1 -1
  39. package/dist/ui/hover-card.d.ts +6 -6
  40. package/dist/ui/hover-card.js +1 -1
  41. package/dist/ui/input.d.ts +2 -2
  42. package/dist/ui/input.js +1 -1
  43. package/dist/ui/label.d.ts +2 -2
  44. package/dist/ui/label.js +1 -1
  45. package/dist/ui/link.d.ts +2 -2
  46. package/dist/ui/link.js +1 -1
  47. package/dist/ui/loading-button.d.ts +2 -2
  48. package/dist/ui/loading-overlay.d.ts +2 -2
  49. package/dist/ui/loading-screen.d.ts +2 -2
  50. package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
  51. package/dist/ui/marketing/Hero.d.ts +2 -2
  52. package/dist/ui/marketing/PricingTable.d.ts +2 -2
  53. package/dist/ui/menubar.d.ts +17 -17
  54. package/dist/ui/menubar.js +1 -1
  55. package/dist/ui/molecules/SkeletonList.d.ts +2 -2
  56. package/dist/ui/navigation-menu.d.ts +12 -12
  57. package/dist/ui/navigation-menu.js +1 -1
  58. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
  59. package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
  60. package/dist/ui/organisms/ListPage/ListPage.js +1 -1
  61. package/dist/ui/page-header.d.ts +4 -4
  62. package/dist/ui/page-header.js +1 -1
  63. package/dist/ui/password-strength.d.ts +2 -2
  64. package/dist/ui/popover.d.ts +6 -6
  65. package/dist/ui/popover.js +1 -1
  66. package/dist/ui/progress.d.ts +2 -2
  67. package/dist/ui/progress.js +1 -1
  68. package/dist/ui/radio-group.d.ts +3 -3
  69. package/dist/ui/radio-group.js +1 -1
  70. package/dist/ui/select.d.ts +13 -13
  71. package/dist/ui/select.js +1 -1
  72. package/dist/ui/separator.d.ts +2 -2
  73. package/dist/ui/separator.js +1 -1
  74. package/dist/ui/skeleton.d.ts +2 -2
  75. package/dist/ui/skeleton.js +1 -1
  76. package/dist/ui/stack.d.ts +8 -8
  77. package/dist/ui/stack.js +1 -1
  78. package/dist/ui/stepper.d.ts +4 -4
  79. package/dist/ui/stepper.js +1 -1
  80. package/dist/ui/switch.d.ts +2 -2
  81. package/dist/ui/switch.js +1 -1
  82. package/dist/ui/table.d.ts +8 -8
  83. package/dist/ui/table.js +1 -1
  84. package/dist/ui/tabs.d.ts +9 -9
  85. package/dist/ui/tabs.js +1 -1
  86. package/dist/ui/text.d.ts +2 -2
  87. package/dist/ui/text.js +1 -1
  88. package/dist/ui/textarea.js +1 -1
  89. package/dist/ui/time-picker.d.ts +2 -2
  90. package/dist/ui/time-picker.js +1 -1
  91. package/dist/ui/toggle-group.d.ts +4 -4
  92. package/dist/ui/toggle-group.js +1 -1
  93. package/dist/ui/toggle.d.ts +6 -6
  94. package/dist/ui/toggle.js +1 -1
  95. package/dist/ui/tooltip.d.ts +6 -6
  96. package/dist/ui/tooltip.js +1 -1
  97. package/dist/ui/typography.d.ts +12 -12
  98. package/dist/ui/typography.js +1 -1
  99. package/dist/ui/useColorScheme.d.ts +2 -2
  100. package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
  101. package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
  102. package/package.json +3 -3
  103. package/dist/-core/src/utils.js +0 -10
@@ -1,10 +1,10 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "../-core/src/utils.js";
3
2
  import { TextClassContext } from "./text.js";
4
3
  import * as AccordionPrimitive from "@rn-primitives/accordion";
5
4
  import "react";
6
5
  import { Platform, Pressable, View } from "react-native";
7
6
  import Animated, { Extrapolation, FadeIn, FadeOutUp, LayoutAnimationConfig, LinearTransition, interpolate, useAnimatedStyle, useDerivedValue, withTiming } from "react-native-reanimated";
7
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
 
10
10
  //#region ui/accordion.tsx
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native1 from "react-native";
2
+ import * as react_native6 from "react-native";
3
3
  import { View, ViewProps } from "react-native";
4
4
  import * as react_jsx_runtime3 from "react/jsx-runtime";
5
5
  import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
@@ -12,7 +12,7 @@ declare const AlertDialog: React$1.ForwardRefExoticComponent<{
12
12
  } & ViewProps & {
13
13
  asChild?: boolean;
14
14
  } & React$1.RefAttributes<View>>;
15
- declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native1.PressableProps & React$1.RefAttributes<View>, "ref"> & {
15
+ declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native6.PressableProps & React$1.RefAttributes<View>, "ref"> & {
16
16
  asChild?: boolean;
17
17
  } & {
18
18
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
@@ -1,9 +1,9 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { TextClassContext } from "./text.js";
3
2
  import { buttonTextVariants, buttonVariants } from "./button.js";
4
3
  import "react";
5
4
  import { Platform, View } from "react-native";
6
5
  import Animated, { FadeIn, FadeOut } from "react-native-reanimated";
6
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
9
9
 
package/dist/ui/alert.js CHANGED
@@ -1,7 +1,7 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { Text as Text$1 } from "./text.js";
3
2
  import "react";
4
3
  import { View } from "react-native";
4
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { cva } from "class-variance-authority";
7
7
  import { useTheme } from "@react-navigation/native";
@@ -1,11 +1,11 @@
1
- import * as react0 from "react";
2
- import * as react_native0 from "react-native";
1
+ import * as react6 from "react";
2
+ import * as react_native7 from "react-native";
3
3
  import * as _rn_primitives_types0 from "@rn-primitives/types";
4
4
 
5
5
  //#region ui/aspect-ratio.d.ts
6
- declare const AspectRatio: react0.ForwardRefExoticComponent<Omit<_rn_primitives_types0.SlottableViewProps, "style"> & {
6
+ declare const AspectRatio: react6.ForwardRefExoticComponent<Omit<_rn_primitives_types0.SlottableViewProps, "style"> & {
7
7
  ratio?: number;
8
- style?: react_native0.ViewStyle;
9
- } & react0.RefAttributes<react_native0.View>>;
8
+ style?: react_native7.ViewStyle;
9
+ } & react6.RefAttributes<react_native7.View>>;
10
10
  //#endregion
11
11
  export { AspectRatio };
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime69 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
3
3
  import * as AvatarPrimitive from "@rn-primitives/avatar";
4
4
 
5
5
  //#region ui/avatar.d.ts
@@ -8,7 +8,7 @@ declare function Avatar({
8
8
  ...props
9
9
  }: AvatarPrimitive.RootProps & {
10
10
  ref?: React$1.RefObject<AvatarPrimitive.RootRef>;
11
- }): react_jsx_runtime69.JSX.Element;
11
+ }): react_jsx_runtime14.JSX.Element;
12
12
  declare function AvatarImage({
13
13
  className,
14
14
  alt,
@@ -16,12 +16,12 @@ declare function AvatarImage({
16
16
  }: AvatarPrimitive.ImageProps & {
17
17
  ref?: React$1.RefObject<AvatarPrimitive.ImageRef>;
18
18
  alt?: string;
19
- }): react_jsx_runtime69.JSX.Element;
19
+ }): react_jsx_runtime14.JSX.Element;
20
20
  declare function AvatarFallback({
21
21
  className,
22
22
  ...props
23
23
  }: AvatarPrimitive.FallbackProps & {
24
24
  ref?: React$1.RefObject<AvatarPrimitive.FallbackRef>;
25
- }): react_jsx_runtime69.JSX.Element;
25
+ }): react_jsx_runtime14.JSX.Element;
26
26
  //#endregion
27
27
  export { Avatar, AvatarFallback, AvatarImage };
package/dist/ui/avatar.js CHANGED
@@ -1,5 +1,5 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import "react";
2
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as AvatarPrimitive from "@rn-primitives/avatar";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from "react";
2
2
  import { View } from "react-native";
3
- import * as react_jsx_runtime14 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import * as class_variance_authority_types0 from "class-variance-authority/types";
6
6
 
@@ -16,6 +16,6 @@ declare function Badge({
16
16
  variant,
17
17
  labelClassName,
18
18
  ...props
19
- }: BadgeProps): react_jsx_runtime14.JSX.Element;
19
+ }: BadgeProps): react_jsx_runtime17.JSX.Element;
20
20
  //#endregion
21
21
  export { Badge, badgeVariants };
package/dist/ui/badge.js CHANGED
@@ -1,6 +1,6 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import "react";
3
2
  import { View } from "react-native";
3
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { cva } from "class-variance-authority";
6
6
 
@@ -1,38 +1,38 @@
1
1
  import * as React$1 from "react";
2
2
  import { View } from "react-native";
3
- import * as react_jsx_runtime15 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
4
4
 
5
5
  //#region ui/breadcrumb.d.ts
6
6
  declare function Breadcrumb({
7
7
  ...props
8
- }: React$1.ComponentProps<'nav'>): react_jsx_runtime15.JSX.Element;
8
+ }: React$1.ComponentProps<'nav'>): react_jsx_runtime18.JSX.Element;
9
9
  declare function BreadcrumbList({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<typeof View>): react_jsx_runtime15.JSX.Element;
12
+ }: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
13
13
  declare function BreadcrumbItem({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<typeof View>): react_jsx_runtime15.JSX.Element;
16
+ }: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
17
17
  declare function BreadcrumbLink({
18
18
  asChild,
19
19
  className,
20
20
  ...props
21
21
  }: React$1.ComponentProps<typeof View> & {
22
22
  asChild?: boolean;
23
- }): react_jsx_runtime15.JSX.Element;
23
+ }): react_jsx_runtime18.JSX.Element;
24
24
  declare function BreadcrumbPage({
25
25
  className,
26
26
  ...props
27
- }: React$1.ComponentProps<typeof View>): react_jsx_runtime15.JSX.Element;
27
+ }: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
28
28
  declare function BreadcrumbSeparator({
29
29
  children,
30
30
  className,
31
31
  ...props
32
- }: React$1.ComponentProps<typeof View>): react_jsx_runtime15.JSX.Element;
32
+ }: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
33
33
  declare function BreadcrumbEllipsis({
34
34
  className,
35
35
  ...props
36
- }: React$1.ComponentProps<typeof View>): react_jsx_runtime15.JSX.Element;
36
+ }: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
37
37
  //#endregion
38
38
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
@@ -1,9 +1,9 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { ChevronRight } from "../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
3
2
  import { Ellipsis } from "../node_modules/lucide-react/dist/esm/icons/ellipsis.js";
4
3
  import "react";
5
4
  import { Text, View } from "react-native";
6
5
  import "@rn-primitives/slot";
6
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
 
9
9
  //#region ui/breadcrumb.tsx
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from "react";
2
2
  import { Pressable } from "react-native";
3
- import * as react_jsx_runtime22 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import * as class_variance_authority_types1 from "class-variance-authority/types";
6
6
 
@@ -20,6 +20,6 @@ declare function Button({
20
20
  variant,
21
21
  size,
22
22
  ...props
23
- }: ButtonProps): react_jsx_runtime22.JSX.Element;
23
+ }: ButtonProps): react_jsx_runtime25.JSX.Element;
24
24
  //#endregion
25
25
  export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
package/dist/ui/button.js CHANGED
@@ -1,7 +1,7 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { TextClassContext } from "./text.js";
3
2
  import "react";
4
3
  import { Pressable } from "react-native";
4
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import { cva } from "class-variance-authority";
7
7
 
package/dist/ui/card.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from "react";
2
2
  import { Text, TextProps, View, ViewProps } from "react-native";
3
- import * as react_jsx_runtime23 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
4
4
 
5
5
  //#region ui/card.d.ts
6
6
  declare function Card({
@@ -8,36 +8,36 @@ declare function Card({
8
8
  ...props
9
9
  }: ViewProps & {
10
10
  ref?: React$1.RefObject<View>;
11
- }): react_jsx_runtime23.JSX.Element;
11
+ }): react_jsx_runtime26.JSX.Element;
12
12
  declare function CardHeader({
13
13
  className,
14
14
  ...props
15
15
  }: ViewProps & {
16
16
  ref?: React$1.RefObject<View>;
17
- }): react_jsx_runtime23.JSX.Element;
17
+ }): react_jsx_runtime26.JSX.Element;
18
18
  declare function CardTitle({
19
19
  className,
20
20
  ...props
21
21
  }: TextProps & {
22
22
  ref?: React$1.RefObject<Text>;
23
- }): react_jsx_runtime23.JSX.Element;
23
+ }): react_jsx_runtime26.JSX.Element;
24
24
  declare function CardDescription({
25
25
  className,
26
26
  ...props
27
27
  }: TextProps & {
28
28
  ref?: React$1.RefObject<Text>;
29
- }): react_jsx_runtime23.JSX.Element;
29
+ }): react_jsx_runtime26.JSX.Element;
30
30
  declare function CardContent({
31
31
  className,
32
32
  ...props
33
33
  }: ViewProps & {
34
34
  ref?: React$1.RefObject<View>;
35
- }): react_jsx_runtime23.JSX.Element;
35
+ }): react_jsx_runtime26.JSX.Element;
36
36
  declare function CardFooter({
37
37
  className,
38
38
  ...props
39
39
  }: ViewProps & {
40
40
  ref?: React$1.RefObject<View>;
41
- }): react_jsx_runtime23.JSX.Element;
41
+ }): react_jsx_runtime26.JSX.Element;
42
42
  //#endregion
43
43
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
package/dist/ui/card.js CHANGED
@@ -1,7 +1,7 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { TextClassContext } from "./text.js";
3
2
  import "react";
4
3
  import { Text, View } from "react-native";
4
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region ui/card.tsx
@@ -1,6 +1,6 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import * as React$1 from "react";
3
2
  import { Check } from "lucide-react-native";
3
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import * as CheckboxPrimitive from "@rn-primitives/checkbox";
6
6
 
@@ -1,24 +1,24 @@
1
- import * as react1 from "react";
2
- import * as react_native2 from "react-native";
1
+ import * as react0 from "react";
2
+ import * as react_native0 from "react-native";
3
3
  import * as _rn_primitives_types0 from "@rn-primitives/types";
4
4
 
5
5
  //#region ui/collapsible.d.ts
6
- declare const Collapsible: react1.ForwardRefExoticComponent<react_native2.ViewProps & {
6
+ declare const Collapsible: react0.ForwardRefExoticComponent<react_native0.ViewProps & {
7
7
  asChild?: boolean;
8
8
  } & {
9
9
  open?: boolean;
10
10
  defaultOpen?: boolean;
11
11
  onOpenChange?: (open: boolean) => void;
12
12
  disabled?: boolean;
13
- } & react1.RefAttributes<react_native2.View>>;
14
- declare const CollapsibleTrigger: react1.ForwardRefExoticComponent<Omit<react_native2.PressableProps & react1.RefAttributes<react_native2.View>, "ref"> & {
13
+ } & react0.RefAttributes<react_native0.View>>;
14
+ declare const CollapsibleTrigger: react0.ForwardRefExoticComponent<Omit<react_native0.PressableProps & react0.RefAttributes<react_native0.View>, "ref"> & {
15
15
  asChild?: boolean;
16
16
  } & {
17
17
  onKeyDown?: (ev: React.KeyboardEvent) => void;
18
18
  onKeyUp?: (ev: React.KeyboardEvent) => void;
19
- } & react1.RefAttributes<react_native2.View>>;
20
- declare const CollapsibleContent: react1.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native2.ViewProps & {
19
+ } & react0.RefAttributes<react_native0.View>>;
20
+ declare const CollapsibleContent: react0.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native0.ViewProps & {
21
21
  asChild?: boolean;
22
- } & react1.RefAttributes<react_native2.View>>;
22
+ } & react0.RefAttributes<react_native0.View>>;
23
23
  //#endregion
24
24
  export { Collapsible, CollapsibleContent, CollapsibleTrigger };
@@ -1,33 +1,33 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native13 from "react-native";
2
+ import * as react_native17 from "react-native";
3
3
  import { StyleProp, TextProps, View, ViewStyle } from "react-native";
4
- import * as react_jsx_runtime29 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime33 from "react/jsx-runtime";
5
5
  import * as _rn_primitives_context_menu0 from "@rn-primitives/context-menu";
6
6
 
7
7
  //#region ui/context-menu.d.ts
8
- declare const ContextMenu: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
8
+ declare const ContextMenu: React$1.ForwardRefExoticComponent<react_native17.ViewProps & {
9
9
  asChild?: boolean;
10
10
  } & {
11
11
  onOpenChange?: (open: boolean) => void;
12
12
  relativeTo?: "longPress" | "trigger";
13
13
  } & React$1.RefAttributes<View>>;
14
- declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native13.PressableProps & React$1.RefAttributes<View>, "ref"> & {
14
+ declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native17.PressableProps & React$1.RefAttributes<View>, "ref"> & {
15
15
  asChild?: boolean;
16
16
  } & {
17
17
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
18
18
  onKeyUp?: (ev: React$1.KeyboardEvent) => void;
19
19
  } & React$1.RefAttributes<_rn_primitives_context_menu0.TriggerRef>>;
20
- declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
20
+ declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<react_native17.ViewProps & {
21
21
  asChild?: boolean;
22
22
  } & React$1.RefAttributes<View>>;
23
- declare const ContextMenuSub: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
23
+ declare const ContextMenuSub: React$1.ForwardRefExoticComponent<react_native17.ViewProps & {
24
24
  asChild?: boolean;
25
25
  } & {
26
26
  defaultOpen?: boolean;
27
27
  open?: boolean;
28
28
  onOpenChange?: (value: boolean) => void;
29
29
  } & React$1.RefAttributes<View>>;
30
- declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native13.ViewProps & {
30
+ declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native17.ViewProps & {
31
31
  asChild?: boolean;
32
32
  } & {
33
33
  value: string | undefined;
@@ -42,13 +42,13 @@ declare function ContextMenuSubTrigger({
42
42
  ref?: React$1.RefObject<_rn_primitives_context_menu0.SubTriggerRef>;
43
43
  children?: React$1.ReactNode;
44
44
  inset?: boolean;
45
- }): react_jsx_runtime29.JSX.Element;
45
+ }): react_jsx_runtime33.JSX.Element;
46
46
  declare function ContextMenuSubContent({
47
47
  className,
48
48
  ...props
49
49
  }: _rn_primitives_context_menu0.SubContentProps & {
50
50
  ref?: React$1.RefObject<_rn_primitives_context_menu0.SubContentRef>;
51
- }): react_jsx_runtime29.JSX.Element;
51
+ }): react_jsx_runtime33.JSX.Element;
52
52
  declare function ContextMenuContent({
53
53
  className,
54
54
  overlayClassName,
@@ -60,7 +60,7 @@ declare function ContextMenuContent({
60
60
  overlayStyle?: StyleProp<ViewStyle>;
61
61
  overlayClassName?: string;
62
62
  portalHost?: string;
63
- }): react_jsx_runtime29.JSX.Element;
63
+ }): react_jsx_runtime33.JSX.Element;
64
64
  declare function ContextMenuItem({
65
65
  className,
66
66
  inset,
@@ -69,7 +69,7 @@ declare function ContextMenuItem({
69
69
  ref?: React$1.RefObject<_rn_primitives_context_menu0.ItemRef>;
70
70
  className?: string;
71
71
  inset?: boolean;
72
- }): react_jsx_runtime29.JSX.Element;
72
+ }): react_jsx_runtime33.JSX.Element;
73
73
  declare function ContextMenuCheckboxItem({
74
74
  className,
75
75
  children,
@@ -77,7 +77,7 @@ declare function ContextMenuCheckboxItem({
77
77
  }: _rn_primitives_context_menu0.CheckboxItemProps & {
78
78
  ref?: React$1.RefObject<_rn_primitives_context_menu0.CheckboxItemRef>;
79
79
  children?: React$1.ReactNode;
80
- }): react_jsx_runtime29.JSX.Element;
80
+ }): react_jsx_runtime33.JSX.Element;
81
81
  declare function ContextMenuRadioItem({
82
82
  className,
83
83
  children,
@@ -85,7 +85,7 @@ declare function ContextMenuRadioItem({
85
85
  }: _rn_primitives_context_menu0.RadioItemProps & {
86
86
  ref?: React$1.RefObject<_rn_primitives_context_menu0.RadioItemRef>;
87
87
  children?: React$1.ReactNode;
88
- }): react_jsx_runtime29.JSX.Element;
88
+ }): react_jsx_runtime33.JSX.Element;
89
89
  declare function ContextMenuLabel({
90
90
  className,
91
91
  inset,
@@ -94,16 +94,16 @@ declare function ContextMenuLabel({
94
94
  ref?: React$1.RefObject<_rn_primitives_context_menu0.LabelRef>;
95
95
  className?: string;
96
96
  inset?: boolean;
97
- }): react_jsx_runtime29.JSX.Element;
97
+ }): react_jsx_runtime33.JSX.Element;
98
98
  declare function ContextMenuSeparator({
99
99
  className,
100
100
  ...props
101
101
  }: _rn_primitives_context_menu0.SeparatorProps & {
102
102
  ref?: React$1.RefObject<_rn_primitives_context_menu0.SeparatorRef>;
103
- }): react_jsx_runtime29.JSX.Element;
103
+ }): react_jsx_runtime33.JSX.Element;
104
104
  declare function ContextMenuShortcut({
105
105
  className,
106
106
  ...props
107
- }: TextProps): react_jsx_runtime29.JSX.Element;
107
+ }: TextProps): react_jsx_runtime33.JSX.Element;
108
108
  //#endregion
109
109
  export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
@@ -1,11 +1,11 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "../-core/src/utils.js";
3
2
  import { TextClassContext } from "./text.js";
4
3
  import { Check } from "./icons/Check.js";
5
4
  import { ChevronRight } from "./icons/ChevronRight.js";
6
5
  import { ChevronUp } from "./icons/ChevronUp.js";
7
6
  import "react";
8
7
  import { Platform, StyleSheet, Text, View } from "react-native";
8
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import * as ContextMenuPrimitive from "@rn-primitives/context-menu";
11
11
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime82 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime42 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/date-picker.d.ts
4
4
  interface DatePickerProps {
@@ -18,6 +18,6 @@ declare function DatePicker({
18
18
  maxDate,
19
19
  placeholder,
20
20
  className
21
- }: DatePickerProps): react_jsx_runtime82.JSX.Element;
21
+ }: DatePickerProps): react_jsx_runtime42.JSX.Element;
22
22
  //#endregion
23
23
  export { DatePicker, DatePickerProps };
@@ -1,7 +1,7 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { Text as Text$1 } from "./text.js";
3
2
  import React, { useMemo, useState } from "react";
4
3
  import { Platform, Pressable, View } from "react-native";
4
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import DateTimePicker from "@react-native-community/datetimepicker";
7
7
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime44 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime43 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/date-range-picker.d.ts
4
4
  interface DateRange {
@@ -25,6 +25,6 @@ declare function DateRangePicker({
25
25
  maxDate,
26
26
  placeholders,
27
27
  className
28
- }: DateRangePickerProps): react_jsx_runtime44.JSX.Element;
28
+ }: DateRangePickerProps): react_jsx_runtime43.JSX.Element;
29
29
  //#endregion
30
30
  export { DateRange, DateRangePicker, DateRangePickerProps };
@@ -1,8 +1,8 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { Text as Text$1 } from "./text.js";
3
2
  import { HStack, VStack } from "./stack.js";
4
3
  import React, { useMemo, useState } from "react";
5
4
  import { Platform, Pressable, View } from "react-native";
5
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import DateTimePicker from "@react-native-community/datetimepicker";
8
8
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime68 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime44 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/datetime-picker.d.ts
4
4
  interface DateTimePickerProps {
@@ -22,6 +22,6 @@ declare function DateTimePicker({
22
22
  timePlaceholder,
23
23
  is24Hour,
24
24
  className
25
- }: DateTimePickerProps): react_jsx_runtime68.JSX.Element;
25
+ }: DateTimePickerProps): react_jsx_runtime44.JSX.Element;
26
26
  //#endregion
27
27
  export { DateTimePicker, DateTimePickerProps };
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native18 from "react-native";
2
+ import * as react_native22 from "react-native";
3
3
  import { View, ViewProps } from "react-native";
4
- import * as react_jsx_runtime38 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime45 from "react/jsx-runtime";
5
5
  import * as DialogPrimitive from "@rn-primitives/dialog";
6
6
 
7
7
  //#region ui/dialog.d.ts
@@ -12,14 +12,14 @@ declare const Dialog: React$1.ForwardRefExoticComponent<ViewProps & {
12
12
  defaultOpen?: boolean;
13
13
  onOpenChange?: (value: boolean) => void;
14
14
  } & React$1.RefAttributes<View>>;
15
- declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native18.PressableProps & React$1.RefAttributes<View>, "ref"> & {
15
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native22.PressableProps & React$1.RefAttributes<View>, "ref"> & {
16
16
  asChild?: boolean;
17
17
  } & {
18
18
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
19
19
  onKeyUp?: (ev: React$1.KeyboardEvent) => void;
20
20
  } & React$1.RefAttributes<View>>;
21
21
  declare const DialogPortal: typeof DialogPrimitive.Portal;
22
- declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<react_native18.PressableProps & React$1.RefAttributes<View>, "ref"> & {
22
+ declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<react_native22.PressableProps & React$1.RefAttributes<View>, "ref"> & {
23
23
  asChild?: boolean;
24
24
  } & {
25
25
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
@@ -32,7 +32,7 @@ declare function DialogOverlayNative({
32
32
  }: DialogPrimitive.OverlayProps & {
33
33
  ref?: React$1.RefObject<DialogPrimitive.OverlayRef>;
34
34
  children?: React$1.ReactNode;
35
- }): react_jsx_runtime38.JSX.Element;
35
+ }): react_jsx_runtime45.JSX.Element;
36
36
  declare const DialogOverlay: typeof DialogOverlayNative;
37
37
  declare function DialogContent({
38
38
  className,
@@ -43,26 +43,26 @@ declare function DialogContent({
43
43
  ref?: React$1.RefObject<DialogPrimitive.ContentRef>;
44
44
  className?: string;
45
45
  portalHost?: string;
46
- }): react_jsx_runtime38.JSX.Element;
46
+ }): react_jsx_runtime45.JSX.Element;
47
47
  declare function DialogHeader({
48
48
  className,
49
49
  ...props
50
- }: ViewProps): react_jsx_runtime38.JSX.Element;
50
+ }: ViewProps): react_jsx_runtime45.JSX.Element;
51
51
  declare function DialogFooter({
52
52
  className,
53
53
  ...props
54
- }: ViewProps): react_jsx_runtime38.JSX.Element;
54
+ }: ViewProps): react_jsx_runtime45.JSX.Element;
55
55
  declare function DialogTitle({
56
56
  className,
57
57
  ...props
58
58
  }: DialogPrimitive.TitleProps & {
59
59
  ref?: React$1.RefObject<DialogPrimitive.TitleRef>;
60
- }): react_jsx_runtime38.JSX.Element;
60
+ }): react_jsx_runtime45.JSX.Element;
61
61
  declare function DialogDescription({
62
62
  className,
63
63
  ...props
64
64
  }: DialogPrimitive.DescriptionProps & {
65
65
  ref?: React$1.RefObject<DialogPrimitive.DescriptionRef>;
66
- }): react_jsx_runtime38.JSX.Element;
66
+ }): react_jsx_runtime45.JSX.Element;
67
67
  //#endregion
68
68
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
package/dist/ui/dialog.js CHANGED
@@ -1,8 +1,8 @@
1
- import { cn } from "../-core/src/utils.js";
2
1
  import { X } from "./icons/X.js";
3
2
  import "react";
4
3
  import { Platform, StyleSheet, View } from "react-native";
5
4
  import Animated, { FadeIn, FadeOut } from "react-native-reanimated";
5
+ import { cn } from "@lssm/lib.ui-kit-core/utils";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import * as DialogPrimitive from "@rn-primitives/dialog";
8
8