@lssm/lib.ui-kit 0.0.0-canary-20251207013726 → 0.0.0-canary-20251207043720

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 (178) hide show
  1. package/README.md +1 -0
  2. package/dist/_virtual/rolldown_runtime.js +33 -0
  3. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +14 -0
  4. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +35 -0
  5. package/dist/node_modules/lucide-react/dist/esm/Icon.js +26 -0
  6. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +24 -0
  7. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +21 -0
  8. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +16 -0
  9. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +16 -0
  10. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +16 -0
  11. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +16 -0
  12. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +19 -0
  13. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +19 -0
  14. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +32 -0
  15. package/dist/node_modules/lucide-react/dist/esm/icons/filter.js +16 -0
  16. package/dist/node_modules/lucide-react/dist/esm/icons/house.js +19 -0
  17. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +16 -0
  18. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +19 -0
  19. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-ccw.js +30 -0
  20. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +30 -0
  21. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +21 -0
  22. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +26 -0
  23. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +19 -0
  24. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +14 -0
  25. package/dist/node_modules/next/dist/client/add-base-path.js +30 -0
  26. package/dist/node_modules/next/dist/client/add-locale.js +29 -0
  27. package/dist/node_modules/next/dist/client/detect-domain-locale.js +26 -0
  28. package/dist/node_modules/next/dist/client/get-domain-locale.js +41 -0
  29. package/dist/node_modules/next/dist/client/has-base-path.js +28 -0
  30. package/dist/node_modules/next/dist/client/link.js +311 -0
  31. package/dist/node_modules/next/dist/client/normalize-locale-path.js +30 -0
  32. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +34 -0
  33. package/dist/node_modules/next/dist/client/request-idle-callback.js +44 -0
  34. package/dist/node_modules/next/dist/client/resolve-href.js +86 -0
  35. package/dist/node_modules/next/dist/client/use-intersection.js +104 -0
  36. package/dist/node_modules/next/dist/client/use-merged-ref.js +56 -0
  37. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +372 -0
  38. package/dist/node_modules/next/dist/lib/constants.js +316 -0
  39. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +69 -0
  40. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +23 -0
  41. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +22 -0
  42. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +42 -0
  43. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +23 -0
  44. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +23 -0
  45. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +30 -0
  46. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +24 -0
  47. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +41 -0
  48. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +78 -0
  49. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +151 -0
  50. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +77 -0
  51. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -0
  52. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +92 -0
  53. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +41 -0
  54. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  55. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +31 -0
  56. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +24 -0
  57. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +33 -0
  58. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +36 -0
  59. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +24 -0
  60. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +56 -0
  61. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +26 -0
  62. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +94 -0
  63. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +46 -0
  64. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +203 -0
  65. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +167 -0
  66. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +20 -0
  67. package/dist/node_modules/next/dist/shared/lib/segment.js +80 -0
  68. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -0
  69. package/dist/node_modules/next/dist/shared/lib/utils.js +172 -0
  70. package/dist/node_modules/next/link.js +12 -0
  71. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +2 -2
  72. package/dist/ui/atoms/Pagination/Pagination.js +4 -1
  73. package/dist/ui/atoms/SearchInput/SearchInput.js +2 -1
  74. package/dist/ui/breadcrumb.js +3 -2
  75. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +3 -1
  76. package/dist/ui/nativewind-env.d.js +0 -0
  77. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +5 -3
  78. package/dist/ui/organisms/ListPage/ListPage.js +12 -7
  79. package/package.json +198 -108
  80. package/dist/index.d.ts +0 -4
  81. package/dist/ui/accordion.d.ts +0 -35
  82. package/dist/ui/alert-dialog.d.ts +0 -71
  83. package/dist/ui/alert.d.ts +0 -36
  84. package/dist/ui/aspect-ratio.d.ts +0 -11
  85. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -7
  86. package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
  87. package/dist/ui/atoms/FilterSelect/types.d.ts +0 -18
  88. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -22
  89. package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
  90. package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -7
  91. package/dist/ui/atoms/Pagination/index.d.ts +0 -3
  92. package/dist/ui/atoms/Pagination/types.d.ts +0 -15
  93. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -7
  94. package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
  95. package/dist/ui/atoms/SearchInput/types.d.ts +0 -12
  96. package/dist/ui/avatar.d.ts +0 -27
  97. package/dist/ui/badge.d.ts +0 -21
  98. package/dist/ui/breadcrumb.d.ts +0 -38
  99. package/dist/ui/button.d.ts +0 -25
  100. package/dist/ui/card.d.ts +0 -43
  101. package/dist/ui/carousel.d.ts +0 -4
  102. package/dist/ui/checkbox.d.ts +0 -16
  103. package/dist/ui/collapsible.d.ts +0 -24
  104. package/dist/ui/command.d.ts +0 -4
  105. package/dist/ui/context-menu.d.ts +0 -109
  106. package/dist/ui/date-picker.d.ts +0 -23
  107. package/dist/ui/date-range-picker.d.ts +0 -30
  108. package/dist/ui/datetime-picker.d.ts +0 -27
  109. package/dist/ui/dialog.d.ts +0 -68
  110. package/dist/ui/dropdown-menu.d.ts +0 -111
  111. package/dist/ui/empty-state.d.ts +0 -28
  112. package/dist/ui/empty.d.ts +0 -36
  113. package/dist/ui/fab.d.ts +0 -35
  114. package/dist/ui/field.d.ts +0 -66
  115. package/dist/ui/form.d.ts +0 -49
  116. package/dist/ui/hover-card.d.ts +0 -29
  117. package/dist/ui/icons/Check.d.ts +0 -2
  118. package/dist/ui/icons/ChevronDown.d.ts +0 -2
  119. package/dist/ui/icons/ChevronRight.d.ts +0 -2
  120. package/dist/ui/icons/ChevronUp.d.ts +0 -2
  121. package/dist/ui/icons/CircleUser.d.ts +0 -2
  122. package/dist/ui/icons/Info.d.ts +0 -2
  123. package/dist/ui/icons/Key.d.ts +0 -2
  124. package/dist/ui/icons/MoonStar.d.ts +0 -2
  125. package/dist/ui/icons/Sun.d.ts +0 -2
  126. package/dist/ui/icons/X.d.ts +0 -2
  127. package/dist/ui/icons/iconWithClassName.d.ts +0 -6
  128. package/dist/ui/input.d.ts +0 -14
  129. package/dist/ui/label.d.ts +0 -15
  130. package/dist/ui/link.d.ts +0 -13
  131. package/dist/ui/loading-button.d.ts +0 -19
  132. package/dist/ui/loading-overlay.d.ts +0 -15
  133. package/dist/ui/loading-screen.d.ts +0 -13
  134. package/dist/ui/marketing/FeatureGrid.d.ts +0 -20
  135. package/dist/ui/marketing/Hero.d.ts +0 -27
  136. package/dist/ui/marketing/PricingTable.d.ts +0 -24
  137. package/dist/ui/marketing/index.d.ts +0 -4
  138. package/dist/ui/menubar.d.ts +0 -114
  139. package/dist/ui/molecules/Autocomplete/index.d.ts +0 -4
  140. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -7
  141. package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
  142. package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -24
  143. package/dist/ui/molecules/SkeletonList.d.ts +0 -15
  144. package/dist/ui/nativewind-env.d.ts +0 -1
  145. package/dist/ui/navigation-menu.d.ts +0 -67
  146. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -29
  147. package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
  148. package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -28
  149. package/dist/ui/organisms/ListPage/index.d.ts +0 -3
  150. package/dist/ui/organisms/ListPage/types.d.ts +0 -41
  151. package/dist/ui/page-header.d.ts +0 -26
  152. package/dist/ui/password-strength.d.ts +0 -20
  153. package/dist/ui/popover.d.ts +0 -29
  154. package/dist/ui/progress.d.ts +0 -16
  155. package/dist/ui/radio-group.d.ts +0 -14
  156. package/dist/ui/select.d.ts +0 -83
  157. package/dist/ui/separator.d.ts +0 -15
  158. package/dist/ui/sheet.d.ts +0 -4
  159. package/dist/ui/sidebar.d.ts +0 -4
  160. package/dist/ui/skeleton.d.ts +0 -11
  161. package/dist/ui/stack.d.ts +0 -76
  162. package/dist/ui/stepper.d.ts +0 -22
  163. package/dist/ui/switch.d.ts +0 -14
  164. package/dist/ui/table.d.ts +0 -50
  165. package/dist/ui/tabs.d.ts +0 -32
  166. package/dist/ui/text.d.ts +0 -20
  167. package/dist/ui/textarea.d.ts +0 -9
  168. package/dist/ui/time-picker.d.ts +0 -21
  169. package/dist/ui/toggle-group.d.ts +0 -35
  170. package/dist/ui/toggle.d.ts +0 -33
  171. package/dist/ui/tooltip.d.ts +0 -31
  172. package/dist/ui/typography.d.ts +0 -64
  173. package/dist/ui/useColorScheme.d.ts +0 -11
  174. package/dist/ui/useListState.d.ts +0 -33
  175. package/dist/ui/usecases/UseCaseCard.d.ts +0 -18
  176. package/dist/ui/usecases/UserStoryCard.d.ts +0 -14
  177. package/dist/ui/usecases/index.d.ts +0 -3
  178. package/dist/ui/utils.d.ts +0 -6
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import * as react_jsx_runtime159 from "react/jsx-runtime";
3
-
4
- //#region ui/organisms/ErrorBoundary/ErrorBoundary.d.ts
5
- interface ErrorBoundaryState {
6
- hasError: boolean;
7
- error: Error | null;
8
- errorId: string | null;
9
- }
10
- interface ErrorBoundaryProps {
11
- children: React.ReactNode;
12
- fallback?: React.ComponentType<ErrorFallbackProps>;
13
- onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
14
- }
15
- interface ErrorFallbackProps {
16
- error: Error;
17
- errorId: string | null;
18
- resetError: () => void;
19
- }
20
- declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
21
- constructor(props: ErrorBoundaryProps);
22
- static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState>;
23
- componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
24
- resetError: () => void;
25
- render(): string | number | bigint | boolean | react_jsx_runtime159.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
26
- }
27
- declare const useErrorHandler: () => (error: Error) => never;
28
- //#endregion
29
- export { ErrorBoundary, type ErrorBoundaryProps, type ErrorFallbackProps, useErrorHandler };
@@ -1,2 +0,0 @@
1
- import { ErrorBoundary, ErrorBoundaryProps, ErrorFallbackProps, useErrorHandler } from "./ErrorBoundary.js";
2
- export { ErrorBoundary, type ErrorBoundaryProps, type ErrorFallbackProps, useErrorHandler };
@@ -1,28 +0,0 @@
1
- import { ListPageProps } from "./types.js";
2
- import * as react_jsx_runtime156 from "react/jsx-runtime";
3
-
4
- //#region ui/organisms/ListPage/ListPage.d.ts
5
- declare function ListPage<T>({
6
- title,
7
- description,
8
- header,
9
- items,
10
- totalItems,
11
- totalPages,
12
- isLoading,
13
- isFetching,
14
- error,
15
- listState,
16
- searchPlaceholder,
17
- filters,
18
- onRefresh,
19
- primaryAction,
20
- toolbar,
21
- renderItem,
22
- renderEmpty,
23
- renderStats,
24
- className,
25
- itemClassName
26
- }: ListPageProps<T>): react_jsx_runtime156.JSX.Element;
27
- //#endregion
28
- export { ListPage };
@@ -1,3 +0,0 @@
1
- import { ListPageFilter, ListPageProps } from "./types.js";
2
- import { ListPage } from "./ListPage.js";
3
- export { ListPage, type ListPageFilter, type ListPageProps };
@@ -1,41 +0,0 @@
1
- import { FilterOption } from "../../atoms/FilterSelect/types.js";
2
- import "../../atoms/FilterSelect/index.js";
3
- import { UseListStateReturn } from "../../useListState.js";
4
- import { ReactNode } from "react";
5
-
6
- //#region ui/organisms/ListPage/types.d.ts
7
- interface ListPageFilter {
8
- key: string;
9
- label: string;
10
- options: FilterOption[];
11
- showCounts?: boolean;
12
- }
13
- interface ListPageProps<T = unknown> {
14
- title: string;
15
- description?: string;
16
- header?: ReactNode;
17
- items: T[];
18
- totalItems: number;
19
- totalPages: number;
20
- isLoading: boolean;
21
- isFetching?: boolean;
22
- error?: Error | null;
23
- listState: UseListStateReturn;
24
- searchPlaceholder?: string;
25
- filters?: ListPageFilter[];
26
- onRefresh?: () => void;
27
- primaryAction?: {
28
- label: string;
29
- href?: string;
30
- onClick?: () => void;
31
- icon?: ReactNode;
32
- };
33
- toolbar?: ReactNode;
34
- renderItem: (item: T, index: number) => ReactNode;
35
- renderEmpty?: () => ReactNode;
36
- renderStats?: (items: T[]) => ReactNode;
37
- className?: string;
38
- itemClassName?: string;
39
- }
40
- //#endregion
41
- export { ListPageFilter, ListPageProps };
@@ -1,26 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime17 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types0 from "class-variance-authority/types";
5
-
6
- //#region ui/page-header.d.ts
7
- declare const headerVariants: (props?: ({
8
- spacing?: "sm" | "md" | "lg" | null | undefined;
9
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
- interface PageHeaderProps extends VariantProps<typeof headerVariants> {
11
- breadcrumb?: React$1.ReactNode;
12
- title: React$1.ReactNode;
13
- subtitle?: React$1.ReactNode;
14
- actions?: React$1.ReactNode;
15
- className?: string;
16
- }
17
- declare function PageHeader({
18
- breadcrumb,
19
- title,
20
- subtitle,
21
- actions,
22
- spacing,
23
- className
24
- }: PageHeaderProps): react_jsx_runtime17.JSX.Element;
25
- //#endregion
26
- export { PageHeader, PageHeaderProps };
@@ -1,20 +0,0 @@
1
- import * as react_jsx_runtime21 from "react/jsx-runtime";
2
- import { z } from "zod";
3
-
4
- //#region ui/password-strength.d.ts
5
- declare const passwordSchema: z.ZodString;
6
- declare function getPasswordStrength(password: string): {
7
- score: number;
8
- feedback: string[];
9
- isValid: boolean;
10
- };
11
- interface PasswordStrengthProps {
12
- password: string;
13
- showFeedback?: boolean;
14
- }
15
- declare function PasswordStrength({
16
- password,
17
- showFeedback
18
- }: PasswordStrengthProps): react_jsx_runtime21.JSX.Element | null;
19
- //#endregion
20
- export { PasswordStrength, getPasswordStrength, passwordSchema };
@@ -1,29 +0,0 @@
1
- import * as react1 from "react";
2
- import * as react_native4 from "react-native";
3
- import * as react_jsx_runtime22 from "react/jsx-runtime";
4
- import * as _rn_primitives_popover0 from "@rn-primitives/popover";
5
-
6
- //#region ui/popover.d.ts
7
- declare const Popover: react1.ForwardRefExoticComponent<react_native4.ViewProps & {
8
- asChild?: boolean;
9
- } & {
10
- onOpenChange?: (open: boolean) => void;
11
- } & react1.RefAttributes<react_native4.View>>;
12
- declare const PopoverTrigger: react1.ForwardRefExoticComponent<Omit<react_native4.PressableProps & react1.RefAttributes<react_native4.View>, "ref"> & {
13
- asChild?: boolean;
14
- } & {
15
- onKeyDown?: (ev: React.KeyboardEvent) => void;
16
- onKeyUp?: (ev: React.KeyboardEvent) => void;
17
- } & react1.RefAttributes<_rn_primitives_popover0.TriggerRef>>;
18
- declare function PopoverContent({
19
- className,
20
- align,
21
- sideOffset,
22
- portalHost,
23
- ...props
24
- }: _rn_primitives_popover0.ContentProps & {
25
- ref?: React.RefObject<_rn_primitives_popover0.ContentRef>;
26
- portalHost?: string;
27
- }): react_jsx_runtime22.JSX.Element;
28
- //#endregion
29
- export { Popover, PopoverContent, PopoverTrigger };
@@ -1,16 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime26 from "react/jsx-runtime";
3
- import * as ProgressPrimitive from "@rn-primitives/progress";
4
-
5
- //#region ui/progress.d.ts
6
- declare function Progress({
7
- className,
8
- value,
9
- indicatorClassName,
10
- ...props
11
- }: ProgressPrimitive.RootProps & {
12
- ref?: React$1.RefObject<ProgressPrimitive.RootRef>;
13
- indicatorClassName?: string;
14
- }): react_jsx_runtime26.JSX.Element;
15
- //#endregion
16
- export { Progress };
@@ -1,14 +0,0 @@
1
- import * as react_jsx_runtime28 from "react/jsx-runtime";
2
- import * as RadioGroupPrimitive from "@rn-primitives/radio-group";
3
-
4
- //#region ui/radio-group.d.ts
5
- declare function RadioGroup({
6
- className,
7
- ...props
8
- }: RadioGroupPrimitive.RootProps & React.RefAttributes<RadioGroupPrimitive.RootRef>): react_jsx_runtime28.JSX.Element;
9
- declare function RadioGroupItem({
10
- className,
11
- ...props
12
- }: RadioGroupPrimitive.ItemProps & React.RefAttributes<RadioGroupPrimitive.ItemRef>): react_jsx_runtime28.JSX.Element;
13
- //#endregion
14
- export { RadioGroup, RadioGroupItem };
@@ -1,83 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_native8 from "react-native";
3
- import { View } from "react-native";
4
- import * as react_jsx_runtime37 from "react/jsx-runtime";
5
- import * as _rn_primitives_select0 from "@rn-primitives/select";
6
-
7
- //#region ui/select.d.ts
8
- type Option = _rn_primitives_select0.Option;
9
- declare const Select: React$1.ForwardRefExoticComponent<react_native8.ViewProps & {
10
- asChild?: boolean;
11
- } & {
12
- value?: _rn_primitives_select0.Option;
13
- defaultValue?: _rn_primitives_select0.Option;
14
- onValueChange?: (option: _rn_primitives_select0.Option) => void;
15
- onOpenChange?: (open: boolean) => void;
16
- disabled?: boolean;
17
- dir?: "ltr" | "rtl";
18
- name?: string;
19
- required?: boolean;
20
- } & React$1.RefAttributes<View>>;
21
- declare const SelectGroup: React$1.ForwardRefExoticComponent<react_native8.ViewProps & {
22
- asChild?: boolean;
23
- } & React$1.RefAttributes<View>>;
24
- declare const SelectValue: React$1.ForwardRefExoticComponent<react_native8.TextProps & {
25
- asChild?: boolean;
26
- } & {
27
- placeholder: string;
28
- } & React$1.RefAttributes<react_native8.Text>>;
29
- declare function SelectTrigger({
30
- ref,
31
- className,
32
- children,
33
- ...props
34
- }: _rn_primitives_select0.TriggerProps & {
35
- ref?: React$1.RefObject<_rn_primitives_select0.TriggerRef>;
36
- children?: React$1.ReactNode;
37
- }): react_jsx_runtime37.JSX.Element;
38
- /**
39
- * Platform: WEB ONLY
40
- */
41
- declare function SelectScrollUpButton({
42
- className,
43
- ...props
44
- }: _rn_primitives_select0.ScrollUpButtonProps): react_jsx_runtime37.JSX.Element | null;
45
- /**
46
- * Platform: WEB ONLY
47
- */
48
- declare function SelectScrollDownButton({
49
- className,
50
- ...props
51
- }: _rn_primitives_select0.ScrollDownButtonProps): react_jsx_runtime37.JSX.Element | null;
52
- declare function SelectContent({
53
- className,
54
- children,
55
- position,
56
- portalHost,
57
- ...props
58
- }: _rn_primitives_select0.ContentProps & {
59
- ref?: React$1.RefObject<_rn_primitives_select0.ContentRef>;
60
- className?: string;
61
- portalHost?: string;
62
- }): react_jsx_runtime37.JSX.Element;
63
- declare function SelectLabel({
64
- className,
65
- ...props
66
- }: _rn_primitives_select0.LabelProps & {
67
- ref?: React$1.RefObject<_rn_primitives_select0.LabelRef>;
68
- }): react_jsx_runtime37.JSX.Element;
69
- declare function SelectItem({
70
- className,
71
- children,
72
- ...props
73
- }: _rn_primitives_select0.ItemProps & {
74
- ref?: React$1.RefObject<_rn_primitives_select0.ItemRef>;
75
- }): react_jsx_runtime37.JSX.Element;
76
- declare function SelectSeparator({
77
- className,
78
- ...props
79
- }: _rn_primitives_select0.SeparatorProps & {
80
- ref?: React$1.RefObject<_rn_primitives_select0.SeparatorRef>;
81
- }): react_jsx_runtime37.JSX.Element;
82
- //#endregion
83
- export { type Option, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -1,15 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime45 from "react/jsx-runtime";
3
- import * as SeparatorPrimitive from "@rn-primitives/separator";
4
-
5
- //#region ui/separator.d.ts
6
- declare function Separator({
7
- className,
8
- orientation,
9
- decorative,
10
- ...props
11
- }: SeparatorPrimitive.RootProps & {
12
- ref?: React$1.RefObject<SeparatorPrimitive.RootRef>;
13
- }): react_jsx_runtime45.JSX.Element;
14
- //#endregion
15
- export { Separator };
@@ -1,4 +0,0 @@
1
- //#region ui/sheet.d.ts
2
- declare const sheet = "null";
3
- //#endregion
4
- export { sheet };
@@ -1,4 +0,0 @@
1
- //#region ui/sidebar.d.ts
2
- declare const sidebar = "null";
3
- //#endregion
4
- export { sidebar };
@@ -1,11 +0,0 @@
1
- import * as React$1 from "react";
2
- import { View } from "react-native";
3
- import * as react_jsx_runtime52 from "react/jsx-runtime";
4
-
5
- //#region ui/skeleton.d.ts
6
- declare function Skeleton({
7
- className,
8
- ...props
9
- }: Omit<React$1.ComponentPropsWithoutRef<typeof View>, 'style'>): react_jsx_runtime52.JSX.Element;
10
- //#endregion
11
- export { Skeleton };
@@ -1,76 +0,0 @@
1
- import * as React$1 from "react";
2
- import { View, ViewProps } from "react-native";
3
- import * as react_jsx_runtime55 from "react/jsx-runtime";
4
- import { VariantProps } from "class-variance-authority";
5
- import * as class_variance_authority_types7 from "class-variance-authority/types";
6
-
7
- //#region ui/stack.d.ts
8
- declare const vStackVariants: (props?: ({
9
- spacing?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | "2xl" | null | undefined;
10
- align?: "stretch" | "start" | "center" | "end" | null | undefined;
11
- justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
12
- width?: "auto" | "full" | "screen" | "fit" | null | undefined;
13
- padding?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
14
- gap?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
15
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
16
- declare const hStackVariants: (props?: ({
17
- spacing?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | "2xl" | null | undefined;
18
- align?: "stretch" | "start" | "center" | "end" | "baseline" | null | undefined;
19
- justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
20
- width?: "auto" | "full" | "screen" | "fit" | null | undefined;
21
- padding?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
22
- gap?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
23
- wrap?: "reverse" | "wrap" | "nowrap" | null | undefined;
24
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
25
- declare const boxVariants: (props?: ({
26
- spacing?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | "2xl" | null | undefined;
27
- align?: "stretch" | "start" | "center" | "end" | "baseline" | null | undefined;
28
- justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
29
- width?: "auto" | "full" | "screen" | "fit" | null | undefined;
30
- padding?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
31
- gap?: "sm" | "md" | "lg" | "none" | "xs" | "xl" | null | undefined;
32
- wrap?: "reverse" | "wrap" | "nowrap" | null | undefined;
33
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
34
- type BoxProps = ViewProps & VariantProps<typeof boxVariants> & {
35
- ref?: React$1.RefObject<React$1.ComponentRef<typeof View>>;
36
- };
37
- type VStackProps = ViewProps & VariantProps<typeof vStackVariants> & {
38
- ref?: React$1.RefObject<React$1.ComponentRef<typeof View>>;
39
- };
40
- type HStackProps = ViewProps & VariantProps<typeof hStackVariants> & {
41
- ref?: React$1.RefObject<React$1.ComponentRef<typeof View>>;
42
- };
43
- declare function Box({
44
- className,
45
- spacing,
46
- align,
47
- justify,
48
- width,
49
- padding,
50
- gap,
51
- wrap,
52
- ...props
53
- }: BoxProps): react_jsx_runtime55.JSX.Element;
54
- declare function HStack({
55
- className,
56
- spacing,
57
- align,
58
- justify,
59
- width,
60
- padding,
61
- gap,
62
- wrap,
63
- ...props
64
- }: HStackProps): react_jsx_runtime55.JSX.Element;
65
- declare function VStack({
66
- className,
67
- spacing,
68
- align,
69
- justify,
70
- width,
71
- padding,
72
- gap,
73
- ...props
74
- }: VStackProps): react_jsx_runtime55.JSX.Element;
75
- //#endregion
76
- export { Box, type BoxProps, HStack, type HStackProps, VStack, type VStackProps };
@@ -1,22 +0,0 @@
1
- import * as react_jsx_runtime58 from "react/jsx-runtime";
2
- import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types10 from "class-variance-authority/types";
4
-
5
- //#region ui/stepper.d.ts
6
- declare const dotVariants: (props?: ({
7
- state?: "active" | "inactive" | null | undefined;
8
- size?: "sm" | "md" | null | undefined;
9
- } & class_variance_authority_types10.ClassProp) | undefined) => string;
10
- interface StepperProps extends VariantProps<typeof dotVariants> {
11
- current: number;
12
- total: number;
13
- className?: string;
14
- }
15
- declare function Stepper({
16
- current,
17
- total,
18
- size,
19
- className
20
- }: StepperProps): react_jsx_runtime58.JSX.Element;
21
- //#endregion
22
- export { Stepper, StepperProps };
@@ -1,14 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime59 from "react/jsx-runtime";
3
- import * as SwitchPrimitives from "@rn-primitives/switch";
4
-
5
- //#region ui/switch.d.ts
6
- declare function SwitchNative({
7
- className,
8
- ...props
9
- }: SwitchPrimitives.RootProps & {
10
- ref?: React$1.RefObject<SwitchPrimitives.RootRef>;
11
- }): react_jsx_runtime59.JSX.Element;
12
- declare const Switch: typeof SwitchNative;
13
- //#endregion
14
- export { Switch };
@@ -1,50 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime69 from "react/jsx-runtime";
3
- import * as TablePrimitive from "@rn-primitives/table";
4
-
5
- //#region ui/table.d.ts
6
- declare function Table({
7
- className,
8
- ...props
9
- }: TablePrimitive.RootProps & {
10
- ref?: React$1.RefObject<TablePrimitive.RootRef>;
11
- }): react_jsx_runtime69.JSX.Element;
12
- declare function TableHeader({
13
- className,
14
- ...props
15
- }: TablePrimitive.HeaderProps & {
16
- ref?: React$1.RefObject<TablePrimitive.HeaderRef>;
17
- }): react_jsx_runtime69.JSX.Element;
18
- declare function TableBody({
19
- className,
20
- style,
21
- ...props
22
- }: TablePrimitive.BodyProps & {
23
- ref?: React$1.RefObject<TablePrimitive.BodyRef>;
24
- }): react_jsx_runtime69.JSX.Element;
25
- declare function TableFooter({
26
- className,
27
- ...props
28
- }: TablePrimitive.FooterProps & {
29
- ref?: React$1.RefObject<TablePrimitive.FooterRef>;
30
- }): react_jsx_runtime69.JSX.Element;
31
- declare function TableRow({
32
- className,
33
- ...props
34
- }: TablePrimitive.RowProps & {
35
- ref?: React$1.RefObject<TablePrimitive.RowRef>;
36
- }): react_jsx_runtime69.JSX.Element;
37
- declare function TableHead({
38
- className,
39
- ...props
40
- }: TablePrimitive.HeadProps & {
41
- ref?: React$1.RefObject<TablePrimitive.HeadRef>;
42
- }): react_jsx_runtime69.JSX.Element;
43
- declare function TableCell({
44
- className,
45
- ...props
46
- }: TablePrimitive.CellProps & {
47
- ref?: React$1.RefObject<TablePrimitive.CellRef>;
48
- }): react_jsx_runtime69.JSX.Element;
49
- //#endregion
50
- export { Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow };
package/dist/ui/tabs.d.ts DELETED
@@ -1,32 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_native28 from "react-native";
3
- import * as _rn_primitives_types1 from "@rn-primitives/types";
4
-
5
- //#region ui/tabs.d.ts
6
- declare const Tabs: React$1.ForwardRefExoticComponent<react_native28.ViewProps & {
7
- asChild?: boolean;
8
- } & {
9
- value: string;
10
- onValueChange: (value: string) => void;
11
- orientation?: "horizontal" | "vertical";
12
- dir?: "ltr" | "rtl";
13
- activationMode?: "automatic" | "manual";
14
- } & React$1.RefAttributes<react_native28.View>>;
15
- declare const TabsList: React$1.ForwardRefExoticComponent<Omit<react_native28.ViewProps & {
16
- asChild?: boolean;
17
- } & React$1.RefAttributes<react_native28.View>, "ref"> & React$1.RefAttributes<react_native28.View>>;
18
- declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<Omit<react_native28.PressableProps & React$1.RefAttributes<react_native28.View>, "ref"> & {
19
- asChild?: boolean;
20
- } & {
21
- onKeyDown?: (ev: React$1.KeyboardEvent) => void;
22
- onKeyUp?: (ev: React$1.KeyboardEvent) => void;
23
- } & {
24
- value: string;
25
- } & React$1.RefAttributes<react_native28.View>, "ref"> & React$1.RefAttributes<react_native28.View>>;
26
- declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<react_native28.ViewProps & {
27
- asChild?: boolean;
28
- } & _rn_primitives_types1.ForceMountable & {
29
- value: string;
30
- } & React$1.RefAttributes<react_native28.View>, "ref"> & React$1.RefAttributes<react_native28.View>>;
31
- //#endregion
32
- export { Tabs, TabsContent, TabsList, TabsTrigger };
package/dist/ui/text.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import * as React$1 from "react";
2
- import { Text as Text$1 } from "react-native";
3
- import * as react_jsx_runtime78 from "react/jsx-runtime";
4
-
5
- //#region ui/text.d.ts
6
- declare const TextClassContext: React$1.Context<string | undefined>;
7
- type TextProps = React$1.ComponentProps<typeof Text$1> & {
8
- ref?: React$1.RefObject<React$1.ComponentRef<typeof Text$1>>;
9
- asChild?: boolean;
10
- };
11
- declare function Text({
12
- className,
13
- asChild,
14
- ...props
15
- }: React$1.ComponentProps<typeof Text$1> & {
16
- ref?: React$1.RefObject<React$1.ComponentRef<typeof Text$1>>;
17
- asChild?: boolean;
18
- }): react_jsx_runtime78.JSX.Element;
19
- //#endregion
20
- export { Text, TextClassContext, TextProps };
@@ -1,9 +0,0 @@
1
- import * as React$1 from "react";
2
- import { TextInput, TextInputProps } from "react-native";
3
-
4
- //#region ui/textarea.d.ts
5
- declare const Textarea: React$1.ForwardRefExoticComponent<Omit<TextInputProps & {
6
- ref?: React$1.RefObject<TextInput>;
7
- }, "ref"> & React$1.RefAttributes<TextInput>>;
8
- //#endregion
9
- export { Textarea };
@@ -1,21 +0,0 @@
1
- import * as react_jsx_runtime86 from "react/jsx-runtime";
2
-
3
- //#region ui/time-picker.d.ts
4
- interface TimePickerProps {
5
- value: Date | null;
6
- onChange: (date: Date | null) => void;
7
- disabled?: boolean;
8
- placeholder?: string;
9
- is24Hour?: boolean;
10
- className?: string;
11
- }
12
- declare function TimePicker({
13
- value,
14
- onChange,
15
- disabled,
16
- placeholder,
17
- is24Hour,
18
- className
19
- }: TimePickerProps): react_jsx_runtime86.JSX.Element;
20
- //#endregion
21
- export { TimePicker, TimePickerProps };
@@ -1,35 +0,0 @@
1
- import { toggleVariants } from "./toggle.js";
2
- import * as React$1 from "react";
3
- import { LucideIcon } from "lucide-react-native";
4
- import * as react_jsx_runtime96 from "react/jsx-runtime";
5
- import { VariantProps } from "class-variance-authority";
6
- import * as ToggleGroupPrimitive from "@rn-primitives/toggle-group";
7
-
8
- //#region ui/toggle-group.d.ts
9
- declare function ToggleGroup({
10
- className,
11
- variant,
12
- size,
13
- children,
14
- ...props
15
- }: ToggleGroupPrimitive.RootProps & VariantProps<typeof toggleVariants> & {
16
- ref?: React$1.RefObject<ToggleGroupPrimitive.RootRef>;
17
- }): react_jsx_runtime96.JSX.Element;
18
- declare function ToggleGroupItem({
19
- className,
20
- children,
21
- variant,
22
- size,
23
- ...props
24
- }: ToggleGroupPrimitive.ItemProps & VariantProps<typeof toggleVariants> & {
25
- ref?: React$1.RefObject<ToggleGroupPrimitive.ItemRef>;
26
- }): react_jsx_runtime96.JSX.Element;
27
- declare function ToggleGroupIcon({
28
- className,
29
- icon: Icon,
30
- ...props
31
- }: React$1.ComponentPropsWithoutRef<LucideIcon> & {
32
- icon: LucideIcon;
33
- }): react_jsx_runtime96.JSX.Element;
34
- //#endregion
35
- export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
@@ -1,33 +0,0 @@
1
- import * as React$1 from "react";
2
- import { LucideIcon } from "lucide-react-native";
3
- import * as react_jsx_runtime53 from "react/jsx-runtime";
4
- import { VariantProps } from "class-variance-authority";
5
- import * as TogglePrimitive from "@rn-primitives/toggle";
6
- import * as class_variance_authority_types5 from "class-variance-authority/types";
7
-
8
- //#region ui/toggle.d.ts
9
- declare const toggleVariants: (props?: ({
10
- variant?: "default" | "outline" | null | undefined;
11
- size?: "default" | "sm" | "lg" | null | undefined;
12
- } & class_variance_authority_types5.ClassProp) | undefined) => string;
13
- declare const toggleTextVariants: (props?: ({
14
- variant?: "default" | "outline" | null | undefined;
15
- size?: "default" | "sm" | "lg" | null | undefined;
16
- } & class_variance_authority_types5.ClassProp) | undefined) => string;
17
- declare function Toggle({
18
- className,
19
- variant,
20
- size,
21
- ...props
22
- }: TogglePrimitive.RootProps & VariantProps<typeof toggleVariants> & VariantProps<typeof toggleVariants> & {
23
- ref?: React$1.RefObject<TogglePrimitive.RootRef>;
24
- }): react_jsx_runtime53.JSX.Element;
25
- declare function ToggleIcon({
26
- className,
27
- icon: Icon,
28
- ...props
29
- }: React$1.ComponentPropsWithoutRef<LucideIcon> & {
30
- icon: LucideIcon;
31
- }): react_jsx_runtime53.JSX.Element;
32
- //#endregion
33
- export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };