@flipova/foundation 2.4.4 → 3.0.0-beta.1
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/CHANGES.md +66 -0
- package/COMPONENTS.md +102 -0
- package/DOCS.md +261 -0
- package/LICENSE +1 -1
- package/README.md +169 -118
- package/components/contract/index.ts +3 -0
- package/components/contract/recipes/accordion.ts +42 -0
- package/components/contract/recipes/avatar.ts +41 -0
- package/components/contract/recipes/badge.ts +46 -0
- package/components/contract/recipes/button.ts +58 -0
- package/components/contract/recipes/calendar.ts +118 -0
- package/components/contract/recipes/card.ts +21 -0
- package/components/contract/recipes/checkbox.ts +33 -0
- package/components/contract/recipes/divider.ts +9 -0
- package/components/contract/recipes/fab.ts +31 -0
- package/components/contract/recipes/feedback.ts +66 -0
- package/components/contract/recipes/formcontrol.ts +16 -0
- package/components/contract/recipes/heading.ts +16 -0
- package/components/contract/recipes/icon.ts +40 -0
- package/components/contract/recipes/index.ts +30 -0
- package/components/contract/recipes/input.ts +39 -0
- package/components/contract/recipes/layout.ts +44 -0
- package/components/contract/recipes/link.ts +6 -0
- package/components/contract/recipes/modal.ts +40 -0
- package/components/contract/recipes/overlay.ts +250 -0
- package/components/contract/recipes/progress.ts +27 -0
- package/components/contract/recipes/radio.ts +39 -0
- package/components/contract/recipes/select.ts +63 -0
- package/components/contract/recipes/skeleton.ts +25 -0
- package/components/contract/recipes/slider.ts +50 -0
- package/components/contract/recipes/spinner.ts +12 -0
- package/components/contract/recipes/switch.ts +26 -0
- package/components/contract/recipes/table.ts +37 -0
- package/components/contract/recipes/tabs.ts +31 -0
- package/components/contract/recipes/text.ts +12 -0
- package/components/contract/recipes/textarea.ts +37 -0
- package/components/contract/recipes/util.ts +15 -0
- package/components/contract/theme.ts +116 -0
- package/components/contract/types.ts +598 -0
- package/components/providers/css-vars.ts +43 -0
- package/components/providers/flipova/components/Accordion.tsx +41 -0
- package/components/providers/flipova/components/ActionSheet.tsx +34 -0
- package/components/providers/flipova/components/Alert.tsx +15 -0
- package/components/providers/flipova/components/AlertDialog.tsx +31 -0
- package/components/providers/flipova/components/Avatar.tsx +30 -0
- package/components/providers/flipova/components/Badge.tsx +14 -0
- package/components/providers/flipova/components/BottomSheet.tsx +24 -0
- package/components/providers/flipova/components/Box.tsx +1 -0
- package/components/providers/flipova/components/Button.tsx +31 -0
- package/components/providers/flipova/components/Calendar.tsx +85 -0
- package/components/providers/flipova/components/Card.tsx +13 -0
- package/components/providers/flipova/components/Center.tsx +11 -0
- package/components/providers/flipova/components/Checkbox.tsx +24 -0
- package/components/providers/flipova/components/DateTimePicker.tsx +45 -0
- package/components/providers/flipova/components/Divider.tsx +9 -0
- package/components/providers/flipova/components/Drawer.tsx +18 -0
- package/components/providers/flipova/components/Fab.tsx +22 -0
- package/components/providers/flipova/components/FlatList.tsx +1 -0
- package/components/providers/flipova/components/FormControl.tsx +27 -0
- package/components/providers/flipova/components/Grid.tsx +18 -0
- package/components/providers/flipova/components/HStack.tsx +13 -0
- package/components/providers/flipova/components/Heading.tsx +19 -0
- package/components/providers/flipova/components/Icon.tsx +20 -0
- package/components/providers/flipova/components/Image.tsx +1 -0
- package/components/providers/flipova/components/ImageBackground.tsx +1 -0
- package/components/providers/flipova/components/ImageViewer.tsx +25 -0
- package/components/providers/flipova/components/Input.tsx +29 -0
- package/components/providers/flipova/components/InputAccessoryView.tsx +1 -0
- package/components/providers/flipova/components/KeyboardAvoidingView.tsx +1 -0
- package/components/providers/flipova/components/Link.tsx +21 -0
- package/components/providers/flipova/components/LiquidGlass.tsx +13 -0
- package/components/providers/flipova/components/Menu.tsx +43 -0
- package/components/providers/flipova/components/Modal.tsx +24 -0
- package/components/providers/flipova/components/Popover.tsx +23 -0
- package/components/providers/flipova/components/Portal.tsx +42 -0
- package/components/providers/flipova/components/Pressable.tsx +1 -0
- package/components/providers/flipova/components/Progress.tsx +22 -0
- package/components/providers/flipova/components/RadioGroup.tsx +36 -0
- package/components/providers/flipova/components/RefreshControl.tsx +1 -0
- package/components/providers/flipova/components/SafeAreaView.tsx +1 -0
- package/components/providers/flipova/components/ScrollView.tsx +1 -0
- package/components/providers/flipova/components/SectionList.tsx +1 -0
- package/components/providers/flipova/components/Select.tsx +61 -0
- package/components/providers/flipova/components/Skeleton.tsx +25 -0
- package/components/providers/flipova/components/Slider.tsx +52 -0
- package/components/providers/flipova/components/Spinner.tsx +19 -0
- package/components/providers/flipova/components/StatusBar.tsx +1 -0
- package/components/providers/flipova/components/Switch.tsx +21 -0
- package/components/providers/flipova/components/Table.tsx +33 -0
- package/components/providers/flipova/components/Tabs.tsx +39 -0
- package/components/providers/flipova/components/Text.tsx +13 -0
- package/components/providers/flipova/components/Textarea.tsx +28 -0
- package/components/providers/flipova/components/Toast.tsx +28 -0
- package/components/providers/flipova/components/Tooltip.tsx +34 -0
- package/components/providers/flipova/components/VStack.tsx +13 -0
- package/components/providers/flipova/components/View.tsx +1 -0
- package/components/providers/flipova/components/VirtualizedList.tsx +1 -0
- package/components/providers/flipova/index.tsx +189 -0
- package/components/providers/gluestack/index.tsx +226 -0
- package/components/providers/gluestack/more.tsx +151 -0
- package/components/{ui → providers/gluestack/ui}/accordion/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/actionsheet/index.tsx +15 -15
- package/components/{ui → providers/gluestack/ui}/alert/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/alert-dialog/index.tsx +3 -3
- package/components/{ui → providers/gluestack/ui}/badge/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/bottomsheet/index.tsx +11 -10
- package/components/{ui → providers/gluestack/ui}/box/index.tsx +4 -1
- package/components/{ui → providers/gluestack/ui}/button/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/calendar/index.tsx +4 -4
- package/components/{ui → providers/gluestack/ui}/card/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/center/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/checkbox/index.tsx +9 -8
- package/components/{ui → providers/gluestack/ui}/date-time-picker/index.tsx +4 -4
- package/components/providers/gluestack/ui/date-time-picker/index.web.tsx +197 -0
- package/components/{ui → providers/gluestack/ui}/divider/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/drawer/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/fab/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/form-control/index.tsx +3 -3
- package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/config.ts +1 -62
- package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/tokens.js +1 -1
- package/components/{ui → providers/gluestack/ui}/grid/index.tsx +3 -3
- package/components/{ui → providers/gluestack/ui}/heading/index.tsx +7 -7
- package/components/{ui → providers/gluestack/ui}/hstack/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/icon/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/image/index.tsx +0 -1
- package/components/{ui → providers/gluestack/ui}/image-viewer/index.tsx +96 -99
- package/components/providers/gluestack/ui/index.ts +58 -0
- package/components/{ui → providers/gluestack/ui}/input/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/link/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/liquid-glass/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/menu/index.tsx +5 -4
- package/components/{ui → providers/gluestack/ui}/modal/index.tsx +19 -17
- package/components/{ui → providers/gluestack/ui}/popover/index.tsx +4 -4
- package/components/{ui → providers/gluestack/ui}/portal/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/progress/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/radio/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/select/index.tsx +8 -12
- package/components/{ui → providers/gluestack/ui}/select/select-actionsheet.tsx +13 -13
- package/components/{ui → providers/gluestack/ui}/skeleton/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/slider/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/spinner/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/table/index.tsx +33 -33
- package/components/{ui → providers/gluestack/ui}/tabs/TabsAnimatedIndicator.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/tabs/index.tsx +2 -2
- package/components/{ui → providers/gluestack/ui}/text/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/toast/index.tsx +4 -4
- package/components/{ui → providers/gluestack/ui}/tooltip/index.tsx +1 -1
- package/components/{ui → providers/gluestack/ui}/vstack/index.tsx +1 -1
- package/components/providers/index.ts +2 -0
- package/components/providers/paper/index.tsx +449 -0
- package/components/providers/provider.tsx +80 -0
- package/components/providers/reusables/classes.ts +163 -0
- package/components/providers/reusables/index.tsx +289 -0
- package/components/providers/rn-base/Box.tsx +7 -0
- package/components/providers/rn-base/FlatList.tsx +16 -0
- package/components/providers/rn-base/Image.tsx +18 -0
- package/components/providers/rn-base/ImageBackground.tsx +11 -0
- package/components/providers/rn-base/InputAccessoryView.tsx +9 -0
- package/components/providers/rn-base/KeyboardAvoidingView.tsx +15 -0
- package/components/providers/rn-base/Pressable.tsx +19 -0
- package/components/providers/rn-base/RefreshControl.tsx +16 -0
- package/components/providers/rn-base/SafeAreaView.tsx +11 -0
- package/components/providers/rn-base/ScrollView.tsx +11 -0
- package/components/providers/rn-base/SectionList.tsx +22 -0
- package/components/providers/rn-base/StatusBar.tsx +17 -0
- package/components/providers/rn-base/View.tsx +7 -0
- package/components/providers/rn-base/VirtualizedList.tsx +18 -0
- package/components/providers/rn-base/index.tsx +64 -0
- package/components/providers/tamagui/index.tsx +375 -0
- package/components/providers/types.ts +17 -0
- package/components/theme/design-theme.ts +230 -0
- package/components/ui/create.tsx +14 -0
- package/components/ui/index.ts +68 -58
- package/components/ui/resolve.ts +40 -0
- package/design/canonical.index.txt +2 -16
- package/design/manifest.xml +4 -3
- package/design/schema.xsd +44 -434
- package/design/themes.xml +7 -177
- package/design/tools/{npm.js → cli.js} +173 -73
- package/design/tools/gui/index.html +998 -0
- package/design/tools/lib/check.js +533 -0
- package/design/tools/lib/contract.js +23 -0
- package/design/tools/lib/edit.js +166 -0
- package/design/tools/lib/generate.js +465 -0
- package/design/tools/lib/gui.js +614 -0
- package/design/tools/lib/lint.js +139 -0
- package/design/tools/lib/registry.js +135 -0
- package/design/tools/lib/util.js +53 -0
- package/design/tools/lib/xml.js +257 -0
- package/design/tools/lib/xsd.js +408 -0
- package/dist/chunk-2QM2ZUDS.mjs +1308 -0
- package/dist/chunk-2QM2ZUDS.mjs.map +1 -0
- package/dist/chunk-2T2TCUYF.js +1371 -0
- package/dist/chunk-2T2TCUYF.js.map +1 -0
- package/dist/chunk-6UKTC4KF.js +43 -0
- package/dist/chunk-6UKTC4KF.js.map +1 -0
- package/dist/chunk-6Z4WRTI4.mjs +37 -0
- package/dist/chunk-6Z4WRTI4.mjs.map +1 -0
- package/dist/chunk-G3K6J5KY.js +157 -0
- package/dist/chunk-G3K6J5KY.js.map +1 -0
- package/dist/chunk-GM45RCSI.mjs +96 -0
- package/dist/chunk-GM45RCSI.mjs.map +1 -0
- package/dist/chunk-GQJLHH2P.mjs +3 -0
- package/dist/chunk-GQJLHH2P.mjs.map +1 -0
- package/dist/chunk-ICNR56VP.js +1653 -0
- package/dist/chunk-ICNR56VP.js.map +1 -0
- package/dist/chunk-J5LGTIGS.mjs +9 -0
- package/dist/chunk-J5LGTIGS.mjs.map +1 -0
- package/dist/chunk-LRPZLF2K.mjs +30 -0
- package/dist/chunk-LRPZLF2K.mjs.map +1 -0
- package/dist/chunk-OC4MXNXU.js +32 -0
- package/dist/chunk-OC4MXNXU.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +11 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-RWVTZUEG.js +161 -0
- package/dist/chunk-RWVTZUEG.js.map +1 -0
- package/dist/chunk-V473I5XQ.js +4 -0
- package/dist/chunk-V473I5XQ.js.map +1 -0
- package/dist/chunk-V4ULAISZ.js +915 -0
- package/dist/chunk-V4ULAISZ.js.map +1 -0
- package/dist/chunk-WRJERTJS.mjs +145 -0
- package/dist/chunk-WRJERTJS.mjs.map +1 -0
- package/dist/chunk-YIBPE3KQ.mjs +864 -0
- package/dist/chunk-YIBPE3KQ.mjs.map +1 -0
- package/dist/chunk-YUAQIZPN.mjs +1556 -0
- package/dist/chunk-YUAQIZPN.mjs.map +1 -0
- package/dist/contract/index.d.mts +304 -0
- package/dist/contract/index.d.ts +304 -0
- package/dist/contract/index.js +256 -0
- package/dist/contract/index.js.map +1 -0
- package/dist/contract/index.mjs +3 -0
- package/dist/contract/index.mjs.map +1 -0
- package/dist/index.d.mts +4 -40
- package/dist/index.d.ts +4 -40
- package/dist/index.js +73 -992
- package/dist/index.mjs +2 -1
- package/dist/providers/flipova/index.d.mts +133 -0
- package/dist/providers/flipova/index.d.ts +133 -0
- package/dist/providers/flipova/index.js +249 -0
- package/dist/providers/flipova/index.js.map +1 -0
- package/dist/providers/flipova/index.mjs +4 -0
- package/dist/providers/flipova/index.mjs.map +1 -0
- package/dist/providers/gluestack/index.d.mts +7 -0
- package/dist/providers/gluestack/index.d.ts +7 -0
- package/dist/providers/gluestack/index.js +240 -0
- package/dist/providers/gluestack/index.js.map +1 -0
- package/dist/providers/gluestack/index.mjs +238 -0
- package/dist/providers/gluestack/index.mjs.map +1 -0
- package/dist/providers/gluestack/ui/index.d.mts +3472 -0
- package/dist/providers/gluestack/ui/index.d.ts +3472 -0
- package/dist/{chunk-LCTFQJZM.js → providers/gluestack/ui/index.js} +860 -2297
- package/dist/providers/gluestack/ui/index.js.map +1 -0
- package/dist/{chunk-2R66P5X5.mjs → providers/gluestack/ui/index.mjs} +468 -2062
- package/dist/providers/gluestack/ui/index.mjs.map +1 -0
- package/dist/providers/index.d.mts +37 -0
- package/dist/providers/index.d.ts +37 -0
- package/dist/providers/index.js +28 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/index.mjs +3 -0
- package/dist/providers/index.mjs.map +1 -0
- package/dist/providers/paper/index.d.mts +30 -0
- package/dist/providers/paper/index.d.ts +30 -0
- package/dist/providers/paper/index.js +362 -0
- package/dist/providers/paper/index.js.map +1 -0
- package/dist/providers/paper/index.mjs +353 -0
- package/dist/providers/paper/index.mjs.map +1 -0
- package/dist/providers/reusables/index.d.mts +60 -0
- package/dist/providers/reusables/index.d.ts +60 -0
- package/dist/providers/reusables/index.js +348 -0
- package/dist/providers/reusables/index.js.map +1 -0
- package/dist/providers/reusables/index.mjs +311 -0
- package/dist/providers/reusables/index.mjs.map +1 -0
- package/dist/providers/tamagui/index.d.mts +15 -0
- package/dist/providers/tamagui/index.d.ts +15 -0
- package/dist/providers/tamagui/index.js +275 -0
- package/dist/providers/tamagui/index.js.map +1 -0
- package/dist/providers/tamagui/index.mjs +270 -0
- package/dist/providers/tamagui/index.mjs.map +1 -0
- package/dist/theme-BznFrVT1.d.mts +566 -0
- package/dist/theme-BznFrVT1.d.ts +566 -0
- package/dist/types-C7P80VKR.d.ts +22 -0
- package/dist/types-Tspvmask.d.mts +22 -0
- package/dist/ui/index.d.mts +190 -7017
- package/dist/ui/index.d.ts +190 -7017
- package/dist/ui/index.js +73 -992
- package/dist/ui/index.mjs +2 -1
- package/package.json +136 -35
- package/components/ui/date-time-picker/index.web.tsx +0 -195
- package/design/documentation.xml +0 -607
- package/design/tools/design.js +0 -188
- package/design/tools/requirements.txt +0 -35
- package/design/tools/sources/.checker/__init__.py +0 -81
- package/design/tools/sources/.checker/checks.py +0 -198
- package/design/tools/sources/.checker/cli.py +0 -154
- package/design/tools/sources/.checker/io.py +0 -242
- package/design/tools/sources/.checker/model.py +0 -144
- package/design/tools/sources/.checker/registry.py +0 -115
- package/design/tools/sources/.checker/report.py +0 -21
- package/design/tools/sources/.docgen/__init__.py +0 -45
- package/design/tools/sources/.docgen/cli.py +0 -101
- package/design/tools/sources/.docgen/model.py +0 -147
- package/design/tools/sources/.docgen/reference.py +0 -97
- package/design/tools/sources/.docgen/site.py +0 -145
- package/design/tools/sources/.docgen/xsddoc.py +0 -329
- package/design/tools/sources/.generate/__init__.py +0 -35
- package/design/tools/sources/.generate/cli.py +0 -76
- package/design/tools/sources/.generate/common.py +0 -33
- package/design/tools/sources/.generate/config.py +0 -177
- package/design/tools/sources/.generate/model.py +0 -51
- package/design/tools/sources/.generate/tokens.py +0 -141
- package/design/tools/sources/.linter/__init__.py +0 -9
- package/design/tools/sources/.linter/cli.py +0 -44
- package/design/tools/sources/.linter/discovery.py +0 -30
- package/design/tools/sources/.linter/errors.py +0 -45
- package/design/tools/sources/.linter/linter.py +0 -68
- package/design/tools/sources/.xmleditor/__init__.py +0 -74
- package/design/tools/sources/.xmleditor/blocks.py +0 -185
- package/design/tools/sources/.xmleditor/cli.py +0 -141
- package/design/tools/sources/.xmleditor/editor.py +0 -906
- package/design/tools/sources/.xmleditor/model.py +0 -708
- package/design/tools/sources/.xmleditor/widgets.py +0 -1832
- package/design/tools/sources/.xmleditor/xsdmodel.py +0 -753
- package/design/tools/sources/checker.py +0 -55
- package/design/tools/sources/docgen.py +0 -66
- package/design/tools/sources/generate.py +0 -48
- package/design/tools/sources/linter.py +0 -54
- package/design/tools/sources/ruff.toml +0 -12
- package/design/tools/sources/xmleditor.py +0 -62
- package/design/tools/unix/_venv_python.sh +0 -16
- package/design/tools/unix/check.sh +0 -13
- package/design/tools/unix/doc.sh +0 -14
- package/design/tools/unix/gen.sh +0 -14
- package/design/tools/unix/lint.sh +0 -10
- package/design/tools/unix/run.sh +0 -20
- package/design/tools/unix/verify.sh +0 -12
- package/design/tools/unix/xmledit.sh +0 -12
- package/design/tools/windows/check.cmd +0 -12
- package/design/tools/windows/doc.cmd +0 -12
- package/design/tools/windows/gen.cmd +0 -11
- package/design/tools/windows/lint.cmd +0 -9
- package/design/tools/windows/run.cmd +0 -26
- package/design/tools/windows/verify.cmd +0 -10
- package/design/tools/windows/xmledit.cmd +0 -10
- package/dist/chunk-2R66P5X5.mjs.map +0 -1
- package/dist/chunk-LCTFQJZM.js.map +0 -1
- /package/components/{ui → providers/gluestack/ui}/accordion/ANIMATION_CUSTOMIZATION.md +0 -0
- /package/components/{ui → providers/gluestack/ui}/accordion/AccordionAnimatedHeight.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/accordion/AccordionAnimatedIcon.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/accordion/AnimatedHeight.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/accordion/AnimatedIcon.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/accordion/MIGRATION_SUMMARY.md +0 -0
- /package/components/{ui → providers/gluestack/ui}/accordion/USAGE_EXAMPLE.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/accordion/animation-config.ts +0 -0
- /package/components/{ui → providers/gluestack/ui}/avatar/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/box/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/box/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/calendar/creator.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/calendar/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/card/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/card/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/center/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/center/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/date-time-picker/creator.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/date-time-picker/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/flat-list/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/script.ts +0 -0
- /package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/theme-context.ts +0 -0
- /package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/tokens.d.ts +0 -0
- /package/components/{ui → providers/gluestack/ui}/gluestack-ui-provider/useGluestackColors.ts +0 -0
- /package/components/{ui → providers/gluestack/ui}/grid/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/grid/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/heading/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/heading/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/hstack/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/hstack/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/icon/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/image-background/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/image-viewer/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/input-accessory-view/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/keyboard-avoiding-view/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/pressable/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/refresh-control/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/safe-area-view/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/scroll-view/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/section-list/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/skeleton/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/skeleton/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/status-bar/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/switch/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/table/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/table/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/tabs/animation-config.ts +0 -0
- /package/components/{ui → providers/gluestack/ui}/tabs/creator.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/text/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/text/styles.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/textarea/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/view/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/virtualized-list/index.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/vstack/index.web.tsx +0 -0
- /package/components/{ui → providers/gluestack/ui}/vstack/styles.tsx +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../components/providers/gluestack/ui/badge/index.tsx","../components/providers/gluestack/ui/box/styles.tsx","../components/providers/gluestack/ui/box/index.tsx","../components/providers/gluestack/ui/skeleton/styles.tsx","../components/providers/gluestack/ui/skeleton/index.tsx","../components/providers/gluestack/ui/center/styles.tsx","../components/providers/gluestack/ui/center/index.tsx","../components/providers/gluestack/ui/divider/index.tsx","../components/providers/gluestack/ui/heading/styles.tsx","../components/providers/gluestack/ui/heading/index.tsx","../components/providers/gluestack/ui/hstack/styles.tsx","../components/providers/gluestack/ui/hstack/index.tsx","../components/providers/gluestack/ui/link/index.tsx","../components/providers/gluestack/ui/pressable/index.tsx","../components/providers/gluestack/ui/spinner/index.tsx","../components/providers/gluestack/ui/textarea/index.tsx","../components/providers/gluestack/ui/vstack/styles.tsx","../components/providers/gluestack/ui/vstack/index.tsx","../components/providers/gluestack/ui/button/index.tsx","../components/providers/gluestack/ui/card/styles.tsx","../components/providers/gluestack/ui/card/index.tsx","../components/providers/gluestack/ui/input/index.tsx","../components/providers/gluestack/ui/switch/index.tsx","../components/providers/gluestack/ui/text/styles.tsx","../components/providers/gluestack/ui/text/index.tsx","../components/providers/gluestack/ui/gluestack-ui-provider/theme-context.ts","../components/providers/gluestack/ui/gluestack-ui-provider/config.ts","../components/providers/gluestack/ui/gluestack-ui-provider/useGluestackColors.ts","../components/providers/gluestack/ui/gluestack-ui-provider/index.tsx","../components/providers/gluestack/ui/fab/index.tsx","../components/providers/gluestack/ui/flat-list/index.tsx","../components/providers/gluestack/ui/image/index.tsx","../components/providers/gluestack/ui/image-background/index.tsx","../components/providers/gluestack/ui/modal/index.tsx"],"names":["React","BadgeText","BadgeIcon","tva","Box","jsx","View","Skeleton","SkeletonText","baseStyle","isWeb","Center","Divider","cssInterop","forwardRef","MappedHeading","Heading","HStack","withStyleContext","Text","Link","LinkText","RNPressable","Pressable","Spinner","SCOPE","Textarea","TextareaInput","useStyleContext","VStack","ActivityIndicator","UIIcon","Card","TextInput","Input","InputIcon","InputSlot","InputField","RNSwitch","Switch","RNText","variants","useGluestackColors","useCalendarTheme","vars","useColorScheme","Root","Fab","FabLabel","FabIcon","FlatList","Platform","RNFlatList","RNImage","Image","ImageBackground","RNImageBackground","ModalBackdrop","ModalContent","ModalHeader","ModalBody","ModalFooter","ModalCloseButton"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAUA,IAAM,KAAA,GAAQ,OAAA;AAEd,IAAM,aAAa,GAAA,CAAI;AAAA,EACrB,IAAA,EAAM,6DAAA;AAAA,EACN,QAAA,EAAU;AAAA,IACR,OAAA,EAAS;AAAA,MACP,OAAA,EAAS,YAAA;AAAA,MACT,SAAA,EAAW,cAAA;AAAA,MACX,WAAA,EAAa,uCAAA;AAAA,MACb,OAAA,EAAS;AAAA;AACX;AAEJ,CAAC,CAAA;AAED,IAAM,iBAAiB,GAAA,CAAI;AAAA,EACzB,IAAA,EAAM,+CAAA;AAAA,EACN,cAAA,EAAgB;AAAA,IACd,OAAA,EAAS;AAAA,MACP,OAAA,EAAS,yBAAA;AAAA,MACT,SAAA,EAAW,2BAAA;AAAA,MACX,WAAA,EAAa,YAAA;AAAA,MACb,OAAA,EAAS;AAAA;AACX;AAEJ,CAAC,CAAA;AAED,IAAM,iBAAiB,GAAA,CAAI;AAAA,EACzB,IAAA,EAAM,uCAAA;AAAA,EACN,cAAA,EAAgB;AAAA,IACd,OAAA,EAAS;AAAA,MACP,OAAA,EAAS,yBAAA;AAAA,MACT,SAA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AA,EAAO;AAAA,SACR;AAAA;AAAA,KACH;AAAA,EAEJ;AACF;AAEA,KAAA,CAAM,WAAA,GAAc,OAAA;AACpB,aAAA,CAAc,WAAA,GAAc,eAAA;AAC5B,YAAA,CAAa,WAAA,GAAc,cAAA;AAC3B,WAAA,CAAY,WAAA,GAAc,aAAA;AAC1B,SAAA,CAAU,WAAA,GAAc,WAAA;AACxB,WAAA,CAAY,WAAA,GAAc,aAAA;AAC1B,gBAAA,CAAiB,WAAA,GAAc,kBAAA","file":"chunk-YUAQIZPN.mjs","sourcesContent":["'use client';\nimport React, { useMemo } from 'react';\nimport { Text, View } from 'react-native';\nimport { UIIcon } from '@gluestack-ui/core/icon/creator';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext, useStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nimport { Svg } from 'react-native-svg';\nconst SCOPE = 'BADGE';\n\nconst badgeStyle = tva({\n base: 'flex-row items-center justify-center rounded-sm px-2 py-0.5',\n variants: {\n variant: {\n default: 'bg-primary',\n secondary: 'bg-secondary',\n destructive: 'bg-destructive dark:bg-destructive/60',\n outline: 'border border-border dark:border-border/90 bg-transparent',\n },\n },\n});\n\nconst badgeTextStyle = tva({\n base: 'text-xs font-medium tracking-normal uppercase',\n parentVariants: {\n variant: {\n default: 'text-primary-foreground',\n secondary: 'text-secondary-foreground',\n destructive: 'text-white',\n outline: 'text-foreground',\n },\n },\n});\n\nconst badgeIconStyle = tva({\n base: 'fill-none h-3 w-3 pointer-events-none',\n parentVariants: {\n variant: {\n default: 'text-primary-foreground',\n secondary: 'text-secondary-foreground',\n destructive: 'text-white',\n outline: 'text-foreground',\n },\n },\n});\n\nconst ContextView = withStyleContext(View, SCOPE);\n\n(cssInterop as any)(UIIcon, {\n className: {\n target: 'style',\n nativeStyleToProp: {\n height: true,\n width: true,\n fill: true,\n color: 'classNameColor',\n stroke: true,\n } as any,\n },\n});\n\ntype IBadgeProps = React.ComponentPropsWithoutRef<typeof ContextView> & VariantProps<typeof badgeStyle>;\nfunction Badge({ children, variant = 'default', className, ...props }: { className?: string } & IBadgeProps) {\n return (\n <ContextView className={badgeStyle({ variant, class: className })} {...props} context={{ variant }}>\n {children}\n </ContextView>\n );\n}\n\ntype IBadgeTextProps = React.ComponentPropsWithoutRef<typeof Text> & VariantProps<typeof badgeTextStyle>;\n\nconst BadgeText: any = React.forwardRef<React.ComponentRef<typeof Text>, IBadgeTextProps>(function BadgeText(\n { children, className, ...props },\n ref,\n) {\n const { variant: parentVariant } = useStyleContext(SCOPE);\n return (\n <Text\n ref={ref}\n className={badgeTextStyle({\n parentVariants: {\n variant: parentVariant,\n },\n class: className,\n })}\n {...props}\n >\n {children}\n </Text>\n );\n});\n\ntype IBadgeIconProps = React.ComponentPropsWithoutRef<typeof UIIcon> &\n VariantProps<typeof badgeIconStyle> & {\n size?: number;\n height?: number;\n width?: number;\n };\n\nconst BadgeIcon = React.forwardRef<React.ComponentRef<typeof Svg>, IBadgeIconProps>(function BadgeIcon(\n { className, size, ...props },\n ref,\n) {\n const { variant: parentVariant } = useStyleContext(SCOPE);\n\n if (typeof size === 'number') {\n return <UIIcon ref={ref as any} {...props} className={badgeIconStyle({ class: className })} size={size} />;\n } else if ((props?.height !== undefined || props?.width !== undefined) && size === undefined) {\n return <UIIcon ref={ref as any} {...props} className={badgeIconStyle({ class: className })} />;\n }\n return (\n <UIIcon\n className={badgeIconStyle({\n parentVariants: {\n variant: parentVariant,\n },\n class: className,\n })}\n {...props}\n ref={ref as any}\n />\n );\n});\n\nBadge.displayName = 'Badge';\nBadgeText.displayName = 'BadgeText';\nBadgeIcon.displayName = 'BadgeIcon';\n\nexport { Badge, BadgeIcon, BadgeText };\n","import { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { isWeb } from '@gluestack-ui/utils/nativewind-utils';\n\nconst baseStyle = isWeb\n ? 'flex flex-col relative z-0 box-border border-0 list-none min-w-0 min-h-0 bg-transparent items-stretch m-0 p-0 text-decoration-none'\n : '';\n\nexport const boxStyle = tva({\n base: baseStyle,\n});\n","import React from 'react';\nimport { View, ViewProps } from 'react-native';\n\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { boxStyle } from './styles';\n\ntype IBoxProps = ViewProps & VariantProps<typeof boxStyle> & { className?: string };\n\nconst Box: any = React.forwardRef<React.ComponentRef<typeof View>, IBoxProps>(function Box(\n { className, ...props },\n ref,\n) {\n return <View ref={ref} {...props} className={boxStyle({ class: className })} />;\n});\n\nBox.displayName = 'Box';\nexport { Box };\n","import { tva } from '@gluestack-ui/utils/nativewind-utils';\n\nexport const skeletonStyle = tva({\n base: 'w-full h-full rounded-sm',\n variants: {\n variant: {\n sharp: 'rounded-none',\n circular: 'rounded-full',\n rounded: 'rounded-md',\n },\n speed: {\n 1: 'duration-750',\n 2: 'duration-100',\n 3: 'duration-1500',\n 4: 'duration-2000',\n },\n },\n});\nexport const skeletonTextStyle = tva({\n base: 'rounded-sm w-full',\n variants: {\n speed: {\n 1: 'duration-750',\n 2: 'duration-1000',\n 3: 'duration-1500',\n 4: 'duration-2000',\n },\n gap: {\n 1: 'gap-1',\n 2: 'gap-2',\n 3: 'gap-3',\n 4: 'gap-4',\n },\n },\n});\n","import React, { forwardRef } from 'react';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { View } from 'react-native';\nimport { skeletonStyle, skeletonTextStyle } from './styles';\n\ntype ISkeletonProps = React.ComponentProps<typeof View> &\n VariantProps<typeof skeletonStyle> & {\n isLoaded?: boolean;\n startColor?: string;\n speed?: number | string;\n };\n\ntype ISkeletonTextProps = React.ComponentProps<typeof View> &\n VariantProps<typeof skeletonTextStyle> & {\n _lines?: number;\n isLoaded?: boolean;\n startColor?: string;\n };\n\nconst Skeleton: any = forwardRef<React.ComponentRef<typeof View>, ISkeletonProps>(function Skeleton(\n { className, variant, children, startColor = 'bg-accent', isLoaded = false, speed = 4, ...props },\n ref,\n) {\n if (!isLoaded) {\n return (\n <View\n className={`animate-pulse ${startColor} ${skeletonStyle({\n variant,\n speed: speed as 1 | 2 | 3 | 4,\n class: className,\n })}`}\n {...props}\n ref={ref}\n />\n );\n } else {\n return children;\n }\n});\n\nconst SkeletonText: any = forwardRef<React.ComponentRef<typeof View>, ISkeletonTextProps>(function SkeletonText(\n { className, _lines, isLoaded = false, startColor = 'bg-accent', gap = 2, children, ...props },\n ref,\n) {\n if (!isLoaded) {\n if (_lines) {\n return (\n <View\n className={`flex flex-col ${skeletonTextStyle({\n gap,\n })}`}\n ref={ref}\n >\n {Array.from({ length: _lines }).map((_, index) => (\n <Skeleton\n key={index}\n className={`${startColor} ${skeletonTextStyle({\n class: className,\n })}`}\n {...props}\n />\n ))}\n </View>\n );\n } else {\n return (\n <Skeleton\n className={`${startColor} ${skeletonTextStyle({\n class: className,\n })}`}\n {...props}\n ref={ref}\n />\n );\n }\n } else {\n return children;\n }\n});\n\nSkeleton.displayName = 'Skeleton';\nSkeletonText.displayName = 'SkeletonText';\n\nexport { Skeleton, SkeletonText };\n","import { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { isWeb } from '@gluestack-ui/utils/nativewind-utils';\n\nconst baseStyle = isWeb ? 'flex flex-col relative z-0' : '';\n\nexport const centerStyle = tva({\n base: `justify-center items-center ${baseStyle}`,\n});\n","import { View, ViewProps } from 'react-native';\nimport React from 'react';\nimport { centerStyle } from './styles';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\ntype ICenterProps = ViewProps & VariantProps<typeof centerStyle>;\n\nconst Center: any = React.forwardRef<React.ComponentRef<typeof View>, ICenterProps>(function Center(\n { className, ...props },\n ref,\n) {\n return <View className={centerStyle({ class: className })} {...props} ref={ref} />;\n});\n\nCenter.displayName = 'Center';\n\nexport { Center };\n","'use client';\nimport React from 'react';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { Platform, View } from 'react-native';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nconst dividerStyle = tva({\n base: 'bg-border',\n variants: {\n orientation: {\n vertical: 'w-px h-full',\n horizontal: 'h-px w-auto',\n },\n },\n});\n\ntype IUIDividerProps = React.ComponentPropsWithoutRef<typeof View> & VariantProps<typeof dividerStyle>;\n\nconst Divider: any = React.forwardRef<React.ComponentRef<typeof View>, IUIDividerProps>(function Divider(\n { className, orientation = 'horizontal', ...props },\n ref,\n) {\n return (\n <View\n ref={ref}\n {...props}\n aria-orientation={orientation}\n role={Platform.OS === 'web' ? 'separator' : undefined}\n className={dividerStyle({\n orientation,\n class: className,\n })}\n />\n );\n});\n\nDivider.displayName = 'Divider';\n\nexport { Divider };\n","import { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { isWeb } from '@gluestack-ui/utils/nativewind-utils';\nconst baseStyle = isWeb\n ? 'font-sans tracking-sm bg-transparent border-0 box-border display-inline list-none margin-0 padding-0 position-relative text-start no-underline whitespace-pre-wrap word-wrap-break-word'\n : '';\n\nexport const headingStyle = tva({\n base: `text-foreground font-bold font-heading tracking-sm my-0 ${baseStyle}`,\n variants: {\n isTruncated: {\n true: 'truncate',\n },\n bold: {\n true: 'font-bold',\n },\n underline: {\n true: 'underline',\n },\n strikeThrough: {\n true: 'line-through',\n },\n sub: {\n true: 'text-xs',\n },\n italic: {\n true: 'italic',\n },\n highlight: {\n true: 'bg-yellow-500',\n },\n size: {\n '5xl': 'text-6xl',\n '4xl': 'text-5xl',\n '3xl': 'text-4xl',\n '2xl': 'text-3xl',\n xl: 'text-2xl',\n lg: 'text-xl',\n md: 'text-lg',\n sm: 'text-base',\n xs: 'text-sm',\n },\n },\n});\n","import React, { forwardRef, memo } from 'react';\nimport { H1, H2, H3, H4, H5, H6 } from '@expo/html-elements';\nimport { headingStyle } from './styles';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\n\ntype IHeadingProps = VariantProps<typeof headingStyle> &\n React.ComponentPropsWithoutRef<typeof H1> & {\n as?: React.ElementType;\n };\n\n(cssInterop as any)(H1, { className: 'style' });\n(cssInterop as any)(H2, { className: 'style' });\n(cssInterop as any)(H3, { className: 'style' });\n(cssInterop as any)(H4, { className: 'style' });\n(cssInterop as any)(H5, { className: 'style' });\n(cssInterop as any)(H6, { className: 'style' });\n\nconst MappedHeading = memo(\n forwardRef<React.ComponentRef<typeof H1>, IHeadingProps>(function MappedHeading(\n { size, className, isTruncated, bold, underline, strikeThrough, sub, italic, highlight, ...props },\n ref,\n ) {\n switch (size) {\n case '5xl':\n case '4xl':\n case '3xl':\n return (\n <H1\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n // @ts-expect-error : type issue\n ref={ref}\n />\n );\n case '2xl':\n return (\n <H2\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n // @ts-expect-error : type issue\n ref={ref}\n />\n );\n case 'xl':\n return (\n <H3\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n // @ts-expect-error : type issue\n ref={ref}\n />\n );\n case 'lg':\n return (\n <H4\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n // @ts-expect-error : type issue\n ref={ref}\n />\n );\n case 'md':\n return (\n <H5\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n // @ts-expect-error : type issue\n ref={ref}\n />\n );\n case 'sm':\n case 'xs':\n return (\n <H6\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n // @ts-expect-error : type issue\n ref={ref}\n />\n );\n default:\n return (\n <H4\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n // @ts-expect-error : type issue\n ref={ref}\n />\n );\n }\n }),\n);\n\nconst Heading: any = memo(\n forwardRef<React.ComponentRef<typeof H1>, IHeadingProps>(function Heading(\n { className, size = 'lg', as: AsComp, ...props },\n ref,\n ) {\n const { isTruncated, bold, underline, strikeThrough, sub, italic, highlight } = props;\n\n if (AsComp) {\n return (\n <AsComp\n className={headingStyle({\n size,\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n />\n );\n }\n\n return <MappedHeading className={className} size={size} ref={ref} {...props} />;\n }),\n);\n\nHeading.displayName = 'Heading';\n\nexport { Heading };\n","import { isWeb } from '@gluestack-ui/utils/nativewind-utils';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\n\nconst baseStyle = isWeb\n ? 'flex relative z-0 box-border border-0 list-none min-w-0 min-h-0 bg-transparent items-stretch m-0 p-0 text-decoration-none'\n : '';\n\nexport const hstackStyle = tva({\n base: `flex-row ${baseStyle}`,\n variants: {\n space: {\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-5',\n '2xl': 'gap-6',\n '3xl': 'gap-7',\n '4xl': 'gap-8',\n },\n reversed: {\n true: 'flex-row-reverse',\n },\n },\n});\n","import React from 'react';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { View } from 'react-native';\nimport type { ViewProps } from 'react-native';\nimport { hstackStyle } from './styles';\n\ntype IHStackProps = ViewProps & VariantProps<typeof hstackStyle>;\n\nconst HStack: any = React.forwardRef<React.ComponentRef<typeof View>, IHStackProps>(function HStack(\n { className, space, reversed, ...props },\n ref,\n) {\n return (\n <View\n className={hstackStyle({\n space,\n reversed: reversed as boolean,\n class: className,\n })}\n {...props}\n ref={ref}\n />\n );\n});\n\nHStack.displayName = 'HStack';\n\nexport { HStack };\n","'use client';\nimport { createLink } from '@gluestack-ui/core/link/creator';\nimport { Pressable } from 'react-native';\nimport { Text } from 'react-native';\n\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nimport React from 'react';\nexport const UILink = createLink({\n Root: withStyleContext(Pressable),\n Text: Text,\n});\n\n(cssInterop as any)(UILink, { className: 'style' });\n(cssInterop as any)(UILink.Text, { className: 'style' });\n\nconst linkStyle = tva({\n base: 'group/link web:outline-0 data-[disabled=true]:web:cursor-not-allowed data-[focus-visible=true]:web:ring-2 data-[focus-visible=true]:web:ring-indicator-primary data-[focus-visible=true]:web:outline-0 data-[disabled=true]:opacity-4 ',\n});\n\nconst linkTextStyle = tva({\n base: 'underline text-primary data-[hover=true]:text-primary/80 data-[hover=true]:no-underline data-[active=true]:text-destructive/80 font-normal font-body web:font-sans web:tracking-sm web:my-0 web:bg-transparent web:border-0 web:box-border web:inline web:list-none web:m-0 web:p-0 web:relative web:text-start web:whitespace-pre-wrap web:break-words',\n\n variants: {\n isTruncated: {\n true: 'web:truncate',\n },\n bold: {\n true: 'font-bold',\n },\n underline: {\n true: 'underline',\n },\n strikeThrough: {\n true: 'line-through',\n },\n size: {\n '2xs': 'text-2xs',\n xs: 'text-xs',\n sm: 'text-sm',\n md: 'text-base',\n lg: 'text-lg',\n xl: 'text-xl',\n '2xl': 'text-2xl',\n '3xl': 'text-3xl',\n '4xl': 'text-4xl',\n '5xl': 'text-5xl',\n '6xl': 'text-6xl',\n },\n sub: {\n true: 'text-xs',\n },\n italic: {\n true: 'italic',\n },\n highlight: {\n true: 'bg-yellow-500',\n },\n },\n});\n\ntype ILinkProps = React.ComponentProps<typeof UILink> & VariantProps<typeof linkStyle> & { className?: string };\n\nconst Link = React.forwardRef<React.ComponentRef<typeof UILink>, ILinkProps>(function Link(\n { className, ...props },\n ref,\n) {\n return <UILink ref={ref} {...props} className={linkStyle({ class: className })} />;\n});\n\ntype ILinkTextProps = React.ComponentProps<typeof UILink.Text> &\n VariantProps<typeof linkTextStyle> & { className?: string };\n\nconst LinkText = React.forwardRef<React.ComponentRef<typeof UILink.Text>, ILinkTextProps>(function LinkText(\n { className, size = 'md', ...props },\n ref,\n) {\n return (\n <UILink.Text\n ref={ref}\n {...props}\n className={linkTextStyle({\n class: className,\n size,\n })}\n />\n );\n});\n\nLink.displayName = 'Link';\nLinkText.displayName = 'LinkText';\n\nexport { Link, LinkText };\n","'use client';\nimport React from 'react';\nimport { createPressable } from '@gluestack-ui/core/pressable/creator';\nimport { Pressable as RNPressable } from 'react-native';\n\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nconst UIPressable = createPressable({\n Root: withStyleContext(RNPressable),\n});\n\nconst pressableStyle = tva({\n base: 'data-[focus-visible=true]:outline-none data-[focus-visible=true]:ring-indicator-info data-[focus-visible=true]:ring-2 data-[disabled=true]:opacity-40',\n});\n\ntype IPressableProps = Omit<React.ComponentProps<typeof UIPressable>, 'context'> & VariantProps<typeof pressableStyle>;\nconst Pressable = React.forwardRef<React.ComponentRef<typeof UIPressable>, IPressableProps>(function Pressable(\n { className, ...props },\n ref,\n) {\n return (\n <UIPressable\n {...props}\n ref={ref}\n className={pressableStyle({\n class: className,\n })}\n />\n );\n});\n\nPressable.displayName = 'Pressable';\nexport { Pressable };\n","'use client';\nimport { ActivityIndicator } from 'react-native';\nimport React from 'react';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\n\n(cssInterop as any)(ActivityIndicator, {\n className: { target: 'style', nativeStyleToProp: { color: true } },\n});\n\nconst spinnerStyle = tva({});\n\nconst Spinner: any = React.forwardRef<\n React.ComponentRef<typeof ActivityIndicator>,\n React.ComponentProps<typeof ActivityIndicator>\n>(function Spinner({ className, color, focusable = false, 'aria-label': ariaLabel = 'loading', ...props }, ref) {\n return (\n <ActivityIndicator\n ref={ref}\n focusable={focusable}\n aria-label={ariaLabel}\n {...props}\n color={color}\n className={spinnerStyle({ class: className })}\n />\n );\n});\n\nSpinner.displayName = 'Spinner';\n\nexport { Spinner };\n","'use client';\nimport React from 'react';\nimport { createTextarea } from '@gluestack-ui/core/textarea/creator';\nimport { View, TextInput } from 'react-native';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext, useStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nconst SCOPE = 'TEXTAREA';\nconst UITextarea = createTextarea({\n Root: withStyleContext(View, SCOPE),\n Input: TextInput,\n});\n\nconst textareaStyle = tva({\n base: 'w-full h-[100px] border border-border dark:bg-input/30 rounded data-[hover=true]:border-border/80 data-[focus=true]:border-primary/80 data-[focus=true]:data-[hover=true]:border-primary/80 data-[disabled=true]:opacity-40 data-[disabled=true]:bg-background/90 data-[disabled=true]:data-[hover=true]:border-border/80',\n\n variants: {\n variant: {\n default:\n 'data-[focus=true]:border-primary/80 data-[focus=true]:web:ring-1 data-[focus=true]:web:ring-inset data-[focus=true]:web:ring-indicator-primary data-[invalid=true]:border-destructive data-[invalid=true]:web:ring-1 data-[invalid=true]:web:ring-inset data-[invalid=true]:web:ring-indicator-error data-[invalid=true]:data-[hover=true]:border-destructive data-[invalid=true]:data-[focus=true]:data-[hover=true]:border-primary/80 data-[invalid=true]:data-[focus=true]:data-[hover=true]:web:ring-1 data-[invalid=true]:data-[focus=true]:data-[hover=true]:web:ring-inset data-[invalid=true]:data-[focus=true]:data-[hover=true]:web:ring-indicator-primary data-[invalid=true]:data-[disabled=true]:data-[hover=true]:border-destructive data-[invalid=true]:data-[disabled=true]:data-[hover=true]:web:ring-1 data-[invalid=true]:data-[disabled=true]:data-[hover=true]:web:ring-inset data-[invalid=true]:data-[disabled=true]:data-[hover=true]:web:ring-indicator-error ',\n },\n size: {\n sm: '',\n md: '',\n lg: '',\n xl: '',\n },\n },\n});\n\nconst textareaInputStyle = tva({\n base: 'p-2 web:outline-0 web:outline-none flex-1 text-foreground placeholder:text-foreground/60 web:cursor-text web:data-[disabled=true]:cursor-not-allowed',\n parentVariants: {\n size: {\n sm: 'text-sm',\n md: 'text-base',\n lg: 'text-lg',\n xl: 'text-xl',\n },\n },\n});\n\ntype ITextareaProps = React.ComponentProps<typeof UITextarea> & VariantProps<typeof textareaStyle>;\n\nconst Textarea = React.forwardRef<React.ComponentRef<typeof UITextarea>, ITextareaProps>(function Textarea(\n { className, variant = 'default', size = 'md', ...props },\n ref,\n) {\n return (\n <UITextarea ref={ref} {...props} className={textareaStyle({ variant, class: className })} context={{ size }} />\n );\n});\n\ntype ITextareaInputProps = React.ComponentProps<typeof UITextarea.Input> & VariantProps<typeof textareaInputStyle>;\n\nconst TextareaInput = React.forwardRef<React.ComponentRef<typeof UITextarea.Input>, ITextareaInputProps>(\n function TextareaInput({ className, ...props }, ref) {\n const { size: parentSize } = useStyleContext(SCOPE);\n\n return (\n <UITextarea.Input\n ref={ref}\n {...props}\n textAlignVertical=\"top\"\n className={textareaInputStyle({\n parentVariants: {\n size: parentSize,\n },\n class: className,\n })}\n />\n );\n },\n);\n\nTextarea.displayName = 'Textarea';\nTextareaInput.displayName = 'TextareaInput';\n\nexport { Textarea, TextareaInput };\n","import { isWeb } from '@gluestack-ui/utils/nativewind-utils';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\n\nconst baseStyle = isWeb\n ? 'flex flex-col relative z-0 box-border border-0 list-none min-w-0 min-h-0 bg-transparent items-stretch m-0 p-0 text-decoration-none'\n : '';\n\nexport const vstackStyle = tva({\n base: `flex-col ${baseStyle}`,\n variants: {\n space: {\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-5',\n '2xl': 'gap-6',\n '3xl': 'gap-7',\n '4xl': 'gap-8',\n },\n reversed: {\n true: 'flex-col-reverse',\n },\n },\n});\n","import React from 'react';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { View } from 'react-native';\n\nimport { vstackStyle } from './styles';\n\ntype IVStackProps = React.ComponentProps<typeof View> & VariantProps<typeof vstackStyle>;\n\nconst VStack: any = React.forwardRef<React.ComponentRef<typeof View>, IVStackProps>(function VStack(\n { className, space, reversed, ...props },\n ref,\n) {\n return (\n <View\n className={vstackStyle({\n space,\n reversed: reversed as boolean,\n class: className,\n })}\n {...props}\n ref={ref}\n />\n );\n});\n\nVStack.displayName = 'VStack';\n\nexport { VStack };\n","'use client';\nimport React from 'react';\nimport { createButton } from '@gluestack-ui/core/button/creator';\nimport { tva, withStyleContext, useStyleContext, type VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\nimport { ActivityIndicator, Pressable, Text, View } from 'react-native';\nimport { UIIcon } from '@gluestack-ui/core/icon/creator';\nconst SCOPE = 'BUTTON';\nconst Root = withStyleContext(Pressable, SCOPE);\nconst UIButton = createButton({\n Root: Root,\n Text,\n Group: View,\n Spinner: ActivityIndicator,\n Icon: UIIcon,\n});\n(cssInterop as any)(UIIcon, {\n className: {\n target: 'style',\n nativeStyleToProp: {\n height: true,\n width: true,\n fill: true,\n color: 'classNameColor',\n stroke: true,\n } as any,\n },\n});\nconst buttonStyle = tva({\n base: 'rounded-md flex-row items-center justify-center data-[focus-visible=true]:web:outline-none data-[focus-visible=true]:web:ring-2 data-[disabled=true]:opacity-40 gap-2 h-fit',\n variants: {\n variant: {\n default: 'bg-primary data-[hover=true]:bg-primary/90 data-[active=true]:bg-primary/90',\n destructive:\n 'bg-destructive data-[hover=true]:bg-destructive/90 data-[active=true]:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',\n outline:\n 'border border-border bg-background shadow-xs data-[hover=true]:bg-accent data-[active=true]:bg-accent dark:bg-input/[0.045] dark:border-border/90 dark:data-[hover=true]:bg-input/[0.075] dark:data-[active=true]:bg-input/[0.075]',\n secondary:\n 'bg-secondary text-secondary-foreground data-[hover=true]:bg-secondary/80 data-[active=true]:bg-secondary/80',\n ghost:\n 'data-[hover=true]:bg-accent data-[active=true]:bg-accent dark:data-[hover=true]:bg-accent/50 dark:data-[active=true]:bg-accent/50',\n link: 'text-primary underline-offset-4 data-[hover=true]:underline data-[active=true]:underline',\n },\n size: {\n default: 'px-4 py-2',\n sm: 'min-h-8 rounded-md px-3 text-xs',\n lg: 'min-h-10 rounded-md px-8',\n icon: 'min-h-9 min-w-9',\n },\n },\n});\nconst buttonTextStyle = tva({\n base: 'web:select-none font-sans',\n parentVariants: {\n variant: {\n default: 'text-primary-foreground',\n destructive: 'text-white',\n outline: 'text-foreground data-[hover=true]:text-accent-foreground data-[active=true]:text-accent-foreground',\n secondary: 'text-secondary-foreground',\n ghost: 'text-foreground ',\n link: 'text-primary data-[hover=true]:underline data-[active=true]:underline',\n },\n size: {\n default: 'text-sm',\n sm: 'text-xs',\n lg: 'text-sm',\n icon: 'text-sm',\n },\n },\n});\n\nconst buttonSpinnerStyle = tva({\n base: '',\n parentVariants: {\n size: {\n default: 'h-4 w-4',\n sm: 'h-4 w-4',\n lg: 'h-4 w-4',\n icon: 'h-4 w-4',\n },\n },\n});\n\nconst buttonIconStyle = tva({\n base: 'fill-none pointer-events-none shrink-0',\n parentVariants: {\n variant: {\n default: 'text-primary-foreground',\n destructive: 'text-white',\n outline: 'text-foreground data-[hover=true]:text-accent-foreground data-[active=true]:text-accent-foreground',\n secondary: 'text-secondary-foreground',\n ghost: 'text-foreground data-[hover=true]:text-accent-foreground data-[active=true]:text-accent-foreground',\n link: 'text-primary',\n },\n size: {\n default: 'h-4 w-4',\n sm: 'h-4 w-4',\n lg: 'h-4 w-4',\n icon: 'h-4 w-4',\n },\n },\n});\nconst buttonGroupStyle = tva({\n base: '',\n variants: {\n space: {\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-3',\n lg: 'gap-4',\n xl: 'gap-5',\n '2xl': 'gap-6',\n '3xl': 'gap-7',\n '4xl': 'gap-8',\n },\n isAttached: {\n true: 'gap-0',\n },\n flexDirection: {\n row: 'flex-row',\n column: 'flex-col',\n 'row-reverse': 'flex-row-reverse',\n 'column-reverse': 'flex-col-reverse',\n },\n },\n});\ntype IButtonProps = Omit<React.ComponentPropsWithoutRef<typeof UIButton>, 'context'> &\n VariantProps<typeof buttonStyle> & { className?: string };\nconst Button = React.forwardRef<React.ElementRef<typeof UIButton>, IButtonProps>(\n ({ className, variant = 'default', size = 'default', ...props }, ref) => {\n return (\n <UIButton\n ref={ref}\n {...props}\n className={buttonStyle({ variant, size, class: className })}\n context={{ variant, size }}\n />\n );\n },\n);\ntype IButtonTextProps = React.ComponentPropsWithoutRef<typeof UIButton.Text> &\n VariantProps<typeof buttonTextStyle> & { className?: string };\nconst ButtonText = React.forwardRef<React.ElementRef<typeof UIButton.Text>, IButtonTextProps>(\n ({ className, size, ...props }, ref) => {\n const { size: parentSize, variant: parentVariant } = useStyleContext(SCOPE);\n return (\n <UIButton.Text\n ref={ref}\n {...props}\n className={buttonTextStyle({\n parentVariants: {\n size: parentSize,\n variant: parentVariant,\n },\n size,\n class: className,\n })}\n />\n );\n },\n);\nconst ButtonSpinner = React.forwardRef<\n React.ElementRef<typeof UIButton.Spinner>,\n React.ComponentPropsWithoutRef<typeof UIButton.Spinner>\n>(({ className, size, ...props }, ref) => {\n const { size: parentSize } = useStyleContext(SCOPE);\n return (\n <UIButton.Spinner\n ref={ref}\n {...props}\n className={buttonSpinnerStyle({ parentVariants: { size: parentSize }, class: className, size: size as any })}\n />\n );\n});\ntype IButtonIcon = React.ComponentPropsWithoutRef<typeof UIButton.Icon> &\n VariantProps<typeof buttonIconStyle> & {\n className?: string | undefined;\n as?: React.ElementType;\n height?: number;\n width?: number;\n };\nconst ButtonIcon = React.forwardRef<React.ElementRef<typeof UIButton.Icon>, IButtonIcon>(\n ({ className, size, ...props }, ref) => {\n const { size: parentSize, variant: parentVariant } = useStyleContext(SCOPE);\n if (typeof size === 'number') {\n return <UIButton.Icon ref={ref} {...props} className={buttonIconStyle({ class: className })} size={size} />;\n } else if ((props.height !== undefined || props.width !== undefined) && size === undefined) {\n return <UIButton.Icon ref={ref} {...props} className={buttonIconStyle({ class: className })} />;\n }\n return (\n <UIButton.Icon\n {...props}\n className={buttonIconStyle({\n parentVariants: {\n size: parentSize,\n variant: parentVariant,\n },\n size,\n class: className,\n })}\n ref={ref}\n />\n );\n },\n);\ntype IButtonGroupProps = React.ComponentPropsWithoutRef<typeof UIButton.Group> & VariantProps<typeof buttonGroupStyle>;\nconst ButtonGroup = React.forwardRef<React.ElementRef<typeof UIButton.Group>, IButtonGroupProps>(\n ({ className, space = 'md', isAttached = false, flexDirection = 'column', ...props }, ref) => {\n return (\n <UIButton.Group\n className={buttonGroupStyle({\n class: className,\n space,\n isAttached,\n flexDirection,\n })}\n {...props}\n ref={ref}\n />\n );\n },\n);\nButton.displayName = 'Button';\nButtonText.displayName = 'ButtonText';\nButtonSpinner.displayName = 'ButtonSpinner';\nButtonIcon.displayName = 'ButtonIcon';\nButtonGroup.displayName = 'ButtonGroup';\nexport { Button, ButtonText, ButtonSpinner, ButtonIcon, ButtonGroup };\n","import { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { isWeb } from '@gluestack-ui/utils/nativewind-utils';\nconst baseStyle = isWeb ? 'flex flex-col relative z-0' : '';\n\nexport const cardStyle = tva({\n base: `${baseStyle} flex-col bg-card border border-border rounded-xl shadow-sm`,\n variants: {\n size: {\n default: 'p-4 gap-6',\n sm: 'p-3 gap-3',\n },\n },\n defaultVariants: {\n size: 'default',\n },\n});\n","'use client';\nimport React from 'react';\nimport { View } from 'react-native';\nimport { cardStyle } from './styles';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\ntype ICardProps = React.ComponentPropsWithoutRef<typeof View> &\n VariantProps<typeof cardStyle> & {\n className?: string;\n size?: 'default' | 'sm';\n };\n\nconst Card: any = React.forwardRef<React.ComponentRef<typeof View>, ICardProps>(function Card(\n { className, size = 'default', ...props },\n ref,\n) {\n return <View className={cardStyle({ size, class: className })} {...props} ref={ref} />;\n});\n\nCard.displayName = 'Card';\n\nexport { Card };\n","'use client';\nimport React from 'react';\nimport { createInput } from '@gluestack-ui/core/input/creator';\nimport { View, Pressable, TextInput } from 'react-native';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { UIIcon } from '@gluestack-ui/core/icon/creator';\n\nconst SCOPE = 'INPUT';\n\nconst UIInput = createInput({\n Root: withStyleContext(View, SCOPE),\n Icon: UIIcon,\n Slot: Pressable,\n Input: TextInput,\n});\n\n(cssInterop as any)(UIIcon, {\n className: {\n target: 'style',\n nativeStyleToProp: {\n height: true,\n width: true,\n fill: true,\n color: 'classNameColor',\n stroke: true,\n } as any,\n },\n});\n\nconst inputStyle = tva({\n base: 'h-9 w-full flex-row items-center rounded-md border border-border dark:bg-input/30 bg-transparent shadow-xs transition-[color,box-shadow] overflow-hidden data-[focus=true]:outline-none data-[focus=true]:border-ring dark:data-[focus=true]:border-ring data-[focus=true]:web:ring-[3px] data-[focus=true]:web:ring-ring/50 data-[invalid=true]:border-destructive/40 dark:data-[invalid=true]:border-destructive/40 data-[invalid=true]:web:ring-destructive/20 dark:data-[invalid=true]:web:ring-destructive/40 data-[disabled=true]:pointer-events-none data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 px-3 gap-2',\n});\n\nconst inputIconStyle = tva({\n base: 'justify-center items-center text-muted-foreground fill-none h-4 w-4',\n});\n\nconst inputSlotStyle = tva({\n base: 'justify-center items-center web:disabled:cursor-not-allowed',\n});\n\nconst inputFieldStyle = tva({\n base: 'flex-1 text-foreground text-sm md:text-sm py-1 h-full placeholder:text-muted-foreground web:outline-none ios:leading-[0px] web:cursor-text web:data-[disabled=true]:cursor-not-allowed',\n});\n\ntype IInputProps = React.ComponentProps<typeof UIInput> & VariantProps<typeof inputStyle> & { className?: string };\nconst Input = React.forwardRef<React.ComponentRef<typeof UIInput>, IInputProps>(function Input(\n { className, ...props },\n ref,\n) {\n return <UIInput ref={ref} {...props} className={inputStyle({ class: className })} context={{}} />;\n});\n\ntype IInputIconProps = React.ComponentProps<typeof UIInput.Icon> &\n VariantProps<typeof inputIconStyle> & {\n className?: string;\n height?: number;\n width?: number;\n };\n\nconst InputIcon = React.forwardRef<React.ComponentRef<typeof UIInput.Icon>, IInputIconProps>(function InputIcon(\n { className, ...props },\n ref,\n) {\n return <UIInput.Icon ref={ref} {...props} className={inputIconStyle({ class: className })} />;\n});\n\ntype IInputSlotProps = React.ComponentProps<typeof UIInput.Slot> &\n VariantProps<typeof inputSlotStyle> & { className?: string };\n\nconst InputSlot = React.forwardRef<React.ComponentRef<typeof UIInput.Slot>, IInputSlotProps>(function InputSlot(\n { className, ...props },\n ref,\n) {\n return (\n <UIInput.Slot\n ref={ref}\n {...props}\n className={inputSlotStyle({\n class: className,\n })}\n />\n );\n});\n\ntype IInputFieldProps = React.ComponentProps<typeof UIInput.Input> &\n VariantProps<typeof inputFieldStyle> & { className?: string };\n\nconst InputField = React.forwardRef<React.ComponentRef<typeof UIInput.Input>, IInputFieldProps>(function InputField(\n { className, ...props },\n ref,\n) {\n return (\n <UIInput.Input\n ref={ref}\n {...props}\n className={inputFieldStyle({\n class: className,\n })}\n />\n );\n});\n\nInput.displayName = 'Input';\nInputIcon.displayName = 'InputIcon';\nInputSlot.displayName = 'InputSlot';\nInputField.displayName = 'InputField';\n\nexport { Input, InputField, InputIcon, InputSlot };\n","'use client';\nimport React from 'react';\nimport { Switch as RNSwitch } from 'react-native';\nimport { createSwitch } from '@gluestack-ui/core/switch/creator';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nconst UISwitch = createSwitch({\n Root: withStyleContext(RNSwitch),\n});\n\nconst switchStyle = tva({\n base: 'data-[focus=true]:outline-0 data-[focus=true]:ring-2 data-[focus=true]:ring-indicator-primary web:cursor-pointer disabled:cursor-not-allowed data-[disabled=true]:opacity-40 data-[invalid=true]:border-destructive data-[invalid=true]:rounded-xl data-[invalid=true]:border-2',\n\n variants: {\n size: {\n sm: 'scale-75',\n md: '',\n lg: 'scale-125',\n },\n },\n});\n\ntype ISwitchProps = React.ComponentProps<typeof UISwitch> & VariantProps<typeof switchStyle>;\nconst Switch = React.forwardRef<React.ComponentRef<typeof UISwitch>, ISwitchProps>(function Switch(\n { className, size = 'md', ...props },\n ref,\n) {\n return <UISwitch ref={ref} {...props} className={switchStyle({ size, class: className })} />;\n});\n\nSwitch.displayName = 'Switch';\nexport { Switch };\n","import { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { isWeb } from '@gluestack-ui/utils/nativewind-utils';\n\nconst baseStyle = isWeb\n ? 'font-sans tracking-sm my-0 bg-transparent border-0 box-border display-inline list-none margin-0 padding-0 position-relative text-start no-underline whitespace-pre-wrap word-wrap-break-word'\n : '';\n\nexport const textStyle = tva({\n base: `text-foreground font-body ${baseStyle}`,\n\n variants: {\n isTruncated: {\n true: 'web:truncate',\n },\n bold: {\n true: 'font-bold',\n },\n underline: {\n true: 'underline',\n },\n strikeThrough: {\n true: 'line-through',\n },\n size: {\n '2xs': 'text-2xs',\n xs: 'text-xs',\n sm: 'text-sm',\n md: 'text-base',\n lg: 'text-lg',\n xl: 'text-xl',\n '2xl': 'text-2xl',\n '3xl': 'text-3xl',\n '4xl': 'text-4xl',\n '5xl': 'text-5xl',\n '6xl': 'text-6xl',\n },\n sub: {\n true: 'text-xs',\n },\n italic: {\n true: 'italic',\n },\n highlight: {\n true: 'bg-yellow-500',\n },\n },\n});\n","import React from 'react';\n\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { Text as RNText } from 'react-native';\nimport { textStyle } from './styles';\n\ntype ITextProps = React.ComponentProps<typeof RNText> & VariantProps<typeof textStyle>;\n\nconst Text: any = React.forwardRef<React.ComponentRef<typeof RNText>, ITextProps>(function Text(\n { className, isTruncated, bold, underline, strikeThrough, size = 'md', sub, italic, highlight, ...props },\n ref,\n) {\n return (\n <RNText\n className={textStyle({\n isTruncated: isTruncated as boolean,\n bold: bold as boolean,\n underline: underline as boolean,\n strikeThrough: strikeThrough as boolean,\n size,\n sub: sub as boolean,\n italic: italic as boolean,\n highlight: highlight as boolean,\n class: className,\n })}\n {...props}\n ref={ref}\n />\n );\n});\n\nText.displayName = 'Text';\n\nexport { Text };\n","import { createContext, useContext } from 'react';\n\n/**\n * The colour maps of the theme that is actually mounted.\n *\n * `useGluestackColors` used to close over the config this package generates,\n * so an app that adopted the registries and mounted its own provider still read\n * the package colours - the branding would have been cosmetic. The provider\n * publishes what it was built with here instead, and the hook reads this first.\n */\nexport type ThemeColors = Record<string, Record<string, string>>;\n\nexport const ThemeContext = createContext<ThemeColors | null>(null);\n\n/** The mounted theme, or null when the package's own provider is not in the tree. */\nexport const useMountedColors = (): ThemeColors | null => useContext(ThemeContext);\n\n/**\n * Which theme of the mounted set is active.\n *\n * A theme set declares several light/dark pairs (variants: `spring-light` /\n * `spring-dark`, ...). Nativewind only knows `light` and `dark`, so the provider\n * resolves the pair itself and publishes the resulting id here - otherwise a hook\n * reading colours would look up `colors['dark']` and miss the variant entirely.\n */\nexport interface MountedTheme {\n /** The active theme id, e.g. `spring-dark`. */\n themeId: string;\n /** Every id the mounted set declares, so a lookup can fall back safely. */\n themeIds: string[];\n}\n\nexport const MountedThemeContext = createContext<MountedTheme | null>(null);\n\nexport const useMountedTheme = (): MountedTheme | null => useContext(MountedThemeContext);\n\n/**\n * Resolve a (variant, mode) request to a theme id.\n *\n * The generated `variants` table is authoritative, so a theme id never has to\n * follow a naming convention. An unknown variant falls back to the mode itself,\n * which is exactly the pre-variant behaviour (the `light`/`dark` ids).\n */\nexport function resolveThemeId(\n variants: Record<string, Record<string, string>> | undefined,\n variant: string | undefined,\n mode: string,\n): string {\n const mapped = variant ? variants?.[variant]?.[mode] : undefined;\n return mapped ?? mode;\n}\n","// Generated by flipova-design gen -- do not edit by hand.\n// Source of truth: design/tokens.xml + design/themes.xml\n// Regenerate with: npm run design:gen\nimport { vars } from 'nativewind';\n\n// Raw color values (space-separated RGB) - edit design/themes.xml and regenerate\nexport const colors = {\n light: {\n '--background': '250 250 250',\n '--foreground': '24 24 27',\n '--card': '255 255 255',\n '--card-foreground': '24 24 27',\n '--popover': '255 255 255',\n '--popover-foreground': '24 24 27',\n '--primary': '37 99 235',\n '--primary-foreground': '255 255 255',\n '--secondary': '71 85 105',\n '--secondary-foreground': '255 255 255',\n '--muted': '244 244 245',\n '--muted-foreground': '82 82 91',\n '--accent': '239 246 255',\n '--accent-foreground': '30 58 138',\n '--destructive': '220 38 38',\n '--destructive-foreground': '255 255 255',\n '--border': '228 228 231',\n '--input': '228 228 231',\n '--ring': '59 130 246',\n '--success': '22 163 74',\n '--success-foreground': '255 255 255',\n '--warning': '217 119 6',\n '--warning-foreground': '255 255 255',\n '--error': '220 38 38',\n '--error-foreground': '255 255 255',\n '--info': '2 132 199',\n '--info-foreground': '255 255 255',\n },\n dark: {\n '--background': '24 24 27',\n '--foreground': '244 244 245',\n '--card': '39 39 42',\n '--card-foreground': '244 244 245',\n '--popover': '39 39 42',\n '--popover-foreground': '244 244 245',\n '--primary': '59 130 246',\n '--primary-foreground': '255 255 255',\n '--secondary': '100 116 139',\n '--secondary-foreground': '255 255 255',\n '--muted': '39 39 42',\n '--muted-foreground': '161 161 170',\n '--accent': '30 58 138',\n '--accent-foreground': '219 234 254',\n '--destructive': '239 68 68',\n '--destructive-foreground': '255 255 255',\n '--border': '63 63 70',\n '--input': '63 63 70',\n '--ring': '96 165 250',\n '--success': '34 197 94',\n '--success-foreground': '24 24 27',\n '--warning': '245 158 11',\n '--warning-foreground': '24 24 27',\n '--error': '239 68 68',\n '--error-foreground': '255 255 255',\n '--info': '14 165 233',\n '--info-foreground': '255 255 255',\n },\n};\n\n// Config for nativewind vars() - used by the provider\nexport const config = {\n light: vars(colors['light']),\n dark: vars(colors['dark']),\n};\n\n// Theme variants: variant -> mode -> theme id, from the `variant` attribute in\n// design/themes.xml. `default` holds the base light/dark pair.\nexport const variants = {\n default: { dark: 'dark', light: 'light' },\n};\n","import { useColorScheme } from 'nativewind';\nimport { colors } from './config';\nimport { useMountedColors, useMountedTheme } from './theme-context';\n\n/**\n * Convert CSS variable name to camelCase\n * Example: '--primary-foreground' -> 'primaryForeground'\n */\nfunction toCamelCase(str: string): string {\n return str\n .replace(/^--/, '') // Remove leading --\n .replace(/-([a-z])/g, (_, letter) => letter.toUpperCase()); // Convert -x to X\n}\n\n/**\n * Convert RGB string \"23 23 23\" to hex \"#171717\"\n */\nfunction rgbToHex(rgbString: string): string {\n const parts = rgbString.trim().split(/\\s+/);\n if (parts.length !== 3) return '#000000';\n\n const [r, g, b] = parts.map((s) => {\n const num = parseInt(s, 10);\n return isNaN(num) ? 0 : num;\n });\n\n const toHex = (n: number) => Math.max(0, Math.min(255, n)).toString(16).padStart(2, '0');\n return `#${toHex(r)}${toHex(g)}${toHex(b)}`;\n}\n\n/**\n * Hook to get all gluestack colors as hex values\n * Automatically converts all CSS variables to camelCase\n * Returns a dynamic object with all colors\n *\n * Usage: const colors = useGluestackColors();\n * colors.primary -> '#171717'\n * colors.primaryForeground -> '#fafafa'\n * colors.forest -> '#228b22' (if you add --forest to config)\n */\nexport function useGluestackColors(): Record<string, string> {\n const { colorScheme } = useColorScheme();\n // The mounted theme wins: an app that adopted the registries and built its own\n // provider must read its own colours, not the ones shipped with the package.\n const theme = useMountedColors() ?? colors;\n const mounted = useMountedTheme();\n // The provider resolves the active theme id (a variant pair such as\n // `spring-dark`). Falling back to the raw scheme keeps a tree with no mounted\n // provider working, and an unknown id must not hand `Object.entries` undefined.\n // `theme` is the generated literal object, so index it through a widened view:\n // the active id is only known at runtime.\n const palettes = theme as Record<string, Record<string, string>>;\n const palette =\n palettes[mounted?.themeId ?? ''] ?? palettes[colorScheme || 'light'] ?? palettes[mounted?.themeIds[0] ?? ''] ?? {};\n\n // Dynamically convert all CSS variables to camelCase hex colors\n const result: Record<string, string> = {};\n\n Object.entries(palette).forEach(([key, value]) => {\n const camelKey = toCamelCase(key);\n result[camelKey] = rgbToHex(value as string);\n });\n\n return result;\n}\n\n/**\n * Hook to get calendar theme object for react-native-calendars\n * Automatically maps all available colors\n */\nexport function useCalendarTheme(): Record<string, string> {\n const palette = useGluestackColors();\n\n return {\n backgroundColor: palette.background || '#ffffff',\n calendarBackground: palette.background || '#ffffff',\n textSectionTitleColor: palette.mutedForeground || '#737373',\n selectedDayBackgroundColor: palette.primary || '#171717',\n selectedDayTextColor: palette.primaryForeground || '#fafafa',\n todayTextColor: palette.primary || '#171717',\n todayBackgroundColor: palette.accent || '#f7f7f7',\n dayTextColor: palette.foreground || '#0a0a0a',\n textDisabledColor: palette.mutedForeground || '#737373',\n dotColor: palette.primary || '#171717',\n selectedDotColor: palette.primaryForeground || '#fafafa',\n arrowColor: palette.foreground || '#0a0a0a',\n monthTextColor: palette.foreground || '#0a0a0a',\n indicatorColor: palette.primary || '#171717',\n };\n}\n\n// Type helper - you can use this to get typed colors if needed\nexport type GluestackColors = ReturnType<typeof useGluestackColors>;\n","import React, { useEffect } from 'react';\nimport { config, colors, variants } from './config';\nimport { View, ViewProps } from 'react-native';\nimport { OverlayProvider } from '@gluestack-ui/core/overlay/creator';\nimport { ToastProvider } from '@gluestack-ui/core/toast/creator';\nimport { useColorScheme } from 'nativewind';\nimport {\n useGluestackColors as useGluestackColorsHook,\n useCalendarTheme as useCalendarThemeHook,\n} from './useGluestackColors';\nimport { ThemeContext, MountedThemeContext, resolveThemeId } from './theme-context';\n\nexport { ThemeContext, MountedThemeContext, useMountedColors, useMountedTheme, resolveThemeId } from './theme-context';\n\nexport type ModeType = 'light' | 'dark' | 'system';\n\n/** A light/dark pair declared in `design/themes.xml` (e.g. `spring`). */\nexport type ThemeVariant = keyof typeof variants | (string & {});\n\n/**\n * The theme a provider is built from: the same shape `config.ts` generates, so\n * the file an app regenerates from its own registries is accepted as it is.\n */\nexport type GluestackThemeConfig = Record<string, Record<string, string>>;\n\n/**\n * What a provider is built from: the `colors` the generated theme exports, and\n * optionally the matching `vars()` config. Passing the whole module works:\n * `createGluestackUIProvider({ colors, config })`.\n */\nexport interface GluestackTheme {\n colors: GluestackThemeConfig;\n config?: Record<string, unknown>;\n /** variant -> mode -> theme id, generated from the `variant` attribute. */\n variants?: Record<string, Record<string, string>>;\n}\n\n// Re-export color hooks\nexport const useGluestackColors = useGluestackColorsHook;\nexport const useCalendarTheme = useCalendarThemeHook;\nexport type { GluestackColors } from './useGluestackColors';\n\nexport interface GluestackUIProviderProps {\n mode?: ModeType;\n /** Which light/dark pair to mount (e.g. `spring`). Defaults to `default`. */\n variant?: ThemeVariant;\n children?: React.ReactNode;\n style?: ViewProps['style'];\n}\n\n/**\n * Build a provider around a theme.\n *\n * This is what lets an app own its design system: it copies the registries with\n * `flipova-design adopt`, edits them, regenerates `theme/config.ts`, and mounts\n * the result here. The exported `GluestackUIProvider` is this factory applied to\n * the package's own theme, so nothing changes for an app that did not adopt.\n */\nexport function createGluestackUIProvider(theme: GluestackTheme) {\n const vars = theme.config ?? theme.colors;\n const variantMap = theme.variants;\n const themeIds = Object.keys(vars);\n\n return function ThemedProvider({ mode = 'light', variant, ...props }: GluestackUIProviderProps) {\n const { colorScheme, setColorScheme } = useColorScheme();\n\n useEffect(() => {\n setColorScheme(mode);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [mode]);\n\n // Nativewind only reports light/dark, so `system` resolves through it while a\n // named mode is taken as-is; either way the VARIANT picks the pair. Falling\n // back to the mode keeps a theme set without variants working untouched.\n const resolvedMode = mode === 'system' ? (colorScheme ?? 'light') : mode;\n const themeId = resolveThemeId(variantMap, variant, resolvedMode);\n const mountedTheme = React.useMemo(() => ({ themeId, themeIds }), [themeId, themeIds]);\n\n return (\n <View\n style={[\n (vars as Record<string, unknown>)[themeId] as ViewProps['style'],\n { flex: 1, height: '100%', width: '100%' },\n props.style,\n ]}\n >\n <ThemeContext.Provider value={theme.colors}>\n <MountedThemeContext.Provider value={mountedTheme}>\n <OverlayProvider>\n <ToastProvider>{props.children}</ToastProvider>\n </OverlayProvider>\n </MountedThemeContext.Provider>\n </ThemeContext.Provider>\n </View>\n );\n };\n}\n\nexport const GluestackUIProvider = createGluestackUIProvider({\n colors,\n config,\n variants,\n});\n","'use client';\nimport React from 'react';\nimport { createFab } from '@gluestack-ui/core/fab/creator';\nimport { Pressable, Text } from 'react-native';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext, useStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\nimport { UIIcon } from '@gluestack-ui/core/icon/creator';\n\nconst SCOPE = 'FAB';\nconst Root = withStyleContext(Pressable, SCOPE);\nconst UIFab = createFab({\n Root: Root,\n Label: Text,\n Icon: UIIcon,\n});\n\n(cssInterop as any)(UIIcon, {\n className: {\n target: 'style',\n nativeStyleToProp: {\n height: true,\n width: true,\n fill: true,\n color: 'classNameColor',\n stroke: true,\n } as any,\n },\n});\n\nconst fabStyle = tva({\n base: 'group/fab bg-primary rounded-full z-20 p-4 flex-row items-center justify-center absolute hover:bg-primary/90 active:bg-primary/80 disabled:opacity-40 disabled:pointer-events-all disabled:cursor-not-allowed data-[focus=true]:web:outline-none data-[focus-visible=true]:web:ring-2 data-[focus-visible=true]:web:ring-indicator-info shadow-hard-2',\n variants: {\n size: {\n sm: 'px-3.5 py-1.5',\n md: 'px-4 py-2',\n lg: 'px-5 py-3',\n },\n placement: {\n 'top right': 'top-4 right-4',\n 'top left': 'top-4 left-4',\n 'bottom right': 'bottom-4 right-4',\n 'bottom left': 'bottom-4 left-4',\n 'top center': 'top-4 self-center',\n 'bottom center': 'bottom-4 self-center',\n },\n },\n});\n\nconst fabLabelStyle = tva({\n base: 'text-primary-foreground/90 font-normal font-body tracking-md text-left mx-2',\n variants: {\n isTruncated: {\n true: '',\n },\n bold: {\n true: 'font-bold',\n },\n underline: {\n true: 'underline',\n },\n strikeThrough: {\n true: 'line-through',\n },\n size: {\n sm: 'text-sm',\n md: 'text-base',\n lg: 'text-lg',\n },\n sub: {\n true: 'text-xs',\n },\n italic: {\n true: 'italic',\n },\n highlight: {\n true: 'bg-yellow-500',\n },\n },\n parentVariants: {\n size: {\n sm: 'text-sm',\n md: 'text-base',\n lg: 'text-lg',\n },\n },\n});\n\nconst fabIconStyle = tva({\n base: 'text-primary-foreground/90 fill-none',\n variants: {\n size: {\n sm: 'h-3.5 w-3.5',\n md: 'h-4 w-4',\n lg: 'h-5 w-5',\n },\n },\n});\n\ntype IFabProps = Omit<React.ComponentPropsWithoutRef<typeof UIFab>, 'context'> & VariantProps<typeof fabStyle>;\n\nconst Fab = React.forwardRef<React.ComponentRef<typeof UIFab>, IFabProps>(function Fab(\n { size = 'md', placement = 'bottom right', className, ...props },\n ref,\n) {\n return <UIFab ref={ref} {...props} className={fabStyle({ size, placement, class: className })} context={{ size }} />;\n});\n\ntype IFabLabelProps = React.ComponentPropsWithoutRef<typeof UIFab.Label> & VariantProps<typeof fabLabelStyle>;\n\nconst FabLabel = React.forwardRef<React.ComponentRef<typeof UIFab.Label>, IFabLabelProps>(function FabLabel(\n { size, isTruncated = false, bold = false, underline = false, strikeThrough = false, className, ...props },\n ref,\n) {\n const { size: parentSize } = useStyleContext(SCOPE);\n return (\n <UIFab.Label\n ref={ref}\n {...props}\n className={fabLabelStyle({\n parentVariants: {\n size: parentSize,\n },\n size,\n isTruncated,\n bold,\n underline,\n strikeThrough,\n class: className,\n })}\n />\n );\n});\n\ntype IFabIconProps = React.ComponentPropsWithoutRef<typeof UIFab.Icon> &\n VariantProps<typeof fabIconStyle> & {\n height?: number;\n width?: number;\n };\n\nconst FabIcon = React.forwardRef<React.ComponentRef<typeof UIFab.Icon>, IFabIconProps>(function FabIcon(\n { size, className, ...props },\n ref,\n) {\n const { size: parentSize } = useStyleContext(SCOPE);\n\n if (typeof size === 'number') {\n return <UIFab.Icon ref={ref} {...props} className={fabIconStyle({ class: className })} size={size} />;\n } else if ((props.height !== undefined || props.width !== undefined) && size === undefined) {\n return <UIFab.Icon ref={ref} {...props} className={fabIconStyle({ class: className })} />;\n }\n return (\n <UIFab.Icon\n ref={ref}\n {...props}\n className={fabIconStyle({\n parentVariants: {\n size: parentSize,\n },\n size,\n class: className,\n })}\n />\n );\n});\n\nFab.displayName = 'Fab';\nFabLabel.displayName = 'FabLabel';\nFabIcon.displayName = 'FabIcon';\n\nexport { Fab, FabLabel, FabIcon };\n","'use client';\nimport React from 'react';\nimport { FlatList as RNFlatList, Platform, FlatListProps } from 'react-native';\n\n// Performance-optimized FlatList with Android defaults\nexport function FlatList<ItemT = any>(props: FlatListProps<ItemT>) {\n // Apply Android-specific performance defaults if not explicitly overridden\n const optimizedProps =\n Platform.OS === 'android'\n ? {\n removeClippedSubviews: true,\n maxToRenderPerBatch: 5,\n updateCellsBatchingPeriod: 100,\n initialNumToRender: 5,\n windowSize: 5,\n ...props,\n }\n : props;\n\n return <RNFlatList {...optimizedProps} />;\n}\n\n// Also export the original for advanced use cases\nexport { FlatList as RNFlatList } from 'react-native';\n","import React from 'react';\nimport { createImage } from '@gluestack-ui/core/image/creator';\nimport { Platform, Image as RNImage } from 'react-native';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nconst imageStyle = tva({\n base: 'max-w-full',\n variants: {\n size: {\n '2xs': 'h-6 w-6',\n xs: 'h-10 w-10',\n sm: 'h-16 w-16',\n md: 'h-20 w-20',\n lg: 'h-24 w-24',\n xl: 'h-32 w-32',\n '2xl': 'h-64 w-64',\n full: 'h-full w-full',\n none: '',\n },\n },\n});\n\nconst UIImage = createImage({ Root: RNImage });\n\ntype ImageProps = VariantProps<typeof imageStyle> & React.ComponentProps<typeof UIImage>;\nconst Image = React.forwardRef<React.ComponentRef<typeof UIImage>, ImageProps & { className?: string }>(function Image(\n { size = 'md', className, ...props },\n ref,\n) {\n return (\n <UIImage\n className={imageStyle({ size, class: className })}\n {...props}\n ref={ref}\n style={Platform.OS === 'web' ? { height: 'revert-layer', width: 'revert-layer' } : undefined}\n />\n );\n});\n\nImage.displayName = 'Image';\nexport { Image };\n","'use client';\nimport { ImageBackground as RNImageBackground } from 'react-native';\nimport React from 'react';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\n\nconst imageBackgroundStyle = tva({});\n\nconst ImageBackground = React.forwardRef<\n React.ComponentRef<typeof RNImageBackground>,\n React.ComponentProps<typeof RNImageBackground>\n>(function ImageBackground({ className, ...props }, ref) {\n return (\n <RNImageBackground\n className={imageBackgroundStyle({\n class: className,\n })}\n {...props}\n ref={ref}\n />\n );\n});\n\nImageBackground.displayName = 'ImageBackground';\n\nexport { ImageBackground };\n","// @ts-nocheck\n'use client';\nimport React from 'react';\nimport { createModal } from '@gluestack-ui/core/modal/creator';\nimport { Pressable, View, ScrollView } from 'react-native';\nimport Animated, { FadeIn, FadeOut, ZoomIn, ZoomOut, Easing } from 'react-native-reanimated';\nimport { tva } from '@gluestack-ui/utils/nativewind-utils';\nimport { withStyleContext, useStyleContext } from '@gluestack-ui/utils/nativewind-utils';\nimport { cssInterop } from 'nativewind';\nimport type { VariantProps } from '@gluestack-ui/utils/nativewind-utils';\n\nconst AnimatedPressable = Animated.createAnimatedComponent(Pressable);\nconst AnimatedView = Animated.createAnimatedComponent(View);\nconst SCOPE = 'MODAL';\n\nconst UIModal = createModal({\n Root: withStyleContext(View as any, SCOPE),\n Backdrop: AnimatedPressable,\n Content: AnimatedView,\n Body: ScrollView,\n CloseButton: Pressable,\n Footer: View,\n Header: View,\n});\n\n// @ts-ignore\n(cssInterop as any)(AnimatedPressable, { className: 'style' });\n(cssInterop as any)(AnimatedView, { className: 'style' });\n\nconst modalStyle = tva({\n base: 'group/modal w-full h-full justify-center items-center web:pointer-events-none',\n variants: {\n size: {\n xs: '',\n sm: '',\n md: '',\n lg: '',\n full: '',\n },\n },\n});\n\nconst modalBackdropStyle = tva({\n base: 'absolute left-0 top-0 right-0 bottom-0 bg-black/50 web:cursor-default',\n});\n\nconst modalContentStyle = tva({\n base: 'bg-background rounded-md overflow-hidden border border-border/80 shadow-hard-2 p-6',\n parentVariants: {\n size: {\n xs: 'w-[60%] max-w-[360px]',\n sm: 'w-[70%] max-w-[420px]',\n md: 'w-[80%] max-w-[510px]',\n lg: 'w-[90%] max-w-[640px]',\n full: 'w-full',\n },\n },\n});\n\nconst modalBodyStyle = tva({\n base: 'mt-2 mb-6',\n});\n\nconst modalCloseButtonStyle = tva({\n base: 'group/modal-close-button z-10 rounded data-[focus-visible=true]:web:bg-background/90 web:outline-0 cursor-pointer',\n});\n\nconst modalHeaderStyle = tva({\n base: 'justify-between items-center flex-row',\n});\n\nconst modalFooterStyle = tva({\n base: 'flex-row justify-end items-center gap-2',\n});\n\ntype IModalProps = React.ComponentProps<typeof UIModal> & VariantProps<typeof modalStyle> & { className?: string };\n\ntype IModalBackdropProps = React.ComponentProps<typeof UIModal.Backdrop> &\n VariantProps<typeof modalBackdropStyle> & { className?: string };\n\ntype IModalContentProps = React.ComponentProps<typeof UIModal.Content> &\n VariantProps<typeof modalContentStyle> & { className?: string };\n\ntype IModalHeaderProps = React.ComponentProps<typeof UIModal.Header> &\n VariantProps<typeof modalHeaderStyle> & { className?: string };\n\ntype IModalBodyProps = React.ComponentProps<typeof UIModal.Body> &\n VariantProps<typeof modalBodyStyle> & { className?: string };\n\ntype IModalFooterProps = React.ComponentProps<typeof UIModal.Footer> &\n VariantProps<typeof modalFooterStyle> & { className?: string };\n\ntype IModalCloseButtonProps = React.ComponentProps<typeof UIModal.CloseButton> &\n VariantProps<typeof modalCloseButtonStyle> & { className?: string };\n\nconst Modal = React.forwardRef<React.ComponentRef<typeof UIModal>, IModalProps>(\n ({ className, size = 'md', ...props }, ref) => (\n <UIModal\n ref={ref}\n {...props}\n pointerEvents=\"box-none\"\n className={modalStyle({ size, class: className })}\n context={{ size }}\n />\n ),\n);\n\nconst ModalBackdrop = React.forwardRef<any, IModalBackdropProps>(function ModalBackdrop({ className, ...props }, ref) {\n // @ts-ignore\n return (\n // @ts-ignore\n <UIModal.Backdrop\n ref={ref}\n entering={FadeIn.duration(200).easing(Easing.linear)}\n exiting={FadeOut.duration(200).easing(Easing.linear)}\n {...props}\n className={modalBackdropStyle({\n class: className,\n })}\n />\n );\n});\n\nconst ModalContent = React.forwardRef<React.ComponentRef<typeof UIModal.Content>, IModalContentProps>(\n function ModalContent({ className, size, ...props }, ref) {\n const { size: parentSize } = useStyleContext(SCOPE);\n\n return (\n <UIModal.Content\n ref={ref}\n entering={ZoomIn.duration(200).withInitialValues({\n transform: [{ scale: 0.9 }],\n opacity: 0,\n })}\n exiting={FadeOut.duration(200)}\n {...props}\n className={modalContentStyle({\n parentVariants: {\n size: parentSize,\n },\n size,\n class: className,\n })}\n pointerEvents=\"auto\"\n />\n );\n },\n);\n\nconst ModalHeader = React.forwardRef<React.ComponentRef<typeof UIModal.Header>, IModalHeaderProps>(function ModalHeader(\n { className, ...props },\n ref,\n) {\n return (\n <UIModal.Header\n ref={ref}\n {...props}\n className={modalHeaderStyle({\n class: className,\n })}\n />\n );\n});\n\nconst ModalBody = React.forwardRef<React.ComponentRef<typeof UIModal.Body>, IModalBodyProps>(function ModalBody(\n { className, ...props },\n ref,\n) {\n return (\n <UIModal.Body\n scrollEnabled={false}\n ref={ref}\n {...props}\n className={modalBodyStyle({\n class: className,\n })}\n />\n );\n});\n\nconst ModalFooter = React.forwardRef<React.ComponentRef<typeof UIModal.Footer>, IModalFooterProps>(function ModalFooter(\n { className, ...props },\n ref,\n) {\n return (\n <UIModal.Footer\n ref={ref}\n {...props}\n className={modalFooterStyle({\n class: className,\n })}\n />\n );\n});\n\nconst ModalCloseButton = React.forwardRef<React.ComponentRef<typeof UIModal.CloseButton>, IModalCloseButtonProps>(\n function ModalCloseButton({ className, ...props }, ref) {\n return (\n <UIModal.CloseButton\n ref={ref}\n {...props}\n className={modalCloseButtonStyle({\n class: className,\n })}\n />\n );\n },\n);\n\nModal.displayName = 'Modal';\nModalBackdrop.displayName = 'ModalBackdrop';\nModalContent.displayName = 'ModalContent';\nModalHeader.displayName = 'ModalHeader';\nModalBody.displayName = 'ModalBody';\nModalFooter.displayName = 'ModalFooter';\nModalCloseButton.displayName = 'ModalCloseButton';\n\nexport { Modal, ModalBackdrop, ModalContent, ModalCloseButton, ModalHeader, ModalBody, ModalFooter };\n"]}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { B as ButtonProps, R as ResolvedTheme, g as TextProps, H as HeadingProps, I as InputProps, h as TextareaProps, i as SelectProps, c as CheckboxProps, j as RadioGroupProps, S as SwitchProps, C as CardProps, b as BadgeProps, A as AvatarProps, D as DividerProps, M as ModalProps, k as TabsProps, l as AlertProps, F as FeedbackVariant, m as ToastProps, d as ProgressProps, e as SkeletonProps, n as SpinnerProps, G as GridProps, o as ImageProps, f as StackProps, p as IconName, q as IconColor, r as IconProps, s as SliderProps, t as FabProps, u as TableColumn, v as CalendarProps } from '../theme-BznFrVT1.mjs';
|
|
2
|
+
export { w as AccordionItem, x as AccordionProps, y as ActionSheetAction, z as ActionSheetProps, E as AlertDialogProps, J as AvatarSize, K as BadgeVariant, L as BottomSheetProps, N as BoxProps, O as ButtonSize, Q as ButtonVariant, U as CardSize, V as CenterProps, W as ColorRole, X as DateTimePickerProps, Y as DrawerProps, Z as FlatListProps, _ as FormControlProps, $ as HStackProps, a0 as HeadingLevel, a1 as ImageBackgroundProps, a2 as ImageViewerProps, a3 as InputAccessoryViewProps, a4 as KeyboardAvoidingViewProps, a5 as LinkProps, a6 as LiquidGlassProps, a7 as ListProps, a8 as MenuItem, a9 as MenuProps, aa as Mode, ab as Option, ac as PROVIDERS, ad as PopoverProps, ae as PortalProps, af as PressableProps, ag as ProgressSize, a as ProviderComponents, P as ProviderName, ah as REQUIRED_ROLES, ai as RefreshControlProps, aj as SafeAreaViewProps, ak as Scale, al as ScrollViewProps, am as SectionListProps, an as ShadowToken, ao as Space, ap as SpinnerSize, aq as StatusBarProps, ar as SwitchSize, as as TabItem, at as TableProps, au as TextSize, T as ThemeRegistry, av as TooltipProps, aw as UI_NAMES, ax as UiComponents, ay as UiName, az as UiProps, aA as VStackProps, aB as ViewProps, aC as VirtualizedListProps, aD as defaultRegistry, aE as resolveTheme, aF as themeIdFor, aG as withAlpha } from '../theme-BznFrVT1.mjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
/** Plain numbers / '#rrggbb' / 'rgba()' strings, valid as React Native and web style props. */
|
|
6
|
+
type Style = Record<string, string | number | {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
}>;
|
|
10
|
+
|
|
11
|
+
interface ButtonRecipe {
|
|
12
|
+
container: Style;
|
|
13
|
+
label: Style;
|
|
14
|
+
spinner: {
|
|
15
|
+
size: number;
|
|
16
|
+
color: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
declare function buttonRecipe({ variant, size, disabled }: ButtonProps, t: ResolvedTheme): ButtonRecipe;
|
|
20
|
+
|
|
21
|
+
declare function textRecipe({ size, bold, underline, strikeThrough }: TextProps, t: ResolvedTheme): Style;
|
|
22
|
+
|
|
23
|
+
declare function headingRecipe({ level }: HeadingProps, t: ResolvedTheme): Style;
|
|
24
|
+
|
|
25
|
+
interface InputRecipe {
|
|
26
|
+
container: Style;
|
|
27
|
+
field: Style;
|
|
28
|
+
placeholderTextColor: string;
|
|
29
|
+
/** border colour when focused, for providers that render focus themselves */
|
|
30
|
+
focusBorderColor: string;
|
|
31
|
+
}
|
|
32
|
+
declare function inputRecipe({ disabled, invalid }: InputProps, t: ResolvedTheme): InputRecipe;
|
|
33
|
+
|
|
34
|
+
interface TextareaRecipe {
|
|
35
|
+
field: Style;
|
|
36
|
+
placeholderTextColor: string;
|
|
37
|
+
focusBorderColor: string;
|
|
38
|
+
}
|
|
39
|
+
declare function textareaRecipe({ rows, disabled, invalid }: TextareaProps, t: ResolvedTheme): TextareaRecipe;
|
|
40
|
+
|
|
41
|
+
interface SelectRecipe {
|
|
42
|
+
trigger: Style;
|
|
43
|
+
triggerLabel: Style;
|
|
44
|
+
placeholderColor: string;
|
|
45
|
+
menu: Style;
|
|
46
|
+
option: Style;
|
|
47
|
+
optionSelected: Style;
|
|
48
|
+
optionLabel: Style;
|
|
49
|
+
optionLabelSelected: Style;
|
|
50
|
+
disabledOptionOpacity: number;
|
|
51
|
+
focusBorderColor: string;
|
|
52
|
+
}
|
|
53
|
+
declare function selectRecipe({ disabled, invalid }: SelectProps, t: ResolvedTheme): SelectRecipe;
|
|
54
|
+
|
|
55
|
+
interface CheckboxRecipe {
|
|
56
|
+
row: Style;
|
|
57
|
+
box: Style;
|
|
58
|
+
mark: {
|
|
59
|
+
color: string;
|
|
60
|
+
fontSize: number;
|
|
61
|
+
};
|
|
62
|
+
label: Style;
|
|
63
|
+
}
|
|
64
|
+
declare function checkboxRecipe({ checked, disabled, invalid }: CheckboxProps, t: ResolvedTheme): CheckboxRecipe;
|
|
65
|
+
|
|
66
|
+
interface RadioRecipe {
|
|
67
|
+
group: Style;
|
|
68
|
+
row: Style;
|
|
69
|
+
circle: (selected: boolean) => Style;
|
|
70
|
+
dot: Style;
|
|
71
|
+
label: Style;
|
|
72
|
+
}
|
|
73
|
+
declare function radioRecipe({ orientation, disabled }: RadioGroupProps, t: ResolvedTheme): RadioRecipe;
|
|
74
|
+
|
|
75
|
+
interface SwitchRecipe {
|
|
76
|
+
trackOn: string;
|
|
77
|
+
trackOff: string;
|
|
78
|
+
thumb: string;
|
|
79
|
+
/** scale applied to the whole control (sm 0.75, md 1, lg 1.25) */
|
|
80
|
+
scale: number;
|
|
81
|
+
opacity: number;
|
|
82
|
+
width: number;
|
|
83
|
+
height: number;
|
|
84
|
+
}
|
|
85
|
+
declare function switchRecipe({ size, disabled }: SwitchProps, t: ResolvedTheme): SwitchRecipe;
|
|
86
|
+
|
|
87
|
+
declare function cardRecipe({ size }: CardProps, t: ResolvedTheme): Style;
|
|
88
|
+
|
|
89
|
+
interface BadgeRecipe {
|
|
90
|
+
container: Style;
|
|
91
|
+
label: Style;
|
|
92
|
+
}
|
|
93
|
+
declare function badgeRecipe({ variant }: BadgeProps, t: ResolvedTheme): BadgeRecipe;
|
|
94
|
+
|
|
95
|
+
interface AvatarRecipe {
|
|
96
|
+
container: Style;
|
|
97
|
+
image: Style;
|
|
98
|
+
initials: Style;
|
|
99
|
+
}
|
|
100
|
+
declare function avatarRecipe({ size }: AvatarProps, t: ResolvedTheme): AvatarRecipe;
|
|
101
|
+
/** "Ada Lovelace" -> "AL"; one word -> its first letter; nothing -> "?" */
|
|
102
|
+
declare function initialsOf(name?: string): string;
|
|
103
|
+
|
|
104
|
+
declare function dividerRecipe({ orientation }: DividerProps, t: ResolvedTheme): Style;
|
|
105
|
+
|
|
106
|
+
interface ModalRecipe {
|
|
107
|
+
backdrop: Style;
|
|
108
|
+
panel: Style;
|
|
109
|
+
title: Style;
|
|
110
|
+
}
|
|
111
|
+
declare function modalRecipe(_p: ModalProps, t: ResolvedTheme): ModalRecipe;
|
|
112
|
+
|
|
113
|
+
interface TabsRecipe {
|
|
114
|
+
list: Style;
|
|
115
|
+
tab: (active: boolean, disabled: boolean) => Style;
|
|
116
|
+
label: (active: boolean) => Style;
|
|
117
|
+
panel: Style;
|
|
118
|
+
}
|
|
119
|
+
declare function tabsRecipe(_p: TabsProps, t: ResolvedTheme): TabsRecipe;
|
|
120
|
+
|
|
121
|
+
/** The registry colour a feedback variant stands for. */
|
|
122
|
+
declare function feedbackColor(variant: FeedbackVariant | 'default', t: ResolvedTheme): string;
|
|
123
|
+
interface FeedbackRecipe {
|
|
124
|
+
container: Style;
|
|
125
|
+
title: Style;
|
|
126
|
+
body: Style;
|
|
127
|
+
/** the colour of the leading bar */
|
|
128
|
+
accent: string;
|
|
129
|
+
}
|
|
130
|
+
declare function alertRecipe({ variant }: AlertProps, t: ResolvedTheme): FeedbackRecipe;
|
|
131
|
+
declare function toastRecipe({ variant }: ToastProps, t: ResolvedTheme): FeedbackRecipe;
|
|
132
|
+
|
|
133
|
+
interface ProgressRecipe {
|
|
134
|
+
track: Style;
|
|
135
|
+
bar: Style;
|
|
136
|
+
/** the value, clamped to 0..100 */
|
|
137
|
+
value: number;
|
|
138
|
+
}
|
|
139
|
+
declare function progressRecipe({ value, size }: ProgressProps, t: ResolvedTheme): ProgressRecipe;
|
|
140
|
+
|
|
141
|
+
interface SkeletonRecipe {
|
|
142
|
+
block: Style;
|
|
143
|
+
/** the pulse: opacity goes from 1 to `minOpacity` and back, one way in `durationMs` */
|
|
144
|
+
pulse: {
|
|
145
|
+
minOpacity: number;
|
|
146
|
+
durationMs: number;
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
declare function skeletonRecipe({ width, height, circle }: SkeletonProps, t: ResolvedTheme): SkeletonRecipe;
|
|
150
|
+
|
|
151
|
+
interface SpinnerRecipe {
|
|
152
|
+
size: 'small' | 'large';
|
|
153
|
+
color: string;
|
|
154
|
+
scale: number;
|
|
155
|
+
}
|
|
156
|
+
declare function spinnerRecipe({ size }: SpinnerProps, t: ResolvedTheme): SpinnerRecipe;
|
|
157
|
+
|
|
158
|
+
declare const DEFAULT_SPACE = "2";
|
|
159
|
+
/** gap of a stack / grid, from a spacing step */
|
|
160
|
+
declare function stackRecipe(direction: 'row' | 'column', { space }: StackProps, t: ResolvedTheme): Style;
|
|
161
|
+
declare function centerRecipe(): Style;
|
|
162
|
+
declare function gridRecipe({ columns, space }: GridProps, t: ResolvedTheme): {
|
|
163
|
+
container: Style;
|
|
164
|
+
cell: Style;
|
|
165
|
+
};
|
|
166
|
+
declare function imageRecipe({ width, height, radius }: ImageProps, t: ResolvedTheme): Style;
|
|
167
|
+
|
|
168
|
+
declare const GLYPHS: Record<IconName, string>;
|
|
169
|
+
declare function iconColor(color: IconColor, t: ResolvedTheme): string;
|
|
170
|
+
declare function iconRecipe({ name, size, color }: IconProps, t: ResolvedTheme): {
|
|
171
|
+
glyph: string;
|
|
172
|
+
style: Style;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
declare function linkRecipe(t: ResolvedTheme): Style;
|
|
176
|
+
|
|
177
|
+
interface AccordionRecipe {
|
|
178
|
+
container: Style;
|
|
179
|
+
item: Style;
|
|
180
|
+
header: (open: boolean, disabled: boolean) => Style;
|
|
181
|
+
title: Style;
|
|
182
|
+
chevron: Style;
|
|
183
|
+
content: Style;
|
|
184
|
+
}
|
|
185
|
+
declare function accordionRecipe(t: ResolvedTheme): AccordionRecipe;
|
|
186
|
+
|
|
187
|
+
/** the dim layer behind a modal surface: the registry's shadow colour, not a literal */
|
|
188
|
+
declare const scrim: (t: ResolvedTheme) => string;
|
|
189
|
+
declare function popoverRecipe(t: ResolvedTheme): {
|
|
190
|
+
panel: Style;
|
|
191
|
+
};
|
|
192
|
+
declare function tooltipRecipe(t: ResolvedTheme): {
|
|
193
|
+
bubble: Style;
|
|
194
|
+
label: Style;
|
|
195
|
+
};
|
|
196
|
+
interface MenuRecipe {
|
|
197
|
+
panel: Style;
|
|
198
|
+
item: (disabled: boolean) => Style;
|
|
199
|
+
label: (destructive: boolean) => Style;
|
|
200
|
+
}
|
|
201
|
+
declare function menuRecipe(t: ResolvedTheme): MenuRecipe;
|
|
202
|
+
interface SheetRecipe {
|
|
203
|
+
backdrop: Style;
|
|
204
|
+
panel: Style;
|
|
205
|
+
title: Style;
|
|
206
|
+
handle: Style;
|
|
207
|
+
action: Style;
|
|
208
|
+
actionLabel: (destructive: boolean) => Style;
|
|
209
|
+
cancel: Style;
|
|
210
|
+
cancelLabel: Style;
|
|
211
|
+
}
|
|
212
|
+
/** action sheet and bottom sheet: a panel that sticks to the bottom edge */
|
|
213
|
+
declare function sheetRecipe(t: ResolvedTheme): SheetRecipe;
|
|
214
|
+
interface AlertDialogRecipe {
|
|
215
|
+
backdrop: Style;
|
|
216
|
+
panel: Style;
|
|
217
|
+
title: Style;
|
|
218
|
+
description: Style;
|
|
219
|
+
actions: Style;
|
|
220
|
+
}
|
|
221
|
+
declare function alertDialogRecipe(t: ResolvedTheme): AlertDialogRecipe;
|
|
222
|
+
declare function drawerRecipe(side: 'left' | 'right', t: ResolvedTheme): {
|
|
223
|
+
backdrop: Style;
|
|
224
|
+
panel: Style;
|
|
225
|
+
};
|
|
226
|
+
declare function imageViewerRecipe(t: ResolvedTheme): {
|
|
227
|
+
backdrop: Style;
|
|
228
|
+
image: Style;
|
|
229
|
+
close: Style;
|
|
230
|
+
closeLabel: Style;
|
|
231
|
+
};
|
|
232
|
+
/** A translucent surface: the card colour at partial opacity over whatever is behind it. */
|
|
233
|
+
declare function liquidGlassRecipe(t: ResolvedTheme): Style;
|
|
234
|
+
|
|
235
|
+
interface SliderRecipe {
|
|
236
|
+
root: Style;
|
|
237
|
+
track: Style;
|
|
238
|
+
filled: Style;
|
|
239
|
+
thumb: Style;
|
|
240
|
+
thumbSize: number;
|
|
241
|
+
}
|
|
242
|
+
declare function sliderRecipe({ disabled }: SliderProps, t: ResolvedTheme): SliderRecipe;
|
|
243
|
+
/** value -> 0..1 position, clamped */
|
|
244
|
+
declare function sliderFraction(value: number, min: number, max: number): number;
|
|
245
|
+
/** 0..1 position -> value, snapped to `step` and clamped to [min, max] */
|
|
246
|
+
declare function sliderValue(fraction: number, min: number, max: number, step: number): number;
|
|
247
|
+
|
|
248
|
+
declare function formControlRecipe(disabled: boolean, t: ResolvedTheme): {
|
|
249
|
+
root: Style;
|
|
250
|
+
label: Style;
|
|
251
|
+
required: Style;
|
|
252
|
+
helper: Style;
|
|
253
|
+
error: Style;
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
declare function fabRecipe({ label }: FabProps, t: ResolvedTheme): {
|
|
257
|
+
container: Style;
|
|
258
|
+
label: Style;
|
|
259
|
+
icon: Style;
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
interface TableRecipe {
|
|
263
|
+
container: Style;
|
|
264
|
+
caption: Style;
|
|
265
|
+
headRow: Style;
|
|
266
|
+
row: (last: boolean) => Style;
|
|
267
|
+
head: (align: TableColumn['align']) => Style;
|
|
268
|
+
cell: (align: TableColumn['align']) => Style;
|
|
269
|
+
headLabel: Style;
|
|
270
|
+
cellLabel: Style;
|
|
271
|
+
}
|
|
272
|
+
declare function tableRecipe(t: ResolvedTheme): TableRecipe;
|
|
273
|
+
|
|
274
|
+
/** 'YYYY-MM-DD' -> [y, m(1-12), d]; null when it is not a real date */
|
|
275
|
+
declare function parseDate(s: string | undefined): [number, number, number] | null;
|
|
276
|
+
declare const formatDate: (y: number, m: number, d: number) => string;
|
|
277
|
+
declare const daysIn: (y: number, m: number) => number;
|
|
278
|
+
/** 'YYYY-MM' of a month shifted by `by` months */
|
|
279
|
+
declare function shiftMonth(y: number, m: number, by: number): [number, number];
|
|
280
|
+
interface Cell {
|
|
281
|
+
/** 'YYYY-MM-DD', or null for the blanks before the 1st and after the last day */
|
|
282
|
+
date: string | null;
|
|
283
|
+
day: number | null;
|
|
284
|
+
disabled: boolean;
|
|
285
|
+
}
|
|
286
|
+
/** The month as rows of 7 cells, the first column being Sunday (weekStartsOn 0) or Monday (1). */
|
|
287
|
+
declare function monthGrid(y: number, m: number, { weekStartsOn, min, max }: Pick<CalendarProps, 'weekStartsOn' | 'min' | 'max'>): Cell[][];
|
|
288
|
+
declare const WEEKDAYS: string[];
|
|
289
|
+
declare const MONTHS: string[];
|
|
290
|
+
interface CalendarRecipe {
|
|
291
|
+
container: Style;
|
|
292
|
+
header: Style;
|
|
293
|
+
title: Style;
|
|
294
|
+
nav: Style;
|
|
295
|
+
navLabel: Style;
|
|
296
|
+
weekRow: Style;
|
|
297
|
+
weekday: Style;
|
|
298
|
+
row: Style;
|
|
299
|
+
day: (selected: boolean, disabled: boolean) => Style;
|
|
300
|
+
dayLabel: (selected: boolean, disabled: boolean) => Style;
|
|
301
|
+
}
|
|
302
|
+
declare function calendarRecipe(t: ResolvedTheme): CalendarRecipe;
|
|
303
|
+
|
|
304
|
+
export { type AccordionRecipe, type AlertDialogRecipe, AlertProps, AvatarProps, type AvatarRecipe, BadgeProps, type BadgeRecipe, ButtonProps, type ButtonRecipe, CalendarProps, type CalendarRecipe, CardProps, type Cell, CheckboxProps, type CheckboxRecipe, DEFAULT_SPACE, DividerProps, FabProps, type FeedbackRecipe, FeedbackVariant, GLYPHS, GridProps, HeadingProps, IconColor, IconName, IconProps, ImageProps, InputProps, type InputRecipe, MONTHS, type MenuRecipe, ModalProps, type ModalRecipe, ProgressProps, type ProgressRecipe, RadioGroupProps, type RadioRecipe, ResolvedTheme, SelectProps, type SelectRecipe, type SheetRecipe, SkeletonProps, type SkeletonRecipe, SliderProps, type SliderRecipe, SpinnerProps, type SpinnerRecipe, StackProps, type Style, SwitchProps, type SwitchRecipe, TableColumn, type TableRecipe, TabsProps, type TabsRecipe, TextProps, TextareaProps, type TextareaRecipe, ToastProps, WEEKDAYS, accordionRecipe, alertDialogRecipe, alertRecipe, avatarRecipe, badgeRecipe, buttonRecipe, calendarRecipe, cardRecipe, centerRecipe, checkboxRecipe, daysIn, dividerRecipe, drawerRecipe, fabRecipe, feedbackColor, formControlRecipe, formatDate, gridRecipe, headingRecipe, iconColor, iconRecipe, imageRecipe, imageViewerRecipe, initialsOf, inputRecipe, linkRecipe, liquidGlassRecipe, menuRecipe, modalRecipe, monthGrid, parseDate, popoverRecipe, progressRecipe, radioRecipe, scrim, selectRecipe, sheetRecipe, shiftMonth, skeletonRecipe, sliderFraction, sliderRecipe, sliderValue, spinnerRecipe, stackRecipe, switchRecipe, tableRecipe, tabsRecipe, textRecipe, textareaRecipe, toastRecipe, tooltipRecipe };
|