@lssm/lib.ui-kit 1.7.3 → 1.9.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 (183) hide show
  1. package/README.md +82 -0
  2. package/dist/node_modules/react-hook-form/dist/index.esm.js +27 -16
  3. package/dist/node_modules/react-hook-form/dist/index.esm.js.map +1 -1
  4. package/dist/node_modules/zod/v4/core/core.js +0 -1
  5. package/dist/node_modules/zod/v4/core/core.js.map +1 -1
  6. package/dist/node_modules/zod/v4/core/registries.js +0 -2
  7. package/dist/node_modules/zod/v4/core/registries.js.map +1 -1
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/dist/ui/accordion.d.ts +5 -5
  10. package/dist/ui/accordion.js +4 -4
  11. package/dist/ui/accordion.js.map +1 -1
  12. package/dist/ui/alert-dialog.d.ts +11 -11
  13. package/dist/ui/alert-dialog.js +9 -9
  14. package/dist/ui/alert-dialog.js.map +1 -1
  15. package/dist/ui/alert.d.ts +4 -4
  16. package/dist/ui/alert.d.ts.map +1 -1
  17. package/dist/ui/alert.js +3 -3
  18. package/dist/ui/alert.js.map +1 -1
  19. package/dist/ui/aspect-ratio.d.ts +5 -5
  20. package/dist/ui/aspect-ratio.d.ts.map +1 -1
  21. package/dist/ui/avatar.d.ts +4 -4
  22. package/dist/ui/avatar.d.ts.map +1 -1
  23. package/dist/ui/avatar.js +3 -3
  24. package/dist/ui/avatar.js.map +1 -1
  25. package/dist/ui/badge.d.ts +3 -3
  26. package/dist/ui/badge.js +1 -1
  27. package/dist/ui/badge.js.map +1 -1
  28. package/dist/ui/breadcrumb.d.ts +8 -8
  29. package/dist/ui/breadcrumb.js +6 -6
  30. package/dist/ui/breadcrumb.js.map +1 -1
  31. package/dist/ui/button.d.ts +4 -4
  32. package/dist/ui/button.d.ts.map +1 -1
  33. package/dist/ui/button.js +1 -1
  34. package/dist/ui/button.js.map +1 -1
  35. package/dist/ui/card.d.ts +7 -7
  36. package/dist/ui/card.js +6 -6
  37. package/dist/ui/card.js.map +1 -1
  38. package/dist/ui/checkbox.d.ts +3 -3
  39. package/dist/ui/checkbox.d.ts.map +1 -1
  40. package/dist/ui/checkbox.js +1 -1
  41. package/dist/ui/checkbox.js.map +1 -1
  42. package/dist/ui/collapsible.d.ts +8 -8
  43. package/dist/ui/context-menu.d.ts +16 -16
  44. package/dist/ui/context-menu.d.ts.map +1 -1
  45. package/dist/ui/context-menu.js +9 -9
  46. package/dist/ui/context-menu.js.map +1 -1
  47. package/dist/ui/date-picker.d.ts +2 -2
  48. package/dist/ui/date-range-picker.d.ts +2 -2
  49. package/dist/ui/datetime-picker.d.ts +2 -2
  50. package/dist/ui/datetime-picker.d.ts.map +1 -1
  51. package/dist/ui/dialog.d.ts +10 -10
  52. package/dist/ui/dialog.js +7 -7
  53. package/dist/ui/dialog.js.map +1 -1
  54. package/dist/ui/dropdown-menu.d.ts +16 -16
  55. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  56. package/dist/ui/dropdown-menu.js +9 -9
  57. package/dist/ui/dropdown-menu.js.map +1 -1
  58. package/dist/ui/empty-state.d.ts +4 -4
  59. package/dist/ui/empty-state.d.ts.map +1 -1
  60. package/dist/ui/empty.d.ts +9 -9
  61. package/dist/ui/empty.d.ts.map +1 -1
  62. package/dist/ui/empty.js +6 -6
  63. package/dist/ui/empty.js.map +1 -1
  64. package/dist/ui/fab.d.ts +3 -3
  65. package/dist/ui/field.d.ts +14 -14
  66. package/dist/ui/field.d.ts.map +1 -1
  67. package/dist/ui/field.js +10 -11
  68. package/dist/ui/field.js.map +1 -1
  69. package/dist/ui/form.d.ts +7 -7
  70. package/dist/ui/form.d.ts.map +1 -1
  71. package/dist/ui/form.js +5 -6
  72. package/dist/ui/form.js.map +1 -1
  73. package/dist/ui/hover-card.d.ts +6 -6
  74. package/dist/ui/hover-card.d.ts.map +1 -1
  75. package/dist/ui/hover-card.js +1 -1
  76. package/dist/ui/hover-card.js.map +1 -1
  77. package/dist/ui/input.d.ts +2 -2
  78. package/dist/ui/input.d.ts.map +1 -1
  79. package/dist/ui/input.js +1 -1
  80. package/dist/ui/input.js.map +1 -1
  81. package/dist/ui/label.d.ts +2 -2
  82. package/dist/ui/label.d.ts.map +1 -1
  83. package/dist/ui/label.js +1 -1
  84. package/dist/ui/label.js.map +1 -1
  85. package/dist/ui/link.d.ts +2 -2
  86. package/dist/ui/link.d.ts.map +1 -1
  87. package/dist/ui/link.js +1 -1
  88. package/dist/ui/link.js.map +1 -1
  89. package/dist/ui/loading-button.d.ts +2 -2
  90. package/dist/ui/loading-button.d.ts.map +1 -1
  91. package/dist/ui/loading-button.js +1 -1
  92. package/dist/ui/loading-button.js.map +1 -1
  93. package/dist/ui/loading-overlay.d.ts +2 -2
  94. package/dist/ui/loading-overlay.d.ts.map +1 -1
  95. package/dist/ui/loading-screen.d.ts +2 -2
  96. package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
  97. package/dist/ui/marketing/Hero.d.ts +2 -2
  98. package/dist/ui/marketing/PricingTable.d.ts +2 -2
  99. package/dist/ui/menubar.d.ts +17 -17
  100. package/dist/ui/menubar.d.ts.map +1 -1
  101. package/dist/ui/menubar.js +11 -11
  102. package/dist/ui/menubar.js.map +1 -1
  103. package/dist/ui/molecules/SkeletonList.d.ts +2 -2
  104. package/dist/ui/navigation-menu.d.ts +10 -10
  105. package/dist/ui/navigation-menu.js +6 -6
  106. package/dist/ui/navigation-menu.js.map +1 -1
  107. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
  108. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  109. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +0 -1
  110. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +1 -1
  111. package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
  112. package/dist/ui/organisms/ListPage/ListPage.d.ts.map +1 -1
  113. package/dist/ui/page-header.d.ts +4 -4
  114. package/dist/ui/page-header.d.ts.map +1 -1
  115. package/dist/ui/password-strength.d.ts +2 -2
  116. package/dist/ui/password-strength.d.ts.map +1 -1
  117. package/dist/ui/popover.d.ts +8 -8
  118. package/dist/ui/popover.d.ts.map +1 -1
  119. package/dist/ui/popover.js +1 -1
  120. package/dist/ui/popover.js.map +1 -1
  121. package/dist/ui/progress.d.ts +2 -2
  122. package/dist/ui/progress.d.ts.map +1 -1
  123. package/dist/ui/progress.js +1 -1
  124. package/dist/ui/progress.js.map +1 -1
  125. package/dist/ui/radio-group.d.ts +3 -3
  126. package/dist/ui/radio-group.js +2 -2
  127. package/dist/ui/radio-group.js.map +1 -1
  128. package/dist/ui/select.d.ts +13 -13
  129. package/dist/ui/select.d.ts.map +1 -1
  130. package/dist/ui/select.js +7 -7
  131. package/dist/ui/select.js.map +1 -1
  132. package/dist/ui/separator.d.ts +2 -2
  133. package/dist/ui/separator.d.ts.map +1 -1
  134. package/dist/ui/separator.js +1 -1
  135. package/dist/ui/separator.js.map +1 -1
  136. package/dist/ui/skeleton.d.ts +2 -2
  137. package/dist/ui/skeleton.js +1 -1
  138. package/dist/ui/skeleton.js.map +1 -1
  139. package/dist/ui/stack.d.ts +17 -17
  140. package/dist/ui/stack.d.ts.map +1 -1
  141. package/dist/ui/stack.js +3 -3
  142. package/dist/ui/stack.js.map +1 -1
  143. package/dist/ui/stepper.d.ts +4 -4
  144. package/dist/ui/stepper.d.ts.map +1 -1
  145. package/dist/ui/switch.d.ts +2 -2
  146. package/dist/ui/switch.js +2 -2
  147. package/dist/ui/switch.js.map +1 -1
  148. package/dist/ui/table.d.ts +8 -8
  149. package/dist/ui/table.js +7 -7
  150. package/dist/ui/table.js.map +1 -1
  151. package/dist/ui/tabs.d.ts +11 -11
  152. package/dist/ui/tabs.js +3 -3
  153. package/dist/ui/tabs.js.map +1 -1
  154. package/dist/ui/text.d.ts +2 -2
  155. package/dist/ui/text.d.ts.map +1 -1
  156. package/dist/ui/text.js +1 -1
  157. package/dist/ui/text.js.map +1 -1
  158. package/dist/ui/textarea.js +1 -1
  159. package/dist/ui/textarea.js.map +1 -1
  160. package/dist/ui/time-picker.d.ts +2 -2
  161. package/dist/ui/time-picker.d.ts.map +1 -1
  162. package/dist/ui/toggle-group.d.ts +4 -4
  163. package/dist/ui/toggle-group.d.ts.map +1 -1
  164. package/dist/ui/toggle-group.js +3 -3
  165. package/dist/ui/toggle-group.js.map +1 -1
  166. package/dist/ui/toggle.d.ts +6 -6
  167. package/dist/ui/toggle.d.ts.map +1 -1
  168. package/dist/ui/toggle.js +2 -2
  169. package/dist/ui/toggle.js.map +1 -1
  170. package/dist/ui/tooltip.d.ts +6 -6
  171. package/dist/ui/tooltip.d.ts.map +1 -1
  172. package/dist/ui/tooltip.js +1 -1
  173. package/dist/ui/tooltip.js.map +1 -1
  174. package/dist/ui/typography.d.ts +12 -12
  175. package/dist/ui/typography.d.ts.map +1 -1
  176. package/dist/ui/typography.js +11 -11
  177. package/dist/ui/typography.js.map +1 -1
  178. package/dist/ui/useColorScheme.d.ts +2 -2
  179. package/dist/ui/useColorScheme.d.ts.map +1 -1
  180. package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
  181. package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
  182. package/dist/ui/usecases/UserStoryCard.d.ts.map +1 -1
  183. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.js","names":[],"sources":["../../ui/breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as Slot from '@rn-primitives/slot';\nimport { ChevronRight, MoreHorizontal } from 'lucide-react';\nimport { Text, View, type ViewProps } from 'react-native';\n\nimport { cn } from './utils';\n\nfunction Breadcrumb({ ...props }: React.ComponentProps<'nav'>) {\n return <nav aria-label=\"breadcrumb\" data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-list\"\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbItem({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-item\"\n className={cn('inline-flex items-center gap-1.5', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbLink({\n asChild,\n className,\n ...props\n}: React.ComponentProps<typeof View> & {\n asChild?: boolean;\n}) {\n // const Comp = asChild ? Slot : View;\n\n return (\n <View\n data-slot=\"breadcrumb-link\"\n className={cn('hover:text-foreground transition-colors', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbPage({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-page\"\n role=\"link\"\n aria-disabled\n aria-current=\"page\"\n className={cn('text-foreground font-normal', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n role=\"presentation\"\n data-slot=\"breadcrumb-separator\"\n aria-hidden\n className={cn('[&>svg]:size-3.5', className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </View>\n );\n}\n\nfunction BreadcrumbEllipsis({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-ellipsis\"\n role=\"presentation\"\n aria-hidden\n className={cn('flex size-9 items-center justify-center', className)}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <View className=\"sr-only\">\n <Text>More</Text>\n </View>\n </View>\n );\n}\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n};\n"],"mappings":";;;;;;;;AAOA,SAAS,WAAW,EAAE,GAAG,SAAsC;AAC7D,QAAO,oBAAC;EAAI,cAAW;EAAa,aAAU;EAAa,GAAI;GAAS;;AAG1E,SAAS,eAAe,EACtB,UACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,4FACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,UACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,SACA,UACA,GAAG,SAGF;AAGD,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,UACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL;EACA,gBAAa;EACb,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAC3B,UACA,UACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,MAAK;EACL,aAAU;EACV;EACA,WAAW,GAAG,oBAAoB,UAAU;EAC5C,GAAI;YAEH,YAAY,oBAAC,iBAAe;GACxB;;AAIX,SAAS,mBAAmB,EAC1B,UACA,GAAG,SACiC;AACpC,QACE,qBAAC;EACC,aAAU;EACV,MAAK;EACL;EACA,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;aAEJ,oBAAC,kBAAe,WAAU,WAAW,EACrC,oBAAC;GAAK,WAAU;aACd,oBAAC,kBAAK,SAAW;IACZ;GACF"}
1
+ {"version":3,"file":"breadcrumb.js","names":[],"sources":["../../ui/breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as Slot from '@rn-primitives/slot';\nimport { ChevronRight, MoreHorizontal } from 'lucide-react';\nimport { Text, View, type ViewProps } from 'react-native';\n\nimport { cn } from './utils';\n\nfunction Breadcrumb({ ...props }: React.ComponentProps<'nav'>) {\n return <nav aria-label=\"breadcrumb\" data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-list\"\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbItem({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-item\"\n className={cn('inline-flex items-center gap-1.5', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbLink({\n asChild,\n className,\n ...props\n}: React.ComponentProps<typeof View> & {\n asChild?: boolean;\n}) {\n // const Comp = asChild ? Slot : View;\n\n return (\n <View\n data-slot=\"breadcrumb-link\"\n className={cn('hover:text-foreground transition-colors', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbPage({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-page\"\n role=\"link\"\n aria-disabled\n aria-current=\"page\"\n className={cn('text-foreground font-normal', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n role=\"presentation\"\n data-slot=\"breadcrumb-separator\"\n aria-hidden\n className={cn('[&>svg]:size-3.5', className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </View>\n );\n}\n\nfunction BreadcrumbEllipsis({\n className,\n ...props\n}: React.ComponentProps<typeof View>) {\n return (\n <View\n data-slot=\"breadcrumb-ellipsis\"\n role=\"presentation\"\n aria-hidden\n className={cn('flex size-9 items-center justify-center', className)}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <View className=\"sr-only\">\n <Text>More</Text>\n </View>\n </View>\n );\n}\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n};\n"],"mappings":";;;;;;;;AAOA,SAAS,WAAW,EAAE,GAAG,SAAsC;AAC7D,QAAO,oBAAC;EAAI,cAAW;EAAa,aAAU;EAAa,GAAI;GAAS;;AAG1E,SAAS,eAAe,EACtB,WACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,4FACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,SACA,WACA,GAAG,SAGF;AAGD,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL;EACA,gBAAa;EACb,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAC3B,UACA,WACA,GAAG,SACiC;AACpC,QACE,oBAAC;EACC,MAAK;EACL,aAAU;EACV;EACA,WAAW,GAAG,oBAAoB,UAAU;EAC5C,GAAI;YAEH,YAAY,oBAAC,iBAAe;GACxB;;AAIX,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACiC;AACpC,QACE,qBAAC;EACC,aAAU;EACV,MAAK;EACL;EACA,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;aAEJ,oBAAC,kBAAe,WAAU,WAAW,EACrC,oBAAC;GAAK,WAAU;aACd,oBAAC,kBAAK,SAAW;IACZ;GACF"}
@@ -1,16 +1,16 @@
1
1
  import * as React$1 from "react";
2
2
  import { Pressable } from "react-native";
3
- import * as react_jsx_runtime35 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
 
7
7
  //#region ui/button.d.ts
8
8
  declare const buttonVariants: (props?: ({
9
- variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
9
+ variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
10
10
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
11
11
  } & class_variance_authority_types1.ClassProp) | undefined) => string;
12
12
  declare const buttonTextVariants: (props?: ({
13
- variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
13
+ variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
14
14
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
15
15
  } & class_variance_authority_types1.ClassProp) | undefined) => string;
16
16
  type ButtonProps = React$1.ComponentProps<typeof Pressable> & VariantProps<typeof buttonVariants>;
@@ -20,7 +20,7 @@ declare function Button({
20
20
  variant,
21
21
  size,
22
22
  ...props
23
- }: ButtonProps): react_jsx_runtime35.JSX.Element;
23
+ }: ButtonProps): react_jsx_runtime25.JSX.Element;
24
24
  //#endregion
25
25
  export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
26
26
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","names":[],"sources":["../../ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAMM;;;IA0BL,+BAAA,CAAA;AA9BwC,cAgCnC,kBAFL,EAAA,CAAA,KA6B8C,CA7B9C,EAAA,CAAA;EAEK,OAAA,CAAA,EAAA,SAAA,GAyBL,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEI,IAAA,CAAA,EAAA,SAAW,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;CAA+B,GAF9C,+BAAA,CAAA,SAE8C,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAA1C,WAAA,GAAc,OAAA,CAAM,cAAA,CAAA,OAAsB,SAAtB,CAAA,GACvB,YADuB,CAAA,OACH,cADG,CAAA;iBAGhB,MAAA,CAFa;EAAA,GAAA;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAEuC,WAFvC,CAAA,EAEkD,mBAAA,CAAA,GAAA,CAAA,OAFlD"}
1
+ {"version":3,"file":"button.d.ts","names":[],"sources":["../../ui/button.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAMM;;;IA0BL,+BAAA,CAAA;AA9BwC,cAgCnC,kBAFL,EAAA,CAAA,KA6B8C,CA7B9C,EAAA,CAAA;EAEK,OAAA,CAAA,EAAA,SAAA,GAyBL,aAAA,GAAA,WAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAEI,IAAA,CAAA,EAAA,SAAW,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;CAA+B,GAF9C,+BAAA,CAAA,SAE8C,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;KAA1C,WAAA,GAAc,OAAA,CAAM,cAAA,CAAA,OAAsB,SAAtB,CAAA,GACvB,YADuB,CAAA,OACH,cADG,CAAA;iBAGhB,MAAA,CAFa;EAAA,GAAA;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAEuC,WAFvC,CAAA,EAEkD,mBAAA,CAAA,GAAA,CAAA,OAFlD"}
package/dist/ui/button.js CHANGED
@@ -50,7 +50,7 @@ const buttonTextVariants = cva("web:whitespace-nowrap text-sm native:text-base f
50
50
  size: "default"
51
51
  }
52
52
  });
53
- function Button({ ref, className, variant, size,...props }) {
53
+ function Button({ ref, className, variant, size, ...props }) {
54
54
  return /* @__PURE__ */ jsx(TextClassContext.Provider, {
55
55
  value: buttonTextVariants({
56
56
  variant,
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","names":[],"sources":["../../ui/button.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { Pressable } from 'react-native';\nimport { TextClassContext } from './text';\nimport { cn } from './utils';\n\nconst buttonVariants = cva(\n 'group flex items-center justify-center rounded-md web:ring-offset-background web:transition-colors web:focus-visible:outline-hidden web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2',\n {\n variants: {\n variant: {\n default: 'bg-primary web:hover:opacity-90 active:opacity-90',\n destructive: 'bg-destructive web:hover:opacity-90 active:opacity-90',\n outline:\n 'border border-input bg-background web:hover:bg-accent web:hover:text-accent-foreground active:bg-accent',\n secondary: 'bg-secondary web:hover:opacity-80 active:opacity-80',\n ghost:\n 'web:hover:bg-accent web:hover:text-accent-foreground active:bg-accent',\n link: 'web:underline-offset-4 web:hover:underline web:focus:underline',\n },\n size: {\n default: 'h-10 px-4 py-2 native:h-12 native:px-5 native:py-3',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8 native:h-14',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\nconst buttonTextVariants = cva(\n 'web:whitespace-nowrap text-sm native:text-base font-medium text-foreground web:transition-colors',\n {\n variants: {\n variant: {\n default: 'text-primary-foreground',\n destructive: 'text-destructive-foreground',\n outline: 'group-active:text-accent-foreground',\n secondary:\n 'text-secondary-foreground group-active:text-secondary-foreground',\n ghost: 'group-active:text-accent-foreground',\n link: 'text-primary group-active:underline',\n },\n size: {\n default: '',\n sm: '',\n lg: 'native:text-lg',\n icon: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\ntype ButtonProps = React.ComponentProps<typeof Pressable> &\n VariantProps<typeof buttonVariants>;\n\nfunction Button({ ref, className, variant, size, ...props }: ButtonProps) {\n return (\n <TextClassContext.Provider\n value={buttonTextVariants({\n variant,\n size,\n className: 'web:pointer-events-none',\n })}\n >\n <Pressable\n className={cn(\n props.disabled && 'web:pointer-events-none opacity-50',\n buttonVariants({ variant, size, className })\n )}\n ref={ref}\n role=\"button\"\n {...props}\n />\n </TextClassContext.Provider>\n );\n}\n\nexport { Button, buttonTextVariants, buttonVariants };\nexport type { ButtonProps };\n"],"mappings":";;;;;;;;AAMA,MAAM,iBAAiB,IACrB,4NACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,aAAa;GACb,SACE;GACF,WAAW;GACX,OACE;GACF,MAAM;GACP;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACP;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAED,MAAM,qBAAqB,IACzB,oGACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,aAAa;GACb,SAAS;GACT,WACE;GACF,OAAO;GACP,MAAM;GACP;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACP;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAKD,SAAS,OAAO,EAAE,KAAK,WAAW,SAAS,KAAM,GAAG,SAAsB;AACxE,QACE,oBAAC,iBAAiB;EAChB,OAAO,mBAAmB;GACxB;GACA;GACA,WAAW;GACZ,CAAC;YAEF,oBAAC;GACC,WAAW,GACT,MAAM,YAAY,sCAClB,eAAe;IAAE;IAAS;IAAM;IAAW,CAAC,CAC7C;GACI;GACL,MAAK;GACL,GAAI;IACJ;GACwB"}
1
+ {"version":3,"file":"button.js","names":[],"sources":["../../ui/button.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { Pressable } from 'react-native';\nimport { TextClassContext } from './text';\nimport { cn } from './utils';\n\nconst buttonVariants = cva(\n 'group flex items-center justify-center rounded-md web:ring-offset-background web:transition-colors web:focus-visible:outline-hidden web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2',\n {\n variants: {\n variant: {\n default: 'bg-primary web:hover:opacity-90 active:opacity-90',\n destructive: 'bg-destructive web:hover:opacity-90 active:opacity-90',\n outline:\n 'border border-input bg-background web:hover:bg-accent web:hover:text-accent-foreground active:bg-accent',\n secondary: 'bg-secondary web:hover:opacity-80 active:opacity-80',\n ghost:\n 'web:hover:bg-accent web:hover:text-accent-foreground active:bg-accent',\n link: 'web:underline-offset-4 web:hover:underline web:focus:underline',\n },\n size: {\n default: 'h-10 px-4 py-2 native:h-12 native:px-5 native:py-3',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8 native:h-14',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\nconst buttonTextVariants = cva(\n 'web:whitespace-nowrap text-sm native:text-base font-medium text-foreground web:transition-colors',\n {\n variants: {\n variant: {\n default: 'text-primary-foreground',\n destructive: 'text-destructive-foreground',\n outline: 'group-active:text-accent-foreground',\n secondary:\n 'text-secondary-foreground group-active:text-secondary-foreground',\n ghost: 'group-active:text-accent-foreground',\n link: 'text-primary group-active:underline',\n },\n size: {\n default: '',\n sm: '',\n lg: 'native:text-lg',\n icon: '',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\ntype ButtonProps = React.ComponentProps<typeof Pressable> &\n VariantProps<typeof buttonVariants>;\n\nfunction Button({ ref, className, variant, size, ...props }: ButtonProps) {\n return (\n <TextClassContext.Provider\n value={buttonTextVariants({\n variant,\n size,\n className: 'web:pointer-events-none',\n })}\n >\n <Pressable\n className={cn(\n props.disabled && 'web:pointer-events-none opacity-50',\n buttonVariants({ variant, size, className })\n )}\n ref={ref}\n role=\"button\"\n {...props}\n />\n </TextClassContext.Provider>\n );\n}\n\nexport { Button, buttonTextVariants, buttonVariants };\nexport type { ButtonProps };\n"],"mappings":";;;;;;;;AAMA,MAAM,iBAAiB,IACrB,4NACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,aAAa;GACb,SACE;GACF,WAAW;GACX,OACE;GACF,MAAM;GACP;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACP;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAED,MAAM,qBAAqB,IACzB,oGACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,aAAa;GACb,SAAS;GACT,WACE;GACF,OAAO;GACP,MAAM;GACP;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACP;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAKD,SAAS,OAAO,EAAE,KAAK,WAAW,SAAS,MAAM,GAAG,SAAsB;AACxE,QACE,oBAAC,iBAAiB;EAChB,OAAO,mBAAmB;GACxB;GACA;GACA,WAAW;GACZ,CAAC;YAEF,oBAAC;GACC,WAAW,GACT,MAAM,YAAY,sCAClB,eAAe;IAAE;IAAS;IAAM;IAAW,CAAC,CAC7C;GACI;GACL,MAAK;GACL,GAAI;IACJ;GACwB"}
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_runtime150 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime132 from "react/jsx-runtime";
4
4
 
5
5
  //#region ui/card.d.ts
6
6
  declare function Card({
@@ -8,37 +8,37 @@ declare function Card({
8
8
  ...props
9
9
  }: ViewProps & {
10
10
  ref?: React$1.RefObject<View>;
11
- }): react_jsx_runtime150.JSX.Element;
11
+ }): react_jsx_runtime132.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_runtime150.JSX.Element;
17
+ }): react_jsx_runtime132.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_runtime150.JSX.Element;
23
+ }): react_jsx_runtime132.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_runtime150.JSX.Element;
29
+ }): react_jsx_runtime132.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_runtime150.JSX.Element;
35
+ }): react_jsx_runtime132.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_runtime150.JSX.Element;
41
+ }): react_jsx_runtime132.JSX.Element;
42
42
  //#endregion
43
43
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
44
44
  //# sourceMappingURL=card.d.ts.map
package/dist/ui/card.js CHANGED
@@ -5,19 +5,19 @@ import { Text, View } from "react-native";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region ui/card.tsx
8
- function Card({ className,...props }) {
8
+ function Card({ className, ...props }) {
9
9
  return /* @__PURE__ */ jsx(View, {
10
10
  className: cn("border-border bg-card shadow-foreground/10 rounded-lg border shadow-2xs", className),
11
11
  ...props
12
12
  });
13
13
  }
14
- function CardHeader({ className,...props }) {
14
+ function CardHeader({ className, ...props }) {
15
15
  return /* @__PURE__ */ jsx(View, {
16
16
  className: cn("flex flex-col gap-y-1.5 p-6", className),
17
17
  ...props
18
18
  });
19
19
  }
20
- function CardTitle({ className,...props }) {
20
+ function CardTitle({ className, ...props }) {
21
21
  return /* @__PURE__ */ jsx(Text, {
22
22
  role: "heading",
23
23
  "aria-level": 3,
@@ -25,13 +25,13 @@ function CardTitle({ className,...props }) {
25
25
  ...props
26
26
  });
27
27
  }
28
- function CardDescription({ className,...props }) {
28
+ function CardDescription({ className, ...props }) {
29
29
  return /* @__PURE__ */ jsx(Text, {
30
30
  className: cn("text-muted-foreground text-sm", className),
31
31
  ...props
32
32
  });
33
33
  }
34
- function CardContent({ className,...props }) {
34
+ function CardContent({ className, ...props }) {
35
35
  return /* @__PURE__ */ jsx(TextClassContext.Provider, {
36
36
  value: "text-card-foreground",
37
37
  children: /* @__PURE__ */ jsx(View, {
@@ -40,7 +40,7 @@ function CardContent({ className,...props }) {
40
40
  })
41
41
  });
42
42
  }
43
- function CardFooter({ className,...props }) {
43
+ function CardFooter({ className, ...props }) {
44
44
  return /* @__PURE__ */ jsx(View, {
45
45
  className: cn("flex flex-row items-center p-6 pt-0", className),
46
46
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","names":[],"sources":["../../ui/card.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { TextProps, ViewProps } from 'react-native';\nimport { Text, View } from 'react-native';\nimport { TextClassContext } from './text';\nimport { cn } from './utils';\n\nfunction Card({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <View\n className={cn(\n 'border-border bg-card shadow-foreground/10 rounded-lg border shadow-2xs',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction CardHeader({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <View className={cn('flex flex-col gap-y-1.5 p-6', className)} {...props} />\n );\n}\n\nfunction CardTitle({\n className,\n ...props\n}: TextProps & {\n ref?: React.RefObject<Text>;\n}) {\n return (\n <Text\n role=\"heading\"\n aria-level={3}\n className={cn(\n 'text-card-foreground text-2xl leading-none font-semibold tracking-tight',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction CardDescription({\n className,\n ...props\n}: TextProps & {\n ref?: React.RefObject<Text>;\n}) {\n return (\n <Text\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction CardContent({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <TextClassContext.Provider value=\"text-card-foreground\">\n <View className={cn('p-6 pt-0', className)} {...props} />\n </TextClassContext.Provider>\n );\n}\n\nfunction CardFooter({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <View\n className={cn('flex flex-row items-center p-6 pt-0', className)}\n {...props}\n />\n );\n}\n\nexport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n};\n"],"mappings":";;;;;;;AAMA,SAAS,KAAK,EACZ,UACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,WAAW,GACT,2EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAClB,UACA,GAAG,SAGF;AACD,QACE,oBAAC;EAAK,WAAW,GAAG,+BAA+B,UAAU;EAAE,GAAI;GAAS;;AAIhF,SAAS,UAAU,EACjB,UACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,MAAK;EACL,cAAY;EACZ,WAAW,GACT,2EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,gBAAgB,EACvB,UACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,UACA,GAAG,SAGF;AACD,QACE,oBAAC,iBAAiB;EAAS,OAAM;YAC/B,oBAAC;GAAK,WAAW,GAAG,YAAY,UAAU;GAAE,GAAI;IAAS;GAC/B;;AAIhC,SAAS,WAAW,EAClB,UACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,WAAW,GAAG,uCAAuC,UAAU;EAC/D,GAAI;GACJ"}
1
+ {"version":3,"file":"card.js","names":[],"sources":["../../ui/card.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { TextProps, ViewProps } from 'react-native';\nimport { Text, View } from 'react-native';\nimport { TextClassContext } from './text';\nimport { cn } from './utils';\n\nfunction Card({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <View\n className={cn(\n 'border-border bg-card shadow-foreground/10 rounded-lg border shadow-2xs',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction CardHeader({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <View className={cn('flex flex-col gap-y-1.5 p-6', className)} {...props} />\n );\n}\n\nfunction CardTitle({\n className,\n ...props\n}: TextProps & {\n ref?: React.RefObject<Text>;\n}) {\n return (\n <Text\n role=\"heading\"\n aria-level={3}\n className={cn(\n 'text-card-foreground text-2xl leading-none font-semibold tracking-tight',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction CardDescription({\n className,\n ...props\n}: TextProps & {\n ref?: React.RefObject<Text>;\n}) {\n return (\n <Text\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction CardContent({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <TextClassContext.Provider value=\"text-card-foreground\">\n <View className={cn('p-6 pt-0', className)} {...props} />\n </TextClassContext.Provider>\n );\n}\n\nfunction CardFooter({\n className,\n ...props\n}: ViewProps & {\n ref?: React.RefObject<View>;\n}) {\n return (\n <View\n className={cn('flex flex-row items-center p-6 pt-0', className)}\n {...props}\n />\n );\n}\n\nexport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n};\n"],"mappings":";;;;;;;AAMA,SAAS,KAAK,EACZ,WACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,WAAW,GACT,2EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAClB,WACA,GAAG,SAGF;AACD,QACE,oBAAC;EAAK,WAAW,GAAG,+BAA+B,UAAU;EAAE,GAAI;GAAS;;AAIhF,SAAS,UAAU,EACjB,WACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,MAAK;EACL,cAAY;EACZ,WAAW,GACT,2EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,gBAAgB,EACvB,WACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,GAAG,SAGF;AACD,QACE,oBAAC,iBAAiB;EAAS,OAAM;YAC/B,oBAAC;GAAK,WAAW,GAAG,YAAY,UAAU;GAAE,GAAI;IAAS;GAC/B;;AAIhC,SAAS,WAAW,EAClB,WACA,GAAG,SAGF;AACD,QACE,oBAAC;EACC,WAAW,GAAG,uCAAuC,UAAU;EAC/D,GAAI;GACJ"}
@@ -1,8 +1,8 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native5 from "react-native";
2
+ import * as react_native35 from "react-native";
3
3
 
4
4
  //#region ui/checkbox.d.ts
5
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native5.PressableProps & React$1.RefAttributes<react_native5.View>, "ref"> & {
5
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native35.PressableProps & React$1.RefAttributes<react_native35.View>, "ref"> & {
6
6
  asChild?: boolean;
7
7
  } & {
8
8
  onKeyDown?: (ev: React$1.KeyboardEvent) => void;
@@ -11,7 +11,7 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native
11
11
  checked: boolean;
12
12
  onCheckedChange: (checked: boolean) => void;
13
13
  disabled?: boolean;
14
- } & React$1.RefAttributes<react_native5.View>, "ref"> & React$1.RefAttributes<react_native5.View>>;
14
+ } & React$1.RefAttributes<react_native35.View>, "ref"> & React$1.RefAttributes<react_native35.View>>;
15
15
  //#endregion
16
16
  export { Checkbox };
17
17
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","names":[],"sources":["../../ui/checkbox.tsx"],"sourcesContent":[],"mappings":";;;;cAKM,UAAQ,OAAA,CAAA,0BAAA,KAAA,KAkBZ,aAAA,CAlBY,cAAA,GAAA,OAAA,CAAA,cAAA,aAAA,CAAA,IAAA;;;EAAR,SAAA,CAAA,EAkBJ,CAAA,EAAA,uBAAA,EAAA,GAAA,IAAA;EAAA,OAAA,CAAA,EAAA,CAlBY,EAAA,uBAAA,EAAA,GAAA,IAAA;CAAA,GAAA;EAAA,OAAA,EAAA,OAAA;EAAA,eAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,GAAA,IAAA;;8EAAA,aAAA,CAAA,IAAA"}
1
+ {"version":3,"file":"checkbox.d.ts","names":[],"sources":["../../ui/checkbox.tsx"],"sourcesContent":[],"mappings":";;;;cAKM,UAAQ,OAAA,CAAA,0BAAA,KAAA,KAkBZ,cAAA,CAlBY,cAAA,GAAA,OAAA,CAAA,cAAA,cAAA,CAAA,IAAA;;;EAAR,SAAA,CAAA,EAkBJ,CAAA,EAAA,uBAAA,EAAA,GAAA,IAAA;EAAA,OAAA,CAAA,EAAA,CAAA,EAlBY,uBAAA,EAAA,GAAA,IAAA;CAAA,GAAA;EAAA,OAAA,EAAA,OAAA;EAAA,eAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,GAAA,IAAA;;+EAAA,cAAA,CAAA,IAAA"}
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
5
5
  import * as CheckboxPrimitive from "@rn-primitives/checkbox";
6
6
 
7
7
  //#region ui/checkbox.tsx
8
- const Checkbox = React$1.forwardRef(({ className,...props }, ref) => /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
8
+ const Checkbox = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
9
9
  ref,
10
10
  className: cn("web:peer border-primary web:ring-offset-background web:focus-visible:outline-hidden web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-xs border disabled:cursor-not-allowed disabled:opacity-50", className),
11
11
  ...props,
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.js","names":["React"],"sources":["../../ui/checkbox.tsx"],"sourcesContent":["import * as CheckboxPrimitive from '@rn-primitives/checkbox';\nimport * as React from 'react';\nimport { cn } from './utils';\nimport { Check } from 'lucide-react-native';\n\nconst Checkbox = React.forwardRef<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n className={cn(\n 'web:peer border-primary web:ring-offset-background web:focus-visible:outline-hidden web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-xs border disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n className={cn('flex items-center justify-center text-current')}\n >\n <Check className=\"h-4 w-4\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n));\nCheckbox.displayName = CheckboxPrimitive.Root.displayName;\n\nexport { Checkbox };\n"],"mappings":";;;;;;;AAKA,MAAM,WAAWA,QAAM,YAGpB,EAAE,UAAW,GAAG,SAAS,QAC1B,oBAAC,kBAAkB;CACZ;CACL,WAAW,GACT,+PACA,UACD;CACD,GAAI;WAEJ,oBAAC,kBAAkB;EACjB,WAAW,GAAG,gDAAgD;YAE9D,oBAAC,SAAM,WAAU,YAAY;GACD;EACP,CACzB;AACF,SAAS,cAAc,kBAAkB,KAAK"}
1
+ {"version":3,"file":"checkbox.js","names":["React"],"sources":["../../ui/checkbox.tsx"],"sourcesContent":["import * as CheckboxPrimitive from '@rn-primitives/checkbox';\nimport * as React from 'react';\nimport { cn } from './utils';\nimport { Check } from 'lucide-react-native';\n\nconst Checkbox = React.forwardRef<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n className={cn(\n 'web:peer border-primary web:ring-offset-background web:focus-visible:outline-hidden web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 h-4 w-4 shrink-0 rounded-xs border disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n className={cn('flex items-center justify-center text-current')}\n >\n <Check className=\"h-4 w-4\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n));\nCheckbox.displayName = CheckboxPrimitive.Root.displayName;\n\nexport { Checkbox };\n"],"mappings":";;;;;;;AAKA,MAAM,WAAWA,QAAM,YAGpB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,kBAAkB;CACZ;CACL,WAAW,GACT,+PACA,UACD;CACD,GAAI;WAEJ,oBAAC,kBAAkB;EACjB,WAAW,GAAG,gDAAgD;YAE9D,oBAAC,SAAM,WAAU,YAAY;GACD;EACP,CACzB;AACF,SAAS,cAAc,kBAAkB,KAAK"}
@@ -1,25 +1,25 @@
1
- import * as react4 from "react";
1
+ import * as react1 from "react";
2
2
  import * as react_native39 from "react-native";
3
- import * as _rn_primitives_types0 from "@rn-primitives/types";
3
+ import * as _rn_primitives_types1 from "@rn-primitives/types";
4
4
 
5
5
  //#region ui/collapsible.d.ts
6
- declare const Collapsible: react4.ForwardRefExoticComponent<react_native39.ViewProps & {
6
+ declare const Collapsible: react1.ForwardRefExoticComponent<react_native39.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
- } & react4.RefAttributes<react_native39.View>>;
14
- declare const CollapsibleTrigger: react4.ForwardRefExoticComponent<Omit<react_native39.PressableProps & react4.RefAttributes<react_native39.View>, "ref"> & {
13
+ } & react1.RefAttributes<react_native39.View>>;
14
+ declare const CollapsibleTrigger: react1.ForwardRefExoticComponent<Omit<react_native39.PressableProps & react1.RefAttributes<react_native39.View>, "ref"> & {
15
15
  asChild?: boolean;
16
16
  } & {
17
17
  onKeyDown?: (ev: React.KeyboardEvent) => void;
18
18
  onKeyUp?: (ev: React.KeyboardEvent) => void;
19
- } & react4.RefAttributes<react_native39.View>>;
20
- declare const CollapsibleContent: react4.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native39.ViewProps & {
19
+ } & react1.RefAttributes<react_native39.View>>;
20
+ declare const CollapsibleContent: react1.ForwardRefExoticComponent<_rn_primitives_types1.ForceMountable & react_native39.ViewProps & {
21
21
  asChild?: boolean;
22
- } & react4.RefAttributes<react_native39.View>>;
22
+ } & react1.RefAttributes<react_native39.View>>;
23
23
  //#endregion
24
24
  export { Collapsible, CollapsibleContent, CollapsibleTrigger };
25
25
  //# sourceMappingURL=collapsible.d.ts.map
@@ -1,33 +1,33 @@
1
1
  import * as React$1 from "react";
2
- import * as react_native0 from "react-native";
2
+ import * as react_native30 from "react-native";
3
3
  import { StyleProp, TextProps, View, ViewStyle } from "react-native";
4
- import * as react_jsx_runtime12 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime79 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_native0.ViewProps & {
8
+ declare const ContextMenu: React$1.ForwardRefExoticComponent<react_native30.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_native0.PressableProps & React$1.RefAttributes<View>, "ref"> & {
14
+ declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native30.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_native0.ViewProps & {
20
+ declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<react_native30.ViewProps & {
21
21
  asChild?: boolean;
22
22
  } & React$1.RefAttributes<View>>;
23
- declare const ContextMenuSub: React$1.ForwardRefExoticComponent<react_native0.ViewProps & {
23
+ declare const ContextMenuSub: React$1.ForwardRefExoticComponent<react_native30.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_native0.ViewProps & {
30
+ declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native30.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_runtime12.JSX.Element;
45
+ }): react_jsx_runtime79.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_runtime12.JSX.Element;
51
+ }): react_jsx_runtime79.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_runtime12.JSX.Element;
63
+ }): react_jsx_runtime79.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_runtime12.JSX.Element;
72
+ }): react_jsx_runtime79.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_runtime12.JSX.Element;
80
+ }): react_jsx_runtime79.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_runtime12.JSX.Element;
88
+ }): react_jsx_runtime79.JSX.Element;
89
89
  declare function ContextMenuLabel({
90
90
  className,
91
91
  inset,
@@ -94,17 +94,17 @@ 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_runtime12.JSX.Element;
97
+ }): react_jsx_runtime79.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_runtime12.JSX.Element;
103
+ }): react_jsx_runtime79.JSX.Element;
104
104
  declare function ContextMenuShortcut({
105
105
  className,
106
106
  ...props
107
- }: TextProps): react_jsx_runtime12.JSX.Element;
107
+ }: TextProps): react_jsx_runtime79.JSX.Element;
108
108
  //#endregion
109
109
  export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
110
110
  //# sourceMappingURL=context-menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.d.ts","names":[],"sources":["../../ui/context-menu.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAkBM,aAAW,OAAA,CAAA,0BAA4B,aAAA,CAA5B,SAAA;;;;EAAX,UAAA,CAAA,EAAA,WAAuC,GAAA,SAAA;CAAA,wBAA5B,KAAA,CAAA,CAAA;cACX,oBAAkB,OAAA,CAAA,0BAAA,KAA+B,aAAA,CAA/B,cAAA,GAAA,OAAA,CAAA,cAAA;;CADP,GAAA;EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,uBAAA,EAAA,GAAA,IAAA;EACX,OAAA,CAAA,EAAA,CAAA,EAAA,uBAAiD,EAAA,GAAA,IAAA;CAAA,wBAA/B,yCAAA,CAAA;cAClB,gBADkB,EACF,OAAA,CAAA,yBADE,CAC2B,aAAA,CAA7B,SAAA,GADE;EAAA,OAAA,CAAA,EAAA,OAAA;CAAA,wBAAA,KAAA,CAAA,CAAA;cAElB,gBAAc,OAAA,CAAA,0BAA2B,aAAA,CAA3B,SAAA;;;;EAFI,IAAA,CAAA,EAAA,OAAA;EAAA,YAAA,CAAA,EAAA,CAAA,KAAA,EAAA,OAAA,EAAA,GAAA,IAAA;AAAA,CAAA,wBAC2B,KAAA,CAAA,CAAA;cAE7C,qBAFgB,EAEK,OAAA,CAAA,yBAFL,CAEuC,aAAA,CAAlC,SAAA,GAFL;;;EAAA,KAAA,EAAA,MAAA,GAAA,SAAA;EAAA,aAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;AAAA,CAAA,wBACyB,KAAA,CAAA,CAAA;iBAGtC,qBAAA,CAHW;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EAQjB,4BAAA,CAAqB,eARJ,GAAA;QASZ,OAAA,CAAM,UAAU,4BAAA,CAA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;CACA,CAAA,EA8HD,mBAAA,CAAA,GAAA,CAAA,OA9HC;iBA2IO,oBAAA,CA1IP;EAAA,SAAA;EAAA,GAAA;CAAA,EA6IC,4BAAA,CAAqB,cA7ItB,GAAA;EAEC,GAAA,CAAA,EA4IK,OAAA,CAAM,SA5IX,CA4IqB,4BAAA,CAAqB,YA5IrB,CAAA;CACA,CAAA,EA4IvB,mBAAA,CAAA,GAAA,CAAA,OA5I4C;iBAqJpC,mBAAA,CArJK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqJwC,SArJxC,CAAA,EAqJiD,mBAAA,CAAA,GAAA,CAAA,OArJjD"}
@@ -15,7 +15,7 @@ const ContextMenuTrigger = ContextMenuPrimitive.Trigger;
15
15
  const ContextMenuGroup = ContextMenuPrimitive.Group;
16
16
  const ContextMenuSub = ContextMenuPrimitive.Sub;
17
17
  const ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
18
- function ContextMenuSubTrigger({ className, inset, children,...props }) {
18
+ function ContextMenuSubTrigger({ className, inset, children, ...props }) {
19
19
  const { open } = ContextMenuPrimitive.useSubContext();
20
20
  const Icon = Platform.OS === "web" ? ChevronRight : open ? ChevronUp : ChevronDown;
21
21
  return /* @__PURE__ */ jsx(TextClassContext.Provider, {
@@ -30,14 +30,14 @@ function ContextMenuSubTrigger({ className, inset, children,...props }) {
30
30
  })
31
31
  });
32
32
  }
33
- function ContextMenuSubContent({ className,...props }) {
33
+ function ContextMenuSubContent({ className, ...props }) {
34
34
  const { open } = ContextMenuPrimitive.useSubContext();
35
35
  return /* @__PURE__ */ jsx(ContextMenuPrimitive.SubContent, {
36
36
  className: cn("border-border bg-popover shadow-foreground/5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 mt-1 min-w-32 overflow-hidden rounded-md border p-1 shadow-md", open ? "web:animate-in web:fade-in-0 web:zoom-in-95" : "web:animate-out web:fade-out-0 web:zoom-out", className),
37
37
  ...props
38
38
  });
39
39
  }
40
- function ContextMenuContent({ className, overlayClassName, overlayStyle, portalHost,...props }) {
40
+ function ContextMenuContent({ className, overlayClassName, overlayStyle, portalHost, ...props }) {
41
41
  const { open } = ContextMenuPrimitive.useRootContext();
42
42
  return /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, {
43
43
  hostName: portalHost,
@@ -51,7 +51,7 @@ function ContextMenuContent({ className, overlayClassName, overlayStyle, portalH
51
51
  })
52
52
  });
53
53
  }
54
- function ContextMenuItem({ className, inset,...props }) {
54
+ function ContextMenuItem({ className, inset, ...props }) {
55
55
  return /* @__PURE__ */ jsx(TextClassContext.Provider, {
56
56
  value: "select-none text-sm native:text-lg text-popover-foreground web:group-focus:text-accent-foreground",
57
57
  children: /* @__PURE__ */ jsx(ContextMenuPrimitive.Item, {
@@ -60,7 +60,7 @@ function ContextMenuItem({ className, inset,...props }) {
60
60
  })
61
61
  });
62
62
  }
63
- function ContextMenuCheckboxItem({ className, children,...props }) {
63
+ function ContextMenuCheckboxItem({ className, children, ...props }) {
64
64
  return /* @__PURE__ */ jsxs(ContextMenuPrimitive.CheckboxItem, {
65
65
  className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
66
66
  ...props,
@@ -74,7 +74,7 @@ function ContextMenuCheckboxItem({ className, children,...props }) {
74
74
  }), children]
75
75
  });
76
76
  }
77
- function ContextMenuRadioItem({ className, children,...props }) {
77
+ function ContextMenuRadioItem({ className, children, ...props }) {
78
78
  return /* @__PURE__ */ jsxs(ContextMenuPrimitive.RadioItem, {
79
79
  className: cn("web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8", props.disabled && "web:pointer-events-none opacity-50", className),
80
80
  ...props,
@@ -84,19 +84,19 @@ function ContextMenuRadioItem({ className, children,...props }) {
84
84
  }), children]
85
85
  });
86
86
  }
87
- function ContextMenuLabel({ className, inset,...props }) {
87
+ function ContextMenuLabel({ className, inset, ...props }) {
88
88
  return /* @__PURE__ */ jsx(ContextMenuPrimitive.Label, {
89
89
  className: cn("native:text-base text-foreground web:cursor-default px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className),
90
90
  ...props
91
91
  });
92
92
  }
93
- function ContextMenuSeparator({ className,...props }) {
93
+ function ContextMenuSeparator({ className, ...props }) {
94
94
  return /* @__PURE__ */ jsx(ContextMenuPrimitive.Separator, {
95
95
  className: cn("bg-border -mx-1 my-1 h-px", className),
96
96
  ...props
97
97
  });
98
98
  }
99
- function ContextMenuShortcut({ className,...props }) {
99
+ function ContextMenuShortcut({ className, ...props }) {
100
100
  return /* @__PURE__ */ jsx(Text, {
101
101
  className: cn("native:text-sm text-muted-foreground ml-auto text-xs tracking-widest", className),
102
102
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.js","names":[],"sources":["../../ui/context-menu.tsx"],"sourcesContent":["import * as ContextMenuPrimitive from '@rn-primitives/context-menu';\nimport * as React from 'react';\nimport {\n Platform,\n type StyleProp,\n StyleSheet,\n Text,\n type TextProps,\n View,\n type ViewStyle,\n} from 'react-native';\nimport { Check } from './icons/Check';\nimport { ChevronDown } from './icons/ChevronDown';\nimport { ChevronRight } from './icons/ChevronRight';\nimport { ChevronUp } from './icons/ChevronUp';\nimport { TextClassContext } from './text';\nimport { cn } from './utils';\n\nconst ContextMenu = ContextMenuPrimitive.Root;\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nfunction ContextMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: ContextMenuPrimitive.SubTriggerProps & {\n ref?: React.RefObject<ContextMenuPrimitive.SubTriggerRef>;\n children?: React.ReactNode;\n inset?: boolean;\n}) {\n const { open } = ContextMenuPrimitive.useSubContext();\n const Icon =\n Platform.OS === 'web' ? ChevronRight : open ? ChevronUp : ChevronDown;\n return (\n <TextClassContext.Provider\n value={cn(\n 'native:text-lg text-primary text-sm select-none',\n open && 'native:text-accent-foreground'\n )}\n >\n <ContextMenuPrimitive.SubTrigger\n className={cn(\n 'native:py-2 active:bg-accent web:cursor-default web:select-none web:outline-hidden web:hover:bg-accent web:focus:bg-accent flex flex-row items-center gap-2 rounded-xs px-2 py-1.5',\n open && 'bg-accent',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <Icon size={18} className=\"text-foreground ml-auto\" />\n </ContextMenuPrimitive.SubTrigger>\n </TextClassContext.Provider>\n );\n}\n\nfunction ContextMenuSubContent({\n className,\n ...props\n}: ContextMenuPrimitive.SubContentProps & {\n ref?: React.RefObject<ContextMenuPrimitive.SubContentRef>;\n}) {\n const { open } = ContextMenuPrimitive.useSubContext();\n return (\n <ContextMenuPrimitive.SubContent\n className={cn(\n 'border-border bg-popover shadow-foreground/5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 mt-1 min-w-32 overflow-hidden rounded-md border p-1 shadow-md',\n open\n ? 'web:animate-in web:fade-in-0 web:zoom-in-95'\n : 'web:animate-out web:fade-out-0 web:zoom-out',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction ContextMenuContent({\n className,\n overlayClassName,\n overlayStyle,\n portalHost,\n ...props\n}: ContextMenuPrimitive.ContentProps & {\n ref?: React.RefObject<ContextMenuPrimitive.ContentRef>;\n overlayStyle?: StyleProp<ViewStyle>;\n overlayClassName?: string;\n portalHost?: string;\n}) {\n const { open } = ContextMenuPrimitive.useRootContext();\n return (\n <ContextMenuPrimitive.Portal hostName={portalHost}>\n <ContextMenuPrimitive.Overlay\n style={\n overlayStyle\n ? StyleSheet.flatten([\n Platform.OS !== 'web' ? StyleSheet.absoluteFill : undefined,\n overlayStyle as typeof StyleSheet.absoluteFill,\n ])\n : Platform.OS !== 'web'\n ? StyleSheet.absoluteFill\n : undefined\n }\n className={overlayClassName}\n >\n <ContextMenuPrimitive.Content\n className={cn(\n 'border-border bg-popover shadow-foreground/5 web:data-[side=bottom]:slide-in-from-top-2 web:data-[side=left]:slide-in-from-right-2 web:data-[side=right]:slide-in-from-left-2 web:data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-md',\n open\n ? 'web:animate-in web:fade-in-0 web:zoom-in-95'\n : 'web:animate-out web:fade-out-0 web:zoom-out-95',\n className\n )}\n {...props}\n />\n </ContextMenuPrimitive.Overlay>\n </ContextMenuPrimitive.Portal>\n );\n}\n\nfunction ContextMenuItem({\n className,\n inset,\n ...props\n}: ContextMenuPrimitive.ItemProps & {\n ref?: React.RefObject<ContextMenuPrimitive.ItemRef>;\n className?: string;\n inset?: boolean;\n}) {\n return (\n <TextClassContext.Provider value=\"select-none text-sm native:text-lg text-popover-foreground web:group-focus:text-accent-foreground\">\n <ContextMenuPrimitive.Item\n className={cn(\n 'native:py-2 group active:bg-accent web:cursor-default web:outline-hidden web:hover:bg-accent web:focus:bg-accent relative flex flex-row items-center gap-2 rounded-xs px-2 py-1.5',\n inset && 'pl-8',\n props.disabled && 'web:pointer-events-none opacity-50',\n className\n )}\n {...props}\n />\n </TextClassContext.Provider>\n );\n}\n\nfunction ContextMenuCheckboxItem({\n className,\n children,\n ...props\n}: ContextMenuPrimitive.CheckboxItemProps & {\n ref?: React.RefObject<ContextMenuPrimitive.CheckboxItemRef>;\n children?: React.ReactNode;\n}) {\n return (\n <ContextMenuPrimitive.CheckboxItem\n className={cn(\n 'web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8',\n props.disabled && 'web:pointer-events-none opacity-50',\n className\n )}\n {...props}\n >\n <View className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Check size={14} strokeWidth={3} className=\"text-foreground\" />\n </ContextMenuPrimitive.ItemIndicator>\n </View>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n );\n}\n\nfunction ContextMenuRadioItem({\n className,\n children,\n ...props\n}: ContextMenuPrimitive.RadioItemProps & {\n ref?: React.RefObject<ContextMenuPrimitive.RadioItemRef>;\n children?: React.ReactNode;\n}) {\n return (\n <ContextMenuPrimitive.RadioItem\n className={cn(\n 'web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8',\n props.disabled && 'web:pointer-events-none opacity-50',\n className\n )}\n {...props}\n >\n <View className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <View className=\"bg-foreground h-2 w-2 rounded-full\" />\n </ContextMenuPrimitive.ItemIndicator>\n </View>\n {children}\n </ContextMenuPrimitive.RadioItem>\n );\n}\n\nfunction ContextMenuLabel({\n className,\n inset,\n ...props\n}: ContextMenuPrimitive.LabelProps & {\n ref?: React.RefObject<ContextMenuPrimitive.LabelRef>;\n className?: string;\n inset?: boolean;\n}) {\n return (\n <ContextMenuPrimitive.Label\n className={cn(\n 'native:text-base text-foreground web:cursor-default px-2 py-1.5 text-sm font-semibold',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction ContextMenuSeparator({\n className,\n ...props\n}: ContextMenuPrimitive.SeparatorProps & {\n ref?: React.RefObject<ContextMenuPrimitive.SeparatorRef>;\n}) {\n return (\n <ContextMenuPrimitive.Separator\n className={cn('bg-border -mx-1 my-1 h-px', className)}\n {...props}\n />\n );\n}\n\nfunction ContextMenuShortcut({ className, ...props }: TextProps) {\n return (\n <Text\n className={cn(\n 'native:text-sm text-muted-foreground ml-auto text-xs tracking-widest',\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n ContextMenu,\n ContextMenuCheckboxItem,\n ContextMenuContent,\n ContextMenuGroup,\n ContextMenuItem,\n ContextMenuLabel,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuTrigger,\n};\n"],"mappings":";;;;;;;;;;;;AAkBA,MAAM,cAAc,qBAAqB;AACzC,MAAM,qBAAqB,qBAAqB;AAChD,MAAM,mBAAmB,qBAAqB;AAC9C,MAAM,iBAAiB,qBAAqB;AAC5C,MAAM,wBAAwB,qBAAqB;AAEnD,SAAS,sBAAsB,EAC7B,WACA,OACA,SACA,GAAG,SAKF;CACD,MAAM,EAAE,SAAS,qBAAqB,eAAe;CACrD,MAAM,OACJ,SAAS,OAAO,QAAQ,eAAe,OAAO,YAAY;AAC5D,QACE,oBAAC,iBAAiB;EAChB,OAAO,GACL,mDACA,QAAQ,gCACT;YAED,qBAAC,qBAAqB;GACpB,WAAW,GACT,sLACA,QAAQ,aACR,SAAS,QACT,UACD;GACD,GAAI;cAEH,UACD,oBAAC;IAAK,MAAM;IAAI,WAAU;KAA4B;IACtB;GACR;;AAIhC,SAAS,sBAAsB,EAC7B,UACA,GAAG,SAGF;CACD,MAAM,EAAE,SAAS,qBAAqB,eAAe;AACrD,QACE,oBAAC,qBAAqB;EACpB,WAAW,GACT,+QACA,OACI,gDACA,+CACJ,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,mBAAmB,EAC1B,WACA,kBACA,cACA,WACA,GAAG,SAMF;CACD,MAAM,EAAE,SAAS,qBAAqB,gBAAgB;AACtD,QACE,oBAAC,qBAAqB;EAAO,UAAU;YACrC,oBAAC,qBAAqB;GACpB,OACE,eACI,WAAW,QAAQ,CACjB,SAAS,OAAO,QAAQ,WAAW,eAAe,QAClD,aACD,CAAC,GACF,SAAS,OAAO,QACd,WAAW,eACX;GAER,WAAW;aAEX,oBAAC,qBAAqB;IACpB,WAAW,GACT,0RACA,OACI,gDACA,kDACJ,UACD;IACD,GAAI;KACJ;IAC2B;GACH;;AAIlC,SAAS,gBAAgB,EACvB,WACA,MACA,GAAG,SAKF;AACD,QACE,oBAAC,iBAAiB;EAAS,OAAM;YAC/B,oBAAC,qBAAqB;GACpB,WAAW,GACT,qLACA,SAAS,QACT,MAAM,YAAY,sCAClB,UACD;GACD,GAAI;IACJ;GACwB;;AAIhC,SAAS,wBAAwB,EAC/B,WACA,SACA,GAAG,SAIF;AACD,QACE,qBAAC,qBAAqB;EACpB,WAAW,GACT,oKACA,MAAM,YAAY,sCAClB,UACD;EACD,GAAI;aAEJ,oBAAC;GAAK,WAAU;aACd,oBAAC,qBAAqB,2BACpB,oBAAC;IAAM,MAAM;IAAI,aAAa;IAAG,WAAU;KAAoB,GAC5B;IAChC,EACN;GACiC;;AAIxC,SAAS,qBAAqB,EAC5B,WACA,SACA,GAAG,SAIF;AACD,QACE,qBAAC,qBAAqB;EACpB,WAAW,GACT,oKACA,MAAM,YAAY,sCAClB,UACD;EACD,GAAI;aAEJ,oBAAC;GAAK,WAAU;aACd,oBAAC,qBAAqB,2BACpB,oBAAC,QAAK,WAAU,uCAAuC,GACpB;IAChC,EACN;GAC8B;;AAIrC,SAAS,iBAAiB,EACxB,WACA,MACA,GAAG,SAKF;AACD,QACE,oBAAC,qBAAqB;EACpB,WAAW,GACT,yFACA,SAAS,QACT,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,qBAAqB,EAC5B,UACA,GAAG,SAGF;AACD,QACE,oBAAC,qBAAqB;EACpB,WAAW,GAAG,6BAA6B,UAAU;EACrD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAAE,UAAW,GAAG,SAAoB;AAC/D,QACE,oBAAC;EACC,WAAW,GACT,wEACA,UACD;EACD,GAAI;GACJ"}
1
+ {"version":3,"file":"context-menu.js","names":[],"sources":["../../ui/context-menu.tsx"],"sourcesContent":["import * as ContextMenuPrimitive from '@rn-primitives/context-menu';\nimport * as React from 'react';\nimport {\n Platform,\n type StyleProp,\n StyleSheet,\n Text,\n type TextProps,\n View,\n type ViewStyle,\n} from 'react-native';\nimport { Check } from './icons/Check';\nimport { ChevronDown } from './icons/ChevronDown';\nimport { ChevronRight } from './icons/ChevronRight';\nimport { ChevronUp } from './icons/ChevronUp';\nimport { TextClassContext } from './text';\nimport { cn } from './utils';\n\nconst ContextMenu = ContextMenuPrimitive.Root;\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nfunction ContextMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: ContextMenuPrimitive.SubTriggerProps & {\n ref?: React.RefObject<ContextMenuPrimitive.SubTriggerRef>;\n children?: React.ReactNode;\n inset?: boolean;\n}) {\n const { open } = ContextMenuPrimitive.useSubContext();\n const Icon =\n Platform.OS === 'web' ? ChevronRight : open ? ChevronUp : ChevronDown;\n return (\n <TextClassContext.Provider\n value={cn(\n 'native:text-lg text-primary text-sm select-none',\n open && 'native:text-accent-foreground'\n )}\n >\n <ContextMenuPrimitive.SubTrigger\n className={cn(\n 'native:py-2 active:bg-accent web:cursor-default web:select-none web:outline-hidden web:hover:bg-accent web:focus:bg-accent flex flex-row items-center gap-2 rounded-xs px-2 py-1.5',\n open && 'bg-accent',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <Icon size={18} className=\"text-foreground ml-auto\" />\n </ContextMenuPrimitive.SubTrigger>\n </TextClassContext.Provider>\n );\n}\n\nfunction ContextMenuSubContent({\n className,\n ...props\n}: ContextMenuPrimitive.SubContentProps & {\n ref?: React.RefObject<ContextMenuPrimitive.SubContentRef>;\n}) {\n const { open } = ContextMenuPrimitive.useSubContext();\n return (\n <ContextMenuPrimitive.SubContent\n className={cn(\n 'border-border bg-popover shadow-foreground/5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 mt-1 min-w-32 overflow-hidden rounded-md border p-1 shadow-md',\n open\n ? 'web:animate-in web:fade-in-0 web:zoom-in-95'\n : 'web:animate-out web:fade-out-0 web:zoom-out',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction ContextMenuContent({\n className,\n overlayClassName,\n overlayStyle,\n portalHost,\n ...props\n}: ContextMenuPrimitive.ContentProps & {\n ref?: React.RefObject<ContextMenuPrimitive.ContentRef>;\n overlayStyle?: StyleProp<ViewStyle>;\n overlayClassName?: string;\n portalHost?: string;\n}) {\n const { open } = ContextMenuPrimitive.useRootContext();\n return (\n <ContextMenuPrimitive.Portal hostName={portalHost}>\n <ContextMenuPrimitive.Overlay\n style={\n overlayStyle\n ? StyleSheet.flatten([\n Platform.OS !== 'web' ? StyleSheet.absoluteFill : undefined,\n overlayStyle as typeof StyleSheet.absoluteFill,\n ])\n : Platform.OS !== 'web'\n ? StyleSheet.absoluteFill\n : undefined\n }\n className={overlayClassName}\n >\n <ContextMenuPrimitive.Content\n className={cn(\n 'border-border bg-popover shadow-foreground/5 web:data-[side=bottom]:slide-in-from-top-2 web:data-[side=left]:slide-in-from-right-2 web:data-[side=right]:slide-in-from-left-2 web:data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-md',\n open\n ? 'web:animate-in web:fade-in-0 web:zoom-in-95'\n : 'web:animate-out web:fade-out-0 web:zoom-out-95',\n className\n )}\n {...props}\n />\n </ContextMenuPrimitive.Overlay>\n </ContextMenuPrimitive.Portal>\n );\n}\n\nfunction ContextMenuItem({\n className,\n inset,\n ...props\n}: ContextMenuPrimitive.ItemProps & {\n ref?: React.RefObject<ContextMenuPrimitive.ItemRef>;\n className?: string;\n inset?: boolean;\n}) {\n return (\n <TextClassContext.Provider value=\"select-none text-sm native:text-lg text-popover-foreground web:group-focus:text-accent-foreground\">\n <ContextMenuPrimitive.Item\n className={cn(\n 'native:py-2 group active:bg-accent web:cursor-default web:outline-hidden web:hover:bg-accent web:focus:bg-accent relative flex flex-row items-center gap-2 rounded-xs px-2 py-1.5',\n inset && 'pl-8',\n props.disabled && 'web:pointer-events-none opacity-50',\n className\n )}\n {...props}\n />\n </TextClassContext.Provider>\n );\n}\n\nfunction ContextMenuCheckboxItem({\n className,\n children,\n ...props\n}: ContextMenuPrimitive.CheckboxItemProps & {\n ref?: React.RefObject<ContextMenuPrimitive.CheckboxItemRef>;\n children?: React.ReactNode;\n}) {\n return (\n <ContextMenuPrimitive.CheckboxItem\n className={cn(\n 'web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8',\n props.disabled && 'web:pointer-events-none opacity-50',\n className\n )}\n {...props}\n >\n <View className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <Check size={14} strokeWidth={3} className=\"text-foreground\" />\n </ContextMenuPrimitive.ItemIndicator>\n </View>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n );\n}\n\nfunction ContextMenuRadioItem({\n className,\n children,\n ...props\n}: ContextMenuPrimitive.RadioItemProps & {\n ref?: React.RefObject<ContextMenuPrimitive.RadioItemRef>;\n children?: React.ReactNode;\n}) {\n return (\n <ContextMenuPrimitive.RadioItem\n className={cn(\n 'web:group native:py-2 active:bg-accent web:cursor-default web:outline-hidden web:focus:bg-accent relative flex flex-row items-center rounded-xs py-1.5 pr-2 pl-8',\n props.disabled && 'web:pointer-events-none opacity-50',\n className\n )}\n {...props}\n >\n <View className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <View className=\"bg-foreground h-2 w-2 rounded-full\" />\n </ContextMenuPrimitive.ItemIndicator>\n </View>\n {children}\n </ContextMenuPrimitive.RadioItem>\n );\n}\n\nfunction ContextMenuLabel({\n className,\n inset,\n ...props\n}: ContextMenuPrimitive.LabelProps & {\n ref?: React.RefObject<ContextMenuPrimitive.LabelRef>;\n className?: string;\n inset?: boolean;\n}) {\n return (\n <ContextMenuPrimitive.Label\n className={cn(\n 'native:text-base text-foreground web:cursor-default px-2 py-1.5 text-sm font-semibold',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction ContextMenuSeparator({\n className,\n ...props\n}: ContextMenuPrimitive.SeparatorProps & {\n ref?: React.RefObject<ContextMenuPrimitive.SeparatorRef>;\n}) {\n return (\n <ContextMenuPrimitive.Separator\n className={cn('bg-border -mx-1 my-1 h-px', className)}\n {...props}\n />\n );\n}\n\nfunction ContextMenuShortcut({ className, ...props }: TextProps) {\n return (\n <Text\n className={cn(\n 'native:text-sm text-muted-foreground ml-auto text-xs tracking-widest',\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n ContextMenu,\n ContextMenuCheckboxItem,\n ContextMenuContent,\n ContextMenuGroup,\n ContextMenuItem,\n ContextMenuLabel,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuTrigger,\n};\n"],"mappings":";;;;;;;;;;;;AAkBA,MAAM,cAAc,qBAAqB;AACzC,MAAM,qBAAqB,qBAAqB;AAChD,MAAM,mBAAmB,qBAAqB;AAC9C,MAAM,iBAAiB,qBAAqB;AAC5C,MAAM,wBAAwB,qBAAqB;AAEnD,SAAS,sBAAsB,EAC7B,WACA,OACA,UACA,GAAG,SAKF;CACD,MAAM,EAAE,SAAS,qBAAqB,eAAe;CACrD,MAAM,OACJ,SAAS,OAAO,QAAQ,eAAe,OAAO,YAAY;AAC5D,QACE,oBAAC,iBAAiB;EAChB,OAAO,GACL,mDACA,QAAQ,gCACT;YAED,qBAAC,qBAAqB;GACpB,WAAW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Y,sCAClB,UACD;EACD,GAAI;aAEJ,oBAAC;GAAK,WAAU;aACd,oBAAC,qBAAqB,2BACpB,oBAAC,QAAK,WAAU,uCAAuC,GACpB;IAChC,EACN;GAC8B;;AAIrC,SAAS,iBAAiB,EACxB,WACA,OACA,GAAG,SAKF;AACD,QACE,oBAAC,qBAAqB;EACpB,WAAW,GACT,yFACA,SAAS,QACT,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,qBAAqB,EAC5B,WACA,GAAG,SAGF;AACD,QACE,oBAAC,qBAAqB;EACpB,WAAW,GAAG,6BAA6B,UAAU;EACrD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAAE,WAAW,GAAG,SAAoB;AAC/D,QACE,oBAAC;EACC,WAAW,GACT,wEACA,UACD;EACD,GAAI;GACJ"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime28 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime88 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/date-picker.d.ts
4
4
  interface DatePickerProps {
@@ -18,7 +18,7 @@ declare function DatePicker({
18
18
  maxDate,
19
19
  placeholder,
20
20
  className
21
- }: DatePickerProps): react_jsx_runtime28.JSX.Element;
21
+ }: DatePickerProps): react_jsx_runtime88.JSX.Element;
22
22
  //#endregion
23
23
  export { DatePicker, DatePickerProps };
24
24
  //# sourceMappingURL=date-picker.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime36 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime90 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/date-range-picker.d.ts
4
4
  interface DateRange {
@@ -25,7 +25,7 @@ declare function DateRangePicker({
25
25
  maxDate,
26
26
  placeholders,
27
27
  className
28
- }: DateRangePickerProps): react_jsx_runtime36.JSX.Element;
28
+ }: DateRangePickerProps): react_jsx_runtime90.JSX.Element;
29
29
  //#endregion
30
30
  export { DateRange, DateRangePicker, DateRangePickerProps };
31
31
  //# sourceMappingURL=date-range-picker.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime149 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime89 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/datetime-picker.d.ts
4
4
  interface DateTimePickerProps {
@@ -22,7 +22,7 @@ declare function DateTimePicker({
22
22
  timePlaceholder,
23
23
  is24Hour,
24
24
  className
25
- }: DateTimePickerProps): react_jsx_runtime149.JSX.Element;
25
+ }: DateTimePickerProps): react_jsx_runtime89.JSX.Element;
26
26
  //#endregion
27
27
  export { DateTimePicker, DateTimePickerProps };
28
28
  //# sourceMappingURL=datetime-picker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"datetime-picker.d.ts","names":[],"sources":["../../ui/datetime-picker.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,mBAAA;SACR;mBACU;EAFF,QAAA,CAAA,EAAA,OAAA;EACR,OAAA,CAAA,EAGG,IAHH;EACU,OAAA,CAAA,EAGP,IAHO;EAEP,eAAA,CAAA,EAAA,MAAA;EACA,eAAA,CAAA,EAAA,MAAA;EAAI,QAAA,CAAA,EAAA,OAAA;EAOA,SAAA,CAAA,EAAA,MAAc;;AAE5B,iBAFc,cAAA,CAEd;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,OAAA;EAAA,eAAA;EAAA,eAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAQC,mBARD,CAAA,EAQoB,oBAAA,CAAA,GAAA,CAAA,OARpB"}
1
+ {"version":3,"file":"datetime-picker.d.ts","names":[],"sources":["../../ui/datetime-picker.tsx"],"sourcesContent":[],"mappings":";;;UAKiB,mBAAA;SACR;mBACU;EAFF,QAAA,CAAA,EAAA,OAAA;EACR,OAAA,CAAA,EAGG,IAHH;EACU,OAAA,CAAA,EAGP,IAHO;EAEP,eAAA,CAAA,EAAA,MAAA;EACA,eAAA,CAAA,EAAA,MAAA;EAAI,QAAA,CAAA,EAAA,OAAA;EAOA,SAAA,CAAA,EAAA,MAAc;;AAE5B,iBAFc,cAAA,CAEd;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,OAAA;EAAA,eAAA;EAAA,eAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAQC,mBARD,CAAA,EAQoB,mBAAA,CAAA,GAAA,CAAA,OARpB"}