@expo/ui 0.2.0-beta.2 → 0.2.0-beta.4
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 +25 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/ChipView.kt +5 -2
- package/android/src/main/java/expo/modules/ui/button/Button.kt +19 -8
- package/android/src/main/java/expo/modules/ui/menu/ContextMenu.kt +26 -4
- package/android/src/main/java/expo/modules/ui/menu/ContextMenuRecords.kt +2 -0
- package/build/jetpack-compose/Button/index.d.ts +14 -2
- package/build/jetpack-compose/Button/index.d.ts.map +1 -1
- package/build/jetpack-compose/Button/types.d.ts +1 -1
- package/build/jetpack-compose/Button/types.d.ts.map +1 -1
- package/build/jetpack-compose/ContextMenu/Submenu.d.ts +17 -0
- package/build/jetpack-compose/ContextMenu/Submenu.d.ts.map +1 -0
- package/build/jetpack-compose/ContextMenu/index.d.ts +3 -15
- package/build/jetpack-compose/ContextMenu/index.d.ts.map +1 -1
- package/build/jetpack-compose/ContextMenu/utils.d.ts.map +1 -1
- package/build/swift-ui/Button/index.d.ts +6 -5
- package/build/swift-ui/Button/index.d.ts.map +1 -1
- package/build/swift-ui/ContentUnavailableView/index.d.ts +2 -1
- package/build/swift-ui/ContentUnavailableView/index.d.ts.map +1 -1
- package/build/swift-ui/Image/index.d.ts +2 -1
- package/build/swift-ui/Image/index.d.ts.map +1 -1
- package/build/swift-ui/Label/index.d.ts +2 -1
- package/build/swift-ui/Label/index.d.ts.map +1 -1
- package/build/swift-ui/LabeledContent/index.d.ts +16 -0
- package/build/swift-ui/LabeledContent/index.d.ts.map +1 -0
- package/build/swift-ui/index.d.ts +1 -0
- package/build/swift-ui/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +17 -10
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/Button/Button.swift +7 -2
- package/ios/ExpoUIModule.swift +1 -0
- package/ios/LabeledContentView.swift +27 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +21 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2-sources.jar → 0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.module → 0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.pom → 0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.4/expo.modules.ui-0.2.0-beta.4.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/Button/index.tsx +21 -4
- package/src/jetpack-compose/Button/types.ts +3 -0
- package/src/jetpack-compose/ContextMenu/Submenu.tsx +21 -0
- package/src/jetpack-compose/ContextMenu/index.tsx +3 -19
- package/src/jetpack-compose/ContextMenu/utils.ts +3 -2
- package/src/swift-ui/Button/index.tsx +6 -5
- package/src/swift-ui/ContentUnavailableView/index.tsx +2 -1
- package/src/swift-ui/Image/index.tsx +2 -1
- package/src/swift-ui/Label/index.tsx +2 -1
- package/src/swift-ui/LabeledContent/index.tsx +34 -0
- package/src/swift-ui/index.tsx +1 -0
- package/src/swift-ui/modifiers/index.ts +36 -10
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/0.2.0-beta.2/expo.modules.ui-0.2.0-beta.2.pom.sha512 +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,31 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 0.2.0-beta.4 — 2025-09-22
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- Add SF symbol typings ([#39802](https://github.com/expo/expo/pull/39802) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
18
|
+
|
|
19
|
+
### 🐛 Bug fixes
|
|
20
|
+
|
|
21
|
+
- [iOS] Updated description for glass button styles availability ([#39736](https://github.com/expo/expo/pull/39736) by [@terijaki](https://github.com/terijaki))
|
|
22
|
+
|
|
23
|
+
## 0.2.0-beta.3 — 2025-09-16
|
|
24
|
+
|
|
25
|
+
### 🎉 New features
|
|
26
|
+
|
|
27
|
+
- [iOS] Add `LabeledContent` view ([#39463](https://github.com/expo/expo/pull/39617) by [@betomoedano](https://github.com/betomoedano))
|
|
28
|
+
- [iOS] Add `fixedSize` modifier. ([#39734](https://github.com/expo/expo/pull/39734) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
29
|
+
|
|
30
|
+
### 🐛 Bug fixes
|
|
31
|
+
|
|
32
|
+
- [ios] tvOS 26 compile fix and card button. ([#39639](https://github.com/expo/expo/pull/39639) by [@douglowder](https://github.com/douglowder))
|
|
33
|
+
|
|
34
|
+
### 💡 Others
|
|
35
|
+
|
|
36
|
+
- [Android] **Button**: Deprecate `systemImage` prop in favor of `leadingIcon` and `trailingIcon` for more flexible icon placement. The `systemImage` prop will continue to work as `leadingIcon` for backward compatibility. ([#39095](https://github.com/expo/expo/pull/39095) by [@benjaminkomen](https://github.com/benjaminkomen))
|
|
37
|
+
|
|
13
38
|
## 0.2.0-beta.2 — 2025-09-12
|
|
14
39
|
|
|
15
40
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -12,13 +12,13 @@ apply plugin: 'expo-module-gradle-plugin'
|
|
|
12
12
|
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
|
|
13
13
|
|
|
14
14
|
group = 'expo.modules.ui'
|
|
15
|
-
version = '0.2.0-beta.
|
|
15
|
+
version = '0.2.0-beta.4'
|
|
16
16
|
|
|
17
17
|
android {
|
|
18
18
|
namespace "expo.modules.ui"
|
|
19
19
|
defaultConfig {
|
|
20
20
|
versionCode 1
|
|
21
|
-
versionName "0.2.0-beta.
|
|
21
|
+
versionName "0.2.0-beta.4"
|
|
22
22
|
}
|
|
23
23
|
buildFeatures {
|
|
24
24
|
compose true
|
|
@@ -85,7 +85,9 @@ class ChipView(context: Context, appContext: AppContext) :
|
|
|
85
85
|
{
|
|
86
86
|
ChipIcon(iconName = "filled.Done", iconSize = iconSize)
|
|
87
87
|
}
|
|
88
|
-
} else
|
|
88
|
+
} else {
|
|
89
|
+
null
|
|
90
|
+
},
|
|
89
91
|
trailingIcon = {
|
|
90
92
|
trailingIcon?.let {
|
|
91
93
|
ChipIcon(iconName = it, iconSize = iconSize)
|
|
@@ -166,6 +168,7 @@ private fun ChipText(label: String, textStyle: String = "labelSmall") {
|
|
|
166
168
|
)
|
|
167
169
|
}
|
|
168
170
|
}
|
|
171
|
+
|
|
169
172
|
@Composable
|
|
170
173
|
private fun ChipIcon(
|
|
171
174
|
iconName: String,
|
|
@@ -183,4 +186,4 @@ private fun ChipIcon(
|
|
|
183
186
|
.padding(end = 4.dp)
|
|
184
187
|
)
|
|
185
188
|
}
|
|
186
|
-
}
|
|
189
|
+
}
|
|
@@ -60,7 +60,8 @@ data class ButtonProps(
|
|
|
60
60
|
val text: MutableState<String> = mutableStateOf(""),
|
|
61
61
|
val variant: MutableState<ButtonVariant?> = mutableStateOf(ButtonVariant.DEFAULT),
|
|
62
62
|
val elementColors: MutableState<ButtonColors> = mutableStateOf(ButtonColors()),
|
|
63
|
-
val
|
|
63
|
+
val leadingIcon: MutableState<String?> = mutableStateOf(null),
|
|
64
|
+
val trailingIcon: MutableState<String?> = mutableStateOf(null),
|
|
64
65
|
val disabled: MutableState<Boolean> = mutableStateOf(false),
|
|
65
66
|
val modifiers: MutableState<List<ExpoModifier>> = mutableStateOf(emptyList())
|
|
66
67
|
) : ComposeProps
|
|
@@ -150,7 +151,8 @@ class Button(context: Context, appContext: AppContext) :
|
|
|
150
151
|
val (variant) = props.variant
|
|
151
152
|
val (text) = props.text
|
|
152
153
|
val (colors) = props.elementColors
|
|
153
|
-
val (
|
|
154
|
+
val (leadingIcon) = props.leadingIcon
|
|
155
|
+
val (trailingIcon) = props.trailingIcon
|
|
154
156
|
val (disabled) = props.disabled
|
|
155
157
|
DynamicTheme {
|
|
156
158
|
StyledButton(
|
|
@@ -160,19 +162,28 @@ class Button(context: Context, appContext: AppContext) :
|
|
|
160
162
|
onPress = { onButtonPressed.invoke(ButtonPressedEvent()) },
|
|
161
163
|
modifier = Modifier.fromExpoModifiers(props.modifiers.value)
|
|
162
164
|
) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
getImageVector(
|
|
165
|
+
Row(verticalAlignment = Alignment.CenterVertically) {
|
|
166
|
+
leadingIcon?.let { iconName ->
|
|
167
|
+
getImageVector(iconName)?.let {
|
|
166
168
|
Icon(
|
|
167
169
|
it,
|
|
168
|
-
contentDescription =
|
|
170
|
+
contentDescription = iconName,
|
|
169
171
|
modifier = Modifier.padding(end = 8.dp)
|
|
170
172
|
)
|
|
171
173
|
}
|
|
172
|
-
Text(text)
|
|
173
174
|
}
|
|
174
|
-
|
|
175
|
+
|
|
175
176
|
Text(text)
|
|
177
|
+
|
|
178
|
+
trailingIcon?.let { iconName ->
|
|
179
|
+
getImageVector(iconName)?.let {
|
|
180
|
+
Icon(
|
|
181
|
+
it,
|
|
182
|
+
contentDescription = iconName,
|
|
183
|
+
modifier = Modifier.padding(start = 8.dp)
|
|
184
|
+
)
|
|
185
|
+
}
|
|
186
|
+
}
|
|
176
187
|
}
|
|
177
188
|
}
|
|
178
189
|
}
|
|
@@ -13,6 +13,7 @@ import androidx.compose.foundation.layout.wrapContentSize
|
|
|
13
13
|
import androidx.compose.material3.DropdownMenu
|
|
14
14
|
import androidx.compose.material3.DropdownMenuItem
|
|
15
15
|
import androidx.compose.material3.HorizontalDivider
|
|
16
|
+
import androidx.compose.material3.Icon
|
|
16
17
|
import androidx.compose.material3.MaterialTheme
|
|
17
18
|
import androidx.compose.material3.MenuDefaults
|
|
18
19
|
import androidx.compose.material3.MenuItemColors
|
|
@@ -34,6 +35,7 @@ import expo.modules.ui.DynamicTheme
|
|
|
34
35
|
import expo.modules.ui.ThemedHybridSwitch
|
|
35
36
|
import expo.modules.ui.compose
|
|
36
37
|
import expo.modules.ui.composeOrNull
|
|
38
|
+
import expo.modules.ui.getImageVector
|
|
37
39
|
|
|
38
40
|
@Composable
|
|
39
41
|
private fun SectionTitle(text: String) {
|
|
@@ -58,15 +60,35 @@ fun FlatMenu(elements: Array<ContextMenuElement>, sectionTitle: String?, dispatc
|
|
|
58
60
|
DropdownMenuItem(
|
|
59
61
|
colors = MenuItemColors(
|
|
60
62
|
textColor = it.elementColors.contentColor.compose,
|
|
61
|
-
leadingIconColor =
|
|
62
|
-
trailingIconColor =
|
|
63
|
+
leadingIconColor = it.elementColors.contentColor.compose,
|
|
64
|
+
trailingIconColor = it.elementColors.contentColor.compose,
|
|
63
65
|
disabledTextColor = it.elementColors.disabledContentColor.compose,
|
|
64
|
-
disabledLeadingIconColor =
|
|
65
|
-
disabledTrailingIconColor =
|
|
66
|
+
disabledLeadingIconColor = it.elementColors.disabledContentColor.compose,
|
|
67
|
+
disabledTrailingIconColor = it.elementColors.disabledContentColor.compose
|
|
66
68
|
),
|
|
67
69
|
enabled = !it.disabled,
|
|
68
70
|
modifier = Modifier.background(it.elementColors.containerColor.compose),
|
|
69
71
|
text = { Text(it.text) },
|
|
72
|
+
leadingIcon = it.leadingIcon?.let { iconName ->
|
|
73
|
+
{
|
|
74
|
+
getImageVector(iconName)?.let { imageVector ->
|
|
75
|
+
Icon(
|
|
76
|
+
imageVector = imageVector,
|
|
77
|
+
contentDescription = iconName
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
trailingIcon = it.trailingIcon?.let { iconName ->
|
|
83
|
+
{
|
|
84
|
+
getImageVector(iconName)?.let { imageVector ->
|
|
85
|
+
Icon(
|
|
86
|
+
imageVector = imageVector,
|
|
87
|
+
contentDescription = iconName
|
|
88
|
+
)
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
70
92
|
onClick = {
|
|
71
93
|
dispatchers.buttonPressed(ContextMenuButtonPressedEvent(id))
|
|
72
94
|
expanded.value = false
|
|
@@ -42,6 +42,8 @@ class ContextMenuButtonProps(
|
|
|
42
42
|
@Field val text: String = "",
|
|
43
43
|
@Field val variant: ButtonVariant? = ButtonVariant.DEFAULT,
|
|
44
44
|
@Field val elementColors: ButtonColors = ButtonColors(),
|
|
45
|
+
@Field val leadingIcon: String? = null,
|
|
46
|
+
@Field val trailingIcon: String? = null,
|
|
45
47
|
@Field val disabled: Boolean = false
|
|
46
48
|
) : Record, Serializable
|
|
47
49
|
|
|
@@ -21,9 +21,20 @@ export type ButtonProps = {
|
|
|
21
21
|
* A callback that is called when the button is pressed.
|
|
22
22
|
*/
|
|
23
23
|
onPress?: () => void;
|
|
24
|
+
/**
|
|
25
|
+
* A string describing the leading icon to display in the button.
|
|
26
|
+
* Uses Material Icons on Android.
|
|
27
|
+
*/
|
|
28
|
+
leadingIcon?: MaterialIcon;
|
|
29
|
+
/**
|
|
30
|
+
* A string describing the trailing icon to display in the button.
|
|
31
|
+
* Uses Material Icons on Android.
|
|
32
|
+
*/
|
|
33
|
+
trailingIcon?: MaterialIcon;
|
|
24
34
|
/**
|
|
25
35
|
* A string describing the system image to display in the button.
|
|
26
36
|
* Uses Material Icons on Android.
|
|
37
|
+
* @deprecated Use `leadingIcon` instead.
|
|
27
38
|
*/
|
|
28
39
|
systemImage?: MaterialIcon;
|
|
29
40
|
/**
|
|
@@ -57,9 +68,10 @@ export type ButtonProps = {
|
|
|
57
68
|
/**
|
|
58
69
|
* @hidden
|
|
59
70
|
*/
|
|
60
|
-
export type NativeButtonProps = Omit<ButtonProps, 'role' | 'onPress' | 'children' | 'systemImage'> & {
|
|
71
|
+
export type NativeButtonProps = Omit<ButtonProps, 'role' | 'onPress' | 'children' | 'leadingIcon' | 'trailingIcon' | 'systemImage'> & {
|
|
61
72
|
text: string;
|
|
62
|
-
|
|
73
|
+
leadingIcon?: string;
|
|
74
|
+
trailingIcon?: string;
|
|
63
75
|
} & ViewEvent<'onButtonPressed', void>;
|
|
64
76
|
/**
|
|
65
77
|
* @hidden
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC;AAE5F;;GAEG;AACH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 +1,5 @@
|
|
|
1
1
|
type Variant = 'rounded' | 'twotone' | 'outlined' | 'filled' | 'sharp';
|
|
2
|
-
type Icon = 'AccountBox' | 'AccountCircle' | 'Add' | 'AddCircle' | 'ArrowBack' | 'ArrowDropDown' | 'ArrowForward' | 'Build' | 'Call' | 'Check' | 'CheckCircle' | 'Clear' | 'Close' | 'Create' | 'DateRange' | 'Delete' | 'Done' | 'Edit' | 'Email' | 'ExitToApp' | 'Face' | 'Favorite' | 'FavoriteBorder' | 'Home' | 'Info' | 'KeyboardArrowDown' | 'KeyboardArrowLeft' | 'KeyboardArrowRight' | 'KeyboardArrowUp' | 'List' | 'LocationOn' | 'Lock' | 'MailOutline' | 'Menu' | 'MoreVert' | 'Notifications' | 'Person' | 'Phone' | 'Place' | 'PlayArrow' | 'Refresh' | 'Search' | 'Send' | 'Settings' | 'Share' | 'ShoppingCart' | 'Star' | 'ThumbUp' | 'Warning';
|
|
2
|
+
type Icon = 'AccountBox' | 'AccountCircle' | 'Add' | 'AddCircle' | 'ArrowBack' | 'ArrowDropDown' | 'ArrowForward' | 'Build' | 'Call' | 'Check' | 'CheckCircle' | 'Clear' | 'Close' | 'Contrast' | 'Create' | 'DarkMode' | 'DateRange' | 'Delete' | 'Done' | 'Edit' | 'Email' | 'ExitToApp' | 'Face' | 'Favorite' | 'FavoriteBorder' | 'Home' | 'Info' | 'KeyboardArrowDown' | 'KeyboardArrowLeft' | 'KeyboardArrowRight' | 'KeyboardArrowUp' | 'LightMode' | 'List' | 'LocationOn' | 'Lock' | 'MailOutline' | 'Menu' | 'MoreVert' | 'Notifications' | 'Person' | 'Phone' | 'Place' | 'PlayArrow' | 'Refresh' | 'Search' | 'Send' | 'Settings' | 'Share' | 'ShoppingCart' | 'Star' | 'ThumbUp' | 'Warning';
|
|
3
3
|
export type MaterialIcon = `${Variant}.${Icon}`;
|
|
4
4
|
export {};
|
|
5
5
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Button/types.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEvE,KAAK,IAAI,GACL,YAAY,GACZ,eAAe,GACf,KAAK,GACL,WAAW,GACX,WAAW,GACX,eAAe,GACf,cAAc,GACd,OAAO,GACP,MAAM,GACN,OAAO,GACP,aAAa,GACb,OAAO,GACP,OAAO,GACP,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,WAAW,GACX,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,MAAM,GACN,MAAM,GACN,mBAAmB,GACnB,mBAAmB,GACnB,oBAAoB,GACpB,iBAAiB,GACjB,MAAM,GACN,YAAY,GACZ,MAAM,GACN,aAAa,GACb,MAAM,GACN,UAAU,GACV,eAAe,GACf,QAAQ,GACR,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,cAAc,GACd,MAAM,GACN,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,YAAY,GAAG,GAAG,OAAO,IAAI,IAAI,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Button/types.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEvE,KAAK,IAAI,GACL,YAAY,GACZ,eAAe,GACf,KAAK,GACL,WAAW,GACX,WAAW,GACX,eAAe,GACf,cAAc,GACd,OAAO,GACP,MAAM,GACN,OAAO,GACP,aAAa,GACb,OAAO,GACP,OAAO,GACP,UAAU,GACV,QAAQ,GACR,UAAU,GACV,WAAW,GACX,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,WAAW,GACX,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,MAAM,GACN,MAAM,GACN,mBAAmB,GACnB,mBAAmB,GACnB,oBAAoB,GACpB,iBAAiB,GACjB,WAAW,GACX,MAAM,GACN,YAAY,GACZ,MAAM,GACN,aAAa,GACb,MAAM,GACN,UAAU,GACV,eAAe,GACf,QAAQ,GACR,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,cAAc,GACd,MAAM,GACN,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,YAAY,GAAG,GAAG,OAAO,IAAI,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
3
|
+
/**
|
|
4
|
+
* Props of the `Submenu` component.
|
|
5
|
+
*/
|
|
6
|
+
export type SubmenuProps = {
|
|
7
|
+
/**
|
|
8
|
+
* The button that will be used to expand the submenu. On Android the `text` prop of the `Button` will be used as a section title.
|
|
9
|
+
*/
|
|
10
|
+
button: ReactElement<ButtonProps>;
|
|
11
|
+
/**
|
|
12
|
+
* Children of the submenu. Only `Button`, `Switch`, `Picker` and `Submenu` elements should be used.
|
|
13
|
+
*/
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare function Submenu(props: SubmenuProps): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=Submenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Submenu.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ContextMenu/Submenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,+BAE1C"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import { SubmenuProps } from './Submenu';
|
|
3
4
|
import { ExpoModifier } from '../../types';
|
|
4
5
|
import { ButtonProps } from '../Button';
|
|
5
6
|
import { PickerProps } from '../Picker';
|
|
@@ -52,21 +53,7 @@ export type ContextMenuProps = {
|
|
|
52
53
|
/** Modifiers for the component */
|
|
53
54
|
modifiers?: ExpoModifier[];
|
|
54
55
|
};
|
|
55
|
-
|
|
56
|
-
* Props of the `Submenu` component.
|
|
57
|
-
*/
|
|
58
|
-
export type SubmenuProps = {
|
|
59
|
-
/**
|
|
60
|
-
* The button that will be used to expand the submenu. On Android the `text` prop of the `Button` will be used as a section title.
|
|
61
|
-
*/
|
|
62
|
-
button: ReactElement<ButtonProps>;
|
|
63
|
-
/**
|
|
64
|
-
* Children of the submenu. Only `Button`, `Switch`, `Picker` and `Submenu` elements should be used.
|
|
65
|
-
*/
|
|
66
|
-
children: ReactNode;
|
|
67
|
-
};
|
|
68
|
-
export declare function Submenu(): import("react").JSX.Element;
|
|
69
|
-
export declare function Items(): import("react").JSX.Element;
|
|
56
|
+
export declare function Items(props: ContextMenuContentProps): import("react").JSX.Element;
|
|
70
57
|
export declare namespace Items {
|
|
71
58
|
var tag: string;
|
|
72
59
|
}
|
|
@@ -86,4 +73,5 @@ declare namespace ContextMenu {
|
|
|
86
73
|
var Items: typeof import(".").Items;
|
|
87
74
|
}
|
|
88
75
|
export { ContextMenu };
|
|
76
|
+
export { Submenu } from './Submenu';
|
|
89
77
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ContextMenu/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,YAAY,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ContextMenu/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,YAAY,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAOxC,KAAK,cAAc,GACf,YAAY,CAAC,WAAW,CAAC,GACzB,YAAY,CAAC,WAAW,CAAC,GACzB,YAAY,CAAC,WAAW,CAAC,GACzB,YAAY,CAAC,YAAY,CAAC,CAAC;AAE/B,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,cAAc,GAAG,cAAc,EAAE,CAAC;CAC7C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAChC,MAAM,EACN,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAC3D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IAAE,oBAAoB,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,WAAW,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B,kCAAkC;IAClC,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B,CAAC;AAyBF,wBAAgB,KAAK,CAAC,KAAK,EAAE,uBAAuB,+BAEnD;yBAFe,KAAK;;;AAKrB,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;yBAFe,OAAO;;;AAKvB,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAqC3C;kBArCQ,WAAW;;;;;AA2CpB,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ContextMenu/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ContextMenu/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1E,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAuB,iBAAiB,EAAwB,MAAM,WAAW,CAAC;AACzF,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAC;AAGhD,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,GAAG,sBAAsB,CAAC;AAE3B,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,WAAW,CAAC;CACrB,GAAG,sBAAsB,CAAC;AAE3B,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,WAAW,CAAC;CACrB,GAAG,sBAAsB,CAAC;AAE3B,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE;QACP,QAAQ,EAAE,WAAW,EAAE,CAAC;QACxB,MAAM,EAAE,iBAAiB,CAAC;KAC3B,CAAC;CACH,GAAG,sBAAsB,CAAC;AAE3B,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,cAAc,CAAC;AAInB,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,SAAS,EACnB,gBAAgB,EAAE,aAAa,GAC9B,WAAW,EAAE,CAIf"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SFSymbol } from 'sf-symbols-typescript';
|
|
1
2
|
import { type ViewEvent } from '../../types';
|
|
2
3
|
import { type CommonViewModifierProps } from '../types';
|
|
3
4
|
/**
|
|
@@ -16,9 +17,9 @@ export type ButtonRole = 'default' | 'cancel' | 'destructive';
|
|
|
16
17
|
* - `borderless` - A button with no background or border. On Android, equivalent to `TextButton`.
|
|
17
18
|
* - `borderedProminent` - A bordered button with a prominent appearance.
|
|
18
19
|
* - `plain` - A button with no border or background and a less prominent text.
|
|
20
|
+
* - `glass` – A liquid glass button effect – (available only from iOS 26, when built with Xcode 26)
|
|
21
|
+
* - `glassProminent` – A liquid glass button effect – (available only from iOS 26, when built with Xcode 26)
|
|
19
22
|
* macOS-only styles:
|
|
20
|
-
* - `glass` – A liquid glass button effect – (available only since iOS 26, for now only when built with beta version of Xcode)
|
|
21
|
-
* - `glassProminent` – A liquid glass button effect – (available only since iOS 26, for now only when built with beta 3 version of Xcode)
|
|
22
23
|
* - `accessoryBar` - A button style for accessory bars.
|
|
23
24
|
* - `accessoryBarAction` - A button style for accessory bar actions.
|
|
24
25
|
* - `card` - A button style for cards.
|
|
@@ -33,9 +34,9 @@ export type ButtonProps = {
|
|
|
33
34
|
/**
|
|
34
35
|
* A string describing the system image to display in the button.
|
|
35
36
|
* This is only used if `children` is a string.
|
|
36
|
-
* Uses
|
|
37
|
+
* Uses SF Symbols.
|
|
37
38
|
*/
|
|
38
|
-
systemImage?:
|
|
39
|
+
systemImage?: SFSymbol;
|
|
39
40
|
/**
|
|
40
41
|
* Indicated the role of the button.
|
|
41
42
|
* @platform ios
|
|
@@ -65,7 +66,7 @@ export type ButtonProps = {
|
|
|
65
66
|
export type NativeButtonProps = Omit<ButtonProps, 'role' | 'onPress' | 'children' | 'systemImage'> & {
|
|
66
67
|
buttonRole?: ButtonRole;
|
|
67
68
|
text: string | undefined;
|
|
68
|
-
systemImage?:
|
|
69
|
+
systemImage?: SFSymbol;
|
|
69
70
|
} & ViewEvent<'onButtonPressed', void>;
|
|
70
71
|
/**
|
|
71
72
|
* exposed for ContextMenu
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Button/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GA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
|
|
1
2
|
import { type CommonViewModifierProps } from '../types';
|
|
2
3
|
export interface ContentUnavailableViewProps extends CommonViewModifierProps {
|
|
3
4
|
/**
|
|
@@ -7,7 +8,7 @@ export interface ContentUnavailableViewProps extends CommonViewModifierProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* SF Symbol indicating why the content is not available.
|
|
9
10
|
*/
|
|
10
|
-
systemImage?:
|
|
11
|
+
systemImage?: SFSymbol;
|
|
11
12
|
/**
|
|
12
13
|
* Description of why the content is not available.
|
|
13
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ContentUnavailableView/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ContentUnavailableView/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,2BAA4B,SAAQ,uBAAuB;IAC1E;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAoBD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,+BAExE"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { type SFSymbol } from 'sf-symbols-typescript';
|
|
1
2
|
import { type CommonViewModifierProps } from '../types';
|
|
2
3
|
export interface ImageProps extends CommonViewModifierProps {
|
|
3
4
|
/**
|
|
4
5
|
* The name of the system image (SF Symbol).
|
|
5
6
|
* For example: 'photo', 'heart.fill', 'star.circle'
|
|
6
7
|
*/
|
|
7
|
-
systemName:
|
|
8
|
+
systemName: SFSymbol;
|
|
8
9
|
/**
|
|
9
10
|
* The size of the system image.
|
|
10
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Image/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Image/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,UAAW,SAAQ,uBAAuB;IACzD;;;OAGG;IACH,UAAU,EAAE,QAAQ,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAuBD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,+BAEtC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SFSymbol } from 'sf-symbols-typescript';
|
|
1
2
|
import { type CommonViewModifierProps } from '../types';
|
|
2
3
|
export type LabelProps = {
|
|
3
4
|
/**
|
|
@@ -7,7 +8,7 @@ export type LabelProps = {
|
|
|
7
8
|
/**
|
|
8
9
|
* The name of the SFSymbol to be displayed in the label.
|
|
9
10
|
*/
|
|
10
|
-
systemImage?:
|
|
11
|
+
systemImage?: SFSymbol;
|
|
11
12
|
/**
|
|
12
13
|
* The color of the label icon.
|
|
13
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Label/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Label/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,uBAAuB,CAAC;AAI5B;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,+BAStC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type CommonViewModifierProps } from '../types';
|
|
2
|
+
export type LabeledContentProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The label to be displayed in the labeled content.
|
|
5
|
+
*/
|
|
6
|
+
label?: string;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
} & CommonViewModifierProps;
|
|
9
|
+
/**
|
|
10
|
+
* LabeledContent component uses the native [LabeledContent](https://developer.apple.com/documentation/swiftui/labeledcontent) component.
|
|
11
|
+
* A container for attaching a label to a value-bearing view.
|
|
12
|
+
* Available from iOS 16.0.
|
|
13
|
+
* @platform ios
|
|
14
|
+
*/
|
|
15
|
+
export declare function LabeledContent(props: LabeledContentProps): import("react").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/LabeledContent/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,uBAAuB,CAAC;AAO5B;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BASxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC"}
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
* Core modifier factory and type definitions for SwiftUI view modifiers.
|
|
3
3
|
* This system allows both built-in and 3rd party modifiers to use the same API.
|
|
4
4
|
*/
|
|
5
|
+
import { ColorValue } from 'react-native';
|
|
5
6
|
import { animation } from './animation/index';
|
|
6
7
|
import { createModifier, ModifierConfig } from './createModifier';
|
|
8
|
+
type NamedColor = 'primary' | 'secondary' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'white' | 'gray' | 'black' | 'clear' | 'mint' | 'teal' | 'cyan' | 'indigo' | 'brown';
|
|
9
|
+
type Color = string | ColorValue | NamedColor;
|
|
7
10
|
/**
|
|
8
11
|
* Sets the background of a view.
|
|
9
12
|
* @param color - The background color (hex string, e.g., '#FF0000')
|
|
10
13
|
*/
|
|
11
|
-
export declare const background: (color:
|
|
14
|
+
export declare const background: (color: Color) => ModifierConfig;
|
|
12
15
|
/**
|
|
13
16
|
* Applies corner radius to a view.
|
|
14
17
|
* @param radius - The corner radius value
|
|
@@ -21,7 +24,7 @@ export declare const shadow: (params: {
|
|
|
21
24
|
radius: number;
|
|
22
25
|
x?: number;
|
|
23
26
|
y?: number;
|
|
24
|
-
color?:
|
|
27
|
+
color?: Color;
|
|
25
28
|
}) => ModifierConfig;
|
|
26
29
|
/**
|
|
27
30
|
* Adds a matched geometry effect to a view.
|
|
@@ -56,9 +59,13 @@ export declare const padding: (params: {
|
|
|
56
59
|
}) => ModifierConfig;
|
|
57
60
|
/**
|
|
58
61
|
* Controls fixed size behavior.
|
|
59
|
-
* @param
|
|
62
|
+
* @param horizontal - Whether the view should use its ideal width
|
|
63
|
+
* @param vertical - Whether the view should use its ideal height
|
|
60
64
|
*/
|
|
61
|
-
export declare const fixedSize: (
|
|
65
|
+
export declare const fixedSize: (params?: {
|
|
66
|
+
horizontal?: boolean;
|
|
67
|
+
vertical?: boolean;
|
|
68
|
+
}) => ModifierConfig;
|
|
62
69
|
/**
|
|
63
70
|
* Adds a tap gesture recognizer.
|
|
64
71
|
* @param handler - Function to call when tapped
|
|
@@ -85,7 +92,7 @@ export declare const clipShape: (shape: "rectangle" | "circle" | "roundedRectang
|
|
|
85
92
|
* Adds a border to a view.
|
|
86
93
|
*/
|
|
87
94
|
export declare const border: (params: {
|
|
88
|
-
color:
|
|
95
|
+
color: Color;
|
|
89
96
|
width?: number;
|
|
90
97
|
}) => ModifierConfig;
|
|
91
98
|
/**
|
|
@@ -110,7 +117,7 @@ export declare const offset: (params: {
|
|
|
110
117
|
* @param color - The foreground color (hex string)
|
|
111
118
|
* @deprecated Use foregroundStyle instead
|
|
112
119
|
*/
|
|
113
|
-
export declare const foregroundColor: (color:
|
|
120
|
+
export declare const foregroundColor: (color: Color) => ModifierConfig;
|
|
114
121
|
/**
|
|
115
122
|
* Sets the foreground style of a view with comprehensive styling options.
|
|
116
123
|
*
|
|
@@ -231,7 +238,7 @@ export declare const foregroundStyle: (style: string | {
|
|
|
231
238
|
* Sets the tint color of a view.
|
|
232
239
|
* @param color - The tint color (hex string)
|
|
233
240
|
*/
|
|
234
|
-
export declare const tint: (color:
|
|
241
|
+
export declare const tint: (color: Color) => ModifierConfig;
|
|
235
242
|
/**
|
|
236
243
|
* Hides or shows a view.
|
|
237
244
|
* @param hidden - Whether the view should be hidden
|
|
@@ -309,7 +316,7 @@ export declare const mask: (shape: "rectangle" | "circle" | "roundedRectangle",
|
|
|
309
316
|
* @param alignment - Overlay alignment
|
|
310
317
|
*/
|
|
311
318
|
export declare const overlay: (params: {
|
|
312
|
-
color?:
|
|
319
|
+
color?: Color;
|
|
313
320
|
alignment?: "center" | "top" | "bottom" | "leading" | "trailing";
|
|
314
321
|
}) => ModifierConfig;
|
|
315
322
|
/**
|
|
@@ -318,7 +325,7 @@ export declare const overlay: (params: {
|
|
|
318
325
|
* @param alignment - Background alignment
|
|
319
326
|
*/
|
|
320
327
|
export declare const backgroundOverlay: (params: {
|
|
321
|
-
color?:
|
|
328
|
+
color?: Color;
|
|
322
329
|
alignment?: "center" | "top" | "bottom" | "leading" | "trailing";
|
|
323
330
|
}) => ModifierConfig;
|
|
324
331
|
/**
|
|
@@ -342,7 +349,7 @@ export declare const glassEffect: (params?: {
|
|
|
342
349
|
glass?: {
|
|
343
350
|
variant: "regular" | "clear" | "identity";
|
|
344
351
|
interactive?: boolean;
|
|
345
|
-
tint?:
|
|
352
|
+
tint?: Color;
|
|
346
353
|
};
|
|
347
354
|
shape?: "circle" | "capsule" | "rectangle" | "ellipse";
|
|
348
355
|
}) => ModifierConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAalE,KAAK,UAAU,GACX,SAAS,GACT,WAAW,G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