@plexui/react-native 0.2.30 → 0.2.31
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.
|
@@ -167,7 +167,8 @@ export function fieldLook(theme, { variant, size, pill, startAdornment = false,
|
|
|
167
167
|
}
|
|
168
168
|
if (bar) {
|
|
169
169
|
// A Toolbar's search field (Toolbar.module.css, iOS 26 kit Search Top and Bottom): the bar's item height, the
|
|
170
|
-
// glass of its buttons, the bar's magnifier in the
|
|
170
|
+
// glass of its buttons, the bar's magnifier in the hint's gray (iOS 26 draws the glyph and "Search" in one
|
|
171
|
+
// color, typed in or not), its text Regular at the bar's label size
|
|
171
172
|
const gutter = theme.length("--toolbar-search-gutter", 10.54);
|
|
172
173
|
return {
|
|
173
174
|
box: {
|
|
@@ -185,7 +186,7 @@ export function fieldLook(theme, { variant, size, pill, startAdornment = false,
|
|
|
185
186
|
color: theme.color("--input-text-color", theme.colors.text),
|
|
186
187
|
},
|
|
187
188
|
placeholder: theme.color("--toolbar-search-placeholder-color", theme.colors.textTertiary),
|
|
188
|
-
icon: theme.color("--color-
|
|
189
|
+
icon: theme.color("--toolbar-search-icon-color", theme.color("--toolbar-search-placeholder-color", theme.colors.textTertiary)),
|
|
189
190
|
frame: null,
|
|
190
191
|
trailingIcon: theme.color("--mobile-label-secondary"),
|
|
191
192
|
caret: theme.color("--color-background-accent-solid"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plexui/react-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.31",
|
|
4
4
|
"description": "Plex UI components for React Native and Expo: iOS 26 and Material 3, on the shared @plexui/styles tokens",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://plexui.com",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"test": "npm run typecheck && npm run lint && npm run test:web --prefix example"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@plexui/styles": "^0.17.
|
|
87
|
+
"@plexui/styles": "^0.17.10",
|
|
88
88
|
"libphonenumber-js": "^1.13.17"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
@@ -225,7 +225,8 @@ export function fieldLook(
|
|
|
225
225
|
}
|
|
226
226
|
if (bar) {
|
|
227
227
|
// A Toolbar's search field (Toolbar.module.css, iOS 26 kit Search Top and Bottom): the bar's item height, the
|
|
228
|
-
// glass of its buttons, the bar's magnifier in the
|
|
228
|
+
// glass of its buttons, the bar's magnifier in the hint's gray (iOS 26 draws the glyph and "Search" in one
|
|
229
|
+
// color, typed in or not), its text Regular at the bar's label size
|
|
229
230
|
const gutter = theme.length("--toolbar-search-gutter", 10.54)
|
|
230
231
|
return {
|
|
231
232
|
box: {
|
|
@@ -243,7 +244,7 @@ export function fieldLook(
|
|
|
243
244
|
color: theme.color("--input-text-color", theme.colors.text),
|
|
244
245
|
},
|
|
245
246
|
placeholder: theme.color("--toolbar-search-placeholder-color", theme.colors.textTertiary),
|
|
246
|
-
icon: theme.color("--color-
|
|
247
|
+
icon: theme.color("--toolbar-search-icon-color", theme.color("--toolbar-search-placeholder-color", theme.colors.textTertiary)),
|
|
247
248
|
frame: null as FieldFrame | null,
|
|
248
249
|
trailingIcon: theme.color("--mobile-label-secondary"),
|
|
249
250
|
caret: theme.color("--color-background-accent-solid"),
|