@scripso-homepad/ui 0.4.37 → 0.4.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +16 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Select.tsx +1 -0
- package/src/theme/select.ts +9 -1
package/package.json
CHANGED
package/src/theme/select.ts
CHANGED
|
@@ -98,7 +98,10 @@ export function getSelectFieldStyles(state: InputVisualState): SelectFieldStyleS
|
|
|
98
98
|
borderColor: colors.stormGray50,
|
|
99
99
|
backgroundColor: colors.stormGray50,
|
|
100
100
|
},
|
|
101
|
-
value: {
|
|
101
|
+
value: {
|
|
102
|
+
...valueBase,
|
|
103
|
+
color: colors.stormGray300,
|
|
104
|
+
},
|
|
102
105
|
placeholder: colors.stormGray300,
|
|
103
106
|
icon: colors.stormGray150,
|
|
104
107
|
};
|
|
@@ -155,6 +158,7 @@ export const selectFieldMetrics = StyleSheet.create({
|
|
|
155
158
|
...(Platform.OS === "web"
|
|
156
159
|
? ({
|
|
157
160
|
boxSizing: "border-box",
|
|
161
|
+
cursor: "pointer",
|
|
158
162
|
} as ViewStyle)
|
|
159
163
|
: null),
|
|
160
164
|
},
|
|
@@ -169,6 +173,7 @@ export const selectFieldMetrics = StyleSheet.create({
|
|
|
169
173
|
...(Platform.OS === "web"
|
|
170
174
|
? ({
|
|
171
175
|
outlineStyle: "none",
|
|
176
|
+
cursor: "pointer",
|
|
172
177
|
} as TextStyle)
|
|
173
178
|
: null),
|
|
174
179
|
},
|
|
@@ -182,6 +187,7 @@ export const selectDropdownMetrics = StyleSheet.create({
|
|
|
182
187
|
backgroundColor: colors.white,
|
|
183
188
|
padding: SELECT_DROPDOWN_PADDING,
|
|
184
189
|
overflow: "hidden",
|
|
190
|
+
...(Platform.OS === "web" ? ({ cursor: "pointer" } as ViewStyle) : null),
|
|
185
191
|
},
|
|
186
192
|
option: {
|
|
187
193
|
width: "100%",
|
|
@@ -194,6 +200,7 @@ export const selectDropdownMetrics = StyleSheet.create({
|
|
|
194
200
|
paddingLeft: spacing.sm,
|
|
195
201
|
justifyContent: "center",
|
|
196
202
|
alignItems: "flex-start",
|
|
203
|
+
...(Platform.OS === "web" ? ({ cursor: "pointer" } as ViewStyle) : null),
|
|
197
204
|
},
|
|
198
205
|
optionLabel: {
|
|
199
206
|
fontFamily: fonts.sans,
|
|
@@ -204,6 +211,7 @@ export const selectDropdownMetrics = StyleSheet.create({
|
|
|
204
211
|
textAlign: "left",
|
|
205
212
|
color: colors.slateBlue,
|
|
206
213
|
width: "100%",
|
|
214
|
+
...(Platform.OS === "web" ? ({ cursor: "pointer" } as TextStyle) : null),
|
|
207
215
|
},
|
|
208
216
|
optionLabelSelected: {
|
|
209
217
|
fontWeight: fontWeight.medium,
|