@expo/ui 55.0.0-preview.6 → 55.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/android/build.gradle +27 -8
- package/android/src/main/java/expo/modules/ui/BasicAlertDialogView.kt +26 -0
- package/android/src/main/java/expo/modules/ui/BottomSheetView.kt +12 -37
- package/android/src/main/java/expo/modules/ui/CardView.kt +72 -0
- package/android/src/main/java/expo/modules/ui/CarouselView.kt +2 -5
- package/android/src/main/java/expo/modules/ui/ComposeViews.kt +91 -130
- package/android/src/main/java/expo/modules/ui/DatePickerView.kt +2 -2
- package/android/src/main/java/expo/modules/ui/DividerView.kt +1 -1
- package/android/src/main/java/expo/modules/ui/DockedSearchBarView.kt +53 -0
- package/android/src/main/java/expo/modules/ui/ExpoUIModule.kt +136 -17
- package/android/src/main/java/expo/modules/ui/FilterChipView.kt +59 -0
- package/android/src/main/java/expo/modules/ui/HorizontalFloatingToolbarView.kt +63 -0
- package/android/src/main/java/expo/modules/ui/LazyColumnView.kt +95 -0
- package/android/src/main/java/expo/modules/ui/ListItemView.kt +89 -0
- package/android/src/main/java/expo/modules/ui/MaterialShapes.kt +77 -0
- package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +168 -30
- package/android/src/main/java/expo/modules/ui/PickerView.kt +2 -2
- package/android/src/main/java/expo/modules/ui/ProgressView.kt +1 -1
- package/android/src/main/java/expo/modules/ui/PullToRefreshBoxView.kt +40 -0
- package/android/src/main/java/expo/modules/ui/RNHostView.kt +87 -0
- package/android/src/main/java/expo/modules/ui/RadioButtonView.kt +28 -0
- package/android/src/main/java/expo/modules/ui/SearchBarView.kt +60 -0
- package/android/src/main/java/expo/modules/ui/ShapeView.kt +36 -5
- package/android/src/main/java/expo/modules/ui/SliderView.kt +1 -1
- package/android/src/main/java/expo/modules/ui/SlotView.kt +53 -0
- package/android/src/main/java/expo/modules/ui/SpacerView.kt +15 -0
- package/android/src/main/java/expo/modules/ui/SurfaceView.kt +36 -0
- package/android/src/main/java/expo/modules/ui/SwitchView.kt +24 -4
- package/android/src/main/java/expo/modules/ui/TextButtonView.kt +33 -0
- package/android/src/main/java/expo/modules/ui/TextInputView.kt +1 -2
- package/android/src/main/java/expo/modules/ui/TextView.kt +194 -0
- package/android/src/main/java/expo/modules/ui/ToggleButtonView.kt +96 -0
- package/android/src/main/java/expo/modules/ui/Utils.kt +6 -0
- package/android/src/main/java/expo/modules/ui/button/Button.kt +1 -1
- package/android/src/main/java/expo/modules/ui/button/IconButton.kt +2 -6
- package/android/src/main/java/expo/modules/ui/convertibles/Alignment.kt +112 -0
- package/android/src/main/java/expo/modules/ui/convertibles/Arrangement.kt +72 -0
- package/android/src/main/java/expo/modules/ui/icon/IconView.kt +159 -0
- package/android/src/main/java/expo/modules/ui/icon/ResourceIdHelper.kt +47 -0
- package/android/src/main/java/expo/modules/ui/icon/VectorIconLoader.kt +369 -0
- package/android/src/main/java/expo/modules/ui/menu/ContextMenu.kt +1 -1
- package/build/jetpack-compose/AlertDialog/index.d.ts.map +1 -1
- package/build/jetpack-compose/BasicAlertDialog/index.d.ts +22 -0
- package/build/jetpack-compose/BasicAlertDialog/index.d.ts.map +1 -0
- package/build/jetpack-compose/Button/index.d.ts.map +1 -1
- package/build/jetpack-compose/Card/index.d.ts +40 -0
- package/build/jetpack-compose/Card/index.d.ts.map +1 -0
- package/build/jetpack-compose/Carousel/index.d.ts.map +1 -1
- package/build/jetpack-compose/Chip/index.d.ts +0 -4
- package/build/jetpack-compose/Chip/index.d.ts.map +1 -1
- package/build/jetpack-compose/ContextMenu/index.d.ts.map +1 -1
- package/build/jetpack-compose/DatePicker/index.d.ts +1 -12
- package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
- package/build/jetpack-compose/Divider/index.d.ts.map +1 -1
- package/build/jetpack-compose/DockedSearchBar/index.d.ts +30 -0
- package/build/jetpack-compose/DockedSearchBar/index.d.ts.map +1 -0
- package/build/jetpack-compose/ExpoUIModule.d.ts +2 -0
- package/build/jetpack-compose/ExpoUIModule.d.ts.map +1 -0
- package/build/jetpack-compose/FilterChip/index.d.ts +49 -0
- package/build/jetpack-compose/FilterChip/index.d.ts.map +1 -0
- package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +41 -0
- package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts.map +1 -0
- package/build/jetpack-compose/Icon/index.d.ts +112 -0
- package/build/jetpack-compose/Icon/index.d.ts.map +1 -0
- package/build/jetpack-compose/IconButton/index.d.ts +0 -4
- package/build/jetpack-compose/IconButton/index.d.ts.map +1 -1
- package/build/jetpack-compose/LazyColumn/index.d.ts +55 -0
- package/build/jetpack-compose/LazyColumn/index.d.ts.map +1 -0
- package/build/jetpack-compose/ListItem/index.d.ts +81 -0
- package/build/jetpack-compose/ListItem/index.d.ts.map +1 -0
- package/build/jetpack-compose/MaterialSymbolsAssetsTransformer.fx.d.ts +2 -0
- package/build/jetpack-compose/MaterialSymbolsAssetsTransformer.fx.d.ts.map +1 -0
- package/build/jetpack-compose/ModalBottomSheet/index.d.ts +34 -0
- package/build/jetpack-compose/ModalBottomSheet/index.d.ts.map +1 -0
- package/build/jetpack-compose/Picker/index.d.ts +0 -6
- package/build/jetpack-compose/Picker/index.d.ts.map +1 -1
- package/build/jetpack-compose/Progress/index.d.ts.map +1 -1
- package/build/jetpack-compose/PullToRefreshBox/index.d.ts +31 -0
- package/build/jetpack-compose/PullToRefreshBox/index.d.ts.map +1 -0
- package/build/jetpack-compose/RNHostView/index.d.ts +28 -0
- package/build/jetpack-compose/RNHostView/index.d.ts.map +1 -0
- package/build/jetpack-compose/RadioButton/index.d.ts +20 -0
- package/build/jetpack-compose/RadioButton/index.d.ts.map +1 -0
- package/build/jetpack-compose/SearchBar/index.d.ts +47 -0
- package/build/jetpack-compose/SearchBar/index.d.ts.map +1 -0
- package/build/jetpack-compose/Shape/index.d.ts +29 -2
- package/build/jetpack-compose/Shape/index.d.ts.map +1 -1
- package/build/jetpack-compose/Slider/index.d.ts +1 -9
- package/build/jetpack-compose/Slider/index.d.ts.map +1 -1
- package/build/jetpack-compose/Spacer/index.d.ts +22 -0
- package/build/jetpack-compose/Spacer/index.d.ts.map +1 -0
- package/build/jetpack-compose/Surface/index.d.ts +44 -0
- package/build/jetpack-compose/Surface/index.d.ts.map +1 -0
- package/build/jetpack-compose/Switch/index.d.ts +17 -9
- package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
- package/build/jetpack-compose/Text/index.d.ts +182 -0
- package/build/jetpack-compose/Text/index.d.ts.map +1 -0
- package/build/jetpack-compose/TextButton/index.d.ts +29 -0
- package/build/jetpack-compose/TextButton/index.d.ts.map +1 -0
- package/build/jetpack-compose/TextInput/index.d.ts.map +1 -1
- package/build/jetpack-compose/ToggleButton/index.d.ts +54 -0
- package/build/jetpack-compose/ToggleButton/index.d.ts.map +1 -0
- package/build/jetpack-compose/index.d.ts +20 -1
- package/build/jetpack-compose/index.d.ts.map +1 -1
- package/build/jetpack-compose/layout.d.ts +16 -19
- package/build/jetpack-compose/layout.d.ts.map +1 -1
- package/build/jetpack-compose/modifiers/createModifier.d.ts +18 -0
- package/build/jetpack-compose/modifiers/createModifier.d.ts.map +1 -0
- package/build/jetpack-compose/modifiers/index.d.ts +133 -41
- package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
- package/build/jetpack-compose/modifiers/utils.d.ts +15 -0
- package/build/jetpack-compose/modifiers/utils.d.ts.map +1 -0
- package/build/swift-ui/ConfirmationDialog/index.d.ts +47 -0
- package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -0
- package/build/swift-ui/ScrollView/index.d.ts +16 -0
- package/build/swift-ui/ScrollView/index.d.ts.map +1 -0
- package/build/swift-ui/index.d.ts +2 -0
- package/build/swift-ui/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +12 -3
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/expo-module.config.json +2 -1
- package/ios/ColorPickerView.swift +2 -2
- package/ios/ConfirmationDialog/ConfirmationDialog.swift +65 -0
- package/ios/ConfirmationDialog/ConfirmationDialogComponents.swift +26 -0
- package/ios/ConfirmationDialog/ConfirmationDialogProps.swift +15 -0
- package/ios/Convertibles/VisibilityOptions.swift +19 -0
- package/ios/ExpoUIModule.swift +5 -0
- package/ios/Modifiers/ForegroundStyleModifier.swift +124 -0
- package/ios/Modifiers/PresentationModifiers.swift +1 -18
- package/ios/Modifiers/ViewModifierRegistry.swift +30 -121
- package/ios/ScrollViewComponent.swift +23 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module → 55.0.0/expo.modules.ui-55.0.0.module} +46 -28
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom → 55.0.0/expo.modules.ui-55.0.0.pom} +36 -7
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
- package/package.json +5 -3
- package/src/jetpack-compose/AlertDialog/index.tsx +11 -1
- package/src/jetpack-compose/BasicAlertDialog/index.tsx +51 -0
- package/src/jetpack-compose/Button/index.tsx +13 -1
- package/src/jetpack-compose/Card/index.tsx +62 -0
- package/src/jetpack-compose/Carousel/index.tsx +7 -1
- package/src/jetpack-compose/Chip/index.tsx +14 -7
- package/src/jetpack-compose/ContextMenu/index.tsx +5 -2
- package/src/jetpack-compose/DatePicker/index.tsx +5 -5
- package/src/jetpack-compose/Divider/index.tsx +13 -2
- package/src/jetpack-compose/DockedSearchBar/index.tsx +78 -0
- package/src/jetpack-compose/ExpoUIModule.ts +3 -0
- package/src/jetpack-compose/FilterChip/index.tsx +89 -0
- package/src/jetpack-compose/HorizontalFloatingToolbar/index.tsx +90 -0
- package/src/jetpack-compose/Icon/index.tsx +144 -0
- package/src/jetpack-compose/IconButton/index.tsx +5 -5
- package/src/jetpack-compose/LazyColumn/index.tsx +82 -0
- package/src/jetpack-compose/ListItem/index.tsx +129 -0
- package/src/jetpack-compose/MaterialSymbolsAssetsTransformer.fx.ts +22 -0
- package/src/jetpack-compose/ModalBottomSheet/index.tsx +61 -0
- package/src/jetpack-compose/Picker/index.tsx +6 -5
- package/src/jetpack-compose/Progress/index.tsx +14 -4
- package/src/jetpack-compose/PullToRefreshBox/index.tsx +66 -0
- package/src/jetpack-compose/RNHostView/index.tsx +56 -0
- package/src/jetpack-compose/RadioButton/index.tsx +48 -0
- package/src/jetpack-compose/SearchBar/index.tsx +96 -0
- package/src/jetpack-compose/Shape/index.tsx +65 -22
- package/src/jetpack-compose/Slider/index.tsx +6 -5
- package/src/jetpack-compose/Spacer/index.tsx +43 -0
- package/src/jetpack-compose/Surface/index.tsx +66 -0
- package/src/jetpack-compose/Switch/index.tsx +43 -8
- package/src/jetpack-compose/Text/index.tsx +274 -0
- package/src/jetpack-compose/TextButton/index.tsx +55 -0
- package/src/jetpack-compose/TextInput/index.tsx +5 -4
- package/src/jetpack-compose/ToggleButton/index.tsx +83 -0
- package/src/jetpack-compose/index.ts +21 -1
- package/src/jetpack-compose/layout.tsx +55 -70
- package/src/jetpack-compose/modifiers/createModifier.ts +27 -0
- package/src/jetpack-compose/modifiers/index.ts +204 -83
- package/src/jetpack-compose/modifiers/utils.ts +30 -0
- package/src/swift-ui/ConfirmationDialog/index.tsx +98 -0
- package/src/swift-ui/ScrollView/index.tsx +34 -0
- package/src/swift-ui/index.tsx +2 -0
- package/src/swift-ui/modifiers/index.ts +19 -3
- package/src/ts-declarations/react-native-assets.d.ts +31 -0
- package/build/jetpack-compose/BottomSheet/index.d.ts +0 -21
- package/build/jetpack-compose/BottomSheet/index.d.ts.map +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0-preview.6/expo.modules.ui-55.0.0-preview.6.pom.sha512 +0 -1
- package/src/jetpack-compose/BottomSheet/index.tsx +0 -46
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ExpoModifier } from '../../types';
|
|
2
|
+
export type HorizontalFloatingToolbarProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The variant of the horizontal floating toolbar.
|
|
5
|
+
* @default 'standard'
|
|
6
|
+
*/
|
|
7
|
+
variant?: 'standard' | 'vibrant';
|
|
8
|
+
/**
|
|
9
|
+
* The children of the component.
|
|
10
|
+
*/
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Modifiers for the component.
|
|
14
|
+
*/
|
|
15
|
+
modifiers?: ExpoModifier[];
|
|
16
|
+
};
|
|
17
|
+
export type FloatingActionButtonProps = {
|
|
18
|
+
/**
|
|
19
|
+
* A callback that is called when the button is pressed.
|
|
20
|
+
*/
|
|
21
|
+
onPress?: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* The children of the component.
|
|
24
|
+
*/
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* FloatingActionButton component for HorizontalFloatingToolbar.
|
|
29
|
+
* This component marks its children to be rendered in the FAB slot.
|
|
30
|
+
*/
|
|
31
|
+
export declare function HorizontalFloatingToolbarFloatingActionButton(props: FloatingActionButtonProps): import("react").JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* Renders a `HorizontalFloatingToolbar` component.
|
|
34
|
+
* A horizontal toolbar that floats above content, typically used for action buttons.
|
|
35
|
+
*/
|
|
36
|
+
declare function HorizontalFloatingToolbar(props: HorizontalFloatingToolbarProps): import("react").JSX.Element;
|
|
37
|
+
declare namespace HorizontalFloatingToolbar {
|
|
38
|
+
var FloatingActionButton: typeof HorizontalFloatingToolbarFloatingActionButton;
|
|
39
|
+
}
|
|
40
|
+
export { HorizontalFloatingToolbar };
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/HorizontalFloatingToolbar/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAEjC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAmBF;;;GAGG;AACH,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,yBAAyB,+BAM7F;AAaD;;;GAGG;AACH,iBAAS,yBAAyB,CAAC,KAAK,EAAE,8BAA8B,+BAMvE;kBANQ,yBAAyB;;;AAUlC,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { type ColorValue, type ImageSourcePropType, type ImageResolvedAssetSource } from 'react-native';
|
|
2
|
+
import { ExpoModifier } from '../../types';
|
|
3
|
+
export type IconProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The source of the icon. Can be a URI string or the result of `require()`.
|
|
6
|
+
* On Android, supports XML vector drawables loaded via Metro bundler.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Icon source={require('./assets/home.xml')} />
|
|
11
|
+
* <Icon source={{ uri: 'file:///path/to/icon.xml' }} />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
source: ImageSourcePropType;
|
|
15
|
+
/**
|
|
16
|
+
* The tint color to apply to the icon.
|
|
17
|
+
* Accepts hex strings, named colors, or RGB arrays.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```tsx
|
|
21
|
+
* <Icon source={require('./assets/star.xml')} tintColor="#007AFF" />
|
|
22
|
+
* <Icon source={require('./assets/star.xml')} tintColor="blue" />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
tintColor?: ColorValue;
|
|
26
|
+
/**
|
|
27
|
+
* The size of the icon in density-independent pixels (dp).
|
|
28
|
+
* If not specified, the icon will use its intrinsic size.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <Icon source={require('./assets/settings.xml')} size={24} />
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
size?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Accessibility label for the icon.
|
|
38
|
+
* Used by screen readers to describe the icon to users.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* <Icon
|
|
43
|
+
* source={require('./assets/settings.xml')}
|
|
44
|
+
* contentDescription="Settings icon"
|
|
45
|
+
* />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
contentDescription?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Modifiers for the component.
|
|
51
|
+
* Allows you to apply layout and styling modifiers to the icon.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```tsx
|
|
55
|
+
* <Icon
|
|
56
|
+
* source={require('./assets/icon.xml')}
|
|
57
|
+
* modifiers={[
|
|
58
|
+
* padding(8),
|
|
59
|
+
* background('lightgray')
|
|
60
|
+
* ]}
|
|
61
|
+
* />
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
modifiers?: ExpoModifier[];
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
export type NativeIconProps = Omit<IconProps, 'source'> & {
|
|
70
|
+
source: ImageResolvedAssetSource;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Displays an icon from an XML vector drawable or other image source.
|
|
74
|
+
*
|
|
75
|
+
* The Icon component renders vector graphics and images with support for
|
|
76
|
+
* tinting, sizing, and accessibility features. On Android, it natively
|
|
77
|
+
* supports XML vector drawables loaded via Metro bundler using `require()`.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* Basic usage:
|
|
81
|
+
* ```tsx
|
|
82
|
+
* import { Icon } from 'expo-ui';
|
|
83
|
+
*
|
|
84
|
+
* <Icon source={require('./assets/home.xml')} />
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* With styling:
|
|
89
|
+
* ```tsx
|
|
90
|
+
* <Icon
|
|
91
|
+
* source={require('./assets/settings.xml')}
|
|
92
|
+
* size={24}
|
|
93
|
+
* tintColor="#007AFF"
|
|
94
|
+
* contentDescription="Settings icon"
|
|
95
|
+
* />
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* With modifiers:
|
|
100
|
+
* ```tsx
|
|
101
|
+
* <Icon
|
|
102
|
+
* source={require('./assets/star.xml')}
|
|
103
|
+
* size={32}
|
|
104
|
+
* modifiers={[
|
|
105
|
+
* padding(8),
|
|
106
|
+
* background('lightgray')
|
|
107
|
+
* ]}
|
|
108
|
+
* />
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
export declare function Icon(props: IconProps): import("react").JSX.Element;
|
|
112
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Icon/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAE9B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,MAAM,MAAM,SAAS,GAAG;IACtB;;;;;;;;;OASG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAE5B;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IAEvB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;;OAWG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,GAAG;IACxD,MAAM,EAAE,wBAAwB,CAAC;CAClC,CAAC;AAkBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,+BAEpC"}
|
|
@@ -46,10 +46,6 @@ export type IconButtonProps = {
|
|
|
46
46
|
export type NativeIconButtonProps = Omit<IconButtonProps, 'role' | 'onPress' | 'shape'> & {
|
|
47
47
|
shape?: ShapeRecordProps;
|
|
48
48
|
} & ViewEvent<'onButtonPressed', void>;
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
export declare function transformIconButtonProps(props: IconButtonProps): NativeIconButtonProps;
|
|
53
49
|
/**
|
|
54
50
|
* Displays a native button component.
|
|
55
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/IconButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAiB,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/IconButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAiB,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5E;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IAC7B;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,GAAG;IACxF,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B,GAAG,SAAS,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;AA4BvC;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,+BAEhD"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ExpoModifier } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Content padding values for LazyColumn.
|
|
4
|
+
*/
|
|
5
|
+
export type ContentPadding = {
|
|
6
|
+
/**
|
|
7
|
+
* Start padding in dp.
|
|
8
|
+
*/
|
|
9
|
+
start?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Top padding in dp.
|
|
12
|
+
*/
|
|
13
|
+
top?: number;
|
|
14
|
+
/**
|
|
15
|
+
* End padding in dp.
|
|
16
|
+
*/
|
|
17
|
+
end?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Bottom padding in dp.
|
|
20
|
+
*/
|
|
21
|
+
bottom?: number;
|
|
22
|
+
};
|
|
23
|
+
export type LazyColumnProps = {
|
|
24
|
+
/**
|
|
25
|
+
* The content to display inside the lazy column.
|
|
26
|
+
*/
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* The vertical arrangement of items.
|
|
30
|
+
* Can be a preset string or an object with `spacedBy` to specify spacing in dp.
|
|
31
|
+
* @example
|
|
32
|
+
* verticalArrangement="center"
|
|
33
|
+
* verticalArrangement={{ spacedBy: 8 }}
|
|
34
|
+
*/
|
|
35
|
+
verticalArrangement?: 'top' | 'bottom' | 'center' | 'spaceBetween' | 'spaceAround' | 'spaceEvenly' | {
|
|
36
|
+
spacedBy: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* The horizontal alignment of items.
|
|
40
|
+
*/
|
|
41
|
+
horizontalAlignment?: 'start' | 'end' | 'center';
|
|
42
|
+
/**
|
|
43
|
+
* Content padding in dp.
|
|
44
|
+
*/
|
|
45
|
+
contentPadding?: ContentPadding;
|
|
46
|
+
/**
|
|
47
|
+
* Modifiers for the component.
|
|
48
|
+
*/
|
|
49
|
+
modifiers?: ExpoModifier[];
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* A lazy column component that efficiently displays a vertically scrolling list.
|
|
53
|
+
*/
|
|
54
|
+
export declare function LazyColumn(props: LazyColumnProps): import("react").JSX.Element;
|
|
55
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/LazyColumn/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;;;OAMG;IACH,mBAAmB,CAAC,EAChB,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,cAAc,GACd,aAAa,GACb,aAAa,GACb;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACzB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IACjD;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAiBF;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,+BAEhD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type ColorValue } from 'react-native';
|
|
2
|
+
import { ExpoModifier } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Colors for list item's core elements.
|
|
5
|
+
*/
|
|
6
|
+
export type ListItemColors = {
|
|
7
|
+
containerColor?: ColorValue;
|
|
8
|
+
headlineColor?: ColorValue;
|
|
9
|
+
leadingIconColor?: ColorValue;
|
|
10
|
+
trailingIconColor?: ColorValue;
|
|
11
|
+
supportingColor?: ColorValue;
|
|
12
|
+
overlineColor?: ColorValue;
|
|
13
|
+
};
|
|
14
|
+
export type ListItemProps = {
|
|
15
|
+
/**
|
|
16
|
+
* The main text content of the list item.
|
|
17
|
+
*/
|
|
18
|
+
headline: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional supporting text displayed below the headline.
|
|
21
|
+
*/
|
|
22
|
+
supportingText?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Optional overline text displayed above the headline.
|
|
25
|
+
*/
|
|
26
|
+
overlineText?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The background color of the list item.
|
|
29
|
+
*/
|
|
30
|
+
color?: ColorValue;
|
|
31
|
+
/**
|
|
32
|
+
* Colors for list item's core elements.
|
|
33
|
+
*/
|
|
34
|
+
colors?: ListItemColors;
|
|
35
|
+
/**
|
|
36
|
+
* Callback that is called when the list item is pressed.
|
|
37
|
+
*/
|
|
38
|
+
onPress?: () => void;
|
|
39
|
+
/**
|
|
40
|
+
* Modifiers for the component.
|
|
41
|
+
*/
|
|
42
|
+
modifiers?: ExpoModifier[];
|
|
43
|
+
/**
|
|
44
|
+
* Children containing Leading and Trailing slots.
|
|
45
|
+
*/
|
|
46
|
+
children?: React.ReactNode;
|
|
47
|
+
};
|
|
48
|
+
type LeadingProps = {
|
|
49
|
+
children: React.ReactNode;
|
|
50
|
+
};
|
|
51
|
+
type TrailingProps = {
|
|
52
|
+
children: React.ReactNode;
|
|
53
|
+
};
|
|
54
|
+
type SupportingContentProps = {
|
|
55
|
+
children: React.ReactNode;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Leading content slot for ListItem.
|
|
59
|
+
*/
|
|
60
|
+
export declare function ListItemLeading(props: LeadingProps): import("react").JSX.Element;
|
|
61
|
+
/**
|
|
62
|
+
* Trailing content slot for ListItem.
|
|
63
|
+
*/
|
|
64
|
+
export declare function ListItemTrailing(props: TrailingProps): import("react").JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Custom supporting content slot for ListItem.
|
|
67
|
+
* When provided, this takes precedence over the `supportingText` prop.
|
|
68
|
+
* @platform android
|
|
69
|
+
*/
|
|
70
|
+
export declare function ListItemSupportingContent(props: SupportingContentProps): import("react").JSX.Element;
|
|
71
|
+
/**
|
|
72
|
+
* A list item component following Material 3 design guidelines.
|
|
73
|
+
*/
|
|
74
|
+
declare function ListItemComponent(props: ListItemProps): import("react").JSX.Element;
|
|
75
|
+
declare namespace ListItemComponent {
|
|
76
|
+
var Leading: typeof ListItemLeading;
|
|
77
|
+
var Trailing: typeof ListItemTrailing;
|
|
78
|
+
var SupportingContent: typeof ListItemSupportingContent;
|
|
79
|
+
}
|
|
80
|
+
export { ListItemComponent as ListItem };
|
|
81
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ListItem/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,aAAa,CAAC,EAAE,UAAU,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAqBF;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,+BAElD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,+BAEpD;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,sBAAsB,+BAEtE;AAED;;GAEG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE,aAAa,+BAY9C;kBAZQ,iBAAiB;;;;;AAkB1B,OAAO,EAAE,iBAAiB,IAAI,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialSymbolsAssetsTransformer.fx.d.ts","sourceRoot":"","sources":["../../src/jetpack-compose/MaterialSymbolsAssetsTransformer.fx.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ExpoModifier } from '../../types';
|
|
3
|
+
export type ModalBottomSheetProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The children of the `ModalBottomSheet` component.
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Callback function that is called when the bottom sheet is dismissed.
|
|
10
|
+
*/
|
|
11
|
+
onDismissRequest: () => void;
|
|
12
|
+
/**
|
|
13
|
+
* Immediately opens the bottom sheet in full screen.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
skipPartiallyExpanded?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Modifiers for the component.
|
|
19
|
+
*/
|
|
20
|
+
modifiers?: ExpoModifier[];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* A Material Design modal bottom sheet.
|
|
24
|
+
*/
|
|
25
|
+
export declare function ModalBottomSheet(props: ModalBottomSheetProps): React.JSX.Element;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated Use `ModalBottomSheet` instead.
|
|
28
|
+
*/
|
|
29
|
+
export declare const BottomSheet: typeof ModalBottomSheet;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Use `ModalBottomSheetProps` instead.
|
|
32
|
+
*/
|
|
33
|
+
export type BottomSheetProps = ModalBottomSheetProps;
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ModalBottomSheet/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,aAAa,CAAC;AAGhE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAqBF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,qBAE5D;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,yBAAmB,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,CAAC"}
|
|
@@ -55,14 +55,8 @@ export type PickerProps = {
|
|
|
55
55
|
/** Modifiers for the individual buttons */
|
|
56
56
|
buttonModifiers?: ExpoModifier[];
|
|
57
57
|
};
|
|
58
|
-
type NativePickerProps = PickerProps;
|
|
59
|
-
/**
|
|
60
|
-
* @hidden
|
|
61
|
-
*/
|
|
62
|
-
export declare function transformPickerProps(props: PickerProps): NativePickerProps;
|
|
63
58
|
/**
|
|
64
59
|
* Displays a native picker component. Depending on the variant it can be a segmented button, an inline picker, a list of choices or a radio button.
|
|
65
60
|
*/
|
|
66
61
|
export declare function Picker(props: PickerProps): import("react").JSX.Element;
|
|
67
|
-
export {};
|
|
68
62
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Picker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Picker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,yBAAyB,CAAC,EAAE,UAAU,CAAC;IACvC,0BAA0B,CAAC,EAAE,UAAU,CAAC;IACxC,2BAA2B,CAAC,EAAE,UAAU,CAAC;IACzC,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,8BAA8B,CAAC,EAAE,UAAU,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IACtF;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,2CAA2C;IAC3C,eAAe,CAAC,EAAE,YAAY,EAAE,CAAC;CAClC,CAAC;AA2BF;;GAEG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,+BAExC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Progress/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Progress/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAsBF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAE5D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAExD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,qBAAqB,+BAEhE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,+BAE5D"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type ExpoModifier } from '../../types';
|
|
2
|
+
export type PullToRefreshBoxProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether the content is refreshing.
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
isRefreshing?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Callback to call when the content is refreshed.
|
|
10
|
+
*/
|
|
11
|
+
onRefresh?: () => void;
|
|
12
|
+
/**
|
|
13
|
+
* Modifiers for the component.
|
|
14
|
+
*/
|
|
15
|
+
modifiers?: ExpoModifier[];
|
|
16
|
+
/**
|
|
17
|
+
* Modifiers for the loading indicator.
|
|
18
|
+
* @default [align('topCenter'), padding(0, 10, 0, 0)]
|
|
19
|
+
*/
|
|
20
|
+
loadingIndicatorModifiers?: ExpoModifier[];
|
|
21
|
+
/**
|
|
22
|
+
* The content to refresh.
|
|
23
|
+
*/
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Renders a `PullToRefreshBox` component.
|
|
28
|
+
* A box that allows the user to pull down to refresh the content.
|
|
29
|
+
*/
|
|
30
|
+
export declare function PullToRefreshBox(props: PullToRefreshBoxProps): import("react").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/PullToRefreshBox/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;OAGG;IACH,yBAAyB,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3C;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AA4BF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAE5D"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ExpoModifier } from '../../types';
|
|
3
|
+
import { PrimitiveBaseProps } from '../layout';
|
|
4
|
+
interface RNHostProps extends PrimitiveBaseProps {
|
|
5
|
+
/**
|
|
6
|
+
* When true, the RNHost will update its size in the Jetpack Compose view tree to match the children's size.
|
|
7
|
+
* When false, the RNHost will use the size of the parent Jetpack Compose View.
|
|
8
|
+
* Can be only set once on mount.
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
matchContents?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The RN View to be hosted.
|
|
14
|
+
*/
|
|
15
|
+
children: React.ReactElement;
|
|
16
|
+
/**
|
|
17
|
+
* Modifiers for the component.
|
|
18
|
+
*/
|
|
19
|
+
modifiers?: ExpoModifier[];
|
|
20
|
+
/**
|
|
21
|
+
* When true, the RNHost will enable vertical scrolling.
|
|
22
|
+
* @see Official [Jetpack Compose documentation](androidx.compose.ui.Modifier).verticalScroll(androidx.compose.foundation.ScrollState,kotlin.Boolean,androidx.compose.foundation.gestures.FlingBehavior,kotlin.Boolean)
|
|
23
|
+
*/
|
|
24
|
+
verticalScrollEnabled?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare function RNHostView(props: RNHostProps): React.JSX.Element;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/RNHostView/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAG/C,UAAU,WAAY,SAAQ,kBAAkB;IAC9C;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAiBD,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,qBAS5C"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ExpoModifier } from '../../types';
|
|
2
|
+
export type RadioButtonProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether the radio button is selected.
|
|
5
|
+
*/
|
|
6
|
+
selected: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Callback that is called when the radio button is clicked.
|
|
9
|
+
*/
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
/**
|
|
12
|
+
* Modifiers for the component.
|
|
13
|
+
*/
|
|
14
|
+
modifiers?: ExpoModifier[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* A Material Design radio button.
|
|
18
|
+
*/
|
|
19
|
+
export declare function RadioButton(props: RadioButtonProps): import("react").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/RadioButton/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,aAAa,CAAC;AAGhE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAwBF;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAElD"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ExpoModifier } from '../../types';
|
|
2
|
+
export type SearchBarProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Callback function that is called when the search text is submitted.
|
|
5
|
+
*/
|
|
6
|
+
onSearch?: (searchText: string) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Modifiers for the component.
|
|
9
|
+
*/
|
|
10
|
+
modifiers?: ExpoModifier[];
|
|
11
|
+
/**
|
|
12
|
+
* The children of the component.
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
type PlaceholderProps = {
|
|
17
|
+
/**
|
|
18
|
+
* The children of the component.
|
|
19
|
+
*/
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
type ExpandedFullScreenSearchBarProps = {
|
|
23
|
+
/**
|
|
24
|
+
* The children of the component.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Placeholder component for SearchBar.
|
|
30
|
+
* This component marks its children to be rendered in the placeholder slot.
|
|
31
|
+
*/
|
|
32
|
+
export declare function SearchBarPlaceholder(props: PlaceholderProps): import("react").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* ExpandedFullScreenSearchBar component for SearchBar.
|
|
35
|
+
* This component marks its children to be rendered in the expanded full-screen search bar.
|
|
36
|
+
*/
|
|
37
|
+
export declare function ExpandedFullScreenSearchBar(props: ExpandedFullScreenSearchBarProps): import("react").JSX.Element;
|
|
38
|
+
/**
|
|
39
|
+
* Renders a `SearchBar` component.
|
|
40
|
+
*/
|
|
41
|
+
declare function SearchBar(props: SearchBarProps): import("react").JSX.Element;
|
|
42
|
+
declare namespace SearchBar {
|
|
43
|
+
var Placeholder: typeof SearchBarPlaceholder;
|
|
44
|
+
var ExpandedFullScreenSearchBar: typeof import(".").ExpandedFullScreenSearchBar;
|
|
45
|
+
}
|
|
46
|
+
export { SearchBar };
|
|
47
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/SearchBar/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,aAAa,CAAC;AAGhE,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,KAAK,gCAAgC,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAqBF;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,gBAAgB,+BAE3D;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,+BAElF;AAcD;;GAEG;AACH,iBAAS,SAAS,CAAC,KAAK,EAAE,cAAc,+BAIvC;kBAJQ,SAAS;;;;AASlB,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
import { type ColorValue } from 'react-native';
|
|
2
2
|
import { ExpoModifier } from '../../types';
|
|
3
|
-
type ShapeType = 'star' | 'pillStar' | 'pill' | 'circle' | 'rectangle' | 'polygon';
|
|
3
|
+
type ShapeType = 'star' | 'pillStar' | 'pill' | 'circle' | 'rectangle' | 'polygon' | 'roundedCorner';
|
|
4
|
+
/**
|
|
5
|
+
* Corner radii for RoundedCorner shape.
|
|
6
|
+
*/
|
|
7
|
+
export type CornerRadii = {
|
|
8
|
+
/**
|
|
9
|
+
* Top-start corner radius in dp.
|
|
10
|
+
*/
|
|
11
|
+
topStart?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Top-end corner radius in dp.
|
|
14
|
+
*/
|
|
15
|
+
topEnd?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Bottom-start corner radius in dp.
|
|
18
|
+
*/
|
|
19
|
+
bottomStart?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Bottom-end corner radius in dp.
|
|
22
|
+
*/
|
|
23
|
+
bottomEnd?: number;
|
|
24
|
+
};
|
|
4
25
|
export type ShapeProps = {
|
|
5
26
|
/**
|
|
6
27
|
* Corner rounding percentage. Multiplied by the shorter dimension of the view to produce pixel values.
|
|
@@ -27,6 +48,10 @@ export type ShapeProps = {
|
|
|
27
48
|
* @default 1.0
|
|
28
49
|
*/
|
|
29
50
|
radius?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Corner radii for RoundedCorner shape. Values are in dp.
|
|
53
|
+
*/
|
|
54
|
+
cornerRadii?: CornerRadii;
|
|
30
55
|
/** Color of the shape */
|
|
31
56
|
color?: ColorValue;
|
|
32
57
|
/**
|
|
@@ -38,7 +63,7 @@ type NativeShapeProps = Omit<ShapeProps, 'modifiers'> & {
|
|
|
38
63
|
type: ShapeType;
|
|
39
64
|
modifiers?: unknown;
|
|
40
65
|
};
|
|
41
|
-
export type ShapeRecordProps = Pick<NativeShapeProps, 'cornerRounding' | 'smoothing' | 'verticesCount' | 'innerRadius' | 'radius' | 'type'>;
|
|
66
|
+
export type ShapeRecordProps = Pick<NativeShapeProps, 'cornerRounding' | 'smoothing' | 'verticesCount' | 'innerRadius' | 'radius' | 'cornerRadii' | 'type'>;
|
|
42
67
|
export type ShapeJSXElement = React.ReactElement<NativeShapeProps> & {
|
|
43
68
|
__expo_shape_jsx_element_marker: true;
|
|
44
69
|
};
|
|
@@ -48,6 +73,7 @@ declare function Pill(props: Pick<ShapeProps, 'smoothing' | 'color' | 'modifiers
|
|
|
48
73
|
declare function Circle(props: Pick<ShapeProps, 'radius' | 'verticesCount' | 'color' | 'modifiers'>): ShapeJSXElement;
|
|
49
74
|
declare function Rectangle(props: Pick<ShapeProps, 'smoothing' | 'cornerRounding' | 'color' | 'modifiers'>): ShapeJSXElement;
|
|
50
75
|
declare function Polygon(props: Pick<ShapeProps, 'smoothing' | 'cornerRounding' | 'verticesCount' | 'color' | 'modifiers'>): ShapeJSXElement;
|
|
76
|
+
declare function RoundedCorner(props: Pick<ShapeProps, 'cornerRadii' | 'color' | 'modifiers'>): ShapeJSXElement;
|
|
51
77
|
export declare const Shape: {
|
|
52
78
|
Star: typeof Star;
|
|
53
79
|
PillStar: typeof PillStar;
|
|
@@ -55,6 +81,7 @@ export declare const Shape: {
|
|
|
55
81
|
Circle: typeof Circle;
|
|
56
82
|
Rectangle: typeof Rectangle;
|
|
57
83
|
Polygon: typeof Polygon;
|
|
84
|
+
RoundedCorner: typeof RoundedCorner;
|
|
58
85
|
};
|
|
59
86
|
export declare function parseJSXShape(shape: ShapeJSXElement): ShapeRecordProps;
|
|
60
87
|
export declare function parseJSXShape(shape?: ShapeJSXElement): ShapeRecordProps | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Shape/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Shape/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,KAAK,SAAS,GACV,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,WAAW,GACX,SAAS,GACT,eAAe,CAAC;AAEpB;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,yBAAyB;IACzB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAEF,KAAK,gBAAgB,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG;IACtD,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,gBAAgB,EACd,gBAAgB,GAChB,WAAW,GACX,eAAe,GACf,aAAa,GACb,QAAQ,GACR,aAAa,GACb,MAAM,CACT,CAAC;AAgBF,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG;IACnE,+BAA+B,EAAE,IAAI,CAAC;CACvC,CAAC;AAEF,iBAAS,IAAI,CAAC,KAAK,EAAE,UAAU,GAC0C,eAAe,CACvF;AAED,iBAAS,QAAQ,CAAC,KAAK,EAAE,UAAU,GAC0C,eAAe,CAC3F;AAED,iBAAS,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,WAAW,CAAC,GACD,eAAe,CACvF;AAED,iBAAS,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,eAAe,GAAG,OAAO,GAAG,WAAW,CAAC,GAChB,eAAe,CACzF;AAED,iBAAS,SAAS,CAChB,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,gBAAgB,GAAG,OAAO,GAAG,WAAW,CAAC,GAEH,eAAe,CAC5F;AAED,iBAAS,OAAO,CACd,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,OAAO,GAAG,WAAW,CAAC,GAEvB,eAAe,CAC1F;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,aAAa,GAAG,OAAO,GAAG,WAAW,CAAC,GACH,eAAe,CAChG;AAED,eAAO,MAAM,KAAK;;;;;;;;CAQjB,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,GAAG,gBAAgB,CAAC;AACxE,wBAAgB,aAAa,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ColorValue } from 'react-native';
|
|
2
|
-
import { ExpoModifier
|
|
2
|
+
import { ExpoModifier } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Colors for slider's core elements.
|
|
5
5
|
* @platform android
|
|
@@ -50,13 +50,5 @@ export type SliderProps = {
|
|
|
50
50
|
*/
|
|
51
51
|
modifiers?: ExpoModifier[];
|
|
52
52
|
};
|
|
53
|
-
type NativeSliderProps = Omit<SliderProps, 'onValueChange'> & ViewEvent<'onValueChanged', {
|
|
54
|
-
value: number;
|
|
55
|
-
}>;
|
|
56
|
-
/**
|
|
57
|
-
* @hidden
|
|
58
|
-
*/
|
|
59
|
-
export declare function transformSliderProps(props: SliderProps): NativeSliderProps;
|
|
60
53
|
export declare function Slider(props: SliderProps): import("react").JSX.Element;
|
|
61
|
-
export {};
|
|
62
54
|
//# sourceMappingURL=index.d.ts.map
|