@ornikar/kitt-universal 29.2.0 → 29.3.1-canary.6b7ecf37244f3cc0cd184aea4070cfbc57961bfd.0

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.
@@ -6377,20 +6377,16 @@ function PlatformDateTimePicker({
6377
6377
  testID,
6378
6378
  onChange
6379
6379
  }) {
6380
- const theme = useTheme();
6381
6380
  const displayMode = getDatePickerDisplayMode();
6382
- const iosProps = reactNative.Platform.OS === 'ios' ? {
6383
- textColor: theme.kitt.colors.primary
6384
- } : {};
6385
6381
  return /*#__PURE__*/jsxRuntime.jsx(DateTimePicker__default, {
6386
6382
  is24Hour: true,
6387
6383
  testID: testID,
6388
6384
  value: value || defaultDate,
6389
6385
  mode: "date",
6386
+ themeVariant: "light",
6390
6387
  maximumDate: maximumDate,
6391
6388
  minimumDate: minimuDate,
6392
6389
  display: displayMode,
6393
- ...iosProps,
6394
6390
  onChange: (_event, date) => onChange(date)
6395
6391
  });
6396
6392
  }
@@ -12215,7 +12211,6 @@ function SegmentedProgressBar({
12215
12211
  });
12216
12212
  }
12217
12213
 
12218
- const AnimatedLinearGradient = Animated__default.createAnimatedComponent(expoLinearGradient.LinearGradient);
12219
12214
  function SkeletonContent({
12220
12215
  isLoading,
12221
12216
  width
@@ -12236,24 +12231,27 @@ function SkeletonContent({
12236
12231
  translateX: Animated.interpolate(sharedX.value, [0, 1], [-width, width])
12237
12232
  }]
12238
12233
  };
12239
- });
12234
+ }, [sharedX, width]);
12240
12235
  return /*#__PURE__*/jsxRuntime.jsx(View, {
12241
12236
  height: "100%",
12242
12237
  width: "100%",
12243
12238
  backgroundColor: "kitt.skeleton.backgroundColor",
12244
12239
  borderColor: "kitt.skeleton.flareColor",
12245
- children: /*#__PURE__*/jsxRuntime.jsx(AnimatedLinearGradient, {
12246
- colors: [theme.kitt.skeleton.backgroundColor, theme.kitt.skeleton.flareColor, theme.kitt.skeleton.backgroundColor],
12247
- locations: [0.1, 0.5, 0.9],
12248
- start: {
12249
- x: 0,
12250
- y: 0
12251
- },
12252
- end: {
12253
- x: 1,
12254
- y: 0
12255
- },
12256
- style: [reactNative.StyleSheet.absoluteFill, linearGradientStyle]
12240
+ children: /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
12241
+ style: [reactNative.StyleSheet.absoluteFill, linearGradientStyle],
12242
+ children: /*#__PURE__*/jsxRuntime.jsx(expoLinearGradient.LinearGradient, {
12243
+ colors: [theme.kitt.skeleton.backgroundColor, theme.kitt.skeleton.flareColor, theme.kitt.skeleton.backgroundColor],
12244
+ locations: [0.1, 0.5, 0.9],
12245
+ start: {
12246
+ x: 0,
12247
+ y: 0
12248
+ },
12249
+ end: {
12250
+ x: 1,
12251
+ y: 0
12252
+ },
12253
+ style: reactNative.StyleSheet.absoluteFill
12254
+ })
12257
12255
  })
12258
12256
  });
12259
12257
  }
@@ -13193,6 +13191,7 @@ function ModalDateTimePicker({
13193
13191
  minuteInterval: minuteInterval,
13194
13192
  testID: pickerTestID,
13195
13193
  value: currentValue,
13194
+ themeVariant: "light",
13196
13195
  mode: "time",
13197
13196
  display: reactNative.Platform.OS === 'ios' ? 'spinner' : 'default',
13198
13197
  onChange: (event, date) => handleChange(date)