@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.js CHANGED
@@ -107,7 +107,10 @@ function getSelectFieldStyles(state) {
107
107
  borderColor: colors.stormGray50,
108
108
  backgroundColor: colors.stormGray50
109
109
  },
110
- value: { ...valueBase, color: colors.stormGray300 },
110
+ value: {
111
+ ...valueBase,
112
+ color: colors.stormGray300
113
+ },
111
114
  placeholder: colors.stormGray300,
112
115
  icon: colors.stormGray150
113
116
  };
@@ -161,7 +164,8 @@ var selectFieldMetrics = StyleSheet.create({
161
164
  padding: SELECT_PADDING,
162
165
  gap: SELECT_INNER_GAP,
163
166
  ...Platform.OS === "web" ? {
164
- boxSizing: "border-box"
167
+ boxSizing: "border-box",
168
+ cursor: "pointer"
165
169
  } : null
166
170
  },
167
171
  value: {
@@ -173,7 +177,8 @@ var selectFieldMetrics = StyleSheet.create({
173
177
  margin: 0,
174
178
  ...Platform.OS === "android" ? { includeFontPadding: false } : null,
175
179
  ...Platform.OS === "web" ? {
176
- outlineStyle: "none"
180
+ outlineStyle: "none",
181
+ cursor: "pointer"
177
182
  } : null
178
183
  }
179
184
  });
@@ -184,7 +189,8 @@ var selectDropdownMetrics = StyleSheet.create({
184
189
  borderColor: colors.stormGray50,
185
190
  backgroundColor: colors.white,
186
191
  padding: SELECT_DROPDOWN_PADDING,
187
- overflow: "hidden"
192
+ overflow: "hidden",
193
+ ...Platform.OS === "web" ? { cursor: "pointer" } : null
188
194
  },
189
195
  option: {
190
196
  width: "100%",
@@ -196,7 +202,8 @@ var selectDropdownMetrics = StyleSheet.create({
196
202
  paddingBottom: 12,
197
203
  paddingLeft: spacing.sm,
198
204
  justifyContent: "center",
199
- alignItems: "flex-start"
205
+ alignItems: "flex-start",
206
+ ...Platform.OS === "web" ? { cursor: "pointer" } : null
200
207
  },
201
208
  optionLabel: {
202
209
  fontFamily: fonts.sans,
@@ -206,7 +213,8 @@ var selectDropdownMetrics = StyleSheet.create({
206
213
  letterSpacing: 0,
207
214
  textAlign: "left",
208
215
  color: colors.slateBlue,
209
- width: "100%"
216
+ width: "100%",
217
+ ...Platform.OS === "web" ? { cursor: "pointer" } : null
210
218
  },
211
219
  optionLabelSelected: {
212
220
  fontWeight: fontWeight.medium,
@@ -777,7 +785,8 @@ var styles = StyleSheet.create({
777
785
  ...Platform.OS === "web" ? {
778
786
  overflow: "hidden",
779
787
  textOverflow: "ellipsis",
780
- whiteSpace: "nowrap"
788
+ whiteSpace: "nowrap",
789
+ cursor: "pointer"
781
790
  } : null
782
791
  },
783
792
  optionLabelDisabled: {