@ornikar/kitt-universal 29.3.0 → 29.3.1

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.
@@ -6354,20 +6354,16 @@ function PlatformDateTimePicker({
6354
6354
  testID,
6355
6355
  onChange
6356
6356
  }) {
6357
- const theme = useTheme();
6358
6357
  const displayMode = getDatePickerDisplayMode();
6359
- const iosProps = Platform.OS === 'ios' ? {
6360
- textColor: theme.kitt.colors.primary
6361
- } : {};
6362
6358
  return /*#__PURE__*/jsx(DateTimePicker, {
6363
6359
  is24Hour: true,
6364
6360
  testID: testID,
6365
6361
  value: value || defaultDate,
6366
6362
  mode: "date",
6363
+ themeVariant: "light",
6367
6364
  maximumDate: maximumDate,
6368
6365
  minimumDate: minimuDate,
6369
6366
  display: displayMode,
6370
- ...iosProps,
6371
6367
  onChange: (_event, date) => onChange(date)
6372
6368
  });
6373
6369
  }
@@ -13172,6 +13168,7 @@ function ModalDateTimePicker({
13172
13168
  minuteInterval: minuteInterval,
13173
13169
  testID: pickerTestID,
13174
13170
  value: currentValue,
13171
+ themeVariant: "light",
13175
13172
  mode: "time",
13176
13173
  display: Platform.OS === 'ios' ? 'spinner' : 'default',
13177
13174
  onChange: (event, date) => handleChange(date)