@lssm/lib.ui-kit 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217062139

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 (112) hide show
  1. package/dist/-core/{src → dist}/utils.js +1 -1
  2. package/dist/ui/accordion.d.ts +5 -5
  3. package/dist/ui/accordion.js +1 -1
  4. package/dist/ui/alert-dialog.d.ts +11 -11
  5. package/dist/ui/alert-dialog.js +1 -1
  6. package/dist/ui/alert.d.ts +6 -6
  7. package/dist/ui/alert.js +1 -1
  8. package/dist/ui/aspect-ratio.d.ts +6 -6
  9. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +2 -2
  10. package/dist/ui/atoms/Pagination/Pagination.js +1 -4
  11. package/dist/ui/atoms/SearchInput/SearchInput.js +1 -2
  12. package/dist/ui/avatar.d.ts +4 -4
  13. package/dist/ui/avatar.js +1 -1
  14. package/dist/ui/badge.d.ts +5 -5
  15. package/dist/ui/badge.js +1 -1
  16. package/dist/ui/breadcrumb.d.ts +8 -8
  17. package/dist/ui/breadcrumb.js +3 -4
  18. package/dist/ui/button.d.ts +9 -9
  19. package/dist/ui/button.js +1 -1
  20. package/dist/ui/card.d.ts +7 -7
  21. package/dist/ui/card.js +1 -1
  22. package/dist/ui/checkbox.d.ts +3 -3
  23. package/dist/ui/checkbox.js +1 -1
  24. package/dist/ui/collapsible.d.ts +8 -8
  25. package/dist/ui/context-menu.d.ts +16 -16
  26. package/dist/ui/context-menu.js +1 -1
  27. package/dist/ui/date-picker.d.ts +2 -2
  28. package/dist/ui/date-picker.js +1 -1
  29. package/dist/ui/date-range-picker.d.ts +2 -2
  30. package/dist/ui/date-range-picker.js +1 -1
  31. package/dist/ui/datetime-picker.d.ts +2 -2
  32. package/dist/ui/dialog.d.ts +10 -10
  33. package/dist/ui/dialog.js +1 -1
  34. package/dist/ui/dropdown-menu.d.ts +16 -16
  35. package/dist/ui/dropdown-menu.js +1 -1
  36. package/dist/ui/empty-state.d.ts +4 -4
  37. package/dist/ui/empty-state.js +1 -1
  38. package/dist/ui/empty.d.ts +9 -9
  39. package/dist/ui/empty.js +1 -1
  40. package/dist/ui/fab.d.ts +3 -3
  41. package/dist/ui/fab.js +1 -1
  42. package/dist/ui/field.d.ts +13 -13
  43. package/dist/ui/field.js +1 -1
  44. package/dist/ui/form.d.ts +7 -7
  45. package/dist/ui/form.js +4 -4
  46. package/dist/ui/hover-card.d.ts +6 -6
  47. package/dist/ui/hover-card.js +1 -1
  48. package/dist/ui/input.d.ts +2 -2
  49. package/dist/ui/input.js +1 -1
  50. package/dist/ui/label.d.ts +2 -2
  51. package/dist/ui/label.js +1 -1
  52. package/dist/ui/link.d.ts +2 -2
  53. package/dist/ui/link.js +1 -1
  54. package/dist/ui/loading-button.d.ts +2 -2
  55. package/dist/ui/loading-overlay.d.ts +2 -2
  56. package/dist/ui/loading-screen.d.ts +2 -2
  57. package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
  58. package/dist/ui/marketing/Hero.d.ts +2 -2
  59. package/dist/ui/marketing/PricingTable.d.ts +2 -2
  60. package/dist/ui/menubar.d.ts +17 -17
  61. package/dist/ui/menubar.js +1 -1
  62. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +2 -4
  63. package/dist/ui/molecules/SkeletonList.d.ts +2 -2
  64. package/dist/ui/navigation-menu.d.ts +12 -12
  65. package/dist/ui/navigation-menu.js +1 -1
  66. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
  67. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +3 -5
  68. package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
  69. package/dist/ui/organisms/ListPage/ListPage.js +7 -12
  70. package/dist/ui/page-header.d.ts +4 -4
  71. package/dist/ui/page-header.js +1 -1
  72. package/dist/ui/password-strength.d.ts +2 -2
  73. package/dist/ui/password-strength.js +2 -2
  74. package/dist/ui/popover.d.ts +8 -8
  75. package/dist/ui/popover.js +1 -1
  76. package/dist/ui/progress.d.ts +2 -2
  77. package/dist/ui/progress.js +1 -1
  78. package/dist/ui/radio-group.d.ts +3 -3
  79. package/dist/ui/radio-group.js +1 -1
  80. package/dist/ui/select.d.ts +13 -13
  81. package/dist/ui/select.js +1 -1
  82. package/dist/ui/separator.d.ts +2 -2
  83. package/dist/ui/separator.js +1 -1
  84. package/dist/ui/skeleton.js +1 -1
  85. package/dist/ui/stack.d.ts +17 -17
  86. package/dist/ui/stack.js +1 -1
  87. package/dist/ui/stepper.d.ts +4 -4
  88. package/dist/ui/stepper.js +1 -1
  89. package/dist/ui/switch.d.ts +2 -2
  90. package/dist/ui/switch.js +1 -1
  91. package/dist/ui/table.d.ts +8 -8
  92. package/dist/ui/table.js +1 -1
  93. package/dist/ui/tabs.d.ts +11 -11
  94. package/dist/ui/tabs.js +1 -1
  95. package/dist/ui/text.d.ts +2 -2
  96. package/dist/ui/text.js +1 -1
  97. package/dist/ui/textarea.js +1 -1
  98. package/dist/ui/time-picker.d.ts +2 -2
  99. package/dist/ui/time-picker.js +1 -1
  100. package/dist/ui/toggle-group.d.ts +4 -4
  101. package/dist/ui/toggle-group.js +1 -1
  102. package/dist/ui/toggle.d.ts +3 -3
  103. package/dist/ui/toggle.js +1 -1
  104. package/dist/ui/tooltip.d.ts +6 -6
  105. package/dist/ui/tooltip.js +1 -1
  106. package/dist/ui/typography.d.ts +12 -12
  107. package/dist/ui/typography.js +1 -1
  108. package/dist/ui/useColorScheme.d.ts +2 -2
  109. package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
  110. package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
  111. package/package.json +3 -3
  112. package/dist/_virtual/rolldown_runtime.js +0 -33
@@ -1,17 +1,17 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native6 from "react-native";
3
- import * as react_jsx_runtime19 from "react/jsx-runtime";
2
+ import * as react_native5 from "react-native";
3
+ import * as react_jsx_runtime30 from "react/jsx-runtime";
4
4
  import * as _rn_primitives_hover_card0 from "@rn-primitives/hover-card";
5
5
 
6
6
  //#region ui/hover-card.d.ts
7
- declare const HoverCard: React$1.ForwardRefExoticComponent<react_native6.ViewProps & {
7
+ declare const HoverCard: React$1.ForwardRefExoticComponent<react_native5.ViewProps & {
8
8
  asChild?: boolean;
9
9
  } & {
10
10
  onOpenChange?: (open: boolean) => void;
11
11
  openDelay?: number;
12
12
  closeDelay?: number;
13
- } & React$1.RefAttributes<react_native6.View>>;
14
- declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<react_native6.PressableProps & React$1.RefAttributes<react_native6.View>, "ref"> & {
13
+ } & React$1.RefAttributes<react_native5.View>>;
14
+ declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<react_native5.PressableProps & React$1.RefAttributes<react_native5.View>, "ref"> & {
15
15
  asChild?: boolean;
16
16
  } & {
17
17
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
@@ -24,6 +24,6 @@ declare function HoverCardContent({
24
24
  ...props
25
25
  }: _rn_primitives_hover_card0.ContentProps & {
26
26
  ref?: React$1.RefObject<_rn_primitives_hover_card0.ContentRef>;
27
- }): react_jsx_runtime19.JSX.Element;
27
+ }): react_jsx_runtime30.JSX.Element;
28
28
  //#endregion
29
29
  export { HoverCard, HoverCardContent, HoverCardTrigger };
@@ -1,4 +1,4 @@
1
- import { cn } from "../-core/src/utils.js";
1
+ import { cn } from "../-core/dist/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import "react";
4
4
  import { Platform, StyleSheet } from "react-native";
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from "react";
2
2
  import { TextInput, TextInputProps } from "react-native";
3
- import * as react_jsx_runtime20 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime137 from "react/jsx-runtime";
4
4
 
5
5
  //#region ui/input.d.ts
6
6
  declare function Input({
@@ -9,6 +9,6 @@ declare function Input({
9
9
  ...props
10
10
  }: TextInputProps & {
11
11
  ref?: React$1.RefObject<TextInput>;
12
- }): react_jsx_runtime20.JSX.Element;
12
+ }): react_jsx_runtime137.JSX.Element;
13
13
  //#endregion
14
14
  export { Input };
package/dist/ui/input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "../-core/src/utils.js";
1
+ import { cn } from "../-core/dist/utils.js";
2
2
  import "react";
3
3
  import { TextInput } from "react-native";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime109 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime66 from "react/jsx-runtime";
2
2
  import * as LabelPrimitive from "@rn-primitives/label";
3
3
 
4
4
  //#region ui/label.d.ts
@@ -10,6 +10,6 @@ declare function Label({
10
10
  onPressOut,
11
11
  disabled,
12
12
  ...props
13
- }: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>): react_jsx_runtime109.JSX.Element;
13
+ }: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>): react_jsx_runtime66.JSX.Element;
14
14
  //#endregion
15
15
  export { Label };
package/dist/ui/label.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "../-core/src/utils.js";
1
+ import { cn } from "../-core/dist/utils.js";
2
2
  import { Platform } from "react-native";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as LabelPrimitive from "@rn-primitives/label";
package/dist/ui/link.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime153 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime60 from "react/jsx-runtime";
3
3
  import { Link as Link$1, LinkProps } from "expo-router";
4
4
 
5
5
  //#region ui/link.d.ts
@@ -8,6 +8,6 @@ declare function Link({
8
8
  ...props
9
9
  }: LinkProps & {
10
10
  ref?: React$1.RefObject<typeof Link$1>;
11
- }): react_jsx_runtime153.JSX.Element;
11
+ }): react_jsx_runtime60.JSX.Element;
12
12
  //#endregion
13
13
  export { Link };
package/dist/ui/link.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "../-core/src/utils.js";
1
+ import { cn } from "../-core/dist/utils.js";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Link as Link$1 } from "expo-router";
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps } from "./button.js";
2
2
  import React from "react";
3
- import * as react_jsx_runtime110 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
4
4
 
5
5
  //#region ui/loading-button.d.ts
6
6
  interface LoadingButtonProps extends ButtonProps {
@@ -14,6 +14,6 @@ declare function LoadingButton({
14
14
  children,
15
15
  disabled,
16
16
  ...props
17
- }: LoadingButtonProps): react_jsx_runtime110.JSX.Element;
17
+ }: LoadingButtonProps): react_jsx_runtime27.JSX.Element;
18
18
  //#endregion
19
19
  export { LoadingButton };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime21 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/loading-overlay.d.ts
4
4
  interface LoadingOverlayProps {
@@ -10,6 +10,6 @@ declare function LoadingOverlay({
10
10
  isVisible,
11
11
  title,
12
12
  subtitle
13
- }: LoadingOverlayProps): react_jsx_runtime21.JSX.Element | null;
13
+ }: LoadingOverlayProps): react_jsx_runtime28.JSX.Element | null;
14
14
  //#endregion
15
15
  export { LoadingOverlay };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime137 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime29 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/loading-screen.d.ts
4
4
  interface LoadingScreenProps {
@@ -8,6 +8,6 @@ interface LoadingScreenProps {
8
8
  declare function LoadingScreen({
9
9
  title,
10
10
  variant
11
- }: LoadingScreenProps): react_jsx_runtime137.JSX.Element;
11
+ }: LoadingScreenProps): react_jsx_runtime29.JSX.Element;
12
12
  //#endregion
13
13
  export { LoadingScreen };
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime159 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime138 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/marketing/FeatureGrid.d.ts
5
5
  interface FeatureItem {
@@ -15,6 +15,6 @@ declare function FeatureGrid({
15
15
  items: FeatureItem[];
16
16
  columns?: 2 | 3 | 4;
17
17
  className?: string;
18
- }): react_jsx_runtime159.JSX.Element;
18
+ }): react_jsx_runtime138.JSX.Element;
19
19
  //#endregion
20
20
  export { FeatureGrid, FeatureItem };
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime65 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime140 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/marketing/Hero.d.ts
5
5
  declare function Hero({
@@ -22,6 +22,6 @@ declare function Hero({
22
22
  onClick?: () => void;
23
23
  };
24
24
  className?: string;
25
- }): react_jsx_runtime65.JSX.Element;
25
+ }): react_jsx_runtime140.JSX.Element;
26
26
  //#endregion
27
27
  export { Hero };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime95 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime141 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/marketing/PricingTable.d.ts
4
4
  interface PricingTier {
@@ -19,6 +19,6 @@ declare function PricingTable({
19
19
  }: {
20
20
  tiers: PricingTier[];
21
21
  className?: string;
22
- }): react_jsx_runtime95.JSX.Element;
22
+ }): react_jsx_runtime141.JSX.Element;
23
23
  //#endregion
24
24
  export { PricingTable, PricingTier };
@@ -1,27 +1,27 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native36 from "react-native";
2
+ import * as react_native9 from "react-native";
3
3
  import { TextProps, View } from "react-native";
4
- import * as react_jsx_runtime119 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime42 from "react/jsx-runtime";
5
5
  import * as MenubarPrimitive from "@rn-primitives/menubar";
6
6
 
7
7
  //#region ui/menubar.d.ts
8
- declare const MenubarMenu: React$1.ForwardRefExoticComponent<react_native36.ViewProps & {
8
+ declare const MenubarMenu: React$1.ForwardRefExoticComponent<react_native9.ViewProps & {
9
9
  asChild?: boolean;
10
10
  } & {
11
11
  value: string | undefined;
12
12
  } & React$1.RefAttributes<View>>;
13
- declare const MenubarGroup: React$1.ForwardRefExoticComponent<react_native36.ViewProps & {
13
+ declare const MenubarGroup: React$1.ForwardRefExoticComponent<react_native9.ViewProps & {
14
14
  asChild?: boolean;
15
15
  } & React$1.RefAttributes<View>>;
16
16
  declare const MenubarPortal: typeof MenubarPrimitive.Portal;
17
- declare const MenubarSub: React$1.ForwardRefExoticComponent<react_native36.ViewProps & {
17
+ declare const MenubarSub: React$1.ForwardRefExoticComponent<react_native9.ViewProps & {
18
18
  asChild?: boolean;
19
19
  } & {
20
20
  defaultOpen?: boolean;
21
21
  open?: boolean;
22
22
  onOpenChange?: (value: boolean) => void;
23
23
  } & React$1.RefAttributes<View>>;
24
- declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<react_native36.ViewProps & {
24
+ declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<react_native9.ViewProps & {
25
25
  asChild?: boolean;
26
26
  } & {
27
27
  value: string | undefined;
@@ -32,13 +32,13 @@ declare function Menubar({
32
32
  ...props
33
33
  }: MenubarPrimitive.RootProps & {
34
34
  ref?: React$1.RefObject<MenubarPrimitive.RootRef>;
35
- }): react_jsx_runtime119.JSX.Element;
35
+ }): react_jsx_runtime42.JSX.Element;
36
36
  declare function MenubarTrigger({
37
37
  className,
38
38
  ...props
39
39
  }: MenubarPrimitive.TriggerProps & {
40
40
  ref?: React$1.RefObject<MenubarPrimitive.TriggerRef>;
41
- }): react_jsx_runtime119.JSX.Element;
41
+ }): react_jsx_runtime42.JSX.Element;
42
42
  declare function MenubarSubTrigger({
43
43
  className,
44
44
  inset,
@@ -49,13 +49,13 @@ declare function MenubarSubTrigger({
49
49
  className?: string;
50
50
  inset?: boolean;
51
51
  children?: React$1.ReactNode;
52
- }): react_jsx_runtime119.JSX.Element;
52
+ }): react_jsx_runtime42.JSX.Element;
53
53
  declare function MenubarSubContent({
54
54
  className,
55
55
  ...props
56
56
  }: MenubarPrimitive.SubContentProps & {
57
57
  ref?: React$1.RefObject<MenubarPrimitive.SubContentRef>;
58
- }): react_jsx_runtime119.JSX.Element;
58
+ }): react_jsx_runtime42.JSX.Element;
59
59
  declare function MenubarContent({
60
60
  className,
61
61
  portalHost,
@@ -64,7 +64,7 @@ declare function MenubarContent({
64
64
  ref?: React$1.RefObject<MenubarPrimitive.ContentRef>;
65
65
  className?: string;
66
66
  portalHost?: string;
67
- }): react_jsx_runtime119.JSX.Element;
67
+ }): react_jsx_runtime42.JSX.Element;
68
68
  declare function MenubarItem({
69
69
  className,
70
70
  inset,
@@ -73,7 +73,7 @@ declare function MenubarItem({
73
73
  ref?: React$1.RefObject<MenubarPrimitive.ItemRef>;
74
74
  className?: string;
75
75
  inset?: boolean;
76
- }): react_jsx_runtime119.JSX.Element;
76
+ }): react_jsx_runtime42.JSX.Element;
77
77
  declare function MenubarCheckboxItem({
78
78
  className,
79
79
  children,
@@ -82,7 +82,7 @@ declare function MenubarCheckboxItem({
82
82
  }: MenubarPrimitive.CheckboxItemProps & {
83
83
  ref?: React$1.RefObject<MenubarPrimitive.CheckboxItemRef>;
84
84
  children?: React$1.ReactNode;
85
- }): react_jsx_runtime119.JSX.Element;
85
+ }): react_jsx_runtime42.JSX.Element;
86
86
  declare function MenubarRadioItem({
87
87
  className,
88
88
  children,
@@ -90,7 +90,7 @@ declare function MenubarRadioItem({
90
90
  }: MenubarPrimitive.RadioItemProps & {
91
91
  ref?: React$1.RefObject<MenubarPrimitive.RadioItemRef>;
92
92
  children?: React$1.ReactNode;
93
- }): react_jsx_runtime119.JSX.Element;
93
+ }): react_jsx_runtime42.JSX.Element;
94
94
  declare function MenubarLabel({
95
95
  className,
96
96
  inset,
@@ -99,16 +99,16 @@ declare function MenubarLabel({
99
99
  ref?: React$1.RefObject<MenubarPrimitive.LabelRef>;
100
100
  className?: string;
101
101
  inset?: boolean;
102
- }): react_jsx_runtime119.JSX.Element;
102
+ }): react_jsx_runtime42.JSX.Element;
103
103
  declare function MenubarSeparator({
104
104
  className,
105
105
  ...props
106
106
  }: MenubarPrimitive.SeparatorProps & {
107
107
  ref?: React$1.RefObject<MenubarPrimitive.SeparatorRef>;
108
- }): react_jsx_runtime119.JSX.Element;
108
+ }): react_jsx_runtime42.JSX.Element;
109
109
  declare function MenubarShortcut({
110
110
  className,
111
111
  ...props
112
- }: TextProps): react_jsx_runtime119.JSX.Element;
112
+ }: TextProps): react_jsx_runtime42.JSX.Element;
113
113
  //#endregion
114
114
  export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "../-core/src/utils.js";
2
+ import { cn } from "../-core/dist/utils.js";
3
3
  import { TextClassContext } from "./text.js";
4
4
  import { Check } from "./icons/Check.js";
5
5
  import { ChevronRight } from "./icons/ChevronRight.js";
@@ -1,12 +1,10 @@
1
1
  import { Button } from "../../button.js";
2
- import { ChevronDown } from "../../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
3
- import { ChevronUp } from "../../../node_modules/lucide-react/dist/esm/icons/chevron-up.js";
4
- import { Funnel } from "../../../node_modules/lucide-react/dist/esm/icons/funnel.js";
5
2
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "../../collapsible.js";
6
3
  import { FilterSelect } from "../../atoms/FilterSelect/FilterSelect.js";
7
4
  import { SearchInput } from "../../atoms/SearchInput/SearchInput.js";
8
5
  import React, { useState } from "react";
9
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { ChevronDown, ChevronUp, Filter } from "lucide-react";
10
8
 
11
9
  //#region ui/molecules/SearchAndFilter/SearchAndFilter.tsx
12
10
  const SearchAndFilter = ({ searchValue, onSearchChange, searchPlaceholder, filters = [], isLoading = false, disabled = false, className = "", collapsible = true, defaultCollapsed = false }) => {
@@ -55,7 +53,7 @@ const SearchAndFilter = ({ searchValue, onSearchChange, searchPlaceholder, filte
55
53
  className: "sm:hidden",
56
54
  disabled: disabled || isLoading,
57
55
  children: [
58
- /* @__PURE__ */ jsx(Funnel, { className: "mr-2 h-4 w-4" }),
56
+ /* @__PURE__ */ jsx(Filter, { className: "mr-2 h-4 w-4" }),
59
57
  "Filtres",
60
58
  activeFiltersCount > 0 && /* @__PURE__ */ jsx("span", {
61
59
  className: "bg-primary text-primary-foreground ml-2 flex h-5 w-5 items-center justify-center rounded-full text-sm",
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime72 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime70 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/molecules/SkeletonList.d.ts
4
4
  interface Props {
@@ -10,6 +10,6 @@ declare function SkeletonList({
10
10
  count,
11
11
  className,
12
12
  itemClassName
13
- }: Props): react_jsx_runtime72.JSX.Element;
13
+ }: Props): react_jsx_runtime70.JSX.Element;
14
14
  //#endregion
15
15
  export { SkeletonList };
@@ -1,9 +1,9 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native10 from "react-native";
2
+ import * as react_native0 from "react-native";
3
3
  import { View } from "react-native";
4
- import * as react_jsx_runtime22 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
5
5
  import * as NavigationMenuPrimitive from "@rn-primitives/navigation-menu";
6
- import * as class_variance_authority_types2 from "class-variance-authority/types";
6
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
7
7
 
8
8
  //#region ui/navigation-menu.d.ts
9
9
  declare function NavigationMenu({
@@ -12,19 +12,19 @@ declare function NavigationMenu({
12
12
  ...props
13
13
  }: NavigationMenuPrimitive.RootProps & {
14
14
  ref?: React$1.RefObject<NavigationMenuPrimitive.RootRef>;
15
- }): react_jsx_runtime22.JSX.Element;
15
+ }): react_jsx_runtime17.JSX.Element;
16
16
  declare function NavigationMenuList({
17
17
  className,
18
18
  ...props
19
19
  }: NavigationMenuPrimitive.ListProps & {
20
20
  ref?: React$1.RefObject<NavigationMenuPrimitive.ListRef>;
21
- }): react_jsx_runtime22.JSX.Element;
22
- declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<react_native10.ViewProps & {
21
+ }): react_jsx_runtime17.JSX.Element;
22
+ declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<react_native0.ViewProps & {
23
23
  asChild?: boolean;
24
24
  } & {
25
25
  value: string | undefined;
26
26
  } & React$1.RefAttributes<View>>;
27
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types2.ClassProp | undefined) => string;
27
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types0.ClassProp | undefined) => string;
28
28
  declare function NavigationMenuTrigger({
29
29
  className,
30
30
  children,
@@ -32,7 +32,7 @@ declare function NavigationMenuTrigger({
32
32
  }: Omit<NavigationMenuPrimitive.TriggerProps, 'children'> & {
33
33
  children?: React$1.ReactNode;
34
34
  ref?: React$1.RefObject<NavigationMenuPrimitive.TriggerRef>;
35
- }): react_jsx_runtime22.JSX.Element;
35
+ }): react_jsx_runtime17.JSX.Element;
36
36
  declare function NavigationMenuContent({
37
37
  className,
38
38
  children,
@@ -41,8 +41,8 @@ declare function NavigationMenuContent({
41
41
  }: NavigationMenuPrimitive.ContentProps & {
42
42
  portalHost?: string;
43
43
  ref?: React$1.RefObject<NavigationMenuPrimitive.ContentRef>;
44
- }): react_jsx_runtime22.JSX.Element;
45
- declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<Omit<react_native10.PressableProps & React$1.RefAttributes<View>, "ref"> & {
44
+ }): react_jsx_runtime17.JSX.Element;
45
+ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<Omit<react_native0.PressableProps & React$1.RefAttributes<View>, "ref"> & {
46
46
  asChild?: boolean;
47
47
  } & {
48
48
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
@@ -55,13 +55,13 @@ declare function NavigationMenuViewport({
55
55
  ...props
56
56
  }: NavigationMenuPrimitive.ViewportProps & {
57
57
  ref?: React$1.RefObject<NavigationMenuPrimitive.ViewportRef>;
58
- }): react_jsx_runtime22.JSX.Element;
58
+ }): react_jsx_runtime17.JSX.Element;
59
59
  declare function NavigationMenuIndicator({
60
60
  ref,
61
61
  className,
62
62
  ...props
63
63
  }: NavigationMenuPrimitive.IndicatorProps & {
64
64
  ref?: React$1.RefObject<NavigationMenuPrimitive.IndicatorRef>;
65
- }): react_jsx_runtime22.JSX.Element;
65
+ }): react_jsx_runtime17.JSX.Element;
66
66
  //#endregion
67
67
  export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "../-core/src/utils.js";
2
+ import { cn } from "../-core/dist/utils.js";
3
3
  import "react";
4
4
  import { Platform, View } from "react-native";
5
5
  import Animated, { Extrapolation, FadeInLeft, FadeOutLeft, interpolate, useAnimatedStyle, useDerivedValue, withTiming } from "react-native-reanimated";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime56 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime65 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/organisms/ErrorBoundary/ErrorBoundary.d.ts
5
5
  interface ErrorBoundaryState {
@@ -22,7 +22,7 @@ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBou
22
22
  static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState>;
23
23
  componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
24
24
  resetError: () => void;
25
- render(): string | number | bigint | boolean | react_jsx_runtime56.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
25
+ render(): string | number | bigint | boolean | react_jsx_runtime65.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
26
26
  }
27
27
  declare const useErrorHandler: () => (error: Error) => never;
28
28
  //#endregion
@@ -1,11 +1,9 @@
1
1
  'use client';
2
2
 
3
3
  import { Button } from "../../button.js";
4
- import { House } from "../../../node_modules/lucide-react/dist/esm/icons/house.js";
5
- import { RefreshCw } from "../../../node_modules/lucide-react/dist/esm/icons/refresh-cw.js";
6
- import { TriangleAlert } from "../../../node_modules/lucide-react/dist/esm/icons/triangle-alert.js";
7
4
  import React from "react";
8
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { AlertTriangle, Home, RefreshCw } from "lucide-react";
9
7
 
10
8
  //#region ui/organisms/ErrorBoundary/ErrorBoundary.tsx
11
9
  const DefaultErrorFallback = ({ error, errorId, resetError }) => {
@@ -16,7 +14,7 @@ const DefaultErrorFallback = ({ error, errorId, resetError }) => {
16
14
  children: [
17
15
  /* @__PURE__ */ jsx("div", {
18
16
  className: "mb-4 flex justify-center",
19
- children: /* @__PURE__ */ jsx(TriangleAlert, { className: "h-12 w-12 text-red-500" })
17
+ children: /* @__PURE__ */ jsx(AlertTriangle, { className: "h-12 w-12 text-red-500" })
20
18
  }),
21
19
  /* @__PURE__ */ jsx("h1", {
22
20
  className: "mb-2 text-2xl font-semibold text-gray-900",
@@ -53,7 +51,7 @@ const DefaultErrorFallback = ({ error, errorId, resetError }) => {
53
51
  onPress: () => window.location.href = "/",
54
52
  variant: "secondary",
55
53
  className: "flex items-center gap-2",
56
- children: [/* @__PURE__ */ jsx(House, { className: "h-4 w-4" }), "Accueil"]
54
+ children: [/* @__PURE__ */ jsx(Home, { className: "h-4 w-4" }), "Accueil"]
57
55
  })]
58
56
  }),
59
57
  false
@@ -1,5 +1,5 @@
1
1
  import { ListPageProps } from "./types.js";
2
- import * as react_jsx_runtime158 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime69 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/organisms/ListPage/ListPage.d.ts
5
5
  declare function ListPage<T>({
@@ -23,6 +23,6 @@ declare function ListPage<T>({
23
23
  renderStats,
24
24
  className,
25
25
  itemClassName
26
- }: ListPageProps<T>): react_jsx_runtime158.JSX.Element;
26
+ }: ListPageProps<T>): react_jsx_runtime69.JSX.Element;
27
27
  //#endregion
28
28
  export { ListPage };
@@ -1,20 +1,15 @@
1
- import { __toESM } from "../../../_virtual/rolldown_runtime.js";
2
1
  import { Button } from "../../button.js";
3
- import { LoaderCircle } from "../../../node_modules/lucide-react/dist/esm/icons/loader-circle.js";
4
- import { Plus } from "../../../node_modules/lucide-react/dist/esm/icons/plus.js";
5
- import { RefreshCcw } from "../../../node_modules/lucide-react/dist/esm/icons/refresh-ccw.js";
6
- import { TriangleAlert } from "../../../node_modules/lucide-react/dist/esm/icons/triangle-alert.js";
7
2
  import { Card, CardContent } from "../../card.js";
8
3
  import { HStack, VStack } from "../../stack.js";
9
4
  import { Separator } from "../../separator.js";
10
5
  import { Pagination } from "../../atoms/Pagination/Pagination.js";
11
6
  import { SearchAndFilter } from "../../molecules/SearchAndFilter/SearchAndFilter.js";
12
- import { require_link } from "../../../node_modules/next/link.js";
13
7
  import React from "react";
14
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
+ import { AlertTriangle, Loader2, Plus, RefreshCcw } from "lucide-react";
10
+ import Link from "next/link";
15
11
 
16
12
  //#region ui/organisms/ListPage/ListPage.tsx
17
- var import_link = /* @__PURE__ */ __toESM(require_link());
18
13
  function ListPage({ title, description, header, items, totalItems, totalPages, isLoading, isFetching, error, listState, searchPlaceholder, filters = [], onRefresh, primaryAction, toolbar, renderItem, renderEmpty, renderStats, className = "", itemClassName = "" }) {
19
14
  const { searchQuery, setSearchQuery, filters: filterValues, setFilter, currentPage, itemsPerPage, setCurrentPage, setItemsPerPage } = listState;
20
15
  if (isLoading && !items.length) return /* @__PURE__ */ jsxs(VStack, {
@@ -32,7 +27,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
32
27
  className: "flex min-h-[400px] items-center justify-center",
33
28
  children: /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, {
34
29
  className: "flex items-center gap-4 p-6",
35
- children: [/* @__PURE__ */ jsx(LoaderCircle, { className: "text-primary h-8 w-8 animate-spin" }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
30
+ children: [/* @__PURE__ */ jsx(Loader2, { className: "text-primary h-8 w-8 animate-spin" }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
36
31
  className: "font-medium",
37
32
  children: "Chargement..."
38
33
  }), /* @__PURE__ */ jsx("p", {
@@ -58,7 +53,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
58
53
  children: /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, {
59
54
  className: "flex flex-col items-center gap-4 p-6 text-center",
60
55
  children: [
61
- /* @__PURE__ */ jsx(TriangleAlert, { className: "text-destructive h-12 w-12" }),
56
+ /* @__PURE__ */ jsx(AlertTriangle, { className: "text-destructive h-12 w-12" }),
62
57
  /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
63
58
  className: "font-medium",
64
59
  children: "Erreur de chargement"
@@ -106,7 +101,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
106
101
  toolbar,
107
102
  (isLoading || isFetching) && /* @__PURE__ */ jsxs("div", {
108
103
  className: "text-muted-foreground flex items-center gap-2 text-base",
109
- children: [/* @__PURE__ */ jsx(LoaderCircle, { className: "h-4 w-4 animate-spin" }), /* @__PURE__ */ jsx("span", {
104
+ children: [/* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }), /* @__PURE__ */ jsx("span", {
110
105
  className: "hidden sm:inline",
111
106
  children: "Mise à jour..."
112
107
  })]
@@ -122,7 +117,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
122
117
  children: "Rafraîchir"
123
118
  })]
124
119
  }),
125
- primaryAction && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(import_link.default, {
120
+ primaryAction && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(Link, {
126
121
  href: primaryAction.href,
127
122
  children: /* @__PURE__ */ jsxs(Button, { children: [
128
123
  primaryAction.icon || /* @__PURE__ */ jsx(Plus, { className: "mr-2 h-4 w-4" }),
@@ -174,7 +169,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
174
169
  className: "text-muted-foreground text-base",
175
170
  children: searchQuery || Object.values(filterValues).some((v) => v) ? "Essayez de modifier vos critères de recherche" : "Commencez par créer votre premier élément"
176
171
  })] }),
177
- primaryAction && !searchQuery && !Object.values(filterValues).some((v) => v) && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(import_link.default, {
172
+ primaryAction && !searchQuery && !Object.values(filterValues).some((v) => v) && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(Link, {
178
173
  href: primaryAction.href,
179
174
  children: /* @__PURE__ */ jsxs(Button, { children: [primaryAction.icon || /* @__PURE__ */ jsx(Plus, { className: "mr-2 h-4 w-4" }), primaryAction.label] })
180
175
  }) : /* @__PURE__ */ jsxs(Button, {
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime156 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types13 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types1 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/page-header.d.ts
7
7
  declare const headerVariants: (props?: ({
8
8
  spacing?: "sm" | "md" | "lg" | null | undefined;
9
- } & class_variance_authority_types13.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types1.ClassProp) | undefined) => string;
10
10
  interface PageHeaderProps extends VariantProps<typeof headerVariants> {
11
11
  breadcrumb?: React$1.ReactNode;
12
12
  title: React$1.ReactNode;
@@ -21,6 +21,6 @@ declare function PageHeader({
21
21
  actions,
22
22
  spacing,
23
23
  className
24
- }: PageHeaderProps): react_jsx_runtime156.JSX.Element;
24
+ }: PageHeaderProps): react_jsx_runtime23.JSX.Element;
25
25
  //#endregion
26
26
  export { PageHeader, PageHeaderProps };
@@ -1,4 +1,4 @@
1
- import { cn } from "../-core/src/utils.js";
1
+ import { cn } from "../-core/dist/utils.js";
2
2
  import { HStack, VStack } from "./stack.js";
3
3
  import { H1, P } from "./typography.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime28 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
2
2
  import * as z from "zod";
3
3
 
4
4
  //#region ui/password-strength.d.ts
@@ -15,6 +15,6 @@ interface PasswordStrengthProps {
15
15
  declare function PasswordStrength({
16
16
  password,
17
17
  showFeedback
18
- }: PasswordStrengthProps): react_jsx_runtime28.JSX.Element | null;
18
+ }: PasswordStrengthProps): react_jsx_runtime25.JSX.Element | null;
19
19
  //#endregion
20
20
  export { PasswordStrength, getPasswordStrength, passwordSchema };
@@ -1,12 +1,12 @@
1
1
  import { Text as Text$1 } from "./text.js";
2
2
  import { HStack, VStack } from "./stack.js";
3
- import { string } from "../node_modules/zod/v4/classic/schemas.js";
4
3
  import React from "react";
5
4
  import { View } from "react-native";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import * as z from "zod";
7
7
 
8
8
  //#region ui/password-strength.tsx
9
- const passwordSchema = string().min(8, "Password must be at least 8 characters").max(128, "Password is too long").regex(/(?=.*[a-z])/, "Password must contain at least one lowercase letter").regex(/(?=.*[A-Z])/, "Password must contain at least one uppercase letter").regex(/(?=.*\d)/, "Password must contain at least one number");
9
+ const passwordSchema = z.string().min(8, "Password must be at least 8 characters").max(128, "Password is too long").regex(/(?=.*[a-z])/, "Password must contain at least one lowercase letter").regex(/(?=.*[A-Z])/, "Password must contain at least one uppercase letter").regex(/(?=.*\d)/, "Password must contain at least one number");
10
10
  function getPasswordStrength(password) {
11
11
  const feedback = [];
12
12
  let score = 0;