@lssm/lib.ui-kit 1.11.1 → 1.41.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.
Files changed (244) hide show
  1. package/README.md +5 -0
  2. package/dist/-core/src/utils.js +10 -0
  3. package/dist/_virtual/rolldown_runtime.js +33 -0
  4. package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +34 -0
  5. package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js +118 -0
  6. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +14 -0
  7. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +35 -0
  8. package/dist/node_modules/lucide-react/dist/esm/Icon.js +25 -0
  9. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +24 -0
  10. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +21 -0
  11. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +17 -0
  12. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +17 -0
  13. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +17 -0
  14. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +17 -0
  15. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +20 -0
  16. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +20 -0
  17. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +33 -0
  18. package/dist/node_modules/lucide-react/dist/esm/icons/funnel.js +17 -0
  19. package/dist/node_modules/lucide-react/dist/esm/icons/house.js +20 -0
  20. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +17 -0
  21. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +20 -0
  22. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-ccw.js +31 -0
  23. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +31 -0
  24. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +22 -0
  25. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +27 -0
  26. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +20 -0
  27. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +22 -0
  28. package/dist/node_modules/next/dist/client/add-base-path.js +30 -0
  29. package/dist/node_modules/next/dist/client/add-locale.js +29 -0
  30. package/dist/node_modules/next/dist/client/detect-domain-locale.js +26 -0
  31. package/dist/node_modules/next/dist/client/get-domain-locale.js +41 -0
  32. package/dist/node_modules/next/dist/client/has-base-path.js +28 -0
  33. package/dist/node_modules/next/dist/client/link.js +311 -0
  34. package/dist/node_modules/next/dist/client/normalize-locale-path.js +30 -0
  35. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +34 -0
  36. package/dist/node_modules/next/dist/client/request-idle-callback.js +44 -0
  37. package/dist/node_modules/next/dist/client/resolve-href.js +86 -0
  38. package/dist/node_modules/next/dist/client/use-intersection.js +104 -0
  39. package/dist/node_modules/next/dist/client/use-merged-ref.js +56 -0
  40. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +372 -0
  41. package/dist/node_modules/next/dist/lib/constants.js +316 -0
  42. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +69 -0
  43. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +23 -0
  44. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +22 -0
  45. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +42 -0
  46. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +23 -0
  47. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +23 -0
  48. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +30 -0
  49. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +24 -0
  50. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +41 -0
  51. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +78 -0
  52. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +151 -0
  53. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +77 -0
  54. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -0
  55. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +92 -0
  56. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +41 -0
  57. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  58. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +31 -0
  59. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +24 -0
  60. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +33 -0
  61. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +36 -0
  62. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +24 -0
  63. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +56 -0
  64. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +26 -0
  65. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +94 -0
  66. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +46 -0
  67. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +203 -0
  68. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +167 -0
  69. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +20 -0
  70. package/dist/node_modules/next/dist/shared/lib/segment.js +80 -0
  71. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -0
  72. package/dist/node_modules/next/dist/shared/lib/utils.js +172 -0
  73. package/dist/node_modules/next/link.js +12 -0
  74. package/dist/node_modules/react-hook-form/dist/index.esm.js +2074 -0
  75. package/dist/node_modules/zod/v4/classic/errors.js +29 -0
  76. package/dist/node_modules/zod/v4/classic/iso.js +37 -0
  77. package/dist/node_modules/zod/v4/classic/parse.js +19 -0
  78. package/dist/node_modules/zod/v4/classic/schemas.js +418 -0
  79. package/dist/node_modules/zod/v4/core/api.js +404 -0
  80. package/dist/node_modules/zod/v4/core/checks.js +225 -0
  81. package/dist/node_modules/zod/v4/core/core.js +61 -0
  82. package/dist/node_modules/zod/v4/core/errors.js +62 -0
  83. package/dist/node_modules/zod/v4/core/json-schema-processors.js +148 -0
  84. package/dist/node_modules/zod/v4/core/parse.js +109 -0
  85. package/dist/node_modules/zod/v4/core/regexes.js +57 -0
  86. package/dist/node_modules/zod/v4/core/registries.js +52 -0
  87. package/dist/node_modules/zod/v4/core/schemas.js +744 -0
  88. package/dist/node_modules/zod/v4/core/to-json-schema.js +260 -0
  89. package/dist/node_modules/zod/v4/core/util.js +155 -0
  90. package/dist/node_modules/zod/v4/core/versions.js +9 -0
  91. package/dist/tsconfig.tsbuildinfo +1 -1
  92. package/dist/ui/accordion.js +1 -1
  93. package/dist/ui/alert-dialog.js +1 -1
  94. package/dist/ui/alert.js +1 -1
  95. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +3 -3
  96. package/dist/ui/atoms/Pagination/Pagination.js +4 -1
  97. package/dist/ui/atoms/SearchInput/SearchInput.js +2 -1
  98. package/dist/ui/avatar.js +1 -1
  99. package/dist/ui/badge.js +1 -1
  100. package/dist/ui/breadcrumb.js +4 -3
  101. package/dist/ui/button.js +1 -1
  102. package/dist/ui/card.js +1 -1
  103. package/dist/ui/checkbox.js +1 -1
  104. package/dist/ui/context-menu.js +1 -1
  105. package/dist/ui/date-picker.js +1 -1
  106. package/dist/ui/date-range-picker.js +1 -1
  107. package/dist/ui/dialog.js +1 -1
  108. package/dist/ui/dropdown-menu.js +1 -1
  109. package/dist/ui/empty-state.js +1 -1
  110. package/dist/ui/empty.js +1 -1
  111. package/dist/ui/fab.js +1 -1
  112. package/dist/ui/field.js +1 -1
  113. package/dist/ui/form.js +1 -1
  114. package/dist/ui/hover-card.js +1 -1
  115. package/dist/ui/input.js +1 -1
  116. package/dist/ui/label.js +1 -1
  117. package/dist/ui/link.js +1 -1
  118. package/dist/ui/marketing/Hero.js +1 -1
  119. package/dist/ui/marketing/PricingTable.js +1 -1
  120. package/dist/ui/menubar.js +1 -1
  121. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +4 -2
  122. package/dist/ui/nativewind-env.d.js +0 -0
  123. package/dist/ui/navigation-menu.js +1 -1
  124. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +5 -3
  125. package/dist/ui/organisms/ListPage/ListPage.js +12 -7
  126. package/dist/ui/page-header.js +1 -1
  127. package/dist/ui/popover.js +1 -1
  128. package/dist/ui/progress.js +1 -1
  129. package/dist/ui/radio-group.js +1 -1
  130. package/dist/ui/select.js +1 -1
  131. package/dist/ui/separator.js +1 -1
  132. package/dist/ui/skeleton.js +1 -1
  133. package/dist/ui/stack.js +1 -1
  134. package/dist/ui/stepper.js +1 -1
  135. package/dist/ui/switch.js +1 -1
  136. package/dist/ui/table.js +1 -1
  137. package/dist/ui/tabs.js +1 -1
  138. package/dist/ui/text.js +1 -1
  139. package/dist/ui/textarea.js +1 -1
  140. package/dist/ui/time-picker.js +1 -1
  141. package/dist/ui/toggle-group.js +1 -1
  142. package/dist/ui/toggle.js +1 -1
  143. package/dist/ui/tooltip.js +1 -1
  144. package/dist/ui/typography.js +1 -1
  145. package/package.json +204 -114
  146. package/dist/index.d.ts +0 -4
  147. package/dist/ui/accordion.d.ts +0 -35
  148. package/dist/ui/alert-dialog.d.ts +0 -71
  149. package/dist/ui/alert.d.ts +0 -36
  150. package/dist/ui/aspect-ratio.d.ts +0 -11
  151. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -7
  152. package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
  153. package/dist/ui/atoms/FilterSelect/types.d.ts +0 -18
  154. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -22
  155. package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
  156. package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -7
  157. package/dist/ui/atoms/Pagination/index.d.ts +0 -3
  158. package/dist/ui/atoms/Pagination/types.d.ts +0 -15
  159. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -7
  160. package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
  161. package/dist/ui/atoms/SearchInput/types.d.ts +0 -12
  162. package/dist/ui/avatar.d.ts +0 -27
  163. package/dist/ui/badge.d.ts +0 -21
  164. package/dist/ui/breadcrumb.d.ts +0 -38
  165. package/dist/ui/button.d.ts +0 -25
  166. package/dist/ui/card.d.ts +0 -43
  167. package/dist/ui/carousel.d.ts +0 -4
  168. package/dist/ui/checkbox.d.ts +0 -16
  169. package/dist/ui/collapsible.d.ts +0 -24
  170. package/dist/ui/command.d.ts +0 -4
  171. package/dist/ui/context-menu.d.ts +0 -109
  172. package/dist/ui/date-picker.d.ts +0 -23
  173. package/dist/ui/date-range-picker.d.ts +0 -30
  174. package/dist/ui/datetime-picker.d.ts +0 -27
  175. package/dist/ui/dialog.d.ts +0 -68
  176. package/dist/ui/dropdown-menu.d.ts +0 -111
  177. package/dist/ui/empty-state.d.ts +0 -28
  178. package/dist/ui/empty.d.ts +0 -36
  179. package/dist/ui/fab.d.ts +0 -35
  180. package/dist/ui/field.d.ts +0 -66
  181. package/dist/ui/form.d.ts +0 -49
  182. package/dist/ui/hover-card.d.ts +0 -29
  183. package/dist/ui/icons/Check.d.ts +0 -2
  184. package/dist/ui/icons/ChevronDown.d.ts +0 -2
  185. package/dist/ui/icons/ChevronRight.d.ts +0 -2
  186. package/dist/ui/icons/ChevronUp.d.ts +0 -2
  187. package/dist/ui/icons/CircleUser.d.ts +0 -2
  188. package/dist/ui/icons/Info.d.ts +0 -2
  189. package/dist/ui/icons/Key.d.ts +0 -2
  190. package/dist/ui/icons/MoonStar.d.ts +0 -2
  191. package/dist/ui/icons/Sun.d.ts +0 -2
  192. package/dist/ui/icons/X.d.ts +0 -2
  193. package/dist/ui/icons/iconWithClassName.d.ts +0 -6
  194. package/dist/ui/input.d.ts +0 -14
  195. package/dist/ui/label.d.ts +0 -15
  196. package/dist/ui/link.d.ts +0 -13
  197. package/dist/ui/loading-button.d.ts +0 -19
  198. package/dist/ui/loading-overlay.d.ts +0 -15
  199. package/dist/ui/loading-screen.d.ts +0 -13
  200. package/dist/ui/marketing/FeatureGrid.d.ts +0 -20
  201. package/dist/ui/marketing/Hero.d.ts +0 -27
  202. package/dist/ui/marketing/PricingTable.d.ts +0 -24
  203. package/dist/ui/marketing/index.d.ts +0 -4
  204. package/dist/ui/menubar.d.ts +0 -114
  205. package/dist/ui/molecules/Autocomplete/index.d.ts +0 -4
  206. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -7
  207. package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
  208. package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -24
  209. package/dist/ui/molecules/SkeletonList.d.ts +0 -15
  210. package/dist/ui/nativewind-env.d.ts +0 -1
  211. package/dist/ui/navigation-menu.d.ts +0 -67
  212. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -29
  213. package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
  214. package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -28
  215. package/dist/ui/organisms/ListPage/index.d.ts +0 -3
  216. package/dist/ui/organisms/ListPage/types.d.ts +0 -41
  217. package/dist/ui/page-header.d.ts +0 -26
  218. package/dist/ui/password-strength.d.ts +0 -20
  219. package/dist/ui/popover.d.ts +0 -29
  220. package/dist/ui/progress.d.ts +0 -16
  221. package/dist/ui/radio-group.d.ts +0 -14
  222. package/dist/ui/select.d.ts +0 -83
  223. package/dist/ui/separator.d.ts +0 -15
  224. package/dist/ui/sheet.d.ts +0 -4
  225. package/dist/ui/sidebar.d.ts +0 -4
  226. package/dist/ui/skeleton.d.ts +0 -11
  227. package/dist/ui/stack.d.ts +0 -76
  228. package/dist/ui/stepper.d.ts +0 -22
  229. package/dist/ui/switch.d.ts +0 -14
  230. package/dist/ui/table.d.ts +0 -50
  231. package/dist/ui/tabs.d.ts +0 -32
  232. package/dist/ui/text.d.ts +0 -20
  233. package/dist/ui/textarea.d.ts +0 -9
  234. package/dist/ui/time-picker.d.ts +0 -21
  235. package/dist/ui/toggle-group.d.ts +0 -35
  236. package/dist/ui/toggle.d.ts +0 -33
  237. package/dist/ui/tooltip.d.ts +0 -31
  238. package/dist/ui/typography.d.ts +0 -64
  239. package/dist/ui/useColorScheme.d.ts +0 -11
  240. package/dist/ui/useListState.d.ts +0 -33
  241. package/dist/ui/usecases/UseCaseCard.d.ts +0 -18
  242. package/dist/ui/usecases/UserStoryCard.d.ts +0 -14
  243. package/dist/ui/usecases/index.d.ts +0 -3
  244. package/dist/ui/utils.d.ts +0 -6
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "./utils.js";
2
+ import { cn } from "../-core/src/utils.js";
3
3
  import { TextClassContext } from "./text.js";
4
4
  import * as AccordionPrimitive from "@rn-primitives/accordion";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import { buttonTextVariants, buttonVariants } from "./button.js";
4
4
  import "react";
package/dist/ui/alert.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { Text as Text$1 } from "./text.js";
3
3
  import "react";
4
4
  import { View } from "react-native";
@@ -1,9 +1,9 @@
1
- import { cn } from "../../utils.js";
1
+ import { LoaderCircle } from "../../../node_modules/lucide-react/dist/esm/icons/loader-circle.js";
2
2
  import { P } from "../../typography.js";
3
+ import { cn } from "../../utils.js";
3
4
  import React from "react";
4
5
  import { View } from "react-native";
5
6
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import { Loader2 } from "lucide-react";
7
7
 
8
8
  //#region ui/atoms/LoadingSpinner/LoadingSpinner.tsx
9
9
  const sizeClasses = {
@@ -15,7 +15,7 @@ const sizeClasses = {
15
15
  const LoadingSpinner = ({ size = "md", className, text, fullScreen = false }) => {
16
16
  const spinner = /* @__PURE__ */ jsxs(View, {
17
17
  className: cn("flex flex-col items-center justify-center gap-2", className),
18
- children: [/* @__PURE__ */ jsx(Loader2, { className: cn("text-primary-600 animate-spin", sizeClasses[size]) }), text && /* @__PURE__ */ jsx(P, {
18
+ children: [/* @__PURE__ */ jsx(LoaderCircle, { className: cn("text-primary-600 animate-spin", sizeClasses[size]) }), text && /* @__PURE__ */ jsx(P, {
19
19
  className: "animate-pulse text-base text-gray-600",
20
20
  children: text
21
21
  })]
@@ -1,10 +1,13 @@
1
1
  import { Text as Text$1 } from "../../text.js";
2
2
  import { Button } from "../../button.js";
3
+ import { ChevronLeft } from "../../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
4
+ import { ChevronRight } from "../../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
5
+ import { ChevronsLeft } from "../../../node_modules/lucide-react/dist/esm/icons/chevrons-left.js";
6
+ import { ChevronsRight } from "../../../node_modules/lucide-react/dist/esm/icons/chevrons-right.js";
3
7
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../../select.js";
4
8
  import React from "react";
5
9
  import { View } from "react-native";
6
10
  import { jsx, jsxs } from "react/jsx-runtime";
7
- import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react";
8
11
 
9
12
  //#region ui/atoms/Pagination/Pagination.tsx
10
13
  const Pagination = ({ currentPage, totalPages, totalItems, itemsPerPage, onPageChange, onItemsPerPageChange, disabled = false, className = "", showItemsPerPage = true, itemsPerPageOptions = [
@@ -1,10 +1,11 @@
1
1
  import { Text as Text$1 } from "../../text.js";
2
2
  import { Button } from "../../button.js";
3
+ import { Search } from "../../../node_modules/lucide-react/dist/esm/icons/search.js";
4
+ import { X } from "../../../node_modules/lucide-react/dist/esm/icons/x.js";
3
5
  import { Input } from "../../input.js";
4
6
  import React from "react";
5
7
  import { View } from "react-native";
6
8
  import { jsx, jsxs } from "react/jsx-runtime";
7
- import { Search, X } from "lucide-react";
8
9
 
9
10
  //#region ui/atoms/SearchInput/SearchInput.tsx
10
11
  const SearchInput = ({ value, onChange, placeholder = "Rechercher...", onClear, disabled = false, className = "", autoFocus = false }) => {
package/dist/ui/avatar.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as AvatarPrimitive from "@rn-primitives/avatar";
package/dist/ui/badge.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import "react";
3
3
  import { View } from "react-native";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,9 +1,10 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
+ import { ChevronRight } from "../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
3
+ import { Ellipsis } from "../node_modules/lucide-react/dist/esm/icons/ellipsis.js";
2
4
  import "react";
3
5
  import { Text, View } from "react-native";
4
6
  import "@rn-primitives/slot";
5
7
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import { ChevronRight, MoreHorizontal } from "lucide-react";
7
8
 
8
9
  //#region ui/breadcrumb.tsx
9
10
  function Breadcrumb({ ...props }) {
@@ -61,7 +62,7 @@ function BreadcrumbEllipsis({ className, ...props }) {
61
62
  "aria-hidden": true,
62
63
  className: cn("flex size-9 items-center justify-center", className),
63
64
  ...props,
64
- children: [/* @__PURE__ */ jsx(MoreHorizontal, { className: "size-4" }), /* @__PURE__ */ jsx(View, {
65
+ children: [/* @__PURE__ */ jsx(Ellipsis, { className: "size-4" }), /* @__PURE__ */ jsx(View, {
65
66
  className: "sr-only",
66
67
  children: /* @__PURE__ */ jsx(Text, { children: "More" })
67
68
  })]
package/dist/ui/button.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import "react";
4
4
  import { Pressable } from "react-native";
package/dist/ui/card.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import "react";
4
4
  import { Text, View } from "react-native";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import * as React$1 from "react";
3
3
  import { Check } from "lucide-react-native";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "./utils.js";
2
+ import { cn } from "../-core/src/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,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { Text as Text$1 } from "./text.js";
3
3
  import React, { useMemo, useState } from "react";
4
4
  import { Platform, Pressable, View } from "react-native";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { Text as Text$1 } from "./text.js";
3
3
  import { HStack, VStack } from "./stack.js";
4
4
  import React, { useMemo, useState } from "react";
package/dist/ui/dialog.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { X } from "./icons/X.js";
3
3
  import "react";
4
4
  import { Platform, StyleSheet, View } from "react-native";
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "./utils.js";
2
+ import { cn } from "../-core/src/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,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { Text as Text$1 } from "./text.js";
3
3
  import { VStack } from "./stack.js";
4
4
  import { H3 } from "./typography.js";
package/dist/ui/empty.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { View } from "react-native";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { cva } from "class-variance-authority";
package/dist/ui/fab.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import React, { useState } from "react";
3
3
  import { Pressable, StyleSheet, View } from "react-native";
4
4
  import Animated, { useAnimatedStyle, withSpring, withTiming } from "react-native-reanimated";
package/dist/ui/field.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { cn } from "./utils.js";
3
+ import { cn } from "../-core/src/utils.js";
4
4
  import { Box, VStack } from "./stack.js";
5
5
  import { P } from "./typography.js";
6
6
  import { Label } from "./label.js";
package/dist/ui/form.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import { cn } from "./utils.js";
3
+ import { cn } from "../-core/src/utils.js";
4
4
  import { Label } from "./label.js";
5
5
  import { Controller, FormProvider, useFieldArray, useForm, useFormContext, useFormState } from "../node_modules/react-hook-form/dist/index.esm.js";
6
6
  import { a } from "../node_modules/@hookform/resolvers/zod/dist/zod.js";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import "react";
4
4
  import { Platform, StyleSheet } from "react-native";
package/dist/ui/input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import "react";
3
3
  import { TextInput } from "react-native";
4
4
  import { jsx } from "react/jsx-runtime";
package/dist/ui/label.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/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,5 +1,5 @@
1
- import { cn } from "../utils.js";
2
1
  import { Button } from "../button.js";
2
+ import { cn } from "../utils.js";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Link } from "expo-router";
@@ -1,5 +1,5 @@
1
- import { cn } from "../utils.js";
2
1
  import { Button } from "../button.js";
2
+ import { cn } from "../utils.js";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Link } from "expo-router";
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "./utils.js";
2
+ import { cn } from "../-core/src/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,10 +1,12 @@
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";
2
5
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "../../collapsible.js";
3
6
  import { FilterSelect } from "../../atoms/FilterSelect/FilterSelect.js";
4
7
  import { SearchInput } from "../../atoms/SearchInput/SearchInput.js";
5
8
  import React, { useState } from "react";
6
9
  import { jsx, jsxs } from "react/jsx-runtime";
7
- import { ChevronDown, ChevronUp, Filter } from "lucide-react";
8
10
 
9
11
  //#region ui/molecules/SearchAndFilter/SearchAndFilter.tsx
10
12
  const SearchAndFilter = ({ searchValue, onSearchChange, searchPlaceholder, filters = [], isLoading = false, disabled = false, className = "", collapsible = true, defaultCollapsed = false }) => {
@@ -53,7 +55,7 @@ const SearchAndFilter = ({ searchValue, onSearchChange, searchPlaceholder, filte
53
55
  className: "sm:hidden",
54
56
  disabled: disabled || isLoading,
55
57
  children: [
56
- /* @__PURE__ */ jsx(Filter, { className: "mr-2 h-4 w-4" }),
58
+ /* @__PURE__ */ jsx(Funnel, { className: "mr-2 h-4 w-4" }),
57
59
  "Filtres",
58
60
  activeFiltersCount > 0 && /* @__PURE__ */ jsx("span", {
59
61
  className: "bg-primary text-primary-foreground ml-2 flex h-5 w-5 items-center justify-center rounded-full text-sm",
File without changes
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "./utils.js";
2
+ import { cn } from "../-core/src/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,9 +1,11 @@
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";
4
7
  import React from "react";
5
8
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import { AlertTriangle, Home, RefreshCw } from "lucide-react";
7
9
 
8
10
  //#region ui/organisms/ErrorBoundary/ErrorBoundary.tsx
9
11
  const DefaultErrorFallback = ({ error, errorId, resetError }) => {
@@ -14,7 +16,7 @@ const DefaultErrorFallback = ({ error, errorId, resetError }) => {
14
16
  children: [
15
17
  /* @__PURE__ */ jsx("div", {
16
18
  className: "mb-4 flex justify-center",
17
- children: /* @__PURE__ */ jsx(AlertTriangle, { className: "h-12 w-12 text-red-500" })
19
+ children: /* @__PURE__ */ jsx(TriangleAlert, { className: "h-12 w-12 text-red-500" })
18
20
  }),
19
21
  /* @__PURE__ */ jsx("h1", {
20
22
  className: "mb-2 text-2xl font-semibold text-gray-900",
@@ -51,7 +53,7 @@ const DefaultErrorFallback = ({ error, errorId, resetError }) => {
51
53
  onPress: () => window.location.href = "/",
52
54
  variant: "secondary",
53
55
  className: "flex items-center gap-2",
54
- children: [/* @__PURE__ */ jsx(Home, { className: "h-4 w-4" }), "Accueil"]
56
+ children: [/* @__PURE__ */ jsx(House, { className: "h-4 w-4" }), "Accueil"]
55
57
  })]
56
58
  }),
57
59
  false
@@ -1,15 +1,20 @@
1
+ import { __toESM } from "../../../_virtual/rolldown_runtime.js";
1
2
  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";
2
7
  import { Card, CardContent } from "../../card.js";
3
8
  import { HStack, VStack } from "../../stack.js";
4
9
  import { Separator } from "../../separator.js";
5
10
  import { Pagination } from "../../atoms/Pagination/Pagination.js";
11
+ import { require_link } from "../../../node_modules/next/link.js";
6
12
  import { SearchAndFilter } from "../../molecules/SearchAndFilter/SearchAndFilter.js";
7
13
  import React from "react";
8
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
- import { AlertTriangle, Loader2, Plus, RefreshCcw } from "lucide-react";
10
- import Link from "next/link";
11
15
 
12
16
  //#region ui/organisms/ListPage/ListPage.tsx
17
+ var import_link = /* @__PURE__ */ __toESM(require_link());
13
18
  function ListPage({ title, description, header, items, totalItems, totalPages, isLoading, isFetching, error, listState, searchPlaceholder, filters = [], onRefresh, primaryAction, toolbar, renderItem, renderEmpty, renderStats, className = "", itemClassName = "" }) {
14
19
  const { searchQuery, setSearchQuery, filters: filterValues, setFilter, currentPage, itemsPerPage, setCurrentPage, setItemsPerPage } = listState;
15
20
  if (isLoading && !items.length) return /* @__PURE__ */ jsxs(VStack, {
@@ -27,7 +32,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
27
32
  className: "flex min-h-[400px] items-center justify-center",
28
33
  children: /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, {
29
34
  className: "flex items-center gap-4 p-6",
30
- children: [/* @__PURE__ */ jsx(Loader2, { className: "text-primary h-8 w-8 animate-spin" }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
35
+ children: [/* @__PURE__ */ jsx(LoaderCircle, { className: "text-primary h-8 w-8 animate-spin" }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
31
36
  className: "font-medium",
32
37
  children: "Chargement..."
33
38
  }), /* @__PURE__ */ jsx("p", {
@@ -53,7 +58,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
53
58
  children: /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, {
54
59
  className: "flex flex-col items-center gap-4 p-6 text-center",
55
60
  children: [
56
- /* @__PURE__ */ jsx(AlertTriangle, { className: "text-destructive h-12 w-12" }),
61
+ /* @__PURE__ */ jsx(TriangleAlert, { className: "text-destructive h-12 w-12" }),
57
62
  /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
58
63
  className: "font-medium",
59
64
  children: "Erreur de chargement"
@@ -101,7 +106,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
101
106
  toolbar,
102
107
  (isLoading || isFetching) && /* @__PURE__ */ jsxs("div", {
103
108
  className: "text-muted-foreground flex items-center gap-2 text-base",
104
- children: [/* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }), /* @__PURE__ */ jsx("span", {
109
+ children: [/* @__PURE__ */ jsx(LoaderCircle, { className: "h-4 w-4 animate-spin" }), /* @__PURE__ */ jsx("span", {
105
110
  className: "hidden sm:inline",
106
111
  children: "Mise à jour..."
107
112
  })]
@@ -117,7 +122,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
117
122
  children: "Rafraîchir"
118
123
  })]
119
124
  }),
120
- primaryAction && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(Link, {
125
+ primaryAction && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(import_link.default, {
121
126
  href: primaryAction.href,
122
127
  children: /* @__PURE__ */ jsxs(Button, { children: [
123
128
  primaryAction.icon || /* @__PURE__ */ jsx(Plus, { className: "mr-2 h-4 w-4" }),
@@ -169,7 +174,7 @@ function ListPage({ title, description, header, items, totalItems, totalPages, i
169
174
  className: "text-muted-foreground text-base",
170
175
  children: searchQuery || Object.values(filterValues).some((v) => v) ? "Essayez de modifier vos critères de recherche" : "Commencez par créer votre premier élément"
171
176
  })] }),
172
- primaryAction && !searchQuery && !Object.values(filterValues).some((v) => v) && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(Link, {
177
+ primaryAction && !searchQuery && !Object.values(filterValues).some((v) => v) && /* @__PURE__ */ jsx(Fragment, { children: primaryAction.href ? /* @__PURE__ */ jsx(import_link.default, {
173
178
  href: primaryAction.href,
174
179
  children: /* @__PURE__ */ jsxs(Button, { children: [primaryAction.icon || /* @__PURE__ */ jsx(Plus, { className: "mr-2 h-4 w-4" }), primaryAction.label] })
175
180
  }) : /* @__PURE__ */ jsxs(Button, {
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/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 { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import { Platform, StyleSheet } from "react-native";
4
4
  import Animated, { FadeIn, FadeOut } from "react-native-reanimated";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import "react";
3
3
  import { Platform, View } from "react-native";
4
4
  import Animated, { Extrapolation, interpolate, useAnimatedStyle, useDerivedValue, withSpring } from "react-native-reanimated";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { Platform } from "react-native";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as RadioGroupPrimitive from "@rn-primitives/radio-group";
package/dist/ui/select.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ChevronDown } from "./icons/ChevronDown.js";
2
- import { cn } from "./utils.js";
2
+ import { cn } from "../-core/src/utils.js";
3
3
  import { Check } from "./icons/Check.js";
4
4
  import { ChevronUp } from "./icons/ChevronUp.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as SeparatorPrimitive from "@rn-primitives/separator";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import * as React$1 from "react";
3
3
  import { View } from "react-native";
4
4
  import Animated, { useAnimatedStyle, useSharedValue, withRepeat, withSequence, withTiming } from "react-native-reanimated";
package/dist/ui/stack.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import "react";
3
3
  import { View } from "react-native";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { HStack } from "./stack.js";
3
3
  import "react";
4
4
  import { View } from "react-native";
package/dist/ui/switch.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { useColorScheme } from "./useColorScheme.js";
3
3
  import "react";
4
4
  import { Platform } from "react-native";
package/dist/ui/table.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
package/dist/ui/tabs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import * as React$1 from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as TabsPrimitive from "@rn-primitives/tabs";
package/dist/ui/text.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import * as React$1 from "react";
3
3
  import { Text as Text$1 } from "react-native";
4
4
  import * as Slot from "@rn-primitives/slot";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import * as React$1 from "react";
3
3
  import { TextInput } from "react-native";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { Text as Text$1 } from "./text.js";
3
3
  import React, { useMemo, useState } from "react";
4
4
  import { Platform, Pressable, View } from "react-native";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import { toggleTextVariants, toggleVariants } from "./toggle.js";
4
4
  import * as React$1 from "react";
package/dist/ui/toggle.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import * as React$1 from "react";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { TextClassContext } from "./text.js";
3
3
  import "react";
4
4
  import { Platform, StyleSheet } from "react-native";
@@ -1,4 +1,4 @@
1
- import { cn } from "./utils.js";
1
+ import { cn } from "../-core/src/utils.js";
2
2
  import { Text as Text$1 } from "./text.js";
3
3
  import "react";
4
4
  import { Platform } from "react-native";