@ornikar/kitt-universal 25.47.1-canary.b2da84e20f1b1e29820cff435e8a0ded02e51385.0 → 25.48.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.
@@ -3824,6 +3824,24 @@ function Avatar({
3824
3824
  });
3825
3825
  }
3826
3826
 
3827
+ /**
3828
+ * A utility component that returns its children without any modifications.
3829
+ *
3830
+ * This component acts as an identity function for React elements - it simply returns
3831
+ * whatever children are passed to it. It can be useful in conditional rendering patterns,
3832
+ * component composition, or as a placeholder in component hierarchies.
3833
+ *
3834
+ * @returns The children as they were passed in, without any wrapper elements
3835
+ *
3836
+ * @example
3837
+ * See CardModal and FullscreenModal for usage examples.
3838
+ */
3839
+ function IdentityComponent({
3840
+ children
3841
+ }) {
3842
+ return children;
3843
+ }
3844
+
3827
3845
  function BottomSheetComp({
3828
3846
  children: Content,
3829
3847
  hasScrollView = false,
@@ -3831,9 +3849,7 @@ function BottomSheetComp({
3831
3849
  hasHandle = true,
3832
3850
  enableDynamicSizing = true,
3833
3851
  snapPoints = ['100%'],
3834
- contentContainer: ContentContainer = ({
3835
- children
3836
- }) => children,
3852
+ contentContainer: ContentContainer = IdentityComponent,
3837
3853
  ...rest
3838
3854
  }, ref) {
3839
3855
  const {
@@ -4271,9 +4287,7 @@ function CardModal({
4271
4287
  header,
4272
4288
  body,
4273
4289
  footer,
4274
- contentContainer: ContentContainer = ({
4275
- children: originalChildren
4276
- }) => originalChildren,
4290
+ contentContainer: ContentContainer = IdentityComponent,
4277
4291
  ...props
4278
4292
  }) {
4279
4293
  return /*#__PURE__*/jsxRuntime.jsx(View, {
@@ -8069,9 +8083,7 @@ function FullscreenModal({
8069
8083
  header,
8070
8084
  footer,
8071
8085
  backgroundColor,
8072
- contentContainer: ContentContainer = ({
8073
- children
8074
- }) => children
8086
+ contentContainer: ContentContainer = IdentityComponent
8075
8087
  }) {
8076
8088
  return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
8077
8089
  backgroundColor: backgroundColor,
@@ -11522,9 +11534,7 @@ function NavigationModal({
11522
11534
  backgroundColor,
11523
11535
  footer,
11524
11536
  header,
11525
- contentContainer = ({
11526
- children
11527
- }) => children
11537
+ contentContainer
11528
11538
  }) {
11529
11539
  const Component = useBreakpointValue({
11530
11540
  base: FullscreenModal,
@@ -12880,6 +12890,7 @@ function ModalDateTimePicker({
12880
12890
  visible,
12881
12891
  value,
12882
12892
  minuteInterval,
12893
+ timezoneName = 'UTC',
12883
12894
  validateButtonLabel,
12884
12895
  testID,
12885
12896
  pickerTestID,
@@ -12914,6 +12925,7 @@ function ModalDateTimePicker({
12914
12925
  }) : null, /*#__PURE__*/jsxRuntime.jsx(CardModal.Body, {
12915
12926
  children: /*#__PURE__*/jsxRuntime.jsx(DateTimePicker__default, {
12916
12927
  is24Hour: true,
12928
+ timeZoneName: timezoneName,
12917
12929
  minuteInterval: minuteInterval,
12918
12930
  testID: pickerTestID,
12919
12931
  value: currentValue,
@@ -13008,6 +13020,7 @@ const TimePicker = /*#__PURE__*/React.forwardRef(({
13008
13020
  disabled = false,
13009
13021
  stretch,
13010
13022
  value,
13023
+ timezoneName = 'UTC',
13011
13024
  minuteInterval,
13012
13025
  validateButtonLabel,
13013
13026
  isDefaultVisible,
@@ -13049,6 +13062,7 @@ const TimePicker = /*#__PURE__*/React.forwardRef(({
13049
13062
  testID: pickerTestID,
13050
13063
  value: pickerValue,
13051
13064
  minuteInterval: minuteInterval,
13065
+ timeZoneName: timezoneName,
13052
13066
  mode: "time",
13053
13067
  display: "spinner",
13054
13068
  onChange: (event, date) => handleChange(date)
@@ -13057,6 +13071,7 @@ const TimePicker = /*#__PURE__*/React.forwardRef(({
13057
13071
  minuteInterval: minuteInterval,
13058
13072
  title: title,
13059
13073
  testID: modalTestID,
13074
+ timezoneName: timezoneName,
13060
13075
  pickerTestID: pickerTestID,
13061
13076
  value: pickerValue,
13062
13077
  validateButtonLabel: validateButtonLabel,