@marktiderman/genesis-ui-native 2.0.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.
- package/dist/chunk-BAU4YQZV.js +760 -0
- package/dist/chunk-BAU4YQZV.js.map +1 -0
- package/dist/chunk-DGUM43GV.js +10 -0
- package/dist/chunk-DGUM43GV.js.map +1 -0
- package/dist/chunk-HNIEFTEL.js +43 -0
- package/dist/chunk-HNIEFTEL.js.map +1 -0
- package/dist/chunk-N4WHTQIO.js +20 -0
- package/dist/chunk-N4WHTQIO.js.map +1 -0
- package/dist/chunk-OHZD7KRO.js +11 -0
- package/dist/chunk-OHZD7KRO.js.map +1 -0
- package/dist/chunk-PTJ2KCLM.js +160 -0
- package/dist/chunk-PTJ2KCLM.js.map +1 -0
- package/dist/chunk-TXJT55JC.js +2213 -0
- package/dist/chunk-TXJT55JC.js.map +1 -0
- package/dist/chunk-ULS7I6ZS.js +183 -0
- package/dist/chunk-ULS7I6ZS.js.map +1 -0
- package/dist/chunk-ZVF6PONU.js +522 -0
- package/dist/chunk-ZVF6PONU.js.map +1 -0
- package/dist/components/index.d.ts +908 -0
- package/dist/components/index.js +8 -0
- package/dist/components/index.js.map +1 -0
- package/dist/data/index.d.ts +117 -0
- package/dist/data/index.js +770 -0
- package/dist/data/index.js.map +1 -0
- package/dist/hooks/index.d.ts +31 -0
- package/dist/hooks/index.js +5 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts/index.d.ts +364 -0
- package/dist/layouts/index.js +8 -0
- package/dist/layouts/index.js.map +1 -0
- package/dist/utils.d.ts +5 -0
- package/dist/utils.js +4 -0
- package/dist/utils.js.map +1 -0
- package/package.json +127 -0
- package/src/components/__tests__/accordion.test.tsx +122 -0
- package/src/components/__tests__/chip-group.test.tsx +45 -0
- package/src/components/__tests__/combobox.test.tsx +97 -0
- package/src/components/__tests__/drawer.test.tsx +98 -0
- package/src/components/__tests__/empty-state.test.tsx +66 -0
- package/src/components/__tests__/header-card.test.tsx +31 -0
- package/src/components/__tests__/layout.test.tsx +109 -0
- package/src/components/__tests__/list-item.test.tsx +31 -0
- package/src/components/__tests__/number-input.test.tsx +46 -0
- package/src/components/__tests__/pagination.test.tsx +43 -0
- package/src/components/__tests__/search-bar.test.tsx +41 -0
- package/src/components/__tests__/segmented-empty-alert.test.tsx +79 -0
- package/src/components/__tests__/slider.test.tsx +134 -0
- package/src/components/__tests__/stepper.test.tsx +25 -0
- package/src/components/__tests__/toast.test.tsx +63 -0
- package/src/components/accordion.tsx +223 -0
- package/src/components/alert.tsx +131 -0
- package/src/components/avatar.tsx +68 -0
- package/src/components/badge.tsx +80 -0
- package/src/components/button.tsx +118 -0
- package/src/components/card.tsx +120 -0
- package/src/components/checkbox.tsx +60 -0
- package/src/components/chip-group.tsx +127 -0
- package/src/components/combobox.tsx +137 -0
- package/src/components/date-time-picker.tsx +127 -0
- package/src/components/dialog.tsx +131 -0
- package/src/components/drawer.tsx +131 -0
- package/src/components/dropdown-menu.tsx +133 -0
- package/src/components/empty-state.tsx +161 -0
- package/src/components/header-card.tsx +116 -0
- package/src/components/index.ts +259 -0
- package/src/components/inline-alert.tsx +150 -0
- package/src/components/input.tsx +51 -0
- package/src/components/label.tsx +35 -0
- package/src/components/layout/box.tsx +115 -0
- package/src/components/layout/flex.ts +24 -0
- package/src/components/layout/grid.tsx +73 -0
- package/src/components/layout/index.ts +27 -0
- package/src/components/layout/inline.tsx +63 -0
- package/src/components/layout/spacing.ts +116 -0
- package/src/components/layout/stack.tsx +58 -0
- package/src/components/list-item.tsx +108 -0
- package/src/components/number-input.tsx +119 -0
- package/src/components/pagination.tsx +132 -0
- package/src/components/popover.tsx +198 -0
- package/src/components/progress.tsx +50 -0
- package/src/components/radio-group.tsx +92 -0
- package/src/components/refresh-control.tsx +73 -0
- package/src/components/search-bar.tsx +128 -0
- package/src/components/section-list.tsx +54 -0
- package/src/components/segmented-control.tsx +79 -0
- package/src/components/select.tsx +178 -0
- package/src/components/separator.tsx +31 -0
- package/src/components/sheet.tsx +192 -0
- package/src/components/skeleton.tsx +104 -0
- package/src/components/slider.tsx +223 -0
- package/src/components/stepper.tsx +96 -0
- package/src/components/switch.tsx +35 -0
- package/src/components/tabs.tsx +147 -0
- package/src/components/text.tsx +62 -0
- package/src/components/textarea.tsx +52 -0
- package/src/components/toast.tsx +228 -0
- package/src/components/toggle.tsx +85 -0
- package/src/components/tooltip.tsx +104 -0
- package/src/data/NativeDataFilters.tsx +100 -0
- package/src/data/NativeDataPageShell.tsx +111 -0
- package/src/data/NativeDetailPanel.tsx +130 -0
- package/src/data/NativeEmptyState.tsx +46 -0
- package/src/data/NativeResourceForm.tsx +157 -0
- package/src/data/NativeResourceFormField.tsx +280 -0
- package/src/data/NativeResourcePage.tsx +505 -0
- package/src/data/index.ts +9 -0
- package/src/hooks/index.ts +16 -0
- package/src/hooks/use-genesis-extension.ts +81 -0
- package/src/hooks/use-reduced-motion.ts +32 -0
- package/src/hooks/use-theme-mode.ts +31 -0
- package/src/index.ts +5 -0
- package/src/layouts/__tests__/auth.test.tsx +150 -0
- package/src/layouts/__tests__/nav-bar.test.tsx +86 -0
- package/src/layouts/__tests__/notifications-page.test.tsx +94 -0
- package/src/layouts/__tests__/screen-container.test.tsx +79 -0
- package/src/layouts/__tests__/settings-page.test.tsx +107 -0
- package/src/layouts/__tests__/settings-sub-page.test.tsx +53 -0
- package/src/layouts/auth.tsx +352 -0
- package/src/layouts/index.ts +61 -0
- package/src/layouts/nav-bar.tsx +200 -0
- package/src/layouts/notifications-page.tsx +274 -0
- package/src/layouts/screen-container.tsx +213 -0
- package/src/layouts/settings-page.tsx +195 -0
- package/src/layouts/settings-sub-page.tsx +183 -0
- package/src/nativewind.d.ts +40 -0
- package/src/utils.ts +6 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/data/NativeEmptyState.tsx","../../src/data/NativeDataFilters.tsx","../../src/data/NativeDataPageShell.tsx","../../src/data/NativeDetailPanel.tsx","../../src/data/NativeResourceFormField.tsx","../../src/data/NativeResourceForm.tsx","../../src/data/NativeResourcePage.tsx"],"names":["jsxs","View","jsx","ScrollView","SafeAreaView","titleCase","Pressable","useMemo","useCallback","Fragment"],"mappings":";;;;;;;;;;;;;AAYA,SAAS,gBAAA,CAAiB;AAAA,EACxB,OAAA,GAAU,gBAAA;AAAA,EACV,MAAA;AAAA,EACA,UAAA,GAAa,KAAA;AAAA,EACb;AACF,CAAA,EAA0B;AACxB,EAAA,IAAI,UAAA,EAAY;AACd,IAAA,uBACE,IAAA,CAAC,IAAA,EAAA,EAAK,SAAA,EAAU,+CAAA,EACd,QAAA,EAAA;AAAA,sBAAA,GAAA,CAAC,UAAA,EAAA,EAAW,MAAA,EAAO,MAAA,EAAO,SAAA,EAAU,qCAAoC,QAAA,EAAA,+BAAA,EAExE,CAAA;AAAA,MACC,cAAA,mBACC,GAAA,CAAC,IAAA,EAAA,EAAK,SAAA,EAAU,QACd,QAAA,kBAAA,GAAA,CAAC,YAAA,EAAA,EAAa,OAAA,EAAQ,SAAA,EAAU,MAAK,IAAA,EAAK,OAAA,EAAS,cAAA,EAAgB,QAAA,EAAA,eAAA,EAEnE,GACF,CAAA,GACE;AAAA,KAAA,EACN,CAAA;AAAA,EAEJ;AAEA,EAAA,uBACE,IAAA,CAAC,IAAA,EAAA,EAAK,SAAA,EAAU,+CAAA,EACd,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,UAAA,EAAA,EAAW,MAAA,EAAO,MAAA,EAAO,SAAA,EAAU,qCACjC,QAAA,EAAA,OAAA,EACH,CAAA;AAAA,IACC,yBAAS,GAAA,CAAC,IAAA,EAAA,EAAK,SAAA,EAAU,MAAA,EAAQ,kBAAO,CAAA,GAAU;AAAA,GAAA,EACrD,CAAA;AAEJ;ACtBA,SAAS,iBAAA,CAAkB;AAAA,EACzB,MAAA;AAAA,EACA,c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AA,EAAA,EAAK,SAAA,EAAU,kBACd,QAAA,kBAAAD,IAAAA;AAAA,MAACC,IAAAA;AAAA,MAAA;AAAA,QACC,KAAA,EAAO;AAAA,UACL,aAAA,EAAe,KAAA;AAAA,UACf,UAAA,EAAY,QAAA;AAAA,UACZ,cAAA,EAAgB;AAAA,SAClB;AAAA,QAEA,QAAA,EAAA;AAAA,0BAAAD,IAAAA,CAACC,IAAAA,EAAA,EAAK,SAAA,EAAU,QAAA,EACd,QAAA,EAAA;AAAA,4BAAAC,GAAAA,CAAC,UAAA,EAAA,EAAW,MAAA,EAAO,IAAA,EAAM,QAAA,EAAA,KAAA,EAAM,CAAA;AAAA,YAC9B,2BACCA,GAAAA;AAAA,cAAC,UAAA;AAAA,cAAA;AAAA,gBACC,MAAA,EAAO,SAAA;AAAA,gBACP,SAAA,EAAU,8BAAA;AAAA,gBAET,QAAA,EAAA;AAAA;AAAA,aACH,GACE;AAAA,WAAA,EACN,CAAA;AAAA,UACC,oBAAA,mBACCA,GAAAA,CAACD,IAAAA,EAAA,EAAK,SAAA,EAAU,MAAA,EAAQ,gCAAqB,CAAA,GAC3C;AAAA;AAAA;AAAA,KACN,EACF,CAAA;AAAA,oBAGAC,GAAAA,CAACD,IAAAA,EAAA,EAAK,SAAA,EAAU,QAAA,EAAU,6BAAkB,EAAE;AAAA,GAAA,EAChD,CAAA;AAEJ","file":"index.js","sourcesContent":["import * as React from \"react\";\nimport { View } from \"react-native\";\nimport { NativeButton } from \"../components/button\";\nimport { NativeText } from \"../components/text\";\n\nexport interface NativeEmptyStateProps {\n message?: string;\n action?: React.ReactNode;\n hasFilters?: boolean;\n onClearFilters?: () => void;\n}\n\nfunction NativeEmptyState({\n message = \"No items found\",\n action,\n hasFilters = false,\n onClearFilters,\n}: NativeEmptyStateProps) {\n if (hasFilters) {\n return (\n <View className=\"flex-1 items-center justify-center px-4 py-12\">\n <NativeText preset=\"body\" className=\"text-muted-foreground text-center\">\n No results match your filters\n </NativeText>\n {onClearFilters ? (\n <View className=\"mt-4\">\n <NativeButton variant=\"outline\" size=\"sm\" onPress={onClearFilters}>\n Clear Filters\n </NativeButton>\n </View>\n ) : null}\n </View>\n );\n }\n\n return (\n <View className=\"flex-1 items-center justify-center px-4 py-12\">\n <NativeText preset=\"body\" className=\"text-muted-foreground text-center\">\n {message}\n </NativeText>\n {action ? <View className=\"mt-4\">{action}</View> : null}\n </View>\n );\n}\n\nexport { NativeEmptyState };\n","import { useCallback } from \"react\";\nimport { Pressable, ScrollView, View } from \"react-native\";\nimport { NativeBadge } from \"../components/badge\";\nimport { NativeInput } from \"../components/input\";\n\nexport interface NativeDataFiltersProps {\n search: string;\n onSearchChange: (value: string) => void;\n searchPlaceholder?: string;\n statusChips?: {\n options: string[];\n selected: string[];\n onChange: (values: string[]) => void;\n };\n sort?: {\n value: string;\n options: Array<{ value: string; label: string }>;\n onChange: (sort: string) => void;\n };\n}\n\nfunction NativeDataFilters({\n search,\n onSearchChange,\n searchPlaceholder = \"Search...\",\n statusChips,\n sort,\n}: NativeDataFiltersProps) {\n const handleStatusToggle = useCallback(\n (option: string) => {\n if (!statusChips) return;\n const isSelected = statusChips.selected.includes(option);\n const next = isSelected\n ? statusChips.selected.filter((s) => s !== option)\n : [...statusChips.selected, option];\n statusChips.onChange(next);\n },\n [statusChips]\n );\n\n const handleSortToggle = useCallback(\n (value: string) => {\n sort?.onChange(value);\n },\n [sort]\n );\n\n return (\n <View style={{ gap: 12 }}>\n <NativeInput\n placeholder={searchPlaceholder}\n value={search}\n onChangeText={onSearchChange}\n />\n\n {statusChips && statusChips.options.length > 0 && (\n <ScrollView\n horizontal\n showsHorizontalScrollIndicator={false}\n contentContainerStyle={{ gap: 8 }}\n >\n {statusChips.options.map((option) => {\n const isSelected = statusChips.selected.includes(option);\n return (\n <Pressable key={option} onPress={() => handleStatusToggle(option)}>\n <NativeBadge variant={isSelected ? \"default\" : \"outline\"}>\n {option}\n </NativeBadge>\n </Pressable>\n );\n })}\n </ScrollView>\n )}\n\n {sort && sort.options.length > 0 && (\n <ScrollView\n horizontal\n showsHorizontalScrollIndicator={false}\n contentContainerStyle={{ gap: 8 }}\n >\n {sort.options.map((option) => {\n const isSelected = sort.value === option.value;\n return (\n <Pressable\n key={option.value}\n onPress={() => handleSortToggle(option.value)}\n >\n <NativeBadge variant={isSelected ? \"secondary\" : \"outline\"}>\n {option.label}\n </NativeBadge>\n </Pressable>\n );\n })}\n </ScrollView>\n )}\n </View>\n );\n}\n\nexport { NativeDataFilters };\n","import * as React from \"react\";\nimport { type ReactNode } from \"react\";\nimport { ScrollView, View } from \"react-native\";\nimport { SafeAreaView } from \"react-native-safe-area-context\";\nimport { NativeButton } from \"../components/button\";\nimport { NativeSkeleton } from \"../components/skeleton\";\nimport { NativeText } from \"../components/text\";\nimport { NativeEmptyState } from \"./NativeEmptyState\";\n\nexport interface NativeDataPageShellProps {\n title: string;\n subtitle?: string;\n headerRight?: ReactNode;\n isLoading?: boolean;\n isEmpty?: boolean;\n hasError?: boolean;\n errorMessage?: string;\n onRetry?: () => void;\n emptyMessage?: string;\n emptyState?: ReactNode;\n children: ReactNode;\n}\n\nfunction NativeDataPageShell({\n title,\n subtitle,\n headerRight,\n isLoading,\n isEmpty,\n hasError,\n errorMessage = \"Something went wrong.\",\n onRetry,\n emptyMessage,\n emptyState,\n children,\n}: NativeDataPageShellProps) {\n const renderContent = () => {\n if (isLoading) {\n return (\n <View className=\"px-4 pt-4 gap-3\">\n {/* Search bar skeleton */}\n <NativeSkeleton className=\"w-full h-10 rounded-lg\" />\n {/* Card skeletons */}\n <NativeSkeleton className=\"w-full h-20 rounded-lg\" />\n <NativeSkeleton className=\"w-full h-20 rounded-lg\" />\n <NativeSkeleton className=\"w-full h-20 rounded-lg\" />\n </View>\n );\n }\n\n if (hasError) {\n return (\n <View className=\"flex-1 items-center justify-center px-4 py-12 gap-4\">\n <NativeText preset=\"body\" className=\"text-destructive text-center\">\n {errorMessage}\n </NativeText>\n {onRetry ? (\n <NativeButton variant=\"outline\" size=\"sm\" onPress={onRetry}>\n Try Again\n </NativeButton>\n ) : null}\n </View>\n );\n }\n\n if (isEmpty) {\n if (emptyState) {\n return <>{emptyState}</>;\n }\n return <NativeEmptyState message={emptyMessage} />;\n }\n\n return <>{children}</>;\n };\n\n return (\n <SafeAreaView edges={[\"left\", \"right\"]} className=\"flex-1 bg-background\">\n {/* Header */}\n <View className=\"px-4 pt-4 pb-2\">\n <View\n style={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n >\n <View className=\"flex-1\">\n <NativeText preset=\"h2\">{title}</NativeText>\n {subtitle ? (\n <NativeText preset=\"body-sm\" className=\"text-muted-foreground mt-0.5\">\n {subtitle}\n </NativeText>\n ) : null}\n </View>\n {headerRight ? <View className=\"ml-3\">{headerRight}</View> : null}\n </View>\n </View>\n\n {/* Content */}\n <ScrollView\n className=\"flex-1\"\n contentContainerStyle={{ flexGrow: 1 }}\n keyboardShouldPersistTaps=\"handled\"\n >\n {renderContent()}\n </ScrollView>\n </SafeAreaView>\n );\n}\n\nexport { NativeDataPageShell };\n","import { titleCase } from \"@marktiderman/genesis-core\";\nimport * as React from \"react\";\nimport type { ReactNode } from \"react\";\nimport { ScrollView, View } from \"react-native\";\nimport { SafeAreaView } from \"react-native-safe-area-context\";\nimport { NativeButton } from \"../components/button\";\nimport { NativeCard, NativeCardContent } from \"../components/card\";\nimport { NativeSeparator } from \"../components/separator\";\nimport { NativeText } from \"../components/text\";\n\nexport interface NativeDetailField<T = Record<string, unknown>> {\n key: Extract<keyof T, string>;\n label: string;\n render?: (value: unknown, item: T) => ReactNode;\n}\n\nexport interface NativeDetailPanelProps<T = Record<string, unknown>> {\n item: T;\n titleField?: Extract<keyof T, string>;\n fields?: NativeDetailField<T>[];\n onEdit?: (item: T) => void;\n onDelete?: (item: T) => void;\n children?: ReactNode;\n}\n\nconst SKIP_KEYS = new Set([\"id\", \"created_at\", \"updated_at\"]);\n\nfunction NativeDetailPanel<T extends Record<string, unknown>>({\n item,\n titleField,\n fields,\n onEdit,\n onDelete,\n children,\n}: NativeDetailPanelProps<T>) {\n const title = titleField ? String(item[titleField] ?? \"\") : undefined;\n const hasActions = onEdit != null || onDelete != null;\n\n // Escape hatch — caller provides full content\n if (children) {\n return (\n <SafeAreaView edges={[\"bottom\"]} style={{ flex: 1 }}>\n <ScrollView\n contentContainerStyle={{ padding: 16, gap: 16 }}\n showsVerticalScrollIndicator={false}\n >\n {title ? (\n <NativeText preset=\"h3\">{title}</NativeText>\n ) : null}\n {children}\n </ScrollView>\n </SafeAreaView>\n );\n }\n\n // Resolve field list\n const resolvedFields: NativeDetailField<T>[] =\n fields ??\n Object.keys(item)\n .filter((k) => !SKIP_KEYS.has(k))\n .map((k) => ({ key: k as Extract<keyof T, string>, label: titleCase(k) }));\n\n return (\n <SafeAreaView edges={[\"bottom\"]} style={{ flex: 1 }}>\n <ScrollView\n contentContainerStyle={{ padding: 16, gap: 16 }}\n showsVerticalScrollIndicator={false}\n >\n {title ? (\n <NativeText preset=\"h3\">{title}</NativeText>\n ) : null}\n\n <NativeCard>\n <NativeCardContent className=\"pt-6 gap-4\">\n {resolvedFields.map((field, index) => {\n const raw = item[field.key];\n const rendered = field.render\n ? field.render(raw, item)\n : raw == null\n ? null\n : String(raw);\n\n return (\n <View key={field.key}>\n {index > 0 ? (\n <NativeSeparator style={{ marginBottom: 16 }} />\n ) : null}\n <NativeText\n preset=\"caption\"\n className=\"text-muted-foreground uppercase tracking-wider mb-1\"\n >\n {field.label}\n </NativeText>\n {typeof rendered === \"string\" || rendered == null ? (\n <NativeText preset=\"body\">\n {rendered ?? \"—\"}\n </NativeText>\n ) : (\n rendered\n )}\n </View>\n );\n })}\n </NativeCardContent>\n </NativeCard>\n\n {hasActions ? (\n <View style={{ gap: 12 }}>\n <NativeSeparator />\n {onEdit ? (\n <NativeButton variant=\"outline\" onPress={() => onEdit(item)}>\n Edit\n </NativeButton>\n ) : null}\n {onDelete ? (\n <NativeButton\n variant=\"destructive\"\n onPress={() => onDelete(item)}\n >\n Delete\n </NativeButton>\n ) : null}\n </View>\n ) : null}\n </ScrollView>\n </SafeAreaView>\n );\n}\n\nexport { NativeDetailPanel };\n","import { titleCase } from \"@marktiderman/genesis-core\";\nimport type { ResourceFormFieldDef } from \"@marktiderman/genesis-core\";\nimport { Controller, type Control } from \"react-hook-form\";\nimport { Pressable, View } from \"react-native\";\nimport { NativeCheckbox } from \"../components/checkbox\";\nimport { NativeInput } from \"../components/input\";\nimport { NativeLabel } from \"../components/label\";\nimport {\n NativeSelect,\n NativeSelectContent,\n NativeSelectItem,\n NativeSelectTrigger,\n} from \"../components/select\";\nimport { NativeSwitch } from \"../components/switch\";\nimport { NativeText } from \"../components/text\";\nimport { NativeTextarea } from \"../components/textarea\";\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\nexport interface NativeResourceFormFieldRendererProps {\n field: ResourceFormFieldDef;\n control: Control<Record<string, unknown>>;\n action: \"create\" | \"edit\";\n autoFocus?: boolean;\n watchedValues?: Record<string, unknown>;\n}\n\n// ---------------------------------------------------------------------------\n// Static lookup maps (module-scoped to avoid re-creation on each render)\n// ---------------------------------------------------------------------------\n\nconst KEYBOARD_TYPE_MAP: Record<string, \"default\" | \"email-address\" | \"url\"> = {\n email: \"email-address\",\n url: \"url\",\n text: \"default\",\n date: \"default\",\n};\n\nconst AUTO_CAPITALIZE_MAP: Record<string, \"none\" | \"sentences\" | \"words\" | \"characters\"> = {\n email: \"none\",\n url: \"none\",\n text: \"sentences\",\n date: \"none\",\n};\n\n// ---------------------------------------------------------------------------\n// Renderer\n// ---------------------------------------------------------------------------\n\nfunction NativeResourceFormFieldRenderer({\n field,\n control,\n action,\n autoFocus,\n watchedValues,\n}: NativeResourceFormFieldRendererProps) {\n const label = field.label ?? titleCase(field.key);\n const fieldType = field.type ?? \"text\";\n const isReadOnly = action === \"edit\" && !!field.readOnlyOnEdit;\n const isDisabled =\n isReadOnly ||\n (watchedValues ? field.disabled?.(watchedValues) === true : false);\n\n // Hidden fields — return null (native has no hidden input concept)\n if (field.hidden || fieldType === \"hidden\") {\n return null;\n }\n\n return (\n <Controller\n name={field.key}\n control={control}\n render={({ field: f, fieldState }) => {\n const errorMessage = fieldState.error?.message;\n\n // ------------------------------------------------------------------\n // Switch\n // ------------------------------------------------------------------\n if (fieldType === \"switch\") {\n return (\n <View className=\"gap-1.5\">\n <Pressable\n className=\"flex-row items-center justify-between rounded-lg border border-border p-4\"\n onPress={() => !isDisabled && f.onChange(!f.value)}\n accessibilityRole=\"switch\"\n accessibilityState={{ checked: !!f.value, disabled: isDisabled }}\n >\n <NativeLabel disabled={isDisabled}>{label}</NativeLabel>\n <NativeSwitch\n checked={!!f.value}\n onCheckedChange={f.onChange}\n disabled={isDisabled}\n />\n </Pressable>\n {field.description ? (\n <NativeText preset=\"caption\" className=\"text-muted-foreground\">\n {field.description}\n </NativeText>\n ) : null}\n {errorMessage ? (\n <NativeText preset=\"caption\" className=\"text-destructive\">\n {errorMessage}\n </NativeText>\n ) : null}\n </View>\n );\n }\n\n // ------------------------------------------------------------------\n // Checkbox\n // ------------------------------------------------------------------\n if (fieldType === \"checkbox\") {\n return (\n <View className=\"gap-1.5\">\n <Pressable\n className=\"flex-row items-center gap-3\"\n onPress={() => !isDisabled && f.onChange(!f.value)}\n accessibilityRole=\"checkbox\"\n accessibilityState={{ checked: !!f.value, disabled: isDisabled }}\n >\n <NativeCheckbox\n checked={!!f.value}\n onCheckedChange={f.onChange}\n disabled={isDisabled}\n />\n <NativeLabel disabled={isDisabled}>{label}</NativeLabel>\n </Pressable>\n {field.description ? (\n <NativeText preset=\"caption\" className=\"text-muted-foreground\">\n {field.description}\n </NativeText>\n ) : null}\n {errorMessage ? (\n <NativeText preset=\"caption\" className=\"text-destructive\">\n {errorMessage}\n </NativeText>\n ) : null}\n </View>\n );\n }\n\n // ------------------------------------------------------------------\n // Select\n // ------------------------------------------------------------------\n if (fieldType === \"select\" && field.options) {\n return (\n <View className=\"gap-1.5\">\n <NativeLabel disabled={isDisabled}>{label}</NativeLabel>\n <NativeSelect\n value={f.value != null ? String(f.value) : \"\"}\n onValueChange={f.onChange}\n defaultValue=\"\"\n >\n <NativeSelectTrigger\n placeholder={\n field.placeholder ?? `Select ${label.toLowerCase()}...`\n }\n disabled={isDisabled}\n />\n <NativeSelectContent>\n {field.options.map((opt) => (\n <NativeSelectItem key={opt.value} value={opt.value}>\n {opt.label}\n </NativeSelectItem>\n ))}\n </NativeSelectContent>\n </NativeSelect>\n {field.description ? (\n <NativeText preset=\"caption\" className=\"text-muted-foreground\">\n {field.description}\n </NativeText>\n ) : null}\n {errorMessage ? (\n <NativeText preset=\"caption\" className=\"text-destructive\">\n {errorMessage}\n </NativeText>\n ) : null}\n </View>\n );\n }\n\n // ------------------------------------------------------------------\n // Textarea\n // ------------------------------------------------------------------\n if (fieldType === \"textarea\") {\n return (\n <View className=\"gap-1.5\">\n <NativeTextarea\n label={label}\n placeholder={field.placeholder}\n rows={field.rows ?? 3}\n value={f.value != null ? String(f.value) : \"\"}\n onChangeText={f.onChange}\n editable={!isDisabled}\n />\n {field.description ? (\n <NativeText preset=\"caption\" className=\"text-muted-foreground\">\n {field.description}\n </NativeText>\n ) : null}\n {errorMessage ? (\n <NativeText preset=\"caption\" className=\"text-destructive\">\n {errorMessage}\n </NativeText>\n ) : null}\n </View>\n );\n }\n\n // ------------------------------------------------------------------\n // Number\n // ------------------------------------------------------------------\n if (fieldType === \"number\") {\n return (\n <View className=\"gap-1.5\">\n <NativeInput\n label={label}\n placeholder={field.placeholder}\n keyboardType=\"numeric\"\n value={f.value != null ? String(f.value) : \"\"}\n onChangeText={(text) => {\n if (text === \"\") {\n f.onChange(undefined);\n } else {\n const num = Number(text);\n f.onChange(Number.isNaN(num) ? text : num);\n }\n }}\n editable={!isDisabled}\n autoFocus={autoFocus}\n />\n {field.description ? (\n <NativeText preset=\"caption\" className=\"text-muted-foreground\">\n {field.description}\n </NativeText>\n ) : null}\n {errorMessage ? (\n <NativeText preset=\"caption\" className=\"text-destructive\">\n {errorMessage}\n </NativeText>\n ) : null}\n </View>\n );\n }\n\n // ------------------------------------------------------------------\n // Text, email, url, date (and any other text-like types)\n // ------------------------------------------------------------------\n return (\n <View className=\"gap-1.5\">\n <NativeInput\n label={label}\n placeholder={field.placeholder}\n keyboardType={KEYBOARD_TYPE_MAP[fieldType] ?? \"default\"}\n autoCapitalize={AUTO_CAPITALIZE_MAP[fieldType] ?? \"sentences\"}\n value={f.value != null ? String(f.value) : \"\"}\n onChangeText={f.onChange}\n editable={!isDisabled}\n autoFocus={autoFocus}\n />\n {field.description ? (\n <NativeText preset=\"caption\" className=\"text-muted-foreground\">\n {field.description}\n </NativeText>\n ) : null}\n {errorMessage ? (\n <NativeText preset=\"caption\" className=\"text-destructive\">\n {errorMessage}\n </NativeText>\n ) : null}\n </View>\n );\n }}\n />\n );\n}\n\nexport { NativeResourceFormFieldRenderer };\n","import { useResourceForm, titleCase } from \"@marktiderman/genesis-core\";\nimport type { UseResourceFormOptions, ResourceFormFieldDef } from \"@marktiderman/genesis-core\";\nimport type { UseFormReturn } from \"react-hook-form\";\nimport * as React from \"react\";\nimport type { ReactNode } from \"react\";\nimport { ScrollView, View } from \"react-native\";\nimport { SafeAreaView } from \"react-native-safe-area-context\";\nimport { NativeAlert, NativeAlertDescription, NativeAlertTitle } from \"../components/alert\";\nimport { NativeButton } from \"../components/button\";\nimport { NativeSeparator } from \"../components/separator\";\nimport { NativeText } from \"../components/text\";\nimport { NativeResourceFormFieldRenderer } from \"./NativeResourceFormField\";\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\nexport interface NativeResourceFormProps {\n resource: string;\n action: \"create\" | \"edit\";\n fields?: ResourceFormFieldDef[];\n item?: Record<string, unknown>;\n listData?: Record<string, unknown>[];\n title?: string;\n layout?: \"inline\" | \"screen\";\n onSuccess?: (data: Record<string, unknown>) => void;\n onError?: (error: Error) => void;\n renderForm?: (\n form: UseFormReturn<Record<string, unknown>>,\n fields: ResourceFormFieldDef[],\n ) => ReactNode;\n}\n\n// ---------------------------------------------------------------------------\n// Component\n// ---------------------------------------------------------------------------\n\nfunction NativeResourceForm({\n resource,\n action,\n fields,\n item,\n listData,\n title,\n layout = \"screen\",\n onSuccess,\n onError,\n renderForm,\n}: NativeResourceFormProps) {\n const options: UseResourceFormOptions = {\n resource,\n action,\n initialData: item,\n fields,\n listData,\n onSuccess,\n onError,\n prefillFromUrl: false,\n validationMode: \"onSubmit\",\n };\n\n const { form, resolvedFields, onSubmit, isSaving } = useResourceForm(options);\n\n const resolvedTitle =\n title ?? (action === \"create\" ? `Create ${titleCase(resource)}` : `Edit ${titleCase(resource)}`);\n\n const submitLabel = action === \"create\" ? \"Create\" : \"Save\";\n\n const values = form.watch();\n const rootError = form.formState.errors.root?.message;\n\n // Filter and group fields — memoized together to avoid cascading re-creation\n const { groups, firstFieldKey } = React.useMemo(() => {\n const visible = resolvedFields.filter(\n (field) => field.visible == null || field.visible(values) !== false,\n );\n const result: Array<{ group: string | undefined; fields: ResourceFormFieldDef[] }> = [];\n for (const field of visible) {\n const lastGroup = result[result.length - 1];\n if (lastGroup && lastGroup.group === field.group) {\n lastGroup.fields.push(field);\n } else {\n result.push({ group: field.group, fields: [field] });\n }\n }\n const first = visible.find((f) => !f.hidden && f.type !== \"hidden\");\n return { groups: result, firstFieldKey: first?.key ?? null };\n }, [resolvedFields, values]);\n\n const formContent = renderForm ? (\n renderForm(form, resolvedFields)\n ) : (\n <View style={{ gap: 16 }}>\n {rootError ? (\n <NativeAlert variant=\"destructive\">\n <NativeAlertTitle variant=\"destructive\">Error</NativeAlertTitle>\n <NativeAlertDescription variant=\"destructive\">\n {rootError}\n </NativeAlertDescription>\n </NativeAlert>\n ) : null}\n\n {groups.map((group, groupIndex) => (\n <View key={group.group ?? `__ungrouped_${groupIndex}`} style={{ gap: 12 }}>\n {group.group ? (\n <View style={{ gap: 8 }}>\n {groupIndex > 0 ? <NativeSeparator /> : null}\n <NativeText preset=\"body-sm\" className=\"text-muted-foreground\">\n {group.group}\n </NativeText>\n </View>\n ) : groupIndex > 0 ? (\n <NativeSeparator />\n ) : null}\n\n {group.fields.map((field) => (\n <NativeResourceFormFieldRenderer\n key={field.key}\n field={field}\n control={form.control}\n action={action}\n autoFocus={field.key === firstFieldKey}\n watchedValues={values}\n />\n ))}\n </View>\n ))}\n\n <NativeButton onPress={onSubmit} disabled={isSaving} loading={isSaving}>\n {isSaving ? \"Saving...\" : submitLabel}\n </NativeButton>\n </View>\n );\n\n if (layout === \"inline\") {\n return (\n <View style={{ gap: 16 }}>\n <NativeText preset=\"h3\">{resolvedTitle}</NativeText>\n {formContent}\n </View>\n );\n }\n\n return (\n <SafeAreaView edges={[\"bottom\"]} style={{ flex: 1 }}>\n <ScrollView\n contentContainerStyle={{ padding: 16, gap: 16 }}\n showsVerticalScrollIndicator={false}\n >\n <NativeText preset=\"h3\">{resolvedTitle}</NativeText>\n {formContent}\n </ScrollView>\n </SafeAreaView>\n );\n}\n\nexport { NativeResourceForm };\n","import * as React from \"react\";\nimport { useCallback, useEffect, useMemo, useState, type ReactNode } from \"react\";\nimport {\n FlatList,\n Pressable,\n View,\n} from \"react-native\";\nimport { SafeAreaView } from \"react-native-safe-area-context\";\nimport { useResource, type UseResourceOptions } from \"@marktiderman/genesis-core/hooks\";\nimport type { BaseRecord } from \"@marktiderman/genesis-core\";\nimport { NativeText } from \"../components/text\";\nimport {\n NativeCard,\n NativeCardHeader,\n NativeCardTitle,\n NativeCardContent,\n} from \"../components/card\";\nimport { NativeButton } from \"../components/button\";\nimport { NativeSkeleton } from \"../components/skeleton\";\nimport { NativeDataFilters } from \"./NativeDataFilters\";\nimport { NativeEmptyState } from \"./NativeEmptyState\";\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\nexport interface NativeCardFieldDef<T> {\n key: Extract<keyof T, string>;\n label?: string;\n render?: (value: unknown, item: T) => ReactNode;\n position?: \"title\" | \"badge\" | \"subtitle\" | \"meta\";\n}\n\nexport interface NativeResourcePageProps<T extends BaseRecord = BaseRecord> {\n // Data source\n resource: string;\n resourceOptions?: UseResourceOptions<T>;\n\n // Page chrome\n title: string;\n subtitle?: string;\n\n // List rendering\n cardFields?: Array<string | NativeCardFieldDef<T>>;\n renderItem?: (item: T) => ReactNode;\n\n // Search & filters\n searchFields?: string[];\n searchPlaceholder?: string;\n statusFilter?: string | { field: string; options?: string[] };\n\n // Detail\n onItemPress?: (item: T) => void;\n titleField?: Extract<keyof T, string>;\n\n // CRUD — presence of onCreatePress enables the create button\n onCreatePress?: () => void;\n createLabel?: string;\n\n // Slots\n headerRight?: ReactNode;\n emptyState?: ReactNode;\n}\n\n// ---------------------------------------------------------------------------\n// Helpers\n// ---------------------------------------------------------------------------\n\nfunction resolveField<T>(\n f: string | NativeCardFieldDef<T>,\n index: number\n): NativeCardFieldDef<T> {\n if (typeof f === \"string\") {\n return {\n key: f as Extract<keyof T, string>,\n position: index === 0 ? \"title\" : \"meta\",\n };\n }\n return f;\n}\n\nfunction autoDetectFields<T extends BaseRecord>(\n item: T\n): Array<NativeCardFieldDef<T>> {\n const keys = Object.keys(item).filter((k) => k !== \"id\");\n return keys.map((key, i) => ({\n key: key as Extract<keyof T, string>,\n position: i === 0 ? (\"title\" as const) : (\"meta\" as const),\n }));\n}\n\n// ---------------------------------------------------------------------------\n// DefaultCardRenderer\n// ---------------------------------------------------------------------------\n\ninterface DefaultCardRendererProps<T extends BaseRecord> {\n item: T;\n fields: Array<NativeCardFieldDef<T>>;\n onPress?: (item: T) => void;\n}\n\nfunction DefaultCardRenderer<T extends BaseRecord>({\n item,\n fields,\n onPress,\n}: DefaultCardRendererProps<T>) {\n const titleField = fields.find((f) => f.position === \"title\");\n const badgeField = fields.find((f) => f.position === \"badge\");\n const subtitleField = fields.find((f) => f.position === \"subtitle\");\n const metaFields = fields.filter((f) => f.position === \"meta\");\n\n const renderValue = (field: NativeCardFieldDef<T>): ReactNode => {\n const value = item[field.key];\n if (field.render) {\n return field.render(value, item);\n }\n if (value === null || value === undefined) return null;\n return String(value);\n };\n\n const titleContent = titleField ? renderValue(titleField) : null;\n const badgeContent = badgeField ? renderValue(badgeField) : null;\n const subtitleContent = subtitleField ? renderValue(subtitleField) : null;\n\n return (\n <Pressable\n onPress={onPress ? () => onPress(item) : undefined}\n style={({ pressed }) => ({ opacity: pressed ? 0.7 : 1 })}\n >\n <NativeCard className=\"mx-4 mb-3\">\n <NativeCardHeader className=\"pb-2\">\n <View style={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"space-between\" }}>\n {titleContent !== null ? (\n <NativeCardTitle className=\"flex-1 text-base\">\n {titleContent}\n </NativeCardTitle>\n ) : null}\n {badgeContent !== null ? (\n <NativeText preset=\"body-sm\" className=\"text-muted-foreground ml-2\">\n {badgeContent}\n </NativeText>\n ) : null}\n </View>\n {subtitleContent !== null ? (\n <NativeText preset=\"body-sm\" className=\"text-muted-foreground mt-0.5\">\n {subtitleContent}\n </NativeText>\n ) : null}\n </NativeCardHeader>\n {metaFields.length > 0 ? (\n <NativeCardContent className=\"pt-0\">\n <View style={{ flexDirection: \"row\", flexWrap: \"wrap\", gap: 8 }}>\n {metaFields.map((field) => {\n const val = renderValue(field);\n if (val === null) return null;\n return (\n <NativeText key={field.key} preset=\"caption\" className=\"text-muted-foreground\">\n {field.label ? `${field.label}: ` : \"\"}\n {val}\n </NativeText>\n );\n })}\n </View>\n </NativeCardContent>\n ) : null}\n </NativeCard>\n </Pressable>\n );\n}\n\n// ---------------------------------------------------------------------------\n// NativeResourcePage\n// ---------------------------------------------------------------------------\n\nfunction NativeResourcePage<T extends BaseRecord = BaseRecord>({\n resource,\n resourceOptions,\n title,\n subtitle,\n cardFields,\n renderItem,\n searchFields,\n searchPlaceholder,\n statusFilter,\n onItemPress,\n titleField,\n onCreatePress,\n createLabel = \"New\",\n headerRight,\n emptyState,\n}: NativeResourcePageProps<T>) {\n // -------------------------------------------------------------------------\n // State\n // -------------------------------------------------------------------------\n\n const [search, setSearchLocal] = useState(\"\");\n const [selectedStatuses, setSelectedStatuses] = useState<string[]>([]);\n\n // -------------------------------------------------------------------------\n // Resolve status filter config\n // -------------------------------------------------------------------------\n\n const statusFilterConfig = useMemo(() => {\n if (!statusFilter) return null;\n if (typeof statusFilter === \"string\") {\n return { field: statusFilter, options: undefined };\n }\n return { field: statusFilter.field, options: statusFilter.options };\n }, [statusFilter]);\n\n // -------------------------------------------------------------------------\n // Resource hook — pass searchFields so server-side search works\n // -------------------------------------------------------------------------\n\n const mergedOptions: UseResourceOptions<T> = useMemo(\n () => ({\n ...resourceOptions,\n searchFields: searchFields ?? resourceOptions?.searchFields,\n }),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [resourceOptions, searchFields]\n );\n\n const { list, setSearch, setFilters } = useResource<T>(resource, mergedOptions);\n\n // -------------------------------------------------------------------------\n // Sync search state → hook\n // -------------------------------------------------------------------------\n\n useEffect(() => {\n setSearch(search);\n }, [search, setSearch]);\n\n // -------------------------------------------------------------------------\n // Sync status filter → hook\n // -------------------------------------------------------------------------\n\n useEffect(() => {\n if (!statusFilterConfig) return;\n\n if (selectedStatuses.length === 0) {\n setFilters([]);\n } else if (selectedStatuses.length === 1) {\n setFilters([\n {\n field: statusFilterConfig.field,\n operator: \"eq\" as const,\n value: selectedStatuses[0],\n },\n ]);\n } else {\n setFilters([\n {\n field: statusFilterConfig.field,\n operator: \"in\" as const,\n value: selectedStatuses,\n },\n ]);\n }\n }, [selectedStatuses, statusFilterConfig, setFilters]);\n\n // -------------------------------------------------------------------------\n // Derived data\n // -------------------------------------------------------------------------\n\n const items: T[] = list.data?.data ?? [];\n const isLoading = list.isLoading;\n const hasError = list.isError;\n\n // -------------------------------------------------------------------------\n // Resolve card fields\n // -------------------------------------------------------------------------\n\n const resolvedFields = useMemo<Array<NativeCardFieldDef<T>>>(() => {\n // If titleField provided, inject it as an explicit title override\n if (titleField && cardFields) {\n const resolved = cardFields.map((f, i) => resolveField<T>(f, i));\n // ensure titleField has position=title\n return resolved.map((f) =>\n f.key === titleField ? { ...f, position: \"title\" as const } : f\n );\n }\n if (cardFields && cardFields.length > 0) {\n return cardFields.map((f, i) => resolveField<T>(f, i));\n }\n // Auto-detect from first item\n if (items.length > 0) {\n const detected = autoDetectFields(items[0]);\n if (titleField) {\n return detected.map((f) =>\n f.key === titleField ? { ...f, position: \"title\" as const } : f\n );\n }\n return detected;\n }\n return [];\n }, [cardFields, titleField, items]);\n\n // -------------------------------------------------------------------------\n // Status chip options\n // -------------------------------------------------------------------------\n\n const statusOptions = useMemo<string[]>(() => {\n if (!statusFilterConfig) return [];\n if (statusFilterConfig.options) return statusFilterConfig.options;\n // Auto-detect from data\n const values = new Set<string>();\n for (const item of items) {\n const v = item[statusFilterConfig.field];\n if (typeof v === \"string\") values.add(v);\n }\n return Array.from(values).sort();\n }, [statusFilterConfig, items]);\n\n // -------------------------------------------------------------------------\n // Header right — create button or custom\n // -------------------------------------------------------------------------\n\n const effectiveHeaderRight = useMemo<ReactNode>(() => {\n if (onCreatePress) {\n return (\n <View style={{ flexDirection: \"row\", alignItems: \"center\", gap: 8 }}>\n {headerRight}\n <NativeButton size=\"sm\" onPress={onCreatePress}>\n {createLabel}\n </NativeButton>\n </View>\n );\n }\n return headerRight ?? null;\n }, [onCreatePress, createLabel, headerRight]);\n\n // -------------------------------------------------------------------------\n // Pull-to-refresh\n // -------------------------------------------------------------------------\n\n const [refreshing, setRefreshing] = useState(false);\n\n const refetch = list.refetch;\n\n const handleRefresh = useCallback(async () => {\n setRefreshing(true);\n try {\n await refetch();\n } catch (err) {\n console.error(`[NativeResourcePage] Pull-to-refresh failed:`, err);\n } finally {\n setRefreshing(false);\n }\n }, [refetch]);\n\n // -------------------------------------------------------------------------\n // Filter awareness for empty state\n // -------------------------------------------------------------------------\n\n const hasActiveFilters = search.length > 0 || selectedStatuses.length > 0;\n\n const handleClearFilters = useCallback(() => {\n setSearchLocal(\"\");\n setSelectedStatuses([]);\n }, []);\n\n // -------------------------------------------------------------------------\n // FlatList helpers\n // -------------------------------------------------------------------------\n\n const keyExtractor = useCallback(\n (item: T) => String(item.id),\n []\n );\n\n const renderFlatListItem = useCallback(\n ({ item }: { item: T }) => {\n if (renderItem) {\n return <>{renderItem(item)}</>;\n }\n return (\n <DefaultCardRenderer\n item={item}\n fields={resolvedFields}\n onPress={onItemPress}\n />\n );\n },\n [renderItem, resolvedFields, onItemPress]\n );\n\n // Filters rendered as FlatList header to avoid ScrollView nesting\n const ListHeaderComponent = useMemo(\n () => (\n <View className=\"px-4 pb-3\">\n <NativeDataFilters\n search={search}\n onSearchChange={setSearchLocal}\n searchPlaceholder={searchPlaceholder}\n statusChips={\n statusOptions.length > 0\n ? {\n options: statusOptions,\n selected: selectedStatuses,\n onChange: setSelectedStatuses,\n }\n : undefined\n }\n />\n </View>\n ),\n [search, searchPlaceholder, statusOptions, selectedStatuses]\n );\n\n const ListEmptyComponent = useMemo(\n () =>\n isLoading ? null : (\n <>\n {emptyState ?? (\n <NativeEmptyState\n hasFilters={hasActiveFilters}\n onClearFilters={hasActiveFilters ? handleClearFilters : undefined}\n />\n )}\n </>\n ),\n [isLoading, emptyState, hasActiveFilters, handleClearFilters]\n );\n\n // -------------------------------------------------------------------------\n // Render — loading/error use shell-style layout; list uses FlatList directly\n // NOTE: NativeDataPageShell wraps children in ScrollView which conflicts with\n // FlatList — so we replicate the shell's header + SafeAreaView manually.\n // -------------------------------------------------------------------------\n\n const renderPageContent = () => {\n if (isLoading) {\n return (\n <View className=\"px-4 pt-4 gap-3\">\n <NativeSkeleton className=\"w-full h-10 rounded-lg\" />\n <NativeSkeleton className=\"w-full h-20 rounded-lg\" />\n <NativeSkeleton className=\"w-full h-20 rounded-lg\" />\n <NativeSkeleton className=\"w-full h-20 rounded-lg\" />\n </View>\n );\n }\n\n if (hasError) {\n return (\n <View className=\"flex-1 items-center justify-center px-4 py-12 gap-4\">\n <NativeText preset=\"body\" className=\"text-destructive text-center\">\n {list.error?.message ?? \"Something went wrong.\"}\n </NativeText>\n <NativeButton variant=\"outline\" size=\"sm\" onPress={() => list.refetch()}>\n Try Again\n </NativeButton>\n </View>\n );\n }\n\n return (\n <FlatList<T>\n data={items}\n keyExtractor={keyExtractor}\n renderItem={renderFlatListItem}\n ListHeaderComponent={ListHeaderComponent}\n ListEmptyComponent={ListEmptyComponent}\n contentContainerStyle={{ flexGrow: 1, paddingBottom: 24 }}\n refreshing={refreshing}\n onRefresh={handleRefresh}\n />\n );\n };\n\n return (\n <SafeAreaView edges={[\"left\", \"right\"]} className=\"flex-1 bg-background\">\n {/* Page header */}\n <View className=\"px-4 pt-4 pb-2\">\n <View\n style={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n >\n <View className=\"flex-1\">\n <NativeText preset=\"h2\">{title}</NativeText>\n {subtitle ? (\n <NativeText\n preset=\"body-sm\"\n className=\"text-muted-foreground mt-0.5\"\n >\n {subtitle}\n </NativeText>\n ) : null}\n </View>\n {effectiveHeaderRight ? (\n <View className=\"ml-3\">{effectiveHeaderRight}</View>\n ) : null}\n </View>\n </View>\n\n {/* Content */}\n <View className=\"flex-1\">{renderPageContent()}</View>\n </SafeAreaView>\n );\n}\n\nexport { NativeResourcePage };\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { BrandExtensions } from '@marktiderman/genesis-design-system';
|
|
4
|
+
|
|
5
|
+
declare function useReducedMotion(): boolean;
|
|
6
|
+
|
|
7
|
+
type ThemeMode = "light" | "dark";
|
|
8
|
+
declare function useThemeMode(): ThemeMode;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Runtime shape passed to `<BrandExtensionsProvider>`. Consumers augment
|
|
12
|
+
* the canonical `BrandExtensions` interface (in design-system) via TS
|
|
13
|
+
* declaration merging; the provider accepts the resulting record.
|
|
14
|
+
*
|
|
15
|
+
* `Partial<>` so brand packages that have no extensions can still wrap
|
|
16
|
+
* their app in the provider without TS errors.
|
|
17
|
+
*/
|
|
18
|
+
type BrandExtensionsValue = Partial<BrandExtensions>;
|
|
19
|
+
interface BrandExtensionsProviderProps {
|
|
20
|
+
value?: BrandExtensionsValue;
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
}
|
|
23
|
+
declare function BrandExtensionsProvider({ value, children, }: BrandExtensionsProviderProps): React.FunctionComponentElement<React.ProviderProps<Partial<BrandExtensions> | undefined>>;
|
|
24
|
+
/**
|
|
25
|
+
* Read an extension scale by key. Returns `undefined` when the provider
|
|
26
|
+
* isn't mounted OR when the key isn't declared on the brand. The return
|
|
27
|
+
* type follows the consumer's augmented `BrandExtensions[K]`.
|
|
28
|
+
*/
|
|
29
|
+
declare function useGenesisExtension<K extends keyof BrandExtensions>(key: K): BrandExtensions[K] | undefined;
|
|
30
|
+
|
|
31
|
+
export { BrandExtensionsProvider, type BrandExtensionsProviderProps, type BrandExtensionsValue, type ThemeMode, useGenesisExtension, useReducedMotion, useThemeMode };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { Box, BoxBackground, BoxProps, FlexAlign, FlexJustify, Grid, GridProps, Inline, InlineProps, NativeAccordion, NativeAccordionContent, NativeAccordionContentProps, NativeAccordionItem, NativeAccordionItemProps, NativeAccordionProps, NativeAccordionTrigger, NativeAccordionTriggerProps, NativeAccordionType, NativeAlert, NativeAlertDescription, NativeAlertDescriptionProps, NativeAlertProps, NativeAlertTitle, NativeAlertTitleProps, NativeAvatar, NativeAvatarProps, NativeBadge, NativeBadgeProps, NativeBanner, NativeBannerProps, NativeButton, NativeButtonProps, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardProps, NativeCardTitle, NativeCardTitleProps, NativeCheckbox, NativeCheckboxProps, NativeChip, NativeChipGroup, NativeChipGroupMode, NativeChipGroupProps, NativeChipProps, NativeCombobox, NativeComboboxOption, NativeComboboxProps, NativeDatePicker, NativeDatePickerProps, NativeDialog, NativeDialogContent, NativeDialogContentProps, NativeDialogDescription, NativeDialogDescriptionProps, NativeDialogFooter, NativeDialogFooterProps, NativeDialogHeader, NativeDialogHeaderProps, NativeDialogProps, NativeDialogTitle, NativeDialogTitleProps, NativeDrawer, NativeDrawerProps, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuContentProps, NativeDropdownMenuItem, NativeDropdownMenuItemProps, NativeDropdownMenuProps, NativeDropdownMenuTrigger, NativeDropdownMenuTriggerProps, NativeEmptyState, NativeEmptyStateProps, NativeEmptyStateVariant, NativeHeaderCard, NativeHeaderCardProps, NativeInlineAlert, NativeInlineAlertProps, NativeInlineAlertVariant, NativeInput, NativeInputProps, NativeLabel, NativeLabelProps, NativeListItem, NativeListItemDivider, NativeListItemProps, NativeNumberInput, NativeNumberInputProps, NativePagination, NativePaginationProps, NativePopover, NativePopoverContent, NativePopoverContentProps, NativePopoverProps, NativePopoverTrigger, NativePopoverTriggerProps, NativeProgress, NativeProgressProps, NativeRadioGroup, NativeRadioGroupItem, NativeRadioGroupItemProps, NativeRadioGroupProps, NativeRangeSlider, NativeRangeSliderProps, NativeRefreshControl, NativeRefreshControlProps, NativeSearchBar, NativeSearchBarProps, NativeSectionListHeader, NativeSectionListHeaderProps, NativeSegmentedControl, NativeSegmentedControlOption, NativeSegmentedControlProps, NativeSelect, NativeSelectContent, NativeSelectContentProps, NativeSelectItem, NativeSelectItemProps, NativeSelectProps, NativeSelectTrigger, NativeSelectTriggerProps, NativeSeparator, NativeSeparatorProps, NativeSheet, NativeSheetProps, NativeSkeleton, NativeSkeletonProps, NativeSlider, NativeSliderProps, NativeStepper, NativeStepperProps, NativeStepperStep, NativeSwitch, NativeSwitchProps, NativeTabs, NativeTabsContent, NativeTabsContentProps, NativeTabsList, NativeTabsListProps, NativeTabsProps, NativeTabsTrigger, NativeTabsTriggerProps, NativeText, NativeTextProps, NativeTextarea, NativeTextareaProps, NativeTimePicker, NativeTimePickerProps, NativeToastOptions, NativeToastProvider, NativeToastProviderProps, NativeToastVariant, NativeToggle, NativeToggleProps, NativeTooltip, NativeTooltipContent, NativeTooltipContentProps, NativeTooltipProps, NativeTooltipTrigger, NativeTooltipTriggerProps, SpaceToken, SpacingPrefix, Stack, StackProps, TextPreset, alertVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, spaceScale, spacingClass, textVariants, toggleVariants, useToast } from './components/index.js';
|
|
2
|
+
export { BrandExtensionsProvider, BrandExtensionsProviderProps, BrandExtensionsValue, ThemeMode, useGenesisExtension, useReducedMotion, useThemeMode } from './hooks/index.js';
|
|
3
|
+
export { AuthBranding, AuthBrandingProps, AuthForm, AuthFormProps, AuthFormValues, ForgotPasswordLink, NavBarSaveButton, NavBarSaveButtonProps, NavBarSearchBar, NavBarSearchBarProps, NavBarTitle, NavBarTitleProps, NotificationItem, NotificationsPage, NotificationsPageProps, SafeAreaEdge, ScreenContainer, ScreenContainerProps, ScreenHeaderProps, ScrollEdgeBehavior, SettingsPage, SettingsPageProps, SettingsPageRow, SettingsPageSection, SettingsSubPage, SettingsSubPageProps, SocialAuthProvider, SocialAuthRow, SocialAuthRowProps, composeHeaderOptions, confirmDiscardChanges, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions } from './layouts/index.js';
|
|
4
|
+
export { cn } from './utils.js';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import 'class-variance-authority';
|
|
8
|
+
import 'react-native';
|
|
9
|
+
import 'react';
|
|
10
|
+
import '@marktiderman/genesis-design-system';
|
|
11
|
+
import 'clsx';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { Box, Grid, Inline, NativeAccordion, NativeAccordionContent, NativeAccordionItem, NativeAccordionTrigger, NativeAvatar, NativeBanner, NativeChip, NativeChipGroup, NativeCombobox, NativeDatePicker, NativeDialog, NativeDialogContent, NativeDialogDescription, NativeDialogFooter, NativeDialogHeader, NativeDialogTitle, NativeDrawer, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuItem, NativeDropdownMenuTrigger, NativeHeaderCard, NativeInlineAlert, NativeNumberInput, NativePagination, NativePopover, NativePopoverContent, NativePopoverTrigger, NativeProgress, NativeRadioGroup, NativeRadioGroupItem, NativeRangeSlider, NativeRefreshControl, NativeSearchBar, NativeSegmentedControl, NativeSheet, NativeSlider, NativeStepper, NativeTabs, NativeTabsContent, NativeTabsList, NativeTabsTrigger, NativeTimePicker, NativeToastProvider, NativeToggle, NativeTooltip, NativeTooltipContent, NativeTooltipTrigger, Stack, spaceScale, spacingClass, toggleVariants, useToast } from './chunk-TXJT55JC.js';
|
|
2
|
+
export { NativeAlert, NativeAlertDescription, NativeAlertTitle, NativeBadge, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardTitle, NativeCheckbox, NativeLabel, NativeSelect, NativeSelectContent, NativeSelectItem, NativeSelectTrigger, NativeSeparator, NativeSkeleton, NativeSwitch, NativeTextarea, alertVariants, badgeTextVariants, badgeVariants } from './chunk-ZVF6PONU.js';
|
|
3
|
+
export { BrandExtensionsProvider, useGenesisExtension, useReducedMotion } from './chunk-HNIEFTEL.js';
|
|
4
|
+
export { AuthBranding, AuthForm, ForgotPasswordLink, NavBarSaveButton, NavBarSearchBar, NavBarTitle, NotificationsPage, ScreenContainer, SettingsPage, SettingsSubPage, SocialAuthRow, composeHeaderOptions, confirmDiscardChanges, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions } from './chunk-BAU4YQZV.js';
|
|
5
|
+
export { NativeEmptyState, NativeListItem, NativeListItemDivider, NativeSectionListHeader } from './chunk-ULS7I6ZS.js';
|
|
6
|
+
export { NativeButton, NativeInput, NativeText, buttonTextVariants, buttonVariants, textVariants } from './chunk-PTJ2KCLM.js';
|
|
7
|
+
export { useThemeMode } from './chunk-N4WHTQIO.js';
|
|
8
|
+
export { cn } from './chunk-OHZD7KRO.js';
|
|
9
|
+
import './chunk-DGUM43GV.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type SafeAreaEdge = "top" | "bottom" | "left" | "right";
|
|
5
|
+
type ScrollEdgeBehavior = "match" | "transparent" | "opaque";
|
|
6
|
+
interface ScreenContainerProps {
|
|
7
|
+
/** Screen body. Pass any node tree. */
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
/** When `true`, the body is wrapped in a vertical ScrollView. Default `false`. */
|
|
10
|
+
scroll?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* SafeAreaView edges. Defaults to `["left", "right"]` — top/bottom are
|
|
13
|
+
* normally handled by the navigation header / tab bar.
|
|
14
|
+
*/
|
|
15
|
+
safeAreaEdges?: SafeAreaEdge[];
|
|
16
|
+
/**
|
|
17
|
+
* StatusBar appearance. `"auto"` follows the resolved theme mode.
|
|
18
|
+
*/
|
|
19
|
+
statusBar?: "light" | "dark" | "auto" | "hidden";
|
|
20
|
+
/**
|
|
21
|
+
* Force light or dark theme on this screen regardless of OS preference.
|
|
22
|
+
* Default `"system"` (follow OS).
|
|
23
|
+
*/
|
|
24
|
+
themeMode?: "light" | "dark" | "system";
|
|
25
|
+
/** Override root container className. */
|
|
26
|
+
className?: string;
|
|
27
|
+
/** Override inner content container className (the ScrollView's contentContainerClassName when scroll=true). */
|
|
28
|
+
contentClassName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* `keyboardShouldPersistTaps` for the inner ScrollView. Default `"handled"`.
|
|
31
|
+
* Only used when `scroll` is true.
|
|
32
|
+
*/
|
|
33
|
+
keyboardShouldPersistTaps?: "always" | "never" | "handled";
|
|
34
|
+
/** testID on the root container. */
|
|
35
|
+
testID?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Layer-3 named-prop slots that layouts can accept and forward to
|
|
39
|
+
* `composeHeaderOptions()` for `<Stack.Screen options={...}>`.
|
|
40
|
+
*/
|
|
41
|
+
interface ScreenHeaderProps {
|
|
42
|
+
/** Custom header title. Falls back to `<Stack.Screen name>` mapping. */
|
|
43
|
+
headerTitle?: string;
|
|
44
|
+
/** Custom node rendered on the left of the nav bar. */
|
|
45
|
+
headerLeft?: () => ReactNode;
|
|
46
|
+
/** Custom node rendered on the right of the nav bar. */
|
|
47
|
+
headerRight?: () => ReactNode;
|
|
48
|
+
/** When true, iOS uses large-title mode + scroll-edge appearance. */
|
|
49
|
+
large?: boolean;
|
|
50
|
+
/** iOS scroll-edge behavior. `"match"` collapses, `"transparent"` always transparent, `"opaque"` always opaque. */
|
|
51
|
+
scrollEdgeBehavior?: ScrollEdgeBehavior;
|
|
52
|
+
/** Direct passthrough merged INTO the resolved options object. Wins over named props. */
|
|
53
|
+
headerOptions?: Record<string, unknown>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Compose a `<Stack.Screen options={...}>` object from Layer-3 named
|
|
57
|
+
* props + a direct `headerOptions` passthrough. Layouts call this and
|
|
58
|
+
* pass the result to `<Stack.Screen>` so the host's expo-router stack
|
|
59
|
+
* renders a platform-native large title / scroll-edge appearance.
|
|
60
|
+
*
|
|
61
|
+
* Usage (in a layout primitive):
|
|
62
|
+
*
|
|
63
|
+
* const opts = composeHeaderOptions({
|
|
64
|
+
* headerTitle: "Settings",
|
|
65
|
+
* large: true,
|
|
66
|
+
* scrollEdgeBehavior: "match",
|
|
67
|
+
* headerOptions: rest.headerOptions,
|
|
68
|
+
* });
|
|
69
|
+
* return <><Stack.Screen options={opts} /><ScreenContainer>...</ScreenContainer></>;
|
|
70
|
+
*/
|
|
71
|
+
declare function composeHeaderOptions(props: ScreenHeaderProps): Record<string, unknown>;
|
|
72
|
+
declare function ScreenContainer({ children, scroll, safeAreaEdges, statusBar, themeMode, className, contentClassName, keyboardShouldPersistTaps, testID, }: ScreenContainerProps): react_jsx_runtime.JSX.Element;
|
|
73
|
+
|
|
74
|
+
interface NavBarSaveButtonProps {
|
|
75
|
+
/** Press handler. Disabled when not provided OR when `disabled`/`loading`. */
|
|
76
|
+
onPress?: () => void;
|
|
77
|
+
/** Visible label. Default `"Save"`. */
|
|
78
|
+
label?: string;
|
|
79
|
+
/** When true, the button is muted and not pressable. Use this for clean / pristine forms. */
|
|
80
|
+
disabled?: boolean;
|
|
81
|
+
/** When true, label switches to a busy indicator and presses are blocked. */
|
|
82
|
+
loading?: boolean;
|
|
83
|
+
/** When true, render label in destructive tone. */
|
|
84
|
+
destructive?: boolean;
|
|
85
|
+
className?: string;
|
|
86
|
+
testID?: string;
|
|
87
|
+
}
|
|
88
|
+
declare function NavBarSaveButton({ onPress, label, disabled, loading, destructive, className, testID, }: NavBarSaveButtonProps): react_jsx_runtime.JSX.Element;
|
|
89
|
+
interface NavBarTitleProps {
|
|
90
|
+
/** Title text. */
|
|
91
|
+
title: string;
|
|
92
|
+
/** Optional smaller subtitle line under the title. */
|
|
93
|
+
subtitle?: string;
|
|
94
|
+
/** Optional press handler — turns the title row into a tap target (e.g., reveal a picker). */
|
|
95
|
+
onPress?: () => void;
|
|
96
|
+
className?: string;
|
|
97
|
+
testID?: string;
|
|
98
|
+
}
|
|
99
|
+
declare function NavBarTitle({ title, subtitle, onPress, className, testID, }: NavBarTitleProps): react_jsx_runtime.JSX.Element;
|
|
100
|
+
interface NavBarSearchBarProps {
|
|
101
|
+
value: string;
|
|
102
|
+
onChangeText: (next: string) => void;
|
|
103
|
+
placeholder?: string;
|
|
104
|
+
/** Called when the user submits the search (return key). */
|
|
105
|
+
onSubmit?: () => void;
|
|
106
|
+
/** Render a clear (X) button when value is non-empty. Default true. */
|
|
107
|
+
clearable?: boolean;
|
|
108
|
+
className?: string;
|
|
109
|
+
testID?: string;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Inline search input meant to occupy the title slot on a search results
|
|
113
|
+
* screen. For a sticky search-below-the-header pattern, prefer the
|
|
114
|
+
* standalone <NativeSearchBar> primitive.
|
|
115
|
+
*/
|
|
116
|
+
declare function NavBarSearchBar({ value, onChangeText, placeholder, onSubmit, clearable, className, testID, }: NavBarSearchBarProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
118
|
+
interface SettingsPageRow {
|
|
119
|
+
/** Stable id for keying. */
|
|
120
|
+
id: string;
|
|
121
|
+
title: string;
|
|
122
|
+
subtitle?: string;
|
|
123
|
+
/** Leading slot (icon, avatar, etc.). */
|
|
124
|
+
leading?: ReactNode;
|
|
125
|
+
/** Trailing slot (badge, switch, version string, etc.). */
|
|
126
|
+
trailing?: ReactNode;
|
|
127
|
+
/** When true, renders a chevron at the row end (drill-in affordance). */
|
|
128
|
+
showChevron?: boolean;
|
|
129
|
+
/** Press handler — required for chevron rows. */
|
|
130
|
+
onPress?: () => void;
|
|
131
|
+
/** Disable the row (greyed + non-pressable). */
|
|
132
|
+
disabled?: boolean;
|
|
133
|
+
/** testID override for the row. Falls back to `settings-row-<id>`. */
|
|
134
|
+
testID?: string;
|
|
135
|
+
}
|
|
136
|
+
interface SettingsPageSection {
|
|
137
|
+
/** Stable id for keying. */
|
|
138
|
+
id: string;
|
|
139
|
+
/** Optional uppercase section header. Pass `null` to skip the header for an unlabeled section. */
|
|
140
|
+
title?: string;
|
|
141
|
+
/** Optional caption rendered under the rows (compliance text, hint, etc.). */
|
|
142
|
+
footnote?: string;
|
|
143
|
+
/** Rows in render order. */
|
|
144
|
+
rows: SettingsPageRow[];
|
|
145
|
+
}
|
|
146
|
+
interface SettingsPageProps extends ScreenHeaderProps {
|
|
147
|
+
/** Sectioned content. Order is preserved. */
|
|
148
|
+
sections: SettingsPageSection[];
|
|
149
|
+
/**
|
|
150
|
+
* Optional dangerous-action row(s) shown after the last section in a
|
|
151
|
+
* destructive-tone footer. Typical: "Sign out", "Delete account".
|
|
152
|
+
*/
|
|
153
|
+
dangerousActions?: {
|
|
154
|
+
label: string;
|
|
155
|
+
onPress: () => void;
|
|
156
|
+
/** When true, renders with extra emphasis. Default `false`. */
|
|
157
|
+
emphasized?: boolean;
|
|
158
|
+
testID?: string;
|
|
159
|
+
}[];
|
|
160
|
+
/** Override root container styling. */
|
|
161
|
+
className?: string;
|
|
162
|
+
/** testID on the root container. Default `"settings-page"`. */
|
|
163
|
+
testID?: string;
|
|
164
|
+
/** Pass-through children rendered ABOVE the first section (e.g., a profile card). */
|
|
165
|
+
children?: ReactNode;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Convenience helper for callers that want to wire `<Stack.Screen options={...}>`
|
|
169
|
+
* without re-importing composeHeaderOptions. Defaults `large: true` and
|
|
170
|
+
* `scrollEdgeBehavior: "match"` to match the Apple HIG large-title settings
|
|
171
|
+
* pattern out of the box.
|
|
172
|
+
*/
|
|
173
|
+
declare function getSettingsPageStackOptions(props: ScreenHeaderProps & {
|
|
174
|
+
headerTitle?: string;
|
|
175
|
+
}): Record<string, unknown>;
|
|
176
|
+
declare function SettingsPage({ sections, dangerousActions, className, testID, children, }: SettingsPageProps): react_jsx_runtime.JSX.Element;
|
|
177
|
+
|
|
178
|
+
interface SettingsSubPageProps extends ScreenHeaderProps {
|
|
179
|
+
/** Form / detail body content. Pass any node tree. */
|
|
180
|
+
children: ReactNode;
|
|
181
|
+
/**
|
|
182
|
+
* When true, the Save button is enabled and the back-confirm guard
|
|
183
|
+
* fires when the user tries to leave. Mark `true` whenever the form
|
|
184
|
+
* has unsaved changes.
|
|
185
|
+
*/
|
|
186
|
+
dirty?: boolean;
|
|
187
|
+
/** When true, the Save button shows a busy indicator and is non-pressable. */
|
|
188
|
+
saving?: boolean;
|
|
189
|
+
/** Save handler. Required to render a Save button in the nav bar. */
|
|
190
|
+
onSave?: () => void | Promise<void>;
|
|
191
|
+
/**
|
|
192
|
+
* Confirm-leave hook. Implementations should integrate with the
|
|
193
|
+
* navigator's `beforeRemove` listener (React Navigation) — Genesis
|
|
194
|
+
* provides a default `Alert` confirm helper via `confirmDiscardChanges()`.
|
|
195
|
+
* Pass null to opt OUT of the leave guard.
|
|
196
|
+
*/
|
|
197
|
+
onConfirmLeave?: ((proceed: () => void) => void) | null;
|
|
198
|
+
/** Save button label. Default `"Save"`. */
|
|
199
|
+
saveLabel?: string;
|
|
200
|
+
/** Override root container styling. */
|
|
201
|
+
className?: string;
|
|
202
|
+
/** testID on the root container. Default `"settings-sub-page"`. */
|
|
203
|
+
testID?: string;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Default leave-guard helper. Pops a native Alert with Discard / Keep
|
|
207
|
+
* Editing buttons; calls `proceed()` only if the user opts to discard.
|
|
208
|
+
*
|
|
209
|
+
* <SettingsSubPage onConfirmLeave={confirmDiscardChanges} ... />
|
|
210
|
+
*/
|
|
211
|
+
declare function confirmDiscardChanges(proceed: () => void): void;
|
|
212
|
+
/**
|
|
213
|
+
* Compose `<Stack.Screen options={...}>` for a SettingsSubPage. Wires
|
|
214
|
+
* the nav-bar Save button via `headerRight` automatically when `onSave`
|
|
215
|
+
* is passed.
|
|
216
|
+
*/
|
|
217
|
+
declare function getSettingsSubPageStackOptions(props: {
|
|
218
|
+
headerTitle?: string;
|
|
219
|
+
dirty?: boolean;
|
|
220
|
+
saving?: boolean;
|
|
221
|
+
onSave?: () => void | Promise<void>;
|
|
222
|
+
saveLabel?: string;
|
|
223
|
+
large?: boolean;
|
|
224
|
+
scrollEdgeBehavior?: ScreenHeaderProps["scrollEdgeBehavior"];
|
|
225
|
+
headerLeft?: ScreenHeaderProps["headerLeft"];
|
|
226
|
+
headerRight?: ScreenHeaderProps["headerRight"];
|
|
227
|
+
headerOptions?: ScreenHeaderProps["headerOptions"];
|
|
228
|
+
}): Record<string, unknown>;
|
|
229
|
+
declare function SettingsSubPage({ children, onConfirmLeave, className, testID, }: SettingsSubPageProps): react_jsx_runtime.JSX.Element;
|
|
230
|
+
|
|
231
|
+
interface NotificationItem {
|
|
232
|
+
/** Stable id. */
|
|
233
|
+
id: string;
|
|
234
|
+
/** Headline text. */
|
|
235
|
+
title: string;
|
|
236
|
+
/** Optional secondary line. */
|
|
237
|
+
body?: string;
|
|
238
|
+
/** ISO date string OR Date instance. Used for grouping. */
|
|
239
|
+
timestamp: string | Date;
|
|
240
|
+
/** Read flag. Unread rows render with emphasis (a leading dot). */
|
|
241
|
+
unread?: boolean;
|
|
242
|
+
/** Optional press handler — typically opens the related screen. */
|
|
243
|
+
onPress?: () => void;
|
|
244
|
+
/** Optional leading slot (avatar / icon). */
|
|
245
|
+
leading?: ReactNode;
|
|
246
|
+
/** testID override. Falls back to `notifications-row-<id>`. */
|
|
247
|
+
testID?: string;
|
|
248
|
+
}
|
|
249
|
+
interface NotificationsPageProps extends ScreenHeaderProps {
|
|
250
|
+
/** Notification items. Empty array → empty state. */
|
|
251
|
+
items: NotificationItem[];
|
|
252
|
+
/** When true, the SectionList shows the refresh spinner. */
|
|
253
|
+
refreshing?: boolean;
|
|
254
|
+
/** Pull-to-refresh handler. */
|
|
255
|
+
onRefresh?: () => void | Promise<void>;
|
|
256
|
+
/** Mark-all-read handler. When provided, exposes a header action. */
|
|
257
|
+
onMarkAllRead?: () => void;
|
|
258
|
+
/** Override the auto-rendered empty state. */
|
|
259
|
+
emptyState?: ReactNode;
|
|
260
|
+
/** Optional override of the empty-state title. */
|
|
261
|
+
emptyTitle?: string;
|
|
262
|
+
/** Optional override of the empty-state body copy. */
|
|
263
|
+
emptyBody?: string;
|
|
264
|
+
/** Override root container styling. */
|
|
265
|
+
className?: string;
|
|
266
|
+
/** testID on the root container. Default `"notifications-page"`. */
|
|
267
|
+
testID?: string;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Compose `<Stack.Screen options={...}>` for a NotificationsPage. Wires
|
|
271
|
+
* a "Mark all read" action via `headerRight` when `onMarkAllRead` is
|
|
272
|
+
* passed.
|
|
273
|
+
*/
|
|
274
|
+
declare function getNotificationsPageStackOptions(props: {
|
|
275
|
+
headerTitle?: string;
|
|
276
|
+
onMarkAllRead?: () => void;
|
|
277
|
+
large?: boolean;
|
|
278
|
+
scrollEdgeBehavior?: ScreenHeaderProps["scrollEdgeBehavior"];
|
|
279
|
+
headerLeft?: ScreenHeaderProps["headerLeft"];
|
|
280
|
+
headerRight?: ScreenHeaderProps["headerRight"];
|
|
281
|
+
headerOptions?: ScreenHeaderProps["headerOptions"];
|
|
282
|
+
}): Record<string, unknown>;
|
|
283
|
+
declare function NotificationsPage({ items, refreshing, onRefresh, emptyState, emptyTitle, emptyBody, className, testID, }: NotificationsPageProps): react_jsx_runtime.JSX.Element;
|
|
284
|
+
|
|
285
|
+
interface AuthBrandingProps {
|
|
286
|
+
/** Brand mark (logo node). */
|
|
287
|
+
logo?: ReactNode;
|
|
288
|
+
/** Headline text. Renders as h1. */
|
|
289
|
+
headline?: string;
|
|
290
|
+
/** Subhead under the headline. Renders as muted body. */
|
|
291
|
+
subhead?: string;
|
|
292
|
+
/** Override the root container styling. */
|
|
293
|
+
className?: string;
|
|
294
|
+
testID?: string;
|
|
295
|
+
}
|
|
296
|
+
declare function AuthBranding({ logo, headline, subhead, className, testID, }: AuthBrandingProps): react_jsx_runtime.JSX.Element;
|
|
297
|
+
type SocialAuthProvider = {
|
|
298
|
+
/** Stable id used as React key + testID suffix. */
|
|
299
|
+
id: string;
|
|
300
|
+
/** Visible label, e.g., "Continue with Apple". */
|
|
301
|
+
label: string;
|
|
302
|
+
/** Optional leading icon node. */
|
|
303
|
+
icon?: ReactNode;
|
|
304
|
+
/** Press handler. */
|
|
305
|
+
onPress: () => void | Promise<void>;
|
|
306
|
+
/** When true, the button is disabled (e.g., loading). */
|
|
307
|
+
disabled?: boolean;
|
|
308
|
+
};
|
|
309
|
+
interface SocialAuthRowProps {
|
|
310
|
+
providers: SocialAuthProvider[];
|
|
311
|
+
/**
|
|
312
|
+
* Optional separator label rendered between social row and the form
|
|
313
|
+
* below (e.g., "or"). Pass `null` to suppress. Default `"or"`.
|
|
314
|
+
*/
|
|
315
|
+
separator?: string | null;
|
|
316
|
+
/** Override root container styling. */
|
|
317
|
+
className?: string;
|
|
318
|
+
testID?: string;
|
|
319
|
+
}
|
|
320
|
+
declare function SocialAuthRow({ providers, separator, className, testID, }: SocialAuthRowProps): react_jsx_runtime.JSX.Element | null;
|
|
321
|
+
interface AuthFormValues {
|
|
322
|
+
email: string;
|
|
323
|
+
/** Empty string when `mode === "magic-link"`. */
|
|
324
|
+
password: string;
|
|
325
|
+
}
|
|
326
|
+
interface AuthFormProps {
|
|
327
|
+
/**
|
|
328
|
+
* `"password"` (default) renders email + password.
|
|
329
|
+
* `"magic-link"` renders email only and the submit button label
|
|
330
|
+
* defaults to "Send magic link".
|
|
331
|
+
*/
|
|
332
|
+
mode?: "password" | "magic-link";
|
|
333
|
+
/** Submit handler. Receives the current form values. */
|
|
334
|
+
onSubmit: (values: AuthFormValues) => void | Promise<void>;
|
|
335
|
+
/**
|
|
336
|
+
* Optional validation slot — return `null` to allow submission, or a
|
|
337
|
+
* string error message to block. Called on every submit.
|
|
338
|
+
*/
|
|
339
|
+
validate?: (values: AuthFormValues) => string | null;
|
|
340
|
+
/** Override the submit button label. */
|
|
341
|
+
submitLabel?: string;
|
|
342
|
+
/** When true, submit button is disabled and shows a busy indicator. */
|
|
343
|
+
loading?: boolean;
|
|
344
|
+
/**
|
|
345
|
+
* Top-level error (set by the consumer after a server-side rejection,
|
|
346
|
+
* e.g., "Invalid credentials"). Shown above the submit button.
|
|
347
|
+
*/
|
|
348
|
+
errorMessage?: string;
|
|
349
|
+
/** Initial email. Useful for "log in as <user>" deep links. */
|
|
350
|
+
initialEmail?: string;
|
|
351
|
+
/** Slot rendered AFTER the inputs but BEFORE the submit (e.g., "Forgot password" link). */
|
|
352
|
+
belowFields?: ReactNode;
|
|
353
|
+
/** Override root container styling. */
|
|
354
|
+
className?: string;
|
|
355
|
+
testID?: string;
|
|
356
|
+
}
|
|
357
|
+
declare function AuthForm({ mode, onSubmit, validate, submitLabel, loading, errorMessage, initialEmail, belowFields, className, testID, }: AuthFormProps): react_jsx_runtime.JSX.Element;
|
|
358
|
+
declare function ForgotPasswordLink({ onPress, label, testID, }: {
|
|
359
|
+
onPress: () => void;
|
|
360
|
+
label?: string;
|
|
361
|
+
testID?: string;
|
|
362
|
+
}): react_jsx_runtime.JSX.Element;
|
|
363
|
+
|
|
364
|
+
export { AuthBranding, type AuthBrandingProps, AuthForm, type AuthFormProps, type AuthFormValues, ForgotPasswordLink, NavBarSaveButton, type NavBarSaveButtonProps, NavBarSearchBar, type NavBarSearchBarProps, NavBarTitle, type NavBarTitleProps, type NotificationItem, NotificationsPage, type NotificationsPageProps, type SafeAreaEdge, ScreenContainer, type ScreenContainerProps, type ScreenHeaderProps, type ScrollEdgeBehavior, SettingsPage, type SettingsPageProps, type SettingsPageRow, type SettingsPageSection, SettingsSubPage, type SettingsSubPageProps, type SocialAuthProvider, SocialAuthRow, type SocialAuthRowProps, composeHeaderOptions, confirmDiscardChanges, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { AuthBranding, AuthForm, ForgotPasswordLink, NavBarSaveButton, NavBarSearchBar, NavBarTitle, NotificationsPage, ScreenContainer, SettingsPage, SettingsSubPage, SocialAuthRow, composeHeaderOptions, confirmDiscardChanges, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions } from '../chunk-BAU4YQZV.js';
|
|
2
|
+
import '../chunk-ULS7I6ZS.js';
|
|
3
|
+
import '../chunk-PTJ2KCLM.js';
|
|
4
|
+
import '../chunk-N4WHTQIO.js';
|
|
5
|
+
import '../chunk-OHZD7KRO.js';
|
|
6
|
+
import '../chunk-DGUM43GV.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|